:root {
  color-scheme: dark;
  --ink: #060a14;
  --panel: #0c1321;
  --line: #27384b;
  --text: #f1f6ff;
  --muted: #9eafc5;
  --blue: #a4d9ff;
  --bright: #79caff;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-family: Arial, "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--ink);
  color: var(--text);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: white; }
button, select, input { font: inherit; }
button, select {
  min-height: 44px;
  background: #101c2d;
  border: 1px solid #344963;
  color: var(--text);
  border-radius: 5px;
}
button { cursor: pointer; padding: 0 13px; }
button:hover, select:hover { background: #1a3048; }
:focus-visible { outline: 2px solid #a5dbff; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.site-header { border-bottom: 1px solid #202c3b; }
.header-inner, main { max-width: 1440px; margin: auto; padding-inline: clamp(16px, 4vw, 60px); }
.header-inner { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; font-size: 14px; letter-spacing: .16em; }
.brand small { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .25em; font-weight: 400; }
.return-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-block: 28px 21px; }
.eyebrow { margin: 0 0 9px; font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: .15em; }
.eyebrow span { margin-inline: 4px; color: #607b96; }
h1 { margin: 0; font-size: clamp(33px, 4.4vw, 64px); letter-spacing: -.065em; line-height: 1.07; }
.subtitle { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.simulation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 7px 10px;
  border: 1px solid #30455a;
  border-radius: 4px;
  color: var(--blue);
  font-size: 11px;
}
.simulation i, .view-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 9px #79caff70;
}
.mission-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 312px); gap: 14px; align-items: start; }
.flight-deck, .telemetry, .events { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.stage {
  position: relative;
  isolation: isolate;
  height: clamp(365px, 39vw, 550px);
  border-radius: 7px 7px 0 0;
  overflow: hidden;
  background: #02050e;
}
.scene, .scene canvas, .launch-view, .launch-art, .stage-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene { touch-action: none; cursor: grab; }
.scene:active { cursor: grabbing; }
.scene:focus-visible { outline-offset: -3px; }
.launch-view, .stage-shade { pointer-events: none; }
.stage-shade { background: linear-gradient(#020710b0 0%, transparent 25%, transparent 72%, #020710b0); }
.stage-top, .stage-bottom { position: absolute; inset-inline: 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; pointer-events: none; }
.stage-top { top: 14px; }
.stage-bottom { bottom: 15px; align-items: flex-end; }
.view-status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 35px;
  padding: 6px 10px;
  background: #0a1323df;
  border: 1px solid #3a5067;
  border-radius: 4px;
  font-size: 11px;
  color: #d5eaff;
}
.camera-controls, .zoom-controls { display: flex; gap: 4px; pointer-events: auto; }
.camera-controls { padding: 3px; border-radius: 6px; border: 1px solid #3a5067; background: #08111eea; }
.camera-controls button, .zoom-controls button { font-size: 12px; background: #0b1422e8; }
.camera-controls button { border-color: transparent; min-height: 38px; padding-inline: 10px; }
.camera-controls button[aria-pressed="true"] { border-color: #557592; background: #223c54; color: white; }
.camera-controls button:hover, .zoom-controls button:hover { background: #223c54; }
.zoom-controls button { width: 44px; font-size: 20px; padding: 0; }
.stage-readout { display: flex; flex-direction: column; gap: 6px; text-shadow: 0 2px 10px #000; }
.stage-clock { font: 700 clamp(19px, 2.35vw, 31px)/1 var(--mono); color: #e8f5ff; }
.stage-label { color: #d1e5f7; font-size: 12px; }
.view-error { position: absolute; inset: 35% 16px auto; text-align: center; padding: 12px; background: #111c2a; }
.player { padding: 14px 17px 12px; border-top: 1px solid var(--line); }
.observation-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.observation-controls p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.observe { border-color: #6494ba; color: #d3edff; font-size: 13px; font-weight: 700; }
.observe[data-observing="false"] { background: #163552; }
.observe:hover { background: #254a69; }
.timeline input { display: block; width: 100%; height: 30px; margin: 0; accent-color: var(--bright); cursor: pointer; }
.timeline-labels { position: relative; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.timeline-labels span:nth-child(2) { position: absolute; left: 76%; transform: translateX(-50%); }
.play-controls { display: flex; align-items: center; gap: 8px; margin-top: 13px; }
.play { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 132px; background: #a6dfff; border-color: #a6dfff; color: #081522; font-size: 13px; font-weight: 800; }
.play:hover { color: #081522; background: #d4efff; }
#play-icon { width: 14px; }
#restart { font-size: 13px; }
.speed { display: flex; align-items: center; gap: 8px; margin-left: auto; color: var(--muted); font-size: 12px; }
.speed select { min-width: 68px; padding-inline: 8px; cursor: pointer; }
.rate { margin: 9px 0 0; font-size: 11px; color: var(--muted); }
.mission-sidebar { display: grid; gap: 14px; }
.telemetry, .events { padding: 15px; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.panel-heading h2 { margin: 0; color: var(--blue); font-size: 13px; letter-spacing: .07em; }
.panel-caption { color: var(--muted); font-size: 11px; }
.location { margin: 13px 0 5px; font-size: 20px; line-height: 1.35; font-weight: 800; }
.location-detail { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.time-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; margin: 14px 0 5px; padding-top: 12px; border-top: 1px solid var(--line); }
.mission-time { font: 700 15px/1.35 var(--mono); color: #d7eeff; }
.today { margin-top: 10px; width: 100%; text-align: left; color: var(--blue); font-size: 12px; }
.today span { float: right; }
.position-note { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 8px 0 0; }
.event-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 3px; }
.event-button {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  text-align: left;
  width: 100%;
  padding: 7px 8px;
  background: transparent;
  border-color: transparent;
}
.event-button[aria-current="step"] { background: #17283c; border-color: #3e627f; }
.event-dot { width: 8px; height: 8px; margin-left: 2px; border: 1px solid #7993aa; border-radius: 50%; }
.event-button[aria-current="step"] .event-dot { background: var(--bright); border-color: var(--bright); box-shadow: 0 0 9px #79caff80; }
.event-name { font-size: 13px; font-weight: 700; }
.event-date { font: 11px/1.3 var(--mono); color: var(--muted); white-space: nowrap; }
.event-detail { color: var(--muted); margin: 9px 0 0; font-size: 12px; line-height: 1.65; min-height: 39px; }
.mission-footer { margin: 15px 0 24px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.mission-footer p { margin: 0 0 5px; }
.sources { display: flex; flex-wrap: wrap; gap: 5px 15px; }
.sources summary { color: var(--blue); cursor: pointer; }
.sources details p { margin-top: 5px; }
.noscript { padding: 12px; background: #222e3d; }
@media (max-width: 920px) {
  .mission-grid { grid-template-columns: minmax(0, 1fr) minmax(228px, 270px); }
}
@media (max-width: 740px) {
  .header-inner { min-height: 54px; }
  .brand { font-size: 12px; }
  .brand small { font-size: 8px; }
  .return-link { font-size: 12px; }
  .intro { flex-wrap: wrap; gap: 8px; align-items: flex-start; padding-block: 17px 13px; }
  .eyebrow { margin-bottom: 7px; font-size: 10px; }
  .subtitle { font-size: 12px; margin-top: 8px; }
  .simulation { align-self: flex-end; font-size: 10px; padding: 5px 7px; }
  .mission-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .mission-sidebar { gap: 10px; }
  .stage { height: clamp(245px, 73vw, 390px); }
  .stage-top, .stage-bottom { inset-inline: 9px; }
  .stage-top { top: 8px; }
  .stage-bottom { bottom: 10px; }
  .view-status { min-height: 35px; padding-inline: 7px; font-size: 10px; }
  .camera-controls { gap: 1px; padding: 1px; }
  .camera-controls button { min-height: 44px; padding-inline: 7px; font-size: 11px; }
  .player { padding: 10px 12px; }
  .play-controls { margin-top: 10px; }
  .play { min-width: 118px; padding-inline: 9px; }
}
@media (max-width: 370px) {
  .play-controls { gap: 5px; }
  .speed { gap: 4px; }
  .speed select { min-width: 59px; padding-inline: 4px; }
  #restart { padding-inline: 8px; }
}
.object-label {
  position: absolute;
  transform: translate(-50%, -105%);
  padding: 3px 6px;
  border-radius: 3px;
  background: #060e1ada;
  border: 1px solid #466580;
  color: #e3f4ff;
  font: 700 11px/1.1 Arial, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
.scene.launch-active { pointer-events: none; }
@media (max-width: 740px) {
  .play-controls { gap: 6px; }
  #restart { padding-inline: 9px; white-space: nowrap; }
  .speed { gap: 5px; }
  .speed label { white-space: nowrap; }
  .speed select { min-width: 59px; padding-inline: 5px; }
  .stage { scroll-margin-top: 8px; }
}
@media (max-width: 360px) {
  .speed label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
}
