/* ═══════════════════════════════════════════════════════════════
   MISSION CONTROL — space portal (youxi--1--16)
   CRT telemetry, orbital slots, mission log, modules,
   countdown cards, capsules, ground stations, archive.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --space: #0B1020;
  --panel: #141B33;
  --panel-2: #1C2745;
  --crt: #55E6A5;
  --amber: #FFC55C;
  --alert: #FF6B6B;
  --star: #E8ECF8;
  --star-soft: #8E9BC2;
  --line: rgba(85, 230, 165, .22);
  --mono: 'Consolas', 'Courier New', monospace;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', sans-serif;
  --sec-gap: 32px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .35) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, .3) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 34%, rgba(255, 255, 255, .22) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 68%, rgba(255, 255, 255, .28) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 80%, rgba(255, 255, 255, .3) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 56%, rgba(255, 255, 255, .2) 0 1px, transparent 2px),
    var(--space);
  color: var(--star);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; display: block; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.wrap { max-width: 620px; margin: 0 auto; padding: 0 18px; }
.sec { margin-top: var(--sec-gap); min-width: 0; }

/* ═══ CONSOLE header ══════════════════════════════════════════════ */
.console {
  position: relative;
  z-index: 50;
  background: var(--panel);
  border-bottom: 2px solid var(--crt);
}
.console-in { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.console-name {
  font-family: var(--mono);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--crt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  display: block;
}
.console-name::before { content: '● '; color: var(--alert); }
.console-search {
  margin-left: auto;
  flex: none;
  width: 34px; height: 34px;
  border: 1.5px solid var(--crt);
  border-radius: 4px;
  color: var(--crt);
  display: grid;
  place-items: center;
}
.console-search:active { background: var(--crt); color: var(--space); }
.console-beep {
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--crt) 0 8px, transparent 8px 14px);
  opacity: .5;
}

/* channel nav */
.chan-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
}
.chan-row::-webkit-scrollbar { display: none; }
.chan-btn {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--star);
  background: var(--panel-2);
  border: 1.5px solid var(--line);
  border-radius: 3px;
  padding: 7px 12px;
}
.chan-btn.on { background: var(--crt); color: var(--space); border-color: var(--crt); }

/* search */
.uplink-search { display: flex; gap: 8px; margin-top: 14px; }
.uplink-input {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--crt);
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  outline: none;
}
.uplink-input::placeholder { color: var(--star-soft); }
.uplink-go {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--space);
  background: var(--amber);
  border-radius: 4px;
  padding: 0 18px;
}
.uplink-go:active { filter: brightness(.88); }

/* loading */
.loading-full {
  position: fixed; inset: 0;
  background: var(--space);
  display: grid; place-items: center;
  z-index: 90;
}
.loading-scan {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 2px solid var(--line);
  position: relative;
  overflow: hidden;
}
.loading-scan::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--crt);
  animation: orbit 1s linear infinite;
}
@keyframes orbit { to { transform: rotate(360deg); } }
.loading-txt {
  display: block; text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--crt);
}

/* ═══ SEC-RULE — section headers w/ dashed rule ═══ */
.sec-rule {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 13px;
  font-family: var(--mono);
}
.sec-rule span {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--crt);
  white-space: nowrap;
}
.sec-rule span::before { content: '// '; color: var(--amber); }
.sec-rule em {
  flex: none;
  font-style: normal;
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--star-soft);
  white-space: nowrap;
}
.sec-rule::after {
  content: '';
  flex: 1;
  align-self: center;
  height: 2px;
  min-width: 24px;
  background: repeating-linear-gradient(90deg, var(--crt) 0 10px, transparent 10px 15px);
  opacity: .35;
}

