/* ==========================================================================
   AI龚子 · 龚鹏程数字学术馆
   纸、墨、朱。图与字相咬，疏密相间；不作通栏等距的版面。
   ========================================================================== */

:root {
  --paper: #f4f0e6;
  --paper-2: #ebe5d6;
  --paper-3: #faf7ef;
  --ink: #141414;
  --ink-2: #38383a;
  --muted: #7b7468;
  --accent: #a63a2b;
  --accent-2: #c2634c;
  --gold: #94714a;
  --rule: rgba(20, 20, 20, .16);
  --rule-soft: rgba(20, 20, 20, .08);
  --card: rgba(255, 255, 255, .5);
  --shadow: 0 30px 80px -50px rgba(20, 20, 20, .6);

  /* 2026-11-15：简繁并置。语料多自台港报刊，标题每存繁体（如「書將書單」），
     前四位皆简体族，繁体字无字形可用，浏览器回退他体，一行之内字形遂杂。
     故简体族之后紧接繁体族，同一行文字方归一体。 */
  --serif: "Source Han Serif SC", "Noto Serif SC", "Source Han Serif TC", "Noto Serif TC",
           "Songti SC", "Songti TC", "STSong", "SimSun", "PMingLiU", "MingLiU", serif;
  --kai: "Kaiti SC", "STKaiti", "Kaiti TC", "KaiTi", "Source Han Serif SC", "Source Han Serif TC", serif;
  --sans: "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei", "Microsoft JhengHei",
          "Source Han Sans SC", "Source Han Sans TC", sans-serif;
  --latin: "Cormorant Garamond", "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --pad: clamp(18px, 4.6vw, 76px);
  --maxw: 1440px;
  --ease: cubic-bezier(.22, .72, .16, 1);
  --nav-h: 62px;

  --c-ru: #8a5a3b; --c-dao: #47625f; --c-shi: #96763c; --c-wen: #2b2d31;
  --c-xia: #a63a2b; --c-shi2: #55606e; --c-tong: #6a6154;
  --c-yi: #47604c; --c-zi: #67536d; --c-dai: #857e72;
}

[data-theme="dark"] {
  --paper: #0b0c0d;
  --paper-2: #121316;
  --paper-3: #17181b;
  --ink: #ece5d6;
  --ink-2: #c6bfb0;
  --muted: #8b8477;
  --accent: #c9553f;
  --accent-2: #dc7a62;
  --gold: #b18c58;
  --rule: rgba(236, 229, 214, .17);
  --rule-soft: rgba(236, 229, 214, .09);
  --card: rgba(255, 255, 255, .03);
  --shadow: 0 30px 90px -40px rgba(0, 0, 0, .9);
  --c-ru: #bb8c65; --c-dao: #7fa5a1; --c-shi: #cbaa68; --c-wen: #d9d2c3;
  --c-xia: #c9553f; --c-shi2: #8b97a8; --c-tong: #a89b88;
  --c-yi: #7e9c86; --c-zi: #a58dae; --c-dai: #9a9387;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
::selection { background: var(--accent); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
mark { background: transparent; color: var(--accent); font-weight: 600; }

/* 纸纹 */
#grain {
  position: fixed; inset: -10%; pointer-events: none; z-index: 9998; opacity: .3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='.55'/></svg>");
  mix-blend-mode: multiply;
}
[data-theme="dark"] #grain { mix-blend-mode: screen; opacity: .14; }

.boot { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.boot__mark { font-family: var(--serif); font-size: 52px; color: var(--accent); animation: breathe 2.6s var(--ease) infinite; }
.boot__txt { font-size: 12px; letter-spacing: .3em; }
@keyframes breathe { 0%, 100% { opacity: .35 } 50% { opacity: 1 } }

/* ---------- 基础 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
}
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.vtext { writing-mode: vertical-rl; text-orientation: upright; }

.sec { padding: clamp(46px, 5.6vw, 86px) 0; position: relative; }
.sec--flush { padding-top: 0; }
.sec--tint {
  background: linear-gradient(180deg, color-mix(in srgb, var(--paper-2) 72%, transparent), transparent 78%);
}

/* 侧栏小注：竖排在左缘，替代千篇一律的区块标题 */
.margin-note {
  position: absolute; left: max(6px, calc(var(--pad) * .22)); top: clamp(46px, 5.6vw, 86px);
  writing-mode: vertical-rl; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: .3em; color: var(--muted); text-transform: uppercase;
  display: none;
}
@media (min-width: 1200px) { .margin-note { display: block; } }

.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(22px, 2.6vw, 38px); }
.sec__title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.05; letter-spacing: .02em; margin: 0; display: flex; align-items: baseline; gap: 14px;
}
.sec__title i {
  font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .24em;
  color: var(--muted); text-transform: uppercase; transform: translateY(-6px);
}
.sec__note { max-width: 34ch; color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; }

.link-more {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2);
  padding-bottom: 3px; background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .45s var(--ease), color .3s;
}
.link-more:hover { color: var(--accent); background-size: 100% 1px; }

/* 入场 */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .07s } .rv.d2 { transition-delay: .14s }
.rv.d3 { transition-delay: .21s } .rv.d4 { transition-delay: .28s }

/* ---------- 页眉 ---------- */
header.top {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 900;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: saturate(150%) blur(20px); -webkit-backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid transparent; transition: border-color .4s, background .4s;
}
header.top.solid { border-bottom-color: var(--rule); }
.top__in {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__seal {
  width: 27px; height: 27px; background: var(--accent); color: #fbf7ee;
  display: grid; place-items: center; font-family: var(--serif); font-size: 15px; line-height: 1;
  border-radius: 1px; transform: rotate(-3deg); transition: transform .6s var(--ease);
}
.brand:hover .brand__seal { transform: rotate(5deg) scale(1.08); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.brand__sub { font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em; color: var(--muted); margin-top: 2px; }

nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main a {
  position: relative; padding: 6px 12px; font-size: 13px; letter-spacing: .1em; color: var(--ink-2);
  transition: color .3s;
}
nav.main a span.n { font-family: var(--mono); font-size: 8.5px; color: var(--muted); margin-right: 4px; }
nav.main a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
nav.main a:hover, nav.main a.on { color: var(--ink); }
nav.main a:hover::after, nav.main a.on::after { transform: scaleX(1); }

.top__tools { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.tool {
  height: 30px; min-width: 30px; padding: 0 8px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-2);
  transition: color .3s;
}
.tool:hover { color: var(--accent); }
.tool svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tool__k { font-size: 8.5px; color: var(--muted); border: 1px solid var(--rule); border-radius: 2px; padding: 0 3px; }
.menu-btn { display: none; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  position: relative; display: grid; align-items: stretch;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  min-height: clamp(520px, 76vh, 730px);
}
.hero__copy {
  position: relative; z-index: 3; align-self: stretch;
  padding: clamp(22px, 3.2vw, 44px) 0 clamp(28px, 3.2vw, 46px);
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: space-between; gap: clamp(14px, 2vw, 26px);
}
.hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(10px, 1.4vw, 16px); width: 100%; }
.hero__label { display: flex; align-items: center; gap: 10px; }
.hero__label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }

.hero__name {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(62px, 9.6vw, 150px); line-height: .94; letter-spacing: .01em;
  display: flex; gap: .02em; margin: 0 0 .04em -.05em;
}
.hero__name span {
  display: block; opacity: 0; transform: translateY(.26em);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.hero__name.in span { opacity: 1; transform: none; }

/* 亲笔落款作姓名：墨色即他的笔迹，不排字 */
.hero__name--ink { display: block; margin: 0 0 .06em -.06em; }
.hero__name--ink img {
  display: block; width: auto; height: clamp(104px, 15vw, 218px);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity 1.2s var(--ease), transform 1.4s var(--ease);
  filter: contrast(1.04);
}
.hero__name--ink.in img { opacity: 1; transform: none; }
[data-theme="dark"] .hero__name--ink img { filter: invert(1) contrast(1.06); }

.foot__sign { margin: 0 0 10px; }
.foot__sign img { height: 26px; width: auto; opacity: .72; }
[data-theme="dark"] .foot__sign img { filter: invert(1); opacity: .62; }
.hero__name.in span:nth-child(2) { transition-delay: .1s; }
.hero__name.in span:nth-child(3) { transition-delay: .2s; }

.hero__latin { font-family: var(--latin); font-size: clamp(11.5px, 1.1vw, 14px); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); }
.hero__role { font-family: var(--kai); font-size: clamp(16px, 1.6vw, 20px); letter-spacing: .16em; color: var(--ink-2); margin: 0; }
.hero__lede {
  font-family: var(--serif); font-size: clamp(14px, 1.02vw, 15.5px); line-height: 2;
  color: var(--ink-2); max-width: 29em; margin: 0; text-align: justify; text-justify: inter-ideograph;
}
.hero__motto {
  font-family: var(--kai); font-size: clamp(15px, 1.3vw, 18px); color: var(--accent);
  letter-spacing: .12em; margin: 0; position: relative; padding-left: 20px;
}
.hero__motto::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
}
.hero__acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: .2em; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 22px;
  border: 1px solid var(--ink); font-size: 12.5px; letter-spacing: .14em;
  transition: all .45s var(--ease); background: transparent;
}
.btn span { transition: transform .45s var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { border-color: var(--rule); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fbf7ee; }
.btn--accent:hover { background: transparent; color: var(--accent); }

/* 图：自右缘出血，左缘化入纸色 */
.hero__fig { position: relative; margin: 0 calc(var(--pad) * -1) 0 0; height: 100%; z-index: 1; }
.hero__fig img {
  position: absolute; top: calc(var(--nav-h) * -1); left: 0;
  width: 100%; height: calc(100% + var(--nav-h)); object-fit: cover; object-position: 50% 16%;
  -webkit-mask-image: linear-gradient(100deg, transparent 0, #000 26%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 0, #000 26%, #000 100%);
  filter: saturate(.92) contrast(1.03);
  transform: scale(1.06); transition: transform 2.6s var(--ease);
}
.hero__fig.in img { transform: scale(1); }
[data-theme="dark"] .hero__fig img { filter: saturate(.8) contrast(1.08) brightness(.84); }

.hero__seal {
  width: 60px; height: 60px; margin: 4px 0 0 auto;
  background: var(--accent); color: #fbf7ee; display: grid; place-items: center;
  font-family: var(--serif); font-size: 33px; line-height: 1; transform: rotate(-4deg);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .7); z-index: 4;
  transition: transform .8s var(--ease);
}
.hero__seal:hover { transform: rotate(4deg) scale(1.06); }

.hero__side {
  position: absolute; right: calc(var(--pad) * .32); top: 24%; z-index: 4;
  writing-mode: vertical-rl; font-family: var(--mono); font-size: 9px; letter-spacing: .32em;
  color: #fff; mix-blend-mode: difference; opacity: .75;
}

.hero__foot {
  position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start;
  gap: 7px; padding: 12px 0 14px; border-top: 1px solid var(--rule);
}
.hero__stats { display: flex; gap: clamp(18px, 3.2vw, 52px); flex-wrap: wrap; }
.stat { display: flex; align-items: baseline; gap: 7px; }
.stat b { font-family: var(--latin); font-weight: 400; font-size: clamp(24px, 2.5vw, 34px); line-height: 1; }
.stat span { font-size: 11px; color: var(--muted); letter-spacing: .12em; }
.hero__scope { margin: 0; font-size: 10.5px; color: var(--muted); letter-spacing: .03em; max-width: 40ch; line-height: 1.7; }
.hero__scope::before { content: "※"; color: var(--accent); margin-right: 6px; }

/* 走马 */
.ticker {
  overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  padding: 8px 0; margin-top: clamp(12px, 1.8vw, 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker__in { display: flex; width: max-content; animation: slide 96s linear infinite; }
.ticker:hover .ticker__in { animation-play-state: paused; }
.ticker span {
  font-family: var(--serif); font-size: 12.5px; letter-spacing: .14em; color: var(--muted);
  padding: 0 16px; white-space: nowrap;
}
.ticker span::after { content: "◆"; font-size: 6px; color: var(--accent); margin-left: 16px; vertical-align: 2px; }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- 序言 ---------- */
.statement { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr); gap: clamp(26px, 4.6vw, 80px); align-items: start; }
.statement__zh {
  font-family: var(--kai); font-size: clamp(23px, 3vw, 44px); line-height: 1.85;
  padding-left: clamp(18px, 2.4vw, 34px); border-left: 3px solid var(--accent);
  letter-spacing: .02em; margin: 0; color: var(--ink);
}
.statement__zh em { font-style: normal; color: var(--accent); }
.statement__en {
  font-family: var(--latin); font-size: clamp(13.5px, 1.06vw, 15.5px); line-height: 2;
  color: var(--muted); margin: 0; padding-left: 16px; border-left: 1px solid var(--rule);
}
.statement__sign { margin: 16px 0 0; font-family: var(--mono); font-size: 9.5px; letter-spacing: .2em; color: var(--muted); }

/* ---------- 五教 · 星图 ---------- */
.five { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(22px, 3.6vw, 64px); align-items: center; }
.orbit { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 480px; }
.orbit::before {
  content: ""; position: absolute; inset: -6% -6% -6% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 9%, transparent), transparent 72%);
}
.orbit__ph {
  position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1/1; transform: translate(-50%,-50%);
  border-radius: 50%; overflow: hidden; z-index: 0; opacity: .18; filter: grayscale(1) contrast(1.1);
}
.orbit__ph img { width: 100%; height: 100%; object-fit: cover; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); opacity: .45; animation: orbit 90s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.orbit__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center;
}
.orbit__core b {
  font-family: var(--kai); font-size: clamp(74px, 9.6vw, 128px); line-height: 1; color: var(--accent); font-weight: 500;
}
.orbit__core i { font-style: normal; font-family: var(--mono); font-size: 8px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.orbit__core u { text-decoration: none; font-family: var(--latin); font-size: 12.5px; color: var(--muted); }
.orbit__n {
  position: absolute; transform: translate(-50%, -50%); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  transition: transform .5s var(--ease);
}
.orbit__n:hover { transform: translate(-50%, -50%) scale(1.14); }
.orbit__n b { font-family: var(--serif); font-size: clamp(25px, 2.7vw, 38px); font-weight: 500; line-height: 1; transition: color .4s; }
.orbit__n:hover b { color: var(--accent); }
.orbit__n i { font-style: normal; font-family: var(--mono); font-size: 7px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.orbit__n u { text-decoration: none; font-family: var(--latin); font-size: 11.5px; color: var(--muted); }
.n1 { left: 21%; top: 17% } .n2 { left: 80%; top: 17% }
.n3 { left: 21%; top: 83% } .n4 { left: 80%; top: 83% }

.five__list { display: flex; flex-direction: column; }
.five__item {
  display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid var(--rule-soft); transition: padding-left .5s var(--ease);
}
.five__item:first-child { border-top: 1px solid var(--rule-soft); }
.five__item:hover { padding-left: 6px; }
.five__k { font-family: var(--serif); font-size: 18px; }
.five__t { font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }
.five__n { font-family: var(--latin); font-size: 14px; color: var(--muted); }

/* ---------- 文献四集 ---------- */
.sets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 32px); }
.set { display: grid; gap: 7px; padding-top: 12px; border-top: 1px solid var(--rule); position: relative; transition: transform .6s var(--ease); }
.set:nth-child(2) { transform: translateY(16px); }
.set:nth-child(3) { transform: translateY(4px); }
.set:nth-child(4) { transform: translateY(24px); }
.set:hover { transform: translateY(-4px); }
.set:nth-child(2):hover { transform: translateY(12px); }
.set:nth-child(3):hover { transform: translateY(0); }
.set:nth-child(4):hover { transform: translateY(20px); }
.set__n { font-family: var(--latin); font-size: clamp(34px, 4.2vw, 62px); line-height: .9; transition: color .4s; }
.set__bar { height: 2px; background: var(--rule-soft); position: relative; overflow: hidden; }
.set__bar::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); background: var(--accent);
  transform: scaleX(.1); transform-origin: left; transition: transform 1.1s var(--ease);
}
.sets.in .set__bar::after { transform: scaleX(1); }
.set:hover .set__n { color: var(--accent); }
.set__t { font-family: var(--serif); font-size: 16.5px; letter-spacing: .04em; }
.set__e { font-family: var(--mono); font-size: 8px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }
.set__d { font-size: 11.5px; line-height: 1.85; color: var(--muted); margin-top: 3px; }

/* ---------- 文章目录 ---------- */
.rows { border-top: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) 82px; gap: 18px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px solid var(--rule-soft); position: relative;
  transition: padding .5s var(--ease);
}
.row::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1px;
  background: var(--accent); transition: width .5s var(--ease);
}
.row:hover { padding-left: 16px; }
.row:hover::before { width: 10px; }
/* 2026-11-15：列表四件（日期／标题／摘要／分类）原各用一套字号，9.5 与 10.5 杂出，
   视觉上跳。今统一为：标题 clamp、摘要 12、日期与分类同 10，层级自明。 */
.row__d { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.row__t { font-family: var(--serif); font-size: clamp(15px, 1.22vw, 17.5px); line-height: 1.55; transition: color .3s; }
.row:hover .row__t { color: var(--accent); }
.row__e {
  font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.68;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.row__c { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; text-align: right; }

/* ---------- 心镜长廊 ---------- */
.strip { position: relative; margin-right: calc(var(--pad) * -1); }
.strip__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.strip__track::-webkit-scrollbar { display: none; }
.lens {
  flex: 0 0 clamp(230px, 25vw, 330px); scroll-snap-align: start;
  border-left: 1px solid var(--rule); padding: 4px 26px 20px 20px; position: relative;
  transition: background .5s var(--ease);
}
.lens:last-child { border-right: 1px solid var(--rule); }
.lens:hover { background: var(--paper-2); }
.lens__no {
  font-family: var(--latin); font-size: clamp(36px, 4vw, 56px); line-height: 1;
  color: color-mix(in srgb, var(--ink) 20%, transparent); transition: color .5s, transform .5s var(--ease);
}
.lens:hover .lens__no { color: var(--accent); transform: translateX(5px); }
.lens__t { font-family: var(--serif); font-size: clamp(16px, 1.45vw, 20px); margin: 9px 0 3px; letter-spacing: .02em; line-height: 1.45; }
.lens__e { font-family: var(--latin); font-size: 12px; color: var(--muted); line-height: 1.55; }
.lens__g { font-size: 12px; line-height: 1.9; color: var(--ink-2); margin: 10px 0 0; }
.lens__arrow { position: absolute; right: 18px; bottom: 18px; font-family: var(--mono); font-size: 10px; color: var(--muted); transition: transform .4s var(--ease), color .4s; }
.lens:hover .lens__arrow { transform: translateX(4px); color: var(--accent); }

/* ---------- 问学条 ---------- */
.ask-band { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
[data-theme="dark"] .ask-band { background: var(--paper-2); color: var(--ink); }
.ask-band::before {
  content: "問學"; position: absolute; right: clamp(10px, 3vw, 46px); top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; font-family: var(--serif); font-size: clamp(90px, 11vw, 168px);
  line-height: 1; letter-spacing: .08em; opacity: .07; pointer-events: none;
}
.ask-band__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(22px, 4vw, 56px); align-items: end; }
.ask-band h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 46px); line-height: 1.15; margin: 0 0 10px; font-weight: 500; }
.ask-band p { font-size: 13px; line-height: 1.95; margin: 0; max-width: 40ch; color: color-mix(in srgb, var(--paper) 62%, transparent); }
[data-theme="dark"] .ask-band p { color: var(--muted); }
.ask-band .eyebrow { color: color-mix(in srgb, var(--paper) 50%, transparent); }
[data-theme="dark"] .ask-band .eyebrow { color: var(--muted); }
.ask-band .btn { border-color: color-mix(in srgb, var(--paper) 45%, transparent); color: var(--paper); }
.ask-band .btn:hover { background: var(--paper); color: var(--ink); }
[data-theme="dark"] .ask-band .btn { border-color: var(--rule); color: var(--ink); }
[data-theme="dark"] .ask-band .btn:hover { background: var(--ink); color: var(--paper); }

/* ---------- 页脚 ---------- */
footer.foot { border-top: 1px solid var(--rule); padding: clamp(28px, 3.6vw, 52px) 0 22px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 28px; margin-bottom: 26px; }
.foot__brand { font-family: var(--serif); font-size: 21px; letter-spacing: .1em; margin: 0 0 7px; }
.foot__note { font-size: 11.5px; line-height: 1.85; color: var(--muted); max-width: 44ch; margin: 0; }
.foot__h { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin: 0 0 9px; }
.foot__list { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.foot__list a { color: var(--ink-2); transition: color .3s; }
.foot__list a:hover { color: var(--accent); }
.foot__end { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--rule-soft); }

