@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --color-paper: #ede4cd;
  --color-paper-deep: #ddcfa9;
  --color-ink: #2a2420;
  --color-ink-soft: #55493c;
  --color-red: #9c231b;
  --color-red-deep: #6f1712;
  --color-gold: #a9793f;
  --color-slate: #3f4d59;
  --color-slate-soft: #62727e;

  --font-serif: "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", sans-serif;

  --radius: 3px;
  --shadow-card: 0 2px 0 rgba(42, 36, 32, 0.08), 0 8px 18px rgba(42, 36, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background-color: var(--color-paper);
  background-image:
    radial-gradient(rgba(42, 36, 32, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(42, 36, 32, 0.035) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 2px 3px;
  line-height: 1.7;
}

#app {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

#app.app--fullbleed {
  max-width: none;
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
}

.loading,
.error {
  font-family: var(--font-serif);
  text-align: center;
  padding: 64px 0;
  color: var(--color-ink-soft);
}

.error {
  color: var(--color-red-deep);
}

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-ink-soft);
  border-bottom: 1px solid transparent;
}

.back-link:hover {
  border-bottom-color: var(--color-ink-soft);
}

.embedded-level-shell {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #17110d;
}

.embedded-level-shell__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f6eddb;
}

.embedded-level-shell__back {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 5;
  padding: 8px 13px;
  color: var(--color-paper);
  background: rgba(20, 15, 10, 0.72);
  border: 1px solid rgba(243, 205, 98, 0.42);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(20, 15, 10, 0.28);
}

/* ---------- 首页 ---------- */

.view-home {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.view-home__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 15, 10, 0.35) 0%,
    rgba(20, 15, 10, 0.55) 55%,
    rgba(20, 15, 10, 0.78) 100%
  );
}

.view-home__content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.view-home .map-header__eyebrow {
  color: #f2c94c;
}

.view-home .map-header h1 {
  color: #fdf6e3;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.view-home .map-header__subtitle {
  color: #e8ddc7;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.map-header {
  text-align: center;
  margin-bottom: 56px;
}

.map-header__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--color-red);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.map-header h1 {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.map-header__subtitle {
  color: var(--color-ink-soft);
  font-size: 1rem;
  margin: 0;
}

.home-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-paper);
  background: var(--color-red);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.home-cta:hover {
  background: var(--color-red-deep);
  transform: translateY(-2px);
}

.home-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  align-items: center;
}

.home-link {
  display: inline-block;
  padding: 12px 22px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(248, 230, 168, 0.48);
  border-radius: 999px;
  background: rgba(20, 15, 10, 0.38);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.home-link:hover {
  background: rgba(20, 15, 10, 0.58);
}

/* ---------- 落地页 ---------- */

.view-landing {
  min-height: 100vh;
  color: var(--color-ink);
  background: #ede4cd;
}

.landing-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 88px min(8vw, 96px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.landing-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 10, 7, 0.76), rgba(15, 10, 7, 0.5) 48%, rgba(15, 10, 7, 0.18)),
    linear-gradient(180deg, rgba(15, 10, 7, 0.2), rgba(15, 10, 7, 0.72));
}

.landing-back {
  position: absolute;
  left: min(8vw, 96px);
  top: 32px;
  z-index: 1;
  color: rgba(255, 246, 214, 0.88);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 246, 214, 0.34);
}

.landing-hero__content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  color: #fff6d6;
}

.landing-hero__content p,
.landing-kicker {
  margin: 0 0 14px;
  color: #f2c94c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.landing-hero__content h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.48);
}

.landing-hero__content span {
  display: block;
  width: min(620px, 100%);
  margin-top: 24px;
  color: rgba(255, 246, 214, 0.86);
  font-size: 1.04rem;
  line-height: 1.9;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.landing-hero__actions a,
.landing-section--cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  color: #fff6d6;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(156, 35, 27, 0.3);
  border-radius: 999px;
  background: var(--color-red);
  box-shadow: 0 14px 30px rgba(42, 36, 32, 0.18);
}

.landing-hero__actions a + a {
  color: #fff6d6;
  border-color: rgba(248, 230, 168, 0.44);
  background: rgba(20, 15, 10, 0.34);
}

.landing-section,
.landing-feature-grid {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.landing-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  padding: 72px 0;
  align-items: start;
}

.landing-section h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.25;
}

.landing-section p:last-child {
  margin: 0;
  color: rgba(42, 36, 32, 0.76);
  font-size: 1.02rem;
  line-height: 1.9;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 72px;
}

.landing-feature-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(91, 49, 23, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 236, 0.62);
  box-shadow: var(--shadow-card);
}

.landing-feature-grid small {
  color: var(--color-red);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.landing-feature-grid h3 {
  margin: 14px 0 10px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.landing-feature-grid p {
  margin: 0;
  color: rgba(42, 36, 32, 0.72);
  line-height: 1.75;
}

.landing-section--cta {
  align-items: center;
  padding-top: 0;
}

.landing-section--cta a {
  justify-self: end;
}

@media (max-width: 760px) {
  .landing-hero {
    align-items: flex-end;
    padding: 84px 24px 52px;
  }

  .landing-back {
    left: 24px;
    top: 24px;
  }

  .landing-section,
  .landing-feature-grid {
    width: min(100% - 32px, 1120px);
  }

  .landing-section,
  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-section {
    gap: 22px;
    padding: 48px 0;
  }

  .landing-section--cta a {
    justify-self: start;
  }
}

/* ---------- 地图页 ---------- */

.view-map--fullscreen {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-paper-deep);
}

.map-back-link {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--color-paper);
  background: rgba(42, 36, 32, 0.72);
  border-radius: 999px;
  text-decoration: none;
}

.map-back-link:hover {
  background: rgba(42, 36, 32, 0.9);
}

.map-hint {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 20;
  max-width: 220px;
  padding: 10px 16px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-ink);
  background: var(--color-paper);
  border: 1px solid rgba(42, 36, 32, 0.18);
  border-radius: 16px 16px 4px 16px;
  box-shadow: var(--shadow-card);
  animation: map-hint-bob 2.6s ease-in-out infinite;
}

@keyframes map-hint-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.archive-bag-button {
  position: absolute;
  top: 84px;
  right: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
  background: rgba(251, 247, 234, 0.94);
  border: 1px solid rgba(42, 36, 32, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.archive-bag-button:hover {
  background: #fff8de;
}

.archive-bag-button strong {
  min-width: 34px;
  padding: 2px 6px;
  color: var(--color-paper);
  background: var(--color-red);
  border-radius: var(--radius);
  font-size: 0.78rem;
  text-align: center;
}

.archive-bag-button__icon {
  position: relative;
  width: 23px;
  height: 17px;
  display: inline-block;
  background: #c49a5b;
  border: 1px solid rgba(42, 36, 32, 0.3);
  border-radius: 2px;
}

.archive-bag-button__icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -6px;
  width: 14px;
  height: 8px;
  background: #d8b678;
  border: 1px solid rgba(42, 36, 32, 0.24);
  border-bottom: none;
  border-radius: 2px 2px 0 0;
}

.route-map-image {
  position: relative;
  width: max(100vw, 100vh * 1.6);
  height: max(100vh, 100vw / 1.6);
}

.route-map-image__bg {
  display: block;
  width: 100%;
  height: 100%;
}

.route-fragment-lines {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.route-fragment-line {
  fill: none;
  stroke: #f3cd62;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 3 2;
  filter: drop-shadow(0 0 5px rgba(255, 226, 111, 0.9)) drop-shadow(0 0 12px rgba(156, 35, 27, 0.55));
  animation: route-fragment-pulse 2s ease-in-out infinite;
}

.route-fragment-line--departure {
  stroke: #f0b44b;
}

.route-fragment-line--xiangjiang {
  stroke: #f6d86f;
  stroke-width: 1.25;
}

.route-fragment-line--chishui {
  stroke: #f2c94c;
  stroke-width: 1.28;
}

.route-fragment-line--snow {
  stroke: #e9f5f7;
  stroke-width: 1.18;
  filter: drop-shadow(0 0 5px rgba(233, 245, 247, 0.95)) drop-shadow(0 0 12px rgba(49, 91, 98, 0.58));
}

@keyframes route-fragment-pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.route-pin {
  position: absolute;
  z-index: 10;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  animation: route-pin-float 3.2s ease-in-out infinite;
}

.route-pin--locked {
  cursor: not-allowed;
}

.route-pin__badge {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  border: 2px solid var(--color-red);
  background: var(--color-red);
  color: var(--color-paper);
  box-shadow: 0 3px 8px rgba(42, 36, 32, 0.4);
  transition: transform 0.15s ease;
}

.route-pin--unlocked .route-pin__badge {
  background: var(--color-paper);
  color: var(--color-red);
}

.route-pin--locked .route-pin__badge {
  border-color: var(--color-ink-soft);
  background: rgba(85, 73, 60, 0.7);
  color: var(--color-paper);
  opacity: 0.75;
}

.route-pin:hover .route-pin__badge {
  transform: scale(1.15);
}

.route-pin--fragment-lit::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(243, 205, 98, 0.7);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(243, 205, 98, 0.65);
  animation: fragment-node-ring 1.8s ease-out infinite;
  pointer-events: none;
}

.route-pin--fragment-lit .route-pin__badge {
  border-color: #f3cd62;
  background: var(--color-red-deep);
  box-shadow: 0 0 0 3px rgba(243, 205, 98, 0.22), 0 5px 14px rgba(42, 36, 32, 0.44);
}

@keyframes fragment-node-ring {
  0% {
    opacity: 0.95;
    transform: translateX(-50%) scale(0.78);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1.28);
  }
}

.route-pin__label {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: var(--color-paper);
  background: rgba(42, 36, 32, 0.72);
  padding: 2px 8px;
  border-radius: 999px;
}

.route-pin--locked .route-pin__label {
  opacity: 0.75;
}

@keyframes route-pin-float {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-10px);
  }
}

@media (max-width: 560px) {
  .map-hint {
    display: none;
  }

  .route-pin__badge {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .route-pin__label {
    font-size: 0.68rem;
    padding: 1px 6px;
  }

  .archive-bag-button {
    top: 76px;
    right: 12px;
    min-height: 38px;
    padding: 8px 10px;
  }
}

.archive-bag-panel[hidden] {
  display: none;
}

.archive-bag-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.archive-bag-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 10, 0.52);
  border: none;
  cursor: pointer;
}

.archive-bag-panel__sheet {
  position: relative;
  width: min(720px, 100%);
  max-height: min(680px, calc(100vh - 36px));
  overflow: auto;
  padding: 22px;
  background: #efe3c8;
  border: 1px solid rgba(42, 36, 32, 0.24);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(20, 15, 10, 0.36);
}

.archive-bag-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.archive-bag-panel__header p {
  margin: 0 0 4px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.archive-bag-panel__header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.55rem;
}

.archive-bag-panel__header button {
  min-height: 36px;
  padding: 7px 14px;
  color: var(--color-red-deep);
  background: rgba(251, 247, 234, 0.72);
  border: 1px solid rgba(156, 35, 27, 0.25);
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}

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

.archive-bag-fragment {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 128px;
  padding: 12px;
  text-align: left;
  color: var(--color-ink);
  background: rgba(251, 247, 234, 0.72);
  border: 1px solid rgba(42, 36, 32, 0.16);
  border-radius: var(--radius);
  cursor: pointer;
}

.archive-bag-fragment .archive-fragment-visual {
  grid-row: 1 / span 2;
  justify-self: center;
  width: 104px;
  height: 99px;
  aspect-ratio: auto;
  overflow: hidden;
}

.archive-bag-fragment:hover {
  background: rgba(255, 248, 222, 0.94);
}

.archive-bag-fragment > span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
}

.archive-bag-fragment small {
  display: block;
  margin-top: 4px;
  color: var(--color-ink-soft);
  font-size: 0.78rem;
}

.archive-bag-fragment--locked {
  color: rgba(42, 36, 32, 0.56);
}

.archive-bag-detail {
  margin: 16px 0 0;
  padding: 12px 14px;
  color: var(--color-ink-soft);
  background: rgba(221, 207, 169, 0.5);
  border: 1px solid rgba(42, 36, 32, 0.12);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .archive-bag-grid {
    grid-template-columns: 1fr;
  }

  .archive-bag-fragment {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

.archive-fragment-visual {
  position: relative;
  width: 104px;
  aspect-ratio: 1.05;
  flex: 0 0 auto;
}

.archive-fragment-visual--locked {
  filter: grayscale(1);
  opacity: 0.42;
}

.archive-fragment-visual--departure-map-fragment {
  background:
    linear-gradient(135deg, rgba(156, 35, 27, 0.08), transparent 34%),
    #ead7ad;
  clip-path: polygon(4% 14%, 78% 0, 98% 18%, 90% 86%, 58% 100%, 8% 88%, 0 42%);
  box-shadow: 0 10px 18px rgba(42, 36, 32, 0.22);
}

.archive-fragment-visual--departure-map-fragment::before {
  content: "";
  position: absolute;
  inset: 10px 13px 16px 12px;
  background:
    linear-gradient(28deg, transparent 43%, rgba(85, 73, 60, 0.2) 44%, rgba(85, 73, 60, 0.2) 46%, transparent 47%),
    linear-gradient(112deg, transparent 45%, rgba(85, 73, 60, 0.16) 46%, rgba(85, 73, 60, 0.16) 48%, transparent 49%);
  border: 1px solid rgba(85, 73, 60, 0.22);
}

.archive-fragment-visual__map-paper {
  position: absolute;
  left: 13px;
  top: 14px;
  width: 68px;
  height: 54px;
  background: rgba(250, 239, 205, 0.72);
  border: 1px solid rgba(85, 73, 60, 0.22);
  transform: rotate(-8deg);
}

.archive-fragment-visual__route-thread {
  position: absolute;
  left: 27px;
  top: 39px;
  width: 53px;
  height: 22px;
  border-top: 4px solid var(--color-red);
  border-radius: 50%;
  transform: rotate(-17deg);
}

.archive-fragment-visual__route-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--color-red-deep);
  border: 2px solid #f4d88f;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(42, 36, 32, 0.28);
}

.archive-fragment-visual__route-dot--start {
  left: 25px;
  top: 43px;
}

.archive-fragment-visual__route-dot--end {
  left: 73px;
  top: 33px;
}

