/* Mistjar — mistjar.com
 *
 * 这个站没有自己的背景色。整页背后是一面「墙」（#stage），颜色由访客在底部的色条里选，
 * 所有素材直接摆在墙上——不垫卡片、不加投影——所以每一张缩略图都是在当场演示「真透明」。
 * 文字只有一种颜色 --ink，跟着墙的深浅在浅色和深色之间翻（html[data-ink]）；
 * 其余的灰阶、细线都从 --ink 和 --stage 混出来，界面自己不带颜色。
 *
 * 目录：变量 · 基础 · 墙 · 导航 · 色条 · 按钮与小件 · 按主体摆放 · 卡片与网格 · 货架 ·
 *       首页（刊头 / 换底 / 对比 / 读数 / 类别 / 收尾）· 浏览 · 详情 · 文档页 · 页脚 · 小屏
 */

/* ───────── 变量 ───────── */
@property --stage { syntax: "<color>"; inherits: true; initial-value: #0b0d12; }
@property --ink   { syntax: "<color>"; inherits: true; initial-value: #f2eee5; }

:root {
  --stage: #0b0d12;
  --stage-fill: var(--stage);
  --ink: #f2eee5;
  --ink-2: color-mix(in srgb, var(--ink) 68%, transparent);
  --ink-3: color-mix(in srgb, var(--ink) 44%, transparent);
  --hair: color-mix(in srgb, var(--ink) 15%, transparent);
  --hair-2: color-mix(in srgb, var(--ink) 32%, transparent);
  --veil: color-mix(in srgb, var(--stage) 80%, transparent);

  --f-display: "Bodoni Moda", "MJ Song", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --f-sans: "Jost", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, "PingFang SC", "Microsoft YaHei", monospace;

  --pad: clamp(20px, 4.4vw, 68px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --mx: 50vw;
  --my: 30vh;
  transition: --stage .9s var(--ease), --ink .9s var(--ease);
}
html[data-ink="dark"] { --ink: #101216; }
/* 中文页：标题里中文字体排在前面，破折号、省略号、引号这些中西文共用的标点才会用全角的那套；
 * 它只含汉字和标点，拉丁字母照样落到 Bodoni 上。正文直接用系统的黑体。 */
html:lang(zh) {
  --f-display: "MJ Song", "Bodoni Moda", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --f-sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Jost", system-ui, sans-serif;
}

/* ───────── 基础 ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--stage); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; font-family: var(--f-sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* 按主体框放大的图会伸出自己的格子；clip 不产生滚动容器，里面的 sticky 不受影响 */
main, .foot { overflow-x: clip; }
img { max-width: 100%; height: auto; border: 0; -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--ink); color: var(--stage); }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }
[hidden] { display: none !important; }

h1, h2, .h3 {
  font-family: var(--f-display); font-weight: 400; letter-spacing: -.018em; line-height: .98;
  font-optical-sizing: auto; text-wrap: balance;
}
h1 { font-size: clamp(46px, 8.2vw, 148px); }
h2 { font-size: clamp(40px, 6.6vw, 118px); }
.h3 { font-size: clamp(30px, 3.6vw, 60px); line-height: 1.04; }
h1 em, h2 em, .h3 em, .free-line em, .foot-line em { font-style: italic; }
/* 中文没有斜体：强调的字做成空心的——「透明」两个字自己就是透明的 */
:lang(zh) h1, :lang(zh) h2, :lang(zh) .h3 { letter-spacing: 0; line-height: 1.12; font-weight: 700; }
:lang(zh) em, em.hollow {
  font-style: normal; color: transparent;
  -webkit-text-stroke: max(1px, .014em) var(--ink); paint-order: stroke fill;
}
em.hollow { font-style: italic; }
:lang(zh) em.hollow { font-style: normal; }
:lang(zh) h1 em, :lang(zh) h2 em, :lang(zh) .foot-line em { white-space: nowrap; }
/* 描边的字用去过重叠轮廓的那套字体，不然字里面会多出交叉的线 */
:lang(zh) em, em.hollow, .foot-mast, .nf-code { font-family: "MJ Hollow", "MJ Song", var(--f-display); }

.label {
  display: inline-flex; align-items: center; gap: .9em; flex-wrap: wrap;
  font: 500 11px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.label i { font-style: normal; opacity: .5; }
.label a { border-bottom: 1px solid var(--hair-2); }
.label a:hover { color: var(--ink); border-color: var(--ink); }
:lang(zh) .label { font-size: 12.5px; letter-spacing: .2em; }

.lead { font-size: clamp(17px, 1.42vw, 22px); line-height: 1.62; font-weight: 300; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
:lang(zh) .lead { font-weight: 400; line-height: 1.85; max-width: 30em; }
.fine { font: 400 12px/1.7 var(--f-mono); color: var(--ink-3); max-width: 62em; }
.center { text-align: center; }

/* ───────── 墙 ───────── */
#stage { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
#stage i { position: absolute; inset: 0; display: block; }
#stage .fill { background: var(--stage-fill); }
#stage .fill.b { opacity: 0; }
#stage .fill.b.show { opacity: 1; transition: opacity .9s var(--ease); }
/* 指针处的一点光：它在素材后面，所以能透过玻璃看见 */
#stage .spot {
  background: radial-gradient(38vmax circle at var(--mx) var(--my), color-mix(in srgb, var(--ink) 9%, transparent), transparent 62%);
  opacity: 1; transition: opacity .6s;
}
/* 浅色的墙上，光是提亮而不是压暗 */
html[data-ink="dark"] #stage .spot { background: radial-gradient(34vmax circle at var(--mx) var(--my), rgba(255, 255, 255, .5), transparent 62%); }
html[data-busy] #stage .spot { opacity: 0; }
#stage .grain {
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-busy] #stage .grain { opacity: 0; }

/* 墙是花的（棋盘格、条纹、照片）时，文字块垫一层半透明的底 */
.scrim { border-radius: 6px; transition: background .5s, box-shadow .5s; }
html[data-busy] .scrim, html[data-busy] .page-head, html[data-busy] .info,
html[data-busy] .world-text, html[data-busy] .doc-sect, html[data-busy] .foot,
html[data-busy] .sect-head::before, html[data-busy] .shelf-label::before {
  background: var(--veil); -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  border-radius: 6px;
}
/* 小标题和合集名的底另画一块，比文字大一圈：直接给元素加底的话字会贴着边 */
html[data-busy] .sect-head, html[data-busy] .shelf-label { position: relative; z-index: 0; }
html[data-busy] .sect-head:not(.row) { width: fit-content; }
html[data-busy] .sect-head::before, html[data-busy] .shelf-label::before { content: ""; position: absolute; inset: -12px -16px; z-index: -1; }
html[data-busy] .card-cap, html[data-busy] .viewer-bar { background: var(--veil); border-radius: 4px; padding: 6px 10px; align-self: flex-start; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ───────── 导航 ───────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px);
  padding: 18px var(--pad); transition: padding .4s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -24px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: linear-gradient(var(--stage) 0%, var(--stage) 50%, color-mix(in srgb, var(--stage) 72%, transparent) 74%, transparent);
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled { padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 24px/1 var(--f-display); letter-spacing: -.01em; margin-right: auto; transition: opacity .4s, transform .4s var(--ease); }
.mark { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.mark .wisp { stroke-width: 1; opacity: .75; }
/* 首页首屏里刊头就是标志，导航里的先收起来，滚过首屏再出现 */
.pg-home .nav:not(.scrolled) .brand { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav-links a, .nav-lang { font: 500 11.5px/1 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; position: relative; padding: 8px 0; color: var(--ink-2); transition: color .25s; }
:lang(zh) .nav-links a { font-size: 13.5px; letter-spacing: .22em; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-lang:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--hair-2); padding: 5px 0; width: clamp(120px, 14vw, 210px); transition: width .4s var(--ease), border-color .3s; }
.nav-search:focus-within { width: clamp(180px, 22vw, 320px); border-color: var(--ink); }
.nav-search svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .7; }
.nav-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 13.5px; padding: 2px 0; }
.nav-search input::placeholder { color: var(--ink-3); }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-lang { border: 1px solid var(--hair-2); border-radius: 999px; padding: 7px 12px; }
.nav-lang:hover { border-color: var(--ink); }
.nav-burger { display: none; width: 40px; height: 40px; background: none; border: 0; position: relative; margin-right: -8px; }
.nav-burger i { position: absolute; left: 9px; right: 9px; height: 1.25px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-burger i:first-child { top: 15px; } .nav-burger i:last-child { top: 24px; }
.nav.open .nav-burger i:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.open .nav-burger i:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ───────── 色条 ───────── */
.dock {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); translate: -50% 0; z-index: 60;
  display: flex; align-items: center; gap: 14px; padding: 9px 12px 9px 18px; border-radius: 999px; max-width: calc(100vw - 24px);
  background: color-mix(in srgb, var(--stage) 74%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--hair); box-shadow: 0 14px 44px -14px rgba(0, 0, 0, .55);
  transition: translate .5s var(--ease), opacity .4s;
}
.dock.away { translate: -50% calc(100% + 40px); opacity: 0; }
.dock-label { font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
:lang(zh) .dock-label { font-size: 12px; letter-spacing: .22em; }
.dock-list { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; padding: 5px 4px; margin: -5px -4px; }
.dock-list::-webkit-scrollbar { display: none; }
.dock-list button, .dock-custom i {
  flex: none; width: 22px; height: 22px; border-radius: 50%; padding: 0; display: block;
  border: 1px solid color-mix(in srgb, var(--ink) 34%, transparent); background: var(--sw, #888);
  transition: transform .3s var(--ease), outline-offset .3s;
  outline: 1.5px solid transparent; outline-offset: 0;
}
.dock-list button:hover { transform: scale(1.18); }
.dock-list button[aria-checked="true"] { outline-color: var(--ink); outline-offset: 2.5px; }
.dock-custom { position: relative; cursor: pointer; padding-left: 12px; border-left: 1px solid var(--hair); }
.dock-custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.dock-custom i { background: conic-gradient(from 20deg, #ff4d4d, #ffd84d, #4dff88, #4dd2ff, #7a4dff, #ff4dc4, #ff4d4d); }
.dock-custom.on i { outline-color: var(--ink); outline-offset: 2.5px; }

/* ───────── 按钮与小件 ───────── */
.btn {
  display: inline-flex; align-items: center; gap: .8em; padding: .95em 1.55em; border: 1px solid var(--hair-2); border-radius: 999px;
  font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
:lang(zh) .btn { font-size: 13.5px; letter-spacing: .2em; padding: .9em 1.6em; }
.btn i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.btn:hover { background: var(--ink); color: var(--stage); border-color: var(--ink); }
.btn:hover i { transform: translateX(5px); }
.btn.solid { background: var(--ink); color: var(--stage); border-color: var(--ink); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.big { font-size: 12.5px; padding: 1.25em 2.1em; }
:lang(zh) .btn.big { font-size: 15px; }
.btn.dl { flex-wrap: wrap; row-gap: .5em; }
.btn.dl:hover i { transform: translateY(4px); }
.btn small { font-size: .82em; letter-spacing: .1em; opacity: .62; margin-left: .6em; text-transform: none; }
html[data-busy] .btn:not(.solid) { background: var(--veil); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
html[data-busy] .btn:not(.solid):hover { background: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: .5em; padding: .5em 1em; border: 1px solid var(--hair); border-radius: 999px;
  font-size: 13px; line-height: 1.3; color: var(--ink-2); transition: border-color .25s, color .25s, background .25s;
}
.chip sup, .tabs sup { font: 400 9.5px/1 var(--f-mono); color: var(--ink-3); vertical-align: super; margin-left: .15em; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on, .chip.x { background: var(--ink); color: var(--stage); border-color: var(--ink); }
.chip.on sup { color: inherit; opacity: .6; }
.chip.x i { font-style: normal; opacity: .7; }
.chip.still { border-style: dashed; }
html[data-busy] .chip:not(.on):not(.x) { background: var(--veil); }

.seg { display: inline-flex; border: 1px solid var(--hair-2); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; border-radius: 999px; padding: .62em 1.15em; font: 500 11px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); transition: background .3s, color .3s; white-space: nowrap; }
:lang(zh) .seg button { font-size: 13px; letter-spacing: .16em; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: var(--stage); }
html[data-busy] .seg { background: var(--veil); }

.ai-badge { display: inline-flex; align-items: center; gap: .6em; font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
:lang(zh) .ai-badge { font-size: 12px; }
.ai-badge i { font-style: normal; border: 1px solid currentColor; border-radius: 3px; padding: 3px 4px 2px; font-size: 9px; letter-spacing: .08em; }

/* ───────── 按主体摆放 ─────────
 * 容器（.card-img、.shelf-item、.viewer、.wa）是一个尺寸容器；.fit 在里面按主体的宽高比取最大的
 * 能放下的尺寸；<img> 再放大、挪位，让主体正好填满 .fit，四周的透明留白溢到外面去。
 * 变量由服务端给（AssetV.Fit）：--bar 主体宽高比，--bw 图宽 / 主体宽，--bx、--by 挪多少。 */
.fit { position: relative; display: block; aspect-ratio: var(--bar, 1); width: 86%; }
@supports (width: 1cqw) {
  .fit { width: min(calc(var(--fill, .9) * 100cqw), calc(var(--fill, .9) * 100cqh * var(--bar, 1))); }
}
.fit > img { position: absolute; display: block; max-width: none; width: calc(var(--bw, 1) * 100%); height: auto; left: calc(var(--bx, 0) * 100%); top: calc(var(--by, 0) * 100%); }

/* ───────── 卡片与网格 ───────── */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(44vw, 232px), 1fr)); grid-auto-flow: dense;
  gap: clamp(28px, 3.4vw, 56px) clamp(12px, 2vw, 34px); padding: 0 var(--pad);
}
.card { display: grid; grid-template-rows: 1fr auto; gap: 16px; position: relative; min-width: 0; }
.card.wide { grid-column: span 2; }
.card-img {
  container-type: size; aspect-ratio: 4 / 5; min-height: 0; display: grid; place-items: center; position: relative; border-radius: 3px;
  transition: transform .8s var(--ease), background .5s;
}
.card.wide .card-img { aspect-ratio: 8.3 / 5; align-self: stretch; }
.card-img::before, .shelf-item::before, .wa::before {
  content: ""; position: absolute; inset: -8%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c, #9fb4c8) 46%, transparent), transparent 74%);
}
.card:hover .card-img::before, .shelf-item:hover::before, .wa:hover::before { opacity: 1; }
.card:hover .card-img { transform: translateY(-8px) scale(1.04); }
.card-cap { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.card-cap b { font-weight: 400; font-size: 14.5px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-cap i { font: 400 10px/1.3 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:lang(zh) .card-cap i { font-size: 11.5px; letter-spacing: .16em; }

/* 衬板：墙很浅的时候（html[data-wall="pale"]），蒸汽、薄雾、雨雪、星芒这类贴在白底上看不出来的东西
 * （data-tone="light"，同步时量出来的）垫一块深色的，不然那一格是空的 */
html[data-wall="pale"] [data-tone="light"].card .card-img,
html[data-wall="pale"] [data-tone="light"].shelf-item,
html[data-wall="pale"] [data-tone="light"].viewer { background: #0b0d12; }

/* ───────── 货架 ───────── */
.shelves { display: grid; }
.shelf { display: grid; grid-template-columns: minmax(190px, 21%) minmax(0, 1fr); gap: clamp(20px, 3vw, 56px); align-items: end; border-bottom: 1px solid var(--hair-2); padding-top: clamp(28px, 4vw, 60px); }
.shelf-label { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 24px 0; align-self: stretch; justify-content: flex-end; }
.shelf-label b { font: 400 clamp(26px, 2.5vw, 42px)/1.06 var(--f-display); letter-spacing: -.012em; }
:lang(zh) .shelf-label b { font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.shelf-go { font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); transition: color .3s; }
:lang(zh) .shelf-go { font-size: 12.5px; }
.shelf-go i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.shelf-label:hover .shelf-go { color: var(--ink); }
.shelf-label:hover .shelf-go i { transform: translateX(5px); }
.shelf-row { display: flex; align-items: flex-end; gap: clamp(6px, 1.5vw, 26px); height: clamp(150px, 19vw, 280px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-top: 24px; }
.shelf-row::-webkit-scrollbar { display: none; }
.shelf-item { flex: none; height: 100%; aspect-ratio: var(--sar, 1); container-type: size; display: grid; place-items: end center; position: relative; --fill: 1; transition: transform .6s var(--ease), background .5s; transform-origin: 50% 100%; border-radius: 3px 3px 0 0; }
.shelf-item:hover { transform: translateY(-6px) scale(1.04); }
.shelf-item.here::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; background: var(--ink); }
.shelf-row.loose { height: clamp(130px, 15vw, 220px); border-bottom: 1px solid var(--hair-2); padding-inline: 2px; }
.shelf-row.big { height: clamp(200px, 30vw, 440px); justify-content: safe center; gap: clamp(8px, 2vw, 40px); }
.lineup { padding: clamp(20px, 5vh, 60px) var(--pad) 0; }

/* ───────── 通用的段落 ───────── */
.sect { padding: clamp(110px, 18vh, 230px) var(--pad); position: relative; }
.sect.tight { padding-block: clamp(56px, 9vh, 110px); }
.sect-head { max-width: 1180px; margin-bottom: clamp(44px, 8vh, 104px); display: grid; gap: clamp(18px, 2.4vw, 34px); padding: 4px; }
.sect-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 3vw, 40px); }
.sect-head.row > div { display: grid; gap: 14px; }
.sect.tight > .sect-head:not(.row) { margin-bottom: clamp(24px, 4vh, 48px); }
.h3 a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.h3 a:hover { background-size: 100% 1px; }

/* 进入视口时轻轻升上来 */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* ───────── 首页 · 刊头 ───────── */
.hero { position: relative; height: 100svh; min-height: 660px; overflow: hidden; }
.mist { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 2.4s ease; }
.mist.on { opacity: 1; }
.hero-meta {
  position: absolute; top: 82px; left: var(--pad); right: var(--pad); display: flex; gap: clamp(14px, 2.4vw, 36px); align-items: center;
  border-top: 1px solid var(--hair-2); padding-top: 12px; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
:lang(zh) .hero-meta { font-size: 12px; letter-spacing: .22em; }
.hero-meta .r { margin-left: auto; text-align: right; }
.hero-meta i { font-style: normal; opacity: .45; margin: 0 .7em; }

.hero .mast { position: absolute; left: 0; right: 0; top: max(14.5svh, 124px); margin: 0; text-align: center; white-space: nowrap; user-select: none; -webkit-user-select: none; pointer-events: none; font-size: 20.6vw; line-height: .84; letter-spacing: -.012em; font-weight: 500; }
.mast-in { display: inline-block; transform-origin: 50% 0; }
.mast b { display: inline-block; font-weight: inherit; opacity: 0; transform: translateY(.18em); filter: blur(14px); animation: mast-in 1.5s var(--ease) forwards; }
.mast .w:nth-child(1) b:nth-child(1) { animation-delay: .05s; } .mast .w:nth-child(1) b:nth-child(2) { animation-delay: .12s; }
.mast .w:nth-child(1) b:nth-child(3) { animation-delay: .19s; } .mast .w:nth-child(1) b:nth-child(4) { animation-delay: .26s; }
.mast .w:nth-child(2) b:nth-child(1) { animation-delay: .33s; } .mast .w:nth-child(2) b:nth-child(2) { animation-delay: .40s; }
.mast .w:nth-child(2) b:nth-child(3) { animation-delay: .47s; }
@keyframes mast-in { to { opacity: 1; transform: none; filter: blur(0); } }

.props { position: absolute; inset: 0; pointer-events: none; }
.prop { position: absolute; will-change: transform; transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0) rotate(var(--rot, 0deg)); opacity: 0; animation: prop-in 1.8s var(--ease) forwards; }
.prop img { display: block; width: 100%; height: 100%; pointer-events: none; animation: bob 11s ease-in-out infinite; }
.prop[data-drag] { pointer-events: auto; cursor: grab; touch-action: none; }
.prop[data-drag]:active, .prop.dragging { cursor: grabbing; }
@media (pointer: coarse) { .prop[data-drag] { pointer-events: none; touch-action: auto; } }
.prop.dragging img { animation-play-state: paused; }
@keyframes prop-in { from { opacity: 0; filter: blur(18px); scale: .96; } to { opacity: 1; filter: blur(0); scale: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.1svh); } }

.p-jar { height: 61svh; aspect-ratio: 1005 / 1100; left: 50%; top: 25svh; translate: -50% 0; animation-delay: .5s; z-index: 3; }
.p-smoke { height: 45.5svh; aspect-ratio: 733 / 1100; left: 50%; top: 7svh; translate: -47% 0; animation-delay: 1.1s; z-index: 2; opacity: 0; }
.p-smoke img { animation: drift 16s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1) rotate(-1deg); } 50% { transform: translate(1.2%, -2.4%) scale(1.045) rotate(1.4deg); } }
.p-soda { height: 50svh; aspect-ratio: 733 / 1100; left: 77.5vw; top: 31svh; translate: -50% 0; animation-delay: .75s; z-index: 4; }
.p-soda img { animation-duration: 13s; animation-delay: -4s; }
.p-ice { height: 26svh; aspect-ratio: 800 / 731; left: 17vw; top: 28.5svh; translate: -50% 0; --rot: -9deg; animation-delay: .9s; z-index: 4; }
.p-ice img { animation-duration: 9s; animation-delay: -2s; }
.p-glint { width: 19vw; aspect-ratio: 640 / 457; left: 59.6vw; top: 32svh; translate: -50% -50%; animation-delay: 1.5s; z-index: 5; mix-blend-mode: screen; }
.p-glint img { animation: twinkle 5.5s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.82) rotate(0deg); } 50% { opacity: 1; transform: scale(1.06) rotate(6deg); } }

.hero-copy { position: absolute; left: var(--pad); bottom: clamp(84px, 11svh, 130px); max-width: min(33rem, 36vw); display: grid; gap: clamp(14px, 1.8vw, 24px); z-index: 6; padding: 6px; }
.hero-line { font: 400 clamp(40px, 5vw, 86px)/1 var(--f-display); letter-spacing: -.02em; }
:lang(zh) .hero-line { font-weight: 700; letter-spacing: .02em; line-height: 1.15; }
.hero-copy .lead { font-size: clamp(15.5px, 1.2vw, 19px); }
.hero-hint { position: absolute; right: var(--pad); bottom: clamp(84px, 11svh, 130px); z-index: 6; display: grid; gap: 8px; justify-items: end; text-align: right; font: 500 10.5px/1.4 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
:lang(zh) .hero-hint { font-size: 12.5px; letter-spacing: .22em; }
.hero-hint i { font-style: normal; display: inline-block; animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.hero-copy > *, .hero-hint > *, .hero-meta > * { opacity: 0; transform: translateY(14px); animation: copy-in 1.2s var(--ease) forwards; }
.hero-meta > * { animation-delay: .2s; }
.hero-copy > :nth-child(1) { animation-delay: 1.0s; } .hero-copy > :nth-child(2) { animation-delay: 1.15s; } .hero-copy > :nth-child(3) { animation-delay: 1.3s; }
.hero-hint > * { animation-delay: 1.9s; }
@keyframes copy-in { to { opacity: 1; transform: none; } }

/* ───────── 首页 · 一张 PNG，任何底色 ───────── */
.any { position: relative; height: 780vh; }
.any-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 30vw) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 56px); padding: 0 var(--pad); }
.any-head { align-self: start; margin-top: 17svh; display: grid; gap: 22px; padding: 18px 20px; margin-left: -20px; border-radius: 6px; transition: background .5s; }
.any-head h2 { font-size: clamp(38px, 5.2vw, 92px); }
.any-subject { height: 84svh; display: grid; grid-template: 100% / 100%; place-items: center; min-width: 0; }
.any-subject img { height: 100%; width: auto; max-width: none; display: block; transition: transform .2s linear; }
.any-steps { position: relative; height: 46svh; align-self: center; }
.any-steps li { position: absolute; inset: auto 0 auto 0; top: 50%; translate: 0 -50%; display: grid; gap: 14px; opacity: 0; transform: translateY(22px); transition: opacity .5s, transform .7s var(--ease), background .5s; pointer-events: none; padding: 22px 24px; border-radius: 6px; max-width: 26rem; }
.any-steps li.on { opacity: 1; transform: none; pointer-events: auto; }
.any-steps .n { font: 500 11px/1 var(--f-mono); letter-spacing: .16em; color: var(--ink-2); }
.any-steps b { font: 400 clamp(40px, 4.6vw, 80px)/1 var(--f-display); letter-spacing: -.02em; }
:lang(zh) .any-steps b { font-weight: 700; letter-spacing: 0; }
.any-steps p { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.6; color: var(--ink-2); font-weight: 300; }
:lang(zh) .any-steps p { font-weight: 400; line-height: 1.8; }
html[data-busy] .any-head, html[data-busy] .any-steps li.on { background: var(--veil); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.any-rail { position: absolute; right: calc(var(--pad) * .5); top: 22svh; bottom: 22svh; width: 1px; background: var(--hair-2); --k: 0; --n: 7; }
.any-rail i { position: absolute; left: -1px; width: 3px; border-radius: 2px; height: calc(100% / var(--n)); top: calc(var(--k) * 100% / var(--n)); background: var(--ink); transition: top .6s var(--ease); }

/* ───────── 首页 · 对比 ───────── */
.vs {
  position: relative; height: min(80svh, 820px); min-height: 420px; border-radius: 5px; overflow: hidden; margin: 0;
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background: repeating-linear-gradient(135deg, #f4d31f 0 18px, #1d8a3c 18px 36px);
  transition: background-color .5s;
}
.vs[data-bg="dark"] { background: #10131b; }
.vs[data-bg="orange"] { background: #ff5a1f; }
.vs-art { position: absolute; inset: 5% 0; }
.vs-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.vs-cut { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vs-ours { clip-path: inset(0 0 0 var(--pos)); }
.vs-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 56px; margin-left: -28px; background: none; border: 0; padding: 0; cursor: ew-resize; touch-action: none; }
.vs-handle::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1.5px; margin-left: -.75px; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .35); }
.vs-handle i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); transition: transform .3s var(--ease); }
.vs-handle i::before { content: "←  →"; position: absolute; inset: 0; display: grid; place-items: center; font: 500 13px/1 var(--f-mono); color: #111; letter-spacing: -.06em; white-space: pre; }
.vs-handle:hover i, .vs.dragging .vs-handle i { transform: scale(1.1); }
.vs-tag { position: absolute; top: 18px; display: grid; gap: 5px; padding: 11px 15px; border-radius: 4px; background: rgba(8, 9, 12, .78); color: #f4f1ea; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 clamp(18px, 1.7vw, 26px)/1 var(--f-display); pointer-events: none; }
.vs-tag i { font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; opacity: .68; font-style: normal; }
:lang(zh) .vs-tag i { font-size: 12px; }
.vs-tag.l { left: 18px; } .vs-tag.r { right: 18px; text-align: right; }
.vs-ctrl { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; margin-top: 20px; }
.vs-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px); margin: clamp(48px, 7vh, 88px) 0 22px; border-top: 1px solid var(--hair-2); }
.vs-nums div { display: grid; gap: 14px; padding-top: 18px; align-content: start; }
.vs-nums dt { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 22em; order: 2; }
.vs-nums dd { font: 400 clamp(54px, 7.4vw, 128px)/.9 var(--f-display); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.vs.mini { height: min(70svh, 620px); min-height: 380px; }

/* ───────── 首页 · 读数：这一个像素透多少 ─────────
   左边一个大数，右边是成品和它的 alpha 通道，圈落在哪儿，数就是哪个像素的。 */
.meter { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 56px); align-items: start; --a: 0; --u: 50%; --v: 42%; }
.meter-read { display: grid; gap: clamp(14px, 1.6vw, 22px); align-content: start; padding-top: clamp(0px, 5vh, 70px); }
.eq { font: italic 400 clamp(64px, 10.4vw, 190px)/.9 var(--f-display); letter-spacing: -.03em; margin: 0 0 clamp(6px, 1.4vw, 20px); white-space: nowrap; font-variant-numeric: lining-nums; }
.eq i { font-style: italic; }
/* 等号：Bodoni 在大字号下的横线细得快看不见了，换成无衬线的 */
.eq span { font-family: "Jost", var(--f-sans); font-style: normal; font-weight: 300; font-size: .62em; vertical-align: .16em; margin: 0 .2em; }
/* 数字用正体，定宽占位：读数在变，后面的东西不跟着左右跳 */
.eq output { display: inline-block; min-width: 2.3em; font-style: normal; letter-spacing: -.02em; }
/* 一条从全透到不透的标尺，竖线是当前这个像素 */
.meter-bar { position: relative; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px var(--hair-2);
  background: linear-gradient(90deg, transparent, var(--ink)), repeating-conic-gradient(color-mix(in srgb, var(--ink) 20%, transparent) 0 25%, transparent 0 50%) 0 0 / 14px 14px; }
.meter-bar i { position: absolute; left: calc(var(--a) * 100%); top: -7px; bottom: -7px; width: 2px; margin-left: -1px; background: var(--ink); box-shadow: 0 0 0 2px var(--stage); transition: left .12s linear; }
.meter-ends { display: flex; justify-content: space-between; font: 500 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
:lang(zh) .meter-ends { font-size: 12px; letter-spacing: .18em; }
.meter-note { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.75; color: var(--ink-2); max-width: 26em; margin-top: clamp(8px, 1.4vw, 20px); }
/* 说明里「把指针移上去」和「点一下」二选一 */
.if-coarse { display: none; }
@media (pointer: coarse) { .if-coarse { display: inline; } .if-fine { display: none; } }
.meter figure { display: grid; gap: 16px; min-width: 0; }
.plate .cross { position: absolute; left: var(--u); top: var(--v); width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .6); pointer-events: none; transition: left .12s linear, top .12s linear; }
.plate .cross::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .7); }
.plate { display: block; aspect-ratio: 2 / 3; border-radius: 3px; overflow: hidden; position: relative; box-shadow: 0 0 0 1px var(--hair); }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; }
.plate.live { cursor: crosshair; animation: hues 14s linear infinite; background: #1746d6; }
@keyframes hues { 0%, 100% { background: #1746d6; } 25% { background: #0b0d12; } 50% { background: #ff5a1f; } 75% { background: #f3efe7; } }
.meter figcaption { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); display: grid; gap: 6px; }
.meter figcaption b { font: italic 400 clamp(17px, 1.6vw, 24px)/1.2 var(--f-display); color: var(--ink); font-variant-numeric: lining-nums; }
.meter figcaption b i { font-style: italic; }
.probe-out { position: absolute; z-index: 5; left: 0; top: 0; pointer-events: none; transform: translate(14px, 14px); background: #0b0d12; color: #f2eee5; border-radius: 4px; padding: 8px 10px; font: 500 11px/1.5 var(--f-mono); letter-spacing: .04em; white-space: pre; box-shadow: 0 8px 28px rgba(0, 0, 0, .4); display: flex; gap: 10px; align-items: center; }
.probe-out::before { content: ""; width: 22px; height: 22px; border-radius: 3px; background: var(--px, #000); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); flex: none; }
.probe-out b { font: 400 20px/1 var(--f-display); font-style: italic; margin-right: 2px; }
.how-foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; margin-top: clamp(48px, 8vh, 100px); padding-top: 28px; border-top: 1px solid var(--hair-2); }
.how-foot p { font: 400 clamp(22px, 2.5vw, 40px)/1.25 var(--f-display); max-width: 24em; letter-spacing: -.01em; text-wrap: balance; }
:lang(zh) .how-foot p { font-weight: 700; line-height: 1.5; letter-spacing: 0; }

/* ───────── 首页 · 类别 ───────── */
.world { display: grid; grid-template-columns: minmax(280px, 5fr) 7fr; gap: clamp(24px, 5vw, 96px); align-items: center; min-height: 100svh; padding-block: clamp(84px, 11vh, 130px); }
.world:nth-of-type(even) .world-text { order: 2; }
.world-text { display: grid; gap: clamp(18px, 2.2vw, 32px); justify-items: start; padding: 20px; margin: -20px; }
.world-text h2 { font-size: clamp(40px, 5.6vw, 100px); }
.world-count { font: 400 13px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: baseline; gap: .6em; }
.world-count b { font: 400 clamp(40px, 4.4vw, 76px)/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.world-count i { font-style: normal; opacity: .4; margin: 0 .3em; }
.world-art { position: relative; height: min(74svh, 760px); min-height: 440px; }
.wa { position: absolute; display: grid; place-items: center; container-type: size; transition: transform .9s var(--ease); --fill: 1; }
.wa:hover { transform: scale(1.05) translateY(-6px); z-index: 9; }
.wa0 { left: 29%; top: 6%; width: 42%; height: 88%; z-index: 3; }
.wa1 { left: 0; top: 2%; width: 29%; height: 42%; }
.wa2 { left: 71%; top: 0; width: 29%; height: 40%; }
.wa3 { left: 1%; top: 53%; width: 27%; height: 43%; }
.wa4 { left: 72%; top: 47%; width: 28%; height: 50%; }
.wa5 { left: 21%; top: 0; width: 17%; height: 24%; z-index: 4; }
.wa6 { left: 62%; top: 72%; width: 17%; height: 27%; z-index: 4; }
/* 玻璃这一类摆成一组静物：都站在一条线上，前后叠着——后面的杯子能透过前面的看见 */
.world-art.stand { border-bottom: 1px solid var(--hair-2); }
.world-art.stand .wa { place-items: end center; top: auto; bottom: 0; transform-origin: 50% 100%; }
.stand .wa0 { left: 31%; width: 38%; height: 90%; z-index: 2; }
.stand .wa1 { left: 9%; width: 19%; height: 64%; z-index: 3; }
.stand .wa2 { left: 59%; width: 25%; height: 31%; z-index: 6; }
.stand .wa3 { left: 23%; width: 16%; height: 39%; z-index: 5; }
.stand .wa4 { left: 67%; top: 2%; bottom: auto; width: 31%; height: 36%; z-index: 1; place-items: center; }
.stand .wa5 { left: 76%; width: 24%; height: 30%; z-index: 4; }
.stand .wa6 { left: 53%; width: 15%; height: 56%; z-index: 1; }

/* ───────── 首页 · 收尾 ───────── */
.free { text-align: center; display: grid; justify-items: center; gap: clamp(22px, 3vw, 40px); }
.free-line { font-size: clamp(48px, 9.4vw, 170px); line-height: .94; }
:lang(zh) .free-line { line-height: 1.12; }
.free .cta { justify-content: center; }
.ribbon { overflow: hidden; padding: 10px 0 clamp(70px, 10vh, 130px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ribbon-run { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 64px); width: max-content; animation: ribbon 120s linear infinite; }
.ribbon:hover .ribbon-run { animation-play-state: paused; }
.ribbon a { flex: none; height: clamp(110px, 14vw, 200px); display: block; transition: transform .5s var(--ease); }
.ribbon a:hover { transform: scale(1.08); }
.ribbon img { height: 100%; width: auto; max-width: none; display: block; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ───────── 浏览 ───────── */
.page-head { padding: clamp(120px, 18vh, 190px) var(--pad) clamp(28px, 5vh, 56px); display: grid; gap: clamp(18px, 2.4vw, 32px); justify-items: start; margin: 0 0 clamp(20px, 4vh, 48px); }
.page-head h1 { max-width: 14em; }
.search { display: flex; align-items: center; width: min(100%, 720px); border-bottom: 1px solid var(--ink); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 14px 0; font: 400 clamp(20px, 2.2vw, 32px)/1.2 var(--f-display); letter-spacing: -.01em; }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search button { background: none; border: 0; padding: 10px 4px 10px 16px; font: 400 26px/1 var(--f-display); }
.search button i { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.search button:hover i { transform: translateX(6px); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px clamp(18px, 2.4vw, 36px); }
.tabs a { font: 400 clamp(18px, 1.7vw, 26px)/1.3 var(--f-display); color: var(--ink-3); padding: 4px 0; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
:lang(zh) .tabs a { font-weight: 700; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--ink); }
.tags, .active, .taglist, .uses { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.uses .label { margin-right: 8px; }
.more { padding: clamp(40px, 8vh, 90px) 0 0; }
.more .label::after { content: ""; width: 1px; height: 36px; background: var(--hair-2); display: block; margin-left: 10px; animation: nudge 2.4s var(--ease) infinite; }
.empty { padding: 8vh var(--pad) 14vh; display: grid; gap: 22px; justify-items: start; }
.empty-line { font: 400 clamp(48px, 8vw, 130px)/1 var(--f-display); }
:lang(zh) .empty-line { font-weight: 700; }

/* ───────── 详情 ───────── */
.detail { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(320px, .78fr); gap: clamp(28px, 4.6vw, 88px); padding: clamp(96px, 13vh, 130px) var(--pad) clamp(30px, 5vh, 60px); align-items: start; }
.viewer-col { position: sticky; top: 84px; display: grid; gap: 18px; }
.viewer { position: relative; height: min(74svh, 860px); min-height: 380px; container-type: size; display: grid; place-items: center; border-radius: 4px; transition: background .5s; --fill: .94; }
.viewer::before { content: ""; position: absolute; inset: 6%; z-index: -1; pointer-events: none; opacity: .55; background: radial-gradient(closest-side, color-mix(in srgb, var(--c, #9fb4c8) 34%, transparent), transparent 72%); transition: opacity .6s; }
html[data-busy] .viewer::before, html[data-ink="dark"] .viewer::before { opacity: 0; }
.viewer-plate img { animation: shot-in 1.1s var(--ease) both; }
@keyframes shot-in { from { opacity: 0; filter: blur(16px); transform: scale(.975); } to { opacity: 1; filter: blur(0); transform: none; } }
.viewer[data-view="alpha"] { background: #000; }
.viewer[data-view="alpha"] img { filter: url(#f-alpha); }
.viewer[data-view="cutout"] img { filter: url(#f-cutout); }
.viewer[data-view="alpha"]::before { opacity: 0; }
.viewer { cursor: crosshair; }
.viewer-note { position: absolute; left: 14px; bottom: 14px; right: 14px; max-width: 34em; font-size: 13px; line-height: 1.55; padding: 10px 14px; border-radius: 4px; background: rgba(8, 9, 12, .8); color: #f2eee5; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.viewer-bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.pager { display: inline-flex; align-items: center; gap: 14px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--ink-2); }
.pager a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--hair-2); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.pager a:hover { background: var(--ink); color: var(--stage); border-color: var(--ink); }
.pager i { font-style: normal; }

.info { display: grid; gap: clamp(18px, 2vw, 28px); padding: 8px; justify-items: start; }
.crumb { font: 500 11px/1.4 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .8em; }
:lang(zh) .crumb { font-size: 12.5px; letter-spacing: .2em; }
.crumb i { font-style: normal; opacity: .45; }
.crumb a { border-bottom: 1px solid var(--hair-2); }
.crumb a:hover { color: var(--ink); border-color: var(--ink); }
.info h1 { font-size: clamp(40px, 4.8vw, 84px); line-height: 1; }
:lang(zh) .info h1 { line-height: 1.14; }
.desc { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
:lang(zh) .desc { line-height: 1.95; }
.info .dl { width: 100%; justify-content: center; margin-top: 4px; }
.terms { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.terms a { border-bottom: 1px solid var(--hair-2); }
.terms a:hover { color: var(--ink); border-color: var(--ink); }
.specs { width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--hair-2); }
.specs div { display: grid; gap: 7px; padding: 14px 0; border-bottom: 1px solid var(--hair); align-content: start; }
.specs div:nth-child(odd) { padding-right: 16px; }
.specs dt { font: 500 10px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
:lang(zh) .specs dt { font-size: 12px; }
.specs dd { font: 400 13px/1.4 var(--f-mono); letter-spacing: .02em; display: flex; align-items: center; gap: 10px; }
.specs .bar { flex: 1; height: 3px; background: var(--hair); border-radius: 2px; overflow: hidden; max-width: 90px; }
.specs .bar i { display: block; height: 100%; background: var(--ink); }
.taglist .chip { font-size: 12.5px; padding: .42em .9em; }

/* ───────── 文档页（真透明、许可、404）───────── */
.doc .page-head h1 { max-width: 12em; }
.doc-sect { display: grid; grid-template-columns: minmax(60px, 12%) minmax(0, 1fr); gap: 20px clamp(20px, 4vw, 60px); padding: clamp(48px, 8vh, 96px) var(--pad); border-top: 1px solid var(--hair-2); align-items: start; }
.doc-sect > .label { padding-top: .9em; }
.doc-sect > :not(.label) { grid-column: 2; }
.doc-sect h2 { font-size: clamp(32px, 4.4vw, 76px); }
.doc-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 42%); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(20px, 3vw, 40px); }
.prose { display: grid; gap: 1.15em; font-size: 17.5px; line-height: 1.78; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }
:lang(zh) .prose { line-height: 2; }
.prose.narrow { margin: clamp(16px, 2vw, 28px) 0; }
.doc-sect .eq { font-size: clamp(56px, 7.6vw, 136px); }
.doc-sect .meter { margin: clamp(28px, 5vh, 60px) 0; }
.doc-sect .meter-read { padding-top: 0; }
.facts { display: grid; margin-top: clamp(18px, 2.4vw, 32px); border-bottom: 1px solid var(--hair); }
.facts li { display: grid; grid-template-columns: minmax(140px, 24%) minmax(0, 1fr); gap: 12px clamp(18px, 3vw, 48px); padding: 22px 0; border-top: 1px solid var(--hair); align-items: baseline; }
.facts b { font: 400 clamp(20px, 1.9vw, 28px)/1.25 var(--f-display); letter-spacing: -.01em; }
:lang(zh) .facts b { font-weight: 700; letter-spacing: 0; }
.facts span { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); max-width: 38em; }
.doc-sect .cta { margin-top: clamp(28px, 4vw, 52px); }
.terms-grid { grid-template-columns: 1fr 1fr; }
.terms-grid > .term { grid-column: auto; display: grid; gap: 22px; align-content: start; }
.term ul { display: grid; }
.term li { font: 400 clamp(20px, 2.1vw, 32px)/1.35 var(--f-display); padding: 20px 0 20px 1.6em; border-top: 1px solid var(--hair); position: relative; text-wrap: pretty; letter-spacing: -.008em; }
:lang(zh) .term li { font-weight: 700; line-height: 1.6; letter-spacing: 0; }
.term li::before { position: absolute; left: 0; top: 20px; font-family: var(--f-mono); font-size: .7em; line-height: 1.9; }
.term.yes li::before { content: "＋"; }
.term.no li::before { content: "−"; }
.term.no li { color: var(--ink-2); }
.nf { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: clamp(18px, 2.4vw, 30px); padding: 120px var(--pad) 140px; }
.nf-code { font: italic 400 clamp(64px, 14vw, 240px)/.9 var(--f-display); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--ink); font-variant-numeric: lining-nums; }
.nf-code i { font-style: italic; }
.nf h1 { font-size: clamp(36px, 5vw, 84px); }

/* ───────── 页脚 ───────── */
.foot { margin-top: clamp(60px, 10vh, 140px); padding: clamp(56px, 9vh, 110px) var(--pad) 96px; border-top: 1px solid var(--hair-2); overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 80px; }
.foot-line { font: 400 clamp(30px, 3.6vw, 60px)/1.06 var(--f-display); letter-spacing: -.015em; }
:lang(zh) .foot-line { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.foot-nav { display: flex; gap: clamp(36px, 6vw, 110px); }
.foot-nav div { display: grid; gap: 11px; align-content: start; }
.foot-nav .label { margin-bottom: 8px; }
.foot-nav a { font-size: 15.5px; color: var(--ink-2); transition: color .25s; width: fit-content; }
.foot-nav a:hover { color: var(--ink); }
.foot-mast { font: 500 clamp(90px, 27.5vw, 520px)/.74 var(--f-display); letter-spacing: -.035em; text-align: center; margin: clamp(40px, 8vh, 110px) -2vw 0; white-space: nowrap; user-select: none; color: transparent; -webkit-text-stroke: 1px var(--hair-2); padding-bottom: .27em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 22px; border-top: 1px solid var(--hair); font: 500 10.5px/1.5 var(--f-mono); letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
:lang(zh) .foot-base { font-size: 12px; }

/* ───────── 小屏 ───────── */
@media (max-width: 1000px) {
  .nav-search { display: none; }
  .detail { grid-template-columns: 1fr; }
  .viewer-col { position: static; }
  .viewer { height: min(64svh, 640px); }
  .world { grid-template-columns: 1fr; min-height: 0; }
  .world:nth-of-type(even) .world-text { order: 0; }
  .world-art { height: min(72svh, 600px); }
  .meter { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .meter-read { grid-column: 1 / -1; padding-top: 0; }
  .doc-cols { grid-template-columns: 1fr; }
  .any-pin { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; align-content: start; }
  .any-head { grid-column: 1 / -1; margin-top: 12svh; }
  .any-head h2 br { display: none; }
  .any-subject { height: 60svh; }
  .any-steps { height: 40svh; }
  .hero-copy { max-width: min(30rem, 62vw); }
}
@media (max-height: 720px) and (min-width: 761px) {
  .hero-copy .lead { display: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-lang { display: none; }
  .nav-burger { display: block; }
  .nav.open { inset: 0; align-content: start; flex-wrap: wrap; background: var(--stage); }
  .nav.open .nav-links { display: grid; width: 100%; gap: 6px; padding: 12vh 0 4vh; order: 5; }
  .nav.open .nav-links a { font: 400 44px/1.15 var(--f-display); letter-spacing: -.02em; text-transform: none; color: var(--ink); padding: 6px 0; }
  :lang(zh) .nav.open .nav-links a { font-weight: 700; letter-spacing: .04em; font-size: 40px; }
  .nav.open .nav-lang { display: inline-block; order: 6; }
  .pg-home .nav.open .brand { opacity: 1; transform: none; pointer-events: auto; }

  .hero { min-height: 600px; }
  .hero-meta { top: 70px; }
  .hero-meta > span:nth-child(2) { display: none; }
  .hero-meta .n { display: none; }
  .hero .mast { top: 13svh; font-size: 37vw; line-height: .8; white-space: normal; }
  .mast .w { display: block; }
  .p-jar { height: 44svh; top: 27svh; }
  .p-smoke { height: 44svh; top: -2svh; }
  .p-soda { height: 30svh; left: 82vw; top: 38svh; }
  .p-ice { height: 15svh; left: 17vw; top: 49svh; }
  .p-glint { width: 34vw; left: 70vw; top: 28svh; }
  .hero-copy { left: var(--pad); right: var(--pad); max-width: none; bottom: 84px; gap: 12px; }
  .hero-copy .lead { display: none; }
  .hero-hint { display: none; }

  .any { height: 700vh; }
  .any-pin { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; padding-bottom: 84px; gap: 8px; }
  .any-head { margin-top: 84px; padding: 10px 12px; margin-left: -12px; gap: 10px; }
  .any-subject { height: 100%; min-height: 0; }
  .any-steps { height: 150px; }
  .any-steps li { padding: 12px 14px; gap: 6px; top: 0; translate: none; }
  .any-steps b { font-size: 34px; }
  .any-rail { display: none; }

  .vs { height: 68svh; }
  .vs-tag { padding: 8px 10px; font-size: 16px; top: 10px; }
  .vs-tag.l { left: 10px; } .vs-tag.r { right: 10px; }
  .vs-nums { grid-template-columns: 1fr; }
  .meter { gap: 26px 14px; }

  .shelf { grid-template-columns: 1fr; gap: 0; }
  .shelf-label { padding: 0 0 6px; }
  .shelf-row { height: 150px; }
  .wa5, .wa6 { display: none; }
  .wa0 { left: 24%; width: 52%; }
  .world-art.stand { height: 92vw; min-height: 0; }
  .stand .wa0 { left: 27%; width: 46%; }
  :lang(zh) em, em.hollow { -webkit-text-stroke-width: max(.7px, .014em); }
  /* 标签在手机上排成能横向划的一行，不把网格挤到第二屏去 */
  .page-head .tags { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .page-head .tags::-webkit-scrollbar { display: none; }
  .page-head .tags .chip { flex: none; }
  .grid { gap: 26px 12px; }
  .card { gap: 10px; }
  .specs { grid-template-columns: 1fr; }
  .specs div:nth-child(odd) { padding-right: 0; }
  .doc-sect { grid-template-columns: 1fr; }
  .doc-sect > :not(.label) { grid-column: 1; }
  .terms-grid { grid-template-columns: 1fr; }
  .facts li { grid-template-columns: 1fr; }
  .foot-nav { width: 100%; justify-content: space-between; }
  .dock { padding: 8px 10px 8px 14px; gap: 10px; }
  .dock-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; }
  .ribbon-run { animation: none; }
}
