/* ============================================================
   澳门威斯人主站 · 共享样式表 /assets/site.css
   气质：档案库 × 调度台 —— 编号索引、纸层、印刷边框
   ============================================================ */

/* ---------- 1. 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 68px) + 14px);
}
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img, svg, video { display: block; max-width: 100%; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink-900: #06131F;
  --ink-800: #0C1F31;
  --ink-700: #16324A;
  --copper-500: #C08A3E;
  --copper-300: #E0B36B;
  --cinnabar-600: #C0453C;
  --celadon-500: #3F9A9E;
  --paper-100: #F3EEE4;
  --text-primary: #EAF0F6;
  --text-muted: #9AAAB9;
  --ink-on-paper: #101C28;
  --focus-500: #8CC7E8;

  --hair: rgba(154, 170, 185, 0.22);
  --hair-strong: rgba(224, 179, 107, 0.28);

  --font-heading: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --header-h: 68px;
  --rail-w: 0px;
  --shell-max: 1320px;
  --radius: 2px;
}

@media (min-width: 1080px) {
  :root { --rail-w: 88px; }
}

/* ---------- 3. 基础排版 ---------- */
body {
  background-color: var(--ink-900);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--copper-500); color: #10131A; }

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ---------- 4. 容器与工具 ---------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--copper-300);
  color: #1B1206;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius);
  transition: top 0.18s ease;
}
.skip-link:focus { top: 14px; }

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 768px) {
  .shell, .wrap { padding-left: 32px; padding-right: 32px; }
}
@media (min-width: 1080px) {
  .shell {
    padding-left: calc(var(--rail-w) + 40px);
    padding-right: 44px;
  }
  .wrap {
    padding-left: calc(var(--rail-w) + 40px);
    padding-right: 44px;
  }
}

.num {
  font-family: var(--font-mono);
  font-size: 0.94em;
  letter-spacing: 0.06em;
  color: var(--copper-300);
  white-space: nowrap;
}
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(224,179,107,0.5), rgba(154,170,185,0.14) 62%, transparent);
}
.band { display: flex; height: 8px; width: 100%; background: var(--ink-900); }
.band > span { display: block; height: 100%; }
.band > span:nth-child(1) { flex: 0 0 46%; background: var(--copper-500); }
.band > span:nth-child(2) { flex: 0 0 27%; background: var(--cinnabar-600); }
.band > span:nth-child(3) { flex: 1 1 auto; background: var(--celadon-500); }

/* ---------- 5. 顶栏 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.site-header.is-scrolled {
  background: var(--ink-900);
  border-bottom-color: var(--hair-strong);
  box-shadow: 0 12px 34px rgba(3, 9, 16, 0.6);
}
.site-header__inner {
  height: var(--header-h);
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) {
  .site-header__inner { padding: 0 32px; }
}
@media (min-width: 1080px) {
  .site-header__inner {
    padding-left: calc(var(--rail-w) + 40px);
    padding-right: 44px;
  }
}

/* 品牌 */
.brand { min-width: 0; }
.brand__link, .brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.brand__mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1B1206;
  background: linear-gradient(150deg, var(--copper-300), var(--copper-500));
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(6, 19, 31, 0.35);
}
.brand__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}
.brand--footer .brand__mark { flex: 0 0 48px; width: 48px; height: 48px; font-size: 16px; }
.brand--footer .brand__name { font-size: 20px; }

@media (max-width: 559px) {
  .brand__tag { display: none; }
  .brand__name { font-size: 16px; }
  .brand__mark { flex: 0 0 36px; width: 36px; height: 36px; font-size: 13px; }
}

/* 顶栏状态小字 */
.topbar-meta {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  white-space: nowrap;
}
.topbar-meta__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--celadon-500);
  box-shadow: 0 0 0 3px rgba(63, 154, 158, 0.18);
}
@media (min-width: 1080px) { .topbar-meta { display: flex; } }

/* 移动导航按钮 */
.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(224, 179, 107, 0.4);
  border-radius: var(--radius);
  background: rgba(12, 31, 49, 0.72);
  color: var(--copper-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}
