/* 2026-10-23（使用者：浮動方向鍵設定、單純放大平板方向鍵）：手機固定尺寸不變；浮動時只在按住地面時顯示。 */
body.desktop-client.touch-client #touch-joystick[data-floating="true"]:not(.active){visibility:hidden!important;pointer-events:none!important}
body.desktop-client.touch-client #touch-joystick[data-floating="true"].active{visibility:visible!important;pointer-events:none!important;z-index:32!important}
/* 以觸控且可用畫面短邊至少600px辨識平板版面，手機及桌機不套用。 */
@media(any-pointer:coarse) and (min-width:600px) and (min-height:600px){
 body.desktop-client.touch-client #touch-joystick{transform:none!important;width:clamp(190px,24vmin,230px)!important;height:clamp(190px,24vmin,230px)!important;left:calc(36px + env(safe-area-inset-left,0px))!important;bottom:calc(36px + env(safe-area-inset-bottom,0px))!important}
 body.desktop-client.touch-client #touch-joystick .joystick-stick{width:34%!important;height:34%!important}
 body.desktop-client.touch-client #touch-joystick .joystick-arrows::before{width:34%!important;height:34%!important}
 body.desktop-client.touch-client #touch-joystick small{font-size:15px!important;bottom:13px!important}
}


/* 浮動外圈只顯示，不攔截第二指；第一指由Pointer Capture持續控制。 */

