/* ------------------------------------------------------------------ tokens
 * Quiet, hotel-like: light serifs set wide, hairlines instead of boxes,
 * warm ink on ivory. The picture is graded to the same two colours. */
:root {
  /* tone 2 (米白); stage.js repaints these from the tone in use */
  --ink: #1a1918;
  --ink-body: #2a2927;
  --ink-2: #545351;
  --ink-3: #6a6966;
  /* two golds only: --gold-ink for words and figures, --gold-ui for lines,
     points and the progress; pale versions are mixed from --gold-ui */
  --gold-ink: #826a3c;
  --gold-ui: #937944;
  --hair: rgba(26, 25, 24, 0.14);
  --hair-2: rgba(26, 25, 24, 0.28);
  --ivory: #f6f4ef;
  --paper: #dbd9d5;
  --deep: #1a1a1b;
  --zh: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --en: "Cormorant Garamond", "Cormorant", "EB Garamond", Garamond, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", sans-serif;
  --soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: cubic-bezier(0.45, 0, 0.2, 1);
}

* { box-sizing: border-box; }
/* a quarter of a character between Chinese and Latin or figures (clreq 6.3.3) */
html { text-autospace: normal; }
html, body { margin: 0; height: 100%; background: var(--paper); color: var(--ink); overflow: hidden; }
body {
  font-family: var(--zh); font-weight: 300; -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }

#app { position: fixed; inset: 0; overflow: hidden; }
#app[data-state="boot"] { background: var(--deep); }
#stage { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#fallback { position: absolute; left: 0; top: 0; width: 1059px; height: 1462px; transform-origin: 0 0; max-width: none; }

/* small caps in the sans, used for every label */
.eyebrow, .p-meta, .r-eyebrow, .r-meta, .crumb, .cap {
  font-family: var(--sans); font-weight: 400; text-transform: uppercase; letter-spacing: 0.16em;
}

/* ------------------------------------------------------------------ lobby */
.lobby {
  position: absolute; left: var(--lobby-l, 8vw); top: var(--lobby-t, 50%); width: var(--lobby-w, 34vw);
  transform: translateY(var(--lobby-ty, -50%)); pointer-events: none;
}
.lobby .eyebrow { margin: 0 0 clamp(18px, 3vh, 30px); font-size: 11px; color: var(--ink-2); }
.lobby .title {
  margin: 0; font: 300 clamp(34px, 4vw, 62px)/1.18 var(--zh); letter-spacing: 0.14em;
  margin-right: -0.14em; white-space: nowrap;
}
.lobby .title-en { margin: 0.55em 0 0; font: italic 400 clamp(19px, 1.6vw, 24px)/1.2 var(--en); color: var(--ink-2); letter-spacing: 0.02em; }
.lobby .rule { display: block; width: 44px; height: 1px; background: var(--gold-ui); margin: clamp(22px, 4vh, 36px) 0; }
.lobby .lede { margin: 0; font: 300 clamp(14px, 1.05vw, 15.5px)/2 var(--zh); letter-spacing: 0.1em; color: var(--ink-2); }
.lobby .note { margin: 1.6em 0 0; font: 300 12.5px/1.8 var(--zh); letter-spacing: 0.12em; color: var(--ink-2); }
.lobby .about-link { pointer-events: auto; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hair-2); padding-bottom: 2px; transition: border-color 0.3s ease; }
.lobby .about-link:hover { border-color: var(--ink); }

/* the lobby comes and goes as one quiet fade */
.lobby { transition: opacity 0.75s var(--soft), translate 0.9s var(--soft); }
#app:not(.lobby-on) .lobby { opacity: 0; translate: -18px 0; }
#app.tall:not(.lobby-on) .lobby { translate: 0 8px; }

/* ------------------------------------------------------------------ nav (art px) */
#nav {
  position: absolute; left: 0; top: 0; width: 1059px; height: 1462px;
  transform-origin: 0 0; pointer-events: none; will-change: transform;
}
.ni {
  position: absolute; pointer-events: auto; width: 62px; padding: 6px 0 22px;
  display: grid; justify-items: center; gap: 18px; color: var(--ink);
}
.ni-no { font: italic 300 30px/1 var(--en); color: var(--ink-3); transition: color 0.4s ease; }
.ni-zh {
  position: relative; writing-mode: vertical-rl; font: 400 50px/1 var(--zh); letter-spacing: 0.2em;
  padding-bottom: 0.1em;
}
.ni-zh::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%;
  background: var(--gold-ui); transform: scale(0); transition: transform 0.5s var(--soft);
}
.ni-en {
  writing-mode: vertical-rl; font: 400 19px/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-2);
}
.ni.is-cur .ni-no { color: var(--gold-ink); }
.ni.is-cur .ni-zh::before { transform: scale(1); }

/* the items fade in one after another and leave together */
#nav .ni { opacity: 0; transition: opacity 0.7s var(--soft), translate 0.9s var(--soft); translate: 0 -14px; }
#nav.is-in .ni { opacity: 1; translate: 0 0; transition-delay: calc(var(--d) * 120ms); }
#nav.is-out .ni { opacity: 0; translate: 0 10px; transition-duration: 0.45s; transition-delay: 0s; }
#nav.is-out .ni.is-picked { transition-delay: 0.25s; transition-duration: 0.6s; }

/* ------------------------------------------------------------------ sheet */
#sheet {
  position: absolute; left: var(--bx, 50%); top: var(--by, 0); width: var(--bw, 50%); height: var(--bh, 100%);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  pointer-events: none; outline: none; scrollbar-width: thin; scrollbar-color: var(--hair-2) transparent;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade-t, 26px), #000 calc(100% - var(--fade-b, 34px)), transparent);
  mask-image: linear-gradient(to bottom, transparent 0, #000 var(--fade-t, 26px), #000 calc(100% - var(--fade-b, 34px)), transparent);
}
#sheet.full { --fade-t: 0px; --fade-b: 0px; }
#app[data-state="cloth"] #sheet { pointer-events: auto; }
.view { min-height: 100%; }

