/* ============================================================
   银河中心 · 66YH — 全站共享样式 /assets/site.css
   框架式导航 / 深空星图质感 / 1px 极细边界 + 微阴影
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { 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; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { width: 100%; border-collapse: collapse; }
main { display: block; }

/* ---------- 2. Tokens ---------- */
:root {
  --void-900: #070B1E;
  --nebula-800: #101740;
  --orbit-600: #2A3170;
  --aurora-500: #45E0C8;
  --gold-400: #F3C778;
  --silver-100: #EDF1FA;
  --ink-900: #0E1329;
  --ink-500: #556080;
  --line-300: #C7CFE4;
  --coral-400: #FF8E7A;

  --line-dark: rgba(199, 207, 228, 0.16);
  --line-dark-strong: rgba(69, 224, 200, 0.44);
  --haze: rgba(237, 241, 250, 0.86);
  --haze-soft: rgba(237, 241, 250, 0.64);

  --rail-w: 96px;
  --status-h: 56px;
  --shell: 1200px;

  --font-head: "MiSans", "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Source Han Sans SC", "Noto Sans SC", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 0.68, 0.2, 1);
  --shadow-a: 0 1px 0 rgba(237, 241, 250, 0.05);
  --shadow-b: 0 26px 52px -34px rgba(0, 0, 0, 0.95);
}

/* ---------- 3. Base / 中文排版 ---------- */
body {
  min-height: 100vh;
  padding: var(--status-h) 0 0 var(--rail-w);
  background:
    radial-gradient(1100px 660px at 84% -12%, rgba(42, 49, 112, 0.5), transparent 62%),
    radial-gradient(760px 460px at 6% 8%, rgba(69, 224, 200, 0.06), transparent 66%),
    var(--void-900);
  color: var(--silver-100);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: 0.006em;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- 4. 跳转链接 ---------- */
.yh-skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-200%);
  background: var(--aurora-500);
  color: var(--ink-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 11px 18px;
  border-radius: 3px;
  box-shadow: var(--shadow-b);
  transition: transform 0.2s var(--ease);
}
.yh-skip:focus { transform: translateY(0); }

/* ---------- 5. 头部框架 ---------- */
.yh-header { position: relative; z-index: 70; }

/* 阅读进度线 */
.yh-progress {
  position: fixed;
  top: var(--status-h);
  left: var(--rail-w);
  right: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--aurora-500), var(--gold-400));
  z-index: 75;
  pointer-events: none;
}

/* 顶部状态条 */
.yh-statusbar {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: var(--status-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(16px, 3vw, 34px);
  background: rgba(7, 11, 30, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  z-index: 70;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.yh-statusbar__spacer { flex: 1 1 auto; }
.yh-statusbar__sep { width: 1px; height: 14px; background: var(--line-dark); }
.yh-statusbar__hint { font-size: 12.5px; color: var(--haze-soft); letter-spacing: 0.05em; }

.yh-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--aurora-500);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.yh-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aurora-500);
  box-shadow: 0 0 0 4px rgba(69, 224, 200, 0.14), 0 0 12px rgba(69, 224, 200, 0.7);
  animation: yh-pulse 2.8s ease-in-out infinite;
}
@keyframes yh-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.42; }
}

.yh-save {
  border: 1px solid var(--line-dark);
  color: var(--haze);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 3px;
  white-space: nowrap;
  transition: border-color 0.24s var(--ease), color 0.24s var(--ease), background 0.24s var(--ease);
}
.yh-save:hover { border-color: var(--line-dark-strong); color: var(--silver-100); background: rgba(69, 224, 200, 0.07); }

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

.yh-statusbar__cta {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-400);
  border: 1px solid rgba(243, 199, 120, 0.44);
  border-radius: 3px;
  padding: 7px 15px;
  white-space: nowrap;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease);
}
.yh-statusbar__cta:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: #241803;
}

/* 竖向导航轨道 */
.yh-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0 22px;
  background: linear-gradient(180deg, rgba(16, 23, 64, 0.96) 0%, rgba(7, 11, 30, 0.99) 100%);
  border-right: 1px solid var(--line-dark);
  z-index: 78;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.yh-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding-bottom: 16px;
}
.yh-brand::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--orbit-600);
}
.yh-brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--orbit-600);
  flex: none;
}
.yh-brand__mark::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(69, 224, 200, 0.5);
}
.yh-brand__mark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px rgba(243, 199, 120, 0.9);
}
.yh-brand__name {
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--silver-100);
}
.yh-brand__code {
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: rgba(243, 199, 120, 0.82);
}
.yh-brand:hover .yh-brand__mark { border-color: var(--line-dark-strong); }

