/* 香又脆的菜花 · 沉浸式 WebGL 版
   暗色是主场：近黑的苔藓底 + 菜花绿（荧光青柠）+ 余烬橙。
   亮色单独调过：灰绿粉笔底 + 叶绿墨 + 信号橙。 */

@font-face {
  font-family: "Caihua Glyph";
  src: url("../fonts/caihua-glyph.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
  unicode-range: U+82B1, U+83DC;
}

:root {
  --bg: #060807;
  --bg-2: #0c110e;
  --ink: #e8efe4;
  --ink-2: #9aa79c;
  --ink-3: #5f6b62;
  --line: rgba(232, 239, 228, 0.13);
  --line-2: rgba(232, 239, 228, 0.28);
  --acc: #c4ff3a;
  --acc-ink: #0b1205;
  --acc-2: #ff6a3d;
  --sheet: rgba(8, 11, 9, 0.8);
  --glass-hi: rgba(240, 255, 210, 0.42);
  --glass-tint: rgba(196, 255, 58, 0.16);
  --shade: rgba(6, 8, 7, 0.86);

  --f-display: "Unbounded", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #e7eae2;
    --bg-2: #f3f5ef;
    --ink: #0e1a12;
    --ink-2: #48574c;
    --ink-3: #7d887f;
    --line: rgba(14, 26, 18, 0.14);
    --line-2: rgba(14, 26, 18, 0.32);
    --acc: #1f6b14;
    --acc-ink: #f3f8ea;
    --acc-2: #ff5418;
    --sheet: rgba(243, 245, 239, 0.86);
    --glass-hi: rgba(255, 255, 255, 0.85);
    --glass-tint: rgba(31, 107, 20, 0.1);
    --shade: rgba(231, 234, 226, 0.88);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: var(--f-sans); }
img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; background: var(--acc); color: var(--acc-ink); border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------------- 场景层 ---------------- */
.scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; transition: opacity .6s var(--ease); }
.scene-shade {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--shade), transparent 120px),
    linear-gradient(to top, var(--shade), transparent 38%);
}
.scene-fallback { display: none; }
.veil { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; display: none; }
.veil.is-on { display: block; }

/* 阅读与外框：场景停下、藏起，正文落在纯色底上 */
.is-article .scene, .is-article .scene-shade,
[data-scene="frame"] .scene, [data-scene="frame"] .scene-shade { opacity: 0; visibility: hidden; }

/* 不支持 WebGL：静态回退 */
.no-gl .scene { display: none; }
.no-gl .scene-fallback {
  display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60% 50% at 72% 38%, color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%),
    radial-gradient(40% 40% at 18% 80%, color-mix(in srgb, var(--acc-2) 16%, transparent), transparent 70%),
    repeating-radial-gradient(circle at 60% 40%, transparent 0 28px, var(--line) 28px 29px),
    var(--bg);
}
.fb-glyph {
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  font: 900 clamp(120px, 30vw, 420px)/1 "Caihua Glyph", var(--f-sans);
  color: var(--acc);
  opacity: 0;
  white-space: nowrap;
  text-shadow: 0 0 60px color-mix(in srgb, var(--acc) 50%, transparent);
}
.no-gl[data-route="home"] .fb-glyph { opacity: 0.9; }
.is-article .scene-fallback { display: none !important; }

/* ---------------- 顶栏 ---------------- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 14px var(--gut);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.scrolled .hud, .is-article .hud, [data-scene="frame"] .hud { background: color-mix(in srgb, var(--bg) 86%, transparent); border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.brand-logo {
  display: block; width: 28px; height: 28px; border-radius: 50%; flex: none;
  box-shadow: 0 0 16px color-mix(in srgb, #c4ff3a 45%, transparent);
}
.nav { display: flex; gap: clamp(6px, 2.4vw, 34px); margin-left: auto; }
.nav a { position: relative; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 2px; text-decoration: none; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav-n { font: 500 10px/1 var(--f-mono); color: var(--ink-3); }
.nav a.is-active .nav-n { color: var(--acc); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.lang {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer;
  font: 500 12px/1 var(--f-mono);
}
.lang span { padding: 5px 8px; border-radius: 999px; color: var(--ink-2); }
html[lang="zh-CN"] .lang-a, html[lang="en"] .lang-b { background: var(--acc); color: var(--acc-ink); }

.telemetry {
  position: fixed; left: var(--gut); bottom: 16px; z-index: 5; pointer-events: none;
  display: flex; gap: 14px; font: 400 11px/1 var(--f-mono); color: var(--ink-3); letter-spacing: .02em;
}
.telemetry span:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--acc); vertical-align: 1px; }
.is-article .telemetry, [data-scene="frame"] .telemetry, .no-gl .telemetry { display: none; }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 31; pointer-events: none; display: none; }
.is-article .progress { display: block; }
.progress span { display: block; height: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; }

/* ---------------- 通用 ---------------- */
.view { position: relative; z-index: 2; min-height: 100vh; outline: none; }
.loading { padding: 40vh var(--gut) 0; font: 400 13px var(--f-mono); color: var(--ink-2); }
.noscript { padding: 120px var(--gut); }
.kicker { margin: 0 0 18px; font: 400 12px/1.5 var(--f-mono); color: var(--ink-2); letter-spacing: .04em; }
.kicker::before { content: "◆ "; color: var(--acc); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--line-2); border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: 14px; background: color-mix(in srgb, var(--bg) 40%, transparent); cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn:hover { border-color: var(--acc); color: var(--acc); }
.btn-solid { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.btn-solid:hover { background: transparent; color: var(--acc); }
.tag { display: inline-block; padding: 3px 10px; border: 1px solid currentColor; border-radius: 999px; font: 500 12px/1.4 var(--f-sans); }
.tag-study { color: var(--acc); }
.tag-works { color: var(--acc-2); }
.tag-weibo, .tag-about { color: var(--ink-2); }

.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

.page-head { padding: clamp(110px, 18vh, 180px) var(--gut) clamp(28px, 6vh, 64px); max-width: 1400px; margin: 0 auto; }
.page-title {
  margin: 0; font-family: var(--f-display); font-weight: 700; line-height: .95; letter-spacing: -.035em;
  font-size: clamp(56px, 11vw, 168px);
}
html[lang="zh-CN"] .page-title { font-weight: 900; letter-spacing: -.02em; }
.page-lede { max-width: 38em; margin: 22px 0 0; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); line-height: 1.75; }
.sheet { position: relative; max-width: 1400px; margin: 0 auto; padding: clamp(18px, 3vw, 40px) var(--gut); background: var(--sheet); border-top: 1px solid var(--line); }

