/* ==========================================================================
   澳门金手指站 · 共享样式 /assets/site.css
   1 reset · 2 变量 · 3 排版 · 4 布局 · 5 章节 · 6 材质与按钮 · 7 页头 · 8 页脚
   9 通用组件 · 10 动效与可达性 · 11 响应式
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

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

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

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

a { color: inherit; }

table { border-collapse: collapse; width: 100%; }

/* 2. 变量 ---------------------------------------------------------------- */
:root {
  --ink-950: #04121D;
  --ink-900: #071A2B;
  --ink-800: #0D2B3F;
  --ink-700: #14384D;
  --gold-600: #A9821C;
  --gold-500: #C9A227;
  --gold-300: #E8CB6B;
  --wine-600: #8C1C2B;
  --jade-500: #3F6F7A;
  --violet-700: #2E2557;
  --silver-400: #B9C2C9;
  --silver-100: #EAF0F4;

  --font-head: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Courier New", monospace;

  --line-soft: rgba(185, 194, 201, 0.14);
  --line-gold: rgba(201, 162, 39, 0.28);
  --radius-s: 12px;
  --radius-m: 16px;
  --radius-l: 22px;
  --shadow-deep: 0 30px 70px -46px rgba(0, 0, 0, 0.95);
  --ease-crisp: cubic-bezier(0.2, 0.7, 0.3, 1);
  --shell-max: 1320px;
}

/* 3. 排版 ---------------------------------------------------------------- */
body {
  min-height: 100vh;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 540px at 82% -8%, rgba(201, 162, 39, 0.10), transparent 62%),
    radial-gradient(880px 620px at -12% 18%, rgba(63, 111, 122, 0.16), transparent 60%),
    radial-gradient(760px 520px at 60% 108%, rgba(140, 28, 43, 0.10), transparent 64%),
    linear-gradient(180deg, #071A2B 0%, #061624 58%, #04121D 100%);
  background-attachment: fixed;
  color: var(--silver-400);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.chapter__title {
  font-family: var(--font-head);
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.28;
  color: var(--silver-100);
}

h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.75rem); }
h4 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }

p { text-wrap: pretty; }

::selection {
  background: rgba(201, 162, 39, 0.36);
  color: #FFFFFF;
}

.mono,
.chapter__no,
.eyebrow,
.ledger__no,
.ledger__meta,
.stat__value,
.tag,
.footer__meta {
  font-family: var(--font-mono);
  font-weight: 500;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--gold-500);
  text-transform: none;
}

.lede {
  max-width: 40em;
  font-size: 1.06rem;
  color: var(--silver-400);
}

.prose {
  max-width: 38em;
  color: var(--silver-400);
}

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

.prose ul,
.prose ol { margin: 1em 0; padding-left: 1.15em; }

.prose ul li { list-style: none; position: relative; }

.prose ul li::before {
  content: "";
  position: absolute;
  left: -1.05em;
  top: 0.78em;
  width: 6px;
  height: 1px;
  background: var(--gold-500);
}

.prose ol { counter-reset: prose; }

.prose ol li { list-style: none; counter-increment: prose; }

.prose ol li::before {
  content: counter(prose, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.78em;
  color: var(--gold-500);
  margin-right: 0.6em;
}

.prose strong { color: var(--silver-100); font-weight: 600; }

.prose a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(201, 162, 39, 0.5);
}

/* 4. 布局 ---------------------------------------------------------------- */
.container {
  width: min(var(--shell-max), 100% - 2 * clamp(16px, 4vw, 40px));
  margin-inline: auto;
}

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

.col-note { grid-column: 1 / span 3; }
.col-main { grid-column: 5 / span 7; }
.col-wide { grid-column: 4 / span 8; }
.col-fill { grid-column: 12 / span 2; }

.divider-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.55), rgba(185, 194, 201, 0.12) 42%, transparent);
}

