/* =====================================================================
   马夫DNFS1A12怀旧60公益服 · 官网样式「鎏金典藏」
   - 纯系统字体栈，无任何外部资源
   - 深色主题；黑曜石底 + 深靛层次 + 鎏金 + 余烬红点缀
   - 末尾保留 legacy GM 区块（gm.html 使用 .nav .brand .gm .gm-grid .panel .button .gold .ghost）
   ===================================================================== */

:root {
  color-scheme: dark;

  /* 底色层次 */
  --ink-0: #07090f;
  --ink-1: #0b0f19;
  --ink-2: #10162a;
  --ink-3: #161e37;
  --ink-4: #1f2a4a;

  /* 线条 */
  --line: #222d4c;
  --line-gold: rgba(214, 165, 72, .28);
  --line-gold-2: rgba(214, 165, 72, .5);

  /* 鎏金 */
  --gold-0: #6f4c16;
  --gold-1: #a8771f;
  --gold-2: #d6a548;
  --gold-3: #f4d98e;
  --gold-4: #fff4d2;

  /* 点缀 */
  --ember: #c8452c;
  --ember-2: #e8653f;
  --azure: #9cc0ff;
  --jade: #8fe0b4;

  /* 文字（--dim 在最亮的面板底色上也保持 ≥ 4.5:1） */
  --text: #f1ebdc;
  --text-2: #cbc6b8;
  --muted: #a6adbf;
  --dim: #959cb2;

  /* 旧版变量名别名（gm.html 内联样式仍在使用） */
  --bg: var(--ink-0);
  --bg2: var(--ink-2);
  --card: var(--ink-3);
  --gold: var(--gold-2);
  --gold-soft: var(--gold-3);
  --blue: #7f9cff;
  --cyan: #8fd3e8;
  --green: #71d7a0;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);

  /* 字体 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Source Han Sans CN", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "Songti SC", "STZhongsong", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-latin: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "PingFang SC", "Microsoft YaHei", serif;
  --font-mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, "Courier New", monospace;

  --gold-text: linear-gradient(180deg, #fff8e0 8%, #f6dc94 42%, #dcae52 72%, #b8852b 100%);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --overlap: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* 纹饰（内联 SVG） */
  --orn-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 24'%3E%3Cdefs%3E%3ClinearGradient id='l' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='104' y2='0'%3E%3Cstop offset='0' stop-color='%23d6a548' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d6a548'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' gradientUnits='userSpaceOnUse' x1='280' y1='0' x2='176' y2='0'%3E%3Cstop offset='0' stop-color='%23d6a548' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d6a548'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 12H104' stroke='url(%23l)' stroke-width='1.2'/%3E%3Cpath d='M176 12H280' stroke='url(%23r)' stroke-width='1.2'/%3E%3Cg fill='none' stroke='%23d6a548' stroke-width='1.2'%3E%3Cpath d='M106 12c5-7 13-7 18 0c-5 7-13 7-18 0z'/%3E%3Cpath d='M174 12c-5-7-13-7-18 0c5 7 13 7 18 0z'/%3E%3C/g%3E%3Cpath fill='%23f4d98e' d='M140 1.5l3.2 7.3L150.5 12l-7.3 3.2L140 22.5l-3.2-7.3L129.5 12l7.3-3.2z'/%3E%3Ccircle cx='100' cy='12' r='1.8' fill='%23d6a548'/%3E%3Ccircle cx='180' cy='12' r='1.8' fill='%23d6a548'/%3E%3C/svg%3E");
  --orn-kicker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='51' y2='0'%3E%3Cstop offset='0' stop-color='%23d6a548' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d6a548'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 5H51' stroke='url(%23g)' stroke-width='1.2'/%3E%3Cpath d='M58 1l4 4-4 4-4-4z' fill='%23f4d98e'/%3E%3C/svg%3E");
  --orn-left: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14'%3E%3Cdefs%3E%3ClinearGradient id='g' gradientUnits='userSpaceOnUse' x1='29' y1='0' x2='220' y2='0'%3E%3Cstop offset='0' stop-color='%23d6a548'/%3E%3Cstop offset='1' stop-color='%23d6a548' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M7 1l6 6-6 6-6-6z' fill='%23f4d98e'/%3E%3Cpath d='M20.5 4l3 3-3 3-3-3z' fill='none' stroke='%23d6a548'/%3E%3Cpath d='M29 7H220' stroke='url(%23g)' stroke-width='1.2'/%3E%3C/svg%3E");
  --orn-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23d6a548'%3E%3Ccircle cx='100' cy='100' r='72'/%3E%3Ccircle cx='100' cy='100' r='64' stroke-dasharray='2 6'/%3E%3Ccircle cx='100' cy='100' r='96' stroke-opacity='.5'/%3E%3C/g%3E%3Cpath fill='%23d6a548' d='M100 4l11 85 85 11-85 11-11 85-11-85-85-11 85-11z'/%3E%3Cpath fill='%23d6a548' fill-opacity='.55' d='M100 40l7 53 53 7-53 7-7 53-7-53-53-7 53-7z' transform='rotate(45 100 100)'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--ink-0);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background-color: var(--ink-0);
  background-image:
    radial-gradient(1100px 640px at 50% -200px, rgba(42, 55, 104, .28), transparent 70%),
    linear-gradient(180deg, var(--ink-0), #06070c);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, .sec-lead, .hero-sub, .finale-sub, .subhero-lead { text-wrap: balance; }
.nb { display: inline-block; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .5em; font-weight: 800; }
button { font: inherit; color: inherit; }

code {
  font-family: var(--font-mono);
  font-size: .9em;
  padding: .1em .4em;
  border-radius: 3px;
  color: var(--gold-3);
  background: rgba(214, 165, 72, .1);
  border: 1px solid rgba(214, 165, 72, .18);
  overflow-wrap: anywhere;
}
pre {
  margin: 0;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  background: rgba(4, 6, 12, .72);
  border: 1px solid var(--line);
  border-radius: 4px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
}

::selection { background: rgba(214, 165, 72, .42); color: #fff; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px; top: -64px;
  z-index: 100;
  padding: 10px 18px;
  font-weight: 700;
  color: #1d1304;
  background: var(--gold-3);
  border-radius: 3px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), calc(100% - 2 * var(--gutter)));
  margin-left: auto;
  margin-right: auto;
}

.ico { width: 22px; height: 22px; flex: none; display: inline-block; vertical-align: middle; }

.gold-text {
  color: var(--gold-3);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold-text {
    color: transparent;
    background-image: var(--gold-text);
    -webkit-background-clip: text;
    background-clip: text;
  }
}

/* ---------- 顶部导航 ---------- */
/* 默认（gm.html，以及官网三页在脚本不可用时）：吸顶实色 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: var(--header-h);
  background-color: rgba(7, 9, 15, .94);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 165, 72, .6) 30%, rgba(214, 165, 72, .6) 70%, transparent);
  opacity: 1;
  transition: opacity .35s var(--ease);
}
.site-header[data-header] { height: var(--header-h); }
/* 官网三页（脚本可用时）：透明悬浮在首屏图之上，滚动后加深 */
.js .site-header[data-header] {
  position: fixed;
  left: 0; right: 0;
  background-color: rgba(7, 9, 15, 0);
  background-image: linear-gradient(180deg, rgba(4, 5, 9, .82), rgba(4, 5, 9, 0));
  box-shadow: none;
}
.js .site-header[data-header]::after { opacity: 0; }
.js .site-header[data-header].is-solid,
.js .site-header[data-header].menu-open {
  background-color: rgba(7, 9, 15, .93);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}
.js .site-header[data-header].is-solid::after,
.js .site-header[data-header].menu-open::after { opacity: 1; }
/* 无脚本时页头在文档流中，首屏不必再为它让出顶部空间 */
html:not(.js) .hero,
html:not(.js) .subhero { padding-top: 32px; }

.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: none;
  border-radius: 3px;
}
.logo-seal {
  flex: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  color: #6c190c;
  background: radial-gradient(120% 120% at 30% 18%, #fff3c9 0%, #f2d283 32%, #d6a548 62%, #94661b 100%);
  box-shadow:
    inset 0 0 0 1.5px #fbe9b6,
    inset 0 0 0 3px #7b5315,
    inset 0 0 0 4px rgba(255, 238, 186, .55),
    0 4px 12px rgba(0, 0, 0, .5),
    0 0 16px rgba(214, 165, 72, .25);
  text-shadow: 0 1px 0 rgba(255, 242, 205, .55);
  transform: rotate(-3deg);
}
.logo-text {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.logo-text .lt-a { color: var(--gold-3); }
.logo-text .lt-b {
  font-family: var(--font-latin);
  color: var(--gold-3);
  letter-spacing: .05em;
  margin: 0 .12em;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  position: relative;
  padding: 10px 14px;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--text-2);
  border-radius: 2px;
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 6px; height: 6px;
  background: var(--gold-3);
  box-shadow: 0 0 10px rgba(244, 217, 142, .9);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--gold-4); }
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: translateX(-50%) rotate(45deg) scale(1); }
.nav-link[aria-current="page"] { color: var(--gold-3); }
.nav-cta { margin-left: 12px; }

.menu-toggle {
  display: none;
  flex: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line-gold-2);
  border-radius: 3px;
  background: rgba(7, 9, 15, .55);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--gold-3);
  border-radius: 1px;
  transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 游戏质感按钮 ---------- */
