:root {
  color-scheme: dark;
  --bg: #07111c;
  --ink: #fff8ec;
  --muted: rgba(255, 248, 236, 0.68);
  --line: rgba(255, 255, 255, 0.16);
  --paper: #f8efe0;
  --paper-ink: #172231;
  --gold: #f0c76a;
  --blue: #287fd6;
  --cyan: #67d6c0;
  --coral: #df6e5f;
  --green: #6fba7c;
  --shadow: rgba(0, 0, 0, 0.36);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top-compact: min(var(--safe-top), 8px);
  --immersive-top: calc(72px + var(--safe-top-compact));
  --controls-clearance: calc(112px + var(--safe-bottom));
  --modal-step-bg: rgba(12, 18, 27, 0.5);
  --font-scale: 1;
  --year-vw: 9vw;
  --title-vw: 6.2vw;
  --compact-year-vw: 8.2vw;
  --compact-title-vw: 5.45vw;
  --root-font-size: 16px;
  font-size: var(--root-font-size);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html[data-platform="ios"] {
  --modal-step-bg: rgba(12, 18, 27, 0.7);
}

html[data-platform="android"] {
  --modal-step-bg: rgba(12, 18, 27, 0.5);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

button,
a {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
}

a {
  text-decoration: none;
}

.journey {
  position: relative;
  width: 100vw;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 11%, rgba(240, 199, 106, 0.2), transparent 15rem),
    radial-gradient(circle at 82% 24%, rgba(103, 214, 192, 0.15), transparent 13rem),
    linear-gradient(160deg, #07111c 0%, #101f2b 46%, #14120f 100%);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient span {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.22;
  transform: translate3d(0, 0, 0);
  animation: ambientDrift 12s ease-in-out infinite alternate;
}

.ambient span:nth-child(1) {
  left: -25vmax;
  top: -18vmax;
  background: #f0c76a;
}

.ambient span:nth-child(2) {
  right: -28vmax;
  top: 18vmax;
  background: #287fd6;
  animation-delay: -4s;
}

.ambient span:nth-child(3) {
  left: 16vmax;
  bottom: -30vmax;
  background: #67d6c0;
  animation-delay: -7s;
}

.start-screen {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: calc(28px + var(--safe-top-compact)) 24px calc(34px + var(--safe-bottom));
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 17, 28, 0.68), rgba(7, 17, 28, 0.92)),
    radial-gradient(circle at 50% 42%, rgba(240, 199, 106, 0.22), transparent 18rem),
    linear-gradient(150deg, #07111c 0%, #12283a 50%, #15130e 100%);
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition:
    opacity 520ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.22, 1),
    visibility 520ms step-end;
  pointer-events: auto;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

.start-screen::before,
.start-screen::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 43%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.start-screen::before {
  border: 1px solid rgba(240, 199, 106, 0.34);
  box-shadow:
    0 0 54px rgba(240, 199, 106, 0.18),
    inset 0 0 38px rgba(103, 214, 192, 0.12);
  animation: startRing 8s linear infinite;
}

.start-screen::after {
  width: 430px;
  height: 430px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(240, 199, 106, 0.34) 50%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(103, 214, 192, 0.18) 50%, transparent 52%);
  opacity: 0.42;
  transform: translate(-50%, -50%) rotate(-18deg);
}

.journey.is-started .start-screen {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  pointer-events: none;
}

.start-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 340px);
  text-align: center;
}

.start-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.start-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 184px;
  height: 184px;
  margin: 4px 0 2px;
  border: 1px solid rgba(240, 199, 106, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 248, 232, 0.16), rgba(255, 248, 232, 0.03) 44%, transparent 68%),
    rgba(5, 12, 20, 0.36);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.34),
    0 0 42px rgba(240, 199, 106, 0.16);
}

.start-emblem strong {
  color: rgba(255, 248, 232, 0.98);
  font-family: Arial, sans-serif;
  font-size: 5.4rem;
  font-weight: 900;
  line-height: 0.95;
  text-shadow: 0 0 24px rgba(240, 199, 106, 0.7);
}

.start-emblem span {
  position: absolute;
  right: 24px;
  bottom: 42px;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(240, 199, 106, 0.7);
}

.start-content h1 {
  margin: 6px 0 0;
  font-size: 1.62rem;
  line-height: 1.15;
  font-weight: 900;
}

.start-subtitle {
  margin: 0 0 12px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.start-button {
  display: inline-grid;
  place-items: center;
  min-width: 136px;
  height: 48px;
  padding: 0 28px;
  border: 1px solid rgba(240, 199, 106, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(240, 199, 106, 0.96), rgba(103, 214, 192, 0.72)),
    rgba(255, 248, 232, 0.12);
  color: #07111c;
  font-size: 1rem;
  font-weight: 900;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(240, 199, 106, 0.2);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.start-button:active {
  transform: translateY(1px) scale(0.99);
}

@keyframes startRing {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes ambientDrift {
  from {
    transform: translate3d(-2vw, 1vh, 0) scale(0.95);
  }
  to {
    transform: translate3d(3vw, -2vh, 0) scale(1.08);
  }
}

.topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(5px + var(--safe-top-compact)) 16px 2px;
  pointer-events: none;
}

.brand {
  display: grid;
  gap: 2px;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.brand span {
  color: var(--gold);
  font-size: 0.66rem;
  font-weight: 800;
}

.brand strong {
  font-size: 0.86rem;
  font-weight: 900;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  pointer-events: auto;
}

.icon-button span {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 900;
}

.music-icon {
  display: block;
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.music-icon path,
.music-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.music-toggle.is-off {
  opacity: 0.72;
}

.music-toggle.is-off::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #fff8ec;
  box-shadow: 0 0 0 1px rgba(7, 17, 28, 0.55);
  transform: rotate(-42deg);
  transform-origin: center;
}

.timeline-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(45px + var(--safe-top-compact));
  z-index: 5;
  padding: 0 18px;
  pointer-events: none;
}

.timeline-years {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
}

.timeline-track {
  height: 3px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.timeline-track b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--blue));
  transition: width 420ms cubic-bezier(0.22, 0.8, 0.26, 1);
}

.stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(205px, 28svh) min-content minmax(148px, 1fr);
  gap: 10px;
  height: calc(100svh - 208px - var(--safe-top) - var(--safe-bottom));
  min-height: 480px;
  padding: 0 18px 8px;
}

.visual-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.14), transparent 15rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  isolation: isolate;
}

.visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
  opacity: 0.55;
}

.story-copy {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 0;
}

.phase,
.year-line,
.narration,
.meaning {
  margin: 0;
}

.phase {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(240, 199, 106, 0.34);
  border-radius: 999px;
  color: #ffe4a3;
  background: rgba(240, 199, 106, 0.11);
  font-size: 0.72rem;
  font-weight: 800;
}

.year-line {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--gold);
}

.year-line span {
  color: rgba(255, 248, 236, 0.5);
  font-size: 0.8rem;
  font-weight: 800;
}

.year-line strong {
  font-size: clamp(1.85rem, 9.4vw, 3.2rem);
  line-height: 0.92;
  font-weight: 950;
}

