/* ============================================================
   6163银河品牌 · 共享样式表 /assets/site.css
   骨架：堆叠画板 + 侧边轨道 / 银河深蓝 · 星云紫 · 电光青 · 橙金
   ============================================================ */

/* ---------- 1. reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body,
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol,
li,
figure,
blockquote,
dl,
dd { margin: 0; padding: 0; }

ul,
ol { list-style: none; }

img,
svg,
video { display: block; max-width: 100%; height: auto; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration: none; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.nav-open { overflow: hidden; }

/* ---------- 2. 变量 ---------- */
:root {
  --void: #070B1F;
  --galaxy: #0E1633;
  --mist: #1C2447;
  --nebula: #7C5CFF;
  --cyan: #35E0D6;
  --amber: #FFB23F;
  --warm: #F5F3EE;
  --silver: #A8B0C4;
  --lilac: #C9C2F0;
  --star: rgba(245, 243, 238, 0.10);
  --star-soft: rgba(245, 243, 238, 0.055);

  --fs-1: 1rem;
  --fs-2: 1.25rem;
  --fs-3: 1.6rem;
  --fs-4: 2.2rem;
  --fs-5: 3.4rem;

  --font-title: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --rail-w: 112px;
  --ticker-h: 34px;
  --bar-h: 60px;

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-panel: 0 18px 40px -28px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(245, 243, 238, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--warm);
  background-color: var(--void);
  background-image:
    radial-gradient(rgba(245, 243, 238, 0.07) 1px, transparent 1.4px),
    radial-gradient(circle at 14% 6%, rgba(124, 92, 255, 0.20), transparent 40%),
    radial-gradient(circle at 92% 2%, rgba(53, 224, 214, 0.12), transparent 36%);
  background-size: 28px 28px, 100% 900px, 100% 900px;
  background-repeat: repeat, no-repeat, no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
}

strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 4. 布局骨架 ---------- */
.shell {
  padding-inline-start: var(--rail-w);
  padding-block-start: var(--ticker-h);
  min-height: 100vh;
  position: relative;
}

.wrap {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.grid--stagger > *:nth-child(even) { margin-block-start: 28px; }

/* ---------- 5. 首屏与标题工具 ---------- */
.display {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.5rem, 9vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lead {
  font-size: var(--fs-2);
  line-height: 1.6;
  max-width: 34ch;
  color: rgba(245, 243, 238, 0.82);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
}

.v-note {
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--lilac);
  opacity: 0.75;
}

/* ---------- 6. 编号章节 ---------- */
.section {
  position: relative;
  padding-block: 52px;
}

.section__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 26px;
  align-items: end;
  margin-block-end: 28px;
}

.section__num {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: rgba(201, 194, 240, 0.42);
  -webkit-text-stroke: 1px rgba(201, 194, 240, 0.5);
}

.section__title {
  font-size: var(--fs-4);
}

.section__note {
  grid-column: 2;
  max-width: 56ch;
  font-size: 14px;
  color: var(--silver);
}

/* ---------- 7. 叠放面板 ---------- */
.panel {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--star);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(28, 36, 71, 0.52), rgba(14, 22, 51, 0.75));
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 4px;
  height: 64px;
  background: var(--panel-accent, var(--nebula));
}

.panel--nebula { --panel-accent: var(--nebula); }
.panel--cyan { --panel-accent: var(--cyan); }
.panel--amber { --panel-accent: var(--amber); }

.panel__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-block-end: 16px;
}

.panel__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--panel-accent, var(--nebula));
  padding-block-start: 6px;
}

.panel__title {
  font-size: var(--fs-3);
  margin-block-end: 8px;
}

.panel__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--panel-accent, var(--nebula));
  opacity: 0.92;
}

.panel__body {
  color: rgba(245, 243, 238, 0.86);
}