/* 5. 章节 ---------------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(44px, 6.4vw, 92px) 0;
}

.section + .section { border-top: 1px solid var(--line-soft); }

.section--jade {
  background: linear-gradient(180deg, rgba(63, 111, 122, 0.18), rgba(63, 111, 122, 0.02));
  border-top-color: rgba(63, 111, 122, 0.42);
}

.section--violet {
  background: linear-gradient(180deg, rgba(46, 37, 87, 0.34), rgba(46, 37, 87, 0.05));
  border-top-color: rgba(122, 105, 190, 0.32);
}

.section--wine {
  background: linear-gradient(180deg, rgba(140, 28, 43, 0.20), rgba(140, 28, 43, 0.03));
  border-top-color: rgba(140, 28, 43, 0.48);
}

.chapter {
  display: grid;
  grid-template-columns: minmax(64px, 92px) minmax(0, 1fr);
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
}

.chapter__no {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--gold-500);
  text-shadow: 0 0 26px rgba(201, 162, 39, 0.35);
}

@supports (-webkit-text-stroke: 1px #000) {
  .chapter__no {
    color: transparent;
    -webkit-text-stroke: 1px rgba(201, 162, 39, 0.82);
    text-shadow: none;
  }
}

.chapter__title {
  margin-bottom: 0.5em;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
}

.chapter__lede {
  max-width: 40em;
  color: var(--silver-400);
}

/* 6. 材质与按钮 ---------------------------------------------------------- */
.glass {
  position: relative;
  background: linear-gradient(148deg, rgba(20, 56, 77, 0.74), rgba(13, 43, 63, 0.42));
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(234, 240, 244, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
}

.solid-card {
  background: var(--ink-700);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: clamp(18px, 2.2vw, 28px);
}

.panel {
  background: linear-gradient(180deg, rgba(13, 43, 63, 0.86), rgba(7, 26, 43, 0.9));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: clamp(16px, 2vw, 26px);
}

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

.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, #0D2B3F, #14384D 62%, #071A2B);
  aspect-ratio: 16 / 10;
}

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

.media-frame img,
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06);
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 18px;
  font-size: 0.84rem;
  color: var(--silver-100);
  background: linear-gradient(180deg, rgba(4, 18, 29, 0), rgba(4, 18, 29, 0.9));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.6em 1.25em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-crisp), background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn--gold {
  background: linear-gradient(135deg, #E8CB6B, #C9A227 58%, #A9821C);
  color: #08131F;
  box-shadow: 0 14px 34px -22px rgba(232, 203, 107, 0.9);
}

.btn--gold:hover { transform: translateY(-1px); box-shadow: 0 18px 38px -20px rgba(232, 203, 107, 0.95); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-gold);
  color: var(--gold-300);
}

.btn--ghost:hover { background: rgba(201, 162, 39, 0.12); border-color: var(--gold-300); }

.btn--quiet {
  background: transparent;
  border-color: rgba(185, 194, 201, 0.28);
  color: var(--silver-100);
}

.btn--quiet:hover { border-color: var(--silver-400); background: rgba(185, 194, 201, 0.08); }

.btn--block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold-300);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover { background: rgba(201, 162, 39, 0.16); border-color: var(--gold-300); }

.icon-btn__icon { width: 21px; height: 21px; }

