:root {
  --bg-top: #2b184c;
  --bg: #1a0f2e;
  --bg-bottom: #141836;
  --surface: #25183b;
  --surface-strong: #302047;
  --rose: #d92662;
  --rose-light: #ef5c88;
  --gold: #d9bc73;
  --gold-light: #f1dda4;
  --ivory: #f7f1e2;
  --muted: #c8bdd8;
  --cyan: #69c9dc;
  --green: #79c9a5;
  --line: rgba(217, 188, 115, 0.22);
  --line-soft: rgba(247, 241, 226, 0.12);
  --header-height: 68px;
  --page-width: 1180px;
  --shadow: 0 20px 50px rgba(10, 6, 24, 0.28);
}

@property --detail-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes detail-border-flow {
  to {
    --detail-border-angle: 360deg;
  }
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", SimSun, serif;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: 36px;
}

h3 {
  font-size: 22px;
}

::selection {
  color: #20112f;
  background: var(--gold-light);
}

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

.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  overflow: visible;
  vertical-align: -0.18em;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

h1,
h2 {
  color: var(--ivory);
  background-image: linear-gradient(115deg, #fff8df 0%, #f1dda4 42%, #ef8aae 76%, #d9bc73 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.character-section h2,
.faq-section h2 {
  background-image: linear-gradient(115deg, #2b184c 0%, #70416f 48%, #b02558 78%, #7e5423 100%);
}

.page-shell {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #20112f;
  background: var(--gold-light);
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.reading-progress {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--rose-light));
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(26, 15, 46, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(8, 5, 18, 0.22);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border: 1px solid rgba(217, 188, 115, 0.5);
  border-radius: 50%;
  object-fit: cover;
}

.brand span {
  overflow: hidden;
  max-width: 230px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(247, 241, 226, 0.8);
}

.site-nav .icon {
  width: 15px;
  height: 15px;
  color: var(--gold-light);
}

.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

.site-nav > a:hover,
.site-nav > a.is-active {
  color: var(--ivory);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 16px;
  color: var(--ivory);
  background: var(--rose);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.nav-cta span {
  margin-left: 7px;
}

.nav-cta .icon {
  width: 17px;
  height: 17px;
  color: currentColor;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 25px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle .icon {
  position: absolute;
  width: 25px;
  height: 25px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-toggle .icon-menu {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.menu-toggle .icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.menu-toggle[aria-expanded="true"] .icon-menu {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.menu-toggle[aria-expanded="true"] .icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.hero {
  position: relative;
  display: flex;
  min-height: 620px;
  height: min(760px, calc(100svh - 76px));
  overflow: hidden;
  background: var(--bg-top);
  isolation: isolate;
}

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

.hero-media img {
  object-fit: cover;
  object-position: 60% 45%;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 15, 46, 0.98) 0%, rgba(43, 24, 76, 0.82) 34%, rgba(26, 15, 46, 0.18) 70%, rgba(26, 15, 46, 0.05) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(26, 15, 46, 0.08) 34%, rgba(26, 15, 46, 0.1) 100%);
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 10% 36% 3% 12%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(217, 38, 98, 0.25), rgba(26, 15, 46, 0) 66%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: 76px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  display: inline-block;
  width: 30px;
  height: 1px;
  margin-right: 10px;
  content: "";
  vertical-align: middle;
  background: var(--rose-light);
}

.hero h1 {
  max-width: 750px;
  margin-bottom: 20px;
  font-size: 60px;
  filter: drop-shadow(0 5px 18px rgba(6, 2, 12, 0.38));
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 4px 11px;
  background: transparent;
  border-radius: 999px;
}

.hero-tags li::before {
  position: absolute;
  inset: 0;
  padding: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(115deg, #ffe47a 0%, #ff5d9d 42%, #ab62ff 72%, #55e8ff 100%);
  border-radius: inherit;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.hero-tags span {
  color: transparent;
  background: linear-gradient(115deg, #fff0a8 0%, #ff75ad 46%, #c88cff 74%, #7cecff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 28px;
  color: rgba(247, 241, 226, 0.86);
  font-size: 19px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 21px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  margin-left: 10px;
}

.button .icon {
  width: 19px;
  height: 19px;
}

.button-primary {
  color: var(--ivory);
  background: var(--rose);
  border: 1px solid var(--rose-light);
  box-shadow: 0 12px 28px rgba(217, 38, 98, 0.24);
}

.button-primary:hover {
  background: #eb356f;
}

.button-secondary {
  color: var(--ivory);
  background: rgba(26, 15, 46, 0.45);
  border: 1px solid rgba(247, 241, 226, 0.34);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  border-color: var(--gold);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 34px 0 0;
}

.hero-meta div {
  min-width: 155px;
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.hero-meta div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-meta dt {
  color: var(--gold);
  font-size: 12px;
}

.hero-meta dd {
  margin: 1px 0 0;
  color: var(--ivory);
  font-size: 14px;
  font-weight: 700;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  color: rgba(247, 241, 226, 0.72);
  font-size: 12px;
}

.scroll-cue span {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 34px;
  margin-right: 9px;
  border: 1px solid rgba(247, 241, 226, 0.48);
  border-radius: 12px;
}

.scroll-cue span::after {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 2px;
  height: 7px;
  content: "";
  background: var(--gold-light);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

.fact-band {
  position: relative;
  z-index: 4;
  background: var(--ivory);
  color: #241631;
  border-bottom: 1px solid rgba(36, 22, 49, 0.12);
}

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

.fact-grid div {
  min-width: 0;
  padding: 23px 22px;
  border-left: 1px solid rgba(36, 22, 49, 0.12);
}

.fact-grid div:first-child {
  border-left: 0;
}

.fact-grid span,
.fact-grid strong {
  display: block;
}

.fact-grid span {
  margin-bottom: 2px;
  color: #7a647c;
  font-size: 12px;
}

.fact-grid strong {
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section {
  padding: 110px 0;
}

.section-lead {
  color: var(--ivory);
  font-size: 18px;
  line-height: 1.9;
}

.section-copy > p:not(.section-kicker),
.section-heading > p,
.character-copy > p,
.updates-intro > p,
.faq-intro > p {
  color: var(--muted);
}

.intro-section {
  background:
    radial-gradient(circle at 78% 24%, rgba(217, 38, 98, 0.16), rgba(26, 15, 46, 0) 25%),
    linear-gradient(180deg, var(--bg-top), var(--bg));
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 78px;
  align-items: center;
}

.intro-figure {
  position: relative;
  margin: 0;
}

.intro-figure::before {
  position: absolute;
  z-index: 0;
  top: -20px;
  right: 22px;
  bottom: 44px;
  left: -20px;
  content: "";
  border: 1px solid var(--line);
  border-radius: 16px;
}

.intro-figure img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.intro-figure figcaption {
  position: relative;
  z-index: 1;
  margin: 14px 0 0 24px;
  color: var(--muted);
  font-size: 13px;
}

.keyword-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.keyword-line span {
  padding: 5px 11px;
  color: var(--gold-light);
  font-size: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 50px;
}

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

.section-heading > p {
  margin-bottom: 7px;
}

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

.system-grid article {
  position: relative;
  min-height: 270px;
  padding: 34px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease;
}

.system-grid article:hover {
  background: rgba(105, 201, 220, 0.05);
}

.system-index {
  display: block;
  margin-bottom: 38px;
  color: var(--rose-light);
  font: 700 12px/1 Arial, sans-serif;
}

.system-grid h3 {
  margin-bottom: 12px;
}

.system-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.cycle-band {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.cycle-media,
.cycle-media img,
.cycle-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cycle-media img {
  object-fit: cover;
  object-position: center;
}

.cycle-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 24, 54, 0.98) 0%, rgba(20, 24, 54, 0.88) 48%, rgba(20, 24, 54, 0.3) 100%),
    linear-gradient(180deg, rgba(20, 24, 54, 0.25), rgba(20, 24, 54, 0.82));
}

.cycle-content {
  position: relative;
  z-index: 2;
  padding-top: 92px;
  padding-bottom: 92px;
}

.cycle-content h2 {
  max-width: 560px;
}

.cycle-steps {
  max-width: 670px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(247, 241, 226, 0.16);
}

.cycle-steps li {
  display: grid;
  grid-template-columns: 84px 130px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  border-bottom: 1px solid rgba(247, 241, 226, 0.16);
}

.cycle-steps span {
  color: var(--rose-light);
  font-size: 12px;
  font-weight: 700;
}

.cycle-steps strong {
  color: var(--ivory);
}

.cycle-steps small {
  color: var(--muted);
  font-size: 14px;
}

.guide-section {
  background: linear-gradient(180deg, var(--bg-bottom), var(--bg));
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 72px;
  align-items: start;
}

.guide-list {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.guide-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.guide-list article > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--rose-light);
  font: 700 12px/1 Arial, sans-serif;
  border: 1px solid rgba(217, 38, 98, 0.45);
  border-radius: 50%;
}

.guide-list h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

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

.guide-figure {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  margin: 0;
}

.guide-figure picture,
.guide-figure img {
  width: 100%;
}

.guide-figure img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.guide-figure figcaption {
  padding: 18px 20px;
  color: var(--muted);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 16px;
  font-size: 13px;
}

.guide-figure figcaption strong {
  color: var(--gold-light);
}

.character-section {
  background: var(--ivory);
  color: #2a1936;
}

.character-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 72px;
  align-items: center;
}

.character-layout figure {
  margin: 0;
}

.character-layout img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 22px 48px rgba(31, 19, 39, 0.2);
}

.character-copy .section-kicker {
  color: #9c2452;
}

.character-copy .section-kicker::before {
  background: #9c2452;
}

.character-copy > p {
  color: #65546d;
}

.character-copy blockquote {
  margin: 28px 0;
  padding: 20px 0 20px 24px;
  color: #3a2446;
  font-family: "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 20px;
  font-weight: 700;
  border-left: 3px solid var(--rose);
}

.gallery-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 10%, rgba(217, 38, 98, 0.1), transparent 28%),
    var(--bg-top);
}

.gallery-heading {
  display: block;
  margin-bottom: 32px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  min-width: 0;
  margin: 0;
}

.gallery-open {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  background: #100b1c;
  border: 1px solid rgba(237, 211, 142, 0.2);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(3, 3, 12, 0.28);
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.gallery-open picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.gallery-open:hover {
  border-color: rgba(237, 211, 142, 0.55);
  box-shadow: 0 20px 46px rgba(3, 3, 12, 0.42);
}

.gallery-open:hover img {
  transform: scale(1.05);
}

.gallery-open:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  height: min(92svh, 920px);
  max-height: none;
  padding: 0;
  color: var(--ivory);
  background: rgba(10, 7, 18, 0.97);
  border: 1px solid rgba(237, 211, 142, 0.24);
  border-radius: 16px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(3, 2, 8, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 58px 88px 68px;
}

.lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  margin: 0;
}

.lightbox figure img {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 42px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox figcaption {
  min-height: 28px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.lightbox figcaption strong {
  color: var(--gold-light);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--ivory);
  background: rgba(32, 22, 50, 0.88);
  border: 1px solid rgba(237, 211, 142, 0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  color: #21142f;
  background: var(--gold-light);
  border-color: var(--gold-light);
  outline: 0;
}

.lightbox-close .icon,
.lightbox-nav .icon {
  width: 22px;
  height: 22px;
}

.lightbox-close {
  top: 14px;
  right: 14px;
}

.lightbox-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

body.lightbox-open {
  overflow: hidden;
}

.features-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(105, 201, 220, 0.09), rgba(26, 15, 46, 0) 24%),
    var(--bg);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 42px;
}

.feature-list article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.feature-list .feature-icon {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 26px;
  color: var(--cyan);
}

.feature-list article:nth-child(2n) .feature-icon {
  color: var(--green);
}

.feature-list article:nth-child(3n) .feature-icon {
  color: var(--rose-light);
}

.feature-list h3 {
  margin-bottom: 10px;
}

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

.updates-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-bottom));
}

.updates-layout {
  display: block;
}

.updates-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
  margin-bottom: 42px;
}

.updates-intro h2 {
  font-size: 38px;
}

.updates-intro img {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.update-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

.update-list article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  width: 100%;
  padding: 26px 28px;
  background: rgba(247, 241, 226, 0.045);
  border: 1px solid rgba(247, 241, 226, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(3, 3, 12, 0.12);
}

.update-list article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--rose-light);
  background: rgba(217, 38, 98, 0.1);
  border: 1px solid rgba(217, 38, 98, 0.28);
  border-radius: 50%;
  font: 700 12px/1 Arial, sans-serif;
}

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