/* ═══ 1) LAUNCH WINDOW hero ═══ */
.window-card { display: flex; flex-direction: column; gap: 10px; }
.window-main {
  position: relative;
  display: flex;
  gap: 14px;
  background:
    radial-gradient(circle at 88% 12%, rgba(85, 230, 165, .12), transparent 45%),
    linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 13px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(7, 18, 12, .8), 0 8px 22px rgba(0, 0, 0, .45);
}
.window-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(85, 230, 165, .04) 2px 3px);
  pointer-events: none;
}
.window-art {
  position: relative;
  flex: none;
  width: 104px;
  align-self: stretch;
  border-radius: 9px;
  overflow: hidden;
  border: 2px solid var(--crt);
  background: var(--panel-2);
}
.window-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.window-badge {
  position: absolute;
  top: 7px; left: 7px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--space);
  background: var(--crt);
  border-radius: 4px;
  padding: 3px 8px;
}
.window-scan {
  position: absolute;
  left: 0; right: 0;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(85, 230, 165, .22), transparent);
  animation: mc-scan 3.2s ease-in-out infinite;
}
@keyframes mc-scan {
  0%, 100% { top: 8%; }
  50% { top: 82%; }
}
.window-body { position: relative; min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.window-k {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
}
.window-nm {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--crt);
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.window-desc {
  font-size: 12px;
  color: var(--star-soft);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.window-meta { display: flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 10.5px; }
.window-cat {
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--space);
  background: var(--amber);
  border-radius: 3px;
  padding: 2.5px 9px;
}
.ph-stars { color: var(--amber); letter-spacing: .12em; }
.ph-stars i { font-style: normal; }
.ph-stars .off { opacity: .3; }
.window-cta {
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--space);
  background: linear-gradient(90deg, var(--crt), #9CF3C9);
  border-radius: 999px;
  padding: 8px 18px;
  box-shadow: 0 0 16px rgba(85, 230, 165, .35);
}
.window-side { display: flex; gap: 10px; }
.window-chip {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel);
  border: 1.5px dashed var(--line);
  border-radius: 9px;
  padding: 10px 11px;
}
.wc-dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(255, 197, 92, .8);
}
.wc-txt { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wc-txt b {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--star);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wc-txt small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--star-soft); }
.wc-arrow { flex: none; color: var(--crt); font-size: 12px; }
.window-gauge {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 4px 7px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 10px 11px;
  font-family: var(--mono);
}
.wg-label { font-size: 8.5px; letter-spacing: .18em; color: var(--star-soft); }
.wg-bar { height: 5px; background: rgba(85, 230, 165, .12); border-radius: 3px; overflow: hidden; }
.wg-bar i { display: block; height: 100%; background: var(--crt); border-radius: 3px; }
.wg-bar.wg-ok i { background: var(--amber); }
.wg-num { font-size: 9px; color: var(--crt); text-align: right; }

/* ═══ 2) TELEMETRY ════════════════════════════════════════════════ */
.telemetry {
  background: #07120C;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--mono);
}
.tele-hd {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--star-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
  margin-bottom: 3px;
}
.tele-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(85, 230, 165, .16);
  min-width: 0;
}
.tele-row:last-child { border-bottom: none; }
.tele-row:active { background: rgba(85, 230, 165, .07); }
.tele-idx { flex: none; color: var(--amber); font-size: 12px; width: 30px; }
.tele-row img {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 4px;
  border: 1.5px solid var(--line);
}
.tele-body { min-width: 0; flex: 1; }
.tele-nm {
  display: block;
  font-size: 13px;
  color: var(--crt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tele-desc {
  display: block;
  font-size: 10.5px;
  color: var(--star-soft);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tele-wave { flex: none; display: flex; align-items: center; gap: 2.5px; height: 18px; }
.tele-wave i {
  width: 3px;
  border-radius: 2px;
  background: var(--crt);
  height: 30%;
  animation: mc-wave 1.1s ease-in-out infinite;
}
.tele-wave i:nth-child(2) { height: 55%; animation-delay: .12s; }
.tele-wave i:nth-child(3) { height: 85%; animation-delay: .24s; }
.tele-wave i:nth-child(4) { height: 100%; background: var(--amber); animation-delay: .36s; }
@keyframes mc-wave {
  0%, 100% { transform: scaleY(.45); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}
.tele-hd span:nth-child(3) { color: var(--amber); }

/* ═══ 3) ORBIT SLOTS ══════════════════════════════════════════════ */
.orbit {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(85, 230, 165, .07), transparent 65%), var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 14px 12px 13px;
  overflow: hidden;
}
.orbit::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1.5px dashed var(--line);
}
.orbit-radar {
  position: absolute;
  top: -34px; right: -30px;
  width: 110px; height: 110px;
  border-radius: 50%;
  opacity: .6;
  pointer-events: none;
}
.or-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.or-ring.r2 { inset: 14px; }
.or-ring.r3 { inset: 28px; }
.or-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(85, 230, 165, .35), transparent 70deg);
  animation: mc-sweep 4.5s linear infinite;
}
@keyframes mc-sweep { to { transform: rotate(360deg); } }
.or-blip {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px rgba(255, 197, 92, .9);
}
.or-blip.b1 { top: 26%; left: 58%; }
.or-blip.b2 { top: 52%; left: 78%; }
.or-blip.b3 { top: 40%; left: 36%; }
.orbit-row {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  position: relative;
}
.sat {
  flex: 1;
  min-width: 0;
  text-align: center;
  position: relative;
}
.sat:nth-child(2) { margin-top: 18px; }
.sat:nth-child(4) { margin-top: 18px; }
.sat:nth-child(6) { margin-top: 18px; }
.sat-orbit { display: block; }
.sat-orbit img {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2px solid var(--crt);
  margin: 0 auto;
  position: relative;
  background: var(--panel);
  display: block;
}
.sat-orbit::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 10px; height: 1.5px;
  background: var(--amber);
  opacity: .7;
}
.sat:active .sat-orbit img { border-color: var(--amber); }
.sat:active img { border-color: var(--amber); }
.sat-nm {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  margin-top: 7px;
  color: var(--star);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 4) MISSION LOG ══════════════════════════════════════════════ */