h1 {
  margin: 0;
  font-size: clamp(1.18rem, 5.9vw, 2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.narration {
  color: rgba(255, 248, 236, 0.84);
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(0.86rem, 3.55vw, 0.98rem);
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.meaning {
  color: var(--muted);
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.76rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.photo-panel {
  display: grid;
  grid-template-columns: 38% 1fr;
  grid-template-rows: minmax(0, 1fr) 34px;
  gap: 10px;
  min-height: 0;
}

.hero-photo {
  position: relative;
  grid-row: 1 / 3;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.hero-photo span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  padding: 24px 9px 8px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.25;
  text-align: left;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  min-height: 0;
}

.thumb {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.thumb.is-active {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 48px;
  object-fit: cover;
}

.save-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 1px solid rgba(240, 199, 106, 0.35);
  border-radius: 999px;
  color: #ffe4a3;
  background: rgba(240, 199, 106, 0.11);
  font-size: 0.78rem;
  font-weight: 900;
}

.controls {
  position: absolute;
  z-index: 10;
  left: 18px;
  right: 18px;
  bottom: calc(14px + var(--safe-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.hold-button,
.progress-orb {
  pointer-events: auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.hold-button {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.arrow-icon {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
  color: var(--ink);
}

.arrow-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.hold-right {
  background: linear-gradient(145deg, rgba(240, 199, 106, 0.34), rgba(103, 214, 192, 0.18));
}

.progress-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.progress-orb svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  rotate: -90deg;
}

.progress-orb circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.progress-orb circle:first-child {
  stroke: rgba(255, 255, 255, 0.14);
}

#holdRing {
  stroke: var(--gold);
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  transition: stroke-dashoffset 80ms linear;
}

.progress-orb small {
  color: rgba(255, 248, 236, 0.8);
  width: 56px;
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.event-shell {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
}

.visual-canvas-mode {
  background: #05080d;
}

.narrative-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.narrative-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 6;
  margin: 0;
  color: rgba(255, 248, 236, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.38;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
  animation: captionRise 680ms 980ms ease-out both;
}

@keyframes captionRise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.real-scene {
  overflow: hidden;
  perspective: 900px;
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 221, 144, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(22, 38, 49, 0.96), rgba(4, 10, 16, 0.98));
}

.real-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.archive-desk-scene {
  place-items: stretch;
  padding: 0;
}

.scene-window {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 24px;
  height: 38%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px 12px 4px 4px;
  background:
    linear-gradient(180deg, rgba(137, 196, 222, 0.54), rgba(38, 80, 105, 0.22)),
    #102c3a;
  box-shadow: inset 0 -18px 50px rgba(0, 0, 0, 0.22);
  animation: sceneFloatIn 820ms ease-out both;
}

.scene-window::before,
.scene-window::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
}

.scene-window::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.scene-window::after {
  left: 0;
  right: 0;
  top: 48%;
  height: 1px;
}

.window-sun {
  position: absolute;
  right: 22px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffd98a;
  box-shadow: 0 0 46px rgba(255, 217, 138, 0.74);
  animation: sunGlow 1800ms ease-in-out infinite alternate;
}

.window-building {
  position: absolute;
  bottom: 0;
  width: 38px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0 3px, transparent 3px 10px),
    linear-gradient(180deg, #29475c, #132837);
  box-shadow: 0 -12px 28px rgba(255, 255, 255, 0.08);
}

.building-a {
  left: 20px;
  height: 64px;
}

.building-b {
  left: 72px;
  height: 94px;
}

.building-c {
  right: 90px;
  height: 76px;
}

.sunbeam {
  position: absolute;
  z-index: 1;
  right: 24px;
  top: 52px;
  width: 76%;
  height: 32%;
  background: linear-gradient(105deg, rgba(255, 224, 150, 0.32), transparent 62%);
  transform-origin: right top;
  transform: skewX(-14deg);
  opacity: 0;
  animation: beamSweep 1500ms 420ms ease-out both;
}

.beam-b {
  top: 94px;
  width: 64%;
  animation-delay: 660ms;
}

.archive-table {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54%;
  z-index: 2;
  border-top: 1px solid rgba(255, 221, 153, 0.18);
  background:
    linear-gradient(120deg, rgba(255, 227, 173, 0.2), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 56px),
    linear-gradient(180deg, #6a4932, #261b15);
  transform: rotateX(58deg) translateY(22px);
  transform-origin: bottom center;
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.32);
  animation: tableRise 900ms 160ms ease-out both;
}

.table-map {
  position: absolute;
  left: 50%;
  top: 22%;
  width: min(68vw, 260px);
  height: 126px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 28% 42%, rgba(54, 99, 114, 0.28), transparent 17%),
    radial-gradient(circle at 63% 52%, rgba(54, 99, 114, 0.2), transparent 22%),
    linear-gradient(180deg, #fff7e6, #d8c8aa);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%) rotate(-4deg);
}

.table-card {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 74px;
  height: 50px;
  border: 4px solid #f7efe0;
  border-bottom-width: 12px;
  border-radius: 3px;
  color: #102236;
  background: linear-gradient(135deg, #8bb9c6, #f0c76a);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  font-size: 0.66rem;
  font-weight: 950;
  animation: paperSettle 950ms ease-out both;
}

.card-a {
  left: 16%;
  top: 18%;
  rotate: -11deg;
}

.card-b {
  right: 18%;
  top: 28%;
  rotate: 8deg;
  animation-delay: 120ms;
}

.card-c {
  left: 38%;
  bottom: 15%;
  rotate: 3deg;
  animation-delay: 230ms;
}

.route-thread {
  position: absolute;
  z-index: 4;
  left: 25%;
  top: 42%;
  width: 48%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform-origin: left center;
  transform: rotate(-8deg) scaleX(0);
  animation: threadDraw 1000ms 860ms ease-out both;
}

.route-pin {
  position: absolute;
  z-index: 5;
  width: 12px;
  height: 12px;
  border: 2px solid #fff8ec;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 16px rgba(223, 110, 95, 0.8);
  animation: dotPop 540ms ease-out both;
}

.pin-a {
  left: 24%;
  top: 38%;
  animation-delay: 740ms;
}

.pin-b {
  right: 26%;
  top: 30%;
  animation-delay: 1200ms;
}

.anniversary-object {
  position: absolute;
  right: 24px;
  bottom: 42px;
  z-index: 5;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 232, 164, 0.58);
  border-radius: 50%;
  color: #fff3c7;
  background:
    radial-gradient(circle, rgba(240, 199, 106, 0.32), transparent 58%),
    rgba(11, 18, 24, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  animation: objectLift 900ms 760ms ease-out both;
}

.anniversary-object b {
  font-size: 2.15rem;
  line-height: 1;
}

.anniversary-object span {
  position: absolute;
  bottom: 22px;
  color: var(--gold);
  font-size: 0.56rem;
  font-weight: 950;
}

.signing-room-scene {
  padding: 0;
}

.room-wall {
  position: absolute;
  inset: 0 0 42%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 52px 100%,
    linear-gradient(180deg, #20384d, #0d1c2b);
}

.wall-panel {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(70vw, 260px);
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(11, 23, 34, 0.64);
  transform: translateX(-50%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.wall-emblem {
  position: absolute;
  left: 50%;
  bottom: 43px;
  color: rgba(255, 248, 236, 0.82);
  font-size: 0.82rem;
  font-weight: 950;
  transform: translateX(-50%);
}

.signing-table {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -16px;
  height: 58%;
  z-index: 2;
  border-radius: 50% 50% 0 0 / 24% 24% 0 0;
  background:
    linear-gradient(135deg, rgba(255, 230, 170, 0.2), transparent 40%),
    linear-gradient(180deg, #7c5338, #2b1a12);
  box-shadow: 0 -22px 60px rgba(0, 0, 0, 0.38);
  transform: rotateX(58deg);
  transform-origin: bottom center;
  animation: tableRise 820ms 120ms ease-out both;
}

.nameplate {
  position: absolute;
  top: 20%;
  z-index: 5;
  padding: 5px 10px;
  border-radius: 4px;
  color: #23190c;
  background: #f3dfb5;
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.22);
  font-size: 0.62rem;
  font-weight: 950;
  transform: rotateX(-52deg);
}

.plate-left {
  left: 17%;
}

.plate-right {
  right: 17%;
}

.mou-document {
  position: absolute;
  left: 50%;
  top: 19%;
  z-index: 4;
  width: min(62vw, 240px);
  height: 150px;
  padding: 20px 18px;
  border-radius: 5px;
  color: #182536;
  background: linear-gradient(180deg, #fffaf0, #e4d6bf);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%) rotateX(-50deg) rotate(-2deg);
  animation: documentSlideIn 780ms 360ms ease-out both;
}

.mou-document h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.mou-document i {
  display: block;
  width: 78%;
  height: 6px;
  margin: 8px 0;
  border-radius: 999px;
  background: rgba(24, 37, 54, 0.16);
}

.mou-document i:nth-of-type(2) {
  width: 92%;
}

.mou-document i:nth-of-type(3) {
  width: 68%;
}

.signature-line {
  position: absolute;
  left: 18px;
  bottom: 24px;
  width: 90px;
  height: 2px;
  background: #182536;
  transform-origin: left center;
  animation: signDraw 900ms 1050ms ease-out both;
}

.signed-seal {
  position: absolute;
  right: 16px;
  bottom: 15px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid rgba(223, 82, 72, 0.82);
  border-radius: 50%;
  color: rgba(223, 82, 72, 0.9);
  font-size: 0.62rem;
  font-weight: 950;
  rotate: -12deg;
  opacity: 0;
  animation: sealDrop 520ms 1400ms cubic-bezier(0.2, 1.4, 0.2, 1) both;
}

.pen-stroke {
  position: absolute;
  left: 57%;
  top: 48%;
  z-index: 7;
  width: 86px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111, #d8c8aa 76%, #222);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
  transform: rotate(-24deg) rotateX(-50deg);
  transform-origin: 12px center;
  animation: penWrite 1180ms 820ms ease-in-out both;
}

.signing-hand {
  position: absolute;
  left: 66%;
  top: 36%;
  z-index: 6;
  width: 46px;
  height: 32px;
  border-radius: 999px 999px 14px 14px;
  background: linear-gradient(135deg, #e0b08d, #8a5b43);
  transform: rotate(-24deg) rotateX(-50deg);
  animation: handWrite 1180ms 820ms ease-in-out both;
}

.conference-hall-scene {
  padding: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(87, 157, 211, 0.28), transparent 34%),
    linear-gradient(180deg, #101d2d, #050910);
}

.hall-screen {
  position: absolute;
  left: 50%;
  top: 34px;
  z-index: 2;
  width: min(72vw, 290px);
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(105, 178, 230, 0.34);
  border-radius: 10px;
  color: #dcefff;
  background:
    linear-gradient(135deg, rgba(45, 106, 156, 0.78), rgba(12, 25, 42, 0.96));
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.36),
    0 0 42px rgba(49, 129, 207, 0.2);
  transform: translateX(-50%);
  animation: screenWake 900ms ease-out both;
}

.hall-screen b {
  font-size: 2.1rem;
  line-height: 0.9;
}

.hall-screen span {
  font-size: 0.72rem;
  font-weight: 900;
}

.hall-podium {
  position: absolute;
  left: 50%;
  top: 148px;
  z-index: 3;
  width: 84px;
  height: 64px;
  border-radius: 8px 8px 4px 4px;
  background:
    linear-gradient(180deg, rgba(240, 199, 106, 0.2), transparent),
    #56422e;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
  animation: podiumIn 760ms 380ms ease-out both;
}

.hall-podium span {
  position: absolute;
  left: 50%;
  top: -20px;
  width: 2px;
  height: 26px;
  background: #dcefff;
  transform: rotate(-12deg);
}

.hall-seats {
  position: absolute;
  left: 50%;
  right: 0;
  bottom: 42px;
  z-index: 2;
  width: min(92vw, 380px);
  height: 210px;
  transform: translateX(-50%) rotateX(54deg);
  transform-origin: bottom center;
}

.hall-seat {
  position: absolute;
  left: calc(9% + var(--col) * 10.4%);
  top: calc(12% + var(--row) * 20%);
  width: 18px;
  height: 14px;
  border-radius: 10px 10px 4px 4px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.28);
  animation: seatLight 1200ms ease-out both;
  animation-delay: calc(var(--i) * 32ms + 420ms);
}

.approval-card {
  position: absolute;
  right: 26px;
  top: 184px;
  z-index: 5;
  width: 116px;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(223, 110, 95, 0.5);
  border-radius: 6px;
  color: #fff8ec;
  background: rgba(64, 24, 25, 0.78);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
  transform: rotate(5deg);
  animation: approvalStampIn 620ms 1500ms cubic-bezier(0.2, 1.4, 0.2, 1) both;
}

.approval-card b {
  color: #ffb29f;
  font-size: 0.88rem;
}

.approval-card span {
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.64rem;
  font-weight: 900;
}

.unveiling-stage-scene {
  padding: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 220, 150, 0.22), transparent 38%),
    linear-gradient(180deg, #2f171b, #081018 68%);
}

.ceremony-wall {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50px;
  bottom: 108px;
  z-index: 2;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(180deg, #5c2630, #1d2730);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 30px 70px rgba(0, 0, 0, 0.42);
}

.real-plaque {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(68vw, 280px);
  min-height: 116px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid rgba(240, 199, 106, 0.62);
  border-radius: 8px;
  color: #fff2c4;
  background:
    linear-gradient(135deg, rgba(240, 199, 106, 0.34), rgba(255, 255, 255, 0.06)),
    #132236;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.38),
    inset 0 0 28px rgba(255, 232, 160, 0.08);
  transform: translate(-50%, -50%);
  animation: plaqueReveal 880ms 760ms ease-out both;
}

.real-plaque b,
.real-plaque span {
  display: block;
  text-align: center;
}

.real-plaque b {
  font-size: 1.05rem;
}

.real-plaque span {
  color: var(--gold);
  font-size: 1.7rem;
  font-weight: 950;
}

.plaque-ribbon {
  position: absolute;
  top: 0;
  z-index: 4;
  width: 51%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #bf3341, #60151f);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  animation: ribbonPullLeft 1250ms 360ms cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

.ribbon-left {
  left: 0;
}

.ribbon-right {
  right: 0;
  animation-name: ribbonPullRight;
}

.stage-light {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 170px;
  height: 330px;
  background: linear-gradient(180deg, rgba(255, 222, 154, 0.42), transparent 72%);
  opacity: 0;
  filter: blur(1px);
  transform-origin: top center;
  animation: lightDrop 1000ms 600ms ease-out both;
}

.left-light {
  left: -12px;
  rotate: -18deg;
}

.right-light {
  right: -12px;
  rotate: 18deg;
}

.ceremony-crowd {
  position: absolute;
  left: 50%;
  bottom: 52px;
  z-index: 5;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.ceremony-crowd span {
  width: 18px;
  height: 44px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #e9c29e 0 24%, #263a52 24% 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
  animation: crowdIn 660ms ease-out both;
}

.ceremony-crowd span:nth-child(2n) {
  height: 50px;
  background: linear-gradient(180deg, #d4a383 0 24%, #654037 24% 100%);
}

.camera-flash {
  position: absolute;
  z-index: 7;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), transparent 68%);
  opacity: 0;
  animation: flashPop 2300ms 1100ms ease-in-out infinite;
}

.flash-a {
  left: 26px;
  bottom: 116px;
}

.flash-b {
  right: 42px;
  top: 72px;
  animation-delay: 1550ms;
}

.boardroom-scene {
  padding: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 218, 148, 0.18), transparent 34%),
    linear-gradient(180deg, #172331, #060b12);
}

.boardroom-screen {
  position: absolute;
  left: 50%;
  top: 34px;
  z-index: 1;
  width: min(74vw, 300px);
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 199, 106, 0.28);
  border-radius: 10px;
  color: rgba(255, 248, 236, 0.84);
  background: linear-gradient(135deg, rgba(26, 57, 80, 0.82), rgba(8, 17, 26, 0.94));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
  font-size: 0.9rem;
  font-weight: 950;
  transform: translateX(-50%);
  animation: screenWake 760ms ease-out both;
}

.boardroom-table {
  position: absolute;
  left: 50%;
  bottom: 88px;
  z-index: 3;
  width: min(88vw, 360px);
  height: 250px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(240, 199, 106, 0.22), transparent 44%),
    linear-gradient(180deg, #6c4a32, #251912);
  box-shadow:
    0 28px 54px rgba(0, 0, 0, 0.44),
    inset 0 0 0 1px rgba(255, 232, 190, 0.14);
  transform: translateX(-50%) rotateX(58deg);
  transform-origin: bottom center;
  animation: tableRise 850ms 160ms ease-out both;
}

.delegate {
  position: absolute;
  z-index: 4;
  left: calc(50% - 9px);
  top: calc(50% - 14px);
  width: 18px;
  height: 38px;
  border-radius: 999px 999px 7px 7px;
  background: linear-gradient(180deg, #d9ad8b 0 27%, #223a52 27% 100%);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.32);
  transform: rotate(calc(var(--i) * 36deg)) translateY(-116px) rotateX(-58deg);
  animation: delegateIn 900ms ease-out both;
  animation-delay: calc(var(--i) * 70ms + 320ms);
}

.mic {
  position: absolute;
  z-index: 5;
  left: calc(50% - 3px);
  top: calc(50% - 3px);
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(240, 199, 106, 0.6);
  transform: rotate(calc(var(--i) * 60deg + 18deg)) translateY(-62px) rotateX(-58deg);
  animation: micGlow 1200ms ease-out both;
  animation-delay: calc(var(--i) * 90ms + 980ms);
}

.meeting-doc {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: 116px;
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 6px;
  color: #172434;
  background: linear-gradient(180deg, #fff7e6, #d7c4a6);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%) rotateX(-58deg);
  animation: documentSlideIn 760ms 940ms ease-out both;
}

.meeting-doc b,
.meeting-doc span {
  display: block;
  text-align: center;
}

.meeting-doc b {
  color: #1b3854;
  font-size: 0.64rem;
}

.meeting-doc span {
  color: rgba(23, 36, 52, 0.72);
  font-size: 0.58rem;
  font-weight: 900;
}

.real-note {
  bottom: 16px;
  width: min(82vw, 310px);
  background: rgba(5, 10, 16, 0.9);
}

@keyframes sceneFloatIn {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
  }
}

@keyframes sunGlow {
  to {
    box-shadow: 0 0 68px rgba(255, 217, 138, 0.92);
    transform: scale(1.06);
  }
}

@keyframes beamSweep {
  from {
    opacity: 0;
    transform: translateX(34px) skewX(-14deg);
  }
  to {
    opacity: 1;
  }
}

@keyframes tableRise {
  from {
    opacity: 0;
    transform: rotateX(64deg) translateY(54px);
  }
}

@keyframes paperSettle {
  from {
    opacity: 0;
    transform: translateY(-34px) rotate(-8deg);
  }
}

@keyframes threadDraw {
  to {
    transform: rotate(-8deg) scaleX(1);
  }
}

@keyframes objectLift {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.82);
  }
}

@keyframes documentSlideIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(34px) rotateX(-50deg) rotate(-5deg);
  }
}

@keyframes penWrite {
  0% {
    opacity: 0;
    transform: translate(-42px, -8px) rotate(-24deg) rotateX(-50deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(12px, 8px) rotate(-24deg) rotateX(-50deg);
  }
}

@keyframes handWrite {
  0% {
    opacity: 0;
    transform: translate(-42px, -8px) rotate(-24deg) rotateX(-50deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(12px, 8px) rotate(-24deg) rotateX(-50deg);
  }
}

@keyframes screenWake {
  from {
    opacity: 0;
    filter: brightness(0.4);
    transform: translateX(-50%) translateY(-16px);
  }
}

@keyframes podiumIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(22px);
  }
}

@keyframes approvalStampIn {
  from {
    opacity: 0;
    transform: rotate(5deg) scale(1.42);
  }
}

@keyframes plaqueReveal {
  from {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.92);
  }
}

@keyframes ribbonPullLeft {
  to {
    transform: translateX(-106%);
  }
}

@keyframes ribbonPullRight {
  to {
    transform: translateX(106%);
  }
}

@keyframes lightDrop {
  from {
    opacity: 0;
    transform: translateY(-34px);
  }
  to {
    opacity: 1;
  }
}

@keyframes crowdIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes flashPop {
  0%,
  64%,
  100% {
    opacity: 0;
    transform: scale(0.45);
  }
  70% {
    opacity: 1;
    transform: scale(1.35);
  }
  76% {
    opacity: 0;
    transform: scale(2);
  }
}

@keyframes delegateIn {
  from {
    opacity: 0;
    transform: rotate(calc(var(--i) * 36deg)) translateY(-86px) rotateX(-58deg);
  }
}

@keyframes micGlow {
  from {
    opacity: 0;
    transform: rotate(calc(var(--i) * 60deg + 18deg)) translateY(-46px) rotateX(-58deg);
  }
}

.cinema-scene {
  overflow: hidden;
  isolation: isolate;
  perspective: 1000px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 225, 168, 0.16), transparent 36%),
    radial-gradient(circle at 78% 72%, rgba(60, 158, 192, 0.12), transparent 42%),
    linear-gradient(180deg, #111d27, #05080d 82%);
}

.cinema-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  background:
    radial-gradient(circle at center, transparent 46%, rgba(0, 0, 0, 0.48)),
    linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.film-grain {
  position: absolute;
  inset: 0;
  z-index: 21;
  opacity: 0.085;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 22%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 68%, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle at 42% 82%, #fff 0 1px, transparent 1.5px);
  background-size: 42px 42px, 55px 55px, 63px 63px;
  animation: grainDrift 1600ms steps(2) infinite;
}

.cinema-archive .cinema-window {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  height: 34%;
  border-radius: 14px 14px 5px 5px;
  background:
    linear-gradient(180deg, rgba(115, 170, 194, 0.52), rgba(24, 55, 76, 0.38)),
    #112333;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 22px 48px rgba(0, 0, 0, 0.28);
  animation: cinemaReveal 780ms ease-out both;
}

.cinema-window::before,
.cinema-window::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.13);
}

.cinema-window::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.cinema-window::after {
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
}

.cinema-window span {
  position: absolute;
  bottom: 0;
  width: 34px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0 3px, transparent 3px 11px),
    linear-gradient(180deg, #2c5268, #102635);
}

.cinema-window span:nth-child(1) {
  left: 34px;
  height: 64px;
}

.cinema-window span:nth-child(2) {
  left: 88px;
  height: 96px;
}

.cinema-window span:nth-child(3) {
  right: 74px;
  height: 78px;
}

.cinema-beam {
  position: absolute;
  right: -12%;
  top: 58px;
  z-index: 2;
  width: 96%;
  height: 42%;
  background: linear-gradient(105deg, rgba(255, 220, 145, 0.34), transparent 62%);
  filter: blur(1px);
  transform: skewX(-14deg);
  opacity: 0;
  animation: cinemaBeam 1700ms 320ms ease-out both;
}

.cinema-desk {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -26px;
  height: 50%;
  z-index: 3;
  border-radius: 50% 50% 0 0 / 14% 14% 0 0;
  background:
    linear-gradient(120deg, rgba(255, 225, 160, 0.24), transparent 38%),
    linear-gradient(180deg, #70513b, #241811);
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.42);
  transform: rotateX(61deg);
  transform-origin: bottom center;
  animation: cinemaDeskIn 900ms 160ms ease-out both;
}

.cinema-paper {
  position: absolute;
  z-index: 4;
  width: 116px;
  height: 78px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(221, 205, 171, 0.94)),
    #efe3cb;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
  animation: paperGlide 1000ms ease-out both;
}

.paper-a {
  left: 20%;
  top: 24%;
  rotate: -9deg;
}

.paper-b {
  left: 42%;
  top: 14%;
  rotate: 4deg;
  animation-delay: 150ms;
}

.paper-c {
  right: 20%;
  top: 32%;
  rotate: 11deg;
  animation-delay: 260ms;
}

.cinema-thread {
  position: absolute;
  left: 28%;
  top: 48%;
  z-index: 7;
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 199, 106, 0.92), rgba(103, 214, 192, 0.85));
  transform-origin: left center;
  transform: rotate(-7deg) scaleX(0);
  animation: threadDraw 900ms 900ms ease-out both;
}

