
/* ============================================================
   米提亚资料网 · 克隆站式视觉系统
   版式/动效参考 miHoYo 官网，配色沿用本站深紫黑 / 紫 / 冰蓝
   ============================================================ */

:root {
  --bg: #07060f;
  --bg-2: #0b0818;
  --bg-3: #120d24;
  --panel: rgba(19, 14, 38, .66);
  --panel-2: rgba(236, 234, 248, .035);
  --purple: #a78bfa;
  --blue: #7dd3fc;
  --text: #eceaf8;
  --muted: #9a94b8;
  --dim: rgba(236, 234, 248, .38);
  --border: rgba(160, 140, 255, .2);
  --line: rgba(150, 130, 255, .1);
  --nav-h: 84px;
  --gutter: clamp(26px, 5vw, 92px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-fp: cubic-bezier(.77, 0, .175, 1);
  --font: "MiSans VF", "MiSans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  --grad: linear-gradient(118deg, #7dd3fc, #a78bfa);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(60% 48% at 84% 12%, rgba(106, 71, 205, .2), transparent 72%),
    radial-gradient(46% 42% at 6% 84%, rgba(56, 189, 248, .08), transparent 72%),
    linear-gradient(160deg, #07060f 0%, #0a0716 46%, #06050d 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000, transparent 88%);
}
body.is-locked { overflow: hidden; }
::selection { background: rgba(167, 139, 250, .34); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { border: 0; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.text-gradient {
  color: transparent;
  background: linear-gradient(108deg, #fff 6%, var(--blue) 46%, var(--purple) 92%);
  -webkit-background-clip: text;
  background-clip: text;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  color: var(--blue); font: 600 10px/1.4 var(--mono);
  letter-spacing: .26em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.eyebrow--plain::before { display: none; }
.tag {
  display: inline-flex; align-items: center; min-height: 24px; padding: 2px 9px;
  border: 1px solid var(--border); color: var(--muted);
  font-size: 10px; letter-spacing: .1em;
}
.tag--blue { border-color: rgba(125, 211, 252, .3); color: var(--blue); background: rgba(125, 211, 252, .06); }
.stars { color: #d9c18d; font-size: 11px; letter-spacing: .18em; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
.empty-state { grid-column: 1 / -1; padding: 60px 24px; border: 1px dashed var(--border); color: var(--muted); text-align: center; font-size: 13px; }
.empty-state strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 17px; }

/* ---------- 按钮 ---------- */
.button {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; min-height: 46px; padding: 0 24px; overflow: hidden;
  border: 1px solid var(--border); color: var(--text);
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  transition: transform .35s var(--ease), border-color .35s, color .35s, box-shadow .35s, background .35s;
}
.button::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateX(-102%);
  background: linear-gradient(100deg, rgba(125, 211, 252, .18), rgba(167, 139, 250, .22));
  transition: transform .5s var(--ease);
}
.button:hover { transform: translateY(-2px); border-color: var(--blue); box-shadow: 0 14px 36px rgba(77, 52, 145, .26); }
.button:hover::before { transform: translateX(0); }
.button--primary { border-color: rgba(125, 211, 252, .55); background: linear-gradient(110deg, rgba(125, 211, 252, .14), rgba(167, 139, 250, .16)); }
.button--ghost { background: rgba(7, 6, 15, .3); backdrop-filter: blur(8px); }
.button--small { min-height: 36px; padding: 0 16px; font-size: 11px; }
.button__arrow { font-size: 17px; font-weight: 300; line-height: 1; transition: transform .35s var(--ease); }
.button:hover .button__arrow { transform: translateX(5px); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-size: 12px; letter-spacing: .1em;
  cursor: pointer;
}
.text-link::after { content: "↗"; transition: transform .35s var(--ease); }
.text-link:hover::after { transform: translate(4px, -4px); }
.icon-button {
  display: inline-grid; width: 40px; height: 40px; place-items: center;
  border: 1px solid var(--border); color: var(--text);
  transition: border-color .25s, color .25s, background .25s, transform .25s;
}
.icon-button:hover { border-color: var(--blue); color: var(--blue); background: rgba(125, 211, 252, .07); transform: translateY(-2px); }

/* ---------- 页签 / 筛选 ---------- */
.tab-pills { display: flex; align-items: center; gap: 2px; }
.tab-pill {
  position: relative; padding: 8px 24px; color: var(--muted);
  font-size: 13px; letter-spacing: .04em; transition: color .3s, background .3s;
}
.tab-pill:hover { color: var(--text); }
.tab-pill.is-active { color: #0a0716; background: var(--grad); font-weight: 600; }
.tab-divider { width: 1px; height: 14px; margin-left: 12px; background: var(--border); }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip {
  padding: 7px 16px; border: 1px solid var(--border); color: var(--muted);
  font-size: 12px; letter-spacing: .06em; transition: .28s;
}
.chip:hover { color: var(--text); border-color: rgba(125, 211, 252, .4); }
.chip.is-active { color: #0a0716; background: var(--grad); border-color: transparent; font-weight: 600; }
.chip .mono { margin-left: 6px; opacity: .6; font-size: 10px; }

/* ============================================================
   固定外壳：头部 / 侧边装饰 / 滚动提示
   ============================================================ */
.c-header {
  position: fixed; inset: 0 0 auto; z-index: 120;
  display: flex; align-items: center; gap: 28px;
  height: var(--nav-h); padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), background .35s, border-color .35s, backdrop-filter .35s;
}
.c-header.is-solid {
  border-bottom-color: var(--line);
  background: rgba(7, 6, 15, .74);
  backdrop-filter: blur(18px) saturate(140%);
}
.c-header.is-hidden { transform: translateY(-100%); }
.c-logo { display: inline-flex; flex: 0 0 auto; align-items: center; }
.c-logo img { width: auto; height: 34px; filter: drop-shadow(0 0 14px rgba(167, 139, 250, .22)); }
.c-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.c-nav__link {
  position: relative; display: block; height: 42px; padding: 0 16px;
  overflow: hidden; color: var(--muted);
  font-size: 13.5px; line-height: 42px; letter-spacing: .04em;
  transition: color .3s;
}
.c-nav__link span, .c-nav__link b {
  display: block; height: 42px; line-height: 42px;
  transition: transform .45s var(--ease);
}
.c-nav__link b { position: absolute; inset: 0; padding: 0 16px; transform: translateY(100%); color: var(--text); font-weight: 400; }
.c-nav__link:hover span { transform: translateY(-100%); }
.c-nav__link:hover b { transform: translateY(0); }
.c-nav__link.is-active { color: var(--blue); }
.c-nav__link.is-active b { color: var(--blue); }
.c-nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1px;
  transform: scaleX(0); transform-origin: left;
  background: var(--grad); transition: transform .4s var(--ease);
}
.c-nav__link.is-active::after { transform: scaleX(1); }
.c-side-tools { display: flex; align-items: center; gap: 14px; padding-left: 22px; margin-left: 6px; border-left: 1px solid var(--line); }
.c-badge {
  padding: 3px 9px; border: 1px solid rgba(125, 211, 252, .24); color: var(--blue);
  font: 500 9px/1.6 var(--mono); letter-spacing: .16em;
}
.c-search { display: grid; width: 32px; height: 32px; place-items: center; color: var(--muted); transition: color .25s; }
.c-search:hover { color: var(--blue); }
.c-search svg { width: 18px; height: 18px; }
.c-lang {
  display: flex; align-items: center; gap: 8px; margin-left: 18px;
  color: var(--muted); font: 500 10px/1 var(--mono); letter-spacing: .12em;
}
.c-lang i { display: block; width: 1px; height: 15px; background: var(--border); transform: rotate(22deg); }
.c-lang span { transition: color .25s; }
.c-lang span.is-active, .c-lang span:hover { color: var(--blue); }
.c-burger { display: none; width: 40px; height: 40px; margin-left: 6px; padding: 11px 8px; }
.c-burger span { display: block; height: 1px; margin: 5px 0; background: var(--text); transition: transform .35s, opacity .3s; }
.c-burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.c-burger.is-open span:nth-child(2) { opacity: 0; }
.c-burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.c-drawer { position: fixed; inset: 0; z-index: 110; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.c-drawer.is-open { visibility: visible; opacity: 1; }
.c-drawer__bg { position: absolute; inset: 0; background: rgba(3, 2, 9, .76); backdrop-filter: blur(10px); }
.c-drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(400px, 88vw);
  padding: calc(var(--nav-h) + 24px) 34px 40px;
  transform: translateX(100%); border-left: 1px solid var(--border);
  background: #0a0716; transition: transform .5s var(--ease);
  overflow-y: auto;
}
.c-drawer.is-open .c-drawer__panel { transform: translateX(0); }
.c-drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 19px; letter-spacing: .06em;
}
.c-drawer__link small { color: rgba(154, 148, 184, .4); font: 10px var(--mono); }
.c-drawer__link.is-active, .c-drawer__link:hover { color: var(--blue); }
.c-drawer__note { margin-top: 30px; color: var(--muted); font-size: 11px; line-height: 2; }

/* 侧边装饰 */
.deco { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 1; transition: opacity .5s; }
.deco.is-off { opacity: 0; }
.deco__text {
  position: absolute; left: 30px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: rgba(154, 148, 184, .5);
  font: 500 9px/1 var(--mono); letter-spacing: .4em;
  transition: color .5s;
}
.deco__bar { position: absolute; width: 3px; background: var(--grad); box-shadow: 0 0 16px rgba(125, 211, 252, .3); }
.deco__bar--l { left: 30px; top: 22%; height: 96px; }
.deco__bar--r { right: 0; top: 56px; height: 84px; width: 4px; }
.deco__word {
  position: absolute; right: -26px; top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  color: rgba(236, 234, 248, .055);
  font-size: clamp(46px, 6.4vw, 92px); font-weight: 700; letter-spacing: .1em;
  white-space: nowrap; user-select: none;
}
.deco__micro {
  position: absolute; right: 30px; top: 118px;
  writing-mode: vertical-rl;
  color: rgba(154, 148, 184, .34);
  font: 500 8px/1 var(--mono); letter-spacing: .34em;
}
.deco__dots {
  position: absolute; width: 116px; height: 148px;
  background-image: radial-gradient(rgba(167, 139, 250, .55) 1px, transparent 1px);
  background-size: 10px 10px; opacity: .18;
}
.deco__dots--l { left: 28px; top: 30%; }
.deco__dots--r { right: 28px; bottom: 16%; }
.deco__hline { position: absolute; left: var(--gutter); right: var(--gutter); top: var(--nav-h); height: 1px; background: linear-gradient(90deg, transparent, rgba(160, 140, 255, .16) 12%, rgba(160, 140, 255, .16) 88%, transparent); }

.scrolltip {
  position: fixed; right: 30px; bottom: 30px; z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted); transition: opacity .4s;
}
.scrolltip__num {
  display: grid; width: 28px; height: 28px; place-items: center;
  border: 1px solid var(--border); border-radius: 50%;
  font: 500 10px/1 var(--mono); color: var(--text);
  transition: border-color .3s, color .3s;
}
.scrolltip:hover .scrolltip__num { border-color: var(--blue); color: var(--blue); }
.scrolltip__line { width: 1px; height: 62px; background: linear-gradient(rgba(160, 140, 255, .5), transparent); }
.scrolltip__line::before {
  content: ""; display: block; width: 1px; height: 14px;
  background: var(--blue); animation: tipdrop 2.4s var(--ease) infinite;
}
@keyframes tipdrop { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(48px); opacity: 0; } }

.scroll-progress {
  position: fixed; inset: 0 0 auto; z-index: 140; height: 2px;
  transform: scaleX(0); transform-origin: left;
  background: var(--grad); box-shadow: 0 0 12px rgba(167, 139, 250, .5);
}
.back-top { position: fixed; right: 26px; bottom: 26px; z-index: 70; visibility: hidden; opacity: 0; transform: translateY(10px); transition: .3s; }
.back-top.is-visible { visibility: visible; opacity: 1; transform: translateY(0); }

/* ============================================================
   全屏吸附
   ============================================================ */
.fp { position: relative; z-index: 2; height: 100vh; overflow: hidden; }
.fp__track { height: 100%; transition: transform .88s var(--ease-fp); will-change: transform; }
.fp__slide { position: relative; z-index: 2; height: 100vh; overflow: hidden; }
.fp__stage {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  width: 100%; height: 100%;
  padding: calc(var(--nav-h) + 10px) var(--gutter) 30px;
}
.stage { width: min(1300px, 100%); margin: 0 auto; }
.stage--fill { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.fp__slide.is-active { z-index: 2; }
.fp__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.fp__scroll::-webkit-scrollbar { display: none; }

/* 屏内通用标题 */
.slide-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.slide-head__copy { max-width: 620px; }
.slide-title { margin-top: 14px; font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.16; letter-spacing: .04em; }
.slide-desc { max-width: 520px; margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.9; }
.slide-head__meta { display: flex; align-items: center; gap: 24px; padding-bottom: 6px; }
.slide-index { color: rgba(236, 234, 248, .12); font: 400 clamp(38px, 5vw, 68px)/1 var(--mono); letter-spacing: -.06em; }

/* ============================================================
   首页 · 第一屏 HERO
   ============================================================ */
.hero { position: relative; height: 100%; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 6, 15, .96) 0%, rgba(7, 6, 15, .88) 32%, rgba(7, 6, 15, .4) 56%, rgba(7, 6, 15, .16) 80%, rgba(7, 6, 15, .58) 100%),
    linear-gradient(0deg, rgba(7, 6, 15, .96) 2%, transparent 42%, rgba(7, 6, 15, .5) 100%);
}
.hero__art {
  position: absolute; right: -5%; bottom: -6%;
  width: min(52vw, 800px); height: 102%;
  object-fit: contain; object-position: bottom right;
  opacity: .96;
  filter: drop-shadow(0 30px 80px rgba(94, 60, 190, .45));
  transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1.02);
  transition: transform .8s var(--ease);
  mask-image: linear-gradient(100deg, transparent 2%, #000 22%, #000 92%, transparent 100%);
}
.hero__watermark {
  position: absolute; left: -2%; bottom: 4%;
  color: rgba(236, 234, 248, .028);
  font-size: clamp(120px, 20vw, 300px); font-weight: 700; letter-spacing: -.04em; line-height: .8;
  white-space: nowrap; user-select: none;
}
#star-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.hero__logo { position: absolute; left: var(--gutter); top: 26px; z-index: 4; }
.hero__logo img { height: 36px; width: auto; filter: drop-shadow(0 0 16px rgba(167, 139, 250, .25)); }
.hero__inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding: 0 var(--gutter); }
.hero__slogan { margin-left: clamp(0px, 12vw, 200px); }
.hero__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--blue); font: 500 10px/1 var(--mono); letter-spacing: .34em; }
.hero__kicker i { display: block; width: 44px; height: 1px; background: currentColor; opacity: .7; }
.hero__lines { font-size: clamp(34px, 4.7vw, 66px); font-weight: 700; line-height: 1.08; letter-spacing: .02em; }
.hero__lines span { display: block; }
.hero__lines em { font-style: normal; color: var(--blue); }
.hero__lines em.is-alt { color: var(--purple); }
.hero__sub { max-width: 430px; margin-top: 24px; color: var(--muted); font-size: 13.5px; line-height: 1.95; }
.hero__actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.hero__play {
  display: inline-flex; align-items: center; gap: 12px;
  height: 42px; padding: 0 20px;
  border: 1px solid rgba(236, 234, 248, .34);
  color: var(--text); font: 500 10px/1 var(--mono); letter-spacing: .22em;
  transition: border-color .3s, background .3s, transform .3s;
}
.hero__play i { font-size: 9px; color: var(--blue); }
.hero__play:hover { border-color: var(--blue); background: rgba(125, 211, 252, .07); transform: translateY(-2px); }
.hero__link { color: var(--muted); font-size: 12px; letter-spacing: .14em; transition: color .3s; }
.hero__link:hover { color: var(--blue); }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: rgba(236, 234, 248, .5); font: 500 10px/1 var(--mono); letter-spacing: .3em;
}
.hero__foot i { display: block; width: 1px; height: 26px; background: linear-gradient(rgba(236, 234, 248, .4), transparent); }

/* ============================================================
   通用「产品信息」版式（首页资料 / 角色，角色页复用）
   ============================================================ */
.product { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(36px, 4.6vw, 86px); align-items: center; width: 100%; }
.product--mirror { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); }
.product--mirror .product__stage { order: 2; }
.product--mirror .product__info { order: 1; }

.product__stage { position: relative; display: flex; flex-direction: column; gap: 14px; height: min(66vh, 560px); }
.product__media { position: relative; flex: 1; min-height: 0; }
.product__frame {
  position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid rgba(125, 211, 252, .16);
  pointer-events: none;
}
.product__frame::before, .product__frame::after {
  content: ""; position: absolute; width: 6px; height: 6px; background: var(--blue);
}
.product__frame::before { left: -3px; top: -3px; }
.product__frame::after { right: -3px; bottom: -3px; }
.product__panel {
  position: absolute; inset: 0; overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 70% at 30% 20%, rgba(167, 139, 250, .16), transparent 70%),
    linear-gradient(150deg, rgba(24, 17, 48, .92), rgba(9, 7, 20, .96));
  clip-path: polygon(0 0, 100% 0, 96.5% 100%, 0 100%);
}
.product__panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(150, 130, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 130, 255, .08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 40% 40%, #000, transparent 85%);
}
.product__word {
  position: absolute; left: 26px; bottom: 8px;
  color: rgba(236, 234, 248, .05);
  font-size: clamp(58px, 7vw, 108px); font-weight: 700; letter-spacing: -.02em; line-height: .9;
  white-space: nowrap; pointer-events: none;
}
.product__art {
  position: absolute; inset: 4% 4% 0 4%;
  display: flex; align-items: flex-end; justify-content: center;
  transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.product__art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 24px 60px rgba(90, 60, 180, .4)); }
.product__art.is-changing { opacity: 0; transform: translateY(14px) scale(.98); }
.product__expand {
  position: absolute; right: 22px; bottom: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border: 1px solid rgba(236, 234, 248, .22);
  background: rgba(7, 6, 15, .5); backdrop-filter: blur(6px);
  color: var(--text); font: 500 9px/1 var(--mono); letter-spacing: .18em;
  transition: .3s;
}
.product__expand:hover { border-color: var(--blue); color: var(--blue); }
.product__arrows { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; z-index: 3; }
.product__arrow {
  display: grid; width: 32px; height: 32px; place-items: center;
  border: 1px solid var(--border); background: rgba(7, 6, 15, .66);
  color: var(--muted); font-size: 13px; transition: .28s;
}
.product__arrow:hover { color: var(--blue); border-color: var(--blue); background: rgba(125, 211, 252, .1); }

