/* V132 desktop UI: purely opt-in by fine pointer + desktop viewport. All default/mobile rules are unchanged. */
#desktopHelp{display:none}
html.desktop-input #hud #desktopHelp{display:flex;box-sizing:border-box;position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:22;align-items:center;flex-direction:column;gap:5px;max-width:min(820px,86vw);padding:8px 16px;border-radius:12px;border:1px solid rgba(213,172,107,.5);background:rgba(11,17,28,.82);box-shadow:0 8px 28px rgba(0,0,0,.35);color:#ead7b4;text-align:center;font:11px/1.4 system-ui,sans-serif;pointer-events:none;user-select:none}
html.desktop-input #desktopHelp b{letter-spacing:.16em;font-size:10px}
html.desktop-input #desktopHelp span{color:#e8eef2}
html.desktop-input #hud.driving #desktopHelp .desktopOnFoot{display:none}
html.desktop-input #hud:not(.driving) #desktopHelp .desktopDriving{display:none}
/* Never delete or disable gameplay buttons; hide only their desktop representation. */
html.desktop-input #hud #stickZone, html.desktop-input #hud #rightControls, html.desktop-input #hud #extraActionsToggle, html.desktop-input #hud #weapon, html.desktop-input #hud #run, html.desktop-input #hud #jump, html.desktop-input #hud #attack, html.desktop-input #hud #crouch, html.desktop-input #hud #aim{display:none!important}
/* Driving: retain dashboard, gear and health. Hide only virtual steering/gas and touch-only exit. */
html.desktop-input #vehicleHud #vehThrottle,html.desktop-input #vehicleHud #vehSteer,html.desktop-input #vehicleHud #vehExit{display:none!important}
html.desktop-input #vehicleHud #vehDashboard{left:50%!important;right:auto!important;bottom:79px!important;transform:translateX(-50%)!important;max-width:min(560px,64vw)}
/* Keep contextual actions usable with the mouse; they are NOT part of virtual joysticks. */
html.desktop-input #hud #controls{pointer-events:none!important}
html.desktop-input #hud #contextActions{pointer-events:auto!important;position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:92px!important;transform:translateX(-50%)!important}
html.desktop-input #hud #contextActions button:not([hidden]){pointer-events:auto!important}
html.desktop-input #gameCanvas{cursor:crosshair}
html.desktop-input #hud #map,html.desktop-input #hud .map{top:65px}
@media(max-width:950px){html.desktop-input #hud #desktopHelp{bottom:7px;font-size:10px;max-width:75vw;padding:5px 10px}html.desktop-input #vehicleHud #vehDashboard{bottom:59px!important}}
