/* =========================================================
   天宫 · 中国空间站发展史
   Static single-page site. No external dependencies.
   ========================================================= */

:root {
  --bg: #05070d;
  --bg-soft: #080c15;
  --panel: rgba(14, 22, 36, 0.72);
  --panel-solid: #0c1420;
  --line: rgba(142, 178, 218, 0.16);
  --line-strong: rgba(142, 178, 218, 0.28);
  --text: #e9eff8;
  --text-soft: #cad6e4;
  --muted: #9db0c5;
  --accent: #ff5a36;
  --accent-soft: #ff8a5c;
  --cyan: #5fc9ff;
  --gold: #e8b96b;
  --green: #6dd6a8;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --sans: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.75), transparent 100%),
    radial-gradient(1px 1px at 34% 72%, rgba(160,205,255,.65), transparent 100%),
    radial-gradient(1.6px 1.6px at 68% 28%, rgba(255,255,255,.7), transparent 100%),
    radial-gradient(1px 1px at 82% 64%, rgba(255,255,255,.5), transparent 100%),
    radial-gradient(1.2px 1.2px at 52% 88%, rgba(150,200,255,.55), transparent 100%),
    radial-gradient(1px 1px at 92% 12%, rgba(255,255,255,.55), transparent 100%),
    radial-gradient(1.2px 1.2px at 6% 56%, rgba(255,255,255,.45), transparent 100%),
    radial-gradient(1px 1px at 44% 44%, rgba(255,255,255,.4), transparent 100%);
  background-size: 640px 640px, 820px 820px, 760px 760px, 900px 900px, 700px 700px, 980px 980px, 860px 860px, 740px 740px;
}

::selection { background: rgba(255, 90, 54, 0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; }
strong { font-weight: 600; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- progress ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--cyan));
  z-index: 1200;
  box-shadow: 0 0 12px rgba(255, 90, 54, 0.55);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 78px; padding: 0 clamp(18px, 3.5vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.nav.is-scrolled {
  background: rgba(5, 7, 13, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  font-family: var(--serif); font-size: 25px; font-weight: 700;
  letter-spacing: 0.1em; color: #fff;
}
.brand-sub {
  font-family: var(--mono); font-size: 8px; line-height: 1.45;
  letter-spacing: 0.24em; color: var(--muted);
  border-left: 1px solid var(--line-strong); padding-left: 12px;
}
.brand-sub em { font-style: normal; color: var(--accent-soft); }

.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 24px); }
.nav-links a {
  position: relative; font-size: 13px; color: #9aacc0;
  letter-spacing: 0.08em; padding: 6px 0; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent); transition: right .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after, .nav-links a:hover::after { right: 0; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: rgba(10, 16, 26, .7); border-radius: 10px;
  padding: 11px 10px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: #dce6f2; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 150px clamp(24px, 6vw, 96px) 96px;
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%;
  transform: scale(1.06);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,6,11,.92) 0%, rgba(4,6,11,.55) 42%, rgba(4,6,11,.08) 72%, rgba(4,6,11,.45) 100%),
    linear-gradient(180deg, rgba(4,6,11,.55) 0%, rgba(4,6,11,.05) 32%, rgba(4,6,11,.72) 78%, rgba(4,6,11,.96) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(160, 200, 240, .06) 1px, transparent 1px);
  background-size: 12.5% 100%;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent 72%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.8), transparent 72%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--cyan); text-transform: uppercase;
}
.eyebrow span { width: 42px; height: 1px; background: var(--cyan); display: inline-block; }

.hero h1 { margin: 18px 0 0; }
.hero-cn {
  display: block;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(84px, 14vw, 190px);
  line-height: 0.94; letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffffff 8%, #d8e4f2 52%, #7f93aa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 40px rgba(90, 160, 230, .18));
}
.hero-en {
  display: block; margin-top: 10px;
  font-family: var(--mono); font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.62em; color: rgba(200, 218, 238, .6);
}
.hero-lead {
  margin-top: 30px;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3.3vw, 46px); line-height: 1.4;
  letter-spacing: 0.04em; color: #f2f6fb;
}
.hero-desc {
  margin-top: 20px; max-width: 550px;
  font-size: 15px; line-height: 1.95; color: #b8c7d9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 26px; border-radius: 999px;
  font-size: 14px; letter-spacing: .06em; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 30px rgba(255, 90, 54, .25); }
.btn-primary:hover { background: #ff6b4a; }
.btn-ghost { border-color: rgba(190, 215, 240, .32); color: #dbe6f2; background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(190, 215, 240, .65); background: rgba(255,255,255,.07); }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: clamp(40px, 6vh, 72px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 940px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.hero-stats > div { padding: 20px 24px 20px 0; }
.hero-stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stats strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; color: #fff;
}
.hero-stats span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

.hero-date {
  position: absolute; top: 108px; right: clamp(24px, 6vw, 96px); z-index: 3;
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: #b9c9db;
  background: rgba(8, 14, 24, .55); border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px; backdrop-filter: blur(8px);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(109, 214, 168, .6);
  animation: pulse 2.4s ease-out infinite; flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(109, 214, 168, .5); }
  70% { box-shadow: 0 0 0 8px rgba(109, 214, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(109, 214, 168, 0); }
}
.hero-caption {
  position: absolute; right: clamp(24px, 6vw, 96px); bottom: 26px;
  font-size: 10px; color: rgba(170, 190, 212, .55); z-index: 2;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .22em;
  color: rgba(180, 200, 220, .6); z-index: 2;
}
.scroll-cue span {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, rgba(180,210,240,.7), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.45); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: clamp(84px, 10vw, 132px) 0;
  border-top: 1px solid var(--line);
}
.section-alt {
  background:
    radial-gradient(1200px 500px at 80% 0%, rgba(50, 96, 150, .12), transparent 65%),
    linear-gradient(180deg, rgba(10, 16, 27, .72), rgba(5, 7, 13, 0));
}
.section-emergency {
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(255, 90, 54, .11), transparent 62%),
    radial-gradient(900px 600px at 92% 38%, rgba(120, 36, 22, .12), transparent 66%),
    linear-gradient(180deg, #08090f, #05070d);
}
.section-head {
  display: flex; align-items: flex-start; gap: clamp(18px, 3vw, 40px);
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section-num {
  flex-shrink: 0;
  font-family: var(--mono); font-size: clamp(46px, 7vw, 92px); line-height: .9;
  font-weight: 700; letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 180, 220, .3);
}
.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  color: var(--accent-soft); text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.22;
  letter-spacing: .02em;
}
.section-intro {
  max-width: 850px; margin-bottom: clamp(36px, 5vw, 56px);
  color: var(--text-soft); font-size: 16px; line-height: 1.95;
}

