/* ORBIT / ORBITA — concept layer. Everything is scoped to #orbit. */

#orbit {
  --accent: #8ea1ff;
  --accent-glow: rgba(124, 150, 255, .5);
  --accent-soft: rgba(124, 150, 255, .12);
  --core-light: #dbe2ff;
  --core-mid: #526ccc;
  --panel: #070a11;
  --mint: #6af8d3;
  --ink: #f1f5f8;
  --muted: #98a3b2;
  background:
    radial-gradient(ellipse at 16% 10%, rgba(71, 51, 166, .2), transparent 42%),
    radial-gradient(ellipse at 78% 88%, rgba(4, 185, 158, .1), transparent 46%),
    #05060b;
  color: var(--ink);
  font-family: var(--mono);
  min-height: 100vh;
  isolation: isolate;
}

#orbit .orbit-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 6, 11, .45), transparent 16%, transparent 82%, rgba(5, 6, 11, .3)),
    radial-gradient(circle at 42% 45%, transparent 28%, rgba(3, 4, 8, .38) 100%);
}

#orbit .stars { inset: -4%; }
#orbit .stars-a { opacity: .3; animation: orbitStarDriftA 150s linear infinite alternate; }
#orbit .stars-b { opacity: .42; animation: orbitStarDriftB 190s linear infinite alternate; }
#orbit .nebula {
  width: 72vw;
  height: 72vh;
  left: 9%;
  top: 2%;
  filter: blur(52px);
  opacity: .9;
  animation: orbitBreathe 18s ease-in-out infinite alternate;
}

@keyframes orbitStarDriftA {
  to { transform: translate3d(-24px, 18px, 0); }
}
@keyframes orbitStarDriftB {
  to { transform: translate3d(18px, -26px, 0); }
}
@keyframes orbitBreathe {
  to { opacity: .62; transform: rotate(-11deg) scale(1.04); }
}

/* ---------- header ---------- */

#orbit .orbit-head {
  height: 72px;
  padding: 0 26px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 26px;
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, rgba(5, 6, 11, .82), rgba(5, 6, 11, .28));
  backdrop-filter: blur(8px);
}
#orbit .orbit-logo {
  display: flex;
  align-items: center;
  font: 700 11px var(--display);
  letter-spacing: .14em;
  white-space: nowrap;
}
#orbit .orbit-logo > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 10px;
  background: var(--mint);
  color: var(--mint);
  box-shadow: 0 0 0 4px rgba(106, 248, 211, .1), 0 0 18px var(--mint);
  text-shadow: none;
  animation: orbitBeacon 3.2s ease-in-out infinite;
}
#orbit .orbit-logo i {
  margin-left: 10px;
  font: 400 9px var(--mono);
  letter-spacing: .08em;
  color: #7d8798;
}
#orbit .orbit-crumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 8px;
  letter-spacing: .16em;
  color: #7f8899;
}
#orbit .orbit-crumb span { color: #aab3c0; }
#orbit .orbit-crumb i { width: 26px; height: 1px; background: #3c4352; }
#orbit .orbit-crumb b { font-weight: 400; color: #667082; }
#orbit .orbit-head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
#orbit .orbit-date { display: flex; align-items: baseline; gap: 10px; margin: 0; }
#orbit .orbit-date span { font-size: 8px; letter-spacing: .18em; color: #737d8e; }
#orbit .orbit-date b { font-size: 10px; font-weight: 500; letter-spacing: .1em; color: #c9d1dc; }
#orbit .signal { display: flex; align-items: flex-end; gap: 3px; margin: 0; }
#orbit .signal i {
  width: 2px;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  transform-origin: bottom;
  animation: orbitSignal 1.8s ease-in-out infinite alternate;
}
#orbit .signal i:nth-child(1) { height: 6px; animation-delay: -.4s; }
#orbit .signal i:nth-child(2) { height: 10px; animation-delay: -.8s; }
#orbit .signal i:nth-child(3) { height: 14px; animation-delay: -1.2s; }
#orbit .signal span {
  margin-left: 7px;
  font-size: 8px;
  letter-spacing: .13em;
  color: #7f8898;
}
@keyframes orbitBeacon {
  50% { opacity: .5; box-shadow: 0 0 0 7px rgba(106, 248, 211, .03), 0 0 8px var(--mint); }
}
@keyframes orbitSignal {
  to { transform: scaleY(.6); opacity: .55; }
}

/* ---------- layout ---------- */

#orbit .orbit-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 402px;
  min-height: calc(100vh - 137px);
  position: relative;
  z-index: 2;
}

