/*
 * gc-theme.css — the theme contract for every aiOrion guide.
 *
 * boot.js sets the `--gc-*` custom properties on :root from the running
 * GameTheme (in-app) or the default aiOrion theme (on the site / config.json).
 * The values below are ONLY fallbacks used before boot.js runs or if a property
 * is missing, so a guide is never unstyled. NO guide markup may hardcode a
 * colour — everything references these variables (SPEC §3.2).
 */

:root {
  /* Fallback aiOrion "calm" palette (dark). Overridden at runtime. */
  --gc-accent: #4ea1ff;
  --gc-text: #f2f3f5;
  --gc-bg: #0f1216;
  --gc-bg-2: #171b21;
  --gc-glass: rgba(255, 255, 255, 0.06);
  --gc-border: rgba(255, 255, 255, 0.14);
  --gc-highlight: rgba(255, 255, 255, 0.10);
  --gc-success: #43c67a;
  --gc-warning: #f2b64c;
  --gc-error: #f2645a;

  /* Derived tokens (do not set from Swift). */
  --gc-radius: 20px;
  --gc-radius-sm: 12px;
  --gc-gap: 16px;
  --gc-maxw: 640px;
  --gc-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gc-font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro Text",
             system-ui, "Segoe UI", Roboto, sans-serif;
  /* Display face for chapter titles: a calm, bookish serif via system fonts
     (New York on Apple platforms). Body copy stays on --gc-font. */
  --gc-font-display: ui-serif, "New York", Georgia, "Times New Roman", serif;
  /* Real-card sizing (gc-cardimg consumes these; .sm/.lg scale them). */
  --gc-card-w: 76px;
  --gc-card-radius: 8.5%;
}