[data-a] { opacity: 0; }
.view.is-in [data-a] { animation: ink-in 0.6s var(--soft) both; animation-delay: calc(var(--d, 0) * 1ms); }
.view.is-out [data-a] { animation: ink-out 0.24s cubic-bezier(0.3, 0, 0.8, 0.15) both; }
/* printed ink spreads where it lands: it does not travel */
/* opacity only: Safari draws stray coloured edges round text whose blur
   filter is animating, and the filter competes with the stage for the GPU */
@keyframes ink-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ink-out { from { opacity: 1; } to { opacity: 0; } }

.link {
  display: inline-flex; align-items: baseline; gap: 10px; min-height: 40px; text-decoration: none;
  font: 400 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); min-height: 44px;
  transition: color 0.3s ease;
}
.link em { font: 300 12.5px var(--zh); font-style: normal; letter-spacing: 0.12em; text-transform: none; }
.link svg { width: 18px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; transition: translate 0.4s var(--soft); }
.link:hover { color: var(--ink); }
.link:hover svg.back { translate: -4px 0; }
.link:hover svg.fwd { translate: 4px 0; }

.rule { display: block; width: 44px; height: 1px; background: var(--gold-ui); border: 0; margin: 0; }
.sample-tag { display: inline-block; font: 400 12.5px/1 var(--zh); letter-spacing: 0.12em; color: var(--gold-ink); }
.sample-tag::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-ui);
  margin-right: 0.7em; vertical-align: 0.28em;
}

/* ------------------------------------------------------------------ list */
.view-list { display: grid; grid-template-columns: minmax(210px, 0.82fr) minmax(0, 1.65fr); column-gap: clamp(32px, 4.5vw, 72px); padding: 30px 6px 56px; }
#sheet.narrow .view-list { grid-template-columns: 1fr; row-gap: 22px; padding-top: 22px; }
.intro-col { position: sticky; top: 30px; align-self: start; }
#sheet.narrow .intro-col { position: static; }
.intro-col .eyebrow { margin: 0 0 22px; font: italic 400 22px/1 var(--en); letter-spacing: 0.04em; text-transform: none; color: var(--gold-ink); }
.intro-col h1 { margin: 0; font: 300 clamp(38px, 3.6vw, 56px)/1.15 var(--zh); letter-spacing: 0.18em; margin-right: -0.18em; }
.intro-col .en { margin: 0.5em 0 0; font: italic 400 clamp(18px, 1.5vw, 22px)/1.2 var(--en); color: var(--ink-2); }
.intro-col .rule { margin: 26px 0; }
.intro-col .intro { margin: 0; font: 300 14px/2 var(--zh); letter-spacing: 0.08em; color: var(--ink-2); max-width: 22em; text-wrap: pretty; }
.intro-col .count { margin: 1.4em 0 0; font: 300 12.5px/1.8 var(--zh); letter-spacing: 0.12em; color: var(--ink-3); }
.intro-col .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 0 26px; }
#sheet.narrow .intro-col .rule { margin: 18px 0; }

.posts { list-style: none; margin: 0; padding: 0; align-self: start; display: grid; gap: clamp(6px, 1.4vh, 14px); }
.post {
  display: grid; grid-template-columns: 3.1em minmax(0, 1fr); column-gap: 10px; align-items: baseline;
  padding: clamp(14px, 2.2vh, 22px) 4px; text-decoration: none; color: var(--ink);
}
.p-no {
  grid-row: span 4; align-self: start; padding-top: 0.12em; font: italic 400 22px/1 var(--en); color: var(--gold-ink);
  font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum" 1, "tnum" 1; transition: translate 0.5s var(--soft);
}
.p-title { font: 500 clamp(17px, 1.35vw, 19.5px)/1.5 var(--zh); letter-spacing: 0.06em; justify-self: start;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--soft); }
.p-sub { margin-top: 2px; font: 300 14px/1.6 var(--zh); letter-spacing: 0.06em; color: var(--ink-2); }
.p-ex {
  margin-top: 8px; font: 300 12.5px/1.8 var(--zh); letter-spacing: 0.05em; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-meta { margin-top: 10px; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.p-meta .zh { font: 400 11px var(--zh); letter-spacing: 0.1em; text-transform: none; }
.post:hover .p-title, .post:focus-visible .p-title { background-size: 100% 1px; }
.post:hover .p-no, .post:focus-visible .p-no { translate: 5px 0; }
.post:focus-visible { outline: none; }

/* ------------------------------------------------------------------ about */
.view-about { padding: 30px 6px 56px; max-width: 720px; }
.view-about .eyebrow { margin: 0 0 22px; font-size: 11px; color: var(--ink-2); }
.view-about h1 { margin: 0; font: 300 clamp(38px, 3.6vw, 56px)/1.15 var(--zh); letter-spacing: 0.18em; }
.view-about .en { margin: 0.5em 0 0; font: italic 400 clamp(18px, 1.5vw, 22px)/1.2 var(--en); color: var(--ink-2); }
.view-about .rule { margin: 26px 0; }
.about-lines p { margin: 0 0 1.2em; font: 300 15.5px/2 var(--zh); letter-spacing: 0.06em; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.view-about .actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 0 26px; }

/* ------------------------------------------------------------------ reading
 * The reader picks the face and the size (stored per browser). Everything in
 * the column is set from these, so the measure scales with the type:
 *   --rf  body family   --rw  body weight   --rtw  title weight
 *   --rs  body size     --rl  leading       --rls  tracking            */
#app {
  --rf: var(--zh); --rw: 400; --rtw: 400; --rs: 17.5px; --rl: 2.1; --rls: 0.05em;
}

/* closed, the sidebar is a gold dot over a gold line at the left: the dot
   opens the index, the line fills with the reading progress and can be held
   and dragged to move through the text */
#rail { position: absolute; top: 0; bottom: 0; left: 0; z-index: 6; pointer-events: none; --pw: 200px; --dot: 6px; }
#rail .rod {
  position: absolute; top: 50%; left: max(var(--rodx, 9px), env(safe-area-inset-left)); width: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; translate: 0 -50%;
  opacity: 0; transition: opacity 0.24s var(--soft), left 0.6s var(--soft);
}
/* it comes in after the text and leaves with it */
#rail.is-in .rod { opacity: 1; transition: opacity 0.5s var(--soft) 0.15s, left 0.6s var(--soft); }
#rail.open .rod { left: calc(var(--pw) - 15px); }
/* the dot is drawn small but answers a 44px touch, so it reads as a point
   above the line rather than a ball on a stick */