#orbit .solar-map {
  position: relative;
  min-height: calc(100vh - 137px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(35, 55, 112, .26), transparent 55%),
    radial-gradient(circle at 32% 78%, rgba(16, 98, 84, .1), transparent 42%),
    linear-gradient(180deg, #05070d 0%, #04050a 100%);
}
#orbit .solar-map::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(137, 153, 190, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 153, 190, .035) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 78%);
}

/* ---------- map hud ---------- */

#orbit .map-hud {
  position: absolute;
  top: 20px;
  left: 26px;
  right: 26px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
  font-size: 8px;
  letter-spacing: .14em;
  color: #737d8e;
}
#orbit .map-hud-left,
#orbit .map-hud-right { display: flex; align-items: center; gap: 14px; }
#orbit .map-hud b { font-weight: 500; color: #dbe2eb; }
#orbit .map-hud-right span { color: #5f6979; }
#orbit .map-hud-right b { color: var(--mint); font-size: 8px; }
#orbit .hud-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint);
  font-size: 7px;
  letter-spacing: .18em;
}
#orbit .hud-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: orbitBeacon 2.4s ease-in-out infinite;
}
#orbit .coordinates {
  position: absolute;
  z-index: 2;
  color: #4f5868;
  font-size: 7px;
  letter-spacing: .16em;
  pointer-events: none;
}
#orbit .coordinates.x { top: 43px; left: 26px; }
#orbit .coordinates.y { right: 21px; top: 50%; writing-mode: vertical-rl; }

/* ---------- orbit geometry ---------- */

#orbit .orbit-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg);
  border: 1px solid rgba(148, 160, 196, .18);
  border-radius: 50%;
  z-index: 0;
}
#orbit .orbit-line::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(132, 145, 180, .12);
  border-radius: 50%;
}
#orbit .orbit-1 { width: 282px; height: 282px; }
#orbit .orbit-2 { width: 516px; height: 432px; }
#orbit .orbit-3 { width: 782px; height: 626px; }
#orbit .crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  opacity: .2;
  z-index: 0;
}
#orbit .crosshair i:first-child {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 1px solid #99a2bb;
}
#orbit .crosshair i:last-child {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #99a2bb;
}
#orbit .trajectory {
  position: absolute;
  inset: 7% 3%;
  width: 94%;
  height: 86%;
  fill: none;
  stroke: rgba(157, 158, 255, .22);
  stroke-width: 1;
  stroke-dasharray: 3 11;
  pointer-events: none;
  z-index: 1;
}
#orbit .trajectory circle { fill: rgba(199, 204, 255, .6); stroke: none; }

/* ---------- active route (signature connection) ---------- */

#orbit .route-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}
#orbit .route-hover {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
  stroke-dasharray: 2 8;
  opacity: 0;
  transition: opacity .2s ease;
}
#orbit .route-hover.is-visible { opacity: .28; }
#orbit .route-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.25;
  stroke-dasharray: 4 7;
  opacity: .84;
  filter: drop-shadow(0 0 4px var(--accent-glow));
}
#orbit .route-layer.is-live .route-path {
  animation: orbitRouteFlow 1.1s linear infinite;
}
#orbit .route-start {
  fill: var(--accent);
  filter: drop-shadow(0 0 4px var(--accent));
}
#orbit .route-end {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: .9;
  animation: orbitNode 2.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
#orbit .route-comet {
  fill: #fff;
  opacity: 0;
  filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 0 10px var(--accent));
}
@keyframes orbitRouteFlow {
  to { stroke-dashoffset: -22; }
}
@keyframes orbitNode {
  0% { transform: scale(1); opacity: .9; }
  70%, 100% { transform: scale(2.3); opacity: 0; }
}

/* ---------- planets ---------- */

#orbit .planet {
  position: absolute;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9ba3b4;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 6;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), filter .28s ease;
  -webkit-tap-highlight-color: transparent;
}
#orbit .planet::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
}
#orbit .planet i {
  display: block;
  position: relative;
  border-radius: 50%;
  box-shadow:
    0 0 18px currentColor,
    inset -7px -8px 12px rgba(0, 0, 0, .45),
    inset 3px 4px 9px rgba(255, 255, 255, .16);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease;
}
#orbit .planet i::after {
  content: '';
  position: absolute;
  inset: -9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: .22;
  transition: inset .28s ease, opacity .28s ease;
}
#orbit .planet em {
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
  font: 400 7px var(--mono);
  font-style: normal;
  letter-spacing: .1em;
  color: #7a8495;
  opacity: .8;
  pointer-events: none;
}
#orbit .planet b,
#orbit .planet span {
  position: absolute;
  left: calc(50% + 30px);
  right: auto;
  display: block;
  white-space: nowrap;
  text-align: left;
  background: rgba(5, 8, 14, .78);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(5px);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
