/* ============================================================
   澳门娱乐正版 · 共享样式 /assets/site.css
   夜展图录：框架式导航 + 纸张叠层 + 珠宝金线
   ============================================================ */

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

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

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

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

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

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

button { background: none; border: 0; }

a { color: inherit; text-decoration: none; }

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

hr { border: 0; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --ink-blue: #0A1730;
  --deep-teal: #0F2E33;
  --gold: #D9A94C;
  --gold-lit: #F2D390;
  --jade: #2FA88E;
  --wine: #7C2D3E;
  --indigo: #3A2E63;
  --warm-white: #F3EDE2;
  --paper: #E8DFCC;
  --gold-line: #8A6B2E;

  --line-soft: rgba(138, 107, 46, 0.32);
  --line-strong: rgba(217, 169, 76, 0.55);
  --text-soft: rgba(243, 237, 226, 0.7);
  --text-mute: rgba(243, 237, 226, 0.46);

  --frame-w: 0px;
  --content-w: 1160px;
  --radius: 2px;

  --font-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 1024px) {
  :root { --frame-w: 236px; }
}

/* ---------- 3. 页面基底与中文排版 ---------- */
body {
  padding-left: var(--frame-w);
  background-color: var(--ink-blue);
  background-image:
    radial-gradient(940px 540px at 84% -8%, rgba(58, 46, 99, 0.42), transparent 68%),
    radial-gradient(780px 500px at 4% 106%, rgba(15, 46, 51, 0.72), transparent 70%);
  background-attachment: fixed;
  color: var(--warm-white);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* 画册装帧：页面四周 1px 金色内框 */
body::after {
  content: "";
  position: fixed;
  inset: 10px;
  border: 1px solid rgba(138, 107, 46, 0.22);
  pointer-events: none;
  z-index: 30;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--warm-white);
}

h1 { font-size: clamp(32px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 28px); }
h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--warm-white);
}

p { font-size: 17px; }
strong { font-weight: 900; color: var(--gold-lit); }
small { font-size: 13px; }

::selection {
  background: rgba(217, 169, 76, 0.32);
  color: #ffffff;
}

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

/* ---------- 4. 跳至主要内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--frame-w) + 12px);
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink-blue);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 5. 页头：框架式导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 18px;
  background: rgba(10, 23, 48, 0.96);
  border-bottom: 1px solid var(--line-soft);
  z-index: 50;
}

@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 26px;
    width: var(--frame-w);
    padding: 30px 22px 26px;
    background: linear-gradient(180deg, #081226 0%, #0A1730 52%, #0B2029 100%);
    border-right: 1px solid var(--line-soft);
    border-bottom: 0;
  }
}

/* 阅读进度兼作顶部金线 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: var(--frame-w);
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--gold-lit) 55%, var(--jade));
  pointer-events: none;
  z-index: 60;
}

/* 左栏顶部标记 */
.frame-top { display: none; }

@media (min-width: 1024px) {
  .frame-top {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .frame-top__mark {
    font-size: 10.5px;
    letter-spacing: 0.3em;
    color: rgba(217, 169, 76, 0.78);
    font-variant-numeric: tabular-nums;
  }
  .frame-top__line {
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
  }
  .frame-top__meta {
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--text-mute);
  }
}

/* 品牌 */
.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.brand__link {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand__cn {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--warm-white);
}

.brand__en {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.brand__sub {
  display: none;
  font-size: 12.5px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--text-mute);
}

@media (min-width: 1024px) {
  .brand__sub { display: block; }
}

/* 移动端导航按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  background: rgba(217, 169, 76, 0.08);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--gold-lit);
  font-size: 13px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.nav-toggle:hover { border-color: var(--line-strong); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.18s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

/* 移动端抽屉 */
.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px 24px;
  background: #0B1C36;
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
  z-index: 55;
}

.site-nav[data-open] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s;
}

.site-nav__caption {
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--text-mute);
  margin-bottom: 10px;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav__item { display: block; }

.site-nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 10px 11px 12px;
  border-radius: var(--radius);
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}

.site-nav__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.18s var(--ease);
}

.site-nav__link:hover {
  background: rgba(217, 169, 76, 0.07);
  transform: translateX(3px);
}

.site-nav__link:hover::before { transform: scaleY(1); }

.site-nav__link[aria-current="page"] {
  background: rgba(217, 169, 76, 0.1);
}

.site-nav__link[aria-current="page"]::before { transform: scaleY(1); }