/* the dot and the word under it are one button, 44px wide */
#rail .dot {
  pointer-events: auto; width: 44px; padding: 19px 0 12px; border-radius: 22px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
#rail .dot .pt {
  display: block; width: var(--dot); height: var(--dot); border-radius: 50%;
  background: var(--gold-ui); box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold-ui) 25%, transparent); transition: transform 0.35s var(--soft), box-shadow 0.35s var(--soft), background 0.35s;
}
#rail .dot:hover .pt, #rail .dot:focus-visible .pt { transform: scale(1.34); box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold-ui) 14%, transparent); }
#rail .dot:hover .rod-label { color: var(--ink); }
#rail.open .dot .pt { background: transparent; box-shadow: inset 0 0 0 1.5px var(--gold-ui); transform: scale(1.34); }
#rail .dot:focus-visible { outline: 1px solid var(--ink); outline-offset: -4px; }
#rail .line:focus-visible { outline: 1px solid var(--ink); outline-offset: -16px; }
#rail .line {
  pointer-events: auto; position: relative; width: 44px; height: min(30vh, 240px); cursor: grab; touch-action: none;
}
#rail .line::before, #rail .fill {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; border-radius: 1.5px;
  transition: width 0.25s ease, margin-left 0.25s ease;
}
#rail .line::before { background: color-mix(in srgb, var(--gold-ui) 34%, transparent); }
#rail .fill { display: block; bottom: auto; height: calc(var(--p, 0) * 100%); background: var(--gold-ui); transition: height 0.12s linear, width 0.25s ease, margin-left 0.25s ease; }
#rail .line:hover::before, #rail .line:hover .fill, #rail .line:focus-visible::before, #rail .line:focus-visible .fill { width: 4px; margin-left: -2px; }
#rail .line.scrub { cursor: grabbing; }
#rail .line.scrub::before, #rail .line.scrub .fill { width: 6px; margin-left: -3px; transition: width 0.2s ease, margin-left 0.2s ease; }
#rail .panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(var(--pw), 72vw); overflow-y: auto; pointer-events: auto;
  display: flex; flex-direction: column; padding: max(30px, env(safe-area-inset-top)) 30px 24px max(24px, env(safe-area-inset-left));
  background: var(--ivory); opacity: 0; visibility: hidden; translate: -10px 0;
  transition: opacity 0.5s var(--soft), translate 0.6s var(--soft), visibility 0s linear 0.6s;
}
#rail.open .panel { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
#rail .sec { margin: 28px 0 0; display: grid; gap: 4px; }
#rail .sec b { font: 300 19.5px/1.3 var(--zh); letter-spacing: 0.16em; }
#rail .sec span { font: italic 300 15px var(--en); color: var(--ink-3); }
.toc { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 1px; }
.toc a {
  display: grid; grid-template-columns: 2em 1fr; align-items: baseline; gap: 6px; padding: 7px 0; text-decoration: none;
  font: 300 12.5px/1.6 var(--zh); letter-spacing: 0.08em; color: var(--ink-3); transition: color 0.3s ease;
}
.toc a > span:first-child { font: italic 400 15px var(--en); letter-spacing: 0; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--ink); }
.toc a[aria-current] > span:first-child { color: var(--gold-ink); }

/* the type controls: four faces, three sizes */
.typeset { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hair); display: grid; gap: 12px; }
.typeset .cap { margin: 0; font-size: 11px; color: var(--ink-3); display: flex; justify-content: space-between; }
.typeset .cap em { font: 300 11px var(--zh); font-style: normal; letter-spacing: 0.2em; text-transform: none; }
.ts-size button {
  position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 0 7px; min-height: 44px;
  color: var(--ink-3); transition: color 0.3s ease;
}
.ts-size button::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 1px; background: var(--gold-ui);
  transform: scaleX(0); transition: transform 0.45s var(--soft);
}
.ts-size button[aria-pressed="true"] { color: var(--ink); }
.ts-size button[aria-pressed="true"]::after { transform: scaleX(1); }
.ts-size { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; align-items: end; }
.ts-size button { min-height: 40px; align-content: end; font-family: var(--zh); font-weight: 300; }
.ts-size button:nth-child(1) { font-size: 12px; }
.ts-size button:nth-child(2) { font-size: 14.5px; }
.ts-size button:nth-child(3) { font-size: 17px; }

