/* ============================================================
   6163银河国主页 · /assets/site.css
   深空夜航观测站：共享外壳、基础组件与排版系统
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
button { background: none; border: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 色彩 */
  --ink-950: #05070F;
  --ink-900: #080C18;
  --ink-800: #0B1120;
  --ink-700: #111A2E;
  --line: #1E2A44;
  --cyan: #35E0D0;
  --cyan-soft: #7DF3E6;
  --violet: #7A5CFF;
  --violet-deep: #4B34B8;
  --gold: #F5B942;
  --gold-soft: #FFD27A;
  --green: #2FD08A;
  --danger: #FF7A6B;
  --text: #E6ECF5;
  --text-soft: #D3DCEB;
  --muted: #9AA7BD;

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺度 */
  --gap: 24px;
  --gap-lg: 40px;
  --section: 72px;
  --gutter: 20px;
  --max-w: 1180px;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 22px;
  --rail-w: 0px;
  --statusbar-h: 58px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; --section: 84px; } }
@media (min-width: 1024px) { :root { --rail-w: 216px; --gutter: 32px; --section: 96px; --statusbar-h: 64px; } }
@media (min-width: 1440px) { :root { --rail-w: 248px; --max-w: 1220px; } }

/* ---------- 3. 基础与中文排版 ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--ink-950);
  background-image:
    radial-gradient(120% 70% at 88% -8%, rgba(122, 92, 255, .22), transparent 62%),
    radial-gradient(90% 60% at 4% 6%, rgba(53, 224, 208, .13), transparent 60%),
    linear-gradient(180deg, #070A15 0%, #05070F 42%, #04060C 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 34% at 76% 0%, rgba(122, 92, 255, .18), transparent 72%),
    radial-gradient(38% 30% at 8% 16%, rgba(53, 224, 208, .10), transparent 72%);
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
}
p { line-height: 1.78; }
strong { font-weight: 700; color: #fff; }
::selection { background: rgba(53, 224, 208, .32); color: #04120F; }

/* 焦点 */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 4. 通用工具 ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  border-radius: var(--radius-s);
  background: var(--gold);
  color: #1A1206;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. 容器与栅格 ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 780px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .55); }
.section__head { display: grid; gap: 14px; max-width: 62ch; margin-bottom: var(--gap-lg); }

.grid { display: grid; gap: var(--gap); }
.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1fr); gap: var(--gap-lg); }
@media (min-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 56px; }
}

/* ---------- 6. 文字组件 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid currentColor; flex: none;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.6vw, 40px);
  letter-spacing: -.02em;
  line-height: 1.16;
}
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--muted); max-width: 48ch; }
.prose { max-width: 40em; font-size: 17px; line-height: 1.85; color: var(--text-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(22px, 2.6vw, 28px); margin-top: 1.8em; }
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose a { color: var(--cyan-soft); border-bottom: 1px solid rgba(125, 243, 230, .35); }
.prose ul, .prose ol { list-style: disc; padding-left: 1.2em; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 17, 32, .66);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--line) 14%, var(--line) 86%, transparent); }

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1A1206;
  box-shadow: 0 14px 32px -16px rgba(245, 185, 66, .95);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(245, 185, 66, 1); }
.btn--ghost {
  border-color: rgba(53, 224, 208, .45);
  background: rgba(53, 224, 208, .07);
  color: var(--cyan-soft);
}
.btn--ghost:hover { border-color: var(--cyan); background: rgba(53, 224, 208, .14); transform: translateY(-2px); }
.btn--quiet {
  border-color: var(--line);
  background: rgba(11, 17, 32, .72);
  color: var(--text);
}
.btn--quiet:hover { border-color: rgba(122, 92, 255, .6); color: #fff; transform: translateY(-2px); }

/* ---------- 8. 面包屑 ---------- */
.breadcrumb { padding-top: 22px; }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__link { color: var(--muted); transition: color .18s var(--ease); }
.breadcrumb__link:hover { color: var(--cyan-soft); }
.breadcrumb__sep { color: rgba(154, 167, 189, .45); font-family: var(--font-mono); }
.breadcrumb__current { color: var(--text); font-weight: 600; }