.btn {
  --c: 13px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 36px;
  border: 0;
  background: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s var(--ease), filter .3s var(--ease), color .2s var(--ease);
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% 50%, calc(100% - var(--c)) 100%, var(--c) 100%, 0 50%);
}
.btn::before { top: 0; right: 0; bottom: 0; left: 0; }
.btn::after { top: 2px; right: 2px; bottom: 2px; left: 2px; transition: background-position .8s var(--ease); }
.btn .ico { width: 19px; height: 19px; }
.btn:focus-visible { outline-offset: 5px; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  color: #2a1803;
  text-shadow: 0 1px 0 rgba(255, 245, 214, .6);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(214, 165, 72, .25));
}
.btn--primary::before {
  background: linear-gradient(180deg, #fff6d4 0%, #e2b85f 40%, #8c5f19 100%);
}
.btn--primary::after {
  background:
    linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%) -170% 0 / 240% 100% no-repeat,
    linear-gradient(180deg, #ffefc0 0%, #f4d98e 20%, #dfb257 52%, #bd8729 80%, #9c6c1d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 -3px 7px rgba(108, 64, 8, .5),
    inset 0 0 18px rgba(255, 236, 170, .28);
}
.btn--primary:hover {
  filter: brightness(1.07) drop-shadow(0 10px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 18px rgba(244, 217, 142, .5));
}
.btn--primary:hover::after { background-position: 170% 0, 0 0; }
.btn--primary:active::after {
  background:
    linear-gradient(180deg, #d9ad55 0%, #c4902f 55%, #a87520 100%);
  box-shadow: inset 0 3px 8px rgba(80, 45, 4, .6);
}

.btn--secondary {
  color: var(--gold-3);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5));
}
.btn--secondary::before {
  background: linear-gradient(180deg, rgba(250, 226, 160, .95), rgba(176, 124, 36, .75));
}
.btn--secondary::after {
  background:
    linear-gradient(100deg, transparent 38%, rgba(244, 217, 142, .16) 50%, transparent 62%) -170% 0 / 240% 100% no-repeat,
    linear-gradient(180deg, rgba(30, 38, 68, .97), rgba(10, 13, 24, .98));
  box-shadow: inset 0 1px 0 rgba(244, 217, 142, .22), inset 0 0 20px rgba(214, 165, 72, .1);
}
.btn--secondary:hover {
  color: var(--gold-4);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)) drop-shadow(0 0 14px rgba(214, 165, 72, .4));
}
.btn--secondary:hover::after { background-position: 170% 0, 0 0; }
.btn--secondary:active::after {
  background: linear-gradient(180deg, rgba(8, 10, 20, .98), rgba(22, 28, 50, .97));
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .6);
}

.btn--sm { --c: 10px; min-height: 40px; padding: 0 24px; font-size: 14px; letter-spacing: .1em; }
.btn--lg { --c: 15px; min-height: 58px; padding: 0 44px; font-size: 17px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-3);
  border-bottom: 1px solid rgba(244, 217, 142, .35);
  line-height: 1.5;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--gold-4); border-bottom-color: var(--gold-3); }
.text-link .ico { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }

/* ---------- 饰框 ---------- */
.frame {
  position: relative;
  border: 1px solid var(--line-gold);
  border-radius: 3px;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(214, 165, 72, .07), transparent 60%),
    linear-gradient(180deg, rgba(21, 28, 52, .94), rgba(9, 12, 22, .97));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(244, 217, 142, .1),
    inset 0 0 0 1px rgba(0, 0, 0, .35);
}
/* 四角金线只用在关键面板上（公告栏、文件卡、篇章铭牌、清单），避免饰框疲劳 */
.frame--corners::before,
.plaque::before {
  content: "";
  position: absolute;
  top: 5px; right: 5px; bottom: 5px; left: 5px;
  pointer-events: none;
  --cl: rgba(244, 217, 142, .75);
  --cs: 18px;
  background:
    linear-gradient(var(--cl), var(--cl)) top left / var(--cs) 1px,
    linear-gradient(var(--cl), var(--cl)) top left / 1px var(--cs),
    linear-gradient(var(--cl), var(--cl)) top right / var(--cs) 1px,
    linear-gradient(var(--cl), var(--cl)) top right / 1px var(--cs),
    linear-gradient(var(--cl), var(--cl)) bottom left / var(--cs) 1px,
    linear-gradient(var(--cl), var(--cl)) bottom left / 1px var(--cs),
    linear-gradient(var(--cl), var(--cl)) bottom right / var(--cs) 1px,
    linear-gradient(var(--cl), var(--cl)) bottom right / 1px var(--cs);
  background-repeat: no-repeat;
}
.frame--gem::after {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  width: 11px; height: 11px;
  transform: translateX(-50%) rotate(45deg);
  background: linear-gradient(135deg, #fff1c2, #d6a548 55%, #8a5e18);
  box-shadow: 0 0 0 3px var(--ink-0), 0 0 0 4px rgba(214, 165, 72, .55), 0 0 14px rgba(244, 217, 142, .6);
}

.frame-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 20px 28px 18px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(214, 165, 72, .55), rgba(214, 165, 72, .06)) 1;
  background: linear-gradient(90deg, rgba(214, 165, 72, .1), rgba(214, 165, 72, 0) 65%);
}
.frame-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 22px;
  letter-spacing: .14em;
  color: var(--gold-3);
}
.frame-title small {
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--muted);
}

/* 金币徽章 */
.medal {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: var(--gold-3);
  background: radial-gradient(circle at 35% 28%, #2e3862, #10162a 72%);
  box-shadow:
    inset 0 0 0 1px rgba(244, 217, 142, .7),
    inset 0 0 0 4px #0d1222,
    inset 0 0 0 5px rgba(214, 165, 72, .38),
    0 6px 16px rgba(0, 0, 0, .5);
}
.medal .ico { width: 21px; height: 21px; }
.medal--lg { width: 58px; height: 58px; }
.medal--lg .ico { width: 26px; height: 26px; }

/* ---------- 区块通用 ---------- */
.section {
  position: relative;
  padding: clamp(64px, 7.5vw, 104px) 0;
}
[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.sec-head {
  max-width: 760px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.sec-kicker {
  margin: 0 0 12px;
  padding-left: .42em;
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.sec-title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: .12em;
  line-height: 1.25;
}
.orn {
  display: block;
  width: 280px;
  max-width: 80%;
  height: 24px;
  margin: 18px auto 0;
  background: var(--orn-divider) center / contain no-repeat;
}
.sec-lead {
  margin: 20px auto 0;
  max-width: 640px;
  color: var(--text-2);
  font-size: 16px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-3);
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: max(660px, 100vh);
  min-height: max(660px, 100svh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 32px) 0 calc(var(--overlap) + 130px);
  text-align: center;
  background: var(--ink-0);
}
.hero-stage {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  will-change: opacity;
}
.hero-slide::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: var(--pos, center);
  transform: scale(1.07);
  transition: transform 9s linear;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active::before { transform: scale(1); }
.hero-slide.s-hendon::before { background-image: url("realm-hendonmyre.jpg"); --pos: 50% 42%; }
.hero-slide.s-sky::before { --pos: 50% 40%; }
.hero-slide.s-behemoth::before { --pos: 42% 40%; }
.hero-slide.s-ice::before { --pos: 50% 30%; }
/* 其余三张在页面加载完成后再请求（无脚本时不会轮播，也就不需要它们） */
.hero.is-loaded .hero-slide.s-sky::before { background-image: url("realm-skycity.jpg"); }
.hero.is-loaded .hero-slide.s-behemoth::before { background-image: url("realm-behemoth.jpg"); }
.hero.is-loaded .hero-slide.s-ice::before { background-image: url("realm-ice-dragon.jpg"); }
.hero-slide.s-sky::after,
.hero-slide.s-ice::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(7, 9, 15, .3);
}
.hero-slide.s-ice::after { background: rgba(7, 9, 15, .16); }

/* 灯火余烬：两层缓慢上浮的光点。
   用 transform 平移（合成线程完成，不重绘）；图层向下、向侧面各多铺一段，平移一整轮也不露底 */
.hero-embers {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-embers::before,
.hero-embers::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: -560px; left: -60px;
  will-change: transform;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 78%, rgba(255, 214, 150, .95), transparent 70%),
    radial-gradient(2.2px 2.2px at 27% 58%, rgba(255, 190, 120, .85), transparent 70%),
    radial-gradient(1.3px 1.3px at 52% 88%, rgba(255, 226, 170, .9), transparent 70%),
    radial-gradient(1.9px 1.9px at 71% 66%, rgba(255, 200, 130, .85), transparent 70%),
    radial-gradient(1.4px 1.4px at 90% 84%, rgba(255, 216, 150, .9), transparent 70%),
    radial-gradient(2.4px 2.4px at 44% 36%, rgba(255, 186, 110, .6), transparent 70%);
  background-size: 560px 560px;
  opacity: .5;
  animation: embers-a 34s linear infinite;
}
.hero-embers::after {
  right: -60px; left: 0;
  background-size: 380px 380px;
  opacity: .32;
  transform: scaleX(-1);
  animation: embers-b 22s linear infinite;
}
@keyframes embers-a { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(60px, -560px, 0); } }
@keyframes embers-b { from { transform: scaleX(-1) translate3d(0, 0, 0); } to { transform: scaleX(-1) translate3d(60px, -560px, 0); } }
/* 暂停按钮 / 页面隐藏时，余烬与进度条一起停下 */
.hero.is-paused .hero-embers::before,
.hero.is-paused .hero-embers::after,
.hero.is-hidden .hero-embers::before,
.hero.is-hidden .hero-embers::after { animation-play-state: paused; }

.hero-shade {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 40% at 50% 46%, rgba(5, 7, 12, .62), rgba(5, 7, 12, 0) 72%),
    radial-gradient(ellipse 120% 95% at 50% 42%, rgba(3, 4, 8, 0) 45%, rgba(3, 4, 8, .82) 100%),
    linear-gradient(180deg, rgba(5, 7, 12, .7) 0%, rgba(5, 7, 12, .1) 22%, rgba(5, 7, 12, .08) 50%, rgba(7, 9, 15, .75) 80%, var(--ink-0) 100%);
}
.hero-glow {
  position: absolute;
  left: 50%; top: 44%;
  z-index: -1;
  width: min(900px, 100%);
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(214, 165, 72, .16), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(980px, calc(100% - 2 * var(--gutter)));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--gold-3);
  text-shadow: 0 1px 10px rgba(0, 0, 0, .9);
}
.hero-kicker::before,
.hero-kicker::after {
  content: "";
  flex: none;
  width: 64px; height: 10px;
  background: var(--orn-kicker) center / 100% 100% no-repeat;
}
.hero-kicker::after { transform: scaleX(-1); }

.lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  margin: clamp(22px, 3.5vw, 34px) 0 0;
  font-weight: inherit;
  line-height: 1;
}
.seal {
  flex: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(70px, 10.5vw, 148px);
  height: clamp(70px, 10.5vw, 148px);
  aspect-ratio: 1;
  border-radius: 9%;
  font-family: var(--font-serif);
  font-size: clamp(25px, 3.8vw, 53px);
  font-weight: 900;
  line-height: 1.04;
  color: #6c190c;
  background:
    radial-gradient(130% 130% at 28% 16%, #fff5d0 0%, #f3d488 30%, #d8a94d 58%, #9c6c1d 88%, #7a5214 100%);
  box-shadow:
    inset 0 0 0 2px #fdecbd,
    inset 0 0 0 calc(2px + .09em) #7b5315,
    inset 0 0 0 calc(3px + .1em) rgba(255, 238, 186, .6),
    inset 0 -6px 14px rgba(110, 66, 10, .35),
    0 0 0 1px rgba(0, 0, 0, .6),
    0 16px 34px rgba(0, 0, 0, .6),
    0 0 46px rgba(214, 165, 72, .35);
  text-shadow: 0 1px 0 rgba(255, 244, 210, .6), 0 -1px 0 rgba(90, 20, 8, .25);
  transform: rotate(-4deg);
}
.seal > span { display: block; }
.lockup-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}
.lockup-en {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: clamp(46px, 9.2vw, 126px);
  line-height: .92;
  letter-spacing: .015em;
  filter: drop-shadow(0 3px 0 rgba(58, 34, 6, .85)) drop-shadow(0 10px 24px rgba(0, 0, 0, .7));
}
.lockup-cn {
  margin-top: clamp(8px, 1.2vw, 16px);
  padding-left: .06em;
  font-size: clamp(17px, 2.65vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .48em;
  margin-right: -.48em;
  color: var(--text);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .6);
  white-space: nowrap;
}
.hero-orn {
  width: min(420px, 82vw);
  height: 26px;
  margin: clamp(20px, 3vw, 30px) auto 0;
  background: var(--orn-divider) center / contain no-repeat;
}
.hero-tagline {
  margin: clamp(14px, 2.4vw, 22px) 0 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold-4);
  text-shadow: 0 2px 16px rgba(0, 0, 0, .95), 0 0 3px rgba(0, 0, 0, .8);
}
.hero-sub {
  margin: 10px 0 0;
  max-width: 640px;
  font-size: clamp(14px, 1.5vw, 16px);
  color: #ddd7c8;
  letter-spacing: .06em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .95);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 22px;
  margin-top: clamp(26px, 3.6vw, 38px);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: .08em;
  color: #cfc9b9;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .95);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold-2);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(244, 217, 142, .8);
}

/* 场景切换标签 */
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: calc(var(--overlap) + 26px);
  transform: translateX(-50%);
  width: min(920px, calc(100% - 2 * var(--gutter)));
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.scene-tabs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
.scene-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px 16px;
  border: 0;
  background: linear-gradient(180deg, rgba(7, 9, 15, 0), rgba(7, 9, 15, .55));
  color: var(--text-2);
  text-align: left;
  cursor: pointer;
  border-radius: 2px;
  transition: color .25s var(--ease), background-color .25s;
}
.scene-tab:hover { color: var(--gold-4); background-color: rgba(214, 165, 72, .08); }
.scene-tab__no {
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: .26em;
  color: var(--gold-2);
}
.scene-tab__name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .12em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.scene-tab::before,
.scene-tab__bar {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
}
.scene-tab::before { background: rgba(255, 255, 255, .2); }
.scene-tab__bar {
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
  box-shadow: 0 0 10px rgba(244, 217, 142, .7);
  transform-origin: left center;
  transform: scaleX(0);
}
.scene-tab[aria-current="true"] {
  color: var(--gold-4);
  background-color: rgba(214, 165, 72, .1);
  box-shadow: inset 0 1px 0 rgba(244, 217, 142, .35);
}
.scene-tab[aria-current="true"]::before { background: rgba(214, 165, 72, .38); }
.scene-tab[aria-current="true"] .scene-tab__name { color: var(--gold-3); }
.scene-tab[aria-current="true"] .scene-tab__bar { transform: scaleX(1); }
.hero.is-autoplay .scene-tab[aria-current="true"] .scene-tab__bar {
  animation: tab-fill var(--slide-ms, 7000ms) linear forwards;
}
.hero.is-paused .scene-tab__bar,
.hero.is-hidden .scene-tab__bar { animation-play-state: paused !important; }
/* 悬停暂停只给真正能悬停的指针；触屏点按后的“粘滞 hover”不会把轮播卡住 */
@media (hover: hover) and (pointer: fine) {
  .hero-controls:hover .scene-tab__bar { animation-play-state: paused !important; }
}
.hero:has(:focus-visible) .scene-tab__bar { animation-play-state: paused !important; }
@keyframes tab-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-pause {
  flex: none;
  align-self: center;
  display: none;
  place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid var(--line-gold-2);
  border-radius: 50%;
  background: rgba(7, 9, 15, .6);
  color: var(--gold-3);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.hero.is-autoplay .hero-pause { display: inline-grid; }
.hero-pause:hover { border-color: var(--gold-3); color: var(--gold-4); }
.hero-pause .ico { width: 16px; height: 16px; }
.hero-pause .i-play { display: none; }
.hero.is-paused .hero-pause .i-play { display: block; }
.hero.is-paused .hero-pause .i-pause { display: none; }

/* ---------- 公告栏 + 快捷入口 ---------- */
.board {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--overlap));
  padding-bottom: clamp(16px, 2vw, 32px);
}
.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.news { display: flex; flex-direction: column; }
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 0;
  padding: 14px 28px 0;
  font-size: 13px;
  color: var(--muted);
}
.news-meta[hidden] { display: none; }
.news-meta__title { min-width: 0; color: var(--text-2); font-weight: 700; letter-spacing: .04em; overflow-wrap: anywhere; }
.news-meta__ver {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  min-width: 0;
  max-width: 100%;
}
.news-meta__label { color: var(--muted); }
.news-meta__ver code {
  padding: 0 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
  overflow-wrap: anywhere;
}
.news-meta__count { color: var(--muted); }

.news-feed {
  flex: 1;
  padding: 10px 28px 8px;
}

/* 编年史时间轴：当天第一条用圆形日期印章，同日后续条目用菱形节点 */
.news-list { position: relative; list-style: none; margin: 0; padding: 0; }
.news-item {
  --mark: 68px;
  position: relative;
  display: grid;
  grid-template-columns: var(--mark) minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0 18px;
}
.news-item[hidden] { display: none; }
.news-item::before {
  content: "";
  position: absolute;
  left: calc(var(--mark) / 2 - .5px);
  top: 16px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(214, 165, 72, .55), rgba(214, 165, 72, .12));
}
.news-item:last-child::before { bottom: auto; height: calc(var(--mark) / 2); background: none; }
.news-item + .news-item { border-top: 1px dashed rgba(214, 165, 72, .14); }
.news-mark { position: relative; display: flex; justify-content: center; }
.date-seal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--mark);
  height: var(--mark);
  border-radius: 50%;
  line-height: 1;
  background: radial-gradient(circle at 34% 28%, #2e2716 0%, #15110a 62%, #0c0a07 100%);
  border: 1px solid var(--gold-3);
  box-shadow:
    0 0 0 4px var(--ink-1),
    0 0 0 5px rgba(214, 165, 72, .45),
    inset 0 0 0 4px rgba(0, 0, 0, .35),
    inset 0 0 0 5px rgba(214, 165, 72, .3),
    0 10px 24px rgba(0, 0, 0, .55);
}
.date-seal__md {
  font-family: var(--font-latin);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold-3);
}
.date-seal__y {
  margin-top: 5px;
  padding-left: .22em;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: .22em;
  color: var(--muted);
}
.news-node {
  position: relative;
  display: block;
  width: 13px; height: 13px;
  margin-top: 8px;
  transform: rotate(45deg);
  border: 1px solid var(--gold-2);
  background: var(--ink-1);
  box-shadow: 0 0 0 4px var(--ink-1), 0 0 10px rgba(244, 217, 142, .35);
}
.news-main { min-width: 0; padding-top: 4px; }
.is-same-day .news-main, .is-undated .news-main { padding-top: 2px; }
.news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin-bottom: 6px;
}
.news-date,
.news-sameday {
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--gold-2);
}
.news-date { overflow-wrap: anywhere; }
.news-badge {
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .12em;
  color: #fff4e8;
  background: linear-gradient(180deg, #df5e3f, #a5331f);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(232, 101, 63, .35);
}
.news-ver {
  padding: 0 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow-wrap: anywhere;
}
.news-title {
  margin: 0 0 4px;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--text);
  overflow-wrap: anywhere;
}
.news-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-2);
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.news-changes {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
}
.news-changes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
  overflow-wrap: anywhere;
}
.chg {
  flex: none;
  margin-top: 2px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: .08em;
  border: 1px solid;
  border-radius: 2px;
}
.chg--new { color: var(--gold-3); border-color: rgba(244, 217, 142, .5); background: rgba(214, 165, 72, .1); }
.chg--fix { color: #ffa48b; border-color: rgba(232, 101, 63, .55); background: rgba(200, 69, 44, .12); }
.chg--adjust { color: var(--azure); border-color: rgba(156, 192, 255, .45); background: rgba(156, 192, 255, .08); }
.chg--other { color: #d3d7e2; border-color: rgba(211, 215, 226, .3); background: rgba(211, 215, 226, .05); }

.feed-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 0 22px;
  color: var(--text-2);
  font-size: 15px;
}
.feed-state strong { font-size: 17px; color: var(--text); letter-spacing: .06em; }
.feed-state--error strong { color: #ffb7a3; }
.feed-state .text-link { margin-top: 6px; }
.feed-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}
/* 无脚本 / 脚本加载失败时不显示加载态，只留回退提示与原始 JSON 链接 */
html:not(.js) .feed-loading,
html:not(.js) .sk-row,
html:not(.js) .hero-controls { display: none; }
.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(214, 165, 72, .25);
  border-top-color: var(--gold-3);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.sk-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px 0 16px;
  border-bottom: 1px dashed rgba(214, 165, 72, .12);
}
.sk-seal { width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(214, 165, 72, .25); }
.sk-lines { display: block; }
.sk {
  display: block;
  height: 12px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.sk:nth-child(1) { width: 22%; margin-top: 0; }
.sk:nth-child(2) { width: 46%; height: 16px; }
.sk:nth-child(3) { width: 88%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.feed-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 10px 28px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--gold-3);
  background: rgba(214, 165, 72, .08);
  border: 1px solid var(--line-gold-2);
  border-radius: 2px;
  cursor: pointer;
}
.feed-more:hover { background: rgba(214, 165, 72, .16); color: var(--gold-4); }
.feed-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 4px 0 14px; font-size: 14px; color: var(--muted); }
/* 回退提示：禁用脚本或 site.js 加载失败（html 上没有 .js）时才出现；正常渲染时会被清掉 */
.feed-fallback { display: none; }
html:not(.js) .feed-fallback { display: block; margin: 14px 0; }