.nav-toggle:hover { background: rgba(22, 50, 74, 0.9); border-color: var(--copper-300); }
.nav-toggle__bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle__bars > span { display: block; height: 1.5px; background: currentColor; transition: transform 0.18s ease; }
.site-header[data-nav-open="true"] .nav-toggle__bars > span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.site-header[data-nav-open="true"] .nav-toggle__bars > span:nth-child(2) { opacity: 0; }
.site-header[data-nav-open="true"] .nav-toggle__bars > span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
@media (min-width: 1080px) { .nav-toggle { display: none; } }

/* ---------- 6. 编号索引条 / 移动抽屉 ---------- */
.site-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 79;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 16px 16px 22px;
  background: var(--ink-800);
  border-bottom: 1px solid var(--hair-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.site-header[data-nav-open="true"] .site-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.site-nav__title,
.site-nav__extras-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-500);
}
.site-nav__title { margin-bottom: 12px; }
.site-nav__extras-title { margin-bottom: 8px; color: var(--text-muted); }

.site-nav__list { display: grid; gap: 1px; }
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 10px;
  border-left: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: color 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.site-nav__link:hover { color: var(--text-primary); background: rgba(22, 50, 74, 0.6); }
.site-nav__link[aria-current="page"] {
  color: var(--copper-300);
  background: rgba(192, 138, 62, 0.1);
  border-left-color: var(--copper-500);
}
.site-nav__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--copper-500);
}
.site-nav__link[aria-current="page"] .site-nav__num { color: var(--copper-300); }
.site-nav__label { font-size: 15px; }

.site-nav__extras {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--hair);
}
.util-link {
  display: block;
  padding: 8px 10px;
  border-left: 2px solid transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color 0.16s ease, background-color 0.16s ease;
}
.util-link:hover { color: var(--copper-300); background: rgba(22, 50, 74, 0.6); }
.site-nav__cta { margin-top: 14px; width: 100%; }
.site-nav__gauge { display: none; }

@media (min-width: 1080px) {
  .site-nav {
    top: var(--header-h);
    bottom: 0;
    right: auto;
    width: var(--rail-w);
    max-height: none;
    padding: 20px 8px 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-bottom: 0;
    border-right: 1px solid var(--hair-strong);
    background: linear-gradient(180deg, rgba(6, 19, 31, 0.55), rgba(6, 19, 31, 0.88));
    transition: background 0.24s ease;
  }
  .site-header.is-scrolled .site-nav { background: var(--ink-800); }
  .site-nav__title,
  .site-nav__extras-title { display: none; }
  .site-nav__list { gap: 2px; }
  .site-nav__link {
    flex-direction: column;
    gap: 7px;
    padding: 11px 2px;
    text-align: center;
    border-left: 0;
    border-top: 2px solid transparent;
    border-radius: 0;
  }
  .site-nav__link:hover { background: rgba(22, 50, 74, 0.75); }
  .site-nav__link[aria-current="page"] {
    background: rgba(192, 138, 62, 0.12);
    border-top-color: var(--copper-500);
    border-left-color: transparent;
  }
  .site-nav__num { font-size: 12px; }
  .site-nav__label { font-size: 11px; line-height: 1.35; letter-spacing: 0.02em; }

  .site-nav__extras {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--hair);
  }
  .util-link {
    padding: 6px 2px;
    border-left: 0;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .site-nav__cta {
    margin-top: 12px;
    padding: 9px 4px;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
  }
  .site-nav__gauge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--hair);
  }
  .site-nav__track {
    position: relative;
    width: 2px;
    height: 54px;
    background: var(--hair);
    overflow: hidden;
  }
  .site-nav__fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--copper-300);
  }
  .site-nav__pct {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--copper-300);
  }
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink-900);
  border-top: 1px solid var(--hair-strong);
  color: var(--text-muted);
}
.site-footer__inner {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 20px 34px;
}
@media (min-width: 768px) { .site-footer__inner { padding: 0 32px 40px; } }
@media (min-width: 1080px) {
  .site-footer__inner {
    padding-left: calc(var(--rail-w) + 40px);
    padding-right: 44px;
  }
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 46px 0 34px;
}
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) {
  .footer__top { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 38px; }
}
.footer__col { min-width: 0; }
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--copper-500);
  padding-bottom: 11px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.footer__links { display: grid; gap: 9px; }
