:root {
  color-scheme: light;
  --ink: #1d211b;
  --muted: #5f6659;
  --paper: #f4efe2;
  --green: #436f3c;
  --green-deep: #1f4c34;
  --earth: #9b6c3a;
  --shadow: 0 22px 60px rgba(45, 39, 24, 0.18);
  --bubble-radius: 22px;
  --bubble-body-size: clamp(20px, 2.7svh, 32px);
  --section-y-gap: clamp(32px, 5.8svh, 76px);
  --chart-content-pad: clamp(28px, 4.8svh, 56px);
  --text-bubble-inset: clamp(22px, 3vw, 48px);
  --market-layer-x: clamp(28px, 5.8svh, 64px);
  --market-answer-asset-shift: clamp(22px, 3.4svh, 40px);
  --market-speech-shift: clamp(10px, 1.6svh, 18px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  margin: 0;
  font-family: "Songti SC", "Noto Serif SC", "Microsoft YaHei", serif;
  color: var(--green-deep);
  background: transparent;
  line-height: 1.78;
  overflow-x: hidden;
}

.text-green {
  color: #2f7d32;
  font-weight: 700;
}

.hero,
.scene,
.stats-band,
.chapter-hero,
.chapter-chart,
.market-ledger,
.chapter-four-figure-section,
.chapter-four-story-section,
.chapter-four-cabin-section,
.chapter-five-figure-section,
.chapter-six-figure-section,
.chapter-six-album-section,
.chapter-seven-landscape-section,
.chapter-eight-bg-one-section,
.chapter-five-bg,
.chapter-six-bg,
.chapter-seven-bg,
.chapter-eight-bg {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: transparent;
}

.stats-band,
.chapter-chart,
.market-ledger,
.chapter-four-figure-section,
.chapter-four-story-section,
.chapter-four-cabin-section,
.chapter-five-figure-section,
.chapter-six-figure-section,
.chapter-six-album-section,
.chapter-seven-landscape-section,
.chapter-eight-bg-one-section,
.chapter-five-bg,
.chapter-six-bg,
.chapter-seven-bg,
.chapter-eight-bg {
  height: auto;
  min-height: 0;
  padding-block: var(--section-y-gap);
}

.hero,
.chapter-hero {
  min-height: clamp(760px, 115svh, 1220px);
  padding-block: 0;
}

.hero {
  min-height: 100svh;
}

.chapter-title-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.chapter-title-fixed {
  position: absolute;
  left: 50%;
  top: 42%;
  display: block;
  width: min(68svh, 56vw, 720px);
  opacity: var(--chapter-title-opacity, 0);
  filter: drop-shadow(0 8px 12px rgba(255, 255, 255, 0.58));
  transform: translate(-50%, calc(-50% + clamp(22px, 3svh, 36px)));
  transition: opacity 0.12s linear;
  will-change: opacity;
}

.chapter-title-fixed.compact {
  width: min(60svh, 50vw, 640px);
}

.chapter-title-fixed-eight {
  width: min(30.6svh, 25.2vw, 324px);
}

.hero::before,
.chapter-hero::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: var(--cover-bg-opacity, 0);
  pointer-events: none;
  transition: opacity 0.12s linear;
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/封面完整版.png");
}

.chapter-one::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/01bg.png");
}

.chapter-two::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/02bg.png");
}

.chapter-three::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/03bg.png");
}

.chapter-four::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/04bg.png");
}

.chapter-five::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/05bg.png");
}

.chapter-six::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/06bg.png");
}

.chapter-seven::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/07bg.png");
}

.chapter-eight::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/07bg3.png");
}

.visual-frame {
  position: relative;
  width: 100%;
  min-height: inherit;
  aspect-ratio: auto;
  overflow: hidden;
  margin: auto;
  background: transparent;
  opacity: var(--section-fade-opacity, 1);
  transform: translateY(var(--section-fade-y, 0px));
  transition:
    opacity 0.12s linear,
    transform 0.12s linear;
  will-change: opacity, transform;
}

.stats-band .visual-frame,
.chapter-chart .visual-frame,
.market-ledger .visual-frame,
.chapter-four-figure-section .visual-frame,
.chapter-four-story-section .visual-frame,
.chapter-four-cabin-section .visual-frame,
.chapter-five-figure-section .visual-frame,
.chapter-six-figure-section .visual-frame,
.chapter-six-album-section .visual-frame,
.chapter-seven-landscape-section .visual-frame,
.chapter-eight-bg-one-section .visual-frame,
.chapter-five-bg .visual-frame,
.chapter-six-bg .visual-frame,
.chapter-seven-bg .visual-frame,
.chapter-eight-bg .visual-frame {
  width: min(1440px, calc(100% - (var(--text-bubble-inset) * 0.5)));
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.chapter-menu {
  position: fixed;
  top: max(18px, calc(env(safe-area-inset-top) + 14px));
  left: max(18px, calc(env(safe-area-inset-left) + 14px));
  z-index: 60;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--green-deep);
}

.chapter-menu-toggle {
  display: grid;
  place-items: center;
  gap: 6px;
  width: 34px;
  height: 30px;
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.chapter-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #2f7d32;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.chapter-menu-label {
  position: absolute;
  top: 13px;
  left: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2f7d32;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity 0.18s ease;
}

.chapter-menu.is-open .chapter-menu-label {
  opacity: 0;
  pointer-events: none;
}

.chapter-menu-panel {
  display: grid;
  gap: 4px;
  width: min(420px, calc(100vw - 92px));
  max-height: min(70svh, 560px);
  padding: 16px 18px;
  overflow: auto;
  border: 1px solid rgba(47, 125, 50, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(45, 39, 24, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.chapter-menu.is-open .chapter-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.chapter-menu-panel a {
  display: block;
  padding: 10px 12px;
  color: var(--green-deep);
  border-radius: 10px;
  font-size: clamp(14px, 1.32vw, 16px);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  white-space: nowrap;
}

.chapter-menu-panel a:hover,
.chapter-menu-panel a:focus-visible {
  color: #2f7d32;
  background: rgba(47, 125, 50, 0.1);
  outline: none;
}

.train-scrollbar {
  position: fixed;
  z-index: 30;
  top: 7svh;
  right: max(10px, env(safe-area-inset-right));
  width: 26px;
  height: 86svh;
  pointer-events: none;
}

.train-track {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0 7px, rgba(31, 76, 52, 0.24) 7px 9px, transparent 9px 17px, rgba(31, 76, 52, 0.24) 17px 19px, transparent 19px),
    rgba(255, 255, 255, 0.28);
}

.train-track::before {
  content: "";
  position: absolute;
  inset: 8px 6px;
  border-top: 2px solid rgba(31, 76, 52, 0.2);
  border-bottom: 2px solid rgba(31, 76, 52, 0.2);
  background: repeating-linear-gradient(180deg, rgba(31, 76, 52, 0.18) 0 2px, transparent 2px 18px);
  border-radius: 999px;
}

.train-progress {
  position: absolute;
  top: 0;
  left: 4px;
  width: 18px;
  height: 0%;
  min-height: 34px;
  border-radius: 999px 999px 10px 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(90deg, #d7e4bd 0 20%, #4f7e43 20% 80%, #d7e4bd 80% 100%);
  box-shadow: 0 8px 18px rgba(31, 76, 52, 0.24);
  overflow: hidden;
  transform-origin: top center;
  transition: height 0.16s ease-out;
}

.train-progress::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 6px;
  height: 14px;
  border-radius: 8px 8px 5px 5px;
  background: #315f38;
  box-shadow:
    0 -2px 0 rgba(255, 255, 255, 0.45) inset,
    0 3px 0 #173b2a;
}

.train-progress::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 11px;
  width: 6px;
  height: 4px;
  border-radius: 999px;
  background: #fff3ad;
  box-shadow: 0 0 8px rgba(255, 236, 142, 0.76);
}

.train-windows {
  position: absolute;
  top: 12px;
  left: 6px;
  width: 6px;
  height: max(0px, calc(100% - 38px));
  border-radius: 999px;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0 5px, transparent 5px 14px);
  opacity: 0.72;
}

.hero-frame {
  display: grid;
  place-items: center;
  z-index: 2;
  width: 100vw;
  min-height: 100svh;
  padding: max(24px, env(safe-area-inset-top)) 5.2svh max(42px, env(safe-area-inset-bottom));
  background: transparent;
}

