:root {
  --pku-red: #94070A;
  --pku-crimson: #9A2B21;
  --paper: #EFE6DB;
  --paper-light: #F6F4F2;
  --paper-soft: #EDE6D6;
  --ink-black: #050505;
  --ink-brown: #3F332C;
  --ink-muted: #77736D;
  --indigo: #08387A;
  --indigo-mid: #103F70;
  --indigo-deep: #041827;
  --gold: #C5A87C;
  --gold-soft: #B09878;
  --teal: #245356;
  --teal-deep: #164444;
  --violet: #2C1A43;
  --white: #FFFFFF;
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --display-en: Georgia, "Times New Roman", serif;
  --radius: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--ink-black);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--white);
  background: var(--ink-black);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

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

/* 顶部细线进度条 */
.top-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0));
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 14px;
}

.top-chrome__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.top-chrome__badge {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(148, 7, 10, 0.88);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.top-chrome__en {
  font-family: var(--display-en);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-chrome__track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
}

.top-chrome__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pku-red), var(--gold));
  transition: width 0.12s linear;
}

/* 右上角「美遇東方」竖印徽标 */
.floating-brand {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 55;
  width: 40px;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.floating-brand .brand-logo {
  width: 100%;
  height: auto;
}

.floating-brand .brand-logo--dark { display: none; }
.floating-brand.is-light .brand-logo--light { display: none; }
.floating-brand.is-light .brand-logo--dark { display: block; }

/* 右下角拇指「屏风」悬浮按钮 */
.screen-fab {
  position: fixed;
  right: 16px;
  bottom: calc(20px + var(--safe-bottom));
  z-index: 70;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--pku-red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(148, 7, 10, 0.45), 0 0 0 1.5px rgba(197, 168, 124, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.screen-fab:active { transform: scale(0.94); }
.screen-fab__seal { font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1.1; }
.screen-fab__hint { font-size: 10px; color: var(--gold); letter-spacing: 0.1em; }

/* 通用排版与模块容器 */
[id] {
  scroll-margin-top: 64px;
}
.chapter, .band {
  scroll-margin-top: 0;
}
.chapter { position: relative; }
.chapter--dark { background: var(--ink-black); color: var(--white); }
.chapter--paper { background: var(--paper); color: var(--ink-brown); }
.chapter--indigo { background: var(--indigo-deep); color: var(--white); }
.chapter--mixed { background: var(--ink-black); color: var(--white); }

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

.surface-paper-light {
  background: var(--paper-light);
  color: var(--ink-brown);
}

.surface-indigo {
  background: linear-gradient(180deg, var(--indigo-deep), var(--indigo));
  color: var(--white);
}

.surface-dark {
  background: var(--ink-black);
  color: var(--white);
}

.surface-teal {
  background: linear-gradient(180deg, var(--teal-deep), var(--teal));
  color: var(--white);
}

.band {
  padding: 54px 16px 44px;
  position: relative;
}

.band--safe-end {
  padding-bottom: calc(96px + var(--safe-bottom));
}

.band__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.split-desktop {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.split-desktop > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 6px;
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.78;
}

.eyebrow--gold { color: var(--gold); opacity: 1; }
.eyebrow--red { color: var(--pku-red); opacity: 1; font-weight: 600; }

.sec-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(24px, 6.2vw, 38px);
  line-height: 1.25;
  font-weight: 700;
}

.sec-lead {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  opacity: 0.88;
  max-width: 720px;
}

/* 独立占位符徽标 */
.placeholder-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px dashed currentColor;
  font-size: 12px;
  opacity: 0.82;
  background: rgba(197, 168, 124, 0.14);
}

/* S01 景深开卷 Hero */
.hero-s01 {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 84px 20px calc(92px + var(--safe-bottom));
}

.hero-s01__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(calc(1 + var(--hero-p, 0) * 0.08));
  transition: transform 0.1s linear;
}