/* ---------- 内页 ---------- */
.page { padding-top: var(--nav-h); }
.page__head { padding: clamp(32px, 4.2vw, 62px) 0 clamp(18px, 2.4vw, 30px); position: relative; }
.page__title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 5vw, 70px);
  line-height: 1.04; letter-spacing: .03em; margin: 8px 0 0;
}
.page__title small {
  display: block; font-family: var(--latin); font-weight: 400; font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 10px;
}
.page__lede {
  font-family: var(--serif); font-size: clamp(14.5px, 1.2vw, 16.5px); line-height: 1.95;
  color: var(--ink-2); max-width: 50ch; margin: 16px 0 0; text-align: justify;
}
.page__note { font-size: 12px; line-height: 1.9; color: var(--muted); max-width: 56ch; margin: 12px 0 0; padding-left: 12px; border-left: 2px solid var(--rule); }

.bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 11px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  position: sticky; top: var(--nav-h); background: color-mix(in srgb, var(--paper) 93%, transparent);
  backdrop-filter: blur(12px); z-index: 60;
}
.chip {
  height: 28px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px;
  font-size: 11.5px; letter-spacing: .06em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px;
  transition: all .3s var(--ease); white-space: nowrap;
}
.chip:hover { border-color: var(--ink-2); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip i { font-style: normal; font-family: var(--mono); font-size: 9.5px; opacity: .6; }
.bar__sp { flex: 1; }
.bar__count { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .1em; }

/* 文章阅读 */
.article { max-width: 700px; margin: 0 auto; }
.article__head { padding: clamp(26px, 3.4vw, 50px) 0 18px; border-bottom: 1px solid var(--rule); }
.article__meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 13px; }
.article__meta em { font-style: normal; color: var(--accent); }
.article__t { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3.1vw, 37px); line-height: 1.32; letter-spacing: .01em; margin: 0; }

.prose { padding: clamp(20px, 2.8vw, 34px) 0 0; font-family: var(--serif); }
.prose p { font-size: clamp(15.5px, 1.16vw, 17px); line-height: 2.02; margin: 0 0 .95em; color: var(--ink); text-align: justify; text-justify: inter-ideograph; }
.prose p.li { padding-left: 1.1em; position: relative; }
.prose p.li::before { content: "·"; position: absolute; left: .3em; color: var(--accent); }
.prose h3, .prose h4 { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: .05em; margin: 1.7em 0 .7em; }
.prose figure { margin: 1.5em 0; }
.prose figure img { width: 100%; max-height: 62vh; object-fit: cover; }
.prose strong { font-weight: 600; }
.prose--drop p:first-of-type::first-letter { font-size: 3em; float: left; line-height: .88; padding: .06em .1em 0 0; color: var(--accent); }
/* 正文内小标题：同字号、楷体、上下留白，不作大小跳 */
.prose p.h {
  font-family: var(--kai); font-size: inherit; line-height: 2; letter-spacing: .06em;
  margin: 1.6em 0 .5em; color: var(--ink);
}
.prose p { margin: 0 0 .85em; }
.article__note { margin-top: 26px; padding-top: 13px; border-top: 1px solid var(--rule); font-size: 11.5px; line-height: 1.9; color: var(--muted); }
.article__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; padding-top: 15px; border-top: 1px solid var(--rule); }
.article__nav a { max-width: 46%; font-family: var(--serif); font-size: 13.5px; }
.article__nav a:hover { color: var(--accent); }
.article__nav span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; }

/* 其人 */
.selfwords { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 2vw, 30px); border-top: 1px solid var(--rule); padding-top: 16px; }
.sw { display: flex; flex-direction: column; gap: 4px; }
.sw b { font-family: var(--kai); font-size: clamp(42px, 6vw, 80px); font-weight: 500; line-height: .95; }
.sw i { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .18em; color: var(--muted); }
.sw p { font-size: 11.5px; line-height: 1.85; color: var(--muted); margin: 3px 0 0; }
.sw--a b { color: var(--accent); }

.tl { display: flex; flex-direction: column; }
.tl__phase { display: flex; align-items: baseline; gap: 12px; padding: 24px 0 9px; border-bottom: 1px solid var(--ink); margin-bottom: 3px; }
.tl__phase b { font-family: var(--serif); font-size: 19px; letter-spacing: .1em; }
.tl__phase i { font-style: normal; font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .14em; }
.tl__row { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: clamp(14px, 2.4vw, 32px); padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.tl__y { position: sticky; top: calc(var(--nav-h) + 56px); align-self: start; }
.tl__y b { display: block; font-family: var(--latin); font-size: clamp(23px, 2.5vw, 32px); font-weight: 400; line-height: 1; }
.tl__y span { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .1em; }
.tl__c { border-left: 1px solid var(--rule); padding-left: clamp(14px, 2vw, 24px); position: relative; }
.tl__c::before { content: ""; position: absolute; left: -3px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.tl__ev { font-family: var(--serif); font-size: clamp(15px, 1.28vw, 17px); line-height: 1.7; margin: 0 0 4px; }
.tl__en { font-family: var(--latin); font-size: 12.5px; color: var(--muted); margin: 0 0 5px; }
.tl__n { font-size: 11.5px; line-height: 1.85; color: var(--muted); margin: 0; }

/* 其说 */
.models { display: flex; flex-direction: column; }
.model { display: grid; grid-template-columns: 68px minmax(0, 1fr) 190px; gap: clamp(14px, 2.4vw, 32px); padding: clamp(16px, 2.2vw, 26px) 0; border-bottom: 1px solid var(--rule-soft); align-items: start; }
.model__no { font-family: var(--latin); font-size: clamp(28px, 3.2vw, 42px); line-height: 1; color: color-mix(in srgb, var(--ink) 20%, transparent); }
.model__t { font-family: var(--serif); font-size: clamp(17px, 1.75vw, 22px); margin: 0 0 3px; letter-spacing: .02em; }
.model__e { font-family: var(--latin); font-size: 12.5px; color: var(--muted); }
.model__g { font-size: 12.5px; line-height: 1.9; color: var(--ink-2); margin: 9px 0 0; max-width: 50ch; }
.model__map { font-size: 11.5px; line-height: 1.85; color: var(--muted); border-left: 1px solid var(--rule); padding-left: 14px; }
.model__map b { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--accent); margin-bottom: 5px; text-transform: uppercase; }

.thesis-list { columns: 2; column-gap: clamp(22px, 3.2vw, 46px); }
.thesis-i { break-inside: avoid; padding: 12px 0; border-bottom: 1px dotted var(--rule); }
.thesis-i__no { font-family: var(--mono); font-size: 9.5px; color: var(--accent); letter-spacing: .1em; }
.thesis-i__t { font-family: var(--serif); font-size: 15.5px; line-height: 1.6; margin: 5px 0; }
.thesis-i__b { font-size: 11.5px; line-height: 1.85; color: var(--muted); margin: 0 0 6px; }
.thesis-i__s { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; color: var(--muted); }

.terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 clamp(18px, 2.4vw, 32px); border-top: 1px solid var(--rule); }
.term { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.term b { font-family: var(--serif); font-size: 15.5px; letter-spacing: .04em; display: block; margin-bottom: 4px; }
.term p { font-size: 11.5px; line-height: 1.85; color: var(--ink-2); margin: 0 0 5px; }
.term span { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: .08em; }

.block { margin-top: clamp(24px, 3.2vw, 42px); }
.block__h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.block__h h3 { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: .08em; margin: 0; }
.block__h span { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-left: auto; }

/* 问学页 */
.askbox { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); padding: clamp(14px, 2.2vw, 24px) 0; }
.askbox form { display: flex; gap: 12px; align-items: center; }
.askbox input {
  flex: 1; height: 44px; border: 0; border-bottom: 1px solid var(--rule); background: transparent;
  font-family: var(--serif); font-size: 16.5px; color: var(--ink); outline: none; letter-spacing: .03em;
}
.askbox input::placeholder { color: var(--muted); }
.askbox .btn { height: 44px; }
.askbox__hint { margin: 9px 0 0; font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .08em; }
.answer { margin-top: 20px; }
.answer__line { font-family: var(--serif); font-size: 15px; line-height: 1.9; padding: 12px 15px; border-left: 2px solid var(--accent); background: var(--paper-3); }
.hit { padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.hit__t { font-family: var(--serif); font-size: 15.5px; margin: 0 0 5px; }
.hit__t:hover { color: var(--accent); }
.hit__sn { font-size: 12px; line-height: 1.9; color: var(--ink-2); margin: 0; }
.hit__m { margin-top: 7px; font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .1em; display: flex; gap: 12px; }
.status { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 clamp(16px, 2.2vw, 28px); border-top: 1px solid var(--rule); margin-top: 20px; }
.status div { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
.status b { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.status span { font-size: 12px; color: var(--ink-2); }

.pager { display: flex; justify-content: center; margin-top: 28px; }

/* 检索浮层 */
.overlay {
  position: fixed; inset: 0; z-index: 9999; display: flex; justify-content: center;
  background: color-mix(in srgb, var(--paper) 70%, transparent);
  backdrop-filter: blur(22px) saturate(120%); -webkit-backdrop-filter: blur(22px) saturate(120%);
  padding: clamp(16px, 8vh, 96px) var(--pad) 40px; overflow-y: auto; animation: fade .3s var(--ease);
}
.overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.overlay__panel { width: 100%; max-width: 760px; }
.overlay__top { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 11px; }
.overlay__top input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-family: var(--serif); font-size: clamp(19px, 2.3vw, 27px); color: var(--ink); letter-spacing: .03em;
}
.overlay__top input::placeholder { color: var(--muted); opacity: .7; }
.overlay__close { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--muted); border: 1px solid var(--rule); border-radius: 3px; padding: 3px 6px; }
.overlay__body { padding-top: 12px; }
.overlay__hint { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.ores { margin-top: 8px; }
.ores a { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.ores a:hover { color: var(--accent); }
.ores i { font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--muted); }
.ores b { font-family: var(--serif); font-weight: 500; font-size: 14.5px; line-height: 1.5; display: block; }
.ores em { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.7; display: block; margin-top: 3px; }
.ores u { text-decoration: none; font-family: var(--mono); font-size: 9px; color: var(--muted); }

/* 404 */
.nf { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; }
.nf__mark { font-family: var(--kai); font-size: clamp(60px, 8.4vw, 112px); line-height: 1; color: var(--accent); }
.nf__t { font-family: var(--serif); font-size: 22px; letter-spacing: .12em; margin: 5px 0 0; }
.nf__d { color: var(--muted); font-size: 13px; margin: 0; }
.nf__acts { display: flex; gap: 10px; margin: 14px 0 0; }
.nf__x { font-family: var(--mono); font-size: 9.5px; color: var(--muted); letter-spacing: .1em; margin: 20px 0 0; opacity: .7; }

.empty { padding: 46px 0; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 15px; }

/* ---------- 响应 ---------- */
@media (max-width: 1080px) {
  .hero__grid { display: flex; flex-direction: column; min-height: 0; height: auto; }
  .hero__fig { order: -1; height: 54vh; margin: 0 calc(var(--pad) * -1); }
  .hero__fig img {
    -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 66%, transparent 100%);
  }
  .hero__copy { padding: 18px 0 20px; gap: 16px; }
  .hero__name { font-size: clamp(54px, 13vw, 104px); }
  .hero__seal { left: auto; right: 7%; bottom: 9%; }
  .hero__side { display: none; }
  .five { grid-template-columns: 1fr; }
  .sets { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .set:nth-child(2), .set:nth-child(3), .set:nth-child(4) { transform: none; }
  .set:nth-child(2):hover, .set:nth-child(3):hover, .set:nth-child(4):hover { transform: translateY(-4px); }
  .statement { grid-template-columns: 1fr; }
  .model { grid-template-columns: 50px minmax(0, 1fr); }
  .model__map { grid-column: 2; border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 9px; }
  .ask-band__in { grid-template-columns: 1fr; }
  .margin-note { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  nav.main { display: none; }
  nav.main.open {
    display: flex; position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column;
    background: var(--paper); padding: 8px var(--pad) 18px; border-bottom: 1px solid var(--rule); gap: 0;
  }
  nav.main.open a { padding: 11px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; }
  .menu-btn { display: inline-flex; }
  .top__tools { margin-left: auto; }
  .tool__k { display: none; }
  .hero__name { font-size: clamp(50px, 15vw, 86px); }
  .row { grid-template-columns: 60px 1fr; gap: 10px; }
  .row__c { grid-column: 2; text-align: left; }
  .row::before { display: none; }
  .selfwords { grid-template-columns: 1fr; gap: 12px; }
  .thesis-list { columns: 1; }
  .foot__grid { grid-template-columns: 1fr; }
  .tl__row { grid-template-columns: 1fr; gap: 5px; }
  .tl__y { position: static; display: flex; align-items: baseline; gap: 8px; }
  .article__nav { flex-direction: column; }
  .article__nav a { max-width: 100%; }
  .orbit { max-width: 370px; }
}

@media (max-width: 520px) {
  .sets { grid-template-columns: 1fr; }
  .hero__foot { gap: 10px; }
  .hero__stats { gap: 14px; }
  .bar { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .hero__name span { opacity: 1; transform: none; }
  .hero__fig img { transform: none; }
}

/* ==========================================================================
   其书 · 书影与单书页（2026-11-13 补）
   ========================================================================== */
[data-c="儒"] { --sc: var(--c-ru) } [data-c="道"] { --sc: var(--c-dao) }
[data-c="释"] { --sc: var(--c-shi) } [data-c="文"] { --sc: var(--c-wen) }
[data-c="侠"] { --sc: var(--c-xia) } [data-c="史"] { --sc: var(--c-shi2) }
[data-c="通论"] { --sc: var(--c-tong) } [data-c="艺与生活"] { --sc: var(--c-yi) }
[data-c="自述诗文"] { --sc: var(--c-zi) } [data-c="代序"] { --sc: var(--c-dai) }

.bookwall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: clamp(12px, 1.6vw, 22px); padding-top: clamp(18px, 2.4vw, 30px);
}
.shelf { display: flex; gap: clamp(10px, 1.4vw, 18px); overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.shelf::-webkit-scrollbar { display: none; }
.shelf .bk { flex: 0 0 clamp(138px, 12vw, 176px); }
.shelf .bk__m { display: none; }
.shelf .bk__cv { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.shelf .bk:hover .bk__cv { transform: translateY(-10px) rotate(-.6deg); }

.bk { display: flex; flex-direction: column; gap: 7px; }
.bk__cv {
  position: relative; aspect-ratio: 2 / 3; background: var(--paper-3);
  container-type: size;
  border: 1px solid var(--rule); padding: 13px 11px 10px; display: flex; flex-direction: column;
  overflow: hidden; transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
}
.bk__cv::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--sc, var(--accent));
  transition: width .45s var(--ease);
}
.bk__cv::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--rule-soft); pointer-events: none; }
.bk:hover .bk__cv { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--sc, var(--accent)); }
.bk:hover .bk__cv::before { width: 7px; }
.bk__cat {
  font-family: var(--serif); font-size: 10.5px; color: var(--sc, var(--accent)); letter-spacing: .08em;
  position: relative; z-index: 2; padding-bottom: 6px; border-bottom: 1px solid var(--rule-soft);
}
.bk__wm {
  position: absolute; left: 6px; bottom: 26px; z-index: 0;
  font-family: var(--kai); font-size: clamp(44px, 4.4vw, 62px); line-height: 1;
  color: var(--sc, var(--accent)); opacity: .09; pointer-events: none; user-select: none;
}
.bk__t {
  writing-mode: vertical-rl; text-orientation: upright; position: relative; z-index: 2;
  font-size: 12px;
  font-size: clamp(8.5px, calc((100cqh - 62px) / (var(--n, 6) * 1.3)), 15.5px);
  font-family: var(--serif); line-height: 1.22; letter-spacing: .04em; white-space: nowrap;
  margin: 8px auto 0 auto; color: var(--ink); text-align: right;
  flex: 0 0 auto; overflow: visible;
}
.bk__foot {
  position: absolute; left: 11px; right: 11px; bottom: 11px; z-index: 3;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 6px;
}
.bk__m { font-family: var(--mono); font-size: 8px; color: var(--muted); letter-spacing: .06em; }
.bk__seal {
  font-family: var(--serif); font-size: 8px; line-height: 1; color: #fbf7ee; background: var(--sc, var(--accent));
  width: 13px; height: 13px; display: grid; place-items: center; transform: rotate(-3deg);
}
.bk__cap { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: .04em; }

