/* 锁定全屏 App：禁止页面滚动/回弹/下拉刷新/缩放；面板自身 overflow 仍可滚动 */
:root{--vh:1vh;--app-h:100vh}
@supports(height:100dvh){:root{--app-h:100dvh}}
html,body{position:fixed;inset:0;width:100%;height:var(--app-h);height:calc(var(--vh)*100);overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
@supports(height:100dvh){html,body{height:100dvh}}
#game{touch-action:none;height:100%!important}
body,canvas,button{touch-action:manipulation}
#game,#vfxLayer,#blView,#joystick,.ar-joy{touch-action:none}
#modal .mbox,.mbox,[class*="panel"],[class*="Panel"],[class*="list"],.sbz-grid,#rbChat{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}
input,textarea,select{font-size:16px}  /* 防 iOS 聚焦自动放大 */
/* 竞技场摇杆缩小，避免挡住角色 */
.ar-joy{width:100px!important;height:100px!important;left:calc(12px + env(safe-area-inset-left))!important;bottom:calc(env(safe-area-inset-bottom,0px) + 18px)!important;opacity:.85}
.ar-knob{width:44px!important;height:44px!important;margin:-22px!important}
#a2hs{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(12px + env(safe-area-inset-bottom));z-index:10050;max-width:340px;width:calc(100% - 24px);background:rgba(10,16,30,.94);color:#fff;border:1px solid rgba(255,215,94,.5);border-radius:14px;padding:10px 36px 10px 12px;font-size:13px;line-height:1.45;box-shadow:0 6px 24px rgba(0,0,0,.5)}
#a2hs b{color:#ffd75e}#a2hs button{position:absolute;top:6px;right:6px;width:26px;height:26px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff}