.hero-s01__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.35) 0%,
    rgba(5, 5, 5, 0.15) 40%,
    rgba(5, 5, 5, 0.86) 85%,
    rgba(5, 5, 5, 0.98) 100%
  );
}

.hero-s01__emblem {
  position: absolute;
  top: calc(56px + env(safe-area-inset-top, 0px));
  left: 18px;
  width: 44px;
  height: 44px;
  z-index: 3;
}

.hero-s01__content {
  position: relative;
  z-index: 3;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.hero-s01__calligraphy {
  width: min(210px, 56vw);
  margin-bottom: 14px;
  transform: translateY(calc(var(--hero-p, 0) * -28px));
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.65));
}

.hero-s01__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(20px, 5vw, 28px);
  color: var(--white);
}

.hero-s01__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin: 4px 0 18px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold);
  border: 1px solid rgba(197, 168, 124, 0.55);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.45);
  backdrop-filter: blur(6px);
}

/* 横向滑轨（手机原生触摸友好 + 翻页引导） */
.h-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 2px;
  padding: 4px 16px 12px 2px;
  scrollbar-width: none;
}

.h-rail::-webkit-scrollbar { display: none; }

.h-rail__item {
  flex: 0 0 76%;
  scroll-snap-align: start;
  min-width: 0;
}

.h-rail__item--poster { flex: 0 0 64%; }
.h-rail__item--speaker { flex: 0 0 78%; }

/* 2 张重点图文卡在手机端直接上下竖排，避免第二张被遮挡漏看 */
.h-rail--grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  overflow: visible;
  padding: 0;
}

.h-rail--grid-2 > .h-rail__item {
  flex: none;
  width: auto;
  min-width: 0;
}

/* 3 张以上横滑画廊的底部圆点与左右轻点切换条（手机与窄屏显示） */
.rail-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 10px;
}

.rail-nav[hidden] { display: none; }

.rail-nav__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  line-height: 1;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(197, 168, 124, 0.42);
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.rail-nav__btn:active:not(:disabled) { transform: scale(0.92); }
.rail-nav__btn:disabled { opacity: 0.26; cursor: default; }

.rail-nav__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rail-nav__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: width 0.24s ease, background 0.24s ease;
}

.rail-nav__dot.is-active {
  width: 20px;
  background: var(--gold);
}

.rail-nav__counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  min-width: 30px;
  text-align: center;
}

.surface-paper .rail-nav__btn,
.surface-paper-light .rail-nav__btn {
  color: var(--ink-brown);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(63, 51, 44, 0.22);
  box-shadow: 0 2px 8px rgba(63, 51, 44, 0.08);
}

.surface-paper .rail-nav__dot,
.surface-paper-light .rail-nav__dot {
  background: rgba(63, 51, 44, 0.22);
}

.surface-paper .rail-nav__dot.is-active,
.surface-paper-light .rail-nav__dot.is-active {
  background: var(--pku-red);
}

.surface-paper .rail-nav__counter,
.surface-paper-light .rail-nav__counter {
  color: var(--ink-brown);
  opacity: 0.76;
}

/* 卡片与图片容器 */
.art-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

button.art-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  text-align: left;
}

.art-card__media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
}

/* 可点击展品图的微微呼吸白色圆点提示（纯白光晕配轻柔阴影，深浅底均清晰） */
.tap-beacon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 22px;
  height: 22px;
  pointer-events: none;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.48));
}

.tap-beacon::before,
.tap-beacon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.tap-beacon::before {
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.36);
  animation: tapBeaconCore 2.2s ease-in-out infinite;
}

.tap-beacon::after {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.62);
  animation: tapBeaconPulse 2.2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