/* 7. 页头 ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 50%;
  top: 6px;
  z-index: 200;
  padding: 0.62em 1.2em;
  border-radius: 999px;
  background: var(--gold-300);
  color: #08131F;
  font-weight: 600;
  text-decoration: none;
  transform: translate(-50%, -190%);
  transition: transform 0.2s var(--ease-crisp);
}

.skip-link:focus { transform: translate(-50%, 0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: clamp(8px, 1.4vw, 14px) clamp(10px, 2.6vw, 26px) clamp(10px, 1.6vw, 16px);
  background: linear-gradient(180deg, rgba(4, 18, 29, 0.94), rgba(4, 18, 29, 0.55) 68%, rgba(4, 18, 29, 0));
}

.site-header__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 22px);
  max-width: var(--shell-max);
  min-height: 62px;
  margin-inline: auto;
  padding: 8px clamp(10px, 1.4vw, 16px);
  transition: min-height 0.28s var(--ease-crisp), padding 0.28s var(--ease-crisp);
}

.site-header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(13, 43, 63, 0.66);
  box-shadow: 0 26px 52px -34px #000000, inset 0 1px 0 rgba(234, 240, 244, 0.07);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition: background 0.28s ease, border-color 0.28s ease;
}

.site-header__bar > * { position: relative; z-index: 1; }

.site-header[data-condensed="true"] .site-header__bar { min-height: 52px; padding-block: 4px; }

.site-header[data-condensed="true"] .site-header__bar::before {
  background: rgba(7, 26, 43, 0.88);
  border-color: rgba(201, 162, 39, 0.42);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand__seal {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(140deg, #E8CB6B, #C9A227 56%, #8C6C12);
  color: #08131F;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--silver-100);
  white-space: nowrap;
}

.brand__tagline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--gold-500);
}

.site-nav { margin-inline: auto; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__item--cta { display: none; }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45em 0.85em;
  border-radius: 999px;
  color: var(--silver-400);
  font-size: 0.94rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav__link:hover { color: var(--silver-100); background: rgba(201, 162, 39, 0.13); }

.site-nav__link[aria-current="page"] {
  background: linear-gradient(135deg, #E8CB6B, #C9A227);
  color: #08131F;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.header-cta { padding-inline: 1.1em; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(201, 162, 39, 0.38);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-300);
  transition: transform 0.26s var(--ease-crisp), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(185, 194, 201, 0.12);
  overflow: hidden;
}

.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #C9A227, #E8CB6B);
}

.nav-scrim { display: none; }

/* 8. 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 100px);
  padding: clamp(38px, 5.6vw, 72px) 0 28px;
  border-top: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(4, 18, 29, 0.35), rgba(4, 18, 29, 0.96) 22%, #04121D);
  color: var(--silver-400);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(640px 240px at 14% 0%, rgba(201, 162, 39, 0.12), transparent 72%);
  pointer-events: none;
}

.site-footer > .container { position: relative; }

.footer__rule {
  height: 1px;
  margin-bottom: clamp(24px, 3vw, 40px);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.6), rgba(185, 194, 201, 0.1) 46%, transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr 1.3fr 1.35fr;
  gap: clamp(20px, 3vw, 44px);
}

.footer-col__title {
  position: relative;
  margin-bottom: 14px;
  padding-left: 16px;
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--silver-100);
}

.footer-col__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--gold-500);
}

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

.footer-list__item {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--silver-400);
}

.footer-list__link {
  display: inline-block;
  padding: 2px 0;
  color: var(--silver-400);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s var(--ease-crisp);
}

.footer-list__link:hover {
  color: var(--gold-300);
  transform: translateX(3px);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(201, 162, 39, 0.55);
}

.footer-list__link[aria-current="page"] { color: var(--gold-300); }

.footer-list--plain { gap: 6px; }

.footer__strong {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--silver-100);
  word-break: break-all;
}

.footer__legal-line {
  margin-bottom: 8px;
  font-size: 0.88rem;
  line-height: 1.9;
}

.footer__legal-line--muted { color: rgba(185, 194, 201, 0.72); }

.footer__sign {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.footer__brand {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--silver-100);
}

.footer__meta {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(185, 194, 201, 0.66);
}

.back-to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: rgba(13, 43, 63, 0.82);
  color: var(--gold-300);
  font-size: 1.05rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: opacity 0.26s ease, transform 0.26s var(--ease-crisp), background 0.2s ease;
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover { background: rgba(201, 162, 39, 0.22); }

/* 9. 通用组件 ------------------------------------------------------------ */
.breadcrumb { padding: 18px 0 0; }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: rgba(185, 194, 201, 0.7);
}

.breadcrumb__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(201, 162, 39, 0.6);
}

.breadcrumb__link {
  color: var(--silver-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb__link:hover { color: var(--gold-300); }

.breadcrumb__current { color: var(--gold-300); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.28em 0.72em;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.tag--gold { color: var(--gold-300); }
.tag--jade { color: #8FC0C6; }
.tag--violet { color: #A293DF; }
.tag--wine { color: #E28C9A; }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ledger {
  border-top: 1px solid var(--line-soft);
}

.ledger__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ledger__row:hover {
  background: rgba(201, 162, 39, 0.07);
  border-bottom-color: var(--line-gold);
}

.ledger__no {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold-500);
}

.ledger__main {
  color: var(--silver-100);
  font-size: 0.98rem;
}

.ledger__meta {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(185, 194, 201, 0.66);
  white-space: nowrap;
}

.timeline { position: relative; }

.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.65), rgba(63, 111, 122, 0.45) 55%, rgba(140, 28, 43, 0.45));
}

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

.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  background: var(--ink-900);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.12);
}

.timeline__title {
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--silver-100);
}

.timeline__body {
  max-width: 36em;
  font-size: 0.94rem;
  color: var(--silver-400);
}

.disclosure {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: rgba(13, 43, 63, 0.5);
  overflow: hidden;
  transition: border-color 0.24s ease, background 0.24s ease;
}

.disclosure + .disclosure { margin-top: 10px; }

.disclosure.is-open {
  border-color: rgba(201, 162, 39, 0.44);
  background: rgba(20, 56, 77, 0.64);
}

.disclosure__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.disclosure__no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(185, 194, 201, 0.72);
  transition: color 0.22s ease;
}

.disclosure.is-open .disclosure__no { color: var(--gold-300); }

