/* Squirrel Village : thème test « aquarelle ». Fond papier crème, lavis doux, couleurs chaudes. */
body.aq {
  --bg: #f7efe3;
  --sky1: #f9efe0; --sky2: #f5e6d6; --sky3: #e6edf2;
  --paper: #fffaf2; --paper2: #f6ecdd; --ink: #4a3426; --muted: #8d7563; --line: rgba(74, 52, 38, .12);
  --accent: #d9773a; --accent-ink: #fff; --accent2: #c0583a;
  --chrome: rgba(255, 250, 242, .78); --chrome-ink: #4a3426; --chrome-line: rgba(74, 52, 38, .12);
  --display: 'Fraunces', Georgia, serif;
  --shadow: 0 30px 70px -26px rgba(120, 80, 50, .35), 0 8px 22px -10px rgba(120, 80, 50, .22);
}

/* ciel : lavis pêche et bleu pâle, taches d'aquarelle */
body.aq #sky { background:
  radial-gradient(ellipse 45% 35% at 18% 22%, rgba(247, 196, 160, .55), transparent 70%),
  radial-gradient(ellipse 40% 30% at 78% 18%, rgba(190, 214, 230, .6), transparent 70%),
  radial-gradient(ellipse 60% 40% at 55% 60%, rgba(250, 226, 200, .5), transparent 70%),
  linear-gradient(180deg, var(--sky1), var(--sky2) 55%, var(--sky3)); }
body.aq.aq-day #sky svg { display: none; }
body.aq.aq-day #sky::after { content: ""; position: absolute; right: 12%; top: 9%; width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff7e2, #f9dcae 60%, rgba(249, 220, 174, 0) 72%); filter: blur(1px); }

/* village lointain : silhouettes délavées */
body.aq #far, body.aq #far2 { mix-blend-mode: luminosity; filter: blur(.8px); }
body.aq #far { opacity: .22; } body.aq #far2 { opacity: .14; }

/* chalets : contours nets, couleurs adoucies */
body.aq #stage { filter: saturate(.85) brightness(1.04) contrast(.96); }

/* neige qui tombe : flocons beige rosé visibles sur fond clair */
body.aq #fx { mix-blend-mode: multiply; opacity: .35; filter: sepia(1) hue-rotate(-20deg) saturate(2.5) brightness(.85); }

/* grain du papier par-dessus la scène */
body.aq #scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .35 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"); }

/* écran d'accueil : feuille de papier crème */
body.aq #intro { background:
  radial-gradient(ellipse 50% 40% at 30% 30%, rgba(247, 200, 165, .45), transparent 70%),
  radial-gradient(ellipse 45% 35% at 72% 70%, rgba(196, 218, 232, .5), transparent 70%),
  rgba(251, 245, 236, .9); color: var(--ink); }
body.aq .intro-title em { color: var(--accent); }
body.aq .intro-eyebrow { color: #b0703f; }
body.aq .intro-stats li { border-color: rgba(74, 52, 38, .25); color: var(--ink); background: rgba(255, 255, 255, .5); }
body.aq .intro-stats li.gold { border-color: #d9a25a; color: #a5642c; }
body.aq #intro a { color: var(--ink); }
body.aq .btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(217, 119, 58, .7); }
body.aq .intro-mascot { display: block; width: 150px; height: 120px; margin: 0 auto 6px; }

/* barre et pastilles : crème et terre cuite */
body.aq .pill, body.aq #plan { background: var(--chrome); color: var(--chrome-ink); border-color: var(--chrome-line); }
body.aq #cartBtn { background: var(--accent); color: #fff; }
body.aq #cartBtn b { background: #fff; color: var(--accent); }
body.aq .hint { background: rgba(255, 250, 242, .85); color: var(--ink); }

/* ───── nuit aquarelle (18 h → 7 h) ───── */
body.aq.aq-night {
  --bg: #1d2747;
  --sky1: #18213f; --sky2: #2a3560; --sky3: #4a4f7d;
  --chrome: rgba(24, 31, 60, .66); --chrome-ink: #f6eee2; --chrome-line: rgba(255, 255, 255, .14);
}
body.aq.aq-night #sky { background:
  radial-gradient(ellipse 45% 35% at 20% 25%, rgba(120, 110, 180, .45), transparent 70%),
  radial-gradient(ellipse 40% 30% at 75% 20%, rgba(90, 130, 170, .45), transparent 70%),
  radial-gradient(ellipse 60% 40% at 50% 70%, rgba(160, 120, 150, .3), transparent 70%),
  linear-gradient(180deg, var(--sky1), var(--sky2) 55%, var(--sky3)); }
body.aq.aq-night #far { opacity: .45; mix-blend-mode: normal; }
body.aq.aq-night #far2 { opacity: .3; mix-blend-mode: normal; }
body.aq.aq-night #stage { filter: saturate(.9) brightness(.97); }
body.aq.aq-night #fx { mix-blend-mode: normal; opacity: .85; filter: none; }
body.aq.aq-night #scene::after { mix-blend-mode: soft-light; opacity: .5; }
body.aq.aq-night #intro { background:
  radial-gradient(ellipse 50% 40% at 30% 30%, rgba(120, 110, 180, .35), transparent 70%),
  radial-gradient(ellipse 45% 35% at 72% 70%, rgba(90, 130, 170, .35), transparent 70%),
  rgba(22, 29, 56, .9); color: #f6eee2; }
body.aq.aq-night .intro-eyebrow { color: #f0b47e; }
body.aq.aq-night .intro-title em { color: #f0a066; }
body.aq.aq-night .intro-stats li { border-color: rgba(255, 255, 255, .3); color: #f6eee2; background: rgba(255, 255, 255, .06); }
body.aq.aq-night .intro-stats li.gold { border-color: #e2a93b; color: #f0c46e; }
body.aq.aq-night #intro a { color: #f6eee2; }
body.aq.aq-night .hint { background: rgba(24, 31, 60, .8); color: #f6eee2; }

/* mode léger (mobile) : les filtres plein écran coûtent très cher au téléphone */
html.lite body.aq #stage, html.lite body.aq.aq-night #stage { filter: none; }
html.lite body.aq #far, html.lite body.aq #far2 { mix-blend-mode: normal; filter: none; }
html.lite body.aq #fx { mix-blend-mode: normal; filter: none; opacity: .5; }