@keyframes tapBeaconCore {
  0%, 100% { transform: scale(0.92); opacity: 0.92; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes tapBeaconPulse {
  0% { transform: scale(1); opacity: 0.78; }
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .tap-beacon::before,
  .tap-beacon::after {
    animation: none;
  }
  .tap-beacon::after {
    transform: scale(1.7);
    opacity: 0.35;
  }
}

.surface-paper .art-card,
.surface-paper-light .art-card {
  background: var(--white);
  border-color: rgba(63, 51, 44, 0.12);
  box-shadow: 0 8px 24px rgba(63, 51, 44, 0.08);
}

.art-card__media {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.art-card__media--land { aspect-ratio: 16 / 10; }
.art-card__media--43 { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 20%; }
.art-card__media--sq { aspect-ratio: 1 / 1; }
.art-card__media--contain { aspect-ratio: 16 / 10; object-fit: contain; background: #fff; padding: 6px; }
.art-card__media--contain-dark { aspect-ratio: 4 / 3; object-fit: contain; background: #121212; }
.art-card__media--press { aspect-ratio: 4 / 5; object-fit: cover; object-position: top center; }
.art-card__media--poster-a4 { aspect-ratio: 705 / 1000; object-fit: contain; background: #f6f4f2; }
.art-card__media--poster-s07 { aspect-ratio: 685 / 1000; object-fit: contain; background: #fff; }
.art-card__media--poster-916 { aspect-ratio: 9 / 16; object-fit: cover; }
.art-card__media--poster-auto { aspect-ratio: auto; height: auto; object-fit: contain; }
.art-card__media--contain-warm { aspect-ratio: 16 / 10; object-fit: contain; background: #ece5d8; }
.art-card__media--43-contain-warm { aspect-ratio: 4 / 3; object-fit: contain; background: #ece5d8; }
.portrait-crop { object-position: center 18%; }
.s07-photo { aspect-ratio: 4 / 3; }

.art-card__body {
  padding: 12px 14px 14px;
}

.art-card__tag {
  display: inline-block;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.surface-paper .art-card__tag,
.surface-paper-light .art-card__tag { color: var(--pku-red); font-weight: 600; }

.art-card__title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.35;
}

.art-card__desc {
  margin: 0;
  font-size: 13px;
  opacity: 0.82;
}

/* S03 北大 × 非遗 = ? 触控玉牌 */
.s03-bg-wrap {
  position: relative;
  overflow: hidden;
}

.s03-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.s03-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.pillar-pill {
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.25s ease;
}

.pillar-pill img {
  height: 48px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
}

.pillar-pill span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.pillar-pill.is-active {
  background: rgba(148, 7, 10, 0.45);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.forces-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.force-jade {
  text-align: left;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 168, 124, 0.28);
  min-height: 60px;
  transition: all 0.22s ease;
}

.force-jade__title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.force-jade__hint { font-size: 12px; color: var(--gold); margin-top: 2px; }

.force-jade.is-active {
  background: var(--pku-red);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(148, 7, 10, 0.35);
}

.linkage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.linkage-chip {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.55;
  transition: all 0.22s ease;
}

.linkage-chip.is-active {
  opacity: 1;
  background: var(--gold);
  color: var(--ink-black);
  border-color: var(--gold);
  font-weight: 600;
}

.force-detail-box {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(4, 24, 39, 0.85);
  border: 1px solid rgba(197, 168, 124, 0.4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jump-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-black);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* S04 & S45 数字矩阵 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.stats-grid--2 { grid-template-columns: repeat(2, 1fr); }
.stats-grid--3 { grid-template-columns: repeat(2, 1fr); }
.stats-grid--3 > :last-child { grid-column: 1 / -1; }

.stat-card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 12px;
  border: 1px solid rgba(63, 51, 44, 0.1);
  box-shadow: 0 4px 14px rgba(63, 51, 44, 0.05);
}

.stat-card__num {
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 36px);
  font-weight: 700;
  color: var(--pku-red);
  line-height: 1.1;
}

.stat-card__unit {
  font-size: 13px;
  color: var(--pku-red);
  margin-left: 3px;
}

.stat-card__label {
  font-size: 12px;
  color: var(--ink-brown);
  margin-top: 4px;
}

/* S05 内联五折屏风（手机横条折叠，电脑五列并排） */
.folding-screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screen-slat {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 76px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  text-align: left;
  border: 1px solid rgba(197, 168, 124, 0.35);
  transition: all 0.35s ease;
}

.screen-slat__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  transition: filter 0.35s ease, transform 0.45s ease;
}

.screen-slat.is-open { min-height: 196px; }
.screen-slat.is-open .screen-slat__bg { filter: brightness(0.75); transform: scale(1.03); }

.screen-slat__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.85), rgba(5, 5, 5, 0.32));
}

.screen-slat__content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.screen-slat__zh {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.screen-slat__en {
  font-family: var(--display-en);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.screen-slat__desc {
  display: none;
  margin: 6px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.screen-slat.is-open .screen-slat__desc { display: block; }

/* 五大章节电影海报式扉页（固定白字在暗遮罩上，不受父章浅色主题影响） */
.chapter-cover {
  position: relative;
  min-height: 58svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 56px 20px 30px;
  color: var(--white);
}

.chapter-cover__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-cover__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.94) 10%, rgba(5, 5, 5, 0.45) 55%, rgba(5, 5, 5, 0.25) 100%);
}

.chapter-cover__inner {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

.chapter-cover__part {
  font-family: var(--display-en);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin: 0 0 6px;
}

.chapter-cover__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(44px, 12vw, 76px);
  line-height: 1.05;
}

.chapter-cover__sub {
  margin: 0 0 8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* S06 朱门微开条 */
.door-gate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(197, 168, 124, 0.72);
  background: rgba(148, 7, 10, 0.88);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

/* S19 北大红驻校计划标牌 */
.residency-badge {
  display: inline-block;
  background: var(--pku-red);
  color: var(--white);
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(148, 7, 10, 0.25);
}

.residency-badge img {
  width: min(240px, 68vw);
  height: auto;
}

/* 视频卡片与氛围视频盒子 */
.ambient-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ambient-box video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ambient-box--wide video { aspect-ratio: 21 / 9; }
.ambient-box--residency video { aspect-ratio: 1224 / 400; }
.ambient-box--square { max-width: 440px; width: 100%; margin: 0 auto; }
.ambient-box--square video { aspect-ratio: 1 / 1; }
.ambient-box--portrait34 { max-width: 340px; width: 100%; margin: 0 auto; background: #05080f; }
.ambient-box--portrait34 video { aspect-ratio: 3 / 4; object-fit: contain; background: #05080f; }

.video-trigger {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(197, 168, 124, 0.45);
  text-align: left;
}

.video-trigger__poster {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.84);
}

.video-trigger--portrait .video-trigger__poster {
  aspect-ratio: 9 / 13;
  max-height: 360px;
}

.video-trigger__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 5, 0.88) 8%, rgba(5, 5, 5, 0.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.play-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--pku-red);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

/* 胶囊与标签页 */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill-btn {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
  transition: all 0.2s ease;
}

.surface-paper .pill-btn,
.surface-paper-light .pill-btn {
  border-color: rgba(63, 51, 44, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-brown);
}

.pill-btn.is-active {
  background: var(--pku-red);
  color: var(--white);
  border-color: var(--pku-red);
}

.forum-topic-note {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(63, 51, 44, 0.14);
  font-size: 13px;
  color: var(--ink-brown);
  line-height: 1.65;
}

.speakers-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.speaker-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(18, 14, 14, 0.86);
  border: 1px solid rgba(197, 168, 124, 0.32);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.speaker-card__frame {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  background: url("assets/img/image59.png") center/cover;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.speaker-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border: none;
  border-radius: 0;
}

/* S16 婺剧“变脸+变衣”对比滑块 */
.compare-box {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 520px;
  margin: 0 auto;
  user-select: none;
  touch-action: pan-y;
  border: 1.5px solid var(--gold);
  background: #111;
}

.compare-box__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-box__after {
  clip-path: inset(0 0 0 var(--split, 50%));
}

.compare-box__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
}

.compare-box__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pku-red);
  color: var(--white);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.compare-box__label {
  position: absolute;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(5, 5, 5, 0.72);
  color: var(--white);
}

.compare-box__label--left { left: 12px; }
.compare-box__label--right { right: 12px; }

/* S20 非遗留声机剧场 */
.gramophone {
  border-radius: var(--radius);
  background: #2D2622;
  color: var(--white);
  padding: 18px 16px;
  border: 1px solid rgba(197, 168, 124, 0.35);
}

.gramophone__disc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.gramophone__disc {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
  animation: spinSlow 16s linear infinite;
}

@keyframes spinSlow { to { transform: rotate(360deg); } }

.gramophone__disc img { width: 100%; height: 100%; object-fit: cover; }

.wave-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.wave-bars span {
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: wave 1.1s ease-in-out infinite alternate;
}

.wave-bars span:nth-child(2) { animation-delay: 0.2s; }
.wave-bars span:nth-child(3) { animation-delay: 0.4s; }
.wave-bars span:nth-child(4) { animation-delay: 0.15s; }

@keyframes wave {
  from { height: 4px; }
  to { height: 18px; }
}

.quote-tab {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 15px;
}

.quote-tab.is-active {
  background: rgba(148, 7, 10, 0.45);
  border-color: var(--gold);
}

/* S22 古籍手风琴 */
.book-module {
  border-radius: 12px;
  background: var(--teal);
  color: var(--white);
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(197, 168, 124, 0.3);
}

.book-module__head {
  width: 100%;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 17px;
  text-align: left;
}

.book-module__body {
  background: var(--paper-light);
  color: var(--ink-brown);
  padding: 14px 16px;
  border-top: 1px solid rgba(197, 168, 124, 0.35);
}

.lecture-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.85;
}

/* S27 苏绣绣绷放大镜 */
.embroidery-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #141210;
  border: 1.5px solid var(--gold);
  touch-action: pan-y;
}

.embroidery-stage--paper { background: var(--paper-soft); padding: 18px; }

.embroidery-stage.is-loupe-on { touch-action: none; }

.embroidery-stage__img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  margin: 0 auto;
}

