:root {
  --paper:#f5ecdb;
  --gold:#e1c69b;
  --muted:#b2b6b8;
  --dim:#88949b;
  --rule:#35414a;
  --base:#0b121a;
  --serif:"STZhongsong","华文中宋","SimSun",serif;
  --sans:"Microsoft YaHei","微软雅黑",sans-serif;
  --margin:clamp(52px,6.4vw,118px);
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--base);
  color:var(--paper);
  font-family:var(--sans);
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

figure,p,h1,h2,h3 {
  margin:0;
}

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

button {
  font:inherit;
  color:inherit;
  border:0;
  background:transparent;
  padding:0;
}

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

a,button {
  cursor:pointer;
}

.header {
  height:79px;
  padding:0 var(--margin);
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:absolute;
  top:0;
  width:100%;
  z-index:2;
  background:linear-gradient(#050c14a1,transparent);
}

.brand {
  font:600 29px/1 var(--serif);
  letter-spacing:3px;
  color:#f7ebd5;
  text-shadow:0 2px 5px #000c;
}

.nav {
  display:flex;
  gap:38px;
  align-items:center;
  font-size:15px;
  letter-spacing:1px;
  text-shadow:0 2px 5px #000;
}

.menu {
  display:none;
}

.nav a[aria-current="page"] {
  color:var(--gold);
  text-decoration:underline;
  text-underline-offset:.4em;
}

.nav a { white-space:nowrap; }
@media (min-width:651px) and (max-width:800px) {
  .nav { gap:clamp(12px,2.5vw,20px); }
}

/* 文字页没有首屏底图，让正文从共享页头下方开始。 */
.header + main > :is(.W-条款,.W-反馈区):first-child {
  padding-top:clamp(96px,9vw,132px);
}
.W-条款 h2 { margin:1.5em 0 .5em; }
.W-反馈区 > .W-反馈说明 { margin-bottom:12px; }

.gallery-hero {
  display:grid;
  align-items:end;
  isolation:isolate;
  width:100%;
  height:clamp(300px,52svh,540px);
  padding:88px var(--edge) clamp(24px,4vw,60px);
}
.gallery-hero img { position:absolute; inset:0; z-index:-2; }
.gallery-hero::after {
  z-index:-1;
  pointer-events:none;
  background:linear-gradient(90deg,#09111bd9,transparent 72%),
    linear-gradient(0deg,#0b121a,transparent 55%);
}
.gallery-head h1 {
  margin:0 0 clamp(12px,2vw,24px);
  color:var(--paper);
  font:clamp(42px,5.2vw,76px)/1.12 var(--serif);
  letter-spacing:.08em;
}
.gallery-chapters { display:flex; flex-wrap:wrap; gap:0 clamp(14px,3vw,38px); }
.gallery-chapters a {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:.9em;
  min-height:44px;
  border-bottom:1px solid var(--gold);
  color:var(--paper);
  font:clamp(16px,1.3vw,20px)/1.4 var(--serif);
}
.gallery-chapters a::after {
  content:""; width:.4em; height:.4em; border:solid var(--gold);
  border-width:0 1px 1px 0; transform:rotate(45deg);
}
.gallery-chapters a:hover { color:var(--gold); }
.gallery-chapters a:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
/* 章节只淡入，避免原生锚点按入场前的位移计算落点。 */
html.启 .gallery-hero ~ .W-区块:not(.现) { transform:none; }
/* 页内入口定位到正文时，标题与卡片直接显示。 */
html:has(:is(#六城副本,#职业技能,.gallery-skill-tabs a):target) { scroll-behavior:auto; }
:is(#六城副本,#职业技能,.gallery-skill-tabs a) { scroll-margin-block-start:24px; }
html.启 .W-区块.chapter-content { opacity:1; transform:none; transition:none; }
html.启 .W-区块.chapter-content.现 .W-特色格 > * { animation:none; }
.gallery-skill-head {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
  gap:8px 24px; max-width:990px; margin:0 auto var(--距-3);
  border-bottom:1px solid var(--rule);
}
.gallery-skill-head .W-区块题 {
  margin:0; text-align:left; text-indent:0; letter-spacing:.08em;
  font-size:clamp(22px,3vw,30px);
}
.gallery-skill-head .W-区块题::after { display:none; }
.gallery-skill-tabs { display:flex; gap:4px; }
.gallery-skill-tabs a {
  display:grid; place-items:center; min-height:44px; min-width:56px; padding-inline:8px;
  border-bottom:2px solid transparent; color:var(--muted); font:16px var(--serif);
}
.gallery-skill-tabs a:is([aria-selected="true"],:hover,:focus-visible) { border-color:var(--gold); color:var(--paper); }
.gallery-skill-tabs a:focus-visible { outline:2px solid var(--gold); outline-offset:-3px; }
.gallery-skill-intro { max-width:990px; margin:0 auto var(--距-4); text-align:left; }
@media (max-width:475px) {
  .gallery-skill-tabs a { scroll-margin-block-start:64px; }
}
@media (max-height:520px) and (orientation:landscape) {
  .gallery-hero { height:min(90svh,360px); min-height:0; aspect-ratio:auto; padding-block:74px 18px; }
}

.dungeon-entry {
  display:grid;
  grid-template-columns:max-content minmax(0,1fr);
  gap:12px 22px;
  margin:24px 0 0;
  padding-top:18px;
  border-top:1px solid var(--rule);
}
.dungeon-entry dt { color:var(--gold); }
.dungeon-entry dd { margin:0; color:var(--paper); }

.hero {
  position:relative;
  height:min(56.25vw,980px);
  min-height:640px;
  isolation:isolate;
}

.hero:before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:radial-gradient(ellipse 44% 38% at 12% 80%,#050b12c7 0%,#060d1666 53%,transparent 90%),linear-gradient(0deg,#0b121a70,transparent 16%);
}

.hero-copy {
  position:absolute;
  left:var(--margin);
  bottom:11.8%;
}

.hero h1 {
  font:600 clamp(72px,7.25vw,136px)/1.14 var(--serif);
  letter-spacing:.026em;
  color:#f4e6cf;
  text-shadow:0 2px 14px #05070b70;
}

.hero-sub {
  font:400 clamp(19px,1.53vw,27px)/1.5 var(--serif);
  letter-spacing:3px;
  margin:6px 0 28px;
  color:#fff4e4;
}

.actions {
  display:flex;
  align-items:center;
  gap:30px;
}

.actions .W-主按钮 {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 30px;
  color:#241e15;
  background:linear-gradient(105deg,#f2e5ce,#dec399);
  border:1px solid #f7eada;
  font:600 18px var(--serif);
  letter-spacing:2px;
  border-radius:2px;
}

.play-action {
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  font-size:16px;
  color:#faf3e8;
}

.play-icon {
  width:30px;
  height:30px;
  border:1px solid #d7d9d7a0;
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  font:12px/1 Arial;
  padding-left:2px;
}


.news {
  padding:0 var(--margin);
  height:82px;
  background:#101921;
  border-block:1px solid #89785960;
  display:flex;
  align-items:center;
  gap:34px;
}

.news h2 {
  font:22px var(--serif);
  color:var(--gold);
  letter-spacing:2px;
}

.sub-link {
  margin-left:auto;
  color:#d6c9b3;
  font-size:14px;
  letter-spacing:1px;
}

.battle {
  padding:70px var(--margin);
  display:grid;
  grid-template-columns:.76fr 1.24fr;
  align-items:center;
  gap:65px;
  background:radial-gradient(ellipse at 70% 60%,#1a2932,transparent 60%),#0d1720;
}

.kicker {
  display:flex;
  gap:12px;
  align-items:center;
  font:14px/1.5 var(--sans);
  color:var(--gold);
  letter-spacing:3px;
}

.kicker:before {
  content:"";
  width:28px;
  height:1px;
  background:#b79f7d;
}

.section-title {
  font:500 clamp(39px,3.6vw,64px)/1.25 var(--serif);
  letter-spacing:3px;
}

.battle .section-title {
  margin:17px 0;
}

.body-text {
  max-width:350px;
  color:#c9cdd0;
  line-height:1.95;
  font-size:16px;
}

.textlink {
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin-top:27px;
  border-bottom:1px solid #bfaa8475;
  color:#ead9b9;
  font-size:15px;
  padding-bottom:7px;
}

.frame {
  display:block;
  padding:5px;
  border:1px solid #6c6b60;
  background:#141c22;
}

.frame img {
  width:100%;
  max-height:387px;
  object-fit:contain;
  display:block;
  background:#0b1117;
}

.caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:6px;
  margin-top:10px;
  color:#b9c1c6;
  font-size:13px;
}

.caption span:last-child {
  color:#9da9b1;
}

.world {
  height:clamp(490px,39vw,640px);
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0 var(--margin);
  background:#101720 center 51%/cover;
  isolation:isolate;
}

.world-backdrop { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center 51%; }

.world:before {
  content:"";
  inset:0;
  position:absolute;
  background:linear-gradient(90deg,transparent 51%,#12192266 72%,#101721a8),linear-gradient(0deg,#07111cb0,transparent 21%);
  z-index:-1;
}

.world-copy {
  width:30%;
  padding-left:12px;
  text-shadow:0 2px 9px #111;
}

.world .section-title {
  margin:17px 0 10px;
}

.world .body-text {
  max-width:none;
  color:#ecede8;
}

.world-tabs {
  display:flex;
  gap:32px;
  align-items:end;
  height:55px;
  position:absolute;
  bottom:0;
  left:var(--margin);
  font-size:15px;
}

.world-tabs button {
  height:48px;
  display:flex;
  align-items:center;
  gap:10px;
}

.world-tabs [aria-pressed="true"] {
  border-bottom:2px solid var(--paper);
}

.thumb {
  height:29px;
  width:51px;
  object-fit:cover;
  border:1px solid #e8e0c340;
}

.footer {
  padding:37px var(--margin);
  background:#090f15;
  border-top:1px solid #6f645443;
}

.footrow {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}

.footer .brand {
  font-size:24px;
}

.footlinks {
  display:flex;
  gap:24px;
  color:#c5c9ca;
  font-size:13px;
}

.advice {
  margin-top:22px;
  font-size:12px;
  line-height:1.8;
  color:#9ba7ac;
}

.download-screen {
  min-height:calc(100vh - 142px);
  background:radial-gradient(ellipse at 70% 35%,#1b2833,transparent 62%),#101820;
}

.down-hero {
  height:278px;
  position:relative;
  background:linear-gradient(90deg,#0a131cf7 4%,#0b151eda 33%,#0b142108 72%),linear-gradient(0deg,#101820,transparent 25%),url("法相临城/长安横版.webp") center 47%/cover;
}

.down-head {
  position:absolute;
  left:var(--margin);
  bottom:34px;
}

.down-head h1 {
  font:54px/1.23 var(--serif);
  letter-spacing:4px;
}

.down-head p {
  color:#d5d6d3;
  font-size:16px;
  margin-top:12px;
}

.channels {
  padding:30px var(--margin) 27px;
}

.channels h2 {
  font:27px var(--serif);
  letter-spacing:2px;
}

.channels-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:19px;
}

.platform {
  display:grid;
  grid-template-columns:1.16fr 1fr 182px 154px;
  align-items:center;
  gap:16px;
  border-top:1px solid #65737961;
  min-height:78px;
  padding:0 18px;
}

.platform:last-of-type {
  border-bottom:1px solid #65737961;
}

.pname {
  font:23px var(--serif);
  letter-spacing:1px;
  display:flex;
  align-items:center;
  gap:18px;
}

.picon {
  width:30px;
  height:22px;
  border:1.5px solid #d5c5a7;
  display:inline-block;
  position:relative;
  border-radius:2px;
}

.picon:after {
  position:absolute;
  content:"";
  width:12px;
  height:1px;
  background:#d5c5a7;
  bottom:-5px;
  left:8px;
}

.picon.phone {
  width:16px;
  height:26px;
  margin:0 7px;
  border-radius:3px;
}

.picon.phone:after {
  bottom:3px;
  left:4px;
  width:5px;
}

.platform-info {
  color:#bdc6c9;
  font-size:15px;
}

.state {
  color:#cad0d1;
  font-size:15px;
  display:flex;
  align-items:center;
  gap:10px;
}

.state:before {
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#8d989e;
}

.state.open {
  color:#dbe5d8;
}

.state.open:before {
  background:#9bb79d;
}

.state.fail {
  color:#e2c59e;
}

.state.fail:before {
  background:#c99a68;
}

.row-action {
  min-height:40px;
  width:146px;
  display:grid;
  place-items:center;
  justify-self:end;
  border:1px solid #adac9d88;
  color:#e4dac7;
  font-size:15px;
}

.row-action.solid {
  color:#211c14;
  background:#ead6b6;
  border-color:#ead6b6;
  font-weight:600;
}

@media (min-width:761px) {
  .channels:not(:has([data-平台操作]:not([hidden]))) .platform {
    grid-template-columns:1.16fr 1fr 182px;
  }
}

.download-note {
  display:flex;
  justify-content:space-between;
  margin-top:24px;
  font-size:14px;
  color:#adbac2;
}

.download-note span:last-child {
  color:#ddcba8;
}

[hidden] {
  display:none!important;
}

@media(max-width:650px) {
  :root {
    --margin:24px;
  }
  .header {
    height:62px;
  }
  .brand {
    font-size:22px;
    letter-spacing:2px;
  }
  .nav {
    display:none;
  }
  .menu {
    display:grid;
    place-content:center;
    gap:5px;
    height:44px;
    width:44px;
  }
  .menu i {
    width:24px;
    height:1.5px;
    background:#f2ead9;
  }
  .hero {
    height:calc(100svh - 55px);
    min-height:560px;
    max-height:940px;
  }
  .hero:before {
    background:linear-gradient(0deg,#071019e6 0%,#08111ba3 15%,transparent 40%);
  }
  .hero-copy {
    left:24px;
    right:24px;
    bottom:27px;
  }
  .hero h1 {
    font-size:clamp(50px,14vw,72px);
  }
  .hero-sub {
    font-size:16px;
    letter-spacing:1px;
    margin:6px 0 18px;
  }
  .actions {
    gap:23px;
  }
  .actions .W-主按钮 {
    font-size:16px;
    min-height:46px;
    padding:0 22px;
  }
  .play-action {
    font-size:14px;
    gap:8px;
  }
  .play-icon {
    width:23px;
    height:23px;
    font-size:10px;
  }

.news {
    height:55px;
    gap:12px;
    padding:0 19px;
  }
  .news h2 {
    font-size:15px;
    letter-spacing:0;
    white-space:nowrap;
  }
  .news .sub-link {
    font-size:0;
  }
  .news .sub-link:after {
    content:"›";
    font-size:22px;
  }
  .battle {
    display:flex;
    flex-direction:column;
    gap:24px;
    padding:40px 24px;
  }
  .world {
    height:390px;
  }
  .world-copy {
    width:53%;
  }
  .footrow {
    display:block;
  }
  .footlinks {
    flex-wrap:wrap;
    margin-top:15px;
    gap:10px;
  }
}

body {
  line-height:1.5;
}

a:hover,button:hover {
  color:var(--gold);
}

a:focus-visible,button:focus-visible {
  outline:2px solid var(--gold);
  outline-offset:3px;
}

.hero {
  overflow:hidden;
}

.actions .W-主按钮 {
  animation:none;
  box-shadow:none;
  text-indent:0;
  line-height:1.2;
}

.actions .W-主按钮::before {
  display:none;
}

.actions .W-主按钮:hover,.row-action.solid:hover {
  color:#241e15;
  filter:brightness(1.07);
}

.news>[data-新闻列表],.news>.W-新闻列表 {
  min-width:0;
  flex:1;
  border-left:1px solid #aa9a7d82;
  padding-left:30px;
}

.news [data-新闻列表] {
  display:flex;
  align-items:center;
  gap:12px;
}

.news [data-列表状态]:empty,.news .W-新闻类,.news .W-新闻日 {
  display:none;
}

.news .W-新闻列表,.news .W-新闻行 {
  padding:0;
  margin:0;
  list-style:none;
  border:0;
  background:transparent;
  min-width:0;
}

.news .W-新闻行 {
  display:block;
}

.news .W-新闻行 a {
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.news [data-列表状态] {
  color:var(--muted);
  font-size:14px;
}

.news [data-列表重试],.channel-status button {
  color:var(--gold);
  border-bottom:1px solid currentColor;
  padding:3px 0;
}

.news [data-列表重试] {
  font:inherit;
  min-height:40px;
  white-space:nowrap;
  border:0;
  background:none;
  box-shadow:none;
  letter-spacing:normal;
}

.news h2,.news>.sub-link {
  flex-shrink:0;
}

.world[data-当前="长安"] {
  background-image:url("展示/城景_长安城_1120.webp");
}

.world[data-当前="长安"] .world-backdrop { display:none; }

.world-tabs button {
  cursor:pointer;
  color:var(--paper);
}

.frame img {
  height:auto;
}

.world-tabs .thumb {
  width:51px;
  height:29px;
  object-fit:cover;
}

.footer .advice {
  margin-bottom:0;
}

.legal {
  font-size:12px;
  color:#9ba7ac;
  line-height:1.8;
}

.channel-status {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 16px;
  color:var(--muted);
  font-size:14px;
}

.channel-status:not(:has([data-下载状态]:empty)) {
  margin-top:14px;
}

.reel {
  width:min(1280px,96vw,calc(160svh - 136px));
  max-height:94svh;
  overflow:auto;
  padding:16px;
  background:#101920;
  color:var(--paper);
  border:1px solid #827663;
}

.reel::backdrop {
  background:#05090ee8;
}

.reel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}

.reel h2 {
  margin:0;
  font:24px var(--serif);
}

.reel button,.channel-status button {
  min-height:40px;
}

.reel video {
  display:block;
  width:100%;
  max-height:calc(90svh - 84px);
  object-fit:contain;
  background:#080f15;
  height:auto;
  aspect-ratio:16/9;
}

.reel button,.reel-error {
  color:var(--gold);
  font-size:15px;
}
.reel button { min-width:50px; min-height:44px; }

.reel-error { margin-top:12px; }
.reel-error a { text-decoration:underline; }

@media(max-width:760px) {
  .channels {
    padding:22px 20px;
  }
  .platform {
    grid-template-columns:minmax(0,1fr) auto;
    gap:5px 10px;
    padding:14px 0;
  }
  .platform .pname {
    font-size:19px;
    gap:8px;
  }
  .platform .platform-info {
    display:none;
  }
  .platform .state {
    grid-column:1;
    grid-row:2;
    font-size:13px;
  }
  .platform .row-action {
    grid-column:2;
    grid-row:1 / span 2;
    width:auto;
    padding:0 10px;
    font-size:14px;
  }
  .download-note {
    gap:10px;
    flex-wrap:wrap;
  }
  .down-hero {
    height:250px;
  }
  .down-head h1 {
    font-size:38px;
  }
}

@media(max-width:650px) {
  .header {
    z-index:3;
  }
  .nav.开 {
    position:absolute;
    top:56px;
    right:var(--margin);
    display:flex;
    align-items:stretch;
    flex-direction:column;
    gap:0;
    background:#101820f5;
    border:1px solid #65737980;
    padding:6px 18px;
    max-height:calc(100svh - 62px);
    overflow-y:auto;
  }
  .nav a {
    padding:12px 0;
  }

.news>[data-新闻列表],.news>.W-新闻列表 {
    padding-left:12px;
  }
  .news [data-新闻列表] {
    gap:7px;
  }
  .news [data-列表状态],.news .W-新闻行,.news [data-列表重试] {
    font-size:12px;
  }
  .news>.sub-link {
    min-width:22px;
    text-align:right;
  }
  .world-copy {
    padding:12px;
    width:min(84%,300px);
    background:linear-gradient(90deg,transparent,#101820a8);
    text-align:right;
  }
  .world-copy .kicker {
    justify-content:flex-end;
  }
  .world-tabs {
    gap:18px;
  }
}

@media(max-height:550px) and (orientation:landscape) {
  .hero {
    height:max(390px,100svh);
    min-height:0;
  }
  .hero-copy {
    bottom:9%;
  }
  .hero h1 {
    font-size:56px;
  }
  .hero-sub {
    margin:3px 0 12px;
  }
  .hero .W-主按钮 {
    min-height:42px;
  }
}

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

/* 法相临城与万剑仙庭共用一段自然滚动。 */
:root {
  --gold-light: #ecd9aa;
  --edge: clamp(30px, 5vw, 96px);
}
.two-scenes { position: relative; isolation: isolate; overflow: clip; background: #0a1118; }
.two-scenes .hero, .two-scenes .world { min-height: 0; height: 100svh; max-height: none; }
.stage-back {position:sticky;top:0;height:100svh;margin-bottom:-100svh;isolation:isolate;overflow:hidden;pointer-events:none;background:#101720;}
.hero {position:relative;z-index:1;overflow:hidden;background:transparent;}
.film { position: absolute; inset: -1.6%; z-index: -3; transform:scale(1.018); }
.film picture,.film img,.film video { width:100%; height:100%; display:block; }
.film img { object-fit:cover; object-position:60% 42%; }
.film video {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 60% 42%;
  opacity: 0;
  transition:opacity .4s ease;
  pointer-events: none;
}
.two-scenes.有动作帧 .film video { opacity: 1; }
.hero:before { z-index:-1; background: linear-gradient(0deg,#060b13d9,transparent 25%),linear-gradient(90deg,#080e18ab 0%,#0c142139 29%,transparent 58%),linear-gradient(180deg,#080e1866,transparent 14%); }
.hero-copy { bottom:19%; left:var(--edge); width:min(47%,760px); transform:translateY(var(--copy-y,0px)); }
.scene-name { display:flex; align-items:center; gap:13px; color:#f4deaf; font:500 clamp(15px,1.13vw,20px)/1.3 var(--serif); letter-spacing:.26em; text-shadow:0 2px 5px #000; }
.scene-name i { width:30px; height:1px; background:#e0c794; }
.hero h1 { margin:14px 0 6px -1.5%; line-height:1; }
.brush-title { width:100%; height:auto; display:block; filter:drop-shadow(0 4px 10px #0509129e); }
.hero-sub { margin:9px 0 24px; color:#e9dfcf; font-size:clamp(15px,1.23vw,21px); letter-spacing:.25em; }
.hero .actions { gap:26px; flex-wrap:wrap; width:max-content; max-width:calc(100vw - 2 * var(--edge)); }
.hero .actions a { flex:none; white-space:nowrap; }
.hero .actions .W-主按钮 { padding:0 27px; min-height:46px; }
.lamp-glow {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-2;}
.lamp-glow { background:radial-gradient(ellipse 11% 15% at 11% 18%,#ffad342d,transparent 88%),radial-gradient(ellipse 25% 19% at 74% 15%,#ffe1a91f,transparent 80%); }
.two-scenes.ambient .lamp-glow { animation:灯影 5.8s ease-in-out infinite alternate; }
@keyframes 灯影 { from{opacity:.28} to{opacity:1} }
.into-world,.motion-toggle {position:absolute;bottom:25px;display:inline-flex;align-items:center;gap:11px;color:#f3e9d5;text-shadow:0 1px 5px #000;min-height:36px;font-size:13px;letter-spacing:.14em;}
.into-world {left:50%;transform:translateX(-50%);flex-direction:column;gap:5px;}
.into-world i { width:8px;height:8px;border-bottom:1px solid currentColor;border-right:1px solid currentColor;transform:rotate(45deg);}
.motion-toggle {right:var(--edge);letter-spacing:.05em;}
.motion-toggle i {width:8px;height:11px;border-inline:2px solid currentColor;}
.motion-toggle[data-停="是"] i {width:0;height:0;border:5px solid transparent;border-left:8px solid currentColor;border-right:0;}
.two-scenes.ambient .into-world i {animation:导览 2s ease-in-out infinite;}
@keyframes 导览 {50% {transform:translateY(3px) rotate(45deg)}}
.two-scenes .world {z-index:1;overflow:hidden;padding:0 var(--edge);box-shadow:0 -12px 38px #14202b68;align-items:center;}
.world:before {background:linear-gradient(90deg,transparent 33%,#11172421 57%,#101820c9),linear-gradient(0deg,#0a131ed6,transparent 30%);}
.world-copy {width:auto;max-width:48%;padding:0;transform:translateY(var(--world-y,0px));}
.world .section-title {font:500 clamp(56px,5.6vw,114px)/1.15 var(--serif);letter-spacing:.08em;color:#fff0d1;margin:14px 0 18px;}
.world .body-text {font:18px/1.6 var(--serif);letter-spacing:.09em;}
.world-tabs {bottom:6%;left:var(--edge);height:auto;gap:0;align-items:center;}
.world-tabs:before {content:"";position:absolute;left:7px;right:7px;bottom:9px;height:1px;background:#c0a87799;pointer-events:none;}
.world-tabs button {border:0!important;position:relative;display:flex;align-items:center;gap:8px;height:56px;padding:0 16px 15px;color:#d2ccb9;}
.world-tabs button:after {content:"";position:absolute;bottom:6px;left:50%;width:7px;height:7px;transform:rotate(45deg);background:#232a29;border:1px solid #c9b78f;}
.world-tabs [aria-pressed="true"] {color:#ffedcb;}
.world-tabs [aria-pressed="true"]:after {background:#f0d69b;box-shadow:0 0 9px #c29b5a;}
.world-tabs img {display:none;}
.two-scenes .world {mask-image:linear-gradient(180deg,transparent 0,black var(--feather,0px));}
@media (max-aspect-ratio:9/10) {
  .film img{object-position:50% 47%;}
  .film video{object-position:50% 47%;}
  .hero-copy{bottom:12.5%;width:min(80%,630px);}
  .hero:before{background:linear-gradient(0deg,#060d17ee 0%,#08111b81 23%,transparent 48%),linear-gradient(180deg,#090f163d,transparent 11%);}
  .world {background-position:40% center;}
  .world-backdrop {object-position:40% center;}
  .world-copy{align-self:flex-end;margin-bottom:max(160px,20svh);max-width:100%;text-align:right;background:none;}
  .world .kicker{justify-content:flex-end;}
}
@media(max-width:650px) {
  :root{--edge:23px;}
  .hero-copy{right:auto;}
  .hero h1{margin:10px 0 4px -1%;}
  .hero-sub{font-size:14px;margin:6px 0 18px;letter-spacing:.14em;}
  .scene-name{font-size:13px;gap:8px;}
  .scene-name i{width:22px;}
  .hero .actions{gap:21px;}
  .hero .actions .W-主按钮 {padding:0 20px;min-height:44px;}
  .motion-toggle,.into-world{bottom:14px;font-size:12px;}
  .into-world{left:var(--edge);transform:none;flex-direction:row;min-height:44px;gap:12px;}
  .world .section-title{font-size:47px;}
  .world .body-text{font-size:16px;}
}
@media(max-height:520px) and (orientation:landscape) {
  .reel { width:min(96vw,calc(169svh - 84px)); padding:6px 10px; max-height:98svh; }
  .reel-head { margin-bottom:2px; }
  .reel h2 { font-size:18px; }
  .reel video { max-height:calc(97svh - 56px); }
  .hero-copy{bottom:16%;width:min(38%,360px);}
  .hero-sub{margin:3px 0 9px;font-size:12px;}
  .hero .scene-name{font-size:12px;}
  .hero .actions .W-主按钮{min-height:38px;}
  .into-world,.motion-toggle{bottom:8px;}
}
@media(prefers-reduced-motion:reduce) {
  .stage-back {position:relative;}
  .hero{position:relative;}
  .film,.hero-copy,.world-copy{transform:none;}
  .film video{transition:none;}
  .hero .lamp-glow,.hero .into-world i{animation:none;}
}

/* 职业肖像与实机片共用一套排版，首页和职业内页的选择方式一致。 */
.lineage,.abyss-page { background:#10171d; color:var(--paper); }
.lineage { padding:clamp(36px,4.8vw,82px) var(--edge); border-top:1px solid var(--rule); }
.lineage-page { padding-top:clamp(90px,8.2vw,145px); background:linear-gradient(155deg,#252e32,#11191f 64%); }
.lineage-head { display:flex; align-items:baseline; justify-content:space-between; gap:16px; }
.lineage-head { margin-bottom:clamp(18px,2vw,32px); }
.lineage-page .lineage-head,.lineage-links { flex-wrap:wrap; }
.lineage-links { display:flex; gap:8px 20px; }
.lineage-head :is(h1,h2),.court-route h2,.abyss-places h2 { margin:0; font:500 clamp(32px,3.4vw,60px)/1.16 var(--serif); letter-spacing:.10em; color:var(--paper); }
.lineage .textlink,.abyss-page .textlink { margin:0; width:fit-content; font:15px/1.5 var(--serif); color:var(--gold); }
.lineage-picks { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid #8f81685c; }
.lineage-pick { position:relative; display:block; isolation:isolate; overflow:hidden; height:clamp(192px,19vw,320px); color:#f6ecdc; }
.lineage-pick + .lineage-pick { border-left:1px solid #c9b38565; }
.lineage-pick img,.court-hero picture,.court-hero img { display:block; width:100%; height:100%; object-fit:cover; }
.lineage-pick { scroll-margin-top:clamp(148px,15vw,240px); }
.lineage-pick img { object-position:50% 21%; transition:transform .5s ease; }
.lineage-pick::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#080e13c9,transparent 62%); }
.lineage-pick span { position:absolute; z-index:1; bottom:clamp(15px,1.65vw,29px); left:clamp(14px,2vw,36px); display:grid; gap:5px; text-shadow:0 2px 6px #080a0d; }
.lineage-pick small,.lineage-path { font:500 14px/1.5 var(--serif); letter-spacing:.18em; color:#dbc99f; }
.lineage-pick strong { font:500 clamp(27px,2.8vw,49px)/1.12 var(--serif); letter-spacing:.12em; }
.lineage-pick[aria-selected="true"]::after { box-shadow:inset 0 -4px #e8d7ae; }
.lineage-pick[aria-selected="true"] span::after { content:""; width:25px; height:1px; background:#e8d7ae; }
.lineage-pick:focus-visible { z-index:1; outline:3px solid #ffe2a4; outline-offset:-5px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) { .lineage-pick:hover img { transform:scale(1.035); } }
.lineage-story { display:grid; grid-template-columns:minmax(0,1.28fr) minmax(0,1fr) auto; gap:clamp(24px,4vw,80px); align-items:center; padding:clamp(22px,3vw,48px) 0 0; }
.lineage-story[hidden] { display:none; }
.lineage-text { max-width:28em; }
.lineage-text h3 { margin:8px 0 12px; font:500 clamp(29px,3vw,50px)/1.18 var(--serif); letter-spacing:.06em; }
.lineage-text p:not(.lineage-path),.lineage-skill p,.court-copy>p:not(.lineage-path) { font:16px/1.85 var(--serif); color:#ddd8cc; }
.lineage-story p { margin:0; }
.lineage-skill { border-inline-start:1px solid #9c8c6b65; padding-inline-start:clamp(16px,2.7vw,42px); }
.lineage-skill h4 { margin:0 0 4px; color:var(--gold); font:500 22px/1.4 var(--serif); letter-spacing:.08em; }
.lineage-actions { display:grid; justify-items:center; justify-self:start; }
.skill-replay { display:inline-flex; width:fit-content; align-items:center; gap:10px; min-height:44px; padding:0 20px; border:1px solid #ac9671; color:var(--gold); font:16px/1.4 var(--serif); white-space:nowrap; }
.skill-replay:is(:hover,:focus-visible) { color:var(--paper); background:#302e28; }
.skill-guide { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding-inline:8px; font:15px/1.4 var(--serif); color:var(--gold); }
.skill-guide:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:.35em; }
.court-hero { position:relative; isolation:isolate; min-height:clamp(490px,74svh,890px); display:grid; align-items:end; padding:110px var(--edge) clamp(42px,5.5vw,94px); }
.court-hero picture,.court-hero::after { position:absolute; inset:0; z-index:-1; }
.court-hero picture { z-index:-2; }
.court-hero img { object-position:center 53%; }
.court-hero::after { content:""; background:linear-gradient(90deg,#0a131bdb 0%,#0c151a99 28%,transparent 65%),linear-gradient(0deg,#10171de8,transparent 26%),linear-gradient(180deg,#07101868,transparent 24%); }
.court-copy { max-width:34em; }
.court-copy h1 { margin:13px 0 17px; font:500 clamp(61px,6.8vw,125px)/1.06 var(--serif); letter-spacing:.10em; color:#fff0cc; text-shadow:0 2px 14px #17130970; }
.court-copy .lineage-path { display:flex; gap:12px; align-items:center; color:#f3e0b6; }
.court-copy .lineage-path i { width:35px; height:1px; background:currentColor; }
.court-copy>p:not(.lineage-path) { max-width:29em; color:#f2eadb; font-size:clamp(16px,1.25vw,21px); }
.court-copy .textlink { display:inline-block; margin-top:18px; }
.court-route,.abyss-places { padding:clamp(32px,4.4vw,75px) var(--edge); }
.court-route { display:grid; grid-template-columns:minmax(190px,1fr) minmax(0,2.3fr); gap:28px; align-items:start; border-bottom:1px solid var(--rule); }
.court-route h2 { margin-top:8px; }
.court-route-head .textlink { margin-top:18px; }
.court-itinerary { max-width:48em; }
.court-itinerary h3 { margin:0 0 8px; font:500 clamp(21px,2vw,32px)/1.35 var(--serif); }
.court-itinerary p { margin:0; font:16px/1.8 var(--serif); color:#ddd8cc; }
.court-itinerary strong { font-weight:600; color:var(--paper); }
.court-itinerary .court-onward { margin-top:8px; font-size:14px; color:#bbb9ad; }
.court-route ol { margin:25px 0 14px; padding:0; list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.court-route li { position:relative; border-top:1px solid #72644d; padding-top:17px; color:#c1c3be; font:clamp(14px,1.35vw,22px)/1.4 var(--serif); }
.court-route li::before { content:""; position:absolute; top:-4px; left:2px; width:7px; height:7px; transform:rotate(45deg); background:#182128; border:1px solid #a69372; }
.court-route [aria-current] { color:#ffe2aa; }
.court-route [aria-current]::before { background:#f4d9a4; }
.abyss-places ul { list-style:none; margin:26px 0 32px; padding:0; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:clamp(10px,1.6vw,26px); }
.abyss-places img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.abyss-places figcaption { margin:9px 0 0; font:500 clamp(16px,1.45vw,25px)/1.4 var(--serif); }
@media(max-width:760px) {
  .lineage-story { gap:22px; }
  .court-route { grid-template-columns:1fr; }
  .abyss-places ul { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .lineage,.court-route,.abyss-places { padding-inline:20px; }
  .lineage-page { padding-top:90px; }
  .lineage-pick { height:clamp(143px,41vw,224px); }
  .lineage-pick img { object-position:center 22%; }
  .lineage-pick span { left:11px; bottom:13px; gap:2px; }
  .lineage-pick small,.lineage-path { font-size:12px; }
  .lineage-story { grid-template-columns:1fr; gap:15px; }
  .lineage-text { max-width:none; }
  .lineage-text p:not(.lineage-path) { font-size:15px; line-height:1.6; }
  .court-hero { padding:100px 22px 34px; min-height:clamp(490px,77svh,770px); }
  .court-hero img { object-position:83% center; }
  .court-hero::after { background:linear-gradient(0deg,#10171d 1%,#0e1820ba 30%,transparent 65%),linear-gradient(180deg,#10171d85,transparent 22%); }
  .court-route li { font-size:14px; }
  .abyss-places ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-height:500px) and (orientation:landscape) {
  .lineage-page { padding-top:60px; }
  .lineage-head { margin-bottom:10px; }
  .lineage-head :is(h1,h2) { font-size:29px; }
  .lineage-pick { height:clamp(78px,30svh,140px); scroll-margin-top:70px; }
  .lineage-pick span { bottom:10px; gap:1px; }
  .lineage-story { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) auto; gap:clamp(10px,2vw,22px); padding-top:12px; }
  .lineage-text h3 { margin:2px 0 4px; font-size:22px; }
  .lineage-skill { padding-inline-start:12px; }
  .lineage-skill h4 { font-size:18px; }
  .lineage-text p:not(.lineage-path),.lineage-skill p { font-size:14px; line-height:1.5; }
  .skill-replay { padding-inline:12px; font-size:15px; }
  .court-hero { min-height:100svh; padding-block:78px 24px; }
  .court-copy h1 { font-size:56px; margin-block:8px; }
}
@media(max-width:760px) and (max-height:500px) and (orientation:landscape) {
  .court-route { padding-block:18px; gap:12px; }
  .court-route-head { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 16px; }
  .court-route-head h2 { order:-1; margin:0; font-size:26px; }
  .court-route-head .textlink { margin:0; }
  .court-itinerary h3 { margin-bottom:4px; font-size:19px; }
  .court-itinerary p { font-size:15px; line-height:1.6; }
  .court-route ol { margin:16px 0 8px; }
  .court-route li { padding-top:9px; }
}

/* 公告标题与试玩入口沿用门户大景，正文保持可阅读的行宽。 */
.dispatch { background:#101820; min-height:68svh; }
.dispatch-banner,.down-hero {
  min-height:clamp(285px,35vw,395px);
  height:auto;
  display:flex;
  align-items:flex-end;
  padding:100px var(--edge) clamp(32px,4vw,62px);
}
.dispatch-banner {
  background:linear-gradient(90deg,#08121bef 0%,#0d171fa8 38%,#0b131f0d 76%),linear-gradient(0deg,#101820,transparent 39%),url("img/主视觉_盛唐坊市.jpg") center 45%/cover;
}
.dispatch-banner h1,.down-head h1 {
  margin:0; font:500 clamp(42px,4.8vw,82px)/1.16 var(--serif);
  color:#fff1d8; letter-spacing:.08em; overflow-wrap:anywhere;
}
.dispatch-feed,.dispatch-paper { padding:clamp(27px,3.5vw,54px) var(--edge) clamp(52px,6vw,92px); }
.dispatch-feed .W-新闻列表 { margin:0; padding:0; list-style:none; }
.dispatch-feed .W-新闻行 {
  display:grid; position:relative; grid-template-columns:104px minmax(0,1fr) 22px; align-items:center; gap:22px;
  padding:22px 6px; min-height:79px; border:0; border-bottom:1px solid #58625f82; background:transparent;
}
.dispatch-feed .W-新闻行:first-child { border-top:1px solid #9a8769; }
.dispatch-feed .W-新闻行 a { grid-column:2; grid-row:1; font:500 clamp(19px,1.7vw,29px)/1.45 var(--serif); color:#f5ead8; white-space:normal; overflow-wrap:anywhere; }
.dispatch-feed .W-新闻行 time { grid-column:1; grid-row:1; color:#c7b99b; font:14px/1.5 var(--sans); font-variant-numeric:tabular-nums; }
.dispatch-feed .W-新闻行::after { content:"→"; grid-column:3; color:var(--gold); }
.dispatch-feed .W-新闻行 a::after { content:""; position:absolute; inset:0; }
.dispatch-feed .W-新闻行:focus-within,.dispatch-feed .W-新闻行:hover { background:#e1c69b09; }
.dispatch [role="status"]:empty { display:none; }
.dispatch [role="status"]:not(:empty) { margin-bottom:16px; color:var(--muted); }
.dispatch-feed nav { margin-top:18px; }
.dispatch-article .dispatch-banner { min-height:clamp(285px,35vw,390px); }
.dispatch-article .dispatch-banner h1 { max-width:23em; margin:16px 0 10px; font-size:clamp(33px,3.8vw,64px); }
.dispatch-back { color:var(--gold); font:16px/1.5 var(--serif); }
.article-date { color:#d7d0c5; font-size:14px; font-variant-numeric:tabular-nums; }
.dispatch-paper { max-width:61rem; margin-inline:auto; }
.dispatch-paper .W-文章体 { font-size:clamp(16px,1.2vw,19px); line-height:1.9; color:#eee8de; overflow-wrap:anywhere; }
.dispatch-paper .W-文章体 img { max-width:100%; height:auto; }
.dispatch-paper>.dispatch-back { display:block; margin-top:32px; border-top:1px solid var(--rule); padding-top:18px; }
.news .W-新闻行 { display:flex; align-items:center; gap:14px; }
.news .W-新闻行 a { min-width:0; }
.news .W-新闻日 { display:inline; color:#c4b69a; font:13px/1.5 var(--sans); }
.down-head { position:static; }
.down-head p { max-width:30em; color:#e5e3da; font:clamp(16px,1.25vw,21px)/1.6 var(--serif); }
.trial-entry { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; margin-top:22px; }
.trial-entry .row-action { order:-1; width:auto; padding-inline:24px; min-height:46px; }
.trial-entry .state { color:#dedbcc; font-size:14px; }
.channels { padding-inline:var(--edge); }
.channels-top h2 { font-size:clamp(28px,2.6vw,43px); }
.channels .platform:first-of-type,.channels-top+.platform { border-top-color:#9a8769; }
.download-note { justify-content:flex-end; }
@media(max-width:650px) {
  .dispatch-banner,.down-hero,.dispatch-article .dispatch-banner { min-height:290px; padding:90px 22px 28px; }
  .dispatch-banner { background-position:64% center; }
  .dispatch-feed .W-新闻行 { grid-template-columns:minmax(0,1fr) 22px; gap:3px 12px; padding:14px 0; }
  .dispatch-feed .W-新闻行 a { grid-column:1; grid-row:2; line-height:1.5; }
  .dispatch-feed .W-新闻行::after { grid-column:2; grid-row:1 / span 2; }
  .news .W-新闻行 { flex-direction:column; align-items:flex-start; gap:1px; }
  .news .W-新闻行 a { max-width:100%; }
  .news .W-新闻日 { font-size:11px; }
  .trial-entry { margin-top:15px; }
  .channels .platform { padding-inline:0; }
}
@media(max-height:520px) and (orientation:landscape) {
  .dispatch-banner,.down-hero,.dispatch-article .dispatch-banner { min-height:240px; padding-block:78px 24px; }
  .dispatch:not(.dispatch-article) .dispatch-banner { min-height:clamp(128px,45svh,210px); padding-block:66px 14px; }
  .dispatch-feed { padding-block-start:12px; }
  .dispatch-feed .W-新闻行 { min-height:64px; padding-block:10px; }
}