.hero-title-art {
  position: relative;
  z-index: 3;
  display: block;
  width: min(52vw, 620px);
  max-height: 36svh;
  object-fit: contain;
  opacity: var(--cover-fade-opacity, 1);
  filter: drop-shadow(0 10px 18px rgba(16, 48, 34, 0.22));
  transform: translateY(calc(var(--cover-fade-y, 0px) - clamp(14px, 2.4svh, 24px)));
  transition:
    opacity 0.12s linear,
    transform 0.12s linear;
  will-change: opacity, transform;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  min-width: 86px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 76, 52, 0.75);
  text-align: center;
  font-size: 14px;
  line-height: 1;
  transform: translate(-50%, var(--scroll-cue-y, 0px));
  transform-origin: center;
  animation: scrollCueFloat 2.4s ease-in-out infinite;
  will-change: opacity, transform;
  opacity: var(--scroll-cue-opacity, 1);
  pointer-events: none;
  transition: opacity 0.12s linear;
}

@keyframes scrollCueFloat {
  0%,
  100% {
    transform: translate(-50%, var(--scroll-cue-y, 0px)) scale(1);
  }

  50% {
    transform: translate(-50%, calc(var(--scroll-cue-y, 0px) - 10px)) scale(1.07);
  }
}

.section-inner {
  width: min(1120px, calc(100% - clamp(32px, 8vw, 112px)));
  margin: 0 auto;
}

.section-inner.visual-frame {
  width: 100%;
  height: auto;
  min-height: 0;
  margin: auto;
}

.scene {
  position: relative;
}

.intro-scene {
  background: transparent;
  margin-block-end: 0;
  overflow: hidden;
}

.section-bg {
  position: fixed;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100svh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/介绍bg.png") center / cover no-repeat;
  opacity: var(--section-bg-opacity, 0);
  pointer-events: none;
  transition: opacity 0.12s linear;
}

.intro-frame {
  display: block;
  grid-area: 1 / 1;
  z-index: 2;
}

.sticky-visual {
  position: absolute;
  inset: 0;
  top: auto;
  height: 100%;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.train-layer {
  position: absolute;
  z-index: 2;
  width: min(61.2%, 540px);
  left: 28%;
  top: 33%;
  opacity: 0.12;
  transform: translate(calc(-50% + 120%), calc(-50% - 35%)) rotate(2.8deg) scale(0.16);
  transform-origin: center center;
  filter: drop-shadow(0 16px 16px rgba(45, 39, 24, 0.22));
  transition:
    opacity 0.12s linear,
    transform 0.12s linear;
  will-change: opacity, transform;
}

.intro-illustration-under-train {
  position: absolute;
  z-index: 1;
  left: 28%;
  top: auto;
  bottom: 17%;
  width: min(42svh, 44.4%);
  margin: 0;
  opacity: 0.92;
  transform: translateX(-50%);
  pointer-events: none;
}

.story {
  position: absolute;
  z-index: 4;
  right: 5.8%;
  left: auto;
  top: 15%;
  width: 41%;
  max-height: none;
  overflow: visible;
  padding: clamp(16px, 3svh, 30px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
}

.intro-story {
  display: grid;
  align-content: center;
  top: 50%;
  width: 44%;
  min-height: clamp(560px, 70svh, 760px);
  padding: clamp(22px, 3.8svh, 38px);
  text-align: center;
  transform: translateY(-50%);
}

.intro-story #intro-title {
  font-size: clamp(22px, 3.35svh, 38px);
  line-height: 1.66;
  text-align: center;
}

.intro-story p {
  margin: clamp(24px, 3.8svh, 40px) 0 0;
  font-size: clamp(18px, 2.45svh, 26px);
  line-height: 1.92;
}

.intro-story .intro-story-closing {
  color: #2f7d32;
  font-size: clamp(22px, 3.5svh, 40px);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-deep);
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
  color: #183f32;
}

h1 {
  font-size: clamp(34px, 6vw, 68px);
}

#intro-title {
  font-size: clamp(30px, 5.7svh, 62px);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
}

p {
  font-size: clamp(15px, 1.9svh, 19px);
}

.stats-band {
  background: transparent;
  min-height: 24svh;
  overflow: hidden;
}

.stats-band .section-inner {
  padding: 0;
}

.intro-overview-frame {
  display: grid;
  justify-items: center;
  align-items: start;
  grid-area: 1 / 1;
  z-index: 2;
  min-height: 24svh;
  padding: 0;
  background: transparent;
}

.intro-text-card {
  position: relative;
  z-index: 3;
  width: min(calc(1120px - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)), calc(100% - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)));
  max-height: none;
  overflow: visible;
  padding: clamp(16px, 2.4svh, 26px) clamp(20px, 3.4svh, 34px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--green-deep);
  text-align: center;
  transform: none;
}

.intro-copy-card {
  display: grid;
  gap: clamp(12px, 2svh, 24px);
}

.intro-text-card p {
  margin: 0 0 0.54em;
  font-size: var(--bubble-body-size);
  line-height: 1.56;
}

.intro-text-card p:last-of-type {
  margin-bottom: 0;
  font-size: clamp(23px, 3.35svh, 34px);
  line-height: 1.42;
  color: var(--green-deep);
  font-weight: 700;
}

.pre-intro-illustration {
  display: block;
  width: min(50.4svh, 84%);
  margin: 0 auto clamp(4px, 0.8svh, 10px);
  border-radius: var(--bubble-radius);
  filter: drop-shadow(0 14px 18px rgba(45, 39, 24, 0.16));
}

.intro-illustration {
  display: block;
  width: min(53.2svh, 86.8%);
  margin: clamp(8px, 1.6svh, 18px) auto clamp(18px, 3svh, 34px);
  filter: drop-shadow(0 16px 22px rgba(45, 39, 24, 0.2));
}

.intro-illustration.intro-illustration-under-train {
  position: absolute;
  left: 28%;
  top: auto;
  bottom: 17%;
  width: min(42svh, 44.4%);
  margin: 0;
  transform: translateX(-50%);
}

.chapter-hero {
  position: relative;
  background: transparent;
}

.chapter-frame {
  z-index: 2;
  width: 100vw;
  min-height: clamp(760px, 115svh, 1220px);
  background: transparent;
  opacity: 1;
  transform: none;
}

.chapter-intro-bubble {
  position: relative;
  z-index: 3;
  width: min(calc(1120px - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)), calc(100% - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)));
  margin: 0;
  padding: clamp(24px, 4svh, 46px) clamp(28px, 4.6svh, 54px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  color: var(--ink);
  text-align: center;
}

.chapter-intro-bubble p {
  margin: 0 0 clamp(14px, 2.2svh, 24px);
  font-size: var(--bubble-body-size);
  line-height: 1.62;
  text-align: center;
}

.chapter-intro-bubble p:first-child {
  color: var(--green-deep);
  font-weight: 700;
}

.chapter-intro-bubble p:last-child {
  margin-bottom: 0;
}

.chapter-two-intro-image {
  display: block;
  width: min(760px, 92%);
  height: auto;
  margin: clamp(20px, 3.2svh, 34px) auto 0;
  border-radius: calc(var(--bubble-radius) * 0.72);
  box-shadow: 0 16px 34px rgba(45, 39, 24, 0.14);
}

.chapter-two-route-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: clamp(26px, 5svh, 64px) clamp(16px, 4vw, 56px);
}

.chapter-two-route-layout {
  display: grid;
  grid-template-columns: minmax(480px, 1.22fr) minmax(320px, 0.78fr);
  align-items: start;
  gap: clamp(18px, 3vw, 44px);
  width: min(1220px, calc(100% - var(--text-bubble-inset)));
  padding: clamp(28px, 4.8svh, 52px) clamp(28px, 4.8vw, 58px) clamp(14px, 2.2svh, 28px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.route-left-panel,
.route-right-panel {
  display: grid;
  justify-items: center;
}

.route-left-panel {
  gap: clamp(18px, 3svh, 34px);
}

.route-title-image {
  justify-self: start;
  display: block;
  width: min(420px, 72%);
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(255, 255, 255, 0.58));
}

.route-line-stage {
  position: relative;
  width: 100%;
}

.route-line-map {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(45, 39, 24, 0.14));
}

.route-line-hotspot {
  position: absolute;
  z-index: 2;
  width: var(--route-hotspot-width, clamp(82px, 7vw, 116px));
  aspect-ratio: var(--route-hotspot-ratio, 4 / 1);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%) rotate(var(--train-rotate));
}