.loupe-lens {
  position: absolute;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(148, 7, 10, 0.4);
  pointer-events: none;
  background-repeat: no-repeat;
  transform: translate(-50%, -50%);
  display: none;
}

.loupe-lens.is-visible { display: block; }

/* S31 液态黔东南六项非遗图文卡 + S32-33 纪录片与竖屏交互展示片舞台 */
.liquid-six-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.liquid-six-card {
  padding: 15px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 40, 89, 0.88), rgba(11, 68, 141, 0.72));
  border: 1px solid rgba(197, 168, 124, 0.34);
  backdrop-filter: blur(4px);
}

.liquid-six-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.liquid-six-card__num {
  font-family: var(--display-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-black);
  background: var(--gold);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.liquid-six-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.liquid-six-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.liquid-media-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.liquid-docs-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.liquid-showcase-card {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(4, 16, 34, 0.84);
  border: 1px solid rgba(197, 168, 124, 0.36);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.liquid-showcase-card__meta {
  text-align: center;
}

.liquid-showcase-card__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--white);
}

.liquid-showcase-card__sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--gold);
  opacity: 0.9;
}

/* S32 靛蓝粒子星云互动区 */
.nebula-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(197, 168, 124, 0.35);
  background: #020916;
  margin-top: 18px;
}

