.earth-globe {
  position:absolute; width:80%; aspect-ratio:1; left:-36%; bottom:-43%;
  border-radius:50%; opacity:.64;
  background:linear-gradient(125deg,#18334822,#081623e8 74%),url("../../assets/story/earth-map.jpg") 38% 48% / auto 100%;
  box-shadow:0 0 0 3px #81c9e829,0 0 36px #4fbde852;
}
[data-illustrated="earth"] #visual-caption:empty { display:none; }
.crew-badge { position:absolute; left:5%; top:13%; max-width:42%; padding:8px 10px; border:1px solid #4f807f; border-radius:8px; background:#0a1b29ef; }
.crew-badge small { color:var(--muted); font:10px var(--mono); }
.crew-badge strong { display:block; margin-top:5px; overflow-wrap:anywhere; color:var(--mint); font-size:14px; }
.heart-fallback { position:absolute; top:25%; left:50%; color:#ffc385; }
.visual:has(#guide-view canvas) .heart-fallback { display:none; }
[data-illustrated="gravity"] .visual {
  background:radial-gradient(ellipse at 53% 48%,#385666,#152335 78%);
}
.orbit-wall {
  position:absolute; inset:4% 5%; border-radius:30% / 20%;
  border:9px solid #25384a; box-shadow:0 0 0 1px #89b5c65e,inset 0 0 0 1px #89b5c65e,inset 0 0 25px #090f1c;
}
.orbit-wall i {
  position:absolute; top:19%; bottom:20%; left:4%; width:7%;
  border:1px solid #738da1; border-radius:7px;
  background:repeating-linear-gradient(180deg,#3b5268 0 8px,#263c4b 8px 10px);
}
.orbit-wall i:last-child { left:auto; right:4%; }
.orbit-port {
  position:absolute; top:19%; right:14%; width:clamp(70px,31%,210px); aspect-ratio:1;
  border:7px solid #577386; border-radius:50%; overflow:hidden;
  background:radial-gradient(circle at 25% 29%,#d6f2ff 0 1px,transparent 2px),radial-gradient(circle at 85% 37%,#fff 0 1px,transparent 2px),#08192b;
  box-shadow:0 0 0 2px #859aa9,0 0 0 6px #263c50,0 0 25px #070e1b77,inset 0 0 13px #0b1527;
}
.orbit-port i {
  position:absolute; width:125%; aspect-ratio:1; border-radius:50%; top:44%; left:-13%;
  background:linear-gradient(155deg,#47afda26,#0a1f3380),url("../../assets/story/earth-map.jpg") 37% 35% / auto 130%;
  box-shadow:0 0 10px 3px #55c8ff8f,inset 0 2px 5px #c5ecff;
  transform:rotate(-23deg);
}
.exercise-station {
  position:absolute; bottom:12%; left:11%; width:78%; height:11%;
  border:1px solid #728395; border-radius:7px;
  background:linear-gradient(#435a6c,#172a39 42%,#213241);
  transform:perspective(250px) rotateX(26deg);
  box-shadow:0 12px 18px #0b1724b0;
}
.exercise-station i {
  position:absolute; inset:12% 24% 44%; border:1px solid #506478; border-radius:3px;
  background:repeating-linear-gradient(90deg,#102336 0 7px,#365064 7px 10px);
}
.exercise-station span {
  position:absolute; bottom:13%; left:6%; color:#b9d1e1; font:clamp(7px,1vw,10px) var(--mono); letter-spacing:.06em;
}
.visual[data-effect="training"] .exercise-station { border-color:var(--mint); box-shadow:0 0 20px #8bf4db55; }
[data-illustrated="gravity"] .mission-clock { top:54px; }
#orbit-annotation {
  position:absolute; left:6%; bottom:19%; max-width:40%;
  padding:6px 9px; border:1px solid #7b9baa; border-radius:5px;
  background:#102234ed; color:#e1f0f8; font-size:clamp(12px,1.4vw,15px);
  animation:badge-in .35s ease-out both;
}
[data-effect="loss"] #orbit-annotation { border-color:var(--amber); }
[data-effect="training"] #orbit-annotation { border-color:var(--mint); }

@media(max-width:620px) {
  .preflight-laptop { bottom:5%; }
  .preflight-desk { bottom:5%; }
  .laptop-lid { padding:4px; border-radius:7px 7px 3px 3px; }
  .laptop-screen { gap:3px; }
  .orbit-wall,.orbit-port { border-width:4px; }
  .orbit-port { top:21%; right:12%; width:25%; }
  [data-illustrated="gravity"] .mission-clock { top:33px; }
  #orbit-annotation { bottom:23%; }
}
