/* Slice 7.15E: move radar cluster to the upper-left without changing radar behavior. */

#hud .radar-wrap {
  top: 30px;
  bottom: auto;
  left: calc(2.6vw + 14px);
}

/* Keep the remaining desktop left status information below the radar. */
@media (pointer: fine) {
  #hud .top-left.panel {
    top: 168px;
  }
}

@media (pointer: coarse) and (orientation: landscape) {
  #hud .radar-wrap {
    top: calc(22px + env(safe-area-inset-top, 0px)) !important;
    bottom: auto !important;
    left: calc(var(--erg-left) + 14px) !important;
    transform: none !important;
  }

  /* Contracts owns the upper-left card; keep that card below the radar cluster. */
  .sector-contract-panel {
    top: calc(128px + env(safe-area-inset-top, 0px)) !important;
  }
}