.cinema-year-mark {
  position: absolute;
  right: 30px;
  bottom: 54px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(240, 199, 106, 0.45);
  border-radius: 50%;
  color: #fff0bd;
  background: rgba(6, 13, 20, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  animation: markFloat 900ms 680ms ease-out both;
}

.cinema-year-mark b {
  font-size: 2.3rem;
}

.cinema-year-mark span {
  position: absolute;
  bottom: 20px;
  color: var(--gold);
  font-size: 0.58rem;
  font-weight: 950;
}

.cinema-signing {
  background:
    radial-gradient(circle at 50% 24%, rgba(240, 199, 106, 0.12), transparent 30%),
    linear-gradient(180deg, #172638, #070b12 82%);
}

.backdrop-glow {
  position: absolute;
  left: 50%;
  top: 28px;
  width: min(76vw, 310px);
  height: 126px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(75, 125, 165, 0.38), rgba(8, 18, 28, 0.84));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 26px 60px rgba(0, 0, 0, 0.36);
  transform: translateX(-50%);
  animation: cinemaReveal 780ms ease-out both;
}

.cinema-table {
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -20px;
  height: 54%;
  background:
    linear-gradient(115deg, rgba(255, 225, 160, 0.22), transparent 36%),
    linear-gradient(180deg, #755038, #241711);
  box-shadow: 0 -28px 70px rgba(0, 0, 0, 0.46);
  transform: rotateX(60deg);
  transform-origin: bottom center;
  animation: cinemaDeskIn 880ms 100ms ease-out both;
}

.table-edge {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 15%;
  height: 2px;
  background: rgba(255, 232, 180, 0.38);
}

.table-reflection {
  position: absolute;
  left: 24%;
  right: 24%;
  top: 26%;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 230, 170, 0.2), transparent 70%);
}

