/* 破晓防线官网下载页：照游戏的「白银」主题（source/ui/kit/ui_kit.gd 的 THEMES.silver）——黑白灰占九成，冰青只点在要紧处，
   直角、细线，文字不用纯白；每个守线人带自己的职业色（ui_kit.gd 的 CLASSES）。老师 10-26：简洁干净，字少。
   首屏是半屏高的折叠页 banner：五个人各露半张脸，鼠标放上去那一格展开，出头像、名字、一句话和试听；下面一行标题和下载。
   正文用系统黑体（雅黑 / 苹方），标题用裁过的 Noto Sans SC（只含页面上的字），数字和英文用 Barlow Condensed。字体都在本站。 */

@font-face { font-family: "DBL Display"; font-weight: 500; font-display: swap; src: url("assets/fonts/display-500.woff2?v=351712a42e") format("woff2"); }
@font-face { font-family: "DBL Display"; font-weight: 900; font-display: swap; src: url("assets/fonts/display-900.woff2?v=351712a42e") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-600.woff2?v=351712a42e") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-700.woff2?v=351712a42e") format("woff2"); }

:root {
  --bg: #0c0e11;
  --bg-2: #0e1115;
  --ink: #08090b;
  --text: #eceef2;
  --dim: #9ba2ad;
  --faint: #5f6670;
  --line: rgba(255, 255, 255, 0.10);
  --line-hi: rgba(255, 255, 255, 0.28);
  --accent: #7fd0e0;
  --sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --display: "DBL Display", var(--sans);
  --num: "Barlow Condensed", "DBL Display", var(--sans);
  --gutter: clamp(16px, 4.2vw, 72px);
  --maxw: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(127, 208, 224, 0.35); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.sun { fill: var(--accent); }
.sun .rays { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }

/* ------------------------------------------------------------------ 载入 */
.loader { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; background: #0a0b0d; transition: opacity 0.7s ease 0.15s, visibility 0s 0.85s; }
html:not(.js) .loader, .loaded .loader { opacity: 0; visibility: hidden; }
.ld-mark { text-align: center; animation: ld-in 1s var(--ease) both; }
.ld-mark .sun { width: 52px; height: 52px; margin: 0 auto; }
.ld-name { margin-top: 14px; padding-left: 0.5em; font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: 0.5em; }
@keyframes ld-in { from { opacity: 0; transform: translateY(10px); } }
.ld-bar { position: relative; width: 180px; height: 1px; background: rgba(255, 255, 255, 0.14); }
.ld-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: var(--p, 0%); background: var(--accent); transition: width 0.35s ease; }

/* ------------------------------------------------------------------ 顶栏 */
.nav { position: fixed; left: 0; right: 0; top: 0; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; background: var(--ink); transition: background 0.35s, border-color 0.35s; }
.nav.solid { background: rgba(10, 12, 15, 0.9); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-in { height: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand .sun { width: 24px; height: 24px; }
.brand .name { font-family: var(--display); font-weight: 500; font-size: 16px; letter-spacing: 0.32em; }
.links { display: flex; gap: 32px; margin-left: auto; }
.links a { position: relative; padding: 6px 0; font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.16em; color: var(--dim); transition: color 0.2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.links a:hover, .links a.on { color: var(--text); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.bgm { display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 36px; height: 36px; padding-bottom: 11px; border: 1px solid var(--line); flex: none; transition: border-color 0.2s; }
.bgm[hidden] { display: none; }
.bgm i { width: 2px; height: 4px; background: var(--dim); }
.bgm:hover { border-color: var(--line-hi); }
.bgm.on i { background: var(--accent); animation: eq 0.9s ease-in-out infinite alternate; }
.bgm.on i:nth-child(2) { animation-delay: -0.3s; } .bgm.on i:nth-child(3) { animation-delay: -0.6s; } .bgm.on i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { 0% { height: 3px; } 100% { height: 13px; } }
.nav-dl { display: flex; align-items: center; height: 36px; padding: 0 18px; flex: none; background: var(--text); color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.14em; transition: background 0.2s; }
.nav-dl:hover { background: #fff; }

/* ------------------------------------------------------------------ 首屏：一行里左边标题、右边折叠页，下面空一块、下载居中（老师 10-26） */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(16px, 3vh, 40px)); background: radial-gradient(70% 60% at 70% 30%, #121620 0%, var(--ink) 70%); overflow: hidden; }
.hero-row { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 64px); max-width: 1560px; margin: 0 auto; padding-inline: var(--gutter); }
.hero-title { flex: none; width: clamp(220px, 22vw, 360px); }
.hero-title .eyebrow { font-family: var(--num); font-weight: 700; font-size: 13px; letter-spacing: 0.5em; color: var(--accent); }
.title { margin: 14px 0 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 6.4vw, 112px); line-height: 1.08; letter-spacing: 0.1em; }
.hero-title .tagline { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-hi); font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 0.32em; color: var(--dim); }
.acc { position: relative; flex: 1 1 auto; min-width: 0; display: flex; height: clamp(420px, 62vh, 660px); }
.p {
  --ax: 50%; --ay: 46%; --s: 3.6;                      /* 合着：脸的特写，窄格子里只露半张脸 */
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer; outline: none;
  background:
    radial-gradient(80% 60% at 50% 45%, color-mix(in srgb, var(--c) 30%, transparent), transparent 74%),
    linear-gradient(180deg, #12151a 0%, #0b0d10 100%);
  transition: flex-grow 0.8s var(--ease), opacity 0.9s ease calc(var(--i) * 0.09s + 0.1s), transform 1.1s var(--ease) calc(var(--i) * 0.09s + 0.1s);
}
.p + .p { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.12); }
.p::before {                                          /* 底下一道职业色，展开时拉满 */
  content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c);
  transform: scaleX(0.3); transform-origin: left; transition: transform 0.7s var(--ease);
}
.p:hover::before, .p.on::before { transform: scaleX(1); }
.p-art {
  position: absolute; z-index: 0; left: var(--ax); top: var(--ay); height: 100%; width: auto; max-width: none;
  transform-origin: 50% 28.89%;                       /* 图上脸的中心（build.py 照脸裁的：横着居中，竖着 260 / 900） */
  transform: translate(-50%, -28.89%) scale(var(--s));
  transition: transform 1s var(--ease), left 0.8s var(--ease), top 0.9s var(--ease), filter 0.6s;
  user-select: none; -webkit-user-drag: none;
}
.p-shade {                                            /* 展开时下半截压暗，介绍压在上面 */
  position: absolute; z-index: 1; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.6s;
  background: linear-gradient(0deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.78) 30%, rgba(8, 9, 11, 0) 58%);
}
.p::after {                                           /* 两边一点暗角，格子之间分得开 */
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.45), transparent 20%, transparent 80%, rgba(8, 9, 11, 0.45)),
    linear-gradient(180deg, rgba(8, 9, 11, 0.3), transparent 20%, transparent 74%, rgba(8, 9, 11, 0.5));
}
.p-tag { position: absolute; z-index: 2; left: 14px; top: 16px; transition: opacity 0.35s; }
.p-tag .n { writing-mode: vertical-rl; font-family: var(--display); font-weight: 900; font-size: 19px; letter-spacing: 0.32em; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75); }
.p-info {
  position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 24px;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.35s, transform 0.6s var(--ease), visibility 0s 0.35s; cursor: default;
}
.p-head { display: flex; align-items: center; gap: 14px; }
.p-av { flex: none; width: 58px; height: 58px; border: 1px solid var(--c); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.cls { font-family: var(--display); font-weight: 500; font-size: 12.5px; letter-spacing: 0.3em; color: var(--c); }
.name { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.15; letter-spacing: 0.08em; white-space: nowrap; }
.name .en { margin-left: 10px; font-family: var(--num); font-weight: 700; font-size: 11px; letter-spacing: 0.4em; color: var(--dim); vertical-align: middle; }
.one { margin: 12px 0 0; font-size: 14px; line-height: 1.75; color: rgba(236, 238, 242, 0.86); }
.voice { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; height: 34px; padding: 0 16px 0 5px; border: 1px solid var(--line-hi); border-radius: 17px; font-size: 13px; letter-spacing: 0.2em; color: var(--text); background: rgba(8, 9, 11, 0.4); transition: border-color 0.2s, background 0.2s; }
.voice:hover { border-color: var(--c); background: rgba(255, 255, 255, 0.06); }
.vi { display: flex; align-items: center; justify-content: center; gap: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--c); }
.vi i { width: 2px; height: 5px; background: var(--ink); }
.vi i:nth-child(2) { height: 10px; }
.voice.playing .vi i { animation: eq2 0.55s ease-in-out infinite alternate; }
.voice.playing .vi i:nth-child(2) { animation-delay: -0.2s; } .voice.playing .vi i:nth-child(3) { animation-delay: -0.4s; }
@keyframes eq2 { 0% { height: 3px; } 100% { height: 11px; } }

