:root {
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(3rem, 6vw + 1rem, 6.5rem);
  --text-section: clamp(2.1rem, 2.6vw + 1rem, 3.6rem); --text-title: clamp(1.3rem, 0.75vw + 0.9rem, 1.7rem); --text-lead: clamp(1.15rem, 0.35vw + 1rem, 1.4rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* Goo Comic, from game/src/ui/style.css and .claude/skills/kablorp-ui/THEME.md */
  --color-paper: #1f0f3d;      /* --ink: the page */
  --color-paper-2: #2b1567;    /* --sheet */
  --color-paper-3: #3a1f86;    /* --sheet-2 */
  --color-sheet-3: #4a2aa3;
  --color-ink: #fdfbff;        /* --on-dark: text on the page */
  --color-ink-2: #d9ccff;      /* --on-dark-2 */
  --color-muted: #ac9be0;      /* --on-dark-3 */
  --color-rule: #4a2aa3;
  --color-sticker: #fdfbff;    /* things you press, cards */
  --color-sticker-2: #efe8ff;
  --color-outline: #1f0f3d;    /* ink outline and hard shadow on every sticker */
  --color-sticker-ink: #1f0f3d;
  --color-sticker-ink-3: #4b3a78;
  --color-accent: #ff6a2b;     /* --blast: the one main action */
  --color-accent-ink: #1f0f3d;
  --color-goo: #ffe03d;        /* chosen + focus */
  --color-blorp: #3ee0ff;      /* links, info */
  --color-ka: #ff8a3d;         /* the logo's KA */
  --color-good: #0b7a39; --color-bad: #c2183a;
  --color-good-fill: #e3f8ea; --color-bad-fill: #ffe1e6;
  --color-focus: #ffe03d;
  --color-ink-old: #6d5c95;    /* THEME --ink-2: the old value in "35 → 74" */
  --color-gold: #ffd84d; --color-gold-2: #ffb81f; --color-fuse-tint: #fff7d6;
  --color-cat-gun: #ff9f4a; --color-cat-body: #5fe08f; --color-cat-chaos: #c77dff; --color-cat-evolved: #ffcf4d; /* cards.js CAT_COLORS */

  --font-display: "Titan One", ui-rounded, system-ui, sans-serif;
  --font-body: "Rubik", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: var(--font-body);

  --ow: 3px;      /* ink outline */
  --sh: 6px;      /* hard shadow, no blur ever */
  --radius-card: 22px; --radius-btn: 14px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: var(--sh) var(--sh) 0 var(--color-outline);
  --tracking-display: 0.005em;
}