/* ---------- 9. 图片容器（页面阶段放置占位） ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(53, 224, 208, .16), transparent 58%),
    radial-gradient(110% 90% at 96% 100%, rgba(122, 92, 255, .26), transparent 62%),
    linear-gradient(160deg, #0B1120, #05070F 70%);
  box-shadow: inset 0 0 0 1px rgba(125, 243, 230, .06), 0 30px 70px -50px rgba(53, 224, 208, .8);
  isolation: isolate;
}
.media > img, .media > picture > img { width: 100%; height: 100%; object-fit: cover; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--wide { aspect-ratio: 21 / 9; }
.media__frame {
  position: absolute; inset: 12px;
  border: 1px solid rgba(125, 243, 230, .2);
  border-radius: calc(var(--radius-l) - 8px);
  pointer-events: none;
}
.media__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  background: linear-gradient(0deg, rgba(5, 7, 15, .94), rgba(5, 7, 15, 0));
}

/* ---------- 10. 页头 ---------- */
.site-header { position: relative; z-index: 50; }

.status-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 9, 18, .9);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}
.status-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: var(--statusbar-h);
  padding: 8px var(--gutter);
  margin-inline: auto;
  max-width: 1560px;
}
.status-bar__tools { display: flex; align-items: center; gap: 8px; flex: none; }

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 0;
  padding: 4px 2px;
  border-radius: var(--radius-s);
}
.brand__mark {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 9px;
  border-radius: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #04120F;
  background: linear-gradient(135deg, var(--cyan-soft), var(--cyan) 46%, var(--violet));
  box-shadow: 0 0 22px -8px rgba(53, 224, 208, .9);
}
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand__name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 800; letter-spacing: .08em;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(154, 167, 189, .85);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.status-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 17, 32, .72);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.status-chip__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 208, 138, .16), 0 0 12px rgba(47, 208, 138, .85);
  animation: chip-pulse 3.2s ease-in-out infinite;
}
@keyframes chip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .42; } }

.search-trigger,
.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 17, 32, .72);
  color: var(--text);
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease),
              background-color .18s var(--ease), transform .18s var(--ease);
}
.search-trigger:hover,
.nav-toggle:hover { border-color: rgba(53, 224, 208, .6); color: var(--cyan-soft); background: rgba(53, 224, 208, .1); }
.search-trigger:active,
.nav-toggle:active { transform: translateY(1px); }

.search-trigger__glyph {
  position: relative;
  width: 13px; height: 13px; flex: none;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.search-trigger__glyph::after {
  content: "";
  position: absolute; right: -4px; bottom: -3px;
  width: 6px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transform: rotate(45deg);
}

.nav-toggle { display: none; }
.nav-toggle__bars { display: block; width: 16px; flex: none; }
.nav-toggle__bars span {
  display: block; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle__bars span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.header-rule { position: relative; height: 1px; background: var(--line); }
.header-rule::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(53, 224, 208, 0), rgba(53, 224, 208, .5) 22%, rgba(122, 92, 255, .5) 62%, rgba(53, 224, 208, 0));
}
.header-rule__progress {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 1px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 70%, var(--gold));
  box-shadow: 0 0 10px rgba(53, 224, 208, .8);
  transition: transform .12s linear;
}

/* ---------- 11. 站内检索面板 ---------- */
.search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: var(--gutter);
  z-index: 70;
  width: min(420px, calc(100vw - var(--gutter) * 2));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(13, 20, 38, .99), rgba(7, 10, 20, .99));
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(53, 224, 208, .08);
}
.search-panel[hidden] { display: none; }
.search-panel__head {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.search-panel__label {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.search-panel__input {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: rgba(5, 7, 15, .92);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.search-panel__input::placeholder { color: rgba(154, 167, 189, .6); }
.search-panel__input:focus {
  border-color: rgba(53, 224, 208, .7);
  box-shadow: 0 0 0 3px rgba(53, 224, 208, .12);
  outline: none;
}
.search-panel__list {
  display: grid; gap: 2px;
  margin-top: 14px;
  max-height: 264px;
  overflow-y: auto;
}
.search-panel__item[hidden] { display: none; }
.search-panel__link {
  display: flex; align-items: baseline; gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  font-size: 14px;
  color: var(--text-soft);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.search-panel__link:hover { background: rgba(53, 224, 208, .1); color: var(--cyan-soft); }
.search-panel__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--cyan);
  flex: none;
}
.search-panel__name { font-weight: 500; }
.search-panel__empty {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.search-panel__empty[hidden] { display: none; }

/* ---------- 12. 侧边轨道导航 ---------- */
.rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(84vw, 340px);
  padding: 20px 18px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #0B1120 0%, #070A14 62%, #05070F 100%);
  box-shadow: 30px 0 70px -40px #000;
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(-102%);
  transition: transform .3s var(--ease), visibility .3s var(--ease);
}
.rail[data-open] { visibility: visible; transform: none; }

.rail__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rail__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(154, 167, 189, .9);
}
.rail__close {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.rail__close:hover { color: var(--cyan-soft); border-color: rgba(53, 224, 208, .55); }

.rail__list { display: flex; flex-direction: column; gap: 4px; }
.rail__item { display: block; }
.rail__link {
  position: relative;
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 12px 11px 16px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 15px;
  transition: color .18s var(--ease), background-color .18s var(--ease), transform .18s var(--ease);
}
.rail__link::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 2px; height: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  transform: translateY(-50%);
  transition: height .24s var(--ease);
}
.rail__link:hover { color: var(--text); background: rgba(53, 224, 208, .07); }
.rail__link:hover::before { height: 58%; }
.rail__link[aria-current="page"] {
  color: var(--cyan-soft);
  background: rgba(53, 224, 208, .1);
}
.rail__link[aria-current="page"]::before { height: 100%; }
.rail__link[aria-current="page"] .rail__index { color: var(--gold); }
.rail__index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(154, 167, 189, .6);
  flex: none;
}
.rail__label { font-family: var(--font-display); font-weight: 600; letter-spacing: .03em; }