/* 展开：这一格变宽，脸往后退成半身，介绍从下面浮上来；别的格子更窄、压暗 */
.acc.has-on .p.on { flex-grow: 3.2; --ay: 30%; --s: 1.6; cursor: default; }
.acc.has-on .p:not(.on) .p-art { filter: grayscale(0.75) brightness(0.5); }
.p.on .p-shade { opacity: 1; }
.p.on .p-tag { opacity: 0; }
.p.on .p-info { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s 0.28s, transform 0.8s var(--ease) 0.22s, visibility 0s; }

/* 进场：载入完，标题浮上来，五格从下面依次升上来，下载最后 */
.js .p { opacity: 0; transform: translateY(46px); }
.loaded .p { opacity: 1; transform: none; }
.js .hero-title, .js .hero-dl { opacity: 0; transform: translateY(16px); }
.loaded .hero-title { opacity: 1; transform: none; transition: opacity 1s 0.2s, transform 1.1s var(--ease) 0.2s; }
.loaded .hero-dl { opacity: 1; transform: none; transition: opacity 1s 0.75s, transform 1.1s var(--ease) 0.75s; }

.hero-dl { display: flex; flex-direction: column; align-items: center; padding: clamp(56px, 10vh, 120px) var(--gutter) clamp(56px, 9vh, 104px); }
.hero-dl .dl-btns { justify-content: center; }
.dl-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin: 16px 0 0; min-height: 1.75em; font-size: 13px; letter-spacing: 0.04em; color: var(--dim); text-align: center; }
.hero-meta b { font-family: var(--num); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; color: var(--text); }