.read-col {
  width: calc(var(--cols, 34) * (1em + var(--rls)) + 2 * var(--pad, 48px)); max-width: 100%; margin: 0 auto;
  padding: clamp(48px, 11vh, 120px) var(--pad, 48px) 120px; font-size: var(--rs);
}
.r-head { text-align: center; margin-bottom: 3.2em; }
.r-eyebrow { margin: 0; font-size: 11px; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 16px; }
.r-eyebrow .zh { font: 400 11px var(--zh); letter-spacing: 0.1em; text-transform: none; }
.read-col h1 {
  margin: 0.8em 0 0; font-family: var(--rf); font-weight: var(--rtw); font-size: clamp(28px, 2.9vw, 42px);
  line-height: 1.5; letter-spacing: 0.1em; margin-right: -0.1em; text-wrap: balance;
}
.r-sub { margin: 0.7em 0 0; font-family: var(--rf); font-weight: 300; font-size: 1em; line-height: 1.8; letter-spacing: 0.06em; color: var(--ink-2); }
.r-head .rule { margin: 2em auto 1.6em; }
.sample-note { margin: 0; font: 300 12.5px/1.8 var(--zh); letter-spacing: 0.08em; color: var(--ink-3); display: flex; justify-content: center; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.r-body p {
  margin: 0; font-family: var(--rf); font-weight: var(--rw); font-size: 1em; line-height: var(--rl);
  letter-spacing: var(--rls); text-align: justify; text-indent: calc(2em + 2 * var(--rls)); color: var(--ink-body);
  hanging-punctuation: allow-end; text-wrap: pretty;
}
/* the first paragraph opens with a dropped initial */
.r-body p.drop { text-indent: 0; }
.r-body p.drop::first-letter {
  float: left; font-size: 3.15em; line-height: 1; margin: 0.06em 0.18em 0 0; font-weight: var(--rtw); color: var(--ink);
}
/* where the browser can, the initial sits exactly on the second baseline */
@supports (initial-letter: 2) or (-webkit-initial-letter: 2) {
  .r-body p.drop::first-letter { float: none; font-size: 1em; margin: 0 0.5em 0 0; -webkit-initial-letter: 2; initial-letter: 2; }
}
.r-body p, .r-note, .intro-col .intro, .about-lines p, .p-ex, .p-sub { text-spacing-trim: trim-start; }
.r-note { margin: 1.4em 0 0; font: 300 12.5px/2 var(--zh); letter-spacing: var(--rls); color: var(--ink-3); text-wrap: pretty; }
/* two marks side by side: the first one half-width */
.pu.h { font-feature-settings: "halt" 1; }
.r-end { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 56px 0 28px; font: 300 14px var(--zh); color: var(--ink-2); }
.r-end::before, .r-end::after { content: ""; width: 22px; height: 1px; background: var(--gold-ui); }
/* one dot per piece (or chapter): this one deep gold, the others pale, on a ring */
.r-track { display: grid; justify-items: center; gap: 7px; }
.r-track ol {
  list-style: none; margin: 0; padding: 0; position: relative; width: 210px; height: 44px;
  /* it turns by hand: sideways drags are ours, up and down still scrolls */
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab;
}
.r-track ol.turning { cursor: grabbing; }
.r-track ol.turning li, .r-track ol.turning a::before { transition: none; }
.r-track ol.snap li { transition-duration: 0.5s; }
.r-track ol.snap a::before { transition-duration: 0.3s, 0.3s, 0.5s, 0.5s, 0.5s; }
.r-track li {
  position: absolute; left: 50%; top: 0; width: 34px; margin-left: -17px;
  transform: translateX(var(--x, 0)); opacity: var(--o, 1); z-index: var(--z, 0);
  transition: transform 0.9s var(--soft), opacity 0.9s var(--soft);
}
.r-track li.far { pointer-events: none; }
.r-track a { position: relative; display: block; width: 34px; height: 44px; -webkit-touch-callout: none; -webkit-user-drag: none; }
.r-track a::before {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  width: var(--sz, 7.5px); height: var(--sz, 7.5px); margin: calc(var(--sz, 7.5px) / -2) 0 0 calc(var(--sz, 7.5px) / -2);
  background: color-mix(in srgb, var(--gold-ui) 40%, transparent);
  transition: background 0.3s ease, transform 0.3s var(--soft), width 0.9s var(--soft), height 0.9s var(--soft), margin 0.9s var(--soft);
}
.r-track a:hover::before { background: color-mix(in srgb, var(--gold-ui) 70%, transparent); transform: scale(1.15); }
.r-track a[aria-current]::before { background: var(--gold-ui); }
.r-track a:focus-visible { outline: none; }
.r-track a:focus-visible::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 17px; height: 17px; margin: -8.5px 0 0 -8.5px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ink);
}
.r-track p { margin: 0; min-height: 1.8em; text-align: center; font: 300 14px/1.8 var(--zh); letter-spacing: 0.12em; color: var(--ink-2); }
.r-track p span { font: italic 400 15px var(--en); letter-spacing: 0; color: var(--gold-ink); margin-right: 0.6em; font-feature-settings: "lnum" 1; }
/* the piece being read is counted, "2 / 4"; names show when a dot is pointed at */
.r-track p .count { margin: 0; font: italic 400 15px var(--en); color: var(--gold-ink); letter-spacing: 0; font-feature-settings: "lnum" 1; }
.r-track p .count i { margin: 0 0.4em; color: var(--ink-3); }
.r-track p:has(.count) { margin-right: 0; }
/* turned to another piece, the name is the way there */
.r-track p a {
  color: var(--ink); text-decoration: underline 1px; text-underline-offset: 0.42em;
  text-decoration-color: color-mix(in srgb, var(--gold-ui) 55%, transparent); transition: text-decoration-color 0.3s ease;
}
.r-track p a:hover { text-decoration-color: var(--gold-ui); }
#sheet.narrow .read-col { padding-top: 44px; padding-bottom: 90px; }
/* on a phone the line sits closer to the edge so it never touches the text,
   and the open index dims the page behind it (a tap there closes it) */
@media (max-width: 560px) {
  #rail .rod { left: max(0px, env(safe-area-inset-left)); }
}
#rail::before {
  content: ""; position: fixed; inset: 0; background: rgba(25, 25, 26, 0.14);
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--soft);
}
#rail.open.over::before { opacity: 1; pointer-events: auto; }
#rail.over .panel { box-shadow: 1px 0 0 var(--hair); }


/* the picture beside the cloth closes the curtain */
#tohome { position: absolute; top: 0; bottom: 0; left: 0; width: 0; z-index: 4; display: none; cursor: pointer; }
#app[data-state="cloth"] #tohome.on { display: block; }

/* ------------------------------------------------------------------ opening */
#wipe { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
#wipe i { position: absolute; display: block; }
#wipe .w-a { background: var(--deep); }
#wipe .w-light { background: var(--ivory); opacity: 0; }
/* closed: ink over everything (also while loading) */
#wipe .w-a { inset: -2% -14%; clip-path: polygon(0 0, 100% 0, 100% 100%, -12% 100%); }
#wipe.off { display: none; }

