.matchup-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(20px,5vw,72px); max-width:900px; margin:24px auto; }
.matchup-cards article { min-width:0; text-align:center; }
.matchup-cards label { display:grid; gap:7px; text-align:left; font-size:13px; }
.matchup-cards input { width:100%; min-width:0; font:inherit; padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--paper); color:var(--ink); }
.matchup-art { width:min(100%,250px); aspect-ratio:5/7; margin:18px auto 12px; }
.matchup-art img { width:100%; height:100%; object-fit:contain; border-radius:9px; }
.matchup-cards h2 { font-size:18px; margin:0 0 4px; }
.matchup-cards article>span { font-size:13px; color:var(--muted); }
.matchup-controls { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:12px; }
.matchup-controls span { font-size:12px; color:var(--muted); }
.matchup-result { min-height:2.8em; text-align:center; margin:16px auto; max-width:660px; font-size:15px; }
.matchup-totals { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 24px; padding:16px 0; border-top:1px solid var(--line); }
.matchup-totals span { display:grid; gap:5px; text-align:center; color:var(--muted); font-size:12px; }
.matchup-totals strong { color:var(--ink); font-size:18px; }
@media(max-width:600px){.matchup-cards { gap:16px; margin:18px auto; }.matchup-cards h2{font-size:16px}.matchup-cards input{font-size:16px}}
.league-privacy { color:var(--muted); font-size:13px; margin:14px 0 24px; }
.league-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px; }
.league-section header { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.league-section h2 { font-size:20px; margin:0; }
.league-section header>span { color:var(--muted); font-size:12px; white-space:nowrap; }
.league-section ol { padding:0; margin:0; list-style:none; }
.league-section li { display:flex; align-items:center; gap:14px; min-height:58px; border-bottom:1px solid var(--line); font-size:14px; }
.league-slot { width:22px; color:var(--muted); font-size:12px; }
.league-username { flex:1; overflow-wrap:anywhere; }.league-open { color:var(--muted); }
.league-section button { border:0; background:var(--surface); color:var(--ink); padding:7px 12px; border-radius:6px; font:500 12px/1.4 var(--sans); }
.league-section .league-join { background:transparent; text-align:left; }.league-section .league-join:hover { background:var(--surface); }
@media(max-width:700px){.league-grid { grid-template-columns:1fr;gap:28px; }}

.league-username { color:var(--ink); text-decoration:none; min-width:0; }
.league-username:hover { text-decoration:underline; }
.league-message { color:var(--ink); text-decoration:none; background:var(--surface); border-radius:6px; padding:7px 12px; font-size:12px; font-weight:500; white-space:nowrap; }
.league-message:hover { text-decoration:underline; }

.league-season { margin-top:18px; border-top:1px solid var(--line); padding-top:14px; }
.league-season summary { cursor:pointer; font-size:14px; font-weight:600; }
.league-season>p { font-size:12px; color:var(--muted); }
.league-week { margin:18px 0; }.league-week h3,.league-bracket h3 { font-size:13px; margin:0 0 8px; }
.league-week>div { display:grid; grid-template-columns:1fr 24px 1fr; gap:8px; font-size:13px; padding:5px 0; overflow-wrap:anywhere; }
.league-week>div>span:nth-child(2) { color:var(--muted); }
.league-bracket { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:18px; }.league-bracket p { font-size:12px; }
.matchup-statistics { display:grid; grid-template-columns:repeat(11,minmax(0,1fr)); gap:12px; max-width:900px; margin:18px auto; padding:14px 0; border-block:1px solid var(--line); }
.matchup-statistics>div { display:grid; gap:5px; text-align:center; }.matchup-statistics span { color:var(--muted); font-size:11px; }.matchup-statistics strong { font-size:17px; font-variant-numeric:tabular-nums; }
@media(max-width:600px){.matchup-statistics { grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 6px; }.league-bracket { grid-template-columns:1fr; }}
/* Compact league signups while keeping both seasons side by side. */
.play-game:has(.league-grid) { max-width:1040px; }
.league-grid { gap:32px; }
.league-section header { padding-bottom:10px; }
.league-section h2 { font-size:18px; }
.league-section li { min-height:42px; gap:10px; }
.league-section button,.league-message { padding:5px 9px; }
.league-privacy { margin:10px 0 18px; }
@media(max-width:700px){.league-grid { gap:24px; }.league-section li { min-height:44px; }}

.league-week-selector { display:flex; align-items:center; gap:10px; margin:0 0 20px; font-size:13px; }
.league-week-selector select { font:inherit; padding:6px 10px; border:1px solid var(--line); border-radius:5px; color:var(--ink); background:var(--surface); }
.league-my-matchup { padding:14px 0; border-bottom:1px solid var(--line); }
.league-my-matchup h3 { margin:0; font-size:13px; }
.league-my-matchup p { margin:6px 0 12px; font-size:13px; }
.league-week a { color:inherit; text-decoration:none; }
.league-week a:hover { text-decoration:underline; }