/* ------------------------------------------------------------------ 按钮 */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 26px 0 20px; transition: transform 0.25s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.25s, opacity 0.2s; }
.btn .txt { display: flex; flex-direction: column; line-height: 1.25; }
.btn .t { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: 0.14em; white-space: nowrap; }
.btn .s { margin-top: 3px; font-family: var(--num); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; opacity: 0.72; white-space: nowrap; }
.btn .ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; }
.btn.primary { min-width: 240px; background: var(--text); color: var(--ink); }
.btn.primary::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.btn.primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 44px rgba(127, 208, 224, 0.2); }
.btn.primary:hover::after { transform: scaleX(1); }
.btn.ghost { padding: 0 22px; border: 1px solid var(--line-hi); color: var(--text); }
.btn.ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn.big { height: 68px; min-width: 300px; padding: 0 32px 0 26px; }
.btn.big .t { font-size: 19px; }
.btn.big .ico { width: 26px; height: 26px; }
.btn.small { height: 42px; min-width: 0; padding: 0 18px 0 14px; gap: 10px; }
.btn.small .t { font-size: 14.5px; }
.btn.small .ico { width: 18px; height: 18px; }
.btn.off { pointer-events: none; opacity: 0.42; }

/* ------------------------------------------------------------------ 分节 */
.sec { position: relative; padding: clamp(72px, 8vw, 120px) 0; }
.sec-title { margin: 0 0 clamp(28px, 3.6vw, 48px); font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3vw, 40px); letter-spacing: 0.12em; }
.sec-title::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 18px; background: var(--accent); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in, html:not(.js) .reveal { opacity: 1; transform: none; }

