/* Fixed game surface; only explicit menu panes may scroll. */
#frame,#frame *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
#frame{overscroll-behavior:none;touch-action:pan-y}
#view,.controls,.utilities,.garage-confirm,.track-confirm{touch-action:none}
#frame button,#frame summary{touch-action:manipulation}
#frame select,#frame input{font-size:16px!important}
.garage-panel,.track-cards{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.driver-choices{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;margin:8px 0 14px}
.driver-choices button{min-height:40px;padding:7px;font-size:14px;border:1px solid #91bcc4;background:#244b5e;color:white;border-radius:10px}
.driver-choices button[aria-pressed=true]{background:#ffe099;color:#173647;border-color:#fff5d6;box-shadow:0 0 0 2px #ffe09944}
@media(pointer:coarse){html,body{position:fixed;inset:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;margin:0}body{padding:0!important}.masthead,body>footer{display:none!important}#frame,body.game-expanded #frame{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;margin:0!important;border:0!important;border-radius:0!important}.garage-stage .garage-panel{overflow-y:auto}.garage-panel select{font-size:16px!important}}
