.flight-map-card summary{cursor:pointer;font-size:1.2rem;font-weight:700}
.flight-map-card details[open] summary{margin-bottom:.65rem}
.flight-map-tools{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 .75rem}
.flight-map-tools button{min-height:44px}
#flight-map-status{color:#c1d6e1;margin-left:auto}
#flight-map{height:clamp(19rem,72svh,45rem);width:100%;border-radius:.55rem;isolation:isolate;font-family:system-ui,sans-serif;
  --water:#ccdeeb;--label:#243b49;--halo:#f6faf9;--airport:#466477;--lake:#335d78;--flight:#00635e;
  --event:#81491c;--pin:#fbfffe;--aircraft:#004351;background:var(--water)}
#flight-map[data-theme="dark"]{--water:#102b40;--label:#c3d2d5;--halo:#172b33;--airport:#8eb0c4;--lake:#89b8d7;
  --flight:#86f5d2;--event:#ffd08c;--pin:#142c35;--aircraft:#b7fff1}
.fm-plain{background:none;border:0}
.fm-place,.fm-tag{white-space:nowrap;pointer-events:none;font-size:11px;color:var(--label);
  text-shadow:-1px 0 var(--halo),1px 0 var(--halo),0 1px var(--halo),0 -1px var(--halo)}
.fm-place{position:absolute}.fm-city{font-weight:650}.fm-airport{color:var(--airport);font-family:ui-monospace,monospace}
.fm-lake{color:var(--lake);font-style:italic}
.fm-tag{position:absolute;left:11px;top:-4px;font:700 12px ui-monospace,monospace;color:var(--flight)}
.fm-symbol{display:block;box-sizing:border-box;width:9px;height:9px;border:2px solid var(--flight);background:var(--pin);border-radius:50%}
.fm-endpoint .fm-symbol{border-radius:2px;width:11px;height:11px;background:var(--flight)}
.fm-event .fm-symbol{border-color:var(--event);transform:rotate(45deg);border-radius:0}
.fm-event .fm-tag{color:var(--event);font-size:10px;top:-7px}
.fm-plane{display:block;width:24px;height:24px;filter:drop-shadow(0 1px 2px #0008)}
.fm-plane i{display:block;width:100%;height:100%;background:var(--aircraft);
  clip-path:polygon(50% 0,57% 17%,58% 39%,95% 66%,95% 75%,58% 61%,58% 82%,72% 94%,72% 100%,50% 92%,28% 100%,28% 94%,42% 82%,42% 61%,5% 75%,5% 66%,42% 39%,43% 17%)}
.fm-plane[data-stopped] i{width:12px;height:12px;margin:6px;border-radius:50%;clip-path:none}
#flight-map .leaflet-control-zoom a{width:40px;height:40px;line-height:40px;color:#173a4a;background:#f9fbfc}
#flight-map .leaflet-control-attribution{font-size:10px;background:#f9fbf0e6;color:#254559}
.flight-map-legend{display:flex;flex-wrap:wrap;gap:.35rem 1rem;font-size:.82rem;color:#c1d6e1;margin-top:.5rem}
.flight-map-legend b{color:#a0ebd6}
.flight-map-legend .events{color:#ffd08c}
