@import url('https://api.fontshare.com/v2/css?f[]=satoshi@900,700,500,400&display=swap');

/* LineOps / NxtOps - Live Flights Map Styles */
/* Authentic SIA Virtual Live Map Recreation (Midnight & Gold Cinematic Aviation Map with Custom Airline Hero) */

/* ─── Full-Bleed Viewport Behind Navigation Bar ─── */
body.view-live-flights {
  overflow: hidden !important;
  background: #060b13 !important;
}

body.view-live-flights #career-dashboard {
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  overflow: hidden !important;
  z-index: 10;
}

body.view-live-flights .dashboard-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 76px !important;
  margin: 0 !important;
  padding: 0 max(24px, calc((100vw - 1192px) / 2)) !important;
  z-index: 1200 !important;
  pointer-events: auto !important;
}

body.view-live-flights .dashboard-nav > * {
  pointer-events: auto !important;
}

#live-flights-view {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 1;
  background: #060b13;
}

.siav-live-map-container,
.siav-live-map-container *,
.siav-top-right-hero,
.siav-bottom-container {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.siav-live-map-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #060b13;
  color: #e9eef6;
}

.siav-maplibre-canvas {
  width: 100vw !important;
  height: 100vh !important;
  background: #060b13;
  z-index: 1;
}

/* ─── Map Aircraft Marker (Sleek Golden Jet Silhouette) ─── */
.siav-plane-glyph-marker {
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none !important;
  will-change: transform;
}

.siav-glyph-shell {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(212, 175, 122, 0.75));
  transition: transform 0.2s ease;
}

.siav-glyph-shell svg {
  width: 20px;
  height: 20px;
}

.siav-plane-glyph-marker:hover .siav-glyph-shell {
  transform: scale(1.35);
  filter: drop-shadow(0 0 10px rgba(212, 175, 122, 1));
}

.siav-plane-glyph-marker.is-selected .siav-glyph-shell {
  transform: scale(1.25);
  filter: drop-shadow(0 0 12px rgba(212, 175, 122, 1)) drop-shadow(0 0 24px rgba(212, 175, 122, 0.6));
}

/* Airport Destination Label on Map (Gold Glow) */
.siav-map-port-halo {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  user-select: none;
  margin-top: 18px;
}

.siav-map-port-halo span {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 4px #000000, 0 0 8px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.siav-map-port-halo small {
  font-size: 10px;
  font-weight: 800;
  color: #d4af7a;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 3px #000000;
}

/* ─── Top-Right Prominent Airline Logo with Dashboard Glow & Flight Meta ─── */
.siav-top-right-hero {
  position: absolute;
  top: 96px;
  right: 48px;
  text-align: right;
  pointer-events: none;
  user-select: none;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.siav-hero-logo-box {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 2px;
}

.siav-hero-airline-logo {
  max-height: 52px;
  max-width: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Authentic Live Board Luminous Glow (adds micro-luminous outline to lettering while boosting vibrancy) */
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 4.5px rgba(255, 255, 255, 0.65)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85)) brightness(1.24) contrast(1.08);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.siav-hero-flight-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.siav-hero-flight-num {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.9);
}

.siav-hero-aircraft-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #d4af7a;
  letter-spacing: 0.1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.siav-hero-separator {
  color: #71849a;
  font-size: 12px;
}

.siav-hero-pilot {
  font-size: 12px;
  font-weight: 500;
  color: #8a9bb0;
  letter-spacing: 0.1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-top: 1px;
}

/* ─── Bottom Integrated Telemetry & Altitude Flight Profile Section ─── */
.siav-bottom-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 42px 48px 22px 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  pointer-events: none;
  user-select: none;
  background: linear-gradient(to top, rgba(6, 11, 19, 0.96) 0%, rgba(6, 11, 19, 0.82) 55%, rgba(6, 11, 19, 0) 100%);
}

/* Bottom Telemetry HUD (Exact Match with SIA Virtual Screenshot) */
.siav-bottom-left-telemetry {
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: auto;
  cursor: pointer;
  align-self: flex-start;
}

