
/* SOTF Global Monitor / World Monitor v42 interactive satellite */
:root {
  --wm-bg: #020503;
  --wm-panel: rgba(5, 12, 8, .74);
  --wm-panel-strong: rgba(2, 8, 5, .88);
  --wm-green: #70ff9a;
  --wm-green-soft: rgba(112, 255, 154, .78);
  --wm-amber: #f0cf77;
  --wm-red: #ff4c4c;
  --wm-blue: #6bb8ff;
  --wm-text: #e8f5df;
  --wm-muted: rgba(232, 245, 223, .66);
}

html,
body.worldmonitor-page {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--wm-bg);
  color: var(--wm-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.world-map {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(42, 71, 45, .42), transparent 36%),
    linear-gradient(135deg, #06100b, #020503 62%, #000);
}

.wm-map-fallback {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(112,255,154,.08), transparent 34%),
    linear-gradient(135deg, #06100b, #020503);
  color: var(--wm-green-soft);
  text-align: center;
  padding: 28px;
}

.wm-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .10;
  background:
    linear-gradient(rgba(112,255,154,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112,255,154,.075) 1px, transparent 1px);
  background-size: 52px 52px;
  mix-blend-mode: screen;
}

.wm-scanline {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .075;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.055) 0 1px, transparent 1px 5px),
    linear-gradient(115deg, transparent 0 42%, rgba(112,255,154,.12) 48%, transparent 54% 100%);
  animation: wmSweep 7s linear infinite;
}

.wm-radar {
  position: fixed;
  right: -190px;
  top: -190px;
  z-index: 4;
  width: 560px;
  height: 560px;
  pointer-events: none;
  border-radius: 50%;
  border: 1px solid rgba(112,255,154,.17);
  background:
    conic-gradient(from 0deg, transparent 0 74%, rgba(112,255,154,.20), transparent 88% 100%),
    repeating-radial-gradient(circle, transparent 0 62px, rgba(112,255,154,.12) 63px, transparent 64px);
  opacity: .45;
  animation: wmRadar 8s linear infinite;
}

.wm-hud {
  position: fixed;
  z-index: 10;
  border: 1px solid rgba(112,255,154,.30);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(5,12,8,.76), rgba(0,0,0,.58)),
    radial-gradient(circle at top left, rgba(112,255,154,.10), transparent 48%);
  box-shadow:
    0 20px 60px rgba(0,0,0,.50),
    0 0 28px rgba(112,255,154,.075),
    inset 0 0 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(14px) saturate(140%);
}

.wm-top-left {
  top: 22px;
  left: 22px;
  width: min(440px, calc(100vw - 44px));
  padding: 20px;
}

.wm-bottom-left {
  bottom: 22px;
  left: 22px;
  width: min(420px, calc(100vw - 44px));
  padding: 16px;
}

.wm-layer-panel {
  top: 22px;
  right: 22px;
  width: min(360px, calc(100vw - 44px));
  max-height: calc(100vh - 44px);
  overflow: auto;
  padding: 18px;
}

.wm-bottom-right {
  right: 22px;
  bottom: 22px;
  width: min(360px, calc(100vw - 44px));
  max-height: 260px;
  overflow: hidden;
  padding: 16px;
}

