@font-face {
  font-family: "Fusion Pixel";
  src: url("./assets/server/plugins/Xerr/core/assets/font/ttf/fusion_pixel.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #12100d;
  --ink-soft: #1c1915;
  --paper: #f3ead7;
  --paper-deep: #d8c9a5;
  --mist: #cfc7b8;
  --gold: #c69a50;
  --gold-light: #f0d59e;
  --cinnabar: #a94531;
  --jade: #819c87;
  --line-dark: rgba(243, 234, 215, 0.24);
  --line-light: rgba(18, 16, 13, 0.2);
  --display: "STFangsong", "Songti SC", "STSong", "SimSun", serif;
  --body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --pixel: "Fusion Pixel", "PingFang SC", "Microsoft YaHei", sans-serif;
  --topbar-height: 76px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

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

.site-frame { position: relative; overflow: clip; }

.topbar {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 128px 1fr auto;
  align-items: center;
  min-height: var(--topbar-height);
  padding: 12px clamp(18px, 3.4vw, 64px);
  border-bottom: 1px solid rgba(240, 213, 158, 0.12);
  background:
    linear-gradient(180deg, rgba(10, 9, 8, 0.88), rgba(10, 9, 8, 0.46) 72%, transparent);
  backdrop-filter: blur(8px);
}

.brand-mark {
  display: inline-flex;
  width: 76px;
  height: 54px;
  align-items: center;
}

.brand-mark img {
  display: block;
  width: 76px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}

.chapter-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
}

.chapter-link {
  position: relative;
  display: inline-flex;
  gap: 0;
  align-items: baseline;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: rgba(243, 234, 215, 0.55);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0;
  transition: color 180ms ease;
}

.chapter-link span { color: var(--gold); font-size: 10px; }
.chapter-link strong { font-weight: 400; white-space: nowrap; }
.chapter-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--gold-light);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.chapter-link:hover,
.chapter-link:focus-visible,
.chapter-link.is-active { color: var(--paper); }
.chapter-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.topbar-actions { display: flex; align-items: center; gap: 18px; }
.preview-badge { display: inline-flex; align-items: center; color: rgba(243, 234, 215, 0.68); font-size: 11px; white-space: nowrap; }
.preview-badge i { display: none; }
.topbar-cta { padding: 0; border: 0; background: transparent; color: var(--gold-light); cursor: pointer; font-size: 12px; white-space: nowrap; }
.topbar-cta span { display: inline-block; margin-left: 5px; transition: transform 180ms ease; }
.topbar-cta:hover span { transform: translate(3px, -3px); }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; }
.menu-lines { display: grid; gap: 5px; width: 24px; }
.menu-lines i { display: block; height: 1px; background: var(--paper); transition: transform 180ms ease; }

.mobile-nav { display: none; }

