/* Account preference; no authentication data is stored in the browser theme. */
.supporter-mobile-admin{display:none!important}
@media(max-width:900px){.site-header:has(.supporter-header-actions){display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto;gap:9px;padding:8px 12px!important;height:72px!important}.site-header:has(.supporter-header-actions) .brand{grid-column:1;grid-row:1;min-width:0!important;gap:8px!important}.site-header:has(.supporter-header-actions) .global-search-inline{grid-column:2;grid-row:1;justify-self:end;margin:0!important}.site-header:has(.supporter-header-actions) .supporter-header-actions{grid-column:3;grid-row:1;margin:0;gap:5px}.site-header:has(.supporter-header-actions) .menu-toggle{grid-column:4;grid-row:1;position:static!important;transform:none!important;margin:0!important;padding:6px!important;width:35px;min-width:35px}.site-header .supporter-header-actions .separate-admin-link{display:none}.site-header .supporter-mobile-admin{display:flex!important}.site-header:has(.supporter-header-actions) .main-nav{grid-column:1/-1;grid-row:2}.site-header:has(.supporter-header-actions) .brand-logo{width:44px!important;height:44px!important}.site-header:has(.supporter-header-actions) .global-search-inline-trigger{width:36px;min-height:36px;padding:7px}.site-header .supporter-header-actions button{padding:8px 6px;font-size:9px;min-height:36px}.site-header .supporter-header-actions button[data-supporter-theme]{font-size:18px;padding:4px 7px}}
@media(max-width:540px){.site-header:has(.supporter-header-actions) .brand-name{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.site-header:has(.supporter-header-actions){gap:8px}.site-header:has(.supporter-header-actions) .global-search-inline-trigger span{display:none}}
.person-history-filters{display:flex;gap:14px;margin:18px 0;flex-wrap:wrap}.person-history-filters label{flex:1;min-width:140px;font:800 10px Inter,Arial,sans-serif;letter-spacing:1px;color:#25466f}.person-history-filters select{display:block;width:100%;margin-top:6px;padding:11px 10px;min-height:44px;background:white;color:#153858;border:1px solid #b7c8df;border-radius:6px;font:600 13px Arial;letter-spacing:0}
.supporter-header-actions{display:flex;align-items:center;gap:9px;flex-shrink:0}.supporter-header-actions button,.supporter-header-actions a{font:800 10px/1.3 Inter,Arial,sans-serif;letter-spacing:.04em;white-space:nowrap;padding:9px 7px;border:1px solid #b8c8de;background:transparent;color:#16365d;border-radius:5px;text-decoration:none;min-height:38px;cursor:pointer}.supporter-header-actions [data-supporter-theme]{font-size:20px;padding:4px 8px}.supporter-header-actions [hidden]{display:none!important}.supporter-header-actions .separate-admin-link{border-color:transparent;color:#5e708b;font-size:9px}.supporter-header-actions button:focus-visible,.supporter-header-actions a:focus-visible{outline:3px solid #be9300;outline-offset:2px}.account-theme-options{border:1px solid #b7c6da;border-radius:8px;padding:12px;display:flex;gap:10px;margin-bottom:18px}.account-theme-options legend{font:800 10px Arial;letter-spacing:1px}.account-theme-options button{flex:1;padding:10px;border:1px solid #b7c6da;border-radius:6px;background:#eef3f9;color:#163557;font:800 12px Arial}.account-theme-options button[aria-pressed=true]{background:#173e73;color:#fff;outline:2px solid #ba9200}.home-football[hidden]{display:none!important}
.profile-page .person-fixture-panel .spfl-date-group{background:#fff!important;border-color:#d5dfeb!important;margin-bottom:10px}.profile-page .person-fixture-panel .spfl-date-group>h3{background:#fff!important;color:#153858!important;margin:0!important;padding:8px 14px!important}.profile-page .person-fixture-panel .spfl-match-card{background:#fff!important}.profile-page .person-fixture-panel .spfl-match-list{background:#fff!important;padding-bottom:0}
html[data-supporter-theme=dark]{color-scheme:dark;--supporter-bg:#071326;--supporter-surface:#10213b;--supporter-ink:#e7effb;--supporter-muted:#afc2dc;--supporter-border:#34506e}
html[data-supporter-theme=dark] body{background:#071326!important;color:#e7effb!important}html[data-supporter-theme=dark] .site-header,html[data-supporter-theme=dark] .standalone-header{background:#0c1c34!important;border-color:#34506e!important}html[data-supporter-theme=dark] .main-nav>a,html[data-supporter-theme=dark] .more-nav-trigger,html[data-supporter-theme=dark] .standalone-back,html[data-supporter-theme=dark] .brand-name,html[data-supporter-theme=dark] .brand-default,html[data-supporter-theme=dark] .global-search-inline-trigger,html[data-supporter-theme=dark] .supporter-header-actions button,html[data-supporter-theme=dark] .supporter-header-actions a{color:#e7effb!important}html[data-supporter-theme=dark] .main-nav>a.active{color:#f4d44e!important}html[data-supporter-theme=dark] .menu-toggle span{background:#fff!important}
html[data-supporter-theme=dark] :is(.home-football,.home-fixture,.home-match-card,.home-next-match,.home-previous-match,.next-match-card,.previous-result-card,.match-card,.profile-hero,.profile-body,.profile-layout>aside,.profile-section,.profile-tabs,.profile-view,.person-fixture-panel,.profile-fixture-block,.squad-card,.player-card,.stadium-card,.spfl-panel-controls,.spfl-settings,.spfl-matchday-nav,.spfl-date-group,.spfl-match-card,.spfl-workspace,.spfl-table-wrap,.spfl-bracket-section,.spfl-stats-card,.stat-card,.stats-card,.songbook-card,.songbook-guide,.bus-tools,.supporter-bus-card,.predictor-match,.predictor-week-nav,.predictor-empty,.sfp-account-strip,.calendar-competition,.calendar-clubs,.calendar-account-list,.calendar-team-group,.more-nav-menu,.global-search-inline-box,.global-search-suggestions){background:#10213b!important;border-color:#34506e!important;color:#e7effb!important}
html[data-supporter-theme=dark] :is(.page-hero,.profile-hero,.home-football,.spfl-workspace,.spfl-view,.profile-view,.person-fixture-panel,.predictor-match,.calendar-builder,.calendar-intro,.calendar-team-group,.squad-grid,.stats-panel,.standalone-page,.legal-shell) :is(h1,h2,h3,h4,p,small,label,legend,td,th,strong){color:#e7effb}html[data-supporter-theme=dark] :is(.profile-facts,.profile-layout>aside,.profile-tabs,.profile-view,.person-fixture-panel) a{color:#9fcaff!important}html[data-supporter-theme=dark] .profile-layout>aside :is(small,strong){color:#e7effb!important}html[data-supporter-theme=dark] :is(.profile-summary,.profile-subtitle,.predictor-explainer,.predictor-estimate-note,.predictor-data-note,.home-fixture-updated,.home-current-league){color:#afc2dc!important}
html[data-supporter-theme=dark] :is(input,select,textarea){background:#09172c!important;color:#e7effb!important;border-color:#5d7697!important}html[data-supporter-theme=dark] input::placeholder,html[data-supporter-theme=dark] textarea::placeholder{color:#9dafc8!important}html[data-supporter-theme=dark] :is(.spfl-date-group>h3,.national-date-group>h3,.person-fixture-panel .spfl-date-group>h3){background:#162c4b!important;color:#fff!important}html[data-supporter-theme=dark] :is(.predictor-match-teams,.predictor-match-teams strong,.home-fixture,.home-fixture strong,.home-fixture small,.fotmob-match-row .spfl-team strong){color:#e7effb!important}html[data-supporter-theme=dark] :is(.predictor-match-meta,.predictor-lock-panel){background:#142b46ef!important;color:#e7effb!important;border-color:#526c8c!important}html[data-supporter-theme=dark] .predictor-lock-comparison :is(span,small),html[data-supporter-theme=dark] .predictor-chance-labels>span{color:#afc2dc!important}html[data-supporter-theme=dark] .predictor-match .predictor-fence{opacity:.8;background:repeating-linear-gradient(55deg,transparent 0 16px,#a9b6c244 16px 18px,#09172c 18px 19px,transparent 19px 35px),repeating-linear-gradient(-55deg,transparent 0 16px,#a9b6c244 16px 18px,#09172c 18px 19px,transparent 19px 35px)}html[data-supporter-theme=dark] .predictor-week-nav button{background:#193653;color:#fff;border-color:#57728f}html[data-supporter-theme=dark] :is(.sfp-account-dialog,.prediction-week-calendar){background:#10213b!important;color:#e7effb!important;border-color:#526e8d}html[data-supporter-theme=dark] .sfp-account-dialog :is(h2,p,label,legend){color:#e7effb!important}html[data-supporter-theme=dark] .account-theme-options button{background:#1c385a;color:#e7effb}html[data-supporter-theme=dark] .account-theme-options button[aria-pressed=true]{background:#42659c}html[data-supporter-theme=dark] .sfp-account-actions button{color:#b9d8ff!important}html[data-supporter-theme=dark] .prediction-week-calendar .week-calendar-rows button{background:#1b3353;color:#e7effb}html[data-supporter-theme=dark] .prediction-week-calendar .week-calendar-rows button[aria-pressed=true]{background:#41659f;color:#fff}html[data-supporter-theme=dark] .global-search-suggestions :is(button,span,strong,em,small){color:#e7effb!important}html[data-supporter-theme=dark] .global-search-suggestions button{background:#10213b!important}
@media(max-width:1100px){.supporter-header-actions{gap:3px}.supporter-header-actions button,.supporter-header-actions a{padding:8px 5px;font-size:9px}}
@media(max-width:760px){.site-header .supporter-header-actions{order:4;margin-left:auto;gap:5px}.supporter-header-actions button,.supporter-header-actions a{min-height:34px}.site-header .supporter-header-actions .separate-admin-link{font-size:8px}.standalone-header .supporter-header-actions{margin-left:auto}.standalone-header{flex-wrap:wrap;gap:10px}.standalone-header .supporter-header-actions .separate-admin-link{display:none}.site-header .brand{min-width:0}.site-header .global-search-inline{margin-left:0}}

html[data-supporter-theme=dark] .predictor-match.is-live .predictor-match-teams>b,html[data-supporter-theme=dark] .predictor-match.is-live .predictor-match-teams>b small,html[data-supporter-theme=dark] .predictor-match.is-live .predictor-lock-comparison>div:last-child :is(span,strong,b,small){color:#ff8087!important}

/* Tournament surfaces: preserve the existing light theme. */
html[data-supporter-theme=dark] :is(.tournament-section,.tournament-section>.section-heading,.table-matches,.table-match-list){background:#10213b!important;border-color:#34506e!important;color:#e7effb!important}
html[data-supporter-theme=dark] .tournament-section>.section-heading :is(h2,p){color:#e7effb!important}
html[data-supporter-theme=dark] .tournament-section>.section-heading mark{color:#9fcaff!important}
html[data-supporter-theme=dark] .table-match{background:#162c4b!important;color:#e7effb!important}
html[data-supporter-theme=dark] .table-match time{color:#afc2dc!important}