.archive-fragment-visual__cloth-tab {
  position: absolute;
  right: 8px;
  bottom: 13px;
  width: 31px;
  height: 38px;
  background: linear-gradient(135deg, #7b6f52, #b99a63);
  border: 1px solid rgba(42, 36, 32, 0.24);
  transform: rotate(12deg);
}

.archive-fragment-visual--departure-map-fragment strong,
.archive-fragment-visual--river-crossing-fragment strong {
  position: absolute;
  left: 50%;
  bottom: 14px;
  color: var(--color-red-deep);
  font-family: var(--font-serif);
  font-size: 1.16rem;
  transform: translateX(-50%) rotate(-5deg);
  text-shadow: 0 1px 0 rgba(255, 248, 222, 0.8);
}

.archive-fragment-visual--river-crossing-fragment {
  background:
    linear-gradient(145deg, rgba(63, 77, 89, 0.16), rgba(42, 36, 32, 0.04)),
    #dfc494;
  clip-path: polygon(14% 0, 92% 10%, 100% 70%, 74% 98%, 16% 92%, 0 34%);
  box-shadow: 0 10px 18px rgba(42, 36, 32, 0.22);
}

.archive-fragment-visual__river {
  position: absolute;
  left: 7px;
  top: 18px;
  width: 92px;
  height: 43px;
  background:
    radial-gradient(circle at 23% 58%, rgba(255, 255, 255, 0.48) 0 9%, transparent 10%),
    radial-gradient(circle at 61% 42%, rgba(255, 255, 255, 0.42) 0 8%, transparent 9%),
    linear-gradient(135deg, #637f88, #3f5d67 54%, #75949a);
  clip-path: polygon(0 26%, 100% 0, 88% 74%, 12% 100%);
  opacity: 0.9;
}

.archive-fragment-visual__crossing-plank {
  position: absolute;
  left: 22px;
  top: 42px;
  width: 68px;
  height: 17px;
  background: linear-gradient(90deg, #7c5435, #c49b62 48%, #6d482f);
  border: 1px solid rgba(42, 36, 32, 0.28);
  transform: rotate(-12deg);
  box-shadow: 0 4px 8px rgba(42, 36, 32, 0.22);
}

.archive-fragment-visual__crossing-mark {
  position: absolute;
  display: block;
  height: 4px;
  background: var(--color-red);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(42, 36, 32, 0.24);
}

.archive-fragment-visual__crossing-mark--one {
  left: 26px;
  top: 31px;
  width: 46px;
  transform: rotate(20deg);
}

.archive-fragment-visual__crossing-mark--two {
  left: 38px;
  top: 64px;
  width: 39px;
  transform: rotate(-18deg);
}

.archive-fragment-visual--direction-fragment {
  background: #efe0bd;
  clip-path: polygon(8% 6%, 92% 0, 96% 70%, 64% 100%, 10% 88%, 0 32%);
  box-shadow: 0 10px 18px rgba(42, 36, 32, 0.2);
}

.archive-fragment-visual--direction-fragment::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(85, 73, 60, 0.22);
}

.archive-fragment-visual__paper-edge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  height: 32%;
  background: rgba(194, 153, 91, 0.24);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}

.archive-fragment-visual__ink {
  position: absolute;
  display: block;
  background: rgba(42, 36, 32, 0.56);
  border-radius: 50%;
}

.archive-fragment-visual__ink--one {
  left: 23%;
  top: 25%;
  width: 18px;
  height: 10px;
  transform: rotate(-18deg);
}

.archive-fragment-visual__ink--two {
  right: 24%;
  top: 34%;
  width: 24px;
  height: 13px;
  opacity: 0.44;
  transform: rotate(15deg);
}

.archive-fragment-visual--direction-fragment strong {
  position: absolute;
  left: 50%;
  top: 56%;
  color: var(--color-red-deep);
  font-family: var(--font-serif);
  font-size: 1.36rem;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.archive-fragment-visual--iron-chain-fragment {
  background:
    radial-gradient(circle at 65% 62%, rgba(243, 205, 98, 0.28), transparent 38%),
    linear-gradient(140deg, rgba(63, 77, 89, 0.12), rgba(42, 36, 32, 0.04));
}

.archive-fragment-visual__chain {
  position: absolute;
  display: block;
  width: 46px;
  height: 30px;
  border: 7px solid #3f4d59;
  border-radius: 999px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.24), 0 3px 8px rgba(42, 36, 32, 0.26);
}

.archive-fragment-visual__chain--one {
  left: 14px;
  top: 30px;
  transform: rotate(-28deg);
}

.archive-fragment-visual__chain--two {
  left: 46px;
  top: 42px;
  transform: rotate(-28deg);
}

.archive-fragment-visual__plank {
  position: absolute;
  left: 26px;
  bottom: 20px;
  width: 58px;
  height: 18px;
  background: linear-gradient(90deg, #8b6743, #c29b67 48%, #7a5537);
  border: 1px solid rgba(42, 36, 32, 0.28);
  transform: rotate(8deg);
  box-shadow: 0 4px 8px rgba(42, 36, 32, 0.2);
}

.archive-fragment-visual--image {
  display: grid;
  place-items: center;
  padding: 6px;
  background: rgba(255, 250, 236, 0.64);
}

.archive-fragment-visual--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.archive-fragment-visual--chishui-maneuver-fragment {
  background:
    linear-gradient(142deg, rgba(156, 35, 27, 0.1), transparent 42%),
    #dec28d;
  clip-path: polygon(10% 0, 88% 8%, 98% 70%, 74% 100%, 12% 90%, 0 32%);
  box-shadow: 0 10px 18px rgba(42, 36, 32, 0.2);
}

.archive-fragment-visual__chishui-river {
  position: absolute;
  left: 8px;
  top: 18px;
  width: 90px;
  height: 36px;
  background: linear-gradient(135deg, #476f78, #7a9ca0 62%, #3f5962);
  clip-path: polygon(0 28%, 100% 0, 88% 72%, 8% 100%);
  opacity: 0.92;
}

.archive-fragment-visual__chishui-line {
  position: absolute;
  display: block;
  height: 5px;
  background: var(--color-red);
  border-radius: 999px;
  box-shadow: 0 2px 5px rgba(42, 36, 32, 0.22);
}

.archive-fragment-visual__chishui-line--one {
  left: 23px;
  top: 24px;
  width: 35px;
  transform: rotate(20deg);
}

.archive-fragment-visual__chishui-line--two {
  left: 43px;
  top: 34px;
  width: 37px;
  transform: rotate(-16deg);
}

.archive-fragment-visual__chishui-line--three {
  left: 28px;
  top: 47px;
  width: 34px;
  transform: rotate(12deg);
}

.archive-fragment-visual__chishui-line--four {
  left: 50px;
  top: 58px;
  width: 30px;
  transform: rotate(-14deg);
}

.archive-fragment-visual--chishui-maneuver-fragment strong {
  position: absolute;
  left: 50%;
  bottom: 13px;
  color: var(--color-red-deep);
  font-family: var(--font-serif);
  font-size: 1.17rem;
  transform: translateX(-50%) rotate(-4deg);
  text-shadow: 0 1px 0 rgba(255, 248, 222, 0.8);
}

.archive-fragment-visual--snow-grass-fragment {
  background:
    linear-gradient(180deg, rgba(233, 245, 247, 0.9), rgba(185, 202, 184, 0.46) 58%, rgba(114, 133, 84, 0.42)),
    #d9d3bd;
  clip-path: polygon(12% 0, 92% 5%, 96% 78%, 68% 100%, 8% 92%, 0 38%);
  box-shadow: 0 10px 18px rgba(42, 36, 32, 0.2);
}

.archive-fragment-visual__snow-peak {
  position: absolute;
  display: block;
  bottom: 26px;
  background: linear-gradient(140deg, #f7fbfb 0 48%, #b9c5c7 49% 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.archive-fragment-visual__snow-peak--one {
  left: 10px;
  width: 48px;
  height: 56px;
}

.archive-fragment-visual__snow-peak--two {
  right: 10px;
  width: 56px;
  height: 64px;
}

.archive-fragment-visual__grass {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background:
    repeating-linear-gradient(100deg, transparent 0 7px, rgba(77, 106, 55, 0.6) 8px 10px),
    linear-gradient(180deg, #9aa96f, #5f7342);
}

.archive-fragment-visual--snow-grass-fragment strong {
  position: absolute;
  left: 50%;
  bottom: 12px;
  color: #fff5d2;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  transform: translateX(-50%) rotate(-3deg);
  text-shadow: 0 2px 4px rgba(42, 36, 32, 0.45);
}

.archive-fragment-reward {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(20, 15, 10, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.archive-fragment-reward--visible {
  opacity: 1;
  pointer-events: auto;
}

.archive-fragment-reward__panel {
  width: min(720px, 100%);
  padding: 24px;
  background: #efe3c8;
  border: 1px solid rgba(243, 205, 98, 0.36);
  border-radius: 6px;
  box-shadow: 0 24px 70px rgba(20, 15, 10, 0.42);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}

.archive-fragment-reward--visible .archive-fragment-reward__panel {
  transform: translateY(0) scale(1);
}

.archive-fragment-reward__eyebrow {
  margin: 0 0 14px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.archive-fragment-reward__body {
  display: flex;
  gap: 22px;
  align-items: center;
}

.archive-fragment-reward .archive-fragment-visual {
  width: min(180px, 34vw);
}

.archive-fragment-reward__copy h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.2;
}

.archive-fragment-reward__copy p {
  margin: 0 0 10px;
  color: var(--color-ink);
  font-size: 1rem;
}

.archive-fragment-reward__copy small {
  display: block;
  color: var(--color-ink-soft);
  font-size: 0.88rem;
}

.archive-fragment-reward__panel button {
  margin-top: 20px;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--color-paper);
  background: var(--color-red);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}

.archive-fragment-reward__panel button:hover {
  background: var(--color-red-deep);
}

@media (max-width: 560px) {
  .archive-fragment-reward__body {
    align-items: flex-start;
    flex-direction: column;
  }

  .archive-fragment-reward .archive-fragment-visual {
    width: 132px;
  }

  .archive-fragment-reward__panel button {
    width: 100%;
  }
}

/* ---------- 雪山草地 ---------- */

.view-snow-grassland {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 72px 18px 34px;
  color: #f9f3de;
  background:
    linear-gradient(180deg, #203849 0%, #5c7180 42%, #d7d7c7 68%, #65724c 100%);
}

.view-snow-grassland--quiz {
  background:
    linear-gradient(180deg, #253c4c 0%, #6f7f87 44%, #dad7c5 68%, #596c45 100%);
}

.view-snow-grassland--ending {
  background:
    linear-gradient(180deg, #1f3446 0%, #607e86 48%, #efe7d0 72%, #6c7d48 100%);
}

.snow-mountain-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.snow-mountain-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 15, 10, 0.28), transparent 42%),
    radial-gradient(circle at 48% 78%, rgba(255, 250, 232, 0.32), transparent 28%);
}

.snow-mountain-scene__moon {
  position: absolute;
  right: 11vw;
  top: 9vh;
  width: 58px;
  height: 58px;
  background: #f4efd4;
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(244, 239, 212, 0.45);
}

.snow-mountain-scene__peak {
  position: absolute;
  bottom: 11vh;
  display: block;
  background: linear-gradient(135deg, #f4f2df 0 42%, #aab7bb 43% 66%, #536b75 67% 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 12px 18px rgba(20, 15, 10, 0.24));
}

.snow-mountain-scene__peak--left {
  left: -7vw;
  width: 45vw;
  height: 50vh;
}

.snow-mountain-scene__peak--center {
  left: 19vw;
  width: 56vw;
  height: 62vh;
}

.snow-mountain-scene__peak--right {
  right: -9vw;
  width: 46vw;
  height: 52vh;
}

.snow-mountain-scene__ground {
  position: absolute;
  left: -5vw;
  right: -5vw;
  bottom: -8vh;
  height: 32vh;
  background:
    repeating-linear-gradient(100deg, transparent 0 16px, rgba(72, 95, 55, 0.28) 17px 20px),
    linear-gradient(180deg, #e8e2cf 0%, #9aa16f 54%, #53633c 100%);
  transform: skewY(-4deg);
}

.snow-mountain-scene i {
  position: absolute;
  top: -12px;
  width: var(--s);
  height: var(--s);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  animation: snow-fall var(--d) linear infinite;
  animation-delay: var(--delay);
}

@keyframes snow-fall {
  from {
    transform: translate3d(0, -10vh, 0);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  to {
    transform: translate3d(26px, 110vh, 0);
    opacity: 0.15;
  }
}

.snow-level-back {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 4;
  padding: 8px 13px;
  color: #fff7dc;
  background: rgba(20, 15, 10, 0.58);
  border: 1px solid rgba(244, 239, 212, 0.35);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.snow-level-panel {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  padding: clamp(22px, 4vw, 42px);
  background: rgba(29, 34, 32, 0.72);
  border: 1px solid rgba(244, 239, 212, 0.32);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 15, 10, 0.38);
  backdrop-filter: blur(8px);
}

.snow-level-panel--intro,
.snow-level-panel--ending {
  max-width: 760px;
}

.snow-level-eyebrow {
  margin: 0 0 8px;
  color: #f0d389;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.snow-level-panel h1,
.snow-level-panel h2 {
  margin: 0;
  font-family: var(--font-serif);
  line-height: 1.18;
}

.snow-level-panel h1 {
  font-size: clamp(2.2rem, 7vw, 4.7rem);
}

.snow-level-panel h2 {
  font-size: clamp(1.35rem, 3.8vw, 2.35rem);
}

.snow-level-panel h1 span,
.snow-level-panel h2 span {
  color: #f0d389;
}

.snow-level-card {
  margin: 20px 0 0;
  padding: 18px 20px;
  color: #fff9e8;
  background: rgba(255, 250, 232, 0.1);
  border: 1px solid rgba(255, 250, 232, 0.2);
  border-radius: 6px;
}

.snow-level-card p {
  margin: 0;
}

.snow-level-card p + p {
  margin-top: 10px;
}

.snow-level-primary,
.snow-level-secondary {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.snow-level-primary {
  margin-top: 22px;
  color: #2a2420;
  background: #f0d389;
  border: 1px solid rgba(42, 36, 32, 0.22);
}

.snow-level-secondary {
  color: #fff7dc;
  background: rgba(255, 250, 232, 0.1);
  border: 1px solid rgba(255, 250, 232, 0.3);
}

.snow-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.snow-progress span {
  width: 42px;
  height: 5px;
  background: rgba(255, 250, 232, 0.24);
  border-radius: 999px;
}

.snow-progress span.done,
.snow-progress span.cur {
  background: #f0d389;
}

.snow-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.snow-options button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 86px;
  padding: 14px;
  color: #fff9e8;
  text-align: left;
  background: rgba(255, 250, 232, 0.12);
  border: 1px solid rgba(255, 250, 232, 0.22);
  border-radius: 6px;
  cursor: pointer;
}

.snow-options button:hover:not(:disabled) {
  background: rgba(255, 250, 232, 0.18);
}

.snow-options button b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #2a2420;
  background: #f0d389;
  border-radius: 50%;
  font-family: var(--font-serif);
}

.snow-options button.correct {
  background: rgba(97, 133, 76, 0.56);
  border-color: rgba(194, 226, 158, 0.78);
}

.snow-options button.wrong {
  background: rgba(156, 35, 27, 0.56);
  border-color: rgba(246, 174, 140, 0.78);
}

.snow-feedback {
  min-height: 30px;
  margin: 18px 0 0;
  color: transparent;
  font-weight: 700;
}

.snow-feedback--show {
  color: #fff5d2;
}

.snow-feedback.ok {
  color: #dff1c9;
}

.snow-feedback.no {
  color: #ffd2c2;
}

.snow-quote {
  margin: 18px 0 0;
  color: #f0d389;
  font-family: var(--font-serif);
  font-size: 1.16rem;
}

.snow-level-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.snow-level-actions .snow-level-primary {
  margin-top: 0;
}

@media (max-width: 680px) {
  .view-snow-grassland {
    padding: 70px 12px 24px;
  }

  .snow-level-panel {
    padding: 20px;
  }

  .snow-options {
    grid-template-columns: 1fr;
  }

  .snow-level-panel h1 {
    font-size: 2.25rem;
  }
}

/* ---------- 冲桥动作场景 ---------- */

.view-bridge-action {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.bridge-scene {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1c1712;
  overflow: hidden;
}

.bridge-scene--flash::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(156, 35, 27, 0.55);
  z-index: 30;
  animation: bridge-flash 0.2s ease-out;
}

.bridge-scene--danger::before,
.bridge-scene--dodge::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 29;
  pointer-events: none;
}

.bridge-scene--danger::before {
  background: radial-gradient(circle at 50% 46%, transparent 0 42%, rgba(156, 35, 27, 0.42) 100%);
  animation: bridge-danger-pulse 0.42s ease-out;
}

.bridge-scene--dodge::before {
  background: radial-gradient(circle at 50% 48%, rgba(242, 201, 76, 0.18), transparent 46%);
  animation: bridge-dodge-pulse 0.32s ease-out;
}

@keyframes bridge-flash {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes bridge-danger-pulse {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes bridge-dodge-pulse {
  from {
    opacity: 0.9;
    transform: scale(0.98);
  }
  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

.bridge-scene__bg {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  background-color: #2b241c;
  background-size: cover;
  background-position: center;
  transition: background-image 0.6s ease;
}

.bridge-scene__crawl-video {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: sepia(0.08) contrast(1.04) brightness(0.86);
}

.bridge-scene__crawl-video[hidden] {
  display: none;
}

.bridge-scene__bg--sway {
  animation: bridge-sway 3.6s ease-in-out infinite;
}

@keyframes bridge-sway {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-0.6%, 0.3%) rotate(-0.3deg);
  }
  75% {
    transform: translate(0.6%, -0.3%) rotate(0.3deg);
  }
}

.bridge-scene__bg--jolt {
  animation: bridge-sway 3.6s ease-in-out infinite, bridge-jolt 0.25s ease-out;
}

@keyframes bridge-jolt {
  0% {
    transform: scale(1.015) translateY(4px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

.bridge-scene__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.bridge-scene--intro .bridge-scene__bg {
  background-position: center;
  background-size: cover;
  filter: sepia(0.08) contrast(1.05) brightness(0.82);
}

.bridge-scene--intro .bridge-hud,
.bridge-scene--intro .bridge-hud__progress {
  display: none !important;
}

.bridge-crossing-path {
  position: absolute;
  inset: 0;
  z-index: 11;
  pointer-events: none;
  perspective: 900px;
}

.bridge-chain {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 5px;
  height: 88%;
  border-radius: 999px;
  background:
    repeating-linear-gradient(180deg, rgba(237, 228, 205, 0.72) 0 14px, rgba(66, 50, 39, 0.82) 14px 25px);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.42);
  transform-origin: bottom center;
  opacity: 0.82;
}

.bridge-chain--left {
  transform: translateX(-82px) rotate(9deg) rotateX(58deg);
}

.bridge-chain--right {
  transform: translateX(82px) rotate(-9deg) rotateX(58deg);
}

.bridge-crossing-path .bridge-chain,
.bridge-crossing-path .bridge-crawler {
  display: none;
}

.bridge-crawler {
  --bridge-progress: 0;
  position: absolute;
  left: calc(50% - 120px + (var(--bridge-progress) * 2.4px));
  bottom: calc(8% + (var(--bridge-progress) * 0.54%));
  width: calc(92px - (var(--bridge-progress) * 0.34px));
  height: calc(92px - (var(--bridge-progress) * 0.34px));
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(237, 228, 205, 0.78);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.46);
  transform: translate(-50%, 0) rotate(-8deg);
  filter: sepia(0.12) contrast(1.05);
  transition: left 0.22s ease-out, bottom 0.22s ease-out, width 0.22s ease-out, height 0.22s ease-out;
}

.bridge-crawler--crawl {
  animation: bridge-crawl 0.26s ease-out;
}

.bridge-crawler--brace {
  transform: translate(-50%, 8px) rotate(-15deg) scale(0.92);
  filter: sepia(0.2) contrast(1.16) brightness(0.86);
}

.bridge-crawler--dodge-left {
  transform: translate(-78%, -4px) rotate(-18deg) scale(0.96);
}

.bridge-crawler--dodge-right {
  transform: translate(-22%, -4px) rotate(12deg) scale(0.96);
}

@keyframes bridge-crawl {
  0% {
    transform: translate(-50%, 4px) rotate(-11deg) scale(0.98);
  }
  45% {
    transform: translate(-50%, -10px) rotate(6deg) scale(1.04);
  }
  100% {
    transform: translate(-50%, 0) rotate(-8deg) scale(1);
  }
}

.bridge-hud {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(560px, 90vw);
}

.bridge-hud__block {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.bridge-hud__block:first-child {
  flex: 1;
}

.bridge-hud__block span {
  color: rgba(237, 228, 205, 0.78);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.bridge-hud__block--stamina {
  min-width: 116px;
}

.bridge-hud__progress {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: rgba(237, 228, 205, 0.25);
  overflow: hidden;
  border: 1px solid rgba(237, 228, 205, 0.4);
}

.bridge-hud__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8f241b, #f2c94c);
  transition: width 0.2s ease;
}

.bridge-hud__hits {
  display: flex;
  gap: 7px;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--color-paper);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.bridge-hud__hits span {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(237, 228, 205, 0.72);
  border-radius: 4px;
  background: rgba(237, 228, 205, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.bridge-hud__hits span.is-full {
  border-color: rgba(242, 201, 76, 0.86);
  background: linear-gradient(180deg, #f2c94c, #a94424);
}

.bridge-hud__hits span.is-empty {
  opacity: 0.42;
}

.bridge-warning {
  position: absolute;
  top: 45%;
  z-index: 20;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  text-align: center;
  border: 1px solid rgba(248, 230, 168, 0.3);
  background: rgba(111, 23, 18, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  animation: bridge-warning-pulse 0.5s ease-in-out infinite;
}

.bridge-warning strong,
.bridge-warning span {
  display: block;
}

.bridge-warning strong {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.bridge-warning span {
  margin-top: 3px;
  color: #f2c94c;
  font-size: 1.18rem;
}

.bridge-warning--left {
  left: 6%;
}

.bridge-warning--right {
  right: 6%;
}

.bridge-attack[hidden] {
  display: none;
}

.bridge-attack {
  position: absolute;
  top: 52px;
  left: 50%;
  z-index: 24;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: min(360px, calc(100vw - 32px));
  padding: 10px 18px 12px;
  color: #fff6d6;
  background: rgba(38, 22, 16, 0.82);
  border: 1px solid rgba(242, 201, 76, 0.48);
  border-radius: 6px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  animation: bridge-attack-drop 0.18s ease-out both;
}

.bridge-attack span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #f2c94c;
}

.bridge-attack strong {
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 9vw, 4.8rem);
  line-height: 0.9;
  color: #fff;
  text-shadow: 0 0 14px rgba(242, 201, 76, 0.66), 0 3px 12px rgba(0, 0, 0, 0.72);
}

.bridge-attack small {
  font-size: 0.86rem;
  font-weight: 700;
  color: rgba(237, 228, 205, 0.9);
}

.bridge-attack--left strong {
  animation: bridge-attack-arrow-left 0.5s ease-in-out infinite;
}

.bridge-attack--right strong {
  animation: bridge-attack-arrow-right 0.5s ease-in-out infinite;
}

@keyframes bridge-attack-drop {
  from {
    opacity: 0;
    transform: translate(-50%, -12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes bridge-attack-arrow-left {
  0%,
  100% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(-10px);
  }
}

@keyframes bridge-attack-arrow-right {
  0%,
  100% {
    transform: translateX(-8px);
  }
  50% {
    transform: translateX(10px);
  }
}

@keyframes bridge-warning-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.bridge-caption {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  max-width: min(640px, 86vw);
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
  padding: 10px 20px;
  transition: opacity 0.4s ease;
}

.bridge-caption--narrative {
  padding: 12px 18px;
  color: rgba(255, 246, 214, 0.92);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.65;
  border: 1px solid rgba(248, 230, 168, 0.22);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.62);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.bridge-fact-card {
  position: absolute;
  inset: 0;
  z-index: 24;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 4, 3, 0.38);
}

.bridge-fact-card[hidden] {
  display: none;
}

.bridge-fact-card article {
  width: min(430px, calc(100vw - 48px));
  padding: 24px 26px;
  text-align: center;
  color: #3b2417;
  border: 1px solid rgba(92, 50, 23, 0.3);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 0 16px, rgba(238, 216, 173, 0.98) 16px),
    linear-gradient(180deg, #f1dfb4, #cfb176);
  box-shadow:
    inset 0 0 24px rgba(71, 38, 16, 0.12),
    0 24px 70px rgba(0, 0, 0, 0.5);
  animation: bridge-fact-card-in 0.32s ease both;
}

.bridge-fact-card p {
  margin: 0 0 10px;
  color: rgba(156, 35, 27, 0.82);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bridge-fact-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.65rem;
}

.bridge-fact-card span {
  display: block;
  margin-top: 12px;
  color: rgba(59, 36, 23, 0.82);
  font-size: 1rem;
  line-height: 1.75;
}

.bridge-fact-card small {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 14px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
}

@keyframes bridge-fact-card-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bridge-caption--hit {
  color: #f2c94c;
}

.bridge-caption--fail,
.bridge-caption--victory {
  font-size: 1.4rem;
  font-weight: 700;
}

.bridge-hint {
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: rgba(237, 228, 205, 0.85);
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
}

.bridge-controls[hidden] {
  display: none;
}

.bridge-controls {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 28;
  display: grid;
  grid-template-columns: 52px 76px 52px;
  gap: 8px;
  padding: 10px;
  background: rgba(15, 12, 10, 0.58);
  border: 1px solid rgba(237, 228, 205, 0.22);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.bridge-controls button {
  height: 50px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 800;
  background: rgba(237, 228, 205, 0.15);
  border: 1px solid rgba(237, 228, 205, 0.34);
  border-radius: 6px;
  cursor: pointer;
  touch-action: manipulation;
}

.bridge-controls button:hover,
.bridge-controls button:focus-visible {
  background: rgba(242, 201, 76, 0.28);
  border-color: rgba(242, 201, 76, 0.78);
  outline: none;
}

.bridge-controls button:active {
  transform: translateY(2px);
}

.bridge-controls__advance {
  font-size: 0.98rem !important;
  letter-spacing: 0.08em;
  background: rgba(156, 35, 27, 0.76) !important;
}

@media (max-width: 560px) {
  .bridge-attack {
    top: 48px;
    padding: 8px 12px 10px;
  }

  .bridge-controls {
    right: 12px;
    bottom: 14px;
    grid-template-columns: 46px 68px 46px;
    gap: 6px;
  }

  .bridge-controls button {
    height: 46px;
  }
}

.bridge-result {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 4, 3, 0.42);
}

.bridge-result[hidden] {
  display: none;
}

.bridge-result__card {
  width: min(360px, calc(100vw - 48px));
  padding: 22px 24px;
  text-align: center;
  border: 1px solid rgba(248, 230, 168, 0.34);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(54, 34, 21, 0.96), rgba(17, 12, 8, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.bridge-result__card p {
  margin: 0 0 8px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bridge-result__card h3 {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.bridge-result__card span {
  display: block;
  margin-top: 10px;
  color: rgba(237, 228, 205, 0.82);
  line-height: 1.7;
}

.bridge-result__card button {
  margin-top: 18px;
  padding: 10px 22px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(242, 201, 76, 0.48);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.84);
  cursor: pointer;
}

.bridge-result__card button:hover {
  background: rgba(111, 23, 18, 0.92);
}

.bridge-source-note {
  margin-top: 16px;
  padding: 12px;
  text-align: left;
  border: 1px solid rgba(248, 230, 168, 0.18);
  border-radius: 8px;
  background: rgba(255, 246, 214, 0.06);
}

.bridge-source-note small {
  display: block;
  margin-bottom: 6px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bridge-source-note p {
  margin: 0;
  color: rgba(237, 228, 205, 0.82);
  font-size: 0.9rem;
  line-height: 1.7;
}

.bridge-result--victory {
  pointer-events: none;
  background: radial-gradient(circle at 50% 42%, rgba(242, 201, 76, 0.18), transparent 36%);
}

.bridge-result--victory .bridge-result__card {
  animation: bridge-victory-card 0.52s ease both;
}

@keyframes bridge-victory-card {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bridge-teammate-fall {
  position: absolute;
  top: 18%;
  width: 90px;
  z-index: 18;
  animation: bridge-teammate-fall 1.1s ease-in forwards;
  pointer-events: none;
}

@keyframes bridge-teammate-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(240px) rotate(35deg);
    opacity: 0;
  }
}

/* ---------- 历史背景前置 ---------- */

.history-intro {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 24px;
  background: rgba(10, 8, 6, 0.68);
  text-align: center;
}

.history-intro__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: rgba(237, 228, 205, 0.75);
}

.history-intro__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-paper);
  margin: 0;
}

.history-intro__text {
  max-width: 620px;
  color: rgba(237, 228, 205, 0.9);
  font-size: 1rem;
  line-height: 1.9;
}

.bridge-intro-source {
  width: min(520px, calc(100vw - 48px));
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(248, 230, 168, 0.24);
  border-radius: 8px;
  background: rgba(255, 246, 214, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.bridge-intro-source img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  filter: sepia(0.1) contrast(1.04) brightness(0.9);
}

.bridge-intro-source figcaption {
  margin-top: 8px;
  color: rgba(237, 228, 205, 0.82);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.55;
}

#history-intro-start {
  margin-top: 12px;
  padding: 12px 32px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-paper);
  background: var(--color-red);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

#history-intro-start:hover {
  background: var(--color-red-deep);
  transform: translateY(-2px);
}

.bridge-role-prompt {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.42);
}

.bridge-role-prompt__card {
  width: min(420px, calc(100vw - 48px));
  padding: 26px 28px;
  text-align: center;
  border: 1px solid rgba(248, 230, 168, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(55, 35, 22, 0.94), rgba(18, 13, 9, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.bridge-role-prompt__card p {
  margin: 0 0 10px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bridge-role-prompt__card h3 {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.bridge-role-prompt__card span {
  display: block;
  margin-top: 14px;
  color: rgba(237, 228, 205, 0.82);
  line-height: 1.75;
}

.bridge-role-prompt__card button {
  margin-top: 22px;
  padding: 10px 24px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(242, 201, 76, 0.54);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
  cursor: pointer;
}

.bridge-role-prompt__card button:hover {
  background: rgba(111, 23, 18, 0.9);
}

.bridge-video-bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 18px;
  color: #f8e6a8;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(248, 230, 168, 0.44);
  border-radius: 999px;
  background: rgba(18, 13, 9, 0.58);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: bridge-video-bubble-float 2.8s ease-in-out infinite;
}

.bridge-video-bubble:hover {
  color: #fff6d6;
  border-color: rgba(242, 201, 76, 0.78);
  background: rgba(111, 23, 18, 0.72);
}

@keyframes bridge-video-bubble-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.bridge-video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

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

.bridge-video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 4, 3, 0.76);
  cursor: pointer;
}

.bridge-video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid rgba(248, 230, 168, 0.32);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.bridge-video-modal__panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 620px);
  border-radius: 6px;
  background: #000;
}

.bridge-video-modal__close {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
  padding: 8px 14px;
  color: #f8e6a8;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(248, 230, 168, 0.38);
  border-radius: 999px;
  background: rgba(18, 13, 9, 0.82);
  cursor: pointer;
}

.bridge-video-modal__close:hover {
  border-color: rgba(242, 201, 76, 0.78);
  background: rgba(111, 23, 18, 0.72);
}

/* ---------- 敢死队选人 ---------- */

.squad-select {
  position: absolute;
  inset: 0;
  z-index: 25;
  transition: opacity 0.5s ease;
}

.squad-select--fadeout {
  opacity: 0;
}

.squad-select__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.squad-select__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.65) 0%,
    rgba(10, 8, 6, 0.15) 30%,
    rgba(10, 8, 6, 0.15) 70%,
    rgba(10, 8, 6, 0.65) 100%
  );
}

.squad-select__title {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 640px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-paper);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.squad-select__slot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
  border: 2px dashed rgba(237, 228, 205, 0.78);
  color: var(--color-paper);
  background: rgba(156, 35, 27, 0.15);
  animation: bridge-warning-pulse 1.4s ease-in-out infinite;
}

.squad-select__player {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 292px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-paper);
  cursor: grab;
  touch-action: none;
  user-select: none;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.44));
  animation: squad-soldier-breathe 1.2s ease-in-out infinite;
}

.squad-select__player img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.squad-select__player--locked {
  cursor: default;
  animation: none;
  filter:
    drop-shadow(0 0 12px rgba(242, 201, 76, 0.42))
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.44));
}

@keyframes squad-soldier-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-5px);
  }
}

.squad-select__hint {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(237, 228, 205, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.bridge-instruction {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.46);
}

.bridge-instruction[hidden] {
  display: none;
}

.bridge-instruction__card {
  width: min(460px, calc(100vw - 48px));
  padding: 24px 28px;
  text-align: center;
  border: 1px solid rgba(248, 230, 168, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(55, 35, 22, 0.94), rgba(18, 13, 9, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.bridge-instruction__card p {
  margin: 0 0 10px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.bridge-instruction__card h3 {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.bridge-instruction__card span {
  display: block;
  margin-top: 14px;
  color: rgba(237, 228, 205, 0.84);
  line-height: 1.8;
}

.bridge-instruction__card button {
  margin-top: 22px;
  padding: 10px 24px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(242, 201, 76, 0.54);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
  cursor: pointer;
}

.bridge-instruction__card button:hover {
  background: rgba(111, 23, 18, 0.9);
}

/* ---------- 2.5D 行动场景 ---------- */

.view-campaign-25d {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.campaign-25d {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #171712;
}

.campaign-25d__world {
  --column-top: 78%;
  --column-scale: 0.78;
  --column-x: 0%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(247, 218, 126, 0.12), transparent 31%),
    linear-gradient(180deg, #182128 0%, #273326 48%, #151510 100%);
}

.campaign-25d--xiangjiang .campaign-25d__world {
  background:
    radial-gradient(circle at 46% 32%, rgba(255, 203, 136, 0.18), transparent 35%),
    linear-gradient(180deg, #384442 0%, #59613b 48%, #2d2b20 100%);
}

.campaign-25d__sky {
  position: absolute;
  inset: 0 0 39%;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0.15), transparent),
    repeating-linear-gradient(90deg, transparent 0 70px, rgba(255, 255, 255, 0.035) 72px 74px);
}

.campaign-25d--xiangjiang .campaign-25d__sky {
  background:
    linear-gradient(180deg, rgba(68, 87, 85, 0.2), transparent),
    repeating-linear-gradient(105deg, transparent 0 92px, rgba(255, 190, 121, 0.07) 94px 96px);
}

.campaign-25d__far {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.campaign-25d__moon {
  position: absolute;
  right: 12%;
  top: 9%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #e7e1c8;
  box-shadow: 0 0 34px rgba(226, 230, 214, 0.38);
}

.campaign-25d__ridge {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 42%;
  height: 23%;
  background: linear-gradient(180deg, #314334, #1c291f);
  clip-path: polygon(0 68%, 9% 45%, 18% 58%, 28% 28%, 39% 58%, 50% 34%, 62% 55%, 75% 24%, 87% 55%, 100% 38%, 100% 100%, 0 100%);
  opacity: 0.88;
}

.campaign-25d__ridge--two {
  bottom: 35%;
  height: 20%;
  background: linear-gradient(180deg, #222f27, #121b16);
  opacity: 0.95;
  transform: scaleX(1.08);
}

.campaign-25d--xiangjiang .campaign-25d__ridge {
  background: linear-gradient(180deg, #505534, #343822);
}

.campaign-25d--xiangjiang .campaign-25d__ridge--two {
  background: linear-gradient(180deg, #433728, #292318);
}

.campaign-25d__river {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 32%;
  height: 21%;
  background:
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 3px 22px),
    linear-gradient(180deg, #376575, #244c5c);
  transform: skewY(-4deg);
  opacity: 0.88;
}

.campaign-25d__smoke {
  position: absolute;
  width: 110px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 96, 88, 0.52), transparent 70%);
  filter: blur(1px);
  animation: campaign-25d-smoke 4.8s ease-in-out infinite;
}

.campaign-25d__smoke--one {
  left: 16%;
  top: 22%;
}

.campaign-25d__smoke--two {
  right: 18%;
  top: 31%;
  animation-delay: -1.7s;
}

.campaign-25d__watchlight {
  position: absolute;
  top: 29%;
  width: 36%;
  height: 18%;
  background: linear-gradient(90deg, rgba(242, 201, 76, 0.32), transparent 72%);
  clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 56%);
  mix-blend-mode: screen;
  opacity: 0.52;
  transform-origin: left center;
  animation: campaign-25d-watch 3.8s ease-in-out infinite;
}

.campaign-25d__watchlight--one {
  left: 4%;
}

.campaign-25d__watchlight--two {
  right: 4%;
  transform: scaleX(-1);
  animation-delay: -1.9s;
}

.campaign-25d__terrain {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4%;
  height: 76%;
  perspective: 900px;
  pointer-events: none;
}

.campaign-25d__route {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(620px, 82vw);
  height: 100%;
  transform: translateX(-50%) rotateX(56deg);
  transform-origin: 50% 100%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 3px 34px),
    linear-gradient(90deg, transparent 0 21%, rgba(59, 47, 31, 0.78) 22% 78%, transparent 79% 100%),
    linear-gradient(180deg, #516238 0%, #374326 56%, #232215 100%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  box-shadow: inset 0 0 38px rgba(0, 0, 0, 0.42);
}

.campaign-25d--xiangjiang .campaign-25d__route {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 3px 34px),
    linear-gradient(90deg, transparent 0 18%, rgba(76, 59, 34, 0.82) 19% 81%, transparent 82% 100%),
    linear-gradient(180deg, #657242 0%, #4d5632 54%, #2b281a 100%);
}

.campaign-25d__world--active .campaign-25d__route {
  animation: campaign-25d-route 1.4s linear infinite;
}

.campaign-25d__plank {
  position: absolute;
  left: 50%;
  top: var(--top);
  width: var(--width);
  height: 14px;
  border: 1px solid rgba(42, 36, 32, 0.34);
  background: linear-gradient(90deg, #66462d, #a1784d 52%, #583a27);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.24);
  transform: translateX(-50%) rotate(var(--tilt));
}

.campaign-25d__grass {
  position: absolute;
  left: var(--left);
  top: var(--top);
  width: 18px;
  height: 46px;
  background: linear-gradient(180deg, #859958, #40512c);
  clip-path: polygon(48% 0, 62% 48%, 90% 20%, 70% 66%, 100% 100%, 50% 76%, 4% 100%, 30% 64%, 8% 24%, 38% 48%);
  transform: translate(-50%, -50%) rotateX(-56deg) scale(var(--scale));
  transform-origin: 50% 100%;
  opacity: 0.82;
}

.campaign-25d__goal {
  position: absolute;
  left: 50%;
  top: 13%;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 140px;
  min-height: 44px;
  padding: 8px 12px;
  color: #f8e6a8;
  background: rgba(24, 18, 13, 0.78);
  border: 1px solid rgba(248, 230, 168, 0.48);
  border-radius: var(--radius);
  transform: translate(-50%, -50%) rotateX(-56deg) scale(0.82);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.36);
}

.campaign-25d__goal-flag {
  position: absolute;
  left: 12px;
  top: -36px;
  width: 34px;
  height: 26px;
  background: var(--color-red);
  clip-path: polygon(0 0, 100% 16%, 74% 52%, 100% 88%, 0 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.campaign-25d__goal-flag::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0;
  width: 4px;
  height: 48px;
  background: #453020;
}

.campaign-25d__goal-flag--shown {
  opacity: 1;
  transform: translateY(0);
}

.campaign-25d__column {
  position: absolute;
  left: calc(50% + var(--column-x));
  top: var(--column-top);
  z-index: 10;
  width: 220px;
  height: 190px;
  transform: translate(-50%, -50%) rotateX(-56deg) scale(var(--column-scale));
  transform-origin: 50% 80%;
  transition: left 0.18s ease, top 0.18s ease, transform 0.18s ease;
}

.campaign-25d__column--step {
  animation: campaign-25d-step 0.26s ease;
}

.campaign-25d__soldier {
  position: absolute;
  left: calc(50% + var(--x));
  top: calc(14% + var(--y));
  width: 36px;
  height: 70px;
  transform: translate(-50%, -50%) scale(var(--s));
  transform-origin: 50% 90%;
  animation: campaign-25d-march 0.92s ease-in-out infinite;
  animation-delay: var(--d);
}

.campaign-25d__world:not(.campaign-25d__world--active) .campaign-25d__soldier {
  animation-duration: 1.8s;
}

.campaign-25d__soldier-shadow {
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: -5px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.34);
}

.campaign-25d__soldier-body {
  position: absolute;
  left: 10px;
  top: 20px;
  width: 17px;
  height: 32px;
  border-radius: 8px 8px 3px 3px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 235, 155, 0.22) 0 2px, transparent 3px 7px),
    linear-gradient(135deg, #8f2a22, #4d1415);
  border: 1px solid rgba(248, 230, 168, 0.18);
}

.campaign-25d__soldier-strap {
  position: absolute;
  left: 15px;
  top: 19px;
  width: 5px;
  height: 36px;
  background: rgba(42, 36, 32, 0.62);
  transform: rotate(-24deg);
}

.campaign-25d__soldier-pack {
  position: absolute;
  right: 4px;
  top: 25px;
  width: 13px;
  height: 21px;
  border-radius: 3px;
  background: linear-gradient(135deg, #7b6541, #493725);
  border: 1px solid rgba(24, 18, 13, 0.32);
}

.campaign-25d__soldier-head {
  position: absolute;
  left: 12px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c68d68;
}

.campaign-25d__soldier-cap {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 20px;
  height: 10px;
  border-radius: 9px 9px 3px 3px;
  background: #303831;
  border-bottom: 2px solid #151a16;
}

.campaign-25d__soldier-star {
  position: absolute;
  left: 17px;
  top: 5px;
  width: 4px;
  height: 4px;
  background: #f2c94c;
  clip-path: polygon(50% 0, 62% 36%, 100% 36%, 68% 58%, 80% 100%, 50% 74%, 20% 100%, 32% 58%, 0 36%, 38% 36%);
}

.campaign-25d__soldier-leg {
  position: absolute;
  top: 49px;
  width: 6px;
  height: 18px;
  border-radius: 0 0 4px 4px;
  background: #20261f;
  transform-origin: 50% 0;
}

.campaign-25d__soldier-leg--left {
  left: 12px;
  transform: rotate(9deg);
}

.campaign-25d__soldier-leg--right {
  right: 11px;
  transform: rotate(-8deg);
}

.campaign-25d__collectible {
  position: absolute;
  left: var(--left);
  top: var(--top);
  z-index: 12;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #f8e6a8;
  font-size: 0.74rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
  transform: translate(-50%, -50%) rotateX(-56deg) scale(var(--scale));
  transform-origin: 50% 80%;
  transition: opacity 0.25s ease, transform 0.25s ease;
  animation: campaign-25d-float 1.7s ease-in-out infinite;
}

.campaign-25d__collectible > i {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.38), rgba(242, 201, 76, 0.08) 58%, transparent 72%);
}

.campaign-25d__collectible b {
  padding: 2px 7px;
  white-space: nowrap;
  background: rgba(20, 15, 10, 0.58);
  border: 1px solid rgba(248, 230, 168, 0.24);
  border-radius: 999px;
}

.campaign-25d__collectible--collected {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -72%) rotateX(-56deg) scale(0.2);
}

.campaign-25d__icon-pack,
.campaign-25d__icon-letter,
.campaign-25d__icon-map,
.campaign-25d__icon-medical {
  position: relative;
  display: block;
  width: 34px;
  height: 30px;
  border: 1px solid rgba(42, 36, 32, 0.3);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);
}

.campaign-25d__icon-pack {
  background: linear-gradient(135deg, #816744, #49331f);
  border-radius: 6px 6px 4px 4px;
}

.campaign-25d__icon-pack::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -6px;
  width: 18px;
  height: 10px;
  border: 3px solid #3e2d1c;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.campaign-25d__icon-letter {
  width: 38px;
  height: 27px;
  background: #eadfc3;
  transform: rotate(-8deg);
}

.campaign-25d__icon-letter::before,
.campaign-25d__icon-letter::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 1px;
  background: rgba(95, 43, 29, 0.34);
}

.campaign-25d__icon-letter::before {
  top: 8px;
}

.campaign-25d__icon-letter::after {
  top: 16px;
}

.campaign-25d__icon-map {
  width: 40px;
  height: 28px;
  background:
    linear-gradient(32deg, transparent 42%, rgba(156, 35, 27, 0.74) 43% 48%, transparent 49%),
    #ddcfa9;
  transform: rotate(7deg);
}

.campaign-25d__icon-medical {
  width: 36px;
  height: 28px;
  border-radius: 5px;
  background: #d8d3c2;
}

.campaign-25d__icon-medical::before,
.campaign-25d__icon-medical::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--color-red);
  transform: translate(-50%, -50%);
}

.campaign-25d__icon-medical::before {
  width: 18px;
  height: 5px;
}

.campaign-25d__icon-medical::after {
  width: 5px;
  height: 18px;
}

.campaign-25d__threat {
  position: absolute;
  top: 31%;
  z-index: 14;
  width: 34%;
  height: 42%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.campaign-25d__threat--left {
  left: 4%;
  background: linear-gradient(90deg, rgba(242, 201, 76, 0.56), rgba(242, 201, 76, 0.08) 72%, transparent);
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%);
}

.campaign-25d__threat--right {
  right: 4%;
  background: linear-gradient(270deg, rgba(242, 201, 76, 0.56), rgba(242, 201, 76, 0.08) 72%, transparent);
  clip-path: polygon(0 0, 100% 18%, 100% 82%, 0 100%);
}

.campaign-25d--xiangjiang .campaign-25d__threat--left {
  background: linear-gradient(90deg, rgba(255, 90, 60, 0.58), rgba(255, 90, 60, 0.1) 72%, transparent);
}

.campaign-25d--xiangjiang .campaign-25d__threat--right {
  background: linear-gradient(270deg, rgba(255, 90, 60, 0.58), rgba(255, 90, 60, 0.1) 72%, transparent);
}

.campaign-25d__threat--active {
  opacity: 1;
  animation: campaign-25d-danger 0.45s ease-in-out infinite;
}

.campaign-25d__burst {
  position: absolute;
  top: 53%;
  z-index: 16;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  opacity: 0;
  background:
    radial-gradient(circle, rgba(255, 238, 179, 0.95) 0 12%, rgba(255, 120, 70, 0.72) 13% 32%, transparent 54%),
    conic-gradient(from 10deg, transparent 0 12%, rgba(255, 216, 111, 0.85) 13% 17%, transparent 18% 31%, rgba(255, 216, 111, 0.75) 32% 36%, transparent 37% 100%);
  transform: translate(-50%, -50%) rotateX(-56deg) scale(0.2);
  pointer-events: none;
}

.campaign-25d__burst--left {
  left: 32%;
}

.campaign-25d__burst--right {
  left: 68%;
}

.campaign-25d__burst--active {
  animation: campaign-25d-burst 0.62s ease-out;
}

.campaign-25d__foreground {
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  z-index: 11;
  pointer-events: none;
}

.campaign-25d__forearm {
  position: absolute;
  bottom: -8px;
  width: min(210px, 28vw);
  height: 118px;
  border-radius: 70px 70px 26px 26px;
  background:
    repeating-linear-gradient(90deg, rgba(242, 201, 76, 0.18) 0 4px, transparent 5px 14px),
    linear-gradient(145deg, #641b18, #29191a 72%);
  border: 1px solid rgba(248, 230, 168, 0.18);
  box-shadow: inset 0 12px 26px rgba(255, 255, 255, 0.05), 0 14px 30px rgba(0, 0, 0, 0.38);
}

.campaign-25d__forearm--left {
  left: 7%;
  transform: rotate(12deg);
}

.campaign-25d__forearm--right {
  right: 7%;
  transform: rotate(-12deg) scaleX(-1);
}

.campaign-25d__armor-row,
.campaign-25d__armor-wrap,
.campaign-25d__hand {
  position: absolute;
  display: block;
}

.campaign-25d__armor-row {
  left: 18%;
  right: 18%;
  height: 18px;
  background:
    repeating-linear-gradient(90deg, #2d3332 0 16px, #1b2020 17px 30px),
    linear-gradient(180deg, #343b3b, #151918);
  border: 1px solid rgba(248, 230, 168, 0.12);
  border-radius: 999px;
}

.campaign-25d__armor-row--one {
  top: 28px;
}

.campaign-25d__armor-row--two {
  top: 54px;
}

.campaign-25d__armor-wrap {
  left: 26%;
  right: 24%;
  bottom: 28px;
  height: 16px;
  border-top: 4px solid rgba(83, 56, 34, 0.92);
  border-bottom: 4px solid rgba(83, 56, 34, 0.82);
  transform: rotate(-4deg);
}

.campaign-25d__hand {
  right: -14px;
  bottom: 15px;
  width: 52px;
  height: 42px;
  border-radius: 50% 45% 38% 42%;
  background: #c68d68;
  box-shadow: inset -8px -7px 0 rgba(101, 54, 34, 0.22);
}

.campaign-25d--xiangjiang .campaign-3d__meter-fill {
  background: #d85338;
}

.campaign-25d--ruijin .campaign-3d__warning {
  background: rgba(169, 121, 63, 0.9);
}

.history-intro--25d {
  background: rgba(10, 8, 6, 0.64);
}

@keyframes campaign-25d-route {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 34px, 0 0, 0 0;
  }
}

@keyframes campaign-25d-march {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(var(--s)) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(var(--s)) translateY(-4px);
  }
}

@keyframes campaign-25d-step {
  0%,
  100% {
    filter: none;
  }
  50% {
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.3));
  }
}

@keyframes campaign-25d-float {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -8px;
  }
}

@keyframes campaign-25d-danger {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.5);
  }
}

