:root{color-scheme:dark;--bg:#101713;--panel:#19231c;--raised:#202d24;--line:#2c3a30;--text:#f2f5f2;--muted:#a1b1a6;--lime:#bcf66b;--green:#6ae39b;--red:#ff8790;--grey:#b1b9b4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:2px solid var(--lime);outline-offset:4px}[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:absolute;top:-80px;background:var(--lime);color:#101713;padding:12px;z-index:100}.skip:focus{top:8px}.header{position:sticky;top:0;z-index:20;background:#101713f5;border-bottom:1px solid var(--line);backdrop-filter:blur(15px)}.header-inner{max-width:1340px;min-height:88px;padding:16px 28px;margin:auto;display:flex;align-items:center;gap:70px}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800;letter-spacing:-1px;white-space:nowrap}.brand-mark{display:flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:48px;background:var(--lime);border-radius:13px;color:#101713;font-size:26px;font-weight:900;letter-spacing:-2px;line-height:1;transform:rotate(-5deg)}.brand-mark span{font-size:23px;letter-spacing:-1px}.brand small{display:block;font-size:8px;letter-spacing:1.8px;color:var(--muted);font-weight:600}.header nav{display:flex;gap:30px;align-self:stretch;align-items:center;font-weight:650}.header nav a{color:var(--muted);padding:10px 0;position:relative}.header nav a.active,.header nav a:hover{color:var(--lime)}.header nav a.active:after{content:'';height:3px;position:absolute;bottom:-17px;left:0;right:0;background:var(--lime);border-radius:3px}.auto{margin-left:auto;white-space:nowrap;font-size:11px;color:var(--muted)}.auto i,.live-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:5px}.layout{max-width:1340px;margin:auto;padding:32px 28px;display:grid;grid-template-columns:210px minmax(0,1fr);gap:40px}.sidebar{position:sticky;top:120px;align-self:start}.eyebrow{font-size:10px;letter-spacing:1.7px;color:var(--lime);font-weight:750}.sidebar h1{font-size:27px;line-height:1.15;letter-spacing:-1px;margin:12px 0}.muted{color:var(--muted)}.side-divider{height:1px;background:var(--line);margin:26px 0}.league-button{display:block;width:100%;text-align:left;background:transparent;border:0;padding:10px;border-radius:8px;color:var(--muted);font-size:12px}.league-button:hover,.league-button.selected{background:var(--raised);color:var(--lime)}.sidebar-note{font-size:10px;color:var(--muted);margin-top:24px;line-height:1.8}.section{margin-bottom:40px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.section-title h2{font-size:27px;letter-spacing:-.8px;line-height:1.2;margin:4px 0}.button,select,input{background:var(--raised);border:1px solid var(--line);border-radius:9px;padding:9px 12px}.button{font-size:12px;font-weight:650}.button:hover{border-color:var(--lime)}select{max-width:100%;font-size:12px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden}.match-toolbar{padding:14px 16px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.segmented{display:flex;gap:5px}.segmented button{border:0;background:transparent;border-radius:8px;padding:9px 13px;color:var(--muted);font-weight:650;font-size:12px}.segmented button.selected{color:#132014;background:var(--lime)}.segmented button.selected .live-dot{background:#215b33}.datebar{display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap}.datebar button{background:transparent;border:1px solid var(--line);border-radius:6px;padding:5px 10px}.datebar input{padding:5px 8px;background:transparent;border:0;font-size:12px}.datebar .muted{margin-left:auto;font-size:10px}.league-heading{background:#202c23;padding:11px 18px;display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:700}.league-heading small{font-weight:400;color:var(--muted)}.match-row{display:grid;grid-template-columns:65px 1fr 48px;align-items:center;gap:12px;padding:12px 18px;border-bottom:1px solid #2c3a3070}.match-row:hover{background:#243328}.match-time{color:var(--muted);font-size:11px}.match-time.live{color:var(--green)}.match-teams{display:grid;gap:7px}.match-team{display:flex;align-items:center;gap:8px;font-weight:550;font-size:13px}.crest{width:20px;height:20px;object-fit:contain;flex-shrink:0}.match-scores{display:grid;gap:7px;font-size:13px;text-align:center;font-weight:750}.panel-foot{display:flex;justify-content:space-between;gap:16px;padding:12px 18px;font-size:10px;color:var(--muted);border-top:1px solid var(--line)}.panel-foot a{white-space:nowrap}.status{font-size:11px;color:var(--muted);margin:6px 0 16px}.hint{font-size:12px;margin-top:-5px;margin-bottom:16px}.empty{padding:25px;color:var(--muted);font-size:13px;line-height:1.8}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.story{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel)}.story:hover{border-color:#638050}.story-media{margin:0;background:var(--raised);position:relative}.story-media img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.story-media figcaption{font-size:8px;line-height:1.3;color:#c4cfc8;padding:3px 8px;background:#18231e}.story-body{padding:15px}.story h3{font-size:15px;line-height:1.4;letter-spacing:-.2px;margin:8px 0 12px}.story h3 a:hover{color:var(--lime)}.story .meta{font-size:10px;color:var(--muted)}.story .eyebrow{font-size:8px;letter-spacing:1px}.search input{width:200px;font-size:12px}.news-grid .story:first-child{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr}.news-grid .story:first-child .story-media img{height:100%;aspect-ratio:auto;min-height:180px}.news-grid .story:first-child .story-media figcaption{position:absolute;bottom:0;left:0;right:0;background:#152019cc}.news-grid .story:first-child h3{font-size:21px}.news-grid .story:first-child .story-body{align-self:center;padding:22px}.transfer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.text-link{color:var(--lime);font-size:12px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}caption{text-align:left;padding:16px 18px;color:var(--muted);font-size:11px}th{color:var(--muted);font-size:10px;font-weight:500;background:#202c23}th,td{text-align:center;padding:11px 8px;border-bottom:1px solid #2c3a3070}th:nth-child(2),td:nth-child(2){text-align:left}th:first-child,td:first-child{padding-left:18px;width:40px}td:last-child{font-weight:800;color:var(--lime);padding-right:18px}tr:hover td{background:#243328}.team-link{display:flex;align-items:center;gap:9px;background:none;border:0;padding:0;font-weight:650;color:inherit;text-align:left}.team-link:hover{color:var(--lime)}footer{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:11px}.footer-brand{color:var(--text);font-size:16px;font-weight:750}footer div{display:flex;gap:20px;flex-wrap:wrap;margin-top:16px}footer button{border:0;padding:0;background:none;color:inherit;font-size:11px}dialog{color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:18px;width:calc(100% - 32px);max-width:820px;max-height:90vh;padding:26px}dialog::backdrop{background:#030805c9;backdrop-filter:blur(5px)}dialog h3{margin-top:28px;font-size:17px}.dialog-head{display:flex;justify-content:space-between;gap:20px;align-items:center}.dialog-head h2{font-size:27px;margin:4px 0}.result-row{display:grid;grid-template-columns:90px 1fr 100px;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.result-row small{display:block;color:var(--muted);font-size:10px}.result-score{padding:6px 10px;background:var(--raised);border-radius:7px;font-weight:800;text-align:center}.win{color:var(--green)}.draw{color:var(--grey)}.loss{color:var(--red)}.squad-group{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:14px}.squad-group h4{padding:10px 14px;background:var(--raised);margin:0;color:var(--lime);font-size:12px}.player{display:grid;grid-template-columns:30px 1fr auto;gap:10px;padding:10px 14px;border-top:1px solid var(--line);font-size:12px}.player small{color:var(--muted)}#infoDialog{max-width:560px}#infoText{color:var(--muted);line-height:1.8}
@media(max-width:1100px){.header-inner{gap:35px}.layout{grid-template-columns:175px minmax(0,1fr);gap:24px}.news-grid,.transfer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-grid .story:first-child{grid-column:span 2}}@media(max-width:800px){.sidebar{display:none}.layout{display:block;padding:24px 18px}.header-inner{gap:20px;padding:12px 18px;flex-wrap:wrap;min-height:76px}.header nav{gap:24px;margin-left:auto}.header nav a.active:after{bottom:-13px}.auto{display:none}.brand{font-size:20px}.brand small{font-size:7px}.brand-mark{width:50px;flex-basis:50px;height:44px;font-size:25px}.brand-mark span{font-size:22px}}@media(max-width:550px){html{scroll-padding-top:130px}.header-inner{gap:12px}.header nav{width:100%;justify-content:space-between;order:2}.header nav a{padding:3px 0;font-size:12px}.header nav a.active:after{bottom:-12px}.brand small{display:none}.layout{padding:22px 12px}.section-title h2{font-size:24px}.section{margin-bottom:30px}.segmented{width:100%;justify-content:space-between}.segmented button{padding:8px;font-size:11px}.datebar{gap:4px;padding:10px}.datebar .muted{width:100%;margin:4px 0 0;text-align:center}.match-row{padding:12px;grid-template-columns:50px 1fr 30px;gap:8px}.news-grid,.transfer-grid{grid-template-columns:1fr 1fr;gap:10px}.news-grid .story:first-child{grid-template-columns:1fr}.news-grid .story:first-child .story-media img{aspect-ratio:16/9;min-height:0;height:auto}.news-grid .story:first-child h3{font-size:20px}.story-body{padding:12px}.story h3{font-size:13px}.story .meta{font-size:9px}.search input{width:140px}.section-title{gap:10px;flex-wrap:wrap}.section-title select{max-width:190px}.table-scroll table{min-width:530px}dialog{padding:18px}.result-row{grid-template-columns:65px 1fr 76px;gap:8px;font-size:11px}.result-score{padding:6px}.player{grid-template-columns:24px 1fr;font-size:12px}.player small{grid-column:2}.panel-foot{padding:12px;font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Theme palettes: black / emerald and white / light blue. */
:root{--bg:#000000;--panel:#064e3b;--raised:#065f46;--line:#27856d;--text:#f0fdf4;--muted:#b4d9cb;--lime:#bcf66b;--green:#86efac;--red:#fda4af;--grey:#d1d5db;--hover:#07694d;--header:#000000f5;--accent-ink:#102015;color-scheme:dark}
:root[data-theme="light"]{--bg:#ffffff;--panel:#e0f2fe;--raised:#bae6fd;--line:#89bad5;--text:#102a43;--muted:#405f78;--lime:#075985;--green:#166534;--red:#b91c1c;--grey:#52525b;--hover:#c9e9fb;--header:#fffffff5;--accent-ink:#ffffff;color-scheme:light}
.header{background:var(--header)}.league-heading,th{background:var(--raised)}.match-row,th,td{border-bottom-color:var(--line)}.match-row:hover,tr:hover td{background:var(--hover)}.story:hover{border-color:var(--lime)}.story-media figcaption{background:var(--raised);color:var(--text)}.news-grid .story:first-child .story-media figcaption{background:var(--raised);color:var(--text)}.segmented button.selected,.skip{color:var(--accent-ink)}.segmented button.selected .live-dot{background:var(--accent-ink)}.brand-mark{background:#bcf66b;color:#102015}.theme-control{margin-left:auto;flex-shrink:0}.theme-control select{min-width:83px;cursor:pointer}.auto{margin-left:0}.header-inner{gap:28px}dialog{background:var(--panel)}.squad-group{background:var(--panel)}
@media(max-width:1000px){.auto{display:none}.header-inner{gap:18px}.header nav{gap:20px}}
@media(min-width:551px) and (max-width:700px){.header-inner{flex-wrap:wrap}.header nav{order:3;width:100%;justify-content:space-between}.header nav a.active:after{bottom:-12px}}
@media(max-width:550px){.theme-control{margin-left:auto}.header-inner{gap:12px}.header nav{order:3}}

/* Date navigation and interaction polish. */
.date-choice{position:relative;display:flex;align-items:center;min-width:150px;justify-content:center}
.datebar .date-choice button{border:0;font-weight:750;min-width:150px;padding:7px 12px}
.date-choice input{position:absolute;bottom:0;left:50%;width:1px;height:1px;opacity:0;pointer-events:none}
.date-choice input.date-fallback{position:static;width:150px;height:auto;opacity:1;pointer-events:auto}
.datebar #previousDay,.datebar #nextDay{width:34px;height:34px;border-radius:50%;font-size:20px;line-height:1;padding:0}
.datebar .date-reset{font-size:10px;color:var(--muted);border:0;padding:5px}
button:disabled{cursor:default;opacity:.45}
.button,.league-button,.story,.match-row,.header nav a{transition:background-color .15s,border-color .15s,color .15s}
.match-row:focus-visible{outline-offset:-3px;background:var(--hover)}
.panel,.story{box-shadow:0 3px 14px #00000012}
.story h3{line-height:1.45}.story .meta{line-height:1.6}
.story-media img{background:var(--raised)}
#matchGrid:empty{min-height:120px}
@media(max-width:550px){.datebar{justify-content:center}.date-choice,.datebar .date-choice button{min-width:142px}.datebar .date-reset{position:absolute;right:18px}.datebar{position:relative}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