.frame-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  padding: 14px 28px 18px;
  border-top: 1px solid rgba(214, 165, 72, .14);
  font-size: 13px;
  color: var(--muted);
}

/* 启程面板：两份文件直链（首页右栏 / 下载页清单共用 .lf 行） */
.quick { display: flex; flex-direction: column; gap: 16px; }
.launch {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 26px 18px;
  border: 1px solid rgba(244, 217, 142, .55);
  border-radius: 3px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(232, 101, 63, .28), transparent 60%),
    radial-gradient(70% 90% at 0% 100%, rgba(214, 165, 72, .14), transparent 70%),
    linear-gradient(155deg, #2b150e 0%, #170d0b 55%, #0d0a0d 100%);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 220, 160, .2), inset 0 0 0 4px rgba(10, 6, 5, .6), inset 0 0 0 5px rgba(214, 165, 72, .3);
}
.launch::before {
  content: "";
  position: absolute;
  right: -70px; top: -80px;
  z-index: -1;
  width: 240px; height: 240px;
  background: var(--orn-star) center / contain no-repeat;
  opacity: .12;
}
.launch__kicker {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: .3em;
  color: #e9b98a;
}
.launch__title {
  margin: 2px 0 4px;
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
}
.launch__desc { margin: 0 0 14px; font-size: 14px; line-height: 1.7; color: #dccfc0; }

.lf-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244, 217, 142, .22); }
.lf {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 217, 142, .14);
}
.file-badge {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-3);
  border: 1px solid rgba(244, 217, 142, .6);
  border-radius: 3px;
  background: radial-gradient(circle at 35% 28%, #3c3119, #140f08 75%);
  box-shadow: inset 0 0 0 2px #0b0906, inset 0 0 0 3px rgba(214, 165, 72, .38);
}
.file-badge--pvf { background: radial-gradient(circle at 35% 28%, #2c3a66, #0d1226 75%); }
.lf-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.lf-name { font-family: var(--font-latin); font-size: 17px; font-weight: 700; letter-spacing: .02em; color: var(--gold-4); }
.lf-meta { font-size: 13px; color: #ddd2c3; overflow-wrap: anywhere; }
.lf-hash { margin-top: 1px; font-family: var(--font-mono); font-size: 12.5px; color: #cfc4b2; }
.lf-hash__k { font-family: var(--font-latin); font-size: 12px; letter-spacing: .12em; color: #e9b98a; }
.dl-coin {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #2a1803;
  background: radial-gradient(circle at 35% 28%, #fff3c9, #e2b85f 55%, #9c6c1d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 6px rgba(108, 64, 8, .5), 0 0 0 3px rgba(10, 6, 5, .7), 0 0 0 4px rgba(244, 217, 142, .5), 0 0 18px rgba(214, 165, 72, .3);
  transition: transform .2s var(--ease), filter .2s var(--ease), box-shadow .2s var(--ease);
}
.dl-coin .ico { width: 21px; height: 21px; }
.dl-coin:hover { transform: translateY(2px); filter: brightness(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 6px rgba(108, 64, 8, .5), 0 0 0 3px rgba(10, 6, 5, .7), 0 0 0 4px var(--gold-3), 0 0 26px rgba(244, 217, 142, .55); }
.dl-coin:active { transform: translateY(3px); filter: brightness(.95); }
.dl-coin:focus-visible { outline-offset: 4px; }
.launch__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 6px 0;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--gold-3);
  border-radius: 2px;
}
.launch__more .ico { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.launch__more:hover { color: var(--gold-4); }
.launch__more:hover .ico { transform: translateX(4px); }

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 8px 16px;
  text-align: center;
  border: 1px solid var(--line-gold);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(23, 31, 57, .94), rgba(9, 12, 22, .97));
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.quick-tile:hover {
  border-color: rgba(244, 217, 142, .7);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(244, 217, 142, .15);
}
.quick-tile:hover .medal { color: var(--gold-4); box-shadow: inset 0 0 0 1px var(--gold-3), inset 0 0 0 4px #0d1222, inset 0 0 0 5px rgba(244, 217, 142, .55), 0 0 18px rgba(214, 165, 72, .35); }
.quick-tile b { font-size: 15px; letter-spacing: .06em; color: var(--text); line-height: 1.4; }
.quick-tile small { font-size: 12px; color: var(--muted); line-height: 1.4; overflow-wrap: anywhere; }

/* ---------- 服务器特色：数字速览带 ---------- */
.features {
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(16, 22, 42, .5) 22%, rgba(16, 22, 42, .5) 78%, transparent);
}
.features::before {
  content: "";
  position: absolute;
  left: 50%; top: 30px;
  width: 720px; height: 720px;
  transform: translateX(-50%);
  background: var(--orn-star) center / contain no-repeat;
  opacity: .04;
  pointer-events: none;
}
.stat-band {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background:
    radial-gradient(70% 140% at 50% 0%, rgba(214, 165, 72, .08), transparent 70%),
    rgba(9, 12, 22, .6);
}
.stat-band::before,
.stat-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 165, 72, .65) 18%, rgba(214, 165, 72, .65) 82%, transparent);
}
.stat-band::before { top: 0; }
.stat-band::after { bottom: 0; }
.stat-band li { position: relative; display: flex; min-width: 0; }
.stat-band li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(214, 165, 72, .45), transparent);
}
.stat {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 30px 10px 28px;
  text-align: center;
  border-radius: 2px;
  transition: background-color .3s var(--ease);
}
.stat:hover { background-color: rgba(214, 165, 72, .07); }
.stat__k {
  padding-left: .2em;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold-2);
}
.stat__n {
  font-family: var(--font-latin);
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
  filter: drop-shadow(0 2px 0 rgba(58, 34, 6, .8));
  transition: filter .3s var(--ease);
}
.stat:hover .stat__n { filter: drop-shadow(0 2px 0 rgba(58, 34, 6, .8)) drop-shadow(0 0 14px rgba(244, 217, 142, .45)); }
.stat__u { display: flex; flex-direction: column; font-size: 13px; line-height: 1.65; color: var(--text-2); text-wrap: balance; }
.stat__u > span:first-child { color: var(--text); font-weight: 700; letter-spacing: .06em; }

.assure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.assure-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 20px;
  border-top: 1px solid var(--line-gold-2);
  background: linear-gradient(180deg, rgba(214, 165, 72, .07), rgba(214, 165, 72, 0) 80%);
}
.assure-item h3 { margin: 2px 0 4px; font-size: 17px; letter-spacing: .08em; color: var(--gold-3); }
.assure-item p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--text-2); }

/* ---------- 四大场景：全幅交错篇章 ---------- */
.realms { position: relative; padding-top: clamp(64px, 7.5vw, 104px); }
.realms .sec-head { margin-bottom: clamp(20px, 3vw, 36px); }
.chapter {
  --dir: 90deg;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(580px, 76vh, 740px);
  display: flex;
  align-items: center;
}
.chapter--right { --dir: 270deg; }
.chapter-media {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--ink-2);
}
.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4s var(--ease);
}
.chapter:hover .chapter-media img { transform: scale(1.05); }
#ch-hendon .chapter-media img { object-position: 30% 50%; }
#ch-sky .chapter-media img { object-position: 22% 45%; }
#ch-behemoth .chapter-media img { object-position: 50% 26%; }
#ch-ice .chapter-media img { object-position: 50% 12%; }
/* 镜像这两张图，让巨兽与冰龙落在文字的另一侧 */
#ch-behemoth .chapter-media,
#ch-ice .chapter-media { transform: scaleX(-1); }
.chapter::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink-0) 0%, rgba(7, 9, 15, 0) 15%, rgba(7, 9, 15, 0) 85%, var(--ink-0) 100%),
    linear-gradient(var(--dir), rgba(6, 8, 14, .94) 0%, rgba(6, 8, 14, .84) 30%, rgba(6, 8, 14, .4) 56%, rgba(6, 8, 14, 0) 78%);
}
.chapter-inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding-top: clamp(72px, 8vw, 110px);
  padding-bottom: clamp(72px, 8vw, 110px);
}
.chapter-text { grid-column: 1 / span 6; max-width: 560px; min-width: 0; }
.chapter--right .chapter-text { grid-column: 7 / span 6; justify-self: end; width: 100%; }
.chapter-head { display: flex; align-items: center; gap: 22px; margin-bottom: 16px; }
.chapter-seal {
  flex: none;
  display: grid;
  place-items: center;
  width: 70px; height: 70px;
  border-radius: 7px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: #6c190c;
  background: radial-gradient(130% 130% at 28% 16%, #fff5d0 0%, #f3d488 30%, #d8a94d 58%, #9c6c1d 88%, #7a5214 100%);
  box-shadow:
    inset 0 0 0 1.5px #fdecbd,
    inset 0 0 0 4px #7b5315,
    inset 0 0 0 5px rgba(255, 238, 186, .55),
    0 0 0 1px rgba(0, 0, 0, .6),
    0 12px 26px rgba(0, 0, 0, .6),
    0 0 30px rgba(214, 165, 72, .3);
  text-shadow: 0 1px 0 rgba(255, 244, 210, .6);
  transform: rotate(-4deg);
}
.chapter-kicker {
  margin: 0 0 6px;
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-2);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.chapter-kicker span {
  margin-left: 6px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--text-2);
}
.chapter-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: .12em;
  line-height: 1.12;
  color: #fff6e0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .6);
}
.chapter-poem {
  max-width: 28em;
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 600;
  line-height: 1.95;
  letter-spacing: .08em;
  color: #ece4d2;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .85), 0 0 2px rgba(0, 0, 0, .7);
}