/* ---------------- 首页 ---------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 92px var(--gut) clamp(40px, 7vh, 72px);
  will-change: opacity, transform;
}
.hero-kicker { margin: 0; font: 400 12px/1.6 var(--f-mono); color: var(--ink-2); max-width: 30em; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.hero-copy { max-width: 640px; }
.hero-avatar { display: none; width: 72px; height: 72px; border-radius: 50%; margin-bottom: 18px; border: 2px solid var(--acc); background: #fff; }
.no-gl .hero-avatar { display: block; }
.hero-title { margin: 0; font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.01em; }
html[lang="en"] .hero-title { font-weight: 700; letter-spacing: -.03em; }
.hero-sub { margin: 14px 0 0; font-size: clamp(15px, 1.3vw, 18px); color: var(--ink-2); }
.hero-cue { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-decoration: none; font: 500 13px/1.4 var(--f-mono); color: var(--ink); }
.hero-cue small { grid-column: 2; color: var(--ink-3); font-size: 11px; }
.cue-line { grid-row: span 2; width: 1px; height: 54px; background: linear-gradient(var(--acc), transparent); position: relative; overflow: hidden; }
.cue-line::after { content: ""; position: absolute; left: -1px; width: 3px; height: 14px; background: var(--acc); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { from { top: -14px; } to { top: 54px; } }

.manifesto { min-height: 110vh; padding: 20vh var(--gut) 12vh; max-width: 1400px; margin: 0 auto; }
.m-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 7vh, 72px); }
.m-list li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; }
.m-n { font: 500 13px var(--f-mono); color: var(--acc); }
.m-t { font-size: clamp(24px, 4.2vw, 60px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; max-width: 16em; text-shadow: 0 2px 30px var(--bg); }
html[lang="en"] .m-t { font-family: var(--f-display); font-weight: 500; letter-spacing: -.03em; }
.m-list li:nth-child(2) { margin-left: clamp(0px, 8vw, 160px); }
.m-list li:nth-child(3) { margin-left: clamp(0px, 16vw, 320px); }

.portals { padding: 8vh var(--gut) 12vh; max-width: 1400px; margin: 0 auto; }
.portal-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.portal-list li { border-bottom: 1px solid var(--line-2); }
.portal {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 22em) 72px; align-items: center; gap: 16px;
  padding: clamp(14px, 2.4vh, 26px) 0; text-decoration: none; overflow: hidden; isolation: isolate;
}
.portal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--acc); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.portal:hover::before, .portal:focus-visible::before { transform: scaleY(1); }
.portal:hover, .portal:focus-visible { color: var(--acc-ink); }
.portal-n { font: 500 13px var(--f-mono); color: var(--acc); padding-left: 4px; }
.portal:hover .portal-n, .portal:focus-visible .portal-n { color: var(--acc-ink); }
.portal-t { font-family: var(--f-display); font-weight: 900; font-size: clamp(44px, 8.5vw, 128px); line-height: 1; letter-spacing: -.03em; transition: transform .5s var(--ease); }
html[lang="en"] .portal-t { font-weight: 700; letter-spacing: -.045em; }
.portal:hover .portal-t { transform: translateX(14px); }
.portal-d { color: var(--ink-2); font-size: 15px; }
.portal:hover .portal-d, .portal:focus-visible .portal-d { color: var(--acc-ink); }
.portal-c { justify-self: end; font: 500 13px var(--f-mono); display: inline-flex; gap: 10px; padding-right: 6px; }
.portal-c i { font-style: normal; }

.portrait { position: relative; min-height: 125vh; padding: 30vh var(--gut) 18vh; max-width: 1400px; margin: 0 auto; display: flex; align-items: center; }
.portrait-copy { max-width: 520px; }
.portrait-title { margin: 0 0 26px; font-family: var(--f-display); font-weight: 900; font-size: clamp(36px, 5.4vw, 80px); line-height: 1.02; letter-spacing: -.02em; }
html[lang="en"] .portrait-title { font-weight: 700; letter-spacing: -.04em; }
.portrait blockquote { margin: 0 0 30px; padding: 0 0 0 18px; border-left: 2px solid var(--acc-2); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.7; }
.portrait cite { display: block; margin-top: 10px; font: 400 12px var(--f-mono); color: var(--ink-3); font-style: normal; }
.portrait-img { display: none; }
.no-gl .portrait-img { display: block; position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); width: min(36vw, 420px); height: auto; border-radius: 50%; border: 3px solid var(--acc); background: #fff; }

/* ---------------- 文章列表 ---------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; font-size: 14px; transition: background-color .2s, color .2s; }
.chip sup { margin-left: 4px; font: 400 10px var(--f-mono); color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] sup { color: inherit; }
.group { margin-bottom: 48px; }
.group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font: 400 12px var(--f-mono); color: var(--ink-2); }
.group-head h2 { margin: 0; font-size: 14px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row {
  position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 40px; grid-template-areas: "n t go" "n d go";
  column-gap: 16px; row-gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding .35s var(--ease);
}
.row-n { grid-area: n; font: 500 12px/2.2 var(--f-mono); color: var(--ink-3); }
.row-t { grid-area: t; font-size: clamp(18px, 2vw, 25px); font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.row-d { grid-area: d; color: var(--ink-2); font-size: 14px; }
.row-go { grid-area: go; align-self: center; justify-self: end; font-size: 20px; color: var(--ink-3); transition: transform .35s var(--ease), color .2s; }
.row:hover { padding-left: 12px; }
.row:hover .row-t { color: var(--acc); }
.row:hover .row-go { color: var(--acc); transform: translateX(6px); }
.row:hover .row-n { color: var(--acc); }

/* ---------------- 工具：空间画廊 ---------------- */
.gallery { position: relative; z-index: 2; }
.gallery.is-space {
  height: calc(100vh - 70px); min-height: 560px; overflow: hidden; cursor: grab; touch-action: none;
  border-top: 1px solid var(--line); user-select: none; -webkit-user-select: none;
}
.gallery.is-dragging { cursor: grabbing; }
.gallery.is-dragging a { pointer-events: none; }
.drag-hint { position: absolute; right: var(--gut); top: 16px; z-index: 3; margin: 0; font: 400 11px var(--f-mono); color: var(--ink-3); pointer-events: none; }
.plane { list-style: none; margin: 0; padding: 0; }
.is-space .plane { position: absolute; left: 0; top: 0; width: 1900px; height: 1250px; will-change: transform; }
[data-route="tools"] .page-head { padding-bottom: 24px; }
[data-route="tools"] .page-title { font-size: clamp(52px, 7.5vw, 112px); }
.is-space .float { position: absolute; left: var(--x); top: var(--y); width: calc(200px * var(--d)); margin-left: calc(-100px * var(--d)); margin-top: calc(-100px * var(--d)); will-change: transform; }
.lens { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; text-decoration: none; -webkit-user-drag: none; }
.lens-glass {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  color: var(--acc);
  background:
    radial-gradient(circle at 32% 26%, var(--glass-hi), transparent 30%),
    radial-gradient(circle at 70% 78%, var(--glass-tint), transparent 62%),
    conic-gradient(from 210deg, transparent, color-mix(in srgb, var(--acc) 22%, transparent), transparent 40%, color-mix(in srgb, var(--acc-2) 18%, transparent), transparent 75%),
    color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--acc) 12%, transparent), inset 0 -18px 40px color-mix(in srgb, var(--bg) 70%, transparent), 0 30px 60px -30px rgba(0, 0, 0, .55);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .3s;
}
.lens-glass svg { width: 38%; height: 38%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lens-n { position: absolute; top: 16%; right: 18%; font: 500 11px var(--f-mono); color: var(--ink-2); }
.lens:hover .lens-glass, .lens:focus-visible .lens-glass { transform: scale(1.07); border-color: var(--acc); box-shadow: inset 0 0 60px color-mix(in srgb, var(--acc) 26%, transparent), 0 0 60px -10px color-mix(in srgb, var(--acc) 45%, transparent); }
.float-meta { text-align: center; margin-top: 14px; }
.is-space .float-meta { width: 260px; margin-left: calc(50% - 130px); }
.float-t { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; }
.float-t a { text-decoration: none; }
.float-t a:hover { color: var(--acc); }
.float-d { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.float-path { margin: 6px 0 0; font: 400 11px var(--f-mono); color: var(--ink-3); overflow-wrap: anywhere; }
.float-act { margin: 10px 0 0; display: flex; justify-content: center; gap: 14px; font-size: 13px; }
.float-act a { color: var(--acc); text-underline-offset: 3px; }

.gallery.is-stream { padding: 8px var(--gut) 60px; }
.is-stream .drag-hint { display: none; }
.is-stream .plane { display: grid; gap: 34px; }
.is-stream .float { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; width: 92%; }
.is-stream .float:nth-child(even) { margin-left: 8%; }
.is-stream .float-meta { text-align: left; margin: 0; }
.is-stream .float-act { justify-content: flex-start; }

/* 工具 / 作品外框 */
.frame { padding: 76px var(--gut) 24px; max-width: 1400px; margin: 0 auto; }
.frame-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.frame-bar h1 { flex: 1; margin: 0; font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; min-width: 0; }
.frame-shell { border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.frame-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 400 11px var(--f-mono); color: var(--ink-3); min-width: 0; }
.frame-chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); flex: none; }
.frame-chrome i:first-child { background: var(--acc-2); }
.frame-chrome i:nth-child(2) { background: var(--acc); }
.frame-chrome span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.frame-shell iframe { display: block; width: 100%; height: calc(100vh - 190px); min-height: 460px; border: 0; background: #fff; }

/* ---------------- 作品：Rapstar 专题 ---------------- */
.stage {
  min-height: 100vh; padding: 110px var(--gut) 60px; max-width: 1500px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 64px);
}
.mega {
  margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(52px, 11vw, 196px); line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(100deg, var(--ink) 30%, var(--acc) 62%, var(--acc-2) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stage-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.deck { display: grid; justify-items: center; gap: 18px; }
.vis { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1; }
.vis-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.disc {
  position: absolute; left: 50%; top: 50%; width: 52%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid var(--line-2); padding: 0; overflow: hidden; cursor: pointer; background: var(--bg-2);
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--bg) 60%, transparent), 0 30px 80px -20px rgba(0, 0, 0, .6);
}
.disc::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 31%, rgba(0, 0, 0, .0) 31%),
    repeating-radial-gradient(circle at 50% 50%, #101410 0 2px, #1b221c 2px 3px),
    #0b0e0c;
  animation: spin 6s linear infinite; animation-play-state: paused;
}
.disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255, 255, 255, .14) 25%, transparent 32% 70%, rgba(255, 255, 255, .08) 75%, transparent 80%); pointer-events: none; }
.disc-label {
  position: absolute; left: 50%; top: 50%; z-index: 1; width: 38%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%;
  display: grid; place-items: center; background: var(--acc); color: var(--acc-ink);
  font: 900 clamp(26px, 4vw, 54px)/1 "Noto Serif SC", "Songti SC", "SimSun", serif;
  animation: spin 6s linear infinite; animation-play-state: paused;
}
.vis.is-playing .disc::before, .vis.is-playing .disc-label { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.disc-ico { position: absolute; right: 6%; bottom: 6%; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: var(--acc-2); box-shadow: 0 0 0 4px var(--bg); }
.ico-play { position: relative; display: inline-block; }
.ico-play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -8px 0 0 -4px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--acc-ink); }
.is-playing .ico-play::before { width: 4px; height: 16px; margin: -8px 0 0 -6px; border: 0; background: var(--acc-ink); box-shadow: 8px 0 0 var(--acc-ink); }
.now { margin: 0; font: 400 12px var(--f-mono); color: var(--ink-2); text-align: center; }
.tracks { list-style: none; margin: 0; padding: 0; width: min(100%, 520px); border-top: 1px solid var(--line-2); }
.track { display: grid; grid-template-columns: 44px 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.track-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--acc); cursor: pointer; padding: 0; }
.track-play .ico-play { width: 40px; height: 40px; }
.track-n { font: 500 12px var(--f-mono); color: var(--ink-3); }
.track-t { font-family: var(--f-display); font-weight: 500; font-size: 17px; letter-spacing: -.02em; min-width: 0; }
.track-t small { display: block; font: 400 12px var(--f-sans); color: var(--ink-2); letter-spacing: 0; }
.track.is-on .track-t { color: var(--acc); }
.track-l { font-size: 13px; color: var(--ink-2); white-space: nowrap; text-underline-offset: 3px; }
.track-l:hover { color: var(--acc); }