@keyframes campaign-25d-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotateX(-56deg) scale(0.2);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotateX(-56deg) scale(1.35);
  }
}

@keyframes campaign-25d-watch {
  0%,
  100% {
    opacity: 0.3;
    transform: rotate(-7deg);
  }
  50% {
    opacity: 0.62;
    transform: rotate(9deg);
  }
}

@keyframes campaign-25d-smoke {
  0%,
  100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.38;
  }
  50% {
    transform: translateY(-16px) scale(1.08);
    opacity: 0.62;
  }
}

@media (max-width: 640px) {
  .campaign-25d__terrain {
    height: 72%;
  }

  .campaign-25d__route {
    width: 92vw;
  }

  .campaign-25d__column {
    width: 180px;
    height: 160px;
  }

  .campaign-25d__soldier {
    width: 31px;
    height: 62px;
  }

  .campaign-25d__foreground {
    height: 18%;
  }

  .campaign-25d__forearm {
    width: 34vw;
    height: 82px;
  }

  .campaign-25d__collectible b {
    font-size: 0.68rem;
  }
}

/* ---------- 3D 行动场景 ---------- */

.view-campaign-3d {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.campaign-3d {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #171712;
}

.campaign-3d__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.campaign-3d__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 6, 5, 0.2) 0%, rgba(7, 6, 5, 0) 42%, rgba(7, 6, 5, 0.54) 100%),
    radial-gradient(ellipse at center, transparent 46%, rgba(0, 0, 0, 0.48) 100%);
}

.campaign-3d__hud {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 14;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: min(650px, calc(100vw - 32px));
}

.campaign-3d__hud[hidden],
.campaign-3d__warning[hidden],
.campaign-3d__caption[hidden],
.campaign-3d__hint[hidden],
.campaign-3d__controls[hidden] {
  display: none;
}