.product__info { position: relative; padding-left: 8px; }
.product__kicker { display: flex; align-items: center; gap: 14px; color: var(--muted); font: 500 10px/1 var(--mono); letter-spacing: .26em; }
.product__kicker b { color: var(--blue); font-weight: 500; }
.product__name {
  margin-top: 16px;
  font-size: clamp(38px, 4.4vw, 62px); font-weight: 700; line-height: 1.04; letter-spacing: .02em;
}
.product__en-row { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 10px; }
.product__en-row i { display: block; width: clamp(40px, 7vw, 96px); height: 1px; background: linear-gradient(90deg, transparent, rgba(125, 211, 252, .7)); transform: rotate(-26deg); transform-origin: right; }
.product__en { color: var(--blue); font: 500 12px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; }
.product__title-cn { margin-top: 16px; color: var(--purple); font-size: 14px; letter-spacing: .18em; }
.product__desc { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 2; text-align: right; }
.product__quote { margin-top: 20px; padding-right: 14px; border-right: 1px solid rgba(167, 139, 250, .4); color: rgba(236, 234, 248, .72); font-size: 13px; line-height: 1.9; text-align: right; }
.product__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; margin-top: 26px; }
.product__link { position: relative; color: var(--text); font-size: 12.5px; letter-spacing: .06em; }
.product__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--blue); transition: transform .35s var(--ease); }
.product__link:hover { color: var(--blue); }
.product__link:hover::after { transform: scaleX(1); }
.product__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 32px; }
.product__filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; margin-bottom: 22px; }
.filter-link { position: relative; color: rgba(154, 148, 184, .72); font-size: 11.5px; letter-spacing: .08em; transition: color .25s; }
.filter-link:hover { color: var(--text); }
.filter-link.is-active { color: var(--blue); }
.filter-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px; background: currentColor; }
.product-page__crumb { padding: 2px 0 14px; }

.product__thumbs { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; padding-left: 4px; overflow-x: auto; scrollbar-width: none; }
.product__thumbs::-webkit-scrollbar { display: none; }
.product__thumb {
  position: relative; flex: 0 0 auto;
  width: 50px; height: 50px; overflow: hidden;
  border: 1px solid rgba(236, 234, 248, .12); opacity: .42;
  background: rgba(12, 9, 26, .8);
  transition: opacity .3s, border-color .3s, transform .3s, box-shadow .3s;
}
.product__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.product__thumb:hover { opacity: .9; transform: translateY(-2px); }
.product__thumb.is-active { opacity: 1; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 10px 26px rgba(125, 211, 252, .16); }
.product__thumb.is-filtered { opacity: .12; }
.product__thumb span { position: absolute; inset: auto 0 0; padding: 2px 0; background: rgba(5, 4, 12, .8); color: var(--text); font-size: 8px; text-align: center; opacity: 0; transition: opacity .3s; }
.product__thumb:hover span { opacity: 1; }

/* ============================================================
   首页 · 剧情回顾（发展历程版式）
   ============================================================ */

/* 时间轴 */

/* ============================================================
   首页 · 作品展示（新闻版式）
   ============================================================ */

/* ============================================================
   首页 · 实用工具（加入我们版式）
   ============================================================ */

/* ============================================================
   首页 · 关于（介绍版式 + FAQ + 页脚）
   ============================================================ */
.about-slide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 5vw, 96px); }
.about-slide__lead h2 { margin-top: 18px; font-size: clamp(23px, 2.35vw, 33px); font-weight: 600; line-height: 1.38; letter-spacing: .02em; text-wrap: balance; }
.about-slide__lead h2 em { font-style: normal; color: var(--purple); }
.about-slide__lead p { max-width: 380px; margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 2; }
.about-slide__values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-slide__values span { padding: 4px 10px; border: 1px solid var(--border); color: var(--muted); font: 500 8.5px/1.6 var(--mono); letter-spacing: .2em; }
.about-slide__quote { margin-top: 30px; padding-left: 18px; border-left: 1px solid rgba(125, 211, 252, .4); color: rgba(236, 234, 248, .66); font-size: 13px; line-height: 1.9; }
.about-slide__faq { min-width: 0; }
.about-slide__faq-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.about-slide__faq-head span { color: var(--dim); font: 500 9px/1 var(--mono); letter-spacing: .24em; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 16px 0; text-align: left;
  color: var(--text); font-size: 13.5px; transition: color .25s;
}
.faq-question:hover { color: var(--blue); }
.faq-question i { font-style: normal; color: var(--muted); font-size: 16px; transition: transform .35s var(--ease), color .3s; }
.faq-item.is-open .faq-question i { transform: rotate(45deg); color: var(--blue); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.95; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { position: relative; padding: 56px 0 26px; border-top: 1px solid var(--line); background: rgba(5, 4, 12, .72); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.footer-brand img { height: 38px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 340px; color: var(--muted); font-size: 11.5px; line-height: 1.95; }
.footer-title { margin-bottom: 14px; color: var(--text); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: var(--muted); font-size: 11.5px; transition: color .25s, transform .25s; }
.footer-links a:hover { color: var(--blue); transform: translateX(3px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
  color: rgba(154, 148, 184, .6); font: 500 9.5px/1.6 var(--mono); letter-spacing: .1em;
}
.site-footer--compact { padding-top: 40px; }
.site-footer--compact .footer-grid { display: none; }
.site-footer--compact .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* ============================================================
   角色档案（产品信息版式）
   ============================================================ */
.product-page { position: relative; z-index: 2; height: 100vh; overflow: hidden; }
.product-page .fp__stage { padding-top: calc(var(--nav-h) + 10px); padding-bottom: 40px; justify-content: center; }
.product-page .product__stage { height: min(62vh, 500px); }

.breadcrumbs { display: flex; align-items: center; gap: 8px; color: rgba(154, 148, 184, .6); font: 500 9.5px/1 var(--mono); letter-spacing: .14em; }
.breadcrumbs a { transition: color .25s; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs i { font-style: normal; opacity: .4; }
.breadcrumbs span { color: var(--muted); }

/* 详情第二屏 */
.detail-view { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.detail-view__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.detail-view__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: .05em; }
.detail-view__sub { margin-top: 6px; color: var(--muted); font: 500 9px/1 var(--mono); letter-spacing: .26em; }
.detail-view__body { flex: 1; min-height: 0; overflow-y: auto; padding: 26px 6px 6px 0; scrollbar-width: thin; scrollbar-color: rgba(160, 140, 255, .3) transparent; }
.detail-view__body::-webkit-scrollbar { width: 4px; }
.detail-view__body::-webkit-scrollbar-thumb { background: rgba(160, 140, 255, .3); }
.detail-panel { animation: panelIn .45s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.overview-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.12fr) minmax(0, .62fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.overview-art { position: relative; border: 1px solid var(--border); background: radial-gradient(70% 60% at 50% 30%, rgba(167, 139, 250, .16), rgba(9, 7, 20, .96)); overflow: hidden; }
.overview-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 12%; }
.overview-art figcaption { padding: 10px 12px; border-top: 1px solid var(--line); color: var(--muted); font: 500 8.5px/1.6 var(--mono); letter-spacing: .16em; }
.info-list { display: grid; gap: 0; }
.info-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.info-row span { color: var(--muted); letter-spacing: .06em; }
.info-row strong { font-weight: 500; color: var(--text); }
.detail-prose h2 { margin-top: 10px; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: .04em; }
.detail-prose h3 { margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--blue); letter-spacing: .06em; }
.detail-prose p { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 2.05; }
.detail-prose .hero-actions { display: flex; gap: 12px; margin-top: 24px; }

.skill-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.skill-card {
  display: flex; gap: 16px; padding: 20px;
  border: 1px solid var(--line); background: rgba(236, 234, 248, .028);
  transition: border-color .3s, background .3s, transform .35s var(--ease);
}
.skill-card:hover { border-color: rgba(125, 211, 252, .35); background: rgba(125, 211, 252, .05); transform: translateY(-4px); }
.skill-card__icon {
  display: grid; flex: 0 0 auto; place-items: center;
  width: 52px; height: 52px; overflow: hidden;
  border: 1px solid var(--border); background: rgba(12, 9, 26, .9);
  color: var(--blue); font: 500 14px var(--mono);
}
.skill-card__icon img { width: 100%; height: 100%; object-fit: cover; }
.skill-card small { color: var(--blue); font: 500 9px/1 var(--mono); letter-spacing: .2em; }
.skill-card h3 { margin-top: 7px; font-size: 14px; font-weight: 600; }
.skill-card p { margin-top: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.9; }

.story-chapters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 6px; }
.story-chapter { padding: 22px 24px; border-left: 1px solid rgba(167, 139, 250, .4); background: rgba(236, 234, 248, .025); }
.story-chapter h3 { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--purple); }
.story-chapter p { margin-top: 10px; color: var(--muted); font-size: 12.5px; line-height: 2; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-item {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--line); background: rgba(12, 9, 26, .9);
  transition: border-color .3s, transform .4s var(--ease);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .7s var(--ease); }
.gallery-item::after {
  content: "↗"; position: absolute; right: 10px; bottom: 8px;
  color: var(--text); font-size: 14px; opacity: 0; transition: opacity .3s;
}
.gallery-item:hover { border-color: var(--blue); transform: translateY(-3px); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }

/* ============================================================
   剧情回顾（发展历程版式）
   ============================================================ */

/* ============================================================
   作品展示（新闻动态列表版式）
   ============================================================ */
.news-page { position: relative; z-index: 2; min-height: 100vh; padding: calc(var(--nav-h) + 34px) 0 70px; }
.news-page__head { display: flex; justify-content: center; }
.news-page__tabs { display: flex; align-items: center; gap: 2px; }
.news-list { display: grid; gap: 14px; width: min(1000px, 100%); margin: 42px auto 0; }
.news-item {
  display: grid; grid-template-columns: 236px minmax(0, 1fr);
  border: 1px solid rgba(236, 234, 248, .07);
  background: rgba(236, 234, 248, .028);
  transition: transform .4s var(--ease), border-color .35s, background .35s, box-shadow .4s;
}
.news-item:hover { transform: translateY(-3px); border-color: rgba(125, 211, 252, .28); background: rgba(236, 234, 248, .05); box-shadow: 0 18px 44px rgba(6, 4, 16, .5); }
.news-item__media { position: relative; overflow: hidden; min-height: 128px; background: rgba(12, 9, 26, .9); }
.news-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-item:hover .news-item__media img { transform: scale(1.05); }
.news-item__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 6, 15, .12) 0%, transparent 42%, rgba(7, 6, 15, .62) 100%), linear-gradient(90deg, transparent 55%, rgba(7, 6, 15, .5) 100%); }
.news-item__body { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 128px; padding: 20px 30px; min-width: 0; }
.news-item__date {
  position: absolute; right: 28px; top: 14px; text-align: right;
  color: rgba(236, 234, 248, .15); font: 300 38px/1 var(--font); letter-spacing: -.02em;
}
.news-item__date small { display: block; margin-top: 4px; color: rgba(154, 148, 184, .4); font: 500 9px/1 var(--mono); letter-spacing: .2em; }
.news-item__cat { color: var(--blue); font: 500 9px/1 var(--mono); letter-spacing: .22em; }
.news-item__title { margin-top: 10px; padding-right: 110px; font-size: 15.5px; font-weight: 600; letter-spacing: .02em; line-height: 1.6; transition: color .3s; }
.news-item:hover .news-item__title { color: var(--blue); }
.news-item__desc { margin-top: 8px; padding-right: 80px; color: var(--muted); font-size: 11.5px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item__foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.news-item__foot span { color: rgba(154, 148, 184, .7); font: 500 9px/1 var(--mono); letter-spacing: .14em; }
.news-item__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.like-button { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; transition: color .25s; }
.like-button:hover { color: #f0a1b6; }
.like-button.is-liked { color: #f0a1b6; }
.news-page__more { display: flex; justify-content: center; margin-top: 34px; }
.news-page__note { margin-top: 18px; text-align: center; color: rgba(154, 148, 184, .55); font: 500 9px/1.8 var(--mono); letter-spacing: .16em; }

/* ============================================================
   通用页面（资料馆 / 工具 / 详情）
   ============================================================ */
.page { position: relative; z-index: 2; padding: calc(var(--nav-h) + 46px) 0 76px; }
.page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.page__title { margin-top: 14px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 600; letter-spacing: .04em; }
.page__en { margin-top: 10px; color: var(--muted); font: 500 9px/1 var(--mono); letter-spacing: .3em; }
.page__desc { max-width: 560px; margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.95; }
.page__meta { display: flex; gap: 40px; padding-bottom: 6px; }
.page__meta div strong { display: block; font: 600 28px/1 var(--mono); }
.page__meta div span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.page__body { padding-top: 30px; }

.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  width: min(360px, 100%); height: 40px; padding: 0 14px;
  border: 1px solid var(--border); background: rgba(12, 9, 26, .6);
  transition: border-color .3s;
}
.search-field:focus-within { border-color: rgba(125, 211, 252, .5); }
.search-field svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.search-field input { width: 100%; border: 0; outline: 0; background: none; color: var(--text); font-size: 12.5px; }
.search-field input::placeholder { color: rgba(154, 148, 184, .6); }
.filter-select {
  height: 40px; padding: 0 12px;
  border: 1px solid var(--border); background: rgba(12, 9, 26, .8);
  color: var(--text); font-size: 12px; outline: 0;
}
.list-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 16px 0 20px; color: rgba(154, 148, 184, .7); font-size: 11px; letter-spacing: .06em; }
.list-meta strong { color: var(--blue); font-weight: 500; }

.data-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.data-card {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line); background: rgba(236, 234, 248, .025);
  transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.data-card:hover { border-color: rgba(125, 211, 252, .34); transform: translateY(-4px); background: rgba(125, 211, 252, .05); }
.data-card__art { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(12, 9, 26, .9); }
.data-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .7s var(--ease); }
.data-card:hover .data-card__art img { transform: scale(1.05); }
.data-card__type { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 2px 7px; background: rgba(7, 6, 15, .72); color: var(--blue); font: 500 8px/1.6 var(--mono); letter-spacing: .16em; }
.data-card__body { padding: 11px 13px 13px; }
.data-card__body h3 { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.data-card__body p { margin-top: 3px; color: var(--muted); font-size: 10.5px; }

/* 资料详情 */
.item-detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.item-detail__art { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border: 1px solid var(--border); background: radial-gradient(60% 60% at 50% 45%, rgba(167, 139, 250, .16), rgba(9, 7, 20, .96)); overflow: hidden; }
.item-detail__art img { width: 78%; height: 78%; object-fit: contain; }
.item-detail__info h1 { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: .03em; }
.item-detail__desc { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 2; }
.item-detail__stats { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ============================================================
   实用工具
   ============================================================ */
.tools-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 26px; align-items: start; }
.tools-shell--compact { grid-template-columns: 220px minmax(0, 1fr); }
.tool-nav { display: grid; gap: 2px; padding-right: 22px; border-right: 1px solid var(--line); }
.tool-nav__title { margin-bottom: 12px; color: rgba(154, 148, 184, .6); font: 500 9px/1 var(--mono); letter-spacing: .26em; }
.tool-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; text-align: left;
  border-left: 2px solid transparent; color: var(--muted);
  transition: .3s;
}
.tool-tab:hover { color: var(--text); background: rgba(236, 234, 248, .04); }
.tool-tab.is-active { color: var(--text); border-left-color: var(--blue); background: rgba(125, 211, 252, .07); }
.tool-tab__icon { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid var(--border); color: var(--blue); font-size: 11px; }
.tool-tab div span { display: block; font-size: 13px; letter-spacing: .06em; }
.tool-tab div small { display: block; margin-top: 2px; color: rgba(154, 148, 184, .6); font: 500 8px/1 var(--mono); letter-spacing: .18em; }
.tool-nav__note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: rgba(154, 148, 184, .5); font-size: 10px; line-height: 1.9; }
.tool-workspace { min-width: 0; }
.tool-panel { border: 1px solid var(--line); background: rgba(236, 234, 248, .025); padding: 22px 24px; animation: panelIn .4s var(--ease) both; }
.tool-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.tool-panel__head h3 { font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.tool-panel__head p { margin-top: 6px; color: var(--muted); font-size: 11.5px; }
.tool-status { flex: 0 0 auto; color: var(--blue); font: 500 8.5px/1.8 var(--mono); letter-spacing: .18em; border: 1px solid rgba(125, 211, 252, .28); padding: 2px 8px; }

.wish-dashboard { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 16px; margin-top: 18px; }
.wish-stage { position: relative; display: grid; place-items: center; min-height: 210px; padding: 16px; border: 1px solid var(--line); background: radial-gradient(60% 70% at 50% 40%, rgba(167, 139, 250, .14), rgba(9, 7, 20, .7)); overflow: hidden; }
.wish-stage__idle { text-align: center; color: var(--muted); font-size: 12px; }
.wish-stage__symbol { margin-bottom: 12px; color: var(--purple); font-size: 26px; animation: floaty 3.4s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); opacity: .7; } }
.wish-results { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; }
.wish-item { display: grid; gap: 4px; justify-items: center; padding: 8px 4px; border: 1px solid var(--line); background: rgba(7, 6, 15, .5); animation: wishIn .5s var(--ease) both; }
@keyframes wishIn { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: none; } }
.wish-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.wish-item span { color: var(--text); font-size: 9.5px; text-align: center; }
.wish-item small { color: #d9c18d; font-size: 8px; letter-spacing: .1em; }
.wish-item[data-rarity="5"] { border-color: rgba(217, 193, 141, .5); box-shadow: inset 0 0 24px rgba(217, 193, 141, .12); }
.wish-item[data-rarity="4"] { border-color: rgba(167, 139, 250, .45); }
.wish-stats { display: grid; gap: 8px; }
.wish-stat { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); background: rgba(7, 6, 15, .4); }
.wish-stat span { color: var(--muted); font-size: 11px; }
.wish-stat strong { font: 600 18px/1 var(--mono); }
.wish-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wish-history { margin-left: auto; color: rgba(154, 148, 184, .65); font-size: 10.5px; }

