/* ===== 金博棋牌老版 · 版本档案室 共享样式 /assets/site.css ===== */

*,
*::before,
*::after { box-sizing: border-box; }

:where(h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd) { margin: 0; }

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

:root {
  --paper: #F4EEDF;
  --ink-green: #14342B;
  --pine: #2E5A4B;
  --gold: #C9A45C;
  --gold-soft: #E6D3A3;
  --cinnabar: #B4432F;
  --slate: #7A8C84;
  --ink: #1A1A16;
  --wood: #8A6A4F;

  --font-display: "Noto Serif SC", "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, "SF Mono", Consolas, monospace;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-rest: 0 1px 0 rgba(20, 52, 43, 0.10);
  --shadow-lift: 0 8px 24px rgba(20, 52, 43, 0.16);

  --header-height: 0px;
  --width-shell: 1240px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 16% 8%, rgba(201, 164, 92, 0.12), transparent 44%),
    radial-gradient(circle at 92% 84%, rgba(46, 90, 75, 0.10), transparent 46%),
    repeating-linear-gradient(0deg, rgba(20, 52, 43, 0.030) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(90deg, rgba(20, 52, 43, 0.030) 0 1px, transparent 1px 72px);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.005em;
  color: var(--ink-green);
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--pine); }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(20, 52, 43, 0.92);
  border-radius: 4px;
}

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

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink-green);
  color: var(--gold-soft);
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-lift);
  transition: top 180ms ease;
}
.skip-link:focus { top: 14px; }

/* ---------- 容器与栅格 ---------- */
.container {
  width: 100%;
  max-width: var(--width-shell);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow {
  max-width: 820px;
}

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.2em; }
.prose h2 { margin-top: 2em; margin-bottom: 0.6em; font-size: clamp(24px, 3vw, 34px); }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; font-size: clamp(19px, 2vw, 23px); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.grid { display: grid; gap: 24px; }
.grid--split {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid rgba(20, 52, 43, 0.16);
  transition: box-shadow 180ms ease;
}
.site-header[data-scrolled="true"] {
  box-shadow: 0 12px 32px rgba(20, 52, 43, 0.14);
}

.header-rail {
  background: var(--ink-green);
  color: var(--gold-soft);
}
.header-rail__inner {
  max-width: var(--width-shell);
  margin-inline: auto;
  padding: 7px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.rail-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.rail-dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.rail-status {
  color: rgba(230, 211, 163, 0.72);
  white-space: nowrap;
}

.header-shell {
  position: relative;
  max-width: var(--width-shell);
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-slip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 20px 7px 7px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(20, 52, 43, 0.18);
  background: rgba(230, 211, 163, 0.45);
  color: var(--ink-green);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.brand-slip:hover {
  transform: translateY(-2px);
  background: rgba(230, 211, 163, 0.85);
  box-shadow: var(--shadow-lift);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--cinnabar);
  color: #F8F1E1;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.55);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-sub {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--pine);
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(20, 52, 43, 0.28);
  background: rgba(230, 211, 163, 0.4);
  color: var(--ink-green);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.nav-toggle:hover { background: rgba(230, 211, 163, 0.9); border-color: var(--gold); }
.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-green);
  transition: transform 180ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-toggle-label { white-space: nowrap; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--ink-green);
  font-size: 15px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--wood);
  transition: color 180ms ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cinnabar);
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}
.nav-link:hover { background: rgba(201, 164, 92, 0.18); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover .nav-index { color: var(--cinnabar); }
.nav-link[aria-current="page"] {
  font-weight: 700;
  background: rgba(230, 211, 163, 0.45);
}
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"]::before { opacity: 1; transform: translateX(-50%) scale(1); }
.nav-link[aria-current="page"] .nav-index { color: var(--cinnabar); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink-green);
  color: var(--gold-soft);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}
.nav-cta::after { content: "→"; font-family: var(--font-mono); }
.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--cinnabar);
  color: #FBF4E4;
  box-shadow: 0 10px 26px rgba(180, 67, 47, 0.28);
}

.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: rgba(20, 52, 43, 0.08);
  overflow: hidden;
}
.scroll-meter__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  transition: transform 90ms linear;
}

.dock {
  display: none;
  position: fixed;
  right: 0;
  top: 44%;
  z-index: 95;
  flex-direction: column;
  gap: 8px;
}
.dock-tab {
  writing-mode: vertical-rl;
  padding: 18px 11px;
  border-radius: 12px 0 0 12px;
  border: 1px solid rgba(201, 164, 92, 0.45);
  border-right: 0;
  background: var(--ink-green);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}
