/*
 * 内页样式（Journal，以后 Podcast 也用）。来自 原型与预览/窗边有光_内页结构稿_Journal_v10.html 的内页部分，原样照搬，只去掉：
 *   原型角标、v5 试过的黑色页脚（v7 起页脚和首页一样）、订阅弹窗（已在 home.css）。迷你播放器的样式留着，Podcast 用。
 * 首页的变量、导航、页脚样式来自 home.css，这个文件排在它后面加载。
 */
/* Inner pages.
   Layout: reading on a cream sheet at the left; one dark column at the right that holds the page's navigation and
   context (columns on the list, episode / authors / share on an article); the footer a lighter dark band below both. */
:root{
  --rule:rgba(46,38,32,.42); --hair:1px;
  --faint:color-mix(in srgb, var(--ink-soft) 62%, transparent);
  --label:#7A5B47;
  --panel:#2B231D; --panel-ink:#F3ECDF; --panel-soft:#B9AA95; --panel-rule:rgba(243,236,223,.16); --panel-hi:#E6B08E;
  --foot:#4A3F35; --foot-ink:#F3ECDF; --foot-soft:#CDBFAB; --foot-rule:rgba(243,236,223,.2);
  --sheet:#FBF8F2; --shadow:rgba(46,38,32,.18);
  --nav-h:88px;
  --read-zh:'Source Han Serif CN','Noto Serif SC','Noto Serif CJK SC',serif;
}
@media (min-resolution:2dppx){ :root{ --rule:rgba(46,38,32,.62); --hair:.5px; } }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --rule:rgba(243,236,223,.3); --label:#D2B08F;
  --panel:#110D0A; --panel-ink:#F3ECDF; --panel-soft:#A89A86; --panel-rule:rgba(243,236,223,.12); --panel-hi:#E6B08E;
  --foot:#2C251F; --foot-ink:#F3ECDF; --foot-soft:#BFB19C; --foot-rule:rgba(243,236,223,.16);
  --sheet:#2A231C; --shadow:rgba(0,0,0,.5); color-scheme:dark; } }
