/* =========================================================
   HG Site Kit · free-hg.com.cn
   夜航控制台 / 墨绿 · 鎏金 · 朱砂 / 左侧固定命令栏
   ========================================================= */

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

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

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  /* 珠宝色分区 */
  --hg-ink-900: #061A15;
  --hg-ink-800: #0A211A;
  --hg-ink-700: #0E2B23;
  --hg-ink-500: #17453A;
  --hg-gold-500: #C9A44C;
  --hg-gold-200: #EBD9A6;
  --hg-red-600: #B23A34;
  --hg-slate-400: #7FA6C9;
  --hg-slate-200: #C3D6E4;
  --hg-paper-100: #F5F1E6;
  --hg-black-900: #12100C;
  --hg-mist-400: #8C9A93;
  --hg-white-000: #FDFBF6;

  /* 字体三类不混排 */
  --hg-font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --hg-font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --hg-font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺度 */
  --hg-rail-w: 208px;
  --hg-bar-h: 62px;
  --hg-max: 1120px;
  --hg-pad: clamp(20px, 4vw, 56px);
  --hg-gap: clamp(16px, 2vw, 28px);
  --hg-radius-s: 12px;
  --hg-radius-m: 20px;
  --hg-radius-l: 28px;
  --hg-radius-xl: 32px;

  --hg-line: rgba(201, 164, 76, 0.18);
  --hg-line-soft: rgba(235, 217, 166, 0.10);
  --hg-ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  margin: 0;
  padding-left: var(--hg-rail-w);
  background-color: var(--hg-ink-900);
  color: var(--hg-white-000);
  font-family: var(--hg-font-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--hg-font-serif);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--hg-white-000);
}

p { text-wrap: pretty; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--hg-gold-200);
  outline-offset: 3px;
  border-radius: 6px;
}

#main-content { scroll-margin-top: calc(var(--hg-bar-h) + 16px); }

body.hg-lock { overflow: hidden; }

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

.hg-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;
}

.hg-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--hg-gold-500), transparent);
  opacity: 0.55;
}

/* ---------- 4. Skip link ---------- */
.hg-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--hg-gold-200);
  color: var(--hg-black-900);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s var(--hg-ease);
}

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

/* ---------- 5. Header / 左侧命令轨 ---------- */
.hg-header {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 90;
  width: var(--hg-rail-w);
}

.hg-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 26px 18px 22px;
  border-right: 1px solid var(--hg-line);
  background-image:
    repeating-linear-gradient(180deg, rgba(235, 217, 166, 0.045) 0 1px, transparent 1px 34px),
    radial-gradient(130% 55% at 50% 0%, rgba(23, 69, 58, 0.9), transparent 72%),
    linear-gradient(180deg, #0A211A, var(--hg-ink-900) 62%);
  background-color: var(--hg-ink-900);
}

.hg-rail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hg-gold-500), transparent);
  opacity: 0.6;
}

/* 品牌 */
.hg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 14px;
}

.hg-brand__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--hg-radius-s);
  border: 1px solid rgba(201, 164, 76, 0.45);
  background: linear-gradient(150deg, var(--hg-ink-500), var(--hg-ink-900));
  box-shadow: inset 0 1px 0 rgba(235, 217, 166, 0.25);
}

.hg-brand__crown {
  display: block;
  width: 16px;
  height: 12px;
  background: linear-gradient(180deg, var(--hg-gold-200), var(--hg-gold-500));
  clip-path: polygon(0 100%, 8% 22%, 30% 58%, 50% 0, 70% 58%, 92% 22%, 100% 100%);
}

.hg-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.hg-brand__line {
  font-family: var(--hg-font-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--hg-white-000);
}

.hg-brand__sub {
  font-family: var(--hg-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--hg-mist-400);
}

/* 移动端触发按钮 */
.hg-navtoggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 76, 0.4);
  color: var(--hg-gold-200);
  font-family: var(--hg-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: background 0.2s var(--hg-ease), color 0.2s var(--hg-ease);
}

.hg-navtoggle:hover { background: rgba(201, 164, 76, 0.14); }

.hg-navtoggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.hg-navtoggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--hg-ease), opacity 0.24s var(--hg-ease);
}

.hg-navtoggle[aria-expanded="true"] .hg-navtoggle__bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hg-navtoggle[aria-expanded="true"] .hg-navtoggle__bars i:nth-child(2) { opacity: 0; }
.hg-navtoggle[aria-expanded="true"] .hg-navtoggle__bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 导航面板 */
.hg-rail__nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 20px;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
}

