/* Backwards-compat aliases — render.js templates still use these shorthand names.
   They map to the canonical token names from tokens.css. */
:root {
  --bg: var(--bg-deep);
  --surface: var(--bg-secondary);
  --surface-2: var(--bg-tertiary);
  --text: var(--text-primary);
  --text-mute: var(--text-secondary);
  --text-dim: var(--text-muted);
  --accent: var(--accent-gold-dim);
  --accent-dark: var(--accent-gold);
  --border-light: var(--border-subtle);
  --danger: var(--accent-red);
  --good: var(--accent-green);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

input, select, textarea {
  font-size: 16px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-active);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
