#mobile-controls{position:absolute;inset:0;pointer-events:none}#joystick-zone{position:absolute;left:22px;bottom:20px;width:164px;height:164px;pointer-events:auto;touch-action:none;display:grid;place-items:center}#joystick-base{width:132px;height:132px;border-radius:50%;border:2px solid #b9cbb077;background:#172419a8;position:relative}#joystick-knob{position:absolute;left:50%;top:50%;width:58px;height:58px;margin:-29px;border-radius:50%;background:#7e9d72c9;border:2px solid #d9ecd0;box-shadow:0 2px 9px #0008;will-change:transform}.touch-action,.touch-small{pointer-events:auto;touch-action:manipulation;user-select:none;-webkit-user-select:none;border:2px solid #c5d7bb;border-radius:50%;background:#294b2bd9;color:#fff;font:700 15px system-ui,"Microsoft YaHei",sans-serif;box-shadow:0 3px 10px #0008}.touch-action:active,.touch-small:active{background:#5d8955;transform:scale(.95)}#action-buttons{position:absolute;right:22px;bottom:24px;display:flex;align-items:end;gap:18px;pointer-events:auto}.touch-action{width:80px;height:80px}.touch-action:nth-child(1){margin-bottom:48px}.touch-action:nth-child(3){width:64px;height:64px;margin-bottom:6px;font-size:13px}.touch-small{position:absolute;right:16px;top:84px;width:42px;height:42px;font-size:18px}@media(max-width:760px){#stats{left:8px;top:8px;min-width:175px}.stat{grid-template-columns:42px 1fr 28px}.stat:nth-child(5){display:none}#day-info{right:8px;top:8px;font-size:11px}#hotbar{bottom:4px}.slot{width:48px;height:44px}.slot b{font-size:10px}#prompt{bottom:108px;font-size:14px}#action-progress{bottom:137px;width:180px}.touch-action{width:68px;height:68px}.touch-action:nth-child(3){width:56px;height:56px}#joystick-zone{left:7px;bottom:7px;transform:scale(.84);transform-origin:bottom left}}
#joystick-zone{left:max(22px,env(safe-area-inset-left));bottom:max(20px,env(safe-area-inset-bottom))}#action-buttons{right:max(22px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom))}@media(max-width:760px){#joystick-zone{left:max(7px,env(safe-area-inset-left));bottom:max(7px,env(safe-area-inset-bottom))}}