.update-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.faq-section {
  background: var(--ivory);
  color: #291835;
}

.faq-layout {
  display: block;
}

.faq-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 38px;
}

.faq-intro .section-kicker {
  color: #9c2452;
}

.faq-intro .section-kicker::before {
  background: #9c2452;
}

.faq-intro h2 {
  font-size: 38px;
}

.faq-intro p {
  margin-bottom: 0;
  color: #6b596f;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  color: #8e1f4b;
  font-weight: 700;
  border-bottom: 1px solid rgba(142, 31, 75, 0.35);
}

.text-link span {
  margin-left: 8px;
}

.text-link .icon {
  width: 18px;
  height: 18px;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

.faq-list details {
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(41, 24, 53, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(43, 24, 76, 0.06);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 18px 24px;
  color: #36203f;
  font-family: "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

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

.faq-list summary span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #8e1f4b;
  border: 1px solid rgba(142, 31, 75, 0.25);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.faq-list summary span .icon {
  width: 17px;
  height: 17px;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: none;
  margin: -4px 76px 0 0;
  padding: 0 0 24px 24px;
  color: #6b596f;
  line-height: 1.85;
}

.floating-detail {
  position: fixed;
  z-index: 950;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 19px;
  color: var(--ivory);
  background: linear-gradient(135deg, #d92662, #b11e54);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(14, 7, 28, 0.42), 0 0 0 5px rgba(217, 38, 98, 0.1);
  font-size: 14px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.floating-detail:hover {
  background: linear-gradient(135deg, #eb356f, #c82760);
  box-shadow: 0 18px 38px rgba(14, 7, 28, 0.5), 0 0 0 7px rgba(217, 38, 98, 0.13);
  transform: translateY(-3px);
}

.floating-detail .icon {
  width: 20px;
  height: 20px;
  margin-right: 9px;
}

.detail-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 26px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(125deg, #ff4f8b 0%, #e22467 42%, #8d3ee8 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-bottom: 0;
  border-radius: 999px;
  box-shadow:
    0 14px 30px rgba(217, 38, 98, 0.34),
    0 0 22px rgba(255, 79, 139, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 180ms ease, filter 180ms ease;
  will-change: transform;
}

.detail-cta::before {
  position: absolute;
  z-index: -1;
  top: -30%;
  bottom: -30%;
  left: -55%;
  width: 42%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 420ms ease;
}

.detail-cta::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  padding: 2px;
  content: "";
  pointer-events: none;
  background: conic-gradient(
    from var(--detail-border-angle),
    #ff3b7d 0deg,
    #ffb52e 54deg,
    #fff36a 104deg,
    #42f5a7 158deg,
    #38d9ff 212deg,
    #6f7cff 266deg,
    #d95cff 316deg,
    #ff3b7d 360deg
  );
  border-radius: inherit;
  opacity: 0;
  filter: brightness(1.25) saturate(1.2);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: detail-border-flow 1.35s linear infinite;
  animation-play-state: paused;
  transition: opacity 220ms ease;
}

.detail-cta > * {
  position: relative;
  z-index: 2;
}

.detail-cta:hover {
  color: #fff;
  background: linear-gradient(125deg, #ff679b 0%, #ef2c72 42%, #9b4cf2 100%);
  box-shadow:
    0 17px 36px rgba(217, 38, 98, 0.42),
    0 0 28px rgba(255, 79, 139, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  filter: saturate(1.08);
  transform: translateY(-2px) scale(1.02);
}

.detail-cta:hover::before {
  left: 115%;
}

.detail-cta:hover::after {
  opacity: 1;
  animation-play-state: running;
}

.detail-cta:active {
  box-shadow:
    0 8px 18px rgba(217, 38, 98, 0.3),
    0 0 16px rgba(255, 79, 139, 0.22),
    inset 0 2px 4px rgba(68, 10, 45, 0.24);
  transform: translateY(0) scale(0.97);
  transition-duration: 70ms;
}

.detail-cta:focus-visible {
  outline: 3px solid rgba(255, 221, 137, 0.95);
  outline-offset: 4px;
}

.detail-cta .icon {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  color: currentColor;
}

.nav-cta.detail-cta {
  min-height: 44px;
  padding: 9px 19px;
  font-size: 14px;
}

.text-link.detail-cta {
  margin-top: 10px;
}

.floating-detail.detail-cta {
  position: fixed;
  min-height: 58px;
  padding: 14px 24px;
  font-size: 15px;
}

.friend-links {
  padding: 54px 0 58px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(105, 201, 220, 0.08), transparent 30%),
    linear-gradient(180deg, var(--bg-bottom), var(--bg));
  border-top: 1px solid rgba(105, 201, 220, 0.12);
  border-bottom: 1px solid rgba(217, 188, 115, 0.14);
}

.friend-links h2 {
  margin-bottom: 28px;
  padding: 0;
  color: var(--ivory);
  background: none;
  font-size: 28px;
  -webkit-text-fill-color: currentColor;
}

.friend-links nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 168px));
  gap: 18px;
  justify-content: center;
}

.friend-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 20px;
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(48, 32, 71, 0.92), rgba(37, 24, 59, 0.96));
  border: 1px solid rgba(217, 188, 115, 0.28);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(7, 4, 17, 0.18);
  font-size: 15px;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.friend-links a:hover {
  color: var(--gold-light);
  background: linear-gradient(180deg, rgba(60, 39, 86, 0.98), rgba(43, 26, 67, 0.98));
  border-color: rgba(241, 221, 164, 0.58);
  transform: translateY(-2px);
}

.friend-links a:focus-visible {
  outline: 3px solid rgba(241, 221, 164, 0.85);
  outline-offset: 3px;
}

.site-footer {
  padding: 52px 0;
  background: #11162f;
  border-top: 1px solid rgba(105, 201, 220, 0.14);
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: 48px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(217, 38, 98, 0.28), rgba(26, 15, 46, 0) 30%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
}

.error-page > img {
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.error-page h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: 44px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(360px, 1fr);
  gap: 32px 64px;
  align-items: center;
}

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

.footer-brand img {
  width: 54px;
  height: 54px;
  margin-right: 14px;
  border-radius: 50%;
  object-fit: cover;
}

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

.footer-brand span {
  color: var(--muted);
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav a:hover {
  color: var(--gold-light);
}

.footer-note {
  grid-column: 1 / -1;
  margin-bottom: 0;
  padding-top: 25px;
  color: rgba(200, 189, 216, 0.66);
  font-size: 12px;
  border-top: 1px solid rgba(247, 241, 226, 0.08);
}

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

  .brand span {
    max-width: 185px;
  }

  .intro-layout,
  .guide-layout,
  .character-layout {
    gap: 48px;
  }

  .system-grid article {
    padding: 30px 24px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 64px;
  }

  h2 {
    font-size: 32px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(360px, 88vw);
    height: calc(100svh - var(--header-height));
    padding: 28px;
    overflow-y: auto;
    background: rgba(26, 15, 46, 0.98);
    border-left: 1px solid var(--line);
    box-shadow: -20px 20px 50px rgba(8, 5, 18, 0.36);
    transform: translateX(105%);
    transition: transform 200ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav > a:not(.nav-cta) {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }

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

  .nav-cta {
    margin-top: 8px;
  }

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

  .intro-layout,
  .guide-layout,
  .character-layout,
  .updates-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .intro-layout,
  .guide-layout,
  .character-layout {
    gap: 52px;
  }

  .guide-figure,
  .updates-intro,
  .faq-intro {
    position: static;
  }

  .intro-figure {
    max-width: 720px;
    margin-inline: auto;
  }

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

  .updates-layout,
  .faq-layout {
    gap: 44px;
  }

  .updates-intro {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 0 36px;
    align-items: end;
  }

  .updates-intro > *:not(img) {
    grid-column: 1;
  }

  .updates-intro img {
    grid-column: 2;
    grid-row: 1 / 5;
    margin: 0;
  }

}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 32px), var(--page-width));
  }

  h2 {
    font-size: 31px;
  }

  .section {
    padding: 78px 0;
  }

  .brand span {
    max-width: 190px;
    font-size: 14px;
  }

  .hero {
    min-height: 620px;
    height: 78svh;
    max-height: 760px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(26, 15, 46, 0.94), rgba(26, 15, 46, 0.35)),
      linear-gradient(0deg, var(--bg) 0%, rgba(26, 15, 46, 0.12) 46%, rgba(26, 15, 46, 0.3) 100%);
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 64px;
  }

  .hero h1 {
    max-width: 420px;
    margin-bottom: 16px;
    font-size: 40px;
  }

  .hero-tags {
    max-width: 540px;
    margin-bottom: 16px;
  }

  .hero-lead {
    max-width: 540px;
    font-size: 16px;
  }

  .hero-meta {
    margin-top: 26px;
  }

  .hero-meta div {
    min-width: 0;
    padding: 0 16px;
  }

  .hero-meta div:first-child {
    padding-left: 0;
  }

  .scroll-cue {
    display: none;
  }

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

  .fact-grid div:nth-child(3) {
    border-left: 0;
  }

  .fact-grid div:nth-child(n + 3) {
    border-top: 1px solid rgba(36, 22, 49, 0.12);
  }

  .intro-layout {
    gap: 48px;
  }

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

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

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

  .system-index {
    margin-bottom: 24px;
  }

  .cycle-band {
    min-height: 720px;
  }

  .cycle-media img {
    object-position: 58% center;
  }

  .cycle-shade {
    background: linear-gradient(90deg, rgba(20, 24, 54, 0.97), rgba(20, 24, 54, 0.68));
  }

  .cycle-steps li {
    grid-template-columns: 68px 105px 1fr;
    gap: 10px;
  }

  .cycle-steps small {
    font-size: 12px;
  }

  .character-layout {
    gap: 38px;
  }

  .character-copy blockquote {
    font-size: 18px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .lightbox {
    width: calc(100vw - 16px);
    height: calc(100svh - 16px);
  }

  .lightbox-frame {
    padding: 58px 14px 82px;
  }

  .lightbox figure img {
    max-height: calc(100% - 36px);
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 60px);
  }

  .lightbox-next {
    right: calc(50% - 60px);
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }

  .updates-intro {
    display: block;
  }

  .updates-intro img {
    width: min(100%, 460px);
    margin-top: 26px;
  }

  .faq-intro {
    display: block;
  }

  .faq-intro .text-link {
    margin-top: 24px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  h2,
  .updates-intro h2,
  .faq-intro h2 {
    font-size: 26px;
  }

  .nav-shell {
    width: calc(100% - 24px);
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    max-width: 175px;
    font-size: 13px;
  }

  .hero {
    min-height: 610px;
    height: calc(100svh - 22px);
  }

  .hero h1 {
    max-width: 330px;
    font-size: 33px;
  }

  .hero-tags {
    gap: 7px;
    margin-bottom: 14px;
  }

  .hero-tags li {
    min-height: 27px;
    padding: 3px 9px;
  }

  .hero-tags span {
    font-size: 11px;
  }

  .eyebrow {
    max-width: 290px;
    font-size: 11px;
  }

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

  .button {
    min-width: 0;
    padding-inline: 13px;
    font-size: 14px;
  }

  .hero-meta div {
    width: 50%;
    margin-top: 10px;
  }

  .hero-meta div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .fact-grid div {
    padding: 18px 14px;
  }

  .fact-grid strong {
    font-size: 14px;
  }

  .intro-figure::before {
    display: none;
  }

  .intro-figure figcaption {
    margin-left: 0;
  }

  .cycle-band {
    min-height: 760px;
  }

  .cycle-steps li {
    grid-template-columns: 62px 1fr;
    padding: 12px 0;
  }

  .cycle-steps small {
    grid-column: 2;
  }

  .guide-list article {
    grid-template-columns: 40px 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .update-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    padding: 21px 18px;
  }

  .update-list article > span {
    width: 38px;
    height: 38px;
  }

  .update-list h3 {
    font-size: 18px;
  }

  .faq-list summary {
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 12px;
    min-height: 68px;
    padding: 16px 18px;
    font-size: 16px;
  }

  .faq-list details p {
    margin-right: 0;
    padding: 0 18px 20px;
  }

  .site-footer {
    padding-bottom: 38px;
  }

  .floating-detail {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 10px 15px;
    font-size: 13px;
  }

  .floating-detail .icon {
    width: 18px;
    height: 18px;
    margin-right: 7px;
  }
}