.siav-telemetry-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.siav-tele-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.siav-tele-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #78889b;
  text-transform: uppercase;
  font-family: 'Satoshi', sans-serif !important;
}

.siav-tele-val-line {
  display: flex;
  align-items: baseline;
  gap: 3.5px;
}

.siav-tele-num {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-family: 'Satoshi', sans-serif !important;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.85);
}

.siav-tele-unit {
  font-size: 12px;
  font-weight: 500;
  color: #8a9bb0;
  font-family: 'Satoshi', sans-serif !important;
}

.siav-telemetry-secondary {
  display: none !important;
}

/* Clean Horizontal Flight Progress Line with Plane Directly on the Line */
.siav-altitude-profile-wrap {
  width: 100%;
  height: 32px;
  position: relative;
  display: block;
  margin: 6px 0 2px 0;
}

.siav-progress-bar-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.siav-progress-line-solid {
  position: absolute;
  left: 0;
  top: 50%;
  height: 1.5px;
  background: #d4af7a;
  transform: translateY(-50%);
  box-shadow: 0 0 6px rgba(212, 175, 122, 0.45);
  pointer-events: none;
}

.siav-progress-line-dotted {
  position: absolute;
  right: 0;
  top: 50%;
  height: 1.5px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(to right, rgba(212, 175, 122, 0.55) 0, rgba(212, 175, 122, 0.55) 2.5px, transparent 2.5px, transparent 7.5px);
  pointer-events: none;
}

.siav-progress-dot {
  position: absolute;
  top: 50%;
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  border: 1.5px solid #d4af7a;
  background: #060b13;
  z-index: 5;
  box-sizing: border-box;
  pointer-events: none;
}

.siav-dot-origin {
  left: 0;
  transform: translate(-50%, -50%);
}

.siav-dot-dest {
  right: 0;
  transform: translate(50%, -50%);
}

.siav-progress-plane-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.siav-plane-icon {
  width: 18px;
  height: 18px;
  fill: #d4af7a;
  transform: rotate(90deg);
  filter: drop-shadow(0 0 5px rgba(212, 175, 122, 0.95));
  display: block;
}

.siav-plane-pct-badge {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Satoshi', sans-serif !important;
  font-size: 10.5px;
  font-weight: 700;
  color: #d4af7a;
  line-height: 1;
  white-space: nowrap;
}

/* Flight Progress Info Row (Origin Left, Middle Animated Flight Phase, Destination Right) */
.siav-progress-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: -2px;
}

.siav-dep-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.siav-phase-center-col {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  flex-shrink: 0;
  pointer-events: none;
}

.siav-phase-word {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  user-select: none;
}

.siav-phase-text {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f6d89b;
  text-shadow: 0 0 12px rgba(246, 216, 155, 0.75), 0 0 24px rgba(212, 175, 122, 0.5);
  animation: siavWordGlowGold 2.2s ease-in-out infinite;
  white-space: nowrap;
  display: inline-block;
  line-height: 1;
}

/* Phase specific glowing themes */
.siav-phase-word.phase-climb .siav-phase-text {
  color: #fde68a;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.8), 0 0 26px rgba(251, 191, 36, 0.55);
  animation-name: siavWordGlowAmber;
}

.siav-phase-word.phase-cruise .siav-phase-text {
  color: #f6d89b;
  text-shadow: 0 0 12px rgba(246, 216, 155, 0.8), 0 0 26px rgba(212, 175, 122, 0.55);
  animation-name: siavWordGlowGold;
}

.siav-phase-word.phase-descent .siav-phase-text,
.siav-phase-word.phase-approach .siav-phase-text {
  color: #bae6fd;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.8), 0 0 26px rgba(56, 189, 248, 0.55);
  animation-name: siavWordGlowCyan;
}

.siav-phase-word.phase-ground .siav-phase-text {
  color: #fef3c7;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.8), 0 0 24px rgba(245, 158, 11, 0.5);
  animation-name: siavWordGlowAmber;
}

.siav-phase-word.phase-standby .siav-phase-text {
  color: #94a3b8;
  text-shadow: 0 0 10px rgba(148, 163, 184, 0.4);
  animation-name: siavWordGlowMuted;
}