.nebula-canvas {
  width: 100%;
  height: 240px;
  display: block;
  touch-action: none;
}

.nebula-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
}

/* S34 六棱触控阵 */
.prism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.prism-btn {
  padding: 10px 6px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(63, 51, 44, 0.14);
  font-family: var(--serif);
  font-size: 15px;
  text-align: center;
}

.prism-btn.is-active {
  background: var(--pku-red);
  color: var(--white);
  border-color: var(--pku-red);
}

/* S36 《大同密码》3D 翻牌线索卡 */
.clue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.clue-card {
  perspective: 900px;
  min-height: 280px;
}

.clue-card__inner {
  position: relative;
  width: 100%;
  height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.clue-card.is-flipped .clue-card__inner { transform: rotateY(180deg); }

.clue-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(197, 168, 124, 0.55);
}

.clue-card__front {
  display: flex;
  flex-direction: column;
  background: #141210;
}

.clue-card__front img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.clue-card__front-label {
  position: static;
  padding: 8px 10px;
  background: #141210;
  color: var(--white);
  font-family: var(--serif);
  font-size: 13px;
  flex-shrink: 0;
  border-top: 1px solid rgba(197, 168, 124, 0.24);
}

.clue-card__back {
  transform: rotateY(180deg);
  background: var(--ink-brown);
  color: var(--paper);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* PART 4 剪纸藤蔓纵向航线 */
.vine-route {
  position: relative;
  padding-left: 26px;
  border-left: 2px dashed rgba(197, 168, 124, 0.65);
  margin: 18px 0;
}

.vine-stop {
  position: relative;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 168, 124, 0.3);
  width: 100%;
  text-align: left;
}

