:root {
  --green: #07dd5b;
  --green-soft: #06c852;
  --text: #f3f3f3;
  --muted: #b5b5b5;
  --bg: #000;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px 28px;
}
.hero { width: min(640px, 92vw); margin: 0 auto 28px; }
.logo {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
main { width: min(38rem, 92vw); text-align: center; }
.bio, .note, footer p, .social { margin: 0 auto; }
.bio {
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 36rem;
}
.bio a, .x-link { color: var(--green); text-decoration: none; }
.bio a:hover, .x-link:hover, .cta:hover { text-decoration: underline; }
.social { margin-top: 1.15rem; font-size: 1.15rem; font-weight: 600; letter-spacing: 0.01em; }
.cta-wrap { margin: 1.75rem 0 0.7rem; }
.cta {
  display: inline-block;
  background: var(--green);
  color: #000;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  min-height: 44px;
  line-height: 1.2;
}
.cta:hover { background: var(--green-soft); text-decoration: none; }
.note { color: var(--muted); font-size: 0.95rem; }
footer {
  margin-top: 3rem;
  color: #888;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  body { padding: 24px 16px 20px; }
  .hero { margin-bottom: 22px; }
  .bio { font-size: 1.02rem; }
}

.site-link { margin-top: 1.5rem; font-size: 0.95rem; }
.site-link a { color: var(--green); text-decoration: none; font-weight: 600; }
.site-link a:hover { color: var(--green-soft); text-decoration: underline; }

body.scoreboard-page {
  justify-content: flex-start;
  padding: 28px 20px 36px;
}
.scoreboard-page .hero {
  width: min(280px, 64vw);
  margin: 0 auto 18px;
}
.scoreboard-page main {
  width: min(56rem, 94vw);
  text-align: left;
}
.scoreboard-page h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.scoreboard-page .lede {
  margin: 0.55rem auto 1.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
  max-width: 34rem;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 0 2rem;
}
.tab {
  appearance: none;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.7rem 1rem;
  min-height: 44px;
  cursor: pointer;
}
.tab:hover { color: var(--text); }
.tab.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}
.how, .season { margin: 0 auto 2.1rem; max-width: 42rem; }
.scoreboard-page h2 {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.how p, .season p, .empty-state p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
}
.how p, .empty-state p { color: #d0d0d0; }
.record {
  margin: 0 0 0.9rem;
  color: var(--text);
  font-weight: 600;
}
.empty-state {
  margin-top: 0.4rem;
  padding: 1.7rem 1.35rem;
  border: 1px solid #222;
  border-radius: 16px;
  text-align: center;
}
.empty-state strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.board { max-width: 56rem; }
.season { max-width: 56rem; }
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #222;
  border-radius: 16px;
}
.results {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  white-space: nowrap;
}
.results th, .results td {
  padding: 0.8rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #1a1a1a;
  vertical-align: middle;
}
.results th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.results tbody tr:last-child td { border-bottom: 0; }
.results .event { white-space: normal; min-width: 10rem; font-weight: 600; }
.results .week {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.results .hash code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: #cfcfcf;
}
.results .result { font-weight: 700; }
.results .result.is-win { color: var(--green); }
.results .result.is-loss { color: #e07a7a; }
.results .result.is-tie { color: var(--muted); }
.results .result.is-locked { color: var(--muted); font-weight: 600; }
.scoreboard-page footer {
  margin-top: 2.2rem;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}
.scoreboard-page footer p:first-child {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #888;
  font-size: 0.85rem;
}
.scoreboard-page footer .rg {
  margin-top: 0.65rem;
  color: #777;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  max-width: 28rem;
  line-height: 1.4;
}
@media (max-width: 480px) {
  body.scoreboard-page { padding: 20px 16px 28px; }
  .scoreboard-page .hero { width: min(220px, 68vw); margin-bottom: 14px; }
  .scoreboard-page .lede { font-size: 1rem; margin-bottom: 1.4rem; }
  .how p, .empty-state p { font-size: 0.98rem; }
  .empty-state { padding: 1.4rem 1rem; }
}
