:root { color-scheme:light; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
body { margin:0; font:16px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif; }
body main { width:min(1560px,calc(100% - 32px)); margin:28px auto; }
header { padding:24px; color:white; }
h1 { margin:0 0 4px; font-size:clamp(1.7rem,4vw,2.5rem); }
header p { margin:0; }
.schedule-period { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:12px 0; }
.schedule-period label { font-size:.85rem; color:var(--blue); font-weight:650; }
.schedule-period select { padding:9px 12px; font:inherit; background:white; border:1px solid #bac9de; border-radius:6px; color:#15213a; }
.schedule-hint,footer,#schedule-empty { font-size:.82rem; color:var(--muted); }
.schedule-scroll { overflow-x:auto; background:white; border:1px solid #dce5f0; border-radius:8px; }
.schedule-scroll:focus-visible,select:focus-visible { outline:3px solid var(--orange); outline-offset:2px; }
table { width:100%; border-collapse:collapse; font-size:.83rem; }
caption { text-align:left; padding:12px 14px; color:var(--muted); font-size:.8rem; }
th,td { text-align:left; padding:12px; border-bottom:1px solid #e4eaf2; vertical-align:top; }
thead th { background:#edf3fa; color:var(--blue); white-space:nowrap; }
tbody tr:hover { background:#f7faff; }
td:first-child,td:nth-child(2),.schedule-score { white-space:nowrap; font-variant-numeric:tabular-nums; }
td:nth-child(3) { min-width:190px; }
td:nth-child(4),td:nth-child(6) { min-width:165px; }
.schedule-category,.schedule-league { display:block; color:var(--muted); font-size:.74rem; }
.schedule-score { font-weight:750; }
.schedule-score.won { color:var(--winner,#b94822); }
.schedule-score.lost { color:#123c69; }
.schedule-score.cancelled { color:#9c263e; }
.schedule-links a { display:block; margin-bottom:5px; white-space:nowrap; }
@media(max-width:600px) { th,td { padding:10px; } }
