/* Navy depth study, November 2026. Dark mode only, within the 90 Index identity. */
@media (forced-colors:none){
 html[data-theme=dark],html[data-theme=dark] body[data-palette],body[data-palette].dark{
  --bg:#0B1626;--panel:#102036;--ink:#EDF4FF;--muted:#A6B8D0;
  --line:#263C58;--control-edge:#567493;--soft:#172F4B;--column:#17385B;
  --sidebar:#081321;--selected:#193D62;--on-selected:#EDF4FF;
  --surface:var(--panel);--surface-muted:#142A44;--surface-control:#11253D;--surface-hover:#1A3553;
  --table-heading:#0D1B2D;--table-row:#102036;--table-row-hover:#162E49;
  --table-selected:#17385B;--table-rule:#22364F;--table-heading-ink:#BFD1E8;
  --table-accent:#C5DDFF;--table-track:#2B4665;--table-bar:#94C3FF;
  --shadow:0 12px 36px #02071133;
 }
 html[data-theme=dark]{background-color:#0B1626!important}
 html[data-theme=dark] body[data-palette]{background:var(--bg);color:var(--ink)}
 html[data-theme=dark] body[data-palette] #site-navigation{background:var(--sidebar);border-color:#1D3047}
 html[data-theme=dark] body[data-palette] #primary-nav button[data-page].active{background:#163552;color:#EDF4FF;box-shadow:inset 2px 0 var(--section-dark,#94C3FF)}
 html[data-theme=dark] body[data-palette] #primary-nav button[data-page]:hover:not(.active){background:#112940}
 html[data-theme=dark] body[data-palette] #site-navigation>.explore-nav-link{background:#0E2239;border-color:#2A4463;color:#D8E7FA}
 html[data-theme=dark] body[data-palette] #primary-nav .nav-subpages{border-color:#22364F}
 html[data-theme=dark] body[data-palette] #primary-nav .nav-subpages a{color:#A6B8D0}
 html[data-theme=dark] body[data-palette] #primary-nav .nav-subpages a[aria-current=page]{background:#142F4B;color:#EDF4FF}
 html[data-theme=dark] body[data-palette] .journey-navigation :is(button,a){border-color:#2B425E;background:transparent}
 html[data-theme=dark] body[data-palette] .journey-navigation :is(button,a):hover:not(:disabled){background:#162D47}
 html[data-theme=dark] body[data-palette] #main :is(.table-tools,.global-table-toolbar){background:linear-gradient(115deg,#142B45,var(--panel) 72%)}
 html[data-theme=dark] body[data-palette] #main :is(.table-options,#performance-toolbar){background:#0E2035}
 html[data-theme=dark] body[data-palette] #main .table-shell{border-color:var(--table-rule);box-shadow:0 10px 32px #02071116}
 html[data-theme=dark] body[data-palette] #main :is(#strength-table,#global-table,.snapshot-table) tbody td{color:#BFD1E8;font-weight:500}
 html[data-theme=dark] body[data-palette] #main :is(#strength-table,#global-table,.snapshot-table) :is(.club,.club-name){color:var(--ink);font-weight:600}
 html[data-theme=dark] body[data-palette] #main :is(#strength-table,#global-table,.snapshot-table) td.main-metric{background:#17385B;color:#EDF4FF;font-weight:650}
 html[data-theme=dark] body[data-palette] #main :is(#strength-table,#global-table,.snapshot-table) th.main-metric{background:#1C4169;color:#EDF4FF;box-shadow:inset 0 -2px #94C3FF}
 html[data-theme=dark] body[data-palette] :is(select,.search){background-color:var(--surface-control);border-color:var(--control-edge)}
 html[data-theme=dark] body[data-palette] :is(#profile,.app-guide-dialog){background:linear-gradient(155deg,#152D48 0,#102036 250px);border-color:#2B4563;box-shadow:0 28px 90px #02060EB3}
 html[data-theme=dark] body[data-palette] #profile #close{background:#152D48;color:#C5DDFF}
 html[data-theme=dark] body[data-palette] dialog::backdrop{background:#020811B8;backdrop-filter:blur(5px)}
 html[data-theme=dark] body[data-palette] #profile :is(.profile-facts>div,.profile-scores>div){background:#112A43;border-color:#2B4563}
 html[data-theme=dark] body[data-palette] #profile .club-card-switch button[aria-pressed=true]{background:#1A3A5C;border-color:#94C3FF}
 html[data-theme=dark] body[data-palette] :is(.collection-menu-items,.compare-fixture-options,.performance-scale-hint p){background:#142A44;border-color:#36516F;box-shadow:0 12px 30px #02060E80}
 html[data-theme=dark] body[data-palette] #main .fixture-card{background:var(--panel);border-color:var(--line)}
 html[data-theme=dark] body[data-palette] #main .fixture-card details{background:#0E2035}
 html[data-theme=dark] body[data-palette] :is(#explore,#leagues,#competitions) :is(.explore-heading,.explore-branch,.competition-card){background:linear-gradient(135deg,#142B46,#0E1E33);border-color:#2B4461}
 html[data-theme=dark] body[data-palette] :is(#explore,#leagues,#competitions) .explore-action{background:#10243C;border-color:#2C496A}
 html[data-theme=dark] body[data-palette] :is(#explore,#leagues,#competitions) .explore-action:hover{background:#183755;border-color:#94C3FF}
 html[data-theme=dark] body[data-palette] .app-bottom-nav{background:#0B192BDD;border-color:#29415E;box-shadow:0 -8px 24px #02071133;backdrop-filter:blur(16px)}
 html[data-theme=dark] body[data-palette] .app-bottom-nav [aria-current=page]{background:#193D62}
 html[data-theme=dark] body[data-palette] #collection-dialog{background:#0D1B2D;border-color:#2B4563}
 html[data-theme=dark] body[data-palette] #collection-dialog .collection-card-head{background:transparent}
}
