@media(max-width:760px){.topbar .topbar-links{display:flex;flex-wrap:wrap;gap:10px 16px}.topbar{flex-wrap:wrap}}
:root {
  color-scheme: dark;
  --ink: #0b0912;
  --ink-soft: #12101c;
  --panel: rgba(24, 20, 34, 0.88);
  --panel-strong: #1a1625;
  --line: rgba(226, 211, 184, 0.18);
  --line-strong: rgba(226, 211, 184, 0.38);
  --paper: #eee9df;
  --muted: #aaa2b4;
  --gold: #d6b46b;
  --gold-light: #f1d99b;
  --violet: #8c63b5;
  --violet-light: #c9a8e8;
  --danger: #a95e72;
  --max-width: 1180px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 12% 28%, rgba(91, 57, 120, 0.11), transparent 28rem),
    radial-gradient(circle at 92% 63%, rgba(154, 105, 70, 0.07), transparent 32rem),
    var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.19;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 82%);
}

body.dialog-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: var(--gold-light);
  border-radius: 4px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-width {
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: min(460px, 52svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(6, 5, 10, 0.97) 0%, rgba(8, 7, 13, 0.89) 42%, rgba(9, 7, 14, 0.47) 76%, rgba(9, 7, 14, 0.82) 100%),
    radial-gradient(circle at 78% 46%, rgba(112, 70, 142, 0.42), transparent 24rem),
    linear-gradient(148deg, #181322 0%, #0a0910 55%, #15101c 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  opacity: 0.35;
  background:
    repeating-radial-gradient(ellipse at 78% 44%, transparent 0 44px, rgba(220, 200, 228, 0.13) 45px 47px, transparent 48px 84px),
    repeating-conic-gradient(from 3deg at 78% 44%, rgba(220, 200, 228, 0.13) 0 0.5deg, transparent 0.6deg 21deg);
  mask-image: radial-gradient(circle at 78% 44%, black 0, rgba(0, 0, 0, 0.8) 20rem, transparent 37rem);
}

.hero::after {
  right: -7rem;
  bottom: -12rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(218, 193, 225, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 6rem rgba(179, 140, 200, 0.018),
    0 0 0 12rem rgba(179, 140, 200, 0.012);
}

.hero-glow {
  position: absolute;
  top: 21%;
  right: 10%;
  z-index: -1;
  width: 19rem;
  height: 19rem;
  background: rgba(152, 104, 184, 0.16);
  border-radius: 50%;
  filter: blur(60px);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--paper);
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.topbar-links {
  display: flex;
  gap: 1.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.topbar-links a {
  text-decoration: none;
  transition: color 180ms ease;
}

.topbar-links a:hover,
.topbar-links a:focus-visible {
  color: var(--gold-light);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 3rem), var(--max-width));
  margin-inline: auto;
  padding-block: clamp(3rem, 6vh, 4rem) 2.5rem;
}

.eyebrow,
.section-kicker,
.dialog-label {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 9em;
  margin: 0;
  color: #f6f0e6;
  font-size: clamp(3.25rem, 7.2vw, 6rem);
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.02;
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.55);
}

.hero-deck {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: #c7becb;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.9;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.3rem;
  margin-top: 2.3rem;
  color: var(--muted);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.82rem;
}

.hero-meta span {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
}

.hero-meta strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.primary-link {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: 0.85rem 1.15rem 0.85rem 0;
  color: var(--paper);
  border-bottom: 1px solid var(--gold);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.primary-link span {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 180ms ease;
}

.primary-link:hover span,
.primary-link:focus-visible span {
  transform: translateY(4px);
}

.hero-sigil {
  position: absolute;
  right: clamp(4rem, 10vw, 12rem);
  bottom: 3.5rem;
  width: 9rem;
  height: 9rem;
  opacity: 0.72;
}

.sigil-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.sigil-ring::before,
.sigil-ring::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58%;
  height: 58%;
  border: 1px solid rgba(220, 198, 227, 0.23);
  content: "";
  transform: translate(-50%, -50%) rotate(45deg);
}

