/* RenaSci · 问题网络“科学的复兴” — landing pages (briefs) and the network map.
   Same visual system as the manifesto site: near-black, one acid signal colour, dithered archive engravings,
   hard-edged cards pinned to full-bleed stages. */
:root {
  --void: #060607; --void-rgb: 6, 6, 7; --acid-rgb: 212, 255, 38; --fg-rgb: 233, 235, 227; --fg-2: #dfe2d8; --fg-3: #cfd3c7; --hover-bg: #0f100d; --card-bg: rgba(10, 11, 12, .94);
  --panel: #0d0e0f;
  --acid: #d4ff26;
  --acid-ink: #0b0c05;
  --paper: #ecede6;
  --fg: #e9ebe3;
  --dim: #8f9486;
  --faint: #3b3f35;
  --line: rgba(var(--acid-rgb), .26);
  --line-soft: rgba(var(--fg-rgb), .12);
  --mag: #ff3d7f;
  --f-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --f-serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --f-disp: "Archivo", "Arial Narrow", "Noto Sans SC", sans-serif;
  --f-mono: "Martian Mono", "Noto Sans SC", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --bar: 56px;
  --gut: clamp(16px, 3.2vw, 44px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--void); color: var(--fg); font-family: var(--f-sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 900; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 2px; }
::selection { background: var(--acid); color: var(--acid-ink); }
.serif { font-family: var(--f-serif); }
.skip { position: fixed; left: 8px; top: -80px; z-index: 100; background: var(--acid); color: var(--acid-ink); padding: 8px 12px; font-family: var(--f-mono); font-size: 12px; text-decoration: none; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
body::after { content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px); }
canvas.fx { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; image-rendering: crisp-edges; display: block; }
.scr__bg canvas.fx[data-fx="dither"] { opacity: .8; }

/* ---------- bar ---------- */
.nbar { position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: calc(var(--bar) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: stretch; background: rgba(var(--void-rgb), .92); border-bottom: 1px solid var(--line); }
.nbar__logo { flex: 0 0 var(--bar); display: grid; place-items: center; background: var(--acid); color: var(--acid-ink); }
.nbar__logo svg { width: 20px; height: 22px; fill: currentColor; }
.nbar__brand { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; text-decoration: none; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; line-height: 1.35; white-space: nowrap; }
.nbar__brand b { font-family: var(--f-disp); font-stretch: 115%; font-weight: 800; font-size: 15px; letter-spacing: .01em; }
.nbar__brand span { color: var(--dim); }
.nbar__brand:hover span { color: var(--acid); }
.nbar__node { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-left: 1px solid var(--line-soft); font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nbar__node b { font-family: var(--f-mono); font-size: 11px; background: var(--acid); color: var(--acid-ink); padding: 1px 6px; }
.nbar__nav { margin-left: auto; display: flex; align-items: stretch; }
.nbar__nav a { display: flex; align-items: center; gap: 6px; padding: 0 16px; border-left: 1px solid var(--line-soft); text-decoration: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; white-space: nowrap; }
.nbar__nav a:hover { color: var(--acid); }
.nbar__nav a[aria-current="page"] { background: rgba(var(--acid-rgb), .1); color: var(--acid); box-shadow: inset 0 -2px 0 var(--acid); }
.nbar__nav i { font-style: normal; color: var(--acid); }
@media (max-width: 860px) { .nbar__node { display: none; } }
@media (max-width: 620px) { .nbar__brand span { display: none; } .nbar__nav a { padding: 0 10px; font-size: 10px; } .nbar__home { display: none !important; } }
.prog { position: fixed; z-index: 61; top: calc(var(--bar) + env(safe-area-inset-top, 0px)); left: 0; right: 0; height: 2px; pointer-events: none; }
.prog i { display: block; height: 100%; width: 0; background: var(--acid); box-shadow: 0 0 8px rgba(var(--acid-rgb), .6); }

/* ---------- rail ---------- */
.rail { position: fixed; z-index: 50; right: 14px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; }
.rail a { position: relative; display: block; width: 34px; padding: 3px 0; text-align: right; text-decoration: none; font-family: var(--f-mono); font-size: 10px; color: var(--faint); }
.rail a b { font-weight: 500; }
.rail a::before { content: ""; position: absolute; right: 26px; top: 50%; width: 6px; height: 1px; background: currentColor; }
.rail a::after { content: attr(data-t); position: absolute; right: 44px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-family: var(--f-sans); font-size: 12px; color: var(--fg); background: var(--panel); border: 1px solid var(--line); padding: 2px 8px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.rail a:hover::after, .rail a:focus-visible::after { opacity: 1; }
.rail a:hover, .rail a.on { color: var(--acid); }
.rail a.on::before { width: 14px; right: 26px; }
@media (max-width: 1080px) { .rail { display: none; } }

/* ---------- atoms ---------- */
.tag { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; line-height: 1; }
.tag > * { padding: 6px 10px; border: 1px solid var(--line); margin-right: -1px; background: rgba(var(--void-rgb), .75); }
.tag b { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); font-weight: 600; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px; text-decoration: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; border: 1px solid var(--acid); transition: background .15s, color .15s; }
.btn i { font-style: normal; }
.btn--acid { background: var(--acid); color: var(--acid-ink); font-weight: 600; }
.btn--acid:hover { background: var(--paper); border-color: var(--paper); }
.btn--line { color: var(--acid); background: rgba(var(--void-rgb), .6); }
.btn--line:hover { background: var(--acid); color: var(--acid-ink); }

/* cross-links: the fractal's doors */
a.x { color: var(--acid); text-decoration: none; background: linear-gradient(var(--acid), var(--acid)) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: background-size .2s, color .2s; }
a.x:hover, a.x:focus-visible { background-size: 100% 100%; color: var(--acid-ink); }
.x__t { display: inline-block; margin-left: 3px; transform: translateY(-.55em); font-family: var(--f-mono); font-size: .52em; letter-spacing: .04em; line-height: 1; padding: 1px 3px; border: 1px solid currentColor; opacity: .85; }
a.x:target { animation: xflash 2.4s ease-out; }
@keyframes xflash { 0%, 30% { background-size: 100% 100%; color: var(--acid-ink); box-shadow: 0 0 0 6px rgba(var(--acid-rgb), .35); } 100% { box-shadow: 0 0 0 0 rgba(var(--acid-rgb), 0); } }

/* ---------- landing hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-content: center; padding: calc(var(--bar) + 48px) var(--gut) 88px; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.hero__in { position: relative; z-index: 2; max-width: min(640px, 52vw); }
.hero h1 { font-size: clamp(56px, 9.4vw, 160px); line-height: .98; letter-spacing: -.02em; margin: 0 0 .12em; text-wrap: balance; text-shadow: 0 0 40px rgba(var(--void-rgb), .9); }
.hero__sub { font-family: var(--f-serif); font-weight: 900; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.3; margin: 0 0 28px; color: var(--paper); }
.hero__meta { display: flex; flex-wrap: wrap; margin: 0 0 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__meta div { padding: 10px 18px 10px 0; margin-right: 18px; }
.hero__meta div + div { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.hero__meta dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; color: var(--dim); }
.hero__meta dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 30px; }
.hero__toc { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hero__toc a { display: inline-flex; gap: 8px; align-items: baseline; padding: 5px 10px; text-decoration: none; font-size: 13px; border: 1px solid var(--line-soft); background: rgba(var(--void-rgb), .7); }
.hero__toc b { font-family: var(--f-mono); font-size: 10px; color: var(--acid); font-weight: 500; }
.hero__toc a:hover { border-color: var(--acid); color: var(--acid); }
.hero__hint { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 22px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--dim); }
.hero__hint i, .map__how i { font-style: normal; color: var(--acid); margin-right: 8px; }
.hero__labels, .map__labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.nl-lab { position: absolute; transform: translate(0, -50%); white-space: nowrap; font-size: 12px; font-weight: 700; color: var(--fg); text-shadow: 0 0 6px var(--void), 0 0 12px var(--void); pointer-events: auto; text-decoration: none; }
.nl-lab b { font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: var(--acid); margin-right: 6px; }
.nl-lab.is-focus { font-size: 15px; }
.nl-lab.is-focus b { background: var(--acid); color: var(--acid-ink); padding: 1px 5px; }
.nl-lab:hover { color: var(--acid); }
.nl-lab.is-dim { color: var(--dim); }
@media (max-width: 900px) {
  .hero { align-content: start; padding-top: calc(var(--bar) + 42vh); }
  .hero__in { max-width: none; }
  .hero canvas.fx { top: var(--bar); bottom: auto; height: 42vh; }
  .hero__labels { display: none; }
  .hero__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .hero__meta div, .hero__meta div + div { padding: 8px 14px 8px 0; margin-right: 0; border-left: 0; }
  .hero__meta dd { font-size: 12.5px; }
  .hero__hint { position: static; margin-top: 28px; }
}

/* ---------- screens ---------- */
.scr { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--bar) + 56px) var(--gut) 76px; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.scr__bg { position: absolute; inset: 0; }
.scr__hud { position: absolute; z-index: 2; top: calc(var(--bar) + 14px); left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; color: var(--dim); pointer-events: none; }
.scr__hud span:nth-child(2) { color: var(--acid); }
.card { position: relative; z-index: 3; width: min(560px, 100%); background: var(--card-bg); border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 38px); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.card::before, .card::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--acid); }
.card::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.scr--l .card { justify-self: start; }
.scr--r .card { justify-self: end; margin-right: clamp(0px, 3vw, 48px); }
.card__idx { display: flex; align-items: baseline; gap: 4px; margin: 0 0 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.card__idx b { font-family: var(--f-disp); font-stretch: 125%; font-size: 28px; font-weight: 900; color: var(--acid); line-height: 1; }
.card__idx em { font-style: normal; margin-left: auto; padding: 3px 8px; border: 1px solid var(--line); color: var(--fg); font-family: var(--f-sans); font-size: 12px; letter-spacing: .1em; }
.card h2 { font-size: clamp(26px, 2.9vw, 44px); line-height: 1.18; letter-spacing: -.005em; margin: 0 0 18px; text-wrap: balance; }
.card p { font-size: 17px; line-height: 1.95; color: var(--fg-2); text-align: justify; }
.card p:last-child { margin-bottom: 0; }
.scr__cap { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: 18px; margin: 0; font-family: var(--f-mono); font-size: 10px; line-height: 1.6; color: var(--dim); }
.scr--l .scr__cap { text-align: right; }
.scr__cap a { color: var(--dim); }
.scr__cap a:hover { color: var(--acid); }
@media (max-width: 900px) {
  .scr__bg { bottom: auto; height: 58%; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .scr__bg canvas.fx, .scr__bg canvas.fx[data-fx="dither"] { opacity: .9; }
  .scr { align-items: end; padding-top: calc(var(--bar) + 44px); }
  .scr--r .card { margin-right: 0; }
  .card { width: 100%; }
  .scr__cap { text-align: left !important; position: relative; left: 0; bottom: 0; margin-top: 12px; z-index: 3; }
  .scr { grid-template-rows: 1fr auto; }
}
@media (max-width: 560px) { .card p { font-size: 16px; line-height: 1.9; text-align: left; } }

/* ---------- deeper ---------- */
.deeper { position: relative; padding: calc(var(--bar) + 64px) var(--gut) 96px; overflow: hidden; }
.deeper canvas.fx { opacity: .3; }
.deeper__in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; }
.deeper h2 { font-size: clamp(40px, 6vw, 96px); line-height: 1; letter-spacing: -.02em; margin: 0 0 22px; }
.deeper__lede { max-width: 820px; font-family: var(--f-serif); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.95; color: var(--fg-2); }
.cta { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; margin: 34px 0 18px; padding: 22px 26px; background: var(--acid); color: var(--acid-ink); text-decoration: none; border: 1px solid var(--acid); transition: background .15s; }
.cta:hover { background: var(--paper); }
.cta__k { grid-row: 1 / 3; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; border: 1px solid currentColor; padding: 8px 10px; }
.cta b { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.25; }
.cta__m { grid-column: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; }
.cta i { grid-row: 1 / 3; grid-column: 3; font-style: normal; font-size: 30px; }
.toc2 { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.toc2 a { display: flex; gap: 10px; height: 100%; padding: 10px 14px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); text-decoration: none; font-size: 14px; background: rgba(var(--void-rgb), .72); }
.toc2 b { font-family: var(--f-serif); color: var(--acid); font-weight: 900; min-width: 2em; }
.toc2 a:hover { color: var(--acid); background: rgba(var(--acid-rgb), .06); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 0 0 48px; }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }
.paths h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin: 0 0 6px; }
.paths h3 i { font-style: normal; font-family: var(--f-mono); color: var(--acid-ink); background: var(--acid); width: 28px; height: 28px; display: grid; place-items: center; font-size: 14px; }
.paths__note { font-size: 13px; color: var(--dim); }
.pl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pl > li { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.pl__n { display: flex; align-items: baseline; gap: 10px; text-decoration: none; font-weight: 700; margin-bottom: 6px; }
.pl__n b { font-family: var(--f-mono); font-size: 11px; font-weight: 600; background: var(--acid); color: var(--acid-ink); padding: 1px 6px; }
.pl__n i { font-style: normal; margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.pl__n:hover span { color: var(--acid); }
.pl p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--dim); }
.pl p a { text-decoration: none; margin-right: 10px; color: var(--fg-3); border-bottom: 1px dotted var(--faint); }
.pl p a:hover { color: var(--acid); border-color: var(--acid); }
.pl p em { font-style: normal; font-family: var(--f-mono); font-size: 11px; }
.pl__none { color: var(--dim); font-size: 13px; }
.seq { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.seq a { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--void); text-decoration: none; font-weight: 700; font-size: 14px; }
.seq a:last-child { justify-content: flex-end; }
.seq a:nth-child(2) { font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--dim); }
.seq b { font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--acid); }
.seq i { font-style: normal; color: var(--acid); }
.seq a:hover { background: var(--hover-bg); color: var(--acid); }
@media (max-width: 620px) { .seq { grid-template-columns: 1fr; } .seq a:last-child { justify-content: flex-start; } }

