:root{color-scheme:dark;--bg:#101412;--sidebar:#111713;--panel:#181f1a;--panel2:#1c251e;--border:#2b352d;--text:#f1f3ed;--muted:#8e9b92;--accent:#c6f365;--accent-ink:#20330d;--hover:#243026;--shadow:0 15px 45px #0002;font-family:'Outfit','Noto Sans Thai',sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;top:-100px;left:250px;z-index:100;background:var(--accent);color:#15240b;padding:10px}.skip-link:focus{top:10px}.accent{color:var(--accent)}
.sidebar{position:fixed;inset:0 auto 0 0;width:230px;padding:35px 20px 20px;border-right:1px solid var(--border);background:var(--sidebar);display:flex;flex-direction:column;z-index:40;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;letter-spacing:-1px;line-height:1.2}.brand-mark{display:grid;place-items:center;width:39px;height:39px;background:var(--accent);border-radius:12px;color:#172511}.brand-mark svg{width:28px;height:28px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:1px;color:var(--muted);margin-top:5px}.side-caption{font-size:8px;letter-spacing:1.5px;color:#67746b;margin:23px 0 23px 2px}.side-nav{display:grid;gap:6px}.side-link{border:0;background:none;display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:10px;color:var(--muted);text-align:left;width:100%;font-size:12px;font-weight:500}.side-link.active{background:var(--accent);color:#1c2c12;font-weight:700}.side-link:hover:not(.active){background:var(--hover);color:var(--text)}.side-link svg{width:18px;height:18px}.side-dot{margin-left:auto;width:6px;height:6px;border-radius:50%;background:#2c401b}.mini-count{margin-left:auto;font:500 11px 'Outfit',sans-serif;border-radius:5px;background:#ffffff0e;min-width:19px;text-align:center;padding:1px 4px}.side-section-title{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:31px 12px 13px}.side-section-title span{font:11px 'Outfit';color:#5c6a60}.league-nav{display:grid;gap:3px}.league-button{display:flex;align-items:center;gap:11px;padding:10px 12px;border:0;border-radius:9px;background:none;font-size:11px;text-align:left;color:#b5c0b8}.league-button:hover,.league-button.active{background:var(--hover);color:var(--accent)}.league-symbol{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:var(--panel2);font:600 9px 'Outfit';color:#b9c7bc;overflow:hidden}.league-symbol img{width:21px;height:21px;object-fit:contain;background:#f3f4ef;border-radius:4px;padding:2px}.side-bottom{margin-top:auto;padding:34px 12px 0}.small-pitch{width:95px;height:51px;border:1px solid #4a5a37;border-radius:4px;position:relative;background:linear-gradient(90deg,#91bd3811 50%,transparent 50%);background-size:22px 100%;margin-bottom:15px}.small-pitch:before{content:'';position:absolute;width:26px;height:26px;border:1px solid #4a5a37;border-radius:50%;top:11px;left:33px}.small-pitch:after{content:'';position:absolute;left:50%;height:100%;border-left:1px solid #4a5a37}.side-bottom strong{font-size:12px;font-weight:500}.side-bottom p{color:#738277;font-size:10px;line-height:1.9;margin:7px 0 22px}.side-bottom-note{font-size:7px;letter-spacing:1px;color:#657167}
.app-shell{margin-left:230px}.topbar{height:79px;display:flex;justify-content:space-between;align-items:center;padding:0 37px;border-bottom:1px solid var(--border)}.topbar-left,.topbar-actions{display:flex;align-items:center;gap:18px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 13px;color:#526055}.breadcrumb strong{font-weight:500;color:#c4cec6}.thai-time{font-size:10px;color:var(--muted)}.icon-button{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:transparent;border:1px solid var(--border);color:var(--muted)}.icon-button:hover{background:var(--hover);color:var(--text)}.icon-button svg{width:17px;height:17px}.avatar{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;font:500 11px 'Outfit';background:#34422c;color:#d5e7be;border:3px solid #202a20}.menu-toggle,.mobile-brand{display:none}main{max-width:1510px;margin:auto;padding:35px 37px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 28px;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:var(--muted);font-weight:500}.page-heading .eyebrow{display:flex;align-items:center;gap:7px}.eyebrow>span:first-child{width:5px;height:5px;background:var(--accent);border-radius:50%}h1{font-size:32px;line-height:1.5;letter-spacing:-1px;margin:9px 0 5px;font-weight:600}.heading-dot{color:var(--accent)}.page-heading p{font-size:11px;margin:0;color:var(--muted)}.today-stamp{text-align:right;font-size:11px;color:#c9d2ca}.today-stamp strong{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:6px}.today-stamp strong span{color:var(--accent);font:10px 'Outfit';margin-left:8px}
.hero{position:relative;min-height:270px;display:flex;align-items:center;justify-content:space-between;gap:30px;border:1px solid #4a6040;border-radius:19px;padding:29px 34px;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 70% 110%,#7b9a3a38,transparent 65%),linear-gradient(105deg,#243c26,#1b2c1f 56%,#25361f)}.hero-pitch{position:absolute;z-index:-1;width:540px;height:330px;border:1px solid #9cc66e14;border-radius:7px;right:-50px;top:-60px;transform:rotate(-25deg);background:repeating-linear-gradient(90deg,#a4c66a04 0 50px,transparent 50px 100px)}.hero-pitch:before{content:'';position:absolute;inset:65px 0;border-left:65px solid transparent;border-right:65px solid transparent;outline:1px solid #9cc66e14}.hero-pitch:after{content:'';position:absolute;width:115px;height:115px;left:210px;top:100px;border:1px solid #9cc66e1f;border-radius:50%}.hero-watermark{position:absolute;bottom:-57px;right:20px;font-size:210px;line-height:1;font-weight:800;color:#d6f3a708;z-index:-1;letter-spacing:-10px}.hero-kicker{font-size:8px;color:#bbd3a7;letter-spacing:2px}.hero h2{font-size:28px;font-weight:500;line-height:1.6;margin:8px 0 8px;letter-spacing:-.6px;color:#f1f6e9}.hero h2 span{color:#d6f3a7}.hero p{font-size:10px;line-height:1.9;color:#aabca2;margin:0}.hero-button{display:inline-flex;align-items:center;gap:20px;background:var(--accent);color:#223613;font-size:10px;font-weight:600;padding:10px 13px;border-radius:8px;margin-top:17px}.hero-button svg{width:15px;height:15px}.spotlight{width:300px;max-width:48%;background:#101b1694;border:1px solid #b2d38124;border-radius:15px;padding:19px;box-shadow:0 12px 30px #0001;backdrop-filter:blur(5px)}.spotlight-caption{display:flex;justify-content:space-between;color:#b9c9ad;font-size:10px}.spotlight-loading{padding:30px 0;font-size:11px;color:#bbcbaf}.spotlight-league{display:flex;align-items:center;justify-content:center;font-size:9px;color:#99ac92;margin:16px 0 13px}.spotlight-teams{display:flex;align-items:center;justify-content:space-between;gap:12px}.spotlight-team{display:flex;flex-direction:column;align-items:center;gap:8px;width:78px;font-size:9px;text-align:center;color:#e4ecdd}.team-crest{display:grid;place-items:center;background:#ffffff09;border-radius:12px;width:38px;height:38px;font:700 13px 'Outfit';color:#d6dfcf}.team-crest img{width:100%;height:100%;object-fit:contain}.spotlight-team .team-crest{width:46px;height:46px}.spotlight-score{text-align:center;white-space:nowrap}.spotlight-score strong{font-size:28px;font-weight:600;color:#fff}.spotlight-score small{display:block;color:var(--accent);font-size:9px}.spotlight-bottom{text-align:center;color:#90a589;font-size:8px;margin-top:16px}.live-pill{display:inline-flex;align-items:center;gap:5px;font:600 8px 'Outfit';padding:2px 6px;border-radius:4px;background:#c6f3651a;color:#c6f365}.live-dot{display:inline-block;width:5px;height:5px;background:#c6f365;border-radius:50%;flex-shrink:0;box-shadow:0 0 8px #c6f36522}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:24px;margin-top:31px}.scores-panel{min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.section-heading h2{font-size:17px;font-weight:500;letter-spacing:-.4px;margin:0}.section-heading h2>span{display:inline-block;margin-left:6px;background:var(--panel2);border:1px solid var(--border);color:var(--muted);font:11px 'Outfit';padding:3px 7px;border-radius:5px;vertical-align:middle}.refresh-button{border:0;background:none;color:var(--muted);font-size:10px;display:flex;align-items:center;gap:7px}.refresh-button svg{width:14px;height:14px}.refresh-button.refreshing svg{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.date-toolbar{display:flex;align-items:stretch;background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:6px;gap:5px}.date-arrow{width:25px;flex-shrink:0;border:0;background:none;font-size:22px;color:var(--muted);border-radius:6px}.date-arrow:hover{background:var(--hover)}.date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;flex:1;min-width:0}.date-item{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:8px;padding:8px 2px;color:var(--muted);gap:3px;min-width:0}.date-item small{font-size:8px;white-space:nowrap}.date-item strong{font:500 17px 'Outfit';color:#d4ddd5}.date-item.active{background:var(--accent);color:#405028}.date-item.active strong{color:#20300f}.date-item:hover:not(.active){background:var(--hover)}.calendar-control{position:relative;width:29px;display:grid;place-items:center;color:var(--muted);border-left:1px solid var(--border);margin-left:3px}.calendar-control svg{width:15px;height:15px}.calendar-control input{opacity:0;position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.calendar-control input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.match-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:20px 0 12px}.filter-tabs{display:flex;gap:3px;align-items:center}.filter-tabs button{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;color:var(--muted);border:0;background:none;padding:7px 9px;border-radius:7px}.filter-tabs button.active{color:var(--accent);background:#c6f3650c}.filter-tabs button span{font:10px 'Outfit';color:#6d7e72}.filter-tabs button.active span{color:#c6f365}.search{display:flex;align-items:center;gap:6px;width:152px;color:var(--muted);border:1px solid var(--border);border-radius:7px;padding:6px 8px}.search svg{width:13px;height:13px}.search input{width:100%;background:none;border:0;color:var(--text);font-size:9px;outline:none}.search input::placeholder{color:var(--muted)}.data-status{font-size:9px;line-height:1.7;color:var(--muted);margin-bottom:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.data-status.warning{color:#e7c587}.data-status.demo{color:#c6f365}.data-status button{background:transparent;border:1px solid var(--border);color:var(--text);border-radius:5px;padding:3px 7px;font-size:9px}.league-group{border:1px solid var(--border);border-radius:12px;margin-bottom:13px;overflow:hidden;background:var(--panel)}.league-group-header{display:flex;align-items:center;gap:9px;padding:12px 15px;background:var(--panel2);border-bottom:1px solid var(--border)}.league-group-header .league-symbol{width:25px;height:25px}.league-group-header h3{font-size:11px;font-weight:500;margin:0;line-height:1.4}.league-group-header small{font-size:8px;color:var(--muted)}.league-game-count{margin-left:auto;font-size:9px;color:var(--muted)}.match-row{display:grid;grid-template-columns:30px 43px minmax(0,1fr) 53px 21px;align-items:center;gap:9px;padding:13px 13px;border-bottom:1px solid var(--border);transition:background .15s}.match-row:last-child{border-bottom:0}.match-row:hover{background:var(--hover)}.favorite-button{border:0;background:none;width:28px;height:32px;display:grid;place-items:center;color:#627165;padding:0}.favorite-button svg{width:14px;height:14px}.favorite-button.selected{color:var(--accent)}.favorite-button.selected svg{fill:var(--accent)}.match-time{font:11px 'Outfit';color:#a2b0a6;text-align:center}.match-time small{font:8px 'Noto Sans Thai';display:block;color:#607466;margin-top:4px}.match-time.is-live{color:var(--accent)}.match-teams{background:none;border:0;padding:0;text-align:left;display:grid;gap:7px;min-width:0;width:100%}.match-team{display:flex;align-items:center;gap:8px;color:var(--text);font-size:11px;min-width:0}.match-team>span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.match-team .team-crest{width:20px;height:20px;border-radius:4px;font-size:7px;background:none;flex-shrink:0}.match-scores{display:grid;gap:7px;justify-items:center;font:600 12px 'Outfit'}.match-scores span{display:grid;place-items:center;width:26px;height:20px;border-radius:4px;background:var(--hover);color:#c6d2c8}.match-scores .winner{color:var(--accent)}.match-scores.is-live span{color:var(--accent);background:#c6f3650c}.match-scores.upcoming span{color:#758177;background:none}.detail-button{border:0;background:none;padding:0;color:#687c6e;font-size:21px}.scores-footer{display:flex;justify-content:space-between;gap:10px;font-size:8px;color:#7b8b80;margin:20px 0}.scores-footer span:first-child{display:flex;align-items:center;gap:6px}.scores-footer .live-dot{width:4px;height:4px}.loading-skeleton{height:140px;border-radius:12px;margin-bottom:12px;background:linear-gradient(90deg,var(--panel),var(--panel2),var(--panel));background-size:200% 100%;animation:skeleton 1.5s linear infinite}@keyframes skeleton{to{background-position:-200% 0}}.empty-state{padding:44px 20px;text-align:center;background:var(--panel);border:1px dashed var(--border);border-radius:13px;color:var(--muted);font-size:12px}.empty-state svg{width:32px;height:32px;color:#658044;margin-bottom:10px}.empty-state strong{display:block;color:var(--text);font-weight:500;font-size:14px;margin-bottom:7px}.empty-state p{margin:0;font-size:10px}.empty-state button{margin-top:15px;background:var(--accent);color:#22320f;border:0;border-radius:7px;padding:9px 12px;font-size:11px}
.right-rail{padding-top:0;display:flex;flex-direction:column;gap:17px}.rail-card{padding:22px 19px;border:1px solid var(--border);border-radius:14px;background:var(--panel)}.day-summary .eyebrow{font-size:7px;letter-spacing:1.5px}.day-summary h2{margin:8px 0 12px;font-size:23px;font-weight:500}.day-summary h2>span{color:var(--accent)}.summary-main{padding-bottom:17px;border-bottom:1px solid var(--border)}.summary-main strong{display:block;font:500 55px/1.2 'Outfit';letter-spacing:-3px;color:var(--accent)}.summary-main>span{font-size:9px;color:var(--muted)}.summary-mini{display:flex;justify-content:space-between;gap:10px;margin-top:17px}.summary-mini>div{display:grid;grid-template-columns:7px 1fr;align-items:center;column-gap:6px}.summary-mini strong{font:500 16px 'Outfit'}.summary-mini>div>span:last-child{grid-column:2;font-size:8px;color:var(--muted)}.finished-dot{display:block;width:5px;height:5px;border-radius:50%;background:#7b8c82}.rail-card-heading{display:flex;justify-content:space-between;align-items:center}.rail-card-heading h3{font-size:13px;font-weight:500;margin:0}.rail-card-heading svg{width:16px;height:16px;color:#b4c49e}.rail-card p{font-size:10px;line-height:1.9;color:var(--muted);margin:13px 0}.rail-link{display:flex;align-items:center;justify-content:space-between;width:100%;background:var(--hover);border:0;border-radius:7px;padding:9px 11px;color:#cfdfbf;font-size:10px}.rail-link svg{width:14px;height:14px}.source-badge{display:inline-block;font-size:7px;letter-spacing:1.2px;border:1px solid var(--border);color:var(--muted);border-radius:4px;padding:3px 6px}.source-card h3{font-weight:500;font-size:12px;margin:12px 0 5px}.source-card p{font-size:9px;line-height:1.9;margin-top:8px}.source-updated{display:flex;gap:6px;align-items:center;font-size:8px;color:#899d8a;border-top:1px solid var(--border);padding-top:12px}.connection-dot{width:5px;height:5px;border-radius:50%;background:#748172}.connection-dot.online{background:var(--accent)}.demo-switch{display:flex;align-items:center;gap:7px;font-size:9px;color:#a2b19f;margin-top:17px;cursor:pointer}.demo-switch input{accent-color:#9dc94f;width:12px;height:12px;margin:0}.source-card>small{font-size:7px;color:#68786b;display:block;margin:5px 0 0 19px}.footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:24px 0;margin-top:28px;border-top:1px solid var(--border);font-size:8px;color:#758278}.footer-brand{font:700 14px 'Outfit';color:#b9c3ba;letter-spacing:-.5px}.footer-brand span{color:#94af6e}
.match-dialog{width:min(480px,calc(100% - 28px));padding:24px;border:1px solid #495e3e;border-radius:20px;background:var(--panel);color:var(--text);box-shadow:0 20px 100px #0006}.match-dialog::backdrop{background:#050b08bb;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;letter-spacing:1.5px}.dialog-league{text-align:center;color:var(--muted);font-size:11px;margin:20px 0}.dialog-teams{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:12px 0 27px}.dialog-team{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;font-size:12px}.dialog-team .team-crest{width:62px;height:62px}.dialog-score{font:500 34px 'Outfit';color:var(--accent);text-align:center}.dialog-score small{display:block;font-size:10px;margin-top:8px;color:var(--muted)}.dialog-meta{border-top:1px solid var(--border);padding-top:15px;display:grid;gap:12px}.dialog-meta p{display:flex;justify-content:space-between;gap:20px;font-size:11px;margin:0;color:var(--muted)}.dialog-meta strong{text-align:right;max-width:70%;font-weight:400;color:var(--text)}.dialog-favorite{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--accent);border:0;border-radius:9px;width:100%;padding:12px;font-size:12px;color:#233410;margin-top:23px}.dialog-favorite svg{width:16px;height:16px}.toast{position:fixed;left:calc(50% + 115px);bottom:25px;transform:translate(-50%,20px);border:1px solid #56733a;background:#243423;color:#e8f2df;padding:11px 20px;border-radius:10px;font-size:11px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:.2s;z-index:100}.toast.show{opacity:1;transform:translate(-50%,0)}.sidebar-scrim{display:none}
[data-theme=light]{color-scheme:light;--bg:#f1f4ed;--sidebar:#f9fbf6;--panel:#fff;--panel2:#f2f5ee;--border:#dce3d6;--text:#243021;--muted:#778473;--accent:#72a02d;--accent-ink:#effbdc;--hover:#e9f0e2}[data-theme=light] .side-link.active,[data-theme=light] .date-item.active{background:#cae99b;color:#233b0e}[data-theme=light] .side-link:hover,[data-theme=light] .league-button{color:#5b7051}[data-theme=light] .match-team,[data-theme=light] .date-item strong,[data-theme=light] .breadcrumb strong{color:#334630}[data-theme=light] .hero{--accent:#c6f365}[data-theme=light] .hero .hero-button{color:#223613}[data-theme=light] .live-dot{background:#72a02d}[data-theme=light] .spotlight .live-dot{background:#c6f365}[data-theme=light] .match-scores span{color:#40583b}[data-theme=light] .match-scores .winner{color:#51821a}[data-theme=light] .filter-tabs button.active{background:#e2efcf;color:#477510}[data-theme=light] .summary-main strong{color:#719c34}
@media(min-width:1600px){main{padding-top:40px}.hero{min-height:295px}.hero h2{font-size:32px}.content-layout{grid-template-columns:minmax(0,1fr) 270px}.match-row{padding:16px}.match-team{font-size:12px}.spotlight{width:340px}}
@media(max-width:1200px){.sidebar{width:205px;padding:30px 15px 18px}.app-shell{margin-left:205px}.topbar{padding:0 26px}main{padding:28px 26px 0}.content-layout{grid-template-columns:minmax(0,1fr) 210px;gap:17px}.hero{padding:26px;gap:20px}.spotlight{width:255px}.hero h2{font-size:25px}.rail-card{padding:18px 15px}.match-toolbar{flex-wrap:wrap}.search{width:100%}.match-row{gap:6px;grid-template-columns:24px 34px minmax(0,1fr) 30px 15px;padding:12px 8px}.match-team{font-size:10px}.toast{left:calc(50% + 102px)}}
@media(max-width:980px){.right-rail{display:none}.content-layout{grid-template-columns:minmax(0,1fr)}.match-toolbar{flex-wrap:nowrap}.search{width:170px}.hero h2{font-size:27px}.match-row{grid-template-columns:30px 45px minmax(0,1fr) 50px 24px;padding:15px}.match-team{font-size:12px}.hero{gap:15px}.hero .spotlight{width:240px;padding:15px}.hero-content{flex:1}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:230px}.sidebar.open{transform:translateX(0)}.sidebar-scrim:not([hidden]){display:block;position:fixed;inset:0;border:0;background:#0008;z-index:35}.app-shell{margin-left:0}.topbar{height:65px;padding:0 20px}.menu-toggle{display:grid}.breadcrumb{display:none}.mobile-brand{display:block;font:700 19px 'Outfit';letter-spacing:-.5px}.mobile-brand span{color:var(--accent)}.thai-time{display:none}.topbar-left{gap:12px}.topbar-actions{gap:12px}main{padding:25px 20px 0}.page-heading{margin-bottom:22px}h1{font-size:28px}.eyebrow{font-size:8px}.today-stamp{font-size:9px}.page-heading p{font-size:10px}.hero{padding:24px;min-height:265px}.hero h2{font-size:26px}.spotlight{max-width:48%}.content-layout{margin-top:25px}.toast{left:50%}.skip-link{left:15px}.footer>span:nth-child(2){display:none}}
@media(max-width:520px){main{padding:22px 14px 0}.topbar{padding:0 14px}.page-heading{align-items:flex-start}.today-stamp{display:none}h1{font-size:27px;margin-top:9px}.page-heading p{font-size:10px}.hero{padding:21px;align-items:flex-start;gap:18px;flex-direction:column;border-radius:15px}.hero-content{position:relative;width:100%}.hero h2{font-size:26px;line-height:1.5}.hero p{font-size:10px}.hero-button{position:absolute;bottom:0;right:0;gap:9px;font-size:9px;padding:10px}.hero .spotlight{width:100%;max-width:none;padding:14px 18px}.spotlight-teams{justify-content:space-around}.spotlight-team{width:90px;gap:6px}.spotlight-team .team-crest{width:34px;height:34px}.spotlight-league{margin:10px 0}.spotlight-score strong{font-size:25px}.spotlight-bottom{margin-top:10px}.hero-watermark{font-size:230px;bottom:20px;right:-20px}.section-heading h2{font-size:16px}.date-toolbar{gap:0;padding:5px}.date-arrow{width:21px}.date-item{padding:8px 0}.date-item small{font-size:7px}.date-item strong{font-size:16px}.calendar-control{width:24px;margin-left:2px}.date-strip{gap:1px}.match-toolbar{align-items:stretch;flex-direction:column;gap:12px;padding-top:15px}.filter-tabs{justify-content:space-between;gap:0}.filter-tabs button{font-size:10px;padding:7px 8px}.search{width:100%;padding:9px 11px}.search input{font-size:11px}.match-row{padding:13px 7px;gap:5px;grid-template-columns:24px 37px minmax(0,1fr) 30px 14px}.match-team{font-size:11px;gap:7px}.match-time{font-size:10px}.league-group-header{padding:11px 12px}.league-group-header h3{font-size:11px}.scores-footer{flex-direction:column;gap:6px;font-size:8px}.data-status{font-size:9px}.footer{padding:20px 0;margin-top:17px}.toast{max-width:calc(100% - 30px);width:max-content}.match-dialog{padding:20px}.dialog-team{font-size:11px}.dialog-score{font-size:29px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Keep useful information comfortably readable at normal browser zoom. */
.side-link{font-size:13px}.league-button{font-size:12px}.side-section-title{font-size:11px}
.page-heading p{font-size:13px}.hero p{font-size:12px}.hero-button{font-size:12px}
.spotlight-caption{font-size:11px}.spotlight-team{font-size:11px}.spotlight-league{font-size:10px}
.match-team{font-size:13px}.league-group-header h3{font-size:13px}.league-group-header small{font-size:10px}
.match-time{font-size:12px}.match-time small{font-size:9px}.match-scores{font-size:14px}
.filter-tabs button{font-size:12px}.search input{font-size:11px}.data-status{font-size:11px}
.rail-card p{font-size:11px}.rail-card-heading h3{font-size:14px}.source-card h3{font-size:13px}
.scores-footer{font-size:10px}.date-item small{font-size:10px}.refresh-button{font-size:12px}
@media(max-width:520px){.hero p{font-size:11px}.hero-button{font-size:10px}.match-team{font-size:12px}.filter-tabs button{font-size:11px}.date-item small{font-size:8px}.data-status{font-size:10px}.page-heading p{font-size:11px}}
/* Keep the main navigation visible; only the league list scrolls. */
.sidebar{overflow:hidden;overscroll-behavior:contain}
.sidebar>.brand,.sidebar>.side-caption,.sidebar>.side-nav,.sidebar>.side-section-title,.sidebar>.side-bottom{flex-shrink:0}
.sidebar>.league-nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#697c54 transparent;flex:1;align-content:start}
.side-link.active{box-shadow:inset 3px 0 0 #49771b}
@media(max-height:850px){.sidebar{padding-top:22px}.side-caption{margin:16px 0}.side-section-title{margin-top:22px}.side-bottom{display:none}}
[data-theme=light]{--muted:#53634f;--border:#becbb5;--accent:#49751b}
[data-theme=light] .side-link{color:#485d3b}
[data-theme=light] .side-link.active{background:#d1e9ad;color:#203b0c;box-shadow:inset 4px 0 0 #426d16}
[data-theme=light] .league-button{color:#405735}
[data-theme=light] .league-button.active{background:#dcebc9;color:#29480f;box-shadow:inset 3px 0 0 #426d16;font-weight:600}
[data-theme=light] .league-symbol{color:#395426;background:#e8efdf}
[data-theme=light] .filter-tabs button{color:#52634a}
[data-theme=light] .filter-tabs button.active{background:#d5e9b9;color:#26450c;font-weight:600}
[data-theme=light] .filter-tabs button span,[data-theme=light] .filter-tabs button.active span{color:#36551b}
[data-theme=light] .today-stamp{color:#45583b}
[data-theme=light] :is(.side-caption,.side-section-title span,.side-bottom p,.side-bottom-note,.scores-footer,.source-card>small,.source-updated){color:#53634f}
[data-theme=light] .rail-link{background:#e4edda;color:#304c19}

/* BAANBALL image identity. A light backing preserves navy lettering in both themes. */
.brand{flex-direction:column;align-items:flex-start;gap:5px;letter-spacing:0}.brand-logo{display:block;width:100%;height:auto;object-fit:contain;background:#f5f8ef;border-radius:10px;padding:7px}.brand>.brand-logo{width:190px}.brand>small{margin:0 0 0 5px}.mobile-brand .brand-logo{width:145px;border-radius:7px;padding:4px}@media(max-width:380px){.mobile-brand .brand-logo{width:120px}}
