/* ============ 00 基础重置 ============ */
*,
*::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,
dl,
dd {
  margin: 0;
}

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

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

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

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

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

/* ============ 01 变量与中文排版 ============ */
:root {
  --ink: #0E1620;
  --ice: #1E5C8C;
  --aurora: #6FB5E0;
  --mist: #F2F6F9;
  --paper: #FBF7EF;
  --amber: #D99A2B;
  --orange: #F26B21;
  --grey: #7C8A96;
  --green: #1F6B5A;
  --slate: #142B45;
  --line: rgba(14, 22, 32, 0.14);
  --line-light: rgba(242, 246, 249, 0.2);
  --shadow: 0 10px 30px rgba(20, 43, 69, 0.10);
  --shadow-cut: 0 6px 0 rgba(20, 43, 69, 0.08);
  --max: 1280px;
  --rail: 88px;
  --topbar: 48px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-weight: 900;
  line-height: 1.15;
}

main {
  display: block;
  min-height: 60vh;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

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

/* ============ 02 跳转链接与进度 ============ */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: top 0.16s ease;
}

.skip-link:focus {
  top: 12px;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: var(--amber);
  transition: width 0.12s linear;
}

/* ============ 03 头部 ============ */
.site-header {
  position: relative;
  z-index: 80;
  background: var(--mist);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.header-topbar {
  display: flex;
  align-items: center;
  min-height: var(--topbar);
  background: var(--ink);
  color: var(--mist);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--topbar);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--mist);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark:hover {
  color: var(--amber);
}

.brand-tagline {
  color: var(--aurora);
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.version-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mono-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid rgba(111, 181, 224, 0.45);
  background: rgba(111, 181, 224, 0.08);
  color: var(--aurora);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 8px;
  border-bottom: 1px solid transparent;
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-link:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.brand-rail {
  display: none;
}

.header-main {
  background: var(--mist);
}

.header-main-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.primary-nav {
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.nav-list a:hover {
  border-color: var(--amber);
  color: var(--ice);
}

.nav-list a[aria-current="page"] {
  border-color: var(--amber);
  background: linear-gradient(transparent 62%, rgba(217, 154, 43, 0.18) 62%);
  color: var(--ice);
}

.header-utilities {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--ice);
  background: var(--paper);
  color: var(--ice);
  font-weight: 800;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--ice);
  color: var(--mist);
}

@media (min-width: 1100px) {
  .brand-rail {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: var(--rail);
    padding: calc(var(--topbar) + 24px) 0 24px;
    border-right: 1px solid rgba(111, 181, 224, 0.22);
    background: var(--ink);
    color: var(--mist);
  }

  .rail-word {
    writing-mode: vertical-rl;
    text-orientation: upright;
    color: var(--mist);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.35em;
  }

  .rail-line {
    flex: 1;
    width: 1px;
    margin: 18px 0;
    background: linear-gradient(var(--aurora), rgba(111, 181, 224, 0));
  }

  .rail-scale {
    writing-mode: vertical-rl;
    color: var(--aurora);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.24em;
  }
}

@media (max-width: 900px) {
  .header-wrap {
    width: calc(100% - 32px);
  }

  .brand-tagline,
  .version-strip {
    display: none;
  }

  .topbar-actions {
    margin-left: auto;
  }

  .topbar-link {
    padding: 4px;
    font-size: 12px;
  }

  .header-main-inner {
    min-height: 58px;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 112px;
    z-index: 90;
    display: none;
    max-height: calc(100vh - 140px);
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .primary-nav[data-open] {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid var(--line);
    border-left: 3px solid transparent;
  }

  .nav-list a[aria-current="page"] {
    border-bottom-color: var(--line);
    border-left-color: var(--amber);
    background: rgba(217, 154, 43, 0.12);
  }

  .header-utilities .btn-outline {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    gap: 8px;
  }

  .topbar-link {
    display: none;
  }

  .header-utilities .btn-gold {
    display: none;
  }
}

/* ============ 04 通用按钮与链接 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn-primary {
  border-color: var(--ice);
  background: var(--ice);
  color: var(--mist);
}

.btn-primary:hover {
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--amber);
}

.btn-gold {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.btn-gold:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--mist);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-outline {
  border-color: var(--ice);
  background: transparent;
  color: var(--ice);
}

.btn-outline:hover {
  background: var(--ice);
  color: var(--mist);
}

.btn-quiet {
  border-color: var(--line);
  background: var(--mist);
  color: var(--ink);
}

.btn-quiet:hover {
  border-color: var(--amber);
  color: var(--ice);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--aurora);
  color: var(--ice);
  font-weight: 800;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.16s ease;
}

.link-arrow:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

/* ============ 05 页脚 ============ */
.site-footer {
  margin-top: 0;
  background: var(--ink);
  color: var(--mist);
}

.footer-band {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ice);
}