/* 单书页 */
.bookview {
  display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: clamp(28px, 4.4vw, 72px); align-items: start; padding-top: 24px;
}
.bookview__cover { position: sticky; top: calc(var(--nav-h) + 26px); }
.bookview__cover .bk__cv { aspect-ratio: 2 / 3; padding: 20px 16px 15px; }
.bookview__cover .bk__t {
  margin-right: 4px;
  font-size: clamp(13px, calc((100cqh - 92px) / (var(--n, 6) * 1.3)), 26px);
}
.bookview__cover .bk__wm { font-size: clamp(70px, 7vw, 104px); left: 12px; bottom: 58px; }
.bookview__cover .bk__cat { font-size: 12px; }
.bookview__cover .bk__m { font-size: 9.5px; }
.bookview__cover .bk__seal { width: 17px; height: 17px; font-size: 9.5px; }
.bookview__meta {
  display: flex; flex-direction: column; gap: 3px; margin-top: 11px;
  font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: .06em;
}
.bookview__t {
  font-family: var(--serif); font-weight: 600; font-size: clamp(27px, 3.4vw, 46px);
  line-height: 1.2; letter-spacing: .02em; margin: 8px 0 0;
}
.bookview__body { min-width: 0; }

.skel { display: flex; flex-direction: column; }
.skel__i { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px dotted var(--rule); }
.skel__n { font-family: var(--mono); font-size: 9.5px; color: var(--accent); padding-top: 3px; }
.skel__t { font-family: var(--serif); font-size: 14.5px; line-height: 1.65; }
.skel__n2 { font-size: 11.5px; line-height: 1.85; color: var(--muted); margin-top: 4px; }

.theses { counter-reset: t; }
.thesis {
  counter-increment: t; padding: 11px 0 11px 26px; border-bottom: 1px dotted var(--rule);
  position: relative; font-size: 12.5px; line-height: 1.9; color: var(--ink-2);
}
.thesis::before {
  content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 12px;
  font-family: var(--mono); font-size: 9px; color: var(--accent);
}

.quotes { display: flex; flex-direction: column; }
.quote {
  margin: 0; padding: 14px 0 14px 18px; border-left: 2px solid var(--rule);
  font-family: var(--serif); font-size: 14px; line-height: 1.95; color: var(--ink-2);
}
.quote + .quote { border-top: 1px dotted var(--rule-soft); }
.quote cite { font-style: normal; font-family: var(--mono); font-size: 9px; color: var(--accent); letter-spacing: .08em; margin-left: 7px; vertical-align: 2px; }

.toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.toc__i { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dotted var(--rule-soft); font-size: 11.5px; line-height: 1.65; color: var(--ink-2); }
.toc__p { font-family: var(--mono); font-size: 9px; color: var(--muted); }

.related { display: flex; flex-direction: column; }
.related a { padding: 9px 0; border-bottom: 1px dotted var(--rule); font-family: var(--serif); font-size: 13px; display: flex; justify-content: space-between; gap: 14px; }
.related a:hover { color: var(--accent); }
.related a span { font-family: var(--mono); font-size: 9px; color: var(--muted); }

@media (max-width: 900px) {
  .bookview { grid-template-columns: 1fr; }
  .bookview__cover { position: static; max-width: 220px; }
  .toc { grid-template-columns: 1fr; }
  .bookwall { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); }
}

/* ==========================================================================
   读全书
   ========================================================================== */
.bookview__acts { display: flex; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.bookview__sub { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; }

.readtop {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 22px 0 0; flex-wrap: wrap;
}
.readtop__m { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .08em; }

.read {
  display: grid; grid-template-columns: 226px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px); align-items: start; padding: 18px 0 70px;
}
.read__rail {
  position: sticky; top: calc(var(--nav-h) + 22px);
  max-height: calc(100vh - var(--nav-h) - 60px); overflow-y: auto;
  padding-right: 8px; scrollbar-width: thin;
}
.read__list { list-style: none; margin: 10px 0 0; padding: 0; }
.read__list a {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 0;
  border-bottom: 1px dotted var(--rule-soft); font-size: 12px; line-height: 1.6; color: var(--ink-2);
  transition: color .3s, padding-left .3s var(--ease);
}
.read__list a:hover { color: var(--accent); padding-left: 4px; }
.read__list a.on { color: var(--accent); }
.read__list a.on::before { content: "●"; font-size: 5px; margin-right: 5px; vertical-align: 2px; }
.read__list span { font-family: var(--mono); font-size: 9px; color: var(--muted); flex: 0 0 auto; }