/* 一句话世界观 + 几个数字 */
.story { text-align: center; }
.story .line { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.6vw, 36px); line-height: 1.6; letter-spacing: 0.08em; text-wrap: balance; }
.story .line2 { margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 18px); color: var(--dim); letter-spacing: 0.12em; }
.stats { list-style: none; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0; max-width: 960px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font-family: var(--num); font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.stats b em { font-style: normal; color: var(--accent); margin: 0 0.04em; }
.stats span { font-size: 13px; letter-spacing: 0.24em; color: var(--dim); }

/* 游戏特色：四张图，每张一行字 */
.features { background: var(--bg-2); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: #151a20; }
.card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.card.in img { transform: scale(1); }
.card:hover img { transform: scale(1.04); }
.card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 20px; background: linear-gradient(0deg, rgba(8, 9, 11, 0.9), rgba(8, 9, 11, 0)); }
.card b { display: block; font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: 0.12em; }
.card span { display: block; margin-top: 4px; font-size: 14px; color: rgba(236, 238, 242, 0.78); }

/* 实机画面 */
.gallery { background: var(--bg-2); padding-top: 0; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.g { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #151a20; }
.g.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) brightness(0.92); transition: transform 0.8s var(--ease), filter 0.4s; }
.g:hover img { transform: scale(1.05); filter: none; }

/* 下载 */
.download { overflow: hidden; }
.dl-bg { position: absolute; inset: 0; background: url("assets/dl_bg.webp?v=351712a42e") center 40% / cover no-repeat; opacity: 0.5; }
.download::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--bg-2) 0%, rgba(12, 14, 17, 0.55) 32%, rgba(12, 14, 17, 0.92) 100%); }
.download .wrap { position: relative; z-index: 2; }
.dlpanel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); border: 1px solid var(--line-hi); background: rgba(14, 17, 21, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.dl-main, .dl-notes { padding: clamp(28px, 3.6vw, 48px); }
.dl-main { border-right: 1px solid var(--line); }
.ver { display: flex; align-items: baseline; gap: 16px; font-family: var(--num); font-weight: 700; font-size: clamp(56px, 6vw, 88px); line-height: 1; }
.ver small { font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--dim); letter-spacing: 0.04em; }
.download .dl-btns { margin-top: 28px; }
.howto { margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--dim); }
.howto li { padding: 6px 0; }
.howto b { display: inline-block; min-width: 6.5em; margin-right: 10px; font-weight: 400; color: var(--text); }
.blocked { margin-top: 12px; max-width: 520px; font-size: 13px; color: var(--dim); }
.blocked summary { list-style: none; cursor: pointer; text-align: center; color: var(--dim); transition: color 0.2s; }
.blocked summary::-webkit-details-marker { display: none; }
.blocked summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; }
.blocked[open] summary::after { transform: rotate(-135deg); margin-bottom: -1px; }
.blocked summary:hover, .blocked[open] summary { color: var(--text); }
.blocked-body { margin-top: 10px; padding: 12px 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); text-align: left; }
.blocked-body p { margin: 0; line-height: 1.85; }
.blocked-body b { margin-right: 8px; font-weight: 400; color: var(--text); }
.blocked.left summary { text-align: left; }
.dl-error { margin: 12px 0 0; font-size: 14px; color: #ffb4a8; }
.dl-error a, .hero-meta a[data-retry] { color: var(--accent); border-bottom: 1px solid rgba(127, 208, 224, 0.4); cursor: pointer; }
.lbl { font-size: 13px; letter-spacing: 0.3em; color: var(--dim); }
.dl-notes ul { margin: 14px 0 0; padding: 0; list-style: none; }
.dl-notes li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.7; }
.dl-notes li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 1px; background: var(--accent); }
.dl-notes li.muted { color: var(--faint); }
.dl-notes li.muted::before { display: none; }