.yh-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 4px;
}
.yh-nav__item { width: 100%; position: relative; }
.yh-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 13px 4px;
  color: rgba(237, 241, 250, 0.74);
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
}
.yh-nav__node {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orbit-600);
  transition: background 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.yh-nav__label {
  writing-mode: vertical-rl;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.12em;
}
.yh-nav__link:hover { color: var(--silver-100); }
.yh-nav__link:hover .yh-nav__node {
  background: var(--aurora-500);
  box-shadow: 0 0 10px rgba(69, 224, 200, 0.8);
}
.yh-nav__link[aria-current="page"] { color: var(--aurora-500); }
.yh-nav__link[aria-current="page"] .yh-nav__node {
  background: var(--aurora-500);
  box-shadow: 0 0 12px rgba(69, 224, 200, 0.9);
}
.yh-nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--aurora-500), transparent);
}

/* 移动端导航按钮 */
.yh-navtoggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--orbit-600);
  color: var(--silver-100);
  border: 1px solid rgba(69, 224, 200, 0.45);
  box-shadow: 0 20px 38px -20px rgba(0, 0, 0, 0.95);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.yh-navtoggle__bars { position: relative; width: 16px; height: 10px; flex: none; }
.yh-navtoggle__bars::before,
.yh-navtoggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.24s var(--ease), top 0.24s var(--ease), bottom 0.24s var(--ease);
}
.yh-navtoggle__bars::before { top: 0; }
.yh-navtoggle__bars::after { bottom: 0; }
.yh-navtoggle[aria-expanded="true"] .yh-navtoggle__bars::before { top: 4px; transform: rotate(45deg); }
.yh-navtoggle[aria-expanded="true"] .yh-navtoggle__bars::after { bottom: 4px; transform: rotate(-45deg); }
.yh-navtoggle__label { white-space: nowrap; }

/* ---------- 6. 页脚 ---------- */
.yh-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 112px);
  padding: clamp(42px, 5vw, 68px) 0 30px;
  background: var(--void-900);
  border-top: 1px solid var(--line-dark);
  color: var(--haze);
  font-size: 14.5px;
}
.yh-footer::before {
  content: "";
  position: absolute;
  top: -46%;
  right: -12%;
  width: min(560px, 84vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(42, 49, 112, 0.6), transparent 62%);
  pointer-events: none;
}
.yh-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 224, 200, 0.5), transparent);
}
.yh-footer__inner { position: relative; z-index: 1; }

.yh-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
}
.yh-footer__brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.08em;
  color: var(--silver-100);
}
.yh-footer__brand em { font-style: normal; color: var(--gold-400); letter-spacing: 0.14em; }
.yh-footer__closing { font-size: 14px; color: var(--haze-soft); }

.yh-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 34px 0;
}
.yh-footer__title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-400);
  margin-bottom: 15px;
}
.yh-footer__links li + li { margin-top: 10px; }
.yh-footer__links a {
  color: var(--haze);
  transition: color 0.22s var(--ease);
}
.yh-footer__links a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 1px;
  margin-right: 9px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.45;
  transition: width 0.22s var(--ease), opacity 0.22s var(--ease);
}
.yh-footer__links a:hover { color: var(--aurora-500); }
.yh-footer__links a:hover::before { width: 14px; opacity: 1; }

.yh-footer__contact { display: flex; flex-direction: column; gap: 10px; }
.yh-footer__mail,
.yh-footer__tel {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.03em;
  color: var(--silver-100);
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.yh-footer__addr { font-size: 13.5px; line-height: 1.75; color: var(--haze); }
.yh-footer__note { font-size: 12.5px; line-height: 1.75; color: rgba(237, 241, 250, 0.66); }

.yh-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  color: rgba(237, 241, 250, 0.64);
}
.yh-footer__legal a { transition: color 0.22s var(--ease); }
.yh-footer__legal a:hover { color: var(--aurora-500); }

/* ---------- 7. 通用布局 ---------- */
.yh-container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(18px, 3.4vw, 44px);
}
.yh-section { padding-block: clamp(44px, 6vw, 88px); }

.yh-pagehead {
  padding-block: clamp(34px, 5vw, 66px) clamp(20px, 3vw, 38px);
  border-bottom: 1px solid var(--line-dark);
}

.yh-grid { display: grid; gap: clamp(16px, 2vw, 26px); }
.yh-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.yh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.yh-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line-dark), transparent);
}