@media (max-width: 760px) {
  .friend-links {
    padding: 46px 0 92px;
  }

  .friend-links h2 {
    margin-bottom: 24px;
    font-size: 25px;
  }

  .friend-links nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .friend-links a {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 14px;
  }

  .floating-detail.detail-cta {
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
    min-height: 58px;
    padding: 14px 24px;
    font-size: 15px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-nav > a:not(.nav-cta) {
    transition: color 0.3s ease;
  }

  .site-nav > a:not(.nav-cta)::after {
    transition: transform 0.3s ease;
  }

  .fact-grid div,
  .system-grid article,
  .cycle-steps li,
  .guide-list article,
  .feature-list article,
  .update-list article,
  .faq-list details {
    position: relative;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease,
      background-color 0.3s ease,
      border-color 0.3s ease;
  }

  .fact-grid div:hover,
  .system-grid article:hover,
  .cycle-steps li:hover,
  .guide-list article:hover,
  .feature-list article:hover,
  .update-list article:hover,
  .faq-list details:hover {
    z-index: 2;
    transform: translateY(-6px);
  }

  .system-grid article:hover,
  .cycle-steps li:hover,
  .guide-list article:hover,
  .feature-list article:hover,
  .update-list article:hover {
    border-color: rgba(239, 92, 136, 0.38);
    box-shadow:
      0 16px 34px rgba(8, 4, 20, 0.3),
      0 0 24px rgba(217, 38, 98, 0.16),
      0 0 18px rgba(105, 201, 220, 0.09);
  }

  .fact-grid div:hover,
  .faq-list details:hover {
    box-shadow:
      0 15px 32px rgba(43, 24, 76, 0.14),
      0 0 22px rgba(217, 38, 98, 0.1);
  }

  .button,
  .nav-cta,
  .text-link.detail-cta,
  .floating-detail,
  .friend-links a,
  .lightbox-close,
  .lightbox-nav,
  .menu-toggle,
  .faq-list summary span {
    transition:
      transform 0.3s ease,
      filter 0.3s ease,
      box-shadow 0.3s ease,
      background-color 0.3s ease,
      border-color 0.3s ease,
      color 0.3s ease;
  }

  .button:hover,
  .nav-cta:hover,
  .text-link.detail-cta:hover,
  .floating-detail:hover,
  .friend-links a:hover,
  .lightbox-close:hover,
  .lightbox-nav:hover,
  .menu-toggle:hover,
  .faq-list summary:hover span {
    filter: brightness(1.14) saturate(1.08);
    transform: translateY(-2px) scale(1.04);
  }

  .detail-cta:active,
  .button:active,
  .friend-links a:active,
  .lightbox-close:active,
  .lightbox-nav:active,
  .menu-toggle:active {
    transform: translateY(0) scale(0.97);
  }

  .intro-figure img,
  .guide-figure img,
  .character-layout img,
  .updates-intro img,
  .gallery-open img {
    transition: transform 0.3s ease, filter 0.3s ease;
  }

  .intro-figure:hover img,
  .guide-figure:hover img,
  .character-layout figure:hover img,
  .updates-intro img:hover,
  .gallery-open:hover img {
    filter: brightness(1.05) saturate(1.05);
    transform: scale(1.05);
  }

  .gallery-open {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 761px) {
  .lightbox-nav:hover {
    transform: translateY(-50%) scale(1.04);
  }
}

@media (hover: hover) and (pointer: fine) {
  .faq-list details[open] summary:hover span {
    transform: rotate(45deg) scale(1.08);
  }
}

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

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