.prose-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: clamp(32px, 6vw, 72px); align-items: start;
}
.prose p { margin-bottom: 20px; color: var(--text-soft); line-height: 1.95; }
.prose .lead { font-size: 18px; color: var(--text); line-height: 1.9; }
.pull-quote {
  margin-top: 30px; padding: 6px 0 6px 22px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.6; color: var(--gold);
}

.fact-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 30, 48, .82), rgba(9, 14, 24, .72));
  padding: 28px;
}
.fact-card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 18px; }
.fact-card dl > div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.fact-card dt { color: var(--muted); }
.fact-card dd { font-family: var(--mono); color: var(--text); text-align: right; }
.fact-note { margin-top: 18px; font-size: 12px; line-height: 1.8; color: var(--muted); }

.steps-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: clamp(44px, 6vw, 64px);
}
.step-card {
  position: relative; padding: 28px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel);
  overflow: hidden; transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.step-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: .75;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: rgba(16, 26, 42, .86); }
.step-index {
  display: inline-block; font-family: var(--mono); font-size: 10px;
  letter-spacing: .16em; color: var(--accent-soft); margin-bottom: 14px;
}
.step-card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin-bottom: 8px; }
.step-years { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; margin-bottom: 12px; }
.step-card p { font-size: 14px; line-height: 1.9; color: var(--text-soft); }
.step-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.step-tags span {
  font-size: 10px; color: #a9bdd2; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 999px;
}

.wide-figure { margin-top: clamp(44px, 6vw, 68px); }
.wide-figure img {
  width: 100%; max-height: 460px; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
}
.prehistory-figure img { max-height: 560px; object-position: center 38%; filter: sepia(.12) saturate(.9); }
.prehistory-figure figcaption strong { color: var(--gold); }

.era-bridge {
  display: flex; align-items: flex-start; gap: 24px;
  margin-top: clamp(40px, 5vw, 58px); padding: 26px;
  border: 1px solid rgba(232, 185, 107, .22);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(232, 185, 107, .06), rgba(9, 14, 23, .55));
}
.era-bridge-mark {
  flex-shrink: 0; font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: var(--gold);
  border: 1px solid rgba(232, 185, 107, .3);
  border-radius: 6px; padding: 6px 9px;
}
.era-bridge p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }
.wide-figure figcaption {
  margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.8;
}
.wide-figure figcaption strong { color: var(--text-soft); font-weight: 500; }

/* ---------- timeline ---------- */
.timeline { position: relative; max-width: 1080px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px;
  width: 1px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, rgba(140, 180, 220, .32) 8%, rgba(140, 180, 220, .32) 92%, transparent);
}
.tl-item {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
  margin-bottom: clamp(38px, 5vw, 60px);
}
.tl-item:last-child { margin-bottom: 0; }
.tl-date {
  grid-column: 1; grid-row: 1;
  padding: 22px 26px 0 0; text-align: right;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  color: var(--muted); white-space: nowrap;
}
.tl-dot {
  grid-column: 2; grid-row: 1; justify-self: center;
  width: 11px; height: 11px; margin-top: 28px; border-radius: 50%;
  background: var(--accent); position: relative; z-index: 2;
  box-shadow: 0 0 0 4px rgba(255, 90, 54, .13), 0 0 18px rgba(255, 90, 54, .55);
}
.tl-card {
  grid-column: 3; grid-row: 1;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(17, 27, 43, .86), rgba(9, 14, 23, .72));
  padding: 24px 26px;
  transition: border-color .3s ease, transform .3s ease;
}
.tl-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.tl-figure { grid-column: 3; grid-row: 2; margin-top: 14px; }
.tl-figure img {
  width: 100%; max-height: 330px; object-fit: cover;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
}
.tl-figure figcaption { margin-top: 8px; font-size: 11px; color: var(--muted); line-height: 1.7; }

.tl-item:nth-child(even) .tl-date { grid-column: 3; text-align: left; padding: 22px 0 0 26px; }
.tl-item:nth-child(even) .tl-card { grid-column: 1; }
.tl-item:nth-child(even) .tl-figure { grid-column: 1; }

.tl-card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.45; margin: 12px 0 10px; }
.tl-card p { font-size: 14px; line-height: 1.9; color: var(--text-soft); margin-bottom: 8px; }
.tl-card p:last-child { margin-bottom: 0; }
.tl-quote {
  margin-top: 12px !important; padding-left: 12px; border-left: 2px solid var(--gold);
  font-family: var(--serif); color: var(--gold) !important; font-size: 15px !important;
}
.timeline-compact .tl-card { padding: 20px 22px; }
.timeline-compact .tl-card h3 { margin-top: 10px; }