#orbit .planet b {
  top: calc(50% - 15px);
  padding: 5px 8px 3px;
  border-bottom: 0;
  font: 500 10px/1.15 var(--mono);
  letter-spacing: .11em;
  color: #e6ebf3;
}
#orbit .planet span {
  top: calc(50% + 9px);
  padding: 2px 8px 5px;
  border-top: 0;
  font: 500 9.5px/1.15 var(--mono);
  letter-spacing: .09em;
  color: var(--pcolor, #a6b1c1);
}
#orbit .planet b::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--pcolor, currentColor);
  box-shadow: 0 0 7px var(--pcolor, currentColor);
  vertical-align: 1px;
}
#orbit .planet.code b,
#orbit .planet.code span,
#orbit .planet.language b,
#orbit .planet.language span {
  left: auto;
  right: calc(50% + 30px);
  text-align: right;
}
#orbit .planet:hover { transform: scale(1.03); filter: brightness(1.13); }
#orbit .planet:hover i { transform: scale(1.08); }
#orbit .planet:hover b,
#orbit .planet:hover span { border-color: rgba(255, 255, 255, .25); background: rgba(9, 14, 24, .94); }
#orbit .planet.active b,
#orbit .planet.active span {
  background: color-mix(in srgb, var(--accent) 12%, rgba(5, 8, 14, .9));
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
}
#orbit .planet.active b { color: #fff; }
#orbit .planet.active span { color: var(--accent); }
#orbit .planet.active i {
  transform: scale(1.12);
  box-shadow:
    0 0 24px currentColor,
    0 0 46px var(--accent-glow),
    inset -7px -8px 12px rgba(0, 0, 0, .45),
    inset 3px 4px 9px rgba(255, 255, 255, .18);
}
#orbit .planet.active i::after {
  inset: -12px;
  border-color: var(--accent);
  opacity: .75;
  animation: orbitTarget 2.2s ease-out infinite;
}
#orbit .planet.active em { color: var(--accent); opacity: 1; }
@keyframes orbitTarget {
  0% { transform: scale(1); opacity: .75; }
  70%, 100% { transform: scale(1.38); opacity: 0; }
}
#orbit .planet:focus-visible { outline: none; }
#orbit .planet:focus-visible i {
  box-shadow:
    0 0 0 4px #05060b,
    0 0 0 6px #fff,
    0 0 26px currentColor;
}
#orbit .planet:focus-visible b {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}

#orbit .planet.math { left: 17.5%; top: 26%; color: #7c96ff; --pcolor: #8ea1ff; }
#orbit .planet.math i {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle at 30% 25%, #e2e7ff, #526ccc 42%, #151d55 78%);
}
#orbit .planet.bio { left: 19%; bottom: 17%; color: #57f5bf; --pcolor: #57f5bf; }
#orbit .planet.bio i {
  width: 29px;
  height: 29px;
  background: radial-gradient(circle at 30% 25%, #d4fff0, #25a97e 45%, #083c32 80%);
}
#orbit .planet.language { right: 14%; top: 19%; color: #ffb75e; --pcolor: #ffb75e; }
#orbit .planet.language i {
  width: 30px;
  height: 30px;
  background: radial-gradient(circle at 30% 25%, #fff0cf, #d57a2b 45%, #4a220d 80%);
}
#orbit .planet.code { right: 9.5%; bottom: 20%; color: #df8bff; --pcolor: #df8bff; }
#orbit .planet.code i {
  width: 43px;
  height: 43px;
  background: radial-gradient(circle at 30% 25%, #f6d5ff, #9241bd 43%, #32104c 80%);
}
#orbit .planet.art { left: 44%; top: 7.5%; color: #ff7893; --pcolor: #ff7893; }
#orbit .planet.art i {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 32% 28%, #ffd3dd, #da365d 48%, #64132a 82%);
}

/* ---------- knowledge core ---------- */