.hg-status {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 76, 0.28);
  background: rgba(201, 164, 76, 0.08);
  font-family: var(--hg-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--hg-gold-200);
}

.hg-status__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--hg-red-600);
  box-shadow: 0 0 0 3px rgba(178, 58, 52, 0.22);
  animation: hg-pulse 2.6s var(--hg-ease) infinite;
}

@keyframes hg-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

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

.hg-nav__item { display: block; }

.hg-nav__link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--hg-radius-s);
  font-size: 14px;
  color: rgba(253, 251, 246, 0.78);
  transition: background 0.2s var(--hg-ease), color 0.2s var(--hg-ease), box-shadow 0.2s var(--hg-ease);
}

.hg-nav__link:hover {
  background: rgba(23, 69, 58, 0.62);
  color: var(--hg-white-000);
}

.hg-nav__idx {
  font-family: var(--hg-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--hg-mist-400);
}

.hg-nav__label { min-width: 0; }

.hg-nav__link[aria-current="page"] {
  background: linear-gradient(90deg, rgba(201, 164, 76, 0.18), rgba(201, 164, 76, 0.03));
  color: var(--hg-gold-200);
  box-shadow: inset 2px 0 0 var(--hg-gold-500);
  font-weight: 600;
}

.hg-nav__link[aria-current="page"] .hg-nav__idx { color: var(--hg-gold-500); }

/* 阅读进度 */
.hg-progress {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.hg-progress__track {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(235, 217, 166, 0.14);
  overflow: hidden;
}

.hg-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hg-gold-500), var(--hg-gold-200));
  transition: width 0.18s linear;
}

.hg-progress__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hg-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--hg-mist-400);
}

.hg-rail__cta {
  width: 100%;
  padding: 12px 10px;
  font-size: 13px;
}

/* ---------- 6. Buttons ---------- */
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--hg-font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s var(--hg-ease), background 0.2s var(--hg-ease), color 0.2s var(--hg-ease), box-shadow 0.2s var(--hg-ease);
}

.hg-btn--gold {
  background: linear-gradient(160deg, var(--hg-gold-200), var(--hg-gold-500));
  color: #1A1408;
  box-shadow: 0 6px 18px rgba(201, 164, 76, 0.18);
}

.hg-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(201, 164, 76, 0.26);
}

.hg-btn--ghost {
  background: rgba(23, 69, 58, 0.4);
  border-color: rgba(201, 164, 76, 0.45);
  color: var(--hg-gold-200);
}

.hg-btn--ghost:hover {
  background: rgba(23, 69, 58, 0.78);
  transform: translateY(-2px);
}

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

.hg-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- 7. Footer ---------- */
.hg-footer {
  border-top: 1px solid var(--hg-line);
  background-image:
    radial-gradient(90% 60% at 100% 0%, rgba(23, 69, 58, 0.55), transparent 70%),
    linear-gradient(180deg, var(--hg-ink-900), #08201A 55%, var(--hg-ink-800));
  background-color: var(--hg-ink-900);
}

.hg-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  max-width: var(--hg-max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 76px) var(--hg-pad) clamp(28px, 4vw, 44px);
}

.hg-footer__lead { display: grid; gap: 14px; align-content: start; }

.hg-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hg-footer__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(201, 164, 76, 0.45);
  background: linear-gradient(150deg, var(--hg-ink-500), var(--hg-ink-900));
  box-shadow: inset 0 1px 0 rgba(235, 217, 166, 0.22);
}

.hg-footer__name {
  font-family: var(--hg-font-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: 0.01em;
  color: var(--hg-white-000);
}

.hg-footer__tag {
  font-family: var(--hg-font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--hg-gold-200);
}

.hg-footer__note {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--hg-mist-400);
  max-width: 34ch;
}

.hg-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
}

.hg-footer__col { display: grid; gap: 12px; align-content: start; }

.hg-footer__coltitle {
  font-family: var(--hg-font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hg-slate-400);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hg-line-soft);
}

.hg-footer__list { display: grid; gap: 8px; }

.hg-footer__link {
  display: inline-block;
  font-size: 14px;
  color: rgba(253, 251, 246, 0.8);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--hg-ease), border-color 0.2s var(--hg-ease);
}

.hg-footer__link:hover {
  color: var(--hg-gold-200);
  border-bottom-color: var(--hg-gold-500);
}

.hg-footer__contact { display: grid; gap: 12px; align-content: start; }

.hg-footer__contactlist { display: grid; gap: 10px; }

