#hudToggle { display:none; }
@media (pointer:coarse) {
 #hudToggle { display:inline-block; }
 body:is([data-race-state="racing"],[data-race-state="countdown"],[data-race-state="cooldown"]) header .brand,
 body:is([data-race-state="racing"],[data-race-state="countdown"],[data-race-state="cooldown"]) header .classic { display:none; }
 body:is([data-race-state="racing"],[data-race-state="countdown"],[data-race-state="cooldown"]) header { justify-content:flex-end; }
}
/* Clean race HUD: Place, Item and Will. Inputs and game effects remain usable. */
.clean-hud #hud > :not(.stats):not(.item):not(.speed):not(#bigText):not(#mocchiVisit),
.clean-hud .stats > :not(:first-child),
.clean-hud .speed > :not(#fuelPanel),
.clean-hud #fuelState { display:none !important; }
.clean-hud:not([data-race-state="countdown"]) #bigText { display:none !important; }
.clean-hud header { visibility:hidden; }
.clean-hud .stats { top:24px;left:24px;gap:0;padding:9px 16px;background:#101e2ddd;border:1px solid #ffffff30;border-radius:12px; }
.clean-hud .stats b { font-size:46px;line-height:1; }
.clean-hud .stats small { font-size:16px;margin-left:5px; }
.clean-hud .item { top:24px;right:24px;width:112px;padding:10px;border-width:1px;border-radius:12px;background:#101e2ddd; }
.clean-hud .item label { font-size:10px;margin-bottom:6px; }
.clean-hud .item strong { font-size:32px; }
.clean-hud .item small { font-size:11px; }
.clean-hud #itemArt { width:54px;height:54px; }
.clean-hud .speed { right:24px;bottom:24px;width:180px; }
.clean-hud #fuelPanel { margin:0;padding:11px 12px;background:#101e2ddd;border-radius:12px; }
.clean-hud #fuelGauge { height:8px;margin:7px 0 0; }
@media (pointer:coarse) {
 .clean-hud header { justify-content:flex-end; }
 .clean-hud header .brand,.clean-hud header .classic,.clean-hud header #sound { display:none; }
 .clean-hud header #pause,.clean-hud header #hudToggle { visibility:visible; }
 .clean-hud #touch .auto-engine-control { left:4px;transform:none; }
 .clean-hud .stats { top:16px;left:16px;padding:8px 12px; }
 .clean-hud .item { top:70px;right:16px;width:98px;padding:8px; }
 .clean-hud .speed { right:16px;bottom:100px;width:150px; }
 .clean-hud #itemArt { width:44px;height:44px; }
}
@media (pointer:coarse) and (orientation:landscape) {
 .clean-hud .item { top:64px;right:16px; }
 .clean-hud .speed { bottom:82px; }
 .clean-hud .stats b { font-size:38px; }
}
