[data-theme="dark"]{--primary:#34c77c;--primary-dark:#15965a;--primary-soft:#173c2b;--danger:#ff6469;--warning:#f2b544;--text:#ecf3ef;--muted:#9aa9a1;--bg:#101715;--surface:#17201d;--border:#2c3b35;--shadow:0 5px 18px rgba(0,0,0,.22);color-scheme:dark}
[data-theme="dark"] .modern-brand>span>span,[data-theme="dark"] .modern-header nav a{color:var(--text)}
.modern-account a,.modern-account button,.modern-footer,.filter-tabs a,.date-picker label,.filter-trigger,.league-header,.market-group,.bulletin-filters,.bulletin-filters input,.bulletin-filters select{background:var(--surface);color:var(--text)}
.modern-account a,.modern-account button{white-space:nowrap}
@media(min-width:1101px){.sidebar-left,.sidebar-right{position:sticky;top:min(calc(var(--header-height) + 12px),calc(100vh - var(--sidebar-height,600px) - 12px));max-height:none;overflow:visible;transform:none!important;will-change:auto}.sidebar-left::-webkit-scrollbar,.sidebar-right::-webkit-scrollbar{display:none}}
.modern-brand>span{font-size:29px}.match-row.stale-live{background:#fffaf0}.match-row.stale-live .minute{color:#9a6500;font-size:10px}.match-row.goal-alert{animation:goalFlash 1.6s ease}.goal-alert-label{position:absolute;right:8px;top:5px;background:#e11;color:#fff;border-radius:10px;padding:2px 7px;font:800 10px/1 sans-serif}@keyframes goalFlash{0%,100%{box-shadow:none}25%,75%{box-shadow:inset 0 0 0 2px #ef3340;background:#fff2f2}}
.team-card,.league-profile{display:flex;align-items:center;gap:18px;padding:18px}.team-card>img{width:86px;height:86px;object-fit:contain}.team-card h1,.league-profile h1,.standings-browser h1{margin:0;color:var(--text)}.team-card p,.league-profile p{margin:5px 0;color:var(--muted)}.season-select,.league-profile form{margin-left:auto}.season-select select,.league-profile select,.standings-browser select,.standings-browser input{height:38px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:0 10px}.data-note{padding:10px 12px;background:var(--primary-soft);border-radius:8px;color:var(--muted)}.squad-table{width:100%;border-collapse:collapse}.squad-table th,.squad-table td{padding:8px;border-bottom:1px solid var(--border);text-align:left}.standings-browser form{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(260px,1.5fr) auto;gap:8px;margin:15px 0}.standings-browser button{border:0;border-radius:8px;background:var(--primary);color:#fff;padding:0 18px}.league-profile{justify-content:space-between}.standings-card h3{font-size:13px;margin:14px 0 6px}.availability-stale_prematch,.availability-live_suspended{opacity:.72}.availability-stale_prematch header em,.availability-live_suspended header em{color:var(--warning)}
.match-search{min-width:145px;flex:1}.match-search input{width:100%;height:36px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:0 10px}
.date-step{height:36px;width:32px;flex:0 0 32px;border:1px solid var(--border);border-radius:8px;background:var(--surface);display:grid;place-items:center;text-decoration:none;font-size:21px}
.filter-panel{background:var(--surface)}.filter-panel>header{display:flex;align-items:center;gap:8px;margin-bottom:9px}.filter-panel>header b{margin-right:auto}.filter-panel>header input{height:32px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);padding:0 8px}.filter-clear{border:0;background:transparent;color:var(--primary);cursor:pointer}.league-filter-grid label{padding:6px;border-radius:6px;background:color-mix(in srgb,var(--surface) 82%,var(--bg))}
.score-stream{overflow:hidden;scrollbar-width:none;padding-left:0;padding-right:0}.score-stream-track{display:flex;width:max-content;gap:28px;padding:0 14px;animation:ticker-scroll 42s linear infinite}.score-stream:hover .score-stream-track{animation-play-state:paused}@keyframes ticker-scroll{to{transform:translateX(-35%)}}@media(prefers-reduced-motion:reduce){.score-stream-track{animation:none}}
.market-count{display:flex;flex-direction:column;align-items:center}.market-count small{font-size:9px;color:var(--muted);white-space:nowrap}.favorite-clone+.market-panel{display:none}.favorite-clone{grid-template-columns:34px 56px minmax(0,1fr) 52px 180px 42px}.mbs-badge{width:auto;min-width:43px;border-radius:13px;padding:0 7px;white-space:nowrap}
.bulletin-filters{grid-template-columns:auto 1.15fr auto 1.3fr 1fr 1fr .8fr auto}.bulletin-filters .date-step{align-self:end}
@media(max-width:980px){.bulletin-filters{grid-template-columns:repeat(4,1fr)}.bulletin-filters .date-step{display:none}}
@media(max-width:860px){.match-search{order:5;flex:1 0 100%}.filter-panel>header{flex-wrap:wrap}.score-stream-track{animation-duration:30s}}
@media(max-width:680px){.bulletin-filters{grid-template-columns:1fr 1fr}.favorite-clone{grid-template-columns:28px 48px minmax(0,1fr) 40px}.favorite-clone .quick-odds{display:none}}
@media(max-width:680px){.modern-brand>span{font-size:23px}.team-card{align-items:flex-start;flex-wrap:wrap}.team-card>img{width:64px;height:64px}.season-select{width:100%;margin:0}.season-select select{width:100%}.standings-browser form{grid-template-columns:1fr}.table-scroll{overflow-x:auto}.squad-table{min-width:720px}}
.quick-bet{margin:0}.quick-bet .odds-chip{cursor:pointer;font:inherit;width:100%}.quick-bet .odds-chip:hover{border-color:var(--primary);background:var(--primary-soft)}
.team-page-main .recent-box{display:grid;gap:1px;background:var(--border)}.team-page-main .recent-box a{display:grid;grid-template-columns:70px minmax(0,1fr) 44px minmax(0,1fr);gap:8px;align-items:center;padding:8px 10px;background:var(--surface);color:var(--text);text-decoration:none}.team-page-main .recent-box time{color:var(--muted);font-size:11px}.team-page-main .recent-box b{text-align:center;color:var(--primary)}
@media(max-width:680px){.team-page-main .recent-box a{grid-template-columns:62px minmax(0,1fr) 34px minmax(0,1fr);gap:5px;font-size:11px}}
.modern-brand>span{font-size:31px}.modern-account #theme-toggle{flex:0 0 42px;padding:0}.modern-account #theme-toggle img{display:block;width:21px;height:21px}@media(max-width:680px){.filter-bar{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px;overflow:visible;padding-bottom:0}.filter-tabs{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.filter-tabs a{min-width:0;padding:0 5px;font-size:10px}.match-search{grid-column:2;grid-row:2;min-width:0;order:initial}.match-search input{height:38px;padding:0 8px}.date-nav{grid-column:1;grid-row:2;width:max-content;margin:0;display:grid;grid-template-columns:32px 78px 32px;gap:2px}.date-step{width:32px}.date-picker-button{width:78px;min-width:78px;padding:0 3px}.league-header{padding:0 8px;gap:6px}.league-header>span{font-size:10px}.match-row{gap:4px}.market-count{padding:0 2px}.modern-account{gap:5px}.modern-account a{padding:0 8px;font-size:10px}}@media(max-width:560px){.modern-brand>span{font-size:25px}.modern-account #theme-toggle{display:none!important}}
[data-theme="dark"]{--surface-muted:#202b27;--surface-soft:#1c2723;--surface-raised:#17201d;--field-bg:#121b18;--row-hover:#173c2b;--disabled-bg:#202925;--disabled-text:#87958e}[data-theme="dark"] .detail-crumb,[data-theme="dark"] .score-card,[data-theme="dark"] .recent-box,[data-theme="dark"] .league-header,[data-theme="dark"] .market-group,[data-theme="dark"] .market-panel,[data-theme="dark"] .filter-panel,[data-theme="dark"] .coupon-tabs,[data-theme="dark"] .league-match-list{background:var(--surface);color:var(--text)}[data-theme="dark"] .detail-card>h2,[data-theme="dark"] .recent-box h3,[data-theme="dark"] .squad-table th{background:var(--surface-muted);color:var(--text)}[data-theme="dark"] .filter-tabs a,[data-theme="dark"] .filter-trigger,[data-theme="dark"] .date-step,[data-theme="dark"] .date-picker-button,[data-theme="dark"] .match-search input,[data-theme="dark"] input,[data-theme="dark"] select,[data-theme="dark"] textarea{background:var(--field-bg);color:var(--text)}[data-theme="dark"] .odds-chip,[data-theme="dark"] .odds-button{background:var(--surface-soft);color:var(--text);border-color:var(--border)}[data-theme="dark"] .odds-button:disabled{background:var(--disabled-bg);color:var(--disabled-text);opacity:.8}[data-theme="dark"] .virtual-league{background:linear-gradient(135deg,var(--surface),#26203d)}[data-theme="dark"] .popular-card a:hover,[data-theme="dark"] .league-match-list>a:hover,[data-theme="dark"] .squad-table tbody tr:hover{background:var(--row-hover)}[data-theme="dark"] .match-row.stale-live{background:#292516}[data-theme="dark"] .score-teams a,[data-theme="dark"] .league-profile h1,[data-theme="dark"] .team-card h1{color:var(--text)}
[data-theme="dark"] .modern-header nav img,[data-theme="dark"] .mobile-navigation>a img,[data-theme="dark"] .filter-trigger img,[data-theme="dark"] .date-picker-button img,[data-theme="dark"] .detail-crumb img,[data-theme="dark"] .sound-toggle img{filter:brightness(0) invert(1);opacity:.92}[data-theme="dark"] .modern-header nav a.active img,[data-theme="dark"] .modern-header nav a:hover img,[data-theme="dark"] .mobile-navigation>a.active img{opacity:1}
