/* ==========================================================================
   SITE KIT · 新莆京官网 · /assets/site.css
   夜间控制台语义：墨黑底 / 暖金骨架 / 安卓绿状态 / 朱砂红入口
   ========================================================================== */

/* ---------- 01 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, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; padding: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

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

::selection { background: rgba(232, 180, 90, 0.3); color: #fff; }

/* ---------- 02 变量 ---------- */
:root {
  --ink-900: #0B0D10;
  --ink-800: #14181D;
  --ink-700: #1E242B;
  --gold-500: #E8B45A;
  --gold-300: #F2D49B;
  --status-green: #3DDC84;
  --green-deep: #1F6B43;
  --cinnabar: #C2453C;
  --paper: #F4EFE6;
  --mist: #9AA3AD;

  --bg: var(--ink-900);
  --surface: var(--ink-800);
  --surface-2: var(--ink-700);
  --text: var(--paper);
  --text-dim: var(--mist);
  --line: rgba(244, 239, 230, 0.11);
  --line-strong: rgba(244, 239, 230, 0.22);
  --line-gold: rgba(232, 180, 90, 0.34);

  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 24px;
  --fs-xl: 32px;
  --fs-2xl: 48px;
  --fs-3xl: 76px;
  --fs-4xl: 112px;

  --rail-w: 88px;
  --header-h: 72px;
  --shell-max: 1320px;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --dur: 320ms;
}

/* ---------- 03 基础排版 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--header-h);
  background:
    radial-gradient(85% 55% at 100% -8%, rgba(31, 107, 67, 0.18), transparent 62%),
    radial-gradient(65% 45% at 0% 0%, rgba(232, 180, 90, 0.09), transparent 58%),
    var(--ink-900);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p { line-height: 1.75; }

strong, b { font-weight: 700; }

#main-content { scroll-margin-top: calc(var(--header-h) + 8px); }

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--gold-500);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 1px;
  background: var(--gold-500);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.8;
  color: var(--text-dim);
}

.link {
  color: var(--gold-300);
  text-decoration: underline;
  text-decoration-color: var(--line-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.link:hover { color: var(--gold-500); text-decoration-color: var(--gold-500); }

.divider-gold {
  height: 1px;
  margin: 0;
  border: 0;
  background: linear-gradient(90deg, var(--gold-500), rgba(232, 180, 90, 0.05) 70%, transparent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 04 容器与栅格 ---------- */
.container {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section { padding-block: clamp(44px, 6.5vw, 92px); }

.section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(22px, 3vw, 38px);
}

.section__title {
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--text);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }

.grid--split { grid-template-columns: 1fr; }

.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 680px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .grid--split { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stack > * + * { margin-top: var(--stack-gap, 14px); }

/* ---------- 05 SKIP LINK ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--gold-500);
  color: #191103;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

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

/* ---------- 06 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--gold-500);
  color: #191103;
}

.btn--gold:hover { background: var(--gold-300); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-gold);
  color: var(--gold-300);
}

.btn--ghost:hover {
  background: rgba(232, 180, 90, 0.1);
  border-color: var(--gold-500);
  color: var(--paper);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 13px;
}

.btn--block { width: 100%; }

/* ---------- 07 头部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: var(--header-h);
  background: rgba(11, 13, 16, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 24px);
  height: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 28px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 5px 9px 5px 5px;
  border-radius: var(--radius-sm);
  transition: background 0.22s var(--ease);
}

.brand:hover { background: rgba(232, 180, 90, 0.08); }

.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--gold-300), var(--gold-500) 45%, var(--green-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(232, 180, 90, 0.45);
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid var(--ink-900);
  border-radius: 50%;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.2;
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
  white-space: nowrap;
}

.brand__meta {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  white-space: nowrap;
}

.header-mid {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(30, 36, 43, 0.5);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  flex: 0 0 auto;
}

.status-light {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  animation: statusPulse 3s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.14), 0 0 10px rgba(61, 220, 132, 0.55);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(61, 220, 132, 0.06), 0 0 18px rgba(61, 220, 132, 0.9);
  }
}

.header-actions__label {
  display: none;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-300);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease);
}

.nav-toggle:hover { background: rgba(232, 180, 90, 0.1); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 10px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 8px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

.nav-toggle__label { white-space: nowrap; }

@media (min-width: 560px) {
  .header-actions__label { display: inline; }
}

@media (min-width: 768px) {
  .header-mid { display: inline-flex; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

@media (max-width: 479px) {
  .brand__meta { display: none; }
  .brand__name { font-size: 15px; }
  .brand__mark { width: 26px; height: 26px; border-radius: 8px; }
  .brand__mark::after { inset: 7px; }
  .btn--sm { padding: 8px 11px; font-size: 12px; }
  .nav-toggle { padding: 8px 10px; }
  .nav-toggle__label { display: none; }
}

/* ---------- 08 侧轨导航 ---------- */
.nav-rail {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 105;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  background: var(--ink-800);
  border-bottom: 1px solid var(--line-gold);
  transition: max-height 0.4s var(--ease), visibility 0.4s var(--ease);
}

.nav-rail[data-open] {
  max-height: min(78vh, 620px);
  overflow-y: auto;
  visibility: visible;
}

.nav-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

.nav-rail__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px 16px;
}

.nav-rail__item { width: 100%; }

.nav-rail__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: var(--radius-sm);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.nav-rail__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-500);
  opacity: 0.85;
}