.cinema-document {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 5;
  width: min(66vw, 250px);
  height: 160px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff8e9, #dcc8a8);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%) rotateX(58deg) rotate(-2deg);
  animation: docSettle 820ms 360ms ease-out both;
}

.cinema-document span {
  position: absolute;
  left: 24px;
  height: 7px;
  border-radius: 999px;
  background: rgba(30, 43, 58, 0.16);
}

.cinema-document span:nth-child(1) {
  top: 32px;
  width: 72%;
}

.cinema-document span:nth-child(2) {
  top: 50px;
  width: 84%;
}

.cinema-document span:nth-child(3) {
  top: 68px;
  width: 56%;
}

.cinema-document i {
  position: absolute;
  left: 26px;
  bottom: 34px;
  width: 92px;
  height: 2px;
  background: #26384a;
  transform-origin: left center;
  animation: signDraw 1000ms 940ms ease-out both;
}

.cinema-pen {
  position: absolute;
  left: 56%;
  top: 50%;
  z-index: 8;
  width: 86px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #111, #d9c397 74%, #0f0f0f);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.42);
  transform: rotate(-22deg);
  animation: penSweep 1200ms 820ms ease-in-out both;
}

.soft-nameplate {
  position: absolute;
  top: 58%;
  z-index: 4;
  width: 78px;
  height: 18px;
  border-radius: 4px;
  background: rgba(245, 219, 170, 0.72);
  filter: blur(0.2px);
  transform: rotateX(60deg);
}