.route-line-hotspot img {
  position: absolute;
  left: 50%;
  bottom: 50%;
  display: block;
  width: var(--route-train-width, 74%);
  height: auto;
  filter: drop-shadow(0 6px 8px rgba(45, 39, 24, 0.18));
  transform: translate(-50%, 8%) rotate(0deg);
  transition: transform 0.22s ease;
  pointer-events: none;
}

.route-line-hotspot:hover img,
.route-line-hotspot:focus-visible img {
  transform: translate(-50%, 8%) scale(1.08);
}

.route-line-hotspot-one {
  left: 19.2%;
  top: 26.9%;
  --route-hotspot-width: 23%;
  --route-train-width: 42%;
  --train-rotate: -31deg;
}

.route-line-hotspot-two {
  left: 80.2%;
  top: 16.2%;
  --route-hotspot-width: 8.5%;
  --route-train-width: 68%;
  --train-rotate: -47deg;
}

.route-line-hotspot-three {
  left: 51.8%;
  top: 57.2%;
  --route-hotspot-width: 7.6%;
  --route-train-width: 72%;
  --train-rotate: -56deg;
}

.route-line-hotspot-four {
  left: 50.3%;
  top: 68.2%;
  --route-hotspot-width: 8%;
  --route-train-width: 72%;
  --train-rotate: 90deg;
}

.route-right-panel {
  gap: clamp(22px, 4svh, 44px);
  padding-top: clamp(28px, 6svh, 72px);
  transform: translateX(clamp(-34px, -2.8vw, -14px));
}

.route-wallet-stage {
  position: relative;
  width: min(390px, 86%);
  min-height: clamp(210px, 28vw, 350px);
}

.route-wallet-pocket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86%;
  height: 116%;
  overflow: hidden;
  transform: translate(-50%, -56%) rotate(340deg);
  transform-origin: center;
}

.route-wallet {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: block;
  width: 82%;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(45, 39, 24, 0.18));
  opacity: 1;
  transform: translate(-50%, calc(-50% + clamp(28px, 3vw, 42px) + var(--wallet-y, 0px))) rotate(340deg) scale(1);
  transition:
    opacity 0.2s ease,
    transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.route-ticket-pop {
  position: absolute;
  left: 50%;
  bottom: 2%;
  z-index: 1;
  display: block;
  width: 90%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 18px 24px rgba(45, 39, 24, 0.18));
  transform: translate(-50%, -22%) scale(0.72);
  transform-origin: center;
  transition:
    opacity 0.18s ease,
    transform 0.52s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.route-wallet-stage.is-active .route-ticket-pop {
  opacity: 1;
  transform: translate(-50%, -78%) scale(1);
}

.route-wallet-stage.is-active .route-wallet {
  opacity: 1;
  transform: translate(-50%, calc(-50% + clamp(28px, 3vw, 42px))) rotate(340deg) scale(1);
}

.route-wallet-stage.is-resetting .route-wallet {
  opacity: 0;
  transform: translate(-50%, calc(-50% + clamp(28px, 3vw, 42px))) rotate(340deg) scale(0.92);
  transition-duration: 0.16s;
}

.route-wallet-stage.is-resetting .route-ticket-pop {
  opacity: 0;
  transition-duration: 0.16s;
}

.route-copy-placeholder {
  width: min(420px, 100%);
  min-height: clamp(170px, 24svh, 280px);
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 2.2svh, 27px);
  font-weight: 600;
  line-height: 1.64;
  text-align: left;
  white-space: pre-line;
  opacity: 1;
  transition: opacity 0.24s ease;
}

.route-copy-emphasis {
  color: #2f7d32;
  font-weight: 700;
  font-size: inherit;
}

.route-wallet-stage.is-resetting + .route-copy-placeholder {
  opacity: 0;
}

.route-wallet-stage.is-active + .route-copy-placeholder {
  opacity: 1;
}

.route-copy-placeholder.is-placeholder {
  display: grid;
  align-content: center;
  text-align: center;
  transform: translateY(clamp(-34px, -4svh, -18px));
}

@media (max-width: 980px) {
  .chapter-two-route-layout {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5svh, 56px);
    width: min(760px, calc(100% - var(--text-bubble-inset)));
  }

  .route-title-image {
    justify-self: center;
    width: min(380px, 82%);
  }

  .route-right-panel {
    padding-top: 0;
    transform: none;
  }

  .route-wallet-stage {
    width: min(340px, 76%);
    min-height: clamp(230px, 44vw, 360px);
  }

  .route-copy-placeholder {
    min-height: clamp(130px, 18svh, 220px);
  }
}

.chapter-chart {
  padding: 0;
  background: transparent;
  overflow: hidden;
}

.chapter-transition {
  position: relative;
  min-height: 0;
  padding: clamp(22px, 4svh, 48px) 0 clamp(34px, 6svh, 72px);
  background: transparent;
  overflow: hidden;
}

.transition-frame {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-items: start;
  width: 100%;
  min-height: 0;
  background: transparent;
}

.transition-bubble {
  width: min(calc(1120px - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)), calc(100% - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)));
  padding: clamp(26px, 4svh, 46px) clamp(28px, 4.6svh, 54px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  color: var(--ink);
  text-align: center;
}

.chapter-three-intro-bubble {
  width: min(1440px, calc(100% - (var(--market-layer-x) * 2) - (var(--text-bubble-inset) * 0.5)));
}

.chapter-three-punchline {
  font-size: clamp(24px, 3.15svh, 38px);
  font-weight: 800;
  line-height: 1.42;
}

.chapter-four-intro-bubble {
  display: grid;
  justify-items: center;
  width: min(calc(1120px - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)), calc(100% - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)));
}

.chapter-five-intro-bubble {
  display: grid;
  justify-items: center;
  width: min(calc(1180px - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)), calc(100% - (var(--chart-content-pad) * 2) - (var(--text-bubble-inset) * 2)));
}

.chapter-eight-intro-bubble {
  display: grid;
  justify-items: center;
  width: min(1320px, calc(100% - (var(--text-bubble-inset) * 1.2)));
}

.transition-bubble p {
  margin: 0 0 clamp(16px, 2.5svh, 28px);
  font-size: var(--bubble-body-size);
  line-height: 1.62;
  text-align: center;
}

.transition-bubble p:first-child {
  color: var(--green-deep);
  font-weight: 700;
  font-size: clamp(26px, 3.8svh, 42px);
  line-height: 1.34;
}

.transition-bubble p:last-child {
  margin-bottom: 0;
}

.transition-bubble .chapter-four-punchline {
  color: #2f7d32;
  font-size: clamp(28px, 4.2svh, 46px);
  font-weight: 800;
  line-height: 1.3;
}

.chapter-five-intro-bubble p:first-child {
  color: var(--ink);
  font-size: var(--bubble-body-size);
  font-weight: 400;
  line-height: 1.62;
}

.chapter-five-intro-bubble .text-green {
  font-weight: 800;
}

.transition-bubble .chapter-five-punchline {
  color: #2f7d32;
  font-size: clamp(26px, 3.8svh, 42px);
  font-weight: 800;
  line-height: 1.34;
}

.transition-bubble .chapter-eight-punchline {
  display: grid;
  gap: clamp(8px, 1.6svh, 18px);
  color: #2f7d32;
  font-size: clamp(28px, 4.1svh, 46px);
  font-weight: 800;
  line-height: 1.36;
}

.transition-bubble .chapter-eight-gap-after {
  margin-bottom: clamp(34px, 5svh, 56px);
}

.chapter-five-figure-frame {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(36px, 7svh, 78px);
  width: min(1080px, calc(100% - (var(--text-bubble-inset) * 1.4)));
  padding: clamp(10px, 2.2svh, 26px) clamp(8px, 2.4vw, 24px);
}