.read__body { max-width: 704px; }
.read__t {
  font-family: var(--serif); font-weight: 600; font-size: clamp(23px, 2.8vw, 34px);
  line-height: 1.35; letter-spacing: .02em; margin: 10px 0 clamp(18px, 2.4vw, 28px);
}
.read__prose p {
  font-size: clamp(15.5px, 1.14vw, 16.8px); line-height: 2.05; text-indent: 2em;
  text-align: justify; text-justify: inter-ideograph; margin: 0 0 .55em; color: var(--ink);
}
.read__prose p:first-of-type::first-letter { font-size: 1em; color: inherit; float: none; padding: 0; }
.read__nav {
  display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.read__nav a { max-width: 46%; font-family: var(--serif); font-size: 13.5px; }
.read__nav a:hover { color: var(--accent); }
.read__nav span { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--muted); margin-bottom: 5px; text-transform: uppercase; }

@media (max-width: 900px) {
  .read { grid-template-columns: 1fr; }
  .read__rail { position: static; max-height: 220px; border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
  .read__nav { flex-direction: column; }
  .read__nav a { max-width: 100%; }
}

/* ==========================================================================
   问学 · 对话（2026-11-13 补）
   只新增 qa- 前缀的类，不改上列任何既有规则。
   ========================================================================== */
.qa-ctrl {
  display: flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); flex-wrap: wrap;
  margin-top: clamp(14px, 1.8vw, 20px);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--muted);
}
.qa-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; letter-spacing: .14em; }
.qa-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qa-switch i {
  width: 28px; height: 13px; border: 1px solid var(--rule); position: relative;
  display: inline-block; transition: border-color .4s var(--ease);
}
.qa-switch i::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 7px; height: 7px;
  background: var(--muted); transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.qa-switch input:checked + i { border-color: var(--accent); }
.qa-switch input:checked + i::after { transform: translateX(15px); background: var(--accent); }
.qa-switch input:focus-visible + i { outline: 1px solid var(--accent); outline-offset: 3px; }
.qa-voice {
  border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--ink-2);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; padding: 3px 2px; cursor: pointer;
}
.qa-voice:focus { outline: none; border-color: var(--accent); }
.qa-ctrl__n { color: var(--muted); opacity: .65; }

.qa-shell { max-width: 860px; margin: 0 auto; padding-bottom: clamp(40px, 6vw, 70px); }

.qa-mic {
  flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--rule);
  position: relative; display: inline-flex; align-items: center; justify-content: center; color: var(--muted);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.qa-mic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.qa-mic:hover { color: var(--accent); border-color: var(--accent); }
.qa-mic.on { color: var(--accent); border-color: var(--accent); }
.qa-mic.on::after {
  content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px;
  background: var(--accent); animation: qaPulse 1.4s var(--ease) infinite;
}
@keyframes qaPulse { 0%, 100% { opacity: .2 } 50% { opacity: 1 } }
.qa-tip {
  margin: 8px 0 0; font-family: var(--sans); font-size: 11.5px; line-height: 1.8;
  color: var(--muted); letter-spacing: .02em;
}
.qa-tip[hidden] { display: none; }

.qa-log { margin-top: clamp(6px, 1vw, 12px); }
.qa-round { padding: clamp(18px, 2.6vw, 28px) 0; border-bottom: 1px solid var(--rule-soft); }
.qa-round:first-child { border-top: 1px solid var(--rule-soft); }

.qa-q {
  font-family: var(--sans); font-size: 12.5px; line-height: 1.75; color: var(--muted);
  text-align: right; margin: 0 0 clamp(12px, 1.6vw, 18px); letter-spacing: .02em;
}
.qa-q::before {
  content: "问"; font-family: var(--mono); font-size: 8.5px; letter-spacing: .14em;
  color: var(--accent); opacity: .65; margin-right: 8px;
}

.qa-txt {
  font-family: var(--serif); font-size: 16px; line-height: 2.05; letter-spacing: .02em;
  color: var(--ink); white-space: pre-wrap; word-break: break-word; min-height: 1.6em;
}
.qa-txt--typing::after {
  content: ""; display: inline-block; width: 6px; height: 1em; margin-left: 4px;
  background: var(--accent); vertical-align: -.12em; animation: qaCaret 1s steps(2) infinite;
}
@keyframes qaCaret { 50% { opacity: 0 } }
.qa-txt.qa-plain { font-family: var(--sans); line-height: 1.75; letter-spacing: 0; white-space: normal; }
.qa-txt.qa-plain .answer { margin-top: 4px; }
.qa-flag {
  margin: 0 0 12px; font-family: var(--sans); font-size: 11.5px; line-height: 1.8;
  color: var(--muted); letter-spacing: .02em;
}
.qa-flag[hidden] { display: none; }

.qa-acts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: clamp(12px, 1.6vw, 16px); }
.qa-act {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--muted);
  padding: 2px 0; border-bottom: 1px solid transparent;
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.qa-act:hover { color: var(--accent); border-color: var(--accent); }
.qa-act[hidden] { display: none; }

.qa-note {
  font-family: var(--sans); font-size: 12px; line-height: 1.9; color: var(--ink-2);
  margin: 12px 0 0; padding-left: 10px; border-left: 2px solid var(--rule);
}
.qa-note--soft { font-size: 11.5px; color: var(--muted); border-left-color: var(--rule-soft); opacity: .9; }

.qa-src { margin-top: clamp(12px, 1.6vw, 16px); border-top: 1px solid var(--rule); }
.qa-src__h {
  font-family: var(--mono); font-size: 9px; letter-spacing: .16em; color: var(--muted);
  padding: 9px 0 3px; text-transform: uppercase;
}
.qa-src__none { font-family: var(--sans); font-size: 11.5px; color: var(--muted); margin: 4px 0 6px; }
.qa-src__i { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.qa-src__i b {
  display: block; font-family: var(--serif); font-weight: 600; font-size: 13.5px;
  letter-spacing: .02em; transition: color .35s var(--ease);
}
.qa-src__i p { font-size: 11.5px; line-height: 1.9; color: var(--muted); margin: 5px 0 0; }
.qa-src__i:hover b { color: var(--accent); }

/* hidden 属性要压过 display: flex／grid */
.qa-acts[hidden], .qa-note[hidden], .qa-src[hidden], .qa-log[hidden], .qa-shell .status[hidden] { display: none; }

@media (max-width: 860px) {
  .qa-shell { max-width: 100%; }
  .qa-q { font-size: 12px; }
  .qa-txt { font-size: 15.5px; line-height: 1.98; }
  .qa-ctrl__n { display: none; }
}

@media (max-width: 560px) {
  .askbox form { flex-wrap: wrap; row-gap: 10px; }
  .askbox input { flex: 1 1 100%; }
  .qa-mic { order: 2; width: 40px; height: 40px; }
  .askbox .btn { order: 3; height: 40px; margin-left: auto; }
  .qa-acts { gap: 8px; }
  .qa-act {
    font-size: 10px; letter-spacing: .1em; padding: 5px 10px; border: 1px solid var(--rule);
  }
  .qa-act:hover { border-color: var(--accent); }
  .qa-src__i p { font-size: 11px; line-height: 1.85; }
}

/* 其人 · 简介（定本文字） */
.bio { margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); max-width: 780px; }
.bio__h {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; color: var(--accent);
  text-transform: uppercase; margin: 0 0 10px;
}
.bio__t {
  font-family: var(--serif); font-size: clamp(14px, 1.06vw, 15.6px); line-height: 2.05;
  color: var(--ink-2); margin: 0; text-align: justify; text-justify: inter-ideograph;
}
.term__en {
  display: block; font-style: normal; font-family: var(--latin); font-size: 12.5px;
  color: var(--muted); letter-spacing: .02em; margin: -1px 0 5px;
}

/* 英文正文用拉丁字体，免得中文衬线体的撇号、引号过宽 */
html[lang="en"] .bio__t,
html[lang="en"] .page__lede,
html[lang="en"] .page__note,
html[lang="en"] .statement__en { font-family: var(--latin); }

/* ---------- 小传（首页第一屏之下） ---------- */
.sec--bio { padding-top: clamp(26px, 3vw, 40px); padding-bottom: clamp(30px, 3.4vw, 46px); }
.bio-feature {
  display: grid; grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 58px); align-items: start;
}
.bio-feature__aside { display: flex; flex-direction: column; gap: 5px; padding-top: 6px; }
.bio-feature__no {
  font-family: var(--latin); font-size: 30px; line-height: 1; color: var(--accent);
}
.bio-feature__label { font-family: var(--serif); font-size: 15px; letter-spacing: .34em; color: var(--ink); }
.bio-feature__en { font-family: var(--mono); font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.bio-feature__lead {
  font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 1.85vw, 24px);
  line-height: 1.8; letter-spacing: .03em; color: var(--ink); margin: 0 0 15px;
}
.bio-feature__cols {
  display: grid; grid-template-columns: repeat(var(--k, 2), minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 40px);
  font-family: var(--serif); font-size: clamp(13.4px, 1.02vw, 14.6px); line-height: 1.95;
  color: var(--ink-2); text-align: justify; text-justify: inter-ideograph;
}
.bio-feature__cols p { margin: 0; }
.bio-feature__cols > p + p { border-left: 1px solid var(--rule-soft); padding-left: clamp(22px, 3vw, 46px); }
.bio-feature__foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--rule-soft); flex-wrap: wrap;
}
.bio-feature__src { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: var(--muted); }
html[lang="en"] .bio-feature__cols { font-family: var(--latin); font-size: 14.4px; }
@media (max-width: 860px) {
  .bio-feature { grid-template-columns: 1fr; gap: 12px; }
  .bio-feature__aside { flex-direction: row; align-items: baseline; gap: 10px; }
  .bio-feature__cols { grid-template-columns: 1fr; }
  .bio-feature__cols > p + p { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-soft); padding-top: 10px; }
}
html[lang="en"] .bio-feature__lead { font-family: var(--latin); letter-spacing: .01em; }

