/* Approved royal whale machine art with real server results and existing draw gates. */
.gacha-page .royal-gacha-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px auto 6px;max-width:560px}
.royal-gacha-controls .button{margin:0;min-width:0;padding:13px 6px;font-size:clamp(12px,3.25vw,16px);line-height:1.25;touch-action:manipulation}
.royal-gacha-controls .fest-button{background:linear-gradient(135deg,#fff1af,#d99a24);color:#33220a}
.royal-skip{display:block;margin:4px auto 10px;min-height:40px;padding:9px 18px}
.gacha-stage{aspect-ratio:1/1;min-height:0!important;padding:10px!important;border:2px solid #f0d488!important;background-image:url('/assets/mio-royal-whale-machine.jpg')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important;box-shadow:inset 0 0 35px #5d95ff70,0 0 24px #a9c8ff55!important}
.gacha-stage.is-fest{background-image:linear-gradient(#f7c94b2b,#f7c94b2b),url('/assets/mio-royal-whale-machine.jpg')!important;border-color:#ffe6a1!important;box-shadow:inset 0 0 45px #ffcf4c65,0 0 28px #ffcf4c55!important}
.gacha-stage .stage-lights{z-index:1;opacity:.4}
.gacha-stage #crystal,.gacha-stage .v19-machine-img,.gacha-stage .v191-ball-chamber,.gacha-stage .v191-handle,.gacha-stage .v20-whale-outlet,.gacha-stage .v191-winning-gem,.gacha-stage .v191-spout,.gacha-stage .v19-reveal,.gacha-stage .v191-ur-premonition{display:none!important}
.gacha-stage .v19-fx-root{z-index:4}
.gacha-stage .draw-result-card{z-index:12;width:min(92%,360px);background:linear-gradient(160deg,#071b3ded,#08122eef);border:1px solid #ffe8a9;box-shadow:0 0 34px #5f9effaa,0 12px 38px #000b}
.gacha-stage.is-fest .draw-result-card{border-color:#ffe584;box-shadow:0 0 38px #ffd45aaa,0 12px 38px #000b}
.gacha-stage.royal-charge .stage-lights{opacity:1;animation:royal-charge-pulse .65s ease-in-out infinite alternate}
.gacha-stage.royal-release{animation:royal-release-flash .7s ease-out}
.gacha-stage.royal-climax:before{content:"";position:absolute;inset:0;z-index:8;pointer-events:none;background:radial-gradient(circle at 50% 54%,#fff9d7c9 0,transparent 68%);animation:royal-climax-burst .8s ease-out both}
.gacha-stage.royal-sequence-complete{box-shadow:inset 0 0 34px #d8f5ff55,0 0 24px #a9c8ff70!important}
@keyframes royal-charge-pulse{to{filter:brightness(1.8);transform:scale(1.04)}}
@keyframes royal-release-flash{35%{filter:brightness(1.55) saturate(1.3)}}
@keyframes royal-climax-burst{0%{opacity:0;transform:scale(.45)}42%{opacity:1}100%{opacity:0;transform:scale(1.25)}}
@media(max-width:390px){.gacha-stage{width:100%;margin:10px auto 12px}.royal-gacha-controls{gap:6px}.royal-gacha-controls .button{padding:12px 4px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.gacha-stage.royal-charge .stage-lights,.gacha-stage.royal-release,.gacha-stage.royal-climax:before{animation:none!important}}