/* 墨痕: one slanted edge crosses the screen, a hairline of light on it */
/* the ink's edge and the light on it keep one slant all the way across */
#wipe.ink-open .w-a { animation: ink-open 0.85s cubic-bezier(0.33, 0, 0.2, 1) both; }
#wipe.ink-open .w-light { opacity: 1; inset: -2% -14%; animation: ink-light 0.85s cubic-bezier(0.33, 0, 0.2, 1) both; }
@keyframes ink-open {
  from { clip-path: polygon(0 0, 100% 0, 100% 100%, -12% 100%); }
  to { clip-path: polygon(112% 0, 112% 0, 112% 100%, 100% 100%); }
}
@keyframes ink-light {
  0% { clip-path: polygon(0 0, 0.4% 0, -11.6% 100%, -12% 100%); opacity: 0; }
  12% { opacity: 0.9; }
  100% { clip-path: polygon(112% 0, 112.4% 0, 100.4% 100%, 100% 100%); opacity: 0.9; }
}
#wipe.ink-cover .w-a { animation: ink-cover 0.6s cubic-bezier(0.6, 0, 0.3, 1) both; }
@keyframes ink-cover {
  from { clip-path: polygon(0 0, 0 0, -12% 100%, -12% 100%); }
  to { clip-path: polygon(0 0, 112% 0, 100% 100%, -12% 100%); }
}

#loader {
  position: absolute; inset: 0; z-index: 21; display: grid; place-content: center; justify-items: center; gap: 18px;
  transition: opacity 0.35s ease; pointer-events: none; color: var(--ivory);
}
/* while loading only a hairline breathes on the ink; the name is not shown */
#loader i { display: block; width: 64px; height: 1px; background: currentColor; opacity: 0.5; transform-origin: 0 50%; animation: load 1.6s var(--slow) infinite; }
@keyframes load { 0% { transform: scaleX(0); } 60% { transform: scaleX(1); opacity: 0.5; } 100% { transform: scaleX(1); opacity: 0; } }
#app:not([data-state="boot"]) #loader { opacity: 0; }

/* ------------------------------------------------------------------ fallback (no WebGL) */
#app.fallback { background: url(../assets/paper.jpg) 0 0 / 640px auto; }
#app.fallback #stage { display: none; }
#app.fallback #fallback { display: block; }
#app.fallback #sheet { background: var(--ivory); opacity: 0; transition: opacity 0.7s var(--soft); }
#app.fallback[data-state="cloth"] #sheet { opacity: 1; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 699px) {
  .lobby .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .lobby .lede { font-size: 14px; line-height: 2; }
  .lobby .rule { margin: 16px auto; }
  .view-list, .view-about { padding: 18px 2px 40px; }
}
#app.tall .lobby { text-align: center; }
#app.tall .lobby .eyebrow { margin-bottom: 14px; }
#app.tall .lobby .title-en { margin-top: 0.4em; }
#app.tall .lobby .rule { margin-left: auto; margin-right: auto; }
#app.tall .lobby .title { margin-right: -0.14em; }

@media (prefers-reduced-motion: reduce) {
  .view.is-in [data-a] { animation-duration: 0.3s; }
}

/* ------------------------------------------------------------------ additions
 * the index label on the rail, the next piece, and the phone's row of
 * sections under the title */
#rail .rod-label { writing-mode: vertical-rl; font: 400 11px/1 var(--zh); letter-spacing: 0.3em; margin-bottom: -0.3em; color: var(--ink-2); transition: color 0.3s ease, opacity 0.3s ease; }
#rail.open .rod-label { opacity: 0; }
.r-next { margin: 42px 0 0; text-align: center; }
.r-next .link em { font-size: 14px; }
.r-next .link em:last-of-type { font-size: 15.5px; color: var(--ink); }
.r-next .link:has(svg.fwd) { padding-left: 28px; }
.r-next .link:has(svg.back) { padding-right: 28px; }
.r-next .no { font: italic 400 15px/1 var(--en); letter-spacing: 0; color: var(--gold-ink); font-feature-settings: "lnum" 1; }
/* on a phone the sections are the ones printed on the cloth: each column
   answers a touch across its whole share of the cloth, and 关于 is the line
   under the site's name, as on a wide screen */
#app.tall .ni { width: 70px; margin-left: -4px; }
#app.tall .ni-en { display: none; }
#app.tall .lobby .note { margin-top: 1.2em; font-size: 12.5px; letter-spacing: 0.08em; }
#app.tall .lobby .about-link { display: inline-block; padding: 12px 0 2px; margin-top: -12px; }
#sheet.narrow .post { grid-template-columns: 2.2em minmax(0, 1fr); column-gap: 8px; }
#sheet.narrow .p-no { font-size: 20px; }

/* ------------------------------------------------------------------ display text
 * Headings take half-width marks (as Apple's own pages do; smaller text
 * keeps full-width ones, which suit its wide tracking);
 * a centred line hangs its last mark and gives back its trailing tracking so
 * the words, not the box, sit in the middle; short subtitles break only at
 * their marks. Body text keeps full-width marks, as in a book. */
.lobby .title, .read-col h1, .p-title, .intro-col h1, .view-about h1 {
  font-feature-settings: "halt" 1;
}
/* in subtitles and small lines a half-width comma reads as a Latin one, so
   only quotes, brackets and title marks are narrowed there */