.chapter-five-figure-row {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(18px, 3.6vw, 48px);
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.chapter-five-table-stack img {
  display: block;
  width: 100%;
  border-radius: calc(var(--bubble-radius) * 0.72);
  box-shadow: 0 16px 34px rgba(45, 39, 24, 0.14);
}

.chapter-five-main-image {
  display: block;
  justify-self: end;
  width: 100%;
  max-width: min(620px, 100%);
  box-shadow: none;
  filter: drop-shadow(0 16px 24px rgba(45, 39, 24, 0.14));
}

.chapter-five-table-stack {
  display: grid;
  align-content: center;
  gap: clamp(14px, 2.4svh, 28px);
}

.chapter-five-table-stack img {
  max-width: min(560px, 100%);
}

.chapter-six-figure-frame {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  row-gap: clamp(12px, 2svh, 24px);
  padding: clamp(18px, 4svh, 48px) clamp(16px, 4vw, 48px);
}

.chapter-six-image-bubble {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  column-gap: clamp(24px, 4vw, 48px);
  row-gap: clamp(22px, 3.6svh, 44px);
  width: min(1080px, calc(100% - var(--text-bubble-inset)));
  padding: clamp(26px, 4.2svh, 46px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  overflow: hidden;
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.chapter-six-image-copy {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  width: min(960px, 100%);
  margin-bottom: clamp(4px, 1svh, 12px);
  color: var(--ink);
}

.chapter-six-image-copy p {
  margin: 0 0 clamp(14px, 2.1svh, 24px);
  font-size: var(--bubble-body-size);
  line-height: 1.64;
  text-align: center;
}

.chapter-six-image-copy p:last-child {
  margin-bottom: 0;
}

.chapter-six-image-copy .text-green {
  color: #2f7d32;
  font-size: clamp(25px, 3.5svh, 40px);
  font-weight: 800;
  line-height: 1.38;
}

.chapter-six-image-bubble > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--bubble-radius) * 0.72);
  filter: drop-shadow(0 12px 22px rgba(45, 39, 24, 0.12));
}

.ledger-slide-image {
  opacity: var(--ledger-image-opacity, 0);
  transform: translateX(var(--ledger-image-x, 0px));
  will-change: opacity, transform;
}

.ledger-slide-image-left {
  --ledger-image-direction: -1;
}

.ledger-slide-image-right {
  --ledger-image-direction: 1;
}

.chapter-six-ledger-summary {
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  width: min(960px, 100%);
  margin-top: clamp(2px, 0.8svh, 10px);
  color: var(--ink);
  opacity: var(--ledger-copy-opacity, 1);
  transform: translateY(var(--ledger-copy-y, 0px));
  will-change: opacity, transform;
}

.chapter-six-ledger-summary p {
  margin: 0 0 clamp(16px, 2.4svh, 28px);
  font-size: var(--bubble-body-size);
  line-height: 1.66;
  text-align: center;
}

.chapter-six-ledger-summary p:last-child {
  margin-bottom: 0;
}

.chapter-six-ledger-summary .text-green-inline {
  color: #2f7d32;
  font-size: inherit;
  font-weight: 800;
}

.chapter-six-ledger-summary .text-green-strong {
  color: #2f7d32;
  font-size: clamp(25px, 3.5svh, 40px);
  font-weight: 800;
  line-height: 1.38;
}

.chapter-six-album-frame {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(16px, 3svh, 34px);
  padding: clamp(18px, 4svh, 48px) clamp(12px, 3vw, 42px);
}

.chapter-six-album-title {
  display: block;
  width: min(520px, 72%);
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  filter: drop-shadow(0 8px 12px rgba(255, 255, 255, 0.58));
  will-change: opacity, transform;
}

.album-stage {
  position: relative;
  --album-seam: 50%;
  --album-column-offset: 20.6%;
  --album-photo-width: 22.6%;
  --album-label-gap: 4.1%;
  width: min(896px, 96%);
  margin-bottom: clamp(18px, 3svh, 34px);
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.album-base {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(45, 39, 24, 0.16));
}

.album-photo {
  position: absolute;
  z-index: 2;
  width: var(--album-photo-width);
  aspect-ratio: 399 / 281;
  padding: 0;
  border: 0;
  border-radius: 0;
  background-image: var(--photo-src);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 9px 18px rgba(45, 39, 24, 0.16);
  transform: translate(-50%, -50%);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.album-photo:hover,
.album-photo:focus-visible {
  box-shadow: 0 14px 24px rgba(45, 39, 24, 0.18);
  transform: translate(-50%, -50%) scale(1.04);
}

.album-photo-label {
  position: absolute;
  z-index: 3;
  top: var(--label-top);
  display: block;
  color: var(--green-deep);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.78);
  pointer-events: none;
  writing-mode: vertical-rl;
  transform: translate(-50%, -50%);
}

.album-photo-label-left {
  left: calc(var(--album-seam) - var(--album-column-offset) - (var(--album-photo-width) / 2) - var(--album-label-gap));
}

.album-photo-label-right {
  left: calc(var(--album-seam) + var(--album-column-offset) + (var(--album-photo-width) / 2) + var(--album-label-gap));
}

.album-hint {
  position: absolute;
  left: 50%;
  top: calc(100% + clamp(4px, 0.8svh, 10px));
  z-index: 3;
  width: min(82%, 580px);
  margin: 0;
  color: #2f7d32;
  font-size: clamp(12px, 1.25vw, 17px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.72);
  pointer-events: none;
  transform: translateX(-50%);
}

.album-photo-one {
  --photo-src: url("./assets/06-相册1.png");
  left: calc(var(--album-seam) - var(--album-column-offset));
  top: 18.8%;
}

.album-photo-label-one {
  --label-top: 18.8%;
}

.album-photo-two {
  --photo-src: url("./assets/06-相册2.png");
  left: calc(var(--album-seam) - var(--album-column-offset));
  top: 47.8%;
}

.album-photo-label-two {
  --label-top: 47.8%;
}

.album-photo-three {
  --photo-src: url("./assets/06-相册3.png");
  left: calc(var(--album-seam) - var(--album-column-offset));
  top: 76.8%;
}

.album-photo-label-three {
  --label-top: 76.8%;
}

.album-photo-four {
  --photo-src: url("./assets/06-相册4.png");
  left: calc(var(--album-seam) + var(--album-column-offset));
  top: 18.8%;
}

.album-photo-label-four {
  --label-top: 18.8%;
}

.album-photo-five {
  --photo-src: url("./assets/06-相册5.png");
  left: calc(var(--album-seam) + var(--album-column-offset));
  top: 47.8%;
}

.album-photo-label-five {
  --label-top: 47.8%;
}

.album-photo-six {
  --photo-src: url("./assets/06-相册6.png");
  left: calc(var(--album-seam) + var(--album-column-offset));
  top: 76.8%;
}

.album-photo-label-six {
  --label-top: 76.8%;
}

.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.album-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.album-lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(29, 33, 27, 0.42);
  backdrop-filter: blur(3px);
}

.album-expanded-card {
  position: relative;
  z-index: 2;
  width: min(760px, 88vw);
  aspect-ratio: 798 / 562;
  perspective: 1400px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(34px) scale(0.58);
  transition:
    opacity 0.42s ease,
    transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.album-lightbox.is-open .album-expanded-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chapter-seven-service-frame {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  padding: clamp(28px, 5svh, 64px) clamp(16px, 4vw, 56px);
}

.chapter-seven-service-stack {
  display: grid;
  gap: clamp(42px, 7svh, 84px);
  width: min(1160px, calc(100% - var(--text-bubble-inset)));
}

.chapter-seven-service-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 4.6vw, 58px);
  width: 100%;
  padding: clamp(28px, 4.6svh, 52px) clamp(30px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  opacity: var(--service-card-opacity, 0);
  transform: translate3d(var(--service-card-x, 0px), var(--service-card-y, 24px), 0);
  will-change: opacity, transform;
}

.service-card-media {
  position: relative;
  width: 100%;
}

.service-card-illustration {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--bubble-radius) * 0.46);
  box-shadow: 0 16px 32px rgba(45, 39, 24, 0.16);
}

.service-card-sign {
  position: absolute;
  left: clamp(4px, 0.9vw, 12px);
  bottom: clamp(-10px, -0.8vw, -4px);
  z-index: 2;
  display: block;
  width: clamp(70px, 8.2vw, 118px);
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(45, 39, 24, 0.32));
  transform: translateX(-50%);
  pointer-events: none;
}

.service-card-copy {
  display: grid;
  align-content: center;
  gap: clamp(16px, 2.5svh, 28px);
  min-height: 100%;
}

.service-card-title {
  display: block;
  width: min(560px, 100%);
  height: auto;
  filter: drop-shadow(0 5px 8px rgba(255, 255, 255, 0.58));
  transform: translateY(clamp(-18px, -2.2svh, -10px));
}

.service-card-textbox {
  min-height: clamp(180px, 24svh, 300px);
  padding: clamp(18px, 2.6svh, 30px) clamp(20px, 3vw, 34px);
  color: var(--ink);
  border-radius: calc(var(--bubble-radius) * 0.58);
  background: transparent;
}

