/* Cửu Lưu Ký — tranh cuộn tiên hiệp. Art is separate from accessible, responsive content. */
:root {
  --night: #101f23;
  --paper: #eee8db;
  --ink: #122126;
  --ink-soft: #53544b;
  --gold: #c8ac73;
  --gold-light: #e7c98f;
  --seal: #9e3b2e;
  --line: rgba(153, 120, 65, 0.38);
  --font-display: "Noto Serif", Georgia, serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;
  --text-h2: clamp(32px, 3.5vw, 52px);
  --r-linh: #618458;
  --r-bao: #4679a3;
  --r-tien: #8561a1;
  --r-than: #aa7736;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.75 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
}
h2 {
  font-size: var(--text-h2);
  line-height: 1.25;
  letter-spacing: -0.04em;
}
p + p {
  margin-top: 1.2em;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: default;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}
::selection {
  background: #ae7444;
  color: #fff;
}
.svg-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 25px;
  height: 25px;
  flex: none;
}
.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  background: var(--paper);
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.paper {
  background-color: var(--paper);
}
.ink-night {
  background-color: var(--night);
  color: var(--paper);
}
.eyebrow {
  text-transform: uppercase;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.19em;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 20px;
}
.eyebrow span {
  margin: 0 7px;
}
.eyebrow.ink {
  color: var(--seal);
}
.text-link {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 3px;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-light);
  line-height: 1.5;
}
.text-link span {
  font-size: 26px;
  line-height: 1;
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translateX(5px);
}
.ink-link {
  color: var(--seal);
}
.cta-row {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 11px 34px;
  border: 1px solid var(--gold);
  font: 500 20px/1.4 var(--font-display);
  text-align: center;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.btn:before,
.header-cta:before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(220, 184, 120, 0.5);
  pointer-events: none;
}
.btn:after {
  content: "◆";
  position: absolute;
  right: -4px;
  top: 50%;
  font-size: 8px;
  color: var(--gold);
  transform: translateY(-50%);
}
.btn-seal {
  background: linear-gradient(115deg, #80352b, #a44130 50%, #763127);
  color: #fff4d9;
  box-shadow: inset 0 0 20px #50201e55;
}
.btn-seal:hover {
  background: #ac4c37;
  box-shadow: 0 4px 20px #0003;
}
.btn-ghost-ink {
  color: var(--ink);
  background: #eee8db80;
}
.btn-ghost-ink:hover {
  background: #e4d8c1;
}
.btn-pending {
  opacity: 0.65;
  font-size: 18px;
  background: transparent;
}
.mobile-break {
  display: none;
}
/* A light transparent header over the painted landscape. */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1440px;
  margin: auto;
  padding: 20px 7.5%;
  color: var(--paper);
}
.brand {
  width: 195px;
  flex: none;
}
.brand img {
  width: 100%;
}
.topbar nav {
  display: flex;
  gap: 38px;
  align-items: center;
}
.topbar nav a {
  font-family: var(--font-display);
  font-size: 15px;
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
.topbar nav a:hover,
.topbar nav a[aria-current] {
  color: var(--gold-light);
  border-color: var(--gold);
}
.header-cta {
  position: relative;
  white-space: nowrap;
  border: 1px solid var(--gold);
  padding: 8px 30px;
  font: 18px/1.5 var(--font-display);
  background: #101f2399;
}
.header-cta:hover {
  background: #273431;
}
.menu-toggle {
  display: none;
}
/* Separate background and character keep the desktop composition adaptable. */
.hero {
  position: relative;
  min-height: 830px;
  height: min(60vw, 980px);
  isolation: isolate;
  color: #f5efdd;
  overflow: hidden;
  background: var(--night);
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-landscape {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-pose {
  position: absolute;
  height: 86%;
  width: auto;
  max-width: 48%;
  object-fit: contain;
  bottom: 5%;
  left: 47%;
  filter: drop-shadow(0 18px 20px #050c0fa6);
}
.hero-copy {
  position: relative;
  margin-left: max(8%, calc((100vw - 1080px) / 2));
  padding-top: 154px;
  width: 560px;
  max-width: 43%;
  z-index: 2;
}
.hero-logo {
  width: 410px;
  margin: 0 0 24px -6px;
  filter: drop-shadow(0 4px 10px #0009);
}
.hero h1 {
  font-size: clamp(45px, 4.65vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
  text-shadow: 0 2px 15px #08151b80;
}
.hero .lede {
  font: 16px/1.8 var(--font-display);
  margin: 24px 0 26px;
  white-space: nowrap;
}
.hero .cta-row {
  gap: 28px;
  flex-wrap: nowrap;
}
.hero .btn {
  white-space: nowrap;
}
.hero .text-link {
  font-size: 15px;
  gap: 14px;
  white-space: nowrap;
}
.beta-note {
  font: 12px/1.6 var(--font-display);
  margin: 13px 0 11px;
  color: #e1dfd3;
}
.platform-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  width: max-content;
  max-width: 100%;
}
.platform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 66px;
  min-width: 126px;
  padding: 8px 13px;
  border: 1px solid #ad8a53;
  background: #101b20b3;
  color: var(--gold-light);
  font: 15px/1.25 var(--font-display);
  clip-path: polygon(
    5px 0,
    calc(100% - 5px) 0,
    100% 5px,
    100% calc(100% - 5px),
    calc(100% - 5px) 100%,
    5px 100%,
    0 calc(100% - 5px),
    0 5px
  );
}
.platform small {
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
.platform.is-soon {
  color: #d2c09c;
  border-color: #8c784f;
}
.platform.is-live {
  color: #f3d393;
}
.platform.is-live:hover {
  background: #3b3c30;
  border-color: #f1d4a0;
}
.margin-verse {
  position: absolute;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font: 10px/2 var(--font-display);
  letter-spacing: 0.25em;
  color: #d6cdb5;
}
.margin-verse i {
  font-style: normal;
  color: var(--seal);
  border: 1px solid var(--seal);
  border-radius: 3px;
  letter-spacing: 0;
  padding: 3px;
  margin-top: 16px;
  font-size: 16px;
  align-self: center;
}
.hero-verse {
  right: 4.5%;
  bottom: 15%;
}
.stats {
  position: relative;
  padding: 5px 7.5% 25px;
  background-image:
    linear-gradient(#eee8dbdd, #eee8dbdd), url("img/paper.webp");
  background-size: 100% auto;
  background-position: center 8%;
}
.stats dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.stats dl div {
  position: relative;
}
.stats dl div + div:before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  height: 45%;
  width: 1px;
  background: var(--gold);
}
.stats dd {
  font: 500 clamp(38px, 4.4vw, 61px) / 1.25 var(--font-display);
  margin: 0;
}
.stats dt {
  font: 15px/1.6 var(--font-display);
}
.story {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  padding: 34px max(8%, calc((100vw - 1080px) / 2)) 60px;
  overflow: hidden;
}
.story-art {
  position: absolute;
  inset: -80px 0 0;
  z-index: -1;
  background: url("img/story-jade-v1.webp") center center/cover no-repeat;
}
.story-copy {
  position: relative;
  max-width: 500px;
}
.story-copy h2 {
  font-size: clamp(32px, 3.3vw, 47px);
}
.story-copy p:not(.eyebrow) {
  font: 18px/1.7 var(--font-display);
  margin: 22px 0;
}
.story-copy .eyebrow {
  margin-bottom: 18px;
}
.story-verse {
  right: 4.5%;
  bottom: 50px;
  color: #716959;
}
.play {
  position: relative;
  padding: 50px 8% 54px;
  background-image:
    linear-gradient(90deg, #101f23f0, #101f23e6), url("img/hero-ink-v1.webp");
  background-size: cover;
  background-position: center;
}
.play-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.game-frame {
  position: relative;
  justify-self: stretch;
  border: 1px solid var(--gold);
  padding: 6px;
  box-shadow:
    0 0 0 3px #101f23,
    0 0 0 4px #8c7149;
  background: #e8dfc8;
  clip-path: polygon(
    22px 0,
    calc(100% - 22px) 0,
    100% 22px,
    100% calc(100% - 22px),
    calc(100% - 22px) 100%,
    22px 100%,
    0 calc(100% - 22px),
    0 22px
  );
}
.game-frame:before,
.game-frame:after {
  content: "✧";
  position: absolute;
  color: #be8b41;
  top: -11px;
  font-size: 35px;
  z-index: 2;
}
.game-frame:before {
  left: 7px;
}
.game-frame:after {
  right: 7px;
}
.game-frame img {
  width: 100%;
  height: 515px;
  object-fit: contain;
  object-position: center;
  background:
    linear-gradient(#14282bed, #14282bed),
    url("img/paper.webp") center/cover;
}
.game-frame figcaption {
  text-align: center;
  color: #474432;
  font: 11px/1.6 var(--font-body);
  padding: 5px;
}
.play-copy h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 20px;
}
.play .eyebrow.ink {
  color: #d78669;
}
.features {
  display: flex;
  flex-direction: column;
}
.feature {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 24px;
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ae8c555c;
  width: 100%;
  color: var(--paper);
}
.feature:last-child {
  border: 0;
}
.feature > .icon {
  width: 73px;
  height: 73px;
  padding: 17px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  outline: 1px solid #a1845033;
  outline-offset: 4px;
}
.feature h3,
.feature strong {
  display: block;
  font: 500 25px/1.4 var(--font-display);
  margin-bottom: 6px;
}
.feature p,
.feature-description {
  display: block;
  font: 15px/1.7 var(--font-display);
  color: #ddd9cb;
}
.feature.is-active > .icon {
  background: #c8ac7317;
}
.feature:hover:is(button) {
  color: var(--gold-light);
}
.play-hint {
  font: 10px/1.7 var(--font-body);
  color: #bbb7a8;
  margin-top: 13px;
  letter-spacing: 0.03em;
}
.heroes {
  position: relative;
  padding: 65px 8% 50px;
  background-image:
    linear-gradient(#eee8dbc9, #eee8dbee), url("img/paper.webp");
  background-position: center top;
  background-size: cover;
}
.section-head {
  max-width: 1200px;
  margin: auto;
}
.section-head > p:not(.eyebrow) {
  max-width: 640px;
  margin-top: 20px;
  color: var(--ink-soft);
  font: 16px/1.8 var(--font-display);
}
.roster {
  max-width: 1100px;
  margin: 24px auto 0;
}
.stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 490px;
  --stage-c: var(--r-than);
}
.stage-art {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: end;
  position: relative;
}
.stage-art:before {
  content: "";
  position: absolute;
  inset: 16% 2% 0;
  background: radial-gradient(ellipse, #c8bb9866, transparent 66%);
}
.stage-art img {
  max-height: 100%;
  width: auto;
  max-width: 95%;
  position: relative;
  filter: drop-shadow(4px 12px 14px #514f4333);
}
.stage-card {
  padding: 35px;
}
.rarity {
  font: 13px var(--font-body);
  color: var(--stage-c);
  border: 1px solid currentColor;
  padding: 3px 16px;
}
.stage-card h3 {
  font-size: 44px;
  line-height: 1.2;
  margin: 24px 0 14px;
}
.stage-card .meta {
  font-size: 12px;
  color: var(--ink-soft);
}
.stage-card .quote {
  font: italic 23px/1.7 var(--font-display);
  max-width: 460px;
  margin-top: 25px;
}
.picker {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 15px;
  padding: 20px 0 25px;
  border-top: 1px solid var(--line);
}
.picker button {
  border: 0;
  background: none;
  width: 100%;
  padding: 8px 3px;
  color: var(--ink-soft);
}
.picker img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border: 1px solid #9d927b;
  border-radius: 50%;
  margin: auto;
  filter: saturate(0.55);
  transition:
    filter 0.2s,
    transform 0.2s;
}
.picker span {
  display: block;
  font-size: 11px;
  white-space: nowrap;
  margin-top: 10px;
}
.picker button[aria-pressed="true"] {
  color: #793627;
}
.picker button[aria-pressed="true"] img {
  outline: 1px solid var(--seal);
  outline-offset: 4px;
  filter: none;
}
.picker button:hover img {
  filter: none;
  transform: translateY(-3px);
}
.elements {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 55px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.elements li {
  text-align: center;
}
.elements b {
  display: block;
  font: 23px var(--font-display);
  color: #88713f;
}
.elements span {
  font-size: 11px;
  color: var(--ink-soft);
}
.elements [data-e="moc"] b {
  color: #55744d;
}
.elements [data-e="thuy"] b {
  color: #3b687b;
}
.elements [data-e="hoa"] b {
  color: #a14a37;
}
.elements [data-e="tho"] b {
  color: #85633c;
}
.world {
  padding: 75px 8%;
  background-image:
    linear-gradient(#101f23ee, #101f23e6), url("img/paper.webp");
  background-size: cover;
  background-position: center;
}
.world .section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 75px;
}
.world .eyebrow {
  grid-column: 1/-1;
}
.world .section-head > p:not(.eyebrow) {
  color: #c0bfae;
  align-self: center;
  margin: 0;
}
.arcs {
  max-width: 1200px;
  margin: 45px auto 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  border-top: 1px solid #c8ac7355;
  padding-top: 25px;
}
.arc-no {
  color: var(--gold);
  font: 15px var(--font-display);
}
.arcs h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 14px 0;
}
.arcs p {
  font-size: 12px;
  color: #c0bfae;
}
.factions {
  max-width: 1200px;
  margin: 35px auto 0;
  list-style: none;
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  padding-top: 25px;
  border-top: 1px solid #c8ac7333;
  font: 13px var(--font-display);
  color: #adae9f;
}
.factions .ours {
  color: var(--gold);
}
.factions .foe {
  color: #d38c76;
}
.finale {
  padding: 70px 8% 45px;
  background-image:
    linear-gradient(#eee8dbd9, #eee8dbdd), url("img/paper.webp");
  background-size: cover;
  background-position: center 50%;
}
.finale-inner {
  max-width: 820px;
  margin: auto;
  text-align: center;
}
.finale-logo {
  width: 260px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 3px 2px #846b4e30);
}
.finale .eyebrow {
  margin-bottom: 12px;
}
.finale h2 {
  margin-bottom: 24px;
}
.finale p {
  font: 16px/1.8 var(--font-display);
}
.finale .cta-row {
  justify-content: center;
  margin: 30px 0 20px;
  gap: 16px;
}
.finale .platform-list {
  margin: 0 auto 30px;
}
.finale .platform {
  color: var(--ink);
  background: #e6dcc655;
}
.finale .platform.is-soon {
  color: #726651;
}
.finale .platform.is-live:hover {
  background: #d9cdb5;
}
.install-guide {
  text-align: left;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 590px;
  margin: 35px auto 25px;
}
.install-guide summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 17px;
  padding: 14px 4px;
  display: flex;
  justify-content: space-between;
}
.install-guide summary::-webkit-details-marker {
  display: none;
}
.install-guide[open] summary span {
  transform: rotate(45deg);
}
.install-guide > div {
  padding: 5px 5px 25px;
}
.install-guide h3 {
  font-size: 17px;
  margin: 10px 0;
}
.install-guide ol {
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.9;
}
.finale .notice {
  font: 11px/1.8 var(--font-body);
  color: #6a665a;
}
.footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 8%;
  background: #e5decf;
  color: #6b675b;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.footer a:hover {
  color: var(--seal);
}
.story-dialog {
  border: 1px solid var(--gold);
  background: var(--paper);
  color: var(--ink);
  width: min(720px, calc(100% - 32px));
  max-height: 88svh;
  padding: 0;
  overscroll-behavior: contain;
}
.story-dialog::backdrop {
  background: #061014c9;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: sticky;
  display: block;
  top: 12px;
  margin: 12px 12px 0 auto;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--line);
  width: 42px;
  height: 42px;
  font-size: 28px;
  line-height: 1;
}
.opening-copy {
  padding: 0 45px 45px;
}
.opening-copy h2 {
  font-size: 35px;
  margin-bottom: 25px;
}
.opening-copy p {
  margin-top: 20px;
  font: 17px/1.8 var(--font-display);
}
.opening-copy img {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center 40%;
  margin: 25px 0;
}
.opening-copy blockquote {
  font: italic 23px/1.6 var(--font-display);
  margin: 25px 0;
  color: var(--seal);
}
.is-swapping {
  animation: arrive 0.35s ease-out;
}
@keyframes arrive {
  from {
    opacity: 0.4;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1650px) {
  .hero-copy {
    margin-left: calc((100vw - 1200px) / 2);
    padding-top: 185px;
  }
  .hero-pose {
    left: 49%;
  }
  .hero-logo {
    width: 440px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .hero .lede {
    font-size: 17px;
  }
  .hero-copy {
    max-width: 560px;
  }
  .story {
    padding-left: calc((100vw - 1200px) / 2);
    min-height: 490px;
  }
  .story-art {
    background-size: 100% auto;
  }
  .story-copy {
    padding-top: 25px;
  }
}
@media (max-width: 1200px) {
  .topbar {
    padding: 18px 5%;
    gap: 20px;
  }
  .brand {
    width: 170px;
  }
  .topbar nav {
    gap: 25px;
  }
  .header-cta {
    padding: 8px 20px;
  }
  .hero {
    height: 760px;
    min-height: 0;
  }
  .hero-copy {
    margin-left: 8%;
    padding-top: 145px;
    max-width: 47%;
    width: 520px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero-logo {
    width: 335px;
    margin-bottom: 24px;
  }
  .hero .lede {
    font-size: 14px;
    white-space: normal;
  }
  .hero .btn {
    font-size: 17px;
    padding: 12px 23px;
    min-height: 53px;
  }
  .hero .text-link {
    font-size: 13px;
    gap: 10px;
  }
  .hero .cta-row {
    gap: 24px;
  }
  .platform {
    min-width: 102px;
    min-height: 59px;
    padding: 8px;
    gap: 9px;
    font-size: 13px;
  }
  .platform .icon {
    width: 22px;
    height: 22px;
  }
  .platform small {
    font-size: 10px;
  }
  .hero-pose {
    left: 47%;
    height: 83%;
    max-width: 52%;
    bottom: 5%;
  }
  .hero-verse {
    right: 3%;
  }
  .story {
    min-height: 395px;
    padding-left: 8%;
  }
  .story-art {
    inset: -20px 0 0;
    background-position: center;
  }
  .story-copy {
    max-width: 410px;
  }
  .story-copy p:not(.eyebrow) {
    font-size: 17px;
  }
  .play-inner {
    gap: 50px;
  }
  .game-frame img {
    height: 470px;
  }
  .feature {
    gap: 18px;
  }
  .feature > .icon {
    width: 60px;
    height: 60px;
    padding: 13px;
  }
  .feature h3,
  .feature strong {
    font-size: 21px;
  }
  .feature p,
  .feature-description {
    font-size: 14px;
  }
  .picker {
    gap: 10px;
  }
  .picker span {
    font-size: 10px;
  }
  .arcs {
    gap: 20px;
  }
  .arcs h3 {
    font-size: 17px;
  }
}
@media (max-width: 900px) {
  .topbar {
    padding: 18px 5%;
    gap: 15px;
  }
  .brand {
    width: 150px;
  }
  .topbar nav {
    gap: 18px;
  }
  .topbar nav a {
    font-size: 13px;
  }
  .header-cta {
    font-size: 15px;
    padding: 8px 18px;
  }
  .hero {
    height: 700px;
  }
  .hero-copy {
    margin-left: 6%;
    padding-top: 145px;
    max-width: 53%;
  }
  .hero-logo {
    width: 295px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero .lede {
    max-width: 330px;
  }
  .hero .cta-row {
    gap: 18px;
  }
  .hero .text-link {
    font-size: 12px;
  }
  .hero .btn {
    font-size: 16px;
    padding: 12px 19px;
  }
  .hero-pose {
    left: 51%;
    height: 74%;
    bottom: 7%;
    max-width: 48%;
  }
  .hero-verse {
    display: none;
  }
  .platform-list {
    gap: 6px;
  }
  .platform {
    min-width: 89px;
    padding: 7px;
    gap: 6px;
    font-size: 12px;
  }
  .platform .icon {
    width: 20px;
    height: 20px;
  }
  .platform small {
    font-size: 9px;
  }
  .stats dt {
    font-size: 13px;
  }
  .story {
    padding-left: 6%;
    padding-bottom: 40px;
    min-height: 360px;
  }
  .story-copy {
    max-width: 370px;
  }
  .story-copy h2 {
    font-size: 33px;
  }
  .story-copy p:not(.eyebrow) {
    font-size: 15px;
  }
  .story-art {
    background-position: 57% center;
  }
  .story-verse {
    display: none;
  }
  .play {
    padding: 40px 6%;
  }
  .play-inner {
    gap: 32px;
  }
  .play-copy h2 {
    font-size: 32px;
  }
  .feature {
    gap: 15px;
    padding: 15px 0;
  }
  .feature > .icon {
    width: 48px;
    height: 48px;
    padding: 10px;
  }
  .feature h3,
  .feature strong {
    font-size: 18px;
  }
  .feature p,
  .feature-description {
    font-size: 12px;
  }
  .game-frame img {
    height: 430px;
  }
  .heroes {
    padding: 50px 6% 30px;
  }
  .stage-art {
    height: 430px;
  }
  .stage {
    min-height: 430px;
  }
  .stage-card {
    padding: 25px;
  }
  .stage-card h3 {
    font-size: 35px;
  }
  .stage-card .quote {
    font-size: 20px;
  }
  .picker {
    grid-template-columns: repeat(4, 1fr);
  }
  .picker span {
    font-size: 11px;
  }
  .elements {
    gap: 25px;
  }
  .elements span {
    font-size: 10px;
  }
  .world {
    padding: 55px 6%;
  }
  .world .section-head {
    gap: 20px;
  }
  .arcs {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 25px;
  }
  .finale {
    padding: 50px 6% 35px;
  }
}
@media (max-width: 640px) {
  html {
    scroll-padding-top: 16px;
  }
  .topbar {
    padding: 14px 6%;
    align-items: center;
    gap: 18px;
  }
  .brand {
    width: 130px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--paper);
    font: 14px var(--font-display);
  }
  .menu-toggle span {
    font: 19px var(--font-body);
  }
  .topbar nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 5%;
    right: 5%;
    padding: 15px 24px;
    background: #101f23f7;
    border: 1px solid var(--gold);
    box-shadow: 0 15px 30px #0005;
  }
  .topbar.menu-open nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .topbar nav a {
    font-size: 16px;
    padding: 13px 0;
  }
  .no-js .menu-toggle {
    display: none;
  }
  .no-js .topbar nav {
    display: flex;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    flex-wrap: wrap;
    gap: 4px 14px;
    padding: 0;
  }
  .no-js .topbar nav a {
    font-size: 12px;
    padding: 0;
  }
  .no-js .topbar {
    align-items: start;
  }
  .hero {
    height: auto;
    min-height: 850px;
    padding-bottom: 65px;
    background: #101c22;
  }
  .hero-art {
    height: 100%;
    overflow: hidden;
  }
  .hero-landscape {
    position: absolute;
    top: 0;
    height: 440px;
    object-position: 70% top;
    mask-image: linear-gradient(#000 70%, transparent 100%);
  }
  .hero-art:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 75px;
    background: linear-gradient(transparent, var(--paper));
  }
  .hero-pose {
    top: 67px;
    bottom: auto;
    left: auto;
    right: 4%;
    height: 330px;
    max-width: 65%;
    filter: drop-shadow(0 10px 18px #061018aa);
    mask-image: linear-gradient(#000 87%, transparent);
  }
  .hero-copy {
    margin: 0;
    padding: 310px 6% 0;
    max-width: none;
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    position: relative;
  }
  .hero .eyebrow span {
    margin: 0 4px;
  }
  .hero-logo {
    width: 240px;
    margin: 0 0 17px -3px;
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.13;
    max-width: 350px;
  }
  .hero .lede {
    font-size: 14px;
    margin: 18px 0 22px;
    max-width: none;
    line-height: 1.8;
  }
  .mobile-break {
    display: block;
  }
  .hero .cta-row {
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero .btn {
    font-size: 15px;
    min-height: 51px;
    padding: 10px 18px;
  }
  .hero .text-link {
    font-size: 12px;
    gap: 8px;
  }
  .beta-note {
    font-size: 10px;
    margin: 14px 0 13px;
  }
  .hero .platform-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 6px;
  }
  .hero .platform {
    min-width: 0;
    padding: 8px 4px;
    gap: 5px;
    min-height: 57px;
    font-size: 11px;
  }
  .hero .platform .icon {
    width: 17px;
    height: 17px;
  }
  .hero .platform small {
    font-size: 8px;
    white-space: nowrap;
  }
  .stats {
    padding: 2px 6% 0;
    background-image: none;
  }
  .stats dl {
    padding-bottom: 25px;
    row-gap: 22px;
    grid-template-columns: repeat(2, 1fr);
  }
  .stats dd {
    font-size: 40px;
  }
  .stats dt {
    font-size: 12px;
  }
  .stats dl div:nth-child(3):before {
    display: none;
  }
  .story {
    padding: 32px 6% 240px;
    min-height: 0;
  }
  .story-copy {
    max-width: none;
  }
  .story-copy h2 {
    font-size: 33px;
  }
  .story-copy p:not(.eyebrow) {
    font-size: 16px;
    margin: 18px 0;
  }
  .story-copy .eyebrow {
    font-size: 11px;
    margin-bottom: 15px;
  }
  .story-art {
    inset: 0;
    background-size: auto 360px;
    background-position: 73% bottom;
    background-repeat: no-repeat;
    mask-image: linear-gradient(transparent 35%, #000 65%);
  }
  .story-copy {
    z-index: 1;
  }
  .story-copy .text-link {
    font-size: 15px;
  }
  .play {
    padding: 36px 6% 40px;
  }
  .play-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .play-copy {
    display: contents;
  }
  .play-copy .eyebrow {
    order: 0;
    width: 100%;
    margin-bottom: -16px;
    font-size: 11px;
  }
  .play-copy h2 {
    order: 1;
    font-size: 35px;
    width: 100%;
    margin-bottom: 0;
  }
  .game-frame {
    order: 2;
    width: 100%;
    max-width: 390px;
  }
  .game-frame img {
    height: auto;
    max-height: 540px;
    object-fit: contain;
    object-position: center;
  }
  .features {
    order: 3;
    width: 100%;
  }
  .feature {
    padding: 18px 0;
    gap: 22px;
  }
  .feature > .icon {
    width: 59px;
    height: 59px;
    padding: 13px;
  }
  .feature h3,
  .feature strong {
    font-size: 21px;
  }
  .feature p,
  .feature-description {
    font-size: 14px;
  }
  .play-hint {
    order: 4;
    margin-top: -25px;
    width: 100%;
    font-size: 10px;
  }
  .heroes {
    padding-top: 40px;
  }
  .section-head .eyebrow {
    font-size: 11px;
  }
  .section-head h2 {
    font-size: 32px;
  }
  .section-head > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 17px;
  }
  .roster {
    margin-top: 24px;
  }
  .stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .stage-art {
    height: 365px;
    width: 100%;
  }
  .stage-art img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .stage-card {
    width: 100%;
    padding: 24px 4px 28px;
    text-align: center;
  }
  .stage-card h3 {
    font-size: 31px;
    margin: 18px 0 12px;
  }
  .stage-card .meta {
    font-size: 10px;
  }
  .stage-card .quote {
    font-size: 18px;
    margin: 18px auto 0;
    max-width: 310px;
  }
  .picker {
    gap: 15px 6px;
    padding-top: 22px;
  }
  .picker img {
    width: 57px;
    height: 57px;
  }
  .picker span {
    font-size: 9px;
    white-space: normal;
    line-height: 1.5;
    min-height: 27px;
  }
  .elements {
    gap: 0;
    justify-content: space-between;
    padding-top: 20px;
  }
  .elements b {
    font-size: 21px;
  }
  .elements span {
    font-size: 9px;
    display: block;
    max-width: 55px;
    line-height: 1.5;
    margin-top: 7px;
  }
  .world {
    padding: 42px 6%;
  }
  .world .section-head {
    display: block;
  }
  .world .section-head > p:not(.eyebrow) {
    margin-top: 22px;
  }
  .arcs {
    grid-template-columns: 1fr;
    margin-top: 30px;
    gap: 0;
    padding: 0;
    border-top: 0;
  }
  .arcs li {
    position: relative;
    padding: 22px 0 22px 65px;
    border-top: 1px solid #c8ac7344;
  }
  .arc-no {
    position: absolute;
    left: 0;
    top: 23px;
    font-size: 13px;
  }
  .arcs h3 {
    font-size: 19px;
    margin: 0 0 10px;
  }
  .arcs p {
    font-size: 12px;
  }
  .factions {
    gap: 15px 22px;
    font-size: 12px;
    margin-top: 10px;
  }
  .finale {
    padding-top: 40px;
  }
  .finale-logo {
    width: 235px;
  }
  .finale h2 {
    font-size: 32px;
  }
  .finale p {
    font-size: 14px;
  }
  .finale .cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 310px;
    margin: 26px auto 20px;
  }
  .finale .btn {
    font-size: 17px;
    min-height: 53px;
  }
  .finale .platform-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 310px;
    gap: 8px;
  }
  .finale .platform {
    min-height: 60px;
    font-size: 14px;
    gap: 12px;
  }
  .finale .platform small {
    font-size: 10px;
  }
  .install-guide {
    margin-top: 25px;
  }
  .finale .notice {
    font-size: 10px;
  }
  .footer {
    padding: 18px 6%;
    font-size: 9px;
    gap: 12px;
  }
  .footer a {
    white-space: nowrap;
  }
  .opening-copy {
    padding: 0 24px 32px;
  }
  .opening-copy h2 {
    font-size: 27px;
  }
  .opening-copy p {
    font-size: 15px;
  }
  .opening-copy blockquote {
    font-size: 20px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 37px;
  }
  .hero .cta-row {
    gap: 16px;
  }
  .hero .btn {
    font-size: 15px;
    padding: 10px 17px;
  }
  .hero .text-link {
    font-size: 11px;
  }
  .hero .platform {
    gap: 3px;
  }
  .hero .platform .icon {
    width: 14px;
    height: 14px;
  }
  .hero .platform small {
    font-size: 7px;
  }
  .story-copy h2 {
    font-size: 29px;
  }
  .section-head h2 {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

/* Tranh cuộn tiên hiệp: pale paper, mineral jade, dry ink and vermilion seals. */
:root {
  --paper: #f1ebdc;
  --ink: #28342f;
  --ink-soft: #63685a;
  --gold: #aa8e58;
  --gold-light: #aa8e58;
  --seal: #993d30;
}
body {
  background: var(--paper);
}
.topbar {
  color: var(--ink);
}
.brand img,
.hero-logo,
.finale-logo {
  filter: brightness(0) saturate(100%);
  opacity: 0.9;
}
.topbar nav a {
  color: #354239;
}
.topbar nav a:hover,
.topbar nav a[aria-current] {
  color: var(--seal);
  border-color: var(--seal);
}
.header-cta {
  background: transparent;
  border-color: #947a50;
  color: var(--ink);
}
.header-cta:hover {
  background: #d8ceba77;
}
.header-cta::before {
  border-color: #aa8e5844;
}
.hero {
  background: var(--paper);
  color: var(--ink);
}
.hero-landscape {
  object-position: center bottom;
  mix-blend-mode: multiply;
}
.hero-pose {
  height: 80%;
  bottom: 7%;
  left: 49%;
  filter: saturate(0.6) contrast(0.95) drop-shadow(0 20px 20px #4a4a3322);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(#000 87%, transparent 100%);
}
.hero-copy {
  padding-top: 163px;
}
.hero .eyebrow {
  color: #7b6b4c;
  letter-spacing: 0.23em;
}
.hero-logo {
  width: 440px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 500;
  text-shadow: none;
  line-height: 1.25;
}
.hero h1 em {
  color: var(--seal);
  font-weight: 500;
  font-style: normal;
}
.hero .lede {
  color: #566050;
  margin: 22px 0 28px;
}
.btn-seal {
  border-color: #913e31;
  background: #963f32;
  box-shadow: inset 0 0 24px #6e302a33;
  clip-path: polygon(
    1% 5%,
    31% 1%,
    61% 3%,
    99% 0,
    100% 51%,
    98% 97%,
    64% 99%,
    32% 97%,
    0 100%,
    1% 50%
  );
}
.btn-seal::before {
  border-color: #e6c19577;
}
.btn-seal::after {
  display: none;
}
.btn-seal:hover {
  background: #803326;
}
.hero .text-link {
  color: #5c664e;
  border-color: #7e856255;
}
.beta-note {
  color: #6a705d;
}
.platform-list {
  gap: 0;
}
.platform {
  color: #53604e;
  background: none;
  border: 0;
  border-right: 1px solid #9f96744d;
  clip-path: none;
  min-width: 125px;
  min-height: 59px;
  padding: 7px 18px;
}
.platform-list li:first-child .platform {
  padding-left: 0;
  justify-content: flex-start;
  min-width: 113px;
}
.platform-list li:last-child .platform {
  border-right: 0;
}
.platform.is-soon,
.finale .platform.is-soon {
  color: #767967;
  border-color: #9f96744d;
}
.platform.is-live {
  color: var(--seal);
}
.platform.is-live:hover,
.finale .platform.is-live:hover {
  background: #b8bba223;
  color: #8a3027;
}
.hero-verse {
  color: #626e58;
  right: 4%;
  bottom: 26%;
}
.margin-verse i {
  background: var(--seal);
  color: var(--paper);
  padding: 5px 3px;
  border: 0;
  border-radius: 1px;
}
.stats {
  background: var(--paper);
  padding-top: 0;
}
.stats dl {
  border-color: #ac9d7444;
}
.stats dd {
  color: #394938;
  font-size: clamp(38px, 4vw, 56px);
}
.stats dt {
  color: #677157;
}
.stats dl div + div::before {
  background: #a99b7355;
}
.story {
  padding-top: 48px;
  padding-bottom: 70px;
  min-height: 465px;
}
.story-art {
  inset: -50px 0 0;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.story-copy h2 {
  font-weight: 500;
}
.story-copy .eyebrow,
.section-head .eyebrow {
  position: relative;
  padding-left: 37px;
}
.story-copy .eyebrow::before,
.section-head .eyebrow::before {
  content: "序";
  position: absolute;
  left: 0;
  top: -4px;
  width: 24px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--seal);
  border-radius: 1px;
  font-size: 15px;
  letter-spacing: 0;
}
.heroes .section-head .eyebrow::before {
  content: "人";
}
.world .section-head .eyebrow::before {
  content: "境";
}
.play {
  background-color: #e3e6d9;
  color: var(--ink);
  padding-top: 70px;
  padding-bottom: 70px;
  background-image:
    linear-gradient(90deg, #e3e6d9ee, #e3e6d9c4),
    url("img/hero-xianxia-v2.webp");
  background-position: center;
  background-size: cover;
  position: relative;
}
.play::before,
.play::after {
  content: "";
  position: absolute;
  height: 36px;
  left: 0;
  right: 0;
  pointer-events: none;
}
.play::before {
  top: 0;
  background: linear-gradient(var(--paper), transparent);
}
.play::after {
  bottom: 0;
  background: linear-gradient(transparent, var(--paper));
}
.play-inner {
  gap: 40px;
}
.play .eyebrow.ink {
  color: var(--seal);
}
.play-copy h2 {
  font-weight: 500;
}
.game-frame {
  width: 300px;
  max-width: 100%;
  justify-self: center;
  clip-path: none;
  padding: 7px;
  background: #eee6d3;
  border: 1px solid #a4977777;
  box-shadow: 8px 20px 35px #33453420;
  transform: rotate(-2deg);
}
.game-frame::before,
.game-frame::after {
  content: "";
  top: -6px;
  height: 5px;
  width: calc(100% + 20px);
  background: #7c755b;
  left: -10px;
  right: auto;
  border-radius: 3px;
}
.game-frame::after {
  top: auto;
  bottom: -6px;
}
.game-frame img {
  height: auto;
  max-height: 565px;
  background: transparent;
  object-fit: contain;
}
.game-frame figcaption {
  color: #68715c;
}
.feature {
  color: var(--ink);
  border-color: #899b7044;
  gap: 26px;
}
.feature > .icon {
  color: #677953;
  border-color: #8a9c7066;
  outline: none;
}
.feature.is-active > .icon {
  background: #80906414;
  border-color: #708455;
}
.feature p,
.feature-description {
  color: #657055;
}
.feature:hover:is(button) {
  color: var(--seal);
}
.play-hint {
  color: #69745f;
}
.heroes {
  background-image:
    linear-gradient(#f1ebdcc4, #f1ebdcee), url("img/hero-xianxia-v2.webp");
  background-size: cover;
  background-position: 70% center;
  padding-top: 65px;
}
.stage-art {
  isolation: isolate;
}
.stage-art::before {
  background: radial-gradient(ellipse, #9ea88733, transparent 66%);
}
.stage-art [data-stage-img] {
  mix-blend-mode: multiply;
  filter: saturate(0.72) drop-shadow(0 14px 14px #37442c22);
}
.stage-art .stage-companion {
  position: absolute;
  height: 76%;
  width: auto;
  bottom: 16px;
  z-index: -1;
  opacity: 0.32;
  filter: grayscale(0.7);
  mix-blend-mode: multiply;
  mask-image: linear-gradient(#000 65%, transparent);
}
.stage-art .companion-left {
  left: -11%;
  transform: scaleX(-1);
}
.stage-art .companion-right {
  right: -7%;
}
.picker img {
  border-radius: 2px;
  border-color: #9c977655;
}
.picker button[aria-pressed="true"] img {
  outline-color: var(--seal);
}
.world {
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(#f1ebdcce, #f1ebdce0), url("img/hero-xianxia-v2.webp");
  background-position: right bottom;
  background-size: cover;
  border-top: 1px solid #a8a18144;
}
.world .section-head > p:not(.eyebrow),
.arcs p {
  color: #66735b;
}
.world h2 {
  font-weight: 500;
}
.arcs {
  border-color: #9d987155;
}
.arcs li {
  border-color: #9d987155;
}
.arcs h3 {
  color: #394b38;
}
.arc-no {
  color: var(--seal);
}
.factions {
  color: #6f795f;
  border-color: #9d987155;
}
.factions .ours {
  color: #8d4c31;
}
.factions .foe {
  color: #6a5366;
}
.finale {
  background-image:
    linear-gradient(#f1ebdcf0, #f1ebdcaf), url("img/hero-xianxia-v2.webp");
  background-position: center bottom;
  border-top: 1px solid #a8a18144;
}
.finale-logo {
  width: 300px;
}
.finale .platform {
  background: transparent;
  color: var(--ink);
}
.footer {
  background: #e8e4d4;
  color: #68705c;
  border-color: #b1ae8e66;
}
@media (min-width: 1650px) {
  .hero-copy {
    padding-top: 185px;
  }
  .hero-logo {
    width: 450px;
  }
  .hero h1 {
    font-size: 64px;
  }
}
@media (max-width: 1200px) {
  .hero-copy {
    padding-top: 140px;
  }
  .hero-logo {
    width: 355px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-pose {
    height: 77%;
    left: 49%;
    bottom: 8%;
  }
  .platform {
    min-width: 105px;
    padding: 7px 11px;
  }
  .platform-list li:first-child .platform {
    min-width: 97px;
  }
  .game-frame {
    width: 280px;
  }
  .game-frame img {
    max-height: 540px;
  }
}
@media (max-width: 900px) {
  .hero-copy {
    padding-top: 148px;
  }
  .hero-logo {
    width: 300px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .hero-pose {
    left: 53%;
    height: 72%;
    bottom: 9%;
  }
  .platform {
    min-width: 88px;
    padding: 7px 9px;
  }
  .platform-list li:first-child .platform {
    min-width: 85px;
  }
  .story {
    min-height: 390px;
  }
  .game-frame {
    width: 240px;
  }
  .play-inner {
    gap: 25px;
  }
  .stage-art .companion-left {
    left: -5%;
  }
  .stage-art .companion-right {
    right: -4%;
  }
}
@media (max-width: 640px) {
  .menu-toggle {
    color: var(--ink);
  }
  .topbar nav {
    background: #f1ebdcfa;
    border-color: #a69a784d;
    box-shadow: 0 12px 25px #3a40231a;
  }
  .hero {
    background: var(--paper);
    min-height: 840px;
    padding-bottom: 45px;
  }
  .hero-landscape {
    height: 470px;
    object-position: 72% top;
    mask-image: linear-gradient(#000 78%, transparent);
  }
  .hero-art::after {
    display: none;
  }
  .hero-pose {
    height: 345px;
    top: 75px;
    right: 8%;
    left: auto;
    bottom: auto;
    max-width: 63%;
    mask-image: linear-gradient(#000 72%, transparent);
  }
  .hero-copy {
    padding-top: 334px;
  }
  .hero .eyebrow {
    font-size: 9px;
    color: #737b62;
  }
  .hero-logo {
    width: 270px;
    margin-bottom: 17px;
  }
  .hero h1 {
    font-size: 37px;
    line-height: 1.2;
  }
  .hero .lede {
    margin: 17px 0 23px;
  }
  .hero .platform-list {
    gap: 0;
  }
  .hero .platform {
    color: #6a745f;
    font-size: 11px;
    padding: 7px 5px;
    min-width: 0;
    gap: 5px;
  }
  .hero .platform.is-live {
    color: var(--seal);
  }
  .platform-list li:first-child .platform {
    min-width: 0;
  }
  .hero .platform small {
    font-size: 8px;
  }
  .hero .platform .icon {
    width: 17px;
    height: 17px;
  }
  .beta-note {
    margin-bottom: 11px;
  }
  .stats {
    padding-top: 12px;
  }
  .stats dd {
    font-size: 39px;
  }
  .story {
    min-height: 0;
    padding-top: 35px;
    padding-bottom: 250px;
  }
  .story-art {
    inset: 0;
    mask-image: linear-gradient(transparent 38%, #000 63%);
  }
  .play {
    padding: 45px 7% 50px;
  }
  .play-inner {
    gap: 27px;
  }
  .game-frame {
    width: 270px;
    max-width: 90%;
    margin: 10px 0;
  }
  .game-frame img {
    max-height: none;
    height: auto;
  }
  .feature {
    gap: 21px;
  }
  .heroes {
    padding-top: 40px;
  }
  .stage-art .stage-companion {
    height: 80%;
  }
  .stage-art .companion-left {
    left: -3%;
  }
  .stage-art .companion-right {
    right: -4%;
  }
  .finale-logo {
    width: 250px;
  }
  .finale .platform-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .finale .platform {
    border: 1px solid #a8a18144;
    min-width: 0;
  }
  .finale .platform-list li:first-child .platform {
    padding-left: 7px;
    justify-content: center;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 33px;
  }
  .hero-logo {
    width: 245px;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 0.13em;
  }
  .hero .platform {
    padding: 6px 3px;
    gap: 4px;
    font-size: 10px;
  }
  .hero .platform .icon {
    width: 14px;
    height: 14px;
  }
  .hero .platform small {
    font-size: 7px;
  }
}
/* Keep character ink opaque; only the feet dissolve into the painted mist. */
.hero-pose { mix-blend-mode: normal; filter: saturate(.72) contrast(.97) drop-shadow(0 15px 18px #38463120); }
.stage-art [data-stage-img] { mix-blend-mode: normal; }
.hero .lede { max-width: 475px; white-space: normal; }
.hero-art::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg,#f1ebdc55 0%,#f1ebdc33 40%,transparent 58%); pointer-events: none; }
.hero-pose { z-index: 2; }
@media(max-width:900px) { .hero .lede { max-width: 340px; } }
@media(max-width:640px) {
  .hero-art::before { display: none; }
  .hero-art::after { display: block; inset: 292px 0 auto; height: 180px; z-index: 3; background: linear-gradient(transparent,var(--paper) 76%); }
  .hero .eyebrow { color: #536047; }
}
.hero .mobile-break { display: block; }
.btn::after { display: none; }