/* ---------- 8. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--nebula), #5A38DE);
  color: #FFFFFF;
  box-shadow: 0 16px 34px -18px rgba(124, 92, 255, 0.95);
}

.btn--cyan {
  background: rgba(53, 224, 214, 0.12);
  color: var(--cyan);
  border-color: rgba(53, 224, 214, 0.45);
}

.btn--cyan:hover {
  background: var(--cyan);
  color: #04121A;
}

.btn--ghost {
  background: rgba(245, 243, 238, 0.04);
  color: var(--warm);
  border-color: var(--star);
}

.btn--ghost:hover { border-color: rgba(245, 243, 238, 0.32); }

/* ---------- 9. 标签 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--star);
  border-radius: 999px;
  background: rgba(245, 243, 238, 0.04);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--silver);
}

.tag--nebula { color: var(--nebula); border-color: rgba(124, 92, 255, 0.45); background: rgba(124, 92, 255, 0.10); }
.tag--cyan { color: var(--cyan); border-color: rgba(53, 224, 214, 0.40); background: rgba(53, 224, 214, 0.08); }
.tag--amber { color: var(--amber); border-color: rgba(255, 178, 63, 0.40); background: rgba(255, 178, 63, 0.08); }

/* ---------- 10. 面包屑 ---------- */
.breadcrumb { padding-block: 20px 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--silver);
}

.breadcrumb__link { color: var(--silver); }

.breadcrumb__link:hover {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumb__sep { color: rgba(168, 176, 196, 0.5); }

.breadcrumb__item[aria-current="page"] { color: var(--warm); }

/* ---------- 11. 正文 ---------- */
.prose {
  max-width: 68ch;
  color: rgba(245, 243, 238, 0.88);
}

.prose p { margin-block-end: 1.1em; }

.prose h2 {
  font-size: var(--fs-3);
  margin-block: 1.6em 0.6em;
}

.prose h3 {
  font-size: var(--fs-2);
  margin-block: 1.4em 0.5em;
}

.prose ul,
.prose ol {
  margin-block-end: 1.1em;
  padding-inline-start: 1.2em;
}

.prose ul { list-style: none; }

.prose ul li { position: relative; padding-inline-start: 16px; }

.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.8;
}

.prose ol { list-style: decimal; }

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 12. 图片容器基础规则 ---------- */
.media {
  position: relative;
  border: 1px solid var(--star);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: linear-gradient(140deg, rgba(124, 92, 255, 0.22), rgba(53, 224, 214, 0.12) 55%, rgba(7, 11, 31, 0.92));
}

.media__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 180px;
  display: grid;
  place-items: center;
  background-image:
    linear-gradient(rgba(245, 243, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 238, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--silver);
  background: linear-gradient(180deg, transparent, rgba(7, 11, 31, 0.88));
}

.media--tall .media__frame { aspect-ratio: 4 / 5; }
.media--wide .media__frame { aspect-ratio: 21 / 9; }

/* ---------- 13. 数据表 ---------- */
.data-table__wrap {
  overflow-x: auto;
  border: 1px solid var(--star);
  border-radius: var(--radius-m);
  background: rgba(14, 22, 51, 0.5);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: start;
  border-bottom: 1px solid var(--star);
  vertical-align: top;
}

.data-table thead th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--silver);
  background: rgba(28, 36, 71, 0.55);
  white-space: nowrap;
}

.data-table tbody tr:nth-child(odd) { background: rgba(28, 36, 71, 0.34); }

.data-table tbody tr:last-child td { border-bottom: 0; }

.data-table .num {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--amber);
  white-space: nowrap;
}

/* ---------- 14. 显现动效 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 15. 头部：速报细条 ---------- */
.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-s);
  background: var(--warm);
  color: var(--void);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 90;
  --accent: var(--nebula);
  --accent-soft: rgba(124, 92, 255, 0.16);
}

.site-header[data-accent="cyan"] {
  --accent: var(--cyan);
  --accent-soft: rgba(53, 224, 214, 0.16);
}

.site-header[data-accent="amber"] {
  --accent: var(--amber);
  --accent-soft: rgba(255, 178, 63, 0.16);
}

.ticker {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--ticker-h);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-inline: 16px 140px;
  border-bottom: 1px solid var(--star);
  background: linear-gradient(90deg, rgba(7, 11, 31, 0.96), rgba(14, 22, 51, 0.9));
  font-size: 12.5px;
  color: var(--silver);
}

.ticker__label {
  flex: none;
  padding: 2px 10px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  background: rgba(245, 243, 238, 0.03);
}

