.mobile-joystick{display:none;position:absolute;left:max(12px,env(safe-area-inset-left));bottom:calc(var(--hud-dock-height,150px) + 76px);z-index:3;align-items:center;gap:5px;flex-direction:column}
.mobile-joystick[hidden]{display:none!important}
.mobile-joystick-toggle{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:9px;background:#fff9e9;border:1px solid #536c5a;border-radius:8px;box-shadow:0 2px 7px #172d2726;color:#294b40}
.mobile-joystick-toggle svg{width:23px;height:23px;stroke-width:1.6}
.mobile-joystick-toggle[aria-pressed=true]{background:#294b40;color:#fff9e9}
.mobile-joystick-pad{width:96px;height:96px;touch-action:none;user-select:none;-webkit-user-select:none}
.mobile-joystick-pad[hidden]{display:none}
.mobile-joystick-pad svg{display:block;width:100%;height:100%;overflow:visible}
.mobile-joystick-ring{fill:#fff9e9e8;stroke:#536c5a;stroke-width:1}
.mobile-joystick-guides{fill:none;stroke:#536c5a;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.mobile-joystick-thumb{fill:#294b40;stroke:#fff9e9;stroke-width:2}
@media(pointer:coarse),(max-width:600px){.mobile-joystick{display:flex}}
@media(max-height:480px) and (min-width:601px){.mobile-joystick{bottom:max(12px,env(safe-area-inset-bottom))}}
