/* Design tokens: every page and every game uses these names, never raw colors.
   Owned by the SHELL lane. Current values (2026-11-20, Zach's word): slate-navy surfaces, white/grey-blue text,
   bright green main action. To be changed at the rebrand before anything is uploaded (docs/REBRAND.md).
   The earlier own palette is kept in the docs folder.
   Keep the names; values may change. */
:root {
  --bg: #172b39;            /* page */
  --surface: #213545;       /* panels, cards */
  --surface-2: #0f212e;     /* inputs, raised parts */
  --surface-3: #2f4553;     /* hover, pressed, tiles; raised controls */
  --surface-4: #557086;     /* hover on raised controls, box border on hover/focus */
  --surface-hover: var(--surface-4);   /* same colour, the name some games use */
  --line: #2f4553;          /* hairlines and borders */
  --text: #ffffff;
  --muted: #b1bad3;
  --accent: #00e701;        /* main action: Bet, Sign up */
  --accent-ink: #05080a;    /* text on --accent */
  --accent-soft: rgba(0, 231, 1, 0.14);
  --win: #00e701;
  --lose: #f2535c;          /* 4.8:1 on --stage (was #ed4163, 4.3:1) */
  --info: #1475e1;
  --stage: #0e202d;         /* the game stage */
  --focus: #1475e1;         /* keyboard focus ring */
  --shadow: 0 0 0 rgba(0, 0, 0, 0), 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --radius: 8px;
  --radius-sm: 4px;
  --gap: 12px;
  --gc-icon-size: 20px;
  --font: "Figtree", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "Figtree", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* used with tabular figures */
  /* 2026-11-20 desk pass (Zach: "this entire page exactly like Stake"): measured values */
  --edge: #3e586c;          /* raised buttons, 2px box borders */
  --label: #a1bfd6;         /* field labels, icons */
  --text-2: #ecf3f9;        /* body text, input text */
  --well: rgba(0, 0, 0, .3);   /* input wells, pill tracks */
  --rail: #0e202d;          /* left rail */
  --lift: 0 4px 6px -1px rgba(27, 23, 23, .2), 0 2px 4px -1px rgba(0, 0, 0, .12);
  --lift-sm: 0 1px 3px 0 rgba(0, 0, 0, .2), 0 1px 2px 0 rgba(0, 0, 0, .12);
}
/* Figtree (SIL Open Font License, Google Fonts), self-hosted */
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
body { -webkit-font-smoothing: antialiased; line-height: 1.45; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Game card tints (lobby art). One per card, in lobby order; reused if there are more games. */
:root {
  --tint-1: #2a4b63;  --tint-2: #1d5a4a;  --tint-3: #5a3a6e;  --tint-4: #6b4a1f;
  --tint-5: #24486e;  --tint-6: #5c2a3c;  --tint-7: #2f5d3a;
}
/* Heat scale for slot rows (Plinko): blend from --heat-cool (middle) to --heat-hot (edges). Values are ours. */
:root { --heat-hot: #f0503c; --heat-cool: #f2b33d; }
/* Plinko ball: its own warm colour (ours), not the action colour. */
:root { --ball: #ff6b2b; }
