:root {
  --bg: #1e1028;
  --bg-deep: #100b14;
  --bg-ink: #161118;
  --surface: #291735;
  --surface-2: #34203f;
  --pink: #ff4081;
  --pink-soft: #ff8eb4;
  --green: #00e676;
  --cream: #fff0f5;
  --cream-muted: #d8cbd3;
  --paper: #f8edf4;
  --paper-ink: #24172b;
  --gold: #d6b464;
  --border: rgba(255, 240, 245, 0.16);
  --border-strong: rgba(255, 240, 245, 0.28);
  --shadow: 0 24px 60px rgba(6, 2, 9, 0.34);
  --max: 1180px;
  --header-height: 76px;
  --radius: 16px;
  --radius-card: 16px;
  --radius-button: 999px;
  --radius-image: 12px;
  --radius-tag: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  font-weight: 750;
}

h1,
h2,
h3 {
  line-height: 1.18;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: var(--pink);
  color: #160912;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-symbol {
  font-size: 18px;
  line-height: 1;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 9px 14px;
  border: 1px solid var(--green);
  border-radius: 3px;
  background: var(--bg-deep);
  color: var(--cream);
  transition: transform 180ms ease;
}

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

.section-inner,
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(16, 11, 20, 0.62);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(16, 11, 20, 0.94);
  box-shadow: 0 12px 36px rgba(5, 2, 8, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 172px;
  gap: 10px;
  color: var(--cream);
  font-size: 17px;
  font-weight: 750;
  line-height: 1;
}

.brand img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(255, 64, 129, 0.65);
  border-radius: 50%;
  object-fit: cover;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
}

.primary-nav a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 25px 0 23px;
  color: rgba(255, 240, 245, 0.78);
  white-space: nowrap;
}

.primary-nav a:not(.nav-cta) .ui-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
  color: var(--pink-soft);
}

.primary-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--cream);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-cta {
  min-height: 40px;
  padding: 0 16px;
  background: var(--pink);
  color: #160912;
  white-space: nowrap;
}

.nav-cta:hover,
.button-primary:hover {
  background: var(--pink-soft);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: rgba(30, 16, 40, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--cream);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  isolation: isolate;
  background: var(--bg-deep);
}

.hero-media,
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 57% 50%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 8, 15, 0.96) 0%, rgba(18, 10, 24, 0.88) 34%, rgba(18, 10, 24, 0.33) 66%, rgba(12, 8, 15, 0.22) 100%),
    linear-gradient(0deg, rgba(16, 11, 20, 0.9) 0%, transparent 42%);
}

.hero-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 132px 0 104px;
}

.hero-inner > * {
  max-width: 690px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin: 0 10px 4px 0;
  background: currentColor;
  content: "";
}

.hero h1 {
  margin-bottom: 4px;
  color: var(--cream);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 64px;
  line-height: 1.05;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.46);
}

.hero-en {
  margin-bottom: 26px;
  color: var(--pink-soft);
  font-size: 22px;
  font-weight: 760;
}

.hero-summary {
  margin-bottom: 30px;
  color: rgba(255, 240, 245, 0.86);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.button {
  min-width: 150px;
  padding: 13px 20px;
}

.button-primary {
  background: var(--pink);
  color: #160912;
}

.button-quiet {
  border-color: rgba(255, 240, 245, 0.48);
  background: rgba(16, 11, 20, 0.5);
  color: var(--cream);
}

.button-quiet:hover {
  border-color: var(--cream);
  background: rgba(255, 240, 245, 0.1);
  transform: translateY(-2px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 620px);
  margin-bottom: 0;
  border-top: 1px solid var(--border-strong);
}

.hero-facts div {
  padding: 18px 18px 0 0;
}

.hero-facts dt {
  color: var(--cream-muted);
  font-size: 12px;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--cream);
  font-size: 14px;
  font-weight: 700;
}

