/* ==========================================================================
   Natal Com4 | 2026 — tema baseado na referência (vermelho + guirlanda verde + dourado)
   ========================================================================== */
:root {
  --red-900: #4a0306;
  --red-800: #6a0509;
  --red-700: #8f0b10;
  --red-600: #b3121a;
  --red-500: #d01d25;
  --green-900: #05301a;
  --green-800: #08522a;
  --green-700: #0f6b3a;
  --green-600: #168a4f;
  --green-500: #1fa862;
  --gold-100: #fff4cf;
  --gold-200: #fbe8a6;
  --gold-300: #f6dc8e;
  --gold-400: #ecc65e;
  --gold-500: #e5b53c;
  --gold-600: #c8921f;
  --gold-700: #b8861c;
  --cream: #fff8ea;
  --ink: #3b0a0e;
  --gold-grad: linear-gradient(180deg, #fff6d2 0%, #f6dc8e 26%, #dfae43 54%, #f8e19a 76%, #b8861c 100%);
  --gold-grad-h: linear-gradient(100deg, #b8861c, #f8e19a 30%, #e5b53c 55%, #fff0b0 75%, #c8921f);
  --g: clamp(120px, 15vw, 200px);        /* altura da guirlanda (JS ajusta) */
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--red-800);
  overflow-x: hidden;
  position: relative;
}
img { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Fundo ---------- */
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(ellipse 85% 65% at 50% 30%, #cc1920 0%, #a8101a 40%, #70060b 78%, #4a0306 100%);
}
.bg::before {            /* textura sutil de losangos, bem discreta */
  content: ''; position: absolute; inset: 0; opacity: .07;
  background-image:
    linear-gradient(45deg, #fff 1px, transparent 1px),
    linear-gradient(-45deg, #fff 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 75%);
}
.bg::after {             /* vinheta */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(30,0,3,.55) 100%);
}
.flare {
  position: absolute; width: 130px; height: 130px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,150,.95) 0, rgba(255,150,50,.55) 18%, rgba(255,110,25,.18) 42%, transparent 66%);
  mix-blend-mode: screen; animation: pulse 4.5s ease-in-out infinite alternate;
}
.flare::before, .flare::after {
  content: ''; position: absolute; left: -90%; right: -90%; top: 50%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,222,160,.95), transparent);
  transform: rotate(var(--r, 20deg));
}
.flare::after { transform: rotate(calc(var(--r, 20deg) + 90deg)); }
.flare.f1 { left: -40px;  top: 34%; --r: 18deg; }
.flare.f2 { left: 1.5%;   top: 64%; --r: -25deg; width: 90px; height: 90px; animation-delay: -1.5s; }
.flare.f3 { right: -40px; top: 40%; --r: -14deg; animation-delay: -2.2s; }
.flare.f4 { right: 2%;    top: 70%; --r: 30deg; width: 80px; height: 80px; animation-delay: -3s; }
@keyframes pulse { from { transform: scale(.85); opacity: .65; } to { transform: scale(1.12); opacity: 1; } }

