/* ==========================================================================
   征途 · 1934 — 视觉系统
   ========================================================================== */
:root {
  --ink: #0b0d0c;
  --ink-2: #111512;
  --ink-3: #171d18;
  --paper: #d9cbb2;
  --paper-2: #c9b99d;
  --paper-dark: #a9997f;
  --bone: #e7ddca;
  --muted: #a39c8a;
  --muted-2: #6f6e63;
  --gold: #c8a361;
  --gold-bright: #e2bf7c;
  --red: #a92d22;
  --red-deep: #7c1e18;
  --red-bright: #d04734;
  --teal: #6f918c;
  --line: rgba(217, 203, 178, 0.16);
  --line-strong: rgba(217, 203, 178, 0.3);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --vh: 1vh;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { position: fixed; inset: 0; touch-action: none; }
button { font: inherit; color: inherit; border: none; background: none; cursor: pointer; }
button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4, p, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
strong { color: var(--bone); font-weight: 600; }
::selection { background: rgba(169, 45, 34, 0.55); color: #fff; }

#app {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 50%, #121612 0%, #080a09 70%);
}
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* 绾圭悊涓庢殫瑙?*/
.grain {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
  animation: grainShift 0.7s steps(2) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, -1%); }
  100% { transform: translate(2%, 2%); }
}
.vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.38) 78%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.36));
}

/* ==========================================================================
   閫氱敤鍏冧欢
   ========================================================================== */
.screen {
  position: absolute;
  inset: 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.screen.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.82;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--bone);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(100deg, var(--red-deep), var(--red));
  border-color: rgba(255, 210, 180, 0.18);
  color: #f7ecdb;
  box-shadow: 0 10px 30px rgba(110, 20, 16, 0.32);
}
.btn-primary:hover {
  background: linear-gradient(100deg, #8f241c, #bd3a2c);
  box-shadow: 0 14px 38px rgba(130, 28, 22, 0.4);
}
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(8, 10, 9, 0.32);
  color: var(--bone);
}
.btn-ghost:hover { border-color: rgba(217, 203, 178, 0.55); background: rgba(20, 25, 20, 0.7); }
.btn-text {
  color: var(--muted);
  letter-spacing: 0.12em;
  padding: 10px 12px;
  min-height: 38px;
}
.btn-text:hover { color: var(--bone); }
.btn-sm { min-height: 38px; padding: 9px 18px; font-size: 12px; }
.btn-lg { min-height: 64px; padding: 14px 30px; }
.btn-primary.btn-lg { min-width: 280px; flex-direction: column; gap: 3px; align-items: flex-start; }
.btn-kicker {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255, 232, 205, 0.7);
}
.btn-primary .btn-label { font-size: 17px; letter-spacing: 0.24em; font-family: var(--serif); color: #fbf0dd; }
.btn-arrow { font-family: var(--sans); font-size: 16px; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.icon-btn:hover { color: var(--bone); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.icon-btn .icon {
  width: 18px;
  text-align: center;
  font-family: var(--sans);
  color: var(--gold);
}
.icon-btn-dark {
  width: 38px;
  padding: 0;
  justify-content: center;
  background: rgba(8, 10, 9, 0.42);
  border-color: var(--line);
  backdrop-filter: blur(6px);
}
.icon-btn-dark .icon-label { display: none; }

/* ==========================================================================
   鏍囬
   ========================================================================== */
#screen-title { z-index: 20; }
.title-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.title-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 34%;
  filter: grayscale(0.62) sepia(0.2) contrast(1.12) brightness(0.6);
  transform: scale(1.025);
  animation: photoDrift 28s ease-in-out infinite alternate;
}
@keyframes photoDrift {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}
.title-photo-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.95) 0%, rgba(5, 7, 6, 0.72) 32%, rgba(5, 7, 6, 0.22) 66%, rgba(5, 7, 6, 0.34) 100%),
    radial-gradient(ellipse at 66% 40%, rgba(160, 70, 40, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.55), transparent 24%, transparent 66%, rgba(5, 7, 6, 0.82));
}
.title-photo-caption {
  position: absolute;
  right: 3vw;
  bottom: 5vh;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(231, 221, 202, 0.4);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.title-scrim {
  z-index: 1;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.88) 0%, rgba(5, 7, 6, 0.56) 34%, rgba(5, 7, 6, 0.06) 66%, rgba(5, 7, 6, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.48) 0%, transparent 22%, transparent 72%, rgba(5, 7, 6, 0.7) 100%);
  pointer-events: none;
}
.title-top {
  position: absolute;
  top: 26px;
  left: 4.6vw;
  right: 4.6vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  animation: fadeIn 1.4s 0.5s both;
}
.anniv {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.anniv-star { color: var(--red-bright); font-size: 9px; }
.title-tools { display: flex; gap: 4px; }
.title-main {
  position: absolute;
  left: 8.5vw;
  top: 47%;
  transform: translateY(-48%);
  width: min(620px, 52vw);
  z-index: 2;
}
.title-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  animation: fadeUp 1s 0.35s both;
}
.mark-line { width: 54px; height: 1px; background: var(--red-bright); opacity: 0.8; }
.mark-text {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.33em;
  color: var(--gold);
}
.game-title {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  margin-left: -6px;
  animation: fadeUp 1.1s 0.45s both;
}
.title-cn {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(82px, 10.6vw, 150px);
  line-height: 0.9;
  letter-spacing: 0.12em;
  color: var(--bone);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
  margin-left: -0.04em;
}
.title-year {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 2.2vw, 30px);
  letter-spacing: 0.24em;
  color: rgba(200, 163, 97, 0.66);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(200, 163, 97, 0.34);
}
.title-sub {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.7vw, 25px);
  letter-spacing: 0.18em;
  color: var(--gold-bright);
  animation: fadeUp 1.1s 0.62s both;
}
.title-lead {
  margin-top: 18px;
  font-size: 13px;
  line-height: 2.05;
  letter-spacing: 0.08em;
  color: rgba(231, 221, 202, 0.62);
  animation: fadeUp 1.1s 0.76s both;
}
.title-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 34px;
  animation: fadeUp 1.1s 0.92s both;
}
.title-hint {
  margin-top: 26px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(163, 156, 138, 0.52);
  animation: fadeIn 1.4s 1.2s both;
}
.title-stats {
  position: absolute;
  right: 6vw;
  bottom: 17vh;
  display: flex;
  gap: 30px;
  z-index: 2;
  animation: fadeIn 1.5s 1s both;
}
.title-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 18px;
  border-right: 1px solid rgba(217, 203, 178, 0.16);
}
.title-stats .stat:last-child { border-right: none; padding-right: 0; }
.stat-num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
  color: rgba(231, 221, 202, 0.85);
  letter-spacing: 0.02em;
}
.stat-unit {
  font-family: var(--serif);
  font-size: 10px;
  color: var(--gold);
  margin-top: 4px;
  letter-spacing: 0.2em;
}
.stat-label {
  margin-top: 9px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(163, 156, 138, 0.58);
  white-space: nowrap;
}
.title-foot {
  position: absolute;
  left: 4.6vw;
  right: 4.6vw;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(163, 156, 138, 0.43);
  z-index: 2;
  animation: fadeIn 1.8s 1.25s both;
}
.foot-rule { width: 32px; height: 1px; background: rgba(217, 203, 178, 0.2); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ==========================================================================
   搴忕珷
   ========================================================================== */
#screen-prologue { z-index: 30; background: radial-gradient(ellipse at 50% 55%, rgba(20, 22, 17, 0.94), rgba(4, 5, 4, 0.985)); }
.prologue-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 12vw;
  background-image: linear-gradient(90deg, transparent 49.9%, rgba(217, 203, 178, 0.08) 50%, transparent 50.1%);
}
.prologue-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s 0.1s forwards;
}
.prologue-meta .line { width: 60px; height: 1px; background: rgba(200, 163, 97, 0.4); }
.prologue-lines { max-width: 690px; }
.pl {
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 29px);
  line-height: 1.9;
  letter-spacing: 0.09em;
  color: rgba(231, 221, 202, 0.72);
  opacity: 0;
  animation: fadeUp 1.2s var(--d) both;
}
.pl-quote {
  margin-top: 30px;
  color: var(--gold-bright);
  padding-left: 20px;
  border-left: 1px solid rgba(200, 163, 97, 0.4);
}
.prologue-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 46px;
  opacity: 0;
  animation: fadeIn 1.2s 3.7s forwards;
}
.prologue-note {
  position: absolute;
  left: 12vw;
  bottom: 8vh;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(163, 156, 138, 0.38);
  opacity: 0;
  animation: fadeIn 1s 4.4s forwards;
}

