:root {
  color-scheme: dark;
  --ink: #f4f8fb;
  --muted: #91a6b5;
  --dim: #657b8a;
  --panel: rgba(8, 20, 31, 0.91);
  --panel-soft: rgba(12, 31, 44, 0.76);
  --line: rgba(164, 205, 224, 0.15);
  --cyan: #6fe3e4;
  --orange: #ffb266;
  --lime: #b6f18c;
  --map-bg: #081922;
  --map-element-plane: #f6ffff;
  --map-element-plane-glow: rgba(111, 227, 228, .95);
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #152b38;
  --muted: #5d7480;
  --dim: #728992;
  --panel: rgba(247, 251, 252, .94);
  --panel-soft: rgba(237, 247, 249, .86);
  --line: rgb(30 75 91 / 9%);
  --cyan: #06585a;
  --orange: #d5772c;
  --lime: #5e9c35;
  --map-bg: #e6eef0;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  overflow: hidden;
  background: var(--map-bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button { font: inherit; }

.app-shell, #map { height: 100%; width: 100%; }

#map { background: var(--map-bg); }

/* Startup screens mirror Driver's splash/start-menu flow while using
   Horizons' persisted theme and visual language. */
#splash, #start-menu {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--map-bg);
  color: var(--ink);
  transition: opacity .5s ease;
}

#splash {
  z-index: 2000;
}

#start-menu {
  z-index: 1900;
  box-shadow: 0 0 25px rgba(0, 0, 0, .3) inset;
}

#splash.hidden, #start-menu.hidden {
  opacity: 0;
  pointer-events: none;
}

#splash-logo {
  width: 220px;
  height: 220px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ebebeb url("assets/horizons-logo-1-4.png") no-repeat center;
  background-size: cover;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .2), 0 2px 4px rgba(0, 0, 0, .1), inset 0 0 0 1px rgba(255, 255, 255, .05);
}

#menu-buttons { width: min(920px, calc(100% - 32px)); }

.menu-buttons-big {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 8vw, 100px);
}

.menu-button-big {
  min-width: 0;
  height: 360px;
  padding: 30px 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-soft);
  box-shadow: rgba(14, 30, 37, .12) 0 2px 4px, rgba(14, 30, 37, .32) 0 2px 16px;
  color: var(--cyan);
  font: inherit;
  font-size: clamp(140px, 17vw, 160px);
  line-height: 1;
  text-align: center;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.menu-button-big:hover, .menu-button-big:focus-visible {
  transform: scale(1.04);
  border-color: rgba(111, 227, 228, .54);
  background: rgba(111, 227, 228, .1);
  color: var(--ink);
  outline: none;
}

.menu-button-big span {
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 750;
  letter-spacing: .04em;
}

