/* ============================================================
   KOTH — scoreboard.css   ·   all-time cumulative board (Console)
   Reuses .tbl / .seg / .badge; compact header + rank styling.
   ============================================================ */

.sb-hero { padding: 32px 24px 24px; text-align: left; position: relative; border-bottom: 1px solid var(--border); margin-bottom: 22px; }
.sb-eyebrow { font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sb-title { font-family: var(--display); font-size: clamp(28px,5vw,44px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.02; text-transform: none; color: var(--text); }
.sb-sub { font-family: var(--sans); font-size: 13.5px; color: var(--sub); margin-top: 10px; }
.sb-sub b { color: var(--text); font-weight: 600; }

.sb-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.sb-toolbar .seg { flex: 0 0 auto; max-width: none; }
.sb-toolbar .seg-opt span { padding: 7px 22px; }
.sb-toolbar .seg-opt input:checked + span { background: var(--card); color: var(--text); box-shadow: var(--shadow-sm); }
.sb-count { font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--sub); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.sb-count b { color: var(--accent); font-weight: 700; }

/* The board uses the shared .tbl; these tune numeric columns + rank. */
.sb-table td.num, .sb-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.sb-rank { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--muted); width: 56px; font-variant-numeric: tabular-nums; }
.sb-rank.r1 { color: var(--accent); }
.sb-name { font-family: var(--display); font-size: 14px; font-weight: 650; 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(--sans); font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.sb-empty { padding: 40px 16px; text-align: center; font-family: var(--sans); font-size: 13.5px; color: var(--sub); }

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