#orbit .knowledge-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 232px;
  height: 232px;
  display: grid;
  place-items: center;
  z-index: 5;
  transition: transform .15s ease-out;
}
#orbit .core-halo {
  position: absolute;
  inset: -46px;
  border-radius: 50%;
  background: conic-gradient(from 40deg, transparent, var(--accent-glow), transparent 38%, rgba(118, 92, 255, .24), transparent 72%);
  filter: blur(18px);
  opacity: .8;
  animation: orbitSpin 22s linear infinite;
}
#orbit .core-halo::after {
  content: '';
  position: absolute;
  inset: 29px;
  border: 1px dashed rgba(159, 255, 235, .4);
  border-radius: 50%;
}
#orbit .core-reticle {
  position: absolute;
  inset: -22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  animation: orbitSpin 70s linear infinite reverse;
  pointer-events: none;
}
#orbit .core-reticle i {
  position: absolute;
  width: 9px;
  height: 1px;
  background: rgba(173, 255, 238, .55);
}
#orbit .core-reticle i:nth-child(1) { left: -4px; top: 50%; }
#orbit .core-reticle i:nth-child(2) { right: -4px; top: 50%; }
#orbit .core-reticle i:nth-child(3) { top: -4px; left: 50%; width: 1px; height: 9px; }
#orbit .core-reticle i:nth-child(4) { bottom: -4px; left: 50%; width: 1px; height: 9px; }
@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}
#orbit .core-body {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 34% 27%, var(--core-light), var(--core-mid) 34%, #101d45 66%, #05070f 76%);
  box-shadow:
    0 0 48px var(--accent-glow),
    0 0 110px rgba(85, 255, 215, .12),
    inset -22px -26px 42px rgba(0, 0, 0, .62),
    inset 8px 10px 26px rgba(255, 255, 255, .1);
  transition: box-shadow .5s ease;
}
#orbit .core-body::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(229, 255, 249, .34);
  border-radius: 50%;
  pointer-events: none;
}
#orbit .core-body::after {
  content: '';
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 12%;
  height: 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(2, 6, 12, .48), transparent 70%);
  pointer-events: none;
}
#orbit .core-body > span {
  position: static;
  z-index: 2;
  margin-top: 20px;
  font: 500 9px var(--mono);
  letter-spacing: .18em;
  color: color-mix(in srgb, var(--accent) 72%, #fff);
  text-shadow: 0 0 8px var(--accent-glow);
}
#orbit .core-value {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  margin-top: 1px;
}
#orbit .core-body b {
  font: 800 58px/1 var(--display);
  letter-spacing: -.09em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
  font-variant-numeric: tabular-nums;
}
#orbit .core-body em {
  margin: 0 0 0 4px;
  font: 400 11px var(--mono);
  font-style: normal;
  color: rgba(255, 255, 255, .72);
}
#orbit .core-sweep {
  position: absolute;
  z-index: 1;
  left: 8%;
  right: 8%;
  top: -30%;
  height: 22%;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: rotate(-18deg);
  animation: orbitCoreSweep 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbitCoreSweep {
  0%, 25% { top: -30%; opacity: 0; }
  35% { opacity: 1; }
  65%, 100% { top: 112%; opacity: 0; }
}
#orbit .knowledge-core p {
  position: absolute;
  top: 201px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: 230px;
  text-align: center;
  font: 500 9px/1.5 var(--mono);
  letter-spacing: .17em;
  color: #b7c3cc;
}
#orbit .knowledge-core.receiving .core-body {
  animation: orbitCoreReceive .7s cubic-bezier(.2, .8, .2, 1);
}
#orbit .knowledge-core.receiving .core-halo { opacity: 1; filter: blur(23px); }
@keyframes orbitCoreReceive {
  0% { transform: scale(1); }
  35% { transform: scale(1.055); }
  100% { transform: scale(1); }
}

/* ---------- map footer ---------- */

#orbit .map-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(5, 7, 12, .58), rgba(5, 7, 12, .94) 55%);
  backdrop-filter: blur(10px);
}
#orbit .map-instruction {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font: 500 8px var(--mono);
  letter-spacing: .13em;
  color: #8d97a8;
}
#orbit .map-instruction i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(106, 248, 211, .5);
  flex: 0 0 auto;
}
#orbit .map-instruction span { color: #5f6979; letter-spacing: .06em; }
#orbit .map-to-mission {
  margin-left: auto;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(10, 15, 24, .72);
  color: #c9d2df;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 8px var(--mono);
  letter-spacing: .12em;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
#orbit .map-to-mission b { font-weight: 500; color: var(--accent); }
#orbit .map-to-mission span { color: var(--accent); font-size: 12px; line-height: 1; }
#orbit .map-to-mission:hover { border-color: var(--accent); background: rgba(16, 23, 38, .92); color: #fff; }
#orbit .map-to-mission:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
#orbit .map-to-mission.is-prompted { animation: orbitPrompt .6s ease; }
@keyframes orbitPrompt {
  40% { border-color: var(--accent); box-shadow: 0 0 22px var(--accent-glow); }
}

/* ---------- flight plan ---------- */