.band-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  font-size: 14px;
}

.band-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 107, 33, 0.18);
}

.footer-band p {
  color: var(--mist);
}

.footer-band a {
  margin-left: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--mist);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.footer-band a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.footer-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

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

.footer-logo {
  display: inline-block;
  color: var(--mist);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.footer-logo:hover {
  color: var(--amber);
}

.footer-note {
  max-width: 28em;
  margin-top: 14px;
  color: rgba(242, 246, 249, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

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

.footer-col-title {
  margin-bottom: 14px;
  color: var(--aurora);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 8px;
}

.footer-list a {
  border-bottom: 1px solid transparent;
  color: rgba(242, 246, 249, 0.82);
  font-size: 14px;
  text-decoration: none;
}

.footer-list a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.footer-contact {
  display: grid;
  gap: 8px;
  color: rgba(242, 246, 249, 0.78);
  font-size: 14px;
}

.footer-contact strong {
  color: var(--mist);
}

.footer-legal {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.footer-base {
  border-top: 1px solid rgba(111, 181, 224, 0.24);
}

.footer-base-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 0;
  color: rgba(242, 246, 249, 0.66);
  font-size: 13px;
}

.footer-base-inner a {
  border-bottom: 1px solid transparent;
  color: rgba(242, 246, 249, 0.82);
  text-decoration: none;
}

.footer-base-inner a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 36px 0;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-base-inner {
    display: block;
  }

  .footer-base-inner > * + * {
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ 06 页面通用容器与区块 ============ */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.content-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 72px 0;
}

.section--mist {
  background: var(--mist);
  color: var(--ink);
}

.section--paper {
  background: var(--paper);
  color: var(--ink);
}

.section--ink {
  background: var(--ink);
  color: var(--mist);
}

.section--cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 56em;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
}

.display-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.lede {
  max-width: 34em;
  color: var(--grey);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.prose {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.75;
}

.prose p + p {
  margin-top: 1em;
}

.prose a {
  border-bottom: 1px solid var(--aurora);
  color: var(--ice);
  text-decoration: none;
}

.prose a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

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

.panel-note {
  color: var(--grey);
  font-size: 13px;
  line-height: 1.65;
}

/* ============ 07 网格、拼贴与非对称双栏 ============ */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.span-4 {
  grid-column: span 4;
}

.span-6 {
  grid-column: span 6;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.collage-cell {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.collage-cell--ink {
  border-color: rgba(111, 181, 224, 0.25);
  background: var(--ink);
  color: var(--mist);
}

.collage-cell--ice {
  border-color: var(--ice);
  background: var(--ice);
  color: var(--mist);
}

.collage-cell--gold {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--ink);
}

.collage-cell--span-3 {
  grid-column: span 3;
}

.collage-cell--span-4 {
  grid-column: span 4;
}

.collage-cell--span-5 {
  grid-column: span 5;
}

.collage-cell--span-6 {
  grid-column: span 6;
}

.collage-cell--span-7 {
  grid-column: span 7;
}

.collage-cell--span-8 {
  grid-column: span 8;
}

.asym-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
}

@media (max-width: 900px) {
  .span-4,
  .span-6,
  .span-8 {
    grid-column: 1 / -1;
  }

  .collage-cell--span-3,
  .collage-cell--span-4,
  .collage-cell--span-5,
  .collage-cell--span-6,
  .collage-cell--span-7,
  .collage-cell--span-8 {
    grid-column: 1 / -1;
  }

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

  .side-panel {
    position: static;
  }
}

/* ============ 08 切角面板与路线卡片 ============ */
.cut-panel {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-cut);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.cut-panel--ink {
  border-color: rgba(111, 181, 224, 0.28);
  background: var(--ink);
  color: var(--mist);
}

.cut-panel--ice {
  border-color: var(--ice);
  background: var(--ice);
  color: var(--mist);
}

.cut-panel__body {
  padding: 22px;
}

.route-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-cut);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}

.route-card:hover {
  border-color: var(--amber);
  box-shadow: 0 10px 0 rgba(20, 43, 69, 0.12);
}

.route-card__labels {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 12px;
  border-right: 1px solid rgba(111, 181, 224, 0.2);
  background: var(--ink);
  color: var(--mist);
}

.route-card__labels span {
  color: var(--aurora);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.route-card__body {
  min-width: 0;
  padding: 18px 20px;
}

.route-card__data {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  .route-card {
    grid-template-columns: 1fr;
  }

  .route-card__labels {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid rgba(111, 181, 224, 0.2);
  }
}

/* ============ 09 数据带、标签、时间轴 ============ */
.data-band {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.data-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--paper);
  font-size: 14px;
}

.data-value {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-align: right;
}

.data-diff {
  padding-bottom: 1px;
  border-bottom: 1px solid var(--orange);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid var(--aurora);
  background: rgba(111, 181, 224, 0.08);
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.tag--gold {
  border-color: var(--amber);
  background: rgba(217, 154, 43, 0.14);
  color: var(--ink);
}

.tag--orange {
  border-color: var(--orange);
  background: rgba(242, 107, 33, 0.08);
  color: var(--orange);
}

.tag--green {
  border-color: var(--green);
  background: rgba(31, 107, 90, 0.08);
  color: var(--green);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--aurora), rgba(111, 181, 224, 0.15));
}