/* ---------- preview card ---------- */
.pv { position: fixed; z-index: 90; width: min(360px, calc(100vw - 24px)); background: var(--panel); border: 1px solid var(--acid); box-shadow: 0 18px 60px rgba(0, 0, 0, .7); color: var(--fg); pointer-events: none; font-family: var(--f-sans); animation: pvin .14s ease-out; }
@keyframes pvin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pv__img { height: 96px; background: #000 center / cover no-repeat; image-rendering: pixelated; border-bottom: 1px solid var(--line); }
.pv__b { padding: 12px 16px 14px; }
.pv__k { display: flex; gap: 8px; margin: 0 0 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; color: var(--dim); }
.pv__k b { background: var(--acid); color: var(--acid-ink); padding: 0 5px; font-weight: 600; }
.pv__t { margin: 0 0 8px; font-size: 17px; font-weight: 900; line-height: 1.3; }
.pv__t span { display: block; font-family: var(--f-serif); font-size: 13px; font-weight: 600; color: var(--fg-3); }
.pv__s { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--acid); }
.pv__x { margin: 0; font-size: 13px; line-height: 1.75; color: var(--fg-3); }
.pv__f { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line-soft); font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; color: var(--dim); }

/* ---------- footer ---------- */
.nfoot { border-top: 1px solid var(--line); background: var(--void); }
.nfoot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
.nfoot__cell { padding: 28px var(--gut); border-right: 1px solid var(--line-soft); }
.nfoot__cell:last-child { border-right: 0; }
.nfoot__q p.serif { font-size: 20px; font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.nfoot__by { font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.nfoot__h { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--acid); margin-bottom: 10px; }
.nfoot__cell > a { display: block; text-decoration: none; font-size: 13px; line-height: 2.1; color: var(--fg-3); }
.nfoot__cell > a b { font-family: var(--f-mono); font-size: 10px; color: var(--acid); display: inline-block; min-width: 2.4em; font-weight: 500; }
.nfoot__cell > a:hover { color: var(--acid); }
.nfoot__ai p { font-size: 12px; line-height: 1.85; color: var(--dim); }
@media (max-width: 1000px) { .nfoot__grid { grid-template-columns: 1fr 1fr; } .nfoot__cell { border-bottom: 1px solid var(--line-soft); } }
@media (max-width: 620px) { .nfoot__grid { grid-template-columns: 1fr; } .nfoot__cell { border-right: 0; } }

/* ---------- map page ---------- */
.map { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; border-bottom: 1px solid var(--line-soft); cursor: default; }
.map.is-hot { cursor: pointer; }
.map__intro { position: relative; z-index: 2; max-width: min(520px, 44vw); padding: calc(var(--bar) + 56px) var(--gut) 64px; pointer-events: none; }
.map__intro > * { pointer-events: auto; }
.map h1 { font-size: clamp(56px, 7vw, 118px); line-height: .96; letter-spacing: -.02em; margin: 0 0 18px; white-space: nowrap; text-shadow: 0 0 40px rgba(var(--void-rgb), .9); }
.map__sub { font-family: var(--f-serif); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.85; color: var(--fg-2); margin-bottom: 24px; }
.map__stat { display: grid; grid-template-columns: repeat(5, auto); justify-content: start; margin: 0 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.map__stat div { padding: 10px 16px 10px 0; margin-right: 16px; border-right: 1px solid var(--line-soft); }
.map__stat div:last-child { border-right: 0; }
.map__stat dt { font-family: var(--f-mono); font-size: 10px; color: var(--dim); letter-spacing: .06em; }
.map__stat dd { margin: 0; font-family: var(--f-disp); font-stretch: 120%; font-size: 26px; font-weight: 900; color: var(--acid); line-height: 1.2; }
.map__how { font-family: var(--f-mono); font-size: 11px; line-height: 1.8; color: var(--dim); margin-bottom: 24px; }
.map__tip { position: absolute; z-index: 5; width: 300px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--acid); pointer-events: none; box-shadow: 0 16px 50px rgba(0, 0, 0, .6); }
.map__tip .pv__t { font-size: 16px; }
@media (max-width: 900px) {
  .map { display: grid; align-content: end; }
  .map__intro { max-width: none; padding-top: calc(var(--bar) + 50vh); }
  .map canvas.fx { top: var(--bar); height: 50vh; bottom: auto; }
  .map__labels { display: none; }
  .map__stat { grid-template-columns: repeat(3, auto); }
}
.sec-h { max-width: 1180px; margin: 0 auto 32px; }
.sec-h h2 { font-size: clamp(36px, 5vw, 80px); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px; }
.sec-h p:not(.tag) { max-width: 760px; color: var(--fg-3); font-size: 16px; }
.nodes, .routes, .about { padding: 96px var(--gut); border-bottom: 1px solid var(--line-soft); }
.nodes__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
.nc { background: var(--void); padding: 0 0 22px; display: flex; flex-direction: column; }
.nc__img { display: block; height: 190px; overflow: hidden; border-bottom: 1px solid var(--line); background: #000; }
.nc__img img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .6s; }
.nc:hover .nc__img img { transform: scale(1.04); }
.nc > :not(.nc__img) { margin-left: 22px; margin-right: 22px; }
.nc__k { display: flex; gap: 8px; margin-top: 18px; margin-bottom: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--dim); }
.nc__k b { background: var(--acid); color: var(--acid-ink); padding: 0 6px; font-weight: 600; }
.nc h3 { font-size: 30px; line-height: 1.15; }
.nc h3 a { text-decoration: none; }
.nc h3 a:hover { color: var(--acid); }
.nc__s { font-family: var(--f-serif); font-weight: 600; color: var(--fg-3); margin: 4px 0 12px; }
.nc__l { font-size: 14px; color: var(--acid); margin-bottom: 8px; }
.nc__m { font-family: var(--f-mono); font-size: 10px; line-height: 1.8; color: var(--dim); margin-bottom: 18px; }
.nc__go { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.nc__go .btn { min-height: 40px; padding: 0 16px; }
.routes__grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (max-width: 900px) { .routes__grid { grid-template-columns: 1fr; } }
.route { background: var(--void); padding: 26px 24px; }
.route h3 { font-size: 24px; margin-bottom: 8px; }
.route > p { font-size: 14px; color: var(--fg-3); }
.route ol { list-style: none; margin: 16px 0 0; padding: 0; counter-reset: r; }
.route li { position: relative; padding-left: 34px; counter-increment: r; }
.route li::before { content: counter(r, decimal-leading-zero); position: absolute; left: 0; top: 11px; font-family: var(--f-mono); font-size: 10px; color: var(--dim); }
.route li + li::after { content: ""; position: absolute; left: 7px; top: -10px; width: 1px; height: 14px; background: var(--acid); }
.route li a { display: block; padding: 8px 0; text-decoration: none; font-size: 15px; font-weight: 700; border-bottom: 1px solid var(--line-soft); }
.route li a b { font-family: var(--f-mono); font-size: 10px; font-weight: 500; color: var(--acid); margin-right: 10px; }
.route li a:hover { color: var(--acid); }
.about__txt { max-width: 820px; margin: 0 auto; }
.about .sec-h { max-width: 820px; }
.about__txt p { font-family: var(--f-serif); font-size: 18px; line-height: 2; color: var(--fg-2); }
.about__txt a { color: var(--acid); }
.about__txt .about__ai { font-family: var(--f-sans); font-size: 13px; color: var(--dim); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.nl-lab.is-tour { color: var(--acid); }
.nl-lab.is-tour b { background: var(--acid); color: var(--acid-ink); padding: 1px 5px; }

/* map cards hint at each essay's own visual world */

/* =====================================================================
   v0.8 · the question network: opening questions, follow-up questions, threads back
   ===================================================================== */
.nbar__m { }
@media (max-width: 760px) { .nbar__m { display: none !important; } }
.hero__q { display: flex; gap: 12px; align-items: baseline; max-width: 32em; margin: -6px 0 26px; font-family: var(--f-serif); font-weight: 900; font-size: clamp(19px, 1.9vw, 26px); line-height: 1.5; color: var(--fg); text-wrap: pretty; }
.hero__q i, .more__q i, .nc__l i { font-style: normal; flex: 0 0 auto; display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; background: var(--acid); color: var(--acid-ink); font-family: var(--f-sans); font-weight: 900; font-size: .88em; line-height: 1; }
.hero__toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.hero__toc li { min-width: 0; }
.hero__toc a { display: flex; gap: 8px; width: 100%; padding: 6px 0; font-size: 12.5px; line-height: 1.5; border: 0; border-top: 1px solid var(--line-soft); background: transparent; }
.hero__toc a:hover { border-color: var(--acid); }
@media (max-width: 620px) { .hero__toc { grid-template-columns: 1fr; } }
.card .card__q { margin: 0 0 12px; font-family: var(--f-sans); font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--acid); text-align: left; }
.card .card__q::before { content: "Q"; display: inline-block; margin-right: 8px; padding: 1px 5px; font-family: var(--f-mono); font-size: 10px; font-weight: 600; line-height: 1.5; vertical-align: 2px; background: var(--acid); color: var(--acid-ink); }
.qs { margin: 22px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.card .qs__h { margin: 0 0 8px; font-family: var(--f-mono); font-size: 10px; line-height: 1.4; letter-spacing: .16em; color: var(--dim); text-align: left; }
.qs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.qa { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1px 10px; align-items: baseline; padding: 9px 12px; text-decoration: none; border: 1px solid var(--line); background: rgba(var(--acid-rgb), .05); transition: background .15s, border-color .15s, transform .15s; }
.qa::before { content: "→"; grid-row: 1 / 3; font-family: var(--f-mono); font-size: 13px; color: var(--acid); }
.qa--back::before { content: "←"; }
.qa__q { font-size: 15.5px; font-weight: 700; line-height: 1.55; color: var(--fg); }
.qa__to { font-family: var(--f-mono); font-size: 10.5px; line-height: 1.5; letter-spacing: .02em; color: var(--dim); }
.qa__to b { color: var(--acid); font-weight: 600; margin-right: 6px; }
.qa:hover, .qa:focus-visible { background: var(--acid); border-color: var(--acid); }
.qa:hover .qa__q, .qa:hover .qa__to, .qa:hover .qa__to b, .qa:hover::before, .qa:focus-visible .qa__q, .qa:focus-visible .qa__to, .qa:focus-visible .qa__to b, .qa:focus-visible::before { color: var(--acid-ink); }
.qa--s { padding: 7px 10px; }
.qa--s .qa__q { font-size: 13.5px; }
.qs__deep { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin: 12px 0 0; padding: 9px 0 0; text-decoration: none; font-size: 13.5px; line-height: 1.55; color: var(--fg-3); border-top: 1px dashed var(--line-soft); }
.qs__deep span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--dim); }
.qs__deep b { font-weight: 700; }
.qs__deep i { font-style: normal; color: var(--acid); }
.qs__deep:hover b { color: var(--acid); }
.card .card__in { display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--dim); text-align: left; }
.card__in span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; }
.card__in a { text-decoration: none; padding: 1px 6px; border: 1px solid var(--line-soft); color: var(--fg-3); }
.card__in a b { font-family: var(--f-mono); font-size: 9.5px; color: var(--acid); margin-right: 4px; font-weight: 600; }
.card__in a:hover { border-color: var(--acid); color: var(--acid); }
.more__q { display: flex; gap: 12px; align-items: baseline; max-width: 30em; margin: 0 0 18px; font-family: var(--f-serif); font-weight: 900; font-size: clamp(20px, 2vw, 28px); line-height: 1.5; }
.pl__q { display: grid; gap: 5px; }
.nc__l { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.nc__l i { font-size: 12px; }
.pv__t--q { font-size: 16px; }
.pv__x--q { font-family: var(--f-serif); font-weight: 700; color: var(--fg); }
.pv__x b { color: var(--fg); }
.stamp, .dm { display: none; }
.route ol a { line-height: 1.5; }
@media (max-width: 560px) { .qa__q { font-size: 15px; } .card .card__q { font-size: 14.5px; } }
/* v0.8 map: four routes in a 2×2 grid; eight starting points in 4 / 2 / 1 columns (no empty cells) */
.routes__grid { grid-template-columns: repeat(2, 1fr); }
.nodes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .nodes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .routes__grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .nodes__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   v0.8.1 排版修补（2026-10-03）
   ========================================================================== */
/* 顶栏：英文的栏目名长、像素体更宽，导航和语言切换曾被挤出屏幕。品牌字样先让位，导航不缩 */
.nbar__brand { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.nbar__brand span { overflow: hidden; text-overflow: ellipsis; }
.nbar__nav { flex: none; }
@media (max-width: 1100px) { html[lang="en"] .nbar__brand span { display: none; } }
@media (max-width: 400px) { html[lang="en"] .nbar__brand { display: none; } }
@media (max-width: 480px) { html[lang="en"][data-style="pixel"] .nbar__brand { display: none; } }
/* 首屏的篇幅信息：手机上三栏挤不下，“12 屏”“问入 41”会折成两半；改成三行 */
@media (max-width: 560px) {
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta div, .hero__meta div + div { display: flex; align-items: baseline; gap: 14px; padding: 7px 0; }
  .hero__meta div + div { border-top: 1px solid var(--line-soft); }
  .hero__meta dt { flex: 0 0 auto; min-width: 6.6em; white-space: nowrap; }
  html[data-style="pixel"] .hero__meta dt { min-width: 10.5em; }
  .hero__meta dd { margin: 0; }
}
/* 首屏目录的编号不折行（像素风的“1-01”曾被拆成两行） */
.hero__toc b { flex: none; white-space: nowrap; }
/* 没有空格的长串在窄屏上必要时断开，不撑出横向滚动 */
body { overflow-wrap: break-word; }
