﻿/**
 * COCKPIT-FACE-1 ? ????????????? + ?????
 * Gate: G-AI-UAV-JOIN-01 / COCKPIT-FACE
 * ???? style.css ??????????????? + ?????????????????????????????????
 */

:root {
  --c-bg: #e8eef4;
  --c-panel: #f7fafc;
  --c-inset: #eef3f8;
  --c-border: #b8c9da;
  --c-glow: #3a7ebd;
  --cyan: #0b6e99;
  --green: #1a8f4a;
  --amber: #c47a00;
  --red: #c62840;
  --text: #1a2a3a;
  --text-sec: #3d5a73;
  --text-dim: #6a8499;
  --mono: 'Cascadia Mono', 'Consolas', 'Sarasa Mono SC', 'Courier New', monospace;
  --sans: 'Microsoft YaHei UI', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Segoe UI', system-ui, sans-serif;
  --r: 6px;
  --r-lg: 10px;
  --face-base: 15px;
  --face-hud: 20px;
  --face-title: 12px;
}

html.theme-light body,
body {
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(11, 110, 153, 0.10), transparent 55%),
    linear-gradient(180deg, #f2f6fa 0%, var(--c-bg) 40%, #dfe8f0 100%);
  color: var(--text);
  font-size: var(--face-base);
}

#bg-canvas {
  opacity: 0.22;
}

.scan-overlay {
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 4px,
    rgba(20, 40, 60, 0.04) 4px, rgba(20, 40, 60, 0.04) 5px
  );
  animation: none;
}

.vignette {
  background: radial-gradient(ellipse 95% 95% at 50% 45%, transparent 62%, rgba(30, 50, 70, 0.12) 100%);
}

.topbar {
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(30, 60, 90, 0.06);
}

.logo-emblem svg {
  filter: none;
}

.logo-emblem svg polygon,
.logo-emblem svg circle {
  stroke: var(--cyan) !important;
  fill: rgba(11, 110, 153, 0.12) !important;
}

.logo-emblem svg circle {
  fill: var(--cyan) !important;
}

.logo-title {
  font-size: 17px;
  color: var(--cyan);
  text-shadow: none;
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1.2px;
}

.sys-ind {
  font-size: 11px;
  color: var(--text-sec);
}

.conn-badge {
  font-size: 12px;
  background: rgba(198, 40, 64, 0.06);
  border-color: rgba(198, 40, 64, 0.35);
}

.conn-badge.online {
  background: rgba(26, 143, 74, 0.08);
}

.time-main {
  font-size: 20px;
  color: var(--text);
}

.time-date {
  font-size: 11px;
  color: var(--text-dim);
}

.panel {
  background: var(--c-panel);
  border: 1px solid var(--c-border);
  box-shadow: 0 2px 10px rgba(30, 60, 90, 0.05);
}

.panel-header {
  background: linear-gradient(90deg, rgba(11, 110, 153, 0.08), transparent 70%);
  border-bottom: 1px solid var(--c-border);
}

.panel-title {
  font-size: var(--face-title);
  letter-spacing: 1.5px;
  color: var(--text-sec);
  font-weight: 700;
}

.panel-body {
  background: var(--c-panel);
}

.field-label {
  font-size: 11px;
  color: var(--text-dim);
}

.input-wrap,
.field-group > input,
input[type="text"],
input[type="number"],
input[type="search"] {
  background: #fff;
  border: 1px solid var(--c-border);
  color: var(--text);
  font-size: 14px;
}

input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(11, 110, 153, 0.15);
}

.hud-axis {
  font-size: 10px;
  color: var(--text-dim);
}

.hud-val {
  font-size: var(--face-hud);
  color: var(--text);
  text-shadow: none;
  font-weight: 700;
}

.hud-unit {
  font-size: 10px;
}

.hud-cell.hud-green .hud-val,
.hud-cell.hud-amber .hud-val,
.hud-cell.hud-red .hud-val {
  text-shadow: none;
}

/* TELEM-SOFT-1 ? ??????? */
.panel-telem .panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.telem-live-badge {
  margin-left: auto;
  margin-right: 8px;
  font: 600 10px ui-monospace, Consolas, monospace;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
  color: #5a6a7a;
  background: rgba(90, 106, 122, 0.12);
  border: 1px solid rgba(90, 106, 122, 0.28);
}
.panel-telem.telem-live {
  box-shadow: inset 0 0 0 1px rgba(26, 143, 74, 0.22);
}
.panel-telem.telem-live .telem-live-badge {
  color: #14663a;
  background: linear-gradient(165deg, #e8f7ee, #d5efe0);
  border-color: rgba(26, 143, 74, 0.4);
}
.panel-telem.telem-live .hud-val {
  color: #142433;
}
.panel-telem.telem-live .hud-cell.hud-amber .hud-val {
  color: #9a5b00;
}
.panel-telem.telem-live .hud-cell.hud-green .hud-val {
  color: #14663a;
}
#chase-hud.telem-stale #chase-hud-spd,
#chase-hud.telem-stale #chase-hud-alt {
  color: #ffc857;
}

.data-lbl {
  font-size: 11px;
  color: var(--text-sec);
}

.data-val {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
}

.adi-num {
  font-size: 16px;
}

.btn {
  font-size: 12px;
  letter-spacing: 1px;
  padding: 10px 14px;
}

.btn-sm {
  font-size: 11px;
  padding: 6px 11px;
}