/* 篇章铭牌 */
.plaque {
  position: relative;
  padding: 24px 26px 22px;
  border: 1px solid var(--line-gold);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(16, 21, 40, .88), rgba(8, 11, 20, .92));
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(244, 217, 142, .1);
}
.plaque-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--gold-2);
}
.plaque-label .ico { width: 18px; height: 18px; }
.plaque-title { margin: 0 0 8px; font-size: 20px; letter-spacing: .08em; color: var(--text); }
.plaque-text { margin: 0; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.plaque-note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(214, 165, 72, .16);
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-2);
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid rgba(214, 165, 72, .16);
}
.stat-cell { min-width: 0; padding: 14px 18px 2px 0; }
.stat-cell + .stat-cell { padding-left: 20px; padding-right: 0; border-left: 1px solid rgba(214, 165, 72, .16); }
.stat-cell__n { display: flex; align-items: baseline; gap: 6px; margin: 0; white-space: nowrap; }
.stat-cell__n .gold-text {
  font-family: var(--font-latin);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  filter: drop-shadow(0 2px 0 rgba(58, 34, 6, .8));
}
.stat-cell__n small { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--gold-3); }
.stat-cell__t { margin: 4px 0 0; font-size: 14px; line-height: 1.7; color: var(--text-2); text-wrap: balance; }

/* 5 段累计格：静态递进，最后一格点亮 */
.meter { display: flex; align-items: center; gap: 6px; margin-top: 14px; padding-left: 3px; }
.meter i {
  flex: 1;
  height: 9px;
  border: 1px solid rgba(214, 165, 72, .45);
  background: linear-gradient(180deg, rgba(244, 217, 142, .85), rgba(168, 119, 31, .85));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
  transform: skewX(-18deg);
}
.meter i:nth-child(1) { opacity: .4; }
.meter i:nth-child(2) { opacity: .55; }
.meter i:nth-child(3) { opacity: .7; }
.meter i:nth-child(4) { opacity: .85; }
.meter i:nth-child(5) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 12px rgba(244, 217, 142, .6); }

/* 24 小时时间轴：标出 20:00–22:00 */
.dayline-flag {
  position: relative;
  height: 20px;
  margin-top: 12px;
  font-family: var(--font-latin);
  font-size: 12.5px;
  line-height: 18px;
  color: var(--gold-3);
}
.dayline-flag span { position: absolute; right: calc(100% * 2 / 24); top: 0; white-space: nowrap; }
.dayline {
  position: relative;
  height: 9px;
  border: 1px solid rgba(214, 165, 72, .32);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 calc(100% / 24 - 1px), rgba(255, 255, 255, .13) calc(100% / 24 - 1px) calc(100% / 24));
}
.dayline span {
  position: absolute;
  top: -4px; bottom: -4px;
  left: calc(100% * 20 / 24);
  width: calc(100% * 2 / 24);
  background: linear-gradient(180deg, #fff1c2, var(--gold-2) 60%, var(--gold-1));
  box-shadow: 0 0 14px rgba(244, 217, 142, .75);
}
.dayline-labels { position: relative; height: 18px; margin-top: 7px; font-family: var(--font-latin); font-size: 12px; line-height: 18px; color: var(--muted); }
.dayline-labels span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.dayline-labels .d0 { left: 0; transform: none; }
.dayline-labels .d6 { left: 25%; }
.dayline-labels .d12 { left: 50%; }
.dayline-labels .d18 { left: 75%; }
.dayline-labels .d24 { right: 0; transform: none; }

/* 品级标签（DNF 稀有紫 / 神器粉）与产出来源 */
.grade-tags, .src-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.grade-tags li {
  padding: 3px 11px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  border: 1px solid rgba(214, 165, 72, .35);
  border-radius: 2px;
  color: var(--text-2);
  background: rgba(7, 9, 15, .5);
}
.grade-tags .t-rare { color: #d4b6ff; border-color: rgba(176, 124, 255, .6); background: rgba(140, 90, 230, .16); }
.grade-tags .t-epic { color: #ffb0ea; border-color: rgba(255, 110, 210, .55); background: rgba(230, 80, 190, .14); }
.plaque-note + .src-chips { margin-top: 10px; }
.src-chips li {
  padding: 2px 10px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, .03);
}

/* 等级药水阶梯 */
.ladder {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
}
.ladder li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 2px 8px;
  border: 1px solid rgba(214, 165, 72, .3);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(214, 165, 72, .1), rgba(7, 9, 15, .6));
}
.ladder .lv { font-family: var(--font-latin); font-size: 12.5px; letter-spacing: .04em; color: var(--gold-2); }
.ladder .q { font-family: var(--font-latin); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--gold-4); }

/* 场景背景图（启程区、子页首屏共用） */
.bg-hendon { background-image: url("realm-hendonmyre.jpg"); }
.bg-sky { background-image: url("realm-skycity.jpg"); }
.bg-behemoth { background-image: url("realm-behemoth.jpg"); }

/* ---------- 启程 ---------- */
.finale {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(88px, 12vw, 150px) 0;
  text-align: center;
}
.finale-art {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -2;
  background-size: cover;
  background-position: 50% 62%;
}
.finale::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, rgba(5, 7, 12, .55), rgba(5, 7, 12, .2) 75%),
    linear-gradient(180deg, var(--ink-0) 0%, rgba(7, 9, 15, .45) 30%, rgba(7, 9, 15, .45) 70%, var(--ink-0) 100%);
}
.finale-inner { display: flex; flex-direction: column; align-items: center; }
/* “回到 60 版本”：雅黑粗体中文夹一枚 Palatino 鎏金大数字 */
.finale-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 22px);
  margin: 12px 0 0;
  line-height: 1;
}
.ft-cn {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: .14em;
  margin-right: -.14em;
  color: #fff3d6;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .85), 0 1px 2px rgba(0, 0, 0, .7);
}
.ft-num {
  font-family: var(--font-latin);
  font-size: clamp(76px, 10vw, 136px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: 0;
  filter: drop-shadow(0 3px 0 rgba(58, 34, 6, .85)) drop-shadow(0 12px 28px rgba(0, 0, 0, .8));
}
.finale .hero-orn { margin-top: clamp(14px, 2vw, 22px); }
.finale-quote {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: .1em;
  color: var(--gold-4);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .95);
}
.finale-sub {
  margin: 8px 0 0;
  font-size: 15px;
  color: #ddd7c8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .95);
}
.finale .hero-actions { margin-top: 34px; }

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  padding: 60px 0 28px;
  background: linear-gradient(180deg, var(--ink-0), #040509);
  border-top: 1px solid rgba(214, 165, 72, .18);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  width: 280px; height: 24px;
  transform: translateX(-50%);
  background: var(--ink-0) var(--orn-divider) center / contain no-repeat;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, .95fr) minmax(0, 1.1fr);
  gap: 32px 40px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 360px; font-size: 14px; color: var(--muted); }
.footer-spec { margin: 0; display: grid; gap: 0; }
.footer-spec div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.footer-spec div:first-child { padding-top: 0; }
.footer-spec dt { color: var(--muted); }
.footer-spec dd { margin: 0; text-align: right; color: var(--text-2); }
.footer-title {
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--gold-2);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.footer-links a:hover { color: var(--gold-3); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
  color: var(--dim);
}
.footer-bottom a:hover { color: var(--gold-3); }

/* ---------- 子页首屏（左文案 + 右侧清单面板） ---------- */
.subhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 64px;
  background: var(--ink-0);
}
.subhero-art {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.subhero-art.bg-sky { background-position: 62% 38%; filter: saturate(1.05); }
.subhero-art.bg-behemoth { background-position: 60% 28%; transform: scaleX(-1); filter: brightness(1.12) saturate(1.08); }
.subhero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, .92) 0%, rgba(6, 8, 13, .76) 34%, rgba(6, 8, 13, .3) 62%, rgba(6, 8, 13, .12) 100%),
    linear-gradient(0deg, var(--ink-0) 0%, rgba(7, 9, 15, 0) 36%),
    linear-gradient(180deg, rgba(5, 7, 12, .78) 0%, rgba(5, 7, 12, 0) 26%);
}
.subhero-inner { position: relative; }
.subhero--split .subhero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: end;
  gap: 40px 56px;
}
.subhero-main { min-width: 0; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--text-2);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.crumbs li { display: inline-flex; align-items: center; gap: 12px; }
.crumbs li + li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold-2);
  transform: rotate(45deg);
}
.crumbs a { color: var(--text); }
.crumbs a:hover { color: var(--gold-3); }
.crumbs [aria-current] { color: var(--gold-3); }
.subhero .kicker { text-shadow: 0 1px 10px rgba(0, 0, 0, .95); }
.subhero-title {
  margin: 14px 0 14px;
  font-size: clamp(38px, 6vw, 66px);
  letter-spacing: .12em;
  line-height: 1.15;
  filter: drop-shadow(0 3px 0 rgba(58, 34, 6, .8)) drop-shadow(0 10px 24px rgba(0, 0, 0, .7));
}
.subhero-lead {
  max-width: 600px;
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: #e2dccd;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .8);
}

/* 本页导航（子页首屏内） */
.subnav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--text-2);
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background: rgba(9, 12, 22, .82);
  transition: color .2s, border-color .2s, background-color .2s;
}
.subnav a::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold-2);
  transform: rotate(45deg);
}
.subnav a:hover { color: var(--gold-4); border-color: var(--gold-2); background: rgba(30, 38, 68, .95); }

