.gift-animation-stage{position:relative;isolation:isolate;width:min(260px,100%);height:302px;margin:16px auto 20px;border-radius:26px;background:radial-gradient(ellipse at 50% 38%,#a57af51c,transparent 68%)}
.gift-animation-stage>img{position:absolute;top:0;left:0;width:100%;height:250px;object-fit:contain;display:block;transition:opacity .18s}
.gift-motion{position:absolute;inset:0 0 52px;opacity:0;transition:opacity .18s;pointer-events:none}
.gift-motion canvas{display:block;width:100%!important;height:100%!important;object-fit:contain}
.gift-motion svg{display:block;width:100%;height:100%}
.gift-animation-stage.playing>img{opacity:0}.gift-animation-stage.playing .gift-motion{opacity:1}
.gift-animation-toggle{position:absolute;bottom:0;left:50%;transform:translateX(-50%);white-space:nowrap;border:1px solid #b597e738;border-radius:22px;padding:10px 18px;background:#281f38;color:#cdb5eb;font-size:13px;min-height:44px;line-height:20px}
.gift-animation-toggle:disabled{opacity:.7}.gift-animation-toggle:focus-visible{outline:2px solid #bd9bfa;outline-offset:3px}
.gift-animation-stage>img:not(.gift-scene){z-index:1}.gift-animation-stage .gift-scene{object-fit:cover;border-radius:24px;opacity:0;z-index:0;pointer-events:none}.gift-animation-stage.playing .gift-scene{opacity:1}.gift-motion{z-index:2}.gift-animation-toggle{z-index:4}.gift-number-badge{position:absolute;top:12px;left:12px;z-index:3;border:1px solid #fff3;border-radius:20px;padding:5px 10px;background:#15111d99;color:#fff;font-size:12px;font-weight:750;line-height:20px;backdrop-filter:blur(6px);pointer-events:none}
@media(prefers-reduced-motion:reduce){.gift-animation-stage>img,.gift-motion{transition:none}}
@media(max-width:380px){.gift-animation-stage{width:220px;height:266px}.gift-animation-stage>img{height:214px}}
