#im-controls-toggle{position:fixed;z-index:2147483401;box-sizing:border-box;min-width:76px;padding:0 10px;border:1px solid #4bcbea;border-radius:999px;background:#fff!important;color:#123b3b!important;font:700 13px/1 system-ui,sans-serif;cursor:pointer;touch-action:manipulation}
#im-controls-toggle[aria-pressed=true]{background:#06375b!important;color:#fff!important;border-color:#4bcbea!important}
#im-controls-toggle[hidden],html:not([data-controls-enabled=true]) #web-touch,html:not([data-controls-enabled=true]) #web-touch-controls,html:not([data-controls-enabled=true]) #web-bowling-controls,html:not([data-controls-enabled=true]) #web-market-panels{display:none!important}
html[data-controls-enabled=true]{--control:48px}
#web-touch-controls{position:fixed;z-index:60;inset:auto max(10px,env(safe-area-inset-right)) calc(58px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));display:flex;justify-content:space-between;align-items:end;pointer-events:none;direction:ltr}
#web-touch-controls[hidden],#web-bowling-controls[hidden],#web-market-panels[hidden]{display:none!important}
.web-steering,.web-pedals,.web-actions{display:flex;gap:6px}.web-pedals{flex-direction:column}.web-actions{position:absolute;left:50%;transform:translateX(-50%)}
#web-touch-controls button,#web-bowling-controls button,#web-market-panels button{pointer-events:auto;touch-action:none;user-select:none;-webkit-user-select:none;width:48px;height:48px;min-height:44px;padding:0;border:1px solid #fff9;border-radius:12px;background:#123d43ed;color:white;font-size:22px}
#web-touch-controls .pressed{background:#087b91}#web-touch-controls .web-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;font:700 9px/1 Arial,sans-serif}#web-touch-controls .web-actions img{width:29px;height:29px}
#web-bowling-controls{position:fixed;z-index:60;bottom:max(12px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:8px}
#web-market-panels{position:fixed;z-index:60;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px}

html[data-controls-game=supermarket] #im-controls-toggle{background:#06375b!important;color:#fff!important}
html[data-controls-game=supermarket] #im-controls-toggle[aria-pressed=true]{background:#fff!important;color:#123b3b!important}
.web-panel-close{display:none!important}
html[data-controls-enabled=true] body.web-market-list .list-card .web-panel-close,html[data-controls-enabled=true] body.web-market-checkout .checkout-side .web-panel-close{display:block!important}