.campaign-3d__meter {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(237, 228, 205, 0.92);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.campaign-3d__meter-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(237, 228, 205, 0.42);
  background: rgba(237, 228, 205, 0.2);
}

.campaign-3d__meter-fill {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: #c9a54d;
  transition: width 0.2s ease;
}

.campaign-3d--xiangjiang .campaign-3d__meter-fill {
  background: #d85338;
}

.campaign-3d__integrity {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: var(--color-paper);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
}

.campaign-3d__inventory {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.campaign-3d__artifact {
  padding: 3px 9px;
  border: 1px solid rgba(237, 228, 205, 0.38);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(237, 228, 205, 0.84);
  background: rgba(16, 14, 12, 0.46);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
}

.campaign-3d__artifact--collected {
  color: #f8e6a8;
  border-color: rgba(242, 201, 76, 0.72);
  background: rgba(88, 59, 18, 0.72);
}

.campaign-3d__warning {
  position: absolute;
  top: 42%;
  z-index: 18;
  max-width: min(330px, 42vw);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  background: rgba(156, 35, 27, 0.88);
  border: 1px solid rgba(237, 228, 205, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
  animation: bridge-warning-pulse 0.55s ease-in-out infinite;
}

.campaign-3d--ruijin .campaign-3d__warning {
  background: rgba(169, 121, 63, 0.9);
}

.campaign-3d__warning--left {
  left: 6%;
}

.campaign-3d__warning--right {
  right: 6%;
}

.campaign-3d__caption {
  position: absolute;
  bottom: 19%;
  left: 50%;
  z-index: 14;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 36px));
  padding: 10px 18px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--color-paper);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.campaign-3d__caption--hit {
  color: #f2c94c;
}

.campaign-3d__caption--success {
  color: #d7edc2;
}

.campaign-3d__caption--collect {
  color: #f8e6a8;
  font-weight: 700;
}

.campaign-3d__caption--fail,
.campaign-3d__caption--victory {
  font-size: 1.28rem;
  font-weight: 700;
}

.campaign-3d__hint {
  position: absolute;
  bottom: 12%;
  left: 50%;
  z-index: 14;
  transform: translateX(-50%);
  max-width: min(620px, calc(100vw - 36px));
  padding: 6px 15px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: rgba(237, 228, 205, 0.9);
  background: rgba(0, 0, 0, 0.42);
  text-align: center;
}

.campaign-3d__letter {
  position: absolute;
  inset: 0;
  z-index: 22;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.46);
}

.campaign-3d__letter[hidden] {
  display: none;
}

.campaign-3d__letter-paper {
  width: min(460px, calc(100vw - 48px));
  min-height: 360px;
  padding: 26px 30px 22px;
  border: 1px solid rgba(116, 78, 42, 0.5);
  background:
    linear-gradient(90deg, rgba(126, 91, 50, 0.12), transparent 16%, transparent 84%, rgba(126, 91, 50, 0.12)),
    #eadfc3;
  color: #4b281c;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
}

.campaign-3d__letter-eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  color: #8a4c29;
}

.campaign-3d__letter-paper h3 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: #642f20;
}

.campaign-3d__letter-lines {
  display: grid;
  gap: 7px;
  min-height: 170px;
  padding: 16px 12px;
  border-top: 1px solid rgba(116, 78, 42, 0.26);
  border-bottom: 1px solid rgba(116, 78, 42, 0.26);
}

.campaign-3d__letter-lines p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  line-height: 1.45;
}

.campaign-3d__letter-source,
.campaign-3d__letter-timer {
  margin: 12px 0 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(75, 40, 28, 0.78);
}

.campaign-3d__letter-timer {
  font-weight: 700;
  color: #8a2e22;
}

.campaign-3d__letter-continue {
  margin-top: 14px;
}

.campaign-3d__controls {
  position: absolute;
  left: 50%;
  bottom: 4%;
  z-index: 15;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 54px minmax(160px, auto) 54px;
  gap: 10px;
  align-items: center;
}

.campaign-3d__controls button,
#campaign-start,
#campaign-skip,
.campaign-3d__letter-continue {
  min-height: 44px;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-paper);
  background: var(--color-red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.campaign-3d__intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#campaign-skip {
  color: rgba(237, 228, 205, 0.92);
  background: rgba(22, 18, 14, 0.72);
  border: 1px solid rgba(237, 228, 205, 0.32);
}

.campaign-3d__letter-continue {
  color: #eadfc3;
  background: #7a321f;
}

.campaign-3d__controls button:disabled {
  cursor: wait;
  opacity: 0.52;
  transform: none;
}

.campaign-3d__controls button[data-command="left"],
.campaign-3d__controls button[data-command="right"] {
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.campaign-3d__controls button:hover,
#campaign-start:hover,
#campaign-skip:hover,
.campaign-3d__letter-continue:hover {
  background: var(--color-red-deep);
  transform: translateY(-2px);
}

.history-intro--3d {
  background: rgba(10, 8, 6, 0.62);
}

@media (max-width: 640px) {
  .campaign-3d__hud {
    top: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
  }

  .campaign-3d__meter {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .campaign-3d__integrity {
    font-size: 0.9rem;
  }

  .campaign-3d__inventory {
    justify-content: flex-start;
  }

  .campaign-3d__artifact {
    font-size: 0.7rem;
  }

  .campaign-3d__warning {
    top: 36%;
    max-width: min(280px, 72vw);
    font-size: 0.92rem;
  }

  .campaign-3d__warning--left,
  .campaign-3d__warning--right {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .campaign-3d__caption {
    bottom: 21%;
    font-size: 0.98rem;
  }

  .campaign-3d__caption--fail,
  .campaign-3d__caption--victory {
    font-size: 1.12rem;
  }

  .campaign-3d__hint {
    bottom: 13%;
    border-radius: var(--radius);
    font-size: 0.76rem;
  }

  .campaign-3d__controls {
    grid-template-columns: 48px minmax(130px, 1fr) 48px;
    width: calc(100vw - 28px);
  }

  .campaign-3d__controls button,
  #campaign-start,
  #campaign-skip,
  .campaign-3d__letter-continue {
    font-size: 0.86rem;
  }
}

/* ---------- 遵义会议推理关 ---------- */

.view-zunyi {
  width: 100vw;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(24, 18, 13, 0.38), rgba(24, 18, 13, 0.9)),
    radial-gradient(circle at 50% 10%, rgba(224, 177, 89, 0.36), transparent 34%),
    url("/huozi-project/assets/levels/zunyi-turn/site-exterior.png") center / cover no-repeat,
    #201710;
  color: var(--color-paper);
}

.zunyi-room {
  position: relative;
  min-height: 100vh;
  padding: 24px;
  overflow: hidden;
}

.zunyi-room::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.18)),
    linear-gradient(180deg, rgba(75, 46, 29, 0.22), rgba(75, 46, 29, 0.65)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-table-room.png") center / cover no-repeat,
    repeating-linear-gradient(90deg, #4b2e1d 0 74px, #593823 74px 78px);
  transform: perspective(900px) rotateX(58deg);
  transform-origin: bottom;
  opacity: 0.95;
}

.zunyi-room__lamp {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 225, 134, 0.75), rgba(210, 133, 44, 0.24) 42%, transparent 70%);
  filter: blur(2px);
  pointer-events: none;
  animation: zunyi-lamp 2.4s ease-in-out infinite;
}

@keyframes zunyi-lamp {
  0%,
  100% {
    opacity: 0.78;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.08);
  }
}

.zunyi-topbar,
.zunyi-brief,
.zunyi-story,
.zunyi-table {
  position: relative;
  z-index: 1;
}

.zunyi-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.zunyi-back {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--color-paper);
  background: rgba(0, 0, 0, 0.32);
  text-decoration: none;
  font-size: 0.85rem;
}

.zunyi-progress {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
}

.zunyi-progress__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(237, 228, 205, 0.38);
  border: 1px solid rgba(237, 228, 205, 0.5);
}

.zunyi-progress__dot--active {
  background: #f2c94c;
  box-shadow: 0 0 0 4px rgba(242, 201, 76, 0.18);
}

.zunyi-progress__dot--done {
  background: var(--color-red);
}

.zunyi-brief {
  width: min(720px, 92vw);
  margin: 13vh auto 0;
  text-align: center;
}

.zunyi-brief__eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: #f2c94c;
}

.zunyi-brief h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 4.3rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.zunyi-brief p {
  width: min(620px, 100%);
  margin: 0 auto 28px;
  color: rgba(237, 228, 205, 0.9);
  font-size: 1rem;
}

.zunyi-video-card {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(237, 228, 205, 0.2);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.62);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.zunyi-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #17100b;
}

.zunyi-video-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.zunyi-secondary {
  padding: 12px 22px;
  border: 1px solid rgba(237, 228, 205, 0.32);
  border-radius: 999px;
  color: var(--color-paper);
  background: rgba(237, 228, 205, 0.12);
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
}

.zunyi-secondary:hover {
  background: rgba(237, 228, 205, 0.2);
}

.zunyi-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  width: min(1040px, 94vw);
  margin: 8vh auto 0;
}

.zunyi-story[hidden] {
  display: none;
}

.zunyi-story__visual,
.zunyi-story__panel {
  min-height: 480px;
  border: 1px solid rgba(237, 228, 205, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.zunyi-story__visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 14, 11, 0.2), rgba(17, 14, 11, 0.78)),
    #3a2a1c;
}

.zunyi-story__visual::before,
.zunyi-story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.zunyi-story__visual--loss::before {
  background:
    linear-gradient(90deg, rgba(156, 35, 27, 0.85) 0 56%, transparent 56%),
    repeating-linear-gradient(90deg, rgba(237, 228, 205, 0.9) 0 12px, transparent 12px 28px);
  width: 74%;
  height: 18px;
  top: 48%;
  left: 13%;
  border-radius: 999px;
  animation: zunyi-loss-bar 2s ease both;
}

.zunyi-story__visual--loss::after {
  width: 64%;
  height: 160px;
  left: 18%;
  top: 23%;
  background:
    radial-gradient(circle at 8% 74%, #ede4cd 0 9px, transparent 10px),
    radial-gradient(circle at 20% 62%, #ede4cd 0 9px, transparent 10px),
    radial-gradient(circle at 32% 70%, #ede4cd 0 9px, transparent 10px),
    radial-gradient(circle at 44% 58%, #ede4cd 0 9px, transparent 10px),
    radial-gradient(circle at 56% 72%, rgba(237, 228, 205, 0.35) 0 9px, transparent 10px),
    radial-gradient(circle at 68% 60%, rgba(237, 228, 205, 0.25) 0 9px, transparent 10px),
    radial-gradient(circle at 80% 76%, rgba(237, 228, 205, 0.18) 0 9px, transparent 10px);
}

.zunyi-story__visual--loss {
  background:
    linear-gradient(180deg, rgba(17, 14, 11, 0.24), rgba(17, 14, 11, 0.78)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-room-map.png") center / cover no-repeat;
}

@keyframes zunyi-loss-bar {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 44% 0 0);
  }
}

.zunyi-story__visual--chase::before {
  background:
    radial-gradient(circle at 22% 66%, #f2c94c 0 10px, transparent 12px),
    radial-gradient(circle at 38% 56%, #f2c94c 0 10px, transparent 12px),
    radial-gradient(circle at 55% 44%, #9c231b 0 11px, transparent 13px),
    radial-gradient(circle at 73% 32%, #9c231b 0 11px, transparent 13px),
    linear-gradient(145deg, transparent 0 28%, rgba(237, 228, 205, 0.34) 28% 30%, transparent 30% 100%);
  animation: zunyi-chase-pan 2.8s ease-in-out infinite;
}

.zunyi-story__visual--chase {
  background:
    linear-gradient(180deg, rgba(17, 14, 11, 0.14), rgba(17, 14, 11, 0.72)),
    url("/huozi-project/assets/levels/zunyi-turn/site-exterior.png") center / cover no-repeat;
}

.zunyi-story__visual--chase::after {
  left: 12%;
  top: 18%;
  width: 76%;
  height: 64%;
  border: 2px dashed rgba(237, 228, 205, 0.28);
  border-radius: 55% 45% 48% 52%;
}

@keyframes zunyi-chase-pan {
  0%,
  100% {
    transform: translateX(-1%);
  }
  50% {
    transform: translateX(2%);
  }
}

.zunyi-story__visual--arrival {
  background:
    linear-gradient(180deg, rgba(17, 14, 11, 0.08), rgba(17, 14, 11, 0.72)),
    url("/huozi-project/assets/levels/zunyi-turn/site-exterior.png") center / cover no-repeat;
}

.zunyi-story__visual--arrival::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 28%, transparent 70%, rgba(0, 0, 0, 0.54)),
    radial-gradient(circle at 52% 34%, rgba(242, 201, 76, 0.32), transparent 23%);
}

.zunyi-story__visual--arrival::after {
  left: 9%;
  bottom: 9%;
  width: 84%;
  height: 46%;
  background:
    radial-gradient(circle at 8% 38%, #17100b 0 17px, transparent 18px),
    linear-gradient(180deg, transparent 38%, #17100b 39% 88%, transparent 89%) 5% 0 / 46px 100% no-repeat,
    radial-gradient(circle at 34% 30%, #17100b 0 18px, transparent 19px),
    linear-gradient(180deg, transparent 36%, #17100b 37% 90%, transparent 91%) 31% 0 / 48px 100% no-repeat,
    radial-gradient(circle at 62% 36%, #17100b 0 16px, transparent 17px),
    linear-gradient(180deg, transparent 40%, #17100b 41% 88%, transparent 89%) 59% 0 / 44px 100% no-repeat,
    radial-gradient(circle at 88% 31%, #17100b 0 18px, transparent 19px),
    linear-gradient(180deg, transparent 37%, #17100b 38% 90%, transparent 91%) 85% 0 / 48px 100% no-repeat;
  opacity: 0.86;
  animation: zunyi-arrival-walk 4.5s ease-in-out infinite alternate;
}

@keyframes zunyi-arrival-walk {
  from {
    transform: translateX(-2%);
  }
  to {
    transform: translateX(3%);
  }
}

.zunyi-story__visual--meeting::before {
  inset: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(17, 14, 11, 0.12), rgba(17, 14, 11, 0.68)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-painting-wide.png") center / cover no-repeat;
  transform: scale(1.04);
  animation: zunyi-painting-pan 7s ease-in-out infinite alternate;
}

.zunyi-story__visual--meeting::after {
  inset: 62% 18% 12%;
  background:
    linear-gradient(12deg, transparent 0 35%, rgba(237, 228, 205, 0.95) 36% 54%, transparent 55%),
    linear-gradient(-9deg, transparent 0 44%, rgba(237, 228, 205, 0.78) 45% 65%, transparent 66%);
  animation: zunyi-paper-glow 2.6s ease-in-out infinite;
}

@keyframes zunyi-painting-pan {
  from {
    transform: scale(1.04) translateX(-1%);
  }
  to {
    transform: scale(1.08) translateX(1.5%);
  }
}

@keyframes zunyi-paper-glow {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.zunyi-story__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: rgba(237, 228, 205, 0.96);
  color: var(--color-ink);
}

.zunyi-story__tag {
  margin: 0 0 10px;
  color: var(--color-red);
  font-weight: 700;
}

.zunyi-story__panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.3;
}

.zunyi-story__panel p:not(.zunyi-story__tag) {
  margin: 0 0 18px;
  color: var(--color-ink-soft);
}

.zunyi-story__panel strong {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 24px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--color-paper);
  background: var(--color-red);
}

.zunyi-primary,
.zunyi-next {
  padding: 12px 26px;
  border: none;
  border-radius: 999px;
  color: var(--color-paper);
  background: var(--color-red);
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.zunyi-primary:hover,
.zunyi-next:hover {
  background: var(--color-red-deep);
}

.zunyi-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  width: min(1180px, calc(100vw - 48px));
  margin: 42px auto 0;
}

.zunyi-stage,
.zunyi-note {
  background:
    linear-gradient(180deg, rgba(38, 24, 15, 0.32), rgba(38, 24, 15, 0.78)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-table-room.png") center / cover no-repeat;
  color: var(--color-paper);
  border: 1px solid rgba(237, 228, 205, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.zunyi-stage {
  min-height: 590px;
  padding: 22px;
}

.zunyi-stage__header {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
  max-width: 720px;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.54);
  backdrop-filter: blur(2px);
}

.zunyi-stage__step {
  margin: 0;
  color: var(--color-red);
  font-size: 0.85rem;
  font-weight: 700;
}

.zunyi-stage h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--color-paper);
}

.zunyi-stage__header p:last-child {
  margin: 0;
  color: rgba(237, 228, 205, 0.82);
}

.zunyi-workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  min-height: 390px;
  align-items: stretch;
}

.zunyi-evidence-board,
.zunyi-order__cards,
.zunyi-choice {
  display: grid;
  gap: 12px;
}

.zunyi-evidence-board {
  position: relative;
  min-height: 390px;
  padding: 26px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(242, 201, 76, 0.18), transparent 24%),
    radial-gradient(circle at 78% 70%, rgba(8, 6, 4, 0.36), transparent 32%),
    linear-gradient(180deg, rgba(32, 20, 12, 0.28), rgba(20, 13, 8, 0.72)),
    var(--zunyi-desk-bg, url("/huozi-project/assets/levels/zunyi-turn/meeting-table-room.png")) center / cover no-repeat;
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.22);
}

.zunyi-object-bank,
.zunyi-card-bank {
  position: relative;
  min-height: 330px;
}

.zunyi-table-props {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.zunyi-prop {
  position: absolute;
  display: block;
}

.zunyi-prop--lamp {
  top: 8px;
  left: 8px;
  width: 96px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(242, 201, 76, 0.5));
  opacity: 0.94;
}

.zunyi-prop--cup {
  right: 22px;
  bottom: 18px;
  width: 42px;
  height: 30px;
  border: 3px solid rgba(237, 228, 205, 0.36);
  border-radius: 6px 6px 18px 18px;
}

.zunyi-prop--pencil {
  right: 78px;
  top: 30px;
  width: 96px;
  height: 7px;
  border-radius: 999px;
  background: rgba(84, 39, 25, 0.75);
  transform: rotate(-18deg);
}

.zunyi-prop--letter-stack {
  right: 18px;
  bottom: 14px;
  width: min(142px, 28%);
  height: auto;
  opacity: 0.62;
  transform: rotate(7deg);
  filter: sepia(0.18) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.3));
}

.zunyi-prop--hand-letter,
.zunyi-prop--cap,
.zunyi-prop--satchel,
.zunyi-prop--canteen {
  height: auto;
  filter: sepia(0.16) drop-shadow(0 10px 16px rgba(0, 0, 0, 0.32));
}

.zunyi-prop--hand-letter {
  left: 30%;
  bottom: 34px;
  width: 170px;
  opacity: 0.58;
  transform: rotate(-8deg);
}

.zunyi-prop--cap {
  left: 22px;
  bottom: 46px;
  width: 86px;
  opacity: 0.68;
  transform: rotate(9deg);
}

.zunyi-prop--satchel {
  left: 108px;
  bottom: 10px;
  width: 128px;
  opacity: 0.44;
  transform: rotate(-5deg);
}

.zunyi-prop--canteen {
  right: 164px;
  bottom: 24px;
  width: 86px;
  opacity: 0.52;
  transform: rotate(12deg);
}

.zunyi-card,
.zunyi-plan {
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid rgba(42, 36, 32, 0.18);
  border-radius: 6px;
  background: #fbf7ea;
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  cursor: grab;
  box-shadow: 0 3px 0 rgba(42, 36, 32, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.zunyi-card {
  position: absolute;
  isolation: isolate;
  width: min(210px, 44%);
  min-height: 112px;
  transform: rotate(-1.5deg);
  background:
    linear-gradient(180deg, rgba(251, 247, 234, 0.72), rgba(251, 247, 234, 0.94)),
    url("/huozi-project/assets/levels/zunyi-turn/handwriting-closeup.png") center / cover no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 32%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(85, 73, 60, 0.08) 18px 19px),
  #fbf7ea;
  color: #2a2420;
  opacity: 0.96;
  clip-path: polygon(2% 0, 98% 2%, 100% 94%, 94% 100%, 0 98%);
  filter: sepia(0.12);
}

.zunyi-card:nth-child(1) {
  left: 7%;
  top: 12%;
}

.zunyi-card:nth-child(2) {
  right: 11%;
  top: 8%;
  transform: rotate(1.2deg);
}

.zunyi-card:nth-child(3) {
  left: 18%;
  bottom: 13%;
  transform: rotate(-0.5deg);
}

.zunyi-card:nth-child(4) {
  right: 5%;
  bottom: 18%;
  transform: rotate(2.4deg);
}

.zunyi-card:nth-child(5) {
  left: 44%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-2.2deg);
}

.zunyi-card:hover {
  transform: translateY(-7px) rotate(0deg) scale(1.02);
  z-index: 5;
}

.zunyi-card small {
  position: relative;
  z-index: 2;
  display: block;
  margin-bottom: 8px;
  color: var(--color-red);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
}

.zunyi-card > span:not(.zunyi-card__pin) {
  position: relative;
  z-index: 2;
  display: block;
}

.zunyi-card__object {
  position: absolute;
  inset: 10px 10px auto auto;
  z-index: 1;
  width: 46%;
  max-height: 74%;
  object-fit: contain;
  opacity: 0.34;
  filter: sepia(0.24) contrast(1.04);
  pointer-events: none;
}

.zunyi-card__label {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  color: rgba(156, 35, 27, 0.14);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  pointer-events: none;
}

.zunyi-card__pin {
  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(156, 35, 27, 0.72);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.zunyi-object--meeting-map,
.zunyi-card--map {
  width: min(240px, 52%);
  min-height: 132px;
}

.zunyi-card--telegram {
  border-style: dashed;
  background:
    linear-gradient(180deg, rgba(247, 239, 216, 0.86), rgba(247, 239, 216, 0.96)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-manuscript.png") center / cover no-repeat,
    linear-gradient(90deg, rgba(156, 35, 27, 0.08), transparent 22%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(42, 36, 32, 0.08) 14px 15px),
    #f7efd8;
}

.zunyi-object--meeting-map {
  background:
    linear-gradient(180deg, rgba(234, 220, 175, 0.74), rgba(234, 220, 175, 0.92)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-room-map.png") center / cover no-repeat,
    radial-gradient(circle at 30% 42%, rgba(156, 35, 27, 0.34) 0 5px, transparent 6px),
    radial-gradient(circle at 68% 58%, rgba(156, 35, 27, 0.34) 0 5px, transparent 6px),
    linear-gradient(135deg, transparent 0 38%, rgba(85, 73, 60, 0.24) 39% 40%, transparent 41%),
    linear-gradient(25deg, transparent 0 48%, rgba(85, 73, 60, 0.18) 49% 50%, transparent 51%),
    #eadcaf;
}

.zunyi-object--loss-report,
.zunyi-object--record-book {
  min-height: 126px;
}

.zunyi-object--handwritten-letter {
  background:
    linear-gradient(180deg, rgba(251, 247, 234, 0.34), rgba(251, 247, 234, 0.5)),
    url("/huozi-project/assets/relics/handwritten-letter.png") center / cover no-repeat,
    #eadcaf;
}

.zunyi-card--note {
  min-height: 88px;
  background:
    linear-gradient(180deg, rgba(242, 201, 76, 0.18), transparent),
    #f4e1b4;
}

.zunyi-card--report {
  background:
    linear-gradient(90deg, rgba(156, 35, 27, 0.1), rgba(156, 35, 27, 0.1) 6px, transparent 6px),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(85, 73, 60, 0.08) 18px 19px),
    #fbf7ea;
}

.zunyi-card:hover,
.zunyi-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(42, 36, 32, 0.16);
}

.zunyi-card--selected {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(156, 35, 27, 0.18);
}

.zunyi-card--placed {
  cursor: default;
  background: rgba(243, 234, 209, 0.82);
  border-color: rgba(156, 35, 27, 0.32);
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  min-height: 74px;
  transform: rotate(0deg);
  clip-path: none;
}

.zunyi-card--placed .zunyi-card__object {
  width: 34%;
  max-height: 62px;
  opacity: 0.18;
}

.zunyi-card--placed .zunyi-card__label {
  font-size: 1.4rem;
  opacity: 0.5;
}

.zunyi-card--shake {
  animation: zunyi-shake 0.32s ease;
}

@keyframes zunyi-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

.zunyi-record-sheet,
.zunyi-zones {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, rgba(156, 35, 27, 0.1), transparent 12%),
    linear-gradient(180deg, rgba(251, 247, 234, 0.92), rgba(237, 228, 205, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(85, 73, 60, 0.07) 30px 31px);
  color: var(--color-ink);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
  transform: rotate(0.4deg);
}

.zunyi-zone {
  min-height: 150px;
  padding: 12px;
  border: 1px dashed rgba(85, 73, 60, 0.3);
  border-radius: 2px;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(85, 73, 60, 0.08) 31px 32px),
    rgba(251, 247, 234, 0.46);
}

.zunyi-zone__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(85, 73, 60, 0.18);
}

.zunyi-zone h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.zunyi-zone p {
  margin: 0 0 12px;
  color: var(--color-ink-soft);
  font-size: 0.86rem;
}

.zunyi-zone__cards {
  display: grid;
  gap: 10px;
}

.zunyi-feedback {
  min-height: 34px;
  width: fit-content;
  max-width: min(680px, 100%);
  margin: 18px 0 0;
  padding: 8px 12px;
  border-radius: 3px;
  color: #f7e9c8;
  background: rgba(18, 13, 9, 0.5);
  font-weight: 700;
}

.zunyi-next {
  margin-top: 10px;
}

.zunyi-note {
  min-height: 590px;
  padding: 22px 20px;
  background:
    linear-gradient(90deg, rgba(156, 35, 27, 0.08), transparent 14%),
    #fbf7ea;
}

.zunyi-note__label {
  margin: 0 0 8px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.zunyi-note h3 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
}

.zunyi-note ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--color-ink-soft);
}

.zunyi-fragment {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px;
  border: 1px solid rgba(156, 35, 27, 0.3);
  border-radius: 6px;
  background: #f3ead1;
  font-weight: 700;
  animation: zunyi-fragment-in 0.55s ease both;
}

@keyframes zunyi-fragment-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.zunyi-fragment__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-paper);
  background: var(--color-red);
  font-family: var(--font-serif);
}

.zunyi-fragment__image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: sepia(0.18) drop-shadow(0 4px 8px rgba(42, 36, 32, 0.22));
}