.service-card-textbox p {
  margin: 0;
  font-size: clamp(21px, 2.28svh, 29px);
  line-height: 1.72;
  text-align: justify;
}

.chapter-six-service-summary {
  justify-self: center;
  width: min(980px, 100%);
  margin-top: clamp(18px, 3.6svh, 44px);
  padding: clamp(30px, 4.8svh, 52px) clamp(34px, 5.4vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.chapter-six-service-summary p {
  margin: 0 0 clamp(18px, 2.8svh, 30px);
  font-size: var(--bubble-body-size);
  line-height: 1.68;
  text-align: center;
}

.chapter-six-service-summary p:last-child {
  margin-bottom: 0;
}

.chapter-six-service-summary .text-green {
  color: #2f7d32;
  font-size: clamp(25px, 3.5svh, 40px);
  font-weight: 800;
  line-height: 1.38;
}

.album-expanded-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.album-expanded-card.is-flipped .album-expanded-inner {
  transform: rotateY(180deg);
}

.chapter-seven-rail-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: clamp(44px, 8svh, 86px) clamp(18px, 4vw, 56px);
}

.rail-interactive {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(1180px, 94%);
  padding-top: clamp(176px, 25svh, 262px);
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.rail-interactive::before {
  content: "";
  position: absolute;
  inset: clamp(-150px, -14.5svh, -112px) clamp(-24px, -2.8vw, -14px) clamp(8px, 1.2svh, 14px);
  z-index: 0;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.13);
  pointer-events: none;
}

.rail-drag-hint {
  position: absolute;
  left: 50%;
  top: clamp(-116px, -12.2svh, -82px);
  z-index: 6;
  margin: 0;
  color: #2f7d32;
  font-size: clamp(16px, 1.85vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.76);
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
}

.rail-title-layer {
  position: absolute;
  top: clamp(-34px, -4.2svh, -18px);
  left: var(--rail-title-left, 0px);
  z-index: 5;
  width: var(--rail-train-width, 260px);
  height: clamp(92px, 13svh, 154px);
  pointer-events: none;
  transform: translateX(-50%);
}

.rail-title {
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  width: min(280px, 76%);
  opacity: 0;
  filter: drop-shadow(0 8px 12px rgba(255, 255, 255, 0.62));
  transform: translateX(-50%);
  transition: opacity 0.22s ease;
}

.rail-title-one {
  opacity: var(--rail-title-one-opacity, 1);
}

.rail-title-two {
  opacity: var(--rail-title-two-opacity, 0);
}

.rail-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(340px, 48svh, 520px);
}

.rail-signs {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(-78px, -6.6vw, -76px);
  z-index: 2;
  height: clamp(150px, 22svh, 240px);
  pointer-events: none;
}

.rail-sign {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(58px, 7.4vw, 98px);
  opacity: 0;
  filter: drop-shadow(0 10px 18px rgba(45, 39, 24, 0.18));
  transform: translate(-50%, 14px) scale(0.96);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.rail-sign.is-active {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.rail-sign-one {
  left: 14%;
}

.rail-sign-two {
  left: 32%;
}

.rail-sign-three {
  left: 50%;
}

.rail-sign-four {
  left: 68%;
}

.rail-sign-five {
  left: 86%;
}

.rail-track-wrap {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3svh, 34px);
  width: min(100%, 1120px);
  transform: translateX(-50%);
}

.rail-track {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 10px 22px rgba(45, 39, 24, 0.12));
  pointer-events: none;
}

.rail-train {
  position: absolute;
  left: 0;
  bottom: clamp(20px, 2.4vw, 32px);
  z-index: 4;
  width: clamp(180px, 25vw, 330px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  transform: translateX(var(--rail-train-x, 0px));
  transition: filter 0.18s ease;
}

.rail-train:active,
.rail-train.is-dragging {
  cursor: grabbing;
}

.rail-train:focus-visible {
  outline: 3px solid rgba(47, 125, 50, 0.45);
  outline-offset: 6px;
}

.rail-train img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 16px 24px rgba(45, 39, 24, 0.2));
  pointer-events: none;
}

.chapter-seven-landscape-section {
  min-height: 180svh;
  padding-block: 0;
  overflow: hidden;
}

.chapter-seven-landscape-section::before,
.chapter-seven-landscape-section::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: opacity 0.18s linear;
}

.chapter-seven-landscape-section::before {
  background-image: url("./assets/07bg2.png");
  opacity: var(--chapter-seven-bg2-opacity, 0);
}

.chapter-seven-landscape-section::after {
  background-image: url("./assets/07bg3.png");
  opacity: var(--chapter-seven-bg3-opacity, 0);
}

.chapter-seven-landscape-frame {
  min-height: 180svh;
}

.chapter-eight-bg-one-section {
  min-height: 145svh;
  padding-block: clamp(180px, 28svh, 320px) var(--section-y-gap);
  overflow: hidden;
}