.nav-rail__label { display: block; min-width: 0; }

.nav-rail__link:hover {
  background: rgba(232, 180, 90, 0.1);
  color: var(--gold-300);
}

.nav-rail__link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(232, 180, 90, 0.18), rgba(232, 180, 90, 0.02));
  box-shadow: inset 2px 0 0 var(--gold-500);
  color: var(--gold-300);
}

.nav-rail__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 14px 18px 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

@media (min-width: 1024px) {
  body { padding-left: var(--rail-w); }

  .nav-rail {
    top: var(--header-h);
    left: 0;
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    max-height: none;
    overflow-y: auto;
    visibility: visible;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
  }

  .nav-rail__head,
  .nav-rail__foot { display: none; }

  .nav-rail__list {
    flex: 1 1 auto;
    gap: 6px;
    padding: 16px 8px;
  }

  .nav-rail__link {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 4px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 0.02em;
  }

  .nav-rail__num {
    font-size: 10px;
    letter-spacing: 0.12em;
    opacity: 0.7;
  }

  .nav-rail__link[aria-current="page"] {
    background: linear-gradient(180deg, rgba(232, 180, 90, 0.18), rgba(232, 180, 90, 0.04));
    box-shadow: inset 0 0 0 1px rgba(232, 180, 90, 0.35);
  }
}

/* ---------- 09 页脚 ---------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
  border-top: 1px solid var(--line-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
}

.footer-col { min-width: 0; }

.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand__name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.footer-tagline {
  max-width: 30ch;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-dim);
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold-500);
}

.footer-links li + li { margin-top: 9px; }

.footer-links a {
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-300);
  border-bottom-color: var(--line-gold);
}

.footer-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

.footer-contact__row + .footer-contact__row { margin-top: 12px; }

.footer-contact__key {
  flex: 0 0 auto;
  min-width: 40px;
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--gold-500);
}

.footer-contact__value {
  min-width: 0;
  word-break: break-word;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.footer-strip {
  margin-top: clamp(28px, 4vw, 48px);
  padding-block: 16px;
  background: var(--ink-900);
  border-top: 1px solid var(--line);
}

.footer-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.footer-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-300);
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}

.footer-strip__link::after {
  content: "→";
  font-family: var(--font-mono);
  transition: transform 0.2s var(--ease);
}

.footer-strip__link:hover { color: var(--gold-500); }
.footer-strip__link:hover::after { transform: translateX(3px); }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(24px, 3vw, 40px);
  }
}

/* ---------- 10 内容组件 ---------- */
.card {
  padding: clamp(18px, 2.4vw, 28px);
  background: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.card--panel {
  background:
    linear-gradient(160deg, rgba(31, 107, 67, 0.2) 0%, rgba(232, 180, 90, 0.07) 52%, rgba(30, 36, 43, 0.6) 100%);
  border-color: var(--line-gold);
}

.index-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.index-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 2px 14px;
  align-items: baseline;
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}

.index-row:hover { background: rgba(232, 180, 90, 0.05); }

.index-row__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold-500);
  transition: color 0.35s var(--ease), text-shadow 0.35s var(--ease);
}

.index-row__body {
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--paper);
}

.index-row__meta {
  grid-column: 2 / -1;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

.index-row.is-lit .index-row__num {
  color: var(--status-green);
  text-shadow: 0 0 12px rgba(61, 220, 132, 0.55);
}

@media (min-width: 768px) {
  .index-row {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
  }

  .index-row__meta {
    grid-column: auto;
    text-align: right;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  white-space: nowrap;
}

.badge--green {
  color: #7DF0B2;
  border-color: rgba(61, 220, 132, 0.42);
  background: rgba(61, 220, 132, 0.1);
}

.badge--gold {
  color: var(--gold-300);
  border-color: var(--line-gold);
  background: rgba(232, 180, 90, 0.1);
}

.badge--red {
  color: #E88B84;
  border-color: rgba(194, 69, 60, 0.55);
  background: rgba(194, 69, 60, 0.16);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.breadcrumb a { color: var(--text-dim); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--gold-300); }

.breadcrumb__sep {
  color: rgba(154, 163, 173, 0.5);
  user-select: none;
}

.breadcrumb [aria-current="page"] { color: var(--gold-300); }

/* 图片占位容器 —— 页面阶段放入 img / svg / picture */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(150deg, var(--ink-700) 0%, var(--ink-800) 60%, rgba(31, 107, 67, 0.28) 100%);
}

.media-frame > img,
.media-frame > picture > img,
.media-frame > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(232, 180, 90, 0.16), transparent 62%);
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 4 / 5; }

.media-frame__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  padding: 4px 10px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.74);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--paper);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* 常驻快捷跳转 —— 页面阶段直接挂在 <a> 上 */
.quick-jump {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(30, 36, 43, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold-300);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.quick-jump::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 10px var(--status-green);
}

.quick-jump:hover {
  transform: translateY(-3px);
  background: rgba(232, 180, 90, 0.16);
}

/* ---------- 11 动效协议 ---------- */
html.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

html.reveal-on [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.scroll-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 0;
  height: 2px;
  z-index: 120;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold-500), var(--status-green));
  box-shadow: 0 0 10px rgba(232, 180, 90, 0.6);
}

/* ---------- 12 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.reveal-on [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .status-light { animation: none; box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.16); }

  .nav-rail { transition: none; }
}