.zunyi-ai {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(85, 73, 60, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(242, 201, 76, 0.16), transparent),
    #f4e1b4;
}

.zunyi-ai__label {
  margin: 0 0 6px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
}

.zunyi-ai p:not(.zunyi-ai__label) {
  margin: 0 0 10px;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.zunyi-ai button {
  padding: 8px 13px;
  border: none;
  border-radius: 999px;
  color: var(--color-paper);
  background: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.zunyi-ai button:hover {
  background: var(--color-red-deep);
}

.zunyi-plan {
  min-height: 132px;
  cursor: pointer;
}

.zunyi-plan span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.zunyi-plan .zunyi-plan__tag {
  width: fit-content;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--color-paper);
  background: rgba(156, 35, 27, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.zunyi-plan small {
  display: block;
  color: var(--color-ink-soft);
  font-weight: 500;
}

.zunyi-plan--warn {
  border-color: rgba(156, 35, 27, 0.6);
  background: #f1d5c8;
}

.zunyi-plan--right {
  border-color: rgba(72, 119, 79, 0.7);
  background: #dfebd6;
}

.zunyi-order {
  display: grid;
  gap: 20px;
}

.zunyi-order .zunyi-card,
.zunyi-choice .zunyi-plan {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: 100%;
  transform: none;
}

.zunyi-order__cards {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.zunyi-card--button {
  cursor: pointer;
}

.zunyi-card--button:disabled {
  opacity: 0.72;
}

.zunyi-card--decision em {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 8px;
  color: var(--color-ink-soft);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
}

.zunyi-order__track {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(221, 207, 169, 0.55);
}

.zunyi-order__track span {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(251, 247, 234, 0.85);
  color: var(--color-ink-soft);
  font-weight: 700;
}

.zunyi-turn-map {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(242, 201, 76, 0.22), transparent 28%),
    linear-gradient(180deg, rgba(34, 22, 14, 0.18), rgba(18, 11, 7, 0.72)),
    var(--zunyi-desk-bg) center / cover no-repeat;
  box-shadow: inset 0 0 54px rgba(0, 0, 0, 0.28);
}

.zunyi-turn-map__paper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 86%);
  height: min(390px, 62%);
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(-1deg);
  border: 1px solid rgba(92, 70, 48, 0.24);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
  filter: sepia(0.2) contrast(1.03);
  opacity: 0.94;
}

.zunyi-turn-map__route {
  position: absolute;
  inset: 16% 9% 14%;
  z-index: 2;
}

.zunyi-turn-map__route::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 51%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #9c231b, #f2c94c, #9c231b);
  box-shadow: 0 0 18px rgba(242, 201, 76, 0.52);
  animation: zunyi-route-light 1.3s ease both;
}

.zunyi-turn-map__point {
  position: absolute;
  top: calc(24% + (var(--point-index) % 2) * 34%);
  left: calc(5% + var(--point-index) * 27%);
  width: min(190px, 26%);
  padding: 12px;
  color: var(--color-ink);
  background: rgba(251, 247, 234, 0.9);
  border: 1px solid rgba(156, 35, 27, 0.2);
  border-radius: 3px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  animation: zunyi-route-card 0.55s ease both;
  animation-delay: calc(var(--point-index) * 0.16s);
}

.zunyi-turn-map__point span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  border-radius: 50%;
  color: var(--color-paper);
  background: var(--color-red);
  font-family: var(--font-serif);
  font-weight: 700;
}

.zunyi-turn-map__point h3,
.zunyi-turn-map__point strong {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1rem;
}

.zunyi-turn-map__point p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.82rem;
  line-height: 1.5;
}

@keyframes zunyi-route-light {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes zunyi-route-card {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 860px) {
  .zunyi-room {
    padding: 16px;
  }

  .zunyi-story {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .zunyi-story__visual,
  .zunyi-story__panel {
    min-height: 280px;
  }

  .zunyi-table {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .zunyi-stage,
  .zunyi-note {
    min-height: 0;
  }

  .zunyi-zones {
    grid-template-columns: 1fr;
  }

  .zunyi-workspace {
    grid-template-columns: 1fr;
  }

  .zunyi-evidence-board {
    min-height: 520px;
  }

  .zunyi-card {
    width: min(210px, 48%);
  }

  .zunyi-note {
    order: -1;
  }
}

/* ---------- 写实历史任务：瑞金出发 / 湘江血战 ---------- */

.view-historical-mission {
  width: 100%;
  min-height: 100svh;
  padding: 0;
  background: #12130f;
}

.historical-mission,
.historical-mission * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.historical-mission {
  --accent: #c99a45;
  --accent-strong: #f0c36b;
  --danger: #c84537;
  --paper: #f2ead7;
  --ink: #171812;
  --panel: rgba(17, 19, 15, 0.9);
  width: 100%;
  min-height: 100svh;
  color: #f7f2e8;
  background: #12130f;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.historical-mission--xiangjiang {
  --accent: #b9624b;
  --accent-strong: #e2a275;
  --danger: #d74335;
  --panel: rgba(18, 20, 18, 0.92);
}

.historical-mission [hidden] {
  display: none !important;
}

.historical-mission__stage {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: #191b16;
}

.historical-mission__backdrop,
.historical-mission__scrim,
.historical-mission__atmosphere {
  position: absolute;
  inset: 0;
}

.historical-mission__backdrop {
  z-index: -4;
  background-position: var(--scene-position, center);
  background-size: cover;
  transform: scale(1.025);
  filter: saturate(0.86) contrast(1.04);
  animation: historical-scene-breathe 18s ease-in-out infinite alternate;
}

.historical-mission__scrim {
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 9, 7, 0.9) 0%, rgba(7, 9, 7, 0.58) 27%, rgba(7, 9, 7, 0.08) 58%, rgba(7, 9, 7, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 9, 7, 0.62) 0%, transparent 27%, transparent 58%, rgba(7, 9, 7, 0.8) 100%);
}

.historical-mission__atmosphere {
  z-index: -3;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(115deg, transparent 0 45%, rgba(221, 229, 218, 0.13) 51%, transparent 58%),
    linear-gradient(70deg, transparent 0 56%, rgba(215, 222, 210, 0.09) 64%, transparent 72%);
  animation: historical-haze 13s ease-in-out infinite alternate;
}

.historical-mission__topbar {
  position: absolute;
  z-index: 12;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(420px, 1.6fr) minmax(130px, 0.7fr);
  align-items: center;
  min-height: 66px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(244, 234, 211, 0.19);
  background: rgba(12, 14, 11, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.historical-mission__identity,
.historical-mission__status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

.historical-mission__identity span {
  overflow: hidden;
  color: #f7f1e5;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.historical-mission__identity b {
  flex: 0 0 auto;
  color: var(--accent-strong);
  font-size: 12px;
}

.historical-mission__status {
  justify-content: flex-end;
  color: #f0e7d5;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.historical-mission__timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.historical-mission__timeline li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  color: rgba(240, 232, 216, 0.54);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
}

.historical-mission__timeline li::before {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  content: "";
  background: rgba(238, 228, 209, 0.2);
}

.historical-mission__timeline i {
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(241, 232, 214, 0.35);
  border-radius: 50%;
  color: #e8deca;
  background: #20231c;
  font-style: normal;
  font-weight: 800;
}

.historical-mission__timeline span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.historical-mission__timeline-step--active,
.historical-mission__timeline-step--done {
  color: #f4ead7 !important;
}

.historical-mission__timeline-step--active i {
  border-color: var(--accent-strong);
  color: #191a15;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(220, 174, 88, 0.14);
}

.historical-mission__timeline-step--done i {
  border-color: var(--accent);
  color: #f4ead7;
  background: #6d5630;
}

.historical-mission__story {
  position: absolute;
  z-index: 7;
  top: 92px;
  left: 24px;
  width: min(370px, calc(100vw - 48px));
  max-height: calc(100svh - 190px);
  padding: 21px 22px 19px;
  overflow: auto;
  border-left: 3px solid var(--accent);
  background: rgba(14, 16, 13, 0.84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.historical-mission__story-kicker,
.historical-mission__eyebrow,
.historical-mission__result > p {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.historical-mission__story h2 {
  margin: 0;
  color: #fffaf0;
  font-size: 25px;
  line-height: 1.35;
}

.historical-mission__story-text {
  margin: 13px 0 15px;
  color: #e6dfd2;
  font-size: 14px;
  line-height: 1.85;
}

.historical-mission__story-fact,
.historical-mission__fact {
  padding-top: 13px;
  border-top: 1px solid rgba(238, 227, 207, 0.19);
}

.historical-mission__story-fact span,
.historical-mission__fact span {
  color: var(--accent-strong);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.historical-mission__story-fact p,
.historical-mission__fact p {
  margin: 6px 0 0;
  color: #f1eadc;
  font-size: 13px;
  line-height: 1.7;
}

.historical-mission__source {
  display: inline-block;
  margin-top: 12px;
  color: #d4c6aa;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 11px;
  line-height: 1.55;
  text-decoration-color: rgba(212, 198, 170, 0.45);
}

.historical-mission__source:hover {
  color: #fff7e8;
}

.historical-mission__task {
  position: absolute;
  z-index: 8;
  right: 24px;
  bottom: 24px;
  width: min(430px, calc(100vw - 48px));
  min-height: 176px;
  padding: 18px;
  border: 1px solid rgba(240, 229, 207, 0.23);
  border-radius: 6px;
  background: var(--panel);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
}

.historical-mission__stage--collect .historical-mission__task {
  min-height: 112px;
}

.historical-mission__objective {
  display: grid;
  gap: 4px;
  margin-right: 126px;
}

.historical-mission__objective span,
.historical-mission__progress span {
  color: #cdbf9f;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.historical-mission__objective b {
  color: #fff8e9;
  font-size: 14px;
  line-height: 1.5;
}

.historical-mission__progress {
  position: absolute;
  top: 19px;
  right: 18px;
  display: grid;
  justify-items: end;
  gap: 6px;
  width: 112px;
}

.historical-mission__progress i {
  display: block;
  width: 100%;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(241, 231, 210, 0.16);
}

.historical-mission__progress b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-strong);
  transition: width 240ms ease;
}

.historical-mission__controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 17px;
}

.historical-mission__controls--two,
.historical-mission__controls--repair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.historical-mission__controls--lanes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.historical-mission__controls--lanes [data-dispatch-start] {
  grid-column: 1 / -1;
}

.historical-mission button {
  min-height: 43px;
  border: 1px solid rgba(255, 246, 226, 0.28);
  border-radius: 4px;
  color: #1b1b16;
  background: var(--accent-strong);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.historical-mission button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: #fff4dc;
  background: #f5d18b;
}

.historical-mission button:focus-visible,
.historical-mission__source:focus-visible {
  outline: 3px solid rgba(255, 238, 193, 0.88);
  outline-offset: 3px;
}

.historical-mission button:disabled {
  cursor: default;
  opacity: 0.58;
}

.historical-mission__controls button + button,
.historical-mission__intro-actions button + button {
  color: #f4ebdc;
  background: rgba(30, 32, 25, 0.84);
}

.historical-mission__risk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  color: #e7ddc9;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
}

.historical-mission__risk span {
  color: var(--accent-strong);
  font-size: 15px;
}

.historical-mission__alert {
  margin-top: 10px;
  padding: 9px 11px;
  border-left: 3px solid var(--danger);
  color: #fff4ea;
  background: rgba(115, 31, 24, 0.62);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

.historical-mission__alert b,
.historical-mission__alert span {
  display: block;
}

.historical-mission__alert b {
  font-size: 13px;
}

.historical-mission__alert span {
  margin-top: 2px;
  font-size: 11px;
  opacity: 0.84;
}

.historical-mission__feedback {
  position: absolute;
  z-index: 20;
  top: 82px;
  left: 50%;
  max-width: min(560px, calc(100vw - 40px));
  padding: 10px 15px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 246, 225, 0.28);
  border-radius: 4px;
  color: #fff9ec;
  background: rgba(20, 22, 17, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.historical-mission__feedback--success {
  border-color: rgba(205, 181, 107, 0.65);
}

.historical-mission__feedback--danger {
  border-color: rgba(217, 80, 63, 0.78);
  background: rgba(77, 25, 20, 0.94);
}

.historical-mission__hotspots {
  position: absolute;
  z-index: 6;
  inset: 66px 0 0;
  pointer-events: none;
}

.historical-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  pointer-events: auto;
}

button.historical-hotspot--supply,
button.historical-hotspot--rescue {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
  min-height: 52px;
  padding: 6px 10px 6px 7px;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 239, 205, 0.7);
  color: #fff7e7;
  background: rgba(22, 24, 18, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  text-align: left;
  backdrop-filter: blur(7px);
}

button.historical-hotspot--supply:hover:not(:disabled),
button.historical-hotspot--rescue:hover:not(:disabled) {
  transform: translate(-50%, calc(-50% - 2px));
  color: #191a14;
}

.historical-hotspot--supply > i,
.historical-hotspot--rescue > i {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--accent-strong);
  border-radius: 50%;
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.03);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
}

.historical-hotspot--supply span,
.historical-hotspot--rescue span {
  display: grid;
  min-width: 0;
}

.historical-hotspot--supply b,
.historical-hotspot--rescue b {
  font-size: 13px;
}

.historical-hotspot--supply small,
.historical-hotspot--rescue small {
  margin-top: 2px;
  color: #cfc3ab;
  font-size: 10px;
}

button.historical-hotspot--done {
  border-color: rgba(180, 202, 139, 0.66);
  color: #eff8dc;
  background: rgba(38, 60, 33, 0.9);
  opacity: 0.74;
}

.historical-hotspot--done > i {
  border-color: #b8d58c;
  color: #dff3b9;
}

.historical-hotspot--repair {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(245, 227, 193, 0.55);
  border-radius: 50%;
  color: #f7ead0;
  background: rgba(27, 30, 24, 0.78);
  box-shadow: 0 0 0 7px rgba(20, 22, 18, 0.2);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}

.historical-hotspot--repair i {
  font-style: normal;
  font-weight: 900;
}

.historical-hotspot--repair span {
  position: absolute;
  top: 48px;
  left: 50%;
  width: 88px;
  transform: translateX(-50%);
  color: #f8edda;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 8px #000;
}

.historical-hotspot--repair.historical-hotspot--current {
  border-color: var(--accent-strong);
  color: #191a14;
  background: var(--accent-strong);
  animation: historical-repair-pulse 1.1s ease-in-out infinite;
}

.historical-hotspot--repair.historical-hotspot--done {
  border-color: #b7d68c;
  color: #edf8dd;
  background: #455f37;
  box-shadow: none;
}

.historical-mission__signal {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 10px;
  border: 1px solid rgba(241, 230, 208, 0.17);
  color: #d7ccba;
  background: rgba(0, 0, 0, 0.2);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
}

.historical-mission__signal i {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(240, 230, 210, 0.48);
  border-radius: 50%;
  background: #34372f;
}

.historical-mission__signal--ready {
  border-color: rgba(232, 193, 112, 0.68);
  color: #fff1d2;
  background: rgba(91, 70, 29, 0.45);
}

.historical-mission__signal--ready i {
  border-color: #fff0c4;
  background: #efbc58;
  box-shadow: 0 0 16px rgba(244, 192, 92, 0.86);
}

.historical-mission__queue {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.historical-mission__queue--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.historical-mission__queue li {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(237, 226, 205, 0.14);
  color: #d7cebd;
  background: rgba(255, 255, 255, 0.03);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 10px;
}

.historical-mission__queue li i {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-style: normal;
}

.historical-mission__queue li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.historical-mission__queue-item--done {
  border-color: rgba(179, 207, 134, 0.42) !important;
  color: #e5f3cc !important;
  background: rgba(58, 84, 42, 0.48) !important;
}

.historical-mission__dispatch-warning,
.historical-mission__rescue-call {
  margin-top: 13px;
  padding: 9px 10px;
  border-left: 3px solid var(--accent);
  color: #f0e7d7;
  background: rgba(0, 0, 0, 0.18);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.historical-mission__fire-zone {
  position: absolute;
  top: 18%;
  display: grid;
  place-items: center;
  width: 34%;
  height: 58%;
  opacity: 0;
  transition: opacity 180ms ease;
}

.historical-mission__fire-zone--left {
  left: 31%;
}

.historical-mission__fire-zone--right {
  right: 1%;
}

.historical-mission__fire-zone i {
  width: 72%;
  height: 72%;
  border: 3px solid rgba(224, 61, 47, 0.84);
  background: rgba(165, 39, 29, 0.18);
  box-shadow: inset 0 0 38px rgba(197, 50, 38, 0.38), 0 0 28px rgba(214, 55, 42, 0.27);
  animation: historical-fire-zone 650ms ease-in-out infinite alternate;
}

.historical-mission__fire-zone span {
  margin-top: -48%;
  padding: 5px 8px;
  color: #fff0e8;
  background: rgba(97, 21, 17, 0.86);
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.historical-mission__fire-zone--active {
  opacity: 1;
}

button.historical-hotspot--rescue {
  min-width: 138px;
  border-color: rgba(230, 100, 81, 0.88);
  background: rgba(65, 25, 21, 0.92);
  animation: historical-rescue-call 900ms ease-in-out infinite alternate;
}

.historical-hotspot--rescue > i {
  border-color: #f2a38e;
  color: #fff4ed;
  font-size: 22px;
}

.historical-mission__overlay {
  position: absolute;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(8, 10, 8, 0.76);
  backdrop-filter: blur(8px);
}

.historical-mission__result {
  width: min(610px, 100%);
  padding: 30px 32px;
  border-top: 3px solid var(--accent);
  color: #f6efe2;
  background: rgba(21, 24, 19, 0.96);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.historical-mission__result h2 {
  margin: 0;
  color: #fff9ed;
  font-size: 30px;
  line-height: 1.35;
}

.historical-mission__result-summary {
  margin: 14px 0 18px;
  color: #dfd7c8;
  font-size: 15px;
  line-height: 1.8;
}

.historical-mission__result button {
  width: 100%;
  margin-top: 20px;
}

.historical-mission__result--retry {
  border-top-color: var(--danger);
}

.historical-mission__result--mission-complete {
  border: 1px solid rgba(241, 213, 151, 0.45);
  border-top: 4px solid var(--accent-strong);
}

.historical-mission__intro {
  position: absolute;
  z-index: 25;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 78px max(42px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(7, 9, 7, 0.96) 0%, rgba(7, 9, 7, 0.84) 42%, rgba(7, 9, 7, 0.2) 76%, rgba(7, 9, 7, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 9, 7, 0.3), rgba(7, 9, 7, 0.7));
}

.historical-mission__intro h1 {
  max-width: 720px;
  margin: 0;
  color: #fff9ed;
  font-size: 54px;
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.58);
}

.historical-mission__intro > p:not(.historical-mission__eyebrow) {
  max-width: 720px;
  margin: 19px 0 0;
  color: #e7dfd1;
  font-size: 16px;
  line-height: 1.95;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.historical-mission__intro-actions {
  display: flex;
  gap: 10px;
  margin-top: 27px;
}

.historical-mission__intro-actions button {
  min-width: 180px;
  padding: 0 20px;
}

.historical-mission__stage--ruijin-stealth .historical-mission__backdrop,
.historical-mission__stage--ruijin-crossing .historical-mission__backdrop {
  filter: brightness(0.68) saturate(0.76) contrast(1.08) hue-rotate(4deg);
}

.historical-mission__stage--danger::after,
.historical-mission__stage--impact::after {
  position: absolute;
  z-index: 18;
  inset: 0;
  content: "";
  pointer-events: none;
}

.historical-mission__stage--danger::after {
  background: linear-gradient(112deg, transparent 16%, rgba(255, 243, 191, 0.08) 39%, rgba(255, 243, 191, 0.45) 49%, rgba(255, 243, 191, 0.08) 59%, transparent 82%);
  animation: historical-searchlight 1.2s linear infinite alternate;
}

.historical-mission--xiangjiang .historical-mission__stage--danger::after {
  background: rgba(192, 53, 39, 0.15);
  animation: historical-combat-flash 420ms ease-in-out infinite alternate;
}

.historical-mission__stage--impact::after {
  background: rgba(214, 61, 46, 0.28);
}

.historical-mission__stage--step .historical-mission__backdrop {
  animation: historical-step 420ms ease;
}

.historical-mission__stage--complete .historical-mission__backdrop {
  filter: saturate(0.94) contrast(1.02) brightness(1.05);
}

@keyframes historical-scene-breathe {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-0.6%, -0.4%, 0); }
}

@keyframes historical-haze {
  from { transform: translateX(-4%); opacity: 0.28; }
  to { transform: translateX(4%); opacity: 0.48; }
}

@keyframes historical-repair-pulse {
  from { box-shadow: 0 0 0 3px rgba(239, 194, 103, 0.18); }
  to { box-shadow: 0 0 0 11px rgba(239, 194, 103, 0.04); }
}

@keyframes historical-fire-zone {
  from { transform: scale(0.97); opacity: 0.72; }
  to { transform: scale(1.02); opacity: 1; }
}

@keyframes historical-rescue-call {
  from { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 0 2px rgba(218, 79, 61, 0.2); }
  to { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 0 9px rgba(218, 79, 61, 0.03); }
}

@keyframes historical-searchlight {
  from { transform: translateX(-18%); }
  to { transform: translateX(18%); }
}

@keyframes historical-combat-flash {
  from { opacity: 0.2; }
  to { opacity: 0.78; }
}

@keyframes historical-step {
  0% { transform: scale(1.04) translateY(0); }
  45% { transform: scale(1.045) translateY(3px); }
  100% { transform: scale(1.04) translateY(0); }
}

@media (max-width: 980px) {
  .historical-mission__topbar {
    grid-template-columns: minmax(130px, 0.65fr) minmax(300px, 1.35fr) minmax(100px, 0.55fr);
    padding-inline: 15px;
  }

  .historical-mission__story {
    top: 82px;
    left: 14px;
    width: min(330px, calc(100vw - 28px));
    max-height: 390px;
  }

  .historical-mission__task {
    right: 14px;
    bottom: 14px;
    width: min(410px, calc(100vw - 28px));
  }
}

@media (max-width: 720px) {
  .historical-mission__stage {
    min-height: 860px;
  }

  .historical-mission__backdrop {
    background-position: 58% center;
  }

  .historical-mission__topbar {
    grid-template-columns: 1fr auto;
    min-height: 58px;
  }

  .historical-mission__timeline {
    position: absolute;
    top: 59px;
    left: 0;
    right: 0;
    height: 38px;
    padding: 6px 16px;
    background: rgba(12, 14, 11, 0.82);
  }

  .historical-mission__timeline span {
    display: none;
  }

  .historical-mission__timeline i {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    font-size: 11px;
  }

  .historical-mission__status {
    font-size: 11px;
  }

  .historical-mission__story {
    top: 108px;
    left: 12px;
    width: calc(100vw - 24px);
    max-height: 247px;
    padding: 15px 16px;
  }

  .historical-mission__story h2 {
    font-size: 20px;
  }

  .historical-mission__story-text {
    margin: 8px 0 10px;
    font-size: 12px;
    line-height: 1.65;
  }

  .historical-mission__story-fact p {
    font-size: 11px;
    line-height: 1.55;
  }

  .historical-mission__source {
    margin-top: 7px;
    font-size: 10px;
  }

  .historical-mission__hotspots {
    inset: 96px 0 220px;
  }

  .historical-mission__task {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    min-height: 196px;
    padding: 15px;
  }

  .historical-mission__objective {
    margin-right: 105px;
  }

  .historical-mission__objective b {
    font-size: 12px;
  }

  .historical-mission__progress {
    top: 16px;
    right: 14px;
    width: 96px;
  }

  .historical-mission__queue,
  .historical-mission__queue--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  button.historical-hotspot--supply,
  button.historical-hotspot--rescue {
    min-width: 108px;
    max-width: 132px;
    min-height: 45px;
    padding: 5px 7px;
  }

  .historical-hotspot--supply > i,
  .historical-hotspot--rescue > i {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }

  .historical-hotspot--supply b,
  .historical-hotspot--rescue b {
    font-size: 11px;
  }

  .historical-hotspot--supply small,
  .historical-hotspot--rescue small {
    display: none;
  }

  .historical-mission__fire-zone {
    top: 31%;
    height: 38%;
  }

  .historical-mission__intro {
    justify-content: flex-end;
    padding: 86px 22px 62px;
    background:
      linear-gradient(180deg, rgba(7, 9, 7, 0.18) 0%, rgba(7, 9, 7, 0.72) 45%, rgba(7, 9, 7, 0.96) 100%);
  }

  .historical-mission__intro h1 {
    font-size: 40px;
  }

  .historical-mission__intro > p:not(.historical-mission__eyebrow) {
    max-height: 190px;
    overflow: auto;
    font-size: 14px;
    line-height: 1.75;
  }

  .historical-mission__intro-actions {
    width: 100%;
  }

  .historical-mission__intro-actions button {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 10px;
    font-size: 12px;
  }

  .historical-mission__overlay {
    padding: 16px;
  }

  .historical-mission__result {
    padding: 24px 21px;
  }

  .historical-mission__result h2 {
    font-size: 25px;
  }

  .historical-mission__result-summary {
    font-size: 13px;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .historical-mission__backdrop,
  .historical-mission__atmosphere,
  .historical-hotspot--repair,
  button.historical-hotspot--rescue,
  .historical-mission__fire-zone i {
    animation: none !important;
  }
}

/* ---------- 关卡页 ---------- */

.level-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(42, 36, 32, 0.15);
}

.level-header__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--color-ink-soft);
  margin: 0 0 8px;
}

.level-header h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin: 0 0 16px;
}

.level-header__debrief {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-red-deep);
  margin: 0 0 12px;
}