.left-plate {
  left: 18%;
}

.right-plate {
  right: 18%;
}

.cinema-hall {
  background:
    radial-gradient(circle at 50% 10%, rgba(55, 124, 190, 0.24), transparent 32%),
    linear-gradient(180deg, #101b2a, #04070d 86%);
}

.hall-light {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 78%;
  height: 58%;
  background: radial-gradient(ellipse at top, rgba(116, 183, 235, 0.36), transparent 72%);
  transform: translateX(-50%);
  opacity: 0;
  animation: lightFade 1200ms 320ms ease-out both;
}

.cinema-screen {
  position: absolute;
  left: 50%;
  top: 42px;
  z-index: 3;
  width: min(72vw, 290px);
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: rgba(235, 248, 255, 0.92);
  background: linear-gradient(135deg, rgba(40, 93, 142, 0.92), rgba(9, 20, 35, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(180, 220, 255, 0.18),
    0 24px 58px rgba(0, 0, 0, 0.42);
  transform: translateX(-50%);
  animation: screenWake 860ms ease-out both;
}

.cinema-screen b {
  font-size: 2rem;
  line-height: 0.9;
}

.cinema-screen span {
  font-size: 0.7rem;
  font-weight: 900;
}

.cinema-podium {
  position: absolute;
  left: 50%;
  top: 154px;
  z-index: 4;
  width: 78px;
  height: 58px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(240, 199, 106, 0.2), transparent), #4d3928;
  transform: translateX(-50%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.4);
  animation: podiumIn 720ms 340ms ease-out both;
}

.seat-field {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  width: min(96vw, 390px);
  height: 240px;
  transform: translateX(-50%) rotateX(58deg);
  transform-origin: bottom center;
}

.cinema-seat {
  position: absolute;
  left: calc(7% + var(--col) * 10.8%);
  top: calc(7% + var(--row) * 17.5%);
  width: 20px;
  height: 13px;
  border-radius: 9px 9px 4px 4px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.32);
  animation: seatLight 1150ms ease-out both;
  animation-delay: calc(var(--i) * 26ms + 420ms);
}

.approval-glow {
  position: absolute;
  right: 40px;
  top: 190px;
  z-index: 6;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid rgba(223, 110, 95, 0.78);
  box-shadow: 0 0 34px rgba(223, 110, 95, 0.54);
  transform: rotate(-12deg) scale(0);
  animation: stampPulse 620ms 1500ms cubic-bezier(0.2, 1.4, 0.2, 1) both;
}

.cinema-unveiling {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 219, 149, 0.2), transparent 34%),
    linear-gradient(180deg, #2e1419, #05080d 82%);
}

.stage-beam {
  position: absolute;
  top: -20px;
  z-index: 1;
  width: 190px;
  height: 360px;
  background: linear-gradient(180deg, rgba(255, 223, 157, 0.34), transparent 76%);
  opacity: 0;
  filter: blur(1.5px);
  transform-origin: top center;
  animation: lightFade 900ms 480ms ease-out both;
}

.beam-left {
  left: -28px;
  rotate: -17deg;
}

.beam-right {
  right: -28px;
  rotate: 17deg;
}

.plaque-field {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 62px;
  bottom: 116px;
  z-index: 3;
  overflow: hidden;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px) 0 0 / 46px 100%,
    linear-gradient(180deg, #593038, #182532);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 28px 66px rgba(0, 0, 0, 0.44);
}

.cinema-plaque {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: min(68vw, 280px);
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 20px;
  border: 1px solid rgba(240, 199, 106, 0.55);
  border-radius: 9px;
  color: #fff4ca;
  background:
    linear-gradient(135deg, rgba(240, 199, 106, 0.26), rgba(255, 255, 255, 0.04)),
    #132335;
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.42),
    inset 0 0 28px rgba(255, 232, 160, 0.08);
  transform: translate(-50%, -50%);
  animation: plaqueFade 920ms 760ms ease-out both;
}

.cinema-plaque b,
.cinema-plaque span {
  display: block;
  text-align: center;
}

.cinema-plaque b {
  font-size: 0.95rem;
}

.cinema-plaque span {
  color: var(--gold);
  font-size: 1.55rem;
  font-weight: 950;
}

.curtain-slice {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 51%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent 28%),
    linear-gradient(180deg, #bd3341, #55151c);
  animation: curtainSlideLeft 1300ms 320ms cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

.curtain-left {
  left: 0;
}

.curtain-right {
  right: 0;
  animation-name: curtainSlideRight;
}

.audience-shadow {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: 7;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.audience-shadow span {
  width: 18px;
  height: 42px;
  border-radius: 999px 999px 8px 8px;
  background: rgba(4, 8, 12, 0.68);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
  animation: silhouetteIn 720ms ease-out both;
}

.audience-shadow span:nth-child(2n) {
  height: 50px;
}

.flash-point {
  position: absolute;
  z-index: 8;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), transparent 68%);
  opacity: 0;
  animation: flashPop 2200ms 1120ms ease-in-out infinite;
}

.flash-one {
  left: 28px;
  bottom: 128px;
}

.flash-two {
  right: 44px;
  top: 88px;
  animation-delay: 1600ms;
}

