/* DiBS animated evites: full-screen stage, per-template scenes, themed card.
   Loaded only on event pages that have an invitationTheme.templateId. */

:root {
  --ev-spring: linear(0, 0.016 0.5%, 0.06 1%, 0.226 2%, 1.116 5.4%, 1.375 6.6%, 1.527 7.7%, 1.585 8.8%, 1.559 9.8%, 1.458 10.9%, 0.937 14.3%, 0.784 15.5%, 0.657 17.7%, 0.729 19.8%, 1.042 23.3%, 1.201 26.7%, 1.156 28.8%, 0.925 33.4%, 0.882 35.6%, 1.045 42.4%, 1.069 44.5%, 0.96 53.4%, 1.024 62.3%, 0.986 71.2%, 1);
  --ev-bounce: linear(0, 0.214 14.7%, 0.386 23.7%, 0.598 31.9%, 0.999 44.7%, 0.807 52.6%, 0.747 59.4%, 0.793 65.6%, 0.999 77.4%, 0.949 84.8%, 0.993 95.5%, 1);
}

#ev-stage {
  position: fixed; inset: 0; z-index: 9999; overflow: hidden;
  background: var(--ev-bg, #0a0612);
  color: var(--ev-ink, #fff);
  -webkit-tap-highlight-color: transparent;
  user-select: none; -webkit-user-select: none;
  transition: opacity .7s ease, transform .8s cubic-bezier(.22,1,.36,1), filter .7s ease;
}
#ev-stage.ev-leaving { opacity: 0; transform: scale(1.06); filter: blur(6px); pointer-events: none; }
#ev-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#ev-amb { z-index: 0; }
#ev-fx { z-index: 6; }
.ev-stage-open #ev-fx { z-index: 4; } /* once open, effects play behind the card */
.ev-scene { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; perspective: 1400px; }
.ev-tap { cursor: pointer; }

/* After the stage closes the ambient canvas stays behind the page. */
#ev-amb.ev-page-bg { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; opacity: .55; pointer-events: none; }

.ev-hint {
  position: absolute; left: 0; right: 0; bottom: max(9vh, 56px); z-index: 4; text-align: center;
  font: 700 12px/1.4 system-ui, -apple-system, sans-serif; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ev-accent, #fff); opacity: 0; transition: opacity .6s ease;
  text-shadow: 0 0 18px var(--ev-glow, transparent);
}
.ev-hint.on { opacity: 1; animation: evHint 2.2s ease-in-out infinite; }
@keyframes evHint { 0%,100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

.ev-skip {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 8;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25); color: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 12px system-ui, -apple-system, sans-serif; letter-spacing: .04em; cursor: pointer;
}
/* Sound on/off. Top-left: Skip is top-right, the story banner top-centre. */
.ev-sound {
  position: absolute; top: max(16px, env(safe-area-inset-top)); left: 16px; z-index: 8;
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.25); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 16px/1 system-ui, -apple-system, sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0;
}
.ev-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ev-flash { display: none !important; opacity: 0 !important; pointer-events: none; }
.ev-shake { animation: evShake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes evShake {
  10%,90% { transform: translate(-2px, 1px); } 20%,80% { transform: translate(4px, -2px); }
  30%,50%,70% { transform: translate(-7px, 3px); } 40%,60% { transform: translate(7px, -3px); }
}

/* ---------- The invitation card ---------- */
.ev-card {
  position: absolute; left: 50%; top: 50%; z-index: 5; width: min(88vw, 430px);
  transform: translate(-50%, -46%) scale(.94); opacity: 0; pointer-events: none;
  transition: opacity .8s ease, transform 1s cubic-bezier(.16,1,.3,1);
}
.ev-card.show { opacity: 1; transform: translate(-50%, -50%) scale(1); pointer-events: auto; }
.ev-card-inner {
  position: relative; padding: 38px 30px 30px; border-radius: var(--ev-radius, 22px); text-align: center;
  background: var(--ev-card-bg, rgba(255,255,255,.08)); color: var(--ev-card-ink, #fff);
  border: var(--ev-card-border, 1px solid rgba(255,255,255,.18));
  box-shadow: var(--ev-card-shadow, 0 30px 80px rgba(0,0,0,.45));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.ev-line { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .8s cubic-bezier(.16,1,.3,1); transition-delay: calc(var(--i, 0) * 110ms + 250ms); }
.ev-card.show .ev-line { opacity: 1; transform: none; }
.ev-eyebrow { margin: 0 0 14px; font: 700 11px/1.3 system-ui, -apple-system, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: var(--ev-accent); }
.ev-title { margin: 0; font-family: var(--ev-display, Georgia, serif); font-weight: var(--ev-display-weight, 700); font-size: clamp(30px, 9vw, 46px); line-height: 1.04; letter-spacing: var(--ev-display-track, -.01em); color: var(--ev-title-ink, inherit); text-wrap: balance; overflow-wrap: anywhere; }
.ev-title.long { font-size: clamp(24px, 7vw, 34px); }
.ev-rule { width: 64px; height: 2px; margin: 20px auto; background: var(--ev-accent); border-radius: 2px; box-shadow: 0 0 14px var(--ev-glow, transparent); }
.ev-date { margin: 0 0 6px; font: 600 16px/1.4 system-ui, -apple-system, sans-serif; }
.ev-place { margin: 0 0 6px; font: 400 15px/1.4 system-ui, -apple-system, sans-serif; opacity: .85; }
.ev-host { margin: 12px 0 0; font: 400 13px/1.4 system-ui, -apple-system, sans-serif; opacity: .7; }
.ev-actions { display: flex; gap: 10px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.ev-btn { min-width: 130px; padding: 14px 22px; border-radius: 999px; font: 700 15px system-ui, -apple-system, sans-serif; cursor: pointer; border: 0; transition: transform .2s ease, box-shadow .2s ease; }
.ev-btn:active { transform: scale(.97); }
.ev-primary { background: var(--ev-accent); color: var(--ev-on-accent, #111); box-shadow: 0 10px 30px var(--ev-glow, rgba(0,0,0,.3)); }
.ev-ghost { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .8; }
.ev-replay { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 6; background: none; border: 0; color: rgba(255,255,255,.6); font: 600 12px system-ui, sans-serif; letter-spacing: .08em; cursor: pointer; opacity: 0; transition: opacity .6s ease 1.4s; }
.ev-stage-open .ev-replay { opacity: 1; }
.ev-page-controls { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; gap: 8px; align-items: center; }
.ev-replay-page, .ev-pause-page { padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(10,6,18,.75); color: #fff; font: 700 12px system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s ease, border-color .2s ease; }
.ev-replay-page:hover, .ev-pause-page:hover { background: rgba(24,16,40,.9); border-color: rgba(255,255,255,.55); }

/* ---------- Royal Wax Seal ---------- */
.t-wax { --ev-bg: radial-gradient(120% 90% at 50% 30%, #5c0c25 0%, #2c0511 55%, #120106 100%); --ev-accent: #e8c476; --ev-glow: rgba(232,196,118,.45);
  --ev-card-bg: linear-gradient(160deg, #fbf5e8, #efe2c6); --ev-card-ink: #3a0a17; --ev-card-border: 1px solid #d8b56a; --ev-radius: 6px;
  --ev-card-shadow: 0 0 0 6px #fbf5e8, 0 0 0 7px #c9a24c, 0 40px 90px rgba(0,0,0,.6); --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #3a0a17; }
.t-wax .ev-eyebrow { color: #a8792b; }
.t-wax .ev-rule { background: linear-gradient(90deg, transparent, #c9a24c, transparent); width: 120px; height: 1px; }
.t-wax .ev-title { font-style: italic; font-size: clamp(34px, 10vw, 52px); }
.t-wax .ev-primary { background: linear-gradient(135deg, #f3d58d, #c9a24c); }
.env { position: relative; width: min(86vw, 400px); aspect-ratio: 1.5; transform-style: preserve-3d; transform: translateY(120vh) rotate(-14deg); }
.env.in { animation: envIn 1.25s cubic-bezier(.2,.9,.25,1.08) forwards; }
@keyframes envIn { 0% { transform: translateY(120vh) rotate(-14deg); } 70% { transform: translateY(-14px) rotate(1.5deg); } 100% { transform: translateY(0) rotate(0); } }
.env-back, .env-pocket, .env-flap { position: absolute; inset: 0; border-radius: 8px; }
.env-back { background: linear-gradient(160deg, #f3e7cf, #e0cca5); box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 40px rgba(120,80,30,.15); }
.env-letter { position: absolute; left: 6%; right: 6%; top: 7%; bottom: 7%; border-radius: 4px; z-index: 2;
  background: linear-gradient(170deg, #fffaf0, #f3e8d2); box-shadow: 0 2px 10px rgba(0,0,0,.15);
  display: grid; place-items: center; padding: 10%; text-align: center; color: #3a0a17; font: italic 600 clamp(20px, 6vw, 28px)/1.1 'Cormorant Garamond', Georgia, serif;
  transition: transform 1s cubic-bezier(.2,.8,.2,1), opacity .5s ease; }
.env-pocket { z-index: 3; background: linear-gradient(175deg, #ecdcbc, #d9c296); clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%); box-shadow: inset 0 -20px 40px rgba(120,80,30,.15); }
.env-flap { z-index: 4; background: linear-gradient(180deg, #e9d6b0, #d3b98a); clip-path: polygon(0 0, 100% 0, 50% 60%); transform-origin: 50% 0; transition: transform .75s cubic-bezier(.45,0,.2,1); filter: drop-shadow(0 6px 6px rgba(0,0,0,.2)); }
.env.flap-open .env-flap { transform: rotateX(180deg); z-index: 1; }
.env.letter-up .env-letter { transform: translateY(-62%); }
.env.drop { animation: envDrop .9s cubic-bezier(.5,0,.75,0) forwards; }
@keyframes envDrop { from { transform: translateY(0); opacity: 1; } to { transform: translateY(110vh) rotate(8deg); opacity: 0; } }
.seal { position: absolute; left: 50%; top: 60%; z-index: 5; width: 92px; height: 92px; margin: -46px 0 0 -46px; opacity: 0; }
.seal.in { animation: sealIn .55s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes sealIn { 0% { opacity: 0; transform: scale(2.6) rotate(-20deg); } 100% { opacity: 1; transform: scale(1) rotate(0); } }
.seal-wax { position: absolute; inset: 0; border-radius: 47% 53% 50% 50% / 52% 48% 52% 48%;
  background: radial-gradient(circle at 35% 30%, #d4364a 0%, #9a0f22 45%, #5c0510 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,.5), inset 0 -6px 10px rgba(0,0,0,.35), inset 0 6px 10px rgba(255,140,140,.35), 0 0 0 4px rgba(154,15,34,.55); }
.seal-mark { position: absolute; inset: 14px; border-radius: 50%; border: 2px solid rgba(255,190,170,.35); display: grid; place-items: center;
  font: italic 700 36px/1 'Cormorant Garamond', Georgia, serif; color: #7a0918; text-shadow: 1px 1px 0 rgba(255,170,150,.45), -1px -1px 0 rgba(0,0,0,.35); }
.seal.pulse, .seal.crack { opacity: 1; }
.seal.pulse { animation: sealPulse 1.8s ease-in-out infinite; }
@keyframes sealPulse { 0%,100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(232,196,118,0)); } 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(232,196,118,.55)); } }
.seal.crack { animation: sealCrack .3s linear; }
@keyframes sealCrack { 25% { transform: rotate(-6deg) scale(1.04); } 50% { transform: rotate(5deg); } 75% { transform: rotate(-3deg) scale(1.02); } }
.seal-shard { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d4364a, #9a0f22 45%, #5c0510); transition: transform .9s cubic-bezier(.2,.7,.3,1), opacity .9s ease; }

/* ---------- Golden Toast (champagne) ---------- */
.t-champagne { --ev-bg: radial-gradient(110% 80% at 50% 100%, #3a2a12 0%, #17110a 55%, #070503 100%); --ev-accent: #f6d365; --ev-glow: rgba(246,211,101,.45);
  --ev-card-bg: linear-gradient(165deg, rgba(40,30,16,.85), rgba(14,10,6,.9)); --ev-card-ink: #fbeed0; --ev-card-border: 1px solid rgba(246,211,101,.55);
  --ev-display: 'Playfair Display', Georgia, serif; --ev-display-weight: 800; --ev-on-accent: #2b1d05; }
.t-champagne .ev-title { background: linear-gradient(100deg, #b8862b 0%, #fff1b8 22%, #e0b048 40%, #fff6cf 55%, #b8862b 75%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 3.6s linear infinite; }
@keyframes foil { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.t-champagne .ev-primary { background: linear-gradient(135deg, #fff1b8, #e0b048); }
.bottle { position: absolute; left: 50%; bottom: -6vh; width: min(34vw, 150px); transform: translate(-50%, 70vh) rotate(-18deg); transform-origin: 50% 90%; }
.bottle.in { animation: bottleIn 1.2s cubic-bezier(.2,.9,.3,1.1) forwards; }
@keyframes bottleIn { to { transform: translate(-50%, 0) rotate(-18deg); } }
.bottle.out { animation: bottleOut 1s cubic-bezier(.5,0,.8,.3) forwards; }
@keyframes bottleOut { from { transform: translate(-50%, 0) rotate(-18deg); } to { transform: translate(-50%, 90vh) rotate(-30deg); } }
.bottle svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.cork { transform-box: fill-box; transform-origin: 50% 100%; }
.bottle.wiggle .cork { animation: corkWiggle 1.1s ease-in-out infinite; }
@keyframes corkWiggle { 0%,60%,100% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-3px) rotate(-6deg); } 80% { transform: translateY(-5px) rotate(6deg); } 90% { transform: translateY(-2px) rotate(-3deg); } }
.bottle.popped .cork { transition: transform .9s cubic-bezier(.1,.7,.3,1); transform: translate(60px, -140vh) rotate(900deg); }
.gold-sweep { position: absolute; inset: -20%; z-index: 1; background: linear-gradient(115deg, transparent 40%, rgba(255,230,160,.18) 50%, transparent 60%); transform: translateX(-100%); animation: sweep 3.2s ease-in-out 0.6s infinite; pointer-events: none; }
@keyframes sweep { 0% { transform: translateX(-100%); } 60%,100% { transform: translateX(100%); } }

/* ---------- Mirrorball (disco) ---------- */
.t-disco { --ev-bg: radial-gradient(90% 70% at 50% 18%, #2b0b4f 0%, #12052a 50%, #05010d 100%); --ev-accent: #ff2e93; --ev-glow: rgba(255,46,147,.55);
  --ev-card-bg: rgba(18,5,36,.62); --ev-card-ink: #fff; --ev-card-border: 1px solid rgba(255,255,255,.22);
  --ev-display: 'Shrikhand', Georgia, serif; --ev-display-weight: 400; --ev-on-accent: #fff; }
.t-disco .ev-title { background: linear-gradient(90deg, #ff2e93, #ffd166, #00f0ff, #b388ff, #ff2e93); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 4s linear infinite; filter: drop-shadow(0 4px 18px rgba(255,46,147,.45)); }
.t-disco.ev-stage-open .ev-card.show .ev-card-inner { animation: beat .5s ease-in-out infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.025); } }
.disco-rig { position: absolute; left: 50%; top: 0; z-index: 3; transform: translate(-50%, -80vh); display: flex; flex-direction: column; align-items: center; }
.disco-rig.in { animation: rigIn 1.5s cubic-bezier(.3,1.3,.5,1) forwards; }
@keyframes rigIn { to { transform: translate(-50%, 0); } }
.disco-rig.up { animation: rigUp 1s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes rigUp { from { transform: translate(-50%, 0); } to { transform: translate(-50%, -16vh) scale(.5); } }
.disco-string { width: 2px; height: 22vh; background: linear-gradient(#999, #444); }
.ball { position: relative; width: min(46vw, 210px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 80px rgba(179,136,255,.35), inset -20px -26px 50px rgba(0,0,0,.65); }
.ball-tiles { position: absolute; inset: -2%; width: 200%;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 1px, transparent 1px) 0 0 / 14px 14px,
    linear-gradient(0deg, rgba(0,0,0,.55) 1px, transparent 1px) 0 0 / 14px 14px,
    conic-gradient(from 0deg, #8e8e9a, #e6e6f0, #6b6b78, #fafaff, #9a9aa8, #d0d0dc, #8e8e9a);
  animation: spin 6s linear infinite; }
@keyframes spin { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ball-shade { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.85) 0%, rgba(255,255,255,.15) 18%, transparent 40%), radial-gradient(circle at 50% 50%, transparent 45%, rgba(0,0,0,.65) 100%); }
.glint { position: absolute; width: 18px; height: 18px; background: radial-gradient(#fff, transparent 60%); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); animation: glint 1.6s ease-in-out infinite; }
@keyframes glint { 0%,100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1.2) rotate(45deg); } }
.spot { position: absolute; left: 50%; top: 0; width: 120vmax; height: 120vh; transform: translateX(-50%); background: conic-gradient(from 165deg at 50% 0, transparent 0deg, rgba(255,255,255,.10) 12deg, rgba(255,255,255,.14) 15deg, rgba(255,255,255,.10) 18deg, transparent 30deg); opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.spot.on { opacity: 1; }

/* ---------- After Hours (neon) ---------- */
.t-neon { --ev-bg: linear-gradient(180deg, #05010e 0%, #170630 45%, #3a0a4f 62%, #05010e 62.2%, #05010e 100%); --ev-accent: #00f0ff; --ev-glow: rgba(0,240,255,.55);
  --ev-card-bg: rgba(6,2,16,.9); --ev-card-ink: #e9fdff; --ev-card-border: 1px solid rgba(0,240,255,.6);
  --ev-card-shadow: 0 0 0 1px rgba(255,0,170,.4), 0 0 40px rgba(0,240,255,.35), 0 30px 80px rgba(0,0,0,.6); --ev-display: 'Bungee', Impact, sans-serif; --ev-display-weight: 400; --ev-display-track: 0; --ev-on-accent: #05010e; }
.t-neon .ev-title { color: #fff; text-shadow: 0 0 6px #fff, 0 0 14px #ff2ec4, 0 0 30px #ff2ec4, 0 0 60px #ff2ec4; }
.t-neon .ev-eyebrow { font-family: 'Monoton', sans-serif; font-weight: 400; font-size: 20px; letter-spacing: .12em; color: #00f0ff; text-shadow: 0 0 10px #00f0ff; }
.sun { position: absolute; left: 50%; top: 62%; width: min(70vw, 340px); aspect-ratio: 1; transform: translate(-50%, -100%); border-radius: 50%;
  background: linear-gradient(180deg, #ffd23f 0%, #ff6a3d 45%, #ff2ec4 100%);
  -webkit-mask: linear-gradient(180deg, #000 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 88%, transparent 88%);
          mask: linear-gradient(180deg, #000 52%, transparent 52% 56%, #000 56% 64%, transparent 64% 69%, #000 69% 76%, transparent 76% 82%, #000 82% 88%, transparent 88%);
  filter: drop-shadow(0 0 40px rgba(255,46,196,.6)); opacity: 0; transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.2,.8,.2,1); }
.sun.on { opacity: .9; transform: translate(-50%, -100%) translateY(-2vh); }
.neon-word { position: absolute; top: 15vh; left: 0; right: 0; text-align: center; z-index: 3; font: 400 clamp(38px, 13vw, 76px)/1 'Monoton', sans-serif; color: #ffd6f6; opacity: .12; letter-spacing: .06em; }
.neon-word.on { animation: neonOn 1.2s ease-out forwards; }
@keyframes neonOn {
  0% { opacity: .12; text-shadow: none; }
  100% { opacity: 1; text-shadow: 0 0 8px #fff, 0 0 22px #ff2ec4, 0 0 60px #ff2ec4, 0 0 90px #ff2ec4; }
}
.neon-word.off { animation: none; opacity: 0; transition: opacity .6s ease; }
.ticket { position: relative; z-index: 3; display: flex; width: min(86vw, 380px); height: 150px; margin-top: 10vh; transform: translateY(70vh) rotate(8deg); filter: drop-shadow(0 0 22px rgba(0,240,255,.45)); }
.ticket.in { animation: ticketIn 1s cubic-bezier(.2,.9,.3,1.15) .9s forwards; }
@keyframes ticketIn { to { transform: translateY(0) rotate(-3deg); } }
.ticket-main, .ticket-stub { position: relative; height: 100%; background: linear-gradient(135deg, #12052b, #2a0b52); border: 2px solid #00f0ff; color: #e9fdff; }
.ticket-main { flex: 1; border-right: 0; border-radius: 14px 0 0 14px; padding: 18px 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; text-align: left; transition: transform 1s cubic-bezier(.5,0,.3,1), opacity .8s ease; }
.ticket-stub { width: 92px; border-left: 2px dashed rgba(0,240,255,.8); border-radius: 0 14px 14px 0; display: grid; place-items: center; transition: transform 1.1s cubic-bezier(.4,0,.6,1), opacity .9s ease .2s; transform-origin: 0 100%; }
.ticket-admit { font: 400 22px/1 'Monoton', sans-serif; color: #ff2ec4; text-shadow: 0 0 10px #ff2ec4; letter-spacing: .06em; }
.ticket-title { font: 400 16px/1.15 'Bungee', Impact, sans-serif; color: #fff; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ticket-no { writing-mode: vertical-rl; font: 700 13px/1 ui-monospace, Menlo, monospace; letter-spacing: .3em; color: #00f0ff; }
.ticket.torn .ticket-stub { transform: rotate(32deg) translate(40px, 110vh); opacity: 0; }
.ticket.torn .ticket-main { transform: translateY(-30vh) scale(.9); opacity: 0; }
.ev-glitch { animation: none; }

/* ---------- Garden (botanical) ---------- */
.t-garden { --ev-bg: radial-gradient(120% 90% at 50% 20%, #fbe3e8 0%, #f2c9d4 35%, #b77898 75%, #6b3a5c 100%); --ev-accent: #c4577b; --ev-glow: rgba(196,87,123,.35);
  --ev-card-bg: rgba(255,250,246,.88); --ev-card-ink: #3d2233; --ev-card-border: 1px solid rgba(196,87,123,.3); --ev-radius: 28px;
  --ev-display: 'Fraunces', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #fff; }
.t-garden .ev-title { font-style: italic; color: #6b2448; }
.t-garden .ev-hint { color: #fff; text-shadow: 0 1px 10px rgba(107,36,72,.6); }
.vines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; transition: opacity 1.2s ease; }
.vines path.vine { fill: none; stroke: #4f7a52; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.vines.grow path.vine { animation: draw 2.4s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.vines .leaf, .vines .bloom { transform-box: fill-box; transform-origin: center; transform: scale(0); }
.vines.grow .leaf { animation: pop .6s cubic-bezier(.3,1.6,.5,1) forwards; }
.vines.grow .bloom { animation: pop .8s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes pop { to { transform: scale(1); } }
.vines.fade { opacity: 0; }
.bud { position: relative; z-index: 3; width: min(60vw, 260px); aspect-ratio: 1; transform: scale(0); }
.bud.in { animation: budIn 1s cubic-bezier(.3,1.5,.5,1) 1.4s forwards; }
@keyframes budIn { to { transform: scale(1); } }
.bud.sway svg { animation: budSway 3s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes budSway { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.bud svg { width: 100%; height: 100%; overflow: visible; }
.petal { transform-box: view-box; transform-origin: 100px 100px; transition: transform 1.1s cubic-bezier(.2,.9,.3,1.2); }
.bud.bloom .petal { transform: rotate(var(--r)) translateY(-26px) scale(1.55, 1.25); }
.bud.burst { animation: budBurst .9s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes budBurst { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }

/* ---------- Northern Lights (aurora) ---------- */
.t-aurora { --ev-bg: linear-gradient(180deg, #01030c 0%, #04102a 55%, #0b2343 100%); --ev-accent: #38f9d7; --ev-glow: rgba(56,249,215,.5);
  --ev-card-bg: rgba(4,12,32,.55); --ev-card-ink: #e9fbff; --ev-card-border: 1px solid rgba(56,249,215,.35);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #031018; }
.t-aurora .ev-title { text-shadow: 0 0 22px rgba(56,249,215,.55); font-size: clamp(34px, 10vw, 52px); }
.t-aurora .ev-title span { opacity: 0; display: inline-block; filter: blur(8px); transition: opacity .6s ease, filter .8s ease; }
.t-aurora .ev-card.show .ev-title span { opacity: 1; filter: none; }
.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34vh; z-index: 3; transform: translateY(40%); transition: transform 2s cubic-bezier(.2,.8,.2,1); }
.mountains.in { transform: translateY(0); }
.wish { position: relative; z-index: 4; width: 64px; height: 64px; opacity: 0; transform: scale(.2); transition: opacity 1s ease 1.8s, transform 1.2s cubic-bezier(.3,1.6,.5,1) 1.8s; }
.wish.in { opacity: 1; transform: scale(1); }
.wish::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle, #fff 0 8%, rgba(180,255,240,.8) 14%, rgba(56,249,215,.25) 34%, transparent 62%); animation: wish 2.4s ease-in-out infinite; }
.wish::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(90deg, transparent 49%, rgba(255,255,255,.8) 50%, transparent 51%), linear-gradient(0deg, transparent 49%, rgba(255,255,255,.8) 50%, transparent 51%); -webkit-mask: radial-gradient(circle, #000 0, transparent 60%); mask: radial-gradient(circle, #000 0, transparent 60%); animation: wish 2.4s ease-in-out infinite; }
@keyframes wish { 0%,100% { transform: scale(.85) rotate(0); opacity: .8; } 50% { transform: scale(1.15) rotate(20deg); opacity: 1; } }
.wish.go { transition: transform 1.1s cubic-bezier(.5,0,.7,.4), opacity .4s ease .8s; transform: translate(70vw, -60vh) scale(.5); opacity: 0; }

/* ---------- Premiere (movie night) ---------- */
.t-premiere { --ev-bg: radial-gradient(90% 70% at 50% 40%, #1d1712 0%, #0a0806 70%, #000 100%); --ev-accent: #e6b450; --ev-glow: rgba(230,180,80,.45);
  --ev-card-bg: linear-gradient(170deg, rgba(20,14,8,.88), rgba(6,4,2,.92)); --ev-card-ink: #f5e6c4; --ev-card-border: 1px solid rgba(230,180,80,.5); --ev-radius: 4px;
  --ev-display: 'Bebas Neue', Impact, sans-serif; --ev-display-weight: 400; --ev-display-track: .03em; --ev-on-accent: #1a1206; }
.t-premiere .ev-title { font-size: clamp(46px, 15vw, 78px); line-height: .92; color: #f8e7bd; text-shadow: 0 2px 0 #7a5410, 0 0 30px rgba(230,180,80,.35); }
.t-premiere .ev-title.long { font-size: clamp(34px, 10vw, 52px); }
.clap { position: relative; z-index: 3; width: min(76vw, 320px); transform: translateY(-90vh) rotate(-10deg); }
.clap.in { animation: clapIn 1.1s cubic-bezier(.2,.9,.3,1.15) .3s forwards; }
@keyframes clapIn { to { transform: translateY(0) rotate(-4deg); } }
.clap-arm { height: 46px; border-radius: 6px 6px 0 0; background: repeating-linear-gradient(-55deg, #111 0 26px, #f2f2f2 26px 52px); transform-origin: 6px 100%; transform: rotate(-28deg); box-shadow: 0 4px 10px rgba(0,0,0,.5); transition: transform .14s cubic-bezier(.7,0,1,1); }
.clap.snap .clap-arm { transform: rotate(0); }
.clap-body { position: relative; padding: 18px 18px 22px; background: #141414; border-radius: 0 0 8px 8px; border-top: 8px solid; border-image: repeating-linear-gradient(55deg, #111 0 26px, #f2f2f2 26px 52px) 8; color: #f2f2f2; box-shadow: 0 30px 60px rgba(0,0,0,.6); font: 600 13px/1.6 ui-monospace, Menlo, monospace; }
.clap-body b { display: block; font: 400 28px/1.05 'Bebas Neue', Impact, sans-serif; letter-spacing: .03em; margin: 6px 0 10px; color: #fff; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.clap.out { animation: clapOut .7s cubic-bezier(.6,0,.4,1) forwards; }
@keyframes clapOut { from { transform: translateY(0) rotate(-4deg); opacity: 1; } to { transform: translateY(100vh) rotate(12deg); opacity: 0; } }
.leader { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: radial-gradient(circle, #b9ad92 0%, #6e6552 70%, #2a261e 100%); opacity: 0; pointer-events: none; }
.leader.on { opacity: 1; }
.leader-ring { position: absolute; width: min(70vmin, 420px); aspect-ratio: 1; border-radius: 50%; border: 3px solid rgba(255,255,255,.75); box-shadow: 0 0 0 14px rgba(0,0,0,.08), inset 0 0 0 30px rgba(255,255,255,.08); }
.leader-sweep { position: absolute; width: min(70vmin, 420px); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(rgba(0,0,0,.35) var(--a, 0deg), transparent 0); }
.leader-cross { position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(0,0,0,.6) calc(50% - 1px) calc(50% + 1px), transparent 0), linear-gradient(0deg, transparent calc(50% - 1px), rgba(0,0,0,.6) calc(50% - 1px) calc(50% + 1px), transparent 0); }
.leader-num { position: relative; font: 400 min(42vmin, 260px)/1 'Bebas Neue', Impact, sans-serif; color: #1b1914; }
.searchlights { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.searchlights.on { opacity: 1; }
.searchlights i { position: absolute; bottom: -10vh; width: 30vw; height: 140vh; background: linear-gradient(0deg, rgba(255,236,190,.28), transparent 85%); clip-path: polygon(46% 100%, 54% 100%, 100% 0, 0 0); transform-origin: 50% 100%; }
.searchlights i:nth-child(1) { left: 5vw; animation: sweepL 4s ease-in-out infinite alternate; }
.searchlights i:nth-child(2) { right: 5vw; animation: sweepR 4.6s ease-in-out infinite alternate; }
@keyframes sweepL { from { transform: rotate(-30deg); } to { transform: rotate(20deg); } }
@keyframes sweepR { from { transform: rotate(30deg); } to { transform: rotate(-22deg); } }

/* ---------- Scratch & Reveal ---------- */
.t-scratch { --ev-bg: radial-gradient(120% 90% at 50% 10%, #3b1166 0%, #1d0838 55%, #0b0318 100%); --ev-accent: #ffcf4a; --ev-glow: rgba(255,207,74,.45);
  --ev-card-bg: linear-gradient(165deg, #fff, #fff3f8); --ev-card-ink: #1d1030; --ev-card-border: 0; --ev-radius: 22px;
  --ev-display: 'DM Serif Display', Georgia, serif; --ev-display-weight: 400; --ev-on-accent: #1d1030; }
.t-scratch .ev-eyebrow { color: #c9003c; }
.t-scratch .ev-title { color: #3b1166; }
.t-scratch .ev-card { transition: opacity .6s ease, transform 1s cubic-bezier(.3,1.4,.5,1); }
.t-scratch .ev-card.flipin { opacity: 1; pointer-events: auto; animation: flipIn 1.1s cubic-bezier(.2,.9,.3,1.15) both; }
@keyframes flipIn { from { transform: translate(-50%, -50%) rotateY(180deg) scale(.6); } to { transform: translate(-50%, -50%) rotateY(0) scale(1); } }
.t-scratch .ev-card.flipin .ev-line { opacity: 1; transform: none; transition: none; }
.scratch-foil { position: absolute; inset: 0; z-index: 3; border-radius: 22px; touch-action: none; cursor: grab; transition: opacity .7s ease; pointer-events: auto !important; }
.scratch-foil.cleared { opacity: 0; pointer-events: none !important; }

/* ---------- Fireworks ---------- */
.t-fireworks { --ev-bg: linear-gradient(180deg, #02020a 0%, #0a0f2e 60%, #1b1440 100%); --ev-accent: #ffd166; --ev-glow: rgba(255,209,102,.5);
  --ev-card-bg: rgba(8,10,30,.6); --ev-card-ink: #fff; --ev-card-border: 1px solid rgba(255,209,102,.4);
  --ev-display: 'DM Serif Display', Georgia, serif; --ev-display-weight: 400; --ev-on-accent: #1b1440; }
.t-fireworks .ev-title { text-shadow: 0 0 24px rgba(255,209,102,.5); }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26vh; z-index: 3; }

@media (prefers-reduced-motion: reduce) {
  .ev-scene *, .ev-hint.on, .ev-title, .gold-sweep, .searchlights i {
    animation: none !important;
    transition: opacity .2s ease, color .2s ease, background-color .2s ease !important;
  }
  .ev-card, .ev-line {
    transition: opacity .25s ease !important;
    transform: translate(-50%, -50%) scale(1);
  }
  .ev-line { transform: none !important; }
}

/* =====================================================================
   Occasion templates: birthday, wedding, anniversary, baby shower, NYE
   ===================================================================== */

/* ---------- Make a Wish (birthday cake) ---------- */
.t-cake { --ev-bg: radial-gradient(110% 80% at 50% 35%, #ffd6e4 0%, #ff8fb1 45%, #a3305f 85%, #5c1235 100%); --ev-accent: #ff4f8b; --ev-glow: rgba(255,79,139,.45);
  --ev-card-bg: linear-gradient(170deg, #fffaf3, #ffeef4); --ev-card-ink: #4a1630; --ev-card-border: 0; --ev-radius: 26px;
  --ev-display: 'Lilita One', 'Arial Rounded MT Bold', sans-serif; --ev-display-weight: 400; --ev-display-track: .01em; --ev-on-accent: #fff; }
.t-cake .ev-title { color: #e2336f; text-shadow: 0 3px 0 #ffd0de; }
.t-cake .ev-hint { color: #fff; text-shadow: 0 1px 12px rgba(120,20,60,.6); }
.cake { position: relative; z-index: 3; width: min(78vw, 330px); transform: translateY(80vh); }
.cake.in { animation: cakeIn 1.1s cubic-bezier(.2,.9,.3,1.15) .2s forwards; }
@keyframes cakeIn { to { transform: translateY(4vh); } }
.cake.out { animation: cakeOut .9s cubic-bezier(.6,0,.4,1) forwards; }
@keyframes cakeOut { from { transform: translateY(4vh); } to { transform: translateY(90vh); } }
.cake svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 26px 30px rgba(90,10,40,.45)); }
.flame { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.cake.lit .flame { transform: scale(1); animation: flick .18s ease-in-out infinite alternate; }
@keyframes flick { from { transform: scale(1, 1) rotate(-4deg); } to { transform: scale(.88, 1.14) rotate(4deg); } }
.cake.blown .flame { animation: none; transform: scale(0); transition: transform .18s ease-in; }
.flame-glow { opacity: 0; transition: opacity .4s ease; }
.cake.lit .flame-glow { opacity: 1; }
.cake.blown .flame-glow { opacity: 0; }

/* ---------- Balloon Pop ---------- */
.t-balloons { --ev-bg: linear-gradient(180deg, #7cc8ff 0%, #a9dcff 45%, #ffd8ec 100%); --ev-accent: #ff5a6e; --ev-glow: rgba(255,90,110,.4);
  --ev-card-bg: #fff; --ev-card-ink: #24304a; --ev-card-border: 0; --ev-radius: 26px; --ev-card-shadow: 0 30px 70px rgba(40,70,120,.35);
  --ev-display: 'Lilita One', 'Arial Rounded MT Bold', sans-serif; --ev-display-weight: 400; --ev-on-accent: #fff; }
.t-balloons .ev-title { color: #ff5a6e; }
.t-balloons .ev-hint { color: #fff; text-shadow: 0 1px 10px rgba(30,60,120,.5); }
.t-balloons .ev-skip { color: #24304a; border-color: rgba(36,48,74,.25); background: rgba(255,255,255,.5); }
.bal-cluster { position: absolute; inset: 0; z-index: 3; }
.bal { position: absolute; width: var(--w, 76px); height: calc(var(--w, 76px) * 1.2); margin: calc(var(--w, 76px) * -.6) 0 0 calc(var(--w, 76px) * -.5);
  border-radius: 50% 50% 47% 47% / 56% 56% 44% 44%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.85) 0 7%, rgba(255,255,255,0) 22%), radial-gradient(circle at 50% 45%, var(--c) 0 55%, color-mix(in srgb, var(--c) 70%, #000) 100%);
  box-shadow: inset -8px -10px 18px rgba(0,0,0,.18); transform: translateY(110vh); cursor: pointer; }
.bal::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 9px; margin-left: -6px; background: color-mix(in srgb, var(--c) 80%, #000); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.bal i { position: absolute; left: 50%; top: 100%; width: 1.5px; height: 120px; margin-top: 2px; background: rgba(255,255,255,.75); transform-origin: top; animation: string 2.4s ease-in-out infinite alternate; }
@keyframes string { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.bal.in { animation: balIn 1.6s cubic-bezier(.2,.8,.3,1) var(--d, 0s) forwards, bob 3s ease-in-out calc(var(--d, 0s) + 1.6s) infinite alternate; }
@keyframes balIn { from { transform: translateY(110vh); } to { transform: translateY(0); } }
@keyframes bob { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-14px) rotate(3deg); } }
.bal.popped { animation: pop2 .16s ease-out forwards !important; pointer-events: none; }
@keyframes pop2 { to { transform: scale(1.5); opacity: 0; } }

/* ---------- Gold Rings (wedding) ---------- */
.t-rings { --ev-bg: radial-gradient(110% 80% at 50% 35%, #fffaf1 0%, #f6ead5 50%, #e4cfa9 100%); --ev-accent: #b8862b; --ev-glow: rgba(184,134,43,.35);
  --ev-card-bg: rgba(255,253,248,.92); --ev-card-ink: #4a3a22; --ev-card-border: 1px solid rgba(184,134,43,.45); --ev-radius: 4px;
  --ev-card-shadow: 0 0 0 8px rgba(255,253,248,.7), 0 0 0 9px rgba(184,134,43,.35), 0 30px 70px rgba(120,90,40,.25);
  --ev-display: 'Great Vibes', 'Snell Roundhand', cursive; --ev-display-weight: 400; --ev-display-track: 0; --ev-on-accent: #fff; }
.t-rings .ev-title { font-size: clamp(42px, 13vw, 64px); line-height: 1.05; color: #7a5a1c; }
.t-rings .ev-title.long { font-size: clamp(34px, 10vw, 48px); }
.t-rings .ev-eyebrow { color: #9c7a3c; }
.t-rings .ev-rule { background: linear-gradient(90deg, transparent, #b8862b, transparent); width: 140px; height: 1px; }
.t-rings .ev-primary { background: linear-gradient(135deg, #d9b56a, #a8792b); }
.t-rings .ev-skip, .t-rings .ev-replay { color: #6b5428; border-color: rgba(107,84,40,.3); background: rgba(255,255,255,.4); }
.t-rings .ev-hint { color: #8a6a2c; }
.rings { position: relative; z-index: 3; width: min(80vw, 340px); height: 180px; }
.ring { position: absolute; top: 0; width: 160px; height: 160px; left: 50%; margin-left: -80px; }
.ring svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 14px 16px rgba(120,80,20,.35)); }
.ring.l { transform: translateX(-70vw) rotateY(0); }
.ring.r { transform: translateX(70vw) rotateY(0); }
.rings.in .ring.l { animation: ringInL 1.6s cubic-bezier(.2,.8,.2,1) .2s forwards; }
.rings.in .ring.r { animation: ringInR 1.6s cubic-bezier(.2,.8,.2,1) .35s forwards; }
@keyframes ringInL { to { transform: translateX(-62px) rotateY(720deg); } }
@keyframes ringInR { to { transform: translateX(62px) rotateY(-720deg); } }
.rings.join .ring.l { animation: joinL .7s cubic-bezier(.5,0,.2,1.3) forwards; }
.rings.join .ring.r { animation: joinR .7s cubic-bezier(.5,0,.2,1.3) forwards; }
@keyframes joinL { from { transform: translateX(-62px); } to { transform: translateX(-34px) rotate(-8deg); } }
@keyframes joinR { from { transform: translateX(62px); } to { transform: translateX(34px) rotate(8deg); } }
.rings.up { animation: ringsUp 1s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes ringsUp { to { transform: translateY(-34vh) scale(.45); opacity: .9; } }

/* ---------- Love Lanterns (anniversary) ---------- */
.t-lanterns { --ev-bg: linear-gradient(180deg, #0b0d2a 0%, #1d1747 45%, #5a2d5e 78%, #c4614e 100%); --ev-accent: #ffb86b; --ev-glow: rgba(255,184,107,.5);
  --ev-card-bg: rgba(20,14,40,.7); --ev-card-ink: #fff3e3; --ev-card-border: 1px solid rgba(255,184,107,.45);
  --ev-display: 'Playfair Display', Georgia, serif; --ev-display-weight: 700; --ev-on-accent: #2a1408; }
.t-lanterns .ev-title { font-style: italic; text-shadow: 0 0 24px rgba(255,184,107,.45); }
.lantern-hero { position: relative; z-index: 3; width: 92px; height: 120px; transform: translateY(60vh); }
.lantern-hero.in { animation: lanIn 1.8s cubic-bezier(.2,.8,.3,1) .4s forwards, lanBob 3.4s ease-in-out 2.2s infinite alternate; }
@keyframes lanIn { to { transform: translateY(6vh); } }
@keyframes lanBob { from { transform: translateY(6vh) rotate(-2deg); } to { transform: translateY(4vh) rotate(2deg); } }
.lantern-hero.go { animation: lanGo 2.2s cubic-bezier(.4,0,.6,1) forwards; }
@keyframes lanGo { from { transform: translateY(5vh); opacity: 1; } to { transform: translateY(-75vh) scale(.5); opacity: 0; } }
.lantern-body { position: absolute; inset: 0; clip-path: polygon(14% 0, 86% 0, 100% 88%, 0 88%); border-radius: 10px;
  background: radial-gradient(circle at 50% 70%, #fff3c4 0%, #ffcf7a 30%, #ff8f43 75%, #d4552a 100%); box-shadow: 0 0 60px 20px rgba(255,160,80,.45); }
.lantern-hero::before { content: ''; position: absolute; inset: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(255,170,90,.45), transparent 62%); animation: lanGlow 2s ease-in-out infinite alternate; }
@keyframes lanGlow { from { opacity: .7; } to { opacity: 1; } }
.lantern-heart { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); font-size: 30px; color: #c2361f; text-shadow: 0 0 10px rgba(255,240,200,.8); }
.lantern-base { position: absolute; left: 22%; right: 22%; bottom: 6%; height: 6%; background: #5a2a14; border-radius: 3px; }

/* ---------- Oh Baby (baby shower) ---------- */
.t-baby { --ev-bg: linear-gradient(180deg, #cfe7ff 0%, #e8e3ff 45%, #ffe1ef 80%, #fff3d9 100%); --ev-accent: #7aa8ff; --ev-glow: rgba(122,168,255,.4);
  --ev-card-bg: rgba(255,255,255,.92); --ev-card-ink: #39406b; --ev-card-border: 0; --ev-radius: 30px; --ev-card-shadow: 0 30px 70px rgba(90,100,170,.25);
  --ev-display: 'Fredoka', 'Arial Rounded MT Bold', sans-serif; --ev-display-weight: 600; --ev-on-accent: #fff; }
.t-baby .ev-title { color: #5b6bd6; }
.t-baby .ev-eyebrow { color: #ff8fb6; }
.t-baby .ev-hint { color: #5b6bd6; text-shadow: 0 1px 8px rgba(255,255,255,.8); }
.t-baby .ev-skip, .t-baby .ev-replay { color: #39406b; border-color: rgba(57,64,107,.2); background: rgba(255,255,255,.5); }
.gift { position: relative; z-index: 3; width: min(50vw, 190px); height: min(42vw, 160px); transform: translateY(-90vh) rotate(-8deg); }
.gift.in { animation: giftIn 1.1s cubic-bezier(.3,1.4,.5,1) .3s forwards; }
@keyframes giftIn { to { transform: translateY(0) rotate(0); } }
.gift.wiggle { animation: giftWig 1.6s ease-in-out infinite; }
@keyframes giftWig { 0%,70%,100% { transform: rotate(0); } 76% { transform: rotate(-5deg); } 82% { transform: rotate(5deg); } 88% { transform: rotate(-3deg); } 94% { transform: rotate(2deg); } }
.gift-box { position: absolute; left: 6%; right: 6%; bottom: 0; height: 74%; border-radius: 10px;
  background: linear-gradient(90deg, transparent 43%, #ffd36b 43% 57%, transparent 57%), linear-gradient(160deg, #b9dcff, #8fc2ff); box-shadow: 0 24px 40px rgba(90,110,180,.35), inset 0 -14px 20px rgba(60,90,160,.15); }
.gift-lid { position: absolute; left: 0; right: 0; top: 4%; height: 26%; border-radius: 10px; z-index: 2;
  background: linear-gradient(90deg, transparent 42%, #ffcf5a 42% 58%, transparent 58%), linear-gradient(160deg, #cfe6ff, #a5ceff); box-shadow: 0 6px 12px rgba(60,90,160,.25); }
.gift-lid::before, .gift-lid::after { content: ''; position: absolute; top: -34px; width: 46px; height: 40px; border: 9px solid #ffcf5a; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.gift-lid::before { left: calc(50% - 46px); transform: rotate(-24deg); }
.gift-lid::after { left: 50%; transform: rotate(24deg); }
.gift.open .gift-lid { animation: lidOff .9s cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes lidOff { to { transform: translate(40px, -70vh) rotate(220deg); } }
.gift.gone { animation: giftGone .7s ease .5s forwards; }
@keyframes giftGone { from { transform: none; opacity: 1; } to { transform: translateY(30vh) scale(.8); opacity: 0; } }

/* ---------- Midnight Drop (New Year) ---------- */
.t-midnight { --ev-bg: radial-gradient(100% 70% at 50% 20%, #1a2a6c 0%, #0b1238 45%, #03040f 100%); --ev-accent: #f7d774; --ev-glow: rgba(247,215,116,.5);
  --ev-card-bg: rgba(6,8,26,.7); --ev-card-ink: #f4f1ff; --ev-card-border: 1px solid rgba(247,215,116,.45);
  --ev-display: 'Playfair Display', Georgia, serif; --ev-display-weight: 800; --ev-on-accent: #1a1404; }
.t-midnight .ev-title { background: linear-gradient(100deg, #c9c9d6 0%, #ffffff 22%, #f7d774 42%, #fff6cf 58%, #c9c9d6 78%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 3.6s linear infinite; }
.drop-rig { position: absolute; left: 50%; top: 6vh; z-index: 3; width: 4px; height: 52vh; margin-left: -2px; background: linear-gradient(#e6e6f0, #8a8aa0); border-radius: 2px; opacity: 0; transition: opacity 1s ease; }
.drop-rig.on { opacity: 1; }
.drop-ball { position: absolute; left: 50%; top: 0; width: min(28vw, 116px); aspect-ratio: 1; transform: translate(-50%, -30%); border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.95) 0 6%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 50% 50%, transparent 46%, rgba(10,14,40,.55) 100%),
    linear-gradient(90deg, rgba(40,50,110,.35) 1px, transparent 1px) 0 0 / 12px 12px,
    linear-gradient(0deg, rgba(40,50,110,.35) 1px, transparent 1px) 0 0 / 12px 12px,
    conic-gradient(from 20deg, #fff6cf, #f7d774, #ffffff, #bfe3ff, #ffffff, #ffd6ee, #f7d774, #fff6cf);
  box-shadow: 0 0 40px 10px rgba(247,215,116,.55), 0 0 90px 30px rgba(126,200,255,.3), inset -12px -14px 26px rgba(0,0,0,.35); animation: ballSpin 2.4s ease-in-out infinite; }
@keyframes ballSpin { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.18) saturate(1.2); } }
.drop-ball.fall { transition: transform 3s cubic-bezier(.45,0,.55,1); transform: translate(-50%, 49vh); }
.drop-count { position: absolute; left: 0; right: 0; bottom: 14vh; z-index: 4; text-align: center; font: 800 min(36vw, 200px)/1 'Playfair Display', Georgia, serif; color: #fff; text-shadow: 0 0 30px rgba(247,215,116,.7); opacity: 0; }
.drop-count.tick { animation: tick .9s cubic-bezier(.2,.9,.3,1) forwards; }
@keyframes tick { 0% { opacity: 0; transform: scale(2.2); } 25% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: scale(.85); } }

/* =====================================================================
   Showstopper New Year, Birthday & Wedding Templates (v4)
   ===================================================================== */

/* ---------- Grand Clockwork Midnight (New Year) ---------- */
.t-clock { --ev-bg: radial-gradient(105% 80% at 50% 25%, #2b200b 0%, #10132e 48%, #040510 100%); --ev-accent: #f5d061; --ev-glow: rgba(245,208,97,.55);
  --ev-card-bg: linear-gradient(165deg, rgba(16,18,42,.88), rgba(6,7,18,.94)); --ev-card-ink: #fdf6e2; --ev-card-border: 1px solid rgba(245,208,97,.55);
  --ev-card-shadow: 0 0 0 4px rgba(10,12,28,.9), 0 0 0 5px rgba(245,208,97,.35), 0 35px 90px rgba(0,0,0,.75);
  --ev-display: 'Cinzel Decorative', 'Playfair Display', Georgia, serif; --ev-display-weight: 700; --ev-on-accent: #171103; }
.t-clock .ev-title { background: linear-gradient(100deg, #b8862b 0%, #fff6d1 24%, #f5d061 44%, #ffffff 56%, #c99738 80%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 3.8s linear infinite; }
.clock-rig { position: relative; z-index: 3; width: min(74vw, 310px); aspect-ratio: 1; transform: translateY(85vh) scale(.82); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.15); transition-timing-function: var(--ev-spring); }
.clock-rig.in { transform: translateY(0) scale(1); }
.clock-rig.shatter { transition: transform .55s ease-in, opacity .45s ease; transform: scale(1.38); opacity: 0; pointer-events: none; }
.clock-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 25px 50px rgba(0,0,0,.7)); }
.clock-gear { transform-box: fill-box; transform-origin: center; }
.clock-gear.g1 { animation: spinCw 18s linear infinite; }
.clock-gear.g2 { animation: spinCcw 12s linear infinite; }
@keyframes spinCw { to { transform: rotate(360deg); } }
@keyframes spinCcw { to { transform: rotate(-360deg); } }
.clock-hand { transform-origin: 150px 150px; transition: transform .28s cubic-bezier(.3,1.5,.5,1); }
.clock-wave { position: absolute; inset: 10%; border-radius: 50%; border: 3px solid #fff4c2; box-shadow: 0 0 35px #f5d061, inset 0 0 25px #f5d061; opacity: 0; transform: scale(.3); pointer-events: none; }
.clock-rig.strike .clock-wave { animation: clockWave .75s ease-out forwards; }
@keyframes clockWave { 0% { opacity: 1; transform: scale(.35); } 100% { opacity: 0; transform: scale(2.4); } }
.clock-year { position: absolute; top: 11vh; left: 0; right: 0; z-index: 4; text-align: center; font: 700 clamp(44px, 14vw, 82px)/1 'Cinzel Decorative', Georgia, serif; letter-spacing: .12em; color: #fff8dc; text-shadow: 0 0 14px #f5d061, 0 0 40px rgba(245,208,97,.8); opacity: 0; transform: translateY(16px) scale(.85); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.9,.3,1.15); transition-timing-function: var(--ev-spring); pointer-events: none; }
.clock-year.on { opacity: 1; transform: translateY(0) scale(1); }
.clock-year.fade { opacity: .22; transform: translateY(-4vh) scale(.78); }

/* ---------- Gatsby Coupe Tower (New Year) ---------- */
.t-tower { --ev-bg: radial-gradient(110% 85% at 50% 85%, #33240d 0%, #140f07 52%, #050402 100%); --ev-accent: #f7d774; --ev-glow: rgba(247,215,116,.5);
  --ev-card-bg: linear-gradient(165deg, rgba(24,18,10,.9), rgba(8,6,3,.94)); --ev-card-ink: #fdf3dc; --ev-card-border: 1px solid rgba(247,215,116,.6); --ev-radius: 8px;
  --ev-card-shadow: 0 0 0 5px rgba(18,13,6,.95), 0 0 0 6px rgba(247,215,116,.4), 0 35px 85px rgba(0,0,0,.75);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 700; --ev-on-accent: #1d1404; }
.t-tower .ev-title { font-style: italic; background: linear-gradient(100deg, #c99e3b 0%, #fff6cf 26%, #f7d774 48%, #ffffff 60%, #b8862b 84%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 3.6s linear infinite; }
.tower-wrap { position: relative; z-index: 3; width: min(84vw, 350px); transform: translateY(85vh); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12); transition-timing-function: var(--ev-spring); }
.tower-wrap.in { transform: translateY(2vh); }
.tower-wrap.out { transition: transform .85s cubic-bezier(.55,0,.35,1), opacity .65s ease; transform: translateY(90vh) scale(.92); opacity: 0; }
.tower-wrap svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 24px 42px rgba(0,0,0,.65)); }
.tower-bottle { transform-origin: 245px 42px; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.tower-wrap.pour .tower-bottle { transform: translate(-18px, 6px) rotate(-32deg); }
.pour-stream { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset .45s ease-out; }
.tower-wrap.pour .pour-stream.s0 { stroke-dashoffset: 0; }
.tower-wrap.tier2 .pour-stream.s1 { stroke-dashoffset: 0; }
.tower-wrap.tier3 .pour-stream.s2 { stroke-dashoffset: 0; }
.tower-wrap.tier4 .pour-stream.s3 { stroke-dashoffset: 0; }
.tier-fill { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .48s ease-out; }
.tower-wrap.tier1 .tier-fill.t1 { transform: scaleY(1); }
.tower-wrap.tier2 .tier-fill.t2 { transform: scaleY(1); }
.tower-wrap.tier3 .tier-fill.t3 { transform: scaleY(1); }
.tower-wrap.tier4 .tier-fill.t4 { transform: scaleY(1); }

/* ---------- Piñata Fiesta (Birthday) ---------- */
.t-pinata { --ev-bg: radial-gradient(110% 85% at 50% 25%, #5b166b 0%, #2a0a3d 55%, #11031c 100%); --ev-accent: #ffbe0b; --ev-glow: rgba(255,190,11,.5);
  --ev-card-bg: linear-gradient(168deg, #fffdf9, #fff2fa); --ev-card-ink: #2b0938; --ev-card-border: 0; --ev-radius: 28px;
  --ev-card-shadow: 0 30px 80px rgba(0,0,0,.55);
  --ev-display: 'Fredoka', 'Arial Rounded MT Bold', sans-serif; --ev-display-weight: 700; --ev-on-accent: #240630; }
.t-pinata .ev-title { color: #ff006e; text-shadow: 0 3px 0 #ffd166, 0 6px 18px rgba(255,0,110,.25); }
.t-pinata .ev-eyebrow { color: #8338ec; }
.pinata-rig { position: relative; z-index: 3; width: min(76vw, 310px); aspect-ratio: 1; transform-origin: 50% -25vh; transform: translateY(-100vh) rotate(-14deg); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.15); transition-timing-function: var(--ev-spring); cursor: pointer; }
.pinata-rig.in { transform: translateY(0) rotate(0deg); }
.pinata-rig.sway { animation: pinataSway 2.4s ease-in-out infinite alternate; }
@keyframes pinataSway { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }
.pinata-rig.hit1 { animation: pinataHit1 .45s ease-out forwards; }
@keyframes pinataHit1 { 0% { transform: rotate(0); } 30% { transform: rotate(22deg) scale(1.06, .94); } 65% { transform: rotate(-14deg); } 100% { transform: rotate(5deg); } }
.pinata-rig.hit2 { animation: pinataHit2 .45s ease-out forwards; }
@keyframes pinataHit2 { 0% { transform: rotate(5deg); } 30% { transform: rotate(-26deg) scale(.93, 1.07); } 65% { transform: rotate(16deg); } 100% { transform: rotate(-6deg); } }
.pinata-rig.pop { transition: transform .22s ease-out, opacity .2s ease; transform: scale(1.45); opacity: 0; pointer-events: none; }
.pinata-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 36px rgba(0,0,0,.5)); }
.pinata-crack { opacity: 0; transition: opacity .15s ease; }
.pinata-rig.c1 .pinata-crack.k1, .pinata-rig.c2 .pinata-crack.k2 { opacity: 1; }

/* ---------- VIP Velvet Rope (Birthday) ---------- */
.t-vip { --ev-bg: radial-gradient(100% 80% at 50% 20%, #46091d 0%, #19040e 52%, #060104 100%); --ev-accent: #f5c85b; --ev-glow: rgba(245,200,91,.5);
  --ev-card-bg: linear-gradient(160deg, rgba(18,12,16,.92), rgba(6,4,6,.96)); --ev-card-ink: #fdf5e6; --ev-card-border: 1px solid rgba(245,200,91,.6); --ev-radius: 18px;
  --ev-card-shadow: 0 0 0 1px rgba(255,46,120,.3), 0 0 50px rgba(245,200,91,.28), 0 35px 85px rgba(0,0,0,.75);
  --ev-display: 'Syne', 'Arial Black', sans-serif; --ev-display-weight: 800; --ev-on-accent: #1a1002; }
.t-vip .ev-title { background: linear-gradient(100deg, #c99738 0%, #fff4cc 28%, #f5c85b 48%, #ffffff 60%, #b88228 85%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 3.6s linear infinite; }
.vip-stage { position: relative; z-index: 3; width: min(88vw, 370px); height: 260px; transform: translateY(80vh); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12); transition-timing-function: var(--ev-spring); }
.vip-stage.in { transform: translateY(4vh); }
.vip-stage svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 25px 38px rgba(0,0,0,.65)); }
.vip-rope-group { transform-origin: 62px 86px; transition: transform .95s cubic-bezier(.3,1.3,.5,1); transition-timing-function: var(--ev-bounce); }
.vip-stage.unhook .vip-rope-group { transform: rotate(66deg); }
.vip-post-l, .vip-post-r { transition: transform .9s cubic-bezier(.5,0,.2,1), opacity .75s ease; }
.vip-stage.part .vip-post-l { transform: translateX(-55vw) rotate(-10deg); opacity: 0; }
.vip-stage.part .vip-post-r { transform: translateX(55vw) rotate(10deg); opacity: 0; }
.vip-stage.part .vip-rope-group { opacity: 0; transition: opacity .45s ease; }

/* ---------- Satin Ribbon Unwrap (Birthday) ---------- */
.t-ribbon { --ev-bg: radial-gradient(110% 85% at 50% 30%, #591839 0%, #2b091c 55%, #11030b 100%); --ev-accent: #f7c59f; --ev-glow: rgba(247,197,159,.48);
  --ev-card-bg: linear-gradient(165deg, #fffaf6, #fde9f0); --ev-card-ink: #3b1026; --ev-card-border: 1px solid rgba(247,197,159,.65); --ev-radius: 24px;
  --ev-card-shadow: 0 32px 80px rgba(0,0,0,.6);
  --ev-display: 'Playfair Display', Georgia, serif; --ev-display-weight: 700; --ev-on-accent: #2e0a1c; }
.t-ribbon .ev-title { font-style: italic; color: #8f1d52; }
.t-ribbon .ev-eyebrow { color: #b85d7c; }
.ribbon-box { position: relative; z-index: 3; width: min(68vw, 260px); aspect-ratio: 1; transform: translateY(-90vh) scale(.85); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.15); transition-timing-function: var(--ev-spring); cursor: pointer; }
.ribbon-box.in { transform: translateY(0) scale(1); }
.ribbon-box svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 28px 45px rgba(0,0,0,.55)); }
.ribbon-bow { transform-origin: 130px 130px; transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .45s ease; }
.ribbon-band-h, .ribbon-band-v { transition: transform .55s cubic-bezier(.5,0,.2,1), opacity .45s ease; transform-origin: 130px 130px; }
.ribbon-box.untie .ribbon-bow { transform: scale(1.45) rotate(18deg); opacity: 0; }
.ribbon-box.untie .ribbon-band-h { transform: scaleX(1.7); opacity: 0; }
.ribbon-box.untie .ribbon-band-v { transform: scaleY(1.7); opacity: 0; }
.box-petal { transform-origin: 130px 130px; transition: transform .75s cubic-bezier(.3,1.2,.4,1), opacity .6s ease .2s; }
.ribbon-box.unfold .box-petal.p-top { transform: translateY(-95px) scaleY(.35); opacity: 0; }
.ribbon-box.unfold .box-petal.p-bot { transform: translateY(95px) scaleY(.35); opacity: 0; }
.ribbon-box.unfold .box-petal.p-left { transform: translateX(-95px) scaleX(.35); opacity: 0; }
.ribbon-box.unfold .box-petal.p-right { transform: translateX(95px) scaleX(.35); opacity: 0; }
.ribbon-box.unfold .box-core { transition: transform .65s ease, opacity .55s ease; transform: scale(1.5); opacity: 0; }

/* ---------- Chapel & Floral Arch (Wedding) ---------- */
.t-arch { --ev-bg: radial-gradient(115% 85% at 50% 25%, #fffdf8 0%, #f4ead8 52%, #decbb1 100%); --ev-accent: #9e7332; --ev-glow: rgba(158,115,50,.35);
  --ev-card-bg: rgba(255,253,249,.94); --ev-card-ink: #3c2f1e; --ev-card-border: 1px solid rgba(158,115,50,.4); --ev-radius: 160px 160px 12px 12px;
  --ev-card-shadow: 0 0 0 7px rgba(255,253,249,.75), 0 0 0 8px rgba(158,115,50,.3), 0 30px 75px rgba(100,75,38,.25);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #fff; }
.t-arch .ev-title { font-style: italic; font-size: clamp(36px, 10vw, 54px); color: #5c4320; }
.t-arch .ev-eyebrow { color: #8c6730; }
.t-arch .ev-hint { color: #6e5023; }
.t-arch .ev-skip, .t-arch .ev-replay { color: #5c4320; border-color: rgba(92,67,32,.3); background: rgba(255,255,255,.55); }
.arch-stage { position: relative; z-index: 3; width: min(80vw, 320px); height: min(96vw, 390px); perspective: 1200px; transform: translateY(75vh); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.1); transition-timing-function: var(--ev-spring); }
.arch-stage.in { transform: translateY(0); }
.arch-stage.fade { transition: transform .9s ease, opacity .75s ease; transform: scale(1.18); opacity: 0; pointer-events: none; }
.arch-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; filter: drop-shadow(0 20px 36px rgba(90,65,30,.28)); }
.arch-doors { position: absolute; left: 16%; right: 16%; top: 17%; bottom: 6%; z-index: 2; display: flex; border-radius: 130px 130px 4px 4px; overflow: hidden; box-shadow: inset 0 0 30px rgba(160,120,55,.25); background: radial-gradient(circle at 50% 35%, #fffdf7, #f7e6c4 60%, #e8c98f); }
.arch-door { flex: 1; height: 100%; background: linear-gradient(170deg, #faf3e6, #eadbc2); border: 1.5px solid #c9a86a; position: relative; transition: transform 1.2s cubic-bezier(.4,0,.2,1); transform-style: preserve-3d; }
.arch-door.d-l { transform-origin: 0% 50%; border-right: 1px solid #b5904b; }
.arch-door.d-r { transform-origin: 100% 50%; border-left: 1px solid #b5904b; }
.arch-door::before { content: ''; position: absolute; left: 16%; right: 16%; top: 18%; bottom: 14%; border: 1px solid rgba(181,144,75,.55); border-radius: 80px 80px 2px 2px; }
.arch-door::after { content: ''; position: absolute; top: 52%; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff3c4, #b8862b); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.arch-door.d-l::after { right: 10px; }
.arch-door.d-r::after { left: 10px; }
.arch-stage.open .arch-door.d-l { transform: rotateY(-112deg); }
.arch-stage.open .arch-door.d-r { transform: rotateY(112deg); }

/* ---------- Crystal Toast Clink (Wedding) ---------- */
.t-clink { --ev-bg: radial-gradient(110% 85% at 50% 30%, #3a2236 0%, #1b101d 55%, #09050b 100%); --ev-accent: #f5d68e; --ev-glow: rgba(245,214,142,.5);
  --ev-card-bg: linear-gradient(165deg, rgba(32,20,34,.86), rgba(14,8,16,.92)); --ev-card-ink: #fdf5e8; --ev-card-border: 1px solid rgba(245,214,142,.5);
  --ev-display: 'Great Vibes', 'Snell Roundhand', cursive; --ev-display-weight: 400; --ev-display-track: 0; --ev-on-accent: #241406; }
.t-clink .ev-title { font-size: clamp(42px, 13vw, 64px); color: #fce1a6; text-shadow: 0 0 24px rgba(245,214,142,.45); }
.t-clink .ev-title.long { font-size: clamp(34px, 10vw, 48px); }
.flutes-stage { position: relative; z-index: 3; width: min(84vw, 340px); height: 290px; }
.flute { position: absolute; top: 10px; width: 130px; height: 270px; left: 50%; margin-left: -65px; transition: transform 1.15s cubic-bezier(.2,.9,.3,1.12), opacity .6s ease; transition-timing-function: var(--ev-spring); }
.flute svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 32px rgba(0,0,0,.55)); }
.flute.f-l { transform: translateX(-68vw) rotate(-18deg); }
.flute.f-r { transform: translateX(68vw) rotate(18deg); }
.flutes-stage.in .flute.f-l { transform: translateX(-56px) rotate(-6deg); }
.flutes-stage.in .flute.f-r { transform: translateX(56px) rotate(6deg); }
.flutes-stage.clink .flute.f-l { transition: transform .36s cubic-bezier(.4,0,.2,1.4); transform: translateX(-22px) rotate(11deg); }
.flutes-stage.clink .flute.f-r { transition: transform .36s cubic-bezier(.4,0,.2,1.4); transform: translateX(22px) rotate(-11deg); }
.flutes-stage.away { transition: transform .85s ease, opacity .65s ease; transform: translateY(-28vh) scale(.75); opacity: 0; pointer-events: none; }
.clink-ring { position: absolute; left: 50%; top: 32%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 2.5px solid #fff6d6; box-shadow: 0 0 28px #f5d68e; opacity: 0; transform: scale(.2); pointer-events: none; }
.flutes-stage.clink .clink-ring { animation: clockWave .8s ease-out forwards; }

/* ---------- Vellum & Gold Crest (Wedding) ---------- */
.t-vellum { --ev-bg: radial-gradient(115% 85% at 50% 25%, #f9f6ee 0%, #eae2d0 55%, #cfc2a8 100%); --ev-accent: #8f6f32; --ev-glow: rgba(143,111,50,.35);
  --ev-card-bg: linear-gradient(165deg, #fffdf8, #f6efe0); --ev-card-ink: #382e1e; --ev-card-border: 1px solid rgba(143,111,50,.45); --ev-radius: 6px;
  --ev-card-shadow: 0 0 0 6px #fffdf8, 0 0 0 7px rgba(143,111,50,.35), 0 32px 75px rgba(90,72,38,.28);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #fff; }
.t-vellum .ev-title { font-style: italic; font-size: clamp(36px, 10vw, 54px); color: #4d3b1b; }
.t-vellum .ev-eyebrow { color: #7d6029; }
.t-vellum .ev-hint { color: #664e21; }
.t-vellum .ev-skip, .t-vellum .ev-replay { color: #4d3b1b; border-color: rgba(77,59,27,.3); background: rgba(255,255,255,.55); }
.vellum-wrap { position: relative; z-index: 3; width: min(82vw, 340px); height: min(96vw, 410px); perspective: 1300px; transform: translateY(78vh) rotate(-4deg); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.1); transition-timing-function: var(--ev-spring); cursor: pointer; }
.vellum-wrap.in { transform: translateY(0) rotate(0deg); }
.vellum-wrap.done { transition: transform .85s ease, opacity .65s ease; transform: scale(1.08); opacity: 0; pointer-events: none; }
.vellum-card-base { position: absolute; inset: 4%; background: linear-gradient(165deg, #fffdf9, #f3ead8); border: 1px solid #d4bd8c; border-radius: 4px; box-shadow: 0 26px 60px rgba(80,60,25,.28); display: grid; place-items: center; padding: 24px; }
.vellum-crest { width: 170px; height: 170px; }
.vellum-crest path { fill: none; stroke: #a88238; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.3s ease-out; }
.vellum-wrap.unfold .vellum-crest path { stroke-dashoffset: 0; }
.vellum-wing { position: absolute; top: 2%; bottom: 2%; width: 50%; z-index: 3; background: rgba(255,253,248,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 8px 24px rgba(90,70,35,.12); transition: transform 1.15s cubic-bezier(.4,0,.2,1), opacity .8s ease .35s; }
.vellum-wing.w-l { left: 2%; transform-origin: 0% 50%; border-radius: 4px 0 0 4px; }
.vellum-wing.w-r { right: 2%; transform-origin: 100% 50%; border-radius: 0 4px 4px 0; }
.vellum-wrap.unfold .vellum-wing.w-l { transform: rotateY(-130deg); opacity: 0; }
.vellum-wrap.unfold .vellum-wing.w-r { transform: rotateY(130deg); opacity: 0; }
.vellum-seal { position: absolute; left: 50%; top: 50%; z-index: 4; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f5dfa1, #c49a45 55%, #87631f 100%); box-shadow: 0 8px 22px rgba(70,50,15,.38), inset 0 2px 6px rgba(255,250,220,.75); display: grid; place-items: center; color: #4d360d; font: italic 700 28px/1 'Cormorant Garamond', Georgia, serif; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.vellum-wrap.unfold .vellum-seal { transform: scale(1.45) rotate(25deg); opacity: 0; }

/* =====================================================================
   Expanded Collection: 10+ in New Year, Birthdays, Weddings & Classic (v5)
   ===================================================================== */

/* ---------- 1. Golden Sparkler Wand (nye_sparkler) ---------- */
.t-sparkler { --ev-bg: radial-gradient(110% 80% at 50% 30%, #2a1d08 0%, #100c04 55%, #040302 100%); --ev-accent: #ffe07d; --ev-glow: rgba(255,224,125,.55);
  --ev-card-bg: rgba(18,14,6,.88); --ev-card-ink: #fff8e6; --ev-card-border: 1px solid rgba(255,224,125,.5);
  --ev-display: 'Playfair Display', Georgia, serif; --ev-display-weight: 800; --ev-on-accent: #1c1303; }
.t-sparkler .ev-title { background: linear-gradient(100deg, #c99738, #fff8dc 30%, #ffe07d 52%, #ffffff 65%, #b8862b); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 3.4s linear infinite; }
.sparkler-rig { position: relative; z-index: 3; width: min(74vw, 290px); height: 320px; transform: translateY(80vh) rotate(-10deg); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.sparkler-rig.in { transform: translateY(4vh) rotate(0deg); }
.sparkler-rig.done { transform: translateY(60vh) scale(.85); opacity: 0; pointer-events: none; }
.sparkler-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 24px rgba(255,220,120,.45)); }
.sparkler-trace { stroke-dasharray: 460; stroke-dashoffset: 460; transition: stroke-dashoffset 1.2s ease-out; }
.sparkler-rig.burn .sparkler-trace { stroke-dashoffset: 0; }

/* ---------- 2. Gold Confetti Cannon (nye_cannon) ---------- */
.t-cannon { --ev-bg: radial-gradient(110% 85% at 50% 25%, #231b38 0%, #0e0a1a 55%, #040208 100%); --ev-accent: #f7d774; --ev-glow: rgba(247,215,116,.5);
  --ev-card-bg: rgba(16,12,28,.88); --ev-card-ink: #fdf7e8; --ev-card-border: 1px solid rgba(247,215,116,.55);
  --ev-display: 'Bebas Neue', Impact, sans-serif; --ev-display-weight: 400; --ev-display-track: .04em; --ev-on-accent: #181103; }
.t-cannon .ev-title { font-size: clamp(44px, 14vw, 72px); color: #fff6cf; text-shadow: 0 0 28px rgba(247,215,116,.5); }
.cannon-rig { position: relative; z-index: 3; width: min(68vw, 250px); height: 270px; transform: translate(-60vw, 60vh) rotate(-38deg); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.cannon-rig.in { transform: translate(0, 4vh) rotate(-28deg); }
.cannon-rig.fire { transform: translate(-24px, 6vh) rotate(-34deg) scale(.94); }
.cannon-rig.out { transform: translate(-50vw, 70vh) rotate(-45deg); opacity: 0; pointer-events: none; }
.cannon-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 25px 38px rgba(0,0,0,.65)); }
.cannon-cord { transition: transform .3s ease-out; }
.cannon-rig.fire .cannon-cord { transform: translateY(38px); }

/* ---------- 3. Midnight Masquerade Mask (nye_masquerade) ---------- */
.t-mask { --ev-bg: radial-gradient(115% 85% at 50% 25%, #3d0b2e 0%, #190517 55%, #070108 100%); --ev-accent: #e8c476; --ev-glow: rgba(232,196,118,.5);
  --ev-card-bg: linear-gradient(165deg, rgba(32,8,26,.9), rgba(12,3,11,.94)); --ev-card-ink: #fdf3dc; --ev-card-border: 1px solid rgba(232,196,118,.55);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #240618; }
.t-mask .ev-title { font-style: italic; font-size: clamp(36px, 11vw, 54px); color: #f6dfa4; }
.mask-rig { position: relative; z-index: 3; width: min(82vw, 330px); height: 220px; transform: translateY(-85vh) scale(.85); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.12), opacity .6s ease; transition-timing-function: var(--ev-spring); }
.mask-rig.in { transform: translateY(0) scale(1); }
.mask-rig.unmask { transition: transform .85s cubic-bezier(.4,0,.2,1), opacity .65s ease; transform: translateY(-48vh) rotate(-8deg) scale(1.22); opacity: 0; pointer-events: none; }
.mask-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 44px rgba(0,0,0,.7)); }

/* ---------- 4. Midnight Vinyl Drop (nye_vinyl) ---------- */
.t-vinyl { --ev-bg: radial-gradient(105% 80% at 50% 30%, #1b2242 0%, #0b0e1f 55%, #03040a 100%); --ev-accent: #f5c85b; --ev-glow: rgba(245,200,91,.5);
  --ev-card-bg: rgba(12,15,32,.9); --ev-card-ink: #f8f3e6; --ev-card-border: 1px solid rgba(245,200,91,.5);
  --ev-display: 'Syne', sans-serif; --ev-display-weight: 800; --ev-on-accent: #141004; }
.t-vinyl .ev-title { color: #ffe28a; }
.vinyl-rig { position: relative; z-index: 3; width: min(78vw, 310px); aspect-ratio: 1; transform: translateY(82vh); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12), opacity .6s ease; transition-timing-function: var(--ev-spring); }
.vinyl-rig.in { transform: translateY(0); }
.vinyl-rig.zoom { transition: transform .8s cubic-bezier(.5,0,.2,1), opacity .6s ease; transform: scale(2.1); opacity: 0; pointer-events: none; }
.vinyl-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 28px 46px rgba(0,0,0,.7)); }
.vinyl-disc { transform-origin: 140px 150px; animation: spinCw 6s linear infinite; }
.vinyl-rig.play .vinyl-disc { animation-duration: 1.4s; }
.vinyl-arm { transform-origin: 256px 54px; transform: rotate(-22deg); transition: transform .5s cubic-bezier(.3,1.3,.5,1); }
.vinyl-rig.play .vinyl-arm { transform: rotate(8deg); }

/* ---------- 5. Golden Fortune Star (nye_fortune) ---------- */
.t-fortune { --ev-bg: radial-gradient(110% 85% at 50% 25%, #1d1848 0%, #0c0924 55%, #04020d 100%); --ev-accent: #ffd97d; --ev-glow: rgba(255,217,125,.5);
  --ev-card-bg: rgba(14,11,36,.88); --ev-card-ink: #fff8e8; --ev-card-border: 1px solid rgba(255,217,125,.5);
  --ev-display: 'Cinzel Decorative', Georgia, serif; --ev-display-weight: 700; --ev-on-accent: #181004; }
.t-fortune .ev-title { color: #ffe6a3; text-shadow: 0 0 22px rgba(255,217,125,.45); }
.fortune-rig { position: relative; z-index: 3; width: min(74vw, 290px); aspect-ratio: 1; transform: scale(0) rotate(-40deg); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.15), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.fortune-rig.in { transform: scale(1) rotate(0deg); }
.fortune-rig.gone { transform: scale(1.5); opacity: 0; pointer-events: none; }
.fortune-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 38px rgba(0,0,0,.6)); }
.fortune-half-l, .fortune-half-r { transform-origin: 150px 150px; transition: transform .65s cubic-bezier(.3,1.2,.4,1); }
.fortune-rig.crack .fortune-half-l { transform: translate(-42px, -12px) rotate(-24deg); }
.fortune-rig.crack .fortune-half-r { transform: translate(42px, -12px) rotate(24deg); }
.fortune-banner { opacity: 0; transform: scaleX(.2); transform-origin: 150px 150px; transition: transform .55s cubic-bezier(.2,.9,.3,1.2) .15s, opacity .4s ease .15s; }
.fortune-rig.crack .fortune-banner { opacity: 1; transform: scaleX(1); }

/* ---------- 6. Neon Countdown Marquee (nye_neon_cheers) ---------- */
.t-cheers { --ev-bg: radial-gradient(110% 85% at 50% 25%, #381228 0%, #160612 55%, #060105 100%); --ev-accent: #ffcf4a; --ev-glow: rgba(255,207,74,.55);
  --ev-card-bg: rgba(20,8,18,.9); --ev-card-ink: #fff6e5; --ev-card-border: 2px solid #ffcf4a;
  --ev-display: 'Bungee', Impact, sans-serif; --ev-display-weight: 400; --ev-on-accent: #1f1002; }
.t-cheers .ev-title { color: #fff; text-shadow: 0 0 10px #ffcf4a, 0 0 28px #ff2e93; }
.cheers-rig { position: relative; z-index: 3; width: min(86vw, 350px); height: 220px; transform: translateY(-85vh); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.cheers-rig.in { transform: translateY(0); }
.cheers-rig.out { transform: translateY(-60vh) scale(.9); opacity: 0; pointer-events: none; }
.cheers-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 40px rgba(0,0,0,.7)); }
.cheers-lever { transform-origin: 306px 115px; transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.cheers-rig.lit .cheers-lever { transform: scaleY(-1); }

/* ---------- 7. Sparkler Cupcake Tower (bday_cupcake) ---------- */
.t-cupcake { --ev-bg: radial-gradient(110% 85% at 50% 30%, #ff9ebb 0%, #b82965 55%, #470824 100%); --ev-accent: #ffd166; --ev-glow: rgba(255,209,102,.5);
  --ev-card-bg: linear-gradient(165deg, #fffdf9, #ffeaf2); --ev-card-ink: #470d27; --ev-card-border: 0; --ev-radius: 28px;
  --ev-display: 'Lilita One', sans-serif; --ev-display-weight: 400; --ev-on-accent: #3b1022; }
.t-cupcake .ev-title { color: #d91b68; text-shadow: 0 3px 0 #ffd6e5; }
.t-cupcake .ev-eyebrow { color: #b82965; }
.cupcake-rig { position: relative; z-index: 3; width: min(72vw, 270px); height: 290px; transform: translateY(82vh) scale(.85); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.15), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.cupcake-rig.in { transform: translateY(2vh) scale(1); }
.cupcake-rig.out { transform: translateY(80vh) scale(.8); opacity: 0; pointer-events: none; }
.cupcake-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 36px rgba(70,8,36,.45)); }
.cupcake-star { transform-origin: 135px 46px; transition: transform .4s ease; }
.cupcake-rig.spark .cupcake-star { transform: scale(1.45) rotate(45deg); }

/* ---------- 8. Retro Arcade Token (bday_arcade) ---------- */
.t-arcade { --ev-bg: radial-gradient(110% 85% at 50% 25%, #2d115c 0%, #12052c 55%, #05010f 100%); --ev-accent: #00f5d4; --ev-glow: rgba(0,245,212,.55);
  --ev-card-bg: rgba(14,6,34,.92); --ev-card-ink: #ebfffd; --ev-card-border: 2px solid #00f5d4; --ev-radius: 14px;
  --ev-display: 'Bungee', Impact, sans-serif; --ev-display-weight: 400; --ev-on-accent: #080218; }
.t-arcade .ev-title { color: #ffbe0b; text-shadow: 0 4px 0 #ff006e, 0 0 24px rgba(255,190,11,.5); }
.arcade-rig { position: relative; z-index: 3; width: min(78vw, 300px); height: 290px; transform: translateY(80vh); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.arcade-rig.in { transform: translateY(0); }
.arcade-rig.out { transform: scale(1.3); opacity: 0; pointer-events: none; }
.arcade-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 26px rgba(0,245,212,.38)); }
.arcade-coin { transform-origin: 150px 70px; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .35s ease .3s; }
.arcade-rig.insert .arcade-coin { transform: translateY(96px) scale(.75); opacity: 0; }

/* ---------- 9. Birthday Royalty Crown (bday_disco_crown) ---------- */
.t-crown { --ev-bg: radial-gradient(110% 85% at 50% 25%, #4a146e 0%, #1f0633 55%, #090112 100%); --ev-accent: #ffd166; --ev-glow: rgba(255,209,102,.55);
  --ev-card-bg: linear-gradient(165deg, rgba(36,10,56,.9), rgba(14,3,24,.94)); --ev-card-ink: #fff6e0; --ev-card-border: 1px solid rgba(255,209,102,.6);
  --ev-display: 'Playfair Display', Georgia, serif; --ev-display-weight: 800; --ev-on-accent: #240838; }
.t-crown .ev-title { background: linear-gradient(100deg, #c99738, #fff6cf 30%, #ffd166 50%, #ffffff 65%, #b8862b); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: foil 3.5s linear infinite; }
.crown-rig { position: relative; z-index: 3; width: min(78vw, 300px); height: 240px; transform: translateY(-85vh) scale(.85); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.15), opacity .6s ease; transition-timing-function: var(--ev-spring); }
.crown-rig.in { transform: translateY(0) scale(1); }
.crown-rig.crest { transition: transform .85s cubic-bezier(.4,0,.2,1), opacity .65s ease; transform: translateY(-34vh) scale(.48); opacity: 0; pointer-events: none; }
.crown-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 40px rgba(0,0,0,.65)); }

/* ---------- 10. Instant Camera Snap (bday_polaroid) ---------- */
.t-polaroid { --ev-bg: radial-gradient(110% 85% at 50% 30%, #ffcad4 0%, #d87a9e 52%, #5e2240 100%); --ev-accent: #ff477e; --ev-glow: rgba(255,71,126,.45);
  --ev-card-bg: #fffdf9; --ev-card-ink: #2e1522; --ev-card-border: 0; --ev-radius: 10px;
  --ev-card-shadow: 0 0 0 12px #fffdf9, 0 34px 80px rgba(45,12,30,.5);
  --ev-display: 'DM Serif Display', Georgia, serif; --ev-display-weight: 400; --ev-on-accent: #fff; }
.t-polaroid .ev-title { color: #c9184a; }
.t-polaroid .ev-eyebrow { color: #ff477e; }
.polaroid-rig { position: relative; z-index: 3; width: min(76vw, 290px); height: 300px; transform: translateY(80vh) rotate(-6deg); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.15), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.polaroid-rig.in { transform: translateY(0) rotate(0deg); }
.polaroid-rig.out { transform: translateY(-50vh) scale(.8); opacity: 0; pointer-events: none; }
.polaroid-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 26px 42px rgba(55,15,35,.45)); }
.polaroid-photo { transform: translateY(-55px); opacity: 0; transition: transform .75s cubic-bezier(.2,.9,.3,1.15), opacity .35s ease; }
.polaroid-rig.snap .polaroid-photo { transform: translateY(42px); opacity: 1; }

/* ---------- 11. Neon Cocktail Shaker (bday_jukebox) ---------- */
.t-jukebox { --ev-bg: radial-gradient(110% 85% at 50% 25%, #661438 0%, #28061c 55%, #0c020a 100%); --ev-accent: #ff9f1c; --ev-glow: rgba(255,159,28,.5);
  --ev-card-bg: rgba(28,8,20,.9); --ev-card-ink: #fff5eb; --ev-card-border: 1px solid rgba(255,159,28,.55);
  --ev-display: 'Shrikhand', Georgia, serif; --ev-display-weight: 400; --ev-on-accent: #240d02; }
.t-jukebox .ev-title { color: #ffbf69; text-shadow: 0 4px 18px rgba(255,46,147,.45); }
.shaker-rig { position: relative; z-index: 3; width: min(68vw, 250px); height: 290px; transform: translateY(82vh) rotate(-14deg); transition: transform 1.1s cubic-bezier(.2,.9,.3,1.12), opacity .55s ease; transition-timing-function: var(--ev-spring); }
.shaker-rig.in { transform: translateY(0) rotate(-10deg); }
.shaker-rig.shake { animation: shakerShake .55s ease-in-out; }
@keyframes shakerShake { 0%,100% { transform: rotate(-10deg); } 20% { transform: translate(-18px, -12px) rotate(-28deg); } 40% { transform: translate(18px, 8px) rotate(16deg); } 60% { transform: translate(-16px, -8px) rotate(-24deg); } 80% { transform: translate(14px, 6px) rotate(12deg); } }
.shaker-rig.out { transform: translateY(70vh) scale(.85); opacity: 0; pointer-events: none; }
.shaker-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 25px 38px rgba(0,0,0,.6)); }
.shaker-cap { transition: transform .6s cubic-bezier(.2,.8,.3,1); transform-origin: 125px 55px; }
.shaker-rig.pop .shaker-cap { transform: translate(45px, -60vh) rotate(240deg); }

/* ---------- 12. White Doves Release (wedding_doves) ---------- */
.t-doves { --ev-bg: radial-gradient(115% 85% at 50% 25%, #f4f9ff 0%, #dce8f7 52%, #b8cbe4 100%); --ev-accent: #8c6d32; --ev-glow: rgba(140,109,50,.35);
  --ev-card-bg: rgba(255,255,255,.93); --ev-card-ink: #2c384e; --ev-card-border: 1px solid rgba(140,109,50,.4);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #fff; }
.t-doves .ev-title { font-style: italic; font-size: clamp(36px, 10vw, 54px); color: #3a4b6e; }
.t-doves .ev-eyebrow, .t-doves .ev-hint { color: #7a5c24; }
.t-doves .ev-skip, .t-doves .ev-replay { color: #2c384e; border-color: rgba(44,56,78,.28); background: rgba(255,255,255,.55); }
.doves-rig { position: relative; z-index: 3; width: min(78vw, 300px); height: 310px; transform: translateY(78vh); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.12), opacity .65s ease; transition-timing-function: var(--ev-spring); }
.doves-rig.in { transform: translateY(0); }
.doves-rig.fade { transform: translateY(20vh) scale(.9); opacity: 0; pointer-events: none; }
.doves-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 35px rgba(50,70,105,.25)); }
.dove-l, .dove-r { transition: transform 1.15s cubic-bezier(.2,.8,.3,1), opacity .8s ease .3s; }
.doves-rig.fly .dove-l { transform: translate(-42vw, -55vh) rotate(-25deg) scale(1.25); opacity: 0; }
.doves-rig.fly .dove-r { transform: translate(42vw, -58vh) rotate(25deg) scale(1.25); opacity: 0; }

/* ---------- 13. Three-Tier Wedding Cake (wedding_cake) ---------- */
.t-wcake { --ev-bg: radial-gradient(115% 85% at 50% 25%, #fffcf7 0%, #f5e6d3 55%, #dec3a4 100%); --ev-accent: #a67c38; --ev-glow: rgba(166,124,56,.35);
  --ev-card-bg: rgba(255,253,249,.94); --ev-card-ink: #3d2e1c; --ev-card-border: 1px solid rgba(166,124,56,.42);
  --ev-display: 'Great Vibes', cursive; --ev-display-weight: 400; --ev-on-accent: #fff; }
.t-wcake .ev-title { font-size: clamp(42px, 13vw, 62px); color: #785520; }
.t-wcake .ev-eyebrow, .t-wcake .ev-hint { color: #8c6628; }
.t-wcake .ev-skip, .t-wcake .ev-replay { color: #4d391f; border-color: rgba(77,57,31,.28); background: rgba(255,255,255,.55); }
.wcake-rig { position: relative; z-index: 3; width: min(76vw, 290px); height: 320px; transform: translateY(80vh); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.12), opacity .6s ease; transition-timing-function: var(--ev-spring); }
.wcake-rig.in { transform: translateY(2vh); }
.wcake-rig.out { transform: translateY(70vh) scale(.9); opacity: 0; pointer-events: none; }
.wcake-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 22px 36px rgba(100,75,40,.28)); }
.wcake-knife { transform-origin: 220px 150px; transition: transform .55s cubic-bezier(.3,1.3,.5,1); }
.wcake-rig.cut .wcake-knife { transform: translate(-46px, 28px) rotate(-18deg); }

/* ---------- 14. Enchanted Golden Carriage (wedding_carriage) ---------- */
.t-carriage { --ev-bg: radial-gradient(110% 85% at 50% 25%, #162347 0%, #091026 55%, #03050f 100%); --ev-accent: #f5d68e; --ev-glow: rgba(245,214,142,.5);
  --ev-card-bg: rgba(10,16,38,.88); --ev-card-ink: #f8f3e6; --ev-card-border: 1px solid rgba(245,214,142,.5);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #181204; }
.t-carriage .ev-title { font-style: italic; font-size: clamp(36px, 11vw, 54px); color: #fce3a6; text-shadow: 0 0 22px rgba(245,214,142,.45); }
.carriage-rig { position: relative; z-index: 3; width: min(84vw, 330px); height: 250px; transform: translateX(-85vw); transition: transform 1.25s cubic-bezier(.2,.9,.3,1.08), opacity .65s ease; transition-timing-function: var(--ev-spring); }
.carriage-rig.in { transform: translateX(0); }
.carriage-rig.go { transition: transform 1s cubic-bezier(.5,0,.2,1), opacity .7s ease .2s; transform: translateX(85vw); opacity: 0; pointer-events: none; }
.carriage-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 22px 40px rgba(0,0,0,.65)); }

/* ---------- 15. Heirloom Gold Heart Locket (wedding_locket) ---------- */
.t-locket { --ev-bg: radial-gradient(115% 85% at 50% 25%, #f9e8ec 0%, #e6c5cf 55%, #b88999 100%); --ev-accent: #a6782e; --ev-glow: rgba(166,120,46,.38);
  --ev-card-bg: rgba(255,252,250,.94); --ev-card-ink: #3d222c; --ev-card-border: 1px solid rgba(166,120,46,.45);
  --ev-display: 'Great Vibes', cursive; --ev-display-weight: 400; --ev-on-accent: #fff; }
.t-locket .ev-title { font-size: clamp(42px, 13vw, 62px); color: #7a2846; }
.t-locket .ev-eyebrow, .t-locket .ev-hint { color: #7a521b; }
.t-locket .ev-skip, .t-locket .ev-replay { color: #3d222c; border-color: rgba(61,34,44,.28); background: rgba(255,255,255,.55); }
.locket-rig { position: relative; z-index: 3; width: min(74vw, 280px); height: 300px; perspective: 1100px; transform: translateY(-85vh); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.12), opacity .65s ease; transition-timing-function: var(--ev-spring); }
.locket-rig.in { transform: translateY(0); }
.locket-rig.done { transform: scale(1.25); opacity: 0; pointer-events: none; }
.locket-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 22px 36px rgba(90,45,60,.32)); }
.locket-cover { transform-origin: 65px 155px; transition: transform .95s cubic-bezier(.4,0,.2,1); }
.locket-rig.open .locket-cover { transform: rotateY(-120deg); }

/* ---------- 16. Candlelit Rose Petal Aisle (wedding_aisle) ---------- */
.t-aisle { --ev-bg: radial-gradient(110% 85% at 50% 30%, #3d1822 0%, #1c090e 55%, #080204 100%); --ev-accent: #f5ce78; --ev-glow: rgba(245,206,120,.5);
  --ev-card-bg: linear-gradient(165deg, rgba(32,12,18,.9), rgba(14,4,8,.94)); --ev-card-ink: #fff5e8; --ev-card-border: 1px solid rgba(245,206,120,.5);
  --ev-display: 'Cormorant Garamond', Georgia, serif; --ev-display-weight: 600; --ev-on-accent: #240a10; }
.t-aisle .ev-title { font-style: italic; font-size: clamp(36px, 11vw, 54px); color: #fce1a6; }
.aisle-rig { position: relative; z-index: 3; width: min(84vw, 330px); height: 290px; transform: translateY(80vh); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.12), opacity .65s ease; transition-timing-function: var(--ev-spring); }
.aisle-rig.in { transform: translateY(2vh); }
.aisle-rig.fade { transform: translateY(45vh) scale(.9); opacity: 0; pointer-events: none; }
.aisle-rig svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 20px 38px rgba(0,0,0,.65)); }
.aisle-flame { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(0); transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.aisle-rig.lit .aisle-flame { transform: scale(1); }

/* ---------- 17. Velvet Stage Curtains (classic_curtain) ---------- */
.t-curtain { --ev-bg: radial-gradient(110% 85% at 50% 25%, #52091a 0%, #24030b 55%, #090103 100%); --ev-accent: #f2c96d; --ev-glow: rgba(242,201,109,.5);
  --ev-card-bg: linear-gradient(165deg, rgba(28,6,12,.92), rgba(10,2,5,.96)); --ev-card-ink: #fdf4e2; --ev-card-border: 1px solid rgba(242,201,109,.55);
  --ev-display: 'Playfair Display', Georgia, serif; --ev-display-weight: 800; --ev-on-accent: #24040b; }
.t-curtain .ev-title { color: #fce19c; text-shadow: 0 0 24px rgba(242,201,109,.45); }
.curtain-rig { position: relative; z-index: 3; width: min(88vw, 360px); height: 310px; overflow: hidden; border-radius: 14px; border: 2px solid #d4a64a; box-shadow: 0 30px 70px rgba(0,0,0,.75); transform: translateY(-85vh); transition: transform 1.15s cubic-bezier(.2,.9,.3,1.12), opacity .65s ease; transition-timing-function: var(--ev-spring); }
.curtain-rig.in { transform: translateY(0); }
.curtain-rig.done { transform: scale(1.22); opacity: 0; pointer-events: none; }
.curtain-drape { position: absolute; top: 0; bottom: 0; width: 52%; background: repeating-linear-gradient(90deg, #8a0d26 0 18px, #590516 18px 36px); box-shadow: inset 0 -30px 50px rgba(0,0,0,.5); transition: transform 1.1s cubic-bezier(.45,0,.2,1); }
.curtain-drape.c-l { left: 0; border-right: 3px solid #f2c96d; }
.curtain-drape.c-r { right: 0; border-left: 3px solid #f2c96d; }
.curtain-rig.open .curtain-drape.c-l { transform: translateX(-86%) rotate(-6deg); }
.curtain-rig.open .curtain-drape.c-r { transform: translateX(86%) rotate(6deg); }
.curtain-tassel { position: absolute; left: 50%; top: 0; z-index: 3; width: 28px; height: 165px; margin-left: -14px; display: flex; flex-direction: column; align-items: center; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .4s ease; }
.curtain-tassel i { width: 3px; height: 120px; background: #f2c96d; }
.curtain-tassel b { width: 24px; height: 36px; border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, #fff2b8, #c99738); box-shadow: 0 6px 14px rgba(0,0,0,.5); }
.curtain-rig.open .curtain-tassel { transform: translateY(-120px); opacity: 0; }

/* ---------- Couple / Event Photo Frame inside Revealed Card ---------- */
.ev-photo-frame {
  width: 112px; height: 112px; margin: 0 auto 14px;
  border-radius: 50%; padding: 4px;
  background: linear-gradient(135deg, rgba(255,235,180,.95), rgba(201,151,56,.85));
  box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 22px rgba(242,201,109,.35);
  overflow: hidden; position: relative;
}
.ev-photo-frame img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block;
}

/* =====================================================================
   STORY BANNER, MULTI-STEP CHOREOGRAPHY & UNIQUE CARD SILHOUETTES
   ===================================================================== */

@keyframes evFloatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@keyframes evPendulum {
  0%, 100% { rotate: -5deg; }
  50% { rotate: 5deg; }
}
@keyframes evRattle {
  0%, 100% { rotate: 0deg; translate: 0 0; }
  20% { rotate: -9deg; translate: -5px -2px; }
  40% { rotate: 9deg; translate: 5px 2px; }
  60% { rotate: -7deg; translate: -4px 1px; }
  80% { rotate: 7deg; translate: 4px -1px; }
}

.ev-story-tag {
  position: absolute; top: max(11vh, 64px); left: 50%; transform: translateX(-50%) translateY(-10px);
  z-index: 5; padding: 7px 18px; border-radius: 999px;
  background: rgba(10, 6, 18, 0.68); border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 12px/1.3 system-ui, -apple-system, sans-serif; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff; opacity: 0; pointer-events: none; white-space: nowrap;
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ev-story-tag.on {
  opacity: 1; transform: translateX(-50%) translateY(0);
}
.ev-story-steps {
  display: inline-flex; gap: 6px; margin-left: 10px; vertical-align: middle;
}
.ev-story-steps i {
  width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.ev-story-steps i.done {
  background: var(--ev-accent, #f7d794); transform: scale(1.25);
}

#ev-stage[class*="t-std_"],
#ev-stage[class*="t-xmas_"],
#ev-stage[class*="t-tg_"],
#ev-stage[class*="t-bridal_"],
#ev-stage[class*="t-bachel"],
#ev-stage[class*="t-house_"],
#ev-stage[class*="t-hw_"],
#ev-stage[class*="t-neon_"] {
  --ev-display: var(--ev-font-display, 'Cormorant Garamond', Georgia, serif);
  --ev-accent: #f7d794;
  --ev-glow: rgba(247, 215, 148, 0.42);
  --ev-on-accent: #170e0a;
}

/* Distinct Entrance Directions per Template Group (Not just drop-down!) */
.ev-new-rig {
  opacity: 0;
  transition: transform 1.05s cubic-bezier(0.2, 0.9, 0.3, 1.08), opacity 0.65s ease;
  transition-timing-function: var(--ev-spring), ease;
}
.ev-new-rig.enter-glide-left { transform: translateX(-68vw) rotate(-8deg) scale(0.9); }
.ev-new-rig.enter-glide-right { transform: translateX(68vw) rotate(8deg) scale(0.9); }
.ev-new-rig.enter-rise { transform: translateY(65vh) scale(0.88); }
.ev-new-rig.enter-bloom { transform: scale(0.35) rotate(-12deg); }
.ev-new-rig.enter-unfold { transform: perspective(900px) rotateX(65deg) scale(0.82); }
.ev-new-rig.enter-swing { transform-origin: 50% -40vh; transform: rotate(28deg) scale(0.9); }

.ev-new-rig.in {
  transform: translate(0, 0) rotate(0deg) scale(1);
  opacity: 1;
}

/* Step 1 (Beat 1) intermediate visual transformations */
.std-polaroid-rig .std-pol-img { filter: brightness(0.18) sepia(0.8) blur(3px); transition: filter 0.85s ease, transform 0.6s ease; }
.std-polaroid-rig.step1 .std-pol-card.left .std-pol-img { filter: brightness(1) sepia(0) blur(0); }
.std-polaroid-rig.step1 .std-pol-card.left { transform: rotate(-4deg) scale(1.06) translateY(-6px); box-shadow: 0 22px 44px rgba(247,215,148,.45); }
.std-polaroid-rig.open .std-pol-card.right .std-pol-img { filter: brightness(1) sepia(0) blur(0); }

.std-strip-rig .std-strip-frame { opacity: 0.15; transform: translateY(-14px); transition: opacity 0.55s ease, transform 0.55s var(--ev-spring); }
.std-strip-rig.step1 .std-strip-frame:nth-child(1),
.std-strip-rig.step1 .std-strip-frame:nth-child(2) { opacity: 1; transform: translateY(0); }
.std-strip-rig.step1 .std-strip-body { transform: translateY(-4px); }
.std-strip-rig.open .std-strip-frame { opacity: 1; transform: translateY(0); }

.std-frame-rig .std-oval-inner { filter: brightness(0.45) blur(4px); transition: filter 0.8s ease; }
.std-frame-rig.step1 .std-drape { transform: translateX(-82%) rotate(-6deg); opacity: 0.35; }
.std-frame-rig.step1 .std-oval-inner { filter: brightness(0.88) blur(1px); }
.std-frame-rig.open .std-oval-inner { filter: brightness(1.05) blur(0); }

.std-cal-rig.step1 .std-cal-sheet { transform: rotateX(-55deg) rotateZ(8deg) translateY(18px); background: #fff0f3; }
.std-cal-rig.step1 .std-cal-sheet b { transform: scale(1.18); display: inline-block; }

.std-pass-rig .std-pass-stamp { opacity: 0; transform: scale(2.2) rotate(-18deg); transition: opacity 0.4s ease, transform 0.45s var(--ev-spring); }
.std-pass-rig.step1 .std-pass-cover { transform: rotateY(-142deg); opacity: 0.22; }
.std-pass-rig.open .std-pass-cover { transform: rotateY(-165deg); opacity: 0; }
.std-pass-rig.open .std-pass-stamp { opacity: 1; transform: scale(1) rotate(-10deg); }

.std-bottle-rig.step1 .std-cork { transform: translate(18px, -44px) rotate(24deg); opacity: 0; }
.std-bottle-rig.step1 .std-bottle-scroll { transform: translateY(-18px) scale(1.06); }
.std-bottle-rig.open .std-bottle-scroll { transform: translateY(-54px) scale(1.28); }

.xmas-nut-rig.step1 .xmas-nut-jaw { transform: translateY(10px); }
.xmas-nut-rig.step1 .xmas-nut-hat { transform: translateY(-8px) rotate(-4deg); }
.xmas-nut-rig.open .xmas-nut-coat { transform: scale(1.08); box-shadow: 0 0 36px rgba(249,216,124,.55); }

.xmas-santa-rig .xmas-sleigh { transform: translate(-42px, 14px) rotate(-4deg) scale(0.92); }
.xmas-santa-rig.step1 .xmas-sleigh { transform: translate(8px, -12px) rotate(-10deg) scale(1.04); }

.xmas-elf-rig .xmas-elf-hats { transform: translateY(34px) scale(0.75); opacity: 0.2; }
.xmas-elf-rig.step1 .xmas-elf-hats { transform: translateY(-10px) scale(1); opacity: 1; }
.xmas-elf-rig.step1 .xmas-elf-lid { transform: translateY(-12px) rotate(-6deg); }

.xmas-tree-rig .xmas-tree-tier { filter: brightness(0.65); transition: filter 0.6s ease, transform 0.5s var(--ev-spring); }
.xmas-tree-rig.step1 .xmas-tree-tier { filter: brightness(1.18) drop-shadow(0 0 16px rgba(249,220,140,.5)); transform: scale(1.04); }
.xmas-tree-rig.step1 .xmas-tree-star { transform: translateY(-14px) scale(1.18) rotate(36deg); }

.xmas-globe-rig .xmas-globe-cabin::after { opacity: 0.15; transition: opacity 0.5s ease, box-shadow 0.5s ease; }
.xmas-globe-rig.step1 .xmas-globe-cabin::after { opacity: 1; box-shadow: 0 0 24px #ffcf5c, 0 0 42px #ff9f1c; }
.xmas-globe-rig.step1 { animation: evRattle 0.65s ease; }

.xmas-bauble-rig.step1 .xmas-bauble-sphere { transform: rotate(12deg) scale(1.08); box-shadow: 0 0 48px rgba(249,228,152,.75); }

.tg-horn-rig.step1 { transform: rotate(-8deg) scale(1.04); }
.tg-horn-rig.step1 .tg-horn-gourds { transform: translateX(-14px) scale(1.08); }

.tg-pump-rig.step1 .tg-pump-stem { transform: translateY(-14px) rotate(22deg); }
.tg-pump-rig.step1 .tg-pump-body { box-shadow: 0 0 48px rgba(255,180,70,.75), inset 0 0 24px rgba(255,230,150,.55); }

.tg-wish-rig.step1 .tg-wish-arm.left { transform: rotate(27deg) translateX(-10px); }
.tg-wish-rig.step1 .tg-wish-arm.right { transform: rotate(-27deg) translateX(10px); }

.tg-pie-rig.step1 .tg-pie-cloche { transform: translateY(-48px) rotate(-6deg); }

.br-para-rig .br-para-canopy { transform: scaleX(0.38) scaleY(0.92); }
.br-para-rig.step1 .br-para-canopy { transform: scaleX(1) scaleY(1); }

.br-tea-rig.step1 .br-tea-cup { transform: translateY(-10px) rotate(6deg); box-shadow: 0 0 32px rgba(250,208,222,.6); }

.br-veil-rig.step1 .br-tiara { transform: translateY(-12px) scale(1.12); filter: drop-shadow(0 0 24px #fff); }
.br-veil-rig.step1 .br-veil-tulle { transform: translateY(-18px) scaleX(1.08); }

.br-gown-rig .br-gown-skirt { transform: scaleX(0.72) scaleY(0.88); }
.br-gown-rig.step1 .br-gown-skirt { transform: scaleX(1.05) scaleY(1); }

.bach-hat-rig .bach-sash-band { opacity: 0; transform: translateY(16px) scale(0.8); transition: transform 0.5s var(--ev-spring), opacity 0.4s ease; }
.bach-hat-rig.step1 .bach-sash-band { opacity: 1; transform: translateY(0) scale(1) rotate(-4deg); }
.bach-hat-rig.step1 .bach-hat-crown, .bach-hat-rig.step1 .bach-hat-brim { transform: rotate(6deg); transition: transform 0.5s var(--ev-spring); }

.bach-float-rig.step1 .bach-float-gem { transform: translateY(-14px) scale(1.18) rotate(8deg); filter: drop-shadow(0 0 32px #fff); }

.bach-whisk-rig.step1 .bach-stopper { transform: translateY(-42px) rotate(18deg); opacity: 0.25; }
.bach-whisk-rig.step1 .bach-decanter { transform: rotate(-6deg); }

.bach-poker-rig .bach-card { filter: brightness(0.82); }
.bach-poker-rig.step1 .bach-card.c1 { transform: rotate(-28deg) translate(-42px, -10px); filter: brightness(1); }
.bach-poker-rig.step1 .bach-card.c2 { transform: translateY(-18px) scale(1.06); filter: brightness(1); }
.bach-poker-rig.step1 .bach-card.c3 { transform: rotate(28deg) translate(42px, -10px); filter: brightness(1); }

.hs-cup-rig.step1 .hs-pong-ball { transform: translateY(26px) scale(0.92); }
.hs-box-rig.step1 .hs-woofer { transform: scale(1.14); box-shadow: 0 0 32px #00f0ff; }
.hs-door-rig.step1 .hs-door-leaf { transform: rotateY(-32deg); }

.hw-jack-rig .hw-jack-eyes i, .hw-jack-rig .hw-jack-mouth { opacity: 0.2; transform: scale(0.5); transition: opacity 0.45s ease, transform 0.5s var(--ev-spring), background 0.35s ease, filter 0.35s ease; }
.hw-jack-rig.step1 .hw-jack-eyes i, .hw-jack-rig.step1 .hw-jack-mouth { opacity: 1; transform: scale(1); }

.hw-caul-rig.step1 .hw-caul-brew { transform: scale(1.14) translateY(-5px); box-shadow: 0 0 42px #39ff14; }
.hw-gate-rig.step1 .hw-gate-leaf.left { transform: rotateY(-28deg); }
.hw-gate-rig.step1 .hw-gate-leaf.right { transform: rotateY(28deg); }

.neon-stick-rig .neon-stick { filter: brightness(0.35) saturate(0.4); }
.neon-stick-rig.step1 .neon-stick { filter: brightness(1.25) saturate(1.2); }
.neon-stick-rig.step1 .neon-stick.s1 { transform: rotate(-44deg) scale(1.08); }
.neon-stick-rig.step1 .neon-stick.s2 { transform: rotate(44deg) scale(1.08); }

.neon-visor-rig .neon-visor-lens { filter: brightness(0.35); }
.neon-visor-rig.step1 .neon-visor-lens { filter: brightness(1.15); transform: scale(1.06); }

.neon-can-rig.step1 { animation: evRattle 0.6s ease; }

.ev-new-rig.done {
  transform: translateY(-20px) scale(0.86);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.4s ease;
}

/* =====================================================================
   UNIQUE REVEALED CARD SILHOUETTES (Each card has its own story design!)
   ===================================================================== */

/* 1. Oversized Polaroid Print Card (std_polaroid_duo, bday_polaroid) */
#ev-stage.t-std_polaroid_duo .ev-card-inner,
#ev-stage.t-polaroid .ev-card-inner {
  background: #faf6ee !important;
  color: #2b1d16 !important;
  border-radius: 6px !important;
  padding: 18px 18px 42px !important;
  border: 1px solid #e2d9c8 !important;
  box-shadow: 0 28px 70px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.5) !important;
  transform: rotate(-1.5deg);
}
#ev-stage.t-std_polaroid_duo .ev-card-inner::before,
#ev-stage.t-polaroid .ev-card-inner::before {
  content: ''; position: absolute; top: -18px; left: 50%; width: 14px; height: 32px; margin-left: -7px;
  background: linear-gradient(180deg, #e3bc8a, #9e703f); border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.45);
}
#ev-stage.t-std_polaroid_duo .ev-photo-frame {
  width: 100%; height: 190px; border-radius: 3px; padding: 0; margin-bottom: 16px;
  background: #2b1d16; box-shadow: inset 0 0 18px rgba(0,0,0,.35);
}
#ev-stage.t-std_polaroid_duo .ev-photo-frame img { border-radius: 3px; }
#ev-stage.t-std_polaroid_duo .ev-eyebrow,
#ev-stage.t-polaroid .ev-eyebrow { color: #9e5834 !important; }
#ev-stage.t-std_polaroid_duo .ev-title,
#ev-stage.t-polaroid .ev-title { color: #24150e !important; font-style: italic; }

/* 2. 35mm Sprocketed Cinema Film Strip Card (std_film_strip, premiere) */
#ev-stage.t-std_film_strip .ev-card-inner,
#ev-stage.t-premiere .ev-card-inner {
  border-radius: 4px !important;
  padding: 36px 38px !important;
  border-left: 18px dotted rgba(242,207,160,.45) !important;
  border-right: 18px dotted rgba(242,207,160,.45) !important;
  background: linear-gradient(180deg, #16110d, #261d16, #16110d) !important;
}

/* 3. Baroque Cathedral Arch / Museum Frame Card (std_gold_frame, floral_arch, wedding_aisle, bridal_veil) */
#ev-stage.t-std_gold_frame .ev-card-inner,
#ev-stage.t-arch .ev-card-inner,
#ev-stage.t-aisle .ev-card-inner,
#ev-stage.t-bridal_veil .ev-card-inner {
  border-radius: 190px 190px 18px 18px !important;
  padding-top: 52px !important;
  border: 2px solid rgba(247,213,139,.65) !important;
  box-shadow: 0 0 0 6px rgba(247,213,139,.14), 0 30px 80px rgba(0,0,0,.65) !important;
}

/* 4. Tear-Away Ring-Bound Calendar Card (std_calendar_heart) */
#ev-stage.t-std_calendar_heart .ev-card-inner {
  background: #fffaf5 !important;
  color: #2b161d !important;
  border-radius: 16px !important;
  padding-top: 58px !important;
  border-top: 42px solid #b8334a !important;
}
#ev-stage.t-std_calendar_heart .ev-eyebrow { color: #b8334a !important; }
#ev-stage.t-std_calendar_heart .ev-title { color: #2b161d !important; }

/* 5. First-Class Boarding Pass / Ticket Stub Card (std_passport, neon) */
#ev-stage.t-std_passport .ev-card-inner {
  border-radius: 16px !important;
  border: 2px solid #d4af5a !important;
  border-top: 28px solid #d4af5a !important;
  background: linear-gradient(170deg, #122840 0%, #091624 72%, #162e4a 72.5%, #0c1d30 100%) !important;
}
#ev-stage.t-std_passport .ev-card-inner::after {
  content: 'BOARDING PASS · GATE 01 · SEAT 1A ♥ 1B';
  display: block; margin-top: 16px; padding-top: 10px;
  border-top: 1px dashed rgba(245,210,135,.45);
  font: 700 10px/1.2 ui-monospace, monospace; letter-spacing: .22em; color: #f5d287;
}

/* 6. Unfurling Parchment Scroll with Wooden Rollers (std_message_bottle, vellum) */
#ev-stage.t-std_message_bottle .ev-card-inner {
  background: linear-gradient(180deg, #f5e6c8 0%, #fdf5e6 50%, #edd6b0 100%) !important;
  color: #1c333b !important;
  border-radius: 4px !important;
  border-top: 14px solid #8a5a2e !important;
  border-bottom: 14px solid #8a5a2e !important;
  box-shadow: 0 28px 65px rgba(0,0,0,.65), inset 0 0 30px rgba(138,90,46,.18) !important;
}
#ev-stage.t-std_message_bottle .ev-eyebrow { color: #165b68 !important; }
#ev-stage.t-std_message_bottle .ev-title { color: #0f2c36 !important; }
#ev-stage.t-std_message_bottle .ev-primary { background: #165b68 !important; color: #fff !important; }

/* 7. Royal Theatre Stage Playbill & Candy-Stripe Holiday Cards (xmas_nutcracker, xmas_santa, xmas_elves) */
#ev-stage.t-xmas_nutcracker .ev-card-inner,
#ev-stage.t-curtain .ev-card-inner {
  border-top: 10px double #f9d87c !important;
  border-bottom: 10px double #f9d87c !important;
  border-radius: 8px !important;
}
#ev-stage.t-xmas_santa .ev-card-inner,
#ev-stage.t-xmas_elves .ev-card-inner {
  border: 6px solid transparent !important;
  background-clip: padding-box !important;
  box-shadow: 0 0 0 4px #d92638, 0 0 0 8px #fdf7eb, 0 28px 70px rgba(0,0,0,.65) !important;
}

/* 8. Frosted Glass Snow-Globe Dome Card (xmas_snowglobe, xmas_tree, xmas_ornament) */
#ev-stage.t-xmas_snowglobe .ev-card-inner {
  border-radius: 180px 180px 22px 22px !important;
  border: 2px solid rgba(210,240,255,.65) !important;
  border-bottom: 22px solid #b8862d !important;
  box-shadow: inset 0 0 36px rgba(200,235,255,.28), 0 28px 70px rgba(0,0,0,.65) !important;
}
#ev-stage.t-xmas_ornament .ev-card-inner {
  border-radius: 48px !important;
  border: 3px solid #f9d98c !important;
}
#ev-stage.t-xmas_ornament .ev-card-inner::before {
  content: ''; position: absolute; top: -22px; left: 50%; width: 44px; height: 20px; margin-left: -22px;
  border-radius: 6px 6px 0 0; background: linear-gradient(90deg, #9c6f27, #f9e498, #9c6f27);
}

/* 9. Harvest Parchment & Copper Engraving Cards (tg_harvest_table, tg_golden_pumpkin, tg_wishbone, tg_pie_warmth) */
#ev-stage[class*="t-tg_"] .ev-card-inner {
  border-radius: 12px 32px 12px 32px !important;
  border: 2px solid rgba(247,198,126,.55) !important;
  box-shadow: inset 0 0 0 5px rgba(247,198,126,.15), 0 28px 70px rgba(0,0,0,.65) !important;
}

/* 10. Scalloped Porcelain & Lace Bridal Cards (bridal_parasol, bridal_teacup, bridal_dress) */
#ev-stage.t-bridal_parasol .ev-card-inner,
#ev-stage.t-bridal_teacup .ev-card-inner,
#ev-stage.t-bridal_dress .ev-card-inner {
  background: linear-gradient(165deg, #fff9fb, #f7e4ec) !important;
  color: #3d1e2b !important;
  border-radius: 36px !important;
  border: 3px dashed #d49b4b !important;
  box-shadow: 0 0 0 6px #fff9fb, 0 28px 70px rgba(0,0,0,.5) !important;
}
#ev-stage.t-bridal_parasol .ev-eyebrow,
#ev-stage.t-bridal_teacup .ev-eyebrow,
#ev-stage.t-bridal_dress .ev-eyebrow { color: #b04b72 !important; }
#ev-stage.t-bridal_parasol .ev-title,
#ev-stage.t-bridal_teacup .ev-title,
#ev-stage.t-bridal_dress .ev-title { color: #3d1e2b !important; }
#ev-stage.t-bridal_parasol .ev-primary,
#ev-stage.t-bridal_teacup .ev-primary,
#ev-stage.t-bridal_dress .ev-primary { background: #b04b72 !important; color: #fff !important; }

/* 11. Distillery Whiskey Label & Vegas Casino Playing Card (bachelor_whiskey, bachelor_poker) */
#ev-stage.t-bachelor_whiskey .ev-card-inner {
  border-radius: 4px !important;
  border: 3px double #f6c270 !important;
  box-shadow: inset 0 0 0 6px rgba(246,194,112,.2), 0 28px 70px rgba(0,0,0,.75) !important;
}
#ev-stage.t-bachelor_whiskey .ev-card-inner::before {
  content: 'SINGLE MALT RESERVE · AGED TO PERFECTION';
  display: block; margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(246,194,112,.35);
  font: 700 9px/1.2 'Cinzel', serif; letter-spacing: .24em; color: #f6c270;
}
#ev-stage.t-bachelor_poker .ev-card-inner {
  background: #fdfbf7 !important;
  color: #141824 !important;
  border-radius: 16px !important;
  border: 4px solid #d4af5a !important;
  padding: 44px 28px !important;
}
#ev-stage.t-bachelor_poker .ev-card-inner::before {
  content: 'A♠'; position: absolute; top: 12px; left: 16px;
  font: 800 20px/1 'Cinzel', serif; color: #141824;
}
#ev-stage.t-bachelor_poker .ev-card-inner::after {
  content: 'A♠'; position: absolute; bottom: 12px; right: 16px;
  font: 800 20px/1 'Cinzel', serif; color: #141824; transform: rotate(180deg);
}
#ev-stage.t-bachelor_poker .ev-eyebrow { color: #b81d2f !important; }
#ev-stage.t-bachelor_poker .ev-title { color: #141824 !important; }
#ev-stage.t-bachelor_poker .ev-primary { background: #123d28 !important; color: #f8d886 !important; }

/* 12. Chamfered Cyberpunk HUD & UV Blacklight Cards (neon_cyber_mask, neon_glowsticks, neon_paint_splash) */
#ev-stage.t-neon_cyber_mask .ev-card-inner {
  border-radius: 0 !important;
  clip-path: polygon(0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px));
  border: 2px solid #00f0ff !important;
  box-shadow: 0 0 36px rgba(0,240,255,.45), inset 0 0 24px rgba(255,43,214,.25) !important;
}
#ev-stage.t-neon_glowsticks .ev-card-inner,
#ev-stage.t-neon_paint_splash .ev-card-inner {
  box-shadow: 0 0 28px rgba(57,255,20,.45), 0 0 54px rgba(255,43,214,.3), inset 0 0 22px rgba(0,240,255,.22) !important;
}

/* 13. Gothic Tombstone Arch & Apothecary Label (hw_jack_lantern, hw_cauldron, hw_haunted_manor) */
#ev-stage.t-hw_jack_lantern .ev-card-inner,
#ev-stage.t-hw_haunted_manor .ev-card-inner {
  border-radius: 140px 140px 12px 12px !important;
  border: 2px solid rgba(255,156,66,.65) !important;
}

/* ---------- 41. SAVE THE DATE: Polaroid Clothesline (std_polaroid_duo) ---------- */
#ev-stage.t-std_polaroid_duo {
  background: radial-gradient(ellipse at 50% 25%, #3d271d 0%, #1f120d 58%, #0d0705 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-std_polaroid_duo .ev-card-inner {
  background: linear-gradient(165deg, rgba(44,26,18,.92), rgba(22,12,8,.96));
  border-color: rgba(245,208,144,.42);
}
#ev-stage.t-std_polaroid_duo .ev-eyebrow,
#ev-stage.t-std_polaroid_duo .ev-cta { color: #f7d794; border-color: rgba(247,215,148,.48); }
.std-polaroid-rig { position: relative; width: 320px; height: 320px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.std-twine { position: absolute; top: 36px; left: -20px; right: -20px; height: 3px; background: linear-gradient(90deg, transparent, #c89d66 15%, #e6be8a 50%, #c89d66 85%, transparent); box-shadow: 0 2px 8px rgba(255,210,130,.4); }
.std-pol-card { position: absolute; top: 48px; width: 138px; height: 168px; background: #fdfaf3; border-radius: 4px; padding: 9px 9px 32px; box-shadow: 0 18px 36px rgba(0,0,0,.6); transition: transform .75s var(--ev-spring), opacity .45s ease; transform-origin: 50% -10px; }
.std-pol-card.left { left: 26px; transform: rotate(-8deg); }
.std-pol-card.right { right: 26px; transform: rotate(7deg); }
.std-pol-img { width: 100%; height: 120px; border-radius: 2px; background-size: cover; background-position: center; background-color: #2b1d16; overflow: hidden; position: relative; }
.std-pol-cap { font: italic 600 12px/26px 'Cormorant Garamond', Georgia, serif; color: #4a3326; text-align: center; letter-spacing: .06em; }
.std-pin { position: absolute; top: -16px; left: 50%; width: 10px; height: 26px; margin-left: -5px; background: linear-gradient(180deg, #deb887, #a67b4b); border-radius: 2px; box-shadow: 0 3px 6px rgba(0,0,0,.45); transition: transform .45s ease, opacity .4s ease; }
.std-polaroid-rig.open .std-pol-card.left { transform: translate(-28px, -18px) rotate(-18deg) scale(1.08); }
.std-polaroid-rig.open .std-pol-card.right { transform: translate(28px, -18px) rotate(18deg) scale(1.08); }
.std-polaroid-rig.open .std-pin { transform: translateY(-28px) rotate(25deg); opacity: 0; }
.std-polaroid-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 42. SAVE THE DATE: Vintage Cinema Photo Strip (std_film_strip) ---------- */
#ev-stage.t-std_film_strip {
  background: radial-gradient(ellipse at 50% 35%, #2b211b 0%, #140f0c 60%, #070504 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-std_film_strip .ev-card-inner {
  background: linear-gradient(165deg, rgba(36,28,22,.94), rgba(16,12,10,.96));
  border-color: rgba(235,198,138,.42);
}
#ev-stage.t-std_film_strip .ev-eyebrow,
#ev-stage.t-std_film_strip .ev-cta { color: #f2cfa0; border-color: rgba(242,207,160,.45); }
.std-strip-rig { position: relative; width: 220px; height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.std-strip-slot { width: 170px; height: 14px; border-radius: 8px; background: #090706; border: 2px solid #8c6d46; box-shadow: 0 4px 14px rgba(0,0,0,.8); z-index: 3; }
.std-strip-body { width: 136px; background: #fbf7ef; padding: 10px 10px 18px; border-radius: 0 0 6px 6px; box-shadow: 0 22px 44px rgba(0,0,0,.7); display: flex; flex-direction: column; gap: 8px; transform: translateY(-24px); transition: transform .7s var(--ev-spring), opacity .45s ease; }
.std-strip-frame { width: 100%; height: 76px; background-size: cover; background-position: center; border-radius: 2px; filter: sepia(.18) contrast(1.06); position: relative; overflow: hidden; }
.std-strip-foot { font: 700 10px/1.2 'Plus Jakarta Sans', sans-serif; letter-spacing: .22em; color: #3a2a1d; text-align: center; padding-top: 4px; }
.std-strip-rig.open .std-strip-body { transform: translateY(18px) scale(1.06); }
.std-strip-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 43. SAVE THE DATE: Gilded Portrait Frame (std_gold_frame) ---------- */
#ev-stage.t-std_gold_frame {
  background: radial-gradient(ellipse at 50% 30%, #3a1f28 0%, #1c0d13 60%, #090406 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-std_gold_frame .ev-card-inner {
  background: linear-gradient(165deg, rgba(46,20,29,.92), rgba(22,9,14,.96));
  border-color: rgba(246,209,133,.46);
}
#ev-stage.t-std_gold_frame .ev-eyebrow,
#ev-stage.t-std_gold_frame .ev-cta { color: #f7d58b; border-color: rgba(247,213,139,.48); }
.std-frame-rig { position: relative; width: 250px; height: 310px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.std-oval-outer { position: relative; width: 210px; height: 266px; border-radius: 50%; padding: 12px; background: conic-gradient(from 0deg, #f9e498, #b8862d, #fff2be, #9e6b18, #f9e498); box-shadow: 0 22px 50px rgba(0,0,0,.7), 0 0 34px rgba(249,228,152,.35); overflow: hidden; }
.std-oval-inner { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; position: relative; background-size: cover; background-position: center; border: 3px solid #4a2e0b; }
.std-drape { position: absolute; inset: 0; background: linear-gradient(135deg, #6e1428 0%, #3d0814 100%); transition: transform .8s cubic-bezier(.22,1,.36,1), opacity .6s ease; display: flex; align-items: center; justify-content: center; color: #f9e498; font: italic 600 17px 'Cormorant Garamond', serif; letter-spacing: .12em; }
.std-frame-rig.open .std-drape { transform: translateY(-105%) rotate(-8deg); opacity: 0; }
.std-frame-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 44. SAVE THE DATE: Tear-Away Calendar & Photo (std_calendar_heart) ---------- */
#ev-stage.t-std_calendar_heart {
  background: radial-gradient(ellipse at 50% 30%, #3a232b 0%, #1c1015 60%, #0b0608 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-std_calendar_heart .ev-card-inner {
  background: linear-gradient(165deg, rgba(45,24,32,.92), rgba(20,10,14,.96));
  border-color: rgba(245,196,170,.44);
}
#ev-stage.t-std_calendar_heart .ev-eyebrow,
#ev-stage.t-std_calendar_heart .ev-cta { color: #f7c5ad; border-color: rgba(247,197,173,.48); }
.std-cal-rig { position: relative; width: 240px; height: 280px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.std-cal-base { position: relative; width: 204px; height: 238px; border-radius: 16px; background: #fffaf5; box-shadow: 0 24px 48px rgba(0,0,0,.65); overflow: hidden; display: flex; flex-direction: column; }
.std-cal-head { height: 54px; background: linear-gradient(135deg, #b8334a, #7d192c); color: #fff; font: 700 13px/54px 'Plus Jakarta Sans', sans-serif; letter-spacing: .24em; text-align: center; text-transform: uppercase; }
.std-cal-photo { flex: 1; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; justify-content: center; }
.std-cal-sheet { position: absolute; inset: 54px 0 0 0; background: #fffaf5; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #2b181e; transition: transform .75s cubic-bezier(.4,0,.2,1), opacity .55s ease; transform-origin: 100% 0%; }
.std-cal-sheet b { font: 700 56px/1 'Playfair Display', serif; color: #b8334a; }
.std-cal-sheet span { font: 600 12px/1.4 'Plus Jakarta Sans', sans-serif; letter-spacing: .2em; color: #7a5c64; margin-top: 6px; }
.std-cal-rig.open .std-cal-sheet { transform: translate(60px, 90px) rotate(24deg); opacity: 0; }
.std-cal-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 45. SAVE THE DATE: Love Passport & Boarding Pass (std_passport) ---------- */
#ev-stage.t-std_passport {
  background: radial-gradient(ellipse at 50% 30%, #162b40 0%, #0b1622 60%, #04080e 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-std_passport .ev-card-inner {
  background: linear-gradient(165deg, rgba(18,36,56,.93), rgba(9,18,30,.96));
  border-color: rgba(242,205,128,.45);
}
#ev-stage.t-std_passport .ev-eyebrow,
#ev-stage.t-std_passport .ev-cta { color: #f5d287; border-color: rgba(245,210,135,.48); }
.std-pass-rig { position: relative; width: 240px; height: 290px; cursor: pointer; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.std-pass-inside { position: absolute; width: 196px; height: 254px; border-radius: 8px 14px 14px 8px; background: #fbf6eb; padding: 14px; box-shadow: 0 22px 44px rgba(0,0,0,.65); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.std-pass-photo { width: 96px; height: 96px; border-radius: 50%; background-size: cover; background-position: center; border: 3px solid #c99738; margin-top: 6px; }
.std-pass-stamp { padding: 5px 12px; border: 2px dashed #b8334a; color: #b8334a; font: 800 11px/1.2 'Plus Jakarta Sans', sans-serif; letter-spacing: .18em; border-radius: 6px; transform: rotate(-10deg); margin-top: 6px; }
.std-pass-cover { position: absolute; width: 196px; height: 254px; border-radius: 8px 14px 14px 8px; background: linear-gradient(145deg, #1a3654, #0f2136); border: 2px solid #d4af5a; box-shadow: 0 18px 36px rgba(0,0,0,.6); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f5d287; transform-origin: 0% 50%; transition: transform .8s cubic-bezier(.22,1,.36,1), opacity .55s ease; }
.std-pass-cover b { font: 700 16px/1.3 'Cinzel', serif; letter-spacing: .22em; text-align: center; }
.std-pass-cover i { font-style: normal; font-size: 36px; margin-bottom: 12px; }
.std-pass-rig.open .std-pass-cover { transform: rotateY(-145deg); opacity: .15; }
.std-pass-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 46. SAVE THE DATE: Message in a Bottle (std_message_bottle) ---------- */
#ev-stage.t-std_message_bottle {
  background: radial-gradient(ellipse at 50% 35%, #163b48 0%, #0b2028 60%, #040d11 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-std_message_bottle .ev-card-inner {
  background: linear-gradient(165deg, rgba(18,48,58,.92), rgba(8,24,30,.96));
  border-color: rgba(152,226,230,.42);
}
#ev-stage.t-std_message_bottle .ev-eyebrow,
#ev-stage.t-std_message_bottle .ev-cta { color: #a3ecf0; border-color: rgba(163,236,240,.46); }
.std-bottle-rig { position: relative; width: 240px; height: 300px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: evFloatY 3.4s ease-in-out infinite; }
.std-cork { width: 32px; height: 24px; background: linear-gradient(90deg, #b88652, #8a5e32); border-radius: 4px 4px 2px 2px; margin-bottom: -4px; z-index: 3; transition: transform .6s cubic-bezier(.2,1.1,.3,1), opacity .45s ease; }
.std-bottle-neck { width: 42px; height: 38px; border: 2px solid rgba(180,245,250,.55); border-bottom: none; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, rgba(160,235,240,.22), rgba(255,255,255,.08)); }
.std-bottle-body { width: 128px; height: 186px; border-radius: 36px 36px 22px 22px; border: 2px solid rgba(180,245,250,.55); background: linear-gradient(135deg, rgba(160,235,240,.24), rgba(30,90,105,.38)); box-shadow: 0 20px 44px rgba(0,0,0,.6), inset 0 0 24px rgba(180,245,250,.22); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.std-bottle-scroll { width: 84px; height: 112px; border-radius: 6px; background: #fbf2de; padding: 6px; box-shadow: 0 6px 16px rgba(0,0,0,.45); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .65s var(--ev-spring); }
.std-bottle-photo { width: 100%; height: 74px; border-radius: 4px; background-size: cover; background-position: center; }
.std-bottle-rig.open .std-cork { transform: translate(24px, -68px) rotate(36deg); opacity: 0; }
.std-bottle-rig.open .std-bottle-scroll { transform: translateY(-28px) scale(1.16); }
.std-bottle-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 47. CHRISTMAS / HOLIDAY: Royal Nutcracker (xmas_nutcracker) ---------- */
#ev-stage.t-xmas_nutcracker {
  background: radial-gradient(ellipse at 50% 28%, #47121b 0%, #24070c 58%, #0d0204 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-xmas_nutcracker .ev-card-inner {
  background: linear-gradient(165deg, rgba(58,12,20,.93), rgba(26,5,9,.96));
  border-color: rgba(246,209,115,.5);
}
#ev-stage.t-xmas_nutcracker .ev-eyebrow,
#ev-stage.t-xmas_nutcracker .ev-cta { color: #f9d87c; border-color: rgba(249,216,124,.5); }
.xmas-nut-rig { position: relative; width: 220px; height: 320px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.xmas-nut-hat { width: 88px; height: 68px; background: linear-gradient(180deg, #141824, #090b10); border-radius: 10px 10px 4px 4px; border-bottom: 6px solid #f2c96d; position: relative; box-shadow: 0 8px 20px rgba(0,0,0,.6); transition: transform .5s var(--ev-spring); }
.xmas-nut-hat::after { content: ''; position: absolute; left: 50%; top: 14px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle, #fff6c2, #d49b2a); box-shadow: 0 0 14px #f9d87c; }
.xmas-nut-face { width: 76px; height: 58px; background: #f3cfa6; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; border-left: 6px solid #fff; border-right: 6px solid #fff; }
.xmas-nut-eyes { width: 46px; display: flex; justify-content: space-between; margin-bottom: 6px; }
.xmas-nut-eyes i { width: 9px; height: 9px; border-radius: 50%; background: #141824; display: block; }
.xmas-nut-stache { width: 54px; height: 10px; background: #fff; border-radius: 10px; }
.xmas-nut-jaw { width: 32px; height: 16px; background: #f3cfa6; border: 2px solid #7a121e; border-top: 5px solid #fff; transition: transform .45s var(--ev-spring); }
.xmas-nut-coat { width: 108px; height: 112px; background: linear-gradient(180deg, #c81d32, #850d1c); border-radius: 12px 12px 6px 6px; border: 3px solid #f2c96d; position: relative; box-shadow: 0 16px 34px rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center; }
.xmas-nut-coat::before { content: ''; width: 56px; height: 80px; border-left: 3px dotted #f9d87c; border-right: 3px dotted #f9d87c; }
.xmas-nut-rig.open .xmas-nut-hat { transform: translateY(-16px) rotate(-8deg); }
.xmas-nut-rig.open .xmas-nut-jaw { transform: translateY(10px); }
.xmas-nut-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 48. CHRISTMAS / HOLIDAY: Santa's Midnight Sleigh (xmas_santa) ---------- */
#ev-stage.t-xmas_santa {
  background: radial-gradient(ellipse at 50% 25%, #16284c 0%, #0a1328 58%, #040711 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-xmas_santa .ev-card-inner {
  background: linear-gradient(165deg, rgba(20,36,68,.93), rgba(9,18,36,.96));
  border-color: rgba(248,214,122,.48);
}
#ev-stage.t-xmas_santa .ev-eyebrow,
#ev-stage.t-xmas_santa .ev-cta { color: #fae094; border-color: rgba(250,224,148,.48); }
.xmas-santa-rig { position: relative; width: 290px; height: 280px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.xmas-moon { width: 186px; height: 186px; border-radius: 50%; background: radial-gradient(circle at 38% 38%, #fffef2 0%, #fde8a6 55%, #dfb456 100%); box-shadow: 0 0 64px rgba(253,232,166,.55); position: relative; display: flex; align-items: center; justify-content: center; }
.xmas-sleigh { position: absolute; width: 220px; height: 86px; display: flex; align-items: center; justify-content: center; transition: transform .85s cubic-bezier(.22,1,.36,1), opacity .55s ease; }
.xmas-sleigh-svg { width: 220px; height: 86px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.55)); }
.xmas-santa-rig.open .xmas-sleigh { transform: translate(75px, -55px) rotate(-14deg) scale(1.12); }
.xmas-santa-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 49. CHRISTMAS / HOLIDAY: Elves' Workshop Toy Box (xmas_elves) ---------- */
#ev-stage.t-xmas_elves {
  background: radial-gradient(ellipse at 50% 30%, #143d29 0%, #092115 58%, #030d08 100%);
  --ev-font-display: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-xmas_elves .ev-card-inner {
  background: linear-gradient(165deg, rgba(18,52,36,.93), rgba(8,26,17,.96));
  border-color: rgba(246,213,118,.48);
}
#ev-stage.t-xmas_elves .ev-eyebrow,
#ev-stage.t-xmas_elves .ev-cta { color: #f8de8e; border-color: rgba(248,222,142,.5); }
.xmas-elf-rig { position: relative; width: 250px; height: 280px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 24px; }
.xmas-elf-hats { position: absolute; top: 44px; width: 170px; display: flex; justify-content: space-between; transition: transform .6s var(--ev-spring); z-index: 1; }
.xmas-elf-hat { width: 64px; height: 68px; background: linear-gradient(135deg, #249c57, #136335); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); position: relative; border-bottom: 8px solid #d92638; }
.xmas-elf-crate { position: relative; z-index: 2; width: 188px; height: 138px; border-radius: 12px; background: repeating-linear-gradient(90deg, #b81d2f 0 22px, #fdf7eb 22px 44px); border: 4px solid #f2c96d; box-shadow: 0 20px 42px rgba(0,0,0,.65); display: flex; align-items: center; justify-content: center; }
.xmas-elf-lid { position: absolute; top: -18px; width: 204px; height: 26px; border-radius: 8px; background: linear-gradient(90deg, #f5d27b, #c7952c); box-shadow: 0 6px 16px rgba(0,0,0,.45); transition: transform .65s var(--ev-spring), opacity .45s ease; }
.xmas-elf-badge { background: #143d29; color: #f8de8e; padding: 8px 16px; border-radius: 999px; border: 2px solid #f2c96d; font: 700 12px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .16em; }
.xmas-elf-rig.open .xmas-elf-lid { transform: translateY(-74px) rotate(16deg); opacity: 0; }
.xmas-elf-rig.open .xmas-elf-hats { transform: translateY(-48px) scale(1.16); }
.xmas-elf-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 50. CHRISTMAS / HOLIDAY: Grand Christmas Tree Star (xmas_tree) ---------- */
#ev-stage.t-xmas_tree {
  background: radial-gradient(ellipse at 50% 28%, #103828 0%, #071f16 58%, #020c08 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-xmas_tree .ev-card-inner {
  background: linear-gradient(165deg, rgba(14,46,33,.93), rgba(6,22,15,.96));
  border-color: rgba(247,212,116,.48);
}
#ev-stage.t-xmas_tree .ev-eyebrow,
#ev-stage.t-xmas_tree .ev-cta { color: #f9dc8c; border-color: rgba(249,220,140,.5); }
.xmas-tree-rig { position: relative; width: 240px; height: 320px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.xmas-tree-star { width: 52px; height: 52px; background: radial-gradient(circle, #fff9d2, #f2be42); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); filter: drop-shadow(0 0 18px #f9dc8c); margin-bottom: -10px; z-index: 3; transition: transform .65s var(--ev-spring); animation: evFloatY 2.4s ease-in-out infinite; }
.xmas-tree-tier { background: linear-gradient(180deg, #1f6b45, #0e3d26); clip-path: polygon(50% 0%, 0% 100%, 100% 100%); border-bottom: 3px solid rgba(249,220,140,.45); }
.xmas-tree-tier.t1 { width: 110px; height: 74px; }
.xmas-tree-tier.t2 { width: 154px; height: 88px; margin-top: -24px; }
.xmas-tree-tier.t3 { width: 198px; height: 102px; margin-top: -28px; }
.xmas-tree-trunk { width: 34px; height: 28px; background: #5c3a21; border-radius: 0 0 6px 6px; }
.xmas-tree-rig.open .xmas-tree-star { transform: scale(1.45) rotate(72deg); filter: drop-shadow(0 0 36px #fff); }
.xmas-tree-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 51. CHRISTMAS / HOLIDAY: Enchanted Snow Globe (xmas_snowglobe) ---------- */
#ev-stage.t-xmas_snowglobe {
  background: radial-gradient(ellipse at 50% 30%, #182c48 0%, #0b1626 60%, #040810 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-xmas_snowglobe .ev-card-inner {
  background: linear-gradient(165deg, rgba(20,38,62,.92), rgba(9,19,34,.96));
  border-color: rgba(188,228,255,.46);
}
#ev-stage.t-xmas_snowglobe .ev-eyebrow,
#ev-stage.t-xmas_snowglobe .ev-cta { color: #c7e8ff; border-color: rgba(199,232,255,.48); }
.xmas-globe-rig { position: relative; width: 240px; height: 290px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .55s var(--ev-spring); }
.xmas-globe-sphere { width: 196px; height: 196px; border-radius: 50%; border: 2px solid rgba(215,240,255,.65); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.32), rgba(135,195,245,.14) 55%, rgba(20,45,78,.5) 100%); box-shadow: 0 18px 44px rgba(0,0,0,.6), inset 0 0 28px rgba(200,235,255,.35); position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.xmas-globe-cabin { width: 72px; height: 52px; background: #6b3e26; border-radius: 4px 4px 0 0; position: relative; margin-bottom: 18px; box-shadow: 0 0 18px rgba(255,205,110,.6); }
.xmas-globe-cabin::before { content: ''; position: absolute; top: -24px; left: -10px; width: 92px; height: 26px; background: #eef7ff; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.xmas-globe-cabin::after { content: ''; position: absolute; left: 26px; top: 16px; width: 20px; height: 20px; background: #ffe28a; border-radius: 3px; box-shadow: 0 0 14px #ffcf5c; }
.xmas-globe-base { width: 152px; height: 42px; margin-top: -10px; border-radius: 10px 10px 18px 18px; background: linear-gradient(90deg, #9c6f27, #f5d37e, #9c6f27); box-shadow: 0 14px 28px rgba(0,0,0,.65); z-index: 2; }
.xmas-globe-rig.open { transform: rotate(-10deg) scale(1.08); }
.xmas-globe-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 52. CHRISTMAS / HOLIDAY: Crimson Glass Bauble (xmas_ornament) ---------- */
#ev-stage.t-xmas_ornament {
  background: radial-gradient(ellipse at 50% 28%, #4a101d 0%, #24060d 58%, #0c0204 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-xmas_ornament .ev-card-inner {
  background: linear-gradient(165deg, rgba(58,12,22,.93), rgba(26,5,10,.96));
  border-color: rgba(248,210,126,.48);
}
#ev-stage.t-xmas_ornament .ev-eyebrow,
#ev-stage.t-xmas_ornament .ev-cta { color: #f9d98c; border-color: rgba(249,217,140,.5); }
.xmas-bauble-rig { position: relative; width: 220px; height: 290px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; transform-origin: 50% 0%; animation: evPendulum 3.2s ease-in-out infinite; }
.xmas-bauble-cap { width: 38px; height: 24px; border-radius: 6px 6px 2px 2px; background: linear-gradient(90deg, #b8862d, #f9e498, #b8862d); }
.xmas-bauble-sphere { width: 176px; height: 176px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #ff6b7b 0%, #c9142b 48%, #5e0511 100%); border: 2px solid rgba(249,228,152,.55); box-shadow: 0 22px 48px rgba(0,0,0,.65), 0 0 36px rgba(201,20,43,.45); display: flex; align-items: center; justify-content: center; position: relative; transition: transform .6s var(--ev-spring); }
.xmas-bauble-band { width: 100%; height: 32px; background: linear-gradient(90deg, rgba(249,228,152,.2), rgba(249,228,152,.85), rgba(249,228,152,.2)); border-top: 2px solid #fff4c2; border-bottom: 2px solid #fff4c2; }
.xmas-bauble-rig.open .xmas-bauble-sphere { transform: scale(1.18); filter: brightness(1.3); }
.xmas-bauble-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 53. THANKSGIVING: Golden Harvest Cornucopia (tg_harvest_table) ---------- */
#ev-stage.t-tg_harvest_table {
  background: radial-gradient(ellipse at 50% 30%, #462512 0%, #241107 60%, #0d0502 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-tg_harvest_table .ev-card-inner {
  background: linear-gradient(165deg, rgba(54,28,13,.93), rgba(26,12,5,.96));
  border-color: rgba(244,186,102,.46);
}
#ev-stage.t-tg_harvest_table .ev-eyebrow,
#ev-stage.t-tg_harvest_table .ev-cta { color: #f7c67e; border-color: rgba(247,198,126,.48); }
.tg-horn-rig { position: relative; width: 260px; height: 260px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .65s var(--ev-spring); }
.tg-horn-body { width: 196px; height: 136px; border-radius: 70px 18px 90px 70px; background: repeating-linear-gradient(45deg, #b87b38 0 12px, #8c561e 12px 24px); border: 3px solid #f2be68; box-shadow: 0 22px 44px rgba(0,0,0,.65); position: relative; display: flex; align-items: center; justify-content: flex-start; padding-left: 16px; }
.tg-horn-gourds { display: flex; gap: 6px; transition: transform .65s var(--ev-spring); }
.tg-horn-gourd { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9f45, #bf4b13); border: 2px solid #f9d88c; box-shadow: 0 6px 14px rgba(0,0,0,.45); }
.tg-horn-rig.open { transform: rotate(-12deg) scale(1.06); }
.tg-horn-rig.open .tg-horn-gourds { transform: translate(-26px, -16px) scale(1.15); }
.tg-horn-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 54. THANKSGIVING: Gilded Heirloom Pumpkin (tg_golden_pumpkin) ---------- */
#ev-stage.t-tg_golden_pumpkin {
  background: radial-gradient(ellipse at 50% 30%, #3d2010 0%, #1e0e06 60%, #0b0402 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-tg_golden_pumpkin .ev-card-inner {
  background: linear-gradient(165deg, rgba(48,24,12,.93), rgba(22,10,5,.96));
  border-color: rgba(246,192,108,.48);
}
#ev-stage.t-tg_golden_pumpkin .ev-eyebrow,
#ev-stage.t-tg_golden_pumpkin .ev-cta { color: #f9cc84; border-color: rgba(249,204,132,.5); }
.tg-pump-rig { position: relative; width: 240px; height: 260px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tg-pump-stem { width: 26px; height: 42px; border-radius: 12px 12px 4px 4px; background: linear-gradient(90deg, #9c6f27, #f5d37e); margin-bottom: -10px; z-index: 3; transform: rotate(10deg); transition: transform .6s var(--ev-spring); }
.tg-pump-body { width: 188px; height: 148px; border-radius: 80px; background: radial-gradient(circle at 40% 32%, #f59c42 0%, #c95614 58%, #6e2606 100%); border: 3px solid #f5d37e; box-shadow: 0 22px 48px rgba(0,0,0,.65), 0 0 34px rgba(245,156,66,.35); position: relative; display: flex; align-items: center; justify-content: center; transition: transform .65s var(--ev-spring); }
.tg-pump-rib { width: 106px; height: 144px; border-radius: 50%; border-left: 3px solid rgba(255,225,155,.55); border-right: 3px solid rgba(255,225,155,.55); }
.tg-pump-rig.open .tg-pump-stem { transform: translateY(-34px) rotate(28deg); }
.tg-pump-rig.open .tg-pump-body { transform: scale(1.14); filter: brightness(1.22); }
.tg-pump-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 55. THANKSGIVING: The Golden Wishbone (tg_wishbone) ---------- */
#ev-stage.t-tg_wishbone {
  background: radial-gradient(ellipse at 50% 30%, #3a2414 0%, #1c1008 60%, #090502 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-tg_wishbone .ev-card-inner {
  background: linear-gradient(165deg, rgba(45,28,15,.93), rgba(20,12,6,.96));
  border-color: rgba(248,212,126,.48);
}
#ev-stage.t-tg_wishbone .ev-eyebrow,
#ev-stage.t-tg_wishbone .ev-cta { color: #f9dc8e; border-color: rgba(249,220,142,.5); }
.tg-wish-rig { position: relative; width: 220px; height: 280px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tg-wish-arm { width: 22px; height: 176px; border-radius: 14px; background: linear-gradient(90deg, #b8862d, #fff2be, #9e6b18); box-shadow: 0 12px 28px rgba(0,0,0,.6); transform-origin: 50% 10%; transition: transform .65s var(--ev-spring); }
.tg-wish-arm.left { transform: rotate(18deg); margin-right: 16px; }
.tg-wish-arm.right { transform: rotate(-18deg); margin-left: 16px; }
.tg-wish-rig.open .tg-wish-arm.left { transform: translate(-28px, 12px) rotate(36deg); }
.tg-wish-rig.open .tg-wish-arm.right { transform: translate(28px, 12px) rotate(-36deg); }
.tg-wish-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 56. THANKSGIVING: Warm Spiced Pie & Cloche (tg_pie_warmth) ---------- */
#ev-stage.t-tg_pie_warmth {
  background: radial-gradient(ellipse at 50% 30%, #442214 0%, #210f08 60%, #0b0402 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-tg_pie_warmth .ev-card-inner {
  background: linear-gradient(165deg, rgba(52,26,15,.93), rgba(24,11,6,.96));
  border-color: rgba(242,188,118,.46);
}
#ev-stage.t-tg_pie_warmth .ev-eyebrow,
#ev-stage.t-tg_pie_warmth .ev-cta { color: #f6c88d; border-color: rgba(246,200,141,.48); }
.tg-pie-rig { position: relative; width: 250px; height: 260px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tg-pie-cloche { width: 196px; height: 108px; border-radius: 100px 100px 8px 8px; background: linear-gradient(135deg, rgba(246,200,141,.85), rgba(168,104,42,.92)); border: 2px solid #fff2c6; box-shadow: 0 14px 32px rgba(0,0,0,.6); z-index: 2; transition: transform .75s var(--ev-spring), opacity .5s ease; position: relative; }
.tg-pie-cloche::before { content: ''; position: absolute; top: -18px; left: 50%; width: 26px; height: 18px; margin-left: -13px; border-radius: 50%; background: #fff2c6; }
.tg-pie-dish { width: 208px; height: 52px; border-radius: 12px 12px 34px 34px; background: repeating-linear-gradient(45deg, #d9883b 0 10px, #b0621e 10px 20px); border: 4px solid #f5deb3; margin-top: -10px; box-shadow: 0 18px 36px rgba(0,0,0,.65); }
.tg-pie-rig.open .tg-pie-cloche { transform: translateY(-96px) rotate(-10deg); opacity: 0; }
.tg-pie-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 57. BRIDAL SHOWER: Lace & Peony Parasol (bridal_parasol) ---------- */
#ev-stage.t-bridal_parasol {
  background: radial-gradient(ellipse at 50% 30%, #472834 0%, #241219 60%, #0d0609 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-bridal_parasol .ev-card-inner {
  background: linear-gradient(165deg, rgba(56,30,40,.92), rgba(26,13,18,.96));
  border-color: rgba(250,206,220,.48);
}
#ev-stage.t-bridal_parasol .ev-eyebrow,
#ev-stage.t-bridal_parasol .ev-cta { color: #fcd4e0; border-color: rgba(252,212,224,.5); }
.br-para-rig { position: relative; width: 250px; height: 280px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.br-para-canopy { width: 206px; height: 112px; border-radius: 110px 110px 14px 14px; background: radial-gradient(circle at 50% 25%, #fff7fa, #f7bfd0 70%, #d98ca4 100%); border: 3px dashed #fff; box-shadow: 0 18px 42px rgba(0,0,0,.55), 0 0 28px rgba(252,212,224,.35); transition: transform .75s var(--ev-spring); z-index: 2; }
.br-para-handle { width: 6px; height: 108px; background: linear-gradient(180deg, #f5d37e, #b8862d); margin-top: -6px; border-radius: 0 0 12px 12px; }
.br-para-rig.open .br-para-canopy { transform: translateY(-22px) rotate(18deg) scale(1.14); }
.br-para-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 58. BRIDAL SHOWER: Afternoon Bridal Tea (bridal_teacup) ---------- */
#ev-stage.t-bridal_teacup {
  background: radial-gradient(ellipse at 50% 30%, #3d2b35 0%, #1e141a 60%, #0a0608 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-bridal_teacup .ev-card-inner {
  background: linear-gradient(165deg, rgba(48,32,42,.92), rgba(22,14,19,.96));
  border-color: rgba(246,204,218,.46);
}
#ev-stage.t-bridal_teacup .ev-eyebrow,
#ev-stage.t-bridal_teacup .ev-cta { color: #fad0de; border-color: rgba(250,208,222,.5); }
.br-tea-rig { position: relative; width: 240px; height: 240px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.br-tea-cup { width: 156px; height: 102px; border-radius: 12px 12px 76px 76px; background: linear-gradient(180deg, #fff9fb, #f7d6e0); border: 3px solid #f2c96d; box-shadow: 0 16px 36px rgba(0,0,0,.55); position: relative; transition: transform .65s var(--ev-spring); }
.br-tea-cup::after { content: ''; position: absolute; right: -28px; top: 18px; width: 32px; height: 44px; border: 5px solid #f2c96d; border-radius: 50%; }
.br-tea-saucer { width: 198px; height: 22px; border-radius: 50%; background: linear-gradient(90deg, #e8b8c8, #fff9fb, #e8b8c8); border: 2px solid #f2c96d; margin-top: -4px; box-shadow: 0 12px 24px rgba(0,0,0,.5); }
.br-tea-rig.open .br-tea-cup { transform: translateY(-20px) rotate(-10deg) scale(1.08); }
.br-tea-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 59. BRIDAL SHOWER: Silk Bridal Veil & Tiara (bridal_veil) ---------- */
#ev-stage.t-bridal_veil {
  background: radial-gradient(ellipse at 50% 28%, #38283e 0%, #1b121f 60%, #09050b 100%);
  --ev-font-display: 'Cormorant Garamond', Georgia, serif;
}
#ev-stage.t-bridal_veil .ev-card-inner {
  background: linear-gradient(165deg, rgba(44,30,50,.92), rgba(20,13,24,.96));
  border-color: rgba(242,216,252,.46);
}
#ev-stage.t-bridal_veil .ev-eyebrow,
#ev-stage.t-bridal_veil .ev-cta { color: #f4dcff; border-color: rgba(244,220,255,.5); }
.br-veil-rig { position: relative; width: 240px; height: 290px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.br-tiara { width: 132px; height: 54px; background: linear-gradient(180deg, #fff9e6, #d4af5a); clip-path: polygon(0% 100%, 12% 35%, 28% 75%, 50% 0%, 72% 75%, 88% 35%, 100% 100%); filter: drop-shadow(0 6px 16px rgba(255,235,180,.55)); z-index: 2; transition: transform .65s var(--ev-spring); }
.br-veil-tulle { width: 196px; height: 176px; margin-top: -10px; border-radius: 40px 40px 90px 90px; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(244,220,255,.12)); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(4px); transition: transform .75s cubic-bezier(.22,1,.36,1), opacity .55s ease; }
.br-veil-rig.open .br-tiara { transform: translateY(-22px) scale(1.14); }
.br-veil-rig.open .br-veil-tulle { transform: translateY(-56px) scale(1.18); opacity: .2; }
.br-veil-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 60. BRIDAL SHOWER: Couture Bridal Gown (bridal_dress) ---------- */
#ev-stage.t-bridal_dress {
  background: radial-gradient(ellipse at 50% 30%, #3d2830 0%, #1d1116 60%, #090507 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-bridal_dress .ev-card-inner {
  background: linear-gradient(165deg, rgba(48,30,38,.92), rgba(22,12,16,.96));
  border-color: rgba(248,218,202,.46);
}
#ev-stage.t-bridal_dress .ev-eyebrow,
#ev-stage.t-bridal_dress .ev-cta { color: #fae0d2; border-color: rgba(250,224,210,.5); }
.br-gown-rig { position: relative; width: 220px; height: 300px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.br-gown-bodice { width: 68px; height: 68px; border-radius: 16px 16px 8px 8px; background: linear-gradient(180deg, #fffdf9, #edd8cc); border: 2px solid #f2c96d; z-index: 2; }
.br-gown-skirt { width: 184px; height: 154px; margin-top: -8px; background: linear-gradient(180deg, #fffdf9, #f5e1d6 70%, #e2bfb0); clip-path: polygon(32% 0%, 68% 0%, 100% 100%, 0% 100%); border-bottom: 4px solid #f2c96d; box-shadow: 0 20px 44px rgba(0,0,0,.6); transition: transform .7s var(--ev-spring); }
.br-gown-rig.open .br-gown-skirt { transform: scaleX(1.22) scaleY(1.08); }
.br-gown-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 61. BACHELORETTE: Pink Cowgirl Hat & Sash (bachelorette_sash) ---------- */
#ev-stage.t-bachelorette_sash {
  background: radial-gradient(ellipse at 50% 28%, #54123b 0%, #29071c 58%, #0e0209 100%);
  --ev-font-display: 'Righteous', 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-bachelorette_sash .ev-card-inner {
  background: linear-gradient(165deg, rgba(66,14,46,.93), rgba(30,6,20,.96));
  border-color: rgba(255,122,204,.55);
}
#ev-stage.t-bachelorette_sash .ev-eyebrow,
#ev-stage.t-bachelorette_sash .ev-cta { color: #ff8cd6; border-color: rgba(255,140,214,.55); }
.bach-hat-rig { position: relative; width: 260px; height: 260px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .65s var(--ev-spring); }
.bach-hat-crown { width: 122px; height: 74px; border-radius: 38px 38px 10px 10px; background: linear-gradient(180deg, #ff5ec4, #c91888); box-shadow: 0 8px 24px rgba(255,94,196,.45); z-index: 2; }
.bach-hat-brim { width: 228px; height: 44px; margin-top: -16px; border-radius: 50%; background: linear-gradient(90deg, #ff3db5, #ff99dc, #ff3db5); border-bottom: 5px dotted #fff; box-shadow: 0 18px 38px rgba(0,0,0,.65); z-index: 3; display: flex; align-items: center; justify-content: center; }
.bach-sash-band { margin-top: 16px; padding: 7px 20px; border-radius: 999px; background: #fff; color: #c91888; font: 800 12px/1 'Plus Jakarta Sans', sans-serif; letter-spacing: .22em; box-shadow: 0 8px 22px rgba(255,94,196,.5); }
.bach-hat-rig.open { transform: translateY(-20px) rotate(-12deg) scale(1.12); }
.bach-hat-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 62. BACHELORETTE: Diamond Ring Pool Float (bachelorette_ring_float) ---------- */
#ev-stage.t-bachelorette_ring_float {
  background: radial-gradient(ellipse at 50% 30%, #0e4a5a 0%, #06252e 60%, #020e12 100%);
  --ev-font-display: 'Playfair Display', Georgia, serif;
}
#ev-stage.t-bachelorette_ring_float .ev-card-inner {
  background: linear-gradient(165deg, rgba(12,58,70,.92), rgba(5,28,35,.96));
  border-color: rgba(255,148,218,.5);
}
#ev-stage.t-bachelorette_ring_float .ev-eyebrow,
#ev-stage.t-bachelorette_ring_float .ev-cta { color: #ff9ee0; border-color: rgba(255,158,224,.5); }
.bach-float-rig { position: relative; width: 240px; height: 280px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; animation: evFloatY 3s ease-in-out infinite; }
.bach-float-gem { width: 88px; height: 68px; background: linear-gradient(135deg, #ffffff, #b8f2ff 55%, #ff9ee0); clip-path: polygon(22% 0%, 78% 0%, 100% 34%, 50% 100%, 0% 34%); filter: drop-shadow(0 0 22px rgba(184,242,255,.75)); margin-bottom: -10px; z-index: 3; transition: transform .65s var(--ev-spring); }
.bach-float-tube { width: 176px; height: 176px; border-radius: 50%; border: 34px solid #ff5ec4; box-shadow: 0 20px 44px rgba(0,0,0,.55), inset 0 0 18px rgba(255,255,255,.45); transition: transform .65s var(--ev-spring); }
.bach-float-rig.open .bach-float-gem { transform: translateY(-24px) scale(1.25); }
.bach-float-rig.open .bach-float-tube { transform: scale(1.1); }
.bach-float-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 63. BACHELOR PARTY: Top-Shelf Whiskey Decanter (bachelor_whiskey) ---------- */
#ev-stage.t-bachelor_whiskey {
  background: radial-gradient(ellipse at 50% 30%, #3b2110 0%, #1c0f06 60%, #090402 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-bachelor_whiskey .ev-card-inner {
  background: linear-gradient(165deg, rgba(46,25,12,.94), rgba(20,10,4,.96));
  border-color: rgba(242,182,92,.48);
}
#ev-stage.t-bachelor_whiskey .ev-eyebrow,
#ev-stage.t-bachelor_whiskey .ev-cta { color: #f6c270; border-color: rgba(246,194,112,.5); }
.bach-whisk-rig { position: relative; width: 240px; height: 290px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bach-stopper { width: 48px; height: 42px; background: linear-gradient(135deg, #fff5dc, #c99738); clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%); margin-bottom: 2px; z-index: 3; transition: transform .6s var(--ev-spring), opacity .45s ease; }
.bach-decanter { width: 148px; height: 184px; border-radius: 18px 18px 12px 12px; border: 3px solid rgba(255,235,190,.65); background: linear-gradient(180deg, rgba(255,255,255,.12) 0 32%, rgba(217,112,24,.88) 32% 100%); box-shadow: 0 22px 48px rgba(0,0,0,.7), inset 0 0 24px rgba(246,194,112,.35); display: flex; align-items: center; justify-content: center; transition: transform .65s var(--ev-spring); }
.bach-label { padding: 8px 16px; border: 2px solid #f6c270; background: rgba(20,10,4,.85); color: #f6c270; font: 700 11px/1.2 'Cinzel', serif; letter-spacing: .2em; }
.bach-whisk-rig.open .bach-stopper { transform: translateY(-58px) rotate(25deg); opacity: 0; }
.bach-whisk-rig.open .bach-decanter { transform: rotate(10deg) scale(1.08); }
.bach-whisk-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 64. BACHELOR PARTY: Vegas Royal Flush & Chips (bachelor_poker) ---------- */
#ev-stage.t-bachelor_poker {
  background: radial-gradient(ellipse at 50% 30%, #123d28 0%, #081f14 60%, #030b07 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-bachelor_poker .ev-card-inner {
  background: linear-gradient(165deg, rgba(14,48,31,.94), rgba(6,22,14,.96));
  border-color: rgba(245,208,118,.5);
}
#ev-stage.t-bachelor_poker .ev-eyebrow,
#ev-stage.t-bachelor_poker .ev-cta { color: #f8d886; border-color: rgba(248,216,134,.5); }
.bach-poker-rig { position: relative; width: 260px; height: 260px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.bach-card { position: absolute; width: 112px; height: 158px; border-radius: 10px; background: #fff; border: 2px solid #d4af5a; box-shadow: 0 16px 34px rgba(0,0,0,.65); display: flex; flex-direction: column; justify-content: space-between; padding: 10px; color: #141824; font: 800 20px/1 'Cinzel', serif; transition: transform .7s var(--ev-spring); transform-origin: 50% 100%; }
.bach-card.red { color: #c9182b; }
.bach-card.c1 { transform: rotate(-18deg) translateX(-28px); }
.bach-card.c2 { transform: rotate(0deg) translateY(-8px); z-index: 2; }
.bach-card.c3 { transform: rotate(18deg) translateX(28px); }
.bach-poker-rig.open .bach-card.c1 { transform: rotate(-34deg) translate(-52px, -18px) scale(1.08); }
.bach-poker-rig.open .bach-card.c2 { transform: translateY(-28px) scale(1.12); }
.bach-poker-rig.open .bach-card.c3 { transform: rotate(34deg) translate(52px, -18px) scale(1.08); }
.bach-poker-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 65. HOUSE PARTY: Red Solo Cup Bounce (house_red_cup) ---------- */
#ev-stage.t-house_red_cup {
  background: radial-gradient(ellipse at 50% 28%, #47141e 0%, #21080d 58%, #0a0204 100%);
  --ev-font-display: 'Righteous', 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-house_red_cup .ev-card-inner {
  background: linear-gradient(165deg, rgba(54,14,22,.93), rgba(24,6,10,.96));
  border-color: rgba(255,110,126,.48);
}
#ev-stage.t-house_red_cup .ev-eyebrow,
#ev-stage.t-house_red_cup .ev-cta { color: #ff8593; border-color: rgba(255,133,147,.5); }
.hs-cup-rig { position: relative; width: 240px; height: 290px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hs-pong-ball { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffffff, #f2dfc4); box-shadow: 0 8px 22px rgba(255,255,255,.55); margin-bottom: 18px; z-index: 3; transition: transform .55s var(--ev-bounce); animation: evFloatY 1.8s ease-in-out infinite; }
.hs-solo-cup { width: 146px; height: 174px; background: linear-gradient(90deg, #ff2a3c, #b80d1d); clip-path: polygon(0% 0%, 100% 0%, 82% 100%, 18% 100%); border-top: 8px solid #fff; box-shadow: 0 22px 44px rgba(0,0,0,.65); transition: transform .55s var(--ev-spring); }
.hs-cup-rig.open .hs-pong-ball { transform: translateY(56px) scale(.85); }
.hs-cup-rig.open .hs-solo-cup { transform: scale(1.1); }
.hs-cup-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 66. HOUSE PARTY: Subwoofer Boombox Drop (house_boombox) ---------- */
#ev-stage.t-house_boombox {
  background: radial-gradient(ellipse at 50% 30%, #261844 0%, #120b22 60%, #06030c 100%);
  --ev-font-display: 'Righteous', 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-house_boombox .ev-card-inner {
  background: linear-gradient(165deg, rgba(32,20,58,.93), rgba(14,8,28,.96));
  border-color: rgba(164,126,255,.5);
}
#ev-stage.t-house_boombox .ev-eyebrow,
#ev-stage.t-house_boombox .ev-cta { color: #b898ff; border-color: rgba(184,152,255,.5); }
.hs-box-rig { position: relative; width: 280px; height: 220px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hs-box-body { width: 248px; height: 144px; border-radius: 18px; background: linear-gradient(180deg, #2b243d, #151021); border: 3px solid #9c78ff; box-shadow: 0 22px 48px rgba(0,0,0,.7), 0 0 32px rgba(156,120,255,.35); display: flex; align-items: center; justify-content: space-around; padding: 0 14px; transition: transform .5s var(--ev-bounce); }
.hs-woofer { width: 82px; height: 82px; border-radius: 50%; background: radial-gradient(circle, #0d0a14 0 32%, #3a2e56 33% 62%, #141020 63% 100%); border: 4px solid #ff5ec4; box-shadow: 0 0 18px rgba(255,94,196,.45); transition: transform .4s var(--ev-bounce); }
.hs-box-rig.open .hs-box-body { transform: scale(1.1); }
.hs-box-rig.open .hs-woofer { transform: scale(1.22); }
.hs-box-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 67. HOUSE PARTY: Front Door Ring & Welcome (house_doorbell) ---------- */
#ev-stage.t-house_doorbell {
  background: radial-gradient(ellipse at 50% 30%, #3d2419 0%, #1e110b 60%, #0a0503 100%);
  --ev-font-display: 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-house_doorbell .ev-card-inner {
  background: linear-gradient(165deg, rgba(48,28,19,.93), rgba(22,12,8,.96));
  border-color: rgba(255,196,118,.48);
}
#ev-stage.t-house_doorbell .ev-eyebrow,
#ev-stage.t-house_doorbell .ev-cta { color: #ffd08e; border-color: rgba(255,208,142,.5); }
.hs-door-rig { position: relative; width: 220px; height: 290px; cursor: pointer; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.hs-door-frame { width: 176px; height: 256px; border-radius: 12px 12px 0 0; border: 6px solid #f5d37e; background: radial-gradient(circle, #ffe49e, #ff9238); box-shadow: 0 22px 48px rgba(0,0,0,.7); position: relative; overflow: hidden; }
.hs-door-leaf { position: absolute; inset: 0; background: linear-gradient(180deg, #b83228, #7a1b14); display: flex; align-items: center; justify-content: flex-end; padding-right: 18px; transform-origin: 0% 50%; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.hs-door-knob { width: 18px; height: 18px; border-radius: 50%; background: #f5d37e; box-shadow: 0 0 14px #fff; }
.hs-door-rig.open .hs-door-leaf { transform: rotateY(-115deg); }
.hs-door-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 68. HALLOWEEN: Carved Jack-O'-Lantern (hw_jack_lantern) ---------- */
#ev-stage.t-hw_jack_lantern {
  background: radial-gradient(ellipse at 50% 28%, #361438 0%, #19081c 58%, #070209 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-hw_jack_lantern .ev-card-inner {
  background: linear-gradient(165deg, rgba(42,14,46,.94), rgba(18,6,22,.96));
  border-color: rgba(255,140,42,.55);
}
#ev-stage.t-hw_jack_lantern .ev-eyebrow,
#ev-stage.t-hw_jack_lantern .ev-cta { color: #ff9c42; border-color: rgba(255,156,66,.55); }
.hw-jack-rig { position: relative; width: 240px; height: 260px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hw-jack-stem { width: 24px; height: 34px; background: #3b5218; border-radius: 8px 8px 0 0; margin-bottom: -6px; z-index: 2; }
.hw-jack-body { width: 194px; height: 154px; border-radius: 80px; background: radial-gradient(circle at 50% 40%, #ff7b1c, #b53804 70%, #521400 100%); box-shadow: 0 22px 48px rgba(0,0,0,.75), 0 0 38px rgba(255,123,28,.4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; transition: transform .6s var(--ev-spring), filter .4s ease; }
.hw-jack-eyes { width: 112px; display: flex; justify-content: space-between; }
.hw-jack-eyes i { width: 34px; height: 28px; background: #260800; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); transition: background .35s ease, filter .35s ease; }
.hw-jack-mouth { width: 122px; height: 32px; background: #260800; clip-path: polygon(0% 20%, 20% 80%, 35% 30%, 50% 85%, 65% 30%, 80% 80%, 100% 20%, 85% 100%, 15% 100%); transition: background .35s ease, filter .35s ease; }
.hw-jack-rig.open .hw-jack-body { transform: scale(1.14); filter: drop-shadow(0 0 34px #ff9c42); }
.hw-jack-rig.open .hw-jack-eyes i,
.hw-jack-rig.open .hw-jack-mouth { background: #fff394; filter: drop-shadow(0 0 14px #ffae00); }
.hw-jack-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 69. HALLOWEEN: Witch's Bubbling Cauldron (hw_cauldron) ---------- */
#ev-stage.t-hw_cauldron {
  background: radial-gradient(ellipse at 50% 30%, #143624 0%, #091a11 60%, #030905 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-hw_cauldron .ev-card-inner {
  background: linear-gradient(165deg, rgba(16,44,28,.94), rgba(7,20,12,.96));
  border-color: rgba(114,255,148,.5);
}
#ev-stage.t-hw_cauldron .ev-eyebrow,
#ev-stage.t-hw_cauldron .ev-cta { color: #7dff9c; border-color: rgba(125,255,156,.5); }
.hw-caul-rig { position: relative; width: 240px; height: 260px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hw-caul-brew { width: 164px; height: 32px; border-radius: 50%; background: radial-gradient(circle, #c8ff6b, #28c958); box-shadow: 0 0 28px #58ff7d; z-index: 2; transition: transform .6s var(--ev-spring); }
.hw-caul-pot { width: 192px; height: 138px; margin-top: -14px; border-radius: 24px 24px 88px 88px; background: radial-gradient(circle at 35% 35%, #383e42, #121517 75%); border-top: 8px solid #262b2e; box-shadow: 0 24px 48px rgba(0,0,0,.75); }
.hw-caul-rig.open .hw-caul-brew { transform: scale(1.25) translateY(-10px); filter: brightness(1.3); }
.hw-caul-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 70. HALLOWEEN: Haunted Manor Gates (hw_haunted_manor) ---------- */
#ev-stage.t-hw_haunted_manor {
  background: radial-gradient(ellipse at 50% 25%, #2b1838 0%, #140a1c 60%, #060209 100%);
  --ev-font-display: 'Cinzel', Georgia, serif;
}
#ev-stage.t-hw_haunted_manor .ev-card-inner {
  background: linear-gradient(165deg, rgba(34,18,46,.94), rgba(15,7,22,.96));
  border-color: rgba(212,166,255,.46);
}
#ev-stage.t-hw_haunted_manor .ev-eyebrow,
#ev-stage.t-hw_haunted_manor .ev-cta { color: #deb8ff; border-color: rgba(222,184,255,.5); }
.hw-gate-rig { position: relative; width: 260px; height: 280px; cursor: pointer; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.hw-gate-leaf { width: 104px; height: 220px; border: 4px solid #8c7a9e; border-radius: 48px 4px 0 0; background: repeating-linear-gradient(90deg, transparent 0 14px, #8c7a9e 14px 18px); box-shadow: 0 18px 38px rgba(0,0,0,.75); transition: transform .8s cubic-bezier(.22,1,.36,1); }
.hw-gate-leaf.right { border-radius: 4px 48px 0 0; transform-origin: 100% 50%; }
.hw-gate-leaf.left { transform-origin: 0% 50%; }
.hw-gate-rig.open .hw-gate-leaf.left { transform: rotateY(-105deg); }
.hw-gate-rig.open .hw-gate-leaf.right { transform: rotateY(105deg); }
.hw-gate-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 71. NEON PARTY: UV Glowstick Snap (neon_glowsticks) ---------- */
#ev-stage.t-neon_glowsticks {
  background: radial-gradient(ellipse at 50% 30%, #0f1c2e 0%, #060b14 60%, #020408 100%);
  --ev-font-display: 'Righteous', 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-neon_glowsticks .ev-card-inner {
  background: linear-gradient(165deg, rgba(12,22,38,.94), rgba(5,10,18,.96));
  border-color: rgba(57,255,20,.55);
}
#ev-stage.t-neon_glowsticks .ev-eyebrow,
#ev-stage.t-neon_glowsticks .ev-cta { color: #39ff14; border-color: rgba(57,255,20,.55); }
.neon-stick-rig { position: relative; width: 260px; height: 260px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.neon-stick { position: absolute; width: 22px; height: 216px; border-radius: 999px; transition: transform .6s var(--ev-spring), filter .4s ease; }
.neon-stick.s1 { background: linear-gradient(180deg, #39ff14, #00e5ff); box-shadow: 0 0 28px #39ff14; transform: rotate(-32deg); }
.neon-stick.s2 { background: linear-gradient(180deg, #ff2bd6, #ffae00); box-shadow: 0 0 28px #ff2bd6; transform: rotate(32deg); }
.neon-stick-rig.open .neon-stick.s1 { transform: rotate(-58deg) scale(1.16); filter: brightness(1.4) drop-shadow(0 0 24px #39ff14); }
.neon-stick-rig.open .neon-stick.s2 { transform: rotate(58deg) scale(1.16); filter: brightness(1.4) drop-shadow(0 0 24px #ff2bd6); }
.neon-stick-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 72. NEON PARTY: Cyber LED Rave Visor (neon_cyber_mask) ---------- */
#ev-stage.t-neon_cyber_mask {
  background: radial-gradient(ellipse at 50% 30%, #160e36 0%, #09051a 60%, #030109 100%);
  --ev-font-display: 'Righteous', 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-neon_cyber_mask .ev-card-inner {
  background: linear-gradient(165deg, rgba(18,10,44,.94), rgba(8,4,22,.96));
  border-color: rgba(0,240,255,.55);
}
#ev-stage.t-neon_cyber_mask .ev-eyebrow,
#ev-stage.t-neon_cyber_mask .ev-cta { color: #00f0ff; border-color: rgba(0,240,255,.55); }
.neon-visor-rig { position: relative; width: 280px; height: 220px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.neon-visor-lens { width: 244px; height: 84px; border-radius: 18px 18px 48px 48px; background: repeating-linear-gradient(180deg, #00f0ff 0 6px, #12092b 6px 12px, #ff2bd6 12px 18px, #12092b 18px 24px); border: 3px solid #00f0ff; box-shadow: 0 0 36px rgba(0,240,255,.6), 0 18px 42px rgba(0,0,0,.7); transition: transform .6s var(--ev-spring), filter .4s ease; }
.neon-visor-rig.open .neon-visor-lens { transform: scale(1.15); filter: brightness(1.4) drop-shadow(0 0 28px #ff2bd6); }
.neon-visor-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }

/* ---------- 73. NEON PARTY: Blacklight Neon Paint Splash (neon_paint_splash) ---------- */
#ev-stage.t-neon_paint_splash {
  background: radial-gradient(ellipse at 50% 30%, #240d38 0%, #10041c 60%, #040108 100%);
  --ev-font-display: 'Righteous', 'Plus Jakarta Sans', sans-serif;
}
#ev-stage.t-neon_paint_splash .ev-card-inner {
  background: linear-gradient(165deg, rgba(30,10,48,.94), rgba(12,4,22,.96));
  border-color: rgba(255,43,214,.55);
}
#ev-stage.t-neon_paint_splash .ev-eyebrow,
#ev-stage.t-neon_paint_splash .ev-cta { color: #ff5ee0; border-color: rgba(255,94,224,.55); }
.neon-can-rig { position: relative; width: 220px; height: 280px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: transform .55s var(--ev-bounce); }
.neon-can-nozzle { width: 32px; height: 22px; background: #fff; border-radius: 6px 6px 0 0; }
.neon-can-body { width: 108px; height: 176px; border-radius: 16px; background: linear-gradient(135deg, #ff2bd6 0%, #00f0ff 52%, #39ff14 100%); border: 3px solid #fff; box-shadow: 0 20px 44px rgba(0,0,0,.7), 0 0 32px rgba(255,43,214,.5); display: flex; align-items: center; justify-content: center; color: #090414; font: 900 16px/1 'Righteous', sans-serif; letter-spacing: .14em; }
.neon-can-rig.open { transform: translateY(-18px) rotate(-14deg) scale(1.12); }
.neon-can-rig.done { transform: scale(.86); opacity: 0; transition: transform .4s ease, opacity .38s ease; }


/* =====================================================================
   STORY LAYER: gesture coach, meter, props and overlays
   ===================================================================== */
#ev-stage { touch-action: none; }
#ev-stage.ev-stage-open { touch-action: auto; }
.ev-story-tag { white-space: normal; text-align: center; max-width: min(92vw, 520px); width: max-content; line-height: 1.45; }
.ev-story-steps b { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); transition: transform .3s ease, background-color .3s ease; }
.ev-story-steps b.on { background: var(--ev-accent, #f7d794); transform: scale(1.25); }
.ev-hint { padding: 0 20px; }

.ev-coach { position: absolute; z-index: 7; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0 30%, rgba(255,255,255,.35) 31% 60%, rgba(255,255,255,0) 61%);
  box-shadow: 0 0 24px var(--ev-glow, rgba(255,255,255,.6)); }
.ev-coach.on { display: block; }
.ev-coach:not(.on) { display: none; }
.ev-coach i { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); opacity: 0; }
.ev-coach.hold i { animation: coachRing 1.7s ease-out infinite; }
.ev-coach.tap i { animation: coachRing 1.2s ease-out infinite; }
@keyframes coachRing { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.ev-meter { position: absolute; left: 50%; bottom: max(calc(9vh - 18px), 38px); z-index: 4; width: min(52vw, 220px); height: 4px; margin-left: min(-26vw, -110px);
  border-radius: 4px; background: rgba(255,255,255,.2); overflow: hidden; opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.ev-meter.on { opacity: 1; }
.ev-meter i { display: block; height: 100%; background: var(--ev-accent, #fff); box-shadow: 0 0 10px var(--ev-glow, transparent); transform-origin: left; transform: scaleX(0); }

.ev-dim { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; transition: opacity .25s linear; }

.ev-prop { position: absolute; z-index: 6; transform: translate(-50%, -50%); cursor: grab; touch-action: none; transition: opacity .4s ease; animation: propIn .6s cubic-bezier(.3,1.5,.5,1) both; }
.ev-prop.held { cursor: grabbing; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.ev-prop.gone { opacity: 0; scale: .4; transition: opacity .4s ease, scale .4s ease; }
@keyframes propIn { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }

.ev-match { width: 14px; height: 120px; }
.ev-match::before { content: ''; position: absolute; left: 4px; top: 10px; bottom: 0; width: 6px; border-radius: 2px; background: linear-gradient(90deg, #c99a63, #f0d2a2, #b98450); }
.ev-match b { position: absolute; left: 0; top: 0; width: 14px; height: 18px; border-radius: 50% 50% 45% 45%; background: radial-gradient(circle at 40% 35%, #ff6b5a, #b3151f); }
.ev-match.lit b::after { content: ''; position: absolute; left: -5px; top: -30px; width: 24px; height: 36px; border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 70%, #fff7c4 0 25%, #ffb02e 45%, rgba(255,90,20,.6) 70%, transparent 72%); filter: blur(.5px); animation: flick .18s ease-in-out infinite alternate; transform-origin: 50% 100%; }

.ev-coin { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff6c8, #f5c542 45%, #b8860b); border: 3px solid #fff1a8; box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 -4px 8px rgba(120,80,0,.35); }
.ev-coin b { font: 800 15px/1 'Bungee', system-ui, sans-serif; color: #6b4300; }

.ev-star-prop { width: 64px; height: 64px; filter: drop-shadow(0 0 14px rgba(255,220,100,.85)); }
.ev-star-prop svg { width: 100%; height: 100%; fill: #ffd84a; stroke: #fff4b8; stroke-width: 1; }

.ev-food { font-size: 46px; line-height: 1; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); }

.ev-chips { width: 70px; height: 60px; }
.ev-chips i { position: absolute; left: 0; width: 70px; height: 14px; border-radius: 50%; background: repeating-conic-gradient(#d4243a 0 20deg, #fff 20deg 30deg); border: 2px solid #8a0f1e; }
.ev-chips i:nth-child(1) { bottom: 0; } .ev-chips i:nth-child(2) { bottom: 10px; } .ev-chips i:nth-child(3) { bottom: 20px; } .ev-chips i:nth-child(4) { bottom: 30px; }

.ev-fader { width: 34px; height: 170px; }
.ev-fader i { position: absolute; left: 15px; top: 10px; bottom: 10px; width: 4px; border-radius: 4px; background: rgba(255,255,255,.3); }
.ev-fader b { position: absolute; left: 2px; bottom: 6px; width: 30px; height: 20px; border-radius: 5px; background: linear-gradient(#f0f0ff, #9fa3c7); box-shadow: 0 0 14px #b898ff; }

.ev-bell { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff6d6, #d9a93f 60%, #8a6416); border: 3px solid #4a2c1e; box-shadow: 0 0 18px rgba(245,200,91,.6); animation: propIn .6s cubic-bezier(.3,1.5,.5,1) both; }
.ev-bell b { position: absolute; inset: 12px; border-radius: 50%; background: #fffbe8; }
.ev-bell.ding { animation: bellDing .4s ease; }
@keyframes bellDing { 0% { scale: 1; } 40% { scale: .82; } 100% { scale: 1; } }

.ev-eye { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #111 0 16%, #3fd06a 17% 34%, #e9f7e1 36%); box-shadow: inset -4px -6px 10px rgba(120,0,0,.35), 0 0 16px rgba(125,255,106,.5); }

.ev-key { width: 64px; height: 26px; z-index: 3; }
.ev-key svg { width: 100%; height: 100%; fill: none; stroke: #f5d061; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(245,208,97,.8)); }

.ev-dark { position: absolute; inset: 0; z-index: 4; pointer-events: none; transition: opacity .8s ease;
  background: radial-gradient(circle 95px at var(--x, 50%) var(--y, 50%), rgba(0,0,0,0) 0, rgba(0,0,0,.55) 60%, rgba(0,0,0,.94) 100%); }
.ev-dark.gone { opacity: 0; }

.ev-constellation { position: absolute; inset: 0; z-index: 4; pointer-events: none; transition: opacity .8s ease; }
.ev-constellation svg { position: absolute; inset: 0; }
.ev-constellation line { stroke: rgba(180,255,240,.8); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 6px #38f9d7); }
.ev-constellation.cyber line { stroke: #00f0ff; stroke-width: 3; }
.ev-constellation.gone { opacity: 0; }
.ev-star { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: rgba(255,255,255,.45); box-shadow: 0 0 10px rgba(255,255,255,.5); transition: transform .3s ease, background .3s ease; }
.ev-star.next { background: #fff; animation: starNext 1s ease-in-out infinite; }
.ev-star.lit { background: #b4fff0; transform: scale(1.4); box-shadow: 0 0 18px #38f9d7; animation: none; }
.cyber .ev-star.lit { background: #00f0ff; box-shadow: 0 0 18px #00f0ff; }
@keyframes starNext { 50% { transform: scale(1.8); box-shadow: 0 0 22px #fff; } }

.std-cal-page { position: absolute; inset: 54px 0 0 0; z-index: 2; display: grid; place-items: center; background: linear-gradient(#fffaf2, #f3e6d6); border-radius: inherit; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.std-cal-page b { font: 700 28px/1 'Playfair Display', Georgia, serif; color: #8c2a3c; letter-spacing: .1em; }
.std-cal-ring { position: absolute; inset: 22% 12% 8% 12%; z-index: 3; pointer-events: none; }
.std-cal-ring svg { width: 100%; height: 100%; overflow: visible; }
.std-cal-ring circle { fill: none; stroke: #d4243a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 277; stroke-dashoffset: 277; transform: rotate(-90deg); transform-origin: center; }

.ev-paint { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; transition: opacity 1.2s ease; }
.ev-paint.fade { opacity: .35; }
