.rose-rain{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:5}.falling-rose{position:absolute;top:-12%;left:var(--rx);width:clamp(12px,var(--rs),38px);filter:drop-shadow(0 3px 3px #240c2340);opacity:0;animation:rose-fall var(--rd) var(--rdelay) linear infinite}.falling-rose svg{width:100%;display:block;animation:rose-sway 3.4s ease-in-out infinite alternate;transform-origin:50% 40%}@keyframes rose-fall{0%{top:-12%;opacity:0;translate:0 0}8%,88%{opacity:.85}100%{top:108%;opacity:0;translate:var(--drift) 0}}@keyframes rose-sway{from{transform:rotate(-30deg) rotateY(-20deg)}to{transform:rotate(50deg) rotateY(45deg)}}
.scene.depth-stage .guards,.scene.depth-stage .guards:has(.guard:nth-child(7)){display:block!important;position:absolute;inset:0!important;gap:0;pointer-events:none;z-index:4}.scene.depth-stage .guards .guard,.scene.depth-stage .guards:has(.guard:nth-child(7)) .guard{position:absolute;width:12%!important;height:auto!important;max-width:none!important;aspect-ratio:3/4;transform:translate(-50%,-100%) scale(var(--depth,1))!important;transform-origin:50% 100%;animation:none!important;rotate:none!important;translate:none!important;transition:filter .2s}.scene.depth-stage .guard:before,.scene.depth-stage .guard:after{animation:none!important}.scene.depth-stage .guard.walking:before{animation:step-left .38s ease-in-out infinite alternate!important}.scene.depth-stage .guard.walking:after{animation:step-left .38s -.38s ease-in-out infinite alternate!important}.scene.depth-stage .guard.walking img{animation:body-step .38s ease-in-out infinite alternate}.scene.depth-stage .guard.controlled img{box-shadow:0 0 0 2px #ffe6a4,0 0 18px #ffdc8f80}.scene.depth-stage .guard span{font-size:clamp(10px,1.25cqw,18px)!important}.scene.depth-stage .guard.new-guard img{animation:arrival-card 1.2s ease-out,body-step .38s 1.2s ease-in-out infinite alternate}@keyframes body-step{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-3px) rotate(2deg)}}@keyframes arrival-card{from{opacity:0;transform:translateY(-50px) scale(.3);filter:brightness(3)}to{opacity:1;transform:none;filter:brightness(1)}}
.collision-hearts{position:absolute;z-index:8;width:1px;height:1px;pointer-events:none}.collision-hearts i{position:absolute;color:#ff6f9e;font-size:clamp(18px,3cqw,45px);font-style:normal;text-shadow:0 0 3px #fff2cf,0 0 18px #f1689c;animation:heart-rise 1.5s ease-out both;--hx:-30px;--hy:-80px}.collision-hearts i:nth-child(2){--hx:30px;--hy:-110px;animation-delay:.1s;color:#fff0da}.collision-hearts i:nth-child(3){--hx:-65px;--hy:-55px;animation-delay:.2s}.collision-hearts i:nth-child(4){--hx:65px;--hy:-70px;animation-delay:.15s;color:#ffe0aa}.collision-hearts i:nth-child(5){--hx:0px;--hy:-140px;animation-delay:.05s}@keyframes heart-rise{0%{opacity:0;transform:translate(-50%,0) scale(.2)}20%{opacity:1}100%{opacity:0;transform:translate(var(--hx),var(--hy)) scale(1.2)}}
.phone-controller{max-width:460px;margin:0 auto 28px!important;text-align:center;scroll-margin-top:20px}.phone-controller[hidden]{display:none}.phone-controller h2{display:block;margin-bottom:8px}.phone-controller #controlName{margin:0;color:#f4d292}.phone-controller #controlStatus{font-size:14px;min-height:44px;color:#f4dfb1;line-height:1.6}.depth-map{height:140px;max-width:260px;position:relative;margin:15px auto;border:1px solid #c3a067;border-radius:8px;overflow:hidden;background:linear-gradient(#25122533,#25122566),url('queen-garden-v3.webp') center/cover}.depth-map span,.depth-map b{position:absolute;left:0;width:100%;font-size:11px;color:#fff7da;text-shadow:0 1px 4px #000}.depth-map span{top:6px}.depth-map b{bottom:5px;font-weight:400}.depth-map i{position:absolute;width:14px;height:14px;background:#ffe9ae;border:2px solid white;border-radius:50%;box-shadow:0 0 12px #ffe7b1;left:50%;top:60%;translate:-50% -50%;transition:left .15s linear,top .15s linear}.direction-pad{display:grid;grid-template-columns:repeat(3,72px);grid-template-rows:repeat(3,66px);gap:8px;justify-content:center;margin:18px auto;touch-action:none;user-select:none;-webkit-user-select:none}.direction-pad button{touch-action:none;-webkit-touch-callout:none;user-select:none;font-size:25px;padding:4px;display:flex;flex-direction:column;border-radius:14px;background:linear-gradient(#633046,#361622);box-shadow:0 4px 0 #150a11;border:1px solid #d9b36f;color:#ffedc6}.direction-pad button small{font-size:10px}.direction-pad button.held{background:#d6ab61;color:#27111d;transform:translateY(3px);box-shadow:0 1px 0 #150a11}.direction-pad button:disabled{opacity:.4}.direction-pad .up{grid-area:1/2}.direction-pad .left{grid-area:2/1}.direction-pad .stop{grid-area:2/2;font-size:18px}.direction-pad .right{grid-area:2/3}.direction-pad .down{grid-area:3/2}#motionHostStatus{font-size:11px;margin:4px 0 10px;color:#f1d49d}
@media(prefers-reduced-motion:reduce){.falling-rose,.falling-rose svg,.scene.depth-stage .guard.walking img,.scene.depth-stage .guard.new-guard img,.scene.depth-stage .guard.walking:before,.scene.depth-stage .guard.walking:after{animation:none!important}.collision-hearts i{animation:none;opacity:1}.collision-hearts i:not(:first-child){display:none}}

.direction-pad button.right{display:flex!important}