.planner-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; margin-top: 18px; }
.form-stack { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.field select { height: 38px; padding: 0 10px; border: 1px solid var(--border); background: rgba(7, 6, 15, .7); color: var(--text); font-size: 12px; outline: 0; }
.range-fields { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 10px; }
.range-arrow { padding-bottom: 10px; color: var(--muted); }
.planner-result { padding: 16px 18px; border: 1px solid var(--line); background: rgba(7, 6, 15, .45); }
.planner-result__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.planner-result__title h4 { font-size: 13px; font-weight: 600; }
.planner-result__title span { color: var(--blue); font: 500 8.5px var(--mono); letter-spacing: .18em; }
.material-list { display: grid; gap: 10px; margin-top: 14px; }
.material-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 11.5px; }
.material-row span { color: var(--muted); }
.material-row strong { font-weight: 500; }
.material-bar { grid-column: 1 / -1; height: 2px; background: rgba(160, 140, 255, .16); }
.material-bar i { display: block; height: 100%; background: var(--grad); }
.planner-total { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.planner-total span { color: var(--muted); font-size: 11px; }
.planner-total strong { color: var(--blue); font: 600 16px var(--mono); }

.team-builder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; margin-top: 18px; }
.team-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.team-slot { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; border: 1px dashed var(--border); background: rgba(7, 6, 15, .4); overflow: hidden; }
.team-slot.is-filled { border-style: solid; border-color: rgba(125, 211, 252, .4); }
.team-slot img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.team-slot__name { position: absolute; inset: auto 0 0; padding: 3px 0; background: rgba(5, 4, 12, .82); color: var(--text); font-size: 9.5px; text-align: center; }
.team-slot__remove { position: absolute; right: 3px; top: 3px; display: grid; width: 18px; height: 18px; place-items: center; background: rgba(5, 4, 12, .8); color: var(--muted); font-size: 12px; }
.team-slot__empty { color: rgba(154, 148, 184, .4); font-size: 20px; }
.team-pool { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.team-pool__item { width: 38px; height: 38px; padding: 0; border: 1px solid var(--line); overflow: hidden; opacity: .8; transition: .25s; }
.team-pool__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.team-pool__item:hover { opacity: 1; border-color: var(--blue); transform: translateY(-2px); }
.team-pool__item:disabled { opacity: .25; pointer-events: none; }
.resonance { padding: 16px 18px; border: 1px solid var(--line); background: rgba(7, 6, 15, .4); }
.resonance h4 { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.resonance__elements { display: flex; gap: 6px; margin-top: 10px; }
.resonance__result { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.resonance__result strong { display: block; color: var(--blue); font-size: 14px; }
.resonance__result p { margin-top: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.9; }

.quick-search__box { display: flex; align-items: center; gap: 10px; height: 42px; margin-top: 16px; padding: 0 14px; border: 1px solid var(--border); background: rgba(7, 6, 15, .6); }
.quick-search__box svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 auto; }
.quick-search__box input { width: 100%; border: 0; outline: 0; background: none; color: var(--text); font-size: 12.5px; }
.quick-search__hint { margin-top: 10px; color: rgba(154, 148, 184, .6); font-size: 10.5px; }
.quick-results { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-top: 14px; }
.quick-result { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--line); transition: .28s; }
.quick-result:hover { border-color: rgba(125, 211, 252, .35); background: rgba(125, 211, 252, .05); }
.quick-result img { width: 34px; height: 34px; object-fit: cover; }
.quick-result strong { display: block; font-size: 12px; font-weight: 500; }
.quick-result span { display: block; color: var(--muted); font-size: 10px; }

/* ============================================================
   剧情阅读器
   ============================================================ */
.reader-hero { padding: calc(var(--nav-h) + 40px) 0 26px; border-bottom: 1px solid var(--line); }
.reader-hero__grid { display: flex; align-items: center; gap: 26px; margin-top: 22px; }
.reader-hero__icon { width: 82px; height: 82px; object-fit: cover; border: 1px solid var(--border); }
.reader-hero h1 { margin-top: 8px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; }
.reader-hero__meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; color: var(--muted); font: 500 9.5px/1 var(--mono); letter-spacing: .12em; }
.reader-toolbar { position: sticky; top: var(--nav-h); z-index: 40; padding: 12px 0; border-bottom: 1px solid var(--line); background: rgba(7, 6, 15, .82); backdrop-filter: blur(14px); }
.reader-toolbar__inner { display: flex; align-items: center; gap: 10px; }
.reader-toolbar__inner > span { margin-right: auto; color: rgba(154, 148, 184, .6); font: 500 9px/1 var(--mono); letter-spacing: .2em; }
.reader-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
.reader-sidebar h2 { color: rgba(154, 148, 184, .6); font: 500 9px/1 var(--mono); letter-spacing: .24em; }
.reader-sidebar__list { display: grid; gap: 2px; margin-top: 14px; }
.reader-sidebar__link { display: block; padding: 10px 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: 11.5px; line-height: 1.7; transition: .28s; }
.reader-sidebar__link:hover { color: var(--text); border-left-color: var(--purple); }
.reader-sidebar__link.is-active { color: var(--blue); border-left-color: var(--blue); background: rgba(125, 211, 252, .05); }
.reader-progress-card { margin-top: 22px; padding: 14px; border: 1px solid var(--line); background: rgba(236, 234, 248, .025); }
.reader-progress-card span { color: var(--muted); font-size: 10.5px; }
.reader-progress-card strong { display: block; margin-top: 4px; font: 600 22px/1 var(--mono); }
.reader-progress-bar { height: 2px; margin-top: 10px; background: rgba(160, 140, 255, .16); }
.reader-progress-bar i { display: block; height: 100%; background: var(--grad); }
.reader-content { max-width: 760px; }
.reader-summary { padding: 18px 20px; border-left: 2px solid var(--purple); background: rgba(167, 139, 250, .05); }
.reader-summary h2 { font-size: 12px; letter-spacing: .1em; color: var(--purple); }
.reader-summary p { margin-top: 8px; color: var(--muted); font-size: 12.5px; line-height: 1.95; }
.reader-section-title { margin: 34px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; letter-spacing: .08em; color: var(--blue); }
.dialogue { padding: 12px 0; border-bottom: 1px dashed rgba(150, 130, 255, .1); }
.dialogue__speaker { color: var(--purple); font-size: 11px; letter-spacing: .16em; }
.dialogue__text { margin-top: 6px; font-size: 15px; line-height: 2; }
.dialogue--narration { padding-left: 14px; border-left: 1px solid rgba(125, 211, 252, .28); }
.dialogue--narration .dialogue__speaker { color: var(--blue); }
.dialogue--narration .dialogue__text { color: var(--muted); font-style: italic; }
.reader-next { display: flex; justify-content: space-between; gap: 14px; margin-top: 34px; }