.ember {
  position: absolute; bottom: -12px; border-radius: 50%;
  background: radial-gradient(circle, #fff1b8 0%, #ffbf4a 45%, rgba(255,160,40,0) 72%);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translate3d(0, 0, 0) scale(.6); opacity: 0; }
  12%  { opacity: .95; }
  100% { transform: translate3d(var(--dx, 30px), -105vh, 0) scale(1.1); opacity: 0; }
}

/* ---------- Topo: guirlanda, luzes, enfeites ---------- */
.top { position: absolute; top: 0; left: 0; right: 0; height: calc(var(--g) + 60px); z-index: 6; pointer-events: none; }
#garland { position: absolute; top: 0; left: 0; display: block; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.lights { position: absolute; inset: 0; }
.bulb {
  position: absolute; width: 9px; height: 15px; margin: -8px 0 0 -4.5px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 50% 38%, #fffbe0 0%, #ffe27a 45%, #f6a81c 100%);
  box-shadow: 0 0 10px 3px rgba(255,205,80,.85), 0 0 26px 9px rgba(255,150,40,.4);
  animation: twinkle 2.6s ease-in-out infinite alternate; animation-delay: var(--d, 0s);
}
.bulb::before {            /* soquete verde */
  content: ''; position: absolute; left: 50%; top: -6px; width: 6px; height: 7px; margin-left: -3px;
  border-radius: 2px 2px 0 0; background: linear-gradient(90deg, #0b3d1b, #1f7a38, #0b3d1b);
}
.bulb.spark::after {       /* brilho em cruz */
  content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255,240,190,.95) 50%, transparent 54%),
    linear-gradient(0deg,  transparent 46%, rgba(255,240,190,.95) 50%, transparent 54%);
  mask-image: radial-gradient(circle, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 70%);
}
@keyframes twinkle { from { opacity: .55; filter: brightness(.85); } to { opacity: 1; filter: brightness(1.25); } }

.ornaments { position: absolute; inset: 0; }
.orn {
  position: absolute; width: var(--s); transform-origin: 50% calc(-1 * var(--ch));
  animation: swing var(--t, 6s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s);
  filter: drop-shadow(0 12px 14px rgba(0,0,0,.45));
}
.orn svg { display: block; width: 100%; height: auto; overflow: visible; }
.orn::before {             /* correntinha dourada */
  content: ''; position: absolute; left: 50%; bottom: calc(100% - 6px); width: 3px; height: var(--ch); margin-left: -1.5px;
  background: repeating-linear-gradient(180deg, #fbe58e 0 4px, #a8741a 4px 7px);
  border-radius: 2px;
}
@keyframes swing { from { transform: rotate(-3.2deg); } to { transform: rotate(3.2deg); } }

.orn.o-red-l  { --s: clamp(62px, 8.6vw, 124px); --ch: 62px; --t: 7s;   left: 1.2%;  top: calc(var(--g) * .50); }
.orn.o-gold-l { --s: clamp(78px, 10.6vw, 154px); --ch: 54px; --t: 6s;  left: 3.6%;  top: calc(var(--g) * .88); --dl: -2s; }
.orn.o-gold-r { --s: clamp(82px, 11vw, 160px);  --ch: 66px; --t: 6.5s; right: 2.6%; top: calc(var(--g) * .54); --dl: -1s; }
.orn.o-red-r  { --s: clamp(60px, 8.4vw, 120px); --ch: 56px; --t: 7.5s; right: 9.6%; top: calc(var(--g) * .96); --dl: -3.4s; }
@media (max-width: 640px) {
  .orn.o-red-l  { left: -2%; }
  .orn.o-gold-l { left: 4%; top: calc(var(--g) * .80); }
  .orn.o-gold-r { right: -3%; }
  .orn.o-red-r  { right: 14%; top: calc(var(--g) * .92); }
}

/* ---------- Hero ---------- */
main { position: relative; z-index: 4; }
.hero { text-align: center; padding: calc(var(--g) + 34px) 20px 6px; }
.plaque-wrap { position: relative; width: fit-content; margin: 0 auto; transform-origin: 50% -90px; animation: sway 7s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
.plaque-wrap .chain {
  position: absolute; top: -96px; width: 3px; height: 100px;
  background: repeating-linear-gradient(180deg, #fbe58e 0 4px, #a8741a 4px 7px); border-radius: 2px; z-index: -1;
}
.chain.c1 { left: 16%; transform: rotate(5deg);  transform-origin: 50% 100%; }
.chain.c2 { right: 16%; transform: rotate(-5deg); transform-origin: 50% 100%; }
.plaque {
  display: block; padding: 12px 28px; border-radius: 20px; border: 4px solid transparent;
  background: linear-gradient(#fffdf6, #fbf0d6) padding-box, var(--gold-grad) border-box;
  box-shadow: 0 18px 36px rgba(0,0,0,.5), 0 0 46px rgba(255,200,90,.28), inset 0 0 0 1px rgba(184,134,28,.25);
}
.plaque img { display: block; height: clamp(56px, 8.6vw, 92px); width: auto; }
.star-top { position: absolute; left: 50%; top: -26px; width: 48px; margin-left: -24px; animation: tw-star 3s ease-in-out infinite alternate; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)) drop-shadow(0 0 10px rgba(255,214,110,.7)); }
.star-top svg { display: block; width: 100%; height: auto; }
@keyframes tw-star { from { transform: scale(.94) rotate(-4deg); } to { transform: scale(1.06) rotate(4deg); } }

.eyebrow {
  margin: 30px 0 0; font-family: 'Cinzel', serif; font-weight: 500; text-transform: uppercase;
  letter-spacing: .44em; font-size: clamp(.66rem, 1.6vw, .88rem); color: var(--gold-300);
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
}
.title-row { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2.4vw, 34px); margin-top: 4px; }
.title-block { min-width: 0; }
.title {
  margin: 0; font-family: 'Lobster', cursive; font-weight: 400; line-height: 1; padding: .06em .12em .1em;
  font-size: clamp(3.4rem, 10.6vw, 9rem); white-space: nowrap;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(96,28,0,.6)) drop-shadow(0 12px 22px rgba(0,0,0,.45));
}
.year {
  display: flex; align-items: center; justify-content: center; gap: .9rem; margin: -.1em 0 0;
  font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: .22em; font-size: clamp(1.6rem, 4.8vw, 2.9rem);
}
.year { background: none; color: var(--gold-300); text-shadow: 0 3px 12px rgba(0,0,0,.45); }
.year .line { flex: 0 1 clamp(40px, 9vw, 120px); height: 2px; background: linear-gradient(90deg, transparent, var(--gold-300)); }
.year .line:last-child { background: linear-gradient(270deg, transparent, var(--gold-300)); }
.firs { display: flex; align-items: flex-end; gap: 4px; flex: 0 0 auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); }
.firs svg { display: block; height: clamp(54px, 9.5vw, 150px); width: auto; }
.firs svg:nth-child(2) { height: clamp(40px, 7vw, 108px); }
.firs-r { flex-direction: row-reverse; }
@media (max-width: 980px) { .firs { display: none; } }