/* ---------- 8. 文字组件 ---------- */
.yh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--aurora-500);
}
.yh-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.yh-h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--silver-100);
}
.yh-h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.26;
  letter-spacing: 0.02em;
  color: var(--silver-100);
}
.yh-h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--silver-100);
}
.yh-lead {
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  line-height: 1.85;
  color: var(--haze);
  max-width: 62ch;
}
.yh-p {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(237, 241, 250, 0.92);
  max-width: 66ch;
}
.yh-prose {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(237, 241, 250, 0.9);
  max-width: 70ch;
}
.yh-prose h2 { margin: 1.6em 0 0.6em; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; }
.yh-prose h3 { margin: 1.4em 0 0.5em; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.45; }
.yh-prose p + p { margin-top: 1.05em; }
.yh-prose ul { margin: 1em 0; display: grid; gap: 0.55em; }
.yh-prose li { position: relative; padding-left: 20px; }
.yh-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 8px;
  height: 1px;
  background: var(--aurora-500);
}

.yh-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--gold-400);
  font-variant-numeric: tabular-nums;
}

.yh-aside {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(237, 241, 250, 0.64);
  border-left: 1px solid var(--line-dark);
  padding-left: 14px;
  max-width: 40ch;
}

/* ---------- 9. 按钮 / 标签 / 卡片 ---------- */
.yh-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  transition: background 0.24s var(--ease), color 0.24s var(--ease), border-color 0.24s var(--ease), transform 0.24s var(--ease);
}
.yh-btn--primary { background: var(--aurora-500); color: #04121A; }
.yh-btn--primary:hover { background: #6BEDD9; transform: translateY(-2px); }
.yh-btn--gold { background: var(--gold-400); color: #241803; }
.yh-btn--gold:hover { background: #F8D998; transform: translateY(-2px); }
.yh-btn--ghost { border-color: var(--line-dark); color: var(--silver-100); }
.yh-btn--ghost:hover { border-color: var(--line-dark-strong); color: var(--aurora-500); }
.yh-btn--quiet {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--line-dark-strong);
  border-radius: 0;
  color: var(--silver-100);
}
.yh-btn--quiet:hover { color: var(--aurora-500); border-color: var(--aurora-500); }

.yh-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(237, 241, 250, 0.8);
}
.yh-tag--gold { border-color: rgba(243, 199, 120, 0.42); color: var(--gold-400); }
.yh-tag--aurora { border-color: rgba(69, 224, 200, 0.42); color: var(--aurora-500); }

.yh-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(16, 23, 64, 0.72), rgba(7, 11, 30, 0.76));
  box-shadow: var(--shadow-a), var(--shadow-b);
  transition: border-color 0.26s var(--ease), transform 0.26s var(--ease);
}
.yh-card:hover { border-color: var(--line-dark-strong); transform: translateY(-2px); }
.yh-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.yh-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--silver-100);
}
.yh-card__meta {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--haze-soft);
  font-variant-numeric: tabular-nums;
}

/* ---------- 10. 面包屑 / 图片容器 ---------- */
.yh-breadcrumb { padding-block: 18px; font-size: 13px; color: var(--haze-soft); }
.yh-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.yh-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.yh-breadcrumb li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orbit-600);
}
.yh-breadcrumb a { transition: color 0.22s var(--ease); }
.yh-breadcrumb a:hover { color: var(--aurora-500); }

.yh-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: linear-gradient(140deg, var(--nebula-800), var(--void-900));
}
.yh-media--tall { aspect-ratio: 4 / 5; }
.yh-media img { width: 100%; height: 100%; object-fit: cover; }
.yh-media__caption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--haze-soft);
}