.hg-footer__contactrow {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.hg-footer__label {
  font-family: var(--hg-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--hg-mist-400);
}

.hg-footer__value {
  font-size: 13.5px;
  color: var(--hg-white-000);
  word-break: break-word;
}

.hg-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  max-width: var(--hg-max);
  margin-inline: auto;
  padding: 18px var(--hg-pad) 28px;
  border-top: 1px solid var(--hg-line-soft);
}

.hg-footer__legaltext {
  font-size: 12.5px;
  color: var(--hg-mist-400);
}

/* ---------- 8. 页面通用容器与分节 ---------- */
.hg-container {
  width: 100%;
  max-width: var(--hg-max);
  margin-inline: auto;
  padding-inline: var(--hg-pad);
}

.hg-section { padding-block: clamp(32px, 5vw, 72px); }

.hg-section__head {
  display: grid;
  gap: 12px;
  max-width: 62ch;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.hg-eyebrow {
  font-family: var(--hg-font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hg-gold-500);
}

.hg-h1 { font-size: clamp(34px, 5.2vw, 56px); }
.hg-h2 { font-size: clamp(26px, 3.4vw, 40px); }
.hg-h3 { font-size: clamp(19px, 2.2vw, 26px); }

.hg-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--hg-slate-200);
}

.hg-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(253, 251, 246, 0.8);
}

.hg-on-paper {
  background-color: var(--hg-paper-100);
  color: var(--hg-black-900);
  background-image:
    repeating-linear-gradient(180deg, rgba(18, 16, 12, 0.035) 0 1px, transparent 1px 30px);
}

.hg-on-paper :where(h1, h2, h3, h4) { color: var(--hg-black-900); }
.hg-on-paper .hg-lead { color: #3A3A33; }
.hg-on-paper .hg-text { color: #3A3A33; }
.hg-on-paper .hg-eyebrow { color: #8A6A1E; }

/* ---------- 9. 网格 ---------- */
.hg-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--hg-gap);
  align-items: start;
}

.hg-col-4 { grid-column: span 4; }
.hg-col-6 { grid-column: span 6; }
.hg-col-7 { grid-column: span 7; }
.hg-col-8 { grid-column: span 8; }
.hg-col-12 { grid-column: span 12; }

/* ---------- 10. 卡片 ---------- */
.hg-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--hg-line);
  border-radius: var(--hg-radius-l);
  background-image: linear-gradient(165deg, var(--hg-ink-700), var(--hg-ink-900));
  background-color: var(--hg-ink-700);
}

.hg-card--paper {
  background-image: none;
  background-color: var(--hg-paper-100);
  border-color: rgba(18, 16, 12, 0.14);
  color: var(--hg-black-900);
}

.hg-card--paper :where(h2, h3, h4) { color: var(--hg-black-900); }

.hg-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.hg-card__title { font-size: clamp(19px, 2vw, 24px); }

.hg-card__meta {
  font-family: var(--hg-font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--hg-mist-400);
}

.hg-card--paper .hg-card__meta { color: #7A7566; }

.hg-card__body {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(253, 251, 246, 0.8);
}

.hg-card--paper .hg-card__body { color: #3A3A33; }

/* ---------- 11. 图像容器（供页面阶段放置占位/图片） ---------- */
.hg-figure { display: grid; gap: 10px; margin: 0; }

.hg-figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--hg-radius-l);
  border: 1px solid var(--hg-line);
  background-image:
    radial-gradient(120% 90% at 20% 0%, rgba(127, 166, 201, 0.30), transparent 62%),
    radial-gradient(80% 80% at 90% 100%, rgba(201, 164, 76, 0.28), transparent 62%),
    linear-gradient(160deg, var(--hg-ink-700), var(--hg-ink-900));
  background-color: var(--hg-ink-700);
}

.hg-figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(235, 217, 166, 0.14) 0 1px, transparent 1px 30px);
  opacity: 0.35;
}

.hg-figure__media img,
.hg-figure__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hg-figure--wide .hg-figure__media { aspect-ratio: 21 / 9; }
.hg-figure--square .hg-figure__media { aspect-ratio: 1 / 1; }
.hg-figure--tall .hg-figure__media { aspect-ratio: 3 / 4; }

.hg-figure__cap {
  font-family: var(--hg-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hg-mist-400);
}

/* ---------- 12. 折叠面板 ---------- */
.hg-panel {
  border: 1px solid var(--hg-line);
  border-radius: var(--hg-radius-m);
  background-color: rgba(14, 43, 35, 0.62);
  overflow: hidden;
}

.hg-panel + .hg-panel { margin-top: 12px; }