.footer__link {
  display: inline-block;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.16s ease, padding-left 0.16s ease;
}
.footer__link:hover { color: var(--copper-300); padding-left: 5px; }
.footer__brand { min-width: 0; }
.footer__blurb {
  margin-top: 18px;
  max-width: 30em;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}
.footer__meta { margin-top: 20px; max-width: 460px; }
.footer__bottom {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
}
.footer__note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 46em;
  padding-left: 12px;
  border-left: 2px solid var(--cinnabar-600);
}
.footer__legal { display: grid; gap: 5px; }
.footer__legal-line {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--text-muted);
  word-break: break-word;
}
@media (min-width: 900px) {
  .footer__bottom { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
  .footer__legal { text-align: right; }
}

/* ---------- 8. 按钮 / 标签 / 链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn--copper {
  background: linear-gradient(150deg, var(--copper-300), var(--copper-500));
  color: #1B1206;
  border-color: rgba(6, 19, 31, 0.25);
}
.btn--copper:hover { transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  border-color: rgba(224, 179, 107, 0.42);
  color: var(--copper-300);
}
.btn--ghost:hover { background: rgba(192, 138, 62, 0.14); transform: translateY(-2px); }
.btn--celadon {
  background: transparent;
  border-color: rgba(63, 154, 158, 0.5);
  color: #8FD2D5;
}
.btn--celadon:hover { background: rgba(63, 154, 158, 0.16); transform: translateY(-2px); }
.btn--block { width: 100%; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid rgba(192, 138, 62, 0.5);
  border-radius: var(--radius);
  background: rgba(192, 138, 62, 0.1);
  color: var(--copper-300);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  white-space: nowrap;
}
.tag--cinnabar { color: #E48078; border-color: rgba(192, 69, 60, 0.5); background: rgba(192, 69, 60, 0.13); }
.tag--celadon { color: #7FC8CB; border-color: rgba(63, 154, 158, 0.5); background: rgba(63, 154, 158, 0.13); }
.tag--paper { color: var(--ink-on-paper); border-color: rgba(16, 28, 40, 0.3); background: rgba(16, 28, 40, 0.07); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper-300);
  transition: color 0.16s ease, gap 0.16s ease;
}
.link-more::after { content: "→"; }
.link-more:hover { color: #F2D6A8; gap: 12px; }

[data-copy] { cursor: pointer; }
[data-copy-state="done"] { color: var(--celadon-500) !important; border-color: rgba(63, 154, 158, 0.6) !important; }

/* ---------- 9. 分区与章节头 ---------- */
.section { position: relative; padding: 72px 0; }
.section--tight { padding: 44px 0; }
.section--ink800 { background: var(--ink-800); }
.section--ink700 { background: var(--ink-700); }
.section--paper { background: var(--paper-100); color: var(--ink-on-paper); }
.section--paper .section__lede,
.section--paper .section__kicker { color: #4C5A66; }
.section--paper .rule { background: linear-gradient(90deg, rgba(16,28,40,0.4), rgba(16,28,40,0.08) 60%, transparent); }

.section__head { display: grid; gap: 10px; margin-bottom: 34px; max-width: 44em; }
.section__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-500);
}
.section__title { font-size: clamp(28px, 3.4vw, 44px); }
.section__lede { font-size: 16px; line-height: 1.85; color: var(--text-muted); max-width: 34em; }