.chapter {
  position: relative;
  display: grid;
  min-height: 100svh;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.chapter-art,
.chapter-vignette {
  position: absolute;
  inset: 0;
}

.chapter-art {
  z-index: -3;
  background-image: var(--art);
  background-position: var(--focus, 50% 50%);
  background-size: cover;
  transform: scale(var(--art-enter-scale, 1.035));
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.chapter.is-visible .chapter-art { transform: scale(var(--art-scale, 1)); }

.chapter-vignette {
  z-index: -2;
  background: rgba(12, 10, 8, 0.3);
}

.chapter--hero .chapter-vignette { background: rgba(12, 9, 7, 0.14); }
.chapter--light .chapter-vignette { background: rgba(243, 234, 215, 0.14); }
.chapter--exam .chapter-vignette { background: rgba(9, 8, 7, 0.36); }
.chapter--town .chapter-vignette,
.chapter--restart .chapter-vignette { background: rgba(9, 8, 7, 0.44); }
.chapter--light { color: var(--ink); }
.chapter--light h2 { color: var(--ink); }
.chapter--light .chapter-kicker { color: #765127; }
.chapter--light .chapter-words { color: #765127; }

.chapter-copy {
  align-self: center;
  width: min(560px, 44vw);
  padding: calc(var(--topbar-height) + 40px) clamp(28px, 7vw, 132px) 100px;
  margin-top: 1rem;
}

.chapter-copy--hero {
  justify-self: end;
  width: min(790px, 58vw);
  padding-top: calc(var(--topbar-height) + 36px);
  padding-right: clamp(42px, 8vw, 144px);
  padding-bottom: 0;
  padding-left: clamp(28px, 4vw, 72px);
  margin-top: 0;
  text-align: center;
}
.chapter-copy--left { justify-self: start; }
.chapter-copy--right { justify-self: end; }
.chapter-copy--center { justify-self: center; width: min(650px, 88vw); padding-right: 28px; padding-left: 28px; text-align: center; }

.chapter-kicker {
  margin: 0 0 24px;
  color: var(--gold-light);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.chapter h1,
.chapter h2,
.status-section h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.035em;
  line-height: 1.12;
  text-wrap: balance;
}

.chapter h1 { font-size: clamp(48px, 4.2vw, 68px); }
.chapter h2 { font-size: clamp(38px, 3.5vw, 54px); }
.chapter--light h2 { color: var(--ink); }
.chapter p:not(.chapter-kicker) { max-width: 36ch; margin: 22px 0 0; color: rgba(243, 234, 215, 0.86); font-size: 16px; letter-spacing: 0.012em; line-height: 1.78; }
.chapter--light p:not(.chapter-kicker) { color: rgba(18, 16, 13, 0.82); }
.hero-lede {
  max-width: 560px !important;
  margin: 14px auto 0 !important;
  color: rgba(250, 242, 225, 0.9) !important;
  font-size: 16px !important;
  letter-spacing: 0.012em;
  line-height: 1.78 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border: 1px solid var(--gold);
  font-size: 13px;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button--solid { background: var(--gold); color: var(--ink); }
.button--solid:hover { background: var(--gold-light); }
.button--quiet { border-color: rgba(243, 234, 215, 0.48); color: var(--paper); }
.button--quiet:hover { background: rgba(243, 234, 215, 0.12); }
.chapter--light .button--quiet { border-color: rgba(18, 16, 13, 0.38); color: var(--ink); }

.chapter-words { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; color: var(--gold); font-family: var(--pixel); font-size: 13px; }
.chapter-words span { position: relative; }
.chapter-words span + span::before { position: absolute; left: -14px; color: var(--cinnabar); content: "·"; }
.text-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 38px; border-bottom: 1px solid currentColor; color: inherit; font-size: 13px; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.chapter-copy > .button { margin-top: 34px; }

.chapter-footnote { position: absolute; right: clamp(22px, 4vw, 72px); bottom: 28px; left: clamp(22px, 4vw, 72px); display: flex; justify-content: space-between; gap: 18px; color: rgba(243, 234, 215, 0.62); font-family: var(--pixel); font-size: 10px; }
.chapter--light .chapter-footnote { color: rgba(18, 16, 13, 0.55); }
.scroll-cue { position: absolute; right: clamp(22px, 4vw, 72px); bottom: 84px; display: grid; gap: 7px; justify-items: center; color: var(--gold-light); font-family: var(--pixel); font-size: 10px; writing-mode: vertical-rl; }
.scroll-cue b { font-size: 22px; font-weight: 400; line-height: 1; animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.status-section {
  position: relative;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
}
.status-inner { display: grid; grid-template-columns: minmax(260px, 0.85fr) minmax(340px, 1.15fr); gap: clamp(40px, 9vw, 160px); max-width: 1260px; min-height: 78svh; align-items: center; padding: 120px clamp(24px, 7vw, 120px) 96px; margin: 0 auto; }
.status-heading h2 { color: var(--ink); font-size: clamp(42px, 4vw, 60px); }
.status-heading > p:not(.chapter-kicker) { max-width: 36ch; margin: 30px 0 0; color: rgba(18, 16, 13, 0.68); font-size: 16px; letter-spacing: 0.012em; line-height: 1.82; }
.status-heading strong { color: var(--ink); font-weight: 400; }
.status-list { border-top: 1px solid var(--line-light); }
.status-row { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 18px; align-items: center; min-height: 68px; border-bottom: 1px solid var(--line-light); font-size: 13px; }
.status-row span { color: rgba(18, 16, 13, 0.58); }
.status-row strong { font-weight: 400; }
.status-row em { justify-self: end; font-style: normal; font-size: 11px; }
.status-live { color: var(--jade); }
.status-actions { display: flex; flex-wrap: wrap; grid-column: 2; align-items: center; gap: 18px; }
.status-actions .button { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.status-actions .button:hover { background: var(--cinnabar); border-color: var(--cinnabar); }
.status-note { color: rgba(18, 16, 13, 0.52); font-size: 11px; }

.survival-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.92) 0%, rgba(10, 12, 10, 0.8) 35%, rgba(10, 12, 10, 0.42) 68%, rgba(10, 12, 10, 0.56) 100%),
    url("./assets/art/promo/zwd-survival-wheatfield-v1.png") center 56% / cover;
  color: var(--paper);
}

.survival-section::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 9, 0.02), rgba(9, 11, 9, 0.24)),
    radial-gradient(ellipse at 72% 48%, transparent 0%, rgba(9, 11, 9, 0.2) 72%);
  content: "";
  pointer-events: none;
}

.survival-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(54px, 7vw, 120px);
  width: min(1300px, calc(100% - 112px));
  min-height: 100svh;
  align-items: center;
  margin: 0 auto;
  padding: calc(var(--topbar-height) + 52px) 0 58px;
}

.survival-copy {
  max-width: 470px;
}

.survival-copy h2 {
  margin: 0 0 38px;
  color: #ecd7a5;
  font-family: var(--display);
  font-size: clamp(46px, 4.4vw, 66px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.survival-copy p {
  margin: 0;
  color: rgba(247, 239, 222, 0.78);
  font-size: 15px;
  letter-spacing: 0.018em;
  line-height: 1.88;
}

.survival-copy p + p {
  margin-top: 18px;
}

.survival-copy strong {
  color: #e8c779;
  font-weight: 500;
}

.survival-gallery {
  position: relative;
  overflow: visible;
  min-height: min(62vh, 470px);
}

.survival-gallery__canvas {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.survival-gallery__canvas::before {
  position: absolute;
  top: 8%;
  right: 1%;
  bottom: 7%;
  left: 3%;
  border-top: 1px solid rgba(232, 199, 121, 0.16);
  border-bottom: 1px solid rgba(232, 199, 121, 0.12);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.25);
  content: "";
  transform: rotate(-1.2deg);
}

.survival-menu-content {
  position: absolute;
  top: 19%;
  left: 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 43%;
  justify-items: center;
  align-items: center;
  gap: clamp(17px, 2.4vw, 31px) clamp(20px, 3vw, 38px);
  transform: rotate(-3deg);
}

.survival-menu-content img {
  width: min(100%, 82px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 7px 11px rgba(0, 0, 0, 0.52));
  transition: filter 280ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.survival-menu-content img:hover {
  filter: brightness(1.1) drop-shadow(0 8px 13px rgba(0, 0, 0, 0.56));
  transform: translateY(-2px);
}

.survival-menu-content img:nth-child(1) { transform: translate(-5px, -8px) rotate(-3deg); }
.survival-menu-content img:nth-child(2) { transform: translate(7px, 4px) rotate(2deg); }
.survival-menu-content img:nth-child(3) { transform: translate(2px, -3px) rotate(-1deg); }
.survival-menu-content img:nth-child(4) { transform: translate(6px, 5px) rotate(2deg); }
.survival-menu-content img:nth-child(5) { transform: translate(-7px, 1px) rotate(-2deg); }
.survival-menu-content img:nth-child(6) { transform: translate(5px, -5px) rotate(2deg); }

.survival-gallery__frame {
  position: absolute;
  top: 29%;
  right: 5%;
  width: 39%;
  height: auto;
  image-rendering: pixelated;
  opacity: 0.94;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.48));
  transform: rotate(1.2deg);
}

.survival-gallery__notices {
  position: absolute;
  top: 16%;
  right: 8%;
  display: flex;
  align-items: center;
  gap: clamp(9px, 1vw, 14px);
  transform: rotate(2.5deg);
}

.survival-gallery__notices img {
  display: block;
  width: clamp(27px, 3vw, 42px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 7px 11px rgba(0, 0, 0, 0.62));
}

.survival-gallery__notices img:nth-child(2) { transform: translateY(5px); }
.survival-gallery__notices img:nth-child(3) { transform: translateY(-3px); }

.play-section {
  position: relative;
  display: grid;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.9) 0%, rgba(10, 12, 10, 0.84) 44%, rgba(10, 12, 10, 0.78) 100%),
    url("./assets/art/promo/zwd-survival-wheatfield-v1.png") center 62% / cover;
  color: var(--paper);
}