.mlog { background: var(--panel); border-radius: 8px; padding: 5px 14px 5px 40px; border: 1.5px solid var(--line); position: relative; }
.mlog::before {
  content: '';
  position: absolute;
  left: 20px; top: 18px; bottom: 18px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--crt), rgba(85, 230, 165, .15));
}
.mlog-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(85, 230, 165, .18);
  min-width: 0;
  position: relative;
}
.mlog-row:last-child { border-bottom: none; }
.mlog-row:active { background: rgba(85, 230, 165, .05); }
.mlog-node {
  position: absolute;
  left: -27px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--space);
  border: 2px solid var(--crt);
}
.mlog-node.live { background: var(--crt); box-shadow: 0 0 8px rgba(85, 230, 165, .9); animation: mc-pulse 1.6s ease-in-out infinite; }
@keyframes mc-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(85, 230, 165, .6); }
  50% { box-shadow: 0 0 12px rgba(85, 230, 165, 1); }
}
.mlog-t {
  flex: none;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--amber);
  background: rgba(255, 197, 92, .1);
  border-radius: 3px;
  padding: 4px 8px;
}
.mlog-row img {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 4px;
  border: 1.5px solid var(--line);
}
.mlog-body { min-width: 0; flex: 1; }
.mlog-nm {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--crt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mlog-desc {
  display: block;
  font-size: 10.5px;
  color: var(--star-soft);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mlog-arrow { flex: none; color: var(--crt); font-size: 12px; }

/* ═══ 5) MODULES ══════════════════════════════════════════════════ */
.modules { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.module {
  background:
    repeating-linear-gradient(0deg, transparent 0 8px, rgba(85, 230, 165, .04) 8px 9px),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 8px 8px 9px;
  text-align: center;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.module::before, .module::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  opacity: .8;
}
.module::before { top: 5px; left: 5px; }
.module::after { top: 5px; right: 5px; }
.module:active { border-color: var(--crt); }
.module-bay {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .2em;
  color: var(--space);
  background: var(--amber);
  width: max-content;
  margin: 0 auto 6px;
  border-radius: 3px;
  padding: 1.5px 6px;
  position: relative;
  z-index: 1;
}
.module-art { display: block; }
.module-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.module-lock {
  display: block;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .26em;
  color: var(--crt);
  opacity: .7;
  margin-top: 4px;
}
.module-nm {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 6) SIGNAL feature ═══════════════════════════════════════════ */
.signal {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 197, 92, .1), transparent 55%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 2px solid var(--amber);
  border-radius: 10px;
  padding: 16px;
  overflow: hidden;
}
.signal::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 16px, transparent 16px 24px);
  opacity: .6;
}
.sig-dish {
  position: absolute;
  top: -18px; right: -14px;
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
  pointer-events: none;
  animation: mc-sweep 9s linear infinite;
}
.sig-dish i {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}
.sig-dish i:nth-child(2) { inset: 22px; }
.sig-dish i:nth-child(3) { inset: 34px; background: var(--amber); border: none; opacity: .8; }
.sig-coord {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .16em;
  color: var(--star-soft);
  opacity: .85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sig-bars { flex: none; display: flex; align-items: flex-end; gap: 3px; height: 64px; }
.sig-bars i {
  width: 7px;
  background: var(--crt);
  border-radius: 2px;
  opacity: .95;
}
.sig-bars i:nth-child(1) { height: 25%; }
.sig-bars i:nth-child(2) { height: 45%; }
.sig-bars i:nth-child(3) { height: 70%; }
.sig-bars i:nth-child(4) { height: 100%; background: var(--amber); }
.sig-body { min-width: 0; flex: 1; }
.sig-kicker {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}
.sig-nm {
  display: block;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  margin: 5px 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sig-desc {
  display: block;
  font-size: 11.5px;
  color: var(--star-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══ 7) COUNTDOWN ════════════════════════════════════════════════ */
.countdown { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.cd {
  position: relative;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 15px 9px 12px;
  text-align: center;
  overflow: hidden;
  min-width: 0;
}
.cd img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
  position: relative;
}
.cd-nm {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  margin-top: 7px;
  color: var(--crt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 8) CAPSULES ═════════════════════════════════════════════════ */
.caps-row {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 2px 8px;
}
.caps-row::-webkit-scrollbar { display: none; }
.capsule {
  flex: none;
  width: 96px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 48px;
  padding: 10px 9px 9px;
  text-align: center;
  position: relative;
}
.capsule::before, .capsule::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 3px;
  background: var(--line);
  border-radius: 2px;
}
.capsule::before { top: -2px; }
.capsule::after { bottom: -2px; }
.capsule:active { border-color: var(--crt); }
.capsule img {
  width: 62px; height: 62px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  margin: 0 auto;
}
.capsule-nm {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  margin-top: 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 9) GROUND STATIONS ══════════════════════════════════════════ */
.stations { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.station {
  display: flex;
  align-items: center;
  gap: 10px;
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(85, 230, 165, .03) 10px 11px),
    var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 11px 10px;
  min-width: 0;
  position: relative;
}
.station:active { border-color: var(--amber); }
.st-coord {
  flex: none;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .08em;
  color: var(--amber);
  border: 1px solid rgba(255, 197, 92, .45);
  border-radius: 3px;
  padding: 2px 5px;
}
.st-dot {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--crt);
  box-shadow: 0 0 8px rgba(85, 230, 165, .8);
}
.st-body { min-width: 0; flex: 1; }
.st-arrow { flex: none; color: var(--crt); font-size: 11px; opacity: .7; }
.st-body { min-width: 0; flex: 1; }
.st-nm {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.st-ct { display: block; font-size: 10px; color: var(--star-soft); margin-top: 1px; }

/* ═══ 10) MISSION ARCHIVE ═════════════════════════════════════════ */
.archive { background: var(--panel); border-radius: 8px; padding: 5px 14px; border: 1.5px solid var(--line); }
.arc-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(85, 230, 165, .18);
  min-width: 0;
}
.arc-row:last-child { border-bottom: none; }
.arc-row:active { background: rgba(85, 230, 165, .05); }
.arc-code {
  flex: none;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--amber);
  border: 1px solid rgba(255, 197, 92, .5);
  border-radius: 3px;
  padding: 2.5px 7px;
}
.arc-row img {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 4px;
  border: 1.5px solid var(--line);
}
.arc-body { min-width: 0; flex: 1; }
.arc-nm {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--crt);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arc-desc {
  display: block;
  font-size: 10.5px;
  color: var(--star-soft);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.arc-tag {
  flex: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--star-soft);
  border: 1px solid rgba(142, 155, 194, .5);
  border-radius: 3px;
  padding: 2.5px 7px;
}
.more-wrap { margin-top: 14px; text-align: center; }
.more-btn {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--space);
  background: var(--crt);
  border-radius: 4px;
  padding: 11px 26px;
}
.more-btn:active { filter: brightness(.85); }

