/* Tilt design tokens: "Backglass", contemporary cut. Piano-black surfaces; neon only as thin accent lines. A pinball machine's TILT lamp is the brand idea: the T is the lamp,
   always lit in amber, and amber is used for nothing else. Everything around it is a dark arcade
   backglass lit by pink and cyan tubes. Each game has its own neon (see data.js and .game-card). */
:root{
  color-scheme: dark;
  --stage: #060509;
  --bg: #0a0910;
  --bg-glow: #1b1330;
  --panel: #121019;
  --panel-raised: #18151f;
  --panel-hover: #211c2c;
  --line: #262233;
  --line-strong: #3a3450;
  --hairline: #6a5a94;
  --text: #f6f1ff;
  --muted: #c4b8e0;
  --subtle: #a99cc9;
  --band: #110b20;
  /* Piano black: lacquer with a soft top highlight. Panels use it so the page matches the glossy 3D. */
  --piano: linear-gradient(180deg, #16131e 0%, #0b0a10 46%, #08070c 100%);
  --piano-edge: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(0,0,0,.6), 0 24px 48px rgba(0,0,0,.45);

  /* Tubes */
  --pink: #ff3d9a;
  --pink-bright: #ff8cc6;
  --cyan: #3df0ff;
  --lime: #b8ff3d;
  --violet: #b18cff;
  --coral: #ff6b5a;
  /* Readable neon. Saturated tubes are for lines, borders, fills and glows. Text in a neon colour uses
     its tint below (each ≥ 9:1 on every background), like the pale core of a lit tube. */
  --pink-text: #ff9ccf;
  --cyan-text: #a8f8ff;
  --lime-text: #dcff9e;
  --violet-text: #d6c6ff;
  --coral-text: #ffb4a8;
  /* the four newer tube colours (game art: Overhang teal slabs, Pinwheel gold ring, Wick embers, Hold'em card red) */
  --teal: #22f2c2;      --teal-text: #8ffbe1;
  --gold: #ffc94d;      --gold-text: #ffe3a3;
  --ember: #ff8a3d;     --ember-text: #ffc9a3;
  --card-red: #ff5a5f;  --card-red-text: #ffc2c4;
  /* each game's own neon, as literal values: site themes remap --pink/--cyan, but a game keeps its tube colour. --game-<id> (tube), -text (lettering on dark), -rgb (for alpha glows). Add a game here first. */
  --game-crash: #ff3d9a;        --game-crash-text: #ff9ccf;        --game-crash-rgb: 255,61,154;
  --game-dice: #3df0ff;         --game-dice-text: #a8f8ff;         --game-dice-rgb: 61,240,255;
  --game-flip: #b8ff3d;         --game-flip-text: #dcff9e;         --game-flip-rgb: 184,255,61;
  --game-blackout: #b18cff;   --game-blackout-text: #d6c6ff;   --game-blackout-rgb: 177,140,255;
  --game-overhang: #22f2c2;     --game-overhang-text: #8ffbe1;     --game-overhang-rgb: 34,242,194;
  --game-pinwheel: #ffc94d;     --game-pinwheel-text: #ffe3a3;     --game-pinwheel-rgb: 255,201,77;
  --game-wick: #ff8a3d;        --game-wick-text: #ffc9a3;        --game-wick-rgb: 255,138,61;
  --game-casino-holdem: #ff5a5f; --game-casino-holdem-text: #ffc2c4; --game-casino-holdem-rgb: 255,90,95;
  --game-holdem: #ff6b5a;      --game-holdem-text: #ffb4a8;      --game-holdem-rgb: 255,107,90;
  --on-neon: #12051f;           /* text on any lit fill */
  --lamp: #ffd04f;              /* the T, and only the T */
  --lamp-core: #fff2c4;
  --green: #4ade80;
  --red: #ff5470;

  /* Text glows: a tight 1px edge plus one soft halo, so letters stay sharp. Only for type ≥ 28px. */
  --glow-pink: 0 0 1px rgba(255,61,154,.9), 0 0 14px rgba(255,61,154,.45);
  --glow-cyan: 0 0 1px rgba(61,240,255,.9), 0 0 14px rgba(61,240,255,.4);
  --glow-lamp: 0 0 1px rgba(255,236,170,.9), 0 0 8px rgba(255,194,61,.75), 0 0 20px rgba(255,150,40,.4);
  --glow-lamp-small: 0 0 6px rgba(255,194,61,.55);
  --tube-pink: 0 0 0 1px rgba(255,61,154,.75), 0 0 14px rgba(255,61,154,.28);

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius-sm: 10px; --radius-md: 14px; --radius-lg: 20px; --radius-xl: 32px; --radius-pill: 999px;
  --shadow-card: inset 0 1px 0 rgba(255,255,255,.05), 0 24px 60px rgba(0,0,0,.5);

  --dur-tap: 120ms;
  --dur-ui: 200ms;
  --dur-panel: 320ms;
  --dur-scene: 600ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --z-nav: 50; --z-tabbar: 60; --z-skip: 100;

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", "SF Mono", ui-monospace, Menlo, monospace;

  --container: 1200px;
  --tabbar-h: 64px;
}