.play-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 10, 0.14), rgba(10, 12, 10, 0.46));
  content: "";
}

.site-copyright {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  margin: 0;
  color: rgba(247, 239, 222, 0.38);
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: center;
}

.play-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(640px, calc(100% - 48px));
  min-height: 100%;
  margin: 0 auto;
  padding: calc(var(--topbar-height) + 56px) 0 64px;
  text-align: center;
}

.play-inner h2 {
  margin: 0;
  width: clamp(126px, 14vw, 190px);
  line-height: 0;
}

.play-inner h2 img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(84%) sepia(40%) saturate(565%) hue-rotate(355deg) brightness(101%) contrast(89%) drop-shadow(0 3px 14px rgba(0, 0, 0, 0.5));
}

.play-divider {
  width: min(124px, 24vw);
  height: 1px;
  margin: clamp(32px, 5vh, 50px) 0 22px;
  background: rgba(228, 189, 114, 0.68);
}

.play-lede {
  margin: 0;
  color: rgba(247, 239, 222, 0.92);
  font-family: var(--display);
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.play-server {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin: 24px 0 0;
  color: rgba(247, 239, 222, 0.62);
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1.5;
}

.play-server b,
.play-server strong {
  color: #e4bd72;
  font-weight: 400;
}

.play-server strong { color: rgba(247, 239, 222, 0.92); }

.play-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}

.play-actions .button {
  min-width: 148px;
  min-height: 48px;
  border-color: rgba(228, 189, 114, 0.72);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
}

.play-actions .button--solid {
  background: #d3ab62;
  color: #15120d;
}

.play-actions .button--solid:hover {
  background: #edcc8d;
}

.play-actions .button--quiet {
  background: transparent;
  color: rgba(247, 239, 222, 0.88);
}

.play-actions .button--quiet:hover {
  background: rgba(247, 239, 222, 0.08);
}

.copy-toast { position: fixed; z-index: 30; right: 50%; bottom: 30px; min-width: 220px; padding: 12px 18px; border: 1px solid var(--gold); background: var(--ink); color: var(--paper); font-size: 12px; text-align: center; opacity: 0; pointer-events: none; transform: translate(50%, 12px); transition: opacity 180ms ease, transform 180ms ease; }
.copy-toast.is-visible { opacity: 1; transform: translate(50%, 0); }

