/* =====================================================================
   PTIS design tokens: the one place the site's colors, type, spacing and layers are defined.
   Loaded first; every other stylesheet uses these (var(--…)) instead of its own copies.
   ===================================================================== */
:root{
  /* surfaces */
  --bg:#0c0b09; --bg2:#14120e; --card:#1a1612; --field:#0a0907; --well:#0a0907;
  --panel:linear-gradient(160deg,#1f1a14,#100e0b);
  --slab:linear-gradient(180deg,#221d17,#17130f);
  --slab-sh:inset 0 1px 0 rgba(255,255,255,.05),0 18px 40px rgba(0,0,0,.55);
  --line:rgba(230,205,160,.16); --line2:rgba(230,205,160,.3);
  /* ink */
  --ink:#f4ead6; --mut:#b9aea0; --dim:#8f877e;
  /* gold */
  --gold:#e6c27a; --amb:#e6c27a; --gold2:#f6e3b0; --brass:#c2a56b; --yel:#f2c94c; --tint:230,194,122;
  --chrome:linear-gradient(180deg,#fff3d6 0%,#e6c27a 40%,#8f6a2c 54%,#f6e3b0 100%);
  --gfill:linear-gradient(180deg,#fff0c8 0%,#ecc983 42%,#c99f55 58%,#f3dc9c 100%);
  /* status */
  --bad:#ff6d5c; --good:#63d196; --po:#63d196; --pi:#f2c94c; --out:#857a70;
  /* card rarities */
  --c:#a8998b; --u:#63d196; --r:#4fa3e8; --e:#b37bff; --l:#ffd27a; --m:#f2c6ff;
  /* type */
  --f-body:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-disp:'Oswald','Barlow Condensed','Arial Narrow',sans-serif;
  --f-cond:'Barlow Condensed','Arial Narrow',sans-serif;
  --f-mono:'JetBrains Mono',ui-monospace,monospace;
  --f-serif:'Bodoni Moda',Georgia,serif;
  --fs-kick:12.5px; --fs-hint:15px; --fs-body:17px; --fs-h3:26px;
  /* shape and layers */
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-pill:999px;
  --z-bar:20; --z-modal:80; --z-dialog:1000; --z-pop:2000; --z-toast:3000;
  /* layout */
  --rail:236px; --tabh:66px; --toph:0px;
  --b-h:48px; --b-hs:38px;
  --gut:32px; --pad:32px; --gap:48px;
  color-scheme:dark;
}
@media (max-width:700px){:root{--gut:20px;--pad:20px;--gap:32px}}
