/* NIHILUS design tokens v1 (2026-10-09). Custom properties only, no selectors beyond :root.
   Shared by amp.nihilus.app and the nihilus.app player; drop-in safe because every name is --nx-* prefixed.
   Source: nihilus.app css/nihilus.css palette and type, nmp-lib.css radii, lines and motion, cp1 contrast fixes. */
:root {
  /* surfaces */
  --nx-void: #070607;
  --nx-bg: #0a0909;
  --nx-bar: #0e0c0d;
  --nx-card: #151214;
  --nx-card-2: #1c181a;
  --nx-raised: #2b2326;
  --nx-edge: #30282b;
  --nx-line: rgba(255, 255, 255, 0.07);
  --nx-line-2: rgba(255, 255, 255, 0.12);
  --nx-hover: rgba(255, 255, 255, 0.045);
  /* text */
  --nx-text: #e9e5d8;
  --nx-text-hi: #ffffff;
  --nx-sub: #9b918e;
  --nx-dim: #605857;
  /* brand and state (white text only on --nx-hot-fill or darker) */
  --nx-hot: #ff3346;
  --nx-hot-fill: #d9142b;
  --nx-hot-deep: #b10f24;
  --nx-hot-soft: rgba(255, 51, 70, 0.12);
  --nx-hot-line: rgba(255, 51, 70, 0.45);
  --nx-blood: #6c0616;
  --nx-warn: #ffb547;
  --nx-off: #7d7472;
  --nx-signal: #a8bd89;
  /* type */
  --nx-font-display: "Chakra Petch", "Space Grotesk", sans-serif;
  --nx-font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --nx-font-mono: "IBM Plex Mono", "Cascadia Mono", ui-monospace, Consolas, monospace;
  --nx-fs-2xs: 10.5px;
  --nx-fs-xs: 11.5px;
  --nx-fs-sm: 12.5px;
  --nx-fs-md: 14px;
  --nx-fs-lg: 16px;
  --nx-fs-xl: 19px;
  --nx-fs-2xl: 24px;
  --nx-fw-med: 500;
  --nx-fw-semi: 600;
  --nx-fw-bold: 700;
  --nx-track-caps: 0.14em;
  /* spacing */
  --nx-s1: 4px;
  --nx-s2: 8px;
  --nx-s3: 12px;
  --nx-s4: 16px;
  --nx-s5: 24px;
  --nx-s6: 32px;
  --nx-tap: 44px;
  /* radii */
  --nx-r-xs: 6px;
  --nx-r-sm: 10px;
  --nx-r-md: 14px;
  --nx-r-lg: 20px;
  --nx-r-pill: 999px;
  /* shadows (modest; no blur over 16px) */
  --nx-sh-1: 0 1px 2px rgba(0, 0, 0, 0.45);
  --nx-sh-2: 0 4px 12px rgba(0, 0, 0, 0.35);
  --nx-sh-pop: 0 10px 16px rgba(0, 0, 0, 0.5);
  --nx-sh-hot: 0 3px 10px rgba(217, 20, 43, 0.3);
  --nx-inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  /* motion (transform and opacity only; interaction driven) */
  --nx-dur-1: 0.12s;
  --nx-dur-2: 0.2s;
  --nx-dur-3: 0.28s;
  --nx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