.group-modal {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 8, 8, 0.76);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.group-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.group-modal__dialog {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(390px, 100%);
  padding: 34px;
  border: 1px solid rgba(228, 189, 114, 0.48);
  background: #121211;
  color: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.group-modal.is-open .group-modal__dialog { transform: translateY(0); }

.group-modal__dialog p {
  margin: 0;
  color: #e7c77f;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.08em;
}

.group-modal__dialog img {
  display: block;
  width: min(284px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  background: #f8f8f8;
}

.group-modal__dialog > span {
  color: rgba(247, 239, 222, 0.66);
  font-size: 13px;
}

.group-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(247, 239, 222, 0.64);
  cursor: pointer;
  font-family: var(--body);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.group-modal__close:hover { color: var(--paper); }

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

.chapter--hero::before {
  background:
    radial-gradient(circle at 76% 46%, rgba(229, 176, 93, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(7, 8, 10, 0.3) 0%, rgba(8, 8, 8, 0.1) 31%, rgba(8, 8, 8, 0.03) 55%, rgba(8, 8, 8, 0.17) 100%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.25) 0%, transparent 31%, rgba(7, 6, 5, 0.38) 100%);
}

.chapter--hero::after {
  background:
    linear-gradient(90deg, rgba(240, 213, 158, 0.22), transparent 20%, transparent 80%, rgba(240, 213, 158, 0.12)),
    linear-gradient(180deg, transparent 78%, rgba(240, 213, 158, 0.14));
  mix-blend-mode: screen;
  opacity: 0.72;
}

.chapter--hero .chapter-art {
  filter: brightness(0.96) saturate(0.94) contrast(1.06) sepia(0.04);
  background-position: 46% 50%;
}

.chapter--hero .chapter-vignette {
  background:
    radial-gradient(circle at 73% 42%, transparent 0 28%, rgba(8, 7, 7, 0.14) 58%, rgba(7, 7, 8, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.35), rgba(6, 6, 7, 0.04) 42%, rgba(6, 6, 7, 0.5));
}

.chapter--hero .chapter-kicker {
  margin-bottom: 10px;
  color: rgba(232, 203, 145, 0.86);
  font-family: var(--pixel);
  font-size: clamp(11px, 1vw, 15px);
  letter-spacing: 0.12em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.chapter--hero h1 {
  color: #ead093;
  font-family: var(--display);
  font-size: clamp(46px, 4.3vw, 72px);
  letter-spacing: 0.06em;
  line-height: 1.02;
  text-shadow:
    0 2px 0 rgba(98, 62, 22, 0.8),
    0 8px 28px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(224, 172, 92, 0.28);
}

.chapter--hero h1 span,
.chapter--hero h1 strong {
  display: block;
  font-weight: 400;
}

.chapter--hero h1 strong {
  margin-top: 0.08em;
  font-size: 0.48em;
  letter-spacing: 0.18em;
  transform: translateX(0.09em);
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0 !important;
  color: #f4e5bd !important;
  font-family: var(--body);
  font-size: clamp(16px, 1.25vw, 19px) !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25 !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.56);
}

.hero-tagline::before,
.hero-tagline::after { display: none; }

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 18px;
}

.hero-pills span {
  min-width: 0;
  padding: 0;
  color: rgba(250, 242, 225, 0.78);
  font-family: var(--pixel);
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.hero-pills span + span::before {
  display: inline-block;
  margin-right: 18px;
  color: rgba(232, 203, 145, 0.58);
  content: "·";
}

.chapter--hero .hero-actions {
  justify-content: center;
  margin-top: 22px;
}

.chapter--hero .button {
  min-width: 166px;
  min-height: 48px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.chapter--hero .button--solid {
  border-color: rgba(133, 42, 33, 0.95);
  background:
    linear-gradient(180deg, rgba(188, 72, 58, 0.96), rgba(134, 43, 35, 0.96)),
    #a94531;
  color: #f8ead1;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.18);
}

.chapter--hero .button--quiet {
  border-color: rgba(237, 228, 208, 0.75);
  background: rgba(239, 232, 216, 0.88);
  color: #1a1510;
}

.hero-server {
  display: none;
  justify-content: center;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  color: rgba(250, 242, 225, 0.74);
  font-size: 12px;
}

.hero-server b {
  color: #f5d898;
  font-weight: 400;
}

.hero-platforms {
  position: absolute;
  right: clamp(28px, 5vw, 92px);
  bottom: 48px;
  left: clamp(28px, 5vw, 92px);
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.8vw, 46px);
  color: rgba(250, 242, 225, 0.86);
  font-family: var(--pixel);
  font-size: clamp(13px, 1.2vw, 18px);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.56);
}

.hero-platforms::before,
.hero-platforms::after {
  display: none;
}

.platform-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.platform-item i {
  display: block;
  width: 21px;
  height: 21px;
  background: #f4d892;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.38));
  -webkit-mask: var(--platform-mark) center / contain no-repeat;
  mask: var(--platform-mark) center / contain no-repeat;
}

.platform-item--windows { --platform-mark: url("./assets/art/web-ui/brands/windows.svg"); }
.platform-item--macos { --platform-mark: url("./assets/art/web-ui/brands/apple.svg"); }
.platform-item--java { --platform-mark: url("./assets/art/web-ui/brands/java-edition.svg"); }

.platform-item b {
  color: rgba(251, 244, 229, 0.94);
  font-family: var(--body);
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.chapter--hero .scroll-cue {
  right: auto;
  bottom: 22px;
  left: 50%;
  display: flex;
  gap: 10px;
  align-items: center;
  writing-mode: horizontal-tb;
  transform: translateX(-50%);
  white-space: nowrap;
}

.chapter--gameplay {
  color: var(--paper);
  background: #0c0b0a;
}

.gameplay-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gameplay-bg,
.gameplay-vignette {
  position: absolute;
  inset: 0;
}

.gameplay-bg {
  z-index: -4;
  background-image: var(--art);
  background-position: var(--focus, 50% 50%);
  background-size: cover;
  filter: brightness(0.72) saturate(0.92) contrast(1.08);
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 520ms ease, transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gameplay-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.chapter--gameplay:has(#play-1:checked) .gameplay-bg--1,
.chapter--gameplay:has(#play-2:checked) .gameplay-bg--2,
.chapter--gameplay:has(#play-3:checked) .gameplay-bg--3,
.chapter--gameplay:has(#play-4:checked) .gameplay-bg--4,
.chapter--gameplay:has(#play-5:checked) .gameplay-bg--5 {
  opacity: 1;
  transform: scale(1);
}

.gameplay-vignette {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.66) 0%, rgba(8, 8, 8, 0.43) 34%, rgba(8, 8, 8, 0.14) 62%, rgba(6, 6, 7, 0.42) 100%),
    radial-gradient(circle at 76% 48%, rgba(221, 172, 93, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.4), rgba(6, 6, 7, 0.02) 46%, rgba(6, 6, 7, 0.58));
}

.chapter--gameplay:has(#play-2:checked) .gameplay-vignette,
.chapter--gameplay:has(#play-4:checked) .gameplay-vignette {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.18) 0%, rgba(8, 8, 8, 0.06) 34%, rgba(8, 8, 8, 0.34) 62%, rgba(6, 6, 7, 0.64) 100%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.36), rgba(6, 6, 7, 0.02) 44%, rgba(6, 6, 7, 0.52));
}

.chapter--gameplay:has(#play-3:checked) .gameplay-vignette {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.66) 0%, rgba(8, 8, 8, 0.38) 42%, rgba(8, 8, 8, 0.08) 72%, rgba(6, 6, 7, 0.34) 100%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.42), rgba(6, 6, 7, 0.02) 44%, rgba(6, 6, 7, 0.58));
}

.gameplay-stage {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 100svh;
  padding: 0;
}

.gameplay-panel {
  position: absolute;
  top: clamp(132px, 18vh, 210px);
  left: clamp(42px, 9vw, 156px);
  width: min(570px, 42vw);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-22px);
  transition: opacity 340ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gameplay-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.gameplay-panel--wander,
.gameplay-panel--community {
  right: clamp(42px, 9vw, 156px);
  left: auto;
  width: min(500px, 37vw);
  transform: translateX(22px);
}

.gameplay-panel--wander { top: clamp(160px, 24vh, 270px); }
.gameplay-panel--enter { top: auto; bottom: 168px; }
.gameplay-panel--community { top: clamp(148px, 22vh, 245px); }
.gameplay-panel--adventure { top: clamp(138px, 20vh, 220px); }

.chapter--gameplay:has(#play-1:checked) [data-play-panel="0"],
.chapter--gameplay:has(#play-2:checked) [data-play-panel="1"],
.chapter--gameplay:has(#play-3:checked) [data-play-panel="2"],
.chapter--gameplay:has(#play-4:checked) [data-play-panel="3"],
.chapter--gameplay:has(#play-5:checked) [data-play-panel="4"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.gameplay-panel .chapter-kicker {
  margin-bottom: 20px;
  color: rgba(232, 203, 145, 0.84);
  font-size: 11px;
  font-family: var(--pixel);
  letter-spacing: 0.08em;
}

.gameplay-panel h2 {
  color: #e8cb91;
  font-family: var(--display);
  font-size: clamp(42px, 3.8vw, 64px);
  letter-spacing: 0.04em;
  line-height: 1.12;
  text-shadow:
    0 2px 0 rgba(98, 62, 22, 0.72),
    0 7px 24px rgba(0, 0, 0, 0.68);
}

.gameplay-panel p:not(.chapter-kicker) {
  max-width: 37em;
  margin-top: 20px;
  color: rgba(250, 242, 225, 0.88);
  font-size: 16px;
  letter-spacing: 0.012em;
  line-height: 1.8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.52);
}

.gameplay-panel .chapter-words {
  margin-top: 24px;
  color: rgba(232, 203, 145, 0.88);
  font-family: var(--pixel);
  font-size: 12px;
}

.gameplay-nav {
  position: absolute;
  right: clamp(38px, 7vw, 130px);
  bottom: 70px;
  left: clamp(38px, 7vw, 130px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  z-index: 2;
}

.gameplay-nav::before {
  position: absolute;
  top: 21px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(208, 167, 91, 0.12), rgba(208, 167, 91, 0.3) 14%, rgba(208, 167, 91, 0.22) 86%, rgba(208, 167, 91, 0.12));
  pointer-events: none;
}

.gameplay-nav label {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "mark"
    "kicker"
    "title";
  grid-template-columns: minmax(0, 1fr);
  row-gap: 4px;
  justify-items: center;
  min-height: 84px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(250, 242, 225, 0.44);
  cursor: pointer;
  text-align: center;
  transition: color 180ms ease;
}

.gameplay-mark {
  grid-area: mark;
  align-self: center;
  display: block;
  width: 40px;
  height: 42px;
  background-image: url("./assets/art/web-ui/zwd-gameplay-motifs-v2.png");
  background-repeat: no-repeat;
  background-size: 500% auto;
  filter: grayscale(0.18) brightness(0.84) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.44));
  opacity: 0.72;
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.gameplay-mark--wendao { background-position: 0% 50%; }
.gameplay-mark--yunyou { background-position: 25% 50%; }
.gameplay-mark--rushi { background-position: 50% 50%; }
.gameplay-mark--gongjian { background-position: 75% 50%; }
.gameplay-mark--maoxian { background-position: 100% 50%; }

.gameplay-nav span {
  grid-area: kicker;
  color: rgba(232, 203, 145, 0.58);
  font-family: var(--pixel);
  font-size: 11px;
}

.gameplay-nav strong {
  grid-area: title;
  font-family: var(--display);
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.gameplay-nav label:hover,
.gameplay-nav label:focus-visible,
.gameplay-nav label.is-active,
.chapter--gameplay:has(#play-1:checked) [for="play-1"],
.chapter--gameplay:has(#play-2:checked) [for="play-2"],
.chapter--gameplay:has(#play-3:checked) [for="play-3"],
.chapter--gameplay:has(#play-4:checked) [for="play-4"],
.chapter--gameplay:has(#play-5:checked) [for="play-5"] {
  color: rgba(250, 242, 225, 0.94);
}

.gameplay-nav label.is-active strong,
.chapter--gameplay:has(#play-1:checked) [for="play-1"] strong,
.chapter--gameplay:has(#play-2:checked) [for="play-2"] strong,
.chapter--gameplay:has(#play-3:checked) [for="play-3"] strong,
.chapter--gameplay:has(#play-4:checked) [for="play-4"] strong,
.chapter--gameplay:has(#play-5:checked) [for="play-5"] strong {
  color: #f1d697;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.gameplay-nav label.is-active .gameplay-mark,
.chapter--gameplay:has(#play-1:checked) [for="play-1"] .gameplay-mark,
.chapter--gameplay:has(#play-2:checked) [for="play-2"] .gameplay-mark,
.chapter--gameplay:has(#play-3:checked) [for="play-3"] .gameplay-mark,
.chapter--gameplay:has(#play-4:checked) [for="play-4"] .gameplay-mark,
.chapter--gameplay:has(#play-5:checked) [for="play-5"] .gameplay-mark {
  filter: grayscale(0) brightness(1.12) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.52));
  opacity: 1;
  transform: translateY(-1px);
}

.chapter--atlas {
  overflow: hidden;
  isolation: isolate;
  background: #090a09;
  color: var(--paper);
}

.chapter--atlas::before {
  position: absolute;
  z-index: -2;
  inset: -36px;
  background:
    linear-gradient(180deg, rgba(8, 9, 9, 0.42), rgba(8, 9, 9, 0.68)),
    url("./assets/art/promo/zwd-atlas-qingxi-gate-v1.png") center / cover;
  content: "";
  filter: blur(15px) saturate(0.58) brightness(0.66);
  opacity: 0.7;
  transform: scale(1.045);
}

.chapter--atlas::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.48), transparent 19%, transparent 81%, rgba(5, 6, 6, 0.48)),
    linear-gradient(180deg, rgba(5, 6, 6, 0.14), rgba(5, 6, 6, 0.34));
  content: "";
}

.atlas-panels {
  position: absolute;
  top: calc(var(--topbar-height) + clamp(28px, 5vh, 52px));
  bottom: auto;
  left: 50%;
  display: flex;
  gap: 0;
  width: min(1240px, calc(100vw - 176px));
  height: min(68vh, 650px);
  min-height: 0;
  transform: translateX(-50%);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.24),
    inset 0 0 0 1px rgba(233, 211, 163, 0.12);
}

.atlas-panels::before,
.atlas-panels::after {
  position: absolute;
  z-index: 5;
  right: -22px;
  left: -22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 187, 111, 0.18) 12%, rgba(224, 187, 111, 0.46) 50%, rgba(224, 187, 111, 0.18) 88%, transparent);
  content: "";
  pointer-events: none;
}

.atlas-panels::before {
  top: 0;
}

.atlas-panels::after {
  bottom: 0;
}

.atlas-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #090a0b;
  color: var(--paper);
  cursor: pointer;
  text-align: center;
  transition: flex 860ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-panel + .atlas-panel {
  box-shadow:
    -1px 0 rgba(235, 218, 180, 0.1),
    -18px 0 30px -24px rgba(0, 0, 0, 0.96);
}

.atlas-panels:has(.is-active) .atlas-panel:not(.is-active) {
  flex-grow: 0.72;
}

.atlas-panels:has(.is-active) .atlas-panel.is-active {
  flex-grow: 2.55;
}

.atlas-panel__image,
.atlas-panel__shade,
.atlas-panel__glass {
  position: absolute;
  inset: 0;
}

.atlas-panel__image {
  background-image: var(--atlas-image);
  background-position: var(--atlas-focus, 50% 50%);
  background-size: cover;
  filter: grayscale(0.34) saturate(0.54) brightness(0.37) contrast(1.04);
  opacity: 1;
  transform: scale(1.08);
  transition:
    filter 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-panel--qingxi .atlas-panel__image {
  opacity: 0;
}

.atlas-panel--qingxi .atlas-panel__image.is-current {
  opacity: 1;
}

.atlas-panel__shade {
  background:
    linear-gradient(180deg, rgba(6, 8, 10, 0.38), rgba(6, 8, 10, 0.05) 42%, rgba(6, 8, 10, 0.72)),
    linear-gradient(90deg, rgba(6, 8, 10, 0.22), transparent 54%, rgba(6, 8, 10, 0.18));
  transition: opacity 680ms ease;
}

.atlas-panel__label {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 9px;
  width: min(76%, 260px);
  color: rgba(247, 239, 222, 0.82);
  transform: translate(-50%, -50%);
  transition:
    left 680ms cubic-bezier(0.16, 1, 0.3, 1),
    top 680ms cubic-bezier(0.16, 1, 0.3, 1),
    color 420ms ease,
    opacity 420ms ease,
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-panel__label small {
  color: rgba(224, 187, 111, 0.68);
  font-size: 11px;
  font-family: var(--pixel);
  font-weight: 400;
}

.atlas-panel__label strong {
  font-family: var(--display);
  font-size: clamp(28px, 2.7vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.atlas-panel:last-child .atlas-panel__label strong {
  font-size: clamp(26px, 2.1vw, 32px);
}

.atlas-panel__glass {
  z-index: 2;
  right: auto;
  width: 42%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 120px clamp(22px, 2.8vw, 42px) clamp(34px, 5.8vh, 58px);
  background: rgba(8, 10, 11, 0.045);
  -webkit-backdrop-filter: blur(3.5px) saturate(0.92) brightness(0.96);
  backdrop-filter: blur(3.5px) saturate(0.92) brightness(0.96);
  clip-path: inset(0 100% 0 0);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 76px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 76px), transparent 100%);
  opacity: 0;
  transform: translateX(-18px);
  transition:
    clip-path 680ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 420ms ease,
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.atlas-panel:nth-child(even) .atlas-panel__glass {
  right: 0;
  left: auto;
  clip-path: inset(0 0 0 100%);
  -webkit-mask-image: linear-gradient(270deg, #000 0, #000 calc(100% - 76px), transparent 100%);
  mask-image: linear-gradient(270deg, #000 0, #000 calc(100% - 76px), transparent 100%);
  transform: translateX(18px);
}

.atlas-panel__glass em {
  color: #e4bd72;
  font-style: normal;
  font-size: 12px;
  font-family: var(--pixel);
}

.atlas-panel__glass b {
  max-width: 22ch;
  margin: 0 auto;
  color: rgba(247, 239, 222, 0.82);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
}

.atlas-panel:is(.is-active, :hover, :focus-visible) .atlas-panel__image {
  filter: grayscale(0) saturate(0.96) brightness(0.98) contrast(1.02);
  transform: scale(1.025);
}

.atlas-panel:is(.is-active, :hover, :focus-visible) .atlas-panel__shade {
  opacity: 0.18;
}

.atlas-panel:is(.is-active, :hover, :focus-visible) .atlas-panel__label {
  color: #fff7e8;
  left: 27%;
  top: 29%;
  transform: translate(-50%, -50%);
}

.atlas-panel:nth-child(even):is(.is-active, :hover, :focus-visible) .atlas-panel__label {
  left: 74%;
}

.atlas-panel:is(.is-active, :hover, :focus-visible) .atlas-panel__label small {
  color: #edc97f;
}

.atlas-panel:is(.is-active, :hover, :focus-visible) .atlas-panel__glass {
  clip-path: inset(0);
  opacity: 1;
  transform: translateX(0);
}

.atlas-panel:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px rgba(232, 201, 137, 0.42);
}

.chapter--features {
  overflow: hidden;
  isolation: isolate;
  background: #0b0d0d;
  color: var(--paper);
}

.features-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.14), rgba(7, 9, 9, 0.52) 48%, rgba(7, 9, 9, 0.82)),
    linear-gradient(180deg, rgba(7, 9, 9, 0.12), rgba(7, 9, 9, 0.64)),
    url("./assets/art/promo/zwd-city-livelihoods-keyart-v4.png") 52% 50% / cover;
  filter: saturate(0.76);
  transform: scale(1.015);
}

.chapter--features::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 34%, rgba(7, 9, 9, 0.08) 44%, rgba(7, 9, 9, 0.38) 100%),
    linear-gradient(180deg, rgba(6, 7, 7, 0.04), rgba(6, 7, 7, 0.28));
  content: "";
}

.features-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(560px, 1.55fr);
  gap: clamp(44px, 6vw, 96px);
  width: min(1280px, calc(100% - 96px));
  min-height: 100%;
  margin: 0 auto;
  padding: calc(var(--topbar-height) + 58px) 0 54px;
}

.features-intro {
  align-self: center;
  max-width: 390px;
  padding-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.58);
}

.features-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 4.8vw, 68px);
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1;
}

.features-ledger {
  align-self: center;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-group {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0 18px;
  min-width: 0;
  min-height: 174px;
  overflow: hidden;
  padding: 24px 22px;
  border-radius: 6px;
  background: rgba(8, 10, 10, 0.56);
  box-shadow:
    inset 0 1px rgba(231, 204, 151, 0.2),
    inset 0 -1px rgba(231, 204, 151, 0.08);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.feature-group__art {
  position: relative;
  z-index: 2;
  grid-row: 1 / 3;
  align-self: start;
  width: 66px;
  height: 66px;
  overflow: hidden;
  border-radius: 5px;
  background-position: center;
  background-size: cover;
  filter: saturate(0.68) brightness(0.82);
  box-shadow: inset 0 0 0 1px rgba(231, 204, 151, 0.12);
  opacity: 0.9;
  transition:
    filter 520ms ease,
    opacity 520ms ease;
}

.feature-group__art--livelihood {
  background-image: url("./assets/art/promo/zwd-feature-livelihood-v2.png");
}

.feature-group__art--stories {
  background-image: url("./assets/art/promo/zwd-feature-stories-v2.png");
}

.feature-group__art--community {
  background-image: url("./assets/art/promo/zwd-feature-community-v2.png");
}

.feature-group__art--adventure {
  background-image: url("./assets/art/promo/zwd-feature-adventure-v2.png");
}

.feature-group__heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  margin-bottom: 12px;
}

.feature-group__heading h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: 0.025em;
  font-weight: 400;
}

.feature-group ul {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-group li {
  position: relative;
  min-width: 0;
  padding-left: 13px;
  color: rgba(247, 239, 222, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.feature-group li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 1px;
  background: rgba(222, 181, 102, 0.76);
  content: "";
}

.feature-group li small {
  display: block;
  color: rgba(214, 198, 168, 0.48);
  font-size: 10px;
}

.feature-group {
  transition: box-shadow 360ms ease;
}

.feature-group:hover {
  box-shadow:
    inset 0 1px rgba(231, 204, 151, 0.34),
    inset 0 -1px rgba(231, 204, 151, 0.12);
}

.feature-group:hover .feature-group__art {
  filter: saturate(0.82) brightness(0.94);
  opacity: 1;
}

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 1100px) {
  .topbar { grid-template-columns: 108px 1fr auto; }
  .chapter-nav { gap: 13px; }
  .chapter-link { font-size: 11px; }
  .preview-badge { display: none; }
  .chapter h1 { font-size: 64px; }
  .chapter h2 { font-size: 52px; }
  .status-heading h2 { font-size: 50px; }
}

@media (max-width: 820px) {
  :root { --topbar-height: 68px; }
  .topbar { grid-template-columns: 1fr auto; padding: 10px 18px; }
  .brand-mark, .brand-mark img { width: 68px; height: 48px; }
  .chapter-nav { display: none; }
  .topbar-actions { gap: 16px; }
  .menu-toggle { display: block; }
  .topbar-cta { font-size: 11px; }
  .mobile-nav { position: fixed; z-index: 19; inset: var(--topbar-height) 0 0; display: grid; background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 180ms ease, transform 180ms ease; }
  .mobile-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-nav-inner { display: flex; flex-direction: column; justify-content: center; padding: 30px 24px 70px; }
  .mobile-nav-kicker { margin: 0 0 28px; color: var(--gold-light); font-size: 12px; }
  .mobile-nav-links { display: grid; border-top: 1px solid var(--line-dark); }
  .mobile-nav-links button { display: flex; align-items: baseline; min-height: 58px; border: 0; border-bottom: 1px solid var(--line-dark); background: transparent; color: rgba(243, 234, 215, 0.72); text-align: left; cursor: pointer; font-size: 12px; }
  .mobile-nav-links button:first-child { color: var(--paper); }
  .mobile-nav-links button > span { color: var(--paper); font-size: 20px; }
  body.nav-open .menu-lines i:first-child { transform: translateY(3px) rotate(45deg); }
  body.nav-open .menu-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .chapter { min-height: 100svh; }
  .chapter-copy, .chapter-copy--hero, .chapter-copy--center { width: min(680px, 100%); padding: calc(var(--topbar-height) + 60px) 24px 120px; margin: 0; }
  .chapter-copy--hero { text-align: center; }
  .chapter-copy--left, .chapter-copy--right { justify-self: start; }
  .chapter-copy--right { align-self: end; padding-bottom: 126px; }
  .chapter h1 { font-size: 54px; }
  .chapter h2 { font-size: 46px; }
  .chapter p:not(.chapter-kicker) { max-width: 34ch; font-size: 16px; }
  .hero-lede { font-size: 18px !important; }
  .status-heading h2 { font-size: 42px; }
  .chapter-footnote { bottom: 18px; font-size: 9px; }
  .chapter-footnote span:last-child { display: none; }
  .hero-platforms {
    right: 24px;
    bottom: 68px;
    left: 24px;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 14px;
  }
  .hero-platforms::before,
  .hero-platforms::after { display: none; }
  .platform-item { gap: 7px; }
  .platform-item i { width: 18px; height: 18px; }
  .platform-item b { font-size: 17px; }
  .gameplay-stage {
    width: 100%;
    min-height: 100svh;
    padding: 0;
  }
  .gameplay-panel {
    top: calc(var(--topbar-height) + 68px);
    left: 24px;
    width: calc(100% - 48px);
  }
  .gameplay-panel--wander,
  .gameplay-panel--enter,
  .gameplay-panel--community,
  .gameplay-panel--adventure {
    top: calc(var(--topbar-height) + 68px);
    right: auto;
    bottom: auto;
    left: 24px;
    width: calc(100% - 48px);
  }
  .gameplay-panel h2 {
    font-size: 44px;
  }
  .gameplay-panel p:not(.chapter-kicker) {
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.78;
  }
  .gameplay-nav {
    right: 24px;
    bottom: 64px;
    left: 24px;
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .gameplay-nav::-webkit-scrollbar { display: none; }
  .gameplay-nav label {
    flex: 0 0 112px;
    min-height: 84px;
    grid-template-columns: minmax(0, 1fr);
  }
  .gameplay-mark { width: 32px; height: 34px; }
  .gameplay-nav strong {
    font-size: 17px;
  }
  .atlas-panels {
    top: calc(var(--topbar-height) + 18px);
    bottom: auto;
    left: 18px;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 36px);
    height: calc(100% - var(--topbar-height) - 36px);
    transform: none;
  }
  .atlas-panel {
    flex-basis: 25%;
  }
  .atlas-panel__label {
    top: 50%;
    gap: 4px;
  }
  .atlas-panel__label strong { font-size: 34px; }
  .atlas-panel__glass {
    justify-content: flex-end;
    gap: 5px;
    padding: 72px 12px 18px;
  }
  .atlas-panel__glass em { font-size: 10px; }
  .atlas-panel__glass b {
    max-width: 34ch;
    font-size: 11px;
    line-height: 1.45;
  }
  .atlas-panel:is(.is-active, :hover, :focus-visible) .atlas-panel__label {
    top: 34%;
    transform: translate(-50%, -50%);
  }
  .survival-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    width: calc(100% - 48px);
    min-height: auto;
    padding: calc(var(--topbar-height) + 42px) 0 56px;
  }
  .survival-copy { max-width: none; }
  .survival-copy h2 { margin-bottom: 24px; font-size: 46px; }
  .survival-copy p { font-size: 15px; line-height: 1.78; }
  .survival-copy p + p { margin-top: 14px; }
  .survival-gallery { min-height: min(82vw, 460px); }
  .features-inner {
    display: block;
    width: calc(100% - 36px);
    min-height: 100%;
    margin: 0 auto;
    padding: calc(var(--topbar-height) + 22px) 18px 18px;
  }
  .features-intro {
    max-width: none;
    padding: 0 2px 12px;
  }
  .features-intro h2 {
    margin: 0;
    font-size: 34px;
  }
  .features-ledger {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .feature-group {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 118px;
    gap: 0 13px;
    padding: 15px 13px;
  }
  .feature-group__art {
    width: 54px;
    height: 54px;
  }
  .feature-group__heading {
    margin-bottom: 7px;
  }
  .feature-group__heading h3 { font-size: 17px; }
  .feature-group ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 8px;
  }
  .feature-group li {
    padding-left: 9px;
    font-size: 10px;
    line-height: 1.35;
  }
  .feature-group li::before {
    top: 0.62em;
    width: 4px;
  }
  .feature-group li small {
    display: inline;
    margin-left: 3px;
    font-size: 8px;
  }
  .scroll-cue { right: 24px; bottom: 78px; }
  .status-inner { grid-template-columns: 1fr; gap: 46px; min-height: auto; padding: 88px 24px 72px; }
  .status-actions { grid-column: 1; }
  .status-row { grid-template-columns: 1fr auto; gap: 8px 12px; min-height: 74px; }
  .status-row strong { grid-row: 2; color: rgba(18, 16, 13, 0.74); font-size: 12px; }
  .status-row em { grid-row: 1 / span 2; }
}

@media (max-width: 480px) {
  .topbar-cta { display: none; }
  .chapter h1 { font-size: 46px; }
  .chapter h2 { font-size: 42px; }
  .status-heading h2 { font-size: 38px; }
  .chapter-art { background-position: 55% 50%; }
  .chapter--hero .chapter-art { background-image: var(--art-mobile, var(--art)); background-position: 22% 52%; }
  .chapter--qingxi .chapter-art { background-position: 72% 55%; }
  .chapter--gameplay .gameplay-bg { background-position: 62% 50%; }
  .gameplay-stage {
    min-height: 100svh;
  }
  .gameplay-panel {
    top: calc(var(--topbar-height) + 58px);
  }
  .gameplay-panel--wander,
  .gameplay-panel--enter,
  .gameplay-panel--community,
  .gameplay-panel--adventure { top: calc(var(--topbar-height) + 58px); }
  .gameplay-panel h2 {
    font-size: 40px;
  }
  .gameplay-nav {
    bottom: 52px;
  }
  .chapter--exam { --art-scale: 1.04 !important; --art-enter-scale: 1.07 !important; }
  .chapter--exam .chapter-art { background-position: 50% 68%; }
  .chapter--cloud .chapter-art { background-position: 28% 52%; }
  .chapter--town .chapter-art { background-position: 72% 53%; }
  .chapter--restart .chapter-art { background-position: 50% 55%; }
  .chapter-copy { padding-right: 28px; padding-left: 28px; }
  .chapter--hero .chapter-copy--hero { align-self: start; padding-right: 24px; padding-left: 24px; text-align: center; }
  .chapter--hero .chapter-kicker { margin-bottom: 14px; font-size: 10px; }
  .chapter--hero .hero-lede { max-width: none !important; margin-top: 18px !important; font-size: 16px !important; line-height: 1.72 !important; }
  .hero-tagline { font-size: 18px !important; }
  .hero-tagline::before,
  .hero-tagline::after { width: 34px; }
  .hero-pills { gap: 8px; margin-top: 20px; }
  .hero-pills span { min-width: 0; font-size: 11px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(260px, 100%); }
  .chapter--hero .hero-actions { width: min(260px, 100%); margin: 28px auto 0; }
  .play-inner { width: min(320px, calc(100% - 48px)); padding-top: calc(var(--topbar-height) + 34px); }
  .site-copyright { bottom: 16px; font-size: 8px; }
  .play-inner h2 { font-size: 116px; }
  .play-divider { margin-top: 28px; }
  .play-actions { flex-direction: column; width: min(260px, 100%); margin-top: 34px; }
  .play-actions .button { width: 100%; }
  .group-modal { padding: 18px; }
  .group-modal__dialog { padding: 30px 22px 24px; }
  .survival-inner { width: calc(100% - 40px); padding-top: calc(var(--topbar-height) + 34px); }
  .survival-copy h2 { font-size: 42px; }
  .survival-copy p { font-size: 14px; line-height: 1.74; }
  .survival-menu-surface { margin-top: 12px; }
  .hero-server { flex-direction: column; gap: 2px; margin-top: 12px; }
  .button { width: 100%; }
  .chapter-words { max-width: 260px; }
  .status-actions { align-items: stretch; flex-direction: column; }
  .status-actions .button { width: 100%; }
  .copy-toast { right: 18px; bottom: 18px; left: 18px; min-width: 0; transform: translateY(12px); }
  .copy-toast.is-visible { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