/* ---------- 11. 浅色表面（星图落纸） ---------- */
.yh-light {
  background: var(--silver-100);
  color: var(--ink-900);
}
.yh-light .yh-h1,
.yh-light .yh-h2,
.yh-light .yh-h3 { color: var(--ink-900); }
.yh-light .yh-p,
.yh-light .yh-prose { color: #1B2340; }
.yh-light .yh-lead { color: var(--ink-500); }
.yh-light .yh-eyebrow { color: #0E8F7E; }
.yh-light .yh-aside { color: var(--ink-500); border-color: var(--line-300); }
.yh-light .yh-rule { background: linear-gradient(90deg, var(--line-300), transparent); }
.yh-light .yh-card {
  background: #FFFFFF;
  border-color: var(--line-300);
  box-shadow: 0 14px 30px -24px rgba(14, 19, 41, 0.42);
}
.yh-light .yh-card__title { color: var(--ink-900); }
.yh-light .yh-card__meta { color: var(--ink-500); }
.yh-light .yh-tag { border-color: var(--line-300); color: var(--ink-500); }
.yh-light .yh-tag--gold { border-color: rgba(180, 132, 40, 0.5); color: #8A6320; }
.yh-light .yh-tag--aurora { border-color: rgba(14, 143, 126, 0.45); color: #0E8F7E; }
.yh-light .yh-btn--ghost { border-color: var(--line-300); color: var(--ink-900); }
.yh-light .yh-btn--ghost:hover { border-color: #0E8F7E; color: #0E8F7E; }
.yh-light .yh-btn--quiet { color: var(--ink-900); border-bottom-color: rgba(14, 143, 126, 0.55); }
.yh-light .yh-btn--quiet:hover { color: #0E8F7E; }
.yh-light .yh-breadcrumb { color: var(--ink-500); }
.yh-light .yh-breadcrumb a:hover { color: #0E8F7E; }
.yh-light .yh-breadcrumb li + li::before { background: var(--line-300); }
.yh-light .yh-media { border-color: var(--line-300); background: linear-gradient(140deg, #FFFFFF, #E6EBF7); }
.yh-light .yh-media__caption { color: var(--ink-500); }
.yh-light .yh-num { color: #A8741C; }

/* ---------- 12. 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.32s var(--ease) var(--reveal-delay, 0ms),
    transform 0.32s var(--ease) var(--reveal-delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ---------- 13. 平板 ---------- */
@media (max-width: 1100px) {
  .yh-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  :root { --rail-w: 0px; --status-h: 52px; }

  .yh-statusbar { left: 0; gap: 10px; padding-inline: 16px; }
  .yh-statusbar__hint,
  .yh-statusbar__sep { display: none; }

  .yh-rail {
    inset: auto 0 0 0;
    width: auto;
    height: auto;
    max-height: 78vh;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 20px 18px calc(22px + env(safe-area-inset-bottom, 0px));
    border-right: 0;
    border-top: 1px solid var(--line-dark);
    border-radius: 16px 16px 0 0;
    background: linear-gradient(180deg, #151D4E 0%, #070B1E 74%);
    box-shadow: 0 -34px 64px -30px rgba(0, 0, 0, 0.96);
    transform: translateY(106%);
    transition: transform 0.34s var(--ease);
    z-index: 82;
    overflow-y: auto;
  }
  .yh-rail[data-open] { transform: translateY(0); }

  .yh-brand {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding-bottom: 16px;
  }
  .yh-brand::after { display: none; }
  .yh-brand__mark { width: 28px; height: 28px; }
  .yh-brand__mark::before { inset: 5px; }
  .yh-brand__mark::after { top: 2px; width: 5px; height: 5px; margin-left: -2.5px; }
  .yh-brand__name { writing-mode: horizontal-tb; font-size: 16px; letter-spacing: 0.1em; }
  .yh-brand__code { writing-mode: horizontal-tb; font-size: 11px; letter-spacing: 0.26em; }

  .yh-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    margin-top: 2px;
  }
  .yh-nav__link {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 13px 8px;
    border: 1px solid var(--line-dark);
    border-radius: 4px;
  }
  .yh-nav__label { writing-mode: horizontal-tb; font-size: 14px; letter-spacing: 0.06em; }
  .yh-nav__link[aria-current="page"] {
    border-color: var(--line-dark-strong);
    background: rgba(69, 224, 200, 0.08);
  }
  .yh-nav__link[aria-current="page"]::before { display: none; }

  .yh-navtoggle { display: inline-flex; }
  .yh-progress { left: 0; }

  .yh-footer { padding-bottom: 92px; }
}

/* ---------- 14. 手机 ---------- */
@media (max-width: 720px) {
  .yh-statusbar__cta { padding: 6px 11px; font-size: 12px; letter-spacing: 0.02em; }
  .yh-save { padding: 6px 10px; font-size: 12px; }
  .yh-navtoggle { right: 12px; bottom: 12px; padding: 11px 15px; font-size: 13px; }
}

@media (max-width: 640px) {
  .yh-grid--2,
  .yh-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .yh-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .yh-footer__top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .yh-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 15. 减弱动效 ---------- */
@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;
  }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .yh-status__dot { animation: none; }
  .yh-nav__link:hover,
  .yh-card:hover,
  .yh-btn:hover { transform: none; }
}
