/* Live Elite aircraft on the KSUS diagrams (fleetlive.js): the home band, Contact's Flying In diagram and the phone menu's map.
   Round 17: the "Elite in the Air" tag, its list and the Live tag clicker are gone; a plane shows only while it is inside the map.
   A gold Cessna at the real position, rotated to track, tail label, a fading gold trail. Sizes are diagram metres (scale with the map). */
.live-planes .lp-ic{color:#d4b45a; stroke:#030538; stroke-width:2.2; paint-order:stroke}
.live-planes .lp-ring{fill:none; stroke:#d4b45a; stroke-width:8; opacity:.6; animation:flv-ring 2.4s ease-out infinite; transform-box:fill-box; transform-origin:center}
.live-planes .lp-lbl{fill:#fff; font:700 78px var(--font-display,sans-serif); paint-order:stroke; stroke:#030538; stroke-width:16; stroke-linejoin:round}
.live-planes .lp-tr path{fill:none; stroke:#d4b45a; stroke-width:9; stroke-linecap:round}
.live-planes .lp-tr .lp-head{stroke-dasharray:22 18; opacity:.85}
@keyframes flv-ring{from{transform:scale(.4); opacity:.8}to{transform:scale(1.6); opacity:0}}
@media (max-width:860px){
  /* phones: the diagram is ~0.08 px a metre, so the plane and label grow to stay legible */
  .live-planes .lp-lbl{font-size:150px; stroke-width:26}
  .live-planes .lp-tr path{stroke-width:16}
}

/* ---- round 17: the phone menu's map (src/_header.html): the home band's diagram (elite-aviation-ksus-airport-diagram-menu.svg, same line style) with the runway
   labels, the white Elite pin and the live planes drawn over it in one svg. It fills the menu from under the logo down to the first
   link, edge to edge with no box, and fades out at the sides and bottom behind the links, the way the home band bleeds into the hero. ---- */
.menu-map{display:none}
@media (max-width:1099px){
  #menu .menu-map{display:block; position:relative; flex:1 1 auto; min-height:180px; pointer-events:none;
    margin:calc(76px - 5.25rem) calc(-1 * max(var(--gut), env(safe-area-inset-right))) -3.5rem calc(-1 * max(var(--gut), env(safe-area-inset-left)));
    -webkit-mask-image:linear-gradient(180deg,#000 50%,transparent 96%),linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); -webkit-mask-composite:source-in;
    mask-image:linear-gradient(180deg,#000 50%,transparent 96%),linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); mask-composite:intersect}
  #menu:has(.msub[open]) .menu-map{min-height:0; flex-basis:0}   /* round 19: More open -> the map gives its room to the links, so Contact and every More item stay in view */
  #menu nav{position:relative}   /* the links paint over the map's faded foot */
  #menu .mm-live{position:absolute; inset:0; width:100%; height:100%; display:block; overflow:hidden; translate:0 -7%}   /* round 18: map drawn ~7% of its height higher; the .menu-map mask (fades) is unchanged */
  .mm-live .num{font:900 100px var(--display,var(--font-display,sans-serif)); fill:var(--mist,#e9eaef)}
  .mm-live .mm-ring{fill:none; stroke:#fff; stroke-width:19}
  .mm-live .mm-dot{fill:#fff}
  .mm-live .mm-ping{fill:none; stroke:#fff; stroke-width:10; transform-box:fill-box; transform-origin:center; opacity:0}
  .mm-live .mm-name{font:600 140px var(--font,sans-serif); fill:#fff; paint-order:stroke; stroke:#030538; stroke-width:28; stroke-linejoin:round}
}
@media (max-width:1099px) and (prefers-reduced-motion:no-preference){#menu:popover-open .mm-live .mm-ping{animation:mmping 2.6s ease-out infinite}}
@keyframes mmping{from{transform:scale(.6); opacity:1; stroke:#fff}to{transform:scale(2.4); opacity:0; stroke:#a7a7a7}}
@media (prefers-reduced-motion:reduce){.live-planes .lp-ring{animation:none}}

/* option A (owner, 2026-11-23): other traffic near KSUS, smaller and grey, no label and no ring, so it never reads as Elite's fleet */
.live-planes .lp.other .lp-ic{color:#a7a9b8; transform-box:fill-box; transform-origin:center; scale:.72}
.live-planes .lp.other .lp-ring,.live-planes .lp.other .lp-lbl{display:none}
.live-planes .lp-tr.other path{stroke:#a7a9b8; opacity:.5}
/* helicopters (other traffic only; Elite flies none): look 1, Classic (owner pick 2026-11-23) */
.live-planes .lp.heli .lp-ic{scale:.8}
