/* Passive instrument panel, isolated from touch targets and modal overlays. */
.aw-cockpit{display:none;pointer-events:none;position:absolute;inset:0;overflow:hidden}
.cockpit .aw-cockpit{display:block}
.aw-cockpit .aw-panel{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,930px);height:clamp(112px,23vmin,220px);border:0;display:block}
.aw-cockpit .aw-lower{position:absolute;inset:auto 0 0;height:12%;background:linear-gradient(0deg,#071016,#14232a 50%,#29363a 78%,transparent);clip-path:polygon(0 34%,20% 0,80% 0,100% 34%,100% 100%,0 100%)}
.aw-cockpit .aw-windshield{position:absolute;inset:0;pointer-events:none;width:100%;height:100%}
.aw-cockpit .aw-windshield .face{fill:url(#aw-frame);stroke:#081418;stroke-width:1.4;stroke-linejoin:round}
.aw-cockpit .aw-windshield .trim{fill:none;stroke:#a8b8bf45;stroke-width:.45}
.aw-cockpit .aw-windshield .glass{fill:url(#aw-glass)}
.aw-cockpit .aw-windshield .wiper{fill:none;stroke:#07151aad;stroke-width:.7;stroke-linecap:round}
.aw-cockpit .aw-placard{position:absolute;left:50%;top:.6rem;transform:translateX(-50%);color:#92a9b6;font:700 .5rem ui-monospace,monospace;letter-spacing:.24em;padding:.3rem .65rem;background:#091217c7;border:1px solid #7b929657;border-radius:.16rem;text-align:center;white-space:nowrap}
.cockpit .input{z-index:2}
.cockpit .overlay{z-index:5}
.cockpit .subtitle{bottom:max(24vmin,8.2rem);z-index:1}
@media(max-height:540px) and (orientation:landscape){
  .aw-cockpit .aw-panel{width:calc(100% - 230px);min-width:310px;max-width:650px;height:min(102px,30vh);bottom:.2rem}
  .cockpit .center-controls{position:absolute;left:50%;bottom:calc(min(102px,30vh) + .3rem);transform:translateX(-50%);flex-direction:row}
  .cockpit .subtitle{bottom:calc(min(102px,30vh) + 3.35rem);max-width:60vw}
}
@media(orientation:portrait) and (max-width:700px){
  .aw-cockpit .aw-panel{height:clamp(95px,28vw,140px);bottom:7.5rem;width:min(98%,530px)}
  .aw-cockpit .aw-lower{height:19.5%;background:linear-gradient(#101c23eb,#0a171faf)}
  .cockpit .subtitle{bottom:calc(7.8rem + clamp(95px,28vw,140px));max-width:84vw}
  .aw-cockpit .aw-placard{display:none}
}

/* Keep the interactive HUD above the windshield framing. */
.cockpit .top,.cockpit .stats,.cockpit .nav,.cockpit .environment-strip{z-index:2}
@media(min-height:541px) and (orientation:landscape){
 .cockpit .center-controls{position:absolute;left:50%;bottom:calc(clamp(112px,23vmin,220px) + .4rem);transform:translateX(-50%);white-space:nowrap}
 .cockpit .subtitle{bottom:calc(clamp(112px,23vmin,220px) + 3.6rem)}
}