#orbit .flight-plan {
  position: relative;
  scroll-margin-top: 14px;
  display: flex;
  flex-direction: column;
  padding: 26px 30px 24px;
  border-left: 1px solid rgba(255, 255, 255, .1);
  background:
    radial-gradient(circle at 100% 0, var(--accent-soft), transparent 38%),
    linear-gradient(160deg, rgba(12, 15, 24, .98), rgba(6, 8, 14, .99));
  overflow: hidden;
}
#orbit .flight-plan:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -6px;
}
#orbit .flight-plan::before {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(255, 255, 255, .055);
  pointer-events: none;
}
#orbit .flight-plan::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .8;
  pointer-events: none;
}
#orbit .panel-sweep {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-110%);
  background: linear-gradient(180deg, transparent 20%, var(--accent-soft) 48%, rgba(255, 255, 255, .04) 55%, transparent 80%);
}
#orbit .flight-plan.is-receiving .panel-sweep { animation: orbitPanelSweep .9s cubic-bezier(.2, .7, .2, 1); }
@keyframes orbitPanelSweep {
  0% { opacity: 0; transform: translateY(-110%); }
  22% { opacity: 1; }
  100% { opacity: 0; transform: translateY(110%); }
}
#orbit .flight-plan > :not(.panel-sweep) { position: relative; z-index: 2; }
#orbit .flight-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
#orbit .flight-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 8px;
  letter-spacing: .18em;
  color: #808a9b;
}
#orbit .flight-title b {
  font: 300 34px/0.8 var(--mono);
  letter-spacing: -.04em;
  color: #edf2f6;
}
#orbit .flight-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 23px;
  padding: 0 7px;
  border: 1px solid rgba(106, 248, 211, .28);
  background: rgba(106, 248, 211, .04);
  color: #83e9cd;
  font-size: 7px;
  letter-spacing: .12em;
  white-space: nowrap;
}
#orbit .flight-state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 7px var(--mint);
}
#orbit .flight-plan.is-running .flight-state {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
#orbit .flight-plan.is-running .flight-state i {
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent);
  animation: orbitBeacon 1.3s ease-in-out infinite;
}
#orbit .flight-plan.is-paused .flight-state {
  border-color: #ffce6a;
  color: #ffce6a;
  background: rgba(255, 206, 106, .06);
}
#orbit .flight-plan.is-paused .flight-state i {
  background: #ffce6a;
  box-shadow: 0 0 8px #ffce6a;
}
#orbit .flight-state.is-updated {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}
#orbit .flight-state.is-updated i {
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent);
}

#orbit .mission-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 23px 0 0;
  font-size: 8px;
  letter-spacing: .13em;
  color: #818b9b;
}
#orbit .mission-kicker b {
  font-weight: 500;
  color: var(--accent);
}
#orbit #flightSector { color: #626d7d; font-size: 7px; white-space: nowrap; }
#orbit .flight-plan h1 {
  font: 500 clamp(26px, 2vw, 30px)/1.1 var(--display);
  letter-spacing: -.055em;
  color: #f4f7fa;
  margin: 13px 0 11px;
  max-width: 340px;
  overflow-wrap: break-word;
}
#orbit .flight-plan > p {
  margin: 0;
  max-width: 320px;
  font: 400 12px/1.65 var(--sans);
  color: #a4aebc;
}
#orbit .mission-meter {
  display: block;
  margin: 19px 0 0;
  padding-top: 15px;
  border-top: 1px dashed rgba(255, 255, 255, .12);
}
#orbit .meter-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
#orbit .meter-line span {
  font-size: 8px;
  letter-spacing: .15em;
  color: #8a94a4;
}
#orbit .meter-line b {
  font: 500 17px var(--mono);
  letter-spacing: -.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
#orbit .meter-track {
  position: relative;
  height: 6px;
  margin-top: 9px;
  background: #1a2030;
  overflow: hidden;
}
#orbit .meter-track > i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--core-mid), var(--accent));
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width .45s cubic-bezier(.2, .8, .2, 1), background .4s ease;
}
#orbit .meter-ticks {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
}
#orbit .meter-ticks i { border-right: 1px solid rgba(5, 7, 12, .85); }
#orbit .meter-ticks i:last-child { border-right: 0; }
#orbit .meter-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 7px;
  letter-spacing: .08em;
  color: #646f7f;
}
#orbit .meter-note span:first-child { color: #9aa5b4; }

#orbit .flight-timeline {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .075);
}
#orbit .flight-timeline > div {
  display: grid;
  grid-template-columns: 40px 13px minmax(0, 1fr) auto;
  gap: 9px;
  min-height: 50px;
  position: relative;
}
#orbit .flight-timeline > div::after {
  content: '';
  position: absolute;
  left: 46px;
  top: 14px;
  bottom: -1px;
  border-left: 1px solid rgba(255, 255, 255, .11);
}
#orbit .flight-timeline > div:last-child::after { display: none; }
#orbit .flight-timeline > div.passed::after { border-color: rgba(106, 248, 211, .35); }
#orbit .flight-timeline time {
  font-size: 8px;
  line-height: 1.2;
  color: #707b8b;
  font-variant-numeric: tabular-nums;
}
#orbit .flight-timeline i {
  position: relative;
  width: 8px;
  height: 8px;
  margin-top: 2px;
  border: 1px solid #596475;
  border-radius: 50%;
  background: #0a0d15;
  z-index: 1;
}
#orbit .flight-timeline .passed i {
  border-color: rgba(106, 248, 211, .65);
  background: rgba(106, 248, 211, .75);
  box-shadow: 0 0 8px rgba(106, 248, 211, .3);
}
#orbit .flight-timeline .current {
  margin-left: -10px;
  padding: 2px 0 2px 10px;
  background: linear-gradient(90deg, var(--accent-soft), transparent 82%);
}
#orbit .flight-timeline .current::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 4px;
  width: 2px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}