/* 作品详情 */
.work-detail-hero { padding: calc(var(--nav-h) + 40px) 0 0; }
.work-detail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 22px; }
.work-detail-head h1 { margin-top: 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.work-detail-head p { max-width: 560px; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.work-detail-art { position: relative; margin-top: 26px; border: 1px solid var(--border); overflow: hidden; background: rgba(12, 9, 26, .9); }
.work-detail-art img { width: 100%; max-height: 62vh; object-fit: contain; }
.work-detail-art__zoom { position: absolute; right: 14px; bottom: 14px; background: rgba(7, 6, 15, .7); backdrop-filter: blur(6px); }
.work-detail-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.work-author { border-left: 1px solid var(--line); padding-left: 18px; }
.work-author span { color: rgba(154, 148, 184, .6); font: 500 9px/1 var(--mono); letter-spacing: .24em; }
.work-author strong { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; }
.work-author p { margin-top: 6px; color: var(--muted); font: 500 9.5px/1.6 var(--mono); letter-spacing: .1em; }
.work-article p { margin-bottom: 16px; color: var(--muted); font-size: 13.5px; line-height: 2.05; }
.work-article blockquote { margin: 24px 0; padding-left: 20px; border-left: 2px solid var(--purple); color: rgba(236, 234, 248, .8); font-size: 15px; line-height: 1.9; }
.works-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.work-card { position: relative; overflow: hidden; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.work-card:hover { border-color: rgba(125, 211, 252, .3); transform: translateY(-4px); }
.work-card__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s var(--ease); }
.work-card:hover .work-card__image { transform: scale(1.04); }
.work-card__body { padding: 12px 14px 14px; }
.work-card__body h3 { font-size: 13px; font-weight: 600; }
.work-card__body p { margin-top: 3px; color: var(--muted); font-size: 10.5px; }
.work-card__open { position: absolute; right: 10px; top: 10px; display: grid; width: 28px; height: 28px; place-items: center; background: rgba(7, 6, 15, .66); color: var(--text); font-size: 12px; opacity: 0; transition: opacity .3s; }
.work-card:hover .work-card__open { opacity: 1; }
.manifesto { padding: 34px 38px; border: 1px solid var(--line); background: rgba(236, 234, 248, .025); }
.manifesto h2 { margin-top: 12px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; line-height: 1.5; }
.manifesto p { max-width: 520px; margin-top: 14px; color: var(--muted); font-size: 12.5px; line-height: 2; }
.manifesto .button { margin-top: 22px; }

/* ============================================================
   弹层 / 提示
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 2, 8, .82); backdrop-filter: blur(8px); }
.modal__dialog {
  position: relative; z-index: 1;
  width: min(560px, 92vw); max-height: 84vh; margin: 8vh auto 0;
  padding: 30px; overflow: auto;
  border: 1px solid var(--border); background: #0b0818;
  transform: translateY(14px); transition: transform .4s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 2; }
.modal__dialog h2 { font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.modal__image { width: 100%; max-height: 66vh; object-fit: contain; }
.modal__caption { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-top: 14px; }
.modal__caption strong { font-size: 15px; }
.modal__caption span { color: var(--muted); font-size: 11px; }
.modal figure { margin: 0; }
#image-modal .modal__dialog { width: min(1080px, 94vw); padding: 18px; background: rgba(7, 6, 15, .96); }
#image-modal .modal__caption { padding: 0 4px 4px; }
.search-modal__dialog .quick-search__box { margin-top: 18px; }
.search-modal__dialog .quick-results { max-height: 52vh; overflow: auto; }

.toast {
  position: fixed; left: 50%; bottom: 42px; z-index: 300;
  padding: 10px 20px; transform: translate(-50%, 14px);
  border: 1px solid rgba(125, 211, 252, .3); background: rgba(11, 8, 24, .94);
  color: var(--text); font-size: 12px; letter-spacing: .06em;
  opacity: 0; pointer-events: none; transition: .35s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1280px) {
  .c-nav__link { padding: 0 12px; }
  .c-nav__link b { padding: 0 12px; }
  .c-badge { display: none; }
  .deco__dots { display: none; }
}

@media (max-width: 1080px) {
  :root { --nav-h: 74px; }
  .c-nav { display: none; }
  .c-burger { display: block; }
  .c-lang { margin-left: auto; }
  .c-side-tools { border-left: 0; padding-left: 0; }
  .hero__slogan { margin-left: clamp(0px, 8vw, 90px); }
  .hero__art { right: -10%; opacity: .8; }
  .product { grid-template-columns: 1fr; gap: 26px; }
  .product--mirror .product__stage { order: 0; }
  .product--mirror .product__info { order: 1; }
  .product__stage { height: min(38vh, 360px); }
  .product__arrows { right: 6px; }
  .about-slide { grid-template-columns: 1fr; gap: 26px; }
  .history__overview { grid-template-columns: 1fr; gap: 24px; }
  .history__overview-grid { grid-template-columns: 1fr; }
  .reader-layout { grid-template-columns: 1fr; gap: 24px; }
  .work-detail-body { grid-template-columns: 1fr; gap: 22px; }
  .works-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill-list { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .overview-art { display: none; }
  .item-detail { grid-template-columns: 1fr; }
  .tools-shell, .tools-shell--compact { grid-template-columns: 1fr; }
  .tool-nav { display: flex; overflow-x: auto; padding-right: 0; padding-bottom: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tool-nav__title, .tool-nav__note { display: none; }
  .tool-tab { flex: 0 0 auto; border-left: 0; border-bottom: 2px solid transparent; }
  .tool-tab.is-active { border-left-color: transparent; border-bottom-color: var(--blue); }
  .wish-dashboard, .planner-grid, .team-builder { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item__media { aspect-ratio: 16 / 8; }
  .news-item__title, .news-item__desc { padding-right: 0; }
  .news-item__date { position: static; text-align: left; font-size: 30px; margin-bottom: 6px; }
  .news-item__date small { display: inline; margin-left: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero__inner { padding-top: calc(var(--nav-h) + 24px); padding-bottom: 90px; }
  .hero__logo { display: none; }
  .hero__art { width: 120vw; right: -40%; opacity: .42; }
  .hero__slogan { margin-left: 0; }
  /* 移动端与桌面一致按屏吸附；内容超出一屏的屏在内部滚动 */
  html { scroll-padding-top: 0; }
  .fp { height: 100vh; height: 100svh; overflow: hidden; }
  .fp__track { height: 100%; }
  .fp__slide {
    height: 100vh; height: 100svh; min-height: 0;
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .fp__slide::-webkit-scrollbar { display: none; }
  .fp__stage { height: auto; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 34px) var(--gutter) 56px; }
  /* 数据轮播内容较短，移动端在视口内垂直居中 */
  .fp__slide[data-section="data"] .fp__stage { justify-content: center; }
  .fp__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
  .product-page { height: auto; overflow: visible; }
  .product-page .fp__stage { min-height: 100vh; }
  .detail-view__body { overflow: visible; }
  .history-page { min-height: 0; }
  .history { min-height: 0; }
  .history__body { padding: 24px 0; }
  /* 移动端隐藏固定装饰与分屏提示，避免遮挡正文 */
  .deco { display: none; }
  .scrolltip { display: none; }
  .hero__art { right: -24%; width: 92vw; opacity: .5; }
  .hero__slogan { margin-left: 0; }
  .hero__foot { bottom: 20px; }
  .timeline__viewport { padding: 4px 40px 42px; justify-content: flex-start; }
  .timeline__track { justify-content: flex-start; }
  .history__visual { width: min(100%, 460px); }
}

@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .c-header { gap: 12px; }
  .c-logo img { height: 28px; }
  .c-side-tools { gap: 8px; }
  .c-lang { display: none; }
  .hero__lines { font-size: clamp(34px, 10vw, 46px); }
  .hero__sub { font-size: 12.5px; }
  .hero__actions { flex-wrap: wrap; gap: 14px; }
  .hero__logo img { height: 30px; }
  .product__name { font-size: 34px; }
  .product__stage { height: 300px; }
  .product__desc, .product__quote { text-align: left; }
  .product__en-row, .product__links, .product__actions { justify-content: flex-start; }
  .product__quote { padding-right: 0; padding-left: 14px; border-right: 0; border-left: 1px solid rgba(167, 139, 250, .4); }
  .product__en-row { justify-content: flex-start; }
  .product__en-row i { display: none; }
  .slide-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .slide-head__meta { padding-bottom: 0; }
  .slide-index { font-size: 40px; }
  .timeline__year { margin: 0 10px; font-size: 22px; }
  .timeline__node { width: 34px; height: 34px; }
  .timeline__label { display: none; }
  .timeline__link { width: 22px; }
  .about-slide__lead h2 { font-size: 24px; }
  .history__stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .works-mosaic { grid-template-columns: 1fr; }
  .gallery-grid, .story-chapters { grid-template-columns: 1fr; }
  .data-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wish-results { grid-template-columns: repeat(3, 1fr); }
  .page__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .news-list { margin-top: 26px; }
  .news-item__body { padding: 16px 18px; }
  .modal__dialog { padding: 22px; }
  .deco__word { display: none; }
  .deco__bar--r { height: 52px; top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .fp__track { transition: none; }
  .scrolltip__line::before { display: none; }
}

/* ============================================================
   动效层：还原克隆站的分屏位移 / 产品信息入场 / 侧边装饰滑动
   ============================================================ */
:root { --shift: clamp(46px, 8.2vh, 92px); }

@keyframes masked-animation { 0% { background-position: 0 -100%; } 100% { background-position: -100% 0; } }
@keyframes shiftSlideLeft {
  0% { opacity: 0; transform: translateX(calc(var(--shift) * -1.1)); }
  18% { opacity: 1; transform: translateX(calc(var(--shift) * -.36)); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes bannerRise {
  from { opacity: 0; transform: translateY(var(--shift)) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes decoShiftUp {
  from { translate: 0 34px; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}
@keyframes wordFloat {
  0%, 100% { translate: 0 -16px; }
  50% { translate: 0 16px; }
}
@keyframes tipFloat {
  0%, 100% { translate: 0 -4px; }
  50% { translate: 0 4px; }
}

/* ---- 分屏元素位移（上一屏向上、下一屏向下、当前屏归位） ---- */
.js [data-anim] {
  opacity: 0;
  transform: translateY(var(--shift));
  transition: transform 1000ms var(--ease), opacity 820ms var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}
.js .is-prev > [data-anim],
.js .is-prev [data-anim] { transform: translateY(calc(var(--shift) * -1)); }
.js .is-active [data-anim] { opacity: 1; transform: translateY(0); }

/* ---- 产品信息版式：横幅自左、信息自右逐级入场 ---- */
.js .product__media {
  opacity: 0;
  transform: translateX(calc(var(--shift) * -1.2));
  transition: transform 1500ms cubic-bezier(.16, .84, .44, 1), opacity 900ms ease-out;
}
.js .is-active .product__media { opacity: 1; transform: none; }
.js .is-prev .product__media { opacity: 0; transform: translateX(calc(var(--shift) * -1.2)); }

.js .product__info > * {
  opacity: 0;
  transform: translateX(calc(var(--shift) * .62));
  transition: transform 900ms var(--ease), opacity 700ms var(--ease);
}
.js .is-active .product__info > * { opacity: 1; transform: none; }
.js .is-active .product__info > *:nth-child(1) { transition-delay: 220ms; }
.js .is-active .product__info > *:nth-child(2) { transition-delay: 320ms; }
.js .is-active .product__info > *:nth-child(3) { transition-delay: 440ms; }
.js .is-active .product__info > *:nth-child(4) { transition-delay: 520ms; }
.js .is-active .product__info > *:nth-child(5) { transition-delay: 600ms; }
.js .is-active .product__info > *:nth-child(6) { transition-delay: 680ms; }
.js .is-active .product__info > *:nth-child(7) { transition-delay: 780ms; }
.js .is-active .product__info > *:nth-child(8) { transition-delay: 880ms; }
.js .is-active .product__info > *:nth-child(9) { transition-delay: 960ms; }

.js .product__thumbs {
  opacity: 0;
  transform: translateY(calc(var(--shift) * .55));
  transition: transform 900ms var(--ease) 520ms, opacity 700ms var(--ease) 520ms;
}
.js .is-active .product__thumbs { opacity: 1; transform: none; }

.js .product__expand {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms var(--ease) 780ms, transform 600ms var(--ease) 780ms, border-color .3s, color .3s;
}
.js .is-active .product__expand { opacity: 1; transform: none; }

/* 英文名渐变流光 */
.product__en {
  background-image: linear-gradient(-135deg, #7dd3fc, #a78bfa, #7dd3fc, #a78bfa, #7dd3fc);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: masked-animation 3.4s infinite linear;
}
/* 斜线展开 */
.product__en-row i { transform: rotate(-26deg) scaleX(0); transform-origin: right center; transition: transform 900ms var(--ease) 560ms; }
.js .is-active .product__en-row i { transform: rotate(-26deg) scaleX(1); }

/* 页签：填充自下而上 */
.tab-pill { position: relative; overflow: hidden; isolation: isolate; }
.tab-pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad); transform: translateY(102%);
  transition: transform .5s var(--ease);
}
.tab-pill.is-active::before { transform: translateY(0); }
.tab-pill.is-active { color: #0a0716; background: none; }

/* ---- 侧边装饰：切换分屏时上下滑动 ---- */
.deco__text, .deco__micro, .deco__bar, .deco__dots, .deco__word {
  transition: translate 1100ms var(--ease), opacity 900ms var(--ease);
}
.deco.is-shifting .deco__text { animation: decoShiftUp 1100ms var(--ease) both; }
.deco.is-shifting .deco__micro { animation: decoShiftUp 1100ms var(--ease) 80ms both; }
.deco.is-shifting .deco__bar--l { animation: decoShiftUp 1000ms var(--ease) 40ms both; }
.deco.is-shifting .deco__bar--r { animation: decoShiftUp 1000ms var(--ease) 120ms both; }
.deco.is-shifting .deco__dots--l { animation: decoShiftUp 1200ms var(--ease) 160ms both; }
.deco.is-shifting .deco__dots--r { animation: decoShiftUp 1200ms var(--ease) 220ms both; }
.deco.is-shifting .deco__word { animation: decoShiftUp 1200ms var(--ease) 100ms both; }
.deco__word { animation: wordFloat 13s ease-in-out infinite; }
.scrolltip { animation: tipFloat 6s ease-in-out infinite; }
.scrolltip__num { transition: border-color .3s, color .3s, transform .4s var(--ease); }
.scrolltip:hover .scrolltip__num { transform: scale(1.12); }

/* ---- 图片/卡片微动效 ---- */
.product__thumb { transition: opacity .35s, border-color .35s, transform .45s var(--ease), box-shadow .45s; }
.product__thumb:hover { transform: translateY(-4px); }
.news-item__media img { transition: transform 1100ms var(--ease); }
.data-card__art img { transition: transform 1000ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .product__en { animation: none; color: var(--blue); -webkit-text-fill-color: var(--blue); }
  .deco__word, .scrolltip { animation: none; }
  .deco.is-shifting .deco__text, .deco.is-shifting .deco__word, .deco.is-shifting .deco__micro,
  .deco.is-shifting .deco__bar, .deco.is-shifting .deco__dots { animation: none; }
}

/* ---- 侧边装饰的持续上下漂移 ---- */
@keyframes textDrift {
  0%, 100% { translate: 0 -22px; }
  50% { translate: 0 22px; }
}
@keyframes dotsDrift {
  0%, 100% { translate: 0 14px; opacity: .12; }
  50% { translate: 0 -14px; opacity: .22; }
}
.deco__text { animation: textDrift 17s ease-in-out infinite; }
.deco__micro { animation: textDrift 23s ease-in-out infinite reverse; }
.deco__dots--l { animation: dotsDrift 15s ease-in-out infinite; }
.deco__dots--r { animation: dotsDrift 19s ease-in-out infinite reverse; }
.deco.is-shifting .deco__text { animation: decoShiftUp 1100ms var(--ease) both; }
.deco.is-shifting .deco__micro { animation: decoShiftUp 1100ms var(--ease) 80ms both; }
.deco.is-shifting .deco__dots--l { animation: decoShiftUp 1200ms var(--ease) 160ms both; }
.deco.is-shifting .deco__dots--r { animation: decoShiftUp 1200ms var(--ease) 220ms both; }

/* ---- 横幅上的展开按钮：由窄变宽（对应克隆站的 intro video 按钮） ---- */
.js .product__expand {
  max-width: 0; padding-left: 0; padding-right: 0;
  overflow: hidden; white-space: nowrap;
  opacity: 0;
  transition: max-width 900ms var(--ease) 760ms, padding 900ms var(--ease) 760ms, opacity 500ms ease 760ms, border-color .3s, color .3s;
}
.js .is-active .product__expand { max-width: 240px; padding-left: 12px; padding-right: 12px; opacity: 1; }
.js .product__expand:hover { max-width: 240px; }

@media (prefers-reduced-motion: reduce) {
  .deco__text, .deco__micro, .deco__dots--l, .deco__dots--r { animation: none; }
}

/* ============================================================
   产品信息版式（严格对照克隆站 .home-product 源码结构重建）
   结构：banner(board / box / btn) + info(name / slash / desc / socials) + nav
   ============================================================ */
:root { --u: calc((100vh - var(--nav-h)) / 9.9); }

.fp__stage--flush { padding: 0; }
.product-page .fp__stage { padding: 0; }
.product-page { height: 100vh; overflow: hidden; }

.pdp { position: relative; width: 100%; height: calc(100vh - var(--nav-h)); margin-top: var(--nav-h); overflow: hidden; }

/* banner：宽度 12.8u，上移 .9u，高度撑满 */
.pdp__banner {
  position: relative;
  top: calc(var(--u) * .9);
  width: calc(var(--u) * 12.8);
  height: calc(100% - var(--u) * .9);
  margin: 0 auto;
}
.pdp__banner::before {
  content: ""; position: absolute;
  right: calc(var(--u) * 3.5); top: calc(var(--u) * 5.2);
  width: calc(var(--u) * .3); height: calc(var(--u) * .3);
  background: var(--blue);
  box-shadow: 0 0 24px rgba(125, 211, 252, .45);
  z-index: 3;
}

/* board：横向装饰条，向左出血 4.8u */
.pdp__board {
  position: absolute; top: calc(var(--u) * 5.2); left: calc(var(--u) * -4.8);
  width: calc(var(--u) * 12.8); height: calc(var(--u) * 2.8);
  overflow: hidden; pointer-events: none;
  display: flex; align-items: flex-end;
}

/* box：立绘容器，向左出血 5.4u，高 8u */
.pdp__box {
  position: absolute; top: 0; left: calc(var(--u) * -5.4); z-index: 1;
  width: calc(var(--u) * 12.8); height: calc(var(--u) * 8);
  overflow: hidden; padding-left: calc(var(--u) * .3);
}
.pdp__box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(46% 62% at 40% 46%, rgba(167, 139, 250, .22), transparent 72%);
  opacity: 0;
  transition: opacity .5s;
}
.pdp__box--glow::before { opacity: 1; }
.pdp__game {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  height: 100%; width: auto; max-width: none;
  object-fit: contain; object-position: right bottom;
  filter: drop-shadow(0 calc(var(--u) * .2) calc(var(--u) * .6) rgba(80, 50, 170, .4));
  opacity: 0;
}
.pdp.is-live .pdp__game {
  opacity: 1;
  animation: shiftSlideLeft 3000ms ease-out backwards;
  animation-delay: .2s;
}

/* btn：由高度 0 展开，文字宽度 0 → 1.6u */
.pdp__btn {
  position: absolute; top: calc(var(--u) * 4.54); left: calc(var(--u) * 6);
  z-index: 9; width: calc(var(--u) * 2.24); height: calc(var(--u) * .96);
  cursor: pointer;
}
.pdp__btn-box {
  position: absolute; left: 0; bottom: 0;
  width: calc(var(--u) * 2.24); height: 0; overflow: hidden;
  transition: all 800ms ease-in; transition-delay: 600ms;
}
.pdp__btn-bg {
  display: flex; align-items: center; justify-content: center;
  width: calc(var(--u) * 2.24); height: calc(var(--u) * .96);
  position: absolute; left: 0; bottom: 0;
  border: 1px solid rgba(236, 234, 248, .4);
  background: rgba(7, 6, 15, .5);
  backdrop-filter: blur(6px);
  transition: border-color .4s, background .4s;
}
.pdp__btn:hover .pdp__btn-bg { border-color: var(--blue); background: rgba(125, 211, 252, .12); }
.pdp__btn b {
  width: 0; height: 0; margin-left: calc(var(--u) * .14);
  border: calc(var(--u) * .1) solid transparent;
  border-left: calc(var(--u) * .16) solid var(--text);
  transition: all 500ms; position: relative; z-index: 1;
}
.pdp__btn:hover b { animation: arrowmove 800ms ease-in-out 1; }
.pdp__btn-text {
  position: absolute; width: 0; height: calc(var(--u) * .24); line-height: calc(var(--u) * .24);
  left: calc(var(--u) * .64); bottom: calc(var(--u) * -.34);
  text-transform: uppercase; font-size: calc(var(--u) * .16); font-weight: 700;
  letter-spacing: .1em; color: var(--text); overflow: hidden;
  transition: width 1200ms cubic-bezier(.17, .67, .22, 1.03); transition-delay: 600ms;
}
.pdp__btn-text span { width: calc(var(--u) * 2.3); display: block; position: absolute; left: 0; top: 0; text-align: left; white-space: nowrap; }
.pdp.is-live .pdp__btn-box { height: calc(var(--u) * .96); }
.pdp.is-live .pdp__btn-text { width: calc(var(--u) * 2.3); }

/* info：绝对定位在右上，逐级自右入场 */
.pdp__info {
  position: absolute; top: calc(var(--u) * 1.4); right: calc(var(--u) * .8);
  z-index: 9; display: flex; flex-direction: column; align-items: flex-end;
}
.pdp__name {
  display: flex; flex-direction: column; align-items: flex-end;
  font-size: calc(var(--u) * .85); line-height: 1; font-weight: 700;
  letter-spacing: .01em;
}
.pdp__name-cn { position: relative; left: calc(var(--u) * -.8); }
.pdp__en {
  margin-top: calc(var(--u) * .14);
  font-size: calc(var(--u) * .2); font-weight: 500; letter-spacing: .02em;
}
.pdp__en.anim {
  background-image: linear-gradient(-135deg, #7dd3fc, #a78bfa, #7dd3fc, #a78bfa, #7dd3fc);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: masked-animation 3s infinite linear;
}
.pdp__slash { position: relative; width: calc(var(--u) * 1); height: calc(var(--u) * .5); margin: calc(var(--u) * .16) 0; }
.pdp__slash::before {
  content: ""; position: absolute; width: calc(var(--u) * 1); height: calc(var(--u) * .6);
  border-top: 1px solid rgba(236, 234, 248, .5);
  transform: rotate(-34deg); transform-origin: top right;
}
.pdp__desc {
  max-width: calc(var(--u) * 7.5); text-align: right;
  font-size: calc(var(--u) * .16); line-height: calc(var(--u) * .28);
  color: var(--muted);
}
.pdp__desc p { text-align: right; }
.pdp__socials { display: flex; margin-top: calc(var(--u) * .3); margin-right: calc(var(--u) * .14); }
.pdp__social {
  font-size: calc(var(--u) * .2); font-weight: 700; color: var(--text);
  margin-left: calc(var(--u) * .3); cursor: pointer;
  transition: color .3s;
}
.pdp__social span { position: relative; }
.pdp__social span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--u) * -.06);
  height: 1px; transform: scaleX(0); transform-origin: left;
  background: currentColor; transition: transform .4s var(--ease);
}
.pdp__social:hover { color: var(--blue); }
.pdp__social:hover span::after { transform: scaleX(1); }

.pdp__name, .pdp__slash, .pdp__desc, .pdp__socials {
  opacity: 0; transform: translateX(calc(var(--u) * .6));
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.pdp.is-live .pdp__name, .pdp.is-live .pdp__slash, .pdp.is-live .pdp__desc, .pdp.is-live .pdp__socials {
  opacity: 1; transform: translateX(0);
}
.pdp.is-live .pdp__name { transition-delay: 300ms; }
.pdp.is-live .pdp__slash { transition-delay: 500ms; }
.pdp.is-live .pdp__desc { transition-delay: 700ms; }
.pdp.is-live .pdp__socials { transition-delay: 900ms; }

/* nav：缩略图条，贴着立绘底边 */
.pdp__nav {
  position: absolute; top: calc(var(--u) * 8.9); left: 50%; z-index: 9;
  display: flex; justify-content: flex-end; align-items: center;
  width: calc(var(--u) * 12.8); height: calc(var(--u) * 1);
  transform: translateX(-50%);
  padding-right: calc(var(--u) * .1);
}
.pdp__nav-item {
  display: flex; justify-content: center; align-items: center;
  box-sizing: content-box;
  width: calc(var(--u) * .74); height: calc(var(--u) * .74);
  padding: 2px; margin-right: calc(var(--u) * .1);
  border: 2px solid transparent; border-radius: calc(var(--u) * .06);
  cursor: pointer; opacity: .55;
  transition: border-color 300ms, opacity 300ms, transform 300ms;
}
.pdp__nav-item img { width: 100%; height: 100%; border-radius: calc(var(--u) * .04); object-fit: cover; object-position: center 12%; }
.pdp__nav-item:hover, .pdp__nav-item.is-active { border-color: var(--blue); opacity: 1; }
.pdp__nav-item.is-filtered { opacity: .15; }

/* 元素筛选（保留功能，位置贴合信息区） */
.pdp__filters {
  position: absolute; left: calc(var(--u) * .8); top: calc(var(--u) * 9.26);
  z-index: 10; display: flex; gap: calc(var(--u) * .22);
}
.pdp__filter {
  color: rgba(154, 148, 184, .7); font-size: calc(var(--u) * .14);
  letter-spacing: .06em; transition: color .25s;
}
.pdp__filter:hover { color: var(--text); }
.pdp__filter.is-active { color: var(--blue); }

/* 面包屑 */
.pdp__crumb {
  position: absolute; left: calc(var(--u) * .8); top: calc(var(--nav-h) + 8px); z-index: 10;
}

@media (max-width: 1080px) {
  :root { --u: calc(100vh / 13.5); }
  .pdp__info { top: calc(var(--u) * 1.2); right: 20px; }
  .pdp__name { font-size: 34px; }
  .pdp__desc { max-width: 300px; font-size: 12px; line-height: 1.9; }
  .pdp__social { font-size: 13px; margin-left: 14px; }
  .pdp__box { width: 100%; left: -18%; }
  .pdp__banner { width: 86%; }
  .pdp__nav { width: 86%; }
  .pdp__board { left: -10%; width: 100%; }
  .pdp__btn { left: 40%; }
  .pdp__crumb { display: none; }
  .pdp__filters { top: 14px; }
}
@media (max-width: 900px) {
  :root { --u: calc(100vh / 16); }
  .product-page { height: auto; min-height: 100vh; }
  .product-page .fp__stage { min-height: 100vh; height: auto; }
  .pdp { height: auto; min-height: 100vh; padding-bottom: 40px; }
  .pdp__banner { width: 100%; height: auto; top: 0; padding-top: 74px; }
  .pdp__box { position: relative; left: 0; width: 100%; height: 46vh; }
  .pdp__board { display: none; }
  .pdp__info { position: relative; top: 0; right: 0; align-items: flex-start; padding: 22px 24px 0; }
  .pdp__name { font-size: 36px; align-items: flex-start; }
  .pdp__name-cn { left: 0; }
  .pdp__desc { text-align: left; max-width: none; }
  .pdp__desc p { text-align: left; }
  .pdp__slash { margin-left: 0; }
  .pdp__nav { position: relative; top: 0; left: 0; transform: none; width: 100%; height: auto; padding: 12px 16px; justify-content: flex-start; overflow-x: auto; }
  .pdp__btn { top: 38%; left: 24px; }
  .pdp__filters { position: relative; top: 0; right: 0; padding: 0 24px; justify-content: flex-start; flex-wrap: wrap; }
  .pdp__crumb { display: none; }
}

body.has-pdp .deco__dots, .deco.deco--pdp .deco__dots { display: none; }
body.has-pdp .deco__word, .deco.deco--pdp .deco__word { display: none; }
body.has-pdp .deco__bar--l { top: auto; bottom: 268px; }
body.has-pdp .deco__text { top: auto; bottom: 40px; transform: rotate(180deg); }
body.has-pdp .deco__micro { top: auto; bottom: 40px; }

/* 立绘适配：横版/海报用 cover，仅头像的角色用合成肖像 */
.pdp__game--cover {
  width: 100%; height: 100%; right: 0; bottom: 0;
  object-fit: cover; object-position: center 20%;
}
.pdp__box--glow {
  background: radial-gradient(44% 62% at 38% 46%, rgba(125, 211, 252, .28), transparent 68%),
    radial-gradient(52% 74% at 52% 54%, rgba(167, 139, 250, .3), transparent 72%);
}
.pdp__game--portrait {
  width: 64%; height: 100%; right: 4%; bottom: 0;
  object-fit: cover; object-position: center 12%;
  mix-blend-mode: multiply;
  filter: saturate(1.15) contrast(1.05);
  opacity: .96;
  mask-image: radial-gradient(64% 74% at 52% 42%, #000 52%, transparent 88%);
}


/* 亮色主视觉的压暗与边缘融合 */
.pdp__game--cover { filter: saturate(.96) brightness(.86) contrast(1.02); }
.pdp__box--glow .pdp__game--portrait { filter: saturate(1.1) brightness(.95) contrast(1.05); }

/* ============================================================
   产品信息版式 · 按克隆站实测数值重校
   实测（1600×900，1rem=83.33）：banner 267,75 / 1067×825；
   box -183,75 / 1202×667；nav -134,742 / 1142×83；
   info 1100,117 / 433×264；底部留白 75px
   ============================================================ */
:root { --u: calc((100vh - var(--nav-h)) / 10.8); }

.pdp { height: calc(100vh - var(--nav-h)); margin-top: var(--nav-h); }

.pdp__banner { top: calc(var(--u) * .9); width: calc(var(--u) * 12.8); height: calc(100% - var(--u) * .9); }

/* 立绘容器：与克隆站一致，向左出血 5.4u，宽 13.7u，高 8u */
.pdp__box {
  left: calc(var(--u) * -5.4);
  width: calc(var(--u) * 13.7);
  height: calc(var(--u) * 8);
}

/* 底部背景：仅下缘有底色，向上渐隐为透明 */
.pdp::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(var(--u) * 4.6);
  background:
    linear-gradient(180deg, rgba(11, 8, 24, 0) 0%, rgba(11, 8, 24, .55) 52%, rgba(11, 8, 24, .9) 100%);
  z-index: 0; pointer-events: none;
}
.pdp__banner { z-index: 1; }
.pdp__box { z-index: 1; }

/* 缩略图条：与立绘容器完全对齐（同 left/width） */
.pdp__nav {
  left: calc(50% - var(--u) * 11.8); transform: none;
  width: calc(var(--u) * 13.7); height: calc(var(--u) * 1);
  background: none;
}
.pdp__nav-item { width: calc(var(--u) * .74); height: calc(var(--u) * .74); margin-right: calc(var(--u) * .1); }

/* 信息区：与克隆站同位置 */
.pdp__info { top: calc(var(--u) * 1.4); right: calc(var(--u) * .8); }
.pdp__name { font-size: calc(var(--u) * .85); }
.pdp__en { font-size: calc(var(--u) * .2); }
.pdp__desc { max-width: calc(var(--u) * 7.5); font-size: calc(var(--u) * .16); line-height: calc(var(--u) * .28); }
.pdp__social { font-size: calc(var(--u) * .2); margin-left: calc(var(--u) * .3); }
.pdp__socials { margin-top: calc(var(--u) * .3); }

/* 装饰条与蓝色方块 */
.pdp__banner::before { right: calc(var(--u) * 3.5); top: calc(var(--u) * 5.2); width: calc(var(--u) * .3); height: calc(var(--u) * .3); }

/* 立绘不再占满容器高度，留出呼吸空间 */
.pdp__game { height: 92%; right: 0; bottom: 0; }
.pdp__game--cover { height: 100%; }
.pdp__game--portrait { height: 100%; width: 58%; right: 6%; }

/* ---- 切换时文字重播：改用关键帧，保证每次切换都重新播放 ---- */
@keyframes pdpInfoIn {
  from { opacity: 0; transform: translateX(calc(var(--u) * .6)); }
  to { opacity: 1; transform: none; }
}
@keyframes pdpGameIn {
  0% { opacity: 0; transform: translateX(calc(var(--u) * -1.2)); }
  18% { opacity: 1; transform: translateX(calc(var(--u) * -.4)); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes pdpBtnGrow { from { height: 0; } to { height: calc(var(--u) * .96); } }
@keyframes pdpBtnText { from { width: 0; } to { width: calc(var(--u) * 2.3); } }

.pdp__name, .pdp__slash, .pdp__desc, .pdp__socials { opacity: 0; transform: translateX(calc(var(--u) * .6)); }
.pdp.is-live .pdp__name { animation: pdpInfoIn 520ms ease-out 300ms both; }
.pdp.is-live .pdp__slash { animation: pdpInfoIn 520ms ease-out 500ms both; }
.pdp.is-live .pdp__desc { animation: pdpInfoIn 520ms ease-out 700ms both; }
.pdp.is-live .pdp__socials { animation: pdpInfoIn 520ms ease-out 900ms both; }

.pdp.is-live .pdp__game { animation: pdpGameIn 3000ms ease-out 200ms both; opacity: 1; }
.pdp.is-live .pdp__btn-box { animation: pdpBtnGrow 800ms ease-in 600ms both; }
.pdp.is-live .pdp__btn-text { animation: pdpBtnText 1200ms cubic-bezier(.17, .67, .22, 1.03) 600ms both; }

/* 文字切换时先轻微下移淡出，再由关键帧接回，避免硬切 */
.pdp.is-switching .pdp__name,
.pdp.is-switching .pdp__slash,
.pdp.is-switching .pdp__desc,
.pdp.is-switching .pdp__socials { animation: none; opacity: 0; transform: translateX(calc(var(--u) * .6)); }

/* ---- 侧边装饰：左下竖排文字 + 上方竖线（对齐克隆站 .aside-slogan） ---- */
.deco__text {
  left: 34px; top: auto; bottom: 34px; height: 252px;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 9px; letter-spacing: .3em;
  color: rgba(154, 148, 184, .58);
  overflow: hidden;
}
.deco__bar--l {
  left: 34px; top: auto; bottom: 302px;
  width: 1px; height: 300px;
  background: linear-gradient(0deg, rgba(154, 148, 184, .38), rgba(154, 148, 184, .04) 76%, transparent);
  box-shadow: none;
}
.deco__bar--l::after {
  content: ""; position: absolute; left: -1px; bottom: -4px;
  width: 3px; height: 3px; background: var(--blue); box-shadow: 0 0 8px rgba(125, 211, 252, .8);
}

@media (max-width: 900px) {
  :root { --u: calc(100vh / 16); }
  .pdp { height: auto; margin-top: 0; }
  .pdp::before { height: 220px; }
  .pdp__box { left: 0; width: 100%; height: 44vh; }
  .pdp__nav { position: relative; left: 0; top: 0; transform: none; width: 100%; height: auto; padding: 12px 16px; overflow-x: auto; }
  .pdp__game { height: 100%; }
}

/* ============================================================
   最终校准：头部高度 / 精确字号 / 立绘居中 / 装饰由外向内入场
   克隆站实测：1rem = 100vh/10.8；头部 60px；banner top .9rem=75
   ============================================================ */
:root { --nav-h: 75px; --u: calc(100vh / 10.8); --shift-x: clamp(26px, 3.2vw, 62px); }

/* 产品页：完全按克隆站比例（头部 75 = banner top 75） */
.pdp { height: 100vh; margin-top: 0; }
.pdp__banner { top: calc(var(--u) * .9); }
.pdp__box { left: calc(var(--u) * -5.4); width: calc(var(--u) * 14.42); height: calc(var(--u) * 8); }
.pdp__nav { top: calc(var(--u) * 8.9); left: 50%; transform: translateX(-81.8%); width: calc(var(--u) * 13.7); }
.pdp__info { top: calc(var(--u) * 1.4); }
.pdp__en { font-weight: 700; }
.pdp__social { line-height: normal; }

/* 立绘：保持原始比例并居中，不再裁切 */
.pdp__game {
  position: absolute; inset: 0; margin: auto;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  right: auto; bottom: auto;
}
.pdp__game--cover {
  inset: 0; margin: auto;
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.pdp__game--contain { inset: 0; margin: auto; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.pdp__game--portrait {
  inset: 0; margin: auto;
  width: auto; height: 82%;
  max-width: 62%; max-height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(1.1) brightness(.95) contrast(1.05);
  mask-image: radial-gradient(64% 74% at 52% 42%, #000 52%, transparent 88%);
}

/* ---- 装饰：切换分屏时由外向内滑入（克隆站 translateX(1.5rem) → 0） ---- */
.deco__text, .deco__bar--l, .deco__dots--l {
  opacity: 0;
  translate: calc(var(--shift-x) * -1) 0;
  transition: translate 1300ms var(--ease) 380ms, opacity 1100ms ease 380ms;
  animation: none;
}
.deco__word, .deco__bar--r, .deco__dots--r, .deco__micro {
  opacity: 0;
  translate: var(--shift-x) 0;
  transition: translate 1300ms var(--ease) 460ms, opacity 1100ms ease 460ms;
  animation: none;
}
.deco.is-in .deco__text,
.deco.is-in .deco__bar--l,
.deco.is-in .deco__dots--l,
.deco.is-in .deco__word,
.deco.is-in .deco__bar--r,
.deco.is-in .deco__dots--r,
.deco.is-in .deco__micro {
  opacity: 1;
  translate: 0 0;
}
.deco.is-off { opacity: 0; }
.scrolltip { animation: none; }

/* 左侧装饰文字：与克隆站同尺寸（8×250 的竖排字） */
.deco__text { font-size: 9px; letter-spacing: .3em; height: 252px; }
.deco__bar--l { width: 1px; }

@media (max-width: 1080px) {
  :root { --nav-h: 68px; }
  .pdp { height: 100vh; }
}
@media (max-width: 900px) {
  :root { --nav-h: 62px; --u: calc(100vh / 16); }
  .pdp { height: auto; margin-top: 0; }
  .pdp__game, .pdp__game--cover, .pdp__game--contain { position: relative; inset: auto; margin: 0 auto; max-height: 100%; }
}

/* 关闭旧版竖向漂移动画，只保留「由外向内」入场 */
.deco .deco__text,
.deco .deco__micro,
.deco .deco__dots--l,
.deco .deco__dots--r,
.deco .deco__word,
.deco .deco__bar--l,
.deco .deco__bar--r,
.deco.is-shifting .deco__text,
.deco.is-shifting .deco__micro,
.deco.is-shifting .deco__dots--l,
.deco.is-shifting .deco__dots--r,
.deco.is-shifting .deco__word,
.deco.is-shifting .deco__bar--l,
.deco.is-shifting .deco__bar--r { animation: none; }
.scrolltip { animation: none; }

/* ---- 装饰入场：改用关键帧，保证每次切屏都从外侧滑入 ---- */
@keyframes decoInLeft {
  from { translate: calc(var(--shift-x) * -1) 0; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}
@keyframes decoInRight {
  from { translate: var(--shift-x) 0; opacity: 0; }
  to { translate: 0 0; opacity: 1; }
}
.deco .deco__text,
.deco .deco__bar--l,
.deco .deco__dots--l { opacity: 0; }
.deco .deco__word,
.deco .deco__bar--r,
.deco .deco__dots--r,
.deco .deco__micro { opacity: 0; }

.deco.is-in .deco__text { animation: decoInLeft 1300ms var(--ease) 380ms both; }
.deco.is-in .deco__bar--l { animation: decoInLeft 1200ms var(--ease) 300ms both; }
.deco.is-in .deco__dots--l { animation: decoInLeft 1400ms var(--ease) 460ms both; }
.deco.is-in .deco__word { animation: decoInRight 1300ms var(--ease) 420ms both; }
.deco.is-in .deco__bar--r { animation: decoInRight 1200ms var(--ease) 340ms both; }
.deco.is-in .deco__dots--r { animation: decoInRight 1400ms var(--ease) 520ms both; }
.deco.is-in .deco__micro { animation: decoInRight 1300ms var(--ease) 500ms both; }

/* 立绘：在立绘区内水平居中（克隆站立绘左缘 -158、右缘 1019，中心 430） */
.pdp__game {
  left: 0; right: 0; top: 0; bottom: 0;
  margin: auto;
  max-height: 100%;
}
.pdp__game--cover,
.pdp__game--contain { left: 0; right: 0; top: 0; bottom: 0; margin: auto; }

/* ============================================================
   产品页底部装饰（克隆站 .home-product-swiper__banner-board）
   原版是一块 13.7×2.8rem 的浅色纹理板，被整幅主视觉遮住；
   本站主视觉是透明立绘，故改为「只在下缘托一层」的同色系柔光底座：
   上沿透明、下缘着色，色相取自当前立绘（--tint 由 home.js 注入）
   ============================================================ */
.pdp__board {
  position: absolute; left: calc(var(--u) * -4.8); top: calc(var(--u) * 5.6); z-index: 0;
  width: calc(var(--u) * 13.7); height: calc(var(--u) * 2.4);
  pointer-events: none; display: block;
  background-image:
    radial-gradient(50% 50% at 50% 50%,
      rgba(var(--tint, 125, 211, 252), .40) 0%,
      rgba(var(--tint, 125, 211, 252), .18) 40%,
      rgba(var(--tint, 125, 211, 252), .05) 62%,
      rgba(var(--tint, 125, 211, 252), 0) 76%),
    repeating-linear-gradient(118deg, rgba(236, 234, 248, .06) 0 1px, transparent 1px calc(var(--u) * .26)),
    repeating-linear-gradient(56deg, rgba(236, 234, 248, .04) 0 1px, transparent 1px calc(var(--u) * .38));
  filter: blur(7px);
  transition: background-image .4s;
}

/* 信息区宽度收到与克隆站一致（433px），使左缘落在 1100 */
.pdp__desc { max-width: calc(var(--u) * 5.2); }
/* ---- story.html 详情页的图片框（与首页剧情屏共用视觉语言） ---- */
.chronicle__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--border); background: rgba(12, 9, 26, .9);
}
.chronicle__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease), transform .8s var(--ease); }
.chronicle__media.is-changing img { opacity: 0; transform: scale(1.03); }
.chronicle__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 6, 15, .88) 0%, rgba(7, 6, 15, .26) 26%, transparent 54%);
}
.chronicle__media-word {
  position: absolute; left: 24px; bottom: 18px; z-index: 2;
  font-size: clamp(17px, 1.8vw, 25px); font-weight: 600; letter-spacing: .08em;
  color: var(--text);
}
.chronicle__media-tag {
  position: absolute; right: 16px; top: 14px; z-index: 2;
  padding: 4px 10px; border: 1px solid rgba(125, 211, 252, .34);
  color: var(--blue); background: rgba(7, 6, 15, .55);
  font: 500 9px/1 var(--mono); letter-spacing: .22em;
}
.chronicle__frame { position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(125, 211, 252, .2); pointer-events: none; }
.chronicle__frame i { position: absolute; width: 7px; height: 7px; background: var(--blue); box-shadow: 0 0 12px rgba(125, 211, 252, .6); }
.chronicle__frame i:nth-child(1) { left: -4px; top: -4px; }
.chronicle__frame i:nth-child(2) { right: -4px; top: -4px; }
.chronicle__frame i:nth-child(3) { left: -4px; bottom: -4px; }
.chronicle__frame i:nth-child(4) { right: -4px; bottom: -4px; }

/* ---- 内容层始终压在两侧装饰（.deco，z-index:1）之上 ----
   .fp__track 带 will-change:transform 会自建层叠上下文，
   若不显式抬层，装饰会浮在整块页面内容上面。 ---- */
main { position: relative; z-index: 2; }

/* ============================================================
   克隆站三大版式复刻（严格对照 mihoyo 源码结构与实测尺寸）
   基准：1rem = 100vh/10.8 = var(--u)；1600×900 时 --u = 83.33
   · 剧情回顾  ← .home-about .about-history（了解我们 / 发展历程）
   · 作品展示  ← .home-news（新闻动态首页区块）
   · 实用工具  ← .home-join（加入我们）
   仅替换主题色，其余尺寸、层级、动效与克隆站一一对应
   ============================================================ */

/* ============================================================
   04 · 剧情回顾（克隆站 .about-history）
   ============================================================ */
.hh {
  position: absolute; left: 50%; top: calc(var(--u) * 1.92);
  transform: translateX(-50%);
  width: calc(var(--u) * 11);
  transition: transform 800ms var(--ease) 200ms;
}
.fp__slide.is-prev .hh { transform: translateX(-50%) translateY(calc(var(--u) * -1.5)); }
.fp__slide.is-next .hh { transform: translateX(-50%) translateY(calc(var(--u) * 2)); }
.fp__slide.is-active .hh { transform: translateX(-50%) translateY(0); }

/* 顶部两个页签：克隆站 .home-about-cates（竖线分隔 + 换色换行） */
.hh-cates {
  display: flex; align-items: center; justify-content: flex-end;
  height: calc(var(--u) * .25); margin-right: calc(var(--u) * -.3);
  margin-bottom: calc(var(--u) * .5);
}
.hh-cate {
  position: relative; display: block; height: calc(var(--u) * .3);
  margin-right: -1px; overflow: hidden; cursor: pointer;
}
.hh-cate::before, .hh-cate::after {
  content: ""; position: absolute; top: 50%; z-index: 2; width: 1px;
  height: calc(var(--u) * .18); transform: translateY(-50%);
  background: rgba(160, 140, 255, .34); transition: background .3s;
}
.hh-cate::before { left: 0; }
.hh-cate::after { right: 0; }
.hh-cate:hover::before, .hh-cate:hover::after,
.hh-cate.is-active::before, .hh-cate.is-active::after { background: var(--blue); }
.hh-cate__roll {
  display: block; position: relative; height: calc(var(--u) * .6);
  transition: transform .4s var(--ease);
}
.hh-cate__row {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: calc(var(--u) * .3); line-height: 1;
  padding: 0 calc(var(--u) * .38);
  font-size: calc(var(--u) * .18); color: var(--muted);
  transition: background .3s, color .3s;
}
.hh-cate__row--dark { background: var(--blue); color: #07060f; font-weight: 700; }
.hh-cate:hover .hh-cate__roll,
.hh-cate.is-active .hh-cate__roll { transform: translateY(calc(var(--u) * -.3)); }

/* 主体：宽度 11rem，内容右对齐（克隆站 flex-end） */
.hh-process {
  position: relative; width: 100%;
  padding: 0 calc(var(--u) * .5);
  display: flex; flex-direction: column; align-items: flex-end;
}
.hh-title {
  position: absolute; left: 0; top: 0;
  font-size: calc(var(--u) * .24); font-weight: 700; line-height: 1.1;
  color: var(--text); letter-spacing: .02em;
}
.hh-title b {
  position: absolute; left: calc(var(--u) * .56); bottom: calc(var(--u) * -.16);
  font-size: calc(var(--u) * .1); font-weight: 400; color: var(--dim);
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}

/* 事件主图：8.83rem × 4.97rem（16:9），右缘对齐 1200；外围加蓝色取景框 */
.hh-event {
  position: relative; margin-right: calc(var(--u) * .2);
  width: calc(var(--u) * 8.83); height: calc(var(--u) * 5.4);
  display: flex; align-items: flex-start; justify-content: flex-end;
}
.hh-event__media {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: rgba(12, 9, 26, .9);
}
.hh-event__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hh-event__media.is-fading .hh-event__img { animation: hhFade 500ms ease-out both; }
.hh-event__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.hh-event__media.is-video .hh-event__video { display: block; }
.hh-event__media.is-video .hh-event__img { opacity: 0; animation: none; }
@keyframes hhFade { from { opacity: 0; } to { opacity: 1; } }

/* 取景框：与二级页面 .chronicle__frame 同一套语言（偏移 14px + 四角方点） */
.hh-frame {
  position: absolute; inset: 14px -14px -14px 14px; z-index: 2;
  border: 1px solid rgba(125, 211, 252, .28); pointer-events: none;
}
.hh-frame i {
  position: absolute; width: 7px; height: 7px; background: var(--blue);
  box-shadow: 0 0 12px rgba(125, 211, 252, .6);
}
.hh-frame i:nth-child(1) { left: -4px; top: -4px; }
.hh-frame i:nth-child(2) { right: -4px; top: -4px; }
.hh-frame i:nth-child(3) { left: -4px; bottom: -4px; }
.hh-frame i:nth-child(4) { right: -4px; bottom: -4px; }

/* 横线与时间轴 */
.hh-line {
  position: absolute; bottom: calc(var(--u) * .84); left: 0; right: 0;
  width: calc(100% - var(--u) * 1); height: 1px; margin: 0 auto;
  background: rgba(160, 140, 255, .42);
}
.hh-timeline {
  position: relative; width: 100%; padding-top: calc(var(--u) * .14);
  overflow: hidden; font-size: 0; line-height: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--u) * 1.1), #000 calc(100% - var(--u) * 1.1), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 calc(var(--u) * 1.1), #000 calc(100% - var(--u) * 1.1), transparent 100%);
}
.hh-timeline__list {
  display: inline-block; text-align: center; white-space: nowrap;
  transition: transform 500ms var(--ease); will-change: transform;
}
.hh-item {
  position: relative; box-sizing: border-box;
  width: calc(var(--u) * 2.52);
  font-size: 0; vertical-align: top; white-space: nowrap;
  display: inline-block; cursor: pointer;
}
.hh-item.has-year {
  width: calc(var(--u) * 4.56);
  padding-left: calc(var(--u) * 3.3);
  padding-right: calc(var(--u) * 1.26);
}
.hh-item__event {
  position: relative; width: 100%; padding-bottom: calc(var(--u) * .5);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
}
.hh-item__nav {
  position: relative; height: calc(var(--u) * .7);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.hh-item__nav::before, .hh-item__nav::after {
  content: ""; position: absolute; top: 50%; width: calc(var(--u) * .25); height: 2px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, rgba(160, 140, 255, .5) 0 3px, transparent 3px 7px);
  transition: opacity .3s;
}
.hh-item__nav::before { left: calc(var(--u) * -.34); }
.hh-item__nav::after { right: calc(var(--u) * -.34); }
.hh-item__icon {
  position: relative; width: calc(var(--u) * .54); height: calc(var(--u) * .54);
  background-color: #121026;
  border: 2px solid rgba(160, 140, 255, .38);
  border-radius: 50%; overflow: hidden;
  transition: transform 500ms ease-out, background-color .4s, border-color .4s, box-shadow .4s;
}
.hh-item__icon img {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--u) * .62); height: calc(var(--u) * .62);
  border-radius: 50%; object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: .55; transition: opacity .4s;
}
.hh-item:hover .hh-item__icon { border-color: rgba(125, 211, 252, .7); }
.hh-item:hover .hh-item__icon img { opacity: .85; }
.hh-item.is-active .hh-item__icon {
  background-color: var(--blue); border-color: var(--blue);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, .12), 0 0 22px rgba(125, 211, 252, .4);
}
.hh-item.is-active .hh-item__icon img { opacity: 1; }
.hh-item.is-active .hh-item__nav::before,
.hh-item.is-active .hh-item__nav::after { opacity: 0; }
.hh-item__month {
  position: absolute; bottom: calc(var(--u) * -.4); left: 50%;
  transform: translateX(-50%);
  font-size: calc(var(--u) * .16); font-weight: 700; line-height: 1.3;
  color: var(--muted); letter-spacing: .02em; transition: color .4s;
}
.hh-item.is-active .hh-item__month { color: var(--text); }
.hh-item__year {
  position: absolute; left: 0; top: 0; width: calc(var(--u) * 1.56);
  font-size: calc(var(--u) * .5); font-weight: 700; line-height: 1.32;
  color: var(--text); text-align: center; cursor: default;
  background: #090a18;
  font-variant-numeric: tabular-nums; transition: color .4s;
}
.hh-item.has-year .hh-item__year { cursor: pointer; }
.hh-item.has-year:hover .hh-item__year { color: var(--blue); }