.facts { padding: 14vh var(--gut) 8vh; max-width: 1500px; margin: 0 auto; }
.fact-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 64px); }
.fact-list li { border-top: 2px solid var(--acc); padding-top: 18px; }
.fact-n { font: 500 12px var(--f-mono); color: var(--acc); }
.fact-list h3 { margin: 10px 0 8px; font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; letter-spacing: -.01em; }
html[lang="en"] .fact-list h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.04em; }
.fact-list p { margin: 0; color: var(--ink-2); }

.setlist { padding: 4vh var(--gut) 8vh; max-width: 1500px; margin: 0 auto; }
.setlist ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.setlist li { border-bottom: 1px solid var(--line-2); }
.big-track {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: baseline; gap: 16px; width: 100%;
  padding: clamp(10px, 2vh, 22px) 0; border: 0; background: none; cursor: pointer; text-align: left;
}
.bt-n { font: 500 13px var(--f-mono); color: var(--acc); }
.bt-t {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(48px, 10vw, 160px); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .4s var(--ease);
}
.bt-s { font: 400 13px var(--f-mono); color: var(--ink-2); }
.big-track:hover .bt-t, .big-track:focus-visible .bt-t, .big-track.is-playing .bt-t { color: var(--acc); -webkit-text-stroke-color: var(--acc); }