/* ==========================================================================
   璺嚎鍥?   ========================================================================== */
#screen-map { z-index: 20; background: radial-gradient(ellipse at center, #141a15 0%, #080a09 76%); }
.map-head {
  position: absolute;
  top: 22px;
  left: 4.2vw;
  right: 4.2vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 4;
}
.map-title-wrap h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-top: 7px;
}
.map-sub { margin-top: 6px; font-size: 10px; letter-spacing: 0.08em; color: rgba(163, 156, 138, 0.55); }
.map-head-right { display: flex; align-items: center; gap: 10px; }
.map-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 18px;
  margin-right: 4px;
  border-right: 1px solid var(--line);
}
.map-progress-num { font-family: Georgia, serif; font-size: 19px; color: var(--gold-bright); letter-spacing: 0.08em; }
.map-progress-label { font-size: 8px; letter-spacing: 0.18em; color: var(--muted-2); margin-top: 2px; }

#route-active { transition: stroke-dashoffset 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.map-stage {
  position: absolute;
  left: 50%;
  top: 112px;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(94vw, calc((100vh - 136px) * 16 / 9));
  max-width: 1440px;
  aspect-ratio: 16 / 9;
  z-index: 2;
}
.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(217, 203, 178, 0.13);
  background: #0d110e;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.5), 0 24px 70px rgba(0, 0, 0, 0.3);
}
.map-nodes { position: absolute; inset: 0; pointer-events: none; }
.map-compass-note {
  position: absolute;
  right: 1.6%;
  bottom: 3.2%;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(217, 203, 178, 0.3);
}

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 8px;
  background: none;
  color: var(--muted);
  transition: color 0.3s, opacity 0.3s;
}
.node-dot {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(217, 203, 178, 0.5);
  background: #151a15;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.node-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: rgba(217, 203, 178, 0.3);
  transition: background 0.35s;
}
.node-label {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-shadow: 0 1px 3px #000, 0 2px 12px #000, 0 0 22px #000;
}
.node-date { font-size: 8px; letter-spacing: 0.12em; color: rgba(163, 156, 138, 0.5); }
.node.is-current .node-dot {
  width: 19px;
  height: 19px;
  border-color: var(--gold-bright);
  background: rgba(200, 163, 97, 0.22);
  box-shadow: 0 0 0 7px rgba(200, 163, 97, 0.07), 0 0 24px rgba(224, 161, 94, 0.55);
  animation: nodePulse 2.4s infinite;
}
.node.is-current .node-dot::after { background: var(--gold-bright); }
.node.is-current .node-label { color: var(--bone); }
.node.is-done .node-dot { border-color: var(--red-bright); background: rgba(169, 45, 34, 0.5); }
.node.is-done .node-dot::after { background: #f0d7bc; }
.node.is-done .node-label { color: rgba(231, 221, 202, 0.86); }
.node.is-locked { opacity: 0.76; cursor: not-allowed; }
.node.is-locked .node-dot { border-style: dashed; }
.node.is-final .node-label { color: var(--gold-bright); font-size: 15px; }
.node.is-final .node-dot {
  width: 22px;
  height: 22px;
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold) 0 28%, #2a2417 30% 100%);
}
.node:hover:not(.is-locked) .node-dot { transform: scale(1.22); border-color: var(--gold-bright); }
.node:hover:not(.is-locked) .node-label { color: var(--bone); }
.node.is-selected .node-dot { box-shadow: 0 0 0 8px rgba(200, 163, 97, 0.11), 0 0 26px rgba(200, 163, 97, 0.55); }
@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(200, 163, 97, 0.05), 0 0 20px rgba(224, 161, 94, 0.38); }
  50% { box-shadow: 0 0 0 12px rgba(200, 163, 97, 0.015), 0 0 32px rgba(224, 161, 94, 0.7); }
}
.node-badge {
  position: absolute;
  top: -12px;
  right: -9px;
  width: auto;
  height: auto;
  border: none;
  background: none;
  color: var(--gold-bright);
  font-size: 9px;
  line-height: 1;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.map-card {
  position: absolute;
  left: 4.2vw;
  bottom: 38px;
  width: 372px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  padding: 0 22px 18px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(17, 22, 18, 0.96), rgba(9, 12, 10, 0.94));
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  z-index: 4;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}
.map-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--red);
  z-index: 2;
}
.map-card-photo {
  position: relative;
  height: 102px;
  margin: 0 -22px;
  overflow: hidden;
  background: #11140f;
}
.map-card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 10, 9, 0.9) 100%);
}
.map-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: grayscale(0.7) sepia(0.2) contrast(1.12) brightness(0.75);
}
.map-card-photo span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 8px;
  z-index: 2;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(231, 221, 202, 0.68);
  text-shadow: 0 2px 8px #000;
}
.map-card-identity { padding-top: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.map-card-head { display: flex; align-items: baseline; gap: 12px; }
.map-card-num { font-family: Georgia, serif; font-size: 32px; line-height: 1; color: var(--gold); letter-spacing: 0.02em; }
.map-card-date { font-size: 9px; letter-spacing: 0.16em; color: var(--muted-2); }
.map-card h3 { margin-top: 8px; font-family: var(--serif); font-size: 24px; letter-spacing: 0.1em; font-weight: 500; }
.map-card-place { margin-top: 4px; font-size: 9px; letter-spacing: 0.13em; color: var(--gold); opacity: 0.78; }
.map-card-copy { min-height: 86px; }
.map-card-desc { font-size: 10px; line-height: 1.85; letter-spacing: 0.04em; color: rgba(231, 221, 202, 0.62); }
.map-card-desc .hl { color: var(--gold-bright); }
.map-card-facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 9px; }
.map-card-facts span { font-size: 8px; letter-spacing: 0.08em; color: var(--muted-2); }
.map-card-facts span::before { content: "·"; margin-right: 5px; color: var(--red-bright); }
.map-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.map-card-actions .btn-primary { flex: 1; }
.map-foot {
  position: absolute;
  left: 4.2vw;
  right: 4.2vw;
  bottom: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(163, 156, 138, 0.4);
  z-index: 4;
}