.cinema-boardroom {
  background:
    radial-gradient(circle at 50% 8%, rgba(240, 199, 106, 0.13), transparent 34%),
    linear-gradient(180deg, #172330, #05080d 84%);
}

.boardroom-wall {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 38px;
  height: 86px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(43, 82, 111, 0.64), rgba(8, 16, 24, 0.9));
  box-shadow:
    inset 0 0 0 1px rgba(240, 199, 106, 0.16),
    0 24px 54px rgba(0, 0, 0, 0.38);
  animation: cinemaReveal 760ms ease-out both;
}

.oval-table {
  position: absolute;
  left: 50%;
  bottom: 96px;
  z-index: 4;
  width: min(88vw, 360px);
  height: 238px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 44%, rgba(240, 199, 106, 0.2), transparent 42%),
    linear-gradient(180deg, #6f4c33, #241711);
  box-shadow:
    0 30px 58px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 230, 185, 0.12);
  transform: translateX(-50%) rotateX(60deg);
  transform-origin: bottom center;
  animation: cinemaDeskIn 880ms 160ms ease-out both;
}

.table-mic {
  position: absolute;
  left: calc(50% - 3px);
  top: calc(50% - 3px);
  width: 6px;
  height: 25px;
  border-radius: 999px;
  background: rgba(240, 199, 106, 0.92);
  box-shadow: 0 0 18px rgba(240, 199, 106, 0.54);
  transform: rotate(calc(var(--i) * 45deg)) translateY(-78px) rotateX(-60deg);
  animation: micGlow 1200ms ease-out both;
  animation-delay: calc(var(--i) * 80ms + 640ms);
}

.center-document {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 110px;
  height: 68px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff8e9, #d7c4a6);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%) rotateX(-60deg);
  animation: docSettle 780ms 900ms ease-out both;
}

.cinema-note {
  bottom: 18px;
  width: min(82vw, 310px);
  background: rgba(4, 9, 14, 0.9);
}

@keyframes grainDrift {
  to {
    transform: translate(3px, -2px);
  }
}

@keyframes cinemaReveal {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
  }
}

@keyframes cinemaBeam {
  from {
    opacity: 0;
    transform: translateX(42px) skewX(-14deg);
  }
  to {
    opacity: 1;
  }
}

@keyframes cinemaDeskIn {
  from {
    opacity: 0;
    transform: rotateX(66deg) translateY(52px);
  }
}

@keyframes paperGlide {
  from {
    opacity: 0;
    transform: translateY(-38px) rotate(-6deg);
  }
}

@keyframes markFloat {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.86);
  }
}

@keyframes docSettle {
  from {
    opacity: 0;
    transform: translate(-50%, -38%) rotateX(58deg) rotate(-5deg);
  }
}

@keyframes penSweep {
  0% {
    opacity: 0;
    transform: translate(-42px, -8px) rotate(-22deg);
  }
  34% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate(16px, 10px) rotate(-22deg);
  }
}

@keyframes lightFade {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
  }
}

@keyframes stampPulse {
  to {
    transform: rotate(-12deg) scale(1);
  }
}

@keyframes plaqueFade {
  from {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.94);
  }
}

@keyframes curtainSlideLeft {
  to {
    transform: translateX(-105%);
  }
}

@keyframes curtainSlideRight {
  to {
    transform: translateX(105%);
  }
}

@keyframes silhouetteIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

.narrative-network {
  overflow: hidden;
}

.network-line {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 199, 106, 0.05), rgba(240, 199, 106, 0.7), rgba(103, 214, 192, 0.7));
  transform-origin: left center;
  animation: networkGrow 980ms ease-out both;
}

.network-line.line-a {
  rotate: -28deg;
}

.network-line.line-b {
  rotate: 24deg;
  animation-delay: 120ms;
}

.network-line.line-c {
  width: 33%;
  rotate: 154deg;
  animation-delay: 220ms;
}

.network-dot {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(240, 199, 106, 0.46);
  border-radius: 999px;
  color: #ffe4a3;
  background: rgba(7, 17, 28, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  font-size: 0.66rem;
  font-weight: 950;
  animation: dotPop 560ms ease-out both;
}

.dot-shenzhen {
  left: 11%;
  bottom: 22%;
  animation-delay: 120ms;
}

.dot-unesco {
  right: 10%;
  top: 18%;
  animation-delay: 260ms;
}

.dot-world {
  right: 13%;
  bottom: 22%;
  animation-delay: 390ms;
}

@keyframes networkGrow {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
}

.milestone-mark {
  position: relative;
  z-index: 2;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 199, 106, 0.38);
  background:
    radial-gradient(circle, rgba(240, 199, 106, 0.28), transparent 56%),
    rgba(7, 17, 28, 0.78);
  animation: pulseMark 1800ms ease-in-out infinite alternate;
}

.milestone-mark b {
  font-size: 3rem;
  line-height: 1;
}

.milestone-mark span {
  position: absolute;
  bottom: 50px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
}

@keyframes pulseMark {
  from {
    box-shadow: 0 0 0 rgba(240, 199, 106, 0);
  }
  to {
    box-shadow: 0 0 60px rgba(240, 199, 106, 0.32);
  }
}

.doc {
  position: relative;
  z-index: 2;
  width: min(78vw, 330px);
  min-height: 210px;
  padding: 24px 22px;
  border-radius: 5px;
  color: var(--paper-ink);
  background: linear-gradient(180deg, #fffaf1, #eadfcd);
  box-shadow: 0 22px 48px var(--shadow);
  animation: docIn 620ms cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

.doc-chip {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(240, 199, 106, 0.42);
  border-radius: 999px;
  color: #ffe4a3;
  background: rgba(7, 17, 28, 0.82);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
  font-size: 0.68rem;
  font-weight: 950;
  animation: chipIn 620ms ease-out both;
}

.chip-left {
  left: 18px;
  bottom: 72px;
}

.chip-right {
  right: 18px;
  top: 52px;
  animation-delay: 180ms;
}

.field-route {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 240px;
  height: 150px;
  border: 1px dashed rgba(103, 214, 192, 0.34);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  animation: routeIn 900ms 360ms ease-out both;
}

.field-route span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(103, 214, 192, 0.68);
}

.field-route span:nth-child(1) {
  left: 16%;
  top: 72%;
}

.field-route span:nth-child(2) {
  left: 48%;
  top: -4px;
}

.field-route span:nth-child(3) {
  right: 12%;
  bottom: 18%;
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes routeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-12deg) scale(0.72);
  }
}

.doc h3 {
  margin: 0 0 12px;
  color: #20364f;
  font-size: 1.05rem;
}

.doc-line {
  height: 7px;
  margin: 9px 0;
  border-radius: 99px;
  background: rgba(23, 34, 49, 0.15);
}

.signature {
  width: 52%;
  height: 2px;
  margin-top: 28px;
  background: #20364f;
  transform-origin: left center;
  animation: signDraw 900ms 480ms ease-out both;
}

.seal {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 4px solid rgba(223, 110, 95, 0.82);
  border-radius: 50%;
  color: rgba(223, 110, 95, 0.92);
  font-size: 0.72rem;
  font-weight: 950;
  rotate: -12deg;
  opacity: 0;
  animation: sealDrop 500ms 1050ms cubic-bezier(0.2, 1.4, 0.2, 1) both;
}

@keyframes docIn {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(18deg);
  }
}

@keyframes signDraw {
  from {
    transform: scaleX(0);
  }
}

