/* tokens.css — design tokens COPIED from the game's client/css/styles.css :root.
 *
 * SOURCE OF TRUTH: /opt/spacedwarves/client/css/styles.css (the :root block).
 * This is a deliberate copy (not an import) so the wiki is decoupled from the
 * game's large, panel-specific stylesheet. If the game theme changes, re-sync
 * the values below. Keep in step with the game version this wiki documents.
 */
:root {
  /* Background scale — deep navy */
  --color-bg-void:    #0f1320;
  --color-bg-deep:    #161b2e;
  --color-bg-base:    #1c2238;
  --color-bg-raised:  #232b45;
  --color-bg-panel:   #283254;
  --color-bg-card:    #2e3a5e;
  --color-bg-hover:   #3a4773;

  /* Accent — warm dwarven amber + bright complements */
  --color-accent-primary:   #ffb23e;
  --color-accent-bright:    #ffc869;
  --color-accent-muted:     #b97e2c;
  --color-accent-secondary: #46c8e6;
  --color-accent-vip:       #ffd24a;
  --color-accent-purple:    #9b7bff;

  /* Status colours */
  --color-ok:          #3ddc84;
  --color-ok-bg:       rgba(61, 220, 132, 0.16);
  --color-warn:        #ffc24b;
  --color-warn-bg:     rgba(255, 194, 75, 0.16);
  --color-danger:      #ff5d6c;
  --color-danger-bg:   rgba(255, 93, 108, 0.16);
  --color-info:        #46c8e6;
  --color-info-bg:     rgba(70, 200, 230, 0.16);

  /* Text */
  --color-text-primary:   #eef3fb;
  --color-text-secondary: #a7b4cf;
  --color-text-muted:     #6f7fa3;
  --color-text-dim:       #46537a;
  --color-text-inverse:   #1a1205;

  /* Borders */
  --color-border:        #34406a;
  --color-border-bright: #4a5891;
  --color-border-focus:  var(--color-accent-secondary);

  /* Gradients & glows */
  --grad-primary: linear-gradient(135deg, #ffc869 0%, #ff9d2e 100%);
  --grad-cyan:    linear-gradient(135deg, #5fe0f6 0%, #2f9fd8 100%);
  --grad-card:    linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0) 60%);
  --glow-primary: 0 0 16px rgba(255,178,62,0.45);
  --glow-cyan:    0 0 16px rgba(70,200,230,0.45);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.35);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.40);
  --shadow-lg: 0 14px 44px rgba(0,0,0,0.55);

  /* Typography */
  --font-family-base: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-family-mono: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
  --font-size-xs:   0.6875rem;
  --font-size-sm:   0.75rem;
  --font-size-base: 0.875rem;
  --font-size-md:   1rem;
  --font-size-lg:   1.125rem;
  --font-size-xl:   1.25rem;
  --font-size-2xl:  1.5rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold:   700;

  /* Spacing */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem;

  /* Border radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Motion */
  --transition-fast:   120ms ease;
  --transition-base:   220ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Wiki-specific layout dimensions */
  --topbar-height: 3.25rem;
  --sidebar-width: 17rem;
  --toc-width:     14rem;
  --content-max:   52rem;
}
