/* Shared BMW and J&E minimal cockpit. Existing pointer owners remain unchanged; CSS swaps sides. */
.hud.bmw-minimal:not(.bmw-tools-open)>.hud-score,.hud.bmw-minimal:not(.bmw-tools-open)>.street-sign,.hud.bmw-minimal:not(.bmw-tools-open)>.hud-tools,.hud.bmw-minimal:not(.bmw-tools-open)>.minimap,.hud.bmw-minimal:not(.bmw-tools-open)>.next-direction,.hud.bmw-minimal:not(.bmw-tools-open)>.thumb-right,.hud.bmw-minimal:not(.bmw-tools-open)>.reset-btn,.hud.bmw-minimal:not(.bmw-tools-open)>.ufo-weapons{display:none!important}
.hud.bmw-minimal>.speed,.hud.bmw-minimal>.speed-lines{display:none!important}
.hud.bmw-minimal .dashboard38{height:95px;bottom:-44px;width:100%;border:0;border-top:2px solid #4e5359;border-radius:28% 28% 0 0;background:linear-gradient(#292d32,#0c1015 65%);box-shadow:0 -8px 24px #0006}
.hud.bmw-minimal .instrument38,.hud.bmw-minimal .cockpit-wheel38{display:none}
.hud.bmw-minimal .windscreen38{box-shadow:inset 0 -40px 35px #0d111866}
.hud.bmw-minimal.split-controls38 .steer-panel38{left:max(12px,env(safe-area-inset-left));right:auto;bottom:max(19px,env(safe-area-inset-bottom));width:130px;height:130px}
.hud.bmw-minimal .steering-wheel38{height:130px;background:none}
.hud.bmw-minimal .steer-panel38>small{display:none}
.hud.bmw-minimal .steering-wheel38 button{top:43px;width:38px;height:44px;font-size:25px;color:#c6ccd3}
.hud.bmw-minimal .steering-wheel38 button:first-child{left:-6px}.hud.bmw-minimal .steering-wheel38 button:last-child{right:-6px}
.hud.bmw-minimal .wheel-art38{inset:0}.hud.bmw-minimal .wheel-art38 svg{fill:none;stroke:none;filter:drop-shadow(0 3px 5px #0009)}
.hud.bmw-minimal.split-controls38 .thumb-left{left:auto;right:max(14px,env(safe-area-inset-right));bottom:max(19px,env(safe-area-inset-bottom));width:70px;height:148px}
.hud.bmw-minimal .drive-lever38{border:1px solid #9ca4ad55;border-radius:23px;background:linear-gradient(100deg,#292d34df,#10151bea);box-shadow:0 4px 12px #0005}
.hud.bmw-minimal .drive-lever38>button{min-height:46px;font-size:18px;padding:6px;color:#e0e5ec}
.hud.bmw-minimal .drive-lever38 small{font-size:7px;letter-spacing:.5px}
.hud.bmw-minimal .lever-slot38{width:5px;left:calc(50% - 2.5px);top:29px;bottom:29px;background:#000}
.hud.bmw-minimal .lever-slot38 i{left:-17px;width:38px;height:24px;top:calc(50% - 12px);border-radius:8px;border:1px solid #adb5bf;background:linear-gradient(#777f89,#272d36);transform:translateY(calc(var(--lever,0)*-39px))}
.bmw-instruments55,.bmw-menu55{display:none}
.hud.bmw-minimal .bmw-menu55{display:block;position:absolute;right:max(14px,env(safe-area-inset-right));top:max(14px,env(safe-area-inset-top));width:44px;height:44px;padding:0;border:1px solid #bec8d32b;border-radius:50%;background:#111923b8;color:#e6edf5;font-size:19px;letter-spacing:1px;pointer-events:auto;z-index:10}
.hud.bmw-minimal .bmw-instruments55{display:block;position:absolute;left:calc(50% + 15px);bottom:max(28px,calc(env(safe-area-inset-bottom) + 9px));transform:translateX(-50%);width:130px;pointer-events:none;color:#f3f4f6;font-family:system-ui;text-shadow:0 1px 5px #000;background:linear-gradient(transparent,#10141bc9);border-radius:9px;padding:7px 9px;box-sizing:border-box}
.bmw-speed55{display:flex;align-items:baseline;justify-content:center;gap:6px;font-variant-numeric:tabular-nums}.bmw-speed55 b{font-size:39px;font-weight:400;letter-spacing:-2px;line-height:1.15}.bmw-speed55>span{font-size:13px;color:#f7ae76}.bmw-speed55 small{font-size:8px;color:#bdc6d0}
.bmw-rpm55{height:3px;background:#bbc6d92b;margin:5px 0 7px;border-radius:2px;overflow:hidden}.bmw-rpm55 i{display:block;height:100%;background:linear-gradient(90deg,#a9ddff 0%,#4d9df1 65%,#fb6973);transform-origin:left;transform:scaleX(var(--rpm,.12))}
.bmw-limit55{display:flex;align-items:center;gap:6px;font-size:10px;color:#aeb8c5;font-variant-numeric:tabular-nums}.bmw-charge55{height:2px;flex:1;background:#6874875c}.bmw-charge55 i{display:block;height:100%;background:#76c8f1;transform-origin:left;transform:scaleX(var(--charge,0))}.bmw-limit55 small{font-size:8px}
.hud.bmw-minimal.bmw-tools-open .hud-tools{top:max(65px,calc(env(safe-area-inset-top) + 51px));right:14px;gap:6px}.hud.bmw-minimal.bmw-tools-open .hud-tools .icon-btn{width:44px;height:44px}
.hud.bmw-minimal.bmw-tools-open .minimap{top:122px;right:14px;width:145px;height:145px}.hud.bmw-minimal.bmw-tools-open .street-sign{font-size:13px;top:15px;padding:7px 11px}.hud.bmw-minimal.bmw-tools-open .hud-score{max-width:180px;transform:scale(.8);transform-origin:top left}
@media(max-width:360px){.hud.bmw-minimal.split-controls38 .steer-panel38{width:112px;height:112px;left:8px}.hud.bmw-minimal .steering-wheel38{height:112px}.hud.bmw-minimal .steering-wheel38 button{top:34px}.hud.bmw-minimal .bmw-instruments55{width:114px;left:calc(50% + 13px)}.bmw-speed55 b{font-size:32px}.hud.bmw-minimal.split-controls38 .thumb-left{right:9px;width:60px}}
@media(orientation:landscape) and (max-height:560px){.hud.bmw-minimal.split-controls38 .steer-panel38{width:120px;height:120px;bottom:12px}.hud.bmw-minimal .steering-wheel38{height:120px}.hud.bmw-minimal .steering-wheel38 button{top:38px}.hud.bmw-minimal.split-controls38 .thumb-left{height:132px;bottom:12px}.hud.bmw-minimal .drive-lever38>button{min-height:42px}.hud.bmw-minimal .lever-slot38 i{transform:translateY(calc(var(--lever,0)*-33px))}.hud.bmw-minimal .bmw-instruments55{left:50%;bottom:17px}.hud.bmw-minimal .dashboard38{height:80px}.hud.bmw-minimal.bmw-tools-open .thumb-right{bottom:112px;left:145px;right:102px}.hud.bmw-minimal.bmw-tools-open .reset-btn{bottom:168px}}

.hud.bmw-minimal:not(.bmw-tools-open)>.active-effect,.hud.bmw-minimal:not(.bmw-tools-open)>.sound-retry,.hud.bmw-minimal:not(.bmw-tools-open)>.balloon-score{display:none!important}

/* Boarding and shore-return are contextual actions, visible in compact mode too. */

/* Kart branding stays independent of the BMW wheel and blue/red instruments. */
.bmw-instruments55:not(.super-drive56) .bmw-limit55{display:none}
.hud.je-kart56 .dashboard38{height:64px;bottom:-38px;width:72%;left:14%;border-radius:40% 40% 0 0;background:linear-gradient(#223936,#091816);border-top-color:#526f68}
.hud.je-kart56 .windscreen38{box-shadow:inset 0 -24px 28px #081c1744}
.hud.je-kart56 .bmw-rpm55 i{background:linear-gradient(90deg,#9bf3d2,#42c6a6 70%,#f8d47b)}
.hud.je-kart56 .bmw-charge55 i{background:#70dec1}
.hud.je-kart56 .bmw-speed55>span{color:#9bf3d2}
.hud.je-kart56 .drive-lever38{border-color:#a1c6b755;background:linear-gradient(100deg,#213c35df,#0b201aea)}
