:root {
  --paper: #f4f3f5;
  --ink: #171716;
  --muted: rgba(23, 23, 22, .55);
  --faint: rgba(23, 23, 22, .14);
  --accent: #f33d55;
  --line: rgba(23, 23, 22, .26);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
}

* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(23, 23, 22, .014) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(23, 23, 22, .011) 47px 48px);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible,
button:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }

.chapter-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  min-height: 57px;
  padding: 15px 22px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 243, 245, .95);
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.chapter-header__back { align-self: start; width: max-content; }
.chapter-header__back:hover { text-decoration: underline; text-underline-offset: 4px; }
.chapter-header__title { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.chapter-header__title strong { font-family: var(--font-display); font-size: 11px; letter-spacing: .035em; }
.chapter-header__level { justify-self: end; text-align: right; }
.chapter-header__level span,
.chapter-header__level strong { display: block; }
.chapter-header__level strong { margin-top: 3px; color: var(--accent); }

.chapter-header__tools {
  display: flex;
  justify-self: end;
  align-items: flex-start;
  gap: 22px;
}
.mode-switch {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: -3px;
  padding: 3px 5px;
  cursor: pointer;
}
.mode-switch:hover .mode-switch__copy strong,
.mode-switch:focus-visible .mode-switch__copy strong { text-decoration: underline; text-underline-offset: 3px; }
.mode-switch__copy { display: flex; flex-direction: column; gap: 2px; font-size: 6px; line-height: 1.1; letter-spacing: .08em; }
.mode-switch__copy strong { font-size: 8px; font-weight: 400; }
.rainbow-flag {
  position: relative;
  display: grid;
  width: 24px;
  height: 15px;
  grid-template-rows: repeat(6, 1fr);
  margin-left: 4px;
  border: 1px solid #171716;
  transform-origin: left center;
  transition: transform 520ms cubic-bezier(.22, 1, .36, 1);
}
.rainbow-flag i { display: block; }
.rainbow-flag i:nth-child(1) { background: #f35d27; }
.rainbow-flag i:nth-child(2) { background: #fff100; }
.rainbow-flag i:nth-child(3) { background: #049978; }
.rainbow-flag i:nth-child(4) { background: #397f7f; }
.rainbow-flag i:nth-child(5) { background: #5984c9; }
.rainbow-flag i:nth-child(6) { background: #993370; }
.mode-switch:hover .rainbow-flag,
.mode-switch:focus-visible .rainbow-flag { transform: scaleX(1.2) translateY(-1px); }
.mode-switch.is-launching .rainbow-flag { transform: scaleX(.7); }

.chapter-one-archive-mode {
  position: fixed;
  top: 67px;
  left: 50%;
  z-index: 72;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 8px;
  background: transparent;
  font-size: 7px;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}
.chapter-one-archive-mode .mode-switch {
  display: block;
  width: max-content;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}
.chapter-one-archive-mode .rainbow-flag { margin-left: 0; }

.mode-transition {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  pointer-events: none;
}
.mode-transition span {
  display: block;
  transform: scaleX(0);
  transition: transform 520ms cubic-bezier(.76, 0, .24, 1) var(--delay);
}
.mode-transition span:nth-child(odd) { transform-origin: left center; }
.mode-transition span:nth-child(even) { transform-origin: right center; }
.mode-transition span:nth-child(1) { background: #e83843; }
.mode-transition span:nth-child(2) { background: #ee8233; }
.mode-transition span:nth-child(3) { background: #efcf39; }
.mode-transition span:nth-child(4) { background: #4b9b59; }
.mode-transition span:nth-child(5) { background: #4880b8; }
.mode-transition span:nth-child(6) { background: #76539d; }
.mode-transition.is-active span { transform: scaleX(1); }

/* CHAPTER IMAGE INDEX */
.chapter-index-page { overflow: hidden; background-color: var(--paper); background-image: none; }
.chapter-index { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.chapter-index-page .chapter-header { border-bottom: 0; background: transparent; }

.index-introduction {
  position: fixed;
  top: 80px;
  left: 22px;
  z-index: 8;
  width: min(290px, 23vw);
  animation: rise-in 700ms cubic-bezier(.22, 1, .36, 1) both;
}
.index-introduction p { margin: 0; font-size: 8px; line-height: 1.35; letter-spacing: .09em; text-transform: uppercase; }
.index-introduction h1 {
  margin: 9px 0 0;
  font-family: var(--font-display);
  font-size: clamp(25px, 2.8vw, 46px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.045em;
}
.index-introduction__subtitle { margin-top: 9px !important; color: var(--muted); }
.index-introduction__zh { margin-top: 17px !important; max-width: 220px; font-size: 11px !important; line-height: 1.55 !important; letter-spacing: .02em !important; text-transform: none !important; }

.scene-index-nav {
  position: fixed;
  top: 10vh;
  bottom: 9vh;
  left: 22px;
  z-index: 16;
  display: flex;
  width: clamp(205px, 14vw, 255px);
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
}
.scene-index-nav ol { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.scene-index-nav button {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: baseline;
  padding: 4px 0;
  border: 0;
  color: rgba(23, 23, 22, .34);
  background: transparent;
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  cursor: pointer;
  transition: color 260ms ease, transform 480ms cubic-bezier(.16, 1, .3, 1);
}
.scene-index-nav button span {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}
.scene-index-nav button strong {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scene-index-nav button:hover,
.scene-index-nav button:focus-visible,
.scene-index-nav button.is-active { color: var(--ink); transform: translateX(6px); }
.scene-index-nav button.is-active span { color: var(--accent); }
.scene-index-progress { position: relative; width: 100%; height: 1px; margin-top: 11px; overflow: hidden; background: rgba(23, 23, 22, .18); }
.scene-index-progress span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(.1); transform-origin: left center; transition: transform 760ms cubic-bezier(.16, 1, .3, 1); }
.scene-index-progress__label { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 8px; font-weight: 600; letter-spacing: .04em; text-align: right; }

.scene-field { position: absolute; inset: 57px 0 28px; }
.scene-field__background {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: 0;
  margin: 0;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(76px, 13vw, 210px);
  font-weight: 600;
  line-height: .69;
  letter-spacing: -.075em;
  text-align: center;
  -webkit-text-stroke: 1px rgba(23, 23, 22, .095);
  transform: translate(-50%, -50%);
  user-select: none;
}

.scene-list { position: absolute; inset: 0; z-index: 4; margin: 0; padding: 0; list-style: none; }
.scene-card {
  --delay: 0ms;
  --rx: 0deg;
  --ry: 0deg;
  --shadow-skew: 0deg;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  color: var(--ink);
  animation: scene-enter 760ms cubic-bezier(.22, 1, .36, 1) var(--delay) both;
  perspective: 1000px;
  transition: left 520ms cubic-bezier(.16, 1, .3, 1), top 520ms cubic-bezier(.16, 1, .3, 1), width 520ms cubic-bezier(.16, 1, .3, 1), opacity 260ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1);
  will-change: left, top, width, transform;
}
.scene-card a { display: block; }
.scene-card figure { margin: 0; }
.scene-card__image {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: var(--ratio, 1.34);
  overflow: visible;
  background: transparent;
  transform: perspective(1000px) rotateZ(var(--base-rotate, 0deg)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 620ms cubic-bezier(.16, 1, .3, 1);
  will-change: transform;
}
.scene-card__image::after {
  content: "";
  position: absolute;
  top: calc(100% - 3px);
  right: 5%;
  bottom: auto;
  left: 5%;
  z-index: 0;
  height: clamp(72px, 14vh, 158px);
  background: linear-gradient(to bottom, rgba(23, 23, 22, .42), rgba(23, 23, 22, .18) 48%, rgba(23, 23, 22, 0));
  filter: blur(14px);
  pointer-events: none;
  opacity: calc(.25 + var(--shadow-depth, .8) * .12);
  transform: translateY(1px) scaleX(.93) skewX(var(--shadow-skew));
  transform-origin: top center;
  transition: opacity 420ms ease, transform 760ms cubic-bezier(.16, 1, .3, 1), filter 620ms ease;
}
.scene-card img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  filter: grayscale(1) contrast(.95);
  box-shadow: 0 12px 25px rgba(23, 23, 22, .12);
  transition: filter 320ms ease, transform 720ms cubic-bezier(.16, 1, .3, 1), box-shadow 720ms cubic-bezier(.16, 1, .3, 1);
}
.scene-card figcaption {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 5px;
  margin-top: 4px;
  font-size: 7px;
  line-height: 1.15;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.scene-card figcaption strong { overflow: hidden; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.scene-card:hover,
.scene-card:focus-within,
.scene-card.is-active { z-index: 9; transform: translateY(-9px); }
.scene-card:hover .scene-card__image::after,
.scene-card:focus-within .scene-card__image::after,
.scene-card.is-active .scene-card__image::after { opacity: .56; filter: blur(17px); transform: translateY(7px) scaleX(.98) skewX(var(--shadow-skew)); }
.scene-card:hover img,
.scene-card:focus-within img,
.scene-card.is-active img { filter: grayscale(0); box-shadow: 0 29px 52px rgba(23, 23, 22, .2); transform: translateZ(14px) scale(1.035); }
.scene-list.has-focus .scene-card:not(.is-active) { opacity: .17; }
.scene-list.has-focus .scene-card:not(.is-active) .scene-card__image { filter: blur(3px); transform: perspective(1000px) rotateZ(var(--base-rotate, 0deg)) scale(.985); }

.scene-zoom {
  position: fixed;
  bottom: 42px;
  left: 50%;
  z-index: 32;
  display: grid;
  width: min(300px, 28vw);
  grid-template-columns: auto auto 1fr auto;
  gap: 9px;
  align-items: center;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .04em;
  transform: translateX(-50%);
}
.scene-zoom label { cursor: ew-resize; }
.scene-zoom input {
  width: 100%;
  height: 16px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}
.scene-zoom input::-webkit-slider-runnable-track { height: 1px; background: rgba(23, 23, 22, .7); }
.scene-zoom input::-webkit-slider-thumb { width: 8px; height: 14px; margin-top: -6px; border: 0; border-radius: 0; appearance: none; background: var(--ink); box-shadow: 0 2px 7px rgba(23, 23, 22, .18); }
.scene-zoom input::-moz-range-track { height: 1px; background: rgba(23, 23, 22, .7); }
.scene-zoom input::-moz-range-thumb { width: 8px; height: 14px; border: 0; border-radius: 0; background: var(--ink); box-shadow: 0 2px 7px rgba(23, 23, 22, .18); }

.focus-preview {
  position: absolute;
  isolation: isolate;
  top: 50%;
  left: 50%;
  z-index: 7;
  width: max-content;
  max-width: min(32vw, 520px);
  margin: 0;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -47%) scale(.97);
  transition: opacity 280ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1);
}
.focus-preview.is-visible { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.focus-preview::after {
  content: "";
  position: absolute;
  top: calc(100% - 7px);
  right: 2%;
  left: 2%;
  z-index: 0;
  height: min(43vh, 430px);
  background: linear-gradient(to bottom, rgba(23, 23, 22, .46), rgba(23, 23, 22, .2) 48%, rgba(23, 23, 22, 0));
  filter: blur(17px);
  opacity: 0;
  transform: translateY(-12px) scaleX(.78);
  transform-origin: top center;
  transition: opacity 440ms ease, transform 820ms cubic-bezier(.16, 1, .3, 1);
}
.focus-preview.is-visible::after { opacity: .52; transform: translateY(0) scaleX(.98); }
.focus-preview img { position: relative; z-index: 2; display: block; width: auto; max-width: min(32vw, 520px); height: auto; max-height: 52vh; margin-inline: auto; border: 0; object-fit: contain; background: transparent; box-shadow: 0 20px 44px rgba(23, 23, 22, .2); }
.focus-preview figcaption { position: relative; z-index: 3; display: grid; grid-template-columns: 35px 1fr auto; gap: 10px; margin-top: 6px; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.focus-preview strong { font-weight: 400; }

.index-readout {
  position: fixed;
  right: 22px;
  bottom: 48px;
  z-index: 12;
  width: min(330px, 26vw);
  padding: 11px 12px 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(244, 243, 245, .2);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
  backdrop-filter: blur(10px) saturate(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .34),
    inset 0 1px 0 rgba(255, 255, 255, .52),
    0 6px 18px rgba(23, 23, 22, .045);
  transition: opacity 260ms ease, transform 520ms cubic-bezier(.22, 1, .36, 1);
}
.index-readout__number { display: block; margin-bottom: 7px; color: var(--accent); font-size: 8px; letter-spacing: .12em; }
.index-readout h2 { margin: 0; font-family: var(--font-display); font-size: clamp(17px, 1.5vw, 24px); font-weight: 400; line-height: .95; letter-spacing: -.025em; }
.index-readout p { margin: 8px 0 0; font-size: 9px; line-height: 1.35; }
.index-readout__zh { font-size: 11px !important; line-height: 1.55 !important; }
.index-readout dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 13px 0 0; padding-top: 0; border: 0; font-size: 7px; letter-spacing: .08em; }
.index-readout dl div { display: grid; grid-template-columns: auto 1fr; gap: 7px; }
.index-readout dt { color: var(--muted); }
.index-readout dd { margin: 0; text-align: right; }

.chapter-index-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 28px;
  padding: 8px 22px 6px;
  border-top: 0;
  background: transparent;
  font-size: 7px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.chapter-index-footer span:nth-child(2) { text-align: center; }
.chapter-index-footer span:last-child { text-align: right; }

@media (prefers-reduced-transparency: reduce) {
  .index-readout {
    background: rgba(244, 243, 245, .94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.scene-transition-root { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.scene-transition-copy { position: fixed; display: block; margin: 0; border: 0; object-fit: cover; box-shadow: 0 14px 42px rgba(23, 23, 22, .18); }

/* SCENE DETAIL */
.scene-detail-page { overflow-x: hidden; background-color: var(--paper); background-image: none; }
.scene-detail-page .site-transition--page { background: var(--paper); }
.scene-detail { min-height: 100vh; min-height: 100svh; padding: 0 22px 70px; }
.scene-detail__heading {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.scene-detail__heading p { margin: 0; font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.scene-detail__heading p:last-child { text-align: right; }
.scene-detail-grid { display: block; }

.scene-evidence { min-width: 0; }
.scene-main-figure { position: relative; isolation: isolate; width: max-content; max-width: min(34vw, 460px); margin: clamp(185px, 30vh, 360px) auto 0; perspective: 1100px; transform-style: preserve-3d; background: transparent; cursor: pointer; }
.scene-main-figure::before { display: none; }
.scene-main-figure::after { content: ""; position: absolute; top: 84%; right: 10%; bottom: -43%; left: 10%; z-index: -1; background: linear-gradient(to bottom, rgba(23,23,22,.24), rgba(23,23,22,0)); filter: blur(20px); opacity: .2; transform: translateY(7px) scale(.9,.7); transform-origin: top center; transition: opacity 420ms ease, transform 760ms cubic-bezier(.16,1,.3,1); }
.scene-main-figure:hover::after,
.scene-main-figure:focus-visible::after { opacity: .34; transform: translateY(21px) scale(.96,1.08); }
.scene-main-figure img { display: block; width: auto; max-width: min(34vw, 460px); height: auto; max-height: 30vh; margin-inline: auto; border: 0; transform-origin: 50% 50%; backface-visibility: hidden; object-fit: contain; box-shadow: 0 20px 46px rgba(23,23,22,.14); transition: transform 620ms cubic-bezier(.16,1,.3,1), box-shadow 620ms ease; will-change: transform, opacity; }
.scene-main-figure:hover img,
.scene-main-figure:focus-visible img { box-shadow: 0 30px 58px rgba(23,23,22,.18); transform: translateY(-8px) scale(1.018); }
.scene-main-figure.is-rotating:hover img,
.scene-main-figure.is-rotating:focus-visible img { transform: none; }
.scene-main-figure figcaption { display: none; }

.evidence-thumbnails { display: none; }
.evidence-thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.evidence-thumb img { display: block; width: 100%; aspect-ratio: 1.5; border: 1px solid transparent; object-fit: cover; filter: grayscale(1); opacity: .52; transition: filter 220ms ease, opacity 220ms ease; }
.evidence-thumb span { position: absolute; bottom: 3px; left: 4px; padding: 2px 3px; background: var(--paper); font-size: 6px; }
.evidence-thumb:hover img,
.evidence-thumb.is-active img { border-color: var(--ink); filter: grayscale(0); opacity: 1; }

.scene-record { position: relative; width: min(760px, 58vw); margin: clamp(48px, 6vh, 76px) auto 90px; padding: 0; border: 0; }
.scene-record__number,
.scene-record h1,
.scene-record__meta { display: none; }
.scene-record__meta div { min-width: 0; }
.scene-record__meta dt { color: var(--muted); font-size: 7px; letter-spacing: .08em; }
.scene-record__meta dd { margin: 4px 0 0; overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.scene-record__intro { margin: 0; white-space: pre-line; font-family: var(--font-zh); font-size: clamp(16px, 1.25vw, 20px); font-weight: 450; line-height: 1.48; letter-spacing: .01em; will-change: transform, opacity; }
.scene-record__intro--en { margin-top: 12px; color: var(--ink); font-family: "OPPO Sans 4.0", Arial, sans-serif; font-size: clamp(15px, 1.12vw, 18px); font-weight: 430; line-height: 1.42; }
.record-sections { display: none; }
.record-section { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--faint); }
.record-section h2 { margin: 0; font-size: 7px; font-weight: 400; letter-spacing: .09em; text-transform: uppercase; }
.record-section p { margin: 0; font-size: 9px; line-height: 1.45; }
.record-section p + p { margin-top: 5px; color: var(--muted); }
.record-section--note { color: var(--accent); }
.scene-record__actions { display: none; }
.scene-record__actions a { display: flex; min-height: 38px; align-items: center; justify-content: space-between; padding: 9px; border: 1px solid var(--ink); font-size: 8px; letter-spacing: .07em; text-transform: uppercase; transition: background 180ms ease, color 180ms ease; }
.scene-record__actions a:hover { color: var(--paper); background: var(--ink); }
.scene-neighbours { position: fixed; right: 22px; bottom: 17px; left: 22px; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; pointer-events: none; }
.scene-neighbours a { width: max-content; padding: 0; border: 0; font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; pointer-events: auto; }
.scene-neighbours a:last-child { text-align: right; }
.scene-neighbours a:last-child { justify-self: end; }

/* ORIGINAL PUBLICATION READER */
.reader-page { overflow: hidden; }
.publication-reader { position: fixed; inset: 57px 0 30px; overflow-x: auto; overflow-y: hidden; cursor: grab; scrollbar-width: none; scroll-snap-type: x mandatory; }
.publication-reader::-webkit-scrollbar { display: none; }
.publication-reader.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.spread-track { display: flex; width: max-content; min-width: 100%; height: 100%; align-items: center; gap: 6vw; padding: 4vh 22vw; }
.spread { flex: 0 0 auto; width: min(72vw, 1120px); margin: 0; scroll-snap-align: center; opacity: .22; transform: scale(.94); transition: opacity 320ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1); }
.spread.is-active { opacity: 1; transform: scale(1); }
.spread img { display: block; width: 100%; max-height: 75vh; border: 1px solid var(--ink); object-fit: contain; background: white; box-shadow: 0 10px 32px rgba(23, 23, 22, .09); user-select: none; }
.spread figcaption { display: flex; justify-content: space-between; margin-top: 6px; font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
.reader-controls { display: flex; justify-self: end; align-items: flex-start; gap: 11px; }
.reader-controls button { padding: 0; border: 0; background: none; cursor: pointer; }
.reader-controls button:disabled { opacity: .22; cursor: default; }
.reader-controls a { border-bottom: 1px solid var(--ink); }
.reader-footer { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr 1fr; min-height: 30px; padding: 8px 22px; border-top: 1px solid var(--line); background: rgba(243, 241, 236, .96); font-size: 7px; letter-spacing: .09em; text-transform: uppercase; }
.reader-footer span:nth-child(2) { text-align: center; }
.reader-footer span:last-child { text-align: right; }

@keyframes scene-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .chapter-index-page { overflow-y: auto; }
  .chapter-index { min-height: auto; padding-bottom: 32px; overflow: visible; }
  .chapter-header { grid-template-columns: 1fr 1.6fr 1fr; padding-inline: 14px; }
  .index-introduction { position: relative; top: auto; left: auto; width: auto; margin: 82px 14px 24px; }
  .index-introduction__zh { max-width: none; }
  .scene-index-nav,
  .scene-zoom { display: none; }
  .scene-field { position: relative; inset: auto; min-height: auto; padding: 0 14px; }
  .scene-field__background,
  .focus-preview { display: none; }
  .scene-list { position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 10px; }
  .scene-card { position: relative; top: auto; left: auto; width: auto; animation-delay: var(--delay); }
  .scene-card:nth-child(3n) { grid-column: span 2; width: 70%; justify-self: center; }
  .scene-list.has-focus .scene-card:not(.is-active) { opacity: 1; }
  .index-readout { position: relative; right: auto; bottom: auto; width: auto; margin: 42px 14px 34px; }
  .chapter-index-footer { padding-inline: 14px; }
  .chapter-index-footer span:nth-child(2) { display: none; }
  .chapter-index-footer { grid-template-columns: 1fr auto; }
  .scene-detail { padding-inline: 14px; }
  .scene-main-figure { max-width: min(54vw, 440px); margin-top: clamp(170px, 28vh, 300px); }
  .scene-main-figure img { max-width: min(54vw, 440px); max-height: 32vh; }
  .scene-record { width: min(680px, 76vw); }
  .evidence-thumbnails { grid-template-columns: repeat(4, 1fr); }
  .spread { width: 88vw; }
  .spread-track { gap: 8vw; padding-inline: 6vw; }
  .reader-footer span:nth-child(2) { display: none; }
  .reader-footer { grid-template-columns: 1fr auto; padding-inline: 14px; }
}

@media (max-width: 560px) {
  .chapter-header__title span { display: none; }
  .chapter-header__title { align-items: flex-start; text-align: left; }
  .chapter-header { grid-template-columns: auto 1fr auto; gap: 15px; }
  .chapter-header__tools { gap: 7px; }
  .mode-switch__copy { display: none; }
  .rainbow-flag { width: 24px; height: 15px; }
  .chapter-header__level span { display: none; }
  .index-introduction h1 { font-size: 38px; }
  .scene-list { gap-block: 27px; }
  .scene-card:nth-child(3n) { width: 82%; }
  .scene-card figcaption { grid-template-columns: 23px 1fr; }
  .scene-detail__heading { grid-template-columns: 1fr; gap: 5px; }
  .scene-detail__heading p:last-child { text-align: left; }
  .scene-main-figure { max-width: 76vw; margin-top: 155px; }
  .scene-main-figure img { max-width: 76vw; max-height: 34vh; }
  .scene-record { width: 84vw; margin-top: 42px; }
  .scene-record__intro { font-size: 15px; }
  .scene-record__intro--en { font-size: 14px; }
  .evidence-thumbnails { grid-template-columns: repeat(3, 1fr); }
  .record-section { grid-template-columns: 58px 1fr; }
  .scene-record__actions { grid-template-columns: 1fr; }
  .spread { width: 93vw; }
  .reader-controls { gap: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
