html[data-mall-input=desktop] :is(.stick261,.joystick253,.course-stick281,.kart181-steer .mall-move-pad){visibility:hidden!important;pointer-events:none!important} html[data-mall-input=desktop] .controls261:before{content:'WASD / arrows · Space jumps';font:12px system-ui;color:#fff0cf;max-width:155px;text-align:center} html[data-mall-input=desktop] .classics261[data-kind=fight] .controls261:before{content:'WASD moves · Space jumps · J punch · L kick · K block'} :is(.arcade253,.classics261,#course-controls281,.kart-race283) button:focus-visible{outline:3px solid #ffe3a0;outline-offset:3px} .actions261{flex-wrap:wrap;max-width:260px;justify-content:flex-end}.actions261 button{min-height:44px}
html[data-mall-input=desktop] .arcade253 .pad253{min-height:80px!important;height:80px!important}html[data-mall-input=desktop] .race-pause283{visibility:visible!important;pointer-events:auto!important}

html[data-mall-input=desktop] .classics261 .stick261{display:none!important}html[data-mall-input=desktop] body.arcade-full #play-panel #category-game .arcade253:has(.joystick253){grid-template-rows:auto minmax(0,1fr) 80px!important}html[data-mall-input=desktop] .controls261:before{flex:1;min-width:70px;max-width:130px}html[data-mall-input=desktop] .classics261 .actions261{flex:1.7}html[data-mall-input=touch] :is(.stick261,.joystick253,.course-stick281,.kart181-steer .mall-move-pad){visibility:visible!important;pointer-events:auto!important} @media(max-width:460px){.classics261[data-kind=fight] .controls261{height:145px}.classics261[data-kind=fight] .actions261{max-width:230px;gap:7px}.classics261[data-kind=fight] .actions261 button{width:55px!important;height:55px!important}}

body.course-playing281 #simple-move-help{display:none!important}

/* Three-button fighting layout: a mouse can operate the joystick too. */
html[data-mall-input=desktop] .classics261[data-kind=fight] .stick261{display:grid!important;visibility:visible!important;pointer-events:auto!important}
.classics261[data-kind=fight] .controls261:before{display:none!important}.classics261[data-kind=fight] .actions261{flex:none;display:flex;gap:8px;flex-wrap:nowrap;max-width:none}
@media(max-width:460px){.classics261[data-kind=fight] .controls261{height:112px}.classics261[data-kind=fight] .actions261 button{width:58px!important;height:58px!important}.classics261[data-kind=fight] .stick261{width:90px;height:90px}}