/* ═══ filter view ═════════════════════════════════════════════════ */
.filter-hd { display: flex; align-items: center; gap: 10px; margin-top: 20px; min-width: 0; }
.filter-back {
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--crt);
  border: 1.5px solid var(--crt);
  border-radius: 3px;
  padding: 6px 12px;
}
.filter-back:active { background: var(--crt); color: var(--space); }
.filter-title {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.filter-cnt {
  flex: none;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--space);
  background: var(--crt);
  border-radius: 3px;
  padding: 3px 10px;
}
.empty-space { text-align: center; padding: 48px 20px; }
.empty-space p { font-size: 38px; margin-bottom: 8px; }
.empty-space span { font-family: var(--mono); font-size: 12px; color: var(--star-soft); }

/* ═══ footer ══════════════════════════════════════════════════════ */
.spacefoot {
  margin-top: 44px;
  background: var(--panel);
  border-top: 2px solid var(--crt);
  padding: 24px 0 40px;
  text-align: center;
}
.spacefoot-name { font-family: var(--mono); font-size: 16px; font-weight: 700; letter-spacing: .1em; color: var(--crt); }
.spacefoot-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--star-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.spacefoot-links a:active { color: var(--crt); }
.spacefoot-fine { margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(142, 155, 194, .6); }