.outro { padding: 6vh var(--gut) 18vh; max-width: 1500px; margin: 0 auto; }
.outro-link { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: .3em; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 7vw, 120px); letter-spacing: -.04em; line-height: 1; }
html[lang="zh-CN"] .outro-link { font-weight: 900; letter-spacing: -.01em; }
.outro-link i { font-style: normal; color: var(--acc); transition: transform .4s var(--ease); }
.outro-link:hover i { transform: translateX(16px); }
.outro-link:hover { color: var(--acc); }

/* ---------------- 关于 ---------------- */
.about { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); }
.about-figure { display: none; margin: 0 var(--gut) 24px; }
.about-figure img { width: 160px; height: 160px; border-radius: 50%; background: #fff; border: 3px solid var(--acc); display: block; }
.about-figure figcaption { margin-top: 10px; font: 400 12px var(--f-mono); color: var(--ink-2); }
.no-gl .about-figure { display: block; }
.about .prose { max-width: none; }
.about .sheet { padding-right: max(var(--gut), 46%); }
.gl .about .sheet { background: linear-gradient(to right, var(--sheet) 50%, transparent 64%); }

/* ---------------- 文章 ---------------- */
.is-article body { background: var(--bg); }
.article { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.article-head { padding: clamp(100px, 16vh, 150px) 0 clamp(24px, 4vh, 48px); max-width: 52em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 22px; font-size: 14px; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--acc); }
.article-title { margin: 0; font-size: clamp(28px, 4.2vw, 54px); font-weight: 900; line-height: 1.18; letter-spacing: -.01em; overflow-wrap: anywhere; }
html[lang="en"] .article-title { font-family: var(--f-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0 0; font: 400 12px var(--f-mono); color: var(--ink-2); }
.article-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); border-top: 1px solid var(--line-2); padding-top: clamp(24px, 4vh, 48px); }
.article-aside { position: relative; }
.toc { position: sticky; top: 90px; font-size: 13px; }
.toc-label { margin: 0 0 10px; font: 400 11px var(--f-mono); color: var(--ink-3); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.5; }
.toc a:hover { color: var(--ink); }
.toc a.is-current { color: var(--acc); border-left-color: var(--acc); }