/* ---------- 10. 栅格 ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid { gap: 20px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.grid--aside { grid-template-columns: 1fr; }
@media (min-width: 1000px) {
  .grid--aside { grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: 36px; }
}

/* ---------- 11. 卡片 ---------- */
.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px 20px 24px;
  background: var(--ink-700);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 179, 107, 0.5);
  box-shadow: 0 16px 32px rgba(3, 9, 16, 0.5);
}
.card__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--copper-500);
}
.card__title { font-size: 20px; line-height: 1.35; }
.card__text { font-size: 15px; line-height: 1.85; color: var(--text-muted); }
.card__meta {
  margin-top: 4px;
  padding-top: 11px;
  border-top: 1px dashed var(--hair);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.card--copper { border-top: 3px solid var(--copper-500); }
.card--cinnabar { border-top: 3px solid var(--cinnabar-600); }
.card--celadon { border-top: 3px solid var(--celadon-500); }
.card--copper .card__num { color: var(--copper-300); }
.card--cinnabar .card__num { color: #E48078; }
.card--celadon .card__num { color: #7FC8CB; }
.card--paper { background: #FBF7EF; border-color: rgba(16, 28, 40, 0.16); color: var(--ink-on-paper); }
.card--paper .card__title { color: var(--ink-on-paper); }
.card--paper .card__text { color: #4C5A66; }
.card--paper .card__meta { color: #5A6673; border-top-color: rgba(16, 28, 40, 0.16); }

/* ---------- 12. 编号矩阵 / 目录 / 键值表 ---------- */
.numgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
@media (min-width: 768px) { .numgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.numgrid__cell {
  background: var(--ink-800);
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.numgrid__cell strong {
  display: block;
  margin-top: 5px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-primary);
}

.toc { display: grid; border-top: 1px solid var(--hair); }
.toc__item { border-bottom: 1px solid var(--hair); }
.toc__link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 4px 14px;
  padding: 14px 4px;
  align-items: baseline;
  transition: background-color 0.16s ease, padding-left 0.16s ease;
}
.toc__link:hover { background: rgba(22, 50, 74, 0.55); padding-left: 12px; }
.toc__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--copper-500);
}
.toc__label { font-family: var(--font-heading); font-size: 16px; font-weight: 700; }
.toc__desc { grid-column: 2; font-size: 13px; line-height: 1.7; color: var(--text-muted); }

.meta-list { display: grid; gap: 10px; font-size: 14px; }
.meta-list__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--hair);
}
.meta-list__key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper-500);
}
.meta-list__val { color: var(--text-primary); word-break: break-word; }
.meta-list a { color: var(--text-primary); }
.meta-list a:hover { color: var(--copper-300); }

/* ---------- 13. 正文 / 旁注 / 边框 ---------- */
.prose { max-width: 34em; font-size: 17px; line-height: 1.9; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose ul, .prose ol { display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 1.5em; }
.prose li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--copper-500);
}
.prose a { color: var(--copper-300); text-decoration: underline; text-underline-offset: 3px; }
.prose--clause { font-family: var(--font-serif); line-height: 1.95; }
.prose--clause strong { color: var(--copper-300); }
.prose--paper { color: var(--ink-on-paper); }
.prose--paper li::before { color: var(--cinnabar-600); }
.prose--paper a { color: #8A4A16; }

.note {
  padding: 15px 18px;
  border-left: 3px solid var(--copper-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(22, 50, 74, 0.62);
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
}
.note--cinnabar { border-left-color: var(--cinnabar-600); }
.note--celadon { border-left-color: var(--celadon-500); }
.note strong { color: var(--text-primary); }

.frame {
  position: relative;
  padding: 20px;
  border: 1px solid var(--hair-strong);
  background: rgba(12, 31, 49, 0.55);
  border-radius: var(--radius);
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border: 1px solid var(--copper-300);
}
.frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- 14. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb__sep { color: rgba(154, 170, 185, 0.5); }
.breadcrumb a:hover { color: var(--copper-300); }
.breadcrumb [aria-current="page"] { color: var(--copper-300); }

/* ---------- 15. 图片容器基类 ---------- */
.figure { display: grid; gap: 10px; }
.figure__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background-color: var(--ink-800);
  background-image:
    linear-gradient(140deg, rgba(22, 50, 74, 0.92), rgba(12, 31, 49, 0.98)),
    repeating-linear-gradient(45deg, rgba(224, 179, 107, 0.07) 0 2px, transparent 2px 11px);
}
.figure__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure--wide .figure__frame { aspect-ratio: 21 / 9; }
.figure--tall .figure__frame { aspect-ratio: 4 / 5; }
.figure--square .figure__frame { aspect-ratio: 1 / 1; }
.figure__cap {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--text-muted);
}
@media (max-width: 480px) {
  .figure--wide .figure__frame { aspect-ratio: 16 / 9; }
}

/* ---------- 16. 动效降级 ---------- */
@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;
  }
  .card:hover, .btn:hover { transform: none; }
}