@keyframes sealDrop {
  from {
    opacity: 0;
    transform: scale(1.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.assembly {
  position: relative;
  width: 285px;
  height: 230px;
}

.approval-halo {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 127, 214, 0.18), transparent 62%);
  transform: translate(-50%, -50%);
  animation: approvalPulse 1400ms ease-out infinite alternate;
}

@keyframes approvalPulse {
  from {
    opacity: 0.36;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.seat {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: seatLight 1200ms ease-out both;
  animation-delay: calc(var(--i) * 45ms);
}

@keyframes seatLight {
  70%,
  100% {
    background: var(--gold);
    box-shadow: 0 0 18px rgba(240, 199, 106, 0.72);
  }
}

.resolution {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 132px;
  height: 166px;
  padding: 18px 14px;
  color: var(--paper-ink);
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 16px 34px var(--shadow);
  transform: translate(-50%, -50%);
  animation: approveDoc 820ms 400ms cubic-bezier(0.2, 0.8, 0.24, 1) both;
}

.resolution b {
  display: block;
  color: var(--blue);
  font-size: 1.35rem;
}

.resolution span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 950;
  opacity: 0;
  animation: sealDrop 480ms 1050ms cubic-bezier(0.2, 1.4, 0.2, 1) both;
}

@keyframes approveDoc {
  from {
    opacity: 0;
    transform: translate(-50%, -36%) scale(0.78);
  }
}

.curtains {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
}

.curtains span {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 28%, rgba(0, 0, 0, 0.12)),
    linear-gradient(180deg, #8f2431, #4d111b);
  animation: curtainOpen 1100ms 300ms cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

.curtains span:last-child {
  transform-origin: right center;
  animation-name: curtainOpenRight;
}

@keyframes curtainOpen {
  to {
    transform: translateX(-103%);
  }
}

@keyframes curtainOpenRight {
  to {
    transform: translateX(103%);
  }
}

.plaque {
  position: relative;
  z-index: 2;
  width: min(76vw, 340px);
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(240, 199, 106, 0.6);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(240, 199, 106, 0.24), rgba(255, 255, 255, 0.05)),
    #112235;
  box-shadow: 0 24px 50px var(--shadow);
}

.spotlight {
  position: absolute;
  left: 50%;
  top: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 50% 0%, rgba(240, 199, 106, 0.28), transparent 64%);
  transform: translateX(-50%);
  animation: spotlightIn 900ms 500ms ease-out both;
}

@keyframes spotlightIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-26px);
  }
}

.plaque b {
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

@keyframes quoteIn {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
}

.council-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.mission-rings {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 270px;
  height: 270px;
  transform: translate(-50%, -50%);
}

.mission-rings span {
  position: absolute;
  inset: calc(var(--i, 0) * 18px);
  border: 1px solid rgba(240, 199, 106, 0.22);
  border-radius: 50%;
  animation: ringPulse 1800ms ease-out both;
}

.mission-rings span:nth-child(1) {
  --i: 0;
}

.mission-rings span:nth-child(2) {
  --i: 1;
  animation-delay: 220ms;
}

.mission-rings span:nth-child(3) {
  --i: 2;
  animation-delay: 440ms;
}

@keyframes ringPulse {
  from {
    opacity: 0;
    transform: scale(0.72);
  }
}

.council-table {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.council-table::before {
  content: "";
  position: absolute;
  inset: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(240, 199, 106, 0.2), transparent 62%),
    rgba(7, 17, 28, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  animation: tableIn 760ms cubic-bezier(0.2, 0.8, 0.22, 1) both;
}

@keyframes tableIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
}

.council-seat {
  position: absolute;
  left: calc(50% - 6px);
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(calc(var(--i) * 30deg)) translateY(-104px);
  animation: councilSeatIn 900ms ease-out both;
  animation-delay: calc(var(--i) * 70ms + 240ms);
}

@keyframes councilSeatIn {
  0% {
    opacity: 0;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }
  70%,
  100% {
    opacity: 1;
    background: var(--gold);
    box-shadow: 0 0 18px rgba(240, 199, 106, 0.72);
  }
}

.council-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(240, 199, 106, 0.5);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(7, 17, 28, 0.88);
  transform: translate(-50%, -50%);
  text-align: center;
  animation: coreFocus 680ms 960ms ease-out both;
}

.council-core b,
.council-core span {
  display: block;
}

.council-core b {
  font-size: 0.72rem;
  line-height: 1.08;
}

.council-core span {
  color: rgba(255, 248, 236, 0.76);
  font-size: 0.62rem;
  font-weight: 900;
}

@keyframes coreFocus {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.78);
  }
}

.governance-note {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  width: min(78vw, 290px);
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  color: rgba(255, 248, 236, 0.88);
  background: rgba(7, 17, 28, 0.84);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
  animation: quoteIn 650ms 1280ms ease-out both;
}

.governance-note b {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0;
}

.governance-note p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.flow-map,
.orbit,
.training {
  position: relative;
  width: min(86vw, 390px);
  height: 240px;
}

.map-line {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 190px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transform-origin: left center;
  animation: lineGrow 900ms ease-out both;
}

.map-dot {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: #07111c;
  box-shadow: 0 0 20px rgba(240, 199, 106, 0.6);
  animation: dotPop 520ms ease-out both;
  animation-delay: var(--d);
}

@keyframes lineGrow {
  from {
    transform: scaleX(0) rotate(var(--r));
  }
  to {
    transform: scaleX(1) rotate(var(--r));
  }
}

@keyframes dotPop {
  from {
    opacity: 0;
    transform: scale(0.2);
  }
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 199, 106, 0.55);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(7, 17, 28, 0.82);
  transform: translate(-50%, -50%);
  font-weight: 950;
}

.orbit-card {
  position: absolute;
  width: 86px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(240, 199, 106, 0.38);
  border-radius: 10px;
  color: #ffe4a3;
  background: rgba(7, 17, 28, 0.78);
  box-shadow: 0 14px 28px var(--shadow);
  animation: orbitIn 760ms ease-out both;
  animation-delay: var(--d);
}

.orbit-card span {
  font-size: 0.62rem;
  font-weight: 950;
  text-align: center;
}

@keyframes orbitIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.72);
  }
}

.training {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: center;
}

.course-tile {
  min-height: 66px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  animation: tileIn 580ms ease-out both;
  animation-delay: var(--d);
}

.course-tile b {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
}

.course-tile span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.64rem;
  line-height: 1.25;
}

@keyframes tileIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: max(18px, var(--safe-top)) 16px max(18px, var(--safe-bottom));
  background: #03070d;
  backdrop-filter: none;
}

.modal[hidden] {
  display: none;
}

body.modal-open .topbar,
body.modal-open .timeline-panel,
body.modal-open .controls,
body.viewer-open .topbar,
body.viewer-open .timeline-panel,
body.viewer-open .controls {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  width: min(100%, 520px);
  max-height: 88svh;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(220px, 58svh) minmax(0, auto);
  overflow: hidden;
  border-radius: 14px;
  background: #101820;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.54);
}

.modal-image-stage {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: #05080d;
  cursor: zoom-in;
  touch-action: pan-y;
}

.modal-image-stage.is-swiping {
  cursor: grabbing;
}

.modal-carousel-track {
  position: absolute;
  inset: 0;
  display: grid;
  width: 300%;
  height: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  transform: translate3d(calc(-33.333333% + var(--modal-drag-x, 0px)), 0, 0);
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.22, 1);
  will-change: transform;
}

.modal-image-stage.is-swiping .modal-carousel-track {
  transition: none;
}

.modal-image-stage.is-resetting .modal-carousel-track {
  transition: none;
}

.modal-carousel-pane {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  background: #05080d;
}

.modal-carousel-pane::before {
  content: "";
  position: absolute;
  inset: -20px;
  background-image: var(--modal-pane-bg);
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  opacity: 0.34;
  transform: scale(1.05);
}

.modal-carousel-pane.is-empty::before {
  opacity: 0;
}

.modal-image-stage::before {
  content: "+ 点击查看大图";
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.modal-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.modal-carousel-image.is-empty {
  opacity: 0;
  filter: none;
}

.modal-card figcaption {
  min-height: 0;
  padding: 14px;
}

.modal-card p,
.modal-card h2 {
  margin: 0;
}

#modalMeta {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

#modalTitle {
  margin-top: 4px;
  font-size: 1.1rem;
}

#modalCaption {
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-line;
}

.modal-caption-scroll {
  max-height: min(22svh, 150px);
  margin-top: 8px;
  padding: 0 6px 16px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 199, 106, 0.65) rgba(255, 255, 255, 0.08);
}

