/* ============================================================
   KOTH — scoreboard.css   ·   all-time cumulative board
   Reuses .tbl / .seg / .badge; adds the hero + rank styling.
   ============================================================ */

.sb-hero { padding: 52px 24px 36px; text-align: center; position: relative; border-bottom: 2px solid var(--rule); margin-bottom: 28px; }
.sb-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.sb-eyebrow::before { content: '// '; color: var(--muted); }
.sb-title { font-family: var(--display); font-size: clamp(40px,8vw,72px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; text-transform: uppercase; color: var(--text); }
.sb-sub { font-family: var(--mono); font-size: 12.5px; color: var(--sub); margin-top: 14px; }
.sb-sub b { color: var(--text); }

.sb-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
/* Board switch — compact, accent-active segmented toggle (scoped to this page) */
.sb-toolbar .seg { flex: 0 0 auto; max-width: none; }
.sb-toolbar .seg-opt span { padding: 9px 26px; }
.sb-toolbar .seg-opt:hover span { background: var(--card-hv); color: var(--text); }
.sb-toolbar .seg-opt input:checked + span { background: var(--accent); color: #fff; }
.sb-count { font-family: var(--mono); font-size: 11px; color: var(--sub); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.sb-count b { color: var(--accent); }

/* The board uses the shared .tbl; these tune numeric columns + rank. */
.sb-table td.num, .sb-table th.num { text-align: right; font-family: var(--mono); }
.sb-rank { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--muted); width: 56px; }
.sb-rank.r1 { color: var(--accent); }
.sb-name { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.sb-name a { color: inherit; text-decoration: none; }
.sb-name a:hover { color: var(--accent); }
.sb-total { font-family: var(--mono); font-weight: 700; color: var(--text); }
.sb-empty { padding: 40px 16px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--sub); }

@media (max-width: 680px) {
  .sb-hide-sm { display: none; }
}
