/* Bulls Exchange — "Trading Floor": warm ivory paper, plum-black ink, champagne-gold brand, ticker green/red
   for outcomes. Back/lay pastels stay at full strength. Dark theme is the plum-black night floor. */
:root{
  --brand:#C9A24F;--brand-hot:#E2C587;--brand-ink:#17131D;--wordmark:#9C7A2F;
  --bg:#F6F0E6;--sunken:#EDE6DA;--surface:#FFFFFF;--surface-2:#FBF7F0;--surface-3:#F3EDE3;
  --text:#17131D;--dim:#4A3F57;--faint:#7A6E86;--border:#D9CDB8;--line:#EAE2D3;
  --back:#A6D8FF;--back-ink:#14315C;--lay:#FAC0CE;--lay-ink:#7A1533;--positive:#1B7A46;--live:#C8102E;
  --nav-pill:#F3E5C6;--spotlight:#F1E4CC;--score-tint:#F3E9D6;--control:#EDE6DA;--elevated:#FFFFFF;--board:#1E1626;--board-alt:#2B1F35;--ticker-bg:#1E1626;--ticker-ink:#EFE3C8;--ticker-accent:#E2C587;--ticker-rule:#C9A24F;
  --focus:#9C7A2F
}
/* :root[data-theme="dark"], not [data-theme="dark"]: the bare attribute selector (0,1,0) lost to the base
   refinements.css :root[data-theme="dark"] (0,2,0), so this palette never applied (My bets review, 2026-09-17). */
:root[data-theme="dark"]{
  --brand:#D3AD68;--brand-hot:#E2C587;--brand-ink:#17131D;--wordmark:#E2C587;
  --bg:#0F0D13;--sunken:#14111A;--surface:#17131D;--surface-2:#1F1A26;--surface-3:#26202E;--elevated:#241E2C;--control:#2C2536;
  --text:#F4F2F6;--dim:#D9D3E0;--faint:#ADA5B8;--border:#4A3F57;--line:#2E2738;
  --back:#1E4B78;--back-ink:#D5EEFF;--lay:#6B3F52;--lay-ink:#FFE0E9;--positive:#7FD9A2;--live:#FF7A8A;
  --nav-pill-dark:#2C2536;--nav-ink-dark:#E2C587;--spotlight:#1F1A26;--score-tint:#1F1A26;--board:#17121E;--board-alt:#1F1828;
  --ticker-bg:#17121E;--ticker-ink:#EFE3C8;--ticker-accent:#E2C587;--ticker-rule:#C9A24F;
  --focus:#D3AD68;
  --chrome-dark:#17121E;
  --board-title-bg:#1F1828;--board-title-border:#2E2738;--board-title-ink:#F4F2F6;--board-title-sub:#D9D3E0;--board-title-link:#E2C587;--board-title-feed:#7FD9A2;
  --event-top-bg:#1F1828;
  --odds-empty-bg:#26202E;--odds-empty-ink:#ADA5B8;
  --draw-mark-bg:#2C2536;--draw-mark-ink:#D9D3E0;--draw-mark-border:#4A3F57;
  --tile-badge-bg:#26202E;
  --badge-muted-bg:#26202E;--badge-muted-border:#4A3F57;
  --skeleton-base:#1F1A26;--skeleton-sheen:#2C2536;
  --scrollbar-thumb:#4A3F57;--scrollbar-track:#14111A;
  --state-updating-bg:#2C2536;--state-updating-ink:#D9D3E0;
}

/* The bull-head shield is plum; lift it on the dark theme so it does not sink into the ground. */
[data-theme="dark"] .masthead .brand img{filter:brightness(1.45)}

/* AUDIT (UX-07): --faint #7A6E86 is 3.9:1 on the --sunken chip/tab ground #EDE6DA, so the sport-chip counts, chip labels
   and the inactive product tab take --text-muted-strong: the plum --dim by day (7.9:1), the night --dim by night. */
:root{--text-muted-strong:#4A3F57}:root[data-theme="dark"]{--text-muted-strong:#D9D3E0}