/* ==========================================================================
   绔犺妭绠€鎶?   ========================================================================== */
#screen-intro { z-index: 25; background: #070908; }
.intro-photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 64%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.55) sepia(0.24) contrast(1.1) brightness(0.66);
  transform: scale(1.03);
}
.intro-photo-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.2), rgba(5, 7, 6, 0.12) 44%, rgba(5, 7, 6, 0.9) 88%, #070908 100%),
    linear-gradient(180deg, rgba(5, 7, 6, 0.7), transparent 28%, transparent 62%, rgba(5, 7, 6, 0.94));
}
.intro-photo-caption {
  position: absolute;
  left: 7vw;
  bottom: 4.2vh;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 46vw;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(231, 221, 202, 0.5);
  text-shadow: 0 2px 8px #000;
}
.photo-tag {
  padding: 3px 7px;
  border: 1px solid rgba(200, 163, 97, 0.4);
  color: var(--gold);
  letter-spacing: 0.16em;
}
.photo-credit { opacity: 0.65; }
.intro-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 7, 6, 0.45) 0%, rgba(5, 7, 6, 0.3) 38%, rgba(5, 7, 6, 0.18) 62%, rgba(5, 7, 6, 0.7) 88%, rgba(5, 7, 6, 0.84) 100%);
  pointer-events: none;
}
.intro-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 5vw;
  padding: 7vh 7vw;
}
.intro-left { max-width: 560px; }
.intro-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.intro-kicker .rule { width: 48px; height: 1px; background: rgba(200, 163, 97, 0.4); }
.intro-left h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85), 0 1px 6px rgba(0, 0, 0, 0.9);
}
.intro-left .intro-place,
.intro-left .intro-quote,
.intro-left .intro-brief { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9); }
.intro-place { margin-top: 12px; font-size: 11px; letter-spacing: 0.22em; color: var(--muted); }
.intro-quote {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 1px solid rgba(200, 163, 97, 0.44);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: rgba(231, 221, 202, 0.68);
}
.quote-source {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.photo-tag.is-generic { border-color: rgba(217, 203, 178, 0.25); color: var(--muted); }
.intro-brief { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; max-width: 480px; }
.intro-brief span { font-size: 9px; letter-spacing: 0.12em; color: var(--muted-2); }
.intro-brief span b { display: block; margin-bottom: 4px; font-weight: 400; color: var(--gold); font-size: 8px; letter-spacing: 0.18em; }
.intro-people { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; max-width: 540px; }
.person-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  background: rgba(5, 7, 6, 0.55);
  border: 1px solid rgba(217, 203, 178, 0.24);
  backdrop-filter: blur(8px);
  text-align: left;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.person-chip:hover { border-color: var(--gold); background: rgba(200, 163, 97, 0.1); transform: translateY(-1px); }
.person-chip-avatar {
  width: 30px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #342d21, #14140f);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 13px;
}
.person-chip-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.person-chip-text { display: flex; flex-direction: column; gap: 2px; }
.person-chip-text b { font-family: var(--serif); font-weight: 500; font-size: 11px; color: var(--bone); letter-spacing: 0.08em; }
.person-chip-text span { font-size: 8px; color: var(--muted-2); letter-spacing: 0.04em; max-width: 174px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.brief-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-left: auto;
  padding: 26px 30px 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 38%),
    linear-gradient(180deg, #ded1b9, #cdbb9f);
  color: #211d17;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5);
  transform: rotate(0.35deg);
}
.brief-card::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(70, 52, 34, 0.22);
  pointer-events: none;
}
.brief-card-top { display: flex; align-items: center; justify-content: space-between; }
.stamp {
  display: inline-block;
  padding: 4px 8px;
  border: 2px solid #9d2a20;
  color: #9d2a20;
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  transform: rotate(-5deg);
  opacity: 0.86;
}
.brief-card-label { font-size: 9px; letter-spacing: 0.28em; color: rgba(45, 36, 26, 0.58); }
.brief-lead {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: #2a241b;
}
.brief-objectives { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(45, 36, 26, 0.18); }
.brief-objectives h4 {
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(45, 36, 26, 0.55);
  font-weight: 500;
}
.brief-objectives ul { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.brief-objectives li {
  position: relative;
  padding-left: 18px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: #322a1f;
}
.brief-objectives li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 7px;
  color: #9d2a20;
}
.brief-controls {
  margin-top: 18px;
  padding: 10px 12px;
  background: rgba(55, 43, 28, 0.08);
  border: 1px dashed rgba(55, 43, 28, 0.24);
  font-family: var(--sans);
  font-size: 10px;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #514738;
}
.brief-controls b { color: #7c1e18; font-weight: 600; }
.brief-actions { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.brief-actions .btn-primary { background: #7c1e18; color: #f3e5ce; box-shadow: none; min-width: 150px; }
.brief-actions .btn-primary:hover { background: #95271e; }
.brief-actions .btn-text { color: rgba(45, 36, 26, 0.55); }
.brief-actions .btn-text:hover { color: #211d17; }
.brief-foot {
  margin-top: 14px;
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: rgba(45, 36, 26, 0.42);
}

/* ==========================================================================
   娓告垙 HUD
   ========================================================================== */
#screen-game { z-index: 18; background: transparent; }
#screen-game.is-active { pointer-events: none; }
#screen-game .game-top-actions { pointer-events: auto; }
#screen-game .game-touch { pointer-events: auto; }
.game-hud {
  position: absolute;
  top: 18px;
  left: 22px;
  right: 108px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  z-index: 5;
  pointer-events: none;
}
.game-ui {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.game-ui > * { pointer-events: auto; }
.game-bottom {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 16px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.game-prompt {
  min-height: 24px;
  padding: 5px 14px;
  background: rgba(5, 7, 6, 0.45);
  border: 1px solid rgba(217, 203, 178, 0.1);
  backdrop-filter: blur(5px);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(231, 221, 202, 0.66);
  text-align: center;
  transition: opacity 0.3s;
}
.game-prompt kbd {
  display: inline-block;
  min-width: 20px;
  padding: 1px 5px;
  margin: 0 2px;
  border: 1px solid rgba(217, 203, 178, 0.3);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 9px;
  color: var(--gold-bright);
}
.game-touch { display: flex; align-items: center; justify-content: center; gap: 12px; pointer-events: auto; }
.game-top-actions { position: absolute; top: 18px; right: 16px; display: flex; gap: 6px; z-index: 8; }

.hud-group { display: flex; align-items: center; gap: 10px; }
.hud-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(5, 7, 6, 0.55);
  border: 1px solid rgba(217, 203, 178, 0.13);
  backdrop-filter: blur(8px);
}
.hud-chapter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  background: rgba(5, 7, 6, 0.55);
  border: 1px solid rgba(217, 203, 178, 0.13);
  backdrop-filter: blur(8px);
}
.hud-chapter-num { font-family: Georgia, serif; font-size: 20px; color: var(--gold); }
.hud-chapter-meta { display: flex; flex-direction: column; gap: 2px; }
.hud-chapter-title { font-family: var(--serif); font-size: 13px; letter-spacing: 0.14em; }
.hud-chapter-date { font-size: 8px; letter-spacing: 0.14em; color: var(--muted-2); }
.hud-objective {
  max-width: 360px;
  padding: 7px 12px;
  background: rgba(5, 7, 6, 0.38);
  border-left: 1px solid var(--red);
  font-size: 9px;
  line-height: 1.65;
  letter-spacing: 0.1em;
  color: rgba(231, 221, 202, 0.66);
}
.hud-objective b { color: var(--gold-bright); font-weight: 500; }
.hud-meters { display: flex; align-items: center; gap: 14px; padding: 8px 14px; background: rgba(5, 7, 6, 0.55); border: 1px solid rgba(217, 203, 178, 0.13); backdrop-filter: blur(8px); }
.hud-meter { min-width: 96px; }
.hud-meter-label { display: flex; justify-content: space-between; gap: 10px; font-size: 8px; letter-spacing: 0.12em; color: var(--muted); }
.hud-meter-label b { font-weight: 500; color: var(--bone); }
.hud-bar { position: relative; height: 3px; margin-top: 5px; background: rgba(217, 203, 178, 0.14); overflow: hidden; }
.hud-bar i { display: block; height: 100%; width: 0%; background: var(--gold); transition: width 0.18s linear; }
.hud-bar.is-red i { background: linear-gradient(90deg, #9d2a20, #d04734); }
.hud-bar.is-blue i { background: linear-gradient(90deg, #4f6f6a, #9ec3bc); }
.hud-hearts { display: flex; gap: 4px; }
.hud-hearts span { font-size: 11px; color: var(--red-bright); opacity: 0.9; }
.hud-hearts span.is-off { color: rgba(217, 203, 178, 0.18); }
.hud-time { font-family: Georgia, serif; font-size: 19px; color: var(--bone); letter-spacing: 0.05em; min-width: 52px; text-align: right; }
.hud-time.is-low { color: var(--red-bright); animation: blink 0.8s infinite; }
.hud-counter { display: flex; align-items: baseline; gap: 5px; font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.hud-counter b { font-family: Georgia, serif; font-size: 20px; color: var(--gold-bright); font-weight: 400; }
@keyframes blink { 50% { opacity: 0.35; } }

.touch-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 52px;
  padding: 0 18px;
  background: rgba(8, 10, 9, 0.62);
  border: 1px solid rgba(217, 203, 178, 0.27);
  backdrop-filter: blur(8px);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--bone);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.touch-btn.is-held { background: rgba(169, 45, 34, 0.42); border-color: var(--red-bright); }
.touch-btn small { display: block; font-size: 7px; letter-spacing: 0.1em; color: var(--muted); margin-top: 2px; }
@media (pointer: coarse) { .touch-btn { display: inline-flex; } }

/* 閫氱敤灏忓睆闅愯棌 */
@media (max-width: 900px) {
  .hud-objective { display: none; }
  .hud-chapter { padding: 6px 10px; }
  .hud-chapter-title { font-size: 11px; }
  .hud-meters { padding: 6px 10px; gap: 9px; }
  .hud-meter { min-width: 70px; }
}

/* ==========================================================================
   绔犺妭缁撶畻
   ========================================================================== */
#screen-debrief { z-index: 26; background: rgba(5, 7, 6, 0.5); }
.debrief-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 6, 0.82) 0%, rgba(6, 8, 7, 0.76) 100%),
    radial-gradient(ellipse at 75% 30%, rgba(120, 35, 24, 0.12), transparent 55%);
  backdrop-filter: blur(2px);
}
.debrief-wrap {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 3.2vh 6vw 2.4vh;
  max-width: 1280px;
  margin: 0 auto;
}
.debrief-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.debrief-title-line { display: flex; align-items: baseline; gap: 18px; margin-top: 10px; }
.debrief-num { font-family: Georgia, serif; font-size: 38px; color: var(--gold); letter-spacing: 0.02em; }
.debrief-title-line h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: 0.1em; }
.debrief-stamp {
  margin-left: auto;
  padding: 5px 10px;
  border: 1px solid rgba(200, 163, 97, 0.55);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.22em;
  transform: rotate(-3deg);
}
.debrief-sub { margin-top: 8px; font-size: 10px; letter-spacing: 0.14em; color: var(--muted-2); }
.debrief-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 4vw;
  margin-top: 14px;
}
.debrief-narrative p {
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: rgba(231, 221, 202, 0.76);
}
.debrief-narrative blockquote {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 1px solid rgba(200, 163, 97, 0.4);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.9;
  color: var(--gold-bright);
  opacity: 0.86;
}
.debrief-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 16px; }
.debrief-stat { display: flex; flex-direction: column; gap: 4px; }
.debrief-stat b { font-family: Georgia, serif; font-size: 25px; font-weight: 400; color: var(--bone); }
.debrief-stat span { font-size: 8px; letter-spacing: 0.16em; color: var(--muted-2); }

.debrief-card {
  position: relative;
  padding: 18px 22px;
  background: linear-gradient(180deg, #dcd0b9, #cbb99d);
  color: #241f17;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  align-self: start;
}
.debrief-card::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(70, 52, 34, 0.2); pointer-events: none; }
.fact-card-head { display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: 0.26em; color: rgba(45, 36, 26, 0.55); }
.fact-card-star { color: #9d2a20; font-size: 12px; }
.debrief-card h3 { margin-top: 10px; font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0.08em; }
.fact-list { margin-top: 10px; display: flex; flex-direction: column; gap: 9px; }
.fact-list p { font-size: 11px; line-height: 1.85; letter-spacing: 0.03em; color: #3b3226; }
.fact-list p b { color: #7c1e18; font-weight: 600; }
.fact-source { margin-top: 12px; padding-top: 8px; border-top: 1px solid rgba(45, 36, 26, 0.15); font-size: 8px; letter-spacing: 0.12em; color: rgba(45, 36, 26, 0.38); }

.debrief-quiz {
  margin-top: 14px;
  padding: 12px 20px;
  background: rgba(12, 16, 13, 0.58);
  border: 1px solid var(--line);
}
.quiz-head { display: flex; align-items: center; justify-content: space-between; }
.quiz-tag { font-size: 9px; letter-spacing: 0.22em; color: var(--gold); }
.quiz-reward { font-size: 8px; letter-spacing: 0.1em; color: var(--muted-2); }
.quiz-q { margin-top: 10px; font-family: var(--serif); font-size: 16px; letter-spacing: 0.05em; color: var(--bone); }
.quiz-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.quiz-opt {
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(231, 221, 202, 0.7);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.quiz-opt:hover { border-color: rgba(217, 203, 178, 0.4); color: var(--bone); }
.quiz-opt.is-right { border-color: rgba(111, 145, 140, 0.8); background: rgba(111, 145, 140, 0.14); color: #bcd6cf; }
.quiz-opt.is-wrong { border-color: rgba(169, 45, 34, 0.75); background: rgba(169, 45, 34, 0.12); color: #d9a49b; }
.quiz-opt:disabled { cursor: default; }
.quiz-explain { margin-top: 12px; font-size: 10px; line-height: 1.8; color: var(--muted); }
.debrief-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.debrief-actions .btn-primary { margin-right: auto; }

/* ==========================================================================
   缁堢珷
   ========================================================================== */
#screen-finale { z-index: 27; background: transparent; }
.finale-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.finale-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: grayscale(0.75) sepia(0.18) contrast(1.12) brightness(0.48);
}
.finale-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 42%, transparent 0%, rgba(5, 7, 6, 0.36) 58%, rgba(5, 7, 6, 0.78));
}
.finale-photo span {
  position: absolute;
  right: 3vw;
  bottom: 3vh;
  z-index: 2;
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(231, 221, 202, 0.35);
}
.finale-scrim {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 6, 0.12), rgba(6, 8, 7, 0.28) 55%, rgba(6, 8, 7, 0.42));
}
.finale-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow-y: auto;
  padding: 5vh 6vw 3vh;
  max-width: 1180px;
  margin: 0 auto;
}
.finale-head h2 { margin-top: 8px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; letter-spacing: 0.1em; }
.finale-head p:last-child { margin-top: 10px; font-size: 11px; line-height: 1.9; letter-spacing: 0.06em; color: var(--muted); max-width: 650px; }
.finale-board { margin-top: 26px; }
.finale-timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 4px;
  margin-bottom: 20px;
}
.tl-slot {
  position: relative;
  height: 38px;
  border-top: 1px solid rgba(217, 203, 178, 0.13);
  padding-top: 7px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(163, 156, 138, 0.34);
  text-align: center;
  transition: color 0.4s, border-color 0.4s;
}
.tl-slot span { display: block; font-family: Georgia, serif; font-size: 10px; color: rgba(200, 163, 97, 0.34); margin-bottom: 2px; }
.tl-slot.is-filled { border-top-color: var(--gold); color: var(--bone); }
.tl-slot.is-filled span { color: var(--gold-bright); }
.finale-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.route-card {
  position: relative;
  min-height: 96px;
  padding: 14px 16px 12px;
  text-align: left;
  background: linear-gradient(150deg, rgba(28, 33, 27, 0.92), rgba(13, 17, 14, 0.92));
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s, transform 0.3s, opacity 0.3s;
}
.route-card:hover:not(.is-used) { border-color: rgba(217, 203, 178, 0.38); transform: translateY(-2px); }
.route-card .rc-num {
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: Georgia, serif;
  font-size: 10px;
  color: rgba(200, 163, 97, 0.5);
}
.route-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.1em; color: var(--bone); }
.route-card p { margin-top: 5px; font-size: 9px; line-height: 1.7; letter-spacing: 0.04em; color: var(--muted-2); }
.route-card .rc-hint { margin-top: 7px; font-size: 8px; letter-spacing: 0.12em; color: var(--gold); opacity: 0; transition: opacity 0.3s; }
.route-card:hover .rc-hint { opacity: 0.7; }
.route-card.is-used { opacity: 0.24; pointer-events: none; border-color: rgba(200, 163, 97, 0.25); }
.route-card.is-used::after {
  content: "★";
  position: absolute;
  right: 12px;
  bottom: 9px;
  color: var(--gold);
  font-size: 10px;
}
.route-card.is-wrong { animation: shake 0.4s; border-color: var(--red-bright); }
.route-card.is-next { border-color: rgba(200, 163, 97, 0.55); box-shadow: inset 0 0 30px rgba(200, 163, 97, 0.05); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-5px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
.finale-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.finale-foot #finale-status { color: var(--gold); }

.ending {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(4, 6, 5, 0.64) 0%, rgba(4, 6, 5, 0.38) 45%, rgba(4, 6, 5, 0.02) 76%),
    linear-gradient(180deg, rgba(4, 6, 5, 0.12), rgba(4, 6, 5, 0.02) 30%, rgba(4, 6, 5, 0.08) 68%, rgba(4, 6, 5, 0.42));
  overflow-y: auto;
}
.ending-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8vh 8vw;
  text-align: center;
}
.ending-eyebrow { font-size: 9px; letter-spacing: 0.34em; color: var(--gold); }
.ending-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bone);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.92), 0 10px 60px rgba(0, 0, 0, 0.75);
}
.ending-lead {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: rgba(243, 232, 211, 0.8);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}
.ending-roll {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  max-width: 760px;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.ending-roll span::before { content: "·"; margin-right: 8px; color: var(--red-bright); }
.ending-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 42px; margin-top: 30px; }
.ending-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ending-stat b { font-family: Georgia, serif; font-size: 30px; font-weight: 400; color: var(--gold-bright); }
.ending-stat span { font-size: 8px; letter-spacing: 0.18em; color: var(--muted-2); }
.ending-quote {
  margin-top: 38px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}