.level-header__scenario {
  color: var(--color-ink-soft);
  font-size: 1rem;
  max-width: 68ch;
}

.level-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.level-header__actions button,
.level-header__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.level-header__actions button {
  color: var(--color-paper);
  background: var(--color-red);
  border: none;
  cursor: pointer;
}

.level-header__actions button:hover {
  background: var(--color-red-deep);
}

.level-header__actions a {
  color: var(--color-red-deep);
  border: 1px solid rgba(156, 35, 27, 0.25);
  background: rgba(251, 247, 234, 0.65);
}

.dossier {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}

@media (max-width: 780px) {
  .dossier {
    grid-template-columns: 1fr;
  }
}

.dossier__heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.archive-card {
  background: var(--color-paper-deep);
  border: 1px solid rgba(42, 36, 32, 0.18);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-card);
}

.archive-card__image {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 12px;
  filter: sepia(0.15) contrast(1.02);
}

.archive-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin: 0 0 8px;
}

.archive-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

.dossier__inference textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 14px;
  border: 1px solid rgba(42, 36, 32, 0.25);
  border-radius: var(--radius);
  background: #fbf7ea;
  color: var(--color-ink);
  resize: vertical;
}

.dossier__inference button {
  margin-top: 12px;
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-paper);
  background: var(--color-red);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.dossier__inference button:hover {
  background: var(--color-red-deep);
}

.poem-form-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-size: 0.9rem;
}

.poem-form-picker__label {
  color: var(--color-ink-soft);
}

.poem-form-picker__option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: var(--font-serif);
}

.reflection-panel {
  margin-top: 24px;
}

.reflection-commentary {
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

.poem-card {
  padding: 24px 28px;
  background: var(--color-paper-deep);
  border: 1px solid rgba(42, 36, 32, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.poem-card__form {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--color-red);
  text-transform: uppercase;
}

.poem-card__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 16px;
}

.poem-line {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 2.1;
  margin: 0;
  color: var(--color-ink);
}

.mission-challenge__prompt {
  margin: 0 0 16px;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

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

.mission-choice-grid--sequence {
  margin-top: 14px;
}

.dossier__inference .mission-choice {
  min-height: 86px;
  margin: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: left;
  letter-spacing: 0;
  color: var(--color-ink);
  background: #fbf7ea;
  border: 1px solid rgba(42, 36, 32, 0.18);
  border-radius: var(--radius);
  box-shadow: none;
}

.dossier__inference .mission-choice:hover {
  color: var(--color-ink);
  background: #f3ead1;
}

.dossier__inference .mission-choice--selected,
.dossier__inference .mission-choice--selected:hover {
  color: var(--color-paper);
  background: var(--color-red);
  border-color: var(--color-red-deep);
}

.dossier__inference .mission-choice:disabled {
  cursor: default;
  opacity: 0.82;
}

.mission-choice__label {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}

.mission-choice__detail {
  font-size: 0.82rem;
  line-height: 1.45;
  color: inherit;
  opacity: 0.78;
}

.mission-challenge__bar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.mission-challenge__actions {
  display: flex;
  gap: 8px;
}

.dossier__inference .mission-challenge__bar button {
  margin-top: 0;
}

.dossier__inference .mission-challenge__bar button:disabled {
  cursor: default;
  opacity: 0.5;
}

.mission-sequence-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mission-sequence-slot {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  border: 1px dashed rgba(42, 36, 32, 0.3);
  border-radius: var(--radius);
  color: rgba(85, 73, 60, 0.72);
  background: rgba(251, 247, 234, 0.66);
  font-family: var(--font-serif);
  font-size: 0.9rem;
  line-height: 1.35;
}

.mission-sequence-slot--filled {
  color: var(--color-red-deep);
  border-style: solid;
  border-color: rgba(156, 35, 27, 0.45);
  background: #f3ead1;
}

.challenge-panel {
  margin-top: 16px;
}

.challenge-feedback {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.challenge-feedback--error {
  color: var(--color-red-deep);
  background: rgba(156, 35, 27, 0.08);
  border: 1px solid rgba(156, 35, 27, 0.18);
}

.challenge-complete {
  padding: 18px;
  border: 1px solid rgba(42, 36, 32, 0.18);
  border-radius: var(--radius);
  background: var(--color-paper-deep);
}

.challenge-complete__eyebrow {
  margin: 0 0 4px;
  color: var(--color-red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.challenge-complete h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.challenge-complete p {
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.94rem;
}

.level-complete-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dossier__inference .level-complete-actions button,
.level-complete-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.dossier__inference .level-complete-actions button {
  margin-top: 0;
}

.level-complete-actions a {
  color: var(--color-red-deep);
  border: 1px solid rgba(156, 35, 27, 0.25);
  background: rgba(251, 247, 234, 0.65);
}

@media (max-width: 560px) {
  .mission-choice-grid,
  .mission-sequence-slots {
    grid-template-columns: 1fr;
  }

  .mission-challenge__bar,
  .mission-challenge__actions,
  .level-complete-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mission-challenge__bar button,
  .mission-challenge__actions button,
  .level-complete-actions button,
  .level-complete-actions a {
    width: 100%;
  }
}

/* ---------- 背景音乐按钮 ---------- */

.bgm-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 42px;
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f8e6a8;
  background:
    linear-gradient(180deg, rgba(59, 39, 25, 0.78), rgba(18, 13, 9, 0.78));
  border: 1px solid rgba(248, 230, 168, 0.38);
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  z-index: 60;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.bgm-toggle:hover {
  border-color: rgba(242, 201, 76, 0.74);
  background:
    linear-gradient(180deg, rgba(111, 23, 18, 0.82), rgba(45, 22, 15, 0.84));
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(242, 201, 76, 0.18);
  transform: translateY(-1px);
}

.bgm-toggle--playing {
  color: #fff6d6;
  border-color: rgba(242, 201, 76, 0.72);
  background:
    linear-gradient(180deg, rgba(156, 35, 27, 0.84), rgba(68, 30, 18, 0.84));
}

#app.app--action-scene ~ .bgm-toggle {
  display: none;
}
/* ---------- 遵义会议 POV 重做版 ---------- */

.zunyi-pov {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #050403;
  color: #f3ead1;
}

.zunyi-pov__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #080604;
}

.zunyi-pov__image {
  position: absolute;
  inset: -2%;
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.06), rgba(3, 3, 3, 0.42)),
    var(--zunyi-bg-primary) center / cover no-repeat,
    var(--zunyi-bg-fallback) center / cover no-repeat;
  filter: contrast(1.08) saturate(0.86) brightness(0.84);
  transform: scale(1.03);
  animation: zunyi-pov-breathe 8s ease-in-out infinite alternate;
}

.zunyi-pov__frame--desk .zunyi-pov__image {
  background-position: center 48%;
  filter: contrast(1.08) saturate(0.86) brightness(0.66);
}

.zunyi-pov__frame--exterior .zunyi-pov__image {
  background-position: center 50%;
  filter: contrast(1.06) saturate(0.78) brightness(0.74) hue-rotate(178deg);
}

.zunyi-pov__frame--exterior::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 55%, rgba(255, 190, 88, 0.42), transparent 14%),
    radial-gradient(ellipse at 50% 76%, rgba(255, 180, 70, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(25, 55, 83, 0.28), transparent 48%);
  mix-blend-mode: screen;
  z-index: 5;
}

.zunyi-pov__frame--doorway .zunyi-pov__image {
  background-position: center 48%;
  filter: contrast(1.1) saturate(0.86) brightness(0.66);
}

.zunyi-pov__frame--doorway::after,
.zunyi-pov__frame--desk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(circle at 51% 44%, rgba(255, 202, 116, 0.28), transparent 20%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 23%, transparent 78%, rgba(0, 0, 0, 0.55));
  mix-blend-mode: screen;
}

.zunyi-pov__frame--route .zunyi-pov__image {
  filter: sepia(0.22) contrast(1.05) brightness(0.62);
}

.zunyi-pov__grain,
.zunyi-pov__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.zunyi-pov__grain {
  opacity: 0.18;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 0.8px, transparent 1px),
    radial-gradient(rgba(0, 0, 0, 0.28) 0.8px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  mix-blend-mode: overlay;
}

.zunyi-pov__vignette {
  background:
    linear-gradient(180deg, #000 0 5.5%, transparent 15%, transparent 84%, #000 94% 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(90deg, rgba(95, 4, 8, 0.36), transparent 14%, transparent 86%, rgba(95, 4, 8, 0.24));
}

.zunyi-pov__back {
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 20;
  color: rgba(243, 234, 209, 0.8);
  font-size: 0.8rem;
  text-decoration: none;
}

.zunyi-pov__topline {
  position: absolute;
  top: 48px;
  left: 50%;
  z-index: 18;
  width: min(720px, 72vw);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 130px 1fr 150px;
  align-items: center;
  gap: 16px;
  color: rgba(243, 234, 209, 0.78);
  font-size: 0.76rem;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.72);
}

.zunyi-pov__compass {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  height: 1px;
  background: rgba(243, 234, 209, 0.34);
}

.zunyi-pov__compass i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid rgba(243, 234, 209, 0.48);
  background: rgba(0, 0, 0, 0.42);
}

.zunyi-pov__compass i.is-lit {
  border-color: #f2c94c;
  background: #f2c94c;
  box-shadow: 0 0 12px rgba(242, 201, 76, 0.74);
}

.zunyi-pov__left-meter {
  display: none;
}

.zunyi-pov__left-meter span {
  position: absolute;
  inset: 0;
  border-left: 5px solid #af1d1b;
  border-radius: 100% 0 0 100%;
  filter: drop-shadow(0 0 10px rgba(175, 29, 27, 0.8));
}

.zunyi-pov__left-meter b {
  position: absolute;
  left: -12px;
  top: 45%;
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
  border: 1px solid rgba(243, 234, 209, 0.6);
  background: rgba(0, 0, 0, 0.42);
}

.zunyi-pov__left-meter b::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #f2c94c;
}

.zunyi-pov__reticle {
  display: none;
}

.zunyi-pov__reticle::before,
.zunyi-pov__reticle::after {
  content: "";
  position: absolute;
  background: rgba(243, 234, 209, 0.72);
}

.zunyi-pov__reticle::before {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
}

.zunyi-pov__reticle::after {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.zunyi-pov__brief {
  position: absolute;
  left: 8vw;
  bottom: 9vh;
  z-index: 18;
  width: min(480px, 48vw);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.86);
}

.zunyi-pov__brief p,
.zunyi-pov__brief span {
  margin: 0;
  color: rgba(243, 234, 209, 0.78);
  font-size: 0.92rem;
  line-height: 1.7;
}

.zunyi-pov__brief h1 {
  margin: 8px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.zunyi-pov__hud {
  position: absolute;
  right: 5.5vw;
  bottom: 9vh;
  z-index: 18;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: rgba(243, 234, 209, 0.72);
  text-transform: uppercase;
  opacity: 0.72;
}

.zunyi-pov__hud strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: #f3ead1;
}

.zunyi-pov__hud span {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.zunyi-pov__action {
  position: absolute;
  right: 5.5vw;
  bottom: 16vh;
  z-index: 22;
  padding: 11px 22px;
  border: 1px solid rgba(243, 234, 209, 0.36);
  color: #f3ead1;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
}

.zunyi-pov__action:hover:not(:disabled) {
  border-color: #f2c94c;
  box-shadow: 0 0 18px rgba(242, 201, 76, 0.26);
}

.zunyi-pov__action:disabled {
  opacity: 0.52;
  cursor: default;
}

.zunyi-pov__silhouette {
  display: none;
}

.zunyi-pov__frame--doorway .zunyi-pov__silhouette {
  left: 52%;
  bottom: -1vh;
  width: min(260px, 24vw);
  height: 62vh;
  opacity: 0.82;
}

.zunyi-pov__frame--exterior .zunyi-pov__silhouette {
  left: 65%;
  bottom: 2vh;
  width: min(230px, 18vw);
  height: 48vh;
  opacity: 0.74;
}

.zunyi-pov__desk-props {
  display: none;
}

.zunyi-pov__prop {
  display: none;
}

.zunyi-pov__prop--letters {
  right: 18vw;
  bottom: 17vh;
  width: 220px;
  opacity: 0.62;
  transform: rotate(8deg);
}

.zunyi-pov__prop--cap {
  left: 31vw;
  bottom: 10vh;
  width: 118px;
  opacity: 0.58;
}

.zunyi-pov__hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 21;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  color: #f3ead1;
  background: transparent;
  font-family: var(--font-sans);
  cursor: pointer;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.zunyi-pov__hotspot b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 234, 209, 0.64);
  transform: rotate(45deg);
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 0 0 18px rgba(242, 201, 76, 0.28);
}

.zunyi-pov__hotspot b::first-letter {
  transform: rotate(-45deg);
}

.zunyi-pov__hotspot span {
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.42);
  font-size: 0.8rem;
}

.zunyi-pov__hotspot.is-found b {
  border-color: #f2c94c;
  background: rgba(156, 35, 27, 0.66);
}

.zunyi-pov__bubbles {
  position: absolute;
  inset: 0;
  z-index: 23;
  pointer-events: none;
}

.zunyi-pov__bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: 210px;
  margin: 0;
  padding: 8px 12px;
  color: #2a2420;
  background: rgba(251, 247, 234, 0.9);
  border: 1px solid rgba(237, 228, 205, 0.55);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0;
  transform: translate(-50%, -12px);
  animation: zunyi-bubble-in 0.45s ease forwards;
  animation-delay: var(--delay);
}

.zunyi-pov__bubble::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: rgba(251, 247, 234, 0.9);
  transform: rotate(45deg);
}

.zunyi-pov__bubble--left::after {
  left: 18px;
}

.zunyi-pov__bubble--right::after {
  right: 18px;
}

.zunyi-pov__speakers {
  position: absolute;
  inset: 0;
  z-index: 24;
  pointer-events: none;
}

.zunyi-pov__speaker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(243, 234, 209, 0.38);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 0 0 7px rgba(242, 201, 76, 0.06),
    0 0 18px rgba(242, 201, 76, 0.22);
  cursor: pointer;
  pointer-events: auto;
}

.zunyi-pov__speaker::before,
.zunyi-pov__speaker::after {
  content: "";
  position: absolute;
  background: rgba(243, 234, 209, 0.66);
}