.ticker__track {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ticker__item { display: inline-block; }

.scroll-progress {
  position: fixed;
  inset-inline: 0;
  inset-block-start: var(--ticker-h);
  height: 2px;
  z-index: 82;
  background: rgba(245, 243, 238, 0.06);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--nebula), var(--cyan));
  transition: width 0.12s linear;
}

/* ---------- 16. 头部：移动顶栏 ---------- */
.mobilebar {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--bar-h);
  z-index: 80;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--star);
  background: linear-gradient(180deg, rgba(7, 11, 31, 0.97), rgba(14, 22, 51, 0.9));
}

.mobilebar__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mobilebar__mark {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.mobilebar__text {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--star);
  border-radius: 999px;
  font-size: 13px;
  color: var(--silver);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  color: var(--warm);
  border-color: var(--accent-soft);
  background: rgba(245, 243, 238, 0.04);
}

.nav-toggle__label { letter-spacing: 0.08em; }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 16px;
  height: 12px;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.site-header[data-open] .nav-toggle__bar:first-child { transform: translateY(2.5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bar:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* ---------- 17. 头部：侧边轨道 ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: 88;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: calc(var(--ticker-h) + 18px) 10px 20px;
  border-inline-end: 1px solid var(--star);
  background: linear-gradient(180deg, rgba(20, 28, 60, 0.94), rgba(9, 14, 34, 0.97));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar { width: 0; height: 0; }

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 10px 6px;
  border: 1px solid var(--star);
  border-radius: var(--radius-m);
  background: rgba(245, 243, 238, 0.03);
}

.rail__brand-mark {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.rail__brand-text {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--silver);
}

.rail__nav { width: 100%; }

.rail__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rail__item { width: 100%; }

.rail__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 8px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--silver);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.rail__link::before {
  content: "";
  position: absolute;
  inset-inline-start: -5px;
  inset-block-start: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 0.25s var(--ease);
}

.rail__link:hover {
  color: var(--warm);
  background: rgba(245, 243, 238, 0.05);
}

.rail__link[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--warm);
  font-weight: 700;
}

.rail__link[aria-current="page"]::before { height: 20px; }

.rail__num {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--lilac);
  opacity: 0.75;
}

.rail__link[aria-current="page"] .rail__num {
  color: var(--accent);
  opacity: 1;
}

.rail__label { white-space: nowrap; }

.rail__cta {
  writing-mode: vertical-rl;
  margin-block-start: auto;
  padding: 14px 8px;
  border: 1px solid rgba(53, 224, 214, 0.45);
  border-radius: 999px;
  background: rgba(53, 224, 214, 0.07);
  color: var(--cyan);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.rail__cta:hover {
  background: var(--cyan);
  color: #04121A;
  box-shadow: 0 0 24px -4px rgba(53, 224, 214, 0.6);
}

.rail__note {
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--lilac);
  opacity: 0.7;
}

.rail__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- 18. 头部：遮罩与快捷入口 ---------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 84;
  background: rgba(4, 7, 20, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}

.site-header[data-open] .nav-scrim {
  opacity: 1;
  visibility: visible;
}

.quick-cost {
  position: fixed;
  inset-inline-end: 18px;
  inset-block-end: 18px;
  z-index: 76;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nebula), #5B3BE0);
  box-shadow: 0 14px 30px -14px rgba(124, 92, 255, 0.9);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.quick-cost::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.quick-cost:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(124, 92, 255, 1);
}

