/* Base palette — lifted verbatim from ArcheryPro/styles.py.
   Design language: a calm dark ground, ONE accent (archery gold, the
   10-ring), layered surfaces instead of hard borders, warm neutrals.
   Only emerald / rose survive as semantic pass / fail. */
:root{
  /* Ground + surfaces */
  --bg:#0d0e11;
  --surface:#16181d;
  --surface-2:#1e2127;
  --surface-hover:#262a31;
  --surface-press:#14161a;
  --surface-tab-hover:#131519;
  --well:#0a0b0d;

  /* Borders — three steps. Quiet inside a card, standard for structure,
     dim for hover / emphasis. Two near-duplicates (#2f333b, #55595f) were
     collapsed away; the old names survive as aliases. */
  --border-soft:#20232a;
  --border:#2a2d34;
  --border-dim:#3b3f47;
  --border-card-hover:var(--border-dim); /* deprecated alias */
  --border-strong:var(--border-dim);     /* deprecated alias */

  /* Accent — archery gold */
  --accent:#ff9f1c;
  --accent-hi:#ffb347;
  --accent-ink:#231603;
  --accent-wash:#241a0c;
  --accent-wash-border:#5a4415;
  --accent-tip-bg:#211a0f;
  --accent-tip-border:#7a5a1e;

  /* Semantic — refreshed to sit with the gold accent on the dark ground.
     Success is a cleaner emerald (less grey-mint); danger is a truer red
     rather than a pink; danger text is a lighter, warmer tint of it.
     The washes are unchanged. */
  --success:oklch(0.82 0.17 142);
  --success-border:oklch(0.68 0.15 142);
  --success-wash:#14261c;
  --success-wash-border:#2f6b4d;
  --danger:oklch(0.67 0.205 22);
  --danger-bg:#3d1f24;
  --danger-fg:var(--text);
  --danger-border:oklch(0.46 0.12 22);
  --danger-border-dim:oklch(0.57 0.165 22);
  --danger-hover:#4a262c;
  --rec-red:#b32020;

  /* Text — warm neutrals */
  --text:#f4f1ea;
  --text-dim:#a6a29a;
  --text-muted:#837f77;
  --text-faint:#6e6a63;
  --white:#ffffff;

  /* Semantic aliases */
  --text-body:var(--text);
  --text-label:var(--text-dim);
  --text-caption:var(--text-muted);
  --text-eyebrow:var(--text-faint);
  --text-on-accent:var(--accent-ink);
  --surface-card:var(--surface);
  --surface-raised:var(--surface-2);
  --surface-well:var(--well);
  --border-hairline:var(--border);
  --focus-ring:var(--accent);
}