.zunyi-pov__speaker::before {
  left: 50%;
  top: 7px;
  width: 1px;
  height: 20px;
}

.zunyi-pov__speaker::after {
  left: 7px;
  top: 50%;
  width: 20px;
  height: 1px;
}

.zunyi-pov__speaker span {
  position: absolute;
  left: 50%;
  top: 38px;
  width: max-content;
  transform: translateX(-50%);
  color: rgba(243, 234, 209, 0.72);
  font-size: 0.72rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.86);
}

.zunyi-pov__speaker:hover {
  border-color: #f2c94c;
  box-shadow:
    0 0 0 9px rgba(242, 201, 76, 0.08),
    0 0 24px rgba(242, 201, 76, 0.38);
}

.zunyi-pov__speaker-line {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: 230px;
  margin: 0;
  padding: 8px 12px;
  transform: translate(-50%, -50%);
  color: #2a2420;
  background: rgba(251, 247, 234, 0.92);
  border-radius: 9px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  line-height: 1.45;
  pointer-events: none;
}

.zunyi-pov__speaker-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background: rgba(251, 247, 234, 0.92);
}

.zunyi-pov__notebook {
  display: none;
}

.zunyi-pov__notebook p {
  margin: 0 0 10px;
  color: #8d2019;
  font-family: var(--font-serif);
  font-weight: 700;
}

.zunyi-pov__notebook div {
  min-height: 38px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(85, 73, 60, 0.16);
  color: rgba(85, 73, 60, 0.52);
  font-size: 0.82rem;
}

.zunyi-pov__notebook div.is-written {
  color: #2a2420;
}

.zunyi-pov__notebook--compact {
  top: auto;
  bottom: 20vh;
}

.zunyi-pov__dialogue,
.zunyi-pov__observation {
  position: absolute;
  left: 50%;
  bottom: 12vh;
  z-index: 28;
  width: min(640px, 72vw);
  transform: translateX(-50%);
  padding: 14px 18px;
  color: #f3ead1;
  background: rgba(7, 5, 4, 0.62);
  border: 1px solid rgba(243, 234, 209, 0.18);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
}

.zunyi-pov__dialogue p,
.zunyi-pov__observation p {
  margin: 0 0 8px;
  color: #f2c94c;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
}

.zunyi-pov__dialogue strong,
.zunyi-pov__observation strong {
  display: block;
  color: rgba(243, 234, 209, 0.94);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.7;
}

.zunyi-pov__dialogue button,
.zunyi-pov__observation button {
  float: right;
  margin-top: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(243, 234, 209, 0.3);
  color: #f3ead1;
  background: rgba(243, 234, 209, 0.08);
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
}

.zunyi-pov__dialogue button:hover,
.zunyi-pov__observation button:hover {
  border-color: #f2c94c;
  background: rgba(242, 201, 76, 0.14);
}

.zunyi-pov__choice {
  position: absolute;
  left: 50%;
  bottom: 27vh;
  z-index: 22;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 260px));
  gap: 10px;
}

.zunyi-pov__choice button {
  min-height: 0;
  padding: 9px 14px;
  border: 1px solid rgba(243, 234, 209, 0.28);
  border-radius: 999px;
  color: #f3ead1;
  background: rgba(9, 7, 5, 0.48);
  backdrop-filter: blur(5px);
  text-align: center;
  box-shadow: none;
  cursor: pointer;
}

.zunyi-pov__choice small,
.zunyi-pov__choice span {
  display: block;
  color: rgba(243, 234, 209, 0.68);
}

.zunyi-pov__choice strong {
  display: inline;
  margin: 0 6px 0 0;
  font-family: var(--font-serif);
  font-size: 0.98rem;
}

.zunyi-pov__choice button.is-wrong {
  border-color: rgba(156, 35, 27, 0.82);
}

.zunyi-pov__choice button.is-right {
  border-color: #f2c94c;
  box-shadow: 0 0 18px rgba(242, 201, 76, 0.2);
}

.zunyi-pov__feedback {
  position: absolute;
  left: 50%;
  bottom: 13vh;
  z-index: 22;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 14px;
  color: rgba(243, 234, 209, 0.86);
  background: rgba(0, 0, 0, 0.52);
}

.zunyi-pov__route {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 21;
  width: min(820px, 76vw);
  height: 160px;
  transform: translate(-50%, -50%);
}

.zunyi-pov__route::before {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  top: 50%;
  height: 4px;
  background: linear-gradient(90deg, #9c231b, #f2c94c, #9c231b);
  box-shadow: 0 0 22px rgba(242, 201, 76, 0.58);
  animation: zunyi-route-light 1.2s ease both;
}

.zunyi-pov__route article {
  position: absolute;
  top: 38%;
  left: var(--x);
  min-width: 128px;
  padding: 0;
  color: #f3ead1;
  background: transparent;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  box-shadow: none;
  animation: zunyi-route-point 0.5s ease both;
  animation-delay: var(--delay);
}

.zunyi-pov__route article:nth-child(even) {
  top: 58%;
}

.zunyi-pov__route article span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 50%;
  color: #f3ead1;
  background: #9c231b;
}

.zunyi-pov__fragment {
  display: none;
}

.zunyi-pov__fragment img {
  display: none;
}

.zunyi-pov__route-note {
  position: absolute;
  left: 50%;
  bottom: 18vh;
  z-index: 22;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(243, 234, 209, 0.86);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  font-family: var(--font-serif);
}

@keyframes zunyi-pov-breathe {
  from {
    transform: scale(1.03) translateX(-0.4%);
  }
  to {
    transform: scale(1.07) translateX(0.6%);
  }
}

@keyframes zunyi-route-light {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}

@keyframes zunyi-route-point {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zunyi-bubble-in {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 760px) {
  .zunyi-pov__topline {
    width: 86vw;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .zunyi-pov__brief {
    left: 6vw;
    width: 86vw;
  }

  .zunyi-pov__hud {
    display: none;
  }

  .zunyi-pov__notebook {
    right: 5vw;
    top: 16vh;
    width: 230px;
  }

  .zunyi-pov__choice {
    width: 88vw;
    grid-template-columns: 1fr;
    bottom: 18vh;
  }
}

/* ---------- 遵义会议：电影化 2.5D 大改版 ---------- */

.view-zunyi .zunyi-room {
  padding: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 18%, rgba(244, 196, 100, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.18), rgba(6, 5, 4, 0.8)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-painting-wide.png") center / cover no-repeat;
}

.view-zunyi .zunyi-room::before {
  display: none;
}

.view-zunyi .zunyi-room__lamp {
  top: 5vh;
  width: 180px;
  height: 180px;
  opacity: 0.9;
  filter: blur(8px);
}

.view-zunyi .zunyi-topbar {
  position: fixed;
  top: 18px;
  left: 20px;
  right: 20px;
  z-index: 40;
}

.view-zunyi .zunyi-back,
.view-zunyi .zunyi-progress {
  background: rgba(8, 6, 4, 0.52);
  backdrop-filter: blur(6px);
}

.view-zunyi .zunyi-table {
  position: relative;
  display: block;
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
}

.view-zunyi .zunyi-stage {
  position: relative;
  min-height: 100vh;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 7, 5, 0.12), rgba(9, 7, 5, 0.86)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-table-room.png") center / cover no-repeat;
  box-shadow: none;
}

.view-zunyi .zunyi-cinema-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.view-zunyi .zunyi-cinema-layer--people {
  background:
    radial-gradient(ellipse at 20% 34%, rgba(5, 4, 3, 0.58) 0 7%, transparent 10%),
    radial-gradient(ellipse at 84% 36%, rgba(5, 4, 3, 0.52) 0 8%, transparent 12%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.5));
  opacity: 0.72;
}

.view-zunyi .zunyi-cinema-layer--light {
  background:
    radial-gradient(circle at 49% 24%, rgba(252, 205, 118, 0.4), transparent 18%),
    radial-gradient(circle at 50% 78%, rgba(252, 205, 118, 0.24), transparent 36%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.view-zunyi .zunyi-stage__header {
  position: absolute;
  top: 78px;
  left: 50%;
  z-index: 12;
  width: min(760px, calc(100vw - 40px));
  max-width: none;
  transform: translateX(-50%);
  margin: 0;
  padding: 14px 20px;
  text-align: center;
  border: 1px solid rgba(237, 228, 205, 0.18);
  border-radius: 999px;
  background: rgba(12, 9, 7, 0.56);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.view-zunyi .zunyi-stage__step {
  color: #f2c94c;
}

.view-zunyi .zunyi-stage h2 {
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
}

.view-zunyi .zunyi-stage__header p:last-child {
  color: rgba(237, 228, 205, 0.86);
  font-size: 0.9rem;
}

.view-zunyi .zunyi-workspace {
  position: relative;
  z-index: 8;
  display: block;
  min-height: 100vh;
}

.view-zunyi .zunyi-cinematic-desk {
  position: absolute;
  left: 50%;
  bottom: -8vh;
  width: min(1220px, 96vw);
  height: min(690px, 76vh);
  transform: translateX(-50%) perspective(1100px) rotateX(8deg);
  transform-origin: bottom center;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(242, 201, 76, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(34, 22, 14, 0.22), rgba(18, 11, 7, 0.64)),
    var(--zunyi-desk-bg) center / cover no-repeat,
    linear-gradient(90deg, #3b2417, #5b3822 42%, #2b1a12);
  box-shadow:
    0 -24px 60px rgba(0, 0, 0, 0.34),
    inset 0 0 80px rgba(0, 0, 0, 0.38);
}

.view-zunyi .zunyi-desk-perspective {
  position: absolute;
  inset: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 28px;
  transform: perspective(900px) rotateX(2deg);
  transform-origin: bottom center;
}

.view-zunyi .zunyi-object-bank {
  min-height: 520px;
  position: relative;
}

.view-zunyi .zunyi-table-props {
  z-index: 1;
}

.view-zunyi .zunyi-prop--lamp {
  top: 38px;
  left: 38px;
  width: 150px;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 0 42px rgba(245, 196, 92, 0.72));
}

.view-zunyi .zunyi-prop--letter-stack {
  right: 70px;
  bottom: 82px;
  width: 210px;
  opacity: 0.7;
}

.view-zunyi .zunyi-prop--hand-letter {
  left: 30%;
  bottom: 44px;
  width: 250px;
  opacity: 0.54;
  transform: rotate(-8deg);
  filter: sepia(0.2) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
}

.view-zunyi .zunyi-prop--cap {
  left: 72px;
  bottom: 96px;
  width: 118px;
  opacity: 0.72;
}

.view-zunyi .zunyi-prop--satchel {
  left: 142px;
  bottom: 38px;
  width: 184px;
  opacity: 0.38;
}

.view-zunyi .zunyi-prop--canteen {
  right: 258px;
  bottom: 38px;
  width: 118px;
  opacity: 0.52;
}

.view-zunyi .zunyi-prop--cup {
  right: 330px;
  bottom: 82px;
  width: 54px;
  height: 38px;
  border-color: rgba(237, 228, 205, 0.58);
  background: rgba(237, 228, 205, 0.08);
}

.view-zunyi .zunyi-prop--pencil {
  right: 404px;
  top: 96px;
  width: 132px;
  height: 8px;
  background: rgba(73, 34, 20, 0.86);
}

.view-zunyi .zunyi-card {
  width: 230px;
  min-height: 132px;
  padding: 16px 18px;
  border: 1px solid rgba(92, 70, 48, 0.28);
  border-radius: 2px;
  box-shadow:
    0 16px 24px rgba(0, 0, 0, 0.24),
    inset 0 0 18px rgba(255, 255, 255, 0.18);
  clip-path: polygon(1% 2%, 97% 0, 100% 96%, 91% 100%, 2% 98%, 0 10%);
}

.view-zunyi .zunyi-card__object {
  width: 58%;
  max-height: 84%;
  opacity: 0.28;
}

.view-zunyi .zunyi-card__label {
  right: 14px;
  bottom: 12px;
  font-size: 2.4rem;
}

.view-zunyi .zunyi-card:nth-child(1) {
  left: 8%;
  top: 13%;
  transform: rotate(-6deg);
}

.view-zunyi .zunyi-card:nth-child(2) {
  left: 42%;
  top: 6%;
  right: auto;
  transform: rotate(5deg);
}

.view-zunyi .zunyi-card:nth-child(3) {
  left: 18%;
  bottom: 15%;
  transform: rotate(3deg);
}

.view-zunyi .zunyi-card:nth-child(4) {
  right: 8%;
  bottom: 18%;
  transform: rotate(-4deg);
}

.view-zunyi .zunyi-card:nth-child(5) {
  left: 48%;
  top: 48%;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.view-zunyi .zunyi-card:hover {
  transform: translateY(-14px) rotate(0deg) scale(1.04);
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
}

.view-zunyi .zunyi-object--meeting-map {
  width: 300px;
  min-height: 175px;
}

.view-zunyi .zunyi-object--telegram {
  width: 246px;
}

.view-zunyi .zunyi-object--record-book {
  min-height: 150px;
}

.view-zunyi .zunyi-object--handwritten-letter {
  width: 214px;
  min-height: 116px;
}

.view-zunyi .zunyi-card small {
  font-size: 0.8rem;
  color: #8d2019;
}

.view-zunyi .zunyi-record-sheet {
  position: relative;
  min-height: 520px;
  padding: 34px 24px 22px;
  border: none;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(156, 35, 27, 0.08), transparent 18%),
    linear-gradient(180deg, rgba(252, 247, 226, 0.96), rgba(234, 219, 180, 0.98)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(85, 73, 60, 0.08) 31px 32px);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.34),
    inset 0 0 36px rgba(127, 91, 55, 0.14);
  transform: rotate(1deg);
}

.view-zunyi .zunyi-record-sheet::before {
  content: "遵义会议记录";
  display: block;
  margin-bottom: 18px;
  color: #7b2118;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
}

.view-zunyi .zunyi-record-sheet__clip {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 74px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: rgba(88, 64, 44, 0.34);
}

.view-zunyi .zunyi-zone {
  min-height: 178px;
  background: rgba(255, 252, 238, 0.24);
  border: 1px dashed rgba(92, 70, 48, 0.36);
}

.view-zunyi .zunyi-zone__heading {
  border-bottom-color: rgba(92, 70, 48, 0.18);
}

.view-zunyi .zunyi-zone h3 {
  color: #2a2420;
  font-size: 1.08rem;
}

.view-zunyi .zunyi-feedback {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 18;
  transform: translateX(-50%);
  margin: 0;
  max-width: min(780px, calc(100vw - 44px));
  text-align: center;
  background: rgba(10, 7, 5, 0.66);
  border: 1px solid rgba(237, 228, 205, 0.16);
  backdrop-filter: blur(6px);
}

.view-zunyi .zunyi-next {
  position: absolute;
  right: 42px;
  bottom: 32px;
  z-index: 20;
  margin: 0;
}

.view-zunyi .zunyi-note {
  position: absolute;
  right: 26px;
  top: 158px;
  z-index: 18;
  width: 230px;
  min-height: 0;
  max-height: 42vh;
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(237, 228, 205, 0.18);
  border-radius: 4px;
  background: rgba(251, 247, 234, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.view-zunyi .zunyi-note h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.view-zunyi .zunyi-note ol {
  gap: 8px;
  font-size: 0.82rem;
}

.view-zunyi .zunyi-ai {
  margin-top: 12px;
  padding: 10px;
  border-radius: 4px;
}

.view-zunyi .zunyi-choice--desk,
.view-zunyi .zunyi-order,
.view-zunyi .zunyi-turn-map {
  min-height: 62vh;
  padding: 180px 18vw 80px;
  background:
    linear-gradient(180deg, rgba(34, 22, 14, 0.2), rgba(18, 11, 7, 0.78)),
    var(--zunyi-desk-bg) center / cover no-repeat;
}

.view-zunyi .zunyi-plan,
.view-zunyi .zunyi-order .zunyi-card {
  background:
    linear-gradient(180deg, rgba(251, 247, 234, 0.86), rgba(238, 223, 186, 0.96)),
    url("/huozi-project/assets/levels/zunyi-turn/handwriting-closeup.png") center / cover no-repeat;
  border-radius: 2px;
  clip-path: polygon(2% 0, 98% 2%, 100% 94%, 94% 100%, 0 98%);
}

.view-zunyi .zunyi-plan {
  position: relative;
  overflow: hidden;
}

.view-zunyi .zunyi-plan::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 150px;
  height: 150px;
  background: url("/huozi-project/assets/relics/victory-paper.png") center / contain no-repeat;
  opacity: 0.18;
  transform: rotate(-10deg);
  pointer-events: none;
}

.view-zunyi .zunyi-plan[data-plan="mobile"]::after {
  background-image: url("/huozi-project/assets/levels/zunyi-turn/meeting-room-map.png");
  opacity: 0.22;
}

.view-zunyi .zunyi-turn-map {
  min-height: 100vh;
  border-radius: 0;
}

.view-zunyi .zunyi-turn-map__paper {
  top: 54%;
  width: min(920px, 82vw);
  height: min(520px, 56vh);
}

.view-zunyi .zunyi-turn-map__route {
  inset: 22% 10% 16%;
}

.view-zunyi .zunyi-prop--turn-lamp {
  left: 10vw;
  top: 18vh;
  width: 138px;
  z-index: 4;
}

@media (max-width: 860px) {
  .view-zunyi .zunyi-stage__header {
    top: 72px;
    border-radius: 8px;
  }

  .view-zunyi .zunyi-cinematic-desk {
    bottom: -2vh;
    height: auto;
    min-height: 78vh;
    transform: translateX(-50%);
  }

  .view-zunyi .zunyi-desk-perspective {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    padding: 150px 16px 96px;
  }

  .view-zunyi .zunyi-object-bank {
    min-height: 430px;
  }

  .view-zunyi .zunyi-record-sheet {
    min-height: 360px;
  }

  .view-zunyi .zunyi-note {
    display: none;
  }

  .view-zunyi .zunyi-card {
    width: min(210px, 50%);
  }

  .view-zunyi .zunyi-turn-map__route {
    inset: 18% 6% 12%;
  }

  .view-zunyi .zunyi-turn-map__point {
    width: 42%;
    left: calc(4% + (var(--point-index) % 2) * 50%);
    top: calc(10% + var(--point-index) * 20%);
  }

  .view-zunyi .zunyi-turn-map__route::before {
    left: 50%;
    right: auto;
    top: 12%;
    width: 5px;
    height: 76%;
  }
}

/* ---------- 遵义会议：恢复普通推理关布局 ---------- */

.view-zunyi .zunyi-room {
  padding: 24px;
  overflow: visible;
}

.view-zunyi .zunyi-room::before {
  display: block;
}

.view-zunyi .zunyi-topbar {
  position: relative;
  inset: auto;
}

.view-zunyi .zunyi-room--intro {
  padding: 0;
  overflow: hidden;
}

.view-zunyi .zunyi-room--intro::before {
  display: none;
}

.view-zunyi .zunyi-room--intro .zunyi-room__lamp,
.view-zunyi .zunyi-room--intro .zunyi-progress {
  display: none;
}

.view-zunyi .zunyi-room--intro .zunyi-topbar {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 35;
}

.view-zunyi .zunyi-room--rewrite {
  padding: 0;
  overflow: hidden;
}

.view-zunyi .zunyi-room--rewrite::before,
.view-zunyi .zunyi-room--rewrite .zunyi-room__lamp,
.view-zunyi .zunyi-room--rewrite .zunyi-progress {
  display: none;
}

.view-zunyi .zunyi-room--rewrite .zunyi-topbar {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  z-index: 35;
}

.view-zunyi .zunyi-intro-scene {
  position: relative;
  z-index: 1;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #130d09;
}

.view-zunyi .zunyi-intro-scene__bg,
.view-zunyi .zunyi-intro-scene__shade {
  position: absolute;
  inset: 0;
}

.view-zunyi .zunyi-intro-scene__bg {
  background:
    linear-gradient(180deg, rgba(18, 12, 8, 0.08), rgba(18, 12, 8, 0.34)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-painting-wide.png") center / cover no-repeat;
  filter: sepia(0.08) contrast(1.04) brightness(0.82);
  transform: scale(1.03);
}

.view-zunyi .zunyi-intro-scene__shade {
  background:
    radial-gradient(circle at 50% 36%, transparent 0 28%, rgba(9, 7, 5, 0.24) 54%, rgba(9, 7, 5, 0.62) 100%),
    linear-gradient(90deg, rgba(8, 6, 4, 0.78), rgba(8, 6, 4, 0.18) 42%, rgba(8, 6, 4, 0.7));
}

.view-zunyi .history-intro--zunyi {
  background: rgba(8, 6, 4, 0.46);
  backdrop-filter: none;
}

.view-zunyi .zunyi-video-bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 18px;
  color: #f8e6a8;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(248, 230, 168, 0.44);
  border-radius: 999px;
  background: rgba(18, 13, 9, 0.58);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: zunyi-video-bubble-float 2.8s ease-in-out infinite;
}

.view-zunyi .zunyi-video-bubble:hover {
  color: #fff6d6;
  border-color: rgba(242, 201, 76, 0.78);
  background: rgba(111, 23, 18, 0.72);
}

@keyframes zunyi-video-bubble-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.view-zunyi .zunyi-video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.view-zunyi .zunyi-video-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 4, 3, 0.76);
  cursor: pointer;
}

.view-zunyi .zunyi-video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  padding: 16px;
  border: 1px solid rgba(248, 230, 168, 0.32);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

.view-zunyi .zunyi-video-modal__panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 620px);
  border-radius: 6px;
  background: #000;
}

.view-zunyi .zunyi-video-modal__close {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
  padding: 8px 14px;
  color: #f8e6a8;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(248, 230, 168, 0.38);
  border-radius: 999px;
  background: rgba(18, 13, 9, 0.82);
  cursor: pointer;
}

.view-zunyi .zunyi-video-modal__close:hover {
  border-color: rgba(242, 201, 76, 0.78);
  background: rgba(111, 23, 18, 0.72);
}

.view-zunyi .zunyi-role-prompt {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 5, 4, 0.42);
}

