/* Basketball theme: orange-dominant, black and orange in dark mode.
   Tokens are defined three times (light, system dark, forced dark). Keep the three blocks in sync. */
:root{
  --bg:#F5F2EF; --surface:#FFFFFF; --surface2:#ECE7E2; --ink:#17120F; --muted:#6B625B; --line:#DDD5CD;
  --accent:#CF4D0C; --accent-ink:#B8430A; --on-accent:#FFFFFF; --accent-soft:#FDE7D8;
  --hl:#E0601B; --hl-soft:#FFF0E4; --focus:#17120F;
  --done:#1B8A50; --done-soft:#DDF3E6; --warn:#8A5A00; --warn-soft:#FFF1D6; --out:#B3261E;
  --hdr-bg:#CF4D0C; --hdr-ink:#FFFFFF; --hdr-sub:#FFE6D6; --logo:#FFFFFF; --tab-on-bg:#CF4D0C; --tab-on-ink:#FFFFFF;
  --strip:repeating-linear-gradient(90deg,#E4BF8C 0 38px,#D3A96F 38px 40px); --strip-h:6px;
  --shadow:0 1px 2px rgba(23,18,15,.08),0 4px 14px rgba(23,18,15,.06);
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#0C0B0A; --surface:#181513; --surface2:#241F1B; --ink:#F4EEE8; --muted:#A89C92; --line:#332B25;
  --accent:#FF7A1A; --accent-ink:#FF8F3C; --on-accent:#140B02; --accent-soft:#3A1E0B;
  --hl:#FF7A1A; --hl-soft:#2A1A0E; --focus:#FFB27A;
  --done:#4CD58D; --done-soft:#143A29; --warn:#F2C26B; --warn-soft:#3B2D10; --out:#FF7A70;
  --hdr-bg:#0C0B0A; --hdr-ink:#FF7A1A; --hdr-sub:#A89C92; --logo:#FF7A1A; --tab-on-bg:#FF7A1A; --tab-on-ink:#140B02;
  --strip:repeating-linear-gradient(90deg,#B98A52 0 38px,#8E6637 38px 40px);
  --shadow:0 1px 2px rgba(0,0,0,.5),0 4px 14px rgba(0,0,0,.3); color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#0C0B0A; --surface:#181513; --surface2:#241F1B; --ink:#F4EEE8; --muted:#A89C92; --line:#332B25;
  --accent:#FF7A1A; --accent-ink:#FF8F3C; --on-accent:#140B02; --accent-soft:#3A1E0B;
  --hl:#FF7A1A; --hl-soft:#2A1A0E; --focus:#FFB27A;
  --done:#4CD58D; --done-soft:#143A29; --warn:#F2C26B; --warn-soft:#3B2D10; --out:#FF7A70;
  --hdr-bg:#0C0B0A; --hdr-ink:#FF7A1A; --hdr-sub:#A89C92; --logo:#FF7A1A; --tab-on-bg:#FF7A1A; --tab-on-ink:#140B02;
  --strip:repeating-linear-gradient(90deg,#B98A52 0 38px,#8E6637 38px 40px);
  --shadow:0 1px 2px rgba(0,0,0,.5),0 4px 14px rgba(0,0,0,.3); color-scheme:dark}