#orbit .flight-timeline .current::after { left: 56px; border-color: rgba(255, 255, 255, .16); }
#orbit .flight-timeline .current i {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
#orbit .flight-timeline .current i::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: orbitTarget 2.2s ease-out infinite;
}
#orbit .flight-timeline p { margin: 0; min-width: 0; }
#orbit .flight-timeline b,
#orbit .flight-timeline span { display: block; }
#orbit .flight-timeline b {
  font: 600 11.5px/1.25 var(--sans);
  color: #c9d2dd;
  letter-spacing: -.01em;
}
#orbit .flight-timeline span {
  margin-top: 3px;
  font: 400 9px/1.3 var(--mono);
  color: #747f8f;
}
#orbit .flight-timeline .current b { color: #fff; }
#orbit .flight-timeline > div > em {
  align-self: start;
  margin-top: 1px;
  font: 500 7px var(--mono);
  font-style: normal;
  letter-spacing: .09em;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  padding: 2px 4px;
  white-space: nowrap;
}
#orbit .flight-timeline .passed > em {
  border-color: rgba(106, 248, 211, .25);
  color: rgba(106, 248, 211, .7);
}
#orbit .flight-timeline > div.current.is-updated p { animation: orbitStepFlash .55s ease; }
@keyframes orbitStepFlash {
  35% { transform: translateX(3px); filter: brightness(1.35); }
}
#orbit .flight-plan.is-running .flight-timeline .current > em {
  color: #06100d;
  background: var(--accent);
  border-color: var(--accent);
}

#orbit .launch-zone {
  margin-top: auto;
  padding-top: 16px;
}
#orbit .session-hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 25px;
  padding: 0 2px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 8px;
  letter-spacing: .12em;
  color: #667182;
}
#orbit .session-hud span { display: inline-flex; align-items: center; gap: 6px; }
#orbit .session-hud i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #465062;
}
#orbit .session-hud b { font-weight: 500; color: #8f99a8; }
#orbit .session-hud time {
  font: 500 12px var(--mono);
  letter-spacing: .04em;
  color: #7b8595;
  font-variant-numeric: tabular-nums;
}
#orbit .flight-plan.has-session .session-hud { color: var(--accent); }
#orbit .flight-plan.has-session .session-hud i {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
#orbit .flight-plan.has-session .session-hud b { color: var(--accent); }
#orbit .flight-plan.has-session .session-hud time { color: #f0f5f8; }
#orbit .launch-button {
  width: 100%;
  min-height: 52px;
  margin-top: 7px;
  padding: 0 15px 0 17px;
  border: 1px solid var(--mint);
  background: var(--mint);
  color: #05110e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font: 600 10px var(--mono);
  letter-spacing: .12em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s ease, background .25s ease, color .25s ease, transform .25s ease;
}
#orbit .launch-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .3) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}
#orbit .launch-button:hover {
  box-shadow: 0 0 30px rgba(106, 248, 211, .35);
  transform: translateY(-1px);
}
#orbit .launch-button:hover::before { transform: translateX(120%); }
#orbit .launch-button i {
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  transition: transform .25s ease;
}
#orbit .launch-button:hover i { transform: translate(2px, -2px); }
#orbit .launch-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
#orbit .launch-button.running {
  background: rgba(106, 248, 211, .05);
  color: var(--mint);
  box-shadow: inset 0 0 26px rgba(106, 248, 211, .07);
}
#orbit .launch-button.running:hover { transform: none; }
#orbit .flight-note {
  display: block;
  min-height: 12px;
  margin-top: 8px;
  text-align: center;
  font: 400 7px/1.4 var(--mono);
  letter-spacing: .07em;
  color: #5f6979;
}
#orbit .flight-plan.has-session .flight-note { color: #8b95a4; }

/* ---------- footer ---------- */

#orbit .orbit-footer {
  min-height: 65px;
  padding: 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(5, 6, 11, .9);
  display: flex;
  align-items: center;
  gap: 38px;
  position: relative;
  z-index: 10;
}
#orbit .orbit-footer > div { display: flex; align-items: baseline; gap: 9px; }
#orbit .orbit-footer span {
  font-size: 7px;
  letter-spacing: .13em;
  color: #6c7686;
}
#orbit .orbit-footer b { font-size: 11px; font-weight: 500; color: #d8dfe8; }
#orbit .orbit-footer p {
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
  letter-spacing: .08em;
  color: #737e8e;
}
#orbit .orbit-footer p i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