.chapter-eight-bg-one::before {
  content: "";
  position: fixed;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100svh;
  background-image: url("./assets/08bg1.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: var(--section-bg-opacity, 0);
  pointer-events: none;
  transition: opacity 0.12s linear;
}

.chapter-eight-bg-one-frame {
  z-index: 2;
  display: grid;
  place-items: start center;
  min-height: calc(100svh - var(--section-y-gap));
}

.chapter-eight-title-reveal {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 75svh;
  margin-top: clamp(92px, 14svh, 170px);
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translateY(var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.chapter-eight-title-mask {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: 75vw;
  height: 64svh;
  background: rgba(255, 255, 255, 0.75);
  border-radius: clamp(24px, 4vw, 56px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.chapter-eight-bg-title-bubble {
  position: relative;
  z-index: 1;
  width: min(960px, 78vw);
  padding: 0;
  margin-top: clamp(28px, 4svh, 56px);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  opacity: var(--scroll-reveal-opacity, 0);
}

.chapter-eight-bg-title-bubble img {
  display: block;
  width: 100%;
  height: auto;
}

.album-expanded-face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(22, 25, 19, 0.28);
  backface-visibility: hidden;
}

.album-expanded-back {
  transform: rotateY(180deg);
}

.chapter-four-figure-frame {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 520px));
  align-items: stretch;
  justify-content: center;
  gap: clamp(16px, 3.2vw, 34px);
}

.chapter-four-image-bubble {
  display: grid;
  justify-items: center;
  align-content: space-between;
  gap: clamp(10px, 1.8svh, 18px);
  margin: 0;
  padding: clamp(26px, 4svh, 46px) clamp(28px, 4.6svh, 54px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  color: var(--ink);
  opacity: 0;
  will-change: opacity, transform;
}

.chapter-four-image-bubble img {
  display: block;
  width: min(100%, 520px);
  max-height: clamp(360px, 58svh, 680px);
  object-fit: contain;
}

.chapter-four-image-bubble figcaption {
  color: #2f7d32;
  font-size: clamp(22px, 3.2svh, 36px);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.slide-in-bubble-left {
  transform: translateX(-160px);
}

.slide-in-bubble-right {
  transform: translateX(160px);
}

.chapter-four-story-frame {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: clamp(620px, 92svh, 980px);
  padding: clamp(24px, 5svh, 64px) clamp(18px, 4.8vw, 72px);
}

.chapter-four-story-title {
  display: block;
  width: min(760px, 72%);
  opacity: var(--story-title-opacity, 0);
  transform: translateY(calc(clamp(46px, 8svh, 92px) + var(--story-title-y, 28px)));
  filter: drop-shadow(0 8px 12px rgba(255, 255, 255, 0.58));
  will-change: opacity, transform;
}

.chapter-four-cabin-frame {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: clamp(680px, 94svh, 1040px);
  padding: clamp(24px, 5svh, 64px) clamp(18px, 4.8vw, 72px);
}

.chapter-four-cabin-bubble {
  width: min(982px, 92%);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  opacity: var(--cabin-bubble-opacity, 0);
  transform: translateY(var(--cabin-bubble-y, 28px));
  will-change: opacity, transform;
}

.cabin-composite {
  position: relative;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 959 / 720;
  overflow: visible;
  border-radius: 32px;
  background: transparent;
  filter: drop-shadow(0 18px 36px rgba(45, 39, 24, 0.18));
  isolation: isolate;
}

.cabin-base {
  position: absolute;
  display: block;
  user-select: none;
  pointer-events: none;
}

.cabin-base {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  clip-path: inset(0 round 32px);
}

.cabin-hover-hint {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 5;
  padding: clamp(8px, 1.2svh, 14px) clamp(16px, 2.8vw, 30px);
  color: #fff;
  background: #2f7d32;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(45, 39, 24, 0.16);
  font-size: clamp(21px, 2.8svh, 31px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.cabin-hotspot {
  position: absolute;
  z-index: 4;
  width: var(--spot-size);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.cabin-hotspot:focus-visible {
  outline: 3px solid rgba(47, 125, 50, 0.7);
  outline-offset: 4px;
}

.cabin-hotspot-one {
  --spot-size: 18%;
  left: 10.2%;
  top: 71%;
}

.cabin-hotspot-two {
  --spot-size: 17%;
  left: 28.6%;
  top: 42%;
}

.cabin-hotspot-three {
  --spot-size: 20%;
  left: 60.8%;
  top: 41%;
}

.cabin-hotspot-four {
  --spot-size: 22%;
  left: 84.4%;
  top: 65%;
}

.cabin-story {
  position: absolute;
  z-index: 3;
  display: block;
  width: min(66.5%, 480px);
  border-radius: calc(var(--bubble-radius) * 0.72);
  box-shadow: 0 18px 36px rgba(45, 39, 24, 0.2);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.cabin-story-right {
  transform: translate(0, -50%);
}

.cabin-story-left {
  transform: translate(0, -50%);
}

.cabin-story-one {
  left: 19%;
  top: 60%;
}

.cabin-story-two {
  left: 38.5%;
  top: 42%;
}

.cabin-story-three {
  right: 40%;
  top: 41%;
}

.cabin-story-four {
  right: 17%;
  top: 60%;
}

.cabin-story.is-active {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0s;
}

.transition-illustration {
  display: block;
  width: min(560px, 92%);
  margin: clamp(4px, 1.2svh, 14px) auto clamp(16px, 2.8svh, 30px);
  border-radius: calc(var(--bubble-radius) * 0.72);
  filter: drop-shadow(0 14px 20px rgba(45, 39, 24, 0.16));
}

.transition-closing-copy {
  font-size: var(--bubble-body-size);
  line-height: 1.72;
}

.transition-illustration-end {
  margin-top: clamp(10px, 2svh, 22px);
  margin-bottom: 0;
}

.chapter-three-illustration {
  width: min(620px, 92%);
  margin-top: clamp(30px, 5svh, 62px);
  margin-bottom: clamp(18px, 3svh, 36px);
}

.chart-bg-wrap {
  position: relative;
  z-index: 2;
  background: transparent;
}

.chapter-one-bg,
.chapter-two-bg,
.chapter-three-bg,
.chapter-four-bg,
.chapter-four-people-bg,
.chapter-five-bg,
.chapter-six-bg,
.chapter-seven-bg,
.chapter-eight-bg {
  overflow: hidden;
  background: transparent;
}

.chapter-one-bg::before,
.chapter-two-bg::before,
.chapter-three-bg::before,
.chapter-four-bg::before,
.chapter-four-people-bg::before,
.chapter-five-bg::before,
.chapter-six-bg::before,
.chapter-seven-bg::before,
.chapter-eight-bg::before {
  content: "";
  position: fixed;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100svh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: var(--section-bg-opacity, 0);
  pointer-events: none;
  transition: opacity 0.12s linear;
}

.chapter-one-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/01bg.png");
}

.chapter-two-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/02bg.png");
}

.chapter-three-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/03bg.png");
}

.chapter-four-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/04bg.png");
}

.chapter-four-people-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/02bg.png");
}

.chapter-four-cabin-section.chapter-four-people-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)),
    url("./assets/02bg.png");
}

.chapter-five-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/05bg.png");
}

.chapter-five-figure-section.chapter-five-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)),
    url("./assets/05bg.png");
}

.chapter-six-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/06bg.png");
}

.chapter-seven-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/07bg.png");
}

.chapter-eight-bg::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/07bg3.png");
}

.market-ledger::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.364), rgba(255, 255, 255, 0.364)),
    url("./assets/03卖菜bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.72s ease;
}

.market-ledger.market-bg-active::after {
  opacity: var(--section-bg-opacity, 1);
}

.chapter-one-bg > .visual-frame,
.chapter-two-bg > .visual-frame,
.chapter-three-bg > .visual-frame,
.chapter-four-bg > .visual-frame,
.chapter-four-people-bg > .visual-frame,
.chapter-five-bg > .visual-frame,
.chapter-six-bg > .visual-frame,
.chapter-seven-bg > .visual-frame,
.chapter-eight-bg > .visual-frame {
  grid-area: 1 / 1;
  z-index: 2;
}

.chart-content {
  position: absolute;
  inset: 5svh;
  display: grid;
  align-content: start;
  gap: clamp(14px, 2vw, 24px);
}

.chart-title {
  display: block;
  width: min(520px, 72%);
}

.chart-title.wide {
  width: min(720px, 86%);
}

.chart-title.small {
  width: min(360px, 58%);
}

.speed-content {
  grid-template-columns: minmax(0, 1fr);
}

.primary-chart-bubble {
  display: grid;
  justify-items: center;
  width: min(1180px, 100%);
  justify-self: center;
  padding: clamp(8px, 1.8svh, 22px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.speed-chart-layout {
  display: grid;
  justify-items: center;
  width: 100%;
}

.chart-main-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
  clip-path: inset(0 round 32px);
  filter: drop-shadow(0 16px 26px rgba(45, 39, 24, 0.16));
}

.chart-main-image.scroll-reveal {
  opacity: var(--scroll-reveal-opacity, 0);
  transform: translate(var(--scroll-reveal-x, 0px), var(--scroll-reveal-y, 30px));
  will-change: opacity, transform;
}

.speed-chart-carousel {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(1180px, 100%);
  opacity: var(--speed-chart-opacity, 0);
  transform: translateY(var(--speed-chart-y, 30px));
  will-change: opacity, transform;
}

.carousel-slides {
  display: grid;
  justify-items: center;
  width: 100%;
}

.carousel-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.speed-main-image {
  width: min(1180px, 100%);
  box-shadow: none;
}

.speed-detail-image {
  width: min(1040px, 100%);
}

.carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 4vw, 48px);
  height: clamp(36px, 4vw, 48px);
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #2f7d32;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(45, 39, 24, 0.14);
  font-family: "Songti SC", "Noto Serif SC", serif;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-button-prev {
  left: clamp(-87px, -7.2vw, -57px);
  text-indent: -2px;
  padding-bottom: 8px;
}

.carousel-button-next {
  right: clamp(-87px, -7.2vw, -57px);
  text-indent: 2px;
  padding-bottom: 8px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(14px, 2.4svh, 24px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 125, 50, 0.28);
}

.carousel-dot.is-active {
  background: #2f7d32;
}

.map-content .lead {
  max-width: 680px;
  margin: 0;
}

.map-content .route-map {
  margin-top: 4px;
  min-height: 0;
  height: 46svh;
}

.map-content .route-map svg {
  min-height: 0;
  height: 100%;
}

.market-ledger {
  background: transparent;
}

.market-frame {
  background: transparent;
}

.market-layer {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(18px, 5vw, 58px);
  width: 100%;
  margin: 0 auto;
  padding: clamp(32px, 6svh, 68px) var(--market-layer-x);
}

.market-title-bubble {
  position: relative;
  grid-column: 1 / -1;
  justify-self: center;
  width: min(1440px, calc(100% - (var(--text-bubble-inset) * 0.5)));
  padding: clamp(30px, 5svh, 58px) clamp(44px, 7svh, 92px) clamp(44px, 7svh, 88px);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--bubble-radius);
  box-shadow: 0 18px 42px rgba(45, 39, 24, 0.12);
  overflow: hidden;
  text-align: center;
}

.market-title-bubble.answer {
  overflow: visible;
}

.market-title {
  display: block;
  width: min(860px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 8px 10px rgba(255, 255, 255, 0.5));
  transition: opacity 0.42s ease 1.525s, transform 0.42s ease 1.525s;
}

.market-title-bubble.answer .market-title {
  opacity: 0;
  transform: translateY(-4px);
}

.produce-picker {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 76px);
  width: 100%;
  max-height: 900px;
  margin: clamp(26px, 5svh, 58px) auto 0;
  padding: 0;
  background: transparent;
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.market-title-bubble.complete .produce-picker {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.produce-hint {
  margin: 0 0 clamp(16px, 2.8svh, 28px);
  font-size: clamp(17px, 2.25svh, 26px);
  color: var(--ink);
}

.produce-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3svh, 30px) clamp(18px, 3.4vw, 38px);
}

