.league{padding-top:44px;padding-bottom:44px}.league h1{font-size:clamp(32px,5vw,56px);line-height:1.1;letter-spacing:-.04em;margin:8px 0 12px}.league-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.league-title p,.league section>p,.league-updated,.league-note{color:var(--muted)}.league-badge{white-space:nowrap;background:var(--accent-soft);color:var(--accent);padding:10px 16px;border-radius:30px;font-weight:700}.league-updated{font-size:13px;margin:12px 0 26px}.league-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.league-cards article{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:22px}.league-cards span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.league-cards h2{font-size:24px;line-height:1.3;margin:12px 0 8px}.league-cards p{font-size:13px;margin:0;color:var(--muted)}.league-jump{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.league-jump a{border:1px solid var(--line);border-radius:12px;padding:8px 14px;text-decoration:none;background:var(--surface)}.league section{margin:36px 0}.league section>h2{margin-bottom:4px;font-size:27px}.league section>p{margin-top:0;font-size:14px}.league-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.league table{width:100%;border-collapse:collapse;text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px}.league th,.league td{padding:14px 18px;border-bottom:1px solid var(--line)}.league thead th{font-size:12px;color:var(--muted);background:var(--accent-soft)}.league tbody tr:last-child>*{border-bottom:0}.league tbody tr:hover{background:var(--accent-soft)}.league tbody th{font-weight:700}.league details{margin-top:20px}.league summary{cursor:pointer;padding:12px 0;font-weight:600}.league-note{border-top:1px solid var(--line);padding-top:20px;font-size:13px}@media(max-width:700px){.league-title{display:block}.league-badge{display:inline-block;margin:10px 0}.league-cards{grid-template-columns:1fr}.league-cards article{padding:18px}.league-cards h2{margin:6px 0}.league th,.league td{padding:12px}.league{width:calc(100% - 32px)}}
/* Live league data (nfl-league.js) */
.league-topbar{display:flex;align-items:center;justify-content:space-between;width:min(calc(100% - 48px),var(--max));margin:0 auto;padding:18px 0 0}
.league-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px;letter-spacing:-.01em}
.league-brand [aria-hidden="true"]{font-size:22px}
.status-pill{display:inline-block;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:700;white-space:nowrap}
.status-pill.complete{background:#e6f6ec;color:#157347}
.status-pill.remaining{background:#fff4e0;color:#9a6200}
.status-pill.not-started{background:var(--accent-soft);color:var(--muted)}
.status-pill.live{background:#fde8e8;color:#b42318}
.status-pill.togo{background:#fff4e0;color:#9a6200}
.pick-cell{text-align:center}
.pick-cell .pick-team{font-weight:700}
.pick-cell .pick-mark{font-weight:700;margin-left:2px}
.pick-correct{background:#d9f2e3}
.pick-correct .pick-team,.pick-correct .pick-mark{color:#0f6b3f;font-weight:700}
.pick-incorrect{background:#fbe3e1}
.pick-incorrect .pick-team,.pick-incorrect .pick-mark{color:#b42318;font-weight:700}
.pick-none{color:var(--muted)}
.kickoff{font-size:12px;color:var(--muted);white-space:nowrap}
#weekly-winner{margin-top:14px;font-size:15px}
#submission-summary{font-weight:600}

/* Completed-week history: inherits both light and dark theme tokens. */
.history-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.history-stat,.history-panel{background:var(--surface);border:1px solid var(--line);border-radius:18px;min-width:0}
.history-stat{padding:20px;display:flex;flex-direction:column;gap:8px}
.history-stat>span{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.07em;font-weight:700}
.history-stat>strong{font-size:clamp(20px,2.8vw,27px);line-height:1.2;overflow-wrap:anywhere}
.history-stat>small{color:var(--muted);font-size:12px}
.history-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.history-panel{padding:20px}
.history-panel h3{font-size:18px;line-height:1.25;margin:0 0 6px}
.history-panel>p{font-size:13px;color:var(--muted);margin:0 0 16px}
.history-panel .league-scroll{border-radius:12px}
.history-panel th,.history-panel td{padding:11px 12px;font-size:13px}
.history-stories,.history-games{list-style:none;padding:0;margin:0}
.history-stories li,.history-games li{padding:13px 0;border-bottom:1px solid var(--line);line-height:1.45}
.history-stories li:last-child,.history-games li:last-child{border-bottom:0}
.history-stories strong,.history-games strong{font-weight:750}
.history-games .history-game-note{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.history-footnote{font-size:12px;color:var(--muted);margin:16px 0 0}
@media(max-width:850px){.history-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-columns{grid-template-columns:1fr}}
@media(max-width:480px){.history-stat-grid{gap:9px}.history-stat,.history-panel{padding:14px}.history-stat>strong{font-size:21px}}

.history-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0;color:var(--muted);font-size:13px;font-weight:700}
.history-filter select{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;min-height:42px;font:inherit}
.history-champions{margin-top:16px}
.history-champions .league-scroll{max-width:100%}
.history-panel #history-winners{font-variant-numeric:tabular-nums}
.history-panel:has(#history-winners) .league-scroll{max-height:420px;overflow:auto}
.history-panel .league-scroll thead th{position:sticky;top:0;z-index:1}
#submissions .league-scroll{border:0;background:none;overflow:visible}
#submissions table{white-space:normal}
#submissions thead{display:none}
#submissions tbody{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
#submissions tbody tr{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
#submissions tbody tr>*{padding:0;border:0;font-size:13px}
#submissions tbody tr>td:first-of-type{grid-column:1;color:var(--muted);font-size:12px}
#submissions tbody tr>td:last-of-type{grid-column:2;grid-row:1/span 2}
#submissions tbody th small{font-size:11px}
#submissions tbody tr>td[colspan]{grid-column:1/-1;grid-row:auto}
#submissions .status-pill{font-size:11px;padding:2px 8px}
#submissions .league-note{padding-top:8px!important;margin:8px 0 0;font-size:12px}