#orbit .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
  #orbit .orbit-dashboard { grid-template-columns: minmax(0, 1fr) 350px; }
  #orbit .flight-plan { padding: 24px 24px 22px; }
  #orbit .flight-plan h1 { font-size: 23px; }
  #orbit .orbit-footer { gap: 26px; }
  #orbit .orbit-crumb { display: none; }
}

@media (max-width: 980px) {
  #orbit .orbit-head { gap: 18px; }
  #orbit .orbit-dashboard { display: block; min-height: 0; }
  #orbit .solar-map { height: 580px; min-height: 580px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  #orbit .flight-plan {
    min-height: 0;
    padding: 30px 34px 32px;
    border-left: 0;
    border-top: 2px solid var(--accent);
  }
  #orbit .flight-plan > :not(.panel-sweep) {
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  #orbit .flight-plan h1 { font-size: 36px; max-width: 560px; }
  #orbit .flight-plan > p { max-width: 540px; font-size: 12px; }
  #orbit .launch-zone { padding-top: 24px; }
  #orbit .launch-button { max-width: 620px; }
  #orbit .orbit-footer { display: none; }
}

@media (max-width: 760px) {
  #orbit .orbit-head { height: 60px; padding: 0 18px; }
  #orbit .orbit-logo i { display: none; }
  #orbit .orbit-date span { display: none; }
  #orbit .orbit-head-right { gap: 16px; }
  #orbit .signal span { display: none; }
  #orbit .signal { margin-left: 0; }
  #orbit .solar-map { height: 560px; min-height: 560px; }
  #orbit .flight-plan { padding: 26px 22px 28px; }
  #orbit .flight-plan h1 { font-size: clamp(25px, 5.2vw, 32px); }
  #orbit .map-hud { left: 18px; right: 18px; gap: 10px; }
  #orbit .map-hud-right { display: none; }
  #orbit .coordinates.x { left: 18px; }
  #orbit .map-bottom { padding: 0 18px; }
  #orbit .flight-timeline > div { grid-template-columns: 38px 12px minmax(0, 1fr) auto; gap: 8px; }
  #orbit .flight-timeline > div::after { left: 43px; }
  #orbit .flight-timeline .current::after { left: 53px; }
}