.ending-small { margin-top: 16px; font-size: 10px; letter-spacing: 0.16em; color: var(--muted); }
.ending-roll, .ending-stats, .ending-quote, .ending-small { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.92), 0 1px 4px rgba(0, 0, 0, 0.8); }
.ending-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.ending-credit { margin-top: 32px; font-size: 8px; letter-spacing: 0.18em; color: rgba(163, 156, 138, 0.35); }

/* ==========================================================================
   寮瑰眰
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(2, 3, 2, 0.78);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: 30px 34px;
  background: linear-gradient(160deg, #171d18, #0d110e);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(10px) scale(0.99);
  transition: transform 0.35s var(--ease);
}
.modal.is-open .modal-card { transform: translateY(0) scale(1); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.modal-head h2 { margin-top: 6px; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: 0.1em; }
.modal-close {
  width: 34px;
  height: 34px;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
  border: 1px solid transparent;
}
.modal-close:hover { color: var(--bone); border-color: var(--line); }
.modal-lead { margin-top: 14px; font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
.modal-lead strong { color: var(--gold-bright); }

.codex-card { width: min(980px, 100%); }
.codex-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.codex-item {
  position: relative;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
  cursor: default;
  transition: border-color 0.3s, background 0.3s;
}
.codex-item.is-unlocked { cursor: pointer; }
.codex-item.is-unlocked:hover { border-color: rgba(217, 203, 178, 0.35); background: rgba(255, 255, 255, 0.035); }
.codex-item.is-locked { opacity: 0.38; }
.codex-item-num { font-family: Georgia, serif; font-size: 10px; color: var(--gold); }
.codex-item h3 { margin-top: 6px; font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.08em; }
.codex-item p { margin-top: 5px; font-size: 9px; line-height: 1.7; color: var(--muted-2); }
.codex-item .codex-stars { position: absolute; right: 14px; top: 14px; font-size: 8px; color: var(--gold); letter-spacing: 2px; }
.codex-detail {
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(217, 203, 178, 0.05);
  border-left: 2px solid var(--red);
  display: none;
}
.codex-detail.is-open { display: block; }
.codex-detail h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: 0.08em; }
.codex-detail p { margin-top: 8px; font-size: 11px; line-height: 1.9; color: rgba(231, 221, 202, 0.7); }
.codex-foot { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: 0.1em; color: var(--muted-2); }
.codex-foot strong { color: var(--gold-bright); }

.people-card { width: min(1120px, 100%); }
.people-section { margin-top: 22px; }
.people-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.people-section-head h3 { font-family: var(--serif); font-size: 19px; font-weight: 500; letter-spacing: 0.12em; color: var(--gold); }
.people-section-head span { font-size: 8px; letter-spacing: 0.12em; color: var(--muted-2); }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 12px; }
.person-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  text-align: left;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.person-card:hover, .person-card.is-focus { border-color: rgba(200, 163, 97, 0.6); background: rgba(200, 163, 97, 0.07); transform: translateY(-1px); }
.person-portrait {
  position: relative;
  width: 76px;
  height: 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(200, 163, 97, 0.22), transparent 46%),
    linear-gradient(160deg, #2c2a20, #12140f);
  border: 1px solid rgba(217, 203, 178, 0.2);
  display: grid;
  place-items: center;
}
.person-portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.9) sepia(0.12) contrast(1.12) brightness(0.9); }
.person-portrait .portrait-star { font-size: 24px; color: rgba(200, 163, 97, 0.8); }
.person-portrait .portrait-none { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 7px; letter-spacing: 0.08em; color: rgba(231, 221, 202, 0.4); }
.person-info h4 { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.08em; color: #f0e5d2; }
.person-info h4 small { margin-left: 7px; font-family: var(--sans); font-size: 8px; letter-spacing: 0.04em; color: var(--muted-2); }
.person-info .person-role { margin-top: 4px; font-size: 9px; line-height: 1.5; color: var(--gold); letter-spacing: 0.04em; }
.person-info .person-bio { margin-top: 6px; font-size: 9px; line-height: 1.65; color: rgba(231, 221, 202, 0.62); }
.person-info .person-source { margin-top: 6px; font-size: 7px; letter-spacing: 0.04em; color: var(--muted-2); }
.people-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: 0.08em; color: var(--muted-2); }
.credit-lines { line-height: 2; }
.credit-lines a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(200, 163, 97, 0.35); text-underline-offset: 3px; }
.credit-lines a:hover { color: var(--gold-bright); }

/* 章末人物 */
.debrief-people { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.debrief-people .person-chip { background: rgba(255, 255, 255, 0.02); }
.fact-people-line { margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(45, 36, 26, 0.14); font-size: 9px; line-height: 1.7; color: rgba(45, 36, 26, 0.7); }
.fact-people-line b { color: #7c1e18; font-weight: 600; }

.about-card { width: min(720px, 100%); }
.about-body { margin-top: 16px; font-size: 11px; line-height: 1.9; color: rgba(231, 221, 202, 0.7); }
.about-body h3 { margin-top: 20px; font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: 0.1em; color: var(--gold); }
.about-body p { margin-top: 7px; }
.about-body ul { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; padding-left: 0; }
.about-body li { padding-left: 14px; position: relative; }
.about-body li::before { content: "·"; position: absolute; left: 0; color: var(--red-bright); }
.about-body strong { color: var(--bone); }
.about-small { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: 0.08em; color: var(--muted-2); text-align: center; }

.pause-card { width: min(440px, 100%); text-align: center; padding: 36px 34px 28px; }
.pause-card h2 { margin-top: 8px; font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: 0.14em; }
.pause-sub { margin-top: 8px; font-size: 10px; letter-spacing: 0.1em; color: var(--muted-2); }
.pause-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 26px; }
.pause-actions .btn { width: 100%; }
.pause-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 8px; letter-spacing: 0.12em; color: var(--muted-2); }