.tag {
  display: inline-block; font-size: 10px; line-height: 1; letter-spacing: .08em;
  padding: 6px 9px; border-radius: 6px; border: 1px solid transparent;
}
.tag-red { color: #ffb19d; background: rgba(255, 90, 54, .12); border-color: rgba(255, 90, 54, .28); }
.tag-blue { color: #a9d8ff; background: rgba(95, 201, 255, .1); border-color: rgba(95, 201, 255, .24); }
.tag-gold { color: #f1d19b; background: rgba(232, 185, 107, .1); border-color: rgba(232, 185, 107, .25); }

.mini-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(44px, 6vw, 64px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.mini-strip > div { padding: 20px 22px 20px 0; }
.mini-strip > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.mini-strip strong {
  display: block; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1; color: var(--text);
}
.mini-strip span { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }

.crew-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin-top: clamp(44px, 6vw, 64px);
}
.crew-strip figure {
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
  background: var(--panel);
}
.crew-strip img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 22%; }
.crew-strip figcaption { padding: 10px 12px; font-size: 11px; color: var(--muted); }

/* ---------- structure ---------- */
.structure-panel {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 60px); align-items: center;
  padding: clamp(24px, 3.5vw, 42px);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(700px 340px at 82% 12%, rgba(60, 122, 180, .13), transparent 66%),
    linear-gradient(160deg, rgba(15, 24, 39, .85), rgba(7, 11, 19, .75));
}
.structure-copy h3 { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 16px; }
.structure-copy p { font-size: 14px; line-height: 1.95; color: var(--text-soft); }
.structure-copy strong { color: var(--text); }
.spec-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 26px; margin-top: 22px;
}
.spec-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px;
}
.spec-list span { color: var(--muted); }
.spec-list strong { font-family: var(--mono); font-weight: 500; color: var(--text); }
.structure-figure svg { width: 100%; height: auto; display: block; }
.structure-figure figcaption { margin-top: 8px; font-size: 11px; color: var(--muted); text-align: center; }
.svg-label { fill: #9db2c8; font-size: 13px; font-family: var(--sans); letter-spacing: .05em; }
.svg-label-dark { fill: #1c2a3a; font-size: 12px; font-family: var(--sans); letter-spacing: .08em; }
.svg-note { fill: rgba(160, 185, 210, .55); font-size: 11px; font-family: var(--sans); }

/* ---------- operations ---------- */
.ops-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ops-card {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); transition: transform .3s ease, border-color .3s ease;
}
.ops-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.ops-card-wide { grid-column: 1 / -1; }
.ops-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ops-head > span:first-child { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.ops-card h3 { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin-bottom: 8px; }
.ops-card p { font-size: 14px; line-height: 1.9; color: var(--text-soft); }
.text-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--accent-soft); }
.text-link:hover { color: #ffd0c2; }

.stat-band {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(44px, 6vw, 66px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat-band > div { padding: 24px 22px 24px 0; }
.stat-band > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.stat-band strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 3.8vw, 48px); line-height: 1.05; color: var(--text);
}
.stat-band sup { font-size: .5em; color: var(--accent-soft); vertical-align: super; }
.stat-band span { display: block; margin-top: 8px; font-size: 11px; line-height: 1.7; color: var(--muted); }

/* ---------- emergency ---------- */
.emergency-hero {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 64px); align-items: center;
  margin-bottom: clamp(46px, 6vw, 70px);
}
.emergency-big { position: relative; display: flex; align-items: flex-end; gap: 14px; }
.emergency-big strong {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(110px, 17vw, 220px); line-height: .78;
  color: var(--accent);
  filter: drop-shadow(0 10px 50px rgba(255, 90, 54, .22));
}
.emergency-big > span { font-family: var(--serif); font-size: 30px; color: var(--accent-soft); padding-bottom: 16px; }
.emergency-big p {
  position: absolute; left: 0; bottom: -30px; max-width: 360px;
  font-size: 12px; line-height: 1.8; color: var(--muted);
}
.emergency-facts { border-top: 1px solid var(--line); }
.emergency-facts > div {
  display: flex; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.emergency-facts strong { flex: 0 0 96px; font-family: var(--serif); font-size: 24px; color: var(--text); }
.emergency-facts span { font-size: 12px; line-height: 1.75; color: var(--muted); }

.emergency-steps { list-style: none; max-width: 900px; margin: 0 auto; position: relative; }
.emergency-steps::before {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px;
  width: 1px; background: linear-gradient(180deg, rgba(255,90,54,.5), rgba(140,180,220,.18));
}
.emergency-steps li {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px; padding: 0 0 34px; margin-bottom: 6px;
}
.e-num {
  position: relative; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--accent-soft);
  background: #0b1019; border: 1px solid rgba(255, 90, 54, .35);
  box-shadow: 0 0 20px rgba(255, 90, 54, .08);
}
.e-body { padding-top: 4px; }
.e-date { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.e-body h3 { font-family: var(--serif); font-size: 22px; line-height: 1.4; margin-bottom: 8px; }
.e-body p { font-size: 14px; line-height: 1.9; color: var(--text-soft); }
.e-note { margin-top: 10px !important; font-size: 12px !important; color: var(--accent-soft) !important; }

.emergency-gallery {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; margin-top: clamp(46px, 6vw, 70px);
}
.emergency-gallery figure {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--panel);
}
.emergency-gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.emergency-gallery figcaption { padding: 11px 13px; font-size: 11px; line-height: 1.7; color: var(--muted); }

.callout {
  display: flex; gap: 22px; align-items: flex-start;
  margin-top: clamp(40px, 5vw, 58px); padding: 28px;
  border: 1px solid rgba(232, 185, 107, .25); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(232, 185, 107, .07), rgba(10, 14, 22, .6));
}
.callout-mark {
  flex-shrink: 0; font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: var(--gold); border: 1px solid rgba(232, 185, 107, .35);
  border-radius: 6px; padding: 6px 9px;
}
.callout h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 8px; color: var(--gold); }
.callout p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }

/* ---------- now ---------- */
.now-layout {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr);
  gap: clamp(30px, 5vw, 64px); align-items: start;
}
.now-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: #bcd0e4; margin-bottom: 22px;
}
.now-sep { width: 1px; height: 10px; background: var(--line-strong); }
.now-main p { font-size: 14px; line-height: 1.95; color: var(--text-soft); margin-bottom: 14px; }
.now-main .lead { font-size: 17px; line-height: 1.9; color: var(--text); }

.now-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 30, 48, .85), rgba(8, 12, 20, .72));
  padding: 26px;
}
.now-card dl > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 12px;
}
.now-card dt { color: var(--muted); }
.now-card dd { font-family: var(--mono); text-align: right; color: var(--text); }
.now-card dd.ok { color: var(--green); }

.crew-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-top: clamp(40px, 5vw, 58px);
}
.crew-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--panel);
  transition: transform .3s ease, border-color .3s ease;
}
.crew-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.crew-card img {
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 18%;
  filter: saturate(.92) contrast(1.02);
}
.crew-info { padding: 20px 22px 24px; }
.crew-role {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: var(--accent-soft);
}
.crew-info h3 { font-family: var(--serif); font-size: 25px; margin: 6px 0 8px; }
.crew-info p { font-size: 13px; line-height: 1.85; color: var(--text-soft); }