/* 发布清单 / 目录示意面板 */
.manifest,
.tree-card { min-width: 0; padding: 0; }
.manifest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(214, 165, 72, .22);
  background: linear-gradient(90deg, rgba(214, 165, 72, .1), rgba(214, 165, 72, 0) 70%);
}
.manifest-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--gold-3);
}
.manifest-title small {
  margin-left: 8px;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  color: var(--muted);
}
.manifest-tag {
  flex: none;
  padding: 2px 9px;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold-3);
  border: 1px solid var(--line-gold-2);
  border-radius: 2px;
  background: rgba(214, 165, 72, .08);
}
.lf-list--manifest { margin: 0 24px; border-top: 0; }
.lf-list--manifest .lf:last-child { border-bottom: 0; }
.lf-list--manifest .lf-meta { color: var(--text-2); }
.lf-list--manifest .lf-hash { color: var(--muted); }
.lf-list--manifest .lf-hash__k { color: var(--gold-2); }
.manifest-foot {
  margin: 0;
  padding: 12px 24px 18px;
  border-top: 1px solid rgba(214, 165, 72, .16);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.tree { list-style: none; margin: 0; padding: 12px 24px 6px; font-family: var(--font-mono); font-size: 14px; }
.tree li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(214, 165, 72, .14);
}
.tree li:last-child { border-bottom: 0; }
.tree-path { color: var(--text); white-space: nowrap; }
.tree-path .branch { color: var(--gold-1); }
.tree-root .tree-path { color: var(--gold-3); font-weight: 700; }
.tree-note { font-family: var(--font-sans); font-size: 13px; letter-spacing: .04em; text-align: right; color: var(--muted); }
.tree-note--gold { color: var(--gold-2); }
.tree-note--azure { color: var(--azure); }
.tree-foot {
  margin: 0;
  padding: 12px 24px 4px;
  border-top: 1px solid rgba(214, 165, 72, .16);
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.tree-cta { margin: 6px 24px 18px; font-size: 14px; }

.page-section { padding: clamp(56px, 7vw, 96px) 0 0; }
.page-section--first { padding-top: clamp(24px, 3vw, 44px); }
.page-section:last-of-type { padding-bottom: clamp(64px, 8vw, 110px); }
.sec-head--left { text-align: left; margin-left: 0; max-width: 760px; }
.sec-head--left .orn { margin-left: 0; width: 220px; height: 14px; background: var(--orn-left) left center / 220px 14px no-repeat; }
.sec-head--left .sec-lead { margin-left: 0; text-wrap: pretty; }

/* ---------- 下载页：物品卡 ---------- */
.files-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.item-card { display: flex; flex-direction: column; padding: 30px 30px 28px; }
.item-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.item-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-3);
  border: 1px solid rgba(244, 217, 142, .65);
  border-radius: 4px;
  background: radial-gradient(circle at 35% 28%, #3c3119, #140f08 75%);
  box-shadow: inset 0 0 0 3px #0b0906, inset 0 0 0 4px rgba(214, 165, 72, .42), 0 0 22px rgba(214, 165, 72, .2);
}
.item-icon--pvf { background: radial-gradient(circle at 35% 28%, #2c3a66, #0d1226 75%); }
.item-title { min-width: 0; }
.item-name {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 30px;
  letter-spacing: .02em;
  line-height: 1.15;
}
.item-type { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.item-badge {
  align-self: flex-start;
  margin-left: auto;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
  border: 1px solid;
  border-radius: 2px;
}
.item-badge--orig { color: var(--azure); border-color: rgba(156, 192, 255, .45); background: rgba(156, 192, 255, .08); }
.item-badge--mod { color: #ffb59f; border-color: rgba(232, 101, 63, .55); background: rgba(200, 69, 44, .12); }
.item-stats { margin: 0 0 20px; border-top: 1px solid rgba(214, 165, 72, .2); }
.item-stats div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(214, 165, 72, .12);
}
.item-stats dt { font-size: 14px; color: var(--muted); }
.item-stats dd { margin: 0; font-size: 14.5px; color: var(--text); overflow-wrap: anywhere; }
.item-stats dd small { color: var(--muted); font-size: 13px; }

.hash {
  margin: 0 0 24px;
  padding: 16px 18px 12px;
  border: 1px solid rgba(214, 165, 72, .26);
  border-radius: 3px;
  background: rgba(4, 6, 12, .75);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .4);
}
.hash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.hash-label {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--gold-2);
}
/* 64 位校验值：单个文本节点（Ctrl+F 可整串查到），固定 32ch 宽排成两行；
   背景每 8 个字符一道浅色条纹，方便肉眼分组核对，复制内容不含任何空格 */
code.hash-value {
  display: block;
  width: calc(32ch + 1px);
  max-width: 100%;
  padding: 0;
  background-image: repeating-linear-gradient(90deg, rgba(214, 165, 72, .1) 0 8ch, transparent 8ch 16ch);
  background-size: 32ch 100%;
  background-repeat: no-repeat;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0;
  color: #eee3c6;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  word-break: break-all;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
  cursor: text;
}
.copy-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-3);
  border: 1px solid rgba(244, 217, 142, .45);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(40, 49, 84, .95), rgba(15, 19, 35, .97));
  box-shadow: inset 0 1px 0 rgba(244, 217, 142, .16);
  cursor: pointer;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.copy-btn .ico { width: 15px; height: 15px; }
.copy-btn:hover { color: var(--gold-4); border-color: var(--gold-3); box-shadow: inset 0 1px 0 rgba(244, 217, 142, .2), 0 0 14px rgba(214, 165, 72, .3); }
.copy-btn:active { transform: translateY(1px); }
.copy-btn.is-done { color: var(--jade); border-color: rgba(143, 224, 180, .6); }
.copy-btn.is-fail { color: #ffb19b; border-color: rgba(232, 101, 63, .6); }
.copy-status { display: block; min-height: 1.5em; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.copy-status.is-done { color: var(--jade); }
.copy-status.is-fail { color: #ffb19b; }

.verify {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 2fr);
  gap: 28px;
  align-items: start;
  margin-top: 24px;
  padding: 28px 30px;
}
.verify h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 19px; letter-spacing: .1em; color: var(--gold-3); }
.verify-intro p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.verify-intro .verify-rule {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  border-left: 2px solid var(--gold-2);
  background: rgba(214, 165, 72, .07);
}
.cmd-list { display: grid; gap: 14px; }
.cmd-group h4 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.cmd-line { display: flex; align-items: stretch; gap: 8px; }
.cmd-line + .cmd-line { margin-top: 8px; }
/* 终端样式：行首提示符（伪元素，不会被复制）+ 悬挂缩进，折行时一眼看出是同一条命令 */
.cmd-line code {
  flex: 1;
  min-width: 0;
  display: block;
  padding: 8px 12px 8px calc(12px + 3.4ch);
  text-indent: -3.4ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: #eee3c6;
  background: rgba(4, 6, 12, .82);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.cmd-line code::before {
  display: inline-block;
  width: 3.4ch;
  text-indent: 0;
  color: var(--gold-2);
  -webkit-user-select: none;
  user-select: none;
}
.cmd-line--ps code::before { content: "PS>"; }
.cmd-line--cmd code::before { content: ">"; }
.cmd-line .copy-btn { min-height: 0; }
.cmd-line .nw { white-space: nowrap; }

/* 信息卡 */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.info-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px; }
.info-card h3 { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 20px; letter-spacing: .14em; color: var(--gold-3); }
.info-card p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.info-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.info-card li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.8; color: var(--text-2); }
.info-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: .72em;
  width: 6px; height: 6px;
  background: var(--gold-2);
  transform: rotate(45deg);
}
.info-card b { color: var(--text); }

/* 通知条 */
.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 26px;
  padding: 28px 32px;
  border-left: 3px solid var(--ember-2);
}
.notice h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: .12em; color: var(--gold-3); }
.notice p { margin: 0; font-size: 15px; color: var(--text-2); }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: flex-end; }

/* ---------- 快速开始：任务链 ---------- */
.quest {
  position: relative;
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 940px;
  margin: 0 auto;
  padding: 0;
}
.quest-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 32px; top: 64px; bottom: -24px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-2), rgba(214, 165, 72, .35));
}
.quest-step {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.quest-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  margin-top: 6px;
}
.quest-no::before {
  content: "";
  position: absolute;
  top: 10px; right: 10px; bottom: 10px; left: 10px;
  transform: rotate(45deg);
  background: linear-gradient(160deg, #2f3a66, #0f1429);
  border: 1px solid var(--gold-2);
  box-shadow: 0 0 0 4px var(--ink-0), 0 0 0 5px rgba(214, 165, 72, .4), 0 0 20px rgba(214, 165, 72, .25);
}
.quest-no span {
  position: relative;
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-3);
}
.quest-card { padding: 22px 28px 22px; }
.quest-card .quest-tag {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold-2);
}
.quest-card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: .08em; color: var(--text); }
.quest-card p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.quest-card a:not(.btn) { color: var(--gold-3); border-bottom: 1px solid rgba(244, 217, 142, .4); }
.quest-card a:not(.btn):hover { color: var(--gold-4); border-bottom-color: var(--gold-3); }
.quest-step--last .quest-no::before {
  background: radial-gradient(circle at 35% 28%, #fff1c2, #d6a548 60%, #8a5e18);
}
.quest-step--last .quest-no span { color: #2a1803; }

/* 任务完成标记（仅脚本可用时显示） */
.quest-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 2px; }
.quest-card .quest-top .quest-tag { margin-bottom: 0; }
.quest-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-2);
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background: rgba(7, 9, 15, .5);
  cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s;
}
.quest-toggle[hidden] { display: none; }
.quest-toggle:hover { color: var(--gold-4); border-color: var(--gold-2); }
.qt-box {
  position: relative;
  width: 14px; height: 14px;
  border: 1px solid var(--gold-2);
  transform: rotate(45deg);
  transition: background-color .2s;
}
.quest-toggle[aria-pressed="true"] { color: var(--gold-3); border-color: rgba(244, 217, 142, .6); background: rgba(214, 165, 72, .12); }
.quest-toggle[aria-pressed="true"] .qt-box { background: linear-gradient(135deg, #fff1c2, var(--gold-2)); box-shadow: 0 0 8px rgba(244, 217, 142, .6); }
.quest-step.is-done .quest-card { border-color: rgba(244, 217, 142, .5); }
.quest-step.is-done .quest-no::before { background: radial-gradient(circle at 35% 28%, #fff1c2, #d6a548 60%, #8a5e18); }
.quest-step.is-done .quest-no span { color: #2a1803; }

.quest-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  max-width: 940px;
  margin: 0 auto 26px;
  padding: 14px 20px;
  border: 1px solid var(--line-gold);
  border-radius: 3px;
  background: rgba(9, 12, 22, .7);
}
.quest-progress[hidden] { display: none; }
.qp-text { margin: 0; font-size: 14.5px; color: var(--text-2); }
.qp-text b { font-family: var(--font-latin); font-size: 18px; color: var(--gold-3); }
.qp-note { margin-left: 6px; font-size: 13px; color: var(--muted); }
.qp-track {
  flex: 1 1 160px;
  position: relative;
  height: 8px;
  overflow: hidden;
  border: 1px solid rgba(214, 165, 72, .35);
  border-radius: 1px;
  background: rgba(255, 255, 255, .04);
}
.qp-track span {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-1), var(--gold-3));
  box-shadow: 0 0 10px rgba(244, 217, 142, .6);
  transition: transform .4s var(--ease);
}
.qp-reset {
  min-height: 32px;
  padding: 0 14px;
  font-size: 13px;
  color: var(--gold-3);
  border: 1px solid var(--line-gold-2);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
}
.qp-reset:hover { color: var(--gold-4); border-color: var(--gold-3); }
.qp-reset:disabled { color: var(--muted); border-color: var(--line); cursor: default; }

/* FAQ */
.faq { max-width: 940px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line-gold);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(21, 28, 52, .88), rgba(9, 12, 22, .94));
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] { border-color: rgba(244, 217, 142, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
  cursor: pointer;
  border-radius: 3px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-4); }