/* ---------- 数图（数字人文） ---------- */
.dh-box { margin-top: 12px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; }
.dh-svg { display: block; width: 100%; height: auto; }
.dh-grid { stroke: var(--rule-soft); stroke-width: 1; }
.dh-ax { font-family: var(--mono); font-size: 9px; fill: var(--muted); letter-spacing: .06em; }
.dh-dot { cursor: pointer; transition: r .2s var(--ease), opacity .3s; }
.dh-dot:hover { r: 8; }
.dh-dot--book { fill: var(--ink-2); opacity: .5; }
.dh-dot--book:hover { opacity: 1; }

.dh-bar { display: flex; height: 30px; width: 100%; margin-top: 14px; overflow: hidden; }
.dh-bar span { height: 100%; transition: filter .3s; }
.dh-bar span:hover { filter: brightness(1.25); }
.dh-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.dh-legend__i { display: inline-flex; align-items: baseline; gap: 6px; font-size: 11.5px; color: var(--ink-2); }
.dh-legend__i i { width: 9px; height: 9px; display: inline-block; }
.dh-legend__i b { font-family: var(--latin); font-size: 13px; color: var(--ink); }
.dh-legend__i u { text-decoration: none; font-family: var(--mono); font-size: 9px; color: var(--muted); }

.dh-link { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; }
.dh-lens circle { fill: var(--accent); }
.dh-lens__t {
  font-family: var(--kai); font-size: 12.5px; fill: var(--ink); letter-spacing: .03em;
  paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round;
}
.dh-lens circle { filter: drop-shadow(0 2px 6px rgba(166,58,43,.35)); }
html[lang="en"] .dh-lens__t { font-family: var(--latin); font-size: 12px; }

.dh-tl { border-top: 1px solid var(--rule); margin-top: 14px; }
.dh-tl__i { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: clamp(12px, 2vw, 28px); padding: 10px 0; border-bottom: 1px solid var(--rule-soft); align-items: start; }
.dh-tl__y { font-family: var(--latin); font-size: 17px; color: var(--accent); letter-spacing: .02em; }
.dh-tl__t { font-family: var(--serif); font-size: 14.5px; line-height: 1.7; margin: 0; }
.dh-tl__n { font-size: 11.5px; line-height: 1.8; color: var(--muted); margin: 3px 0 0; }

.dh-bars { margin-top: 14px; }
.dh-bars__i { display: grid; grid-template-columns: 74px minmax(0, 1fr) 52px; gap: 12px; align-items: center; padding: 4px 0; }
.dh-bars__w { font-family: var(--serif); font-size: 13px; letter-spacing: .06em; }
.dh-bars__b { height: 8px; background: var(--rule-soft); position: relative; overflow: hidden; }
.dh-bars__b i { position: absolute; inset: 0 auto 0 0; background: var(--accent); opacity: .78; }
.dh-bars__n { font-family: var(--mono); font-size: 9.5px; color: var(--muted); text-align: right; }

