/* Shared design tokens for Teyvat Toolkit.
 *
 * Seeded from tools/party-maker/party-maker.html's `:root` block so every
 * tool on the platform starts from the same dark palette. party-maker keeps
 * its own embedded copy (it must stay a self-contained Artifact fragment) —
 * this file is the source new tools link to, not a runtime dependency of
 * party-maker itself.
 */
:root {
  /* App is locked to a single dark theme so the night-sky backdrop always reads. */
  --ground: #101219;
  --surface: #191c26;
  --surface-2: #1f2330;
  --ink: #e7e9f1;
  --muted: #9298ac;
  --hairline: #2b2f3d;
  --hairline-strong: #3a3f52;
  --gold: #d8b269;
  --gold-soft: #4a4026;
  --shadow: 24px 48px -34px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 2px 12px -6px rgba(0, 0, 0, 0.6);

  --pyro: #e2603f;
  --hydro: #2f9fe0;
  --cryo: #4fb7d4;
  --electro: #a678cf;
  --anemo: #4fbf9a;
  --geo: #d5a029;
  --dendro: #8db63a;

  /* Rarity colors (5-star / 4-star / 3-star) — for Tier Maker weapons/artifacts
     (Fase 2/3), where element-less cards fall back to a rarity gradient. Keep this
     comment free of an asterisk-then-slash sequence: it would close the comment
     early and swallow the --rarity-5 declaration below (the original Fase-1 bug). */
  --rarity-5: #d8b269;
  --rarity-4: #a672d1;
  --rarity-3: #4a90d9;
  /* 2-star / 1-star — Genshin-canonical (green / grey), same saturation family.
     No real card data uses these (weapons 3-5, artifacts 4-5); they exist as
     Tier Maker head-color choices. */
  --rarity-2: #5aa87f;
  --rarity-1: #8b93a6;

  --serif: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}