.timeline__item {
  position: relative;
  padding: 0 0 28px 34px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: 2px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(242, 107, 33, 0.16);
}

/* ============ 10 媒体容器 ============ */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(20, 43, 69, 0.22);
  background: var(--slate);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.96);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 32, 0.06), rgba(14, 22, 32, 0.34));
  pointer-events: none;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--portrait {
  aspect-ratio: 4 / 5;
}

.media-caption {
  margin-top: 8px;
  color: var(--grey);
  font-size: 13px;
}

/* ============ 11 标签页、抽屉、锚点索引 ============ */
.tabs {
  display: grid;
  gap: 12px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.tab-button[aria-selected="true"] {
  border-color: var(--ice);
  background: var(--ice);
  color: var(--mist);
}

.tab-panel {
  display: none;
  padding: 14px 0;
}

.tab-panel:not([hidden]) {
  display: block;
}

.drawer {
  border: 1px solid var(--line);
  background: var(--paper);
}

.drawer-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.drawer-toggle::after {
  content: "+";
  color: var(--amber);
  font-family: var(--mono);
  font-size: 18px;
}

.drawer-toggle[aria-expanded="true"]::after {
  content: "–";
}

.drawer-panel {
  display: none;
  padding: 0 14px 14px;
  color: var(--grey);
  font-size: 14px;
}

.drawer-panel[data-open] {
  display: block;
}

.anchor-strip {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(6px);
}

.anchor-strip a {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-bottom: 2px solid transparent;
  color: var(--grey);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.anchor-strip a:hover {
  border-color: var(--aurora);
  color: var(--ice);
}

.anchor-strip a[aria-current="true"] {
  border-color: var(--amber);
  background: rgba(217, 154, 43, 0.12);
  color: var(--ice);
}

/* ============ 12 面包屑与状态点 ============ */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 18px 0;
  color: var(--grey);
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.breadcrumbs a {
  border-bottom: 1px solid transparent;
  color: var(--ice);
  text-decoration: none;
}

.breadcrumbs a:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--grey);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
}

.status-dot--update {
  background: var(--orange);
}

.status-dot--muted {
  background: var(--grey);
}

/* ============ 13 减少动态效果 ============ */
@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;
    scroll-behavior: auto !important;
  }
}