.hg-panel__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--hg-font-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--hg-white-000);
}

.hg-panel__summary::-webkit-details-marker { display: none; }

.hg-panel__summary::after {
  content: "+";
  font-family: var(--hg-font-mono);
  font-weight: 400;
  color: var(--hg-gold-500);
}

.hg-panel[open] > .hg-panel__summary::after { content: "–"; }

.hg-panel__body {
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(253, 251, 246, 0.8);
}

/* ---------- 13. 数据表 ---------- */
.hg-tablewrap {
  overflow-x: auto;
  border: 1px solid var(--hg-line);
  border-radius: var(--hg-radius-m);
}

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

.hg-table th,
.hg-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hg-line-soft);
  vertical-align: top;
}

.hg-table th {
  font-family: var(--hg-font-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--hg-slate-200);
  background-color: rgba(127, 166, 201, 0.12);
}

.hg-table td:first-child {
  font-weight: 600;
  color: var(--hg-white-000);
}

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

/* ---------- 14. 胶囊标签 ---------- */
.hg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 76, 0.35);
  background-color: rgba(14, 43, 35, 0.7);
  font-family: var(--hg-font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hg-gold-200);
}

.hg-chip--red {
  border-color: rgba(178, 58, 52, 0.62);
  background-color: rgba(178, 58, 52, 0.18);
  color: #F0C9C6;
}

.hg-chip--slate {
  border-color: rgba(127, 166, 201, 0.45);
  background-color: rgba(127, 166, 201, 0.14);
  color: var(--hg-slate-200);
}

.hg-chip[aria-pressed="true"] {
  background: linear-gradient(160deg, var(--hg-gold-200), var(--hg-gold-500));
  border-color: transparent;
  color: #1A1408;
}

/* ---------- 15. 面包屑 ---------- */
.hg-breadcrumb {
  font-size: 13px;
  color: var(--hg-mist-400);
  padding-block: 16px;
}

.hg-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hg-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hg-breadcrumb__link {
  color: var(--hg-slate-200);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--hg-ease), border-color 0.2s var(--hg-ease);
}

.hg-breadcrumb__link:hover {
  color: var(--hg-gold-200);
  border-bottom-color: var(--hg-gold-500);
}

.hg-breadcrumb__sep {
  font-family: var(--hg-font-mono);
  color: rgba(140, 154, 147, 0.65);
}

/* ---------- 16. 入场显现 ---------- */
.hg-reveal {
  opacity: 1;
  transform: none;
}

.hg-js .hg-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--hg-ease), transform 0.5s var(--hg-ease);
}

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

/* ---------- 17. 平板 / 手机 ---------- */
@media (max-width: 1023px) {
  body { padding-left: 0; }

  .hg-header {
    position: sticky;
    top: 0;
    inset: auto;
    width: 100%;
    height: auto;
    z-index: 120;
  }

  .hg-rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: auto;
    min-height: var(--hg-bar-h);
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--hg-line);
    background-image: linear-gradient(180deg, #0A211A, #071E18);
    background-color: #071E18;
  }

  .hg-brand { position: relative; z-index: 3; }
  .hg-brand__line { font-size: 14px; }

  .hg-navtoggle {
    display: inline-flex;
    position: relative;
    z-index: 3;
  }

  .hg-rail__nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    flex: none;
    gap: 18px;
    padding: calc(var(--hg-bar-h) + 18px) 20px 40px;
    overflow-y: auto;
    background-color: var(--hg-ink-900);
    background-image: radial-gradient(120% 45% at 50% 0%, rgba(23, 69, 58, 0.9), transparent 70%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.24s var(--hg-ease), transform 0.24s var(--hg-ease), visibility 0.24s var(--hg-ease);
  }

  .hg-rail__nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hg-status { align-self: start; font-size: 11px; }

  .hg-nav__link {
    padding: 13px 12px;
    font-size: 16px;
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .hg-progress { margin-top: 8px; }

  .hg-rail__cta {
    width: 100%;
    padding: 14px 12px;
    font-size: 15px;
  }

  /* 页脚 */
  .hg-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .hg-footer__note { max-width: none; }

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

@media (max-width: 640px) {
  .hg-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .hg-footer__contactrow {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .hg-card { border-radius: var(--hg-radius-m); }
  .hg-figure__media { border-radius: var(--hg-radius-m); }
}

@media (max-width: 899px) {
  .hg-col-4,
  .hg-col-6,
  .hg-col-7,
  .hg-col-8 { grid-column: span 12; }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hg-js .hg-reveal,
  .hg-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hg-progress__bar { transition: none; }
}