.rail__foot {
  margin-top: auto;
  display: grid; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rail__search,
.footer__search {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 13px;
  border: 1px dashed rgba(53, 224, 208, .42);
  border-radius: var(--radius-s);
  background: rgba(53, 224, 208, .06);
  color: var(--cyan-soft);
  font-size: 13px;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.rail__search:hover,
.footer__search:hover { background: rgba(53, 224, 208, .13); border-color: var(--cyan); }
.rail__note { font-size: 12px; line-height: 1.65; color: var(--muted); }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  body.is-nav-open { overflow: hidden; }
}
@media (min-width: 1024px) {
  .rail {
    width: var(--rail-w);
    padding: 26px 18px 28px;
    transform: none;
    visibility: visible;
    box-shadow: none;
    transition: none;
    z-index: 40;
  }
  .rail__close { display: none; }
  .rail__title { font-size: 10px; }
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: var(--section);
  padding: 56px 0 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 17, 32, .82) 0%, rgba(5, 7, 15, 1) 62%);
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 220px;
  pointer-events: none;
  background: radial-gradient(60% 100% at 12% 0%, rgba(53, 224, 208, .12), transparent 70%),
              radial-gradient(50% 90% at 88% 0%, rgba(122, 92, 255, .16), transparent 72%);
}
.footer__inner {
  position: relative;
  display: grid;
  gap: 36px;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.footer__seg { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .08em;
}
.footer__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}
.footer__call {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 23px);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.4;
  color: var(--text);
  max-width: 20ch;
}
.footer__cta { align-self: flex-start; margin-top: 4px; }
.footer__stamp { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }

.footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(154, 167, 189, .85);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.footer__list { display: grid; gap: 2px; }
.footer__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.footer__link:hover { color: var(--cyan-soft); transform: translateX(3px); }
.footer__link--arrow::after { content: "→"; font-size: 12px; color: var(--cyan); }

.footer__data { display: grid; gap: 4px; font-size: 14px; }
.footer__data dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(154, 167, 189, .75);
}
.footer__data dd { color: var(--text); overflow-wrap: anywhere; margin-bottom: 8px; }
.footer__data dd:last-child { margin-bottom: 0; }
.footer__note { font-size: 12px; line-height: 1.7; color: var(--muted); }

.footer__legal { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.footer__legal-link {
  font-size: 13px;
  color: var(--text-soft);
  border-bottom: 1px solid rgba(53, 224, 208, .35);
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.footer__legal-link:hover { color: var(--cyan-soft); border-color: var(--cyan); }
.footer__copy { margin-top: auto; font-size: 12px; color: rgba(154, 167, 189, .7); }

@media (min-width: 720px) {
  .footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .footer__seg--signal { grid-column: 1 / -1; }
}
@media (min-width: 1080px) {
  .footer__inner { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 36px; }
  .footer__seg--signal { grid-column: auto; }
}

/* ---------- 14. 滚动显现（由 JS 添加 .js-ready） ---------- */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  will-change: opacity, transform;
}
.js-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 15. 小屏适配 ---------- */
@media (max-width: 640px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 16px; }
  .status-bar__inner { gap: 10px; }
  .status-bar__tools { gap: 6px; }
  .search-trigger, .nav-toggle { padding: 8px 10px; }
  .search-trigger__label { display: none; }
  .search-panel { right: 12px; left: 12px; width: auto; }
  .footer__call { max-width: none; }
}
@media (max-width: 420px) {
  .status-chip__text { display: none; }
  .status-chip { padding: 8px; }
  .nav-toggle__label { display: none; }
}

/* ---------- 16. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .status-chip__dot { animation: none; }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
  .rail, .rail[data-open] { transition: none; }
}