@keyframes siavWordGlowGold {
  0%, 100% {
    text-shadow: 0 0 8px rgba(246, 216, 155, 0.5), 0 0 16px rgba(212, 175, 122, 0.3);
    opacity: 0.88;
  }
  50% {
    text-shadow: 0 0 18px rgba(246, 216, 155, 0.95), 0 0 32px rgba(212, 175, 122, 0.75), 0 0 45px rgba(212, 175, 122, 0.45);
    opacity: 1;
  }
}

@keyframes siavWordGlowAmber {
  0%, 100% {
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5), 0 0 16px rgba(251, 191, 36, 0.3);
    opacity: 0.88;
  }
  50% {
    text-shadow: 0 0 18px rgba(251, 191, 36, 0.95), 0 0 32px rgba(251, 191, 36, 0.75), 0 0 45px rgba(251, 191, 36, 0.45);
    opacity: 1;
  }
}

@keyframes siavWordGlowCyan {
  0%, 100% {
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5), 0 0 16px rgba(56, 189, 248, 0.3);
    opacity: 0.88;
  }
  50% {
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.95), 0 0 32px rgba(56, 189, 248, 0.75), 0 0 45px rgba(56, 189, 248, 0.45);
    opacity: 1;
  }
}

@keyframes siavWordGlowMuted {
  0%, 100% {
    text-shadow: 0 0 6px rgba(148, 163, 184, 0.25);
    opacity: 0.7;
  }
  50% {
    text-shadow: 0 0 14px rgba(148, 163, 184, 0.65), 0 0 24px rgba(148, 163, 184, 0.35);
    opacity: 0.95;
  }
}

.siav-arr-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
  min-width: 0;
}

.siav-port-title-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.siav-port-title-line.right-align {
  justify-content: flex-end;
}

.siav-port-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.15px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.siav-port-code {
  font-size: 13px;
  font-weight: 700;
  color: #d4af7a;
}

.siav-port-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: #71849a;
}

.siav-port-sub.right-align {
  text-align: right;
}

/* ─── Minimal Cartography Watermark ─── */
.siav-cartography-watermark {
  position: absolute;
  bottom: 6px;
  right: 48px;
  font-size: 9px;
  color: rgba(127, 146, 169, 0.45);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.2px;
  z-index: 999;
}

/* ─── Responsive Mobile Adjustments ─── */
@media (max-width: 900px) {
  .siav-top-right-hero {
    top: 88px;
    right: 16px;
  }
  .siav-hero-airline-logo {
    max-height: 40px;
    max-width: 180px;
  }
  .siav-hero-flight-num {
    font-size: 24px;
  }
  .siav-bottom-container {
    padding: 24px 16px 12px 16px;
    gap: 8px;
  }
  .siav-telemetry-row {
    gap: 16px;
  }
  .siav-tele-num {
    font-size: 20px;
  }
  .siav-altitude-profile-wrap {
    height: 52px;
  }
  .siav-port-name {
    font-size: 14px;
  }
  .siav-cartography-watermark {
    display: none;
  }
}

/* ─── Airport Ground Control HUD Integration ─── */
.siav-live-map-container .airport-ground-control {
  display: none !important;
}

/* ─── Flight Screen Pill Button (under Pilot in Command) ─── */
.siav-flight-screen-pill {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f1f5f9;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.siav-flight-screen-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(212, 175, 122, 0.8);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 122, 0.3);
}

.siav-flight-screen-pill:active {
  transform: translateY(0);
}

/* ─── Flight Screen Modal / Overlay ─── */
.flight-screen-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(4, 7, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  user-select: none;
}

.flight-screen-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Overlay Top Toolbar */
.flight-screen-toolbar {
  position: absolute;
  top: 20px;
  left: 28px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: auto;
}

.flight-screen-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.flight-screen-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  animation: fs-pulse-glow 2s infinite ease-in-out;
}

@keyframes fs-pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.flight-screen-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-tool-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  border-radius: 8px;
  padding: 6px 12px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.fs-tool-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.fs-close-btn {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.fs-close-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.6);
  color: #ffffff;
}