/* ---------- 19. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-inline-start: var(--rail-w);
  padding: 64px 0 28px;
  border-block-start: 1px solid var(--star);
  background: linear-gradient(180deg, rgba(14, 22, 51, 0) 0%, rgba(14, 22, 51, 0.88) 24%, rgba(7, 11, 31, 0.99) 100%);
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: radial-gradient(circle at 50% 100%, rgba(124, 92, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer__panel {
  position: relative;
  padding: 22px 18px 24px;
  border: 1px solid var(--star);
  border-radius: var(--radius-m);
  background: linear-gradient(180deg, rgba(28, 36, 71, 0.55), rgba(14, 22, 51, 0.68));
  box-shadow: var(--shadow-panel);
}

.footer__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 44px;
  height: 4px;
  border-end-end-radius: 4px;
  background: var(--panel-accent, var(--nebula));
}

.footer__panel--nav { --panel-accent: var(--nebula); }
.footer__panel--rules { --panel-accent: var(--cyan); margin-block-start: 16px; }
.footer__panel--contact { --panel-accent: var(--amber); }
.footer__panel--partner { --panel-accent: var(--lilac); margin-block-start: 16px; }

.footer__title {
  margin-block-end: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--silver);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__list--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--warm);
  opacity: 0.85;
  transition: opacity 0.2s var(--ease), color 0.2s var(--ease);
}

.footer__link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--panel-accent, var(--nebula));
  opacity: 0.55;
}

.footer__link:hover {
  opacity: 1;
  color: var(--cyan);
}

.footer__link:hover::before { opacity: 1; }

.footer__note {
  margin-block-start: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--silver);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--silver);
}

.footer__contact-value {
  font-size: 13.5px;
  color: var(--warm);
  word-break: break-all;
}

.footer__contact-value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.copy-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: 4px;
  padding: 6px 10px;
  border: 1px solid var(--star);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--silver);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.copy-btn:hover {
  color: var(--warm);
  border-color: rgba(53, 224, 214, 0.45);
  background: rgba(245, 243, 238, 0.04);
}

.copy-btn[data-copied="true"] {
  color: var(--cyan);
  border-color: rgba(53, 224, 214, 0.6);
}

.copy-btn[data-copied="false"] {
  color: var(--amber);
  border-color: rgba(255, 178, 63, 0.5);
}

.footer__legal {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-block-start: 46px;
  padding-block-start: 22px;
  border-block-start: 1px dashed rgba(245, 243, 238, 0.14);
  font-size: 12.5px;
  color: var(--silver);
}

.footer__legal-name {
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--warm);
}

.footer__legal-line {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
}

.footer__legal-year {
  margin-inline-start: auto;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

/* ---------- 20. 平板与移动 ---------- */
@media (max-width: 1023px) {
  .ticker { display: none; }

  .mobilebar { display: flex; }

  .scroll-progress { inset-block-start: var(--bar-h); }

  .shell {
    padding-inline-start: 0;
    padding-block-start: var(--bar-h);
  }

  .rail {
    width: min(300px, 84vw);
    align-items: stretch;
    gap: 14px;
    padding: 22px 18px 26px;
    border-inline-end: 1px solid var(--star);
    background: linear-gradient(180deg, rgba(14, 22, 51, 0.99), rgba(7, 11, 31, 0.99));
    transform: translateX(-104%);
    transition: transform 0.32s var(--ease);
  }

  .site-header[data-open] .rail { transform: translateX(0); }

  .rail__brand {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    padding: 12px 14px;
  }

  .rail__brand-text { font-size: 13px; }

  .rail__list { gap: 4px; }

  .rail__link {
    gap: 12px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .rail__link::before { inset-inline-start: 0; }

  .rail__label { white-space: normal; }

  .rail__num { font-size: 12px; }

  .rail__cta {
    writing-mode: horizontal-tb;
    margin-block-start: 18px;
    padding: 14px 18px;
    text-align: center;
    letter-spacing: 0.1em;
  }

  .rail__note {
    writing-mode: horizontal-tb;
    text-align: center;
    letter-spacing: 0.2em;
  }

  .rail__dot { margin-inline: auto; }

  .site-footer { margin-inline-start: 0; }

  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__panel--rules,
  .footer__panel--partner { margin-block-start: 0; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--stagger > *:nth-child(even) { margin-block-start: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .wrap,
  .footer__inner { width: min(100% - 32px, 1180px); }

  .section { padding-block: 36px; }

  .section__head {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 16px;
  }

  .section__note { grid-column: 1 / -1; }

  .panel { padding: 22px 18px 24px; border-radius: var(--radius-m); }

  .panel__head { flex-direction: column; gap: 6px; }

  .grid--2,
  .grid--3 { grid-template-columns: minmax(0, 1fr); }

  .footer__grid { grid-template-columns: minmax(0, 1fr); }

  .footer__legal { flex-direction: column; align-items: flex-start; gap: 8px; }

  .footer__legal-year { margin-inline-start: 0; }

  .quick-cost {
    inset-inline-end: 12px;
    inset-block-end: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
  }
}

/* ---------- 21. 动效退化 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-progress__bar { transition: none; }
}