.r-sub .pu.q, .p-sub .pu.q, .r-track p .pu.q, .toc a .pu.q, .w-sub .pu.q, .r-reply .pu.q, .r-replies .pu.q { font-feature-settings: "halt" 1; }
.read-col h1 .pu.end, .r-sub .pu.end.q, .r-track p .pu.end.q { margin-right: -0.5em; }
.r-sub .pu.end:not(.q), .r-track p .pu.end:not(.q) { margin-right: -1em; }
.w { white-space: nowrap; }
.r-sub { margin-right: -0.06em; }
.r-eyebrow { margin-right: -0.16em; }
.sample-note { margin-right: -0.08em; }
.r-track p { margin-right: -0.12em; }
.r-sub, .p-sub { word-break: keep-all; overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ forms
 * poem: the lines as written, a block centred on the cloth, read slowly;
 * essay and novel: a shorter title block so the text starts sooner; the
 * novel smaller still, with every paragraph indented and no initial. */
.view-read[data-form="poem"] .r-body { width: fit-content; max-width: 100%; margin: 0 auto; }
.view-read[data-form="poem"] .r-body p { white-space: pre-wrap; text-indent: 0; text-align: left; margin: 0 0 1.9em; hanging-punctuation: none; }
.view-read[data-form="poem"] .r-body p:last-child { margin-bottom: 0; }
.view-read[data-form="poem"] .r-note { margin-top: 3em; text-align: center; }
.view-read:not([data-form="poem"]) .read-col { padding-top: clamp(36px, 7vh, 76px); }
.view-read:not([data-form="poem"]) .r-head { margin-bottom: 2.4em; }
.view-read:not([data-form="poem"]) .r-head .rule { margin: 28px auto 28px; }
.view-read[data-form="essay"] .read-col h1 { font-size: clamp(26px, 2.5vw, 36px); }
/* a chapter that does not end the novel has no 终: the dots keep its air */
.r-body + .r-track { margin-top: 3.4em; }
.view-read[data-form="novel"] .read-col h1 { font-size: clamp(24px, 2.2vw, 31px); margin-top: 0.7em; }

/* a centred line of the lobby on a phone hangs its last marks */
#app.tall .lobby .lede { margin-right: -0.1em; }
#app.tall .lobby .lede .pu.end { margin-right: -0.5em; }
/* on a phone the open index needs no rod over the dimmed text */
@media (max-width: 560px) { #rail.open .rod { opacity: 0; pointer-events: none; } }

/* ------------------------------------------------------------------ writing-site demo
 * the list as titles and dates under years; a serial's own page; chapter
 * navigation; the about page in short headed blocks */
.view-list-c .posts { gap: 0; }
.posts .yr { margin: 1.5em 0 0.5em; font: italic 400 22px/1 var(--en); color: var(--gold-ink); font-feature-settings: "lnum" 1; }
.posts .yr:first-child { margin-top: 0; }
#sheet .view-list-c .post { grid-template-columns: 4.6em minmax(0, 1fr); padding: 9px 4px; column-gap: 14px; }
.p-date { grid-row: span 2; white-space: nowrap; font: 400 11px/1 var(--sans); letter-spacing: 0.12em; color: var(--ink-3); font-feature-settings: "lnum" 1; }
.view-list-c .p-title { font-size: clamp(16px, 1.25vw, 17.5px); }
.p-state { margin-left: 1em; font: 300 12.5px var(--zh); letter-spacing: 0.08em; color: var(--gold-ink); }
.view-list-c .p-sub { margin-top: 2px; font-size: 13px; }
.view-work .intro-col h1 { letter-spacing: 0.12em; margin-right: -0.12em; }
.w-sub { margin: 0.6em 0 0; font: 300 15.5px/1.6 var(--zh); letter-spacing: 0.06em; color: var(--ink-2); font-feature-settings: "halt" 1; }
.view-work .count { line-height: 2; }
.link.strong { color: var(--ink); }
.link.strong em { border-bottom: 1px solid var(--gold-ui); padding-bottom: 3px; }
.w-toc { align-self: start; display: grid; gap: 26px; }
#sheet.narrow .w-toc { margin-top: 18px; }
.w-vol h2 { margin: 0 0 8px; font: 400 14px/1.6 var(--zh); letter-spacing: 0.16em; color: var(--ink); }
.w-vol h2::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-ui); margin-right: 0.8em; vertical-align: 0.28em; }
.w-vol ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.w-vol a { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; font: 300 15.5px/1.5 var(--zh); letter-spacing: 0.06em; color: var(--ink); text-decoration: none; }
.w-vol a span { font: italic 400 15px var(--en); color: var(--gold-ink); letter-spacing: 0; min-width: 1.4em; font-feature-settings: "lnum" 1; }
.w-vol a:hover { color: var(--gold-ink); }
.r-chnav { margin: 14px 0 0; text-align: center; font: 300 12.5px var(--zh); letter-spacing: 0.12em; color: var(--ink-3); }
.r-chnav a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 12px 6px; }
.r-chnav a:hover { color: var(--ink); }
.r-chnav i { font-style: normal; margin: 0 0.6em; }
.toc li.vol { margin: 14px 0 4px; font: 400 11px/1.6 var(--zh); letter-spacing: 0.16em; color: var(--ink-3); }
.toc li.vol:first-child { margin-top: 0; }
.a-block { margin: 0 0 1.6em; max-width: 34em; }
.a-block h2 { margin: 0 0 0.3em; font: 400 14px/1.6 var(--zh); letter-spacing: 0.16em; color: var(--ink); }
.a-block p { margin: 0; font: 300 15.5px/2 var(--zh); letter-spacing: 0.06em; color: var(--ink-2); text-wrap: pretty; text-spacing-trim: trim-start; }
.lobby .note a + a { margin-left: 0; }

/* ------------------------------------------------------------------ 幕光 demo, round two
 * the name large; the latest pieces under it; iPad sizes; plain words */
