/* ============================================================
   Owl's Vault gaming pages — DESIGN TOKENS (single source of truth)
   ------------------------------------------------------------
   - Load FIRST on every gaming page, before gaming.css and the
     page's inline <style> (one shared N, v=4 since 2026-10-18):
       <link rel="stylesheet" href="assets/tokens.css?v=N">
       <link rel="stylesheet" href="assets/gaming.css?v=N">
   - No build step: bump the ?v= number on BOTH links on every
     page whenever either file changes (see BUILD_MAP.md).
   - COLORBLIND RULE (hard constraint): colors here are Okabe-Ito
     / dark-tuned safe, but hue must NEVER be the only channel —
     every colored status pairs with a text label or icon.
   - JS MIRROR: PLATFORM_COLORS in trophies.html duplicates the
     platform values below — change both together.
   ============================================================ */
:root {
  /* surfaces */
  --bg:#11141a;        /* page background */
  --panel:#1a1f29;     /* cards, inputs */
  --panel-2:#161d2b;   /* hover rows, nested panels */
  --line:#2c333f;      /* borders, bar tracks, icon placeholders */
  --well:#0d1016;      /* deep image-placeholder wells */
  --ink:#e6e8ec;       /* primary text */
  --muted:#9aa3b2;     /* secondary text */

  /* status (Okabe-Ito) */
  --accent:#56B4E9;    /* sky blue — links, focus, default fills */
  --warn:#D55E00;      /* vermillion — risk / unobtainable */
  --ok:#009E73;        /* bluish green — success */

  /* trophy tiers — CANONICAL set (dark-tuned Okabe-Ito) */
  --plat:#56B4E9;
  --gold:#E6A817;
  --silver:#aab0bb;
  --bronze:#b06f3c;

  /* platform brand */
  --psn:#0072B2;
  --steam:#66c0f4;
  --steam-full:#8fd3ff;  /* 100%-complete bar fill (brightened brand) */
  --xbox:#009E73;      /* Okabe-Ito green, NOT Xbox green (red/green safety) */
  --xbox-full:#2fc79b;   /* 100%-complete bar fill (brightened brand) */
  --ra:#F0E442;        /* Okabe-Ito yellow — distinct from --gold on purpose */
  --ra-full:#f6ef8e;     /* 100%-complete bar fill (brightened brand) */

  /* PSN hardware pills */
  --ps3:#56B4E9;
  --ps4:#0072B2;
  --ps5:#5a6b9e;
  --psvita:#9E6FB8;

  /* gaming platform pages (account, u, g, catalog, admin-accounts, terms) —
     added 2026-09-27, add-only. Chip/banner backgrounds always pair with an
     icon + worded label (colorblind rule). */
  --ok-bg:#12302a;       /* success chip / banner background */
  --warn-bg:#3a2412;     /* risk / error chip / banner background */
  --info-bg:#132838;     /* informational chip / banner background */
  --neutral-bg:#252b36;  /* neutral chip background */
  --on-warn:#ffffff;     /* text on a filled --warn button */
  --scrim:rgba(0,0,0,.55);
}