.hero-next {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 240, 245, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.hero-next i {
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  place-items: center;
  color: var(--green);
  font-style: normal;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section h2 {
  margin-bottom: 24px;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 36px;
}

.section h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.section-copy p,
.section-heading > p,
.feature-lead > div > p,
.character-copy > p,
.section-system p,
.faq-intro > p {
  color: var(--cream-muted);
}

.lead {
  color: var(--cream) !important;
  font-size: 19px;
  line-height: 1.9;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 80px;
}

.feature-figure,
.wide-figure,
.feature-lead figure,
.character-visual,
.guide-aside {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-ink);
  box-shadow: var(--shadow);
}

.feature-figure img,
.wide-figure img,
.feature-lead figure img,
.character-visual img,
.guide-aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure-tall {
  aspect-ratio: 4 / 3;
}

.figure-tall img {
  object-position: 57% center;
}

.feature-figure figcaption,
.wide-figure figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  color: var(--cream-muted);
  font-size: 13px;
}

.feature-figure figcaption span {
  color: var(--green);
  font-weight: 800;
}

.fact-band {
  border-block: 1px solid var(--border);
  background: var(--bg-deep);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact-grid > div {
  display: grid;
  min-height: 152px;
  padding: 30px 28px;
  border-left: 1px solid var(--border);
  align-content: center;
}

.fact-grid > div:last-child {
  border-right: 1px solid var(--border);
}

.fact-grid span {
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
}

.fact-grid strong {
  margin: 5px 0 2px;
  font-size: 18px;
}

.fact-grid small {
  color: var(--cream-muted);
}

.section-content,
.section-updates {
  background: var(--bg-deep);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 54px;
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.content-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 38px;
}

.wide-figure {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 560px;
}

.wide-figure img {
  min-height: 0;
}

.content-list {
  border-top: 1px solid var(--border-strong);
}

.content-list article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.content-list article > span,
.route-list li > span,
.feature-grid article > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.content-list h3,
.content-list p {
  margin-bottom: 0;
}

.content-list p {
  color: var(--cream-muted);
  font-size: 14px;
}

.section-characters {
  overflow: hidden;
  background: #27172f;
}

.section-characters::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 4px;
  background: var(--pink);
  content: "";
}

.character-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 76px;
}

.character-visual {
  aspect-ratio: 16 / 11;
}

.character-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.character-row:last-child {
  border-bottom: 1px solid var(--border);
}

.character-row h3,
.character-row p {
  margin: 0;
}

.character-row h3 {
  color: var(--pink-soft);
}

.character-row p {
  color: var(--cream-muted);
  font-size: 14px;
}

.section-guide {
  background: var(--paper);
  color: var(--paper-ink);
}

.section-guide .section-kicker {
  color: #007b3d;
}

.section-guide .section-heading > p {
  color: #68576c;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 70px;
}

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

.route-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 0 0 28px;
}

.route-list li:not(:last-child) > span::after {
  display: block;
  width: 1px;
  height: calc(100% + 17px);
  margin: 10px 0 0 8px;
  background: rgba(36, 23, 43, 0.2);
  content: "";
}

.route-list li > span {
  color: #007b3d;
  font-size: 14px;
}

.route-list h3,
.route-list p {
  margin-bottom: 7px;
}

.route-list p {
  color: #68576c;
}

.guide-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  border-color: rgba(36, 23, 43, 0.14);
  background: var(--bg-deep);
  color: var(--cream);
}

.guide-aside img {
  aspect-ratio: 16 / 10;
}

.guide-aside div {
  padding: 26px;
}

.guide-aside span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.guide-aside h3 {
  margin: 8px 0 12px;
}

.guide-aside p {
  margin-bottom: 0;
  color: var(--cream-muted);
  font-size: 14px;
}

.section-features {
  background: var(--bg);
}

.feature-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: 76px;
  margin-bottom: 58px;
}

.feature-lead figure {
  aspect-ratio: 16 / 9;
}

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

.feature-grid article {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 240, 245, 0.025);
}

.feature-grid h3 {
  margin: 22px 0 10px;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--cream-muted);
  font-size: 14px;
}

.section-screenshots {
  border-top: 1px solid var(--border);
  background: #161118;
}

.screenshot-heading {
  margin-bottom: 38px;
}