.year-timeline {
  margin-top: clamp(40px, 5vw, 58px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 26px clamp(20px, 3vw, 34px);
}
.year-timeline h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 14px; }
.year-timeline ul { list-style: none; }
.year-timeline li {
  display: grid; grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--line);
  font-size: 13px; color: var(--text-soft); line-height: 1.8;
}
.year-timeline li:last-child { border-bottom: 0; }
.year-timeline time { font-family: var(--mono); color: var(--accent-soft); font-size: 12px; }

.next-up {
  display: flex; gap: 24px; align-items: flex-start;
  margin-top: 26px; padding: 26px;
  border: 1px solid rgba(95, 201, 255, .22); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(95, 201, 255, .06), rgba(9, 14, 23, .6));
}
.next-label {
  flex-shrink: 0; font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: var(--cyan);
  border: 1px solid rgba(95, 201, 255, .3); border-radius: 6px; padding: 6px 9px;
}
.next-body h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 8px; }
.next-body p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }

/* ---------- future ---------- */
.evolution {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px; margin-bottom: clamp(40px, 5vw, 58px);
}
.evo-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); overflow: hidden;
}
.evo-visual {
  position: relative; height: 178px;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(80, 130, 180, .16), transparent 65%),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(140,180,220,.055) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(140,180,220,.055) 28px);
  border-bottom: 1px solid var(--line);
}
.evo-char {
  position: absolute; font-family: var(--serif); font-size: 112px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(180, 205, 230, .16);
}
.evo-visual svg { width: 200px; height: 120px; position: relative; z-index: 2; }
.evo-body { padding: 22px 24px 26px; }
.evo-now, .evo-next {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: var(--muted);
}
.evo-next { color: var(--accent-soft); }
.evo-body h3 { font-family: var(--serif); font-size: 23px; margin: 6px 0 8px; }
.evo-body p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }

.future-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.future-card {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); transition: border-color .3s ease, transform .3s ease;
}
.future-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.future-icon {
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  color: var(--cyan); font-size: 18px; margin-bottom: 16px;
}
.future-card h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 8px; }
.future-card p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }
.disclaimer { margin-top: 30px; font-size: 11px; line-height: 1.8; color: var(--muted); }

/* ---------- live orbit ---------- */
.orbit-panel {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 46px); align-items: center;
  margin-top: clamp(40px, 5vw, 58px); padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(520px 300px at 18% 20%, rgba(50, 120, 190, .14), transparent 68%),
    linear-gradient(155deg, rgba(15, 24, 39, .86), rgba(7, 11, 19, .74));
}
.orbit-visual {
  position: relative; min-height: 250px; overflow: hidden;
  border: 1px dashed rgba(142, 178, 218, .22); border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(30, 90, 150, .22), transparent 62%),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(140,180,220,.05) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(140,180,220,.05) 32px);
  display: grid; place-items: center;
}
.earth {
  width: 112px; height: 112px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #8cc8ff 0%, #3a86c9 38%, #12446f 64%, #07182a 100%);
  box-shadow: 0 0 46px rgba(60, 150, 255, .35), inset -12px -10px 24px rgba(0, 0, 0, .45);
  position: relative; z-index: 2;
}
.earth::after {
  content: ""; position: absolute; inset: 12% 10% 18% 14%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 55%, rgba(160, 220, 180, .45), transparent 36%),
    radial-gradient(ellipse at 68% 30%, rgba(200, 230, 255, .35), transparent 28%);
  filter: blur(1px);
}
.orbit-track {
  position: absolute; left: 50%; top: 50%;
  width: 230px; height: 150px; margin: -75px 0 0 -115px;
  border: 1px dashed rgba(150, 195, 235, .4); border-radius: 50%;
  animation: orbitSpin 18s linear infinite;
  z-index: 1;
}
.orbit-track::before {
  content: ""; position: absolute; left: -5px; top: 50%; margin-top: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 90, 54, .14), 0 0 18px rgba(255, 90, 54, .8);
}
@keyframes orbitSpin {
  from { transform: rotate(-18deg); }
  to { transform: rotate(342deg); }
}
.orbit-label {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; color: var(--muted);
}
.orbit-copy h3 { font-family: var(--serif); font-size: clamp(24px, 2.8vw, 32px); margin: 8px 0 10px; }
.orbit-copy > p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }
.orbit-specs {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin: 16px 0 6px; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line);
  font-size: 11px; color: var(--muted);
}
.orbit-specs strong { color: var(--text); font-family: var(--mono); font-weight: 500; }
.orbit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.orbit-actions .btn { height: 38px; padding: 0 16px; font-size: 12px; }
.orbit-note { margin-top: 12px !important; font-size: 10px !important; line-height: 1.7 !important; color: var(--muted) !important; }

/* ---------- life ---------- */
.life-intro { max-width: 880px; margin-bottom: clamp(26px, 4vw, 38px); }
.life-intro .lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.9; color: var(--text); margin-bottom: 14px; }
.life-intro p { font-size: 14px; line-height: 1.95; color: var(--text-soft); }
.life-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.ledger-col {
  padding: 26px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
}
.ledger-long {
  border-color: rgba(95, 201, 255, .22);
  background: linear-gradient(150deg, rgba(20, 42, 62, .72), rgba(8, 14, 23, .7));
}
.ledger-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.ledger-long .ledger-tag { color: var(--cyan); }
.ledger-col h3 { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin: 8px 0 8px; }
.ledger-col p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }
.life-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.life-card {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); transition: transform .3s ease, border-color .3s ease;
}
.life-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.life-icon { display: block; font-size: 20px; color: var(--accent-soft); margin-bottom: 12px; }
.life-card h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.life-card p { font-size: 13px; line-height: 1.9; color: var(--text-soft); }
.life-chain {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin: clamp(26px, 3.5vw, 38px) 0;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.life-chain span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; }
.life-chain i { font-style: normal; color: var(--accent-soft); }
.life-close {
  max-width: 920px; margin: 0 auto; padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid rgba(232, 185, 107, .22); border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(232, 185, 107, .06), rgba(9, 14, 23, .55));
}
.life-quote {
  font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.7;
  color: var(--gold); margin-bottom: 18px;
}
.life-close p { font-size: 14px; line-height: 1.95; color: var(--text-soft); margin-bottom: 10px; }
.life-close p:last-child { margin-bottom: 0; }