/* 左右箭头（克隆站 .about-history-process-arrow） */
.hh-arrow {
  position: absolute; bottom: calc(var(--u) * .62); z-index: 5;
  width: calc(var(--u) * .38); height: calc(var(--u) * .45);
  border: 1px solid rgba(160, 140, 255, .38);
  transition: background-color .3s, border-color .3s;
}
.hh-arrow::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; margin: -4px 0 0 -3px;
  border-left: 1px solid var(--text); border-bottom: 1px solid var(--text);
  transform: rotate(45deg); transition: border-color .3s;
}
.hh-arrow--lf { left: 0; }
.hh-arrow--rt { right: 0; }
.hh-arrow--rt::before { transform: rotate(-135deg); margin-left: -6px; }
.hh-arrow:hover { background: var(--blue); border-color: transparent; }
.hh-arrow:hover::before { border-color: #07060f; }
.hh-arrow.is-disabled { opacity: .3; pointer-events: none; }

/* 面板切换（主线任务 / 剧情总览） */
.hh-panel[hidden] { display: none; }

/* 剧情总览 */
.hh-overview {
  position: relative; width: 100%;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: calc(var(--u) * .9);
  padding: calc(var(--u) * .42) calc(var(--u) * .5) 0;
}
.hh-overview__lead { max-width: calc(var(--u) * 5.2); }
.hh-overview__quote {
  margin-top: calc(var(--u) * .34);
  font-size: calc(var(--u) * .34); font-weight: 600; line-height: 1.5;
  letter-spacing: .02em; color: var(--text);
}
.hh-overview__text {
  margin-top: calc(var(--u) * .22); color: var(--muted);
  font-size: calc(var(--u) * .155); line-height: 2;
}
.hh-overview__stats { display: flex; gap: calc(var(--u) * .62); margin-top: calc(var(--u) * .48); }
.hh-overview__stats strong {
  display: block; font-size: calc(var(--u) * .42); font-weight: 700; line-height: 1;
  color: var(--text); font-variant-numeric: tabular-nums;
}
.hh-overview__stats span {
  display: block; margin-top: calc(var(--u) * .1); color: var(--muted);
  font-size: calc(var(--u) * .12); letter-spacing: .16em;
}
.hh-overview__list { display: grid; gap: calc(var(--u) * .045); align-content: start; }
.hh-chapter {
  position: relative; display: flex; align-items: center; gap: calc(var(--u) * .18);
  width: 100%; padding: calc(var(--u) * .06) calc(var(--u) * .2);
  border: 1px solid transparent; text-align: left; cursor: pointer;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.hh-chapter::before {
  content: ""; position: absolute; left: 0; top: 50%; width: calc(var(--u) * .06);
  height: 0; margin-top: 0; background: var(--blue);
  transition: height .3s var(--ease), margin-top .3s var(--ease);
}
.hh-chapter:hover { background: rgba(125, 211, 252, .05); transform: translateX(4px); }
.hh-chapter:hover::before { height: calc(var(--u) * .32); margin-top: calc(var(--u) * -.16); }
.hh-chapter img {
  width: calc(var(--u) * .38); height: calc(var(--u) * .38); flex: 0 0 auto;
  border-radius: 50%; object-fit: cover;
}
.hh-chapter__body { min-width: 0; }
.hh-chapter__body small {
  display: block; color: var(--blue); font: 500 calc(var(--u) * .105)/1.5 var(--mono);
  letter-spacing: .16em;
}
.hh-chapter__body strong {
  display: block; margin-top: 2px; color: var(--text);
  font-size: calc(var(--u) * .16); font-weight: 600; letter-spacing: .02em; line-height: 1.35;
}
.hh-chapter__count {
  margin-left: auto; flex: 0 0 auto; color: var(--muted);
  font: 500 calc(var(--u) * .13)/1 var(--mono); letter-spacing: .08em;
}

/* ============================================================
   05 · 作品展示（克隆站 .home-news）
   ============================================================ */
.hn { position: absolute; inset: 0; }
.hn__wrap {
  width: calc(var(--u) * 11); height: 100vh; margin: 0 auto;
  padding-top: calc(var(--u) * .88);
  display: flex; align-items: center; justify-content: center;
}
.hn-center { position: relative; width: 100%; }
.hn-first {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  width: 100%; height: calc(var(--u) * 3.5);
  margin-bottom: calc(var(--u) * .64);
  transition: transform 800ms var(--ease) 200ms;
}
.fp__slide.is-prev .hn-first { transform: translateY(calc(var(--u) * -1.5)); }
.fp__slide.is-next .hn-first { transform: translateY(calc(var(--u) * 2)); }
.fp__slide.is-active .hn-first { transform: translateY(0); }

/* 左：日期水印 + 标题 + 摘要 + READ MORE */
.hn-first__info {
  position: relative; left: calc(var(--u) * -.5);
  width: calc(var(--u) * 3.5); height: calc(var(--u) * 4.6); overflow: hidden;
}
.hn-first__date {
  position: absolute; left: calc(var(--u) * .5); top: 0;
  font-size: calc(var(--u) * .76); line-height: 1.32;
  color: rgba(236, 234, 248, .13); letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.hn-first__date .slash { padding: 0 calc(var(--u) * .06); font-weight: 200; }
.hn-first__date .year {
  display: block;
  font-size: calc(var(--u) * .3); font-style: normal; line-height: 1.32;
}
.hn-first__box {
  position: absolute; left: calc(var(--u) * .5); bottom: calc(var(--u) * .24);
  width: calc(var(--u) * 3);
}
.hn-first__title {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; margin-bottom: calc(var(--u) * .24);
}
.hn-first__tag {
  flex: 0 0 auto; margin-right: calc(var(--u) * .1);
  padding: calc(var(--u) * .03) calc(var(--u) * .12);
  font-size: calc(var(--u) * .14); font-weight: 700;
  color: #07060f; background: var(--blue);
}
.hn-first__title-content {
  flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: calc(var(--u) * .22); font-weight: 700; color: var(--text);
  transition: color .3s;
}
.hn-first__desc {
  height: calc(var(--u) * 1.5); overflow: hidden;
  font-size: calc(var(--u) * .14); line-height: calc(var(--u) * .25);
  color: var(--muted);
}
.hn-first__more {
  position: absolute; left: calc(var(--u) * .5); bottom: calc(var(--u) * .06);
  display: flex; align-items: flex-end; gap: calc(var(--u) * .3);
  height: calc(var(--u) * .3);
  font-size: calc(var(--u) * .12); font-weight: 700; font-style: italic;
  color: var(--blue); text-transform: uppercase; white-space: nowrap;
}
.hn-first__more b { position: relative; line-height: 1; }
.hn-first__more b::after {
  content: ""; position: absolute; left: 0; bottom: calc(var(--u) * -.06);
  width: 100%; border-bottom: 2px solid var(--blue);
  transform: scaleX(0); transform-origin: 100% 0;
  transition: transform 300ms cubic-bezier(.215, .61, .355, 1);
}
.hn-first__more:hover b::after { transform: scaleX(1); transform-origin: 0 0; }
.hn-first__arrows { letter-spacing: -.12em; font-size: calc(var(--u) * .16); }

/* 右：主视觉 + 斜纹背景块 */
.hn-first__banner {
  position: absolute; top: 0; left: calc(var(--u) * 3.3);
  width: calc(var(--u) * 7.8); height: calc(var(--u) * 3.5);
}
.hn-first__banner-img {
  position: relative; z-index: 2;
  width: calc(var(--u) * 6.2); height: calc(var(--u) * 3.5); overflow: hidden;
  border: 1px solid rgba(160, 140, 255, .16);
  background: radial-gradient(72% 92% at 50% 46%, rgba(96, 62, 190, .2), transparent 74%);
}
.hn-first__banner-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  transform: scale(1);
  transition: transform 2000ms cubic-bezier(.01, 1.21, .96, .95);
}
.hn-first__banner-bg {
  position: absolute; right: 0; bottom: calc(var(--u) * -.64);
  width: calc(var(--u) * 6.2); height: calc(var(--u) * 6.72);
  overflow: hidden;
  display: flex; align-items: center; justify-content: flex-start;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(167, 139, 250, .16), transparent 62%),
    linear-gradient(160deg, #171130 0%, #0d0a1c 60%, #090712 100%);
}
/* 克隆站 .home-news-first__banner-bg-img：同一张图放大 130% 垫在遮罩后面 */
.hn-first__banner-bg-img {
  position: absolute; left: 50%; top: 0; z-index: 1;
  width: auto; height: 130%; max-width: none;
  margin-top: -12%;
  transform: translateX(-50%);
  opacity: .6;
  filter: saturate(.6) brightness(.72) blur(4px);
}
.hn-first__banner-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background-image: repeating-linear-gradient(45deg, rgba(236, 234, 248, .085) 0 1px, transparent 1px 9px);
  background-color: rgba(9, 7, 18, .42);
}
.hn-first__banner-text {
  position: absolute; top: calc(var(--u) * .65); right: calc(var(--u) * .3); z-index: 3;
  width: calc(var(--u) * 2.82);
  font-size: calc(var(--u) * .1); font-weight: 700; line-height: 1.5;
  letter-spacing: .04em; text-align: right; color: var(--text); text-transform: uppercase;
}
.hn-first__banner-text i {
  display: block; width: calc(var(--u) * .62); height: calc(var(--u) * .1);
  margin: calc(var(--u) * .1) 0 0 auto; background: var(--grad);
}

/* 分页方块（克隆站 .home-news-list） */
.hn-list {
  position: relative; top: calc(var(--u) * .2); width: calc(var(--u) * 2);
  display: flex; justify-content: space-between;
  transition: transform 800ms var(--ease) 200ms;
}
.fp__slide.is-prev .hn-list { transform: translateY(calc(var(--u) * -1)); }
.fp__slide.is-next .hn-list { transform: translateY(calc(var(--u) * 2)); }
.fp__slide.is-active .hn-list { transform: translateY(0); }
.hn-list button {
  width: calc(var(--u) * .6); height: calc(var(--u) * .6);
  border: 1px solid rgba(160, 140, 255, .3);
  background: rgba(19, 14, 38, .5);
  font-size: calc(var(--u) * .26); line-height: calc(var(--u) * .58);
  color: rgba(236, 234, 248, .22); transform-origin: top center;
  transition: color .3s ease-out, border-color .3s ease-out, transform .3s ease-out;
}
.hn-list button:hover, .hn-list button.is-active {
  color: var(--text); border-color: var(--text); transform: scale(1.15);
}

/* 查看更多（克隆站 .more-btn） */
.hn-more-btn {
  position: absolute; left: 50%; transform: translateX(-50%);
  margin-top: calc(var(--u) * .8);
  display: block; width: calc(var(--u) * 1.7); height: calc(var(--u) * .34);
  line-height: calc(var(--u) * .32); text-align: center;
  border: 1px solid rgba(160, 140, 255, .3);
  font-size: calc(var(--u) * .14); color: var(--muted);
  transition: color .3s, border-color .3s, background .3s;
}
.hn-more-btn:hover { color: var(--blue); border-color: var(--blue); background: rgba(125, 211, 252, .06); }
.hn-first:hover .hn-first__title-content { color: var(--blue); }
.hn-first:hover .hn-first__banner-img img { transform: scale(1.2); }

/* ============================================================
   06 · 实用工具（克隆站 .home-join）
   ============================================================ */
.hj { position: absolute; inset: 0; }
.hj__wrap { position: relative; display: flex; justify-content: flex-end; width: 100%; height: 100%; }
.hj__wrapper { position: relative; z-index: 9; margin-top: calc(var(--u) * 5.18); flex-shrink: 0; }
/* 横幅本体（克隆站 .home-join .wrapper .banner）：只有这一条 10.488×2.743rem
   的星空底色，右上角斜切；人物上方不加任何底色 */
.hj__banner {
  position: relative; width: calc(var(--u) * 10.488); height: calc(var(--u) * 2.743);
}
.hj__banner::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-color: #241a5e;
  background-image:
    radial-gradient(120% 180% at 20% 118%, rgba(125, 211, 252, .22) 0%, transparent 58%),
    radial-gradient(90% 150% at 84% 6%, rgba(167, 139, 250, .26) 0%, transparent 62%),
    radial-gradient(circle 1px at 24% 32%, rgba(255, 255, 255, .55), transparent 100%),
    radial-gradient(circle 1.2px at 68% 66%, rgba(255, 255, 255, .45), transparent 100%),
    radial-gradient(circle .9px at 86% 22%, rgba(255, 255, 255, .4), transparent 100%),
    linear-gradient(112deg, #221a52 0%, #2c2069 48%, #150f34 100%);
  background-size: auto, auto, calc(var(--u) * 1.1) calc(var(--u) * .9), calc(var(--u) * .7) calc(var(--u) * .8), calc(var(--u) * 1.6) calc(var(--u) * 1.15), auto;
  background-position: 0 0, 0 0, 0 0, calc(var(--u) * .25) calc(var(--u) * .16), calc(var(--u) * .55) calc(var(--u) * .45), 0 0;
  clip-path: polygon(0 0, calc(100% - var(--u) * 1.5) 0, 100% calc(var(--u) * .9), 100% 100%, 0 100%);
}
.hj__banner-role {
  position: absolute; right: 0; bottom: 0; z-index: 7;
  width: 100%; height: calc(var(--u) * 6.133); overflow: hidden;
  clip-path: polygon(0% 0%, calc(100% - var(--u) * .4) 0%, calc(100% - var(--u) * .4) calc(var(--u) * 3.39), 100% calc(var(--u) * 3.79), 100% 100%, 0% 100%);
}
.hj__banner-role img {
  position: absolute; right: calc(var(--u) * 1.1); bottom: calc(var(--u) * -.4);
  width: calc(var(--u) * 6.6); height: auto; max-width: none; object-fit: contain;
  filter: drop-shadow(0 18px 46px rgba(60, 40, 140, .55)); opacity: .95;
}


/* 两个招聘式按钮（克隆站 .home-join-btn：斜切 + 扫光 + 箭头位移） */
.hj-btn {
  position: absolute; z-index: 9;
  display: flex; flex-direction: column; justify-content: center;
  width: calc(var(--u) * 3.11); height: calc(var(--u) * .99);
  padding: 0 calc(var(--u) * .42);
  overflow: hidden; color: #fff; background: #2a2340;
  clip-path: polygon(0% 0%, calc(100% - var(--u) * .24) 0%, 100% calc(var(--u) * .24), 100% 100%, 0% 100%);
  transition: all .7s ease-out;
}
.hj-btn--social { right: calc(var(--u) * .47); bottom: calc(var(--u) * .81); }
.hj-btn--campus { right: calc(var(--u) * .47); bottom: calc(var(--u) * -.46); }
.hj-btn__blue {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: calc(var(--u) * 4.5); height: 100%; background: #6a49e0;
  transform: translateX(calc(var(--u) * -1)) skewX(15deg);
  transition: transform .7s cubic-bezier(.215, .61, .355, 1);
}
.hj-btn__arrow {
  position: absolute; top: 0; left: 0; z-index: 1;
  width: calc(var(--u) * 1.59); height: 100%;
  transform: translateX(calc(var(--u) * 1.47));
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .1) 100%);
}
.hj-btn__txt { position: relative; z-index: 2; display: block; }
.hj-btn__title { display: block; font-size: calc(var(--u) * .28); font-weight: 700; line-height: 1; }
.hj-btn__subtitle {
  display: block; margin-top: calc(var(--u) * .04);
  font-size: calc(var(--u) * .14); letter-spacing: .02em;
  transition: all .7s ease;
}
.hj-btn:hover .hj-btn__blue { transform: translateX(100%) skewX(30deg); transition-delay: .3s; }
.hj-btn:hover .hj-btn__subtitle { transform: translateX(calc(var(--u) * .4)); transition-delay: .4s; }
.hj-btn:hover .hj-btn__arrow { animation: arrowmove .7s cubic-bezier(.68, .75, .35, 1.25) .2s forwards; }

