/* Shared 184px tray keeps controls outside the actual rendered helm viewport. */
.hud.helmHud{--helm-tray:184px}.helmTray{position:absolute;bottom:0;left:0;right:0;height:184px;box-sizing:border-box;padding:8px;background:#102f33f5;border-top:1px solid #a5c4be;pointer-events:auto;color:#fff1ce;display:grid;grid-template-rows:48px 104px 16px;gap:0;font-size:11px}
.helmTop{display:grid;grid-template-columns:116px minmax(80px,1fr) 92px;gap:8px}.helmTop select{height:48px;min-width:0;font-size:16px;color:#fff1ce;background:#234a50;border:1px solid #a5c4be;border-radius:7px}.helmSpeed{position:relative;display:block;padding:0 4px;font-size:11px}.helmSpeed output{float:right}.helmSpeed input{position:absolute;inset:0;width:100%;height:48px;margin:0;padding-top:12px;box-sizing:border-box;accent-color:#ffc361;touch-action:none}
.helmBody{position:relative}.hud.helmHud .stick{width:104px;height:104px;left:8px;bottom:24px}.hud.helmHud .stickLabel{display:block;top:42px;font-size:11px;z-index:2}.hud.helmHud .knob{opacity:.65}.helmActions{position:absolute;left:120px;right:0;top:4px;display:grid;grid-template-columns:repeat(3,minmax(48px,1fr));gap:4px}.helmActions button,.helmTrimControls button{position:static!important;min-width:48px;min-height:48px;padding:3px;font-size:11px;background:#234a50;border:1px solid #a5c4be;border-radius:7px;color:#fff1ce;touch-action:none}.helmMove{display:none;position:absolute;left:0;bottom:0;width:104px;height:104px;border-radius:50%;border:2px solid #7fa49e;box-sizing:border-box;background:#28575a;touch-action:none}.helmMove .knob{position:absolute;left:calc(50% - 24px);top:calc(50% - 24px);width:48px;height:48px;border-radius:50%;background:#f3dca8}.helmMove span{position:absolute;top:44px;left:0;right:0;text-align:center;pointer-events:none}
.hud.helmDual .stick{left:auto;right:8px}.helmDual .helmMove{display:block}.helmDual .helmActions{left:112px;right:112px;grid-template-columns:repeat(2,minmax(48px,1fr))}.helmDual .helmActions [data-helm="altDown"],.helmDual .helmActions [data-helm="altUp"]{display:none}.helmStatus{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.helmTrimControls,.helmPhysicsRead{display:none}.helmTrim .helmTrimControls{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding-top:4px}.helmPhysics .helmPhysicsRead{display:block;font-size:13px;line-height:1.5;padding:8px}.helmTrim .helmMove,.helmTrim .helmActions,.helmPhysics .helmMove,.helmPhysics .helmActions,.hud.helmTrim .stick,.hud.helmPhysics .stick{display:none}
.hud.helmHud .throttle,.hud.helmHud .flightMode,.hud.helmHud .flightMinus,.hud.helmHud .flightPlus,.hud.helmHud .flightPhysics,.hud.helmHud .physicsbtn,.hud.helmHud .hint,.hud.helmHud .gun,.hud.helmHud .pips,.hud.helmHud .banner{display:none!important}.hud.helmHud .fire{right:8px;bottom:192px;width:64px;height:64px}.hud.helmHud .clusterPlanned{left:8px;bottom:192px;min-width:80px;width:80px;min-height:48px}.hud.helmHud .targetCycle{bottom:264px;right:8px;left:auto;top:auto;min-height:48px;min-width:80px}.hud.helmHud .read{top:82px;left:8px;max-width:calc(100% - 180px)}.hud.helmHud .viewbtn,.hud.helmHud .mapbtn,.hud.helmHud .nextbtn{top:82px;min-width:52px;width:52px;height:48px;min-height:48px;font-size:10px}.hud.helmHud .viewbtn{right:120px}.hud.helmHud .mapbtn{right:64px}.hud.helmHud .nextbtn{right:8px}.hud.helmHud .flagshipStationPicker{top:18px;left:8px;right:8px;max-width:none}.hud.helmHud .flagshipStationPicker select{height:48px}.hud.helmHud .flagshipStationPicker span{display:none}.hud.helmHud .cross{top:calc((100% - 184px)/2)}
@media(max-width:420px){.helmTop{grid-template-columns:104px minmax(70px,1fr) 82px;gap:4px}.helmTop select{font-size:16px}}
.helmTray{z-index:5}.hud.helmHud>.stick{z-index:6}.hud.helmHud .viewbtn,.hud.helmHud .mapbtn,.hud.helmHud .nextbtn{display:none}
.hud.helmHud .flagshipStationPicker{top:8px}.hud.helmHud .pilotTag,.hud.helmHud .score{display:none}.hud.helmHud .read{top:64px;max-width:calc(100% - 16px)}
.hud.helmHud .targetCycle{bottom:192px;right:80px}
.hud.flagshipHud.helmHud .targetCycle{top:auto;bottom:192px;right:80px}.helmHud .aaCrewStatus,.helmHud .calibrationStatus{display:none}