/* Chassis & Display Structure */
.flight-screen-chassis-wrap {
  width: 100%;
  max-width: 1080px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flight-screen-chassis {
  width: 100%;
  aspect-ratio: 2.05 / 1;
  background: #0d1017;
  border-radius: 20px;
  padding: clamp(14px, 2vw, 24px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 0 0 2px #181d28;
  display: flex;
  position: relative;
  box-sizing: border-box;
}

/* Inner Display Screen: Absolute pitch black with smooth, vector, non-pixelated typography */
.flight-screen-display {
  flex: 1;
  background: #000000;
  border-radius: 8px;
  padding: clamp(20px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Top Section: Left Logo Tile & Right Flight Info */
.fs-top-row {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.6vw, 36px);
  height: 52%;
}

/* Left Airline Logo Tile (Square) */
.fs-logo-tile {
  width: clamp(110px, 24%, 220px);
  aspect-ratio: 1 / 1;
  height: 100%;
  border-radius: 6px;
  background: #005daa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: background 0.3s ease;
}

.fs-airline-emblem {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

/* Right Flight Info Block */
.fs-info-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.fs-airline-name {
  color: #ffffff;
  font-size: clamp(28px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-flight-num {
  color: #ffffff;
  font-size: clamp(42px, 6.8vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fs-progress-track {
  position: relative;
  height: clamp(8px, 1.3vw, 16px);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  margin: 6px 0;
  overflow: visible;
}

.fs-progress-fill {
  height: 100%;
  background: #00e676;
  border-radius: 9999px;
  box-shadow: 0 0 10px #00e676, 0 0 18px rgba(0, 230, 118, 0.5);
  transition: width 0.6s ease;
}

.fs-progress-head {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(12px, 1.8vw, 20px);
  height: clamp(12px, 1.8vw, 20px);
  background: #ffffff;
  border: 2px solid #00e676;
  border-radius: 50%;
  box-shadow: 0 0 10px #00e676, 0 0 16px #00ff66;
  transition: left 0.6s ease;
}

.fs-route {
  color: #ffffff;
  font-size: clamp(30px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Bottom Section: Aircraft, Schedule & Distance */
.fs-bottom-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 44%;
  margin-top: clamp(8px, 1.5vw, 20px);
}

.fs-aircraft {
  color: #ffffff;
  font-size: clamp(30px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: #ffffff;
  font-size: clamp(30px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.fs-distance {
  color: #ffffff;
  font-size: clamp(30px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.fs-distance:hover {
  opacity: 0.85;
}

/* Fullscreen mode scaling */
.flight-screen-overlay:fullscreen .flight-screen-chassis-wrap,
body.fs-fullscreen-active .flight-screen-chassis-wrap {
  max-width: 96vw;
  max-height: 94vh;
}

/* ─── iFly Schedules Cloned Aircraft Marker ─── */
.ifly-aircraft-marker {
  cursor: pointer;
  pointer-events: auto;
  user-select: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  will-change: transform;
  z-index: 1000;
}

.ifly-aircraft-marker-inner {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease;
}

.ifly-aircraft-marker-inner svg {
  width: 28px;
  height: 28px;
  overflow: visible;
}

.ifly-aircraft-marker:hover .ifly-aircraft-marker-inner {
  transform: scale(1.25);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85));
}

.ifly-aircraft-marker.is-selected .ifly-aircraft-marker-inner {
  transform: scale(1.22);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.85)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.75));
}

/* ─── iFly Airport Markers (Origin & Destination Badges + Dots) ─── */
.ifly-airport-marker {
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
  user-select: none;
  z-index: 500;
  white-space: nowrap;
}

.ifly-airport-marker.origin {
  flex-direction: row;
}

.ifly-airport-marker.destination {
  flex-direction: row;
}

.ifly-airport-code-label {
  padding: 2px 6px;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
  line-height: 1.3;
}

.ifly-airport-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.65);
  flex-shrink: 0;
}

/* Theme Toggle Button in Header / HUD */
.siav-theme-toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(14, 21, 33, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  user-select: none;
}

.siav-theme-toggle-pill:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.6);
}