.produce-item {
  display: grid;
  justify-items: center;
  gap: clamp(7px, 1.2svh, 12px);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.produce-item img {
  display: block;
  width: clamp(82px, 10svh, 112px);
  height: clamp(82px, 10svh, 112px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(45, 39, 24, 0.12));
  transition: transform 0.16s ease, filter 0.16s ease;
}

.produce-item span {
  font-size: clamp(14px, 1.75svh, 19px);
  line-height: 1.25;
  white-space: nowrap;
}

.produce-item:hover img,
.produce-item:focus-visible img {
  filter: drop-shadow(0 12px 16px rgba(45, 39, 24, 0.18));
  transform: translateY(-4px) scale(1.04);
}

.produce-item.active span {
  color: #2f7d32;
  font-weight: 700;
}

.produce-item:disabled {
  cursor: default;
}

.basket-stage {
  position: relative;
  justify-self: center;
  width: min(460px, 100%);
  aspect-ratio: 0.92;
}

.basket {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: block;
  width: 100%;
  filter: drop-shadow(0 18px 24px rgba(45, 39, 24, 0.18));
}

.basket.shake {
  animation: basket-shake 0.32s ease;
}

.basket-items {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.basket-item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  opacity: 0;
  filter: drop-shadow(0 8px 8px rgba(45, 39, 24, 0.16));
  transform: translate(-50%, -80%) scale(0.72) rotate(var(--rotate));
}

.basket-item.visible {
  animation: fruit-drop-fade 1.05s ease forwards;
}

.market-result {
  position: absolute;
  left: clamp(44px, 7svh, 92px);
  right: clamp(44px, 7svh, 92px);
  top: clamp(96px, 12svh, 148px);
  bottom: clamp(44px, 7svh, 88px);
  z-index: 6;
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.58s ease 0.18s, transform 0.58s ease 0.18s, max-height 0.58s ease, margin 0.58s ease;
}

.market-title-bubble.complete .market-result {
  max-height: none;
  height: auto;
  margin-top: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.market-title-bubble.answer .market-result {
  overflow: visible;
}

.market-result-scene {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.market-title-bubble.complete .market-result-scene-start {
  opacity: 1;
  pointer-events: auto;
}

.market-title-bubble.final .market-result-scene-start {
  opacity: 0;
  pointer-events: none;
}

.market-title-bubble.final .market-result-scene-final {
  opacity: 1;
  pointer-events: auto;
}

.market-result-main,
.market-result-sub {
  display: block;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(45, 39, 24, 0.14));
}

.market-result-main {
  width: min(454px, 68%);
}

.market-title-bubble.complete .market-result-main {
  animation: result-wiggle 0.62s ease-in-out 3;
}

.market-result-sub {
  width: min(294px, 37.8%);
  margin-top: clamp(24px, 4svh, 46px);
}

.market-result-scene-final {
  align-content: center;
  gap: clamp(14px, 2.4svh, 24px);
  isolation: isolate;
}

.market-result-copy {
  position: absolute;
  top: clamp(30px, 5svh, 58px);
  left: clamp(44px, 7svh, 92px);
  right: clamp(44px, 7svh, 92px);
  z-index: 50;
  max-width: min(1080px, calc(100% - clamp(88px, 14svh, 184px)));
  margin: 0 auto;
  color: var(--green-deep);
  font-size: clamp(20px, 2.8svh, 34px);
  font-weight: 700;
  line-height: 1.34;
  overflow: visible;
  opacity: 0;
  text-align: center;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.42s ease 1.56s, transform 0.42s ease 1.56s;
}

.market-answer-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.98fr) minmax(280px, 0.82fr);
  align-items: center;
  justify-items: center;
  gap: clamp(28px, 6vw, 88px);
  width: min(1060px, 100%);
  min-height: clamp(340px, 44svh, 520px);
  margin: 0 auto;
}