.vine-stop::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--pku-red);
}

.vine-pano {
  overflow-x: auto;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
  border: 1px solid rgba(197, 168, 124, 0.4);
}

.vine-pano img {
  height: 170px;
  width: auto;
  max-width: none;
}

.vine-pano__hint {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--gold);
  opacity: 0.88;
  letter-spacing: 0.06em;
}

/* S42 原生手机海外快拍 Stories */
.stories-shell {
  max-width: 390px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  background: #0d0d0d;
  position: relative;
}

.stories-bars {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.stories-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
}

.stories-bar.is-active { background: var(--gold); }

.stories-stage {
  position: relative;
  aspect-ratio: 9 / 15;
  background: #070b14;
}

.stories-stage img,
.stories-stage video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stories-tap-prev,
.stories-tap-next {
  position: absolute;
  top: 38px;
  bottom: 56px;
  width: 38%;
  z-index: 3;
}

.stories-tap-prev { left: 0; }
.stories-tap-next { right: 0; }

.stories-foot {
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 5, 0.92);
}

/* PART 5 织锦边饰与传承人抠图 */
.wuju-title-badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #061A33, #08387A);
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(8, 56, 122, 0.25);
}

.wuju-title-badge img {
  width: 132px;
  height: auto;
}

.brocade-strip {
  width: 100%;
  height: 44px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  margin-bottom: 16px;
}

.inheritor-showcase {
  margin-top: 20px;
  text-align: center;
  padding: 16px 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(63, 51, 44, 0.1);
}

.inheritor-cutout {
  width: min(460px, 92%);
  height: auto;
  margin: 0 auto;
}

.inheritor-caption {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-brown);
  opacity: 0.78;
  letter-spacing: 0.08em;
}

/* S10 余泽玲人物聚焦 + S13 绵竹年画特展 + S14-17 戏曲三段 + S24 共享路演 + S38-43 远行与澳门解耦 */
.artist-spotlight {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(197, 168, 124, 0.25);
}

.artist-spotlight__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.artist-spotlight__portrait {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.artist-spotlight__quote {
  margin: 0;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 12px 12px 0;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
}

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

.xiang-quote-card {
  background: linear-gradient(155deg, #870609, var(--pku-red));
  color: var(--white);
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 12px 28px rgba(148, 7, 10, 0.22);
}

.xiang-quote-card__text {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
}

.xiang-quote-card__footer {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.xiang-quote-card__video {
  border-radius: 10px;
  border-color: rgba(197, 168, 124, 0.5);
}

.xiang-quote-card__video video {
  aspect-ratio: 1 / 1;
}

.mianzhu-frame {
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal));
  box-shadow: 0 10px 24px rgba(22, 68, 68, 0.22);
}

.mianzhu-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

.opera-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opera-stage-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.wuju-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wuju-stage-grid__img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
}

.residency-lead-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.residency-hero-card {
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

.residency-hero-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
}

.course-panel__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--pku-red);
}

.solar-portrait-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.press-quote-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  align-items: stretch;
}

