/* One command tree for radar, world labels and strips. The legacy forms remain
   inert for save/command compatibility and are never a second user control UI. */
#flight-panel { display:none!important; }
.game-stage[data-command-menu="open"] .radar-menu { top:62px; right:var(--edge); left:auto; bottom:auto; max-height:calc(100dvh - var(--dock-height) - 84px); width:300px; }
.game-stage[data-command-menu="open"] .event-panel { display:none; }
.game-stage[data-radar] .scope-panel { left:var(--edge); right:var(--edge); }
.game-stage[data-radar] .event-panel { display:none; }
/* One side for the command menu on desktop: the right edge, in the 3D view and on the full radar alike. The full radar
   gives that column up instead of sitting under the menu (docs/UI_FIXES_20261103.md §5). */
.game-stage[data-radar][data-command-menu="open"] .scope-panel { left:var(--edge); right:calc(var(--edge) + 312px); }
.game-stage[data-radar] .traffic-section { display:none; }
.game-stage[data-radar][data-traffic-list="open"] .traffic-section,.game-stage[data-radar][data-mobile-panel="traffic-panel"] .traffic-section { display:block; z-index:16; }
/* PC full radar (2026-11-05, user: strips must stay on the right): the strips keep the right column, full height; the
   strip list fills it. The 항공편 목록 button hides them (data-traffic-list="closed"). The command menu is a small popup
   beside the selected flight's data block (radar-control.js place(), 2026-11-06), so it takes no column of its own. */
@media(min-width:701px) and (min-height:521px),(min-width:951px) {
  .game-stage[data-radar]:not([data-traffic-list="closed"]) .traffic-section { display:block; top:62px; bottom:calc(var(--dock-height) + 22px); z-index:12; }
  .game-stage[data-radar]:not([data-traffic-list="closed"]) .traffic-section .strips { max-height:calc(100dvh - 62px - var(--dock-height) - 22px - 78px); }
  .game-stage[data-radar]:not([data-traffic-list="closed"]) .scope-panel { right:calc(var(--edge) * 2 + var(--right-width)); }
  .game-stage[data-radar][data-command-menu="open"]:not([data-traffic-list="closed"]) .scope-panel { right:calc(var(--edge) * 2 + var(--right-width)); }
  .game-stage[data-radar][data-traffic-list="closed"][data-command-menu="open"] .scope-panel { right:var(--edge); }
  /* Anchored popup: compact, beside the label. */
  .game-stage[data-command-menu="open"] .radar-menu[data-anchored] { width:232px; max-height:min(380px,calc(100dvh - 72px)); }
  .game-stage[data-command-menu="open"] .radar-menu[data-anchored] .radar-menu-head { padding:5px 6px; }
  .game-stage[data-command-menu="open"] .radar-menu[data-anchored] .radar-menu-back { min-height:24px; width:24px; font-size:14px; }
  .game-stage[data-command-menu="open"] .radar-menu[data-anchored] .radar-menu-title strong { font-size:12px; }
  .game-stage[data-command-menu="open"] .radar-menu[data-anchored] .radar-menu-item { min-height:28px; padding:3px 6px; font-size:11.5px; column-gap:6px; }
  .game-stage[data-command-menu="open"] .radar-menu[data-anchored] .rm-detail,.game-stage[data-command-menu="open"] .radar-menu[data-anchored] .rm-reason { font-size:10.5px; }
  .game-stage[data-command-menu="open"] .radar-menu[data-anchored] .radar-menu-foot { padding:5px 8px 6px; font-size:10.5px; }
}
.game-stage[data-radar] .scene-caption { display:none; }
.radar-menu[hidden] { display:none; }
#scope text { pointer-events:none; }
#scope .data-block text { pointer-events:auto; }
@media(max-width:700px),(max-width:950px) and (max-height:520px) {
  .game-stage { --command-height:min(34dvh,290px); }
  .game-stage[data-command-menu="open"] .radar-menu { left:8px!important; right:8px!important; top:auto!important; bottom:calc(var(--dock-height) + 8px); width:auto; height:var(--command-height); max-height:var(--command-height); }
  .game-stage[data-command-menu="open"] .radar-menu-item { min-height:44px; }
  .game-stage[data-radar][data-command-menu="open"] .scope-panel { left:8px; right:8px; bottom:calc(var(--dock-height) + var(--command-height) + 16px); }
  .game-stage[data-radar][data-command-menu="open"] :is(.radar-area-note,.radar-selection,.map-hint,.scope-key,.radar-flight-tools,.radar-runway-details,#weather-toggle) { display:none; }
  .game-stage[data-radar][data-command-menu="open"] .scope-panel .scope-wrap { min-height:80px; }
  .game-stage:not([data-radar])[data-command-menu="open"] #airport-scene { bottom:calc(var(--dock-height) + var(--command-height) + 16px); height:calc(100% - var(--dock-height) - var(--command-height) - 16px); }
  .game-stage:not([data-radar])[data-command-menu="open"] :is(.scope-panel,.traffic-section) { display:none; }
}
@media(max-width:950px) and (max-height:520px) {
  .game-stage[data-command-menu="open"] .radar-menu { left:8px!important; top:64px!important; bottom:calc(var(--dock-height) + 8px); width:260px; height:auto; max-height:none; }
  .game-stage[data-radar][data-command-menu="open"] .scope-panel { left:276px; bottom:calc(var(--dock-height) + 8px); }
}

.world-label[data-status="DEPARTURE_READY"],.world-label[data-status="TURNAROUND_READY"] { border-color:var(--success); }
.world-label[data-status="DEPARTURE_READY"] .world-label-meta,.world-label[data-status="TURNAROUND_READY"] .world-label-meta { color:var(--success);font-weight:700; }