.menu-button-big small {
  min-height: 1.2em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.menu-button-status-placeholder { visibility: hidden; }

.menu-button-big:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.menu-button-big:disabled:hover {
  transform: none;
  border-color: var(--line);
  background: var(--panel-soft);
  color: var(--cyan);
}

.radar-panel {
  position: absolute;
  z-index: 700;
  top: 12px;
  right: 12px;
  display: none;
  width: 330px;
  padding: 17px;
  border-radius: 16px;
}
.app-shell.radar-mode .flight-panel,
.app-shell.radar-mode .hud-left,
.app-shell.radar-mode .hud-right,
.app-shell.radar-mode #flight-reset-inflight { display: none !important; }
.app-shell.radar-mode .radar-mode-hidden { display: none; }
.app-shell.radar-mode .radar-panel { display: block; }
.radar-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.radar-heading-actions { display: flex; align-items: center; gap: 7px; }
.radar-dismiss { display: none; }
.radar-follow { display: none; }
.radar-panel.has-selection .radar-dismiss { display: grid; }
.radar-panel.has-selection .radar-follow { display: grid; }
#deselect-radar-flight[hidden] { display: none; }
#follow-radar-flight[hidden] { display: none; }
#follow-radar-flight.active { color: var(--cyan); border-color: rgba(111, 227, 228, .62); background: rgba(111, 227, 228, .1); }
.radar-hint { margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.radar-flight-details { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.radar-flight-details.hidden { display: none; }
.radar-route-codes { display: flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 20px; font-weight: 800; letter-spacing: .04em; }
.radar-route-codes i { font-size: 14px; }
.radar-airport-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.radar-airport-grid div { min-width: 0; }
.radar-airport-grid span { display: block; color: var(--dim); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.radar-airport-grid strong { display: block; overflow: hidden; margin-top: 4px; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.radar-metrics { display: flex; gap: 8px; margin-top: 15px; }
.radar-metrics span { flex: 1; color: var(--dim); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.radar-metrics b { display: block; margin-bottom: 3px; color: var(--ink); font-size: 12px; letter-spacing: 0; }
.radar-footer { display: flex; justify-content: space-between; margin-top: 15px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.radar-canvas { position: absolute; z-index: 450; pointer-events: none; will-change: transform; }

.start-menu-banner {
  position: absolute;
  top: 32px;
  width: 108px;
  height: 108px;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}

.leaflet-container { font-family: inherit; background: var(--map-bg); }
.leaflet-tile { filter: saturate(.72) brightness(.83); }
:root[data-theme="light"] .leaflet-tile { filter: saturate(.62) brightness(1.05); }
.leaflet-control-zoom { display: none; }
.leaflet-control-attribution { display: none; }
.app-shell.inflight .leaflet-tooltip { display: none !important; }

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
  backdrop-filter: blur(16px);
}

.topbar {
  position: absolute;
  z-index: 600;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
  padding: 13px 16px;
  border-radius: 14px;
}

/* hide the topbar while in-flight */
.topbar.inflight { display: none; }

.brand-mark { display: flex; align-items: end; gap: 3px; height: 24px; padding: 0 4px; }
.brand-mark span { display: block; width: 4px; border-radius: 4px; background: var(--cyan); transform: skew(-24deg); }
.brand-mark span:nth-child(1) { height: 11px; opacity: .55; }
.brand-mark span:nth-child(2) { height: 18px; opacity: .8; }
.brand-mark span:nth-child(3) { height: 24px; }

.eyebrow {
  margin: 0 0 3px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .19em;
}

h1, h2, p { margin: 0; }
h1 { font-size: 21px; line-height: 1; letter-spacing: -.04em; font-weight: 750; }
h2 { font-size: 19px; line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }

.dataset-status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.flight-panel {
  position: absolute;
  z-index: 600;
  top: 12px;
  right: 12px;
  width: 315px;
  padding: 20px;
  border-radius: 16px;
}

/* compact layout while in-flight */
.flight-panel.inflight {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  right: 70px;
  height: 48px;
  width: 170px;
}
.flight-panel.inflight .flight-readout { width: 100%; }

.panel-heading, .progress-row, .flight-footer { display: flex; align-items: center; justify-content: space-between; }
.panel-heading { margin-bottom: 22px; }

.icon-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: .2s ease;
}
.icon-button:hover { color: var(--ink); border-color: rgba(111, 227, 228, .5); background: rgba(111, 227, 228, .08); }

/* floating in-flight reset button (moved out of the flight-panel container) */
#flight-reset-inflight {
  position: absolute;
  z-index: 700;
  display: none;
  top: 12px;
  right: 12px;
  border-radius: 10px;
}
.app-shell.inflight #flight-reset-inflight { display: grid; }
@media (max-width: 700px) {
  #flight-reset-inflight { top: 12px; right: 12px; width: 48px; height: 48px; }
}

/* full-width primary start button variant */
.primary-action {
  display: inline-grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  height: 40px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--panel);
  background: var(--cyan);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(111, 227, 228, .08);
}
.primary-action:disabled { opacity: .6; cursor: default; box-shadow: none; background: rgba(111,227,228,.16); color: var(--muted); }

.route-fields { position: relative; }
.airport-field {
  display: block;
  width: 100%;
  padding: 11px 13px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}
.airport-field:hover, .airport-field.active { border-color: rgba(111, 227, 228, .52); background: rgba(111, 227, 228, .06); }
.airport-field.active .field-kicker { color: var(--cyan); }
.airport-field strong { display: block; margin: 4px 0 1px; font-size: 24px; letter-spacing: .06em; line-height: 1; }
#departure-name, #arrival-name { display: block; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.field-kicker { display: flex; align-items: center; gap: 7px; color: var(--dim); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.route-line { height: 15px; margin-left: 18px; border-left: 1px dashed rgba(164, 205, 224, .36); }

.flight-readout.hidden { display: none; }
.progress-row { margin-bottom: 8px; color: var(--cyan); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.progress-row span:last-child { color: var(--muted); }
.progress-track { height: 3px; overflow: hidden; border-radius: 5px; background: rgba(164, 205, 224, .13); }
.progress-track span { display: block; width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--lime)); box-shadow: 0 0 12px var(--cyan); transition: width .18s linear; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; padding: 22px 0 18px; }
.stat span { display: block; margin-bottom: 4px; color: var(--dim); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.stat strong { font-size: 15px; letter-spacing: .02em; }
.flight-footer { padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.flight-footer span:last-child { color: var(--lime); }

.menu-dock {
  position: absolute;
  z-index: 700;
  bottom: 12px;
  left: 12px;
}

/* Keep the menu dock anchored to its normal corner in every flight state. */
.menu-dock.inflight {
  bottom: 12px;
}

.menu-sheet {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 226px;
  padding: 15px;
  border-radius: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px);
  transition: opacity .18s ease, transform .18s ease;
}
.menu-dock.open .menu-sheet { opacity: 1; pointer-events: auto; transform: translateY(0); }
.menu-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 15px; }
.menu-heading .eyebrow { margin: 0; }
.menu-label { color: var(--dim); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.theme-setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.map-element-setting { align-items: flex-start; flex-direction: column; gap: 6px; }
.setting-name { color: var(--ink); font-size: 12px; font-weight: 650; }
.theme-options { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 7px; background: rgba(125, 160, 170, .08); }
.map-element-options { width: 100%; justify-content: space-between; }
.theme-button {
  padding: 5px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  transition: .18s ease;
}
.theme-button:hover { color: var(--ink); }
.theme-button.active { background: var(--ink); color: var(--panel); box-shadow: 0 2px 7px rgba(0, 0, 0, .13); }
.menu-divider { height: 1.5px; margin: 14px 0 11px; background: var(--line); }
.menu-airport-count {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
}
.menu-footer { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px; }
.menu-version { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.menu-return {
  width: fit-content;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(125, 160, 170, .06);
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  transition: .18s ease;
}
.menu-return:hover, .menu-return:focus-visible { border-color: rgba(111, 227, 228, .54); background: rgba(111, 227, 228, .09); color: var(--ink); outline: none; }
.menu-toggle {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.menu-toggle:hover, .menu-dock.open .menu-toggle { border-color: rgba(111, 227, 228, .54); background: rgba(111, 227, 228, .09); }
.menu-toggle i { color: var(--ink); font-size: 16px; transition: transform .18s ease, opacity .18s ease; }

/* Keep the dock’s count legible against the light basemap as well. */
.menu-dock .legend-dot { flex: 0 0 auto; }

/* HUD panels for in-flight condensed displays */
.hud-left, .hud-right {
  position: absolute;
  z-index: 650;
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  height: 48px;
  font-size: 12px;
  color: var(--ink);
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.hud-left.hidden, .hud-right.hidden { display: none; }

.hud-left {
  right: 12px;
  height: 90px;
  bottom: 74px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 120px;
}
.hud-right {
  right: 12px;
  bottom: 12px;
  flex-direction: row;
  gap: 18px;
  min-width: 220px;
  justify-content: flex-end;
}

.hud-line { display:flex; flex-direction:column; gap:2px; align-items:flex-start; min-width: 56px; }
.hud-line strong { font-weight:800; font-size:14px; }
.hud-sub { font-size:10px; color:var(--muted); font-weight:700; letter-spacing:.09em; }

.airport-dot { fill: #8ddadc; fill-opacity: .74; stroke: #d5ffff; stroke-opacity: .28; stroke-width: .7; }
.airport-dot:hover { fill: #fff; fill-opacity: 1; stroke-width: 1.3; }
.selected-departure { fill: var(--cyan); fill-opacity: 1; stroke: #eaffff; stroke-width: 2; }
.selected-arrival { fill: var(--cyan); fill-opacity: 1; stroke: #dffefe; stroke-width: 2; }
.route-path { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 4 8; stroke-linecap: round; fill: none; opacity: .75; }
.route-glow { stroke: var(--cyan); stroke-width: 8; opacity: .12; fill: none; }
.plane-icon-wrap { width: 30px; height: 30px; display: block; overflow: visible; }
.plane-icon-artwork { position: relative; width: 30px; height: 30px; transform-origin: center; }
.plane-icon-shadow,
.plane-icon-outline,
.plane-icon {
  position: absolute;
  inset: 0;
  width: 30px;
  height: 30px;
  -webkit-mask: url("assets/sprites/sprite_0016.png") center / contain no-repeat;
  mask: url("assets/sprites/sprite_0016.png") center / contain no-repeat;
}
.plane-icon-shadow { background-color: #000; transform: translate(-4px, 4px); opacity: .5; }
.plane-icon-outline { background-color: #2d2600; }
.plane-icon-outline-left { transform: translateX(-1px); }
.plane-icon-outline-right { transform: translateX(1px); }
.plane-icon-outline-up { transform: translateY(-1px); }
.plane-icon-outline-down { transform: translateY(1px); }
.plane-icon { background-color: #fff; }

@keyframes pulse { 50% { opacity: .35; } }

@media (max-width: 700px) {
  .menu-buttons-big { grid-template-columns: 1fr; gap: 14px; }
  .menu-button-big { height: min(270px, 34vh); padding: 20px; font-size: min(26vw, 130px); }
  .menu-button-big span { margin-top: 12px; font-size: clamp(34px, 10vw, 52px); }
  .menu-button-big small { margin-top: 7px; font-size: 10px; }
  .start-menu-banner { top: 18px; width: 72px; height: 72px; }

  .radar-panel { top: 12px; right: 68px; left: 12px; width: auto; padding: 13px; border-radius: 13px; }
  .radar-hint { margin-top: 9px; font-size: 11px; }
  .radar-flight-details { margin-top: 10px; padding-top: 10px; }
  .radar-airport-grid { margin-top: 10px; }
  .radar-metrics { margin-top: 10px; }
  .radar-footer { margin-top: 10px; }

  .topbar { top: 12px; left: 12px; min-width: 0; padding: 11px 13px; }
  .dataset-status { display: none; }
  /* The dock owns the lower-left corner, so the preflight card leaves it a
     dedicated gutter and uses a two-column route layout. */
  .flight-panel:not(.inflight) {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 68px;
    width: auto;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 12px;
    border-radius: 13px;
  }
  .flight-panel:not(.inflight) .panel-heading { margin-bottom: 10px; }
  .flight-panel:not(.inflight) h2 { font-size: 15px; }
  .flight-panel:not(.inflight) .route-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .flight-panel:not(.inflight) .route-line { display: none; }
  .flight-panel:not(.inflight) .airport-field { padding: 8px 9px 9px; }
  .flight-panel:not(.inflight) .airport-field strong { margin-top: 3px; font-size: 18px; }
  .flight-panel:not(.inflight) .preflight-block { grid-column: 1 / -1; margin-top: 2px !important; }
  .flight-panel:not(.inflight) .preflight-stats { gap: 6px !important; font-size: 11px !important; }
  .flight-panel:not(.inflight) .preflight-label { font-size: 9px !important; }
  .flight-panel:not(.inflight) .primary-action { height: 36px !important; font-size: 12px; }

  /* In-flight readout becomes a slim top status bar, leaving the map and
     bottom controls available for the HUD. */
  .flight-panel.inflight {
    top: 12px;
    right: 68px;
    bottom: auto;
    left: 12px;
    width: auto;
    height: 48px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 12px;
  }
  .flight-panel.inflight .flight-readout { margin: 0; padding: 0; }
  .flight-panel.inflight .flight-route-codes { font-size: 18px; }
  .flight-panel.inflight #progress-short { font-size: 11px; }

  .hud-left, .hud-right {
    left: 12px;
    right: 12px;
    width: auto;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 12px;
    gap: 8px;
  }
  .hud-left {
    height: 48px;
    left: 68px;
    bottom: 12px;
    flex-direction: row;
    justify-content: space-between;
  }
  .hud-right {
    bottom: 70px;
    justify-content: space-between;
  }
  .hud-line, .hud-line-alt { flex: 1; min-width: 0; align-items: center; text-align: center; }
  .hud-line strong { font-size: 12px; white-space: nowrap; }
  .hud-sub { font-size: 8px; letter-spacing: .1em; }

  .menu-dock { bottom: 12px; left: 12px; }
  .menu-dock.inflight { bottom: 12px; }
  .menu-sheet { width: 218px; }
}
.panel-actions { display: flex; align-items: center; gap: 8px; }
.preflight-block { margin-top: 12px; }
.preflight-stats { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; text-align: center; }
.preflight-stat { flex: 1; min-width: 0; }
.preflight-stat-eta { color: var(--lime); }
.preflight-label { color: var(--dim); font-size: 11px; }
.preflight-start { margin-top: 12px; }
.setting-toggle{
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(125, 160, 170, .08);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.menu-spacer { height: 10px; }
.speed-control { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 700; }
.speed-input {
  width: 64px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(125, 160, 170, .08);
  color: var(--ink);
  font: inherit;
  text-align: left;
}
.speed-input:focus { outline: 1px solid var(--cyan); border-color: var(--cyan); }

/* ensure the heading's icon buttons are visually centered */
.panel-heading .icon-button { align-self: center; }

/* slightly smaller / subtle icon for the random button when needed */
#random-flight { font-size: 15px; width: 30px; height: 30px; }

/* runway availability badge shown in airport fields */
.airport-field { position: relative; }
.airport-field .runway-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 12px;
  z-index: 2;
  opacity: 0.98;
}
:root[data-theme="light"] .airport-field .runway-check { color: var(--ink);}
:root[data-theme="dark"] .airport-field .runway-check { color: var(--ink); }
.hud-line-alt{min-width: 70px}
.flight-readout { position: relative; padding: 0 4px; }
.flight-readout-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flight-route-wrap { display: flex; align-items: center; gap: 8px; }
.flight-route-codes{
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 800;
  gap: 7px;
}
.flight-progress-short { color: var(--muted); font-size: 11px; font-weight: 800; }
.flight-route-codes i{
  font-size: 14px;
}

@media (max-width: 700px) {
  .flight-readout > div { justify-content: center; text-align: center; }
  .flight-readout > div .flight-progress-short { position: absolute; right: 10px; }
}
