.card-effect{position:absolute;inset:0;pointer-events:none;backface-visibility:hidden;transform:translateZ(calc(5px + 2.6 * var(--gap)));animation:effect-life 3.8s both}.card-effect svg{width:100%;height:100%;overflow:hidden}.curtain{fill:#250739aa;animation:curtain-open 1.7s ease-out both}.curtain.right{--slide:72px}.curtain.left{--slide:-72px}.petals{fill:#af62d1;animation:fall 3.6s linear both}.sweep{animation:sweep 2.1s ease-out both}.warm,.window{fill:#ffe4ad77;filter:blur(2px)}.rose{fill:#ffc3a6;filter:blur(2px)}.wing{fill:none;stroke:#dbfbff;stroke-width:1.1;filter:drop-shadow(0 0 1px #87f4ff)}.feather{fill:#f8fcffdd;animation:feather 3.4s ease-out both}.rain{fill:none;stroke:#caecffb8;stroke-width:.32;animation:rain 1s linear infinite}.dew,.gem,.moon{fill:#c4fff0;filter:blur(1.7px)}.pulse{animation:pulse 3s both}.crack{stroke:#b6fbff;fill:none;stroke-width:.52;stroke-dasharray:100;filter:drop-shadow(0 0 1px #82dfff);animation:crack 2s ease-out both}.ripples{stroke:#c2edffb3;stroke-width:.45;fill:none;transform-origin:center 70%;animation:ripple 3.2s ease-out both}.ripples.gold{stroke:#d5ffbd}.lace{fill:#ffebd0a0;stroke:#fff9ea;stroke-width:1;stroke-dasharray:1 2;animation:lace 2s ease-in-out both}.effect-4+.layer{will-change:transform}@keyframes effect-life{0%,100%{opacity:0}12%,68%{opacity:1}}@keyframes curtain-open{to{translate:var(--slide) 0}}@keyframes fall{from{translate:0 -12px}to{translate:8px 28px}}@keyframes sweep{from{translate:-36px 0;opacity:0}38%{opacity:1}to{translate:26px 0;opacity:0}}@keyframes feather{from{translate:-10px -10px;rotate:-8deg}to{translate:19px 32px;rotate:12deg}}@keyframes rain{from{translate:5px -8px;opacity:.35}to{translate:-6px 11px;opacity:.8}}@keyframes pulse{0%,100%{opacity:0}42%{opacity:.9}70%{opacity:.28}}@keyframes crack{from{stroke-dashoffset:100;opacity:0}25%{opacity:1}to{stroke-dashoffset:0;opacity:.65}}@keyframes ripple{from{scale:.35;opacity:0}26%{opacity:1}to{scale:1.45;opacity:.12}}@keyframes lace{to{translate:15px -52px;opacity:0}}
.rose-aligned .layer:nth-child(-n+3),.rose-aligned .layer[style="--n: 2;"]{transform:translateZ(calc(5px + var(--gap)))}.veil-aligned{transform:translateZ(calc(5px + var(--gap)));clip-path:polygon(0 0,100% 0,100% 50%,43% 52%,0 76%)}.dress-depth{clip-path:polygon(0 76%,43% 52%,100% 50%,100% 100%,0 100%)}.wing-reflection{fill:#cdeeff75;filter:blur(3px);transform-origin:83% 25%;animation:wing-light 3.5s both}.wing-dust{fill:#d6f6ff;animation:wing-light 3.5s both}.lotus-reflect{fill:none;stroke:#d6edff;stroke-width:.55;filter:blur(.35px);animation:lotus-drift 3.6s ease-in-out both}.floral-drift{fill:#f2bdcb;animation:floral-drift 3.7s ease-in-out both}.effect-8{transform:translateZ(calc(6px + var(--gap)))}.blink-lid{fill:#d7a591;opacity:0;animation:blink 3.7s both}@keyframes wing-light{0%,100%{opacity:0}36%{opacity:.8;scale:1.08}65%{opacity:.35}}@keyframes lotus-drift{0%,100%{opacity:0}38%{opacity:.7;translate:2px 0}75%{opacity:.4;translate:-3px 1px}}@keyframes floral-drift{0%{translate:-8px -11px;opacity:0}25%{opacity:.95}100%{translate:11px 25px;opacity:0}}@keyframes blink{0%,40%,49%,100%{opacity:0}44%,46%{opacity:1}}
@media(min-width:701px){#ring{width:min(345px,26vw,32vh);height:auto;aspect-ratio:23/30;top:42%}}
.rose-aligned .umbrella-depth{transform:translateZ(calc(5px + 2.4 * var(--gap)));clip-path:polygon(6% 0,88% 0,89% 7%,75% 10%,54% 12%,29% 17%,6% 22%)}
.rose-aligned .rose-foreground{clip-path:polygon(0 0,6% 0,6% 22%,29% 17%,54% 12%,75% 10%,89% 7%,88% 0,100% 0,100% 100%,0 100%)}
.rose-aligned .rose-grip{transform:translateZ(calc(5px + var(--gap) + .5px));clip-path:polygon(25% 29%,43% 29%,45% 52%,17% 55%,17% 48%)}
.effect-5{transform:translateZ(calc(5.2px + 2 * var(--gap)))}
.glass-sweep{position:absolute;inset:0;mask:url(cards/5-0-2.webp) center/100% 100% no-repeat;background:linear-gradient(115deg,transparent 32%,#c8f7ffba 49%,transparent 66%);background-size:240% 100%;animation:glass-sweep 3.5s ease-in-out both}
@keyframes glass-sweep{from{background-position:100% 0}to{background-position:0 0}}
.wind-person{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,0 21%,38% 21%,39% 32%,29% 52%,0 56%,0 21%)}
.wind-hair{clip-path:polygon(0 21%,38% 21%,39% 32%,29% 52%,0 56%);transform-origin:39% 25%;animation:hair-breeze 4s ease-in-out infinite}
.wind-skirt{transform-origin:48% 45%;animation:skirt-breeze 4s ease-in-out infinite}
.wind-flecks{fill:#ffdeefb0;animation:floral-drift 3.7s ease-in-out both}
@keyframes hair-breeze{0%,100%{rotate:0deg}44%{rotate:1.2deg}}
@keyframes skirt-breeze{0%,100%{rotate:0deg;translate:0 0}57%{rotate:-.65deg;translate:2px -1px}}
@media(prefers-reduced-motion:reduce){.wind-hair,.wind-skirt{animation:none}}
.glass-front.glass-break .layer[style*="--n: 2"]{animation:glass-reveal 4s both}
.glass-sweep{animation:crack-spread 1.8s ease-out both;background:radial-gradient(circle at 27% 39%,#f5ffff 0,#9befffdf 25%,transparent 75%);background-size:100% 100%}
.glass-shard{position:absolute;inset:0;background:url(cards/5-0-2.webp) center/100% 100% no-repeat;opacity:0;animation:shard-flight 1.55s 1.65s cubic-bezier(.12,.65,.24,1) both}
.shard-a{clip-path:polygon(0 15%,13% 15%,14% 27%,0 27%);--x:-19%;--y:-15%;--r:-16deg}
.shard-b{clip-path:polygon(84% 28%,100% 28%,100% 49%,84% 49%);--x:23%;--y:-13%;--r:17deg}
.shard-c{clip-path:polygon(0 72%,17% 72%,17% 85%,0 85%);--x:-16%;--y:22%;--r:-19deg}
.shard-d{clip-path:polygon(80% 67%,100% 67%,100% 80%,80% 80%);--x:17%;--y:22%;--r:14deg}
@keyframes crack-spread{0%{clip-path:circle(0% at 27% 39%);opacity:0}15%{opacity:1}73%{clip-path:circle(90% at 27% 39%);opacity:.9}100%{clip-path:circle(90% at 27% 39%);opacity:0}}
@keyframes glass-reveal{0%,19%{opacity:0}42%,100%{opacity:1}}
@keyframes shard-flight{0%{opacity:0;transform:none}12%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1.1)}}
.rose-front-clean{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,36% 20%,48% 18%,50% 29%,46% 33%,37% 32%,22% 53%,19% 54%,20% 50%,33% 32%,29% 31%,34% 26%,36% 20%)}
.rose-back-clean{clip-path:polygon(evenodd,0 0,100% 0,100% 100%,0 100%,0 0,25% 42%,25% 28%,48% 28%,48% 45%,25% 45%,25% 42%)}
.held-original-rose{clip-path:polygon(25% 28%,48% 28%,48% 45%,25% 45%);transform:translate3d(-10%,7.7%,calc(4.8px + var(--gap)));filter:none}