.dock-tab:hover {
  background: var(--cinnabar);
  color: #FBF4E4;
  transform: translateX(-4px);
  box-shadow: -8px 10px 26px rgba(20, 52, 43, 0.30);
}
.dock-tab--alt {
  background: var(--gold-soft);
  color: var(--ink-green);
  border-color: rgba(20, 52, 43, 0.25);
}
.dock-tab--alt:hover {
  background: var(--gold);
  color: var(--ink-green);
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 72px;
  color: rgba(244, 238, 223, 0.86);
  background-color: var(--ink-green);
  background-image:
    radial-gradient(circle at 88% 0%, rgba(201, 164, 92, 0.22), transparent 48%),
    repeating-linear-gradient(90deg, rgba(230, 211, 163, 0.055) 0 1px, transparent 1px 58px);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold), var(--cinnabar) 42%, var(--pine));
}

.footer-top { padding: 68px 24px 0; }
.footer-grid {
  max-width: var(--width-shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(230, 211, 163, 0.22);
}
.footer-brand-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
.footer-note {
  max-width: 46ch;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(244, 238, 223, 0.76);
}
.footer-note + .footer-note { margin-top: 12px; }
.footer-note--muted {
  font-size: 13px;
  color: rgba(230, 211, 163, 0.62);
}

.footer-contact { display: flex; flex-direction: column; }
.contact-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(230, 211, 163, 0.26);
}
.contact-line__key {
  flex: none;
  width: 42px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.contact-line__val {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(244, 238, 223, 0.92);
  word-break: break-word;
}
.footer-contact .footer-note { margin-top: 16px; }

.footer-links {
  max-width: var(--width-shell);
  margin-inline: auto;
  padding: 36px 24px 40px;
  display: grid;
  gap: 18px;
}
.footer-links__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 4px;
}
.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2px 28px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  color: rgba(244, 238, 223, 0.82);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.footer-link::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 1px;
  background: var(--gold);
  opacity: 0.7;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease;
}
.footer-link:hover {
  color: var(--gold-soft);
  border-bottom-color: rgba(201, 164, 92, 0.6);
}
.footer-link:hover::before {
  background: var(--cinnabar);
  opacity: 1;
  transform: rotate(45deg);
}

.footer-bottom {
  max-width: var(--width-shell);
  margin-inline: auto;
  padding: 20px 24px 26px;
  border-top: 1px solid rgba(230, 211, 163, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(244, 238, 223, 0.58);
}
.footer-meta, .footer-legal { margin: 0; }
.footer-legal { color: rgba(230, 211, 163, 0.7); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn--solid {
  background: var(--ink-green);
  color: var(--gold-soft);
}
.btn--solid:hover {
  transform: translateY(-3px);
  background: var(--cinnabar);
  color: #FBF4E4;
  box-shadow: 0 10px 26px rgba(20, 52, 43, 0.28);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(20, 52, 43, 0.32);
  color: var(--ink-green);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  background: var(--gold-soft);
  border-color: var(--gold);
  box-shadow: 0 10px 26px rgba(20, 52, 43, 0.16);
}

/* ---------- 标签与印章 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(20, 52, 43, 0.16);
  background: rgba(230, 211, 163, 0.5);
  color: var(--ink-green);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.tag--cinnabar {
  background: var(--cinnabar);
  border-color: transparent;
  color: #FBF4E4;
}
.tag--outline {
  background: transparent;
  border-color: rgba(201, 164, 92, 0.7);
  color: var(--pine);
}

.stamp {
  display: inline-grid;
  place-items: center;
  padding: 10px 16px;
  border: 1.5px solid var(--cinnabar);
  border-radius: 10px;
  color: var(--cinnabar);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  transform: rotate(-3deg);
  opacity: 0.92;
}

/* ---------- 卡片 ---------- */
.card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 52, 43, 0.14);
  background: #FBF7EC;
  box-shadow: var(--shadow-rest);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 164, 92, 0.6);
  box-shadow: var(--shadow-lift);
}
.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.card__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--wood);
}
.card__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  color: var(--ink-green);
  margin-bottom: 10px;
}
.card__body {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(26, 26, 22, 0.86);
}

/* ---------- 图片容器 ---------- */
.figure { margin: 0; display: grid; gap: 10px; }
.figure__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 52, 43, 0.14);
  background-image:
    repeating-linear-gradient(45deg, rgba(20, 52, 43, 0.06) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, rgba(46, 90, 75, 0.20), rgba(201, 164, 92, 0.26));
  background-color: var(--gold-soft);
}
.figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure__media--tall { aspect-ratio: 4 / 5; }
.figure__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  color: var(--slate);
  padding-left: 2px;
}

