/* ---------------------------------------------------------------------------
 * tokens.css — PokerLeaks, the Highlighter system, roll 611 on dark paper: violet marker, square corners.
 * Product truth: PRODUCT.md. System: DESIGN.md. Screens: the Claude Design
 * canvas "PokerLeaks redesign" (Highlighter).
 *
 * Your hand history in black on white, your leaks marked in fluorescent
 * highlighter. Colour lives BEHIND black text, as a marker stroke, never as
 * the colour of small text on white (fluorescent text fails contrast). Every
 * colour has ONE job:
 *
 *   marker (--amber)  the highlighter: the one action's shadow, the current
 *                     item, the word a head leads with, the figure that matters
 *   green (--mint)    what the player plays right
 *   heat              a leak: pink (critical), orange (attention), yellow (minor)
 *   slate             a leak still "to check" (fewer than 30 hands): dashed, never filled
 *
 * Where a colour must be text (a severity word on white), use its -ink pair.
 * The token names the views already use are kept; their values changed.
 * ------------------------------------------------------------------------- */

:root,
[data-theme="neon"] {
  color-scheme: dark;

  /* --- Paper ------------------------------------------------------------------ */
  --paper: #0D0E13;
  --paper-2: #171922;
  --paper-3: #13151C;

  /* --- Rules ---------------------------------------------------------------------
   * --rule          hairline between two pieces of content
   * --rule-strong   the 2px black edge of anything you click, type into or frame */
  --rule: #2A2D3D;
  --rule-strong: #E9ECF0;
  --pl-rule-hair: #1C1F2A;

  /* --- Ink ---------------------------------------------------------------------- */
  --ink: #E9ECF0;
  --ink-2: #D1D5DB;
  --muted: #979EA9;
  --pl-neutral: #6E7584;

  /* --- The marker (the accent) ---------------------------------------------------- */
  --amber: #B271FF;
  --amber-hi: #C99BFF;
  --amber-ink: #0D0E13;
  --pl-accent-soft: #2A1F45;

  /* --- What is right ----------------------------------------------------------------- */
  --mint: #1EF88C;
  --mint-deep: #1EF88C;

  /* --- Leaks, by heat; slate when the sample is thin --------------------------------- */
  --sev-3: #FF4188;
  --sev-2: #FF9022;
  --sev-1: #FFDD2E;
  --sev-none: #979EA9;
  /* The same jobs as text on white (≥ 4.5 : 1). */
  --sev-3-ink: #FF4188;
  --sev-2-ink: #FF9022;
  --sev-1-ink: #FFDD2E;
  --sev-none-ink: #979EA9;

  /* Focus: a light ring on dark paper (a violet one would read as the marker). */
  --focus: #E9ECF0;

  --destructive: #FF4D6A;
  --pl-destructive-surface: #3A1420;
  --pl-destructive-ink: #FF8FA3;

  /* --- Derived surfaces ------------------------------------------------------------------ */
  --pl-card: #0D0E13;
  --pl-invert: #E9ECF0;
  --pl-on-invert: #0D0E13;
  --pl-on-invert-2: #2A2D3D;
  --pl-hover: #171922;
  --pl-tint-amber: #2A1F45;
  --pl-tint-sev-3: #3A1426;
  /* The dark band (data sections on landing pages). */
  --pl-band: #171922;
  --pl-band-2: #1C1F2A;
  --pl-band-rule: #2A2D3D;
  --pl-band-ink: #D1D5DB;
  /* Strong text on the band (heads, names, figures). */
  --pl-band-on: #E9ECF0;

  /* --- No glow anywhere: colour is a marker stroke, never light ---------------------------- */
  --pl-glow-amber: transparent;
  --pl-glow-mint: transparent;
  --pl-glow-pink: transparent;
  --pl-slot-glow: transparent;

  /* --- Hard, printed depth: offset shadows in ink, never blurred ------------------------------ */
  --pl-metal-hi: #0D0E13;
  --pl-metal-lo: #0D0E13;
  --pl-edge-light: 0 0 #0000;
  --pl-shadow-part: 3px 3px 0 var(--amber);
  --pl-shadow-panel: 8px 8px 0 var(--amber);
  --pl-shadow-bed: inset 0 0 0 1px #2A2D3D;
  --pl-shadow-marker: 4px 4px 0 var(--amber);

  /* Retired Ribbon surfaces, neutralised until every rule that names them is gone. */
  --pl-grain: none;
  --pl-sky: #0D0E13;
  --pl-land: #0D0E13;
  --pl-horizon: transparent;
  --pl-light: #E9ECF0;
  --pl-light-cool: #E9ECF0;
  --pl-bloom-warm: transparent;
  --pl-bloom-cool: transparent;

  /* --- Type ----------------------------------------------------------------------------------
   * Archivo for everything: 900 tight for heads and figures, 400–800 to read
   * and label. JetBrains Mono only for hand-history text and file names. */
  --pl-font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --pl-font-ui: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --pl-font-data: var(--pl-font-ui);
  --pl-font-code: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pl-weight-display: 900;
  --pl-weight-body: 400;
  --pl-tracking-display: -0.04em;
  --pl-tracking-tight: -0.02em;
  --pl-tracking-label: 0;
  --pl-tracking-micro: 0;
  --pl-case-display: none;
  --pl-lh-display: 1;

  --pl-text-display: clamp(2.25rem, 3vw + 1rem, 4rem);
  --pl-text-display-s: clamp(1.875rem, 1.8vw + 1rem, 2.75rem);

  /* --- Space — 4 pt scale --------------------------------------------------------------------- */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 72px;
  --space-4xl: 112px;

  /* --- Geometry ----------------------------------------------------------------------------------- */
  --pl-rule-width: 1px;
  --pl-rule-strong-width: 2px;
  --pl-radius-card: 0;
  --pl-radius-control: 0;
  --pl-radius-part: 0;
  --pl-radius-pill: 999px;
  --pl-container: 72rem;

  /* --- Layers ------------------------------------------------------------------------------------- */
  --z-raised: 1;
  --z-nav: 20;
  --z-dropdown: 30;
  --z-overlay: 40;
  --z-modal: 50;
  --z-toast: 60;

  /* --- Motion: quick and mechanical, like a pen stroke -------------------------------------------- */
  --pl-dur-fast: 120ms;
  --pl-dur-base: 200ms;
  --pl-dur-long: 520ms;
  --pl-dur-pulse: 4s;
  --pl-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pl-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* --- Veils, scrims, shadows --------------------------------------------------------------------- */
  --pl-veil-1: rgb(233 236 240 / 0.03);
  --pl-veil-2: rgb(233 236 240 / 0.05);
  --pl-veil-3: rgb(233 236 240 / 0.08);
  --pl-veil-4: rgb(233 236 240 / 0.12);
  --pl-shadow-1: rgb(0 0 0 / 0.35);
  --pl-shadow-2: rgb(0 0 0 / 0.5);
  --pl-shadow-3: rgb(0 0 0 / 0.65);
  --pl-scrim: rgb(5 6 9 / 0.75);

  /* --- Card suits — a four-colour deck, filled, white rank and suit ---------------------------------- */
  --pl-suit-face: #FFFFFF;
  --pl-suit-spade: #474D66;
  --pl-suit-heart: #D9382E;
  --pl-suit-diamond: #2E66F5;
  --pl-suit-club: #23955C;

  /* --- The replayer table: a paper table with a black rail ------------------------------------------- */
  --pl-table-1: #171922;
  --pl-table-2: #13151C;
  --pl-table-rail: #2A2D3D;

  /* --- Replayer actions: a table's own vocabulary, never a leak's heat -------------------------------- */
  --pl-act-call: #5B8CFF;
  --pl-act-raise: #C49BFF;
  --pl-act-allin: #FF5C5C;

  /* --- Data series — admin charts only (≥ 3 : 1 on white) ---------------------------------------------- */
  --pl-series-1: #5B8CFF;
  --pl-series-2: #A78BFA;
  --pl-series-3: #22C7C7;
  --pl-series-4: #F472B6;
  --pl-series-5: #6BCB3B;
  --pl-series-6: #979EA9;

  /* --- Chips ------------------------------------------------------------------------------------------- */
  --pl-chip-1: var(--amber);
  --pl-chip-2: #E9ECF0;
}
