/* Direct playfield gestures are the default touch layout. */
.gesture-help,.gesture-bar{display:none}
.gesture-ui .gesture-help{display:block}
.gesture-ui .button-help,.app.gesture-ui .touch-controls{display:none!important}
.app.gesture-ui.playing{grid-template-rows:68px minmax(0,1fr);padding-bottom:max(8px,env(safe-area-inset-bottom))}
.gesture-ui #game{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none}
.gesture-ui .boss-hud{pointer-events:none}
.gesture-ui.playing .gesture-bar{display:block;position:absolute;bottom:12px;left:50%;transform:translateX(-50%);width:max-content;max-width:95%;padding:8px 12px;border:1px solid #e8dda12e;border-radius:22px;background:#102d25a6;color:#f1e9bf;font:700 9px var(--body);letter-spacing:.5px;pointer-events:none}
.gesture-bar span{padding:0 6px;color:#b1c793}
.gesture-feedback{position:absolute;z-index:3;transform:translate(-50%,-50%);width:62px;height:62px;border:2px solid #f8e5a38a;border-radius:50%;background:#f8e5a30c;pointer-events:none;font:700 8px var(--body);text-align:center;line-height:1.3;white-space:nowrap;color:#fff1c3;text-shadow:0 1px 4px #072216;box-sizing:border-box}
.gesture-feedback::after{content:attr(data-label);position:absolute;top:66px;left:50%;transform:translateX(-50%)}
.gesture-feedback[data-mode=shield]{border-color:#c6ffa4;background:#b3ef9e20}
.gesture-feedback[data-mode=ring]{border-color:#ffbbdd;background:#f1adc91c}
.gesture-copy{font-size:12px!important;line-height:1.7!important}.gesture-ui .home-panel .gesture-help{max-width:350px}
.gesture-ui .instructions p{gap:16px}.gesture-ui .instructions p span{text-align:right}
@media(max-width:760px){.gesture-ui.playing .gesture-bar{font-size:8px;bottom:10px;padding:8px}.gesture-bar span{padding:0 3px}.gesture-ui .abilities{max-width:220px}.gesture-ui .grip-hint{font-size:7px}}
@media(max-height:540px) and (orientation:landscape){.app.gesture-ui.playing{grid-template-rows:48px minmax(0,1fr)}.gesture-ui.playing .gesture-bar{bottom:8px;font-size:8px}.gesture-ui .home-panel .gesture-help{display:none}}