.lobby .title { font-size: clamp(42px, 4.4vw, 72px); line-height: 1.1; letter-spacing: 0.24em; margin-right: -0.24em; }
#app.tall .lobby .title { font-size: clamp(42px, 7.6vw, 62px); margin-right: -0.24em; }
.lobby .title-en { margin-top: 18px; }
#app:not(.tall) .lobby { width: max-content; max-width: var(--lobby-w); height: var(--lobby-h, auto); display: flex; flex-direction: column; }
#app:not(.tall) .lobby .recent { margin-top: clamp(26px, 4.6vh, 44px); }
#app.lobby-gaze:not(.tall) .lobby .recent { margin-top: auto; }
.lobby .recent { list-style: none; margin: 0; padding: 0; display: grid; }
.lobby .recent li { display: flex; align-items: baseline; justify-content: space-between; gap: 28px; font: 300 13.5px/1.4 var(--zh); letter-spacing: 0.08em; }
.lobby .recent li.rh { font: 400 11px/2 var(--zh); letter-spacing: 0.24em; color: var(--ink-3); }
.lobby .recent a { pointer-events: auto; color: var(--ink); text-decoration: none; padding: 9px 0; }
.lobby .recent a em { font-style: normal; font-size: 0.86em; color: var(--ink-3); margin-left: 1em; }
.lobby .recent li.first a { position: relative; }
.lobby .recent li.first a::before { content: ""; position: absolute; left: -15px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--gold-ui); }
.lobby .recent li > span { font: italic 400 15px var(--en); color: var(--ink-3); letter-spacing: 0.02em; font-feature-settings: "lnum" 1; }
.lobby .recent li.iss { margin-top: 4px; }
.lobby .recent li.iss a { color: var(--ink-2); }
.lobby .note { margin-top: 8px; }
.lobby .note .about-link { display: inline-block; padding: 12px 0 2px; margin-top: -12px; }
#app.tall .lobby .recent { width: min(100%, 340px); margin: 20px auto 0; text-align: left; }
#app.tall .lobby .recent li.more2, #app.tall .lobby .recent li.iss { display: none; }
#app.tall:not(.tablet) .lobby .recent li.more1 { display: none; }
#app.tall .lobby .rule { margin: 18px auto; }

/* iPad: a size up */
#app.tablet .lobby .lede { font-size: 17px; }
#app.tablet .lobby .recent li { font-size: 15.5px; }
#app.tablet .view-list-c .p-title { font-size: 17.5px; }
#app.tablet .view-list-c .p-sub { font-size: 14px; }
#app.tablet .p-date { font-size: 15px; }
#app.tablet .link em, #app.tablet .intro-col .count, #app.tablet .lobby .note, #app.tablet .r-track p a { font-size: 13.5px; }
#app.tablet .intro-col .intro { font-size: 15.5px; }

/* a narrow cloth: a short head so the list starts high */
#sheet.narrow .view-list .intro-col h1 { font-size: 44px; display: inline-block; }
#sheet.narrow .view-list .intro-col .en { display: inline-block; margin: 0 0 0 0.7em; font-size: 18px; }
#sheet.narrow .view-list .intro-col .rule { display: none; }
#sheet.narrow .view-list .intro-col .intro { margin-top: 10px; }
#sheet.narrow .view-list .intro-col .count { margin-top: 6px; }
#sheet.narrow .view-list .intro-col .actions { margin-top: 4px; }
#sheet.narrow .view-list { row-gap: 10px; }

/* the list: dates as figures, years and marks in grey; gold only for "here" and "new" */
.posts .yr { font: italic 400 17.5px/1 var(--en); color: var(--ink-3); }
#sheet .view-list-c .post { grid-template-columns: 3.8em minmax(0, 1fr); }
.p-date { font: italic 400 14px/1.2 var(--en); letter-spacing: 0.02em; color: var(--ink-3); }
.p-kind { margin-left: 0.8em; font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; }
.p-sub:empty { display: none; }
.p-state { color: var(--ink-2); }
.p-more { margin-top: 1.4em; font: 300 13px/1.8 var(--zh); letter-spacing: 0.08em; }
.p-more a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hair-2); padding-bottom: 2px; }

/* a serial's page */
.w-go { margin: 1.2em 0 0; }
.w-go a { display: inline-flex; align-items: baseline; gap: 0.8em; font: 300 15.5px/1.6 var(--zh); letter-spacing: 0.08em; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold-ui); padding-bottom: 4px; }
.w-go a span { color: var(--ink); }
.w-go svg { width: 18px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1; }
.w-vol ol { grid-template-columns: 1fr; }
.w-vol a span { color: var(--ink-3); }
.w-vol a.here { color: var(--ink); }
.w-vol a.here::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-ui); align-self: center; margin-left: 4px; }
.w-vol h2::before { display: none; }
.w-vol h2 { font-size: 13px; color: var(--ink-2); }

/* an issue */
.i-no { margin: 0 0 14px; font: 400 12.5px/1 var(--zh); letter-spacing: 0.2em; color: var(--ink-3); }
.i-main { align-self: start; }
.i-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.i-row { display: grid; grid-template-columns: 2em minmax(0, 1fr) auto auto; align-items: baseline; column-gap: 18px; padding: 10px 4px; color: var(--ink); text-decoration: none; }
.i-n { font: 300 14px var(--zh); color: var(--ink-3); }
.i-t { font: 400 clamp(16px, 1.25vw, 17.5px)/1.5 var(--zh); letter-spacing: 0.06em; }
.i-f, .i-a { font: 300 13px var(--zh); letter-spacing: 0.1em; color: var(--ink-3); }
.i-a { color: var(--ink-2); min-width: 3em; text-align: right; }
.i-r { display: block; margin: -6px 0 6px calc(2em + 22px); font: 300 12.5px var(--zh); letter-spacing: 0.08em; color: var(--ink-3); }
.i-cast { margin: 2em 0 0; padding-top: 1em; border-top: 1px solid var(--hair); font: 300 13px/1.8 var(--zh); letter-spacing: 0.12em; color: var(--ink-2); }
.i-cast span { margin-right: 1.2em; color: var(--ink-3); }