/* 右侧：标题 + 4 张可展开卡片（克隆站 .join-weal） */
.hj-container {
  padding-left: calc(var(--u) * .55); padding-right: calc(var(--u) * 3.58);
  width: min(calc(var(--u) * 10.83), 55.5%);
  flex-shrink: 0; margin-top: calc(var(--u) * 3.11);
}
.hj-weal { transition: transform 800ms var(--ease) 300ms; }
.fp__slide.is-prev .hj-weal { transform: translateY(calc(var(--u) * -1.5)); }
.fp__slide.is-next .hj-weal { transform: translateY(calc(var(--u) * 1.5)); }
.fp__slide.is-active .hj-weal { transform: translateY(0); }
.hj-weal__title { position: relative; margin-left: calc(var(--u) * -.05); color: var(--text); }
.hj-weal__main { font-size: calc(var(--u) * .3); font-weight: 700; line-height: 1.2; }
.hj-weal__sub {
  margin-left: calc(var(--u) * .56); font-size: calc(var(--u) * .1);
  color: var(--dim); letter-spacing: .1em; text-transform: uppercase;
}

.hj-card {
  position: relative; top: calc(var(--u) * .4); display: block;
  width: calc(var(--u) * 6.7); min-width: calc(var(--u) * 6.7);
  min-height: calc(var(--u) * 1.15); max-height: calc(var(--u) * 2);
  margin-top: calc(var(--u) * .15);
  overflow: hidden; color: var(--muted);
  background-color: rgba(19, 14, 38, .86);
  background-image:
    linear-gradient(to bottom, rgba(19, 14, 38, .98) calc(100% - var(--u) * 1.57), rgba(19, 14, 38, 0) calc(100% - var(--u) * 1.57)),
    radial-gradient(60% 120% at 100% 100%, rgba(125, 211, 252, .1), transparent 70%);
  background-repeat: no-repeat;
  background-size: calc(var(--u) * 6.91) auto;
  background-position: 100% 100%;
  border: 1px solid rgba(160, 140, 255, .14);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--u) * .28), calc(100% - var(--u) * .28) 100%, 0% 100%);
  transition: all 300ms; cursor: pointer;
}
.hj-card:first-child { margin-top: 0; }
.hj-card__line {
  position: absolute; left: 0; top: calc(var(--u) * .29); z-index: 9;
  width: calc(var(--u) * .06); height: calc(var(--u) * .34);
  margin-left: calc(var(--u) * -.01);
  background: var(--blue); transition: all 500ms;
}
.hj-card__number {
  position: absolute; right: calc(var(--u) * .25); bottom: calc(var(--u) * .28);
  width: calc(var(--u) * .37); height: calc(var(--u) * .29);
  background: left bottom / 100% 100% no-repeat;
  opacity: 1; transition: opacity 500ms ease;
}
.hj-card__more {
  position: absolute; right: calc(var(--u) * .67); bottom: calc(var(--u) * .3);
  width: calc(var(--u) * .38); height: calc(var(--u) * .16);
  opacity: 1; transition: opacity 500ms ease;
}
.hj-card__brief { position: relative; width: 100%; padding: calc(var(--u) * .34) calc(var(--u) * .5) calc(var(--u) * .32); }
.hj-card__title {
  position: relative; z-index: 1; height: calc(var(--u) * .2);
  margin-bottom: calc(var(--u) * .13);
  font-size: calc(var(--u) * .2); font-weight: 700; line-height: 1;
  color: var(--text); overflow: hidden; white-space: nowrap;
  transition: color .3s;
}
.hj-card__content { overflow: hidden; white-space: nowrap; }
.hj-card__info { display: inline-flex; flex-wrap: wrap; width: calc(var(--u) * 5.61); font-size: calc(var(--u) * .16); }
.hj-card__info > span {
  position: relative; flex-shrink: 0; margin-right: calc(var(--u) * .14);
  font-size: calc(var(--u) * .16); opacity: .8;
}
.hj-card__desc {
  position: absolute; top: 0; left: 0; z-index: 1; width: 100%;
  padding: calc(var(--u) * .26) calc(var(--u) * .5) calc(var(--u) * .2);
  display: flex; font-size: calc(var(--u) * .14); color: var(--muted);
  /* 展开层必须完全盖住下面的 .hj-card__brief：
     原来是「上实下透明」的渐变，卡片展开后高度只有 1rem 出头，
     透明的 1.57rem 会把整块底色吃掉 → 下层文字直接透出来。改成实底。 */
  background-color: #110d24;
  background-image: radial-gradient(60% 120% at 100% 100%, rgba(125, 211, 252, .1), transparent 70%);
  background-repeat: no-repeat;
  background-size: 100% 100%; background-position: 100% 100%;
  transform: translateX(-100%);
  transition: transform 400ms cubic-bezier(.17, .67, .22, 1.03), opacity 400ms ease-out;
  overflow: hidden;
}
.hj-card__desc > div { position: relative; flex: 1; flex-shrink: 0; max-width: 50%; margin-right: calc(var(--u) * .4); }
.hj-card__desc > div:last-child { margin-right: 0; }
.hj-card__desc-sub { margin-bottom: calc(var(--u) * .13); font-size: calc(var(--u) * .18); font-weight: 700; color: var(--blue); opacity: .9; }
.hj-card__desc-content { font-size: calc(var(--u) * .14); line-height: calc(var(--u) * .18); }
.hj-card__desc-content p { margin: 0; }
.hj-card:hover { max-height: calc(var(--u) * 2); width: calc(var(--u) * 6.91); color: var(--blue); }
.hj-card:hover .hj-card__title { color: var(--blue); }
.hj-card:hover .hj-card__desc { position: relative; transform: translate3d(0, 0, 0); opacity: 1; width: 100%; }
.hj-card:hover .hj-card__brief { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; }
.hj-card:hover .hj-card__line { top: calc(var(--u) * .22); }
.hj-card:hover .hj-card__number,
.hj-card:hover .hj-card__more { opacity: 0; }

