/* Event themes: token overrides + decoration layer (built by themes.js).
   Applied with [data-theme] on the event root (#screen, public ranking) and on admin swatches. */
[data-theme]{--th-accent:var(--city-primary);--th-accent-rgb:var(--city-primary-rgb);--th-accent-2:#A855F7;--on-primary:#10212B;--th-bg:var(--hud-bg)}
[data-theme=christmas]{--on-primary:#fff;--th-accent:#ef4444;--th-accent-rgb:239,68,68;--th-accent-2:#fbbf24;--th-hover:#f87171;
  --th-bg:radial-gradient(1100px 600px at 50% -15%,rgba(239,68,68,.20),transparent 60%),radial-gradient(900px 600px at 0% 110%,rgba(34,197,94,.18),transparent 60%),linear-gradient(180deg,#0a1a14,#0b0f0d 70%)}
[data-theme=halloween]{--on-primary:#10212B;--th-accent:#f97316;--th-accent-rgb:249,115,22;--th-accent-2:#a855f7;--th-hover:#fb923c;
  --th-bg:radial-gradient(1000px 600px at 50% -10%,rgba(168,85,247,.22),transparent 60%),radial-gradient(700px 500px at 50% 120%,rgba(249,115,22,.18),transparent 60%),linear-gradient(180deg,#140b1d,#0b080e 75%)}
[data-theme=valentine]{--on-primary:#fff;--th-accent:#f43f5e;--th-accent-rgb:244,63,94;--th-accent-2:#f9a8d4;--th-hover:#fb7185;
  --th-bg:radial-gradient(1000px 600px at 50% -10%,rgba(244,63,94,.22),transparent 60%),radial-gradient(800px 500px at 100% 100%,rgba(249,168,212,.12),transparent 60%),linear-gradient(180deg,#1f0a14,#0e080b 75%)}
[data-theme=easter]{--th-accent:#6ee7b7;--th-accent-rgb:110,231,183;--th-accent-2:#c4b5fd;--th-hover:#a7f3d0;--on-primary:#04281b;
  --th-bg:radial-gradient(1000px 600px at 20% -10%,rgba(196,181,253,.20),transparent 60%),radial-gradient(900px 600px at 90% 110%,rgba(110,231,183,.16),transparent 60%),radial-gradient(500px 300px at 80% 10%,rgba(253,230,138,.10),transparent 60%),linear-gradient(180deg,#121521,#0d0f14 75%)}
[data-theme=birthday]{--on-primary:#fff;--th-accent:#ec4899;--th-accent-rgb:236,72,153;--th-accent-2:#facc15;--th-hover:#f472b6;
  --th-bg:radial-gradient(900px 500px at 15% -10%,rgba(236,72,153,.20),transparent 60%),radial-gradient(900px 500px at 85% -10%,rgba(34,211,238,.16),transparent 60%),radial-gradient(800px 500px at 50% 120%,rgba(250,204,21,.12),transparent 60%),linear-gradient(180deg,#140d24,#0d0b14 75%)}
/* Event root adopts the accent so buttons, chips and focus rings follow the theme. */
.event-root[data-theme] .btn-primary{color:var(--on-primary);border-bottom-color:rgba(0,0,0,.35)}
.event-root[data-theme] .btn-primary:hover:not(:disabled){color:var(--on-primary)}

/* ---------- decoration layer ---------- */
.theme-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;transition:opacity .6s ease}
.theme-layer .p{position:absolute;display:block;will-change:transform}
.theme-layer svg{display:block;width:100%;height:100%;overflow:visible}
.phase-active .theme-layer{opacity:.35}
.phase-result .theme-layer,.phase-complete .theme-layer{opacity:1}
/* fall / rise / fly */
@keyframes td-fall{from{transform:translate3d(0,-12vh,0) rotate(0)}to{transform:translate3d(var(--sway,30px),112vh,0) rotate(var(--spin,180deg))}}
@keyframes td-rise{from{transform:translate3d(0,0,0) rotate(0)}50%{transform:translate3d(var(--sway,20px),-60vh,0) rotate(calc(var(--spin,10deg)/2))}to{transform:translate3d(0,-125vh,0) rotate(var(--spin,10deg))}}
@keyframes td-fly{from{transform:translate3d(-15vw,0,0)}25%{transform:translate3d(25vw,-4vh,0)}50%{transform:translate3d(55vw,3vh,0)}75%{transform:translate3d(85vw,-3vh,0)}to{transform:translate3d(118vw,0,0)}}
@keyframes td-flap{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.35)}}
@keyframes td-blink{0%,100%{opacity:1;filter:drop-shadow(0 0 6px currentColor)}50%{opacity:.25;filter:none}}
@keyframes td-swing{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(6deg)}}
@keyframes td-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes td-drift{0%,100%{transform:translateX(-6%)}50%{transform:translateX(6%)}}
@keyframes td-flicker{0%,100%{opacity:.95}8%{opacity:.6}12%{opacity:1}60%{opacity:.8}64%{opacity:1}}
@keyframes td-peek{0%,62%,100%{transform:translateY(105%)}70%,90%{transform:translateY(8%)}}
@keyframes td-spider{0%,100%{transform:translateY(-55%)}50%{transform:translateY(0)}}
@keyframes td-glow{0%,100%{opacity:.4;transform:scale(1)}50%{opacity:.85;transform:scale(1.15)}}
@keyframes td-dash{to{stroke-dashoffset:-200}}
.fall{top:0;animation:td-fall var(--dur,14s) linear var(--delay,0s) infinite}
.rise{bottom:-14vh;animation:td-rise var(--dur,16s) ease-in-out var(--delay,0s) infinite}
.fly{top:var(--top,14%);left:0;animation:td-fly var(--dur,18s) linear var(--delay,0s) infinite}
.fly{filter:drop-shadow(0 0 6px rgba(168,85,247,.55))}
.fly .wing{animation:td-flap .32s ease-in-out infinite;transform-origin:50% 40%}
.bob{animation:td-bob 4s ease-in-out infinite}
/* default */
.deco-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(ellipse at 50% 30%,#000 10%,transparent 70%);-webkit-mask-image:radial-gradient(ellipse at 50% 30%,#000 10%,transparent 70%)}
.orb{border-radius:50%;filter:blur(40px);background:rgba(var(--th-accent-rgb),.25);animation:td-glow 7s ease-in-out infinite}
.streak-img{position:absolute;inset:0;background:url(/assets/backdrops/hud-streaks.jpg) center/cover no-repeat;opacity:.5;mix-blend-mode:screen}
.brush{height:var(--h,26px);border-radius:60px;filter:blur(12px);transform:rotate(-22deg);opacity:.35;animation:td-brush var(--dur,9s) ease-in-out var(--delay,0s) infinite}
@keyframes td-brush{0%,100%{opacity:.25;translate:-2% 0}50%{opacity:.6;translate:2% 0}}
/* christmas */
.garland{position:absolute;top:-6px;left:-2%;right:-2%;height:60px}
.garland .wire{position:absolute;inset:0;border-bottom:2px solid rgba(255,255,255,.18);border-radius:0 0 50% 50%/0 0 100% 100%}
.bulb{position:absolute;width:10px;height:15px;border-radius:50% 50% 45% 45%;animation:td-blink 1.6s ease-in-out infinite;background:currentColor}
.bulb::before{content:"";position:absolute;top:-4px;left:2px;width:6px;height:5px;border-radius:2px;background:#4b5563}
.tree{position:absolute;bottom:-4px;color:#14532d}
.tree .orn{animation:td-blink 2.4s ease-in-out infinite}
/* halloween */
.fog{position:absolute;bottom:-12%;width:70%;height:40%;border-radius:50%;background:radial-gradient(closest-side,rgba(200,190,230,.13),transparent);filter:blur(12px);animation:td-drift var(--dur,18s) ease-in-out infinite}
.spider{position:absolute;top:0;width:44px;animation:td-spider 7s ease-in-out infinite}
.spider .thread{position:absolute;left:50%;bottom:28px;width:1px;height:40vh;background:rgba(255,255,255,.3)}
.pumpkin{position:absolute;bottom:-6px}
.pumpkin .face{animation:td-flicker 3.2s steps(1) infinite}
.pumpkin .halo{position:absolute;inset:-30%;border-radius:50%;background:radial-gradient(closest-side,rgba(249,115,22,.35),transparent);animation:td-glow 3s ease-in-out infinite}
/* valentine */
.bokeh{border-radius:50%;background:radial-gradient(circle,rgba(249,168,212,.35),transparent 70%);animation:td-glow var(--dur,6s) ease-in-out var(--delay,0s) infinite}
/* easter */
.egg{position:absolute;bottom:-8px}
.bunny{position:absolute;bottom:0;width:120px;height:140px;animation:td-peek 12s ease-in-out infinite}
/* birthday */
.theme-layer .bunting{display:flex}
.bunting{position:absolute;top:0;left:-2%;right:-2%;height:70px;display:flex;justify-content:space-around;align-items:flex-start;border-top:2px solid rgba(255,255,255,.25)}
.bunting i{display:block;width:clamp(22px,3.2vw,40px);height:clamp(28px,4vw,50px);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:50% 0;animation:td-swing 3s ease-in-out infinite}
.streamer{position:absolute;width:180px;height:260px}
.streamer path{stroke-dasharray:14 10;animation:td-dash 6s linear infinite}

/* ---------- celebration burst (result screen) ---------- */
.burst-layer{position:fixed;inset:0;pointer-events:none;z-index:70;overflow:hidden}
.burst-bit{position:absolute;width:var(--s,12px);height:var(--s,12px);left:var(--x);top:var(--y);color:var(--c);animation:burst-fly var(--dur,1.6s) cubic-bezier(.15,.75,.3,1) forwards}
.burst-bit svg{width:100%;height:100%}
.burst-bit.rect{background:var(--c);height:calc(var(--s)*.5);border-radius:2px}
.burst-bit.dot{background:var(--c);border-radius:50%}
@keyframes burst-fly{0%{transform:translate(-50%,-50%) scale(.4) rotate(0);opacity:1}70%{opacity:1}100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) scale(1) rotate(var(--rot));opacity:0}}
@media (max-width:640px){.bunting{height:44px}.bunting i{width:14px;height:18px}.streamer{display:none}.garland{transform:scaleY(.7);transform-origin:top}}
@media (prefers-reduced-motion:reduce){.theme-layer .p,.theme-layer *{animation:none!important}.burst-layer{display:none}}

/* ---------- admin swatches (static mini decorations) ---------- */
.theme-swatch .sw-deco{position:absolute;inset:0;opacity:.9}
.theme-swatch[data-theme=default] .sw-deco{background:linear-gradient(-22deg,transparent 30%,rgba(255,122,0,.45) 34%,transparent 40%),linear-gradient(-22deg,transparent 55%,rgba(168,85,247,.45) 60%,transparent 66%)}
.theme-swatch[data-theme=christmas] .sw-deco{background:radial-gradient(circle,#fff 1.2px,transparent 1.6px) 0 0/22px 22px,radial-gradient(circle,#fff8 1px,transparent 1.4px) 11px 11px/22px 22px}
.theme-swatch[data-theme=halloween] .sw-deco{background:radial-gradient(60% 40% at 30% 110%,rgba(200,190,230,.25),transparent),radial-gradient(60% 40% at 80% 115%,rgba(200,190,230,.2),transparent)}
.theme-swatch[data-theme=valentine] .sw-deco{background:radial-gradient(circle,rgba(249,168,212,.4) 3px,transparent 4px) 0 0/30px 30px}
.theme-swatch[data-theme=easter] .sw-deco{background:radial-gradient(circle,rgba(253,230,138,.5) 2px,transparent 3px) 0 0/24px 24px,radial-gradient(circle,rgba(196,181,253,.5) 2px,transparent 3px) 12px 12px/24px 24px}
.theme-swatch[data-theme=birthday] .sw-deco{background:linear-gradient(135deg,transparent 45%,rgba(250,204,21,.5) 45% 55%,transparent 55%) 0 0/26px 26px,linear-gradient(45deg,transparent 45%,rgba(34,211,238,.45) 45% 55%,transparent 55%) 13px 0/26px 26px}

/* v8.2: themes decorate only — background and the orange/yellow selection accent stay as in the default look */
[data-theme]{--th-bg:var(--hud-bg)!important;--on-primary:#10212B!important}

/* ===== Christmas: holly, settling snow, baubles ===== */
[data-theme=christmas]{--holly:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg transform=''%3E%3Cg transform='translate(60 44) rotate(-28)'%3E%3Cpath d='M0 0 Q5 -9 10 -6 Q12 -14 19 -10 Q23 -17 29 -11 Q34 -16 39 -9 Q45 -10 50 0 Q45 10 39 9 Q34 16 29 11 Q23 17 19 10 Q12 14 10 6 Q5 9 0 0Z' fill='%231f7a3a' stroke='%230f4d22' stroke-width='2'/%3E%3Cpath d='M3 0 H46' stroke='%237fd18f' stroke-width='1.6' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(60 44) rotate(208)'%3E%3Cpath d='M0 0 Q5 -9 10 -6 Q12 -14 19 -10 Q23 -17 29 -11 Q34 -16 39 -9 Q45 -10 50 0 Q45 10 39 9 Q34 16 29 11 Q23 17 19 10 Q12 14 10 6 Q5 9 0 0Z' fill='%232a8f45' stroke='%230f4d22' stroke-width='2'/%3E%3Cpath d='M3 0 H46' stroke='%238fdc9e' stroke-width='1.6' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(60 44) rotate(95) scale(.8)'%3E%3Cpath d='M0 0 Q5 -9 10 -6 Q12 -14 19 -10 Q23 -17 29 -11 Q34 -16 39 -9 Q45 -10 50 0 Q45 10 39 9 Q34 16 29 11 Q23 17 19 10 Q12 14 10 6 Q5 9 0 0Z' fill='%231a6b33' stroke='%230f4d22' stroke-width='2'/%3E%3C/g%3E%3Ccircle cx='55' cy='40' r='7.5' fill='%23d0202f' stroke='%237a0f1a' stroke-width='1.5'/%3E%3Ccircle cx='67' cy='38' r='7.5' fill='%23e2283a' stroke='%237a0f1a' stroke-width='1.5'/%3E%3Ccircle cx='61' cy='50' r='7.5' fill='%23c81c2b' stroke='%237a0f1a' stroke-width='1.5'/%3E%3Ccircle cx='53' cy='37.5' r='2.2' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='65' cy='35.5' r='2.2' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='59' cy='47.5' r='2.2' fill='%23fff' opacity='.8'/%3E%3C/g%3E%3C/svg%3E");--holly-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg transform='scale(-1,1) translate(-120,0)'%3E%3Cg transform='translate(60 44) rotate(-28)'%3E%3Cpath d='M0 0 Q5 -9 10 -6 Q12 -14 19 -10 Q23 -17 29 -11 Q34 -16 39 -9 Q45 -10 50 0 Q45 10 39 9 Q34 16 29 11 Q23 17 19 10 Q12 14 10 6 Q5 9 0 0Z' fill='%231f7a3a' stroke='%230f4d22' stroke-width='2'/%3E%3Cpath d='M3 0 H46' stroke='%237fd18f' stroke-width='1.6' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(60 44) rotate(208)'%3E%3Cpath d='M0 0 Q5 -9 10 -6 Q12 -14 19 -10 Q23 -17 29 -11 Q34 -16 39 -9 Q45 -10 50 0 Q45 10 39 9 Q34 16 29 11 Q23 17 19 10 Q12 14 10 6 Q5 9 0 0Z' fill='%232a8f45' stroke='%230f4d22' stroke-width='2'/%3E%3Cpath d='M3 0 H46' stroke='%238fdc9e' stroke-width='1.6' opacity='.7'/%3E%3C/g%3E%3Cg transform='translate(60 44) rotate(95) scale(.8)'%3E%3Cpath d='M0 0 Q5 -9 10 -6 Q12 -14 19 -10 Q23 -17 29 -11 Q34 -16 39 -9 Q45 -10 50 0 Q45 10 39 9 Q34 16 29 11 Q23 17 19 10 Q12 14 10 6 Q5 9 0 0Z' fill='%231a6b33' stroke='%230f4d22' stroke-width='2'/%3E%3C/g%3E%3Ccircle cx='55' cy='40' r='7.5' fill='%23d0202f' stroke='%237a0f1a' stroke-width='1.5'/%3E%3Ccircle cx='67' cy='38' r='7.5' fill='%23e2283a' stroke='%237a0f1a' stroke-width='1.5'/%3E%3Ccircle cx='61' cy='50' r='7.5' fill='%23c81c2b' stroke='%237a0f1a' stroke-width='1.5'/%3E%3Ccircle cx='53' cy='37.5' r='2.2' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='65' cy='35.5' r='2.2' fill='%23fff' opacity='.8'/%3E%3Ccircle cx='59' cy='47.5' r='2.2' fill='%23fff' opacity='.8'/%3E%3C/g%3E%3C/svg%3E");--snowcap:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 13 Q6 3 16 7 Q28 0 42 6 Q56 -1 70 6 Q86 1 100 7 Q114 0 128 6 Q144 1 156 7 Q172 1 184 6 Q194 3 200 9 L200 15 Q196 19 192 15 Q184 14 178 17 Q172 22 166 16 L124 16 Q118 21 112 16 L64 16 Q58 20 52 16 L18 16 Q10 20 4 16 Q0 16 0 13Z' fill='%23f6f9ff'/%3E%3Cpath d='M0 15 Q50 18 100 15 T200 15 L200 16 Q100 21 0 16Z' fill='%23b9cbe8' opacity='.7'/%3E%3C/svg%3E")}
[data-theme=christmas] .wizard,[data-theme=christmas] .tier,[data-theme=christmas] .result-board{overflow:visible}
[data-theme=christmas] :is(.wizard,.tier,.figure-tile,.result-board,.beneficiary,.step-foot,.sheet-section){position:relative} /* .hud-card, buttons and endcopy are already positioned */
[data-theme=christmas] :is(.wizard,.tier,.figure-tile,.btn-primary,.top-btn,.result-board,.hud-card,.beneficiary,.board-row.is-me,#celebration .endcopy)::before,
[data-theme=christmas] .step-foot::before{content:"";position:absolute;left:-3px;right:-3px;top:-10px;height:16px;background:var(--snowcap) center/100% 100% no-repeat;pointer-events:none;z-index:3;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25))}
[data-theme=christmas] .tier::before,[data-theme=christmas] .figure-tile::before{height:13px;top:-8px}
[data-theme=christmas] .btn-primary::before,[data-theme=christmas] .top-btn::before{height:12px;top:-8px;left:2px;right:2px}
[data-theme=christmas] .step-foot::before{left:0;right:0;top:-8px;height:12px}
[data-theme=christmas] .wizard::after{content:"";position:absolute;left:-30px;top:-34px;width:104px;height:70px;background:var(--holly) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=christmas] .result-board::after{content:"";position:absolute;right:-26px;top:-32px;width:100px;height:66px;background:var(--holly-r) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=christmas] #celebration .endcopy::after{content:"";position:absolute;left:-34px;top:-36px;width:110px;height:74px;background:var(--holly) center/contain no-repeat;z-index:4}
[data-theme=christmas] .tier.selected .check{box-shadow:0 0 0 2px #fff}
.drift{position:absolute;left:0;right:0;bottom:-2px;height:clamp(48px,9vh,96px)}
.drift svg{width:100%;height:100%}
.holly-corner{position:absolute;width:clamp(110px,11vw,170px);filter:drop-shadow(0 6px 8px rgba(0,0,0,.45))}
.bauble{position:absolute;top:-4px;transform-origin:50% 0;animation:td-swing var(--dur,4s) ease-in-out var(--delay,0s) infinite}
.bauble svg{width:100%;height:100%}

/* ===== v8.3: Halloween / Easter / Valentine / Birthday — same recipe as Christmas (caps on elements, corner pieces) ===== */
[data-theme=halloween]{--cap:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H200 V7 Q196 7 195 11 Q193 20 189 20 Q185 20 185 12 Q184 7 178 7 H152 Q147 7 146 13 Q145 25 140 25 Q135 25 135 13 Q134 7 129 7 H98 Q93 7 92 10 Q91 17 87 17 Q83 17 83 10 Q82 7 77 7 H46 Q41 7 40 14 Q39 26 34 26 Q29 26 29 14 Q28 7 23 7 H8 Q4 7 4 10 Q3 15 0 15Z' fill='%237ddc3a'/%3E%3Cpath d='M0 0 H200 V3 H0Z' fill='%23b6f36b'/%3E%3Ccircle cx='138' cy='18' r='1.6' fill='%23d9ff9e'/%3E%3Ccircle cx='32' cy='19' r='1.6' fill='%23d9ff9e'/%3E%3C/svg%3E");--corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 110'%3E%3Cg transform='' fill='none' stroke='rgba(235,235,255,.72)' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M0 0 L100 0'/%3E%3Cpath d='M0 0 L92 38'/%3E%3Cpath d='M0 0 L71 71'/%3E%3Cpath d='M0 0 L38 92'/%3E%3Cpath d='M0 0 L0 100'/%3E%3Cpath d='M26.0 0.0 Q21.9 4.4 24.0 9.9 Q18.6 12.4 18.4 18.4 Q12.4 18.6 9.9 24.0 Q4.4 21.9 0.0 26.0 '/%3E%3Cpath d='M48.0 0.0 Q40.5 8.0 44.4 18.3 Q34.3 22.9 33.9 33.9 Q22.9 34.3 18.3 44.4 Q8.0 40.5 0.0 48.0 '/%3E%3Cpath d='M70.0 0.0 Q59.0 11.7 64.7 26.7 Q50.1 33.4 49.5 49.5 Q33.4 50.1 26.7 64.7 Q11.7 59.0 0.0 70.0 '/%3E%3Cpath d='M92.0 0.0 Q77.6 15.4 85.0 35.1 Q65.8 43.9 65.1 65.1 Q43.9 65.8 35.1 85.0 Q15.4 77.6 0.0 92.0 '/%3E%3C/g%3E%3Cg transform='translate(70 60)'%3E%3Cpath d='M0 -60 V-8' stroke='rgba(235,235,255,.6)' stroke-width='1'/%3E%3Cellipse cx='0' cy='0' rx='6' ry='8' fill='%2316121f'/%3E%3Ccircle cx='0' cy='-9' r='4.5' fill='%2316121f'/%3E%3Cg stroke='%2316121f' stroke-width='1.6' fill='none'%3E%3Cpath d='M-5 -3 L-13 -9 M-5 1 L-14 0 M-5 4 L-12 10 M5 -3 L13 -9 M5 1 L14 0 M5 4 L12 10'/%3E%3C/g%3E%3Ccircle cx='-1.6' cy='-10' r='1.1' fill='%23f97316'/%3E%3Ccircle cx='1.6' cy='-10' r='1.1' fill='%23f97316'/%3E%3C/g%3E%3C/svg%3E");--corner-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 110'%3E%3Cg transform='scale(-1,1) translate(-110,0)' fill='none' stroke='rgba(235,235,255,.72)' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M0 0 L100 0'/%3E%3Cpath d='M0 0 L92 38'/%3E%3Cpath d='M0 0 L71 71'/%3E%3Cpath d='M0 0 L38 92'/%3E%3Cpath d='M0 0 L0 100'/%3E%3Cpath d='M26.0 0.0 Q21.9 4.4 24.0 9.9 Q18.6 12.4 18.4 18.4 Q12.4 18.6 9.9 24.0 Q4.4 21.9 0.0 26.0 '/%3E%3Cpath d='M48.0 0.0 Q40.5 8.0 44.4 18.3 Q34.3 22.9 33.9 33.9 Q22.9 34.3 18.3 44.4 Q8.0 40.5 0.0 48.0 '/%3E%3Cpath d='M70.0 0.0 Q59.0 11.7 64.7 26.7 Q50.1 33.4 49.5 49.5 Q33.4 50.1 26.7 64.7 Q11.7 59.0 0.0 70.0 '/%3E%3Cpath d='M92.0 0.0 Q77.6 15.4 85.0 35.1 Q65.8 43.9 65.1 65.1 Q43.9 65.8 35.1 85.0 Q15.4 77.6 0.0 92.0 '/%3E%3C/g%3E%3Cg transform='translate(30 60)'%3E%3Cpath d='M0 -60 V-8' stroke='rgba(235,235,255,.6)' stroke-width='1'/%3E%3Cellipse cx='0' cy='0' rx='6' ry='8' fill='%2316121f'/%3E%3Ccircle cx='0' cy='-9' r='4.5' fill='%2316121f'/%3E%3Cg stroke='%2316121f' stroke-width='1.6' fill='none'%3E%3Cpath d='M-5 -3 L-13 -9 M-5 1 L-14 0 M-5 4 L-12 10 M5 -3 L13 -9 M5 1 L14 0 M5 4 L12 10'/%3E%3C/g%3E%3Ccircle cx='-1.6' cy='-10' r='1.1' fill='%23f97316'/%3E%3Ccircle cx='1.6' cy='-10' r='1.1' fill='%23f97316'/%3E%3C/g%3E%3C/svg%3E");--corner-end:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cpath d='M58 18c0-8 4-14 10-16l3 4c-5 2-7 6-7 12z' fill='%234d7c0f'/%3E%3Cpath d='M66 8c8-6 18-4 22 2-8-2-14 0-20 4z' fill='%2365a30d'/%3E%3Cellipse cx='60' cy='58' rx='56' ry='40' fill='%23ea580c'/%3E%3Cellipse cx='38' cy='58' rx='22' ry='38' fill='%23f97316'/%3E%3Cellipse cx='82' cy='58' rx='22' ry='38' fill='%23f97316'/%3E%3Cellipse cx='60' cy='58' rx='18' ry='40' fill='%23fb923c'/%3E%3Cg fill='%23fde047'%3E%3Cpath d='M30 46l14-10 6 14z'/%3E%3Cpath d='M90 46 76 36l-6 14z'/%3E%3Cpath d='M28 66c10 14 54 14 64 0l-8 4-6-5-6 6-6-6-6 6-6-6-6 5z'/%3E%3C/g%3E%3C/svg%3E")}
[data-theme=halloween] .wizard,[data-theme=halloween] .tier,[data-theme=halloween] .result-board{overflow:visible}
[data-theme=halloween] :is(.wizard,.tier,.figure-tile,.result-board,.beneficiary,.step-foot,.sheet-section){position:relative}
[data-theme=halloween] :is(.wizard,.tier,.figure-tile,.btn-primary,.top-btn,.result-board,.hud-card,.beneficiary,.board-row.is-me,#celebration .endcopy)::before,[data-theme=halloween] .step-foot::before{content:"";position:absolute;left:-2px;right:-2px;top:-11px;height:16px;background:var(--cap) left top/100% 100% no-repeat;pointer-events:none;z-index:3;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
[data-theme=halloween] :is(.tier,.figure-tile,.btn-primary,.top-btn)::before{height:13px;top:-9px}
[data-theme=halloween] .step-foot::before{left:0;right:0}
[data-theme=halloween] .wizard::after{content:"";position:absolute;left:0;top:0;width:118px;height:118px;background:var(--corner) left top/contain no-repeat;z-index:4;pointer-events:none}
[data-theme=halloween] .result-board::after{content:"";position:absolute;right:0;top:0;width:110px;height:110px;background:var(--corner-r) right top/contain no-repeat;z-index:4;pointer-events:none}
[data-theme=halloween] #celebration .endcopy::after{content:"";position:absolute;left:-34px;top:-40px;width:112px;height:86px;background:var(--corner-end) center/contain no-repeat;z-index:4;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=easter]{--cap:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22' preserveAspectRatio='none'%3E%3Cpath d='M0 22 L1.4 12.8 L2.8 22 L4.1 9.5 L5.4 22 L7.1 10.6 L8.7 22 L10.4 15.4 L12.2 22 L13.9 15.6 L15.6 22 L16.9 15.3 L18.2 22 L20.3 11.8 L22.4 22 L23.9 14.8 L25.3 22 L27.5 9.7 L29.7 22 L31.4 10.2 L33.0 22 L34.3 6.2 L35.6 22 L37.2 7.4 L38.7 22 L40.1 14.6 L41.4 22 L43.5 12.9 L45.6 22 L47.4 14.2 L49.2 22 L50.9 9.6 L52.5 22 L53.8 10.5 L55.1 22 L56.6 15.4 L58.0 22 L59.7 9.2 L61.4 22 L63.2 12.9 L65.0 22 L66.6 11.5 L68.1 22 L70.1 8.1 L72.0 22 L73.9 13.6 L75.7 22 L77.8 10.7 L79.9 22 L81.5 8.7 L83.0 22 L84.4 6.2 L85.8 22 L87.8 11.8 L89.8 22 L91.5 14.5 L93.2 22 L95.2 15.6 L97.1 22 L98.9 8.4 L100.7 22 L102.3 7.2 L103.9 22 L105.7 9.0 L107.5 22 L109.2 10.2 L111.0 22 L113.1 7.6 L115.3 22 L117.3 11.3 L119.2 22 L121.1 15.4 L123.1 22 L125.3 9.5 L127.6 22 L129.1 7.8 L130.6 22 L132.5 12.1 L134.5 22 L136.2 15.8 L137.9 22 L139.3 14.3 L140.6 22 L142.6 15.4 L144.7 22 L146.2 14.7 L147.7 22 L149.8 12.1 L151.9 22 L153.6 15.2 L155.3 22 L157.4 10.5 L159.6 22 L161.7 7.8 L163.8 22 L165.5 13.2 L167.1 22 L169.3 12.4 L171.4 22 L172.8 6.4 L174.2 22 L175.7 14.2 L177.2 22 L178.9 13.7 L180.6 22 L182.1 10.1 L183.7 22 L185.3 16.0 L187.0 22 L188.8 12.3 L190.6 22 L192.6 6.5 L194.5 22 L196.4 10.8 L198.2 22 L199.5 9.2 L200.8 22 Z' fill='%234ade80'/%3E%3Crect x='0' y='18' width='200' height='4' fill='%2322c55e'/%3E%3Ccircle cx='22' cy='9' r='2.6' fill='%23fde68a'/%3E%3Ccircle cx='22' cy='9' r='1' fill='%23f59e0b'/%3E%3Ccircle cx='61' cy='9' r='2.6' fill='%23f9a8d4'/%3E%3Ccircle cx='61' cy='9' r='1' fill='%23f59e0b'/%3E%3Ccircle cx='104' cy='9' r='2.6' fill='%23ffffff'/%3E%3Ccircle cx='104' cy='9' r='1' fill='%23f59e0b'/%3E%3Ccircle cx='148' cy='9' r='2.6' fill='%23c4b5fd'/%3E%3Ccircle cx='148' cy='9' r='1' fill='%23f59e0b'/%3E%3Ccircle cx='181' cy='9' r='2.6' fill='%23fde68a'/%3E%3Ccircle cx='181' cy='9' r='1' fill='%23f59e0b'/%3E%3C/svg%3E");--corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cg transform=''%3E%3Cpath d='M40 88 C42 66 46 52 52 40' stroke='%2316a34a' stroke-width='3' fill='none'/%3E%3Cpath d='M70 88 C70 70 74 58 82 48' stroke='%2316a34a' stroke-width='3' fill='none'/%3E%3Cellipse cx='34' cy='70' rx='14' ry='5' fill='%2322c55e' transform='rotate(-35 34 70)'/%3E%3Cellipse cx='84' cy='72' rx='14' ry='5' fill='%2322c55e' transform='rotate(30 84 72)'/%3E%3Cpath d='M72 50 C66 38 70 24 76 22 C78 30 80 30 82 22 C84 30 86 30 88 22 C94 24 98 38 92 50 Q82 56 72 50Z' fill='%23f472b6' stroke='%23db2777' stroke-width='1.2'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(0 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(36 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(72 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(108 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(144 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(180 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(216 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(252 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(288 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(324 50 34)'/%3E%3Ccircle cx='50' cy='34' r='6.8' fill='%23facc15' stroke='%23eab308' stroke-width='1'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(0 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(36 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(72 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(108 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(144 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(180 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(216 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(252 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(288 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(324 24 52)'/%3E%3Ccircle cx='24' cy='52' r='4.1' fill='%23facc15' stroke='%23eab308' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");--corner-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cg transform='translate(18 8) scale(.9)'%3E%3Cpath d='M20 1C10 1 2 19 2 32c0 10.5 8 19 18 19s18-8.5 18-19C38 19 30 1 20 1z' fill='%23c4b5fd'/%3E%3Cpath d='M3.5 26l5.5-5 5.5 5 5.5-5 5.5 5 5.5-5 5.5 5' stroke='%23fde68a' stroke-width='3' fill='none' stroke-linejoin='round'/%3E%3Ccircle cx='11' cy='38' r='2.6' fill='%23f472b6'/%3E%3Ccircle cx='20' cy='41' r='2.6' fill='%23f472b6'/%3E%3Ccircle cx='29' cy='38' r='2.6' fill='%23f472b6'/%3E%3Cpath d='M8 13c3-6 7-9 12-9' stroke='rgba(255,255,255,.45)' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='translate(52 4) rotate(12 20 26)'%3E%3Cpath d='M20 1C10 1 2 19 2 32c0 10.5 8 19 18 19s18-8.5 18-19C38 19 30 1 20 1z' fill='%236ee7b7'/%3E%3Cpath d='M3.5 26l5.5-5 5.5 5 5.5-5 5.5 5 5.5-5 5.5 5' stroke='%23fff' stroke-width='3' fill='none' stroke-linejoin='round'/%3E%3Ccircle cx='11' cy='38' r='2.6' fill='%23a78bfa'/%3E%3Ccircle cx='20' cy='41' r='2.6' fill='%23a78bfa'/%3E%3Ccircle cx='29' cy='38' r='2.6' fill='%23a78bfa'/%3E%3Cpath d='M8 13c3-6 7-9 12-9' stroke='rgba(255,255,255,.45)' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3Cpath d='M8 62 C20 86 100 86 112 62 C100 70 20 70 8 62Z' fill='%23a16207'/%3E%3Cpath d='M10 62 Q30 56 50 64 T90 62 T112 62' stroke='%23ca8a04' stroke-width='3' fill='none'/%3E%3Cpath d='M14 70 Q40 64 60 72 T108 70' stroke='%23854d0e' stroke-width='2.5' fill='none'/%3E%3C/svg%3E");--corner-end:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cg transform='scale(-1,1) translate(-120,0)'%3E%3Cpath d='M40 88 C42 66 46 52 52 40' stroke='%2316a34a' stroke-width='3' fill='none'/%3E%3Cpath d='M70 88 C70 70 74 58 82 48' stroke='%2316a34a' stroke-width='3' fill='none'/%3E%3Cellipse cx='34' cy='70' rx='14' ry='5' fill='%2322c55e' transform='rotate(-35 34 70)'/%3E%3Cellipse cx='84' cy='72' rx='14' ry='5' fill='%2322c55e' transform='rotate(30 84 72)'/%3E%3Cpath d='M72 50 C66 38 70 24 76 22 C78 30 80 30 82 22 C84 30 86 30 88 22 C94 24 98 38 92 50 Q82 56 72 50Z' fill='%23f472b6' stroke='%23db2777' stroke-width='1.2'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(0 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(36 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(72 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(108 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(144 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(180 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(216 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(252 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(288 50 34)'/%3E%3Cellipse cx='50' cy='23.0' rx='5.2' ry='11.0' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(324 50 34)'/%3E%3Ccircle cx='50' cy='34' r='6.8' fill='%23facc15' stroke='%23eab308' stroke-width='1'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(0 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(36 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(72 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(108 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(144 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(180 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(216 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(252 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(288 24 52)'/%3E%3Cellipse cx='24' cy='45.4' rx='3.1' ry='6.6' fill='%23fdf2f8' stroke='%23e5e7eb' stroke-width='.8' transform='rotate(324 24 52)'/%3E%3Ccircle cx='24' cy='52' r='4.1' fill='%23facc15' stroke='%23eab308' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E")}
[data-theme=easter] .wizard,[data-theme=easter] .tier,[data-theme=easter] .result-board{overflow:visible}
[data-theme=easter] :is(.wizard,.tier,.figure-tile,.result-board,.beneficiary,.step-foot,.sheet-section){position:relative}
[data-theme=easter] :is(.wizard,.tier,.figure-tile,.btn-primary,.top-btn,.result-board,.hud-card,.beneficiary,.board-row.is-me,#celebration .endcopy)::before,[data-theme=easter] .step-foot::before{content:"";position:absolute;left:-2px;right:-2px;top:-9px;height:14px;background:var(--cap) left top/100% 100% no-repeat;pointer-events:none;z-index:3;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
[data-theme=easter] :is(.tier,.figure-tile,.btn-primary,.top-btn)::before{height:11px;top:-7px}
[data-theme=easter] .step-foot::before{left:0;right:0}
[data-theme=easter] .wizard::after{content:"";position:absolute;left:-30px;top:-36px;width:108px;height:80px;background:var(--corner) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=easter] .result-board::after{content:"";position:absolute;right:-26px;top:-36px;width:104px;height:80px;background:var(--corner-r) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=easter] #celebration .endcopy::after{content:"";position:absolute;left:-34px;top:-40px;width:112px;height:86px;background:var(--corner-end) center/contain no-repeat;z-index:4;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=valentine]{--cap:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 16'%3E%3Cpath d='M0 4 Q13 9 26 4' stroke='%23fda4af' stroke-width='1.2' fill='none'/%3E%3Cg transform='translate(6 3) scale(.55)'%3E%3Cpath d='M12 21s-7.6-4.6-9.6-9.3C.9 8.1 3.3 4.4 7 4.4c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.7 0 6.1 3.7 4.6 7.3C19.6 16.4 12 21 12 21z' fill='%23f43f5e' stroke='%239f1239' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");--corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cg transform=''%3E%3Cg transform='translate(18 14) scale(2.6)'%3E%3Cpath d='M12 21s-7.6-4.6-9.6-9.3C.9 8.1 3.3 4.4 7 4.4c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.7 0 6.1 3.7 4.6 7.3C19.6 16.4 12 21 12 21z' fill='%23f43f5e' stroke='%239f1239' stroke-width='.8'/%3E%3C/g%3E%3Cg transform='translate(60 30) scale(1.8)'%3E%3Cpath d='M12 21s-7.6-4.6-9.6-9.3C.9 8.1 3.3 4.4 7 4.4c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.7 0 6.1 3.7 4.6 7.3C19.6 16.4 12 21 12 21z' fill='%23fb7185' stroke='%239f1239' stroke-width='.8'/%3E%3C/g%3E%3Cpath d='M6 76 L108 18' stroke='%23fbbf24' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M108 18 l-12 1 5 9z' fill='%23fbbf24'/%3E%3Cpath d='M6 76 l4 -12 M6 76 l12 -3 M13 72 l4 -12 M13 72 l12 -3' stroke='%23fde68a' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='34' cy='28' r='3' fill='%23fff' opacity='.7'/%3E%3C/g%3E%3C/svg%3E");--corner-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cg transform='scale(-1,1) translate(-120,0)'%3E%3Cg transform='translate(18 14) scale(2.6)'%3E%3Cpath d='M12 21s-7.6-4.6-9.6-9.3C.9 8.1 3.3 4.4 7 4.4c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.7 0 6.1 3.7 4.6 7.3C19.6 16.4 12 21 12 21z' fill='%23f43f5e' stroke='%239f1239' stroke-width='.8'/%3E%3C/g%3E%3Cg transform='translate(60 30) scale(1.8)'%3E%3Cpath d='M12 21s-7.6-4.6-9.6-9.3C.9 8.1 3.3 4.4 7 4.4c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.7 0 6.1 3.7 4.6 7.3C19.6 16.4 12 21 12 21z' fill='%23fb7185' stroke='%239f1239' stroke-width='.8'/%3E%3C/g%3E%3Cpath d='M6 76 L108 18' stroke='%23fbbf24' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M108 18 l-12 1 5 9z' fill='%23fbbf24'/%3E%3Cpath d='M6 76 l4 -12 M6 76 l12 -3 M13 72 l4 -12 M13 72 l12 -3' stroke='%23fde68a' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='34' cy='28' r='3' fill='%23fff' opacity='.7'/%3E%3C/g%3E%3C/svg%3E");--corner-end:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90'%3E%3Cg transform=''%3E%3Cg transform='translate(18 14) scale(2.6)'%3E%3Cpath d='M12 21s-7.6-4.6-9.6-9.3C.9 8.1 3.3 4.4 7 4.4c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.7 0 6.1 3.7 4.6 7.3C19.6 16.4 12 21 12 21z' fill='%23f43f5e' stroke='%239f1239' stroke-width='.8'/%3E%3C/g%3E%3Cg transform='translate(60 30) scale(1.8)'%3E%3Cpath d='M12 21s-7.6-4.6-9.6-9.3C.9 8.1 3.3 4.4 7 4.4c2 0 3.6 1.1 5 3 1.4-1.9 3-3 5-3 3.7 0 6.1 3.7 4.6 7.3C19.6 16.4 12 21 12 21z' fill='%23fb7185' stroke='%239f1239' stroke-width='.8'/%3E%3C/g%3E%3Cpath d='M6 76 L108 18' stroke='%23fbbf24' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M108 18 l-12 1 5 9z' fill='%23fbbf24'/%3E%3Cpath d='M6 76 l4 -12 M6 76 l12 -3 M13 72 l4 -12 M13 72 l12 -3' stroke='%23fde68a' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='34' cy='28' r='3' fill='%23fff' opacity='.7'/%3E%3C/g%3E%3C/svg%3E")}
[data-theme=valentine] .wizard,[data-theme=valentine] .tier,[data-theme=valentine] .result-board{overflow:visible}
[data-theme=valentine] :is(.wizard,.tier,.figure-tile,.result-board,.beneficiary,.step-foot,.sheet-section){position:relative}
[data-theme=valentine] :is(.wizard,.tier,.figure-tile,.btn-primary,.top-btn,.result-board,.hud-card,.beneficiary,.board-row.is-me,#celebration .endcopy)::before,[data-theme=valentine] .step-foot::before{content:"";position:absolute;left:-2px;right:-2px;top:-8px;height:13px;background:var(--cap) left top/auto 100% repeat-x;pointer-events:none;z-index:3;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
[data-theme=valentine] :is(.tier,.figure-tile,.btn-primary,.top-btn)::before{height:10px;top:-6px}
[data-theme=valentine] .step-foot::before{left:0;right:0}
[data-theme=valentine] .wizard::after{content:"";position:absolute;left:-30px;top:-36px;width:108px;height:80px;background:var(--corner) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=valentine] .result-board::after{content:"";position:absolute;right:-26px;top:-36px;width:104px;height:80px;background:var(--corner-r) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=valentine] #celebration .endcopy::after{content:"";position:absolute;left:-34px;top:-40px;width:112px;height:86px;background:var(--corner-end) center/contain no-repeat;z-index:4;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=birthday]{--cap:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H200 V8 Q195 8 194 12 Q192 20 188 20 Q184 20 184 13 Q183 8 176 8 H158 Q153 8 152 14 Q150 24 145 24 Q140 24 140 14 Q139 8 132 8 H104 Q99 8 98 11 Q96 18 92 18 Q88 18 88 11 Q87 8 80 8 H52 Q46 8 45 15 Q44 23 39 23 Q34 23 34 15 Q33 8 26 8 H10 Q5 8 4 11 Q3 16 0 16Z' fill='%23fbcfe8'/%3E%3Cpath d='M0 0 H200 V3 H0Z' fill='%23fff'/%3E%3Crect x='5.0' y='3.0' width='3.4' height='1.4' rx='.7' fill='%23f43f5e' transform='rotate(-40 6.7 3.7)'/%3E%3Crect x='16.0' y='4.4' width='3.4' height='1.4' rx='.7' fill='%23facc15' transform='rotate(-3 17.7 5.1)'/%3E%3Crect x='27.0' y='5.8' width='3.4' height='1.4' rx='.7' fill='%2322d3ee' transform='rotate(34 28.7 6.5)'/%3E%3Crect x='38.0' y='3.0' width='3.4' height='1.4' rx='.7' fill='%23a78bfa' transform='rotate(-9 39.7 3.7)'/%3E%3Crect x='49.0' y='4.4' width='3.4' height='1.4' rx='.7' fill='%234ade80' transform='rotate(28 50.7 5.1)'/%3E%3Crect x='60.0' y='5.8' width='3.4' height='1.4' rx='.7' fill='%23fb923c' transform='rotate(-15 61.7 6.5)'/%3E%3Crect x='71.0' y='3.0' width='3.4' height='1.4' rx='.7' fill='%23f43f5e' transform='rotate(22 72.7 3.7)'/%3E%3Crect x='82.0' y='4.4' width='3.4' height='1.4' rx='.7' fill='%23facc15' transform='rotate(-21 83.7 5.1)'/%3E%3Crect x='93.0' y='5.8' width='3.4' height='1.4' rx='.7' fill='%2322d3ee' transform='rotate(16 94.7 6.5)'/%3E%3Crect x='104.0' y='3.0' width='3.4' height='1.4' rx='.7' fill='%23a78bfa' transform='rotate(-27 105.7 3.7)'/%3E%3Crect x='115.0' y='4.4' width='3.4' height='1.4' rx='.7' fill='%234ade80' transform='rotate(10 116.7 5.1)'/%3E%3Crect x='126.0' y='5.8' width='3.4' height='1.4' rx='.7' fill='%23fb923c' transform='rotate(-33 127.7 6.5)'/%3E%3Crect x='137.0' y='3.0' width='3.4' height='1.4' rx='.7' fill='%23f43f5e' transform='rotate(4 138.7 3.7)'/%3E%3Crect x='148.0' y='4.4' width='3.4' height='1.4' rx='.7' fill='%23facc15' transform='rotate(-39 149.7 5.1)'/%3E%3Crect x='159.0' y='5.8' width='3.4' height='1.4' rx='.7' fill='%2322d3ee' transform='rotate(-2 160.7 6.5)'/%3E%3Crect x='170.0' y='3.0' width='3.4' height='1.4' rx='.7' fill='%23a78bfa' transform='rotate(35 171.7 3.7)'/%3E%3Crect x='181.0' y='4.4' width='3.4' height='1.4' rx='.7' fill='%234ade80' transform='rotate(-8 182.7 5.1)'/%3E%3Crect x='192.0' y='5.8' width='3.4' height='1.4' rx='.7' fill='%23fb923c' transform='rotate(29 193.7 6.5)'/%3E%3C/svg%3E");--corner:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cg transform=''%3E%3Cpath d='M30 46 Q44 70 54 96 M60 40 Q58 70 54 96 M88 50 Q70 74 54 96' stroke='rgba(255,255,255,.6)' stroke-width='1.2' fill='none'/%3E%3Cpath d='M30 4c-11 0-17 9-17 19 0 12 10 21 17 23 7-2 17-11 17-23 0-10-6-19-17-19z' fill='%23ec4899'/%3E%3Cpath d='M27 46 l3 4 3-4z' fill='%23ec4899'/%3E%3Cellipse cx='23' cy='16' rx='3.5' ry='6' fill='rgba(255,255,255,.4)'/%3E%3Cpath d='M88 8c-11 0-17 9-17 19 0 12 10 21 17 23 7-2 17-11 17-23 0-10-6-19-17-19z' fill='%2322d3ee'/%3E%3Cpath d='M85 50 l3 4 3-4z' fill='%2322d3ee'/%3E%3Cellipse cx='81' cy='20' rx='3.5' ry='6' fill='rgba(255,255,255,.4)'/%3E%3Cpath d='M60 -2c-11 0-17 9-17 19 0 12 10 21 17 23 7-2 17-11 17-23 0-10-6-19-17-19z' fill='%23facc15'/%3E%3Cpath d='M57 40 l3 4 3-4z' fill='%23facc15'/%3E%3Cellipse cx='53' cy='10' rx='3.5' ry='6' fill='rgba(255,255,255,.4)'/%3E%3C/g%3E%3C/svg%3E");--corner-r:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 8 L82 88 Q50 98 18 88Z' fill='%23a78bfa'/%3E%3Cpath d='M50 8 L60 33 Q50 37 40 33Z M34 49 Q50 55 66 49 L72 64 Q50 72 28 64Z M22 80 Q50 90 78 80 L82 88 Q50 98 18 88Z' fill='%23facc15'/%3E%3Ccircle cx='34' cy='44' r='3' fill='%23ec4899'/%3E%3Ccircle cx='62' cy='72' r='3' fill='%2322d3ee'/%3E%3Ccircle cx='50' cy='8' r='9' fill='%23ec4899'/%3E%3Ccircle cx='47' cy='5' r='3' fill='%23fff' opacity='.6'/%3E%3C/svg%3E");--corner-end:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 90'%3E%3Crect x='8' y='40' width='54' height='46' rx='3' fill='%23ec4899'/%3E%3Crect x='30' y='40' width='10' height='46' fill='%23facc15'/%3E%3Crect x='4' y='32' width='62' height='12' rx='2' fill='%23f472b6'/%3E%3Crect x='30' y='32' width='10' height='12' fill='%23fde047'/%3E%3Cpath d='M35 32 C24 14 12 24 22 30 Z M35 32 C46 14 58 24 48 30Z' fill='%23facc15'/%3E%3Crect x='60' y='56' width='34' height='30' rx='3' fill='%2322d3ee'/%3E%3Crect x='73' y='56' width='8' height='30' fill='%23a78bfa'/%3E%3Crect x='57' y='50' width='40' height='9' rx='2' fill='%2367e8f9'/%3E%3Cpath d='M77 50 C70 40 62 46 68 50Z M77 50 C84 40 92 46 86 50Z' fill='%23a78bfa'/%3E%3C/svg%3E")}
[data-theme=birthday] .wizard,[data-theme=birthday] .tier,[data-theme=birthday] .result-board{overflow:visible}
[data-theme=birthday] :is(.wizard,.tier,.figure-tile,.result-board,.beneficiary,.step-foot,.sheet-section){position:relative}
[data-theme=birthday] :is(.wizard,.tier,.figure-tile,.btn-primary,.top-btn,.result-board,.hud-card,.beneficiary,.board-row.is-me,#celebration .endcopy)::before,[data-theme=birthday] .step-foot::before{content:"";position:absolute;left:-2px;right:-2px;top:-10px;height:15px;background:var(--cap) left top/100% 100% no-repeat;pointer-events:none;z-index:3;filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
[data-theme=birthday] :is(.tier,.figure-tile,.btn-primary,.top-btn)::before{height:12px;top:-8px}
[data-theme=birthday] .step-foot::before{left:0;right:0}
[data-theme=birthday] .wizard::after{content:"";position:absolute;left:-30px;top:-36px;width:108px;height:80px;background:var(--corner) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=birthday] .result-board::after{content:"";position:absolute;right:-26px;top:-36px;width:104px;height:80px;background:var(--corner-r) center/contain no-repeat;z-index:4;pointer-events:none;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=birthday] #celebration .endcopy::after{content:"";position:absolute;left:-34px;top:-40px;width:112px;height:86px;background:var(--corner-end) center/contain no-repeat;z-index:4;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
[data-theme=halloween] .wizard::after{opacity:.85}
.graveyard{position:absolute;left:0;right:0;bottom:-2px;height:clamp(60px,12vh,120px)}.graveyard svg{width:100%;height:100%}
.bfly{top:var(--top,30%);left:0;animation:td-fly var(--dur,16s) linear var(--delay,0s) infinite}
.bfly .wl,.bfly .wr{animation:td-flapx .28s ease-in-out infinite;transform-box:fill-box}
.bfly .wl{transform-origin:100% 50%}.bfly .wr{transform-origin:0 50%}
@keyframes td-flapx{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.25)}}
.hang{position:absolute;top:-4px;transform-origin:50% 0;animation:td-swing var(--dur,4s) ease-in-out var(--delay,0s) infinite}.hang svg{width:100%;height:100%}
.gifts{position:absolute;bottom:-4px;width:clamp(110px,11vw,170px);filter:drop-shadow(0 6px 8px rgba(0,0,0,.45))}
[data-theme=halloween] .wizard::after{left:-22px;top:-22px;width:96px;height:96px;opacity:.75}
[data-theme=halloween] .result-board::after{right:-22px;top:-22px;width:96px;height:96px;opacity:.75}