.prose { max-width: 40em; font-size: 18px; line-height: 1.95; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.15em; }
.prose h1, .prose h2, .prose h3, .prose h4 { line-height: 1.35; font-weight: 900; scroll-margin-top: 90px; }
.prose h1 { font-size: 1.7em; margin: 1.6em 0 .6em; }
.prose h2 { font-size: 1.42em; margin: 2em 0 .7em; padding-top: .6em; border-top: 1px solid var(--line); }
.prose h2::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .5em; background: var(--acc); border-radius: 50%; vertical-align: .12em; }
.prose h3 { font-size: 1.18em; margin: 1.6em 0 .5em; }
.prose a { color: var(--acc); text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote { margin: 1.4em 0; padding: .7em 1.1em; border-left: 3px solid var(--acc-2); background: color-mix(in srgb, var(--ink) 5%, transparent); color: var(--ink-2); border-radius: 0 10px 10px 0; }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--acc); }
.prose code { font-family: var(--f-mono); font-size: .84em; padding: .12em .4em; border-radius: 6px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow-wrap: anywhere; }
.prose pre { margin: 1.3em 0; padding: 16px 18px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; max-width: 100%; line-height: 1.6; }
.prose pre code { padding: 0; background: none; font-size: 14px; overflow-wrap: normal; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }
.table-wrap { overflow-x: auto; margin: 1.3em 0; }
.prose table { border-collapse: collapse; font-size: .9em; min-width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); }
.article-end a { color: var(--acc); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 64px 0 40px; border-top: 1px solid var(--line-2); }
.pager a { display: block; padding: 20px 0; text-decoration: none; }
.pager-next { text-align: right; }
.pager small { display: block; font: 400 12px var(--f-mono); color: var(--ink-3); margin-bottom: 6px; }
.pager span { font-weight: 700; font-size: 17px; line-height: 1.4; }
.pager a:hover span { color: var(--acc); }

.empty { min-height: 80vh; padding: 160px var(--gut) 80px; max-width: 1400px; margin: 0 auto; }