.site-nav__link[aria-current="page"] .site-nav__label {
  color: var(--gold-lit);
  font-weight: 500;
}

.site-nav__num {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.site-nav__label {
  font-size: 15px;
  color: rgba(243, 237, 226, 0.86);
}

.site-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(138, 107, 46, 0.22);
}

@media (min-width: 1024px) {
  .site-nav {
    position: static;
    flex: 1;
    gap: 14px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .site-nav__caption { display: none; }
  .site-nav__actions { margin-top: auto; }
}

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: #0A1730;
}

.btn--gold:hover {
  background: var(--gold-lit);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--gold-lit);
  border-color: rgba(217, 169, 76, 0.5);
}

.btn--ghost:hover {
  background: rgba(217, 169, 76, 0.1);
  border-color: var(--gold-lit);
  transform: translateY(-2px);
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 104px;
  background: linear-gradient(180deg, rgba(10, 23, 48, 0) 0%, #0C2130 34%, var(--deep-teal) 100%);
  border-top: 1px solid rgba(138, 107, 46, 0.45);
  color: var(--warm-white);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 168px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(217, 169, 76, 0));
}

.site-footer__inner {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 72px 28px 48px;
  display: grid;
  gap: 52px;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.site-footer__mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--warm-white);
}

.site-footer__sub {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
}

.site-footer__note {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-soft);
}

.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 599px) {
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-mute);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer__list a {
  font-size: 15px;
  color: rgba(243, 237, 226, 0.82);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.site-footer__list a:hover {
  color: var(--gold-lit);
  border-bottom-color: rgba(242, 211, 144, 0.7);
}

.site-footer__baseline {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 22px 28px 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  border-top: 1px solid rgba(138, 107, 46, 0.26);
  font-size: 13px;
  line-height: 1.8;
}

.site-footer__contact { color: var(--text-soft); }
.site-footer__legal { color: var(--text-mute); }
.site-footer__copy { color: var(--text-mute); font-variant-numeric: tabular-nums; }

/* ---------- 8. 容器 / 章节 / 正文 ---------- */
.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 28px;
}

@media (max-width: 599px) {
  .container { padding: 0 18px; }
}

.section { padding: 84px 0; }

@media (max-width: 899px) {
  .section { padding: 56px 0; }
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prose p { max-width: 40em; }

.prose a {
  color: var(--gold-lit);
  text-decoration: underline;
  text-decoration-color: rgba(217, 169, 76, 0.5);
  text-underline-offset: 3px;
}

.prose a:hover { text-decoration-color: var(--gold-lit); }

.prose ul,
.prose ol {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 40em;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 1px;
  background: var(--gold);
}

.prose ol { counter-reset: prose-count; }

.prose ol li {
  counter-increment: prose-count;
  position: relative;
  padding-left: 30px;
}

.prose ol li::before {
  content: counter(prose-count, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.26em;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.rule {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(217, 169, 76, 0.7), rgba(217, 169, 76, 0.06));
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 20px;
  margin-bottom: 36px;
}

.section-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.side-note {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--text-mute);
  max-height: 120px;
  line-height: 1.2;
}

/* ---------- 9. 栅格 ---------- */
.grid {
  display: grid;
  gap: 26px;
}

@media (min-width: 900px) {
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3,
  .grid--4-4-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--7-5 { grid-template-columns: 7fr 5fr; }
  .grid--8-4 { grid-template-columns: 8fr 4fr; }
}

/* ---------- 10. 纸张卡面与标签 ---------- */
.paper-card {
  position: relative;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(232, 223, 204, 0.07), rgba(232, 223, 204, 0.02));
  border: 1px solid rgba(138, 107, 46, 0.42);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease),
              box-shadow 0.18s var(--ease);
}

.paper-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.36);
}

.paper-card--stack::after {
  content: "";
  position: absolute;
  inset: 9px -9px -9px 9px;
  border: 1px solid rgba(138, 107, 46, 0.26);
  pointer-events: none;
}

.card-tag {
  position: absolute;
  top: -11px;
  left: 20px;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: var(--gold-lit);
  background: rgba(217, 169, 76, 0.12);
  border: 1px solid rgba(217, 169, 76, 0.55);
  border-radius: 1px;
}

.tag--teal {
  color: #8FE0CA;
  background: rgba(47, 168, 142, 0.14);
  border-color: rgba(47, 168, 142, 0.55);
}