/* ---------- feedback ---------- */
.feedback-grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 60px); align-items: start;
}
.feedback-copy .lead { font-size: 18px; line-height: 1.9; color: var(--text); margin-bottom: 14px; }
.feedback-copy p { font-size: 13px; line-height: 1.95; color: var(--text-soft); margin-bottom: 12px; }
.feedback-list { list-style: none; margin: 18px 0; }
.feedback-list li {
  position: relative; padding: 8px 0 8px 18px; border-bottom: 1px dashed var(--line);
  font-size: 12px; line-height: 1.8; color: var(--text-soft);
}
.feedback-list li::before { content: "·"; position: absolute; left: 0; color: var(--accent-soft); }
.feedback-privacy { margin-top: 18px !important; font-size: 11px !important; color: var(--muted) !important; line-height: 1.8 !important; }
.feedback-form {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel);
}
.feedback-form label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.feedback-form input, .feedback-form textarea {
  width: 100%; margin-top: 6px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(6, 10, 17, .72); color: var(--text);
  font-size: 13px; outline: none; transition: border-color .2s ease;
}
.feedback-form input:focus, .feedback-form textarea:focus { border-color: rgba(95, 201, 255, .45); }
.feedback-form textarea { min-height: 128px; resize: vertical; line-height: 1.8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-hint { float: right; font-size: 10px; color: var(--muted); }
.form-status { margin-top: 12px; min-height: 18px; font-size: 12px; line-height: 1.7; color: var(--cyan); }
.form-status.is-error { color: var(--accent-soft); }
.feedback-note { margin-top: 10px; font-size: 10px; line-height: 1.7; color: var(--muted); }

/* ---------- missions ---------- */
.chart-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--panel); padding: 24px 26px 18px;
  margin-bottom: 26px;
}
.chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.chart-head h3 { font-family: var(--serif); font-size: 18px; }
.chart-head span { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; }
.chart {
  display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 12px);
  height: 190px; padding-top: 18px;
  overflow-x: auto; scrollbar-width: thin;
}
.bar-item {
  flex: 1 0 28px; min-width: 24px; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 5px;
}
.bar-value { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.bar {
  width: 62%; max-width: 34px; height: var(--h);
  background: linear-gradient(180deg, var(--accent-soft), rgba(255, 90, 54, .22));
  border-radius: 4px 4px 0 0;
  transition: height .8s cubic-bezier(.2, .8, .2, 1), filter .2s ease;
}
.bar-item:hover .bar { filter: brightness(1.35); }
.bar-year { font-family: var(--mono); font-size: 9px; color: var(--muted); }
.chart-note { margin-top: 12px; font-size: 10px; color: var(--muted); }

.table-tools {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 16px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(12, 19, 31, .7);
  color: var(--muted); font-size: 12px; letter-spacing: .04em;
  transition: all .2s ease;
}
.filter em { font-style: normal; font-family: var(--mono); font-size: 10px; opacity: .7; margin-left: 3px; }
.filter:hover { border-color: var(--line-strong); color: var(--text); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.filter.is-active em { opacity: .9; }

.search-box { position: relative; min-width: 250px; flex: 0 1 300px; }
.search-box input {
  width: 100%; height: 38px; padding: 0 36px 0 14px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(12, 19, 31, .7); color: var(--text);
  font-size: 12px; outline: none; transition: border-color .2s ease;
}
.search-box input::placeholder { color: #6f8094; }
.search-box input:focus { border-color: rgba(95, 201, 255, .45); }
.search-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 16px; pointer-events: none;
}

.table-wrap {
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: auto; background: rgba(9, 14, 23, .55);
  max-height: 760px;
}
.mission-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.mission-table th {
  position: sticky; top: 0; z-index: 3;
  text-align: left; font-size: 10px; font-weight: 500;
  letter-spacing: .14em; color: var(--muted);
  background: #0c1421; padding: 14px 16px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
.mission-table td {
  padding: 14px 16px; border-bottom: 1px solid rgba(142, 178, 218, .09);
  font-size: 13px; color: var(--text-soft); vertical-align: top;
}
.mission-table tbody tr { transition: background .18s ease; }
.mission-table tbody tr:hover { background: rgba(95, 201, 255, .045); }
.mission-table tbody tr:last-child td { border-bottom: 0; }
.mission-table td:first-child { font-family: var(--mono); font-size: 10px; color: #66788c; }
.mission-table td strong { display: block; color: var(--text); font-weight: 500; white-space: nowrap; }
.mission-id { display: block; font-family: var(--mono); font-size: 9px; color: #5f7186; letter-spacing: .06em; margin-top: 2px; }
.mission-table .mono { font-family: var(--mono); font-size: 11px; white-space: nowrap; color: var(--muted); }
.highlight-cell { min-width: 220px; }
.badge {
  display: inline-block; font-size: 10px; line-height: 1;
  padding: 5px 8px; border-radius: 5px; border: 1px solid transparent; white-space: nowrap;
}
.badge-red { color: #ffb19d; background: rgba(255, 90, 54, .12); border-color: rgba(255, 90, 54, .25); }
.badge-blue { color: #a9d8ff; background: rgba(95, 201, 255, .1); border-color: rgba(95, 201, 255, .22); }
.badge-cyan { color: #8ff0d1; background: rgba(109, 214, 168, .1); border-color: rgba(109, 214, 168, .22); }
.badge-gold { color: #f1d19b; background: rgba(232, 185, 107, .1); border-color: rgba(232, 185, 107, .22); }
.table-empty { padding: 32px; text-align: center; color: var(--muted); font-size: 13px; }
.table-count { margin-top: 12px; font-size: 11px; color: var(--muted); font-family: var(--mono); }
.table-hint { display: none; margin-top: 4px; font-size: 10px; color: var(--muted); }

/* ---------- gallery ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 172px; gap: 12px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  border: 1px solid var(--line); cursor: zoom-in; background: #0a101a;
  outline: none;
}
.gallery-item.is-feature { grid-column: span 2; grid-row: span 2; }
.gallery-item.is-tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); filter: brightness(1.08); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(4, 7, 12, .9) 70%);
  transform: translateY(8px); opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: translateY(0); }
.gallery-item figcaption span { display: block; font-family: var(--serif); font-size: 15px; color: #fff; }
.gallery-item figcaption small {
  display: block; margin-top: 4px; font-size: 10px; line-height: 1.6; color: rgba(200, 216, 232, .7);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- sources ---------- */
.source-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(30px, 5vw, 64px);
}
.source-col h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 16px; }
.source-list { list-style: none; }
.source-list li { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.source-list a { font-size: 14px; color: var(--cyan); }
.source-list a:hover { color: #b9e7ff; }
.source-list span { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.source-col p { font-size: 13px; line-height: 1.95; color: var(--text-soft); margin-bottom: 14px; }
.source-note { font-size: 11px !important; color: var(--muted) !important; }

.rights-note {
  margin-top: 40px; padding: clamp(24px, 3.4vw, 34px);
  border: 1px solid rgba(232, 185, 107, .24); border-radius: var(--radius);
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(232, 185, 107, .08), transparent 65%),
    linear-gradient(155deg, rgba(18, 26, 40, .86), rgba(8, 12, 20, .72));
}
.rights-note h3 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 18px; }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.rights-grid h4 { font-size: 12px; letter-spacing: .08em; color: var(--gold); margin-bottom: 8px; }
.rights-grid p { font-size: 12px; line-height: 1.95; color: var(--text-soft); margin-bottom: 8px; }
.rights-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 11px; line-height: 1.8; color: var(--muted);
}

.credits {
  margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(9, 14, 23, .5); padding: 0 22px;
}
.credit-legend { padding: 0 0 14px; font-size: 11px; line-height: 1.8; color: var(--gold); }
.credits summary {
  cursor: pointer; padding: 18px 0; font-size: 13px; color: var(--text-soft);
  list-style: none;
}
.credits summary::-webkit-details-marker { display: none; }
.credits summary::before { content: "+"; display: inline-block; width: 20px; color: var(--accent-soft); }
.credits[open] summary::before { content: "−"; }
.credit-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 24px; padding-bottom: 20px;
}
.credit-list li { padding: 10px 0; border-top: 1px dashed var(--line); font-size: 11px; }
.credit-list > li > a { display: block; color: var(--text-soft); line-height: 1.6; word-break: break-word; }
.credit-list > li > a:hover { color: var(--cyan); }
.credit-list > li > span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.credit-list .lic-link { display: inline; color: var(--cyan); }
.credit-list .risk { display: block; margin-top: 5px; color: var(--gold); font-size: 10px; line-height: 1.65; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; background: #04060a; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-mark { font-family: var(--serif); font-size: 27px; letter-spacing: .1em; }
.footer p { font-size: 11px; line-height: 1.8; color: var(--muted); }
.footer-meta { text-align: right; }
.footer-meta a { color: var(--accent-soft); }
.footer-link {
  background: none; border: 0; padding: 0; color: var(--accent-soft);
  font-size: 11px; font-family: inherit; cursor: pointer;
}
.footer-link:hover { color: #ffd0c2; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(10, 16, 26, .85);
  color: var(--text); font-size: 17px; opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(8px);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- welcome ---------- */
.welcome {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center; padding: 24px;
  overflow-y: auto;
}
.welcome[hidden] { display: none; }
.welcome-backdrop {
  position: absolute; inset: 0;
  background:
    radial-gradient(760px 520px at 50% 34%, rgba(36, 76, 122, .34), transparent 68%),
    linear-gradient(180deg, rgba(3, 6, 11, .78), rgba(3, 6, 11, .92)),
    url("../img/station_render.webp") center / cover no-repeat;
  backdrop-filter: blur(3px) saturate(.9);
  -webkit-backdrop-filter: blur(3px) saturate(.9);
}
.welcome-card {
  position: relative; z-index: 1;
  width: min(700px, 94vw); max-height: calc(100svh - 28px); overflow-y: auto;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid rgba(232, 185, 107, .26); border-radius: 24px;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(95, 201, 255, .08), transparent 64%),
    linear-gradient(158deg, rgba(17, 27, 43, .98), rgba(6, 10, 17, .99));
  box-shadow: 0 30px 110px rgba(0, 0, 0, .65);
  animation: welcomeIn .6s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes welcomeIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.welcome-card::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.welcome-kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  color: var(--cyan);
}
.welcome-card h2 {
  margin: 14px 0 22px; font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.38;
}
.welcome-body p { margin-bottom: 13px; font-size: 14px; line-height: 2; color: var(--text-soft); }
.welcome-em {
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.08em;
  white-space: nowrap;
  padding: 0 2px;
  background: linear-gradient(180deg, transparent 64%, rgba(232, 185, 107, .16) 64%);
  border-bottom: 1px solid rgba(232, 185, 107, .38);
  text-shadow: 0 0 20px rgba(232, 185, 107, .18);
}
.welcome-salute {
  margin-top: 20px !important; padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: 19px !important; color: var(--gold) !important;
}
.welcome-last { color: var(--text) !important; font-size: 13px !important; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.welcome-note { margin-top: 18px; font-size: 10px; line-height: 1.7; color: var(--muted); }
.welcome-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(10, 16, 26, .8);
  color: var(--muted); font-size: 22px; line-height: 1;
  display: grid; place-items: center;
}
.welcome-close:hover { color: #fff; border-color: var(--line-strong); }

/* ---------- lightbox ---------- */
.no-scroll { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2, 4, 8, .94);
  backdrop-filter: blur(10px);
  padding: 30px 70px;
}
.lightbox[hidden] { display: none; }
.lb-figure { max-width: min(1200px, 92vw); max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; }
.lb-figure figcaption { max-width: 820px; text-align: center; color: var(--text-soft); font-size: 12px; line-height: 1.8; }
.lb-figure figcaption strong { display: block; font-family: var(--serif); font-size: 18px; color: #fff; margin-bottom: 4px; }
.lb-figure figcaption span { display: block; }
.lb-figure figcaption em {
  display: block; margin-top: 6px; font-style: normal;
  font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: rgba(12, 19, 31, .75);
  color: #fff; font-size: 24px; line-height: 1;
  display: grid; place-items: center;
}
.lb-close { top: 20px; right: 20px; font-size: 28px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--accent); color: var(--accent-soft); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- readability pass ----------
   把 9–11px 的注释、图注、表格和标签整体抬到 12px 以上；
   正文与卡片说明各加 1px。 */
.brand-sub { font-size: 9.5px; }
.eyebrow, .kicker { font-size: 12px; }
.hero-desc { font-size: 16px; }
.hero-stats span { font-size: 13px; }
.hero-date, .hero-caption { font-size: 11px; }
.scroll-cue { font-size: 10px; }
.section-intro { font-size: 17px; }
.fact-card dl > div { font-size: 14px; }
.fact-note, .step-years, .mini-strip span, .crew-strip figcaption,
.structure-figure figcaption, .ops-head > span:first-child, .stat-band span,
.emergency-big p, .emergency-facts span, .e-date, .e-note,
.emergency-gallery figcaption, .callout-mark, .now-status, .next-label,
.crew-role, .evo-now, .evo-next, .orbit-label, .orbit-specs, .orbit-note,
.ledger-tag, .life-chain, .feedback-privacy, .chart-head span, .chart-note,
.bar-value, .table-count, .table-hint, .gallery-item figcaption small,
.source-list span, .source-note, .rights-foot, .credit-legend,
.credit-list li, .credit-list > li > span, .credit-list .risk,
.footer p, .footer-link, .welcome-kicker, .welcome-note,
.lb-figure figcaption em { font-size: 12px; }
.step-index, .tag, .badge, .filter em, .mission-table td:first-child,
.mission-id { font-size: 11px; }
.tl-date, .year-timeline time, .feedback-form label, .form-status,
.filter, .search-box input, .now-card dl > div, .spec-list li { font-size: 13px; }
.step-card p, .tl-card p, .ops-card p, .e-body p, .now-main p,
.life-close p { font-size: 15px; }
.year-timeline li, .next-body p, .evo-body p, .future-card p,
.orbit-copy > p, .ledger-col p, .life-card p, .feedback-copy p,
.feedback-list li, .mission-table td, .source-col p { font-size: 14px; }
.tl-quote { font-size: 16px !important; }
.svg-label { font-size: 23px; }
.svg-label-dark { font-size: 20px; }
.svg-note { font-size: 22px; }
.orbit-actions .btn { font-size: 13px; }
.feedback-form input, .feedback-form textarea { font-size: 14px; }
.form-hint, .feedback-note { font-size: 12px; }
.mission-table th { font-size: 11px; }
.mission-table .mono { font-size: 12px; }
.bar-year { font-size: 10px; }
.gallery-item figcaption span { font-size: 16px; }
.source-list a { font-size: 15px; }
.rights-grid h4, .rights-grid p { font-size: 13px; }
.credits summary { font-size: 14px; }
.welcome-body p { font-size: 15px; }
.welcome-last { font-size: 14px !important; }
.lb-figure figcaption { font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13px; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crew-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 22px;
    background: rgba(6, 10, 17, .97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(16px);
  }
  .nav-links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid rgba(142,178,218,.08); font-size: 14px; }
  .nav-links a::after { display: none; }

  .prose-grid, .structure-panel, .now-layout, .source-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .ops-grid, .future-grid { grid-template-columns: 1fr; }
  .orbit-panel, .feedback-grid { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-card-wide { grid-column: auto; }
  .emergency-hero { grid-template-columns: 1fr; }
  .emergency-big p { position: static; margin-top: 18px; max-width: none; }
  .emergency-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .evolution { grid-template-columns: 1fr; }
  .crew-cards { grid-template-columns: 1fr; }
  .crew-card img { aspect-ratio: 16 / 10; object-position: center 20%; }
  .now-card { max-width: 420px; }

  .timeline::before { left: 14px; transform: none; }
  .tl-item { grid-template-columns: 1fr; padding-left: 42px; }
  .tl-date, .tl-item:nth-child(even) .tl-date {
    grid-column: 1; grid-row: 1; text-align: left; padding: 0 0 8px;
  }
  .tl-dot { position: absolute; left: 9px; top: 2px; margin-top: 0; grid-column: auto; grid-row: auto; }
  .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 1; grid-row: 2; }
  .tl-figure, .tl-item:nth-child(even) .tl-figure { grid-column: 1; grid-row: 3; }
  .tl-item { margin-bottom: 40px; }
}

@media (max-width: 700px) {
  .hero { padding: 130px 20px 84px; min-height: 92svh; }
  .hero-date { top: 92px; right: 20px; font-size: 10px; }
  .hero-caption { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div { padding: 16px 14px 16px 0; }
  .hero-stats > div + div { padding-left: 16px; }
  .hero-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-stats > div:nth-child(3), .hero-stats > div:nth-child(4) { border-top: 1px solid var(--line); }
  .hero-desc { font-size: 15px; }
  .scroll-cue { display: none; }

  .wrap { padding: 0 18px; }
  .section-head { gap: 14px; }
  .section-num { font-size: 42px; }
  .section-head h2 { font-size: 30px; }

  .mini-strip, .stat-band { grid-template-columns: 1fr 1fr; }
  .mini-strip > div:nth-child(3), .stat-band > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .mini-strip > div:nth-child(3), .mini-strip > div:nth-child(4),
  .stat-band > div:nth-child(3), .stat-band > div:nth-child(4) { border-top: 1px solid var(--line); }

  .crew-strip { grid-template-columns: 1fr 1fr; gap: 10px; }
  .emergency-gallery { grid-template-columns: 1fr 1fr; }
  .emergency-gallery figure:first-child { grid-column: span 2; }
  .emergency-gallery img { aspect-ratio: 4 / 3; }

  .callout, .next-up { flex-direction: column; gap: 14px; }
  .credit-list { grid-template-columns: 1fr; }
  .chart { height: 160px; gap: 2px; }
  .bar-item { flex: 1 1 0; min-width: 0; }
  .bar { width: 68%; max-width: 26px; }
  .bar-value { font-size: 9px; }
  .bar-year { font-size: 9px; }
  .table-hint { display: block; }
  .table-tools { align-items: stretch; }
  .search-box { flex-basis: 100%; }
  .filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter { flex: 0 0 auto; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 138px; }
  .gallery-item.is-feature { grid-column: span 2; grid-row: span 2; }
  .gallery-item.is-tall { grid-row: span 2; }
  .gallery-item figcaption { opacity: 1; transform: none; padding: 30px 10px 9px; }
  .gallery-item figcaption small { display: none; }
  .gallery-item figcaption span { font-size: 13px; }

  .rights-grid { grid-template-columns: 1fr; gap: 16px; }
  .life-grid, .life-ledger, .form-row { grid-template-columns: 1fr; }
  .orbit-visual { min-height: 210px; }
  .welcome { padding: 14px; }
  .welcome-card { padding: 32px 22px 26px; }
  .welcome-card h2 { font-size: 27px; }
  .welcome-actions .btn { flex: 1 1 100%; }
  .lightbox { padding: 20px 12px; }
  .lb-prev, .lb-next { width: 38px; height: 38px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: 10px; right: 10px; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- caption / label readability ----------
   用户要求：图注与标签统一 14px。放在最后覆盖前面的细分字号。 */
.eyebrow, .kicker, .hero-date, .hero-caption, .scroll-cue, .hero-stats span,
.fact-note, .step-index, .step-years, .step-tags span, .mini-strip span,
.tl-date, .tag, .wide-figure figcaption, .tl-figure figcaption,
.crew-strip figcaption, .structure-figure figcaption, .ops-head > span:first-child,
.stat-band span, .emergency-facts span, .e-date, .e-note,
.emergency-gallery figcaption, .callout-mark, .now-status, .next-label,
.crew-role, .evo-now, .evo-next, .orbit-label, .orbit-specs, .orbit-note,
.ledger-tag, .life-chain, .feedback-privacy, .feedback-form label,
.form-hint, .form-status, .feedback-note, .chart-head span, .bar-value,
.bar-year, .chart-note, .filter, .filter em, .search-box input,
.mission-table th, .mission-table td:first-child, .mission-id,
.mission-table .mono, .badge, .table-count, .table-hint,
.gallery-item figcaption span, .gallery-item figcaption small,
.source-list span, .source-note, .rights-grid h4, .rights-foot,
.credit-legend, .credits summary, .credit-list li,
.credit-list > li > span, .credit-list .risk, .footer p, .footer-link,
.welcome-kicker, .welcome-note, .lb-figure figcaption,
.lb-figure figcaption em, .spec-list li, .orbit-actions .btn {
  font-size: 14px !important;
}
.hero-caption { max-width: 38vw; text-align: right; line-height: 1.5; }

/* 钱学森归国合影：原图为竖幅，时间轴图框为横向；
   把裁切焦点上移，保证人物面部完整。 */
.tl-figure-qian img { object-position: center 12%; }

/* ---------- mobile experience ---------- */
@media (max-width: 980px) {
  .nav-links {
    max-height: calc(100svh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .section-head { gap: 12px; }
  .section-num { font-size: 36px; }
  .section-head h2 { font-size: 27px; line-height: 1.28; }

  .hero { padding: 112px 18px 64px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-primary { flex: 1 1 100%; }
  .hero-actions .btn-ghost { flex: 1 1 calc(50% - 5px); }
  .hero-actions .btn { height: 44px; padding: 0 12px; font-size: 13px; }
  .hero-stats { margin-top: 30px; }
  .hero-stats > div { padding-top: 14px; padding-bottom: 14px; }

  /* 任务表：手机端改为逐条卡片，不再要求横向拖动 */
  .table-wrap {
    max-height: none;
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .mission-table { min-width: 0; display: block; }
  .mission-table thead { display: none; }
  .mission-table tbody { display: block; }
  .mission-table tr {
    display: block;
    margin-bottom: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
  }
  .mission-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 7px 0;
    border: 0;
  }
  .mission-table td::before {
    content: attr(data-label);
    flex: 0 0 86px;
    padding-top: 1px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 14px;
    line-height: 1.5;
  }
  .mission-table td:first-child { display: none; }
  .mission-table td[data-label="任务"] { align-items: baseline; }
  .mission-table td[data-label="任务"] strong { display: inline; }
  .mission-table td[data-label="任务"] .mission-id { display: inline-block; margin-left: 6px; margin-top: 0; }
  .mission-table td.highlight-cell { display: block; padding-top: 9px; }
  .mission-table td.highlight-cell::before { display: block; margin-bottom: 4px; }
  .table-hint { display: none; }
  .table-wrap { scrollbar-width: none; }

  .orbit-actions .btn { flex: 1 1 100%; }
  .feedback-form .btn-primary { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .life-ledger { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .hero { padding: 104px 16px 58px; }
  .hero-cn { font-size: clamp(76px, 23vw, 96px); }
  .hero-lead { font-size: 24px; }
  .hero-desc { font-size: 14.5px; }
  .hero-actions .btn-ghost { flex: 1 1 100%; }
  .section-num { font-size: 32px; }
  .section-head h2 { font-size: 25px; }
  .wrap { padding: 0 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .gallery-item.is-feature { grid-column: span 2; grid-row: span 2; }
  .gallery-item figcaption { padding: 26px 10px 9px; }
  .gallery-item figcaption span { font-size: 14px; }
}

/* 手机端图表：固定柱宽 + 横向滑动，避免 17 个年份挤在一起 */
.chart-mobile-hint { display: none; }
@media (max-width: 720px) {
  .hero-date { display: none; }
  .chart {
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .bar-item { flex: 0 0 42px; min-width: 42px; }
  .bar { width: 60%; max-width: 24px; }
  .chart-mobile-hint { display: inline; color: var(--accent-soft); }
}

/* ---------- public visit counter ---------- */
.welcome-count {
  display: flex; align-items: center; gap: 8px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.welcome-count[hidden], .footer-count[hidden] { display: none; }
.welcome-count strong, .footer-count strong {
  color: var(--text); font-family: var(--mono); font-weight: 500;
}
.welcome-count .count-dot { flex-shrink: 0; }
.footer-count { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- AI provenance ---------- */
.footer-ai { color: var(--cyan) !important; }
.ai-note {
  margin-top: 24px; padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(95, 201, 255, .22);
  border-radius: var(--radius);
  background:
    radial-gradient(520px 260px at 88% 0%, rgba(95, 201, 255, .08), transparent 66%),
    linear-gradient(155deg, rgba(17, 27, 43, .86), rgba(8, 12, 20, .72));
}
.ai-note h3 { font-family: var(--serif); font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 10px; }
.ai-note p { font-size: 14px; line-height: 1.95; color: var(--text-soft); margin-bottom: 8px; }
.ai-note p:last-child { margin-bottom: 0; }
.ai-thanks { color: var(--cyan) !important; font-family: var(--mono); letter-spacing: .05em; }