.sigil-ring::after {
  width: 30%;
  height: 30%;
  transform: translate(-50%, -50%);
}

.sigil-line {
  position: absolute;
  top: -2.7rem;
  left: 50%;
  width: 1px;
  height: 14.4rem;
  background: linear-gradient(transparent, var(--gold), transparent);
}

.sigil-drop {
  position: absolute;
  bottom: -3.4rem;
  left: calc(50% - 0.3rem);
  width: 0.6rem;
  height: 1rem;
  background: var(--danger);
  border-radius: 70% 30% 60% 40%;
  transform: rotate(45deg);
}

.opening-note {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(5rem, 10vw, 9rem);
  border-bottom: 1px solid var(--line);
}

.opening-note h2,
.section-heading h2,
.closing h2 {
  margin: 0;
  color: #f1ece3;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.24;
}

.opening-note > p:last-child {
  align-self: end;
  margin: 0;
  color: #b9b1be;
  font-size: 1.05rem;
}

.section-heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.section-heading > div:first-child {
  max-width: 50rem;
}

.section-aside {
  max-width: 20rem;
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.82rem;
  text-align: right;
}

.timeline-section {
  padding-block: clamp(4rem, 6vw, 5.5rem);
}

.timeline-controls {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.timeline-controls button {
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.75rem;
  transition: 160ms ease;
}

.timeline-controls button:hover,
.timeline-controls button:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold);
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2.1rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--violet), var(--gold), var(--danger));
  opacity: 0.55;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 4.3rem minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 1.3rem;
}

.timeline-rail {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 2.2rem;
}

.timeline-rail span {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  color: var(--gold-light);
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 8px var(--ink);
  font-family: Georgia, serif;
  font-size: 0.76rem;
}

.timeline-card {
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.025), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.15);
}

.stage-head {
  padding: clamp(1.5rem, 4vw, 2.6rem);
}

.stage-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.6rem;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

.stage-number {
  padding: 0.2rem 0.6rem;
  color: var(--gold-light);
  background: rgba(214, 180, 107, 0.1);
  border: 1px solid rgba(214, 180, 107, 0.25);
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.stage-time {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.stage-head h3 {
  max-width: 24em;
  margin: 0;
  color: #f1ece3;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.35;
}

.stage-head > p {
  max-width: 52rem;
  margin: 0;
  color: #aaa3af;
}

.stage-details {
  border-top: 1px solid var(--line);
}

.stage-details summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem clamp(1.5rem, 4vw, 2.6rem);
  color: var(--gold-light);
  list-style: none;
  cursor: pointer;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.83rem;
}

.stage-details summary::-webkit-details-marker {
  display: none;
}

.summary-close {
  display: none;
}

.stage-details[open] .summary-open {
  display: none;
}

.stage-details[open] .summary-close {
  display: inline;
}

.summary-hint {
  color: var(--muted);
  font-size: 0.72rem;
}

.summary-icon {
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
}

.summary-icon::before,
.summary-icon::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--gold);
}

.summary-icon::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.stage-details[open] .summary-icon::after {
  transform: rotate(0);
}

.stage-body {
  display: block;
  padding: 1.4rem clamp(1.5rem, 4vw, 2.6rem) clamp(2rem, 5vw, 3.2rem);
}

