:root{--scene-accent:#eec58e;--scene-second:#df9ccf}.motion-stage{position:absolute;inset:0;z-index:250;isolation:isolate;overflow:hidden;border-radius:inherit;background:radial-gradient(ellipse at 50% 45%,#522849c9,#160e25e8);color:#fff8ef;pointer-events:none;transition:background .8s}.motion-stage[data-phase=transparent]{background:transparent}.motion-stage[data-phase=transparent]>*{visibility:hidden}.motion-particles{position:absolute;inset:0;pointer-events:none}.motion-particles i{position:absolute;left:calc(4% + mod(var(--n)*17,92)*1%);top:calc(5% + mod(var(--n)*23,88)*1%);font-style:normal;font-size:calc(11px + mod(var(--n),4)*4px);color:var(--scene-accent);text-shadow:0 0 14px currentColor;animation:particleDrift calc(2.5s + var(--n)*.06s) ease-in-out infinite alternate;animation-delay:calc(var(--n)*-.13s);opacity:.7}.motion-halo{position:absolute;width:75%;height:75%;left:12.5%;top:10%;border:2px solid #f2d0f244;border-radius:50%;background:repeating-conic-gradient(from 0deg,#f3d6ff11 0deg 10deg,transparent 10deg 30deg);box-shadow:0 0 50px #eda5dd33,inset 0 0 30px #e9caff22;animation:haloRotate 12s linear infinite}.motion-halo:after{content:'';position:absolute;inset:12%;border:1px dashed #f8d29b88;border-radius:50%;box-shadow:0 0 35px #f4b2e344}.motion-object{position:absolute;left:50%;top:45%;height:min(43%,180px);aspect-ratio:1;transform:translate(-50%,-50%);filter:drop-shadow(0 0 20px #ffc2e65e);transition:filter .5s}.motion-object-top,.motion-object-bottom{position:absolute;inset:0;border-radius:50%;border:3px solid #ffe6cb;background:radial-gradient(circle at 30% 20%,#fff9ffdd,transparent 35%),linear-gradient(150deg,#e4badb,#9c5295);box-shadow:inset 0 0 25px #ffffff55,0 8px 18px #0c031c88}.motion-object-top{clip-path:inset(0 0 49%);z-index:2}.motion-object-bottom{clip-path:inset(49% 0 0);background:radial-gradient(circle at 70% 65%,#8f518f,#a5599c 55%,#d0a4c5)}.motion-object:after{content:'';position:absolute;left:1%;right:1%;top:48%;height:5%;border-radius:50%;background:linear-gradient(#fff7c8,#c3905f,#fff2c4);z-index:3}.motion-seal{position:absolute;inset:0;display:grid;place-items:center;color:#ffdbed;font-size:clamp(26px,5vw,65px);font-weight:bold;z-index:4;text-shadow:0 0 20px #fff6cf}.motion-title{position:absolute;top:6%;left:4%;right:4%;text-align:center;font-size:clamp(18px,3vw,35px);font-weight:900;color:var(--scene-accent);letter-spacing:2px;text-shadow:0 0 20px #efb9d877;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.motion-message{position:absolute;bottom:6%;left:6%;right:6%;font-size:clamp(12px,2vw,17px);line-height:1.7;text-align:center;text-shadow:0 2px 4px #000;margin:0}.motion-track{position:absolute;bottom:0;left:5%;right:5%;height:4px;background:#ffffff15;border-radius:5px;overflow:hidden}.motion-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--scene-second),var(--scene-accent));box-shadow:0 0 15px var(--scene-accent);transition:width 1.5s}.motion-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;opacity:0;transform:scale(1.2);transition:opacity .6s,transform 3s;z-index:-1}.motion-interact{position:absolute;bottom:8%;left:8%;right:8%;z-index:7;display:grid;place-items:center}.motion-tap{pointer-events:auto;border:2px solid #fff5d9;border-radius:100px;color:#5a294c;background:linear-gradient(110deg,#ffe6bb,#f8bedf);padding:14px 20px;min-height:48px;font-size:16px;font-weight:900;box-shadow:0 0 28px #f7c3dc66;animation:tapBreathe 1.3s infinite alternate;max-width:100%}.motion-stage[data-waiting=true] .motion-message{display:none}.motion-stage[data-waiting=true] .motion-object{height:33%;top:39%}.motion-stage[data-phase=charge] .motion-object{animation:chargeOrb 2s ease-in-out infinite alternate}.motion-stage[data-phase=charge] .motion-halo{animation:chargeHalo 2s ease-in-out infinite alternate}.motion-stage[data-phase=mix] .motion-object{animation:mixOrb 1.2s linear infinite}.motion-stage[data-phase=mix] .motion-particles i{animation:mixParticle 1.8s ease-in-out infinite}.motion-stage[data-phase=bounce] .motion-object{animation:capsuleBounce 1.2s ease-in-out infinite}.motion-stage[data-phase=crack] .motion-object{animation:crackWobble .8s ease-in-out infinite}.motion-stage[data-phase=crack] .motion-object:after{background:#fff6ce;box-shadow:0 0 25px #fff6ce,0 0 50px #ffb9e8;animation:crackLight 1.5s infinite alternate}.motion-stage[data-phase=omen] .motion-photo{opacity:.65;transform:scale(1)}.motion-stage[data-phase=omen] .motion-object{filter:drop-shadow(0 0 35px #f8e7ff);animation:crackWobble .8s infinite}.motion-stage[data-phase=omen] .motion-title{animation:anticipationText 1s ease-in-out infinite alternate}.motion-stage[data-phase=hold] .motion-object{animation:heartbeat 1.3s ease-in-out infinite}.motion-stage[data-phase=hold] .motion-halo{opacity:.4}.motion-stage[data-phase=box] .motion-object-top,.motion-stage[data-phase=box] .motion-object-bottom{border-radius:16%;clip-path:none}.motion-stage[data-phase=box] .motion-object-top{clip-path:inset(0 0 72%);border-bottom:5px solid #fff2c4}.motion-stage[data-phase=box] .motion-object:after{top:0;bottom:0;width:14%;height:100%;left:43%;border-radius:0}.motion-stage[data-phase=box] .motion-object{animation:crackWobble 1.4s infinite}.motion-stage[data-phase=wobble] .motion-object{animation:funnyWobble 1.2s infinite}.motion-stage[data-phase=open] .motion-object-top{animation:openTop 1.3s ease-out both}.motion-stage[data-phase=open] .motion-object-bottom{animation:openBottom 1.3s ease-out both}.motion-stage[data-phase=open] .motion-seal,.motion-stage[data-phase=open] .motion-object:after{opacity:0}.motion-stage[data-phase=open] .motion-halo{animation:rewardBurst 1.5s ease-out both}.motion-stage[data-phase=miss] .motion-seal{font-size:45px}.motion-stage[data-phase=miss] .motion-object{animation:funnyWobble 1.6s infinite}.motion-stage[data-phase=ssr]{background:radial-gradient(ellipse at center,#fff3bb88,#6e2856cf 55%,#1f0c39f5)}.motion-stage[data-phase=ssr] .motion-photo{opacity:.85;transform:scale(1);object-position:center 35%}.motion-stage[data-phase=ssr] .motion-object{display:none}.motion-stage[data-phase=ssr] .motion-title{top:auto;bottom:17%;font-family:Georgia,serif;font-size:clamp(62px,12vw,110px);color:#fff1a3;-webkit-text-stroke:1px #bb6e2d;text-shadow:3px 3px #9d2871,-2px -2px white,0 0 35px #ffce5b;animation:ssrTitle .8s ease-out both;z-index:3}.motion-stage[data-phase=ssr] .motion-message{font-weight:900;color:#fff2c2;bottom:5%;font-size:clamp(13px,2vw,20px)}.motion-stage[data-phase=ssr] .motion-halo{inset:-30%;width:160%;height:160%;border:0;background:repeating-conic-gradient(from 0deg,#ffce6066 0 10deg,#ff63dc44 10deg 20deg,#65eeff44 20deg 30deg,transparent 30deg 40deg);animation:ssrRays 8s linear infinite;z-index:1}.motion-stage[data-phase=ssr] .motion-particles{z-index:2}.motion-stage[data-phase=ssr] .motion-particles i{color:#fff7b8;font-size:25px;animation:mixParticle 2.3s infinite}.long-trace{animation-duration:6s!important}.destination{animation:tapBreathe 1s infinite alternate;text-shadow:0 0 25px #ffe07e}.mystery-capsule.carrying{animation:carryCapsule 2.8s ease-in-out both}.mystery-capsule.carrying.wobbling{animation:carrySway 1.3s ease-in-out infinite}.mystery-claw.wobbling{animation:clawSway 1.2s infinite alternate}.motion-paused *, .motion-paused *:before,.motion-paused *:after{animation-play-state:paused!important}
body[data-theme=cute]{--gold:#f6c0dd;--pink:#fbc8e6;--bg:#29192f;background:radial-gradient(ellipse at top,#633655,#29192f 75%)}body[data-theme=cute] .cabinet{background:radial-gradient(ellipse at top,#75435f,#321c3f);border-color:#f5c3df;box-shadow:inset 0 0 35px #f7c0e522,0 10px 55px #26152b77}body[data-theme=cute] .motion-stage{background:radial-gradient(ellipse,#955c88,#3b234ddf)}body[data-theme=cute] .motion-particles i{color:#ffe5f4}body[data-theme=cute] .real-rig{background:linear-gradient(120deg,#e0a6d6,#8c5596,#6a3c80);box-shadow:0 0 0 4px #bd7eb8,0 0 35px #f0a7dd66}body[data-theme=cute] .real-rig:before{opacity:.3}body[data-theme=playful]{--gold:#ffdf57;--pink:#ff9ad5;background:radial-gradient(ellipse at 15% 0,#5642a1,#201542 75%)}body[data-theme=playful] .cabinet{background:repeating-linear-gradient(145deg,#4f3682 0 20px,#453174 20px 40px);border:3px solid #ffdd5e;box-shadow:5px 6px 0 #100b2e}body[data-theme=playful] .motion-stage{background:repeating-conic-gradient(from 0deg at 50% 45%,#6853a5 0deg 15deg,#523e91 15deg 30deg)}body[data-theme=playful] .motion-title{font-style:italic;text-shadow:3px 3px #381a56;color:#ffdf57}body[data-theme=playful] .motion-object{filter:drop-shadow(5px 6px 0 #21113c)}body[data-theme=playful] .motion-stage[data-phase=miss] .motion-seal:after{content:'！？';font-size:38px}body[data-theme=neon]{--gold:#9cffff;--pink:#ff72df;background:radial-gradient(ellipse at top,#28206d,#0c0927 75%)}body[data-theme=neon] .motion-stage{background:radial-gradient(ellipse,#682596,#100829ed)}body[data-theme=neon] .motion-title{color:#a3ffff;text-shadow:0 0 20px #26ecff,2px 2px #dc27df}body[data-theme=photo] .cabinet{border-color:var(--scene-accent)}body[data-theme=photo] .gold-button{background:linear-gradient(110deg,var(--scene-accent),var(--scene-second))}
@keyframes particleDrift{to{transform:translate(12px,-16px) rotate(30deg);opacity:.2}}@keyframes haloRotate{to{transform:rotate(360deg)}}@keyframes chargeOrb{to{transform:translate(-50%,-50%) scale(1.08);filter:brightness(1.2) drop-shadow(0 0 35px #f1c4e8)}}@keyframes chargeHalo{to{transform:scale(.8);opacity:.3}}@keyframes mixOrb{0%,100%{transform:translate(-50%,-50%) rotate(-12deg)}25%{transform:translate(-65%,-60%) rotate(12deg)}75%{transform:translate(-35%,-45%) rotate(-18deg)}}@keyframes mixParticle{50%{transform:translate(20px,-30px) rotate(100deg);opacity:1}to{transform:translate(-15px,12px) rotate(200deg);opacity:.15}}@keyframes capsuleBounce{0%,100%{transform:translate(-50%,-50%) scale(1.06,.94)}45%{transform:translate(-50%,-70%) scale(.96,1.04)}}@keyframes crackWobble{0%,100%{transform:translate(-50%,-50%) rotate(-4deg)}50%{transform:translate(-50%,-50%) rotate(5deg)}}@keyframes crackLight{to{height:10%;box-shadow:0 0 40px #fff6ce,0 0 65px #ffb9e8}}@keyframes anticipationText{to{transform:scale(1.08);filter:brightness(1.25)}}@keyframes heartbeat{0%,100%{transform:translate(-50%,-50%) scale(1)}50%{transform:translate(-50%,-50%) scale(1.09)}}@keyframes funnyWobble{25%{transform:translate(-58%,-50%) rotate(-10deg)}75%{transform:translate(-42%,-50%) rotate(10deg)}}@keyframes openTop{to{transform:translateY(-85%) rotate(-20deg);opacity:0}}@keyframes openBottom{to{transform:translateY(65%) rotate(15deg);opacity:0}}@keyframes rewardBurst{to{transform:scale(2.5) rotate(70deg);opacity:0}}@keyframes tapBreathe{to{transform:scale(1.045);filter:brightness(1.12)}}@keyframes ssrTitle{from{transform:scale(2.3) rotate(-8deg);opacity:0}to{transform:scale(1) rotate(-5deg);opacity:1}}@keyframes ssrRays{to{transform:rotate(360deg);filter:hue-rotate(45deg)}}@keyframes carryCapsule{to{transform:translate(-50%,-220%) scale(.85)}}@keyframes carrySway{0%,100%{transform:translate(-50%,-220%) rotate(-8deg) scale(.85)}50%{transform:translate(-50%,-220%) rotate(8deg) scale(.85)}}@keyframes clawSway{to{filter:drop-shadow(4px 0 2px #fff3)}}
@media(max-width:600px){.compact-play .motion-title{font-size:18px;top:4%}.compact-play .motion-message{font-size:12px;bottom:5%;line-height:1.4}.compact-play .motion-tap{font-size:14px;padding:10px 16px;min-height:44px}.compact-play .motion-interact{bottom:5%}.compact-play .motion-stage[data-phase=ssr] .motion-title{font-size:65px}.compact-play .motion-stage[data-phase=ssr] .motion-message{font-size:13px}}
.motion-capsules{display:none;position:absolute;inset:0}.mini-capsule{position:absolute;width:18%;aspect-ratio:1;border:2px solid #fce1f4;border-radius:50%;background:radial-gradient(circle at 30% 20%,#fff9,#e3a9da 45%,#a35ba7);box-shadow:0 5px 10px #1c082477;animation:miniMix 1.7s ease-in-out infinite alternate;animation-delay:calc(var(--k)*-.24s)}.mini-capsule:after{content:'';position:absolute;top:48%;left:0;right:0;height:3px;background:#ffe4ec;transform:rotate(-10deg)}.motion-stage[data-phase=mix] .motion-capsules{display:block}.motion-stage[data-phase=mix] .motion-object{opacity:.35;transform:translate(-50%,-50%) scale(.7)}.motion-stage[data-phase=ssr]{background:radial-gradient(ellipse at center,#fff3bb88,#6e2856cf 55%,#1f0c39f5)!important}.motion-stage[data-phase=ssr] .motion-title{color:#fff1a3!important}
.cabinet:has(.motion-stage:not([data-phase=transparent])) .machine-caption{visibility:hidden}body[data-theme=photo] .real-rig{background:linear-gradient(120deg,var(--scene-accent),#452a4c 18%,#1b1229 75%,var(--scene-second));border-color:var(--scene-accent)}body[data-theme=cute] .real-rig .arcade-marquee{background:linear-gradient(130deg,#b77ea8,#63416d);border-color:#fbd4e7}body[data-theme=cute] .real-rig .arcade-display{border-color:#f3cce6;box-shadow:inset 0 0 20px #ecc3e833,0 0 15px #eda2dc55}body[data-theme=playful] .real-rig{background:repeating-linear-gradient(145deg,#7146a5 0 18px,#4d2e87 18px 36px);border-color:#ffe45a;box-shadow:4px 5px 0 #190c37}body[data-theme=playful] .real-rig:before{opacity:.25}
@keyframes miniMix{to{transform:translate(20%,-40%) rotate(45deg)}}
@media(prefers-reduced-motion:reduce){.motion-stage *,.motion-stage *:before,.motion-stage *:after{animation:none!important;transition:none!important}.motion-stage[data-phase=ssr] .motion-title{transform:none}.long-trace{animation:tracePath 6s linear forwards!important}}