@media (max-width: 600px) {
  #orbit .orbit-head { height: 56px; padding: 0 15px; gap: 12px; }
  #orbit .orbit-logo { font-size: 10px; letter-spacing: .12em; }
  #orbit .orbit-logo > span { width: 7px; height: 7px; margin-right: 8px; }
  #orbit .orbit-date b { font-size: 9px; }
  #orbit .orbit-head-right { gap: 13px; }
  #orbit .signal span { display: none; }
  #orbit .solar-map { height: 480px; min-height: 480px; transform: none; margin: 0; }
  #orbit .map-hud { top: 15px; left: 15px; right: 15px; font-size: 7px; letter-spacing: .1em; }
  #orbit .map-hud-left { gap: 8px; }
  #orbit .map-hud-left > span:last-child { display: none; }
  #orbit .coordinates.x { top: 37px; left: 15px; font-size: 6px; }
  #orbit .coordinates.y { display: none; }
  #orbit .orbit-1 { width: 172px; height: 172px; }
  #orbit .orbit-2 { width: 326px; height: 278px; }
  #orbit .orbit-3 { width: 548px; height: 446px; }
  #orbit .crosshair { width: 352px; height: 352px; }
  #orbit .trajectory { opacity: .55; }

  #orbit .planet { width: 44px; height: 44px; }
  #orbit .planet.math { left: 9%; top: 27%; right: auto; bottom: auto; }
  #orbit .planet.math i { width: 34px; height: 34px; }
  #orbit .planet.bio { left: 9%; top: 68%; right: auto; bottom: auto; }
  #orbit .planet.bio i { width: 27px; height: 27px; }
  #orbit .planet.language { left: auto; right: 7%; top: 24%; bottom: auto; }
  #orbit .planet.language i { width: 27px; height: 27px; }
  #orbit .planet.code { left: auto; right: 6%; top: 63%; bottom: auto; }
  #orbit .planet.code i { width: 36px; height: 36px; }
  #orbit .planet.art { left: 44%; top: 8%; right: auto; bottom: auto; }
  #orbit .planet.art i { width: 20px; height: 20px; }
  #orbit .planet b,
  #orbit .planet span { left: calc(50% + 25px); }
  #orbit .planet.code b,
  #orbit .planet.code span,
  #orbit .planet.language b,
  #orbit .planet.language span { left: auto; right: calc(50% + 25px); }
  #orbit .planet b { top: calc(50% - 15px); padding: 4px 6px 2px; font-size: 8.5px; letter-spacing: .07em; }
  #orbit .planet span { top: calc(50% + 8px); padding: 1px 6px 4px; font-size: 8.5px; }
  #orbit .planet b::before { width: 3px; height: 3px; margin-right: 4px; }
  #orbit .planet em { top: -10px; font-size: 6px; }
  #orbit .planet i::after { inset: -7px; }
  #orbit .planet.active i::after { inset: -10px; }

  #orbit .knowledge-core { width: 190px; height: 190px; }
  #orbit .core-body { width: 138px; height: 138px; }
  #orbit .core-body > span { margin-top: 14px; font-size: 8px; }
  #orbit .core-body b { font-size: 47px; }
  #orbit .core-body em { font-size: 9px; }
  #orbit .core-halo { inset: -30px; filter: blur(14px); }
  #orbit .core-halo::after { inset: 24px; }
  #orbit .core-reticle { inset: -15px; }
  #orbit .knowledge-core p { top: 165px; width: 190px; font-size: 8px; letter-spacing: .12em; }

  #orbit .map-bottom { min-height: 50px; padding: 0 15px; gap: 10px; }
  #orbit .map-instruction { font-size: 8px; letter-spacing: .07em; gap: 7px; white-space: nowrap; }
  #orbit .map-instruction span { display: none; }
  #orbit .map-instruction i { width: 6px; height: 6px; }
  #orbit .map-to-mission { min-height: 36px; padding: 0 9px; font-size: 8.5px; gap: 6px; }
  #orbit .map-to-mission span { font-size: 11px; }

  #orbit .flight-plan { padding: 24px 20px 28px; }
  #orbit .flight-title { font-size: 7px; }
  #orbit .flight-title b { font-size: 30px; }
  #orbit .flight-state { min-height: 21px; font-size: 6px; padding: 0 5px; }
  #orbit .mission-kicker { margin-top: 18px; font-size: 7px; }
  #orbit #flightSector { font-size: 6px; }
  #orbit .flight-plan h1 {
    font-size: clamp(24px, 7.2vw, 29px);
    line-height: 1.1;
    margin: 11px 0 10px;
    max-width: none;
  }
  #orbit .flight-plan > p { font-size: 11.5px; line-height: 1.6; max-width: none; }
  #orbit .mission-meter { margin-top: 17px; padding-top: 13px; }
  #orbit .meter-line span { font-size: 7px; }
  #orbit .meter-line b { font-size: 15px; }
  #orbit .meter-note { font-size: 6px; }
  #orbit .flight-timeline { margin-top: 16px; padding-top: 12px; }
  #orbit .flight-timeline > div { min-height: 49px; grid-template-columns: 37px 11px minmax(0, 1fr) auto; gap: 7px; }
  #orbit .flight-timeline > div::after { left: 42px; }
  #orbit .flight-timeline .current::after { left: 52px; }
  #orbit .flight-timeline time { font-size: 7px; }
  #orbit .flight-timeline b { font-size: 11px; }
  #orbit .flight-timeline span { font-size: 8px; }
  #orbit .flight-timeline > div > em { font-size: 6px; padding: 2px 3px; }
  #orbit .launch-zone { padding-top: 18px; }
  #orbit .session-hud { font-size: 7px; }
  #orbit .session-hud time { font-size: 11px; }
  #orbit .launch-button { min-height: 50px; font-size: 9px; }
  #orbit .flight-note { font-size: 6.5px; }
}

@media (max-width: 380px) {
  #orbit .flight-plan h1 { font-size: 23px; }
  #orbit .map-instruction { font-size: 6px; }
  #orbit .planet b,
  #orbit .planet span { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  #orbit *,
  #orbit *::before,
  #orbit *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Short desktop viewports: keep the whole flight plan above the fold. */
@media (min-width: 981px) and (max-height: 840px) {
  #orbit .flight-plan { padding: 20px 30px 18px; }
  #orbit .mission-kicker { margin-top: 18px; }
  #orbit .flight-plan h1 { margin: 10px 0 8px; }
  #orbit .mission-meter { margin-top: 15px; padding-top: 12px; }
  #orbit .flight-timeline { margin-top: 14px; padding-top: 10px; }
  #orbit .flight-timeline > div { min-height: 46px; }
  #orbit .launch-zone { padding-top: 12px; }
}
@media (min-width: 981px) and (max-height: 780px) {
  #orbit .flight-plan { padding: 18px 26px 16px; }
  #orbit .flight-timeline > div { min-height: 44px; }
  #orbit .flight-timeline span { font-size: 8px; }
  #orbit .flight-plan > p { font-size: 11px; }
}