.confirm-card, .fail-card { width: min(440px, 100%); text-align: center; padding: 34px 32px 28px; }
.confirm-card h2, .fail-card h2 { margin-top: 8px; font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: 0.1em; }
.confirm-card p, .fail-card p { margin-top: 10px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.confirm-actions, .fail-actions { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }

/* ==========================================================================
   骞曢棿涓庢彁绀?   ========================================================================== */
.chapter-curtain {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050605;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s var(--ease), visibility 0.65s;
}
.chapter-curtain.is-on { opacity: 1; visibility: visible; pointer-events: auto; }
.curtain-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.curtain-num { font-family: Georgia, serif; font-size: 14px; letter-spacing: 0.4em; color: var(--gold); }
.curtain-title { font-family: var(--serif); font-size: clamp(30px, 4vw, 52px); letter-spacing: 0.22em; color: var(--bone); }
.curtain-date { font-size: 9px; letter-spacing: 0.3em; color: var(--muted-2); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 12vh;
  transform: translate(-50%, 14px);
  z-index: 80;
  padding: 9px 18px;
  background: rgba(8, 10, 9, 0.9);
  border: 1px solid rgba(217, 203, 178, 0.25);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--bone);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.fade-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #040504;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s var(--ease);
}
.fade-layer.is-black { opacity: 1; pointer-events: auto; }