.press-quote-feature__quote {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--pku-red);
  background: var(--white);
  border-radius: 0 12px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.press-quote-feature__photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.opera-hero-video {
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
}

.wuju-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.wuju-calligraphy {
  height: 104px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
}

.wuju-silhouette {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.wuju-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.wuju-metric-card {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(4, 24, 39, 0.72);
  border: 1px solid rgba(197, 168, 124, 0.35);
}

.honor-poster-card {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.honor-poster-card img {
  width: auto;
  max-width: 100%;
  max-height: 430px;
  object-fit: contain;
  border-radius: 8px;
}

.classroom-showcase {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(63, 51, 44, 0.14);
}

.journey-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 168, 124, 0.35);
}

.journey-card__poster-btn {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: #061830;
}

.journey-card__poster {
  width: 100%;
  aspect-ratio: 68 / 100;
  object-fit: contain;
  background: #061830;
}

.journey-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-stops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.tour-stop-chip {
  text-align: left;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 168, 124, 0.32);
  transition: all 0.2s ease;
}

.tour-stop-chip:hover {
  border-color: var(--gold);
  background: rgba(148, 7, 10, 0.32);
}

.story-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.story-mini-stat {
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 168, 124, 0.24);
}

.story-mini-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--gold);
}

.story-mini-stat span {
  font-size: 11px;
  opacity: 0.78;
}

.story-tab-list {
  display: flex;
  flex-direction: column;
}

.story-tab-list .quote-tab:last-child {
  margin-bottom: 0;
}

.macao-video-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(197, 168, 124, 0.25);
}

/* 抽屉与弹层 */
.screen-drawer,
.detail-sheet,
.cinema-modal,
.zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.screen-drawer__backdrop,
.detail-sheet__backdrop,
.cinema-modal__backdrop,
.zoom-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(8px);
}

.screen-drawer__panel {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 16px calc(28px + var(--safe-bottom));
  max-width: 1100px;
  margin: 0 auto;
}

.screen-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.drawer-title { margin: 0; font-family: var(--serif); font-size: 24px; }

.close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 16px;
  display: grid;
  place-items: center;
}

.close-btn--dark {
  background: rgba(63, 51, 44, 0.12);
  color: var(--ink-brown);
}

.drawer-slats {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-sheet {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.detail-sheet[hidden],
.screen-drawer[hidden],
.cinema-modal[hidden],
.zoom-modal[hidden] { display: none; }

.detail-sheet__card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  max-height: 84svh;
  overflow-y: auto;
  background: var(--paper-light);
  color: var(--ink-brown);
  border-radius: 20px 20px 0 0;
  padding: 12px 18px calc(26px + var(--safe-bottom));
}

.detail-sheet__handle {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(63, 51, 44, 0.25);
  margin: 0 auto 10px;
}

.detail-sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.cinema-modal,
.zoom-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cinema-modal__box,
.zoom-modal__box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  max-height: 90svh;
  overflow-y: auto;
  background: #0d0d0d;
  border: 1px solid rgba(197, 168, 124, 0.4);
  border-radius: 16px;
  padding: 14px;
}

.cinema-modal__head,
.zoom-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cinema-modal__title { margin: 0; font-family: var(--serif); font-size: 17px; }

.cinema-modal__stage video {
  width: 100%;
  max-height: 74svh;
  background: #000;
  border-radius: 10px;
}

.zoom-modal__stage img {
  width: 100%;
  max-height: 76svh;
  object-fit: contain;
  background: #141414;
  border-radius: 10px;
}