.dh-years { display: flex; align-items: flex-end; gap: 6px; height: 168px; margin-top: 16px; border-bottom: 1px solid var(--rule); }
.dh-years__i { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.dh-years__b { width: 100%; max-width: 46px; background: var(--ink-2); opacity: .7; transition: opacity .3s, background .3s; }
.dh-years__i:hover .dh-years__b { opacity: 1; background: var(--accent); }
.dh-years__y { font-family: var(--mono); font-size: 8.5px; color: var(--muted); }

@media (max-width: 860px) {
  .dh-tl__i { grid-template-columns: 62px 1fr; }
  .dh-bars__i { grid-template-columns: 62px 1fr 44px; }
  .dh-years { height: 132px; }
}

/* ---------- 图记带：全宽错落 ---------- */
.sec--band { padding: clamp(30px, 4vw, 54px) 0 clamp(24px, 3vw, 40px); }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.band__label { font-family: var(--serif); font-size: 13px; letter-spacing: .34em; color: var(--ink-2); }
.band {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1.2vw, 16px);
  padding: 0 var(--pad); align-items: start;
}
.band__i { display: block; position: relative; }
.band__ph { display: block; overflow: hidden; background: var(--paper-2); }
.band__ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(.55) contrast(1.02); transform: scale(1.02);
  transition: filter .7s var(--ease), transform 1.2s var(--ease);
}
.band__i:hover .band__ph img { filter: grayscale(0) contrast(1.05); transform: scale(1.06); }
.band__cap {
  display: block; margin-top: 7px; font-size: 10.5px; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.band__i--1 { grid-column: span 4; }
.band__i--1 .band__ph { aspect-ratio: 4 / 3; }
.band__i--2 { grid-column: span 3; margin-top: clamp(14px, 2.4vw, 34px); }
.band__i--2 .band__ph { aspect-ratio: 3 / 4; }
.band__i--3 { grid-column: span 2; margin-top: clamp(30px, 5vw, 68px); }
.band__i--3 .band__ph { aspect-ratio: 1 / 1; }
.band__i--4 { grid-column: span 2; margin-top: clamp(6px, 1vw, 14px); }
.band__i--4 .band__ph { aspect-ratio: 3 / 4; }
.band__i--5 { grid-column: span 1; margin-top: clamp(22px, 3.6vw, 50px); }
.band__i--5 .band__ph { aspect-ratio: 2 / 3; }
.band__i--5 .band__cap { display: none; }

/* ---------- 其文：一主四从 ---------- */
.lead-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(22px, 3.4vw, 54px); align-items: start; }
.lead { display: block; }
.lead__ph { display: block; overflow: hidden; background: var(--paper-2); aspect-ratio: 16 / 10; }
.lead__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.92); }
.lead:hover .lead__ph img { transform: scale(1.04); filter: saturate(1); }
.lead__body { display: block; padding-top: 14px; }
.lead__meta { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.lead__t { display: block; font-family: var(--serif); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.5; margin: 8px 0 8px; letter-spacing: .01em; }
.lead:hover .lead__t { color: var(--accent); }
.lead__e { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.rows--tight .row { grid-template-columns: 66px minmax(0, 1fr) 74px; padding: 14px 0; }

@media (max-width: 1080px) {
  .lead-row { grid-template-columns: 1fr; }
  .band { grid-template-columns: repeat(6, 1fr); }
  .band__i--1 { grid-column: span 6; }
  .band__i--2 { grid-column: span 3; margin-top: 0; }
  .band__i--3 { grid-column: span 3; margin-top: 20px; }
  .band__i--4, .band__i--5 { display: none; }
}

/* ---------- 深色数栏：文献四集 ---------- */
.sec--ink { background: #17181b; color: #efe8d8; }
[data-theme="dark"] .sec--ink { background: #f2ece0; color: #141414; }
.sec--ink .sec__title { color: inherit; }
.sec--ink .sec__title i { color: color-mix(in srgb, currentColor 55%, transparent); }
.sec--ink .margin-note { color: color-mix(in srgb, currentColor 45%, transparent); }
.sec--ink .link-more { color: color-mix(in srgb, currentColor 80%, transparent); }
.sec--ink .set { border-top-color: color-mix(in srgb, currentColor 28%, transparent); }
.sec--ink .set__e, .sec--ink .set__d { color: color-mix(in srgb, currentColor 62%, transparent); }
.sec--ink .set__bar { background: color-mix(in srgb, currentColor 16%, transparent); }
.sec--ink .set__bar::after { background: #c9553f; }
.sec--ink .set:hover .set__n { color: #e06a52; }
.sec--ink .set__n { color: inherit; }

/* ---------- 色块与节奏（2026-11-14 二次审美改造） ---------- */
.sec--deep { background: #101113; color: #f0e9da; }
[data-theme="dark"] .sec--deep { background: #f2ecdf; color: #141414; }
.sec--deep .statement__zh { border-left-color: #c9553f; }
.sec--deep .statement__zh em { color: #e0705a; }
.sec--deep .statement__en { color: color-mix(in srgb, currentColor 62%, transparent); border-left-color: color-mix(in srgb, currentColor 22%, transparent); }
.sec--deep .statement__sign { color: color-mix(in srgb, currentColor 48%, transparent); }

.sec--sand { background: #e8dcc0; color: #1b1a17; }
[data-theme="dark"] .sec--sand { background: #16150f; color: #ece5d6; }
.sec--sand .margin-note { color: color-mix(in srgb, currentColor 45%, transparent); }
.sec--sand .sec__title { color: inherit; }
.sec--sand .sec__note { color: color-mix(in srgb, currentColor 62%, transparent); }
.sec--sand .five__item { border-bottom-color: color-mix(in srgb, currentColor 16%, transparent); }
.sec--sand .five__item:first-child { border-top-color: color-mix(in srgb, currentColor 16%, transparent); }
.sec--sand .five__t { color: inherit; }
.sec--sand .orbit::before { background: radial-gradient(closest-side, rgba(166,58,43,.16), transparent 70%); }

/* 问学：朱色带 */
.ask-band { background: var(--accent) !important; color: #fdf6ea; }
.ask-band h2 { color: #fdf6ea; }
.ask-band p, .ask-band .eyebrow { color: rgba(253,246,234,.82) !important; }
.ask-band::before { color: #fdf6ea; opacity: .1; }
.ask-band .btn { border-color: rgba(253,246,234,.6); color: #fdf6ea; }
.ask-band .btn:hover { background: #fdf6ea; color: var(--accent); }

/* 书架：立起来 */
.shelf { padding-bottom: 14px; border-bottom: 1px solid var(--rule); position: relative; }

/* 五教：出血、放大、收紧 */
.five { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.orbit { max-width: 560px; margin-left: clamp(-30px, -2vw, 0px); }
.orbit__n b { font-size: clamp(32px, 3.6vw, 56px); }
.orbit__core b { font-size: clamp(88px, 11vw, 148px); }
.orbit__n i, .orbit__n u { font-size: 8px; }
.n1 { left: 18%; top: 12% } .n2 { left: 82%; top: 12% }
.n3 { left: 18%; top: 88% } .n4 { left: 82%; top: 88% }
.five__item { padding: 15px 0; }
.five__k { font-size: 21px; }
@media (max-width: 1080px) {
  .orbit { margin-left: 0; max-width: 420px; }
  .n1, .n3 { left: 14% } .n2, .n4 { left: 86% }
}

/* 引文带 */
.sec--quote { padding: clamp(46px, 6vw, 92px) 0; }
.pull { margin: 0; position: relative; padding-left: clamp(30px, 5vw, 90px); }
.pull__mark {
  position: absolute; left: 0; top: -.18em; font-family: var(--latin); font-size: clamp(64px, 8vw, 120px);
  line-height: 1; color: var(--accent); opacity: .55;
}
.pull__t {
  font-family: var(--kai); font-size: clamp(26px, 3.6vw, 52px); line-height: 1.65; letter-spacing: .04em;
  margin: 0; max-width: 20em; color: var(--ink);
}
.pull__c {
  display: block; margin-top: 16px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .2em; color: var(--muted); font-style: normal;
}
html[lang="en"] .pull__t { font-family: var(--latin); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.5; }

/* ---------- 书影：做出「书」的厚度 ---------- */
.bk__cv {
  background-image: linear-gradient(90deg, var(--paper-3) 0 93%, color-mix(in srgb, var(--paper-2) 70%, var(--paper-3)) 93% 100%);
  box-shadow: 0 1px 0 rgba(0,0,0,.05), -1px 0 0 rgba(0,0,0,.04);
}
.bk__cv::after { inset: 5px 7px 5px 5px; }          /* 内框留出书口 */
.bk__cv::before { box-shadow: 2px 0 0 rgba(0,0,0,.06); }  /* 书脊与书口的分界影 */
[data-theme="dark"] .bk__cv { background-image: linear-gradient(90deg, #17181b 0 86%, #1e1f23 86% 100%); }
.bk:hover .bk__cv { transform: translateY(-8px) rotate(-.8deg); }

/* 首页书架：并排叠压，像立在架上 */
.shelf .bk { flex: 0 0 auto; width: clamp(132px, 11vw, 164px); transition: transform .5s var(--ease); }
.shelf .bk + .bk { margin-left: clamp(-26px, -1.6vw, -12px); }
.shelf .bk:hover { transform: translateY(-12px); z-index: 3; }
.shelf .bk__cap { display: none; }
.shelf { padding: clamp(18px, 2vw, 26px) 0 10px; border-bottom: 1px solid var(--rule); }
.shelf::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,.05), transparent);
}

/* ---------- 数图：分厅色块 ---------- */
.dh-hall { padding: clamp(38px, 4.4vw, 68px) 0; }
.dh-hall__h { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: clamp(12px, 2vw, 26px); align-items: start; margin-bottom: 14px; }
.dh-hall__no { font-family: var(--latin); font-size: clamp(30px, 3.4vw, 48px); line-height: .9; color: var(--accent); }
.dh-hall__t { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; margin: 0; letter-spacing: .02em; }
.dh-hall__n { font-size: 12.5px; line-height: 1.85; color: var(--muted); margin: 7px 0 0; max-width: 52ch; }
.dh-hall__s { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--muted); white-space: nowrap; padding-top: 6px; }

.sec--ink .dh-hall__no { color: #e0705a; }
.sec--ink .dh-hall__t { color: inherit; }
.sec--ink .dh-hall__n, .sec--ink .dh-hall__s { color: color-mix(in srgb, currentColor 60%, transparent); }
.sec--ink .dh-box { border-color: color-mix(in srgb, currentColor 18%, transparent); }
.sec--ink .dh-grid { stroke: color-mix(in srgb, currentColor 14%, transparent); }
.sec--ink .dh-ax { fill: color-mix(in srgb, currentColor 62%, transparent); }
.sec--ink .dh-link { stroke: color-mix(in srgb, currentColor 26%, transparent); }
.sec--ink .dh-dot--book { fill: currentColor; opacity: .55; }
.sec--ink .dh-lens__t { fill: currentColor; stroke: #101113; }
.sec--ink .dh-bars__b { background: color-mix(in srgb, currentColor 8%, transparent); }
.sec--ink .dh-bars__b i { background: #e0705a; }
.sec--ink .dh-bars__n, .sec--ink .dh-bars__w { color: inherit; }
.sec--ink .dh-years { border-bottom-color: color-mix(in srgb, currentColor 28%, transparent); }
.sec--ink .dh-years__b { background: color-mix(in srgb, currentColor 55%, transparent); }
.sec--ink .dh-tl, .sec--ink .dh-tl__i { border-color: color-mix(in srgb, currentColor 16%, transparent); }

@media (max-width: 860px) {
  .dh-hall__h { grid-template-columns: 44px 1fr; }
  .dh-hall__s { display: none; }
}

/* 二厅：构成条加厚，沙色带才立得住 */
.sec--sand .dh-bar { height: 54px; margin-top: 22px; }
.sec--sand .dh-legend { gap: 12px 30px; margin-top: 20px; }
.sec--sand .dh-legend__i { font-size: 13px; }
.sec--sand .dh-legend__i b { font-size: 16px; }
.sec--sand .dh-legend__i u { font-size: 10px; }
/* 四厅：编年两栏，缩短长卷 */
.dh-tl { columns: 2; column-gap: clamp(24px, 4vw, 64px); }
.dh-tl__i { break-inside: avoid; }
@media (max-width: 860px) { .dh-tl { columns: 1; } }

/* 其人页：沙带（三字与评述）＋墨带（年表） */
.sec--sand .sw b { color: var(--ink); }
.sec--sand .sw--a b { color: var(--accent); }
.sec--sand .sw p, .sec--sand .sw i { color: color-mix(in srgb, currentColor 58%, transparent); }
.sec--ink .tl__phase { border-bottom-color: color-mix(in srgb, currentColor 70%, transparent); }
.sec--ink .tl__phase i { color: color-mix(in srgb, currentColor 55%, transparent); }
.sec--ink .tl__row { border-bottom-color: color-mix(in srgb, currentColor 14%, transparent); }
.sec--ink .tl__c { border-left-color: color-mix(in srgb, currentColor 20%, transparent); }
.sec--ink .tl__c::before { background: #e0705a; }
.sec--ink .tl__y b { color: #e0705a; }
.sec--ink .tl__y span, .sec--ink .tl__n { color: color-mix(in srgb, currentColor 58%, transparent); }
.sec--ink .tl__ev { color: inherit; }
.sec--ink .tl__en { color: color-mix(in srgb, currentColor 55%, transparent); }
.sec--ink .block__h { border-bottom-color: color-mix(in srgb, currentColor 25%, transparent); }
.sec--ink .block__h span { color: color-mix(in srgb, currentColor 55%, transparent); }
html[lang="en"] .hero__role { font-size: clamp(12.5px, 1.15vw, 15px); letter-spacing: .1em; }

/* 出血压边：右侧不留白，但不得撑破视口 */
.wrap--bleed { padding-right: 0; }
.wrap--bleed .strip, .wrap--bleed .shelf { margin-right: 0; }
.strip { margin-right: 0; }

/* ---------- 全库计量 ---------- */
.dh-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 40px); margin: 18px 0 6px; }
.dh-scale__i { border-top: 2px solid var(--accent); padding-top: 12px; }
.dh-scale__i b { display: block; font-family: var(--latin); font-size: clamp(30px, 4vw, 54px); line-height: 1; color: var(--ink); }
.dh-scale__i span { display: block; font-family: var(--serif); font-size: 13px; letter-spacing: .12em; margin-top: 8px; }
.dh-scale__i i { display: block; font-style: normal; font-size: 10.5px; line-height: 1.7; color: var(--muted); margin-top: 4px; }
.dh-rule { font-size: 10.5px; line-height: 1.85; color: var(--muted); margin: 14px 0 0; }

.dh-twocol { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 4vw, 58px); margin-top: 14px; align-items: start; }
.dh-sub { font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.dh-cloud { display: flex; flex-wrap: wrap; gap: 2px 12px; align-items: baseline; line-height: 1.15; font-family: var(--kai); }
.dh-cloud span { transition: color .3s; }
.dh-cloud span:hover { color: var(--accent); }

.dh-conc { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(16px, 2.4vw, 34px); margin-top: 16px; }
.dh-conc__k {
  font-family: var(--kai); font-size: 30px; line-height: 1; color: var(--accent);
  display: block; margin-bottom: 8px;
}
.dh-conc__r { display: grid; grid-template-columns: 52px 1fr 46px; gap: 10px; align-items: center; padding: 3px 0; }
.dh-conc__r span { font-size: 12.5px; letter-spacing: .04em; }
.dh-conc__r i { display: block; height: 6px; background: currentColor; opacity: .55; }
.dh-conc__r b { font-family: var(--mono); font-size: 9px; font-weight: 400; text-align: right; color: var(--muted); }

.sec--ink .dh-cloud { color: inherit; }
.sec--ink .dh-scale__i b { color: inherit; }
.sec--ink .dh-scale__i { border-top-color: #e0705a; }
.sec--ink .dh-scale__i i, .sec--ink .dh-sub, .sec--ink .dh-rule { color: color-mix(in srgb, currentColor 55%, transparent); }
.sec--ink .dh-bars__w { color: inherit; }
.sec--sand .dh-conc__r i { background: currentColor; }
.sec--sand .dh-conc__r b { color: color-mix(in srgb, currentColor 55%, transparent); }

@media (max-width: 860px) {
  .dh-scale { grid-template-columns: repeat(2, 1fr); }
  .dh-twocol { grid-template-columns: 1fr; }
}

/* 二厅：字格（取代字云） */
.dh-chars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.dh-char {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 5 / 6; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-right: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.dh-char b { font-family: var(--kai); font-weight: 400; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; }
.dh-char i { font-family: var(--mono); font-style: normal; font-size: 8.5px; letter-spacing: .06em; margin-top: 6px; opacity: .6; }
.dh-char--hi b { color: #e0705a; }
.sec--ink .dh-char--hi b { color: #e0705a; }

/* 三厅：四栏方格，组等高，不留半行 */
.dh-conc { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 38px) clamp(16px, 2.4vw, 34px); margin-top: 18px; align-items: start; }
.dh-conc__g { border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); padding-top: 10px; }
.dh-conc__k { font-size: 24px; margin-bottom: 8px; }
.dh-conc__r { grid-template-columns: 42px 1fr 34px; gap: 6px; }
.dh-conc__r i { height: 5px; opacity: .5; }
.dh-void { border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent); padding-top: 10px;
  font-size: 10.5px; line-height: 1.9; color: color-mix(in srgb, currentColor 50%, transparent); }
@media (max-width: 1240px) { .dh-conc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .dh-conc { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px) { .dh-conc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dh-conc { grid-template-columns: 1fr; } }

/* 出版编年 */
.dh-pub { display: flex; align-items: flex-end; gap: 3px; height: 230px; margin-top: 22px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.dh-pub__c { flex: 1; height: 100%; padding-bottom: 30px; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.dh-pub__bar { width: 72%; display: flex; flex-direction: column; justify-content: flex-end; min-height: 2px; }
.dh-pub__bar i { display: block; width: 100%; }
.dh-pub__n { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 8px; opacity: .7; }
.dh-pub__y { position: absolute; bottom: 2px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 8px; opacity: .5; letter-spacing: .02em; }
.dh-pub__c:hover .dh-pub__bar { outline: 1px solid currentColor; outline-offset: 1px; }
.dh-legend__i--note { font-size: 10px; opacity: .7; max-width: 42ch; line-height: 1.7; }

/* 概念谱：条带式，七行，读来如谱 */
.dh-bands { margin-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 26%, transparent); }
.dh-band { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 18px; align-items: baseline;
  padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.dh-band__k { font-family: var(--kai); font-size: 30px; line-height: 1; color: var(--accent); }
.dh-band__i { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.dh-item { font-family: var(--serif); font-size: 15px; letter-spacing: .04em; display: inline-flex; align-items: baseline; gap: 6px; }
.dh-item b { font-family: var(--mono); font-size: 9px; font-weight: 400; opacity: .55; }
.dh-item--hi { color: var(--accent); }
.dh-item--hi b { opacity: .8; }
.sec--ink .dh-band__k, .sec--ink .dh-item--hi { color: #e0705a; }
@media (max-width: 720px) {
  .dh-band { grid-template-columns: 42px 1fr; gap: 12px; }
  .dh-band__k { font-size: 24px; }
}

/* 二厅：条形去掉底槽，只留实长 */
.sec--ink .dh-bars__b { background: none; }
.sec--ink .dh-bars__b i { background: #d9604a; }
.dh-bars__i { padding: 5px 0; }

/* 人物网络 */
.dh-soc { max-height: 700px; }
.soc-links line { stroke: var(--ink-2); opacity: .16; }
.soc-spokes line { stroke: var(--accent); opacity: .22; }
.soc-n circle { opacity: .88; transition: opacity .3s; }
.soc-n:hover circle { opacity: 1; }
.soc-n text {
  font-family: var(--kai); font-size: 12px; fill: var(--ink); letter-spacing: .03em;
  paint-order: stroke; stroke: var(--paper); stroke-width: 3.5px;
}
html[lang="en"] .soc-n text { font-family: var(--latin); font-size: 11px; }
.soc-center circle { fill: var(--accent); }
.soc-center text { font-family: var(--kai); font-size: 13px; fill: #fdf6ea; letter-spacing: .1em; }
.sec--ink .soc-n text { stroke: #101113; }
.soc-legend { margin-top: 6px; }
.soc-legend .dh-legend__i i { width: 8px; height: 8px; border-radius: 50%; }

/* 引证之书 */
.dh-cites { margin-top: 18px; border-top: 1px solid color-mix(in srgb, currentColor 26%, transparent); }
.dh-cite { display: grid; grid-template-columns: 34px 190px minmax(0, 1fr) 56px; gap: 14px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent); }
.dh-cite__r { font-family: var(--mono); font-size: 9px; opacity: .45; }
.dh-cite__t { font-family: var(--serif); font-size: 15px; letter-spacing: .03em; }
.dh-cite__b { height: 3px; }
.dh-cite__b i { display: block; height: 100%; background: var(--accent); opacity: .55; }
.dh-cite__n { font-family: var(--mono); font-size: 9.5px; text-align: right; opacity: .65; }
.sec--sand .dh-cite__b i { background: var(--accent); }

/* 流变 */
.dh-rec { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: 18px; }
.dh-rec__years { display: flex; align-items: flex-end; gap: 6px; height: 200px;
  border-bottom: 1px solid var(--rule); }
.dh-rec__c { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.dh-rec__bar { width: 60%; background: var(--accent); opacity: .8; min-height: 2px; }
.dh-rec__c b { font-family: var(--mono); font-size: 8.5px; margin-top: 3px; opacity: .6; }
.dh-rec__c i { font-family: var(--mono); font-style: normal; font-size: 8px; opacity: .45; }
.dh-rec__s { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
  border-bottom: 1px solid var(--rule); font-size: 12px; }
.dh-rec__s b { font-family: var(--mono); font-size: 9px; font-weight: 400; opacity: .6; }
@media (max-width: 860px) { .dh-rec { grid-template-columns: 1fr; } }

/* 书目既除，数图散点不再可点 */
.dh-dot[data-book] { cursor: default; }
.dh-dot[data-book]:hover { opacity: 1; }

/* ---------- 影像 · 动的照片墙 ---------- */
.wall { overflow: hidden; padding: clamp(10px, 2vw, 22px) 0; background: var(--paper-2);
  border-block: 1px solid var(--rule);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.wall__row { display: flex; gap: 14px; width: max-content; padding: 8px 0;
  animation: wallSlide 96s linear infinite; will-change: transform; }
.wall__row--rev { animation-direction: reverse; animation-duration: 108s; }
.wall__row:hover { animation-play-state: paused; }
@keyframes wallSlide { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

.wall__i { margin: 0; flex: 0 0 auto; background: var(--paper); padding: 7px;
  border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(0,0,0,.06);
  cursor: zoom-in; transition: transform .5s cubic-bezier(.2,.7,.3,1), box-shadow .5s; }
.wall__i:hover { transform: translateY(-4px); box-shadow: 0 12px 28px -12px rgba(0,0,0,.35); }
.wall__i img { display: block; height: clamp(150px, 20vw, 230px); width: auto; object-fit: cover; }
.wall__i--person img { height: clamp(170px, 23vw, 250px); }
.wall__i--book img { height: clamp(150px, 19vw, 220px); }
.wall__i--book { background: #fbf7ee; }

.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10,9,8,.965);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; cursor: zoom-out; }
.lb img { max-width: 86vw; max-height: 78vh; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); background: #fff; padding: 10px; }
.lb__x, .lb__pv, .lb__nx { position: absolute; color: #f4ece0; font-family: var(--latin);
  cursor: pointer; user-select: none; opacity: .7; transition: opacity .2s; }
.lb__x { top: 18px; right: 26px; font-size: 30px; }
.lb__pv, .lb__nx { top: 50%; transform: translateY(-50%); font-size: 40px; padding: 20px; }
.lb__pv { left: 12px; } .lb__nx { right: 12px; }
.lb__x:hover, .lb__pv:hover, .lb__nx:hover { opacity: 1; }
.lb__cap { color: #e9dfd0; font-size: 12.5px; letter-spacing: .08em; max-width: 70vw; text-align: center; min-height: 18px; }
@media (max-width: 700px) { .wall__row { gap: 10px; } .wall__i img { height: 140px; } }

/* 首页影像带：比影像页更矮，两行 */
.wall--home { margin-top: clamp(14px, 2vw, 26px); }
.wall--home .wall__i img { height: clamp(120px, 15vw, 180px); }
.wall--home .wall__i { padding: 6px; }
.wall--home .wall__row { animation-duration: 120s; }
.wall--home .wall__row--rev { animation-duration: 132s; }

/* 影像页：静态分栏全集（如《苇声依旧》），首页另有徐行带 */
.gal--wall { columns: 5; column-gap: 16px; margin-top: 4px; }
.gal--wall .gal__i { break-inside: avoid; margin: 0 0 16px; padding: 6px; background: var(--paper);
  border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(0,0,0,.05); cursor: zoom-in;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s; }
.gal--wall .gal__i:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.38); }
.gal--wall .gal__i img { display: block; width: 100%; height: auto; transition: transform .6s, filter .4s;
  filter: saturate(.97); }
.gal--wall .gal__i:hover img { transform: scale(1.03); filter: saturate(1.02); }
@media (max-width: 1100px) { .gal--wall { columns: 4; } }
@media (max-width: 820px) { .gal--wall { columns: 3; column-gap: 12px; } }
@media (max-width: 560px) { .gal--wall { columns: 2; column-gap: 10px; } }

/* 问学：身份声明 */
.qa-disc { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; margin: 0 0 10px;
  padding-left: 10px; border-left: 2px solid var(--rule); line-height: 1.8; }

/* ==========================================================================
   首页问学区（2026-11-17）：项目主角，紧接小传之后。可现场提问，非单纯入口。
   ========================================================================== */
.ask-home {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 5%, var(--paper-3)),
    var(--paper-3) 62%, var(--paper));
  border-top: 2px solid var(--accent);
  overflow: hidden;
}
[data-theme="dark"] .ask-home {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 9%, var(--paper-2)),
    var(--paper-2));
}
.ask-home::before {
  content: "問學"; position: absolute; right: clamp(8px, 3vw, 48px); top: clamp(20px, 3vw, 44px);
  writing-mode: vertical-rl; font-family: var(--serif); font-size: clamp(80px, 12vw, 168px);
  line-height: 1; letter-spacing: .08em; color: var(--accent); opacity: .06; pointer-events: none;
}
.ask-home .margin-note { color: var(--accent); opacity: .8; }

.ask-home__head {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: clamp(16px, 2vw, 26px);
}
.ask-home__eyebrow { color: var(--accent); margin-bottom: 12px; }
.ask-home__title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02; letter-spacing: .04em; margin: 0; color: var(--ink);
  display: flex; align-items: baseline; gap: 16px;
}
.ask-home__title i {
  font-style: normal; font-family: var(--mono); font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .24em; color: var(--muted); text-transform: uppercase; transform: translateY(-8px);
}
.ask-home__lede {
  font-size: clamp(13px, 1.2vw, 15px); line-height: 1.95; color: var(--ink-2);
  margin: 14px 0 0; max-width: 56ch;
}
.ask-home__more {
  flex: 0 0 auto; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  color: var(--accent); white-space: nowrap; padding-bottom: 4px;
  border-bottom: 1px solid var(--accent); transition: opacity .35s var(--ease);
}
.ask-home__more:hover { opacity: .65; }

.ask-home .qa-disc { position: relative; max-width: 62ch; border-left-color: var(--accent); margin-bottom: clamp(14px, 1.8vw, 22px); }
.ask-home__shell { max-width: 900px; margin: 0; padding-bottom: 0; }
.ask-home__shell .askbox { border-top-color: var(--accent); }
.ask-home__ctrl { margin-top: clamp(12px, 1.4vw, 18px); }
.ask-home__shell .status { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(18px, 2vw, 26px); }

@media (max-width: 720px) {
  .ask-home__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .ask-home__title { flex-direction: column; gap: 6px; }
  .ask-home__title i { transform: none; }
  .ask-home__shell .status { grid-template-columns: 1fr; }
}