.stage-body h4 {
  margin: 0 0 1rem;
  color: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.beat-list {
  margin: 0;
  padding: 0;
  counter-reset: beat;
  list-style: none;
}

.beat-list li {
  position: relative;
  min-height: 2.3rem;
  padding: 0 0 1.35rem 2.4rem;
  color: #c5bec9;
  counter-increment: beat;
}

.beat-list li::before {
  position: absolute;
  top: 0.1rem;
  left: 0;
  color: var(--gold);
  content: counter(beat, decimal-leading-zero);
  font-family: Georgia, serif;
  font-size: 0.7rem;
}

.beat-list li:not(:last-child)::after {
  position: absolute;
  top: 1.35rem;
  bottom: 0.2rem;
  left: 0.7rem;
  width: 1px;
  content: "";
  background: var(--line);
}

.stage-media {
  margin: 0 0 2rem;
  overflow: hidden;
  background: #050507;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.stage-media a {
  display: block;
  background: #050507;
}

.stage-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.stage-media figcaption {
  padding: 0.75rem 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.72rem;
}

.npc-link {
  display: inline;
  margin: 0;
  padding: 0 0.06em;
  color: var(--gold-light);
  background: linear-gradient(transparent 76%, rgba(214, 180, 107, 0.25) 0);
  border: 0;
  border-bottom: 1px dotted rgba(214, 180, 107, 0.58);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
}

.npc-link:hover,
.npc-link:focus-visible {
  color: #fff0bd;
  border-bottom-style: solid;
  outline: none;
}

.prison-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  background:
    radial-gradient(circle at 50% 45%, rgba(86, 61, 110, 0.12), transparent 40rem),
    #0e0b15;
  border-block: 1px solid var(--line);
}

.prison-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.prison-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #100d17;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.prison-gallery figure:nth-child(2) {
  transform: translateY(3rem);
}

.prison-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  background: #050507;
}

.prison-gallery a::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.3rem 0.55rem;
  color: var(--paper);
  content: "查看原图 ↗";
  background: rgba(8, 7, 12, 0.74);
  border: 1px solid var(--line);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(6px);
  transition: 180ms ease;
}

.prison-gallery a:hover::after,
.prison-gallery a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.prison-gallery img {
  width: 100%;
  aspect-ratio: 1.65 / 1;
  object-fit: cover;
  transition: transform 400ms ease;
}

.prison-gallery a:hover img {
  transform: scale(1.018);
}

.prison-gallery figcaption {
  padding: 1.35rem 1.5rem 1.6rem;
}