/* ---------------- 页脚 ---------------- */
.foot { position: relative; z-index: 6; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.foot-inner { max-width: 1400px; margin: 0 auto; padding: 56px var(--gut) 64px; }
.foot-big { margin: 0 0 28px; font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 8vw, 120px); line-height: 1; letter-spacing: -.02em; color: var(--acc); }
html[lang="en"] .foot-big { font-weight: 700; letter-spacing: -.05em; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; font-size: 14px; color: var(--ink-2); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { text-underline-offset: 3px; }
.foot-links a:hover { color: var(--acc); }
[data-scene="frame"] .foot { display: none; }

/* ---------------- 窄屏 ---------------- */
@media (max-width: 1024px) {
  .article-body { grid-template-columns: minmax(0, 1fr); }
  .article-aside { display: none; }
  .stage { grid-template-columns: minmax(0, 1fr); padding-top: 100px; }
  .about .sheet { padding-right: var(--gut); }
}
@media (max-width: 760px) {
  .hud { gap: 10px; padding: 12px 16px; }
  .brand-name { display: none; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 7px; font-size: 15px; }
  .nav-n { display: none; }
  .lang span { padding: 5px 7px; }
  .telemetry span:nth-child(2) { display: none; }
  .hero { padding-top: 80px; }
  .hero-bottom { gap: 22px; }
  .m-list li { grid-template-columns: 36px 1fr; }
  .m-list li:nth-child(n) { margin-left: 0; }
  .portal { grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: "n t c" "n d d"; row-gap: 6px; }
  .portal-n { grid-area: n; }
  .portal-t { grid-area: t; }
  .portal-d { grid-area: d; font-size: 14px; }
  .portal-c { grid-area: c; }
  .portrait { align-items: flex-end; padding-top: 70vh; min-height: 140vh; }
  .portrait-copy { padding: 22px 18px; background: var(--sheet); border-radius: 16px; border: 1px solid var(--line); }
  .no-gl .portrait-img { position: static; transform: none; width: 140px; margin-bottom: 20px; }
  .no-gl .portrait { flex-direction: column-reverse; align-items: flex-start; padding-top: 16vh; min-height: auto; }
  .row { grid-template-columns: 34px minmax(0, 1fr) 24px; column-gap: 10px; }
  .fact-list { grid-template-columns: minmax(0, 1fr); }
  .big-track { grid-template-columns: 32px minmax(0, 1fr); }
  .bt-s { grid-column: 2; }
  .prose { font-size: 17px; line-height: 1.9; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager-next { text-align: left; }
  .frame-shell iframe { height: calc(100vh - 210px); min-height: 420px; }
  .gl[data-route="about"] .page-head { padding-top: 42vh; }
  .gl .about .sheet { background: var(--sheet); }
}

/* ---------------- 减少动态效果：全部停下，保留静态画面 ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .hero { will-change: auto; }
  .portal:hover .portal-t, .outro-link:hover i, .lens:hover .lens-glass { transform: none; }
  .row:hover { padding-left: 0; }
}

.disc-ico.ico-play { position: absolute; }
.scrolled .telemetry { opacity: 0; }
@media (max-width: 760px) {
  html:not([data-route="home"]) .telemetry { display: none; }
}
.prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

/* ================= 文章列表：纸页那一家的行（微博合辑、纸页随笔） =================
   与普通行同一套样式，悬停沿用普通行的高亮（标题后的纸飞机图标已去掉）。 */
.row[data-paper-row] { transition: padding .35s var(--ease), background-color .35s var(--ease); }

/* ================= 纸页：微博合辑 #/weibo（第二版版式）与纸页随笔共用 =================
   共用的纸色、纸飞机、阅读进度、刊头、小画、页尾挂在 html[data-paper] 下（只有这两种页面有）；
   只有微博合辑才有的分节、条目、条间记号挂在 html[data-route="weibo"] 下；分行随笔自己的几条挂在 html[data-route="essay"] 下。
   类名一律 wb- 开头，不漏到别的页面。站点结构（顶栏、面包屑、返回列表、上一篇/下一篇、页脚）照旧，只把颜色换成纸色。 */
@font-face {
  font-family: "WeiboWenKai";
  src: url("../_preview/weibo-v2/fonts/wenkai-weibo.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 《普通人如何去拥有富士山呢？》里有 80 来个字不在上面那份子集里：同一款霞鹜文楷 Lite，按这篇的字另切一份 */
@font-face {
  font-family: "FujiWenKai";
  src: url("../fonts/wenkai-fuji.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html[data-paper] {
  --bg: #f6f1e7;
  --bg-2: #efe8da;
  --ink: #2b2824;
  --ink-2: #6f665c;
  --ink-3: #9a8e7f;
  --line: rgba(43, 40, 36, 0.12);
  --line-2: rgba(43, 40, 36, 0.24);
  --acc: #4f6f8f;              /* 纸飞机那支蓝墨水 */
  --acc-ink: #f6f1e7;
  --acc-2: #b0643c;
  --sheet: rgba(246, 241, 231, 0.9);
  --shade: rgba(246, 241, 231, 0.9);

  --wb-faint: #a99d8e;
  --wb-hair: #e2d8c6;
  --wb-plane: #4f6f8f;
  --wb-sep: #c3b6a3;           /* 条间记号：比正文淡得多，也比航迹轻 */
  --wb-sep-num: #b0a390;       /* 编号是字，略深一点才认得出，仍比正文淡得多 */
  --wb-sketch-filter: none;
  --wb-size: 1.0625rem;        /* 17px */
  --wb-leading: 2.05;
  --wb-measure: 30em;          /* 每行至多 30 字 */
  --wb-gap: 3.6em;             /* 两条碎句之间 ≈ 61px */
  --wb-font: "WeiboWenKai", "LXGW WenKai", "LXGW WenKai Lite", "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  /* 深色：首页那种偏绿 / 中性的近黑，字和画调成暖白 */
  html[data-paper] {
    --bg: #060807;
    --bg-2: #0c110e;
    --ink: #e6e1d6;
    --ink-2: #aaa497;
    --ink-3: #7a776e;
    --line: rgba(230, 225, 214, 0.12);
    --line-2: rgba(230, 225, 214, 0.26);
    --acc: #a9c0d3;
    --acc-ink: #060807;
    --acc-2: #e09a6f;
    --sheet: rgba(6, 8, 7, 0.9);
    --shade: rgba(6, 8, 7, 0.9);

    --wb-faint: #77736b;
    --wb-hair: #1e2420;
    --wb-plane: #a9c0d3;
    --wb-sep: #3a3e39;
    --wb-sep-num: #4f534c;
    --wb-sketch-filter: invert(.88) sepia(.12) hue-rotate(180deg);
    color-scheme: dark;
  }
}

html[data-paper] .progress { display: none; }
html[data-paper] .foot { background: var(--bg); }   /* 页脚不透明 */
html[data-paper] .brand-logo { box-shadow: none; }

html[data-paper] .wb-page { max-width: 1240px; }
html[data-paper] .wb-head { max-width: none; padding-bottom: 0; }
html[data-paper] .wb-head .crumbs { margin-bottom: 0; }

/* 阅读进度：顶栏下沿一根虚线，纸飞机随进度往前飞 */
html[data-paper] .wb-progress { position: fixed; left: 0; right: 0; top: 52px; height: 22px; z-index: 29; pointer-events: none; }
html[data-paper] .wb-progress-line { position: absolute; left: 0; top: 1px; height: 1px; width: 0; background: repeating-linear-gradient(90deg, var(--wb-plane) 0 4px, transparent 4px 9px); opacity: .55; }
html[data-paper] .wb-progress-plane { position: absolute; top: 3px; left: 4px; width: 18px; height: 18px; color: var(--wb-plane); }

/* 刊头：航迹 + 标题 + 小节目录，一张安静的纸 */
html[data-paper] .wb-masthead { text-align: center; padding: clamp(40px, 9vh, 96px) 0 0; font-family: var(--wb-font); }
html[data-paper] .wb-hero { display: block; width: min(300px, 78vw); height: auto; margin: 0 auto 1.6rem; overflow: visible; }
html[data-paper] .wb-hero-trail { fill: none; stroke: var(--wb-plane); stroke-width: 1.1; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .7; }
html[data-paper] .wb-hero-plane { color: var(--wb-plane); animation: wb-drift 7s ease-in-out infinite; transform-origin: 276px 26px; }
@keyframes wb-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(3px, -4px) rotate(-4deg); }
}
html[data-paper] .wb-title { margin: 0; font-family: var(--wb-font); font-weight: 400; font-size: 1.875rem; line-height: 1.5; letter-spacing: .22em; text-indent: .22em; }
html[lang="en"][data-paper] .wb-title { font-family: var(--wb-font); font-weight: 400; letter-spacing: .06em; text-indent: .06em; line-height: 1.5; }
html[data-route="weibo"] .wb-toc { margin: 3.2rem auto 0; max-width: 34rem; }
html[data-route="weibo"] .wb-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.6rem; font-size: .875rem; line-height: 1.9; }
html[data-route="weibo"] .wb-toc a { color: var(--wb-faint); text-decoration: none; transition: color .2s; }
html[data-route="weibo"] .wb-toc a:hover, html[data-route="weibo"] .wb-toc a:focus-visible { color: var(--ink); }

/* 正文：窄窄一栏，疏朗 */
html[data-paper] .wb-body { width: min(100%, 52rem); margin: 0 auto; padding: 2rem 0 0; font-family: var(--wb-font); font-size: var(--wb-size); line-height: var(--wb-leading); color: var(--ink); overflow-wrap: break-word; }
html[data-route="weibo"] .wb-body ul, html[data-route="weibo"] .wb-body blockquote, html[data-route="weibo"] .wb-chapter > p { max-width: var(--wb-measure); margin-left: auto; margin-right: auto; }
html[data-paper] .wb-body p { margin-top: 0; margin-bottom: 0; }
html[data-route="weibo"] .wb-spacer { display: none; }
html[data-route="weibo"] .wb-chapter { margin-top: 9rem; scroll-margin-top: 90px; }
html[data-route="weibo"] .wb-chapter:first-child { margin-top: 5rem; }
html[data-route="weibo"] .wb-body h2 { margin: 0; text-align: center; font-weight: 400; font-size: 1.25rem; letter-spacing: .3em; text-indent: .3em; line-height: 1.6; }
html[data-route="weibo"] .wb-mark { display: block; width: 24px; height: 24px; margin: 0 auto .9rem; color: var(--wb-plane); transform: rotate(-12deg); }
html[data-route="weibo"] .wb-body blockquote { margin-top: .8rem; margin-bottom: 0; padding: 0; text-align: center; font-size: .875rem; color: var(--wb-faint); }
html[data-route="weibo"] .wb-body ul { list-style: none; padding: 0; margin-top: 4.2rem; margin-bottom: 0; }
html[data-route="weibo"] [data-entry] { position: relative; margin: 0; padding: 0; }
html[data-route="weibo"] [data-entry] + [data-entry] { margin-top: var(--wb-gap); }   /* 记号还没挂上时的间距 */
/* 「按」：一小段前言，排得更轻 */
html[data-route="weibo"] .is-preface { text-align: center; }
html[data-route="weibo"] .is-preface h2 { font-size: 1rem; color: var(--wb-faint); }
html[data-route="weibo"] .is-preface > p { margin-top: 1.4rem; color: var(--ink-2); font-size: .9375rem; }
/* 章末：一段虚线航迹，纸飞机飞向下一章 */
html[data-route="weibo"] .wb-trail { display: block; width: 150px; height: 44px; margin: 5rem auto 0; overflow: visible; color: var(--wb-plane); }
html[data-route="weibo"] .wb-trail path { fill: none; stroke: var(--wb-plane); stroke-width: 1; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .7; }

/* 条与条之间的记号：比章末航迹更轻。[data-weibo-body] 的 data-sep 一个属性切换 dot / num / line */
html[data-route="weibo"] .wb-sep { position: relative; margin: 0; padding: 0; list-style: none; }
html[data-route="weibo"] .wb-sep-mark { display: block; color: var(--wb-sep); }
html[data-route="weibo"] .wb-sep-dot, html[data-route="weibo"] .wb-sep-line { display: flex; align-items: center; justify-content: center; height: var(--wb-gap); }
html[data-route="weibo"] .wb-sep-dot .wb-sep-mark { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
html[data-route="weibo"] .wb-sep-line .wb-sep-mark { width: 24px; height: 1px; background: currentColor; }
html[data-route="weibo"] .wb-sep-num { margin-bottom: .2em; line-height: 1.4; }
html[data-route="weibo"] .wb-sep-num .wb-sep-mark { display: inline-block; color: var(--wb-sep-num); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
html[data-route="weibo"] [data-entry] + .wb-sep-num { margin-top: var(--wb-gap); }
html[data-route="weibo"] .wb-sep + [data-entry] { margin-top: 0; }

/* 纸页随笔：诗一样的分行短句。一行一块（.wb-line），一段一节，节与节之间用微博两条之间的那段留白；
   没有分节标记和条间编号。小画贴在那一行上，规则与微博的条目一样（宽屏放在那一行旁边，窄屏放在它下面）。 */
html[data-route="essay"] .wb-page[data-font="fuji"] { --wb-font: "FujiWenKai", "WeiboWenKai", "LXGW WenKai", "LXGW WenKai Lite", "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif; }
html[data-route="essay"] .wb-dek { margin: 1.4rem auto 0; max-width: 30em; font-size: .9375rem; line-height: 1.9; color: var(--wb-faint); }
html[data-route="essay"] .wb-body > p { max-width: var(--wb-measure); margin: var(--wb-gap) auto 0; }
html[data-route="essay"] .wb-body > p:first-child { margin-top: 5rem; }
html[data-route="essay"] .wb-line { display: block; position: relative; }
html[data-route="essay"] .wb-sign { text-align: right; color: var(--ink-2); font-size: .9375rem; }
html[data-route="essay"] .wb-body > p.wb-sign { margin-top: 5rem; }
html[data-route="essay"] .wb-sign .wb-line { position: static; }

/* 跟着句子走的小画 */
html[data-paper] .wb-sketch { display: block; width: 104px; height: auto; margin: 1.1rem 0 0 auto; filter: var(--wb-sketch-filter); border-radius: 0; }
html[data-paper] .wb-sketch.l { margin: 1.1rem auto 0 0; }
@media (min-width: 960px) {
  html[data-paper] .wb-sketch { position: absolute; top: 50%; width: 136px; margin: 0; transform: translateY(-50%); }
  html[data-paper] .wb-sketch.r { left: calc(100% + 22px); }
  html[data-paper] .wb-sketch.l { right: calc(100% + 22px); }
}

/* 页尾：飞机落地，然后是主站的「返回列表」和「下一篇」 */
html[data-paper] .wb-end { max-width: 52rem; margin: 0 auto; padding-top: 8rem; }
html[data-paper] .wb-end-plane { display: block; width: 120px; height: 40px; margin: 0 auto 6rem; overflow: visible; color: var(--wb-plane); }
html[data-paper] .wb-end-trail { fill: none; stroke: var(--wb-plane); stroke-width: 1; stroke-dasharray: 2 5; stroke-linecap: round; opacity: .7; }
html[data-paper] .wb-end .article-end { margin-top: 0; }

html[data-paper] .wb-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 10; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--wb-hair); border-radius: 50%; background: var(--bg); color: var(--wb-plane); cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
html[data-paper] .wb-to-top svg { width: 20px; height: 20px; transform: rotate(-45deg); }
html[data-paper] .wb-to-top.is-shown { opacity: .85; visibility: visible; }
html[data-paper] .wb-to-top:hover { opacity: 1; }
html[data-paper] .wb-to-top:focus-visible { outline: 2px solid var(--wb-plane); outline-offset: 3px; }

@media (max-width: 600px) {
  html[data-paper] { --wb-gap: 2.6em; --wb-leading: 1.95; }
  html[data-paper] .wb-title { font-size: 1.5rem; letter-spacing: .12em; text-indent: .12em; }
  html[data-route="weibo"] .wb-toc ol { gap: .2rem 1.1rem; }
  html[data-route="weibo"] .wb-chapter { margin-top: 6.5rem; }
  html[data-route="weibo"] .wb-body ul { margin-top: 3rem; }
  html[data-route="essay"] .wb-body > p:first-child { margin-top: 3rem; }
}

/* 减少动态效果：纸页的动画全部停下（上面的全局规则已经停掉 animation / transition，这里把位移也归零） */
@media (prefers-reduced-motion: reduce) {
  html[data-paper] .wb-hero-plane { animation: none !important; transform: none; }
}
