:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #eaf4ea;
  background: #0b1917;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1160px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #365348;
  padding-bottom: 22px;
}
a {
  color: #d3ec8c;
}
nav {
  display: flex;
  gap: 16px;
}
.brand {
  font-size: 23px;
  letter-spacing: 3px;
  font-weight: 900;
  text-decoration: none;
  color: #fff;
}
.brand span {
  font-size: 11px;
  color: #b8d681;
}
.hero {
  padding: 54px 0 35px;
  max-width: 800px;
}
.eyebrow {
  letter-spacing: 4px;
  font-size: 11px;
  color: #d4e792;
}
h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 18px 0;
}
h2 {
  font-size: 23px;
  margin: 32px 0 16px;
}
h3 {
  margin: 0 0 14px;
}
p {
  line-height: 1.6;
}
.muted,
footer {
  color: #a7beb1;
  font-size: 14px;
}
.button,
button {
  display: inline-block;
  border: 1px solid #d4e792;
  border-radius: 9px;
  background: #d4e792;
  color: #11221a;
  font: inherit;
  font-weight: 650;
  padding: 12px 18px;
  text-decoration: none;
  cursor: pointer;
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 5px 0 30px;
}
.summary > div {
  background: #193329;
  border: 1px solid #365348;
  border-radius: 14px;
  padding: 24px;
}
.summary strong {
  display: block;
  font-size: 32px;
  color: #e6f6b9;
}
.summary span {
  font-size: 13px;
  color: #b9cebf;
}
.controls {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}
.controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  flex: 1;
  min-width: 145px;
}
input,
select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #536b5c;
  background: #152820;
  color: #f4f7ec;
}
button:disabled {
  opacity: 0.5;
}
#status {
  font-size: 12px;
  color: #b8cfb9;
}
.player {
  display: flex;
  gap: 20px;
  padding: 22px;
  margin: 12px 0;
  background: #14271f;
  border: 1px solid #304939;
  border-radius: 12px;
}
.rank {
  font-size: 26px;
  font-weight: 800;
  color: #94ad7e;
  min-width: 38px;
}
.player:first-child .rank {
  color: #eed382;
}
.player-body {
  flex: 1;
  min-width: 0;
}
.player h3 {
  overflow-wrap: anywhere;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.stats strong {
  display: block;
  font-size: 20px;
}
.stats span {
  display: block;
  font-size: 11px;
  color: #b3c6b4;
  margin-top: 4px;
}
summary {
  cursor: pointer;
  color: #c7dd93;
  font-size: 13px;
  padding-top: 15px;
}
details p,
details h4 {
  font-size: 13px;
}
.team {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.team span {
  background: #243d2e;
  padding: 8px;
  border-radius: 5px;
  font-size: 12px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.line {
  border-bottom: 1px solid #304939;
  padding: 12px 0;
}
.line p {
  font-size: 13px;
  margin: 5px 0;
}
.boards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.board {
  border: 1px solid #365348;
  border-radius: 12px;
  padding: 20px;
  background: #14271f;
}
.board h3 {
  font-size: 16px;
}
.board li {
  font-size: 14px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.board ol {
  padding-left: 22px;
}
.empty {
  padding: 20px;
  border: 1px dashed #536b5c;
  border-radius: 10px;
  color: #b9ccad;
}
footer {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid #365348;
}
input:focus-visible,
select:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #e2ec89;
  outline-offset: 3px;
}
@media (max-width: 650px) {
  main {
    padding: 16px;
  }
  .hero {
    padding-top: 34px;
  }
  .summary {
    gap: 8px;
  }
  .summary > div {
    padding: 14px 10px;
  }
  .summary strong {
    font-size: 24px;
  }
  .summary span {
    font-size: 11px;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .player {
    padding: 16px 12px;
    gap: 10px;
  }
  .rank {
    font-size: 20px;
    min-width: 28px;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .controls label {
    min-width: 44%;
  }
  nav {
    gap: 10px;
  }
  .brand {
    font-size: 19px;
  }
  .brand span {
    display: none;
  }
}
