:root {
  color-scheme: dark;
  --bg: #080d13;
  --panel: #101820;
  --ink: #f4f1e6;
  --muted: #a7b2b7;
  --line: #2a353d;
  --gold: #f2d396;
  --green: #9dddc3;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
p { line-height: 1.7; }
.skip { position: absolute; z-index: 9; left: 16px; top: 8px; padding: 10px; background: #1a242e; transform: translateY(-160%); }
.skip:focus { transform: none; }
.masthead, .section, .facts, footer { width: min(1260px, calc(100% - 100px)); margin-inline: auto; }
.masthead { position: relative; z-index: 2; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; font-weight: 720; letter-spacing: .13em; }
.brand small { display: block; color: var(--muted); font: 10px/1.5 var(--mono); letter-spacing: .12em; }
.seal { width: 31px; aspect-ratio: 1; border: 1px solid #7b725e; border-radius: 50%; position: relative; }
.seal::before { content: ""; position: absolute; inset: 6px 8px 7px 5px; border-radius: 50%; box-shadow: -4px 2px var(--gold); transform: translate(3px,-1px); }
.seal::after { content: ""; position: absolute; top: 7px; right: 6px; width: 3px; aspect-ratio: 1; background: var(--gold); border-radius: 50%; }
nav { display: flex; gap: clamp(18px, 3vw, 44px); color: var(--muted); font-size: .92rem; }
nav a:hover, footer a:hover { color: var(--gold); }
.hero { position: relative; min-height: clamp(545px, 48vw, 720px); width: min(1440px, 100%); margin-inline: auto; isolation: isolate; overflow: hidden; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 1; margin-left: max(50px, calc((100% - 1260px)/2)); padding-block: 62px 100px; }
.hero-art { position: absolute; inset: 0; background: radial-gradient(ellipse at 74% 48%, #1a252b 0%, #0b111a 39%, var(--bg) 70%); }
.hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg,#080d13 0%,#080d13b5 28%,transparent 54%), linear-gradient(0deg,var(--bg),transparent 20%); }
.moon-globe { position: absolute; width: min(53vw, 695px); height: auto; left: 49%; top: 48%; transform: translateY(-50%); }
.moon-globe img { display: block; width: 100%; height: auto; }
.hero-stars { position: absolute; inset: 0; opacity: .55; background: radial-gradient(circle at 79% 16%, #e8cfa0 0 1px, transparent 2px), radial-gradient(circle at 92% 31%, #a9c2cc 0 1px, transparent 2px), radial-gradient(circle at 64% 17%, #8ea2af 0 .8px, transparent 1.6px), radial-gradient(circle at 55% 45%, #c5d6dc 0 1px, transparent 1.7px), radial-gradient(circle at 94% 65%, #c5d6dc 0 .8px, transparent 1.6px), radial-gradient(circle at 49% 77%, #e8cfa0 0 1px, transparent 1.7px), radial-gradient(circle at 81% 83%, #a9c2cc 0 1px, transparent 1.8px); }
.moon-orbit { position: absolute; border: 1px solid #f2d39642; border-radius: 50%; width: 56%; height: 33%; left: 44%; top: 33%; transform: rotate(-25deg); }
.orbit-outer { border-style: dashed; }
.orbit-inner { transform: rotate(-25deg) scale(.87); z-index: 1; border-color: #d5b58354; clip-path: inset(51% 0 0 0); }
.moon-mark { position: absolute; z-index: 1; left: 53.81%; top: calc(72.59% - 8px); display: flex; align-items: flex-start; color: var(--gold); font-size: .84rem; gap: 9px; }
.moon-mark i { width: 24px; margin-top: 8px; border-top: 1px solid var(--gold); position: relative; }
.moon-mark i::before { content: ""; position: absolute; width: 6px; height: 6px; left: -4px; top: -4px; border: 1px solid var(--gold); border-radius: 50%; }
.moon-mark small { display: block; color: #d3c8b3; font-size: .72rem; }
.hero-caption { position: absolute; inset: auto max(50px, calc((100% - 1260px)/2)) 17px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: .78rem/1.5 var(--mono); }
.eyebrow { margin: 0 0 14px; color: var(--gold); font: 500 .88rem/1.45 var(--mono); letter-spacing: .11em; }
.eyebrow > span, .view-label > span:first-child { display: inline-block; vertical-align: 2px; width: 7px; height: 7px; margin-right: 7px; background: var(--gold); border-radius: 50%; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0 0 17px -.065em; font: 800 clamp(68px, 9vw, 138px)/1.14 var(--serif); letter-spacing: .055em; white-space: nowrap; }
.hero h1 span { color: var(--gold); }
.hero-subtitle { margin-bottom: 13px; color: var(--ink); font-size: clamp(19px, 2vw, 27px); letter-spacing: .03em; }
.hero-description { margin-bottom: 25px; color: var(--muted); }
.mobile-break { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px 27px; }
.primary { display: inline-flex; min-height: 47px; align-items: center; justify-content: space-between; gap: 24px; padding: 11px 18px; border: 1px solid var(--gold); border-radius: 3px; background: var(--gold); color: #19160f; font-weight: 750; }
.primary:hover { background: #ffe7b6; }
.primary:disabled { opacity: .6; }
.quiet-link { display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid #978363; color: var(--ink); padding-block: 3px 5px; }
.quiet-link:hover { color: var(--gold); }
.facts { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--line); }
.facts > div { padding: 23px 6.6%; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts span { display: block; color: var(--muted); font-size: .9rem; }
.facts strong { display: block; margin-top: 8px; font: 500 clamp(21px, 3.4vw, 43px)/1 var(--mono); white-space: nowrap; }
.facts small { font: .45em/1 system-ui, sans-serif; }
.section { padding: 81px 0 0; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(200px, 365px); gap: 16px 38px; align-items: end; margin-bottom: 28px; }
.section-heading h2 { margin: 0; font: 750 clamp(29px, 4.3vw, 57px)/1.18 var(--serif); letter-spacing: .015em; }
.section-heading > p { color: var(--muted); margin: 0; }
.progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.progress li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; color: var(--muted); border-top: 1px solid var(--line); font-size: .92rem; }
.progress li[aria-current] { border-color: var(--gold); color: var(--gold); }
.progress li[data-complete] { border-color: var(--green); color: var(--green); }
.progress i { font: normal .87rem/1 var(--mono); }
.sim-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(285px,1fr); gap: 14px; }
.views { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.scene { margin: 0; min-height: 290px; flex: 1; position: relative; overflow: hidden; background: #080d16; border: 1px solid var(--line); }
#scene3d, .scene-fallback { position: absolute; inset: 0; }
#scene3d canvas { display: block; width: 100%; height: 100%; }
#scene3d.ready + .scene-fallback { display: none; }
.scene-fallback { overflow: hidden; background: radial-gradient(ellipse at 38% 87%, #293344, transparent 56%); }
.fallback-moon { position: absolute; width: 83%; aspect-ratio: 1; left: -18%; top: 44%; border-radius: 50%; background: url("./assets/moon-hero.webp") center/contain no-repeat; opacity: .7; }
.fallback-ship { position: absolute; top: 44%; height: 35px; width: 23%; border: 2px solid #93b0bd; border-radius: 12px 4px 4px 12px; background: linear-gradient(#354e66,#82919b 49%,#354e66); }
.fallback-ship.ours { left: var(--fallback-x,20%); top: var(--fallback-y,42%); transform: rotate(var(--fallback-roll,0deg)); }
.fallback-ship.target { left: 62%; width: 18%; background: linear-gradient(#917756,#cbb18a 49%,#917756); border-color: #d1bd9c; border-radius: 4px 12px 12px 4px; }
.fallback-container { position: absolute; top: calc(44% + 13px); left: var(--fallback-sample,62%); width: 12px; height: 12px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.view-label, .scene-sides, .scene figcaption { position: absolute; z-index: 1; pointer-events: none; }
.view-label { left: 14px; top: 12px; font: .82rem/1.5 var(--mono); padding: 4px 6px; background: #090e17b5; }
.scene-sides { inset: auto 13px 29px; display: flex; justify-content: space-between; gap: 14px; font-size: .78rem; }
.scene-sides span { padding: 2px 6px; background: #090e17c4; }
.scene figcaption { inset: auto 0 0; background: #090e17d9; color: var(--muted); padding: 4px 14px; font-size: .73rem; }
.reticle-panel { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border: 1px solid var(--line); background: var(--panel); min-height: 106px; }
.reticle-panel p { color: var(--muted); margin: 4px 0 0; font-size: .89rem; }
.reticle { position: relative; flex: 0 0 128px; height: 83px; overflow: hidden; border: 1px solid #40515e; background: linear-gradient(90deg,transparent 49%,#53647360 50%,transparent 51%),linear-gradient(0deg,transparent 49%,#53647360 50%,transparent 51%),#090f17; }
.reticle-target, .reticle-craft { position: absolute; width: 29px; height: 29px; left: calc(50% - 14.5px); top: calc(50% - 14.5px); border: 1px dashed #a4b0bb; border-radius: 50%; }
.reticle-craft { border: 2px solid var(--gold); transform: translate(var(--reticle-x, 0px), var(--reticle-y, 0px)) rotate(var(--reticle-roll, 0deg)); }
.reticle-target::before, .reticle-craft::before { content: ""; position: absolute; width: 2px; height: 8px; background: currentColor; left: calc(50% - 1px); top: -6px; }
.reticle-target { color: #a4b0bb; }
.reticle-craft { color: var(--gold); }
.reticle[data-ready] .reticle-craft { border-color: var(--green); color: var(--green); }
.console { display: flex; flex-direction: column; gap: 10px; padding: clamp(16px, 2.4vw, 30px); border: 1px solid var(--line); background: var(--panel); }
.console-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.console-heading .eyebrow { margin-bottom: 6px; font-size: .73rem; }
.console h3 { margin: 0; font-size: clamp(20px, 2.1vw, 28px); }
.text-button { padding: 3px 0; color: var(--muted); background: transparent; border: 0; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: .86rem; }
.text-button:hover { color: var(--gold); }
.control-note { margin: 0; font-size: .84rem; color: var(--muted); }
.control { display: grid; gap: 4px 8px; grid-template-columns: 1fr auto; padding: 8px 0 0; border-top: 1px solid var(--line); }
.control label { font-size: .95rem; }
.control output { color: var(--gold); font: .88rem/1.5 var(--mono); }
.control output[data-ready] { color: var(--green); }
.control input { grid-column: 1/-1; width: 100%; height: 25px; margin: 0; accent-color: var(--gold); cursor: ew-resize; }
.control input:disabled { cursor: default; opacity: .65; }
.status { margin: 0; min-height: 50px; color: var(--ink); border-left: 2px solid #9a8056; background: #1b232b; padding: 8px 11px; font-size: .88rem; }
.status[data-state="ok"] { border-color: var(--green); }
.status[data-state="retry"] { border-color: #f7a275; }
.wide { width: 100%; margin-top: auto; }
.simulation-note { margin: 12px 0 0; color: var(--muted); font-size: .86rem; }
.archive { padding-bottom: 67px; }
.archive-tabs { display: grid; list-style: none; grid-template-columns: repeat(5,1fr); margin: 0; padding: 0; border: 1px solid var(--line); border-right: 0; }
.archive-tabs button { display: block; width: 100%; height: 100%; text-align: left; background: transparent; color: var(--muted); border: 0; border-right: 1px solid var(--line); padding: 14px 17px; }
.archive-tabs button:hover, .archive-tabs button[aria-pressed="true"] { background: #1a232b; color: var(--ink); }
.archive-tabs button[aria-pressed="true"] { box-shadow: inset 0 -2px var(--gold); }
.archive-tabs time { display: block; color: var(--gold); margin-bottom: 5px; font: .86rem/1.4 var(--mono); }
.archive-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; padding: clamp(18px, 3.4vw, 38px); border: 1px solid var(--line); border-top: 0; background: var(--panel); }
.archive-detail h3 { font: 750 clamp(21px, 2.6vw, 33px)/1.35 var(--serif); margin-bottom: 12px; }
.archive-detail p:not(.eyebrow) { color: var(--muted); }
.archive-detail dl { margin: 0; }
.archive-detail dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.archive-detail dt { color: var(--muted); font-size: .83rem; }
.archive-detail dd { margin: 4px 0 0; color: var(--gold); }
.archive-more { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; border: 1px solid var(--line); padding: 14px 18px; }
.archive-more:hover { border-color: var(--gold); }
.archive-more small { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-block: 20px 25px; color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) {
  .masthead, .section, .facts, footer { width: calc(100% - 56px); }
  .hero-copy { margin-left: 28px; }
  .hero-caption { inset-inline: 28px; }
}
@media (max-width: 700px) {
  .masthead, .section, .facts, footer { width: calc(100% - 32px); }
  .masthead { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 13px; gap: 11px; }
  nav { gap: 22px; }
  .hero { min-height: 540px; align-items: end; }
  .hero-copy { margin-left: 16px; padding-block: 96px 68px; }
  .moon-globe { width: min(100vw, 540px); top: 29%; left: 36%; }
  .hero-art::after { background: linear-gradient(90deg,#080d13 0%,#080d13a0 25%,transparent 65%),linear-gradient(0deg,var(--bg) 6%,#080d138c 41%,transparent 72%); }
  .moon-orbit { left: 30%; top: 20%; width: 83%; height: 25%; }
  .moon-mark { display: none; }
  .hero-caption { inset-inline: 16px; gap: 8px; }
  .hero h1 { font-size: clamp(56px, 13.5vw, 96px); }
  .mobile-break { display: inline; }
  .desktop-break { display: none; }
  .hero-actions { gap: 12px; }
  .facts > div { padding: 15px 6px; }
  .facts span { font-size: .75rem; }
  .facts strong { font-size: clamp(18px, 4.7vw, 32px); }
  .section { padding-top: 54px; }
  .section-heading, .sim-grid, .archive-detail { grid-template-columns: 1fr; }
  .section-heading { gap: 11px; }
  .sim-grid { gap: 10px; }
  .scene { min-height: 245px; }
  .archive-tabs button { padding: 8px 4px; text-align: center; font-size: .76rem; }
  .archive-tabs time { font-size: .68rem; }
  .archive-detail { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 700px) {
  html { scroll-behavior: auto; scroll-padding-top: 14px; }
  .views { display: contents; }
  .reticle-panel { position: sticky; top: 0; z-index: 3; min-height: 86px; }
  .reticle { height: 66px; }
  .control input { height: 32px; }
}

/* The exhibit uses warm copper for actions and pale teal for verified steps. */
:root {
  --bg: #0b1215;
  --panel: #141f23;
  --ink: #f5f0e5;
  --muted: #acb9b7;
  --line: #30413f;
  --gold: #edbc89;
  --green: #9edcc5;
}
.hero { min-height: clamp(500px, 43vw, 660px); }
.hero-copy { padding-block: 76px 100px; }
.hero h1 { font-size: clamp(68px, 8.5vw, 130px); }
.hero-art { background: radial-gradient(ellipse at 75% 47%, #253233 0%, #131f23 39%, var(--bg) 75%); }
.hero-art::after { background: linear-gradient(90deg,#0b1215 0%,#0b1215b5 29%,transparent 55%), linear-gradient(0deg,#0b1215,transparent 27%); }
.moon-globe { width: min(49vw, 650px); left: 50%; top: 47%; }
.orbit-outer { transform: rotate(-25deg) scale(1.03); }
.hero-caption span:first-child { color: var(--gold); }
.mission-route { width: min(1260px, calc(100% - 100px)); margin-inline: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-block: 1px solid var(--line); color: var(--ink); }
.mission-route a { min-height: 88px; display: flex; gap: 14px; align-items: center; padding: 14px 20px; border-right: 1px solid var(--line); }
.mission-route a:last-child { border-right: 0; }
.mission-route a:hover { background: var(--panel); }
.mission-route b { color: var(--gold); font: 600 1.06rem/1.3 var(--mono); }
.mission-route small { display: block; margin-top: 4px; color: var(--muted); font-size: .81rem; }
.mission-route i { margin-left: auto; color: var(--gold); font-style: normal; }
.mission-route [data-complete] i, .mission-route [data-complete] b { color: var(--green); }
.briefing-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.crew-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.crew-list button { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; min-height: 102px; text-align: left; padding: 12px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #111b1e; }
.crew-list button:hover { border-color: var(--gold); background: #182628; }
.crew-list button.answered { border-color: #477064; color: var(--green); background: #132920; cursor: default; }
.crew-list strong, .crew-list small { display: block; }
.crew-list small { color: var(--muted); font-size: .8rem; margin-top: 5px; line-height: 1.45; }
.crew-check { color: var(--gold); }
.crew-list button.answered .crew-check { color: var(--green); font-size: 0; }
.crew-list button.answered .crew-check::after { content: "✓"; font-size: 16px; }
.crew-shape { width: 52px; height: 40px; position: relative; }
.crew-shape::before, .crew-shape::after { content: ""; position: absolute; }
[data-crew="orbiter"] .crew-shape::before { inset: 14px 0; border: 1px solid #708da0; background: repeating-linear-gradient(90deg,#233c4c 0 5px,#557388 5px 6px); }
[data-crew="orbiter"] .crew-shape::after { inset: 6px 17px; border: 1px solid #e9c4a2; border-radius: 3px; background: linear-gradient(90deg,#6f5943,#d8b28c 57%,#7b5b3f); }
[data-crew="ascender"] .crew-shape::before { inset: 8px 12px 9px; background: linear-gradient(90deg,#7d5a38,#dfb682 62%,#937455); border: 1px solid #d6aa80; border-radius: 3px; }
[data-crew="ascender"] .crew-shape::after { inset: 30px 18px 3px; background: #b89e86; clip-path: polygon(25% 0,75% 0,100% 100%,0 100%); }
[data-crew="returner"] .crew-shape::before { inset: 7px 10px 5px; background: linear-gradient(90deg,#725f50,#dec8a9 57%,#976b51); clip-path: polygon(33% 0,67% 0,100% 80%,90% 100%,10% 100%,0 80%); }
[data-crew="returner"] .crew-shape::after { inset: 31px 10px 5px; background: #613f34; border-radius: 0 0 5px 5px; }
[data-crew="lander"] .crew-shape::before { inset: 6px 12px 12px; border: 1px solid #d1a37a; background: linear-gradient(90deg,#71543b,#ddae74 55%,#855d3f); }
[data-crew="lander"] .crew-shape::after { inset: 21px 2px 3px; background: #d4bea5; clip-path: polygon(24% 0,30% 0,16% 85%,24% 85%,24% 100%,0 100%,0 85%,10% 85%,70% 0,76% 0,90% 85%,100% 85%,100% 100%,76% 100%,76% 85%,84% 85%,70% 0,30% 0,24% 0); }
.briefing-card, .reconstruct { padding: clamp(17px, 3vw, 30px); background: var(--panel); border: 1px solid var(--line); }
.briefing-card { display: flex; flex-direction: column; gap: 12px; }
.briefing-card .eyebrow { margin: 0; }
.briefing-card h3, .reconstruct h3 { margin: 0; font: 700 clamp(21px, 2.4vw, 31px)/1.33 var(--serif); }
.briefing-card .activity-actions { margin-top: auto; }
.activity-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.scene-controls { position: absolute; z-index: 2; right: 10px; top: 10px; display: flex; padding: 2px; border: 1px solid #48615e; background: #10181be8; }
.scene-controls button { min-width: 47px; min-height: 33px; border: 0; background: transparent; color: var(--muted); font-size: .83rem; }
.scene-controls button[aria-pressed="true"] { background: #32504d; color: var(--ink); }
.scene-fallback[data-close] { transform: scale(1.24); }
.reticle { flex-basis: 172px; height: 110px; }
.reticle-grid { position: absolute; inset: 0; pointer-events: none; opacity: .4; background: repeating-linear-gradient(0deg,#6d797a33 0 1px,transparent 1px 16px),repeating-linear-gradient(90deg,#6d797a33 0 1px,transparent 1px 16px); }
.reticle { touch-action: none; cursor: crosshair; }
.reticle[data-locked] { touch-action: auto; cursor: default; }
.sample-position { margin: 0; padding: 5px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.sample-position strong { margin-left: 8px; color: var(--gold); }
#sim-status[data-state="ok"] { background: #192c29; }
#sim-status[data-state="retry"] { background: #30241f; }
.reconstruct { margin-top: 28px; }
.reconstruct > p:not(.status), .mission-result p:not(.eyebrow) { color: var(--muted); margin: 12px 0; }
.activity-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.sequence { list-style: none; counter-reset: sample; padding: 12px; min-height: 66px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px dashed #4f6c64; background: #0d181a; margin: 0 0 10px; }
.sequence:empty::before { content: "点击下方记录，按发生顺序排入"; color: var(--muted); font-size: .86rem; }
.sequence li { counter-increment: sample; }
.sequence li::before { content: counter(sample, decimal-leading-zero); margin-right: 5px; color: var(--green); font: .8rem/1.4 var(--mono); }
.archive-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.sequence button, .archive-choices button { min-height: 42px; background: #263b3a; color: var(--ink); border: 1px solid #4c6b62; padding: 7px 11px; }
.archive-choices button { background: #241f1a; border-color: #6e5944; }
.sequence button:hover, .archive-choices button:hover { border-color: var(--gold); }
.reconstruct > .activity-actions { margin-top: 12px; justify-content: flex-start; }
.mission-result { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding: 16px 20px; border: 1px solid #4d7769; background: #182e29; }
.mission-result .eyebrow, .mission-result h4, .mission-result p:not(.eyebrow) { margin: 0 0 5px; }
.mission-result h4 { color: var(--green); font: 700 1.6rem/1.4 var(--serif); }
@media (max-width: 900px) { .mission-route { width: calc(100% - 56px); } }
@media (max-width: 700px) {
  .masthead nav { width: 100%; flex-wrap: wrap; gap: 10px 17px; }
  .hero { min-height: 488px; }
  .hero-copy { padding: 69px 14px 72px 0; }
  .hero h1 { font-size: clamp(56px, 13.5vw, 96px); }
  .hero-subtitle { font-size: 1.18rem; }
  .hero-art::after { background: linear-gradient(90deg,#0b1215 0%,#0b1215a0 25%,transparent 65%),linear-gradient(0deg,#0b1215 6%,#0b12158c 41%,transparent 72%); }
  .moon-globe { width: min(100vw, 540px); top: 29%; left: 36%; }
  .mission-route { width: calc(100% - 32px); }
  .mission-route a { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; min-height: 94px; padding: 8px 9px; }
  .mission-route i { display: none; }
  .mission-route [data-complete] i { display: block; position: absolute; margin-left: 32px; }
  .mission-route small { font-size: .72rem; }
  .briefing-grid { grid-template-columns: 1fr; }
  .crew-list button { grid-template-columns: 34px 1fr; padding: 9px; min-height: 76px; }
  .crew-shape { transform: scale(.65); transform-origin: left center; }
  .crew-check { display: none; }
  .reticle { flex-basis: 148px; height: 94px; }
  .reticle-panel p { font-size: .81rem; }
}

.archive-go { margin: 12px 0 0; }
@media (max-width: 700px) { .briefing-card { grid-row: 1; } }

.relay-card { padding: clamp(17px, 3.2vw, 34px); background: linear-gradient(145deg, #18292e, var(--panel) 65%); border: 1px solid var(--line); }
.relay-toolbar, .relay-actions { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; }
.relay-toolbar { justify-content: space-between; margin-bottom: 13px; }
.relay-directions { display: flex; flex-wrap: wrap; gap: 7px; }
.relay-directions button { min-height: 42px; padding: 7px 12px; border: 1px solid var(--line); background: #131e21; color: var(--muted); }
.relay-directions button[aria-pressed=true] { border-color: var(--gold); color: var(--ink); }
.relay-directions button[data-verified]::after { content: " ✓"; color: var(--green); }
.relay-counter { margin: 0; font-family: var(--mono); color: var(--green); font-size: .87rem; }
#relay-instruction { color: var(--muted); margin-bottom: 12px; }
.relay-nodes { display: grid; grid-template-columns: 1fr .29fr 1fr .29fr 1fr; align-items: center; }
.relay-nodes button { color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: #101b1e; min-height: 126px; padding: 9px 3px; border: 1px solid var(--line); }
.relay-nodes button:hover, .relay-nodes button[aria-pressed=true] { border-color: var(--gold); background: #29302c; }
.relay-nodes button small { color: var(--muted); font-size: .75rem; }
.relay-icon { display: block; position: relative; margin: 0 0 8px; }
.moon-node, .earth-node { width: 39px; height: 39px; border-radius: 50%; border: 1px solid #8c9e9d; }
.moon-node { background: url("./assets/moon-hero.webp") center / 110% auto, #24292c; }
.earth-node { background: radial-gradient(circle at 31% 29%, #86c5b5, #406b80 55%, #132c3c 81%); }
.bridge-node { width: 43px; height: 39px; }
.bridge-node::before { position: absolute; content: ""; inset: 15px 0 12px; background: repeating-linear-gradient(90deg,#2a4352 0 7px,#718f9f 7px 8px); border: 1px solid #7894a0; }
.bridge-node::after { position: absolute; content: ""; inset: 3px 14px 9px; background: linear-gradient(90deg,#966c47,#e3b286,#906547); border-radius: 40% 40% 15% 15%; border: 1px solid #cda27d; }
.relay-line { position: relative; border-top: 1px dashed #79918a; }
.relay-connected .relay-line { border-top: 2px solid #76b9a5; }
.relay-connected .relay-line::after { content: ""; position: absolute; width: 7px; height: 7px; top: -4px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); animation: signal-flow 1.4s ease-in-out infinite; }
.relay-connected[data-direction="command"] .relay-line::after { animation-direction: reverse; }
@keyframes signal-flow { from { left: 0; } to { left: calc(100% - 7px); } }
.relay-path { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-height: 47px; padding: 8px 0; margin: 4px 0; list-style: none; color: var(--gold); font-size: .9rem; }
.relay-path:empty::before { content: "还未选择节点"; color: var(--muted); }
.relay-path li { display: flex; gap: 6px; }
.relay-path li + li::before { content: "→"; color: var(--muted); }
.relay-actions { margin-top: 13px; }
.crew-details { margin-top: 20px; border: 1px solid var(--line); padding: 12px 16px; }
.crew-details summary { color: var(--muted); cursor: pointer; min-height: 24px; }
.crew-details .briefing-grid { margin-top: 12px; }
.simulation-note a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .relay-card { padding: 13px; }
  .relay-nodes { grid-template-columns: 1fr .13fr 1fr .13fr 1fr; }
  .relay-nodes button { min-height: 92px; }
  .relay-nodes button strong { font-size: .81rem; }
  .relay-icon { transform: scale(.82); margin-bottom: 1px; }
  .relay-directions button { padding-inline: 7px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .relay-connected .relay-line::after { animation: none; left: 45%; } }