/* ---------- 窄屏回退 ---------- */
@media (max-width: 1080px) {
  .hh { width: calc(var(--u) * 13); }
}
@media (max-width: 900px) {
  .fp__stage--flush { padding: 0; justify-content: flex-start; }
  .hh {
    position: relative; left: auto; top: auto;
    transform: none !important; width: 100%; height: auto;
    padding: calc(var(--nav-h) + 30px) 22px 40px;
  }
  .hh-cates { height: auto; margin-right: 0; margin-bottom: 16px; }
  .hh-cate { height: 40px; }
  .hh-cate__roll { height: 80px; }
  .hh-cate__row { height: 40px; padding: 0 12px; font-size: 11px; }
  .hh-cate:hover .hh-cate__roll,
  .hh-cate.is-active .hh-cate__roll { transform: translateY(-40px); }
  .hn-list { width: auto; gap: 8px; justify-content: flex-start; }
  .hn-list button { width: 34px; height: 34px; min-width: 34px; line-height: 32px; font-size: 11px; }
  .hh-process { height: auto; align-items: stretch; }
  .hh-title { position: relative; }
  .hh-event { width: 100%; height: auto; margin: calc(var(--u) * 1.4) 0 0; }
  .hh-line { display: none; }
  .hh-timeline { margin-top: calc(var(--u) * .8); }
  .hh-arrow { width: 30px; height: 36px; bottom: calc(var(--u) * .5); }
  .hh-overview { grid-template-columns: 1fr; gap: 24px; padding-top: 12px; }
  .hh-overview__lead { max-width: none; }
  .hh-overview__quote { font-size: 22px; }
  .hh-overview__text { font-size: 13px; }
  .hh-overview__stats { gap: 28px; }
  .hh-overview__stats strong { font-size: 28px; }
  .hh-chapter { padding: 8px 10px; }
  .hh-chapter img { width: 30px; height: 30px; }
  .hh-chapter__body strong { font-size: 13px; }
  .hh-chapter__body small { font-size: 9px; }
  .hh-frame { inset: 10px -10px -10px 10px; }

  .hn { position: relative; }
  /* 移动端不走分屏引擎，取消切屏位移，否则内容会一直偏下 */
  .hn-first, .hn-list, .hj-weal, .hh { transform: none !important; }
  .hn__wrap { height: auto; width: 100%; padding: calc(var(--nav-h) + 30px) 22px 60px; }
  .hn-first { display: block; height: auto; margin-bottom: 26px; }
  .hn-first__info { left: 0; width: 100%; height: auto; overflow: visible; }
  .hn-first__date { position: relative; left: 0; }
  .hn-first__box { position: relative; left: 0; bottom: 0; width: 100%; margin-top: 14px; }
  .hn-first__more { position: relative; left: 0; bottom: 0; margin-top: 16px; }
  .hn-first__banner { position: relative; left: 0; width: 100%; height: auto; margin-top: 26px; }
  .hn-first__banner-img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hn-first__banner-bg { display: none; }
  .hn-more-btn { position: static; display: block; width: auto; max-width: 200px; left: auto; transform: none; margin: 28px auto 0; }

  .hj { position: relative; inset: auto; }
  .hj__wrap { display: block; height: auto; }
  .hj__wrapper { margin-top: calc(var(--nav-h) + 20px); }
  .hj__banner { width: 100%; height: auto; max-height: 52svh; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; }
  .hj__banner-role { height: 100%; }
  .hj__banner-role img {
    position: absolute; inset: 0; right: auto; bottom: auto;
    width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: center 24%;
  }
  .hj-btn { display: none; }
  .hj-container { width: 100%; padding: 0 22px 60px; margin-top: 26px; }
  .hj-card { width: 100%; min-width: 0; max-height: none; }
  .hj-card:hover { width: 100%; }
  .hj-card__info { display: none; }
  .hj-card__title { height: auto; margin-bottom: 10px; }
  .hj-card__desc { position: relative; transform: none; padding-top: 0; background: none; }
  .hj-card:hover .hj-card__brief { position: relative; }
  .hj-card__number, .hj-card__more { display: none; }
}

/* ============================================================
   两侧装饰 · 按克隆站实测重做
   左（.aside-slogan）：点阵块 227×440 + 蓝竖条 20×236 + 竖排文字 250
   右（.home-*-decoration）：竖排大字 + 两列小字 + 蓝竖条 12×110 + 点阵块
   全部位于页头 75px 以下，且不进内容区
   ============================================================ */
.deco { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 1; }
.deco__hline { top: 75px; }

/* ---- 左：点阵块 ---- */
.deco__dots--l {
  left: 0; right: auto; top: 22.3vh; bottom: auto;
  width: 227px; height: 48.9vh; min-height: 300px;
  background-image: radial-gradient(rgba(167, 139, 250, .9) 1px, transparent 1.4px);
  background-size: 12px 12px;
  opacity: .13;
  -webkit-mask-image: radial-gradient(70% 72% at 30% 50%, #000 0%, rgba(0, 0, 0, .5) 56%, transparent 82%);
  mask-image: radial-gradient(70% 72% at 30% 50%, #000 0%, rgba(0, 0, 0, .5) 56%, transparent 82%);
}
/* ---- 左：蓝色竖条 ---- */
.deco__bar--l {
  left: 63px; top: 38.3vh; bottom: auto;
  width: 20px; height: 26.2vh; min-height: 170px;
  background: linear-gradient(180deg, var(--blue), #8fb9f5);
  box-shadow: 0 0 18px rgba(125, 211, 252, .26);
  opacity: .78;
}
.deco__bar--l::after { content: none; }
/* ---- 左：竖排文字 ---- */
.deco__text {
  left: 67px; top: auto; bottom: 32px; height: 250px;
  transform: none; writing-mode: vertical-rl;
  font-size: 9px; letter-spacing: .34em; line-height: 1;
  color: rgba(154, 148, 184, .55);
}
/* ---- 右：竖排大字 ---- */
.deco__word {
  right: 104px; top: 100px; bottom: auto;
  transform: none; writing-mode: vertical-rl;
  font-size: 44px; font-weight: 700; letter-spacing: .1em; line-height: 1;
  color: rgba(236, 234, 248, .085);
}
/* ---- 右：两列小字 ---- */
.deco__micro {
  right: 70px; top: 104px; bottom: auto;
  writing-mode: vertical-rl;
  font: 500 8px/2.4 var(--mono); letter-spacing: .3em;
  color: rgba(154, 148, 184, .42);
  height: 250px;
}
/* ---- 右：蓝色竖条 ---- */
.deco__bar--r {
  right: 30px; top: 75px;
  width: 12px; height: 110px;
  background: var(--blue);
  box-shadow: 0 0 20px rgba(125, 211, 252, .32);
}
/* ---- 右：点阵块 ---- */
.deco__dots--r {
  right: 34px; top: auto; bottom: 13vh;
  width: 130px; height: 170px;
  background-image: radial-gradient(rgba(167, 139, 250, .9) 1px, transparent 1.4px);
  background-size: 10px 10px;
  opacity: .2;
}

/* 产品页：只留左侧装饰（克隆站产品页也只有 .aside-slogan） */
.deco.deco--pdp .deco__word,
.deco.deco--pdp .deco__micro,
.deco.deco--pdp .deco__bar--r,
.deco.deco--pdp .deco__dots--r,
body.has-pdp .deco__word,
body.has-pdp .deco__micro,
body.has-pdp .deco__bar--r,
body.has-pdp .deco__dots--r { display: none; }

body.has-pdp .deco__bar--l,
.deco.deco--pdp .deco__bar--l { left: 63px; top: 38.3vh; bottom: auto; width: 20px; height: 26.2vh; }
body.has-pdp .deco__text,
.deco.deco--pdp .deco__text { left: 67px; top: auto; bottom: 32px; transform: none; height: 250px; }

@media (max-width: 900px) {
  .deco__dots--l, .deco__bar--l, .deco__bar--r, .deco__text, .deco__micro { display: none; }
  .deco__word { right: 12px; top: 96px; font-size: 30px; opacity: .6; }
  .deco__dots--r { right: 8px; top: 40vh; width: 90px; height: 120px; opacity: .14; }
}

/* ============================================================
   装饰避让：不让侧边装饰压到图片 / 文字
   产品页（游戏资料、角色档案）立绘是满幅出血的，克隆站上装饰也被立绘完全遮住，
   本站立绘是透明 PNG 会透出来，因此这两个分屏直接不显示侧边装饰
   ============================================================ */
.deco.deco--pdp .deco__dots--l,
.deco.deco--pdp .deco__bar--l,
.deco.deco--pdp .deco__text,
.deco.deco--pdp .deco__word,
.deco.deco--pdp .deco__micro,
.deco.deco--pdp .deco__bar--r,
.deco.deco--pdp .deco__dots--r,
body.has-pdp .deco__dots--l,
body.has-pdp .deco__bar--l,
body.has-pdp .deco__text { display: none; }

/* 工具页：左侧 10.488rem 横幅从 x=-162 一直铺到 712（y 432 起），
   装饰条若按默认位置会正好被这块实色面板截断，故整组上移让出面板 */
.deco[data-for="tools"] .deco__dots--l { top: 96px; height: 320px; }
.deco[data-for="tools"] .deco__bar--l { top: 150px; height: 230px; }
.deco[data-for="tools"] .deco__text { height: 170px; }

/* 关于页正文从 150px 起，点阵收窄到 152px 以内 */
.deco[data-for="about"] .deco__dots--l { width: 152px; }
/* 右侧点阵收窄，避开关于页 FAQ 右缘（1450） */
.deco__dots--r { width: 120px; }

/* ============================================================
   游戏资料 · 档案版式
   排版对齐 B 项目资料页：左侧固定图标栏 + 吸顶页头 + 卡片墙
   仅作用于 data.html（body.is-archive），首页与其它页面不受影响
   ============================================================ */
body.is-archive .deco,
body.is-archive .scrolltip { display: none; }

.archive {
  --rail-w: 88px;
  --hero-h: 54px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: start;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ---------- 左侧图标栏 ---------- */
.archive__rail {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  z-index: 30;
  width: var(--rail-w);
  height: calc(100vh - var(--nav-h));
  padding: 14px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  overflow: visible;
  border-right: 1px solid var(--line);
  background: rgba(7, 6, 15, .82);
  backdrop-filter: blur(14px) saturate(130%);
}
.archive__rail::-webkit-scrollbar { display: none; }

.archive__tab {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color .22s, background .22s;
}
.archive__tab img {
  width: 24px;
  height: 24px;
  opacity: .55;
  transition: opacity .22s, transform .22s;
}
.archive__tab:hover { border-color: var(--border); background: rgba(124, 92, 255, .1); }
.archive__tab:hover img { opacity: .9; }
.archive__tab.is-active { border-color: rgba(125, 211, 252, .5); background: rgba(125, 211, 252, .1); }
.archive__tab.is-active img { opacity: 1; transform: scale(1.06); }
.archive__tab.is-active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--grad);
}
.archive__tab::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  z-index: 5;
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: rgba(20, 15, 40, .97);
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: .08em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.archive__tab:hover::after,
.archive__tab:focus-visible::after { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(4px); }

/* ---------- 主栏 + 吸顶页头 ---------- */
.archive__main {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: calc(100vh - var(--nav-h));
}

.archive__hero {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 15, .72);
  backdrop-filter: blur(14px) saturate(130%);
}
.archive__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  width: min(1280px, 100% - 96px);
  min-height: var(--hero-h);
  margin: 0 auto;
}
.archive__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  text-shadow: 0 0 26px rgba(124, 92, 255, .32);
}
.archive__crumb {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.archive__crumb a { color: var(--muted); transition: color .2s; }
.archive__crumb a:hover { color: var(--blue); }
.archive__crumb .sep { color: rgba(154, 148, 184, .42); }
.archive__crumb [aria-current="page"] { color: var(--blue); }
.archive__search {
  flex: 0 0 auto;
  width: min(300px, 34vw);
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: rgba(124, 92, 255, .06);
  color: var(--text);
  font-size: 13px;
  outline: 0;
  transition: border-color .25s, background .25s;
}
.archive__search::placeholder { color: rgba(154, 148, 184, .6); }
.archive__search:focus { border-color: rgba(125, 211, 252, .55); background: rgba(125, 211, 252, .07); }

/* ---------- 内容区 ---------- */
.archive__body { flex: 1 1 auto; padding: 26px 0 92px; }
.archive__inner { width: min(1280px, 100% - 96px); margin: 0 auto; }

.list-note {
  margin-bottom: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(125, 211, 252, .5);
  background: rgba(124, 92, 255, .05);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}
.list-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: .06em;
}
.list-count b { color: var(--blue); font-size: 14.5px; font-weight: 600; }
.archive__sort {
  height: 26px;
  padding: 0 8px;
  border: 1px solid var(--border);
  background: rgba(12, 9, 26, .8);
  color: var(--muted);
  font-size: 11.5px;
  outline: 0;
}
.archive__sort:hover { color: var(--text); }