.faq .q {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  font-family: var(--font-latin);
  font-size: 14px;
  color: var(--gold-3);
  border: 1px solid var(--line-gold-2);
  border-radius: 50%;
  background: rgba(214, 165, 72, .08);
}
.faq .chev { margin-left: auto; width: 20px; height: 20px; color: var(--gold-2); transition: transform .25s var(--ease); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq .a { padding: 0 22px 20px 72px; font-size: 15px; line-height: 1.85; color: var(--text-2); }
.faq .a p { margin: 0; }
.faq .a a { color: var(--gold-3); border-bottom: 1px solid rgba(244, 217, 142, .4); }
.faq .a a:hover { color: var(--gold-4); }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .site-nav .nav-link { padding: 10px 10px; letter-spacing: .04em; }
  .stat-band { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-band li:nth-child(4)::before { display: none; }
  .stat-band li:nth-child(n + 4) { border-top: 1px solid rgba(214, 165, 72, .18); }
  .subhero--split .subhero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px 36px; }
}

@media (max-width: 1040px) {
  .menu-toggle { display: inline-block; }
  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 6px var(--gutter) 22px;
    background: #080a12;
    border-bottom: 1px solid var(--line-gold-2);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .55);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .js .site-header.menu-open .site-nav { display: flex; }
  .js .site-nav .nav-link {
    padding: 15px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }
  .js .site-nav .nav-link::after { left: auto; right: 8px; bottom: auto; top: 50%; transform: translateY(-50%) rotate(45deg) scale(0); }
  .js .site-nav .nav-link:hover::after,
  .js .site-nav .nav-link[aria-current="page"]::after { transform: translateY(-50%) rotate(45deg) scale(1); }
  .js .site-nav .nav-cta { margin: 18px 0 0; }
  /* 无脚本：导航改为标志下方一条可横向滑动的链接带 */
  html:not(.js) .site-header[data-header] { position: relative; height: auto; background: #07090f; }
  html:not(.js) .header-row { flex-wrap: wrap; row-gap: 2px; padding-top: 12px; }
  html:not(.js) .site-nav { order: 3; flex: 1 0 100%; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); overflow-x: auto; }
  html:not(.js) .site-nav .nav-link { flex: none; white-space: nowrap; }
  html:not(.js) .nav-cta { display: none; }
  html:not(.js) .menu-toggle { display: none; }

  .hero { min-height: max(620px, min(100vh, 860px)); min-height: max(620px, min(100svh, 860px)); }
  .board-grid { grid-template-columns: 1fr; }
  .quick { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-tile { flex-direction: row; text-align: left; gap: 14px; padding: 12px 16px; }
  .quick-tile .medal { width: 40px; height: 40px; }
  .quick-tile small { margin-left: auto; }

  .chapter-text { grid-column: 1 / span 9; }
  .chapter--right .chapter-text { grid-column: 4 / span 9; }
  .chapter::before {
    background:
      linear-gradient(180deg, var(--ink-0) 0%, rgba(7, 9, 15, 0) 15%, rgba(7, 9, 15, 0) 85%, var(--ink-0) 100%),
      linear-gradient(var(--dir), rgba(6, 8, 14, .94) 0%, rgba(6, 8, 14, .84) 45%, rgba(6, 8, 14, .45) 75%, rgba(6, 8, 14, .2) 100%);
  }

  .subhero--split .subhero-inner { grid-template-columns: 1fr; }
  .subhero--split .manifest,
  .subhero--split .tree-card { max-width: 560px; }
  .verify { grid-template-columns: 1fr; gap: 18px; }
  .notice { grid-template-columns: auto minmax(0, 1fr); }
  .notice-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .files-grid { grid-template-columns: minmax(0, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; gap: 10px; }
  .quick { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick-tile { flex-direction: column; text-align: center; gap: 8px; padding: 18px 6px 14px; }
  .quick-tile small { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 62px; --overlap: 56px; }
  .logo-seal { width: 34px; height: 34px; font-size: 12px; }
  .logo-text { font-size: 15px; }
  .hero {
    min-height: max(600px, 92vh);
    min-height: max(600px, 92svh);
    padding: calc(var(--header-h) + 28px) 0 calc(var(--overlap) + 112px);
  }
  /* 手机上文字区域正好压在灯笼等亮部上：中心遮罩加深、加宽 */
  .hero-shade {
    background:
      radial-gradient(ellipse 95% 46% at 50% 47%, rgba(5, 7, 12, .78), rgba(5, 7, 12, .35) 62%, rgba(5, 7, 12, 0) 85%),
      radial-gradient(ellipse 120% 95% at 50% 42%, rgba(3, 4, 8, 0) 45%, rgba(3, 4, 8, .82) 100%),
      linear-gradient(180deg, rgba(5, 7, 12, .7) 0%, rgba(5, 7, 12, .15) 22%, rgba(5, 7, 12, .15) 50%, rgba(7, 9, 15, .8) 80%, var(--ink-0) 100%);
  }
  .hero-kicker { font-size: 12px; letter-spacing: .2em; gap: 10px; }
  .hero-kicker::before, .hero-kicker::after { width: 34px; }
  .hero-meta { gap: 4px 16px; font-size: 12.5px; margin-top: 22px; }
  .hero-tagline { letter-spacing: .06em; }
  .hero-sub { letter-spacing: .02em; color: #e8e2d3; }
  .hero-controls { bottom: calc(var(--overlap) + 16px); gap: 6px; }
  .scene-tab { padding: 8px 6px 14px; align-items: center; text-align: center; }
  .scene-tab__no { display: none; }
  .scene-tab__name { font-size: 13px; letter-spacing: .06em; }
  .scene-tab::before, .scene-tab__bar { left: 8px; right: 8px; bottom: 5px; }
  .hero-pause { width: 34px; height: 34px; }
  .btn { padding: 0 28px; }
  .btn--lg { min-height: 54px; padding: 0 32px; font-size: 16px; }

  .frame-head { padding: 16px 20px 14px; }
  .frame-title { font-size: 20px; }
  .news-meta { padding: 12px 20px 0; }
  .news-feed { padding: 4px 20px 4px; }
  .news-item, .sk-row { --mark: 54px; gap: 16px; grid-template-columns: var(--mark) minmax(0, 1fr); }
  .sk-seal { width: 54px; height: 54px; }
  .date-seal__md { font-size: 15px; }
  .date-seal__y { font-size: 12px; margin-top: 4px; letter-spacing: .14em; padding-left: .14em; }
  .frame-foot { padding: 14px 20px 16px; }
  .feed-more { margin-left: 0; }
  .launch { padding: 22px 20px 16px; }
  .quick-grid { gap: 8px; }
  .quick-tile { padding: 16px 4px 14px; }
  .quick-tile .medal { width: 40px; height: 40px; }
  .quick-tile b { font-size: 14px; letter-spacing: .02em; }

  .stat-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-band li::before { display: none; }
  .stat-band li:nth-child(even)::before {
    display: block;
    content: "";
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(214, 165, 72, .45), transparent);
  }
  .stat-band li:nth-child(n + 3) { border-top: 1px solid rgba(214, 165, 72, .18); }
  .stat { padding: 22px 10px 20px; gap: 6px; }
  .stat__k { font-size: 12.5px; letter-spacing: .14em; }
  .stat__n { font-size: 34px; }
  .stat__u { font-size: 13px; }

  /* 篇章：图在上，文字叠在图片渐隐处 */
  .chapter { display: block; min-height: 0; }
  .chapter::before { display: none; }
  .chapter-media { position: relative; top: auto; right: auto; bottom: auto; left: auto; aspect-ratio: 4 / 3; max-height: 64vh; }
  .chapter-media::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(180deg, var(--ink-0) 0%, rgba(7, 9, 15, 0) 18%, rgba(7, 9, 15, 0) 42%, rgba(7, 9, 15, .75) 78%, var(--ink-0) 100%);
  }
  .chapter:hover .chapter-media img { transform: none; }
  .chapter-inner { display: block; position: relative; margin-top: -92px; padding-top: 0; padding-bottom: 56px; }
  .chapter-text, .chapter--right .chapter-text { max-width: none; width: auto; }
  .chapter-head { gap: 16px; margin-bottom: 12px; }
  .chapter-seal { width: 58px; height: 58px; font-size: 26px; }
  .chapter-kicker { font-size: 12px; letter-spacing: .22em; }
  .chapter-title { font-size: 32px; }
  .chapter-poem { margin-bottom: 18px; font-size: 16px; letter-spacing: .04em; }
  .plaque { padding: 20px 18px 18px; }
  .plaque-title { font-size: 18px; }
  .stats { grid-template-columns: 1fr; }
  .stat-cell, .stat-cell + .stat-cell { padding: 14px 0 2px; border-left: 0; }
  .stat-cell + .stat-cell { margin-top: 10px; border-top: 1px solid rgba(214, 165, 72, .16); }

  .finale-title { flex-wrap: wrap; }

  .subhero { min-height: 0; padding: calc(var(--header-h) + 36px) 0 48px; }
  .subhero::before {
    background:
      linear-gradient(90deg, rgba(6, 8, 13, .9) 0%, rgba(6, 8, 13, .74) 60%, rgba(6, 8, 13, .6) 100%),
      linear-gradient(0deg, var(--ink-0) 0%, rgba(7, 9, 15, 0) 40%),
      linear-gradient(180deg, rgba(5, 7, 12, .8) 0%, rgba(5, 7, 12, 0) 30%);
  }
  .subhero-lead { font-size: 15.5px; }
  .subnav ul { margin-top: 20px; gap: 6px; }
  .subnav a { padding: 7px 12px; font-size: 13.5px; letter-spacing: .04em; }
  .manifest-head { padding: 16px 18px 12px; }
  .lf-list--manifest { margin: 0 18px; }
  .manifest-foot { padding: 12px 18px 16px; }
  .tree { padding: 10px 18px 4px; font-size: 13px; }
  .tree-note { font-size: 12.5px; }
  .tree-foot { padding: 12px 18px 4px; }
  .tree-cta { margin: 6px 18px 16px; }

  .item-card { padding: 22px 20px 22px; }
  .item-head { flex-wrap: wrap; gap: 14px; }
  .item-icon { width: 56px; height: 56px; font-size: 13px; }
  .item-name { font-size: 26px; }
  .item-badge { margin-left: 0; order: 3; }
  .item-stats div { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  code.hash-value { font-size: 13px; }
  .hash { padding: 14px 14px 10px; }
  .verify { padding: 22px 20px; }
  .cmd-line .copy-btn { padding: 0 10px; }
  .cmd-line code { font-size: 12.5px; padding: 8px 10px 8px calc(10px + 3.4ch); }
  .info-card { padding: 22px 20px; }
  .notice { grid-template-columns: 1fr; padding: 24px 20px; }
  .notice > .medal { display: none; }

  .quest-step:not(:last-child)::before { left: 26px; top: 54px; bottom: -22px; }
  .quest-step { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; }
  .quest-no { width: 54px; height: 54px; }
  .quest-no::before { top: 9px; right: 9px; bottom: 9px; left: 9px; }
  .quest-no span { font-size: 17px; }
  .quest-card { padding: 18px 18px 18px; }
  .quest-progress { padding: 12px 16px; }
  .qp-note { display: block; margin-left: 0; }
  .faq summary { padding: 16px 16px; gap: 12px; font-size: 16px; }
  .faq .q { width: 30px; height: 30px; font-size: 13px; }
  .faq .a { padding: 0 16px 18px 16px; }
}

@media (max-width: 520px) {
  .lockup-cn { letter-spacing: .32em; margin-right: -.32em; }
  .ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .notice-actions .btn { flex: 1 1 auto; }
  .lf { gap: 12px; }
  .file-badge, .dl-coin { width: 42px; height: 42px; }
}

@media (max-width: 380px) {
  .logo-text { font-size: 14px; letter-spacing: .01em; }
  .logo { gap: 9px; }
  .scene-tab__name { font-size: 12px; letter-spacing: .02em; }
  .quick-tile small { display: none; }
  .stat__n { font-size: 30px; }
  .lf-hash { font-size: 12px; }
}

/* 320 级窄屏（含 400% 缩放、系统放大显示）：必须写在 720 / 380 两段之后 */
@media (max-width: 359px) {
  .header-row { gap: 8px; }
  .logo-text { font-size: 13px; letter-spacing: 0; }
  .lockup-en { font-size: 40px; }
  .seal { width: 60px; height: 60px; font-size: 22px; }
  .scene-tab { padding-left: 2px; padding-right: 2px; }
  .scene-tab__name { font-size: 11.5px; letter-spacing: 0; }
  .item-card { padding-left: 14px; padding-right: 14px; }
  .hash { padding-left: 10px; padding-right: 10px; }
  code.hash-value { font-size: 12px; }
}

@media (min-width: 1600px) {
  :root { --container: 1280px; }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .quick-tile:hover, .dl-coin:hover, .dl-coin:active { transform: none; }
  .chapter-media img, .chapter:hover .chapter-media img { transform: none; }
  .spinner, .sk, .hero-embers::before, .hero-embers::after { animation: none !important; }
  .hero-slide::before, .hero-slide.is-active::before { transform: none; }
}

/* =====================================================================
   Legacy GM（gm.html 专用旧类名，勿在新页面中复用：
   .nav .brand .gm .gm-grid .panel .button .gold .ghost）
   ===================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(16px, calc((100% - 1160px) / 2));
  background: rgba(7, 9, 15, .94);
  border-bottom: 1px solid var(--line-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.nav nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; font-size: 15px; }
.nav nav a { color: var(--text-2); letter-spacing: .06em; transition: color .2s; }
.nav nav a:hover { color: var(--gold-3); }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand span {
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-3);
}
.brand small { margin-top: 4px; font-size: 12px; letter-spacing: .3em; color: var(--muted); }
.gm {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 88px;
}
.gm .eyebrow {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gold-2);
}
.gm h1 {
  margin: 14px 0 14px;
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.2;
  letter-spacing: .06em;
  color: var(--gold-3);
}
.gm > p { color: var(--text-2); }
.gm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.panel {
  position: relative;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-gold);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(21, 28, 52, .94), rgba(9, 12, 22, .97));
  box-shadow: 0 20px 44px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(244, 217, 142, .08);
}
.panel h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: .1em; color: var(--gold-3); }
.panel pre { white-space: pre-wrap; word-break: break-all; color: var(--azure); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 8px 8px 0 0;
  padding: 0 18px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: filter .2s, border-color .2s, color .2s;
}
.gold {
  color: #2a1803;
  background: linear-gradient(180deg, #ffefc0, #e2b85f 50%, #b07c24);
  border-color: #f6dc94;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 16px rgba(0, 0, 0, .4);
}
.gold:hover { filter: brightness(1.07); }
.ghost {
  color: var(--gold-3);
  border: 1px solid var(--line-gold-2);
  background: rgba(16, 22, 42, .8);
}
.ghost:hover { border-color: var(--gold-3); color: var(--gold-4); }
@media (max-width: 650px) {
  .nav { gap: 16px; }
  .gm-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Legacy GM v2（新版 gm.html 沿用旧站类名：.site-header > .wrap.nav-row,
   .logo > b/span, .nav-links, .btn.btn-gold / .btn.btn-ghost, .eyebrow）
   只做外观映射，不影响官网三页。
   ===================================================================== */
.wrap {
  width: min(1160px, calc(100% - 2 * var(--gutter)));
  margin-left: auto;
  margin-right: auto;
}
.nav-row {
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}
.nav-row .logo {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.1;
  padding: 10px 0;
}
.logo > b {
  font-family: var(--font-latin);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--gold-3);
}
.logo > span:not([class]) {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 22px;
  margin-left: auto;
  font-size: 15px;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--text-2);
  letter-spacing: .06em;
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--gold-4); }
.eyebrow {
  margin: 0;
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-2);
}
/* 旧按钮修饰名映射到新的游戏按钮 */
.btn-gold {
  color: #2a1803;
  text-shadow: 0 1px 0 rgba(255, 245, 214, .6);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(214, 165, 72, .25));
}
.btn-gold::before { background: linear-gradient(180deg, #fff6d4 0%, #e2b85f 40%, #8c5f19 100%); }
.btn-gold::after {
  background:
    linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%) -170% 0 / 240% 100% no-repeat,
    linear-gradient(180deg, #ffefc0 0%, #f4d98e 20%, #dfb257 52%, #bd8729 80%, #9c6c1d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 7px rgba(108, 64, 8, .5), inset 0 0 18px rgba(255, 236, 170, .28);
}
.btn-gold:hover { filter: brightness(1.07) drop-shadow(0 10px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 18px rgba(244, 217, 142, .5)); }
.btn-gold:hover::after { background-position: 170% 0, 0 0; }
.btn-gold:active::after { background: linear-gradient(180deg, #d9ad55 0%, #c4902f 55%, #a87520 100%); box-shadow: inset 0 3px 8px rgba(80, 45, 4, .6); }
.btn-ghost {
  color: var(--gold-3);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5));
}
.btn-ghost::before { background: linear-gradient(180deg, rgba(250, 226, 160, .95), rgba(176, 124, 36, .75)); }
.btn-ghost::after {
  background:
    linear-gradient(100deg, transparent 38%, rgba(244, 217, 142, .16) 50%, transparent 62%) -170% 0 / 240% 100% no-repeat,
    linear-gradient(180deg, rgba(30, 38, 68, .97), rgba(10, 13, 24, .98));
  box-shadow: inset 0 1px 0 rgba(244, 217, 142, .22), inset 0 0 20px rgba(214, 165, 72, .1);
}
.btn-ghost:hover { color: var(--gold-4); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)) drop-shadow(0 0 14px rgba(214, 165, 72, .4)); }
.btn-ghost:hover::after { background-position: 170% 0, 0 0; }
.btn-ghost:active::after { background: linear-gradient(180deg, rgba(8, 10, 20, .98), rgba(22, 28, 50, .97)); box-shadow: inset 0 3px 8px rgba(0, 0, 0, .6); }
@media (max-width: 650px) {
  .nav-row { gap: 4px 18px; padding: 6px 0; }
  .nav-links { margin-left: 0; gap: 4px 18px; font-size: 14px; }
}