.screenshot-heading h2 {
  margin-bottom: 0;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(360px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.screenshot-main {
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--bg-ink);
  box-shadow: var(--shadow);
}

.screenshot-main img,
.screenshot-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-main img {
  transition: opacity 180ms ease;
}

.screenshot-main img.is-switching {
  opacity: 0.45;
}

.screenshot-thumbnails {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.screenshot-thumbnail {
  position: relative;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-ink);
  cursor: pointer;
  opacity: 0.68;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.screenshot-thumbnail::after {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  content: "";
  pointer-events: none;
}

.screenshot-thumbnail:hover {
  border-color: var(--pink-soft);
  opacity: 1;
  transform: translateY(-2px);
}

.screenshot-thumbnail.is-active {
  border-color: var(--pink);
  opacity: 1;
}

.screenshot-thumbnail.is-active::after {
  border-color: var(--pink);
}

.section-system {
  border-block: 1px solid var(--border);
  background: #161118;
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(560px, 1.45fr);
  align-items: center;
  gap: 76px;
}

.spec-table {
  border-top: 2px solid var(--green);
}

.spec-table > div {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 1.1fr;
  min-height: 52px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.spec-table span,
.spec-table strong,
.spec-table b {
  padding: 10px 14px;
  font-size: 13px;
}

.spec-table strong {
  color: var(--pink-soft);
}

.spec-table b {
  color: var(--cream-muted);
  font-weight: 600;
}

.update-list {
  border-top: 1px solid var(--border-strong);
}

.update-list article {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 52px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.update-list time {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.update-list h3 {
  margin-bottom: 14px;
}

.update-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 34px;
  margin: 0;
  padding: 0;
  color: var(--cream-muted);
  list-style: none;
}

.update-list li {
  position: relative;
  padding-left: 18px;
}

.update-list li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--pink);
  content: "";
  transform: rotate(45deg);
}

.section-faq {
  background: #27172f;
}

.faq-layout {
  display: block;
}

.faq-intro {
  max-width: 780px;
  margin-bottom: 42px;
}

.faq-list {
  border-top: 1px solid var(--border-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  color: var(--cream);
  cursor: pointer;
  font-size: 17px;
  font-weight: 720;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-strong);
  color: var(--pink-soft);
  content: "+";
  text-align: center;
  line-height: 26px;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 780px;
  margin: -4px 52px 24px 0;
  color: var(--cream-muted);
}

.floating-detail {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 9px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 240, 245, 0.26);
  border-radius: 5px;
  background: var(--pink);
  box-shadow: 0 14px 34px rgba(6, 2, 9, 0.42), 0 0 0 4px rgba(255, 64, 129, 0.12);
  color: #160912;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.floating-detail:hover {
  background: var(--pink-soft);
  box-shadow: 0 18px 38px rgba(6, 2, 9, 0.5), 0 0 0 5px rgba(0, 230, 118, 0.14);
  transform: translateY(-3px);
}

.site-footer {
  padding: 58px 0 22px;
  background: #0c090f;
  color: var(--cream-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.25fr;
  gap: 60px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--cream);
}

.footer-brand span {
  font-size: 12px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.site-footer nav a:hover,
.footer-bottom a:hover {
  color: var(--pink-soft);
}

.site-footer p {
  margin-bottom: 0;
  font-size: 12px;
}

.footer-links {
  margin-top: 48px;
  padding: 28px 0 2px;
  border-top: 1px solid var(--border);
  background: rgba(39, 23, 47, 0.42);
  text-align: center;
}

.footer-links h2 {
  margin: 0 0 18px;
  color: var(--pink-soft);
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 26px;
}

.footer-links-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid rgba(255, 240, 245, 0.2);
  border-radius: 999px;
  background: rgba(255, 64, 129, 0.1);
  color: var(--cream);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.footer-link:hover {
  border-color: var(--pink-soft);
  background: rgba(255, 64, 129, 0.22);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 42px;
  padding: 18px 150px 0 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.error-page {
  display: grid;
  width: min(calc(100% - 32px), 620px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 64px 0;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.error-page > img {
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  object-fit: cover;
}

.error-page h1 {
  margin-bottom: 12px;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 46px;
}

.error-page > p:not(.section-kicker) {
  margin-bottom: 28px;
  color: var(--cream-muted);
}

@media (max-width: 1120px) {
  .primary-nav {
    gap: 14px;
    font-size: 13px;
  }

  .nav-cta {
    padding-inline: 12px;
  }

  .intro-grid,
  .character-layout,
  .feature-lead {
    gap: 46px;
  }

  .content-showcase {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  }

  .guide-grid {
    gap: 44px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    border-bottom: 1px solid transparent;
    background: rgba(16, 11, 20, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: max-height 220ms ease, padding 220ms ease, opacity 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding-block: 16px 24px;
    border-bottom-color: var(--border);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav a:not(.nav-cta) {
    padding: 11px 4px;
  }

  .primary-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    min-height: 46px;
    margin-top: 5px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .intro-grid,
  .content-showcase,
  .character-layout,
  .guide-grid,
  .feature-lead,
  .system-layout {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .character-layout,
  .feature-lead,
  .system-layout {
    gap: 52px;
  }

  .figure-tall {
    aspect-ratio: 16 / 10;
  }

  .wide-figure {
    min-height: 500px;
  }

  .character-visual {
    order: 2;
  }

  .guide-aside {
    position: static;
  }

  .guide-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .guide-aside img {
    aspect-ratio: auto;
  }

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

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .screenshot-thumbnails {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    aspect-ratio: 3 / 1.15;
  }

  .system-layout {
    gap: 32px;
  }

}

@media (max-width: 760px) {
  .section-inner,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 32px), var(--max));
  }

  .hero-media {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 8, 15, 0.94) 0%, rgba(18, 10, 24, 0.78) 70%, rgba(12, 8, 15, 0.42) 100%),
      linear-gradient(0deg, rgba(16, 11, 20, 0.94) 0%, transparent 54%);
  }

  .hero-inner {
    padding: 110px 0 88px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-en {
    font-size: 18px;
  }

  .hero-summary {
    max-width: 560px;
    font-size: 16px;
  }

  .hero-next span {
    display: none;
  }

  .section {
    padding: 82px 0;
  }

  .section h2 {
    font-size: 31px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 38px;
  }

  .lead {
    font-size: 17px;
  }

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

  .fact-grid > div {
    min-height: 126px;
    padding: 22px 18px;
    border-bottom: 1px solid var(--border);
  }

  .fact-grid > div:nth-child(2n) {
    border-right: 1px solid var(--border);
  }

  .wide-figure {
    min-height: auto;
    aspect-ratio: auto;
  }

  .wide-figure img {
    aspect-ratio: 16 / 10;
  }

  .character-row {
    grid-template-columns: 88px 1fr;
  }

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

  .feature-grid article {
    min-height: 0;
  }

  .screenshot-gallery {
    gap: 12px;
  }

  .screenshot-thumbnails {
    gap: 8px;
  }

  .spec-table {
    overflow-x: auto;
  }

  .spec-table > div {
    min-width: 620px;
  }

  .update-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .update-list ul {
    grid-template-columns: 1fr;
  }

  .faq-intro {
    margin-bottom: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .footer-grid > p {
    grid-column: 1 / -1;
  }

  .footer-links {
    margin-top: 38px;
  }
}

@media (max-width: 520px) {
  .brand {
    min-width: 0;
    font-size: 15px;
  }

  .brand img {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

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

  .hero-facts div:last-child {
    display: none;
  }

  .section h2 {
    font-size: 27px;
  }

  .floating-detail {
    right: 16px;
    bottom: 16px;
    min-height: 46px;
    padding: 11px 14px;
    font-size: 13px;
  }

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

  .fact-grid > div {
    border-right: 1px solid var(--border);
  }

  .guide-aside {
    display: block;
  }

  .route-list li {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .character-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .faq-list summary {
    padding-right: 44px;
    font-size: 16px;
  }

  .faq-list details p {
    margin-right: 0;
  }

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

  .footer-grid > p {
    grid-column: auto;
  }

  .footer-links-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-link {
    width: 100%;
  }

  .footer-bottom {
    padding-right: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-height: 700px) and (min-width: 521px) {
  .hero-inner {
    padding-top: 104px;
    padding-bottom: 74px;
  }

  .hero-facts {
    display: none;
  }

  .hero-actions {
    margin-bottom: 0;
  }
}

/* Unified border-radius system */
.fact-grid,
.fact-grid > div,
.content-list,
.content-list article,
.character-row,
.route-list li,
.feature-grid,
.feature-grid article,
.spec-table,
.spec-table > div,
.update-list,
.update-list article,
.faq-list,
.faq-list details,
.feature-figure,
.wide-figure,
.character-visual,
.guide-aside,
.feature-lead figure,
.screenshot-main {
  border-radius: var(--radius-card);
}

.nav-cta,
.button,
.floating-detail,
.footer-link,
.menu-toggle,
.skip-link {
  border-radius: var(--radius-button);
}

.feature-figure img,
.wide-figure img,
.character-visual img,
.guide-aside img,
.feature-lead figure img,
.screenshot-main img,
.screenshot-thumbnail,
.screenshot-thumbnail img {
  border-radius: var(--radius-image);
}

.eyebrow,
.section-kicker,
.fact-grid span,
.content-list article > span,
.route-list li > span,
.feature-grid article > span,
.guide-aside span,
.update-list time,
.faq-list summary::after,
.feature-figure figcaption span {
  border-radius: var(--radius-tag);
}

/* Unified mouse hover feedback */
.fact-grid > div,
.content-list article,
.character-row,
.feature-grid article,
.update-list article,
.faq-list details,
.feature-figure,
.wide-figure,
.character-visual,
.guide-aside,
.feature-lead figure,
.screenshot-main {
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-figure img,
.wide-figure img,
.character-visual img,
.guide-aside img,
.feature-lead figure img,
.screenshot-main img,
.screenshot-thumbnail img {
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.nav-cta,
.button,
.floating-detail,
.footer-link,
.menu-toggle,
.screenshot-thumbnail {
  transition: transform 0.3s ease, filter 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.primary-nav a:not(.nav-cta) {
  transition: color 0.3s ease;
}

.primary-nav a:not(.nav-cta)::after {
  transform-origin: left;
  transition: transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .fact-grid > div:hover,
  .content-list article:hover,
  .character-row:hover,
  .feature-grid article:hover,
  .update-list article:hover,
  .faq-list details:hover,
  .feature-figure:hover,
  .wide-figure:hover,
  .character-visual:hover,
  .guide-aside:hover,
  .feature-lead figure:hover,
  .screenshot-main:hover {
    z-index: 2;
    border-color: rgba(255, 64, 129, 0.62);
    background-color: rgba(255, 64, 129, 0.07);
    box-shadow: 0 16px 38px rgba(255, 64, 129, 0.18), 0 0 24px rgba(0, 230, 118, 0.08);
    transform: translateY(-6px);
  }

  .feature-figure:hover img,
  .wide-figure:hover img,
  .character-visual:hover img,
  .guide-aside:hover img,
  .feature-lead figure:hover img,
  .screenshot-main:hover img,
  .screenshot-thumbnail:hover img {
    filter: brightness(1.08) saturate(1.06);
    transform: scale(1.045);
  }

  .nav-cta:hover,
  .button:hover,
  .floating-detail:hover,
  .footer-link:hover,
  .menu-toggle:hover {
    filter: brightness(1.14);
    box-shadow: 0 10px 26px rgba(255, 64, 129, 0.26);
    transform: translateY(-2px) scale(1.04);
  }

  .screenshot-thumbnail:hover {
    filter: brightness(1.12);
    box-shadow: 0 8px 22px rgba(255, 64, 129, 0.24);
    transform: translateY(-2px) scale(1.025);
  }

  /* Keep the guide tip readable on the light guide section while hovering. */
  .guide-aside:hover {
    background: var(--bg-deep);
    background-color: var(--bg-deep);
    color: var(--cream);
  }

  .guide-aside:hover span {
    color: var(--green);
  }

  .guide-aside:hover h3 {
    color: var(--cream);
    text-shadow: 0 1px 10px rgba(255, 240, 245, 0.16);
  }

  .guide-aside:hover p {
    color: var(--cream-muted);
  }
}

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

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

@media print {
  .site-header,
  .hero-actions,
  .hero-next,
  .floating-detail,
  .site-footer {
    display: none !important;
  }

  body,
  .section,
  .section-guide,
  .section-content,
  .section-updates,
  .section-characters,
  .section-faq,
  .section-system {
    background: #fff !important;
    color: #111 !important;
  }

  p,
  li,
  dd,
  small {
    color: #333 !important;
  }
}