/* ═══ back to top ═════════════════════════════════════════════════ */
.totop-btn {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 60;
  width: 40px; height: 40px;
  border-radius: 4px;
  background: var(--crt);
  color: var(--space);
  font-family: var(--mono);
  font-size: 15px;
  display: grid;
  place-items: center;
}
.totop-btn:active { filter: brightness(.85); }

/* ═══ THEME KIT v3 · 96 mission patches（仅装饰补强，卡片体系已专属） ═══ */
body .tk-div { display: flex; justify-content: center; gap: 14px; padding: 4px 0 14px; }
body .tk-div i { width: 34px; height: 34px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 50% 42%, var(--panel-2), var(--panel));
  box-shadow: 0 0 0 2px var(--crt), 0 0 0 3.5px var(--space), 0 0 0 4.5px rgba(85,230,165,.4), 0 3px 8px rgba(0,0,0,.5); }
body .tk-div i::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(85,230,165,.5); }
body .tk-div i:nth-child(2) { box-shadow: 0 0 0 2px var(--amber), 0 0 0 3.5px var(--space), 0 0 0 4.5px rgba(255,197,92,.4), 0 3px 8px rgba(0,0,0,.5); }
body .tk-div i:nth-child(2)::after { border-color: rgba(255,197,92,.5); }
body .tk-div i:nth-child(4) { box-shadow: 0 0 0 2px var(--alert), 0 0 0 3.5px var(--space), 0 0 0 4.5px rgba(255,107,107,.35), 0 3px 8px rgba(0,0,0,.5); }
body .tk-div i:nth-child(4)::after { border-color: rgba(255,107,107,.45); }


/* ═══════════════════════════════════════════════════════
   THEME KIT v4 — section panels + control depth — site 96
   panel: sharp/r2 · odd-even alternate · theme vars
   ═══════════════════════════════════════════════════════ */
body .sec {
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel-2) 55%, transparent), color-mix(in srgb, var(--space) 48%, transparent) 88%);
  border: 1px solid color-mix(in srgb, var(--crt) 22%, transparent);
  border-top: 2px solid color-mix(in srgb, var(--crt) 58%, transparent);
  border-radius: 2px;
  padding-top: 15px; padding-bottom: 17px;
  box-shadow: 0 8px 18px -12px rgba(0,0,0,.6);
}
body .sec:nth-of-type(even) {
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 52%, transparent), color-mix(in srgb, var(--space) 50%, transparent) 85%);
  border-top-color: color-mix(in srgb, var(--crt) 34%, transparent);
}

/* ── control depth: nav chips ── */
body .chan-btn {
  background-image: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 62%);
  box-shadow: 0 2px 5px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .16s ease, box-shadow .16s ease;
}
body .chan-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 5px 10px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.14);
}
body .chan-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0,0,0,.35), inset 0 2px 5px rgba(0,0,0,.28);
}

/* ── control depth: CTA buttons (3D base + press) ── */
body .uplink-go, body .more-btn, body .filter-back {
  box-shadow: 0 3px 0 color-mix(in srgb, var(--crt) 45%, #000), 0 7px 14px -4px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
body .uplink-go:hover, body .more-btn:hover, body .filter-back:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--crt) 45%, #000), 0 10px 18px -5px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.28);
}
body .uplink-go:active, body .more-btn:active, body .filter-back:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--crt) 45%, #000), inset 0 2px 5px rgba(0,0,0,.28);
}

/* ── control depth: tags / rating chips / tickets ── */
body .arc-tag {
  box-shadow: 0 2px 6px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.09);
}