.btn-link {
  background: linear-gradient(135deg, #e8f4fb, #d5ebf7);
  color: var(--cyan);
  border: 1px solid rgba(11, 110, 153, 0.35);
  box-shadow: none;
}

.btn-link:hover:not(:disabled) {
  background: linear-gradient(135deg, #d5ebf7, #c2e0f2);
  box-shadow: 0 2px 10px rgba(11, 110, 153, 0.18);
}

.btn-kill {
  background: linear-gradient(135deg, #fde8ec, #f8d0d8);
  color: var(--red);
  border: 1px solid rgba(198, 40, 64, 0.35);
}

.btn-demo {
  background: linear-gradient(135deg, #fff4e0, #ffe8c2);
  color: var(--amber);
  border: 1px solid rgba(196, 122, 0, 0.4);
}

.btn-demo:hover:not(:disabled) {
  box-shadow: 0 2px 12px rgba(196, 122, 0, 0.2);
  background: linear-gradient(135deg, #ffe8c2, #ffd9a0);
}

.btn-arm,
.btn-takeoff,
.btn-nav {
  background: linear-gradient(135deg, #e6f7ed, #d0efdc);
  color: var(--green);
  border: 1px solid rgba(26, 143, 74, 0.35);
}

.btn-disarm,
.btn-land {
  background: linear-gradient(135deg, #fde8ec, #f8d0d8);
  color: var(--red);
  border: 1px solid rgba(198, 40, 64, 0.3);
}

.btn-hover,
.btn-ghost {
  background: #fff;
  color: var(--text-sec);
  border: 1px solid var(--c-border);
}

.log-console,
.alert-log,
.mini-map,
.camera-view,
.wp-list {
  background: var(--c-inset);
  border-color: var(--c-border);
}

/* NED-LEGEND-1 ? ???????? */
.panel-ned-track .panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ned-badge {
  margin-left: auto;
  margin-right: 8px;
  font: 700 10px "Segoe UI", sans-serif;
  padding: 2px 8px;
  border-radius: 999px;
  color: #8a5a10;
  background: linear-gradient(165deg, #fff8e8, #f5edd9);
  border: 1px solid rgba(184, 110, 0, 0.4);
}
.panel-ned-track.has-track .ned-badge {
  color: #14663a;
  background: linear-gradient(165deg, #e8f7ee, #d5efe0);
  border-color: rgba(26, 143, 74, 0.4);
}
.ned-legend-copy {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.4;
  color: #3d5a73;
  font-family: var(--sans);
}
.ned-legend-copy strong { color: #0b6e99; font-weight: 700; }
.ned-mini-map {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(11, 110, 153, 0.22);
  background: linear-gradient(165deg, #eef4f9, #dfe8f1);
}
.ned-mini-map #map-canvas {
  display: block;
  width: 100%;
  height: auto;
}
.ned-compass {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(11, 110, 153, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 10px "Segoe UI", sans-serif;
  color: #0b6e99;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(10, 24, 36, 0.12);
}
.ned-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
  font: 600 10px ui-monospace, Consolas, monospace;
  color: #3d5a73;
}
.ned-meta span {
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(11, 110, 153, 0.08);
  border: 1px solid rgba(11, 110, 153, 0.15);
}

.log-console {
  font-size: 12px;
  line-height: 1.7;
}

.joy-label,
.alt-label,
.brief-footer,
.mp-label {
  font-size: 11px;
  color: var(--text-dim);
}

.brief-item {
  font-size: 13px;
  color: var(--text-sec);
}

.join-callsign-badge {
  border-color: rgba(11, 110, 153, 0.4);
  color: var(--cyan);
  font-size: 12px;
}

.ai-join-empty {
  font-size: 13px;
}

/* WASD ???????? */
.wasd-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
  padding: 8px;
  background: var(--c-inset);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
}

.wasd-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 7px;
  border-radius: 4px;
  border: 1px solid var(--c-border);
  background: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sec);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.wasd-key.on {
  background: rgba(11, 110, 153, 0.14);
  border-color: var(--cyan);
  color: var(--cyan);
}
/* BOOST-V-1 ? V ???? */
.wasd-key[data-k="v"].on,
.wasd-key[data-k="v"].is-boost,
.fly-kbd[data-k="v"].on {
  background: rgba(200, 136, 0, 0.18);
  border-color: #c88800;
  color: #8a5a10;
  box-shadow: 0 0 0 2px rgba(200, 136, 0, 0.22);
}
.wasd-key.is-boost {
  background: rgba(200, 136, 0, 0.18);
  border-color: #c88800;
  color: #a66e00;
  box-shadow: 0 0 0 2px rgba(200, 136, 0, 0.22);
}

.wasd-hint-note {
  width: 100%;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.joy-wrap {
  opacity: 0.92;
}

#panel-wasd .panel-title,
#panel-joystick .panel-title {
  letter-spacing: 1.2px;
}

/* CHASE-1 ?? ???????? */
.panel-header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.chase-modes { display: flex; gap: 4px; margin-left: auto; margin-right: 8px; }
.chase-mode {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--c-border); background: #fff; color: var(--text-sec);
}
.chase-mode.on {
  border-color: var(--cyan); color: var(--cyan);
  background: rgba(11, 110, 153, 0.12);
}
.chase-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
}
/* STAGE-MAX-1 ? ????????? */
.panel-chase {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: clamp(520px, calc(100vh - 100px), 920px);
}
.panel-chase > .panel-header {
  flex: 0 0 auto;
}
.panel-chase > .chase-body {
  flex: 1 1 auto;
  min-height: 0;
}
/* SOFT-FLY / STAGE-MAX-1 ? ??????? */
.fly-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(11, 110, 153, 0.28);
  background:
    linear-gradient(135deg, rgba(232, 244, 251, 0.95) 0%, rgba(245, 250, 247, 0.92) 55%, rgba(255, 251, 240, 0.9) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  flex: 0 0 auto;
  order: 2;
}
.fly-strip.is-dock {
  max-height: none;
  overflow: visible;
  gap: 6px 8px;
  padding: 5px 8px;
}
.fly-strip.is-dock .fly-strip-copy,
.fly-strip.is-dock .fly-key-legend {
  display: none;
}
.fly-strip.is-dock .fly-key-hint {
  flex: 0 1 auto;
  padding: 0;
  border: none;
  background: transparent;
  gap: 4px;
}
.fly-strip.is-dock .fly-kbd {
  min-width: 28px;
  padding: 2px 5px 3px;
  font-size: 10px;
}
.fly-strip.is-dock .fly-kbd em {
  font-size: 8px;
}
.fly-strip.is-dock .fly-strip-steps {
  font-size: 11px;
}
.fly-strip.is-dock .fly-step {
  padding: 2px 6px;
}
.fly-strip.is-dock .fxmn-url-inp {
  width: 108px;
  max-width: 22vw;
  font-size: 10px;
  padding: 2px 6px;
}
.fly-strip.is-live {
  border-color: rgba(46, 125, 50, 0.4);
  background: linear-gradient(135deg, #eef8f1 0%, #e8f4fb 60%, #f7fbf8 100%);
}
.fly-strip-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: #5a6f82;
}
.fly-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.fly-step i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  font-style: normal;
  font-size: 10px;
  background: rgba(90, 111, 130, 0.18);
  color: #3d5a73;
}
.fly-step.is-done {
  color: #1a5c34;
}
.fly-step.is-done i {
  background: #1a8f4a;
  color: #fff;
}
.fly-step.is-now {
  color: #8a5a10;
  border-color: rgba(184, 110, 0, 0.35);
  background: rgba(255, 193, 7, 0.16);
  animation: fly-step-pulse 1.5s ease-in-out infinite;
}
.fly-step.is-now i {
  background: #c88800;
  color: #fff;
}
@keyframes fly-step-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.06); }
}
.fly-step-sep {
  color: #9aa8b5;
  font-weight: 500;
}
.fly-strip-copy {
  margin: 0;
  flex: 1 1 180px;
  font-size: 12px;
  line-height: 1.4;
  color: #3d5a73;
  font-family: var(--sans);
}
.fly-strip-copy strong { color: #0b6e99; font-weight: 700; }
/* SPAWN-AGL-1 · 贴地放飞角标 */
.fly-strip-agl {
  margin: 0;
  flex: 1 1 160px;
  font: 600 11px/1.35 var(--sans, "Segoe UI", "Microsoft YaHei", sans-serif);
  color: #0d5c3a;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.fly-strip-agl.is-warn { color: #8a6a12; }
.fly-strip-agl:not([hidden]) {
  animation: spawn-agl-in 0.45s ease-out;
}
@keyframes spawn-agl-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 0.92; transform: translateY(0); }
}
.fly-strip-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.fly-strip-actions .btn-takeoff {
  min-width: 88px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.fly-strip-actions .btn-takeoff:not(:disabled) {
  box-shadow: 0 0 0 2px rgba(26, 143, 74, 0.25);
}
/* SPEED-HP-1 � ????? */
.speed-profile-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(11, 110, 153, 0.28);
}
.speed-profile-btn {
  font: 700 10px var(--sans, "Segoe UI", "Microsoft YaHei", sans-serif);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: transparent;
  color: #3d5a73;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.speed-profile-btn:hover {
  color: #0b6e99;
  background: rgba(11, 110, 153, 0.08);
}
.speed-profile-btn.on {
  color: #fff;
  background: linear-gradient(165deg, #1a8f4a, #0b6e99);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 2px 8px rgba(11, 80, 60, 0.22);
}
.speed-profile-badge {
  font: 700 10px var(--mono, Consolas, monospace);
  color: #0b6e99;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(232, 247, 238, 0.9);
  border: 1px solid rgba(26, 143, 74, 0.28);
  white-space: nowrap;
}
.fly-kbd {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(11,110,153,0.3);
  background: rgba(255,255,255,0.85);
  color: #1a2a3a;
}
/* FLY-HINT-1 ? ????STAGE-MAX ???????? */
.fly-key-hint {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 6px 8px;
  border-radius: 5px;
  background: rgba(255,255,255,0.55);
  border: 1px dashed rgba(11, 110, 153, 0.28);
}
.fly-key-hint.is-driving {
  border-style: solid;
  border-color: rgba(26, 143, 74, 0.45);
  background: linear-gradient(90deg, rgba(232, 247, 238, 0.95), rgba(255,255,255,0.7));
}
/* SHIFT-FIX-1 ? ??????? */
.fly-key-hint.is-boost {
  border-style: solid;
  border-color: rgba(200, 136, 0, 0.55);
  background: linear-gradient(90deg, rgba(255, 244, 214, 0.96), rgba(255,255,255,0.75));
  box-shadow: inset 0 0 0 1px rgba(200, 136, 0, 0.12);
}
.fly-key-hint.is-boost.is-driving {
  background: linear-gradient(90deg, rgba(255, 236, 190, 0.98), rgba(232, 247, 238, 0.85));
}
.fly-key-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.fly-key-hint .fly-kbd {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 7px 4px;
  transition: background 0.12s ease, color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
.fly-key-hint .fly-kbd em {
  display: block;
  font-style: normal;
  font-size: 9px;
  font-weight: 600;
  color: #5a6f82;
  margin-top: 1px;
}
.fly-key-hint .fly-kbd.on {
  background: #1a8f4a;
  color: #fff;
  border-color: #14663a;
  transform: translateY(1px);
  box-shadow: 0 0 0 2px rgba(26, 143, 74, 0.25);
}
.fly-key-hint .fly-kbd.on em { color: rgba(255,255,255,0.9); }
.fly-key-hint .fly-kbd-alt.on {
  background: #0b6e99;
  border-color: #085578;
  box-shadow: 0 0 0 2px rgba(11, 110, 153, 0.28);
}
.fly-key-hint .fly-kbd-mod.on {
  background: #c88800;
  border-color: #8a5a10;
  box-shadow: 0 0 0 2px rgba(200, 136, 0, 0.35);
  animation: fly-boost-pulse 0.9s ease-in-out infinite alternate;
}
@keyframes fly-boost-pulse {
  from { box-shadow: 0 0 0 2px rgba(200, 136, 0, 0.28); filter: brightness(1); }
  to { box-shadow: 0 0 0 3px rgba(255, 196, 80, 0.45); filter: brightness(1.06); }
}
.fly-key-sep { color: #9aa8b5; font-size: 12px; }
.fly-key-legend {
  margin: 0;
  flex: 1 1 200px;
  font-size: 11px;
  line-height: 1.35;
  color: #3d5a73;
  font-family: var(--sans);
}
/* VIEW-CMD-1 ? ???? HUD */
.view-cmd-hud {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%);
  z-index: 11;
  min-width: 200px;
  max-width: 70%;
  padding: 8px 14px 10px;
  border-radius: 8px;
  text-align: center;
  color: #e8f4fb;
  background: rgba(18, 36, 52, 0.72);
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
  font-family: var(--sans);
  backdrop-filter: blur(4px);
}
.view-cmd-hud.is-active {
  background: rgba(12, 48, 32, 0.88);
  border-color: rgba(120, 220, 160, 0.65);
  box-shadow: 0 8px 24px rgba(10, 40, 24, 0.35);
}
/* SHIFT-FIX-1 ? ???? / ?2 ?? HUD */
.view-cmd-hud.is-boost {
  background: rgba(42, 32, 10, 0.9);
  border-color: rgba(255, 196, 80, 0.72);
  box-shadow: 0 8px 24px rgba(40, 28, 4, 0.4);
}
.view-cmd-hud.is-boost.is-active {
  background: linear-gradient(160deg, rgba(42, 32, 10, 0.92), rgba(12, 48, 32, 0.88));
  border-color: rgba(255, 196, 80, 0.8);
}
.view-cmd-hud strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f2fff8;
}
.view-cmd-hud.is-active strong { color: #b8ffd0; }
.view-cmd-hud.is-boost strong { color: #ffe6a8; }
.view-cmd-hud span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.88;
}
.view-cmd-bars {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  align-items: flex-end;
  justify-content: center;
}
.view-cmd-bar {
  position: relative;
  width: 72px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}
#view-cmd-bar-up {
  width: 8px;
  height: 36px;
}
.view-cmd-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3ecf8e, #b8ffd0);
  transition: width 0.08s linear, height 0.08s linear, margin-top 0.08s linear;
}
#view-cmd-bar-up i {
  width: 100%;
  height: 0;
  margin-top: 100%;
  background: linear-gradient(180deg, #3ecf8e, #b8ffd0);
}
#view-cmd-bar-up.is-down i {
  background: linear-gradient(180deg, #e0a84a, #ffd088);
}
.fly-strip-note {
  font-size: 11px;
  color: #1a8f4a;
  font-weight: 700;
  font-family: var(--sans);
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(26,143,74,0.12);
  border: 1px solid rgba(26,143,74,0.28);
}
.fly-strip[data-phase="airborne"] .fly-strip-note,
.fly-strip[data-phase="flying"] .fly-strip-note {
  animation: fly-note-blink 1.2s ease-in-out infinite;
}
@keyframes fly-note-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.fly-map-banner {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 200px;
  max-width: 92%;
  padding: 8px 14px;
  border-radius: 6px;
  text-align: center;
  pointer-events: none;
  font-family: var(--sans);
  background: linear-gradient(180deg, rgba(26, 42, 58, 0.88) 0%, rgba(26, 42, 58, 0.72) 100%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #f2f7fb;
  box-shadow: 0 6px 18px rgba(15, 35, 55, 0.28);
}
.fly-map-banner strong {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #9fe8bc;
}
.fly-map-banner span {
  font-size: 11px;
  opacity: 0.92;
  color: #d7e6f2;
}
.fly-map-banner.is-moving {
  border-color: rgba(46, 200, 110, 0.55);
  background: linear-gradient(180deg, rgba(18, 70, 42, 0.92) 0%, rgba(26, 42, 58, 0.78) 100%);
}
.fly-map-banner.is-moving strong {
  color: #b8ffd0;
}
.chase-stage.is-fly-live {
  box-shadow: 0 0 0 2px rgba(26, 143, 74, 0.35);
}
.chase-stage.is-fly-moving #chase-map::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px rgba(26, 200, 110, 0.45);
  animation: map-move-ring 0.9s ease-out;
}
@keyframes map-move-ring {
  0% { opacity: 1; }
  100% { opacity: 0; }
}
.chase-hud-fly {
  padding: 1px 7px;
  border-radius: 3px;
  background: rgba(255,255,255,0.14);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.chase-hud-fly.is-airborne { background: rgba(200, 136, 0, 0.55); }
.chase-hud-fly.is-flying { background: rgba(26, 143, 74, 0.75); }
.chase-hud-fly.is-moving {
  background: rgba(40, 200, 110, 0.9);
  animation: fly-note-blink 0.8s ease-in-out infinite;
}
.chase-map-hint {
  position: absolute; top: 8px; left: 8px; z-index: 5;
  font-family: var(--mono); font-size: 11px;
  padding: 3px 8px; border-radius: 3px;
  background: rgba(255,255,255,0.88); color: #3d5a73;
  border: 1px solid rgba(11,110,153,0.25);
  pointer-events: none;
}
.chase-map.motion-pulse .leaflet-interactive {
  filter: drop-shadow(0 0 6px rgba(26, 200, 110, 0.9));
}
.chase-stage {
  position: relative;
  flex: 1 1 auto;
  order: 1;
  width: 100%;
  min-height: clamp(420px, calc(100vh - 240px), 780px);
  height: clamp(420px, calc(100vh - 240px), 780px);
  max-height: none;
  background: linear-gradient(165deg, #e8eef5 0%, #d4e2ef 45%, #c5d5e6 100%);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.chase-stage img, .chase-stage canvas {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block;
}
.chase-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 280px; gap: 8px; color: #3d5a73; font-family: var(--mono);
}
.chase-ph-title { font-size: 16px; font-weight: 700; letter-spacing: 1px; color: #1a2a3a; }
.chase-ph-sub { font-size: 12px; opacity: 0.85; color: #4a6478; }
.chase-hud {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 14px; flex-wrap: wrap;
  padding: 8px 12px;
  background: linear-gradient(transparent, rgba(26, 42, 58, 0.72));
  font-family: var(--mono); font-size: 12px; color: #f2f7fb; letter-spacing: 0.5px;
}
.chase-map {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; min-height: 280px;
  background: #d6e2ee;
}
.chase-map-hint {
  position: absolute; top: 8px; left: 8px; z-index: 5;
  font-family: var(--mono); font-size: 11px;
  padding: 3px 8px; border-radius: 3px;
  background: rgba(255,255,255,0.88); color: #3d5a73;
  border: 1px solid rgba(11,110,153,0.25);
  pointer-events: none;
}
.chase-stage #chase-map-canvas { position: absolute; inset: 0; z-index: 1; }
.chase-stage #chase-img { position: relative; z-index: 2; }
.chase-stage #soft-view-canvas,
.soft-view-canvas {
  position: absolute; inset: 0; z-index: 3;
  width: 100%; height: 100%; min-height: 280px;
  display: none;
  background: linear-gradient(180deg, #6eb0d8 0%, #a8d4ef 48%, #8fad78 52%, #4a6740 100%);
}
.fxmn-embed {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; min-height: 280px;
  border: 0; background: #0b1a24;
}
/* FXMN-DEFAULT-1 ? ????? / ??? / ???? */
.fxmn-embed-banner,
.fxmn-embed-banner.is-true-3d {
  position: absolute; top: 10px; left: 10px; z-index: 9;
  max-width: 58%;
  padding: 8px 12px;
  border-radius: 8px;
  font: 700 12px var(--sans, "Segoe UI", "Microsoft YaHei", sans-serif);
  color: #143d2a;
  background: linear-gradient(165deg, #eef8f2, #dcefe4);
  border: 1px solid rgba(40, 130, 90, 0.48);
  box-shadow: 0 8px 22px rgba(20, 50, 40, 0.14);
  pointer-events: none;
  animation: fxmn-banner-in 0.28s ease-out;
  letter-spacing: 0.02em;
}
.fxmn-default-banner {
  position: absolute;
  left: 12px;
  top: 10px;
  z-index: 13;
  max-width: min(360px, 74%);
  padding: 11px 13px;
  border-radius: 9px;
  font-family: var(--sans, "Segoe UI", "Microsoft YaHei", sans-serif);
  box-shadow: 0 12px 28px rgba(40, 30, 10, 0.16);
  display: flex;
  flex-direction: column;
  gap: 3px;
  pointer-events: auto;
  animation: fxmn-banner-in 0.28s ease-out;
}
.fxmn-default-banner.is-degraded {
  background: linear-gradient(165deg, #fff8e8, #f3e2c0);
  border: 1px solid rgba(184, 110, 0, 0.55);
  color: #5a3a10;
}
.fxmn-default-banner.is-probing {
  background: linear-gradient(165deg, #eef4fa, #dde8f2);
  border: 1px solid rgba(60, 100, 130, 0.4);
  color: #1a3a52;
}
.fxmn-default-banner.is-probing strong::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 8px;
  border-radius: 50%;
  background: #3d7a9c;
  animation: fxmn-probe-dot 0.8s ease-in-out infinite alternate;
  vertical-align: middle;
}
@keyframes fxmn-probe-dot {
  from { opacity: 0.35; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.15); }
}
.fxmn-default-banner.is-ok {
  background: linear-gradient(165deg, #eef8f2, #e2f0ea);
  border: 1px solid rgba(40, 130, 90, 0.42);
  color: #1a4a32;
}
.fxmn-default-banner strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.fxmn-default-banner span {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.92;
}
.fxmn-default-retry {
  align-self: flex-start;
  margin-top: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(140, 90, 20, 0.45);
  background: #fffaf0;
  color: #5a3a10;
  font: 700 11px var(--sans, "Segoe UI", sans-serif);
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.fxmn-default-retry:hover:not(:disabled) {
  background: #fff3d6;
  border-color: rgba(160, 100, 20, 0.65);
}
.fxmn-default-retry:disabled {
  opacity: 0.55;
  cursor: wait;
}
.chase-stage.map-pip .fxmn-default-banner {
  left: 12px;
  right: auto;
  top: 12px;
  width: min(300px, 50%);
}
.chase-stage.map-pip .fxmn-embed-banner {
  /* ?? view-cmd ?? HUD???? */
  top: 12px;
  left: 12px;
  max-width: min(280px, 46%);
}
.chase-stage.is-fxmn-degraded #soft-view-canvas {
  box-shadow: inset 0 0 0 2px rgba(200, 136, 0, 0.35);
}
@keyframes fxmn-banner-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
/* LAYOUT-MAIN-1 / STAGE-MAX-1 ? KYQB PiP ?????????? */
/* GEO-STREET-1 ? PiP ?? */
.chase-stage.map-pip #chase-map,
.chase-stage.map-pip #chase-map-canvas {
  inset: auto !important;
  left: auto !important;
  right: 10px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-38%);
  width: 248px;
  height: 200px;
  min-height: 0 !important;
  z-index: 8;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 12px 32px rgba(10, 24, 36, 0.45),
    0 0 0 1px rgba(42, 63, 84, 0.18);
  cursor: pointer;
  overflow: hidden;
  background: #edf3f8;
}
.chase-stage.map-pip #chase-map-canvas {
  width: 248px;
  height: 200px;
}
.chase-stage.map-pip .map-pip-chrome {
  display: flex !important;
  position: absolute;
  right: 10px;
  top: calc(50% - 98px);
  bottom: auto;
  z-index: 9;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 4px 4px 0 0;
  background: rgba(18, 36, 52, 0.88);
  color: #e8f4fb;
  font: 600 10px "Segoe UI", sans-serif;
  pointer-events: auto;
  transform: none;
}
.map-pip-chrome .map-pip-btn {
  margin-left: 4px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-radius: 3px;
  font-size: 10px;
  padding: 1px 6px;
  cursor: pointer;
}
.map-pip-chrome .map-pip-btn.is-free {
  background: rgba(200, 136, 0, 0.55);
  border-color: rgba(255, 220, 140, 0.7);
  color: #fff8e8;
}
.chase-map.is-free-look {
  box-shadow:
    0 12px 32px rgba(10, 24, 36, 0.45),
    0 0 0 2px rgba(200, 136, 0, 0.55);
}
.chase-map.is-free-look::before {
  content: '??? � ?????';
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 500;
  padding: 2px 6px;
  border-radius: 3px;
  font: 700 9px "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #5a3a10;
  background: rgba(255, 244, 214, 0.92);
  border: 1px solid rgba(200, 136, 0, 0.45);
  pointer-events: none;
}
.chase-stage.map-pip .fly-map-banner {
  left: auto;
  right: 10px;
  top: auto;
  bottom: 12px;
  width: 228px;
  z-index: 9;
}
.chase-stage.map-pip.is-fly-moving #chase-map::after {
  border-radius: 8px;
}
/* GEO-PIP-FINE-1 / GEO-PACK-1 */
.geo-pack-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9;
  max-width: 52%;
  padding: 4px 9px;
  border-radius: 5px;
  font: 700 10px "Segoe UI", ui-monospace, Consolas, sans-serif;
  letter-spacing: 0.02em;
  color: #14663a;
  background: rgba(232, 247, 238, 0.92);
  border: 1px solid rgba(26, 143, 74, 0.4);
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(10, 24, 36, 0.12);
}
.geo-pack-badge.is-ok { color: #14663a; }
.geo-pack-badge.is-street {
  color: #1a3a52;
  background: linear-gradient(165deg, rgba(236, 246, 252, 0.96), rgba(220, 234, 244, 0.94));
  border-color: rgba(60, 100, 130, 0.42);
  letter-spacing: 0.01em;
}
.geo-pack-badge.is-warn {
  color: #8a5a10;
  background: rgba(255, 248, 232, 0.94);
  border-color: rgba(184, 110, 0, 0.45);
}
.chase-stage.map-pip .geo-pack-badge {
  top: 10px;
  bottom: auto;
  left: 10px;
  right: auto;
  max-width: 46%;
}
.geo-pack-banner {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 48px;
  z-index: 12;
  padding: 10px 12px;
  border-radius: 8px;
  background: linear-gradient(165deg, #fff8e8, #f5e6c8);
  border: 1px solid rgba(184, 110, 0, 0.5);
  color: #5a3a10;
  font-family: var(--sans);
  box-shadow: 0 10px 28px rgba(90, 50, 10, 0.18);
  pointer-events: none;
}
.geo-pack-banner strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 2px;
}
.geo-pack-banner span {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.92;
}
.chase-stage.map-pip .geo-pack-banner {
  left: 12px;
  right: auto;
  top: 12px;
  width: min(280px, 48%);
}
.chase-map.is-pip-geo .leaflet-control-zoom {
  transform: scale(0.85);
  transform-origin: top left;
}
.fxmn-url-inp {
  width: 132px; max-width: 22vw;
  height: 28px; padding: 0 8px;
  border: 1px solid rgba(11, 110, 153, 0.28);
  border-radius: 4px;
  background: rgba(255,255,255,0.9);
  font: 11px ui-monospace, Consolas, monospace;
  color: #1a2a3a;
}
#btn-fxmn-view, #btn-fxmn-embed {
  border-color: rgba(26, 143, 74, 0.4);
  color: #1a6b3c;
}
#btn-fxmn-embed {
  font-weight: 700;
  background: rgba(26, 143, 74, 0.1);
}
.chase-hud { z-index: 10; }
/* EO-SOFT-1 */
#panel-eo .panel-header { display: flex; align-items: center; gap: 8px; }
.eo-soft-badge {
  margin-left: auto; margin-right: 8px;
  font: 700 10px "Segoe UI", sans-serif;
  padding: 2px 8px; border-radius: 999px;
  color: #14663a;
  background: linear-gradient(165deg, #e8f7ee, #d5efe0);
  border: 1px solid rgba(26, 143, 74, 0.4);
}
#camera-view { position: relative; overflow: hidden; min-height: 140px; }
#eo-soft-canvas {
  width: 100%; display: block; min-height: 140px;
  background: linear-gradient(180deg, #6eb0d8, #8fad78);
}
.cam-soft-tag {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  font: 700 10px "Segoe UI", sans-serif;
  padding: 3px 8px; border-radius: 4px;
  color: #b8ffd0;
  background: rgba(18, 48, 32, 0.85);
  border: 1px solid rgba(120, 210, 150, 0.55);
  pointer-events: none;
}
.join-badge-ok { color: #1a8f4a !important; border-color: rgba(26,143,74,0.45) !important; }
.join-badge-warn { color: #b86e00 !important; border-color: rgba(184,110,0,0.45) !important; }
.join-badge-err { color: #c62828 !important; border-color: rgba(198,40,40,0.45) !important; }
.ai-fleet-row.active {
  outline: 2px solid rgba(11,110,153,0.45);
  background: rgba(11,110,153,0.08);
}
.ai-fleet-row.flash-pick {
  animation: feed-flash 0.7s ease;
}
@keyframes feed-flash {
  0% { background: rgba(26,143,74,0.28); }
  100% { background: rgba(11,110,153,0.08); }
}
/* SIM-PROBE + SIM-READY */
.sim-probe-box {
  margin-top: 8px; padding: 8px 10px;
  border: 1px solid rgba(198,40,40,0.35);
  border-radius: 6px;
  background: linear-gradient(165deg, #fff8f7 0%, #f3e9e6 100%);
}
.sim-probe-box.ok {
  border-color: rgba(26,143,74,0.4);
  background: linear-gradient(165deg, #f3faf5 0%, #e6f2eb 100%);
}
.sim-probe-box.need-sim {
  border-color: rgba(184,110,0,0.45);
  background: linear-gradient(165deg, #fffbf3 0%, #f5eed9 100%);
}
.sim-probe-title {
  font-size: 12px; font-weight: 700; color: #5a2a2a; margin-bottom: 6px;
  font-family: var(--sans);
}
.sim-probe-box.ok .sim-probe-title { color: #1a5c34; }
.sim-probe-box.need-sim .sim-probe-title { color: #8a5a10; }
.sim-probe-list {
  margin: 0; padding-left: 1.1em; font-size: 11px; line-height: 1.45; color: #3d5a73;
}
.sim-probe-list li { margin: 3px 0; }
.sim-probe-list li.ok { color: #1a8f4a; }
.sim-probe-list li.bad { color: #c62828; font-weight: 600; }
.sim-probe-box.need-sim .sim-probe-list li.bad { color: #a66a12; font-weight: 600; }
.sim-probe-actions { display: flex; gap: 6px; margin-top: 8px; }
.sim-ready-hint {
  margin-top: 6px; padding: 6px 8px; font-size: 11px; line-height: 1.4;
  border-radius: 4px; font-family: var(--sans);
}
.sim-ready-hint.need {
  color: #8a5a10;
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(184,110,0,0.35);
}
.sim-ready-hint.ok {
  color: #1a5c34;
  background: rgba(26,143,74,0.1);
  border: 1px solid rgba(26,143,74,0.35);
}
[data-cta="select-connect"].cta-need-sim {
  box-shadow: 0 0 0 1px rgba(184,110,0,0.35);
}
[data-cta="select-connect"].cta-ready {
  animation: cta-ready-pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(26,143,74,0.35);
}
.cam-soft-tag {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  font-size: 11px; padding: 3px 8px; border-radius: 3px;
  background: rgba(27,94,32,0.85); color: #e8f5e9;
  font-family: var(--sans);
}
[data-cta="soft-connect"]:hover {
  background: rgba(46,125,50,0.1) !important;
}
@keyframes cta-ready-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}
.panel-adi-compact .adi-body { padding: 8px; }
.panel-adi-compact #drone-canvas { max-width: 140px; }

/* EO-BIND */
.eo-bind-row {
  display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 6px 8px;
  align-items: center; margin-bottom: 8px;
}
.eo-select, #eo-vehicle {
  width: 100%; font-size: 13px; padding: 6px 8px;
  border: 1px solid var(--c-border); border-radius: var(--r);
  background: #fff; color: var(--text); font-family: var(--mono);
}
.eo-bind-meta { font-size: 11px; color: var(--text-dim); margin-bottom: 8px; }

/* SEAT-FLEET-1 ?? ??????? */
.ai-fleet-summary {
  font-family: var(--mono); font-size: 12px; color: var(--text-sec);
  margin-bottom: 8px; letter-spacing: 0.3px;
}
.ai-fleet-list {
  max-height: 260px; overflow-y: auto; margin-bottom: 10px;
  border: 1px solid var(--c-border); border-radius: var(--r);
  background: #fff;
}
.ai-fleet-empty {
  padding: 14px 10px; font-size: 12px; color: var(--text-dim);
  font-family: var(--mono); text-align: center;
}
.ai-fleet-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-bottom: 1px solid var(--c-border);
  cursor: pointer; transition: background 0.12s;
}
.ai-fleet-row:last-child { border-bottom: 0; }
.ai-fleet-row:hover { background: rgba(11, 110, 153, 0.06); }
.ai-fleet-row.active {
  background: rgba(11, 110, 153, 0.12);
  box-shadow: inset 3px 0 0 var(--cyan);
}
.ai-fleet-lamp {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--red);
}
.ai-fleet-lamp.green { background: var(--green); box-shadow: 0 0 6px rgba(26,143,74,0.5); }
.ai-fleet-lamp.yellow { background: var(--amber); }
.ai-fleet-lamp.red { background: var(--red); }
.ai-fleet-meta { flex: 1; min-width: 0; }
.ai-fleet-cs {
  font-size: 13px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ai-fleet-role {
  font-size: 11px; font-weight: 600; color: var(--cyan); margin-left: 4px;
}
.ai-fleet-sub {
  font-family: var(--mono); font-size: 11px; color: var(--text-dim);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ai-fleet-pick { flex-shrink: 0; padding: 4px 8px !important; }
.ai-join-card {
  padding-top: 6px; border-top: 1px dashed var(--c-border);
}

/* ===== MAP-SIDE-1 · 右栏态势地图（收官） ===== */
.panel-side-geo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-color: rgba(11, 110, 153, 0.35);
  background:
    linear-gradient(180deg, rgba(236, 246, 252, 0.98) 0%, var(--c-panel) 48%);
}
.panel-side-geo.is-live {
  box-shadow: 0 0 0 1px rgba(26, 143, 74, 0.28), 0 10px 28px rgba(20, 50, 70, 0.08);
}
.panel-side-geo.is-moving {
  box-shadow: 0 0 0 2px rgba(26, 200, 110, 0.42), 0 12px 32px rgba(20, 80, 50, 0.12);
}
.panel-side-geo .side-geo-body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side-geo-badge {
  margin-left: auto;
  margin-right: 8px;
  font: 700 10px var(--mono, Consolas, monospace);
  color: #0b6e99;
  padding: 2px 7px;
  border-radius: 3px;
  background: rgba(232, 247, 238, 0.92);
  border: 1px solid rgba(26, 143, 74, 0.35);
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.side-geo-badge.is-moving {
  color: #14663a;
  background: rgba(184, 255, 208, 0.95);
  border-color: rgba(26, 200, 110, 0.55);
  animation: side-geo-pulse 1.1s ease-in-out infinite;
}
@keyframes side-geo-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}
.map-side-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font: 600 11px var(--sans, "Segoe UI", "Microsoft YaHei", sans-serif);
  color: #3d5a73;
}
.map-side-chrome strong { color: #0b6e99; }
.side-geo-host {
  position: relative;
  width: 100%;
  height: clamp(300px, 38vh, 480px);
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(11, 110, 153, 0.28);
  background:
    linear-gradient(165deg, #e4eef6 0%, #d2e0ec 55%, #c5d5e6 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}
.side-geo-host.is-geo-focus,
.side-geo-host.is-fly-live {
  box-shadow: 0 0 0 2px rgba(11, 110, 153, 0.4), inset 0 0 0 1px rgba(255,255,255,0.4);
}
.side-geo-host.is-fly-moving {
  box-shadow: 0 0 0 2px rgba(26, 200, 110, 0.5), inset 0 0 0 1px rgba(255,255,255,0.35);
}
.side-geo-host.is-fly-moving::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px rgba(26, 200, 110, 0.4);
  animation: map-move-ring 0.9s ease-out;
}
.side-geo-host .chase-map,
.chase-map.is-side-geo {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  transform: none !important;
  border-radius: 0;
  border: 0;
  z-index: 1;
  box-shadow: none;
  cursor: grab;
}
.side-geo-host .chase-map.is-free-look {
  cursor: grabbing;
  box-shadow: inset 0 0 0 2px rgba(200, 136, 0, 0.55);
}
.side-geo-host .side-geo-canvas,
.side-geo-host #chase-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.side-geo-host .geo-pack-badge {
  top: 8px;
  left: 8px;
  right: auto;
  bottom: auto;
  max-width: 72%;
  z-index: 9;
}
.side-geo-host .geo-pack-banner {
  left: 8px;
  right: 8px;
  top: 36px;
  width: auto;
  z-index: 10;
}
.side-geo-host .fly-map-banner {
  left: 8px;
  right: 8px;
  bottom: 8px;
  top: auto;
  width: auto;
  z-index: 9;
}
.side-geo-host .chase-map-hint {
  z-index: 8;
}
.panel-ned-track.is-compact .ned-mini-map {
  max-height: 120px;
}
.panel-ned-track.is-compact .ned-legend-copy {
  font-size: 11px;
  margin: 0 0 6px;
}
.col-right {
  min-width: 0;
}