/* 页脚 */
.foot { padding: 36px 0 96px; border-top: 1px solid var(--line); background: #0a0c0f; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-brand .sun { width: 22px; height: 22px; }
.foot-brand .name { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: 0.32em; }
.foot-small { margin: 0; font-size: 12.5px; color: var(--faint); }

/* 吸底下载条 */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; border-top: 1px solid var(--line); background: rgba(10, 12, 15, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(105%); transition: transform 0.45s var(--ease); }
.dock.show { transform: none; }
.dock-in { display: flex; align-items: center; justify-content: flex-end; gap: 20px; height: 64px; }
.dock-meta { font-size: 13px; color: var(--dim); }
.dock-meta b { font-family: var(--num); font-weight: 600; font-size: 15px; color: var(--text); }

/* 看大图 */
.lb { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 64px 80px; background: rgba(6, 7, 9, 0.95); }
.lb[hidden] { display: none; }
.lb img { max-width: min(1600px, 100%); max-height: calc(100vh - 128px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); color: var(--dim); transition: color 0.2s, border-color 0.2s; }
.lb button:hover { color: var(--text); border-color: var(--line-hi); }
.lb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------------ 矮屏、窄屏 */
@media (max-height: 720px) and (min-width: 901px) {
  .one { display: none; }
  .hero-dl { padding-top: 40px; }
}
@media (max-width: 1060px) {
  .links { display: none; }
  .bgm { margin-left: auto; }
}
@media (max-width: 900px) {
  :root { --nav-h: 58px; }
  /* 标题在上，折叠页竖过来成五条横幅（眼睛那一截），点一条展开；下载在下面 */
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-row { flex-direction: column; align-items: stretch; gap: 22px; padding-inline: 0; }
  .hero-title { width: auto; padding-inline: var(--gutter); }
  .title { font-size: 52px; }
  .title br { display: none; }
  .hero-title .tagline { margin-top: 12px; padding-top: 12px; }
  .acc { height: auto; flex-direction: column; }
  .p { --ax: 50%; --ay: 50%; --s: 4.4; flex: none; height: 96px; transition: height 0.7s var(--ease), opacity 0.9s ease calc(var(--i) * 0.09s + 0.1s), transform 1.1s var(--ease) calc(var(--i) * 0.09s + 0.1s); }
  .p + .p { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
  .p-art { height: auto; width: 100%; }
  .p::after { background: linear-gradient(180deg, rgba(8, 9, 11, 0.4), transparent 22%, transparent 78%, rgba(8, 9, 11, 0.4)); }
  .p-tag { left: 16px; top: 50%; transform: translateY(-50%); }
  .p-tag .n { writing-mode: horizontal-tb; font-size: 19px; letter-spacing: 0.24em; }
  .acc.has-on .p.on { flex-grow: 0; height: 520px; --ax: 64%; --ay: 22%; --s: 1.25; }
  .p-info { left: 16px; right: 16px; bottom: 20px; }
  .hero-dl { padding: 36px var(--gutter) 48px; align-items: stretch; }
  .hero-dl .dl-btns { flex-direction: column; }
  .btn, .btn.big { width: 100%; min-width: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stats li:nth-child(3) { border-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .dlpanel { grid-template-columns: 1fr; }
  .dl-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .howto b { display: block; min-width: 0; }
  .dock-in { justify-content: space-between; height: 60px; }
  .lb { padding: 56px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* 截图用（?shot）：去掉进场和过渡，全部直接显示 */
.shot-mode .loader { display: none; }
.shot-mode .reveal, .shot-mode .card img, .shot-mode .p, .shot-mode .p-art, .shot-mode .p-info, .shot-mode .p-shade,
.shot-mode .hero-title, .shot-mode .hero-dl { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