/* ---------- 卡片墙 ---------- */
.archive__cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}
.archive__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(20, 15, 40, .72);
  backdrop-filter: blur(10px);
  color: inherit;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.archive__card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(56, 189, 248, .16);
}
.archive__art {
  position: relative;
  display: block;
  aspect-ratio: 150 / 194;
  padding: .5cm 2mm .4cm;
  overflow: hidden;
  background: radial-gradient(70% 60% at 50% 32%, rgba(124, 92, 255, .22), transparent 70%);
}
.archive__art-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.archive__card:hover .archive__art-img { transform: scale(1.045); }
.archive__badge {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 3px;
  object-fit: contain;
  background: rgba(0, 0, 0, .62);
  opacity: .95;
}
.archive__badge--tr { top: 6px; right: 6px; }
.archive__badge--br { right: 6px; bottom: 6px; }
.archive__cardbody {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
}
.archive__name { font-size: 14.5px; font-weight: 600; letter-spacing: .02em; }
.archive__stars { color: #ffd479; font-size: 11px; letter-spacing: .1em; }

/* ---------- 响应式 ---------- */
@media (max-height: 760px) and (min-width: 901px) {
  .archive__rail { padding: 8px 0 12px; gap: 2px; }
  .archive__tab { width: 46px; height: 46px; }
  .archive__tab img { width: 21px; height: 21px; }
}
@media (max-width: 1320px) {
  .archive__cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1170px) {
  .archive__cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1018px) {
  .archive__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .archive__search { width: min(240px, 40vw); }
}
@media (max-width: 900px) {
  .archive { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--nav-h) + 60px); }
  .archive__rail {
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: auto;
    height: 60px;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    overflow-x: auto;
    overflow-y: hidden;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .archive__tab { width: 46px; height: 46px; }
  .archive__tab img { width: 22px; height: 22px; }
  .archive__tab.is-active::before {
    left: 8px;
    right: 8px;
    top: auto;
    bottom: -1px;
    width: auto;
    height: 2px;
  }
  .archive__tab::after { display: none; }
  .archive__main { grid-column: 1; }
  .archive__hero { top: calc(var(--nav-h) + 60px); }
  .archive__bar,
  .archive__inner { width: min(1280px, 100% - 40px); }
}
@media (max-width: 640px) {
  .archive__bar { padding: 10px 0; gap: 4px 12px; }
  .archive__search { width: 100%; }
  .archive__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .archive__cardbody { padding: 8px 9px 10px; }
  .archive__name { font-size: 13px; }
  .archive__stars { font-size: 10px; }
  .archive__badge { width: 24px; height: 24px; }
  .archive__body { padding: 18px 0 64px; }
}

/* ---------- 横版媒体卡：剧情 / 动画 ---------- */
.archive__cards.archive__cards--media {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.archive__mcard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(20, 15, 40, .72);
  backdrop-filter: blur(10px);
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.archive__mcard:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(56, 189, 248, .16);
}
.archive__mart {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(70% 70% at 50% 40%, rgba(124, 92, 255, .22), transparent 72%);
}
.archive__mart img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.archive__mcard:hover .archive__mart img { transform: scale(1.05); }
.archive__mart::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(7, 6, 15, .78), transparent);
  pointer-events: none;
}
.archive__mkicker {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  padding: 2px 8px;
  background: rgba(7, 6, 15, .72);
  color: var(--blue);
  font: 500 9px/1.7 var(--mono);
  letter-spacing: .14em;
}
.archive__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  place-items: center;
  border: 1px solid rgba(236, 234, 248, .5);
  border-radius: 50%;
  background: rgba(7, 6, 15, .55);
  color: var(--text);
  font-size: 12px;
  text-indent: 2px;
  backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.archive__mcard:hover .archive__play {
  border-color: transparent;
  background: var(--grad);
  color: #0a0716;
  transform: scale(1.08);
}
.archive__mbody {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--line);
}
.archive__mname {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}
.archive__mmeta {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .04em;
}

@media (max-width: 1180px) {
  .archive__cards.archive__cards--media { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .archive__cards.archive__cards--media { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 560px) {
  .archive__cards.archive__cards--media { grid-template-columns: minmax(0, 1fr); }
  .archive__mname { font-size: 13px; }
}
@media (max-height: 640px) and (min-width: 901px) {
  .archive__tab { width: 40px; height: 40px; }
  .archive__tab img { width: 19px; height: 19px; }
}

/* ============================================================
   游戏资料 · 详情页
   沿用档案版式（左侧图标栏 + 吸顶页头），内容区改为
   「横幅主视觉 + 页签 + 左栏基础资料 + 右侧面板」
   并保留首页那套侧边装饰与入场动效
   ============================================================ */

/* 详情页显示侧边装饰，并为 88px 图标栏让位（只保留竖条 / 竖排字 / 大字，去掉点阵避免压内容） */
body.is-detail .deco__bar--l { left: 128px; width: 12px; height: 18vh; min-height: 120px; top: 34vh; opacity: .5; }
body.is-detail .deco__text { left: 134px; }
body.is-detail .deco__dots--l { display: none; }
body.is-detail .deco__dots--r { display: none; }
body.is-detail .deco__word { right: 12px; }
body.is-detail .deco__hline { left: 96px; }
body.is-detail .scrolltip { display: none; }

.dts { position: relative; }

/* ---------- 返回条 ---------- */
.dts__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  animation: dtsRise .7s var(--ease) both;
}
.dts__back {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: .06em;
  transition: color .25s, border-color .25s, background .25s, transform .25s var(--ease);
}
.dts__back:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: rgba(125, 211, 252, .07);
  transform: translateX(-3px);
}
.dts__crumb { margin-left: auto; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.dts__crumb b { color: var(--blue); font-weight: 500; }

/* ---------- 主视觉横幅 ---------- */
.dts__hero {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(80% 120% at 22% 18%, rgba(124, 92, 255, .28), transparent 66%),
    radial-gradient(70% 110% at 84% 78%, rgba(56, 189, 248, .14), transparent 70%),
    #0a0716;
  animation: dtsRise .9s var(--ease) .06s both;
}
.dts__glow {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 0;
  width: 62%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(167, 139, 250, .24), transparent 62%);
  filter: blur(12px);
  animation: dtsPulse 7s ease-in-out infinite;
}
.dts__mark {
  position: absolute;
  right: -1%;
  top: 4%;
  z-index: 0;
  color: rgba(236, 234, 248, .045);
  font-size: clamp(64px, 11vw, 168px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
  white-space: nowrap;
  user-select: none;
  animation: dtsFloat 12s ease-in-out infinite;
}
.dts__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(300px, 44vh, 520px);
  object-fit: contain;
  cursor: zoom-in;
  transition: transform .8s var(--ease);
}
.dts__hero[data-fit="contain"] .dts__img { object-fit: contain; height: clamp(300px, 40vh, 460px); }
.dts__hero[data-fit="cover"] .dts__img { object-fit: cover; }
/* 立绘 / 图标类主视觉：压暗层收窄，避免把画面下缘吃掉 */
.dts__hero[data-fit="contain"] .dts__scrim {
  height: 44%;
  background: linear-gradient(to top, rgba(7, 6, 15, .82) 0%, rgba(7, 6, 15, .3) 48%, transparent 100%);
}
.dts__hero:hover .dts__img { transform: scale(1.025); }
.dts__scrim {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 62%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 6, 15, .94) 6%, rgba(7, 6, 15, .58) 44%, transparent 100%);
}
.dts__sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(125, 211, 252, .13) 50%, transparent 58%);
  transform: translateX(-100%);
  animation: dtsSweep 1.5s var(--ease) .45s 1 both;
}
.dts__corner {
  position: absolute;
  z-index: 4;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(125, 211, 252, .5);
  pointer-events: none;
}
.dts__corner--tl { left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.dts__corner--tr { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.dts__corner--bl { left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.dts__corner--br { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }

.dts__cap {
  position: absolute;
  left: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 4;
  max-width: min(760px, 72%);
}
.dts__kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font: 600 9.5px/1.6 var(--mono);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.dts__kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}
.dts__name {
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: .04em;
  text-shadow: 0 6px 30px rgba(7, 6, 15, .62);
}
.dts__sub { margin-top: 8px; color: var(--muted); font-size: 12.5px; letter-spacing: .1em; }
.dts__stars { display: block; margin-top: 8px; color: #ffd479; font-size: 13px; letter-spacing: .22em; }
.dts__no {
  position: absolute;
  right: clamp(16px, 2.4vw, 32px);
  top: clamp(14px, 2.2vw, 26px);
  z-index: 4;
  color: rgba(154, 148, 184, .62);
  font: 500 9px/1 var(--mono);
  letter-spacing: .26em;
}

/* ---------- 页签 ---------- */
.dts__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-top: 18px;
  padding: 5px;
  border: 1px solid var(--border);
  background: rgba(8, 5, 16, .55);
  backdrop-filter: blur(10px);
  animation: dtsRise .7s var(--ease) .16s both;
}
.dts__tab {
  min-width: 96px;
  padding: 10px 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  transition: color .22s, background .22s, box-shadow .22s;
}
.dts__tab:hover { color: var(--text); background: rgba(167, 139, 250, .12); }
.dts__tab.is-active {
  color: #0a0716;
  background: var(--grad);
  box-shadow: 0 0 22px rgba(167, 139, 250, .3);
}

/* ---------- 主体：左栏 + 面板 ---------- */
.dts__body {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 28px;
  margin-top: 24px;
  align-items: start;
  animation: dtsRise .9s var(--ease) .24s both;
}
.dts__side {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  background: rgba(236, 234, 248, .025);
}
.dts__side::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--grad);
  opacity: .7;
}
.dts__side-title {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font: 600 10px/1.5 var(--mono);
  letter-spacing: .22em;
}
.dts__kv { margin-top: 4px; }
.dts__kv li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed rgba(150, 130, 255, .12);
  font-size: 12px;
  transition: background .25s, padding-left .25s;
}
.dts__kv li:hover { padding-left: 6px; background: rgba(125, 211, 252, .05); }
.dts__kv span { flex: 0 0 auto; color: var(--muted); letter-spacing: .06em; }
.dts__kv strong { font-weight: 500; text-align: right; }
.dts__side-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: rgba(154, 148, 184, .45);
  font: 500 9px/1.9 var(--mono);
  letter-spacing: .14em;
}

.dts__panels { min-width: 0; }
.dts__panel { display: none; }
.dts__panel.is-active { display: block; animation: panelIn .45s var(--ease) both; }
.dts__block + .dts__block { margin-top: 30px; }
.dts__h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
}
.dts__h > span { position: relative; padding-left: 12px; }
.dts__h > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 13px;
  margin-top: -6.5px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(125, 211, 252, .4);
}
.dts__more { margin-left: auto; color: var(--blue); font-size: 11px; letter-spacing: .08em; }
.dts__more:hover { text-decoration: underline; text-underline-offset: 4px; }
.dts__p { margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 2.05; }
.dts__note { margin-top: 16px; color: rgba(154, 148, 184, .55); font-size: 11px; letter-spacing: .06em; }

.dts__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dts__tag {
  padding: 5px 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: .06em;
  transition: color .25s, border-color .25s, background .25s;
}
.dts__tag:hover { color: var(--blue); border-color: rgba(125, 211, 252, .45); background: rgba(125, 211, 252, .06); }

.dts__table { margin-top: 6px; }
.dts__table li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 4px;
  border-bottom: 1px dashed rgba(150, 130, 255, .14);
  font-size: 13px;
}
.dts__table span { color: var(--muted); }
.dts__table strong { color: var(--text); font-weight: 500; }

/* 天赋 */
.dts__skills { display: grid; gap: 12px; margin-top: 16px; }
.dts__skill {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(236, 234, 248, .025);
  transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.dts__skill:hover {
  border-color: rgba(125, 211, 252, .35);
  background: rgba(125, 211, 252, .05);
  transform: translateX(4px);
}
.dts__skill-icon {
  flex: 0 0 auto;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(12, 9, 26, .6);
  color: var(--blue);
  font: 600 12px/1 var(--mono);
}
.dts__skill-icon img { width: 100%; height: 100%; object-fit: contain; }
.dts__skill small { color: var(--blue); font: 500 9px/1.6 var(--mono); letter-spacing: .2em; }
.dts__skill h4 { margin-top: 4px; font-size: 14px; font-weight: 600; }
.dts__skill p { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.95; }

/* 角色故事 */
.dts__story { margin-top: 18px; padding-left: 16px; border-left: 1px solid var(--line); }
.dts__story h4 { font-size: 13.5px; font-weight: 600; }
.dts__story p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 2.05; }

/* 图库 */
.dts__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 16px; }
.dts__gallery--wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.dts__shot {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(62% 62% at 50% 44%, rgba(167, 139, 250, .14), rgba(9, 7, 20, .92));
  cursor: zoom-in;
}
.dts__gallery--wide .dts__shot { aspect-ratio: 16 / 9; }
.dts__shot img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.dts__gallery--wide .dts__shot img { padding: 0; object-fit: cover; }
.dts__shot:hover img { transform: scale(1.06); }
.dts__shot-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 6px 10px;
  background: rgba(7, 6, 15, .82);
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-align: left;
}

/* 相关条目 */
.dts__rel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.dts__relcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(236, 234, 248, .025);
  transition: border-color .3s, transform .4s var(--ease), box-shadow .3s;
}
.dts__relcard:hover {
  border-color: rgba(125, 211, 252, .4);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(56, 189, 248, .12);
}
.dts__relart { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(12, 9, 26, .7); }
.dts__relart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform .6s var(--ease);
}
.dts__relcard:hover .dts__relart img { transform: scale(1.05); }
.dts__relbody { display: block; padding: 9px 11px 11px; border-top: 1px solid var(--line); }
.dts__relbody b { display: block; font-size: 12.5px; font-weight: 600; }
.dts__relbody small { display: block; margin-top: 2px; color: var(--muted); font-size: 10.5px; }

/* ---------- 动效 ---------- */
@keyframes dtsRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes dtsFloat { 50% { transform: translateY(-14px); } }
@keyframes dtsPulse { 50% { opacity: .55; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes dtsSweep { to { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .dts__bar, .dts__hero, .dts__tabs, .dts__body, .dts__panel.is-active { animation: none; }
  .dts__glow, .dts__mark, .dts__sweep { animation: none; }
  .dts__sweep { display: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .dts__body { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 900px) {
  body.is-detail .deco { display: none; }
  .dts__img { height: clamp(240px, 38vh, 380px); }
  .dts__cap { max-width: 100%; }
  .dts__rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .dts__name { font-size: 24px; }
  .dts__sub { font-size: 11.5px; }
  .dts__tabs { gap: 0; }
  .dts__tab { min-width: 0; flex: 1 1 0; padding: 9px 8px; font-size: 12px; letter-spacing: .06em; }
  .dts__gallery, .dts__gallery--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dts__crumb { display: none; }
}

/* ============================================================
   移动端统一校准：置于所有桌面校准层之后，
   保证 ≤900px 时产品信息版式为「立绘 → 信息 → 横向切换器」堆叠
   ============================================================ */
@media (max-width: 900px) {
  .pdp { height: auto; min-height: 100vh; margin-top: 0; padding-bottom: 40px; }
  .pdp__banner { position: relative; top: 0; left: 0; width: 100%; height: auto; padding-top: calc(var(--nav-h) + 12px); }
  .pdp__box { position: relative; left: 0; top: 0; width: 100%; height: 46vh; min-height: 260px; }
  .pdp__board { display: none; }
  .pdp__btn { top: auto; bottom: 10px; left: 20px; }
  .pdp__info { position: relative; top: 0; left: 0; right: 0; width: auto; align-items: flex-start; padding: 20px 22px 0; }
  .pdp__name { font-size: 32px; align-items: flex-start; }
  .pdp__name-cn { left: 0; }
  .pdp__en { font-size: 11px; }
  .pdp__slash { margin-left: 0; }
  .pdp__desc { max-width: none; font-size: 12.5px; line-height: 1.9; }
  .pdp__desc p { text-align: left; }
  .pdp__socials { margin-right: 0; flex-wrap: wrap; row-gap: 8px; }
  .pdp__social { font-size: 12px; margin-left: 0; margin-right: 14px; }
  .pdp__nav { position: relative; top: 0; left: 0; transform: none; width: 100%; height: auto; padding: 14px 16px; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .pdp__nav::-webkit-scrollbar { display: none; }
  .pdp__nav-item { width: 46px; height: 46px; margin-right: 8px; flex: 0 0 auto; }
  .pdp__filters { position: relative; top: 0; left: 0; right: 0; padding: calc(var(--nav-h) + 14px) 22px 10px; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
  .pdp__filter { font-size: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }
  .pdp__filter.is-active { border-color: var(--blue); }
  .pdp__filters + .pdp__banner { padding-top: 6px; }
  .pdp__crumb { display: none; }
  .pdp__game { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; }
  .pdp__game--portrait { height: 92%; max-width: 78%; }
  .pdp__banner::before { right: 18px; top: calc(var(--nav-h) + 22px); }
  .back-top { right: 16px; bottom: 100px; }
  .detail-view__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .tab-pills { flex-wrap: wrap; }
}