/* ---------- Cards ---------- */
.card {
  position: relative; width: min(1040px, calc(100% - 32px)); margin: clamp(28px, 5vw, 56px) auto 0;
  padding: clamp(22px, 4.4vw, 48px);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(128,8,15,.78), rgba(66,3,8,.86));
  box-shadow: 0 34px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,244,207,.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.card::before {               /* borda dourada em gradiente */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: linear-gradient(135deg, #fbe58e, rgba(246,220,142,.18) 35%, rgba(246,220,142,.18) 65%, #d9a52e);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* intro + papai noel */
.intro { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.santa { position: relative; width: 100%; max-width: 340px; aspect-ratio: 520 / 700; margin-inline: auto; }
.santa::before {              /* medalhão verde com aro dourado */
  content: ''; position: absolute; left: 2%; right: 2%; top: 16%; aspect-ratio: 1; border-radius: 50%;
  border: 6px solid transparent;
  background:
    radial-gradient(circle at 24% 28%, rgba(255,255,255,.55) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 22%, rgba(255,255,255,.5) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 58%, rgba(255,255,255,.45) 0 2.5px, transparent 3.5px),
    radial-gradient(circle at 12% 62%, rgba(255,255,255,.45) 0 2px, transparent 3px),
    radial-gradient(circle at 50% 30%, #23995b 0%, #0f6b3a 52%, #06381f 100%) padding-box,
    var(--gold-grad) border-box;
  box-shadow: 0 0 70px rgba(255,205,90,.32), 0 24px 50px rgba(0,0,0,.5);
}
.santa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: float 5s ease-in-out infinite alternate; filter: drop-shadow(0 14px 14px rgba(0,0,0,.35)); }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.santa-sm { max-width: 280px; }

.intro-text p { margin: 0 0 1em; color: rgba(255,244,207,.88); }
.intro-text .lead, .thanks-text .lead { font-size: clamp(1.1rem, 2.3vw, 1.34rem); line-height: 1.55; color: var(--cream); }
.intro-text strong { color: var(--gold-300); font-weight: 800; }
.cta-line {
  display: inline-block; margin: .4em 0 0 !important; padding: .7em 1.3em; border-radius: 999px; font-weight: 800; font-size: 1.05rem;
  color: #4a0509 !important; background: var(--gold-grad); box-shadow: 0 10px 26px rgba(229,181,60,.35), inset 0 1px 0 rgba(255,255,255,.7);
}
@media (max-width: 820px) {
  .intro { grid-template-columns: 1fr; text-align: center; }
  .santa { max-width: 270px; }
}

/* ---------- Formulário ---------- */
.survey { width: min(820px, calc(100% - 32px)); }
.survey-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.survey-head h2 {
  margin: 0; font-family: 'Lobster', cursive; font-weight: 400; line-height: 1.1; font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(96,28,0,.5));
}
.survey-head .bar { opacity: .75; padding: 0 .1em; }
.count-pill {
  font-weight: 800; font-size: .85rem; letter-spacing: .04em; padding: .35em .95em; border-radius: 999px;
  color: var(--gold-200); border: 1px solid rgba(246,220,142,.5); background: rgba(255,244,207,.08);
}
.count-pill.done { color: #fff; background: linear-gradient(135deg, var(--green-600), var(--green-800)); border-color: #7be3ab; }

.q { border: 0; margin: 0; padding: 0; min-width: 0; margin-top: clamp(24px, 4vw, 34px); }
.q-label { display: flex; align-items: flex-start; gap: 14px; padding: 0; font-weight: 800; font-size: clamp(1.08rem, 2.3vw, 1.28rem); line-height: 1.35; color: var(--cream); margin-bottom: 12px; }
.num {
  flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-top: -1px;
  font-family: 'Cinzel', serif; font-weight: 700; font-size: 1rem; color: #4a0509;
  background: var(--gold-grad); box-shadow: 0 4px 12px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.7);
}
.hint { margin: -4px 0 14px 48px; font-size: .92rem; color: rgba(255,244,207,.66); }
.q > .input, .q > .phrase, .q > .foot, .q > .err { margin-left: 0; }

.input {
  display: block; width: 100%; padding: .85em 1.05em; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fffaf0; border: 2px solid transparent; border-radius: 16px;
  box-shadow: inset 0 2px 6px rgba(80,10,10,.18); transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: rgba(59,10,14,.45); }
.input:focus { outline: none; border-color: var(--gold-400); box-shadow: 0 0 0 4px rgba(236,198,94,.35), inset 0 2px 6px rgba(80,10,10,.12); background: #fff; }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
.phrase {
  font-family: 'Lobster', cursive; font-size: clamp(1.35rem, 3.4vw, 1.8rem); color: var(--gold-300);
  margin: -2px 0 10px 48px; text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 6px; }
.counter { margin-left: auto; font-size: .8rem; color: rgba(255,244,207,.6); white-space: nowrap; }

/* opções (chips) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.chip .box {
  display: inline-flex; align-items: center; gap: .6em; padding: .68em 1.05em .68em .8em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1.25; color: var(--cream);
  border: 1.5px solid rgba(246,220,142,.4); background: rgba(255,244,207,.07);
  transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.chip:hover .box { border-color: var(--gold-300); background: rgba(255,244,207,.15); transform: translateY(-1px); }
.chip .tick {
  flex: 0 0 auto; position: relative; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(246,220,142,.7); background: rgba(0,0,0,.18); transition: background .2s, border-color .2s;
}
.chip .tick::after {
  content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg) scale(0); transition: transform .18s;
}
.chip .emo { font-size: 1.15em; line-height: 1; }
.chip input:checked + .box {
  color: #4a0509; background: var(--gold-grad); border-color: #fff1b8;
  box-shadow: 0 8px 22px rgba(229,181,60,.38), inset 0 1px 0 rgba(255,255,255,.75);
}
.chip input:checked + .box .tick { background: var(--green-700); border-color: var(--green-800); }
.chip input:checked + .box .tick::after { transform: rotate(45deg) scale(1); }
.chip input:focus-visible + .box { outline: 3px solid #fff; outline-offset: 3px; }

.other { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease, margin .3s ease; }
.other-in { overflow: hidden; min-height: 0; }
.other.open { grid-template-rows: 1fr; margin-top: 12px; }
.other .input { padding: .7em 1em; }

/* erros */
.err { margin: 8px 0 0; font-size: .92rem; font-weight: 700; color: #ffd0cf; }
.err::before { content: '⚠ '; }
.err-box { margin: 20px 0 0; padding: .9em 1.1em; border-radius: 14px; font-weight: 700; color: #fff; background: rgba(0,0,0,.35); border: 1.5px solid #ff9c97; }
.q.has-error .input { border-color: #ff8f89; box-shadow: 0 0 0 4px rgba(255,120,110,.3); }
.q.has-error .chips { outline: 2px dashed rgba(255,150,140,.7); outline-offset: 8px; border-radius: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* botão */
.actions { margin-top: clamp(28px, 5vw, 40px); text-align: center; }
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .7em; cursor: pointer;
  padding: 1em 2.2em; border: 2px solid transparent; border-radius: 999px; font: inherit; font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; color: #fff;
  background: linear-gradient(180deg, #22b46b, #0f6b3a 60%, #0a4f2a) padding-box, var(--gold-grad) border-box;
  box-shadow: 0 16px 36px rgba(0,0,0,.45), 0 0 30px rgba(31,168,98,.35), inset 0 1px 0 rgba(255,255,255,.35);
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn::after {                 /* brilho que passa */
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; left: -90px; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 3.6s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -90px; } 100% { left: 120%; } }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 44px rgba(31,168,98,.5), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn-ico { font-size: 1.3em; }
.legal { margin: 14px 0 0; font-size: .82rem; color: rgba(255,244,207,.6); }

/* agradecimento */
.thanks { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: clamp(18px, 4vw, 44px); align-items: center; }
.thanks[hidden], .intro[hidden], .survey[hidden] { display: none; }
.thanks-title {
  margin: 0 0 .1em; font-family: 'Lobster', cursive; font-weight: 400; line-height: 1.05; font-size: clamp(2.6rem, 8vw, 4.6rem);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 rgba(96,28,0,.55)) drop-shadow(0 10px 18px rgba(0,0,0,.4));
}
.thanks-text p { margin: 0 0 1em; color: rgba(255,244,207,.9); }
@media (max-width: 760px) { .thanks { grid-template-columns: 1fr; text-align: center; } }

.foot-site { position: relative; z-index: 4; text-align: center; padding: 44px 16px 56px; font-size: .85rem; color: rgba(255,244,207,.6); }
.foot-site p { margin: 0; }

/* barra de progresso e canvases */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 40; background: rgba(0,0,0,.25); }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-grad-h); box-shadow: 0 0 12px rgba(255,214,110,.8); transition: width .4s ease; }
#snow, #confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#snow { z-index: 30; }
#confetti { z-index: 35; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hint, .phrase { margin-left: 0; }
  .chip .box { font-size: .94rem; }
  .plaque { padding: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  #snow, .embers { display: none; }
}