.view-zunyi .zunyi-role-prompt__card {
  width: min(420px, calc(100vw - 48px));
  padding: 26px 28px;
  text-align: center;
  border: 1px solid rgba(248, 230, 168, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(55, 35, 22, 0.94), rgba(18, 13, 9, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.view-zunyi .zunyi-role-prompt__card p {
  margin: 0 0 10px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.view-zunyi .zunyi-role-prompt__card h3 {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.45;
}

.view-zunyi .zunyi-role-prompt__card span {
  display: block;
  margin-top: 14px;
  color: rgba(237, 228, 205, 0.82);
  line-height: 1.75;
}

.view-zunyi .zunyi-role-prompt__card button {
  margin-top: 22px;
  padding: 10px 24px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(242, 201, 76, 0.54);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
  cursor: pointer;
}

.view-zunyi .zunyi-role-prompt__card button:hover {
  background: rgba(111, 23, 18, 0.9);
}

.view-zunyi .zunyi-rewrite-canvas {
  position: relative;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #100b08;
}

.view-zunyi .zunyi-rewrite-canvas__bg,
.view-zunyi .zunyi-rewrite-canvas__shade {
  position: absolute;
  inset: 0;
}

.view-zunyi .zunyi-rewrite-canvas__bg {
  background:
    linear-gradient(180deg, rgba(18, 12, 8, 0.06), rgba(18, 12, 8, 0.42)),
    var(--zunyi-rewrite-bg) center / cover no-repeat;
  filter: sepia(0.08) contrast(1.04) brightness(0.82);
  transform: scale(1.02);
}

.view-zunyi .zunyi-rewrite-canvas__shade {
  background:
    radial-gradient(circle at 50% 42%, transparent 0 34%, rgba(9, 7, 5, 0.38) 72%, rgba(9, 7, 5, 0.68) 100%),
    linear-gradient(90deg, rgba(8, 6, 4, 0.72), rgba(8, 6, 4, 0.16) 44%, rgba(8, 6, 4, 0.72));
}

.view-zunyi .zunyi-rewrite-canvas__note {
  position: absolute;
  left: 50%;
  bottom: 9vh;
  z-index: 2;
  width: min(460px, calc(100vw - 48px));
  padding: 20px 24px;
  text-align: center;
  border: 1px solid rgba(248, 230, 168, 0.28);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.56);
  transform: translateX(-50%);
}

.view-zunyi .zunyi-rewrite-canvas__note p {
  margin: 0 0 8px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.view-zunyi .zunyi-rewrite-canvas__note h2 {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.55;
}

.view-zunyi .zunyi-rewrite-canvas__note span {
  display: block;
  margin-top: 12px;
  color: rgba(237, 228, 205, 0.84);
  line-height: 1.75;
}

.view-zunyi .zunyi-rewrite-canvas__note button {
  margin-top: 18px;
  padding: 10px 24px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(242, 201, 76, 0.54);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
  cursor: pointer;
}

.view-zunyi .zunyi-rewrite-canvas__note button:hover {
  background: rgba(111, 23, 18, 0.9);
}

.view-zunyi .zunyi-rewrite-canvas__note--record {
  width: min(720px, calc(100vw - 40px));
  bottom: 5vh;
  padding: 18px 20px;
  background: rgba(18, 13, 9, 0.5);
}

.view-zunyi .zunyi-record-game {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  text-align: left;
}

.view-zunyi .zunyi-record-game__speech {
  padding: 14px 16px;
  border: 1px solid rgba(248, 230, 168, 0.2);
  border-radius: 8px;
  background: rgba(14, 10, 7, 0.52);
}

.view-zunyi .zunyi-record-game__speech small {
  display: block;
  margin-bottom: 8px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.view-zunyi .zunyi-record-game__speech strong {
  display: block;
  color: rgba(255, 246, 214, 0.92);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
}

.view-zunyi .zunyi-meeting-speaker-bubble {
  position: absolute;
  z-index: 3;
  width: min(420px, calc(100vw - 64px));
  padding: 14px 18px;
  text-align: left;
  border: 1px solid rgba(248, 230, 168, 0.42);
  border-radius: 18px 18px 18px 6px;
  background:
    linear-gradient(180deg, rgba(52, 34, 21, 0.86), rgba(18, 13, 9, 0.9));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
}

.view-zunyi .zunyi-meeting-speaker-bubble--center {
  left: 50%;
  top: 11%;
}

.view-zunyi .zunyi-meeting-speaker-bubble--left {
  left: 27%;
  top: 13%;
}

.view-zunyi .zunyi-meeting-speaker-bubble--right {
  left: 72%;
  top: 17%;
}

.view-zunyi .zunyi-meeting-speaker-bubble::after {
  content: "";
  position: absolute;
  left: 48%;
  bottom: -13px;
  width: 24px;
  height: 24px;
  border-right: 1px solid rgba(248, 230, 168, 0.34);
  border-bottom: 1px solid rgba(248, 230, 168, 0.34);
  background: rgba(18, 13, 9, 0.9);
  transform: rotate(45deg);
}

.view-zunyi .zunyi-meeting-speaker-bubble--left::after {
  left: 31%;
}

.view-zunyi .zunyi-meeting-speaker-bubble--right::after {
  left: 63%;
}

.view-zunyi .zunyi-meeting-speaker-bubble small {
  display: block;
  margin-bottom: 8px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.view-zunyi .zunyi-meeting-speaker-bubble strong {
  display: block;
  color: rgba(255, 246, 214, 0.92);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
}

.view-zunyi .zunyi-record-game__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.view-zunyi .zunyi-record-game__choices button {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(72, 42, 25, 0.78);
}

.view-zunyi .zunyi-source-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  color: #3b2417;
  border: 1px solid rgba(92, 50, 23, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 0 14px, rgba(238, 216, 173, 0.96) 14px),
    linear-gradient(180deg, #f0ddb2, #d4b982);
  box-shadow:
    inset 0 0 24px rgba(71, 38, 16, 0.14),
    0 14px 28px rgba(0, 0, 0, 0.24);
  animation: source-card-in 0.38s ease both;
}

.view-zunyi .zunyi-source-card__image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 112px;
  padding: 0;
  appearance: none;
  cursor: zoom-in;
  border: 1px solid rgba(81, 45, 22, 0.24);
  border-radius: 6px;
  background-color: rgba(238, 216, 173, 0.52);
  filter: sepia(0.18) contrast(0.95) brightness(0.92);
  overflow: hidden;
}

.view-zunyi .zunyi-source-card__image img {
  display: block;
  max-width: 82%;
  max-height: 78px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 10px rgba(54, 31, 16, 0.2));
  pointer-events: none;
}

.view-zunyi .zunyi-source-card__image span {
  position: absolute;
  left: 50%;
  bottom: 8px;
  padding: 5px 9px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(248, 230, 168, 0.32);
  border-radius: 999px;
  background: rgba(18, 13, 9, 0.66);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
}

.view-zunyi .zunyi-source-card__image:hover {
  filter: sepia(0.12) contrast(1) brightness(1);
}

.view-zunyi .zunyi-source-card__image:hover span {
  background: rgba(111, 23, 18, 0.78);
}

.view-zunyi .zunyi-source-card__body {
  display: grid;
  gap: 7px;
  align-content: start;
}

.view-zunyi .zunyi-source-card small {
  color: rgba(156, 35, 27, 0.82);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.view-zunyi .zunyi-source-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.35;
}

.view-zunyi .zunyi-source-card p {
  margin: 0;
  color: rgba(59, 36, 23, 0.78);
  font-size: 0.9rem;
  line-height: 1.6;
}

.view-zunyi .zunyi-source-card__tip {
  color: rgba(111, 23, 18, 0.74);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
}

.view-zunyi .zunyi-source-card__body button {
  justify-self: start;
  margin-top: 4px;
  padding: 8px 14px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(156, 35, 27, 0.3);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
  cursor: pointer;
}

.view-zunyi .zunyi-source-card__body button:hover {
  background: rgba(111, 23, 18, 0.9);
}

@keyframes source-card-in {
  from {
    opacity: 0;
    transform: translateY(10px) rotate(-1deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.view-zunyi .zunyi-source-zoom {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
}

.view-zunyi .zunyi-source-zoom__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 4, 3, 0.72);
  cursor: zoom-out;
}

.view-zunyi .zunyi-source-zoom__card {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  color: #3b2417;
  border: 1px solid rgba(92, 50, 23, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 0 18px, rgba(238, 216, 173, 0.98) 18px),
    linear-gradient(180deg, #f1dfb4, #cfb176);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
  animation: source-card-in 0.28s ease both;
}

.view-zunyi .zunyi-source-zoom__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 8px 14px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(156, 35, 27, 0.3);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
  cursor: pointer;
}

.view-zunyi .zunyi-source-zoom__image {
  display: grid;
  place-items: center;
  min-height: min(54vh, 480px);
  max-height: min(62vh, 560px);
  margin: 18px 18px 0;
  padding: 12px;
  border: 1px solid rgba(81, 45, 22, 0.26);
  border-radius: 6px;
  background: rgba(255, 246, 214, 0.36);
  filter: sepia(0.12) contrast(0.98) brightness(0.96);
  overflow: hidden;
}

.view-zunyi .zunyi-source-zoom__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(min(62vh, 560px) - 24px);
  object-fit: contain;
}

.view-zunyi .zunyi-source-zoom__body {
  padding: 18px 22px 24px;
}

.view-zunyi .zunyi-source-zoom__body small {
  color: rgba(156, 35, 27, 0.82);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.view-zunyi .zunyi-source-zoom__body h2 {
  margin: 8px 0 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.view-zunyi .zunyi-source-zoom__body p {
  margin: 12px 0 0;
  color: rgba(59, 36, 23, 0.8);
  line-height: 1.8;
}

.view-zunyi .zunyi-source-detail {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.view-zunyi .zunyi-source-detail section {
  padding-top: 12px;
  border-top: 1px solid rgba(92, 50, 23, 0.16);
}

.view-zunyi .zunyi-source-detail h3 {
  margin: 0;
  color: rgba(156, 35, 27, 0.82);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.view-zunyi .zunyi-source-detail blockquote {
  margin: 10px 0 0;
  padding: 12px 14px;
  color: rgba(59, 36, 23, 0.86);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  border-left: 4px solid rgba(156, 35, 27, 0.48);
  background: rgba(255, 246, 214, 0.38);
}

.view-zunyi .zunyi-source-detail cite {
  display: block;
  margin-top: 8px;
  color: rgba(59, 36, 23, 0.62);
  font-style: normal;
  line-height: 1.6;
}

.view-zunyi .zunyi-source-detail__note {
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(156, 35, 27, 0.08);
}

.view-zunyi .zunyi-record-game__paper {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  color: #3b2417;
  border: 1px solid rgba(81, 45, 22, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(122, 67, 30, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #f1dfb4, #d5b982);
  box-shadow: inset 0 0 24px rgba(71, 38, 16, 0.14);
}

.view-zunyi .zunyi-record-game__paper strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.view-zunyi .zunyi-record-game__paper em {
  position: relative;
  min-height: 24px;
  color: rgba(59, 36, 23, 0.42);
  font-style: normal;
  line-height: 1.65;
}

.view-zunyi .zunyi-record-game__paper em.is-written {
  color: rgba(59, 36, 23, 0.88);
}

.view-zunyi .zunyi-record-game__paper em.is-fresh-written {
  animation: ink-write-in 0.9s ease both;
}

.view-zunyi .zunyi-record-game__paper em.is-fresh-written::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 2px;
  background: rgba(59, 36, 23, 0.36);
  animation: ink-line-spread 0.72s ease 0.12s forwards;
}

.view-zunyi .zunyi-record-game__archives {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-right: 78px;
}

.view-zunyi .zunyi-record-game__archives span {
  padding: 4px 8px;
  color: rgba(111, 23, 18, 0.78);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(156, 35, 27, 0.24);
  border-radius: 999px;
  background: rgba(255, 246, 214, 0.32);
}

.view-zunyi .zunyi-record-game__stamp {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: rgba(156, 35, 27, 0.82);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  line-height: 1.25;
  letter-spacing: 0.12em;
  text-align: center;
  border: 3px solid rgba(156, 35, 27, 0.68);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 5px rgba(156, 35, 27, 0.12),
    inset 0 0 0 9px rgba(156, 35, 27, 0.08);
  transform: rotate(-10deg);
  animation: record-stamp-punch 0.58s cubic-bezier(0.2, 1.45, 0.28, 1) both;
}

.view-zunyi .zunyi-record-game__status {
  position: absolute;
  right: 18px;
  top: 14px;
  z-index: 1;
  padding: 6px 10px;
  color: rgba(156, 35, 27, 0.82);
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0.08em;
  border: 2px solid rgba(156, 35, 27, 0.62);
  border-radius: 4px;
  transform: rotate(-8deg);
  animation: record-stamp-in 0.38s cubic-bezier(0.2, 1.25, 0.32, 1) both;
}

@keyframes ink-write-in {
  0% {
    color: rgba(59, 36, 23, 0);
    filter: blur(2px);
    transform: translateY(4px);
  }

  65% {
    color: rgba(59, 36, 23, 0.72);
    filter: blur(0.7px);
  }

  100% {
    color: rgba(59, 36, 23, 0.88);
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes ink-line-spread {
  to {
    right: 0;
  }
}

@keyframes record-stamp-in {
  0% {
    opacity: 0;
    transform: scale(1.35) rotate(-8deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(-8deg);
  }
}

@keyframes record-stamp-punch {
  0% {
    opacity: 0;
    transform: translateY(34px) scale(1.28) rotate(-10deg);
  }

  62% {
    opacity: 1;
    transform: translateY(-5px) scale(0.92) rotate(-10deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(-10deg);
  }
}

.view-zunyi .zunyi-record-game__feedback {
  display: block;
  color: rgba(237, 228, 205, 0.78);
  font-family: var(--font-sans);
  line-height: 1.7;
  text-align: center;
}

.archive-fragment {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(242, 201, 76, 0.14), transparent 32%),
    rgba(5, 4, 3, 0.72);
}

.archive-fragment__card {
  width: min(420px, calc(100vw - 48px));
  padding: 26px 28px;
  text-align: center;
  border: 1px solid rgba(248, 230, 168, 0.36);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(54, 34, 21, 0.96), rgba(17, 12, 8, 0.98));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.5);
}

.archive-fragment__eyebrow {
  margin: 0 0 14px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.archive-fragment__piece {
  position: relative;
  display: grid;
  place-items: center;
  width: 116px;
  height: 92px;
  margin: 0 auto 18px;
  color: #5a2f1a;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  background:
    linear-gradient(135deg, transparent 0 13px, #ead49d 13px),
    linear-gradient(180deg, #f2dfad, #cda96f);
  box-shadow:
    inset 0 0 28px rgba(93, 51, 24, 0.16),
    0 16px 34px rgba(0, 0, 0, 0.34);
  transform: rotate(-4deg);
}

.archive-fragment__piece::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(91, 49, 23, 0.32);
}

.archive-fragment__piece--chain {
  color: #f8e6a8;
  background:
    radial-gradient(circle at 24px 46px, transparent 0 12px, rgba(77, 52, 34, 0.92) 13px 20px, transparent 21px),
    radial-gradient(circle at 59px 46px, transparent 0 12px, rgba(77, 52, 34, 0.92) 13px 20px, transparent 21px),
    radial-gradient(circle at 94px 46px, transparent 0 12px, rgba(77, 52, 34, 0.92) 13px 20px, transparent 21px),
    linear-gradient(180deg, #7a573a, #2f2118);
}

.archive-fragment__piece--chain::after {
  border-color: rgba(248, 230, 168, 0.28);
}

.archive-fragment__piece--image {
  width: 128px;
  height: 108px;
  padding: 4px;
  background: rgba(255, 246, 214, 0.08);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.archive-fragment__piece--image::after {
  display: none;
}

.archive-fragment__piece--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.archive-fragment__card h2 {
  margin: 0;
  color: var(--color-paper);
  font-family: var(--font-serif);
  font-size: 1.45rem;
}

.archive-fragment__text {
  margin: 12px 0 0;
  color: rgba(237, 228, 205, 0.84);
  line-height: 1.75;
}

.archive-fragment__gallery {
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(248, 230, 168, 0.18);
  border-radius: 8px;
  background: rgba(255, 246, 214, 0.06);
}

.archive-fragment__gallery small {
  display: block;
  margin-bottom: 6px;
  color: #f2c94c;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.archive-fragment__gallery p {
  margin: 0 0 10px;
  color: rgba(237, 228, 205, 0.66);
  font-family: var(--font-sans);
  font-size: 0.74rem;
}

.archive-fragment__gallery > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.archive-fragment__gallery figure {
  margin: 0;
  padding: 6px;
  border-radius: 6px;
  background: rgba(238, 216, 173, 0.12);
}

.archive-fragment__gallery button {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: zoom-in;
}

.archive-fragment__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(248, 230, 168, 0.16);
  border-radius: 4px;
  filter: sepia(0.16) contrast(0.94) brightness(0.9);
}

.archive-fragment__gallery button:hover img {
  filter: sepia(0.08) contrast(1) brightness(1);
}

.archive-fragment__card .archive-fragment__gallery button:hover {
  background: transparent;
}

.archive-fragment__gallery figcaption {
  margin-top: 5px;
  color: rgba(237, 228, 205, 0.78);
  font-family: var(--font-sans);
  font-size: 0.72rem;
}

.archive-fragment__card button {
  margin-top: 22px;
  padding: 10px 24px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(242, 201, 76, 0.54);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.82);
  cursor: pointer;
}

.archive-fragment__card button:hover {
  background: rgba(111, 23, 18, 0.9);
}

.archive-image-zoom {
  position: fixed;
  inset: 0;
  z-index: 135;
  display: grid;
  place-items: center;
  padding: 24px;
}

.archive-image-zoom__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 4, 3, 0.76);
  cursor: zoom-out;
}

.archive-image-zoom__card {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 18px;
  overflow: auto;
  border: 1px solid rgba(248, 230, 168, 0.3);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(54, 34, 21, 0.98), rgba(17, 12, 8, 0.99));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.56);
}

.archive-image-zoom__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 8px 14px;
  color: #fff6d6;
  font-family: var(--font-sans);
  font-weight: 700;
  border: 1px solid rgba(242, 201, 76, 0.42);
  border-radius: 999px;
  background: rgba(156, 35, 27, 0.84);
  cursor: pointer;
}

.archive-image-zoom__card img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border: 1px solid rgba(248, 230, 168, 0.18);
  border-radius: 6px;
  background: rgba(255, 246, 214, 0.08);
}

.archive-image-zoom__card p {
  margin: 12px 0 0;
  color: rgba(237, 228, 205, 0.82);
  font-family: var(--font-sans);
  text-align: center;
}

@media (max-width: 720px) {
  .view-zunyi .zunyi-rewrite-canvas__note--record {
    bottom: 3vh;
    max-height: calc(100vh - 96px);
    overflow: auto;
  }

  .view-zunyi .zunyi-record-game__choices {
    grid-template-columns: 1fr;
  }

  .view-zunyi .zunyi-source-card {
    grid-template-columns: 1fr;
  }

  .view-zunyi .zunyi-source-card__image {
    min-height: 96px;
  }

  .view-zunyi .zunyi-source-card__image img {
    max-height: 64px;
  }

  .view-zunyi .zunyi-source-zoom__image {
    min-height: 260px;
    max-height: 50vh;
  }

  .view-zunyi .zunyi-source-zoom__image img {
    max-height: calc(50vh - 24px);
  }
}

.view-zunyi .zunyi-table {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  width: min(1180px, calc(100vw - 48px));
  min-height: 0;
  margin: 42px auto 0;
  overflow: visible;
}

.view-zunyi .zunyi-stage {
  min-height: 590px;
  padding: 22px;
  border: 1px solid rgba(237, 228, 205, 0.16);
  border-radius: 8px;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(38, 24, 15, 0.32), rgba(38, 24, 15, 0.78)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-table-room.png") center / cover no-repeat;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.view-zunyi .zunyi-cinema-layer {
  display: none;
}

.view-zunyi .zunyi-stage__header {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  max-width: 720px;
  transform: none;
  margin: 0 0 18px;
  padding: 14px 18px;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.54);
  box-shadow: none;
}

.view-zunyi .zunyi-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  min-height: 390px;
}

.view-zunyi .zunyi-cinematic-desk {
  position: relative;
  left: auto;
  bottom: auto;
  width: auto;
  height: auto;
  min-height: 390px;
  transform: none;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(242, 201, 76, 0.18), transparent 24%),
    radial-gradient(circle at 78% 70%, rgba(8, 6, 4, 0.36), transparent 32%),
    linear-gradient(180deg, rgba(32, 20, 12, 0.28), rgba(20, 13, 8, 0.72)),
    url("/huozi-project/assets/levels/zunyi-turn/meeting-table-room.png") center / cover no-repeat;
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.22);
}

.view-zunyi .zunyi-desk-perspective {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 18px;
  padding: 26px;
  transform: none;
}

.view-zunyi .zunyi-object-bank {
  min-height: 390px;
}

.view-zunyi .zunyi-record-sheet {
  min-height: 390px;
}

.view-zunyi .zunyi-feedback {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 18px 0 0;
  text-align: left;
}

.view-zunyi .zunyi-next {
  position: relative;
  right: auto;
  bottom: auto;
  margin-top: 10px;
}

.view-zunyi .zunyi-note {
  position: relative;
  right: auto;
  top: auto;
  width: auto;
  min-height: 590px;
  max-height: none;
  padding: 22px 20px;
  overflow: visible;
}

.view-zunyi .zunyi-choice--desk,
.view-zunyi .zunyi-order,
.view-zunyi .zunyi-turn-map {
  min-height: 390px;
  padding: 22px;
  border-radius: 8px;
}

.view-zunyi .zunyi-turn-map {
  min-height: 540px;
}

@media (max-width: 860px) {
  .view-zunyi .zunyi-table,
  .view-zunyi .zunyi-workspace,
  .view-zunyi .zunyi-desk-perspective {
    grid-template-columns: 1fr;
  }

  .view-zunyi .zunyi-table {
    width: min(100%, calc(100vw - 28px));
  }

  .view-zunyi .zunyi-note {
    display: block;
    min-height: 0;
  }
}
