:root {
  /* Void depths — kept verbatim */
  --void-deep: #06070b;
  --void-mid: #0a0c12;
  --void-surface: #0e1018;
  --void-raised: #13151f;
  --void-bright: #181b28;
  --troupe-overlay-bg: rgba(6,7,11,0.92); /* lightbox backdrop — --void-deep at 0.92 */

  /* Borders — kept verbatim */
  --border-dim: rgba(60,70,100,0.15);
  --border-glow: rgba(80,130,180,0.20);
  --border-active: rgba(100,160,200,0.30);

  /* Text — refreshed: cooler tone, +2 lightness on bright for legibility */
  --text-bright: #c8d0e0;
  --text-mid: #7d869e;
  --text-dim: #4d536b;
  --text-ghost: #2e3348;

  /* Wisp accents — kept (v1's brand) */
  --wisp-teal: #4db8b0;
  --wisp-teal-dim: #2a7a74;
  --wisp-teal-glow: rgba(77,184,176,0.08);
  --wisp-teal-bright: rgba(77,184,176,0.18);  /* refreshed: 0.15 → 0.18 for active states */
  --wisp-amber: #c8a848;
  --wisp-violet: #8060b0;
  --wisp-rose: #a06878;

  /* Bubbles — refreshed: wider self/other contrast */
  --bubble-them: rgba(14,16,24,0.90);          /* 0.85 → 0.90 */
  --bubble-them-border: rgba(80,100,140,0.18);
  --bubble-me: rgba(28,56,68,0.75);             /* 0.7 → 0.75, slightly lifted */
  --bubble-me-border: rgba(77,184,176,0.22);

  /* Glass tokens — NEW (was implicit in v1) */
  --glass-bg: rgba(8,10,16,0.65);
  --glass-blur: blur(14px) saturate(1.1);
  --glass-border: rgba(255,255,255,0.05);

  /* Semantic */
  --danger: #a04050;
  --danger-bg: rgba(160,64,80,0.06);
  --success: #6aaa7a;

  /* Spacing — kept; +2xl for drawer paddings (NEW) */
  --space-xs: 4px;  --space-sm: 8px;  --space-md: 16px;
  --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px;

  /* Radii — NEW (was ad-hoc in v1) */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease-drift: cubic-bezier(0.25,0.1,0.25,1);
  --ease-settle: cubic-bezier(0.4,0,0.2,1);
  --ease-breathe: cubic-bezier(0.45,0.05,0.55,0.95);  /* NEW */
  --duration-fast: 180ms;
  --duration-normal: 320ms;   /* refreshed: 350ms → 320ms */
  --duration-slow: 600ms;

  /* Typography — NEW (v1 was system-only) */
  --font-system: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', var(--font-system);
  --font-mono: ui-monospace, 'JetBrains Mono', 'Cascadia Code', monospace;
  --text-base: 14px;
  --text-sm: 12.5px;
  --text-xs: 11px;
  --text-lg: 16px;
  --text-xl: 22px;
  --leading-base: 1.55;
  --leading-tight: 1.25;
}

@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/static/v2/default/fonts/Inter-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/static/v2/default/fonts/Inter-SemiBold.woff2') format('woff2');
}