.rotate-hint {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #080a09;
  text-align: center;
}
.rotate-hint p { font-family: var(--serif); font-size: 22px; letter-spacing: 0.2em; }
.rotate-hint span { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.rotate-icon { font-size: 64px; color: var(--gold); transform: rotate(0deg); animation: rotateHint 2.4s infinite; }
@keyframes rotateHint { 0%, 30% { transform: rotate(0); } 55%, 100% { transform: rotate(90deg); } }

/* ==========================================================================
   Chapter 1 浜庨兘澶滄浮
   ========================================================================== */
.ch1-hud { display: flex; align-items: center; gap: 14px; }
.ch1-exposure { min-width: 150px; }
.ch1-exposure .hud-bar i { background: linear-gradient(90deg, #b58a4e, #d04734); }
.ch1-stealth { display: flex; align-items: center; gap: 6px; font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.ch1-stealth .lamp { color: var(--gold); font-size: 12px; }
.ch1-stealth.is-lit { color: var(--red-bright); }
.ch1-stealth.is-lit .lamp { animation: blink 0.4s infinite; }
.ch1-objective {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  z-index: 4;
}
.ch1-objective .o-label { font-size: 8px; letter-spacing: 0.22em; color: var(--gold); }
.ch1-objective .o-text { margin-top: 4px; font-family: var(--serif); font-size: 14px; letter-spacing: 0.1em; color: rgba(231, 221, 202, 0.84); }
.ch1-objective .o-sub { margin-top: 3px; font-size: 8px; letter-spacing: 0.1em; color: var(--muted-2); }
.ch1-row-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 58px;
  background: rgba(8, 10, 9, 0.6);
  border: 1px solid rgba(217, 203, 178, 0.3);
  backdrop-filter: blur(8px);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.18em;
  color: var(--bone);
  user-select: none;
  touch-action: none;
}
.ch1-row-btn small { font-size: 7px; letter-spacing: 0.12em; color: var(--muted); margin-top: 3px; }
.ch1-row-btn.is-held { background: rgba(169, 45, 34, 0.38); border-color: var(--red-bright); }

/* ==========================================================================
   Chapter 2 婀樻睙
   ========================================================================== */
.ch2-hud { display: flex; align-items: center; gap: 12px; }
.ch2-rescue { display: flex; align-items: center; gap: 6px; }
.ch2-rescue span { font-size: 9px; letter-spacing: 0.1em; color: var(--muted); }
.ch2-carry {
  padding: 4px 9px;
  background: rgba(169, 45, 34, 0.3);
  border: 1px solid rgba(208, 71, 52, 0.5);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #f0c8b5;
  opacity: 0;
  transition: opacity 0.25s;
}
.ch2-carry.is-on { opacity: 1; }
.ch2-distance { font-family: Georgia, serif; font-size: 15px; color: var(--muted); letter-spacing: 0.05em; }
.ch2-distance b { color: var(--bone); font-weight: 400; }

/* ==========================================================================
   Chapter 3 閬典箟
   ========================================================================== */
.zunyi-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 7vw 9vh;
  pointer-events: none;
  overflow-y: auto;
}
.zunyi-panel {
  pointer-events: auto;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 24px 28px;
  background: linear-gradient(160deg, rgba(16, 20, 16, 0.93), rgba(8, 11, 9, 0.94));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}
.zunyi-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.zunyi-step { font-size: 8px; letter-spacing: 0.22em; color: var(--gold); }
.zunyi-panel h3 { margin-top: 6px; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 0.08em; }
.zunyi-panel .zunyi-desc { margin-top: 8px; font-size: 11px; line-height: 1.85; letter-spacing: 0.04em; color: rgba(231, 221, 202, 0.7); }
.zunyi-attempts { font-size: 8px; letter-spacing: 0.12em; color: var(--muted-2); white-space: nowrap; }
.zunyi-telegrams {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin-top: 18px;
}
.telegram {
  position: relative;
  min-height: 100px;
  padding: 13px 15px;
  text-align: left;
  background:
    linear-gradient(150deg, rgba(217, 203, 178, 0.08), rgba(217, 203, 178, 0.02)),
    rgba(8, 11, 9, 0.5);
  border: 1px solid var(--line);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.telegram:hover { border-color: rgba(217, 203, 178, 0.4); transform: translateY(-1px); }
.telegram.is-selected { border-color: var(--gold); background: rgba(200, 163, 97, 0.1); }
.telegram.is-hint { border-color: rgba(200, 163, 97, 0.52); box-shadow: inset 0 0 24px rgba(200, 163, 97, 0.05); }
.telegram.is-hint::before {
  content: "关键";
  position: absolute;
  left: 10px;
  bottom: 8px;
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.telegram.is-selected::after {
  content: "已选中";
  position: absolute;
  right: 10px;
  top: 9px;
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.telegram-top { display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: 0.14em; color: var(--muted-2); }
.telegram-top .tg-secret { color: var(--red-bright); }
.telegram h4 { margin-top: 7px; font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: 0.05em; color: #f0e5d2; }
.telegram p { margin-top: 5px; font-size: 10px; line-height: 1.75; color: rgba(231, 221, 202, 0.66); }
.zunyi-actions { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.zunyi-actions .btn-primary { min-width: 150px; }
.zunyi-feedback {
  margin-top: 12px;
  padding: 9px 12px;
  background: rgba(169, 45, 34, 0.1);
  border-left: 2px solid var(--red);
  font-size: 10px;
  line-height: 1.7;
  color: #d9b1a6;
  min-height: 36px;
  display: none;
}
.zunyi-feedback.is-on { display: block; }
.zunyi-feedback.is-good { background: rgba(111, 145, 140, 0.1); border-left-color: var(--teal); color: #b4cfc8; }
.zunyi-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.zunyi-choice {
  padding: 13px 16px;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}
.zunyi-choice:hover { border-color: rgba(217, 203, 178, 0.4); background: rgba(255, 255, 255, 0.035); }
.zunyi-choice b { display: block; font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: 0.04em; color: #f0e5d2; }
.zunyi-choice span { display: block; margin-top: 3px; font-size: 10px; line-height: 1.7; color: rgba(231, 221, 202, 0.64); }
.zunyi-choice.is-right { border-color: rgba(111, 145, 140, 0.7); background: rgba(111, 145, 140, 0.1); }
.zunyi-choice.is-wrong { border-color: rgba(169, 45, 34, 0.7); background: rgba(169, 45, 34, 0.1); }

/* ==========================================================================
   Chapter 4 娉稿畾妗?   ========================================================================== */
.ch4-hud { display: flex; align-items: center; gap: 14px; }
.ch4-sway { min-width: 130px; }
.ch4-sway .hud-bar i { background: linear-gradient(90deg, #6f918c, #c8a361, #d04734); }
.ch4-warning {
  position: absolute;
  left: 50%;
  top: 92px;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: rgba(169, 45, 34, 0.4);
  border: 1px solid rgba(208, 71, 52, 0.6);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: #f0d0bd;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 4;
}
.ch4-warning.is-on { opacity: 1; animation: warningPulse 0.8s infinite; }
@keyframes warningPulse { 50% { background: rgba(169, 45, 34, 0.62); } }
.ch4-grip {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 58px;
  background: rgba(8, 10, 9, 0.6);
  border: 1px solid rgba(217, 203, 178, 0.3);
  backdrop-filter: blur(8px);
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--bone);
  user-select: none;
  touch-action: none;
}
.ch4-grip small { font-size: 7px; letter-spacing: 0.1em; color: var(--muted); margin-top: 3px; }
.ch4-grip.is-held { border-color: var(--gold); background: rgba(200, 163, 97, 0.16); }

/* ==========================================================================
   Chapter 5 闆北鑽夊湴
   ========================================================================== */
.snowgrass-ui {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 6vw 8vh;
  pointer-events: none;
}
.sg-panel {
  pointer-events: auto;
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  padding: 22px 26px;
  background: linear-gradient(160deg, rgba(14, 18, 15, 0.94), rgba(7, 10, 8, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.sg-left h3 { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: 0.08em; }
.sg-stage-label { display: flex; align-items: center; gap: 8px; font-size: 8px; letter-spacing: 0.2em; color: var(--gold); }
.sg-stage-label span { color: var(--muted-2); }
.sg-text { margin-top: 10px; font-size: 12px; line-height: 1.9; letter-spacing: 0.03em; color: rgba(240, 230, 211, 0.88); }
.sg-outcome {
  margin-top: 10px;
  padding: 9px 12px;
  border-left: 2px solid var(--red);
  background: rgba(169, 45, 34, 0.12);
  font-size: 11px;
  line-height: 1.8;
  color: #e5c6b8;
  display: none;
}
.sg-outcome.is-on { display: block; }
.sg-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sg-choice {
  padding: 11px 14px;
  text-align: left;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}
.sg-choice:hover { border-color: rgba(217, 203, 178, 0.4); background: rgba(255, 255, 255, 0.035); }
.sg-choice b { display: block; font-family: var(--serif); font-size: 14px; font-weight: 500; letter-spacing: 0.03em; color: #f2e8d6; }
.sg-choice span { display: block; margin-top: 3px; font-size: 9.5px; line-height: 1.65; color: rgba(231, 221, 202, 0.62); }
.sg-choice em { display: block; margin-top: 5px; font-style: normal; font-size: 9px; letter-spacing: 0.05em; color: rgba(214, 177, 112, 0.88); }
.sg-choice.is-disabled { opacity: 0.38; pointer-events: none; }
.sg-right { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.sg-stats { display: flex; flex-direction: column; gap: 10px; }
.sg-stat-label { display: flex; justify-content: space-between; font-size: 9.5px; letter-spacing: 0.15em; color: rgba(231, 221, 202, 0.68); }
.sg-stat-label b { font-family: Georgia, serif; font-size: 15px; font-weight: 400; color: #f0e5d2; }
.sg-meter { height: 5px; margin-top: 4px; background: rgba(217, 203, 178, 0.13); }
.sg-meter i { display: block; height: 100%; width: 60%; background: var(--gold); transition: width 0.5s var(--ease), background 0.5s; }
.sg-meter.is-low i { background: var(--red-bright); }
.sg-food { display: flex; gap: 4px; margin-top: 4px; }
.sg-food i { width: 14px; height: 8px; border: 1px solid rgba(217, 203, 178, 0.3); background: transparent; }
.sg-food i.is-full { background: var(--gold); border-color: var(--gold); }
.sg-continue { margin-top: 6px; width: 100%; }
.sg-journal { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 8px; line-height: 1.7; letter-spacing: 0.04em; color: var(--muted-2); min-height: 42px; }

/* ==========================================================================
   鍝嶅簲寮?   ========================================================================== */
@media (max-height: 700px) {
  .title-main { top: 46%; }
  .title-cn { font-size: clamp(68px, 9vw, 112px); }
  .title-lead { display: none; }
  .title-actions { margin-top: 26px; }
  .title-stats { display: none; }
  .intro-wrap { padding: 5vh 6vw; }
  .brief-card { padding: 20px 24px 18px; }
  .brief-objectives { margin-top: 14px; padding-top: 12px; }
  .brief-lead { margin-top: 14px; font-size: 14px; }
  .map-stage { top: 84px; bottom: 18px; width: min(94vw, calc((100vh - 102px) * 16 / 9)); }
  .map-card { width: 318px; padding: 0 17px 14px; bottom: 26px; gap: 10px; }
  .map-card-photo { height: 78px; margin: 0 -17px; }
  .map-card-num { font-size: 26px; }
  .map-card h3 { font-size: 20px; }
  .map-card-copy { min-height: 70px; }
  .map-card-desc { font-size: 9px; }
  .debrief-wrap { padding-top: 4vh; }
  .snowgrass-ui { padding-bottom: 4vh; }
  .sg-panel { padding: 16px 20px; }
}

@media (max-width: 1100px) {
  .title-stats { display: none; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .map-card { width: 340px; }
  .map-stage { width: min(94vw, calc((100vh - 118px) * 16 / 9)); }
  .debrief-grid { gap: 3vw; }
}

@media (max-width: 820px) {
  .title-main { left: 7vw; width: 80vw; }
  .title-top { left: 5vw; right: 5vw; }
  .anniv span:last-child { display: none; }
  .title-tools .icon-label { display: none; }
  .title-cn { font-size: clamp(64px, 17vw, 110px); }
  .title-photo-caption { display: none; }
  .title-year { font-size: 18px; padding-bottom: 8px; }
  .title-lead { display: block; font-size: 12px; max-width: 90%; }
  .btn-primary.btn-lg { min-width: 230px; }
  .title-foot { font-size: 8px; }
  .title-foot span:nth-child(3) { display: none; }
  .intro-photo { width: 100%; }
  .intro-photo img { object-position: center 28%; }
  .intro-photo-grad { background: linear-gradient(180deg, rgba(5, 7, 6, 0.68), rgba(5, 7, 6, 0.32) 35%, rgba(5, 7, 6, 0.9) 78%, #070908); }
  .intro-photo-caption { display: none; }
  .intro-wrap { grid-template-columns: 1fr; gap: 18px; padding: 6vh 6vw; align-items: start; overflow-y: auto; }
  .intro-left h2 { font-size: 38px; }
  .intro-quote { display: none; }
  .intro-brief { display: none; }
  .brief-card { max-width: none; margin: 0; }
  .map-head { top: 16px; left: 4vw; right: 4vw; }
  .map-title-wrap h2 { font-size: 20px; }
  .map-sub { display: none; }
  .map-head-right .icon-btn .icon-label { display: none; }
  .map-stage { top: 76px; bottom: 208px; width: 94vw; }
  .map-card { width: 94vw; left: 3vw; bottom: 16px; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 12px 14px; }
  .map-card-photo { display: none; }
  .map-card-identity { padding-bottom: 6px; border-bottom: none; }
  .map-card-copy { display: none; }
  .map-card-actions { flex-direction: column; align-items: stretch; }
  .map-card-actions .btn-text { display: none; }
  .map-card h3 { font-size: 18px; margin-top: 4px; }
  .map-card-num { font-size: 24px; }
  .map-card-head { gap: 8px; }
  .map-foot { display: none; }
  .debrief-wrap { padding: 4vh 5vw; }
  .debrief-grid { grid-template-columns: 1fr; }
  .debrief-card { order: -1; }
  .debrief-quiz { margin-top: 18px; }
  .debrief-title-line { gap: 10px; }
  .debrief-num { font-size: 28px; }
  .debrief-stamp { display: none; }
  .debrief-actions .btn-primary { width: 100%; margin: 0; }
  .finale-wrap { padding: 4vh 5vw; }
  .finale-cards { grid-template-columns: repeat(2, 1fr); }
  .finale-timeline { grid-template-columns: repeat(9, 1fr); gap: 2px; }
  .tl-slot { font-size: 0; height: 20px; }
  .tl-slot span { font-size: 8px; }
  .ending-inner { padding: 7vh 5vw; }
  .ending-title { font-size: 42px; letter-spacing: 0.12em; }
  .codex-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .person-card { grid-template-columns: 64px 1fr; }
  .person-portrait { width: 64px; height: 82px; }
  .modal-card { padding: 22px 20px; }
  .game-hud { left: 12px; right: 58px; gap: 8px; }
  .hud-chapter-date { display: none; }
  .hud-chapter-num { font-size: 16px; }
  .hud-meters { gap: 7px; }
  .hud-meter { min-width: 58px; }
  .hud-time { font-size: 16px; min-width: 40px; }
  .ch1-objective { top: 74px; width: 92%; }
  .zunyi-ui { padding: 8vh 4vw 12vh; }
  .zunyi-panel { padding: 18px; }
  .zunyi-telegrams { grid-template-columns: 1fr; }
  .snowgrass-ui { padding: 0 4vw 12vh; }
  .sg-panel { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .sg-right { display: grid; grid-template-columns: 1fr 1fr; }
  .sg-stats { flex-direction: row; gap: 8px; }
  .sg-stat { flex: 1; }
  .sg-journal { grid-column: 1 / -1; }
  .sg-continue { grid-column: 1 / -1; }
}

@media (max-width: 900px) and (orientation: portrait) {
  .rotate-hint { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