/* the reading page: byline, reply, notes, later replies, a short end */
.r-body p { text-wrap: wrap; }
.r-by { margin: 0.9em 0 0; font: 300 14px var(--zh); letter-spacing: 0.24em; margin-right: -0.24em; color: var(--ink-2); }
.r-reply { margin: 0.6em 0 0; font: 300 13px var(--zh); letter-spacing: 0.1em; color: var(--ink-3); }
.r-reply > span { margin-right: 0.8em; }
.r-reply a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hair-2); }
.r-memo { margin: 0 auto 2.4em; max-width: calc(var(--cols, 34) * 1em); border-top: 1px solid var(--hair); padding-top: 1.1em; font-size: var(--rs); }
.r-memo summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.8em; padding: 8px 0; font: 400 12.5px var(--zh); letter-spacing: 0.24em; color: var(--ink-3); }
.r-memo summary::-webkit-details-marker { display: none; }
.r-memo summary::after { content: "展开"; font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); opacity: 0.7; }
.r-memo[open] summary::after { content: "收起"; }
.r-memo p { margin: 0.4em 0 0; font: 300 15px/1.9 var(--zh); letter-spacing: 0.04em; color: var(--ink-2); text-spacing-trim: trim-start; }
.r-replies { margin: 0 auto 2.4em; text-align: center; font: 300 13px/2 var(--zh); letter-spacing: 0.08em; color: var(--ink-3); }
.r-replies > span { margin-right: 1em; }
.r-replies a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hair-2); }
.r-replies i { font-style: normal; }
.r-track p { display: flex; justify-content: center; align-items: baseline; gap: 0.7em; }
.r-track p > a { font: 300 12.5px var(--zh); letter-spacing: 0.12em; color: var(--ink-2); text-decoration: none; padding: 10px 2px; }
.r-track p > i { font-style: normal; color: var(--ink-3); }
.r-track p .count { color: var(--ink-3); }
.r-next small { font-size: 0.86em; color: var(--ink-2); }

/* about: a colophon */
.a-dl { display: grid; grid-template-columns: 5em minmax(0, 1fr); column-gap: 24px; row-gap: 1.3em; margin: 0; max-width: 40em; }
.a-dl dt { padding-top: 0.45em; font: 400 12.5px/1.6 var(--zh); letter-spacing: 0.2em; color: var(--ink-3); }
.a-dl dd { margin: 0; font: 300 15.5px/2 var(--zh); letter-spacing: 0.05em; color: var(--ink-2); text-spacing-trim: trim-start; }
#sheet.narrow .a-dl { grid-template-columns: 1fr; row-gap: 0.2em; }
#sheet.narrow .a-dl dd { margin-bottom: 1em; }
.r-track p .tn { margin: 0; font: 300 14px/1.8 var(--zh); letter-spacing: 0.12em; color: var(--ink-2); }
.r-track p .tn > span:not(.count) { margin-right: 0.6em; font: 300 13px var(--zh); color: var(--ink-3); }
.r-track p .tn a { color: var(--ink); }

/* the words under the ring are plain links, not dots */
.r-track p a { display: inline-block; width: auto; height: auto; }
.r-track p a::before, .r-track p a::after { content: none; }

/* comparison only: the name set vertically beside the block (?lobby=v) */
#app.lobby-v:not(.tall) .lobby { display: grid; grid-template-columns: auto auto; grid-template-areas: "t rest"; column-gap: clamp(28px, 3vw, 48px); align-items: start; }
#app.lobby-v:not(.tall) .lobby .title { grid-area: t; grid-row: 1 / span 6; writing-mode: vertical-rl; font-size: clamp(56px, 5.4vw, 96px); letter-spacing: 0.3em; margin: 0 0 -0.3em; }
#app.lobby-v:not(.tall) .lobby > :not(.title) { grid-column: 2; }
#app.lobby-v:not(.tall) .lobby .title-en { margin-top: 0.3em; }

/* an address that leads nowhere any more */
.intro-col .miss { margin: 1.2em 0 0; padding-left: 0.9em; border-left: 1px solid var(--gold-ui); font: 300 13px/1.9 var(--zh); letter-spacing: 0.08em; color: var(--ink-2); max-width: 22em; }
#app.tablet .intro-col .miss { font-size: 14px; }

/* 全部 · 原创 · 同人, once both kinds are many */
.p-filter { margin: 0.9em 0 0; font: 300 13px/1.8 var(--zh); letter-spacing: 0.12em; color: var(--ink-3); }
.p-filter button { padding: 6px 0; margin: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; color: var(--ink-3); cursor: pointer; }
.p-filter button[aria-pressed="true"] { color: var(--ink); box-shadow: inset 0 -1px var(--gold-ui); }
.p-filter button:hover { color: var(--ink); }
.p-filter i { font-style: normal; margin: 0 0.7em; }
#app.tablet .p-filter { font-size: 13.5px; }
.posts > [hidden] { display: none; }
.posts > :nth-child(1 of :not([hidden])) { margin-top: 0; }
.posts.filtered > [data-a] { animation-delay: 0ms; animation-duration: 0.4s; }

/* a long serial: folded volumes, and its newest chapter above them */
.w-new { margin: 0 0 4px; }
.w-new em { margin-left: 0.4em; font: 300 12px var(--zh); font-style: normal; letter-spacing: 0.1em; color: var(--ink-3); }
.w-new a { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; font: 300 15.5px/1.5 var(--zh); letter-spacing: 0.06em; color: var(--ink); text-decoration: none; }
.w-new a span { font: italic 400 15px var(--en); color: var(--ink-3); letter-spacing: 0; min-width: 1.4em; font-feature-settings: "lnum" 1; }
.w-new a:hover { color: var(--gold-ink); }
details.w-vol summary { list-style: none; display: flex; align-items: baseline; gap: 1em; padding: 6px 0 8px; border-bottom: 1px solid var(--hair-2); cursor: pointer; }
details.w-vol summary::-webkit-details-marker { display: none; }
details.w-vol summary h2 { margin: 0; }
details.w-vol summary span { font: 300 12px var(--zh); letter-spacing: 0.1em; color: var(--ink-3); }
details.w-vol summary::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); transform: translateY(-3px) rotate(45deg); transition: transform 0.3s var(--soft); align-self: center; }
details.w-vol[open] summary::after { transform: translateY(1px) rotate(-135deg); }
details.w-vol summary:hover h2 { color: var(--ink); }
details.w-vol[open] summary { margin-bottom: 4px; }
.w-toc:has(details) { gap: 10px; }
.view-list { align-content: start; }
.nw { white-space: nowrap; }
#sheet.narrow .intro-col .miss { margin: 12px 0 14px; }