/* ---------- 资料表 ---------- */
.ledger-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 52, 43, 0.14);
  background: #FBF7EC;
}
.ledger {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
}
.ledger caption {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--pine);
}
.ledger th, .ledger td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(20, 52, 43, 0.12);
}
.ledger thead th {
  background: var(--pine);
  color: var(--gold-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.ledger tbody tr:nth-child(even) { background: rgba(230, 211, 163, 0.26); }
.ledger tbody tr:last-child th,
.ledger tbody tr:last-child td { border-bottom: 0; }
.ledger .is-num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--pine);
  white-space: nowrap;
}

/* ---------- 注释条 ---------- */
.note {
  padding: 12px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, rgba(230, 211, 163, 0.42), rgba(230, 211, 163, 0));
  color: var(--pine);
  font-size: 14.5px;
  line-height: 1.75;
}

/* ---------- 折叠面板 ---------- */
.disclosure {
  border: 1px solid rgba(20, 52, 43, 0.16);
  border-radius: var(--radius-md);
  background: #FBF7EC;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.disclosure + .disclosure { margin-top: 10px; }
.disclosure:hover { border-color: rgba(201, 164, 92, 0.6); }
.disclosure__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  color: var(--ink-green);
  cursor: pointer;
  transition: background 180ms ease;
}
.disclosure__button:hover { background: rgba(230, 211, 163, 0.35); }
.disclosure__button::after {
  content: "＋";
  flex: none;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
  transition: color 180ms ease;
}
.disclosure__button[aria-expanded="true"]::after { content: "－"; color: var(--cinnabar); }
.disclosure__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}
.disclosure[data-open="true"] .disclosure__body { grid-template-rows: 1fr; }
.disclosure__inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: padding 220ms ease;
}
.disclosure__inner > :first-child { padding-top: 0; }
.disclosure[data-open="true"] .disclosure__inner { padding-bottom: 20px; }
.disclosure__inner p { font-size: 15.5px; color: rgba(26, 26, 22, 0.86); }
.disclosure__inner p + p { margin-top: 0.8em; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  padding: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
}
.breadcrumb__item:not(:first-child)::before {
  content: "/";
  color: var(--gold);
}
.breadcrumb__item a {
  color: var(--pine);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 90, 75, 0.35);
  transition: color 180ms ease, border-color 180ms ease;
}
.breadcrumb__item a:hover {
  color: var(--cinnabar);
  border-bottom-color: var(--cinnabar);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(20, 52, 43, 0.18);
    border-radius: 22px;
    background: var(--paper);
    background-image: radial-gradient(circle at 88% 0%, rgba(201, 164, 92, 0.18), transparent 60%);
    box-shadow: 0 24px 48px rgba(20, 52, 43, 0.24);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }
  .site-nav[data-open="true"] { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav-link {
    justify-content: space-between;
    padding: 14px 14px;
    font-size: 16px;
    border-radius: 12px;
  }
  .nav-link::before { display: none; }
  .nav-link::after { left: 14px; right: 14px; bottom: 6px; }
  .nav-cta { justify-content: center; padding: 14px 20px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .header-rail__inner { padding: 7px 18px; font-size: 10px; letter-spacing: 0.12em; }
  .rail-status { display: none; }
  .header-shell { padding: 12px 18px; gap: 14px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 17px; }
  .brand-sub { display: none; }
  .container { padding-inline: 18px; }
  .grid--split { grid-template-columns: 1fr; gap: 22px; }
  .footer-top { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; }
  .footer-links { padding: 30px 18px 32px; }
  .footer-bottom { padding: 18px 18px 24px; font-size: 11px; }
  .card { padding: 22px; }
  .site-footer { margin-top: 56px; }
}

@media (max-width: 560px) {
  .nav-toggle { padding: 9px 14px; }
  .nav-toggle-label { display: none; }
  .brand-slip { padding: 6px 14px 6px 6px; gap: 9px; }
  .brand-name { font-size: 16px; }
  .footer-link-list { grid-template-columns: 1fr 1fr; }
  .contact-line { flex-direction: column; gap: 2px; align-items: flex-start; }
  .contact-line__key { width: auto; }
}

@media (min-width: 1440px) {
  .dock { display: flex; }
}

@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;
  }
}

@media print {
  .site-header, .dock, .skip-link, .scroll-meter { display: none !important; }
  body { background: #fff; color: #000; }
  .site-footer { background: #fff; color: #000; }
  .footer-link, .footer-note, .footer-legal { color: #000; }
}
