/* CODE-14: the one design-token vocabulary for every page (light, dark by system setting, and [data-theme]).
   Linked first by index.html, basketball/, more/, app/*, admin/ and pdf/. Pages that need a different palette
   (app.css, pdf/) set their own values on these same names after this file; nothing else may define colours.
   The dark blocks hold variables only: base.css switches color-scheme for the site pages, so app/ and pdf/ keep
   their light form controls (as before). Replace hard-coded hex colours with these tokens over time. */
:root{
  --bg:#f9fafb;
  --panel:#ffffff;
  --ink:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;
  --line2:#d1d5db;
  --navy:#1b2a4a;
  --navy2:#3e5b90;
  --navysoft:#e6e9f0;
  --gold:#c98a00;
  --gold-soft:#fff8e1;
  --red:#E6462E;
  --up:#15803d;
  --down:#dc2626;
  --blue:#1d4ed8;
  --silver:#6b7a90;
  --chip:#f3f4f6;
  --hdr:#ffffff;
  --shadow:rgba(27,42,74,.10);
  --font:Inter,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; }
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]){
  --bg:#0b1225;
  --panel:#101a32;
  --ink:#e6e9f0;
  --muted:#96a5c4;
  --line:#22304f;
  --line2:#2f4066;
  --navy:#c2cade;
  --navy2:#96a5c4;
  --navysoft:#162240;
  --gold:#f2b81c;
  --gold-soft:#2b2410;
  --red:#ff6a52;
  --up:#4ade80;
  --down:#f87171;
  --blue:#7aa7ff;
  --silver:#a9b4c6;
  --chip:#162240;
  --hdr:#101a32;
  --shadow:rgba(0,0,0,.35);}}
:root[data-theme="dark"]{
  --bg:#0b1225;
  --panel:#101a32;
  --ink:#e6e9f0;
  --muted:#96a5c4;
  --line:#22304f;
  --line2:#2f4066;
  --navy:#c2cade;
  --navy2:#96a5c4;
  --navysoft:#162240;
  --gold:#f2b81c;
  --gold-soft:#2b2410;
  --red:#ff6a52;
  --up:#4ade80;
  --down:#f87171;
  --blue:#7aa7ff;
  --silver:#a9b4c6;
  --chip:#162240;
  --hdr:#101a32;
  --shadow:rgba(0,0,0,.35);}

/* Names app/app.css (and the admin page) used before the shared vocabulary: kept as aliases. */
:root{
  --card:var(--panel); --mute:var(--muted);
}
