/* Wolf Grounds brand kit: wg-tokens.css
   THE SAME FILE ON EVERY WOLF GROUNDS SITE. The master is Wolf Grounds API 1.0/brand-kit/css/;
   edit it there and run `python brand-kit/sync.py`. Never edit a site's copy: brand-kit/check.py
   fails on any copy that differs. The rules are in brand-kit/BRAND.md.

   Load order on every page: wg-tokens.css, then theme-<game>.css, then wg-core.css, then the
   site's own CSS. A theme sets only the "per game" block below; everything else is the brand. */
:root {
  color-scheme: dark;

  /* ── Canvas and glass ─────────────────────────────────────────────────────── */
  --bg: #0b0f14; --bg2: #0d1219; --bg3: #0f1520;
  --strip: #06080b;                                   /* the game tabs strip */
  --glass: rgba(255,255,255,.04); --glass-hover: rgba(255,255,255,.07);
  --panel: rgba(255,255,255,.025);                    /* a section inside a frame */
  --border: rgba(255,255,255,.07);
  --inset: #0a1120; --inset-border: #1b2840;          /* stat pills, inputs, code */

  /* ── Text ─────────────────────────────────────────────────────────────────── */
  --fg: #e8eaf0; --fg2: #b0b8c8; --muted: #7a8499; --fg-soft: #c9d1dc;

  /* ── Meaning colours: the same on every site, and a theme never changes them ─ */
  --green: #34d399; --red: #e05260; --gold: #f2a900; --purple: #a78bfa;
  --green-ink: #04140d; --gold-ink: #1a1300;         /* dark text on a green / gold fill */
  --gold-soft: #f0c040; --red-soft: #fca5a5; --red-text: #f08a95;

  /* ── Platforms: only on the control that performs that platform's action ─── */
  --discord: #5865f2; --twitch: #9146ff;

  /* ── Shape, measure, type ─────────────────────────────────────────────────── */
  --radius: 14px; --radius-sm: 8px; --radius-xs: 5px; --radius-pill: 999px;
  --measure: 1120px; --gutter: 28px; --gutter-phone: 18px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* ── Per game: every theme-<game>.css sets all of these (PUBG's values here) ─ */
  --brand: #32a7eb;            /* links, active marks, key values, glows: readable on --bg */
  --brand-rgb: 50,167,235;     /* --brand as r,g,b, for every tint below */
  --brand-fill: #1d7ab8;       /* primary button fill */
  --on-brand: #ffffff;         /* text on --brand-fill */
  --chip-ink: #04121c;         /* text on a solid --brand chip (the game name in the logo) */
  --brand-soft: #7cc8f2;       /* light brand text */
  --accent: #1CE5FF;           /* the hero's accent word */
  --wg-pattern: none;          /* the game's faint background pattern (hero, picture slot) */
  --wg-pattern-size: auto;

  /* ── Derived from the theme: never set these in a theme ───────────────────── */
  --brand-glow: rgba(var(--brand-rgb),.2);
  --brand-glow2: rgba(var(--brand-rgb),.08);
  --brand-tint: rgba(var(--brand-rgb),.07);
  --border-brand: rgba(var(--brand-rgb),.25);
}