.market-facts {
  grid-column: 1;
  grid-row: 1;
  z-index: 3;
  display: block;
  width: min(500px, 100%);
  max-height: clamp(300px, 42svh, 460px);
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(45, 39, 24, 0.14));
  translate: 0 var(--market-answer-asset-shift);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.market-result-ticket {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 2;
  display: block;
  width: min(360px, 88%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  translate: 0 var(--market-answer-asset-shift);
  transform: translateY(0);
  filter: drop-shadow(0 16px 20px rgba(45, 39, 24, 0.16));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.market-result-ticket img {
  display: block;
  width: 100%;
}

.ticket-ledger {
  position: absolute;
  left: 16%;
  right: 12%;
  top: 42%;
  display: grid;
  gap: clamp(3px, 0.58svh, 7px);
  color: #2f7d32;
  font-size: clamp(14px, 1.52svh, 18px);
  font-weight: 700;
  line-height: 1.32;
  opacity: 0;
  text-align: left;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.market-result-ticket:hover,
.market-result-ticket:focus-visible {
  filter: drop-shadow(0 20px 26px rgba(45, 39, 24, 0.22));
  transform: translateY(-4px) scale(1.02);
  outline: none;
}

.market-ticket-hint {
  margin: clamp(4px, 1.2svh, 12px) 0 0;
  color: var(--green-deep);
  font-size: clamp(16px, 2.05svh, 23px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.market-elder-wrap {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(500px, 100%);
  opacity: 0;
  translate: 0 var(--market-answer-asset-shift);
  transform: translateY(16px);
  transition: opacity 0.45s ease 1.525s, transform 0.45s ease 1.525s;
}

.market-elder {
  display: block;
  width: min(430px, 94%);
  max-height: clamp(300px, 44svh, 500px);
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(45, 39, 24, 0.18));
}

.market-speech {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  position: relative;
  inset-inline: 0;
  bottom: auto;
  z-index: 4;
  width: min(660px, 82%);
  margin: calc(var(--market-speech-shift) - clamp(18px, 3svh, 34px)) auto 0;
  padding: clamp(8px, 1.2svh, 12px) clamp(18px, 3.2vw, 34px);
  color: #fff;
  background: rgba(31, 76, 52, 0.94);
  border-radius: 22px;
  box-shadow: none;
  font-size: clamp(15px, 2svh, 23px);
  font-weight: 700;
  line-height: 1.32;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.36s ease 1.675s, transform 0.36s ease 1.675s;
}

.market-speech::before {
  content: none;
}

.market-speech-note {
  position: absolute;
  left: 50%;
  top: calc(100% + clamp(34px, 5svh, 58px));
  z-index: 60;
  width: min(760px, 88%);
  margin: 0;
  color: #2f7d32;
  font-size: clamp(18px, 2.45svh, 29px);
  font-weight: 800;
  line-height: 1.38;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.36s ease 1.76s, transform 0.36s ease 1.76s;
}

.market-title-bubble.answer .market-result-ticket {
  pointer-events: none;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.market-title-bubble.answer .ticket-ledger {
  opacity: 1;
  transform: translateY(0);
}

.market-title-bubble.answer .market-facts {
  animation: facts-fade-out 1.5s ease forwards;
}

.market-title-bubble.answer .market-result-copy {
  opacity: 1;
  transform: translateY(0);
}

.market-title-bubble.answer .market-elder-wrap,
.market-title-bubble.answer .market-speech {
  opacity: 1;
  transform: translateY(0);
}

.market-title-bubble.answer .market-speech-note {
  opacity: 1;
  transform: translate(-50%, 0);
}

.market-title-bubble.answer .market-ticket-hint {
  opacity: 0;
  transition: opacity 0.16s ease;
}

@keyframes basket-shake {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  25% {
    transform: translateX(-5px) rotate(-1.1deg);
  }
  50% {
    transform: translateX(4px) rotate(0.9deg);
  }
  75% {
    transform: translateX(-2px) rotate(-0.5deg);
  }
}

@keyframes fruit-drop-fade {
  0% {
    opacity: 0;
    transform: translate(-50%, -110%) scale(0.72) rotate(var(--rotate));
  }
  18% {
    opacity: 1;
    transform: translate(-50%, -68%) scale(1) rotate(var(--rotate));
  }
  64% {
    opacity: 1;
    transform: translate(-50%, -42%) scale(0.92) rotate(var(--rotate));
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -18%) scale(0.78) rotate(var(--rotate));
  }
}

@keyframes result-wiggle {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  20% {
    transform: translateX(-7px) rotate(-0.8deg);
  }
  40% {
    transform: translateX(6px) rotate(0.7deg);
  }
  60% {
    transform: translateX(-4px) rotate(-0.45deg);
  }
  80% {
    transform: translateX(3px) rotate(0.35deg);
  }
}

@keyframes facts-fade-out {
  0%,
  72% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.cost-content {
  width: min(840px, 100%);
}

.cost-bars {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.cost-bars div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--bubble-radius);
}

.cost-bars span,
.cost-bars em {
  display: block;
}

.cost-bars span {
  font-weight: 700;
  color: var(--green-deep);
}

.cost-bars b {
  display: block;
  position: relative;
  height: 26px;
  margin: 10px 0;
  background:
    linear-gradient(90deg, var(--green) 0 var(--train), transparent var(--train)),
    linear-gradient(90deg, rgba(155, 108, 58, 0.82) 0 var(--road), rgba(155, 108, 58, 0.12) var(--road));
  border-radius: 999px;
}

.cost-bars em {
  font-style: normal;
  color: var(--muted);
}

.note,
.lead {
  max-width: 760px;
  color: var(--muted);
}

.route-map {
  position: relative;
  margin-top: 32px;
  min-height: 430px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(244,239,226,0.54));
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.route-map svg {
  width: 100%;
  height: 100%;
  min-height: 430px;
}

.terrain {
  fill: rgba(67, 111, 60, 0.16);
}

.rail {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 18 14;
}

.stop {
  fill: #fff;
  stroke: var(--green-deep);
  stroke-width: 5;
}

.ticket {
  position: absolute;
  right: clamp(16px, 4vw, 46px);
  bottom: clamp(16px, 4vw, 42px);
  width: min(310px, calc(100% - 32px));
  padding: 22px;
  background: #fffaf0;
  border: 2px dashed var(--earth);
  border-radius: var(--bubble-radius);
  box-shadow: 0 14px 30px rgba(45, 39, 24, 0.16);
}

.ticket span,
.ticket strong {
  display: block;
}

.ticket span {
  color: var(--earth);
}

.ticket strong {
  margin: 6px 0;
  font-size: 24px;
  color: var(--green-deep);
}

.stats-band .section-inner.visual-frame,
.chapter-transition .visual-frame,
.chapter-chart .visual-frame,
.market-ledger .visual-frame {
  width: min(1120px, calc(100vw - clamp(28px, 7vw, 96px)));
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  overflow: visible;
}

.chapter-chart .chart-content {
  position: relative;
  inset: auto;
  padding: var(--chart-content-pad);
}

@media (max-width: 860px) {
  .market-layer {
    grid-template-columns: 1fr;
  }

  .market-layer {
    padding-top: clamp(34px, 6svh, 58px);
  }

  .market-title-bubble {
    width: min(100%, calc(100% - var(--text-bubble-inset) * 2));
    padding: clamp(16px, 3svh, 28px) clamp(18px, 4vw, 32px);
  }

  .chapter-three-intro-bubble {
    width: min(100%, calc(100% - (var(--market-layer-x) * 2) - var(--text-bubble-inset) * 2));
  }

  .chapter-four-figure-frame {
    grid-template-columns: 1fr;
    gap: clamp(18px, 4svh, 34px);
  }

  .chapter-four-image-bubble img {
    max-height: clamp(300px, 54svh, 560px);
  }

  .chapter-four-story-title {
    width: min(780px, 88%);
  }

  .chapter-four-cabin-bubble {
    width: min(100%, 92vw);
  }

  .chapter-five-figure-row {
    grid-template-columns: 1fr;
  }

  .chapter-six-image-bubble {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - var(--text-bubble-inset)));
  }

  .chapter-six-album-title {
    width: min(460px, 88%);
  }

  .album-stage {
    width: min(784px, 100%);
  }

  .chapter-seven-service-stack {
    width: min(720px, calc(100% - var(--text-bubble-inset)));
  }

  .chapter-seven-service-card {
    grid-template-columns: 1fr;
    gap: clamp(22px, 4svh, 36px);
    padding: clamp(24px, 4svh, 40px);
  }

  .service-card-copy {
    gap: clamp(18px, 3svh, 28px);
  }

  .service-card-title {
    justify-self: center;
    width: min(520px, 100%);
  }

  .service-card-textbox {
    min-height: clamp(150px, 22svh, 240px);
  }

  .chapter-five-main-image,
  .chapter-five-table-stack img {
    justify-self: center;
    max-width: min(720px, 100%);
  }

  .cabin-story {
    width: min(73%, 420px);
  }

  .market-title {
    width: 100%;
  }

  .market-result-copy {
    top: clamp(16px, 3svh, 28px);
    left: clamp(18px, 4vw, 32px);
    right: clamp(18px, 4vw, 32px);
    max-width: calc(100% - clamp(36px, 8vw, 64px));
    font-size: clamp(17px, 2.5svh, 24px);
  }

  .produce-picker {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
  }

  .basket-stage {
    width: min(420px, 88%);
  }

  .market-result {
    left: clamp(18px, 4vw, 32px);
    right: clamp(18px, 4vw, 32px);
    top: clamp(96px, 13svh, 142px);
    bottom: clamp(18px, 4vw, 32px);
  }

  .market-answer-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: clamp(18px, 4svh, 36px);
    min-height: clamp(560px, 74svh, 760px);
  }

  .market-facts,
  .market-elder-wrap {
    grid-column: 1;
    grid-row: 1;
  }

  .market-result-ticket {
    grid-column: 1;
    grid-row: 2;
    width: min(260px, 64%);
  }

  .market-speech {
    grid-column: 1;
    grid-row: 3;
    position: relative;
    inset-inline: auto;
    bottom: auto;
    margin-top: var(--market-speech-shift);
    width: min(88%, 620px);
  }
}

@media (max-width: 560px) {
  :root {
    --section-y-gap: clamp(26px, 5.2svh, 52px);
    --text-bubble-inset: clamp(8px, 2.2vw, 18px);
    --bubble-body-size: clamp(18px, 2.35svh, 24px);
  }

  .chapter-hero,
  .chapter-frame {
    min-height: clamp(620px, 105svh, 960px);
  }

  .chapter-intro-bubble {
    padding: clamp(20px, 3.4svh, 34px) clamp(18px, 4vw, 30px);
  }

  .chapter-transition {
    padding-top: clamp(16px, 3.4svh, 34px);
  }

  .chart-main-image {
    max-width: 100%;
  }

  .chart-title,
  .chart-title.wide,
  .chart-title.small {
    width: 100%;
  }

  .chapter-four-image-bubble {
    padding: clamp(20px, 3.4svh, 34px) clamp(18px, 4vw, 30px);
  }

  .chapter-four-story-frame {
    min-height: clamp(560px, 88svh, 840px);
    padding: clamp(22px, 4.8svh, 46px) clamp(14px, 4vw, 28px);
  }

  .chapter-four-story-title {
    width: 100%;
  }

  .chapter-four-cabin-frame {
    min-height: clamp(520px, 82svh, 780px);
    padding: clamp(18px, 4svh, 36px) clamp(10px, 3vw, 20px);
  }

  .chapter-four-cabin-bubble {
    width: 100%;
    padding: 0;
  }

  .chapter-five-figure-frame {
    padding-inline: clamp(8px, 2.8vw, 18px);
  }

  .chapter-five-figure-row {
    gap: clamp(16px, 3.4svh, 28px);
  }

  .cabin-hover-hint {
    width: min(86%, 360px);
    white-space: normal;
  }

  .cabin-story {
    width: min(90%, 345px);
  }

  .slide-in-bubble-left {
    transform: translateX(-72px);
  }

  .slide-in-bubble-right {
    transform: translateX(72px);
  }

  .market-layer {
    width: 100%;
    padding-top: clamp(30px, 5.4svh, 48px);
  }

  .produce-picker {
    margin-top: clamp(16px, 3svh, 28px);
    padding: 0;
  }

  .produce-grid {
    gap: clamp(12px, 2.5svh, 20px);
  }

  .produce-item img {
    width: clamp(64px, 18vw, 86px);
    height: clamp(64px, 18vw, 86px);
  }

  .produce-item span {
    font-size: clamp(13px, 3.2vw, 16px);
  }

  .basket-stage {
    width: min(340px, 92%);
  }

  .ticket {
    position: static;
    margin: 0 16px 18px;
  }
}