.modal-caption-scroll.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.modal-caption-scroll::-webkit-scrollbar {
  width: 4px;
}

.modal-caption-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.modal-caption-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(240, 199, 106, 0.65);
}

#modalDownload {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #161006;
  background: var(--gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  font-size: 0.72rem;
  font-weight: 950;
}

.modal-close,
.modal-step {
  z-index: 52;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(12, 18, 27, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  -webkit-appearance: none;
  appearance: none;
}

.modal-close {
  position: fixed;
  right: 16px;
  top: calc(14px + var(--safe-top));
}

.modal-step {
  position: fixed;
  top: 50%;
  background: var(--modal-step-bg);
  transform: translateY(-50%);
  pointer-events: auto;
}

.modal-step[hidden] {
  display: none;
}

.modal-arrow-icon {
  display: block;
  width: 24px;
  height: 24px;
  overflow: visible;
  color: #fff8ec;
}

.modal-arrow-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.close-icon {
  display: block;
  width: 18px;
  height: 18px;
  overflow: visible;
  color: #fff8ec;
}

.close-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.modal-prev {
  left: 12px;
}

.modal-next {
  right: 12px;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.96);
}

.image-viewer[hidden] {
  display: none;
}

.viewer-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
}

.viewer-stage.is-zoomed {
  cursor: grab;
}

.viewer-stage.is-dragging {
  cursor: grabbing;
}

.viewer-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate3d(var(--zoom-x, 0px), var(--zoom-y, 0px), 0) scale(var(--zoom-scale, 1));
  transform-origin: center center;
  transition: transform 180ms ease;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.viewer-stage.is-dragging img,
.viewer-stage.is-pinching img {
  transition: none;
}

.viewer-close {
  position: fixed;
  right: 16px;
  top: calc(14px + var(--safe-top));
  z-index: 72;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(12, 18, 27, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
  -webkit-appearance: none;
  appearance: none;
}

.viewer-download {
  position: fixed;
  left: 50%;
  bottom: calc(18px + var(--safe-bottom));
  z-index: 72;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  color: #161006;
  background: var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
  font-size: 0.82rem;
  font-weight: 950;
  transform: translateX(-50%);
}

@media (min-width: 760px) {
  .journey {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-height: 710px) {
  .stage {
    grid-template-rows: minmax(170px, 25vh) min-content minmax(118px, 1fr);
    gap: 8px;
  }

  .visual-stage {
    border-radius: 14px;
  }

  .event-shell {
    transform: scale(0.86);
  }

  .milestone-mark {
    width: 180px;
    height: 180px;
  }

  .milestone-mark b {
    font-size: 2.55rem;
  }

  .doc {
    min-height: 160px;
    padding: 16px;
  }

  .doc h3 {
    margin-bottom: 8px;
    font-size: 0.92rem;
  }

  .doc-line {
    height: 5px;
    margin: 7px 0;
  }

  .signature {
    margin-top: 18px;
  }

  .seal {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
  }

  .narration {
    font-size: 0.86rem;
    -webkit-line-clamp: 3;
  }

  .meaning {
    display: none;
  }

  .hold-button {
    width: 54px;
    height: 54px;
  }

  .progress-orb {
    width: 62px;
    height: 62px;
  }
}

.stage {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: var(--immersive-top);
  bottom: 0;
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
}

.visual-stage,
.detail-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  bottom: var(--controls-clearance);
  overflow: hidden;
}

.visual-stage {
  border-radius: 22px;
  transform-origin: top center;
  transition:
    opacity 520ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.22, 1),
    filter 700ms ease;
}

.detail-panel {
  display: grid;
  grid-template-rows: min-content minmax(0, 1fr);
  gap: 12px;
  border-radius: 22px;
  transition:
    opacity 520ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.22, 1);
}

.journey[data-mode="intro"] .visual-stage {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.journey[data-mode="intro"] .detail-panel {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  pointer-events: none;
}

.journey[data-mode="detail"] .visual-stage {
  opacity: 0;
  transform: scale(1.045);
  filter: blur(10px);
  pointer-events: none;
}

.journey[data-mode="detail"] .detail-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.story-copy {
  gap: 7px;
  overflow: visible;
  padding: 6px 2px 0;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.story-copy:focus-visible {
  outline: 2px solid rgba(240, 199, 106, 0.72);
  outline-offset: 4px;
}

.phase {
  margin: 1px 0 0 1px;
  padding: 5px 10px;
  border: 0;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(240, 199, 106, 0.34);
}

.year-line strong {
  font-size: clamp(1.85rem, var(--year-vw), 3.1rem);
}

h1 {
  font-size: clamp(1.25rem, var(--title-vw), 2.05rem);
}

.narration {
  -webkit-line-clamp: 3;
}

.meaning {
  -webkit-line-clamp: 2;
}

.photo-panel {
  min-height: 0;
  display: block;
}

.photo-composition {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.detail-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.photo-open {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #101820;
}

.photo-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 3px;
  padding: 42px 12px 10px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.detail-photo figcaption:focus-visible {
  outline: 2px solid rgba(240, 199, 106, 0.72);
  outline-offset: -4px;
}

.detail-photo figcaption b {
  font-size: 0.8rem;
  font-weight: 950;
}

.detail-photo figcaption span {
  display: block;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  line-height: 1.25;
  max-height: 1.7rem;
}

.caption-more {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  margin-left: 4px;
  padding: 0;
  border: 0;
  color: #ffe4a3;
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.layout-note,
.quote-panel {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(240, 199, 106, 0.32);
  border-radius: 12px;
  background: rgba(7, 17, 28, 0.78);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.layout-note b,
.quote-panel b {
  color: var(--gold);
  font-size: 0.78rem;
}

.layout-note span,
.quote-panel span {
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.72rem;
  line-height: 1.35;
}

.prologue-board .photo-wide {
  position: absolute;
  inset: 0;
}

.prologue-board .note-top {
  left: 14px;
  top: 14px;
  max-width: 190px;
}

.document-board {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.document-board .photo-primary {
  grid-row: 1 / 3;
}

.approval-board {
  display: grid;
  grid-template-rows: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 10px;
}

.approval-board::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 2;
  pointer-events: none;
}

.unveiling-board .photo-hero {
  position: absolute;
  inset: 0;
}

.unveiling-board .photo-float-a,
.unveiling-board .photo-float-b {
  position: absolute;
  z-index: 5;
  width: 38%;
  height: 32%;
  border: 5px solid var(--paper);
  border-radius: 8px;
}

.unveiling-board .photo-float-a {
  right: 10px;
  top: 10px;
}

.unveiling-board .photo-float-b {
  left: 10px;
  bottom: 52px;
  height: 24%;
}

.unveiling-board .photo-float-a figcaption,
.unveiling-board .photo-float-b figcaption {
  display: none;
}

.council-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 0.62fr) minmax(0, 0.38fr);
  gap: 10px;
  box-sizing: border-box;
  padding: 2px 2px 5px;
}

.council-board .photo-main {
  grid-column: 1 / 3;
}

.council-board .quote-panel {
  position: static;
  min-height: 0;
}

.council-board .photo-main .photo-open {
  background: #05080d;
}

.council-board .photo-main .photo-open img {
  object-fit: contain;
}

.event-shell {
  transform: none;
}

.controls {
  bottom: calc(16px + var(--safe-bottom));
}

.progress-orb small {
  font-size: 0.6rem;
}

@media (max-height: 710px) {
  .visual-stage,
  .detail-panel {
    left: 18px;
    right: 18px;
    bottom: var(--controls-clearance);
  }

  .detail-panel {
    gap: 8px;
  }

  .story-copy {
    gap: 5px;
  }

  .phase {
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .year-line strong {
    font-size: clamp(1.65rem, var(--compact-year-vw), 2.5rem);
  }

  h1 {
    font-size: clamp(1.08rem, var(--compact-title-vw), 1.55rem);
  }

  .narration {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }

  .meaning {
    display: none;
  }

  .detail-photo figcaption {
    padding: 34px 10px 8px;
  }

  .detail-photo figcaption span {
    -webkit-line-clamp: 1;
  }

}
