/* spring-festival.css — ATI Orbit Spring Festival (CNY) seasonal theme.
 *
 * Same contract as winter.css: token re-declarations only, under
 * html[data-theme="spring-festival"] (docs/architecture/design-system.md,
 * rule 4). Theme literals live in public/ outside the check-theme scan.
 *
 * Owner feedback 2026-10-21 (v3): brighter, warmer red; buttons go red
 * like winter's ice-blue buttons; lanterns dropped — fireworks only, with
 * improved bursts and synthesized explosion sound (fireworks.js v3).
 * Palette: bright warm 中国红 #E8402D / 香槟金 #D4AF37 / 暖白 #FFF8EC /
 * 深红 #7A1717.
 *
 * Contrast notes: button/checked labels are large bold text, so WCAG
 * AA-Large (3:1) applies — white on #E8402D = 3.9:1 ✓. Small-text accent
 * keeps the dark #7A1717 (10.7:1 on white). Owner tunes.
 */
html[data-theme="spring-festival"] {
  /* Hero: 暖白 with a bright warm crimson glow */
  --ati-hero-bg-start: #fff8ec;
  --ati-hero-bg-end: #ffe5c4;
  --ati-hero-glow: rgba(232, 64, 45, 0.15);
  --ati-hero-ink: #3d110c;
  --ati-hero-muted: #8a5348;
  --ati-hero-art: url("/themes/spring-festival-hero-art.svg");

  /* Brand accent — bright warm red (v3: 更亮更暖). */
  --ati-color-accent: #e8402d;
  --ati-color-gold-readable: #7a1717;

  /* Soft accent badge — champagne-gold tint */
  --ati-badge-soft-bg: #ffedd6;
  --ati-badge-soft-border: #f3d9a2;

  /* Runner options — checked is the bright accent, white ink (AA-large);
     hover is a warm blush. */
  --ati-run-option-hover-bg: #fdf0ea;
  --ati-run-option-hover-border: #ef9a84;
  --ati-run-option-checked-bg: #e8402d;
  --ati-run-option-checked-border: #b52a1c;
  --ati-run-option-checked-ink: #ffffff;

  /* Eyebrow / accent text (small text keeps the dark variant) */
  --ati-eyebrow-color: #7a1717;
  --ati-link-accent: #7a1717;

  /* Actions: buttons go RED per owner v3 (winter precedent). White ink on
     #E8402D = 3.9:1 — passes AA-Large for bold button labels. */
  --ati-action-bg: #e8402d;
  --ati-action-ink: #ffffff;
  --ati-action-border: #b52a1c;
  --ati-action-secondary-bg: rgba(255, 255, 255, 0.92);
  --ati-action-secondary-ink: #3d110c;
  --ati-action-secondary-border: #f0b9a8;

  /* Panels: warm white on cream; accent 香槟金 (secondary) */
  --ati-panel-bg: rgba(255, 255, 255, 0.92);
  --ati-panel-border: #f2ddca;
  --ati-panel-accent: #d4af37;
  --ati-panel-divider: #f6e5d3;
  --ati-panel-shadow: 0 16px 45px rgba(150, 54, 20, 0.1);

  /* Bands: warm gold-cream */
  --ati-band-bg: #fdf0e0;

  /* Inverse surfaces — 深红 for dark cards/bands (black score card). */
  --ati-surface-inverse-bg: #7a1717; --ati-surface-inverse-border: #5f1212; --ati-band-dark-start: #7a1717;

  /* Festivity: fireworks only per owner v3 (lanterns retired — the file
     stays in scripts/festivities/ for future use). */
  --ati-festivity: fireworks;
}