.disclosure__label {
  flex: 1;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: var(--silver-100);
}

.disclosure__icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.disclosure__icon::before,
.disclosure__icon::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: var(--gold-300);
  transition: transform 0.26s var(--ease-crisp), opacity 0.2s ease;
}

.disclosure__icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.disclosure__icon::after { left: 7px; top: 0; width: 2px; height: 16px; }

.disclosure.is-open .disclosure__icon::after { transform: scaleY(0); }

.disclosure__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.26s var(--ease-crisp), visibility 0.26s ease;
}

.disclosure__panel[data-open="true"] {
  grid-template-rows: 1fr;
  visibility: visible;
}

.disclosure__inner {
  overflow: hidden;
  min-height: 0;
}

.disclosure__body {
  padding: 2px 18px 20px;
  border-top: 1px solid rgba(201, 162, 39, 0.18);
  font-size: 0.95rem;
  color: var(--silver-400);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 14px;
}

.stat {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  background: rgba(20, 56, 77, 0.5);
}

.stat__value {
  display: block;
  font-size: 1.45rem;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}

.stat__label {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(185, 194, 201, 0.76);
}

.callout {
  padding: 16px 18px;
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  background: rgba(201, 162, 39, 0.09);
  color: var(--silver-100);
  font-size: 0.95rem;
}

.callout--warn {
  border-left-color: var(--wine-600);
  background: rgba(140, 28, 43, 0.18);
  color: #F1DEE2;
}

.side-index { position: sticky; top: 112px; }

.side-index__list { display: grid; gap: 4px; }

.side-index__link {
  display: flex;
  gap: 10px;
  padding: 4px 8px;
  border-left: 1px solid rgba(185, 194, 201, 0.18);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: rgba(185, 194, 201, 0.62);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, padding-left 0.2s var(--ease-crisp);
}

.side-index__link:hover { color: var(--silver-100); }

.side-index__link.is-active {
  border-left-color: var(--gold-500);
  color: var(--gold-300);
  padding-left: 12px;
}

/* 10. 动效与可达性 ------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.32s var(--ease-crisp);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* 11. 响应式 ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .side-index { display: none; }
}

@media (max-width: 1024px) {
  .col-note,
  .col-main,
  .col-wide { grid-column: 1 / span 12; }
  .col-fill { display: none; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  body { font-size: 16px; }

  .nav-toggle { display: flex; }

  .header-cta { padding-inline: 0.95em; font-size: 0.9rem; }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(84vw, 340px);
    margin: 0;
    padding: 22px 20px 32px;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(103%);
    background: linear-gradient(180deg, rgba(13, 43, 63, 0.99), rgba(4, 18, 29, 0.99));
    border-left: 1px solid rgba(201, 162, 39, 0.36);
    border-top-left-radius: var(--radius-l);
    box-shadow: -34px 0 64px -34px #000000;
    transition: transform 0.32s var(--ease-crisp), visibility 0.32s ease;
  }

  .site-nav[data-open="true"] {
    visibility: visible;
    transform: translateX(0);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .site-nav__link {
    display: flex;
    min-height: 48px;
    padding: 0.5em 0.9em;
    border-radius: 12px;
    border-left: 2px solid rgba(201, 162, 39, 0.28);
    font-size: 1rem;
  }

  .site-nav__link[aria-current="page"] { border-left-color: transparent; }

  .site-nav__item--cta { display: block; margin-top: 16px; }

  .nav-scrim {
    display: block;
    position: fixed;
    inset: 74px 0 0 0;
    z-index: 84;
    background: rgba(4, 18, 29, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .nav-scrim[data-visible="true"] {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 760px) {
  .icon-btn { display: none; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ledger__row { grid-template-columns: 68px minmax(0, 1fr); }
  .ledger__meta { grid-column: 2; justify-self: start; }
  .chapter { grid-template-columns: minmax(52px, 64px) minmax(0, 1fr); }
  .footer__sign { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .brand__tagline { display: none; }
  .brand__name { font-size: 0.95rem; }
  .brand__seal { width: 32px; height: 32px; border-radius: 9px; font-size: 17px; }
  .header-cta { font-size: 0.84rem; padding-inline: 0.8em; }
  .site-header__bar { min-height: 56px; }
  .site-nav { top: 66px; }
  .nav-scrim { inset: 66px 0 0 0; }
}

/* 12. 降低动效偏好 ------------------------------------------------------- */
@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;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }

  .site-header[data-condensed="true"] .site-header__bar { min-height: 62px; }
}
