:root {
  --bg: #e9eef8;
  --ink: #0e1e45;
  --ink-soft: #46557c;
  --space: #0e1e45;
  --lunar: #d9dce3;
  --signal: #ffc93c;
  --rust: #c8553d;
  --line: #c3cde3;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --round: "Arial Rounded MT Bold", "Yuanti SC", "YouYuan", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1633;
    --ink: #e5eaf6;
    --ink-soft: #a5b1d2;
    --line: #243463;
    --rust: #ef8069;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 var(--sans); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top, main, .foot { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.top { padding-top: 44px; padding-bottom: 22px; }
.site-name {
  text-wrap: balance;
  margin: 0; font-family: var(--round); font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 5.6rem); line-height: 1.05; letter-spacing: .12em;
}
.lede { margin: 12px 0 0; color: var(--ink-soft); max-width: 36em; }

.screen {
  position: relative; background: var(--space); border-radius: 22px; overflow: hidden;
  border: 3px solid var(--ink);
}
#moon { display: block; width: 100%; height: clamp(300px, 52vw, 500px); }
.hud {
  position: absolute; top: 12px; left: 12px; right: 12px; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--lunar);
  font: 13px/1.4 var(--sans); pointer-events: none;
}
.hud div { display: flex; gap: 6px; align-items: center; }
.hud dt { opacity: .75; }
.hud dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 700; color: #fff; min-width: 3.5em; }
.fuel { display: inline-block; width: 70px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.18); vertical-align: middle; overflow: hidden; }
.fuel span { display: block; height: 100%; width: 100%; background: var(--signal); }
.overlay {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  text-align: center; padding: 20px; background: rgba(14, 30, 69, .55);
}
.overlay[hidden] { display: none; }
.msg { margin: 0; max-width: 24em; color: #fff; font-size: 1.05rem; }
.msg strong { color: var(--signal); }
button {
  font: 700 1rem/1 var(--sans); cursor: pointer; border: 0; border-radius: 999px;
  padding: 14px 28px; background: var(--signal); color: #0e1e45;
  transition: transform .12s ease;
}
button:hover { transform: scale(1.04); }
button:active { transform: scale(.97); }

.pad-ctrl { display: none; gap: 10px; justify-content: center; margin-top: 12px; }
.ctl { flex: 1; max-width: 120px; padding: 18px 0; background: var(--lunar); color: var(--space); user-select: none; -webkit-user-select: none; touch-action: none; }
.ctl.main { background: var(--rust); color: #fff; max-width: 160px; }
.ctl.on { transform: scale(.94); filter: brightness(1.1); }
.keys { color: var(--ink-soft); font-size: .9rem; margin: 10px 0 48px; }
@media (hover: none), (max-width: 720px) {
  .pad-ctrl { display: flex; }
}

h2 { font-family: var(--round); font-size: 1.7rem; margin: 0 0 18px; letter-spacing: .06em; }
.log { padding-bottom: 40px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 3px dotted var(--ink-soft); }
.timeline li { position: relative; padding: 0 0 26px; max-width: 42em; }
.timeline li::before {
  content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--signal); border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--ink);
}
.timeline time { color: var(--rust); font-weight: 700; font-size: .92rem; }
.timeline h3 { margin: 2px 0 4px; font-size: 1.2rem; }
.timeline p { margin: 0; color: var(--ink-soft); }

.why { padding: 8px 0 48px; max-width: 42em; }
.why p { margin: 0 0 12px; }

.foot { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 32px; color: var(--ink-soft); font-size: .9rem; }
.foot p { margin: 2px 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