/* 平板与电脑宽屏响应式增强 */
@media (min-width: 768px) {
  .band { padding: 64px 28px; }
  .chapter-cover { min-height: 70svh; padding: 72px 28px 40px; }
  .video-trigger--portrait .video-trigger__poster { max-height: 440px; }
  .s07-photo { aspect-ratio: 4 / 5; max-height: 480px; }
  .h-rail__item { flex: 0 0 38%; }
  .h-rail__item--poster { flex: 0 0 28%; }
  .h-rail__item--speaker { flex: 0 0 42%; }

  /* 电脑端按栏目数量切换多列网格或居中折行，彻底消除横滑半截裁切 */
  .h-rail--grid-2,
  .h-rail--grid-3,
  .h-rail--grid-4,
  .h-rail--grid-5,
  .h-rail--grid-6 {
    display: grid;
    overflow: visible;
    padding: 0;
  }
  .h-rail--grid-2 { grid-template-columns: repeat(2, 1fr); }
  .h-rail--grid-3 { grid-template-columns: repeat(3, 1fr); }
  .h-rail--grid-4 { grid-template-columns: repeat(2, 1fr); }
  .h-rail--grid-5 { grid-template-columns: repeat(3, 1fr); }
  .h-rail--grid-6 { grid-template-columns: repeat(3, 1fr); }
  .h-rail--grid-2 > .h-rail__item,
  .h-rail--grid-3 > .h-rail__item,
  .h-rail--grid-4 > .h-rail__item,
  .h-rail--grid-5 > .h-rail__item,
  .h-rail--grid-6 > .h-rail__item {
    flex: none;
    width: auto;
    min-width: 0;
  }

  .h-rail--wrap-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    padding: 0;
  }
  .h-rail--wrap-4 > .h-rail__item {
    flex: 0 0 calc(33.333% - 10px);
    min-width: 0;
  }

  .speakers-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .speakers-grid .speaker-card {
    flex: 0 1 calc(50% - 8px);
  }

  .forces-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .stats-grid--3 > :last-child { grid-column: auto; }
  .prism-grid { grid-template-columns: repeat(6, 1fr); }
  .clue-grid { grid-template-columns: repeat(5, 1fr); }
  .clue-card { min-height: 360px; }
  .clue-card__inner { height: 360px; }
  .xiang-quote-card__footer { grid-template-columns: 132px 1fr; }
  .wuju-metrics { grid-template-columns: 1fr 1fr; }
  .press-quote-feature { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr); gap: 18px; }
  .press-quote-feature__photo img { height: 100%; max-height: 190px; aspect-ratio: 4 / 3; }
  .residency-hero-card { max-width: 100%; }
  .residency-hero-card__img { aspect-ratio: 4 / 3; max-height: 330px; }
  .tour-stops-grid { grid-template-columns: repeat(4, 1fr); }
  .liquid-six-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .journey-card { flex-direction: row; align-items: stretch; }
  .journey-card__poster-btn { width: 44%; flex-shrink: 0; display: flex; align-items: center; }
  .journey-card__poster { width: 100%; height: 100%; max-height: none; aspect-ratio: 68 / 100; object-fit: contain; }
  .vine-pano { max-width: 780px; margin: 0 auto 20px; }
  .vine-pano img { width: 100%; height: auto; max-height: 300px; object-fit: contain; }
  .rail-nav { display: none !important; }
  .vine-pano__hint { display: none; }
}

@media (min-width: 1080px) {
  .floating-brand { width: 52px; right: 24px; }
  .split-desktop {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
  }
  .h-rail--grid-4 { grid-template-columns: repeat(4, 1fr); }
  .h-rail--grid-5 { grid-template-columns: repeat(5, 1fr); }
  .h-rail--wrap-4 > .h-rail__item { flex: 0 0 calc(25% - 11px); }

  /* 电脑端恢复五列竖屏手风琴 */
  .folding-screen,
  .drawer-slats {
    flex-direction: row;
    height: 410px;
    gap: 10px;
  }

  .screen-slat {
    flex: 1;
    min-height: 100%;
    align-items: flex-end;
  }

  .screen-slat__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .screen-slat.is-open,
  .screen-slat:hover { flex: 2.3; }
  .screen-slat:hover .screen-slat__desc { display: block; }

  .liquid-six-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .liquid-media-stage {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: stretch;
  }

  .liquid-media-stage .ambient-box--portrait34 {
    max-width: 100%;
  }
}