.tag--wine {
  color: #F0C4CE;
  background: rgba(124, 45, 62, 0.3);
  border-color: rgba(196, 110, 130, 0.5);
}

.tag--indigo {
  color: #CFC6F2;
  background: rgba(58, 46, 99, 0.42);
  border-color: rgba(140, 124, 214, 0.45);
}

/* ---------- 11. 状态点 ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jade);
  box-shadow: 0 0 0 3px rgba(47, 168, 142, 0.18);
}

.status-dot--warn {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 169, 76, 0.18);
}

/* ---------- 12. 色彩分区 ---------- */
.surface-teal { background-color: var(--deep-teal); }
.surface-indigo { background-color: var(--indigo); }
.surface-wine { background-color: var(--wine); }

/* ---------- 13. 时间轴 ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(217, 169, 76, 0.6), rgba(217, 169, 76, 0.06));
}

.timeline__item {
  position: relative;
  padding-bottom: 28px;
}

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

.timeline__dot {
  position: absolute;
  left: -30px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ink-blue);
  border: 1px solid var(--gold);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.timeline__item.is-visible .timeline__dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(217, 169, 76, 0.14);
}

/* ---------- 14. 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--deep-teal);
  border: 1px solid rgba(138, 107, 46, 0.42);
  border-radius: var(--radius);
}

.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame__placeholder {
  position: absolute;
  inset: 0;
  background-color: var(--deep-teal);
  background-image:
    repeating-linear-gradient(135deg, rgba(217, 169, 76, 0.08) 0 1px, transparent 1px 13px),
    radial-gradient(320px 200px at 78% 22%, rgba(58, 46, 99, 0.55), transparent 70%);
}

.media-frame__caption {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-mute);
}

@media (max-width: 640px) {
  .media-frame,
  .media-frame--wide { aspect-ratio: 4 / 3; }
}

/* ---------- 15. 表格 ---------- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(138, 107, 46, 0.32);
  border-radius: var(--radius);
}

.data-table {
  min-width: 620px;
  font-size: 15px;
}

.data-table caption {
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(138, 107, 46, 0.24);
}

.data-table thead th {
  background: rgba(232, 223, 204, 0.07);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gold-lit);
  white-space: nowrap;
}

.data-table tbody tr { transition: background 0.18s var(--ease); }
.data-table tbody tr:hover { background: rgba(217, 169, 76, 0.07); }
.data-table td { color: rgba(243, 237, 226, 0.84); font-variant-numeric: tabular-nums; }
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 16. 手风琴 ---------- */
.accordion {
  border-top: 1px solid rgba(138, 107, 46, 0.3);
}

.accordion__item {
  border-bottom: 1px solid rgba(138, 107, 46, 0.3);
}

.accordion__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 19px 6px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  text-align: left;
  color: var(--warm-white);
  cursor: pointer;
  transition: color 0.18s var(--ease), padding 0.18s var(--ease);
}

.accordion__trigger:hover { color: var(--gold-lit); }

.accordion__trigger::after {
  content: "+";
  flex: none;
  font-size: 18px;
  line-height: 1.4;
  color: var(--gold);
  transition: transform 0.18s var(--ease);
}

.accordion__trigger[aria-expanded="true"]::after {
  content: "−";
  transform: rotate(0deg);
}

.accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.18s var(--ease);
}

.accordion__panel > * {
  padding: 0 6px 20px;
}

html:not([data-js="on"]) .accordion__panel {
  max-height: none;
  overflow: visible;
}

/* ---------- 17. 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--text-mute);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb li::after {
  content: "/";
  color: rgba(138, 107, 46, 0.7);
}

.breadcrumb li:last-child::after { display: none; }

.breadcrumb a {
  color: var(--text-soft);
  transition: color 0.18s var(--ease);
}

.breadcrumb a:hover { color: var(--gold-lit); }

.breadcrumb [aria-current="page"] { color: var(--gold-lit); }

/* ---------- 18. 显现动效 ---------- */
[data-reveal] {
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

html[data-js="on"] [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(14px);
}

/* ---------- 19. 减弱动效 ---------- */
@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[data-js="on"] [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .scroll-progress { transition: none; }
}

/* ---------- 20. 小屏微调 ---------- */
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  body::after { display: none; }
  .site-footer { margin-top: 72px; }
  .site-footer__inner { padding: 52px 20px 36px; gap: 38px; }
  .site-footer__baseline { padding: 20px 20px 32px; }
  .section-num { font-size: 32px; }
  .paper-card { padding: 24px 18px; }
}