.prison-gallery figcaption span {
  color: var(--gold-light);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.prison-gallery figcaption p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.people-section {
  padding-block: clamp(7rem, 12vw, 11rem) clamp(5rem, 10vw, 9rem);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.person-card {
  position: relative;
  display: grid;
  grid-template-columns: 4.4rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-width: 0;
  padding: 1.2rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.014);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease;
}

.person-card:hover,
.person-card:focus-visible {
  z-index: 1;
  background: rgba(143, 96, 174, 0.1);
  outline: 1px solid rgba(201, 168, 232, 0.36);
  outline-offset: -1px;
}

.person-image {
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  overflow: hidden;
  background: #17121e;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.person-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.person-card:hover img {
  transform: scale(1.06);
}

.person-copy {
  display: grid;
  min-width: 0;
}

.person-copy strong {
  overflow: hidden;
  color: #eee8df;
  font-size: 0.96rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-copy small {
  overflow: hidden;
  margin-top: 0.2rem;
  color: var(--muted);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-arrow {
  color: var(--gold);
  font-size: 0.86rem;
  opacity: 0.64;
}

.closing {
  padding-block: clamp(5rem, 10vw, 9rem);
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing h2 {
  max-width: 17em;
  margin-inline: auto;
}

.closing > p:last-child {
  max-width: 48rem;
  margin: 1.6rem auto 0;
  color: var(--muted);
}

footer {
  padding-block: 2rem;
  background: #08070c;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  gap: 1rem 2rem;
  justify-content: space-between;
  color: #797380;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.72rem;
}

.footer-inner p {
  margin: 0;
}

.npc-dialog {
  width: min(900px, calc(100% - 2rem));
  max-width: none;
  max-height: min(820px, calc(100svh - 2rem));
  padding: 0;
  overflow: hidden auto;
  color: var(--paper);
  background: #100d17;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72);
}

.npc-dialog::backdrop {
  background: rgba(3, 2, 6, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
  min-height: 0;
}

.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  padding: 0;
  color: var(--paper);
  background: rgba(10, 8, 14, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 1.45rem;
  line-height: 1;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  color: var(--gold-light);
  border-color: var(--gold);
}

.dialog-portrait {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 32%, rgba(139, 99, 181, 0.3), transparent 18rem),
    #0b0910;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
}

.dialog-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portrait-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(237, 228, 241, 0.72);
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgba(219, 196, 230, 0.1) 39px 40px),
    #15101c;
  font-size: 7rem;
}

.dialog-content {
  padding: clamp(2rem, 5vw, 3.4rem);
}

.dialog-header {
  display: grid;
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  padding-right: 2.5rem;
}

.dialog-title {
  align-self: center;
}

.dialog-label {
  margin-bottom: 0.65rem;
}

.dialog-content h2 {
  margin: 0;
  color: #f5eee5;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 500;
  line-height: 1.18;
}

.dialog-summary {
  margin: 1rem 0 0;
  color: #b8b0bd;
}

.npc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 1.8rem 0 2.4rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.npc-facts > div {
  padding: 0.75rem 0.85rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.npc-facts dt {
  color: var(--muted);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.npc-facts dd {
  margin: 0.2rem 0 0;
  color: #d6cfda;
  font-size: 0.86rem;
}

.npc-story h3 {
  margin: 0 0 1rem;
  color: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.npc-story ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.npc-story li {
  position: relative;
  padding: 0 0 1.25rem 1.4rem;
}

.npc-story li::before {
  position: absolute;
  top: 0.55rem;
  left: 0;
  z-index: 1;
  width: 0.42rem;
  height: 0.42rem;
  content: "";
  background: var(--gold);
  border: 3px solid #100d17;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line-strong);
}

.npc-story li:not(:last-child)::after {
  position: absolute;
  top: 1.1rem;
  bottom: -0.2rem;
  left: 0.4rem;
  width: 1px;
  content: "";
  background: var(--line);
}

.npc-story li > span {
  color: var(--gold-light);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.npc-story li p {
  margin: 0.25rem 0 0;
  color: #b7afbc;
  font-size: 0.88rem;
}

@media (max-width: 920px) {
  .hero-sigil {
    right: 3rem;
    opacity: 0.4;
  }

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

@media (max-width: 680px) {
  .content-width,
  .topbar,
  .hero-content {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .hero {
    min-height: 26rem;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar-links {
    display: none;
  }

  .hero-content {
    padding-block: 3.25rem 2.75rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.25rem);
  }

  .hero-sigil {
    right: -1rem;
    bottom: 3.25rem;
    transform: scale(0.7);
  }

  .section-heading {
    display: grid;
    align-items: start;
    margin-bottom: 2rem;
  }

  .section-aside {
    margin-top: -1rem;
    text-align: left;
  }

  .timeline-controls {
    margin-top: -0.5rem;
  }

  .timeline::before {
    left: 1.15rem;
  }

  .timeline-item {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .timeline-rail {
    padding-top: 1.7rem;
  }

  .timeline-rail span {
    width: 2.1rem;
    height: 2.1rem;
    box-shadow: 0 0 0 5px var(--ink);
    font-size: 0.66rem;
  }

  .stage-head,
  .stage-details summary {
    padding-inline: 1rem;
  }

  .stage-body {
    padding-inline: 1rem;
  }

  .stage-details summary {
    grid-template-columns: 1fr auto;
  }

  .people-section {
    padding-top: 6rem;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .person-card {
    grid-template-columns: 3.7rem minmax(0, 1fr) auto;
    padding: 0.9rem;
  }

  .person-image {
    width: 3.7rem;
    height: 3.7rem;
  }

  .footer-inner {
    display: grid;
  }

  .npc-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
  }

  .dialog-content {
    padding: 1.6rem 1.25rem 2.4rem;
  }

  .dialog-header {
    grid-template-columns: 5.8rem minmax(0, 1fr);
    gap: 1rem;
    padding-right: 2.4rem;
  }

  .dialog-content h2 {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
  }

  .dialog-summary {
    grid-column: 1 / -1;
  }

  .npc-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