.wm-kicker {
  color: var(--wm-green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.wm-top-left h1 {
  margin: 8px 0 3px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: .9;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(112,255,154,.22);
}

.wm-top-left p {
  margin: 0 0 14px;
  color: var(--wm-amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.wm-status-grid,
.wm-telemetry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.wm-status-grid div,
.wm-telemetry div {
  padding: 10px;
  border: 1px solid rgba(112,255,154,.16);
  border-radius: 12px;
  background: rgba(0,0,0,.24);
}

.wm-status-grid span,
.wm-telemetry span {
  display: block;
  color: var(--wm-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.wm-status-grid strong,
.wm-telemetry strong {
  display: block;
  margin-top: 5px;
  color: var(--wm-green);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wm-mini-feed {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  font-family: Consolas, Monaco, "Courier New", monospace;
  color: rgba(207,255,219,.82);
  font-size: 12px;
}

.feed-line {
  margin: 4px 0;
}

.feed-line::before {
  content: ">";
  color: var(--wm-amber);
  margin-right: 8px;
}

.wm-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.wm-panel-head h2 {
  margin: 6px 0 0;
  color: #fff;
  font-size: 23px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wm-small-button,
.wm-exit,
.wm-layer-toggle {
  border: 1px solid rgba(112,255,154,.28);
  color: var(--wm-green);
  background: rgba(0,0,0,.32);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.wm-small-button {
  padding: 8px 10px;
  font-size: 10px;
}

.wm-exit {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 11px;
}

.wm-field {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.wm-field span {
  color: var(--wm-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wm-field select {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(112,255,154,.28);
  border-radius: 12px;
  background: #061108;
  color: var(--wm-text);
  font-weight: 900;
  outline: none;
}

.wm-layer-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.wm-layer-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 13px;
  text-align: left;
}

.wm-layer-toggle .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}

.wm-layer-toggle span.label {
  color: var(--wm-text);
  font-size: 12px;
}

.wm-layer-toggle span.count {
  color: var(--wm-muted);
  font-size: 10px;
}

.wm-layer-toggle:not(.active) {
  opacity: .48;
}

.wm-disclaimer {
  margin-top: 14px;
  padding: 12px;
  border-left: 3px solid var(--wm-amber);
  border-radius: 10px;
  background: rgba(240,207,119,.07);
  color: rgba(232,245,223,.70);
  font-size: 11px;
  line-height: 1.45;
}

.wm-alert-feed {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 12px;
}

.wm-alert-feed div {
  padding: 8px;
  border-radius: 10px;
  background: rgba(0,0,0,.28);
  color: rgba(207,255,219,.82);
}

.wm-alert-feed strong {
  color: var(--wm-amber);
}

.wm-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 20px currentColor, 0 0 4px #fff inset;
  animation: wmPulse 1.9s ease-in-out infinite;
}

.wm-marker::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .42;
}

.wm-marker::after {
  content: attr(data-code);
  position: absolute;
  left: 50%;
  top: -22px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 2px 8px #000;
}

.wm-popup .maplibregl-popup-content {
  border: 1px solid rgba(112,255,154,.35);
  border-radius: 14px;
  background: rgba(2, 8, 5, .94);
  color: var(--wm-text);
  box-shadow: 0 16px 48px rgba(0,0,0,.58), 0 0 26px rgba(112,255,154,.12);
}

.wm-popup .maplibregl-popup-tip {
  border-top-color: rgba(2, 8, 5, .94) !important;
  border-bottom-color: rgba(2, 8, 5, .94) !important;
}

.wm-popup-card {
  min-width: 230px;
}

.wm-popup-card .category {
  color: var(--wm-green);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wm-popup-card h3 {
  margin: 6px 0 10px;
  color: #fff;
  font-size: 18px;
  line-height: 1.1;
}

.wm-popup-card dl {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 5px 8px;
  margin: 0 0 10px;
  font-size: 12px;
}

.wm-popup-card dt {
  color: var(--wm-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.wm-popup-card dd {
  margin: 0;
  color: var(--wm-text);
}

.wm-popup-card p {
  margin: 0;
  color: rgba(232,245,223,.78);
  font-size: 12px;
  line-height: 1.45;
}

.maplibregl-ctrl-bottom-left,
.maplibregl-ctrl-bottom-right {
  display: none !important;
}

@keyframes wmPulse {
  0%, 100% { transform: scale(1); opacity: .86; }
  50% { transform: scale(1.2); opacity: 1; }
}

@keyframes wmRadar {
  to { transform: rotate(360deg); }
}

@keyframes wmSweep {
  from { transform: translateX(-22%); }
  to { transform: translateX(22%); }
}

@media (max-width: 920px) {
  body.worldmonitor-page {
    overflow: auto;
  }

  .world-map {
    position: fixed;
    height: 100vh;
  }

  .wm-top-left,
  .wm-bottom-left,
  .wm-layer-panel,
  .wm-bottom-right {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(100vw - 28px);
    margin: 14px;
  }

  .wm-layer-panel {
    max-height: none;
  }

  .wm-bottom-right {
    margin-bottom: 28px;
  }

  .wm-status-grid,
  .wm-telemetry {
    grid-template-columns: 1fr;
  }
}


/* Live public data source status v39 */
.wm-source-status {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(112,255,154,.18);
  border-radius: 12px;
  background: rgba(0,0,0,.26);
}

.wm-source-title {
  color: var(--wm-amber);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wm-source-status div:not(.wm-source-title) {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(232,245,223,.72);
  font-size: 11px;
}

.wm-source-status strong {
  color: var(--wm-green);
  font-weight: 900;
}

.wm-source-status span {
  text-align: right;
  color: rgba(232,245,223,.62);
}

.wm-layer-toggle .label {
  display: grid;
  gap: 2px;
}

.wm-layer-toggle .label small {
  display: block;
  color: rgba(232,245,223,.48);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Draft 30 World Monitor video layer and intro sequence */
.wm-video-bg {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: .23;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: saturate(120%) contrast(116%) brightness(.78);
}

.wm-intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #010403;
  transition: opacity .72s ease, transform .72s ease;
}

.wm-intro.is-complete {
  opacity: 0;
  transform: scale(1.025);
  pointer-events: none;
}

.wm-intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  filter: contrast(125%) saturate(112%) brightness(.62);
}

.wm-intro-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(112,255,154,.12), transparent 32%),
    linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.35), rgba(0,0,0,.88)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 5px);
}

.wm-intro-core {
  position: relative;
  width: min(760px, calc(100vw - 36px));
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(112,255,154,.38);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.66), rgba(0,0,0,.40)),
    radial-gradient(circle at top, rgba(112,255,154,.11), transparent 58%);
  box-shadow:
    0 32px 90px rgba(0,0,0,.72),
    0 0 46px rgba(112,255,154,.15),
    inset 0 0 0 1px rgba(255,255,255,.055);
  text-align: center;
  backdrop-filter: blur(12px) saturate(140%);
}

.wm-intro-core img {
  width: 96px;
  height: 156px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
  filter: drop-shadow(0 0 20px rgba(112,255,154,.23));
}

.wm-intro-core span {
  color: var(--wm-green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.wm-intro-core h2 {
  margin: 8px 0 8px;
  color: #fff;
  font-size: clamp(34px, 7vw, 72px);
  line-height: .9;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(112,255,154,.24);
}

.wm-intro-core p {
  margin: 0 auto 22px;
  max-width: 620px;
  color: rgba(232,245,223,.74);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wm-intro-bar {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(112,255,154,.28);
  border-radius: 999px;
  background: rgba(0,0,0,.42);
}

.wm-intro-bar i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(112,255,154,.25), rgba(112,255,154,.95), rgba(240,207,119,.88));
  transform-origin: left center;
  animation: wmIntroLoad 4.1s ease both;
}

@keyframes wmIntroLoad {
  from { transform: scaleX(.04); }
  68% { transform: scaleX(.84); }
  to { transform: scaleX(1); }
}

/* Draft 31 activity, training, and AIS ship traffic layer refinements */
.wm-marker-activity {
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: 0 0 28px currentColor, 0 0 12px rgba(255,255,255,.62) inset;
  animation: wmHighActivity 1.05s ease-in-out infinite;
}

.wm-marker-activity::before {
  inset: -13px;
  border-width: 2px;
  opacity: .66;
}

.wm-marker-training {
  border-radius: 8px;
  box-shadow: 0 0 22px currentColor, 0 0 0 2px rgba(255,255,255,.45) inset;
}

.wm-marker-ships {
  width: 24px;
  height: 15px;
  border-radius: 60% 60% 50% 50%;
  box-shadow: 0 0 22px currentColor, 0 0 0 2px rgba(255,255,255,.35) inset;
}

.wm-marker-ships::before {
  inset: -10px;
  border-style: dashed;
}

@keyframes wmHighActivity {
  0%, 100% { transform: scale(1); opacity: .82; filter: saturate(1); }
  50% { transform: scale(1.35); opacity: 1; filter: saturate(1.55); }
}

/* Draft 33 ship/training visibility note */
.wm-source-status strong::after { content: ""; }


/* Draft 34: static fallback world map when external map tiles/CDNs are blocked */
.wm-static-map { position: fixed; inset: 0; overflow: hidden; background: radial-gradient(circle at center, rgba(112,255,154,.08), transparent 34%), linear-gradient(135deg,#06100b,#020503); }
.wm-static-world { position:absolute; inset: 10% 6%; opacity:.34; border:1px solid rgba(112,255,154,.20); border-radius: 50%; background: radial-gradient(circle at 45% 52%, rgba(112,255,154,.16), transparent 20%), radial-gradient(circle at 62% 40%, rgba(112,255,154,.10), transparent 24%), linear-gradient(90deg, transparent 49.8%, rgba(112,255,154,.18) 50%, transparent 50.2%), repeating-linear-gradient(0deg, transparent 0 13%, rgba(112,255,154,.09) 13.2%, transparent 13.4%); }
.wm-static-dot { position:absolute; z-index:3; width:28px; height:28px; transform: translate(-50%, -50%); border-radius:50%; border:1px solid rgba(255,255,255,.65); background:#70ff9a; box-shadow:0 0 20px currentColor; color:#70ff9a; display:grid; place-items:center; cursor:pointer; }
.wm-static-dot span { color:#001; font-size:8px; font-weight:900; letter-spacing:.06em; }
.wm-static-activity { background:#ff3b2f; color:#ff3b2f; }
.wm-static-training { background:#7cffb2; color:#7cffb2; }
.wm-static-ships { background:#39d6ff; color:#39d6ff; }
.wm-static-message { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:4; width:min(560px,calc(100vw - 42px)); padding:24px; border:1px solid rgba(112,255,154,.34); border-radius:18px; background:rgba(0,0,0,.72); text-align:center; box-shadow:0 24px 70px rgba(0,0,0,.55); }
.wm-static-message h2 { color:var(--wm-green); margin:0 0 8px; }
.wm-static-message p { color:var(--wm-muted); margin:0; }


/* Draft 37: realistic satellite map visibility */
.worldmonitor-page .world-map {
  background: #020503;
}
.worldmonitor-page .wm-video-bg {
  opacity: .075 !important;
  mix-blend-mode: screen;
  filter: saturate(92%) contrast(108%) brightness(.82) !important;
}
.worldmonitor-page .wm-grid-overlay {
  opacity: .095 !important;
  background-size: 78px 78px !important;
}
.worldmonitor-page .wm-scanline {
  opacity: .075 !important;
}
.worldmonitor-page .wm-radar {
  opacity: .24 !important;
}
.worldmonitor-page .maplibregl-canvas {
  filter: saturate(.94) contrast(1.08) brightness(.80);
}
.worldmonitor-page .maplibregl-map {
  background: #020503;
}
.wm-basemap-badge {
  display: inline-block;
  margin-top: 8px;
  color: rgba(232,245,223,.58);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}


/* Draft 38: real-time public ADS-B flight tracking and weather radar overlays */
.wm-marker-flights {
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 24px currentColor, 0 0 0 2px rgba(255,255,255,.42) inset;
}
.wm-marker-flights::before {
  inset: -9px;
  border-style: dotted;
}
.wm-marker-flights::after {
  transform: translateX(-50%) rotate(45deg);
}
.wm-marker-radar {
  width: 30px;
  height: 30px;
  background: transparent !important;
  border: 2px solid currentColor;
  box-shadow: 0 0 28px currentColor, 0 0 18px rgba(74,167,255,.38) inset;
}
.wm-marker-radar::before {
  inset: 4px;
  border: 1px solid currentColor;
  opacity: .75;
}
.wm-marker-radar::after {
  top: -24px;
}
.wm-static-flights { background:#9ad7ff; color:#9ad7ff; }
.wm-static-radar { background:#4aa7ff; color:#4aa7ff; }


/* Draft 41: functional/interactable map controls */
.wm-map-toolbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 16;
  display: grid;
  grid-template-columns: minmax(220px, 420px) auto auto auto auto;
  gap: 8px;
  transform: translateX(-50%);
  padding: 8px;
  border: 1px solid rgba(112,255,154,.26);
  border-radius: 16px;
  background: rgba(0,0,0,.58);
  box-shadow: 0 16px 50px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(12px) saturate(135%);
}

.wm-map-toolbar input,
.wm-map-toolbar button,
.wm-field select {
  border: 1px solid rgba(112,255,154,.26);
  border-radius: 11px;
  background: rgba(2,8,5,.82);
  color: var(--wm-text);
  font: 800 11px/1.1 Consolas, Monaco, "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wm-map-toolbar input {
  min-width: 220px;
  padding: 11px 12px;
  text-transform: none;
  letter-spacing: .04em;
}

.wm-map-toolbar button {
  padding: 10px 12px;
  color: var(--wm-green);
  cursor: pointer;
}

.wm-map-toolbar button:hover,
.wm-map-toolbar input:focus,
.wm-field select:focus {
  outline: none;
  border-color: rgba(240,207,119,.76);
  box-shadow: 0 0 20px rgba(240,207,119,.12);
}

.wm-search-miss {
  animation: wmSearchMiss .85s ease both;
}

@keyframes wmSearchMiss {
  0%, 100% { border-color: rgba(112,255,154,.26); }
  35%, 70% { border-color: rgba(255,76,76,.90); box-shadow: 0 0 22px rgba(255,76,76,.22); }
}

.worldmonitor-page .maplibregl-ctrl-bottom-left,
.worldmonitor-page .maplibregl-ctrl-bottom-right {
  display: block !important;
}

.worldmonitor-page .maplibregl-ctrl-bottom-left {
  left: 470px !important;
  bottom: 24px !important;
}

.worldmonitor-page .maplibregl-ctrl,
.worldmonitor-page .maplibregl-ctrl-group {
  background: rgba(0,0,0,.70) !important;
  border: 1px solid rgba(112,255,154,.26) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.44) !important;
}

.worldmonitor-page .maplibregl-ctrl button,
.worldmonitor-page .maplibregl-ctrl-scale {
  color: var(--wm-text) !important;
  filter: invert(1) hue-rotate(85deg) saturate(.6);
}

.worldmonitor-page .maplibregl-ctrl-scale {
  padding: 5px 8px;
  border-color: rgba(112,255,154,.58) !important;
  background: rgba(0,0,0,.60) !important;
  color: #001 !important;
}

.wm-panels-collapsed .wm-top-left,
.wm-panels-collapsed .wm-bottom-left,
.wm-panels-collapsed .wm-layer-panel,
.wm-panels-collapsed .wm-bottom-right {
  opacity: .08;
  transform: translateY(8px) scale(.985);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.wm-panels-collapsed .wm-map-toolbar {
  background: rgba(0,0,0,.76);
}

.wm-marker {
  cursor: pointer;
}

.wm-marker:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.wm-marker-airports {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  clip-path: polygon(50% 0%, 62% 34%, 98% 34%, 69% 55%, 80% 91%, 50% 68%, 20% 91%, 31% 55%, 2% 34%, 38% 34%);
  box-shadow: 0 0 24px currentColor, 0 0 0 2px rgba(255,255,255,.44) inset;
}

.wm-marker-airports::before {
  inset: -9px;
  border-style: dotted;
}

@media (max-width: 1160px) {
  .wm-map-toolbar {
    left: 18px;
    right: 18px;
    transform: none;
    grid-template-columns: 1fr repeat(2, auto);
  }
  .wm-map-toolbar button:nth-of-type(3),
  .wm-map-toolbar button:nth-of-type(4) { display: none; }
  .worldmonitor-page .maplibregl-ctrl-bottom-left {
    left: 22px !important;
    bottom: 22px !important;
  }
}

@media (max-width: 720px) {
  .wm-map-toolbar {
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    grid-template-columns: 1fr auto;
  }
  .wm-map-toolbar button:not(#wmSearchGo) { display: none; }
}


/* Draft 42: keep the actual interactive map visible instead of covering it with static fallback. */
.world-map .maplibregl-canvas,
.world-map .maplibregl-canvas-container {
  outline: none;
}
.maplibregl-ctrl-bottom-left {
  bottom: 118px;
  left: 18px;
  z-index: 9;
}
.maplibregl-ctrl-bottom-right {
  right: 396px;
  bottom: 18px;
  z-index: 9;
}
.wm-map-ready .world-map {
  background: #050806;
}
.wm-static-message {
  max-width: 560px;
  border: 1px solid rgba(112,255,154,.30);
  border-radius: 16px;
  background: rgba(0,0,0,.52);
  padding: 18px 22px;
  box-shadow: 0 0 28px rgba(112,255,154,.12);
}
.wm-static-message h2 {
  margin: 0 0 8px;
  color: var(--wm-green);
  font-size: clamp(28px, 5vw, 46px);
  letter-spacing: .08em;
  line-height: .94;
}
.wm-static-message p {
  margin: 0;
  color: rgba(232,245,223,.78);
}