:root[data-theme="dark"]{ --rule:rgba(243,236,223,.3); --label:#D2B08F;
  --panel:#110D0A; --panel-ink:#F3ECDF; --panel-soft:#A89A86; --panel-rule:rgba(243,236,223,.12); --panel-hi:#E6B08E;
  --foot:#2C251F; --foot-ink:#F3ECDF; --foot-soft:#BFB19C; --foot-rule:rgba(243,236,223,.16);
  --sheet:#2A231C; --shadow:rgba(0,0,0,.5); color-scheme:dark; }

body{ background:var(--cream); }
html{ scroll-behavior:auto; }
#app section{ padding:0; max-width:none; margin:0; }
[hidden]{ display:none !important; }
nav.solid .nav-links a.on{ text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }
.read-bar{ position:absolute; left:0; bottom:-1px; height:2px; width:100%; background:var(--wood); transform-origin:0 50%; transform:scaleX(var(--p, 0)); opacity:0; transition:opacity .3s ease; }
body.reading .read-bar{ opacity:1; }

#app{ display:block; padding-top:var(--nav-h); container-type:inline-size; outline:none; --edge:max(2.5rem, calc((100cqw - 1120px) / 2)); }
@media (max-width:720px){ #app{ --edge:1.4rem; --nav-h:80px; } }

/* ---------- the two columns ---------- */
.page{ display:grid; grid-template-columns:minmax(280px, 30%) minmax(0, 1fr); min-height:calc(100svh - var(--nav-h)); }
.main{ min-width:0; padding:0 var(--edge) 0 clamp(3rem, 6vw, 6.5rem); }
.panel{ min-width:0; background:var(--panel); color:var(--panel-ink); }
.panel-in{ position:sticky; top:var(--nav-h); padding:4.6rem clamp(2rem, 3.4vw, 3.4rem) 4rem max(var(--edge), 2.5rem); }
.panel h4{ font-family:var(--sans); font-weight:500; font-size:.7rem; letter-spacing:.34em; color:var(--panel-soft); }
.panel a:focus-visible, .panel button:focus-visible{ outline:2px solid var(--panel-hi); outline-offset:4px; }

/* ---------- Journal list ---------- */
.lead{ padding-block:4.6rem 3.4rem; }
.lead h1{ font-family:'Metal','Fraunces',serif; font-weight:400; font-size:clamp(3rem,5.4vw,4.8rem); line-height:1; letter-spacing:.01em; }
.lead p{ margin-top:1.15rem; font-family:var(--sans); font-weight:300; font-size:.92rem; line-height:1.9; letter-spacing:.2em; color:var(--ink-soft); }

/* the columns, one per line, in the dark panel */
.cols{ display:flex; flex-direction:column; margin-top:1.6rem; }
.col{ display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:1rem; align-items:baseline; padding-block:1.05rem; border-top:1px solid var(--panel-rule); color:var(--panel-soft); transition:color .2s ease; }
.col:last-child{ border-bottom:1px solid var(--panel-rule); }
.col em{ font-family:'Metal','Fraunces',serif; font-style:normal; font-size:1.12rem; letter-spacing:.01em; }
.col b{ display:block; margin-top:.2rem; font-family:var(--read-zh); font-weight:500; font-size:.95rem; letter-spacing:.12em; }
.col .n{ font-family:var(--sans); font-size:.72rem; font-variant-numeric:tabular-nums; }
.col .s{ grid-column:1 / -1; max-height:0; overflow:hidden; opacity:0; font-family:var(--sans); font-weight:300; font-size:.78rem; letter-spacing:.14em; line-height:1.8; transition:max-height .4s ease, opacity .4s ease, margin .4s ease; }
.col:hover{ color:var(--panel-ink); }
.col.on{ color:var(--panel-ink); }
.col.on .s{ max-height:3em; opacity:1; margin-top:.55rem; color:var(--panel-soft); }
.col.on em::before{ content:""; display:inline-block; width:6px; height:6px; margin-right:.65rem; border-radius:50%; background:var(--panel-hi); vertical-align:.2em; }
.col.all b{ margin-top:0; font-size:1rem; }

/* the list */
.feat{ padding-block:0 3rem; border-bottom:var(--hair) solid var(--rule); }
.feat .k{ font-family:var(--serif-en); font-style:italic; font-size:.88rem; color:var(--wood); }
.feat a{ display:block; margin-top:.9rem; }
.feat h2{ font-family:var(--read-zh); font-weight:600; font-size:clamp(1.65rem, 2.5vw, 2.15rem); line-height:1.45; letter-spacing:.03em; text-wrap:pretty; transition:color .2s ease; }
.feat p{ margin-top:1rem; max-width:34em; font-family:var(--sans); font-weight:300; font-size:.95rem; line-height:1.95; color:var(--ink-soft); }
.feat a:hover h2{ color:var(--hover); }
.list{ padding-bottom:2rem; }
.row{ display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:3rem; row-gap:.55rem; padding-block:2.2rem; border-bottom:var(--hair) solid var(--rule); color:inherit; }
.row:last-child{ border-bottom:0; }
.row .lb{ grid-column:1; font-family:var(--read-zh); font-size:.78rem; letter-spacing:.16em; color:var(--label); }
.row h3{ grid-column:1; font-family:var(--read-zh); font-weight:600; font-size:1.42rem; line-height:1.5; letter-spacing:.03em; transition:color .2s ease; }
.row p{ grid-column:1; max-width:36em; font-family:var(--sans); font-weight:300; font-size:.88rem; line-height:1.85; color:var(--ink-soft);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.row .rm{ grid-column:2; grid-row:1 / span 3; text-align:right; white-space:nowrap; font-family:var(--sans); color:var(--faint); }
.row .rm .d{ display:block; font-size:.86rem; letter-spacing:.06em; font-variant-numeric:tabular-nums; }
.row .rm .a{ display:block; margin-top:.35rem; font-size:.76rem; letter-spacing:.14em; }
.row:hover h3{ color:var(--hover); }
.row:focus-visible, .feat a:focus-visible{ outline:2px solid var(--accent); outline-offset:6px; }
.more{ display:flex; padding-block:1rem 5rem; }
.btn-line{ font-family:var(--serif-zh); font-size:.95rem; letter-spacing:.1em; color:var(--ink); border:0; background:none; border-bottom:1px solid currentColor; padding:0 0 3px; cursor:pointer; }
.btn-line:hover{ color:var(--hover); }

.empty{ padding-block:1rem 6rem; }
.empty h2{ font-family:var(--read-zh); font-weight:600; font-size:1.5rem; line-height:1.6; letter-spacing:.04em; }
.empty p{ margin-top:.9rem; max-width:30em; font-family:var(--sans); font-weight:300; font-size:.92rem; line-height:1.95; color:var(--ink-soft); }
.empty .btn-line{ margin-top:2rem; }

/* ---------- Article: one centred column, generous margins; contents float at the right ---------- */
.ar{ --measure:36rem; padding:0 var(--edge); }
.ar-head{ max-width:46rem; margin:0 auto; padding-block:6rem 4rem; text-align:center; }
.ar-k{ display:flex; justify-content:center; flex-wrap:wrap; gap:.4rem 1.4rem; font-family:var(--sans); font-size:.76rem; letter-spacing:.24em; color:var(--ink-soft); font-variant-numeric:tabular-nums; }
.ar-k a{ color:var(--label); }
.ar-k a:hover{ color:var(--hover); }
.ar-head h1{ margin-top:2.2rem; font-family:var(--read-zh); font-weight:500; font-size:clamp(2rem, 4vw, 3.15rem); line-height:1.62; letter-spacing:.04em; text-wrap:balance; }
.ar-head h1 span{ text-decoration:underline; text-decoration-color:color-mix(in srgb, var(--wood) 70%, transparent); text-decoration-thickness:1px; text-underline-offset:.32em; }
.ar-by{ margin-top:2.2rem; font-family:var(--sans); font-size:.8rem; letter-spacing:.24em; color:var(--ink-soft); }
.tools{ display:flex; justify-content:center; gap:.7rem; margin-top:1.1rem; }
.circ{ position:relative; width:42px; height:42px; border-radius:50%; display:grid; place-items:center; padding:0; cursor:pointer;
  border:1px solid var(--ink); background:none; color:var(--ink); transition:background .2s, color .2s; }
.circ svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.circ.ep-play svg{ fill:currentColor; stroke:none; width:15px; }
.circ:hover, .circ.on{ background:var(--ink); color:var(--cream); }
.circ:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.circ.face{ border:0; overflow:hidden; }
.circ.face img{ width:100%; height:100%; object-fit:cover; }
.circ .tip{ position:absolute; left:50%; top:calc(100% + 10px); translate:-50% 4px; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .2s, translate .2s;
  font-family:var(--sans); font-size:.72rem; letter-spacing:.08em; color:var(--ink-soft); }
.circ:hover .tip, .circ:focus-visible .tip, .circ.show .tip{ opacity:1; translate:-50% 0; }

.body{ max-width:var(--measure); margin:0 auto; padding-bottom:5rem; }
.body > * + *{ margin-top:1.5em; }
.body p{ font-family:var(--read-zh); font-weight:400; font-size:1.08rem; line-height:2.1; letter-spacing:.04em; text-align:justify; color:var(--ink); }
.body p.first .dc{ float:left; margin:.2rem .7rem 0 0; font-family:var(--read-zh); font-weight:900; font-size:4.6em; line-height:1; color:var(--ink); }
.body h2{ margin-top:3.6rem; scroll-margin-top:120px; font-family:var(--read-zh); font-weight:600; font-size:1.28rem; line-height:1.65; letter-spacing:.06em; }
.body h2 .no{ display:flex; align-items:center; gap:1.4rem; margin-bottom:1rem; font-family:var(--sans); font-weight:500; font-size:.92rem; letter-spacing:.06em; color:var(--ink); }
.body h2 .no::before{ content:""; width:2.2rem; height:1px; background:var(--wood); }
.body blockquote{ margin-block:2.6rem; padding:0 0 0 2.2rem; position:relative; font-family:var(--read-zh); font-size:1.28rem; line-height:1.9; letter-spacing:.05em; color:var(--label); }
.body blockquote::before{ content:"「"; position:absolute; left:0; top:-.1em; font-size:1.5em; color:var(--wood); }
.body strong{ font-weight:600; box-shadow:inset 0 -.42em 0 color-mix(in srgb, var(--wood) 26%, transparent); }
.body figure{ margin-block:2.6rem; }
.body .ph{ aspect-ratio:16 / 10; max-width:100%; display:grid; place-items:center; border:var(--hair) dashed var(--rule); color:var(--faint);
  font-family:var(--sans); font-size:.78rem; letter-spacing:.2em; background:color-mix(in srgb, var(--beige) 45%, transparent); }
.body figcaption{ margin-top:.7rem; font-family:var(--sans); font-size:.78rem; letter-spacing:.08em; color:var(--faint); text-align:center; }

.pn{ max-width:var(--measure); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:2rem; padding-block:2.4rem 6rem; border-top:var(--hair) solid var(--rule); }
.pn a{ display:block; min-width:0; }
.pn a + a, .pn span + a{ text-align:right; }
.pn small{ display:block; font-family:var(--sans); font-size:.72rem; letter-spacing:.26em; color:var(--faint); }
.pn b{ display:block; margin-top:.7rem; font-family:var(--read-zh); font-weight:600; font-size:1.05rem; line-height:1.6; letter-spacing:.04em; transition:color .2s ease; }
.pn a:hover b{ color:var(--hover); }
@media (max-width:560px){ .pn{ grid-template-columns:1fr; } .pn a + a, .pn span + a{ text-align:left; } .pn span{ display:none; } }

/* the contents at the right: quiet until the reader is in the text */
.toc{ position:fixed; z-index:20; right:clamp(1.5rem, 4vw, 4rem); top:50%; translate:12px -50%; width:min(15rem, calc((100vw - 36rem) / 2 - 5rem));
  opacity:0; pointer-events:none; transition:opacity .4s ease, translate .4s ease; }
.toc.show{ opacity:1; translate:0 -50%; pointer-events:auto; }
.toc ol, .toc-m ol{ list-style:none; }
.toc a{ display:grid; grid-template-columns:2rem 1fr; padding-block:.55rem; font-family:var(--read-zh); font-size:.84rem; line-height:1.6; letter-spacing:.05em; color:var(--faint); transition:color .2s; }
.toc a span, .toc-m a span{ font-family:var(--sans); font-size:.72rem; letter-spacing:.04em; padding-top:.15em; }
.toc a:hover{ color:var(--ink); }
.toc a.on{ color:var(--ink); }
.toc a.on span{ color:var(--wood); }
.toc a:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.toc-m{ display:none; max-width:var(--measure); margin:0 auto 2.6rem; border-block:var(--hair) solid var(--rule); }
.toc-m summary{ padding-block:1rem; cursor:pointer; font-family:var(--sans); font-size:.8rem; letter-spacing:.24em; color:var(--ink-soft); list-style:none; }
.toc-m summary::-webkit-details-marker{ display:none; }
.toc-m summary::after{ content:"＋"; float:right; }
.toc-m[open] summary::after{ content:"－"; }
.toc-m ol{ padding-bottom:1rem; }
.toc-m a{ display:grid; grid-template-columns:2rem 1fr; padding-block:.5rem; font-family:var(--read-zh); font-size:.92rem; letter-spacing:.05em; }
@media (max-width:1180px){ .toc{ display:none; } .toc-m{ display:block; } }
@media (max-width:720px){ .ar-head{ padding-block:3.6rem 2.8rem; } .ar-head h1{ font-size:1.8rem; } .body p.first .dc{ font-size:3.9em; } }

/* placeholder pages */
.stub{ padding-block:5rem 7rem; }
.stub h1{ font-family:'Metal','Fraunces',serif; font-weight:400; font-size:clamp(2.6rem,5vw,4.2rem); line-height:1; }
.stub p{ margin-top:1.4rem; max-width:32em; font-family:var(--sans); font-weight:300; font-size:.95rem; line-height:1.95; color:var(--ink-soft); }
.stub .btn-line{ display:inline-block; margin-top:2rem; }

/* ---------- narrow screens: the panel becomes a strip above the list ---------- */
@media (max-width:900px){
  .page{ grid-template-columns:minmax(0,1fr); }
  .main{ padding:0 var(--edge); }
  .panel{ order:-1; }
  .panel-in{ position:static; padding:1.6rem var(--edge) 1.8rem; }
  .list-page .panel{ order:0; position:sticky; top:var(--nav-h); z-index:5; }
  .list-page .panel-in{ padding:0; }
  .list-page .panel h4{ display:none; }
  .list-page .cols{ flex-direction:row; gap:1.8rem; margin:0; padding:0 var(--edge); overflow-x:auto; scrollbar-width:none; }
  .list-page .cols::-webkit-scrollbar{ display:none; }
  .list-page .col{ flex:none; display:flex; gap:.45rem; border:0; padding-block:1rem; white-space:nowrap; }
  .list-page .col b{ margin:0; font-size:.85rem; }
  .list-page .col em{ font-size:.98rem; }
  .list-page .col .n, .list-page .col .s{ display:none; }
  .list-page .col.on em::before{ display:none; }
  .list-page .col.on{ box-shadow:inset 0 -2px 0 var(--panel-hi); }
  .list-page .lead{ order:-2; }
  .list-page .slogan-m{ display:block; }
  .lead{ padding-block:3rem 1.6rem; }
  .row{ column-gap:1.25rem; padding-block:1.8rem; }
  .row h3{ font-size:1.2rem; }
  .feat{ padding-top:2.2rem; }
}
.slogan-m{ display:none; margin:-.4rem 0 1.4rem; font-family:var(--sans); font-weight:300; font-size:.82rem; letter-spacing:.16em; color:var(--ink-soft); }
@media (max-width:560px){ .pn{ grid-template-columns:1fr; } .pn a, .pn a + a{ padding:1.8rem 0; text-align:left; } .pn a + a{ border-top:var(--hair) solid var(--rule); } }

/* ---------- mini player ---------- */
.mini{ position:fixed; z-index:40; left:50%; bottom:calc(16px + env(safe-area-inset-bottom,0px)); width:min(640px, calc(100% - 32px)); translate:-50% 0;
  display:grid; grid-template-columns:auto minmax(0,1fr) minmax(60px, 160px) auto auto; align-items:center; gap:1rem;
  padding:.6rem .75rem .6rem .6rem; border-radius:99px; background:var(--sheet); box-shadow:0 10px 34px var(--shadow), 0 0 0 var(--hair) var(--rule);
  animation:rise .5s cubic-bezier(.2,.8,.2,1); }
.mini-play{ width:40px; height:40px; border-radius:50%; border:0; background:var(--ink); color:var(--cream); display:grid; place-items:center; cursor:pointer; }
.mini-play svg{ width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.mini-play .i-play{ fill:currentColor; stroke:none; display:none; }
.mini.paused .i-play{ display:block; } .mini.paused .i-pause{ display:none; }
.mini-meta{ min-width:0; }
.mini-ep{ display:block; font-family:var(--sans); font-size:.68rem; letter-spacing:.16em; color:var(--faint); }
.mini-title{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-family:var(--read-zh); font-weight:600; font-size:.9rem; letter-spacing:.06em; }
.mini-track{ height:2px; background:var(--rule); border-radius:2px; overflow:hidden; }
.mini-track i{ display:block; height:100%; width:100%; background:var(--ink); transform-origin:0 50%; transform:scaleX(0); }
.mini-time{ font-family:var(--sans); font-size:.74rem; color:var(--ink-soft); font-variant-numeric:tabular-nums; }
.mini-x{ width:32px; height:32px; border:0; background:none; color:var(--ink-soft); display:grid; place-items:center; cursor:pointer; border-radius:50%; }
.mini-x svg{ width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.mini-x:hover{ color:var(--ink); }
@media (max-width:560px){ .mini{ grid-template-columns:auto minmax(0,1fr) auto auto; } .mini-track{ display:none; } }

@keyframes rise{ from{ translate:-50% 30px; opacity:0; } }
.page-in .main{ animation:pagein .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pagein{ from{ opacity:0; translate:0 10px; } }
@media (prefers-reduced-motion: reduce){ .page-in .main, .mini{ animation:none; } .sheet{ transition:none; } .col .s{ transition:none; } }
@media (max-width:900px){
  .list-page .main{ display:contents; }
  .list-page .main > *{ padding-left:var(--edge); padding-right:var(--edge); }
  .list-page .lead{ order:-3; }
  .list-page .panel{ order:-2; }
  .list-page .slogan-m{ order:-1; margin:0; padding-top:1.4rem; }
  .list-page .feat, .list-page .list, .list-page .more, .list-page .empty{ order:0; }
  .list-page .feat{ border-bottom:0; }
  .list-page .feat + .list{ border-top:var(--hair) solid var(--rule); background-clip:content-box; }
  .list-page .empty{ padding-top:2.4rem; }
}
@media (max-width:900px){
  .list-page .col em{ display:none; }
  .list-page .col b{ display:inline; font-size:.9rem; }
  .list-page .col{ padding-block:1.05rem .95rem; }
  .list-page .feat + .list{ border-top:0; }
  .list-page .feat{ padding-bottom:2.2rem; }
  .list-page .feat + .list .row:first-child{ border-top:var(--hair) solid var(--rule); }
}
@media (max-width:720px){ .ar-head h1{ text-wrap:pretty; } }
/* who wrote it: at the end of the piece */
.bio{ max-width:var(--measure); margin:0 auto; padding-block:2.8rem 3rem; border-top:var(--hair) solid var(--rule); display:flex; flex-direction:column; gap:2.4rem; }
.bio-p{ display:grid; grid-template-columns:76px minmax(0,1fr); gap:1.6rem; align-items:start; }
.bio-p img{ width:76px; height:76px; border-radius:50%; object-fit:cover; }
.bio-p b{ display:block; font-family:var(--read-zh); font-weight:600; font-size:1.12rem; letter-spacing:.12em; }
.bio-p p{ margin-top:.55rem; font-family:var(--sans); font-weight:300; font-size:.88rem; line-height:1.9; color:var(--ink-soft); }
.bio-btn{ display:inline-flex; align-items:center; gap:.5rem; margin-top:1.1rem; padding:.55rem 1.05rem .55rem 1.15rem; border-radius:99px; background:var(--ink); color:var(--cream);
  font-family:var(--sans); font-size:.78rem; letter-spacing:.1em; transition:background .2s ease; }
.bio-btn svg{ width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.bio-btn:hover{ background:var(--hover); }
.bio-btn:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }
.bio + .pn{ border-top:var(--hair) solid var(--rule); }
@media (max-width:480px){ .bio-p{ grid-template-columns:56px minmax(0,1fr); gap:1.1rem; } .bio-p img{ width:56px; height:56px; } }

/* contents: right-aligned, its right edge on the same line as EN in the navigation */
.toc{ right:2.5rem; width:auto; max-width:min(16rem, calc((100vw - 36rem) / 2 - 5rem)); text-align:right; }
.toc a{ display:flex; justify-content:flex-end; align-items:baseline; gap:.8rem; }
.toc a span{ order:2; flex:none; width:1.4rem; text-align:right; }
/* v5: a narrower column list (a third less) */
@media (min-width:901px){ .page{ grid-template-columns:minmax(220px, 20%) minmax(0, 1fr); } .panel-in{ padding:4.6rem 2rem 4rem 2.5rem; } }
/* more room between the content and the footer */
.main{ padding-bottom:9rem; }
.ar .pn{ padding-bottom:9rem; }
@media (max-width:900px){ .list-page .main > :last-child{ padding-bottom:7rem; } }
/* quieter lines (same as Podcast) */
:root{ --rule:rgba(46,38,32,.14); --panel-rule:rgba(243,236,223,.09); }
@media (min-resolution:2dppx){ :root{ --rule:rgba(46,38,32,.2); } }
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){ --rule:rgba(243,236,223,.12); --panel-rule:rgba(243,236,223,.07); } }
:root[data-theme="dark"]{ --rule:rgba(243,236,223,.12); --panel-rule:rgba(243,236,223,.07); }
/* scroll reveals (js/rv.js); the hidden state exists only while the script runs and motion is allowed */
html.rvi [data-rv]:not(.rv-on){ opacity:0; translate:0 18px; }
html.rvi [data-rv]{ transition:opacity .8s cubic-bezier(.2,.8,.2,1), translate .9s cubic-bezier(.2,.8,.2,1); }
/* the column list slides in from the left instead of rising */
html.rvi .panel [data-rv]:not(.rv-on){ translate:-14px 0; }
/* lines draw from left to right: the rows' hairlines move onto a drawn line */
html.rvi .row[data-rv], html.rvi .ep-row[data-rv], html.rvi .sea-row[data-rv], html.rvi .panel .col[data-rv], html.rvi .ptoc li[data-rv]{ position:relative; border-bottom-color:transparent !important; border-top-color:transparent !important; }
html.rvi :is(.row, .ep-row, .sea-row)[data-rv]:not(:last-child)::after,
html.rvi .panel .col[data-rv]::after, html.rvi .ptoc li[data-rv]::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:var(--hair); background:var(--rule); transform-origin:0 50%; transform:scaleX(0);
  transition:transform 1.1s cubic-bezier(.45,.05,.25,1) .15s; }
html.rvi .panel .col[data-rv]::after, html.rvi .ptoc li[data-rv]::after{ background:var(--panel-rule); height:1px; }
html.rvi .panel .col[data-rv]:first-child::before, html.rvi .ptoc li[data-rv]:first-child::before{
  content:""; position:absolute; left:0; right:0; top:0; height:1px; background:var(--panel-rule); transform-origin:0 50%; transform:scaleX(0); transition:transform 1.1s cubic-bezier(.45,.05,.25,1); }
html.rvi [data-rv].rv-on::after, html.rvi [data-rv].rv-on::before{ transform:scaleX(1); }
html.rvi .sea-row[data-rv]::after{ display:block; }
/* 审阅行（快速上线计划 SEO / GEO 第 7 条，原型里没有）：紧跟作者名，同样的字 */
.ar-by.ar-rev{ margin-top:.5rem; color:var(--faint); }   /* 审阅行：比作者名浅一档，读起来是补充信息 */

/* 正文里的链接（手记正文、通用页面）：原型的示例正文里没有链接，2026-10-14 补的样子，和标题下的细线同一种木色；待灵晞确认 */
.body p a, .body li a, .body blockquote a, .stub p a{ text-decoration:underline; text-decoration-color:color-mix(in srgb, var(--wood) 70%, transparent); text-decoration-thickness:1px; text-underline-offset:.28em; transition:color .2s ease, text-decoration-color .2s ease; }
.body p a:hover, .body li a:hover, .body blockquote a:hover, .stub p a:hover{ color:var(--hover); text-decoration-color:currentColor; }
.body a:focus-visible, .stub a:focus-visible{ outline:2px solid var(--accent); outline-offset:2px; border-radius:2px; }
/* 只有一段话的页面（404）：左边的深色栏是空的，手机上叠到上方会变成一块空色块，所以手机上不显示 */
@media (max-width:900px){ .stub-page .panel{ display:none; } .stub-page .stub{ padding-top:3.4rem; } }
