/* Hard Felt. A paper page, set like a journal with a magazine's nerve: black ink on visibly fibrous paper by day,
   pale ink on warm charcoal paper by night. The felt is seen in the wordmark, the authors' marks, the sewn labels,
   the stitches, the ornaments, the box above the stage and the felt band at the foot. The only colour on a page is
   in its pictures, and in the one instrument, the p(doom) dial (see below). Layout: a wide stage for title and picture, then a text column with a margin column beside it. */
:root {
  --paper: #f6f2e8;
  --paper-tex: url(/paper.svg);
  --ink: #171614;
  --muted: #5a574f;
  --rule: #d5cebf;
  --felt: #383733;
  --label: #e3ddcf;
  --label-ink: #24231f;
  --band: #2a2926;
  --band-ink: #ece8de;
  --band-muted: #bab6ab;
  --fibre: url(/fibre-dark.svg);
  --doom-green: #264a30;
  --doom-red: #9c3f2c;
  --doom-grey: #8b877d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --cjk: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "Noto Serif SC", serif;
  --text: 38rem;
  --margin: 15rem;
  --gap: 3.25rem;
  --stage: 66rem;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #1d1c1a;
  --paper-tex: url(/paper-dark.svg);
  --ink: #ece7db;
  --muted: #aaa59a;
  --rule: #3b3a36;
  --felt: #cbc6ba;
  --label: #302f2b;
  --label-ink: #e6e1d5;
  --band: #121211;
  --band-ink: #e6e1d5;
  --band-muted: #a29e94;
  --fibre: url(/fibre.svg);
  --doom-green: #a6d4ae;
  --doom-red: #e2836f;
  --doom-grey: #7c786f;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper-tex) 0 0 / 300px 300px, var(--paper);
  color: var(--ink);
  font: 400 1.1875rem/1.62 var(--serif);
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 720px) { body { font-size: 1.25rem; } }
:lang(zh-Hans) body, body:lang(zh-Hans) { font-family: var(--serif), var(--cjk); }
.masthead, main { width: 100%; max-width: calc(var(--stage) + 40px); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
main { flex: 1 0 auto; padding-top: 36px; padding-bottom: 80px; }
.felt-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--muted); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999em; }
.skip:focus { left: 20px; top: 12px; background: var(--paper); padding: 4px 8px; z-index: 20; }

.meta, .langs, .contents-head, .back, .tag-count, .chip, .colophon nav, .colophon .fine, .is-not span, .frame-head, .kicker, .read-on {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
}
:lang(zh-Hans) .meta, :lang(zh-Hans) .contents-head, :lang(zh-Hans) .chip, :lang(zh-Hans) .back { letter-spacing: .06em; }
.meta { color: var(--muted); margin: 0; }
.meta a { text-decoration-color: var(--rule); }

/* The running stitch */
.stitch, .rule-stitch {
  height: 8px;
  background: var(--ink);
  opacity: .5;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x;
  mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x;
}

/* Masthead: the greeting, the felt cover beside the wordmark, the purpose, the sections */
.masthead { position: relative; padding-top: 0; }
.greeting { margin: 0; padding: 7px 20px 8px; text-align: center; font: italic 400 .98rem/1.3 var(--serif); color: var(--band-ink); background: url(/fibre.svg) 0 0 / 240px 240px, var(--band); }
:lang(zh-Hans) .greeting { font-style: normal; }
.mast { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: 30px; align-items: center; padding: 30px 0 22px; }
.cover { display: block; position: relative; padding: 6px; border: 1px solid var(--rule); background: var(--paper); transform: rotate(-1.2deg); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.cover::after { content: ""; position: absolute; inset: 3px; border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent); pointer-events: none; }
.cover:hover { transform: rotate(1deg); }
.cover img { display: block; width: 100%; height: auto; }
.mast-text { text-align: left; }
.experiment { margin-bottom: 10px; }
.masthead-title { margin: 0; line-height: 0; }
.masthead-title a { display: inline-block; text-decoration: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); transform-origin: 10% 80%; }
.masthead-title a:hover { transform: rotate(-1.5deg); }
.wordmark { display: block; width: 100%; max-width: 36rem; height: auto; margin: 0; color: var(--felt); overflow: visible; }
.wordmark text { font: 700 120px/1 var(--serif); fill: currentColor; letter-spacing: -1px; }
.purpose { margin: 14px 0 0; max-width: 44rem; font-size: 1.2rem; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.purpose strong { display: block; font-weight: 600; font-size: 1.55rem; line-height: 1.22; margin-bottom: .3em; text-wrap: balance; }
.masthead-inner .mast { grid-template-columns: 4.6rem minmax(0, 1fr); gap: 16px; padding: 16px 0 12px; }
.masthead-inner .cover { padding: 3px; }
.masthead-inner .cover::after { inset: 1px; }
.masthead-inner .wordmark { max-width: 15rem; }
.masthead-inner .experiment { margin-bottom: 6px; }
.sitebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 18px; padding: 4px 0 6px; }
.sitenav { display: flex; flex-wrap: wrap; gap: 0 4px; }
.sitenav a { font: 600 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: 9px 8px 8px; color: var(--ink); }
.sitenav a:first-child { padding-left: 0; }
.sitenav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
/* Hover only where a pointer can hover: on touch screens a tapped link keeps :hover and would look like a second current page. */
@media (hover: hover) { .sitenav a:hover { box-shadow: inset 0 -2px 0 var(--ink); } }
.masthead-tools { display: flex; align-items: center; gap: 6px; }
.langs { display: flex; gap: 2px; font-family: var(--sans); }
.langs a { display: inline-block; padding: 8px 7px; text-decoration: none; color: var(--muted); }
.langs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.theme-switch { display: none; width: 40px; height: 40px; padding: 8px; border: 0; background: none; color: var(--felt); cursor: pointer; border-radius: 50%; }
.js .theme-switch { display: inline-block; }
@media (hover: hover) { .theme-switch:hover { background: var(--label); } }
.theme-icon { width: 24px; height: 24px; display: block; fill: currentColor; stroke: currentColor; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.theme-switch:hover .theme-icon { transform: rotate(-20deg); }
.theme-icon .rays { fill: none; stroke-width: 2; stroke-linecap: round; }
.theme-icon .sun, .theme-icon .rays { display: none; }
.theme-icon .moon { stroke: none; }
:root[data-theme="dark"] .theme-icon .moon { display: none; }
:root[data-theme="dark"] .theme-icon .sun, :root[data-theme="dark"] .theme-icon .rays { display: inline; }
@media (max-width: 640px) {
  .mast { grid-template-columns: 6rem minmax(0, 1fr); gap: 16px; padding: 20px 0 14px; align-items: start; }
  .purpose, .masthead-home .updated { grid-column: 1 / -1; font-size: 1.05rem; }
  .purpose strong { font-size: 1.25rem; }
  .masthead-home .mast-text { display: contents; }
  .masthead-home .experiment, .masthead-home .masthead-title { grid-column: 2; }
  .masthead-home .cover { grid-row: 1 / span 2; }
}

/* Felt marks */
.marks { display: inline-flex; gap: 1px; vertical-align: -10px; margin-right: .5em; color: var(--felt); }
.mark { display: block; overflow: visible; fill: currentColor; }
.mark .cut { fill: var(--paper); }
.mark .tip { transform-box: fill-box; transform-origin: 20% 100%; transition: transform .4s cubic-bezier(.3, 1.7, .5, 1); }
.mark:hover .tip, .entry:hover .mark:first-child .tip, .lead:hover .mark:first-child .tip, .byline:hover .mark .tip { transform: rotate(-14deg) translateY(-2px); }
.entry:hover .mark:nth-child(2) .tip, .lead:hover .mark:nth-child(2) .tip { transform: rotate(9deg); transition-delay: .06s; }
.entry:hover .mark:nth-child(3) .tip, .lead:hover .mark:nth-child(3) .tip { transform: rotate(-8deg); transition-delay: .12s; }
.entry:hover .mark:nth-child(4) .tip, .lead:hover .mark:nth-child(4) .tip { transform: translateY(-3px); transition-delay: .18s; }

/* Tags: small labels of grey felt, sewn on */
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px 8px; list-style: none; margin: 0; padding: 0; vertical-align: middle; }
.chip {
  display: inline-block; padding: 5px 11px 4px; color: var(--label-ink);
  background: var(--fibre) 0 0 / 240px 240px, var(--label); border-radius: 3px 4px 3px 5px;
  outline: 1px dashed color-mix(in srgb, var(--label-ink) 45%, transparent); outline-offset: -4px;
  text-decoration: none; font-size: .62rem; letter-spacing: .1em;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent);
  transition: transform .3s cubic-bezier(.3, 1.7, .5, 1);
}
.chip:hover { transform: rotate(-2deg) translateY(-1px); }
.chips li:nth-child(2n) .chip:hover { transform: rotate(2deg) translateY(-1px); }

/* Judges' means in small figures */
.judges-means { display: inline-flex; gap: 12px; margin-left: 4px; font: 500 .78rem var(--sans); font-variant-numeric: lining-nums tabular-nums; color: var(--ink); vertical-align: middle; }
.jm { display: inline-flex; align-items: center; gap: 4px; }
.key { width: 12px; height: 12px; overflow: visible; }

/* Figures: thin axes, small sans labels, ink only */
.fig { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.fig text, .spark text { font-size: 12px; fill: var(--muted); }
.fig .label { fill: var(--ink); font-size: 12.5px; }
.fig .tick { text-anchor: middle; font-variant-numeric: lining-nums tabular-nums; }
.fig .tick-y, .fig .tick-end { text-anchor: end; }
.fig .point { font-size: 11px; fill: var(--ink); }
.fig .note { text-anchor: end; font-size: 11px; font-style: italic; }
.grid { stroke: var(--rule); stroke-width: 1; }
.axis { stroke: var(--ink); stroke-width: 1; }
.row { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 3; }
.span { stroke: var(--ink); stroke-width: 1.4; }
.threshold { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 4; }
.line { fill: none; stroke: var(--ink); stroke-width: 1.3; }
.line-recall { stroke-dasharray: 3 3; }
.m-precision { fill: var(--ink); }
.m-recall { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.m-owner { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.faint { opacity: .35; }
.figure { margin: 0; }
.figure figcaption, .hero figcaption { font-style: italic; font-size: .82rem; line-height: 1.45; color: var(--muted); margin-top: .7em; }
:lang(zh-Hans) .figure figcaption { font-style: normal; }
.fig-no { font-style: normal; font-family: var(--sans); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-right: .3em; }

/* The rolling front page */
.lead { max-width: var(--stage); margin: 6px auto 54px; text-align: center; }
.kicker { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin: 0 0 14px; color: var(--muted); }
.kicker > .meta:first-child { color: var(--ink); }
.lead-title { font: 600 clamp(2.4rem, 5.6vw, 4.3rem)/1.02 var(--serif); letter-spacing: -.015em; margin: 0 auto .35em; max-width: 52rem; text-wrap: balance; }
.lead-title a, .entry-title a { text-decoration: none; }
.lead-title a:hover, .entry-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.lead .byline { margin-bottom: 24px; }
.lead-picture { display: block; }
.lead-text { max-width: var(--text); margin: 26px auto 0; text-align: left; }
.lead-text .standfirst { margin: 0 0 .8em; max-width: none; }
.lead-opening p { margin: 0; }
.read-on { margin: 1em 0 0; }
.read-on a { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.read-on a::after { content: " \2192"; }
.front-grid { display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 54px; align-items: start; border-top: 1px solid var(--rule); padding-top: 34px; }
.front-side { display: grid; gap: 34px; }
@media (max-width: 960px) { .front-grid { grid-template-columns: 1fr; } }

/* Lists of posts: date at left, title and abstract in the middle, the square felt picture at right */
.contents-head { color: var(--muted); margin: 0 0 6px; }
.entries { list-style: none; margin: 0; padding: 0; }
.entry { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 11rem; gap: 22px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.entry:last-child { border-bottom: 0; }
.entry-date { padding-top: .55em; }
.entry-title { font: 600 1.65rem/1.15 var(--serif); margin: 0 0 .3em; letter-spacing: -.005em; text-wrap: balance; }
.entry-desc { margin: 0 0 .6em; font-style: italic; color: var(--muted); font-size: 1.02rem; line-height: 1.5; }
:lang(zh-Hans) .entry-desc { font-style: normal; }
.entry-author { margin: 0 0 .5em; font: 500 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.entry-picture { display: block; }
.thumb, .hero-picture { display: block; }
.thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.entry-picture, .lead-picture, .hero { position: relative; padding: 7px; border: 1px solid var(--rule); background: var(--paper); }
.entry-picture::after, .lead-picture::after, .hero::before {
  content: ""; position: absolute; inset: 3px; pointer-events: none;
  border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent);
}
.entry-picture { transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.entry:hover .entry-picture { transform: rotate(1.2deg); }
@media (max-width: 640px) {
  .entry { grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 14px; }
  .entry-date { grid-column: 1 / -1; padding: 0; }
  .entry-text { grid-column: 1; }
  .entry-picture { grid-column: 2; grid-row: 2; padding: 4px; }
  .entry-title { font-size: 1.3rem; }
}

/* The quality panel and the rolling sections */
.quality { padding: 20px 18px 18px; border: 1px solid var(--rule); background: color-mix(in srgb, var(--paper) 70%, var(--label)); }
.frame-head { color: var(--muted); margin: 0 0 .8em; font-weight: 600; }
.frame-head a { text-decoration: none; }
.headlines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.headline { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; font-family: var(--sans); }
.headline .who { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.headline .big { grid-column: 1 / -1; font: 600 1.9rem/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; margin-top: 4px; }
.headline .of { grid-column: 1 / -1; font-size: .7rem; color: var(--muted); }
.headline .model { grid-column: 1 / -1; font-size: .62rem; color: var(--muted); line-height: 1.3; min-height: 1.3em; }
.strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; }
.spark { width: 100%; height: auto; overflow: visible; }
.spark .spark-label { text-anchor: middle; font-size: 8.5px; font-family: var(--sans); fill: var(--muted); }
@media (max-width: 420px) { .strip { grid-template-columns: repeat(4, 1fr); } }
.counts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 16px 0 0; font-family: var(--sans); }
.counts div { border-top: 1px solid var(--rule); padding-top: 6px; }
.counts dt { font-size: .62rem; letter-spacing: .04em; color: var(--muted); line-height: 1.3; }
.counts dd { margin: 2px 0 0; font: 600 1.2rem var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.rolling { border-top: 1px solid var(--rule); padding-top: 14px; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.rolling p { margin: 0; }

/* A post */
.post-head { text-align: center; max-width: 54rem; margin: 18px auto 30px; }
.post-title { font: 600 clamp(2.3rem, 5.4vw, 4.1rem)/1.03 var(--serif); letter-spacing: -.015em; margin: .25em 0 .4em; text-wrap: balance; }
.page .post-title { font-size: clamp(2rem, 4vw, 3rem); }
.byline { margin: 0; font-variant-caps: small-caps; letter-spacing: .04em; font-size: 1.05rem; }
.byline .marks { vertical-align: -9px; }
:lang(zh-Hans) .byline { font-variant-caps: normal; }
.affiliation { margin: .2em 0 .7em; font-style: italic; color: var(--muted); font-size: .95rem; }
.post-meta { margin: 0 0 14px; }
.post-head .chips { justify-content: center; }
.post-head .stitch { margin-top: 26px; }
.hero { max-width: var(--stage); margin: 0 auto 44px; }
.hero img, .lead-picture img { display: block; width: 100%; height: auto; }
.hero figcaption { padding: 0 4px; }
.article-grid { display: grid; grid-template-columns: minmax(0, var(--text)) var(--margin); column-gap: var(--gap); justify-content: center; align-items: start; }
.article-grid .standfirst { grid-column: 1; }
.article-grid .facts { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 24px; }
.article-grid .post-body { grid-column: 1; }
.standfirst { margin: 0 0 1.6em; font-style: italic; font-size: 1.32rem; line-height: 1.45; hyphens: auto; }
:lang(zh-Hans) .standfirst { font-style: normal; color: var(--muted); }
.page .standfirst { font-size: 1.1rem; text-align: center; max-width: 34rem; margin: 0 auto; }
.abstract-label { display: block; font-family: var(--sans); font-style: normal; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4em; }
.page .post-body, .page .post-head + .post-body { max-width: var(--text); margin: 0 auto; }
.post-body { hyphens: auto; overflow-wrap: break-word; }
:lang(zh-Hans) .post-body { hyphens: none; line-height: 1.85; text-align: justify; }
.post-body p { margin: 0 0 1em; }
.article-grid .post-body > p:first-of-type::first-letter {
  float: left; font: 600 4.4em/.82 var(--serif); padding: .06em .09em 0 0; margin-top: .02em; color: var(--ink);
}
:lang(zh-Hans) .article-grid .post-body > p:first-of-type::first-letter { float: none; font: inherit; padding: 0; }
.post-body h2 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 2.4em 0 .9em; }
.post-body h2::before { content: ""; display: inline-block; width: 26px; height: 8px; margin-right: 10px; vertical-align: 1px; background: var(--ink); opacity: .55;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.post-body li { margin: 0 0 .35em; }
.post-body h2.part { font-family: inherit; font-size: 2em; font-weight: 700; line-height: inherit; letter-spacing: normal; text-transform: none; margin: .67em 0; }
.post-body h2.part::before { content: none; }
.post-body hr { border: 0; height: 24px; margin: 2.2em auto; width: 90px; background: var(--felt); -webkit-mask: url(/ornament.svg) center / 90px 24px no-repeat; mask: url(/ornament.svg) center / 90px 24px no-repeat; }
.post-body code { font-size: .88em; }
/* Pull quote: breaks into the margin on wide screens */
.post-body blockquote { margin: 1.6em 0; padding: 18px 0 14px; font: italic 400 1.45rem/1.32 var(--serif); text-wrap: balance; position: relative; }
.post-body blockquote::before, .post-body blockquote::after {
  content: ""; position: absolute; left: 0; right: 0; height: 8px; background: var(--ink); opacity: .5;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x;
}
.post-body blockquote::before { top: 0; }
.post-body blockquote::after { bottom: 0; }
.post-body blockquote p { margin: 0; }
@media (min-width: 1100px) {
  .post-body blockquote { float: right; clear: right; width: var(--margin); margin: .3em calc(-1 * (var(--margin) + var(--gap))) 1em 1.2em; font-size: 1.3rem; }
}

/* Pictures and diagrams in a post */
.post-body figure { margin: 2em 0 2.2em; }
.post-body figure.photo, .post-body figure.diagram { position: relative; padding: 12px; border: 1px solid var(--rule); background: var(--paper); }
.post-body figure.photo::after, .post-body figure.diagram::after {
  content: ""; position: absolute; inset: 5px; pointer-events: none;
  border: 1px dashed color-mix(in srgb, var(--ink) 38%, transparent);
}
.post-body img, .post-body video { display: block; width: 100%; max-width: 100%; height: auto; }
.post-body figcaption { margin: .9em 4px 2px; font-style: italic; font-size: .85rem; color: var(--muted); line-height: 1.45; text-align: left; }
:lang(zh-Hans) .post-body figcaption { font-style: normal; }
.diagram-svg { display: block; width: 100%; height: auto; margin: 4px auto 0; max-width: 32rem; }
.diagram-svg .d-grid { fill: none; stroke: var(--rule); stroke-width: 1; }
.diagram-svg .d-num { font: 400 17px var(--sans); fill: var(--muted); text-anchor: middle; font-variant-numeric: tabular-nums; }
.diagram-svg .d-on { fill: var(--paper); font-weight: 600; }
.diagram-svg .d-prime { fill: var(--felt); }
.diagram-svg .d-count { font: 600 17px var(--sans); fill: var(--ink); text-anchor: middle; }
.diagram-svg .d-bar { fill: var(--ink); opacity: .7; }

/* Source notes: a small numeral in the text, the source's name in the margin on wide screens */
.cite { font-family: var(--sans); font-size: .62em; line-height: 0; margin-left: 1px; font-variant-numeric: lining-nums; }
.cite a { text-decoration: none; color: var(--muted); padding: 0 1px; }
.cite a:hover { color: var(--ink); }
.sidenote { display: none; }
@media (min-width: 1100px) {
  .sidenote {
    display: block; float: right; clear: right; width: var(--margin); margin-right: calc(-1 * (var(--margin) + var(--gap))); margin-top: .3em;
    font: 400 .72rem/1.4 var(--sans); color: var(--muted); text-align: left; hyphens: none;
    padding-top: 6px; border-top: 1px solid var(--rule);
  }
  .sidenote b { font-weight: 600; color: var(--ink); margin-right: .3em; }
  .facts .sidenote { display: none; }
}
.references li:target { background: color-mix(in srgb, var(--label) 70%, transparent); }

/* The frame of a post */
.frame { margin: 0 0 2.4em; }
.frame ul { margin: 0; padding-left: 1.1em; }
.frame li { margin: 0 0 .5em; }
.frame p { margin: 0; }
.facts {
  position: relative; padding: 18px 18px 12px; font: 400 .84rem/1.45 var(--sans);
  background: var(--fibre) 0 0 / 240px 240px, var(--label); color: var(--label-ink); border-radius: 3px 5px 4px 3px;
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent);
  transform: rotate(.4deg);
}
.facts::after { content: ""; position: absolute; inset: 6px; border: 1px dashed color-mix(in srgb, var(--label-ink) 45%, transparent); pointer-events: none; border-radius: 2px; }
.facts .frame-head { color: var(--label-ink); }
.facts ul { list-style: none; padding: 0; }
.facts li { padding-left: 1em; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--label-ink); }
@media (max-width: 1099px) {
  .article-grid { grid-template-columns: minmax(0, var(--text)); }
  .article-grid .facts { grid-column: 1; grid-row: auto; position: static; margin: 0 0 2em; transform: none; }
}
.remember { max-width: 46rem; margin: 3em auto; text-align: center; }
.remember p { font: italic 400 clamp(1.4rem, 2.6vw, 1.9rem)/1.3 var(--serif); text-wrap: balance; }
:lang(zh-Hans) .remember p { font-style: normal; }
.endmatter { max-width: calc(var(--text) + var(--margin) + var(--gap)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); font-size: .88rem; line-height: 1.55; }
.endmatter::before { content: ""; grid-column: 1 / -1; height: 8px; margin-bottom: 2.2em; background: var(--ink); opacity: .45;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; }
.endmatter .sources, .endmatter .how-made { grid-column: 1 / -1; }
@media (max-width: 760px) { .endmatter { grid-template-columns: 1fr; } }
.terms ul, .timeline ul { list-style: none; padding: 0; }
.timeline li { padding-left: 1.1em; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--felt); }
.references { list-style: none; counter-reset: ref; padding: 0; font-size: .85rem; line-height: 1.5; margin: 0; }
.references li { counter-increment: ref; position: relative; padding-left: 2.4em; margin: 0 0 .7em; }
.references li::before { content: "[" counter(ref) "]"; position: absolute; left: 0; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.sources { margin-bottom: 2em; }
.how-made { border-top: 1px dotted var(--rule); border-bottom: 1px dotted var(--rule); }
.how-made summary { cursor: pointer; list-style: none; padding: 14px 0; font: 600 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.how-made summary::-webkit-details-marker { display: none; }
.how-made summary::before { content: "+"; display: inline-block; width: 1.4em; font-weight: 400; transition: transform .3s ease; }
.how-made[open] summary::before { transform: rotate(45deg); }
.how-made ul { margin: 0 0 16px; padding-left: 1.1em; }
.how-made li { margin: 0 0 .5em; }

/* The box above the stage: Precision and Recall */
.box {
  position: relative; max-width: 46rem; margin: 3.5em auto 3em; padding: 70px 26px 22px;
  background: var(--fibre) 0 0 / 240px 240px, var(--label); color: var(--label-ink); border-radius: 4px;
  box-shadow: 0 2px 0 color-mix(in srgb, var(--ink) 16%, transparent);
}
.box::after { content: ""; position: absolute; inset: 7px; border: 1px dashed color-mix(in srgb, var(--label-ink) 45%, transparent); border-radius: 3px; pointer-events: none; }
.balcony { position: absolute; top: -34px; left: 50%; width: 180px; margin-left: -90px; overflow: visible; }
.balcony .head { fill: var(--felt); }
.balcony .hat, .balcony .knot { fill: var(--felt); }
.balcony .rail { fill: var(--felt); }
.box:hover .balcony .head:first-of-type { transform: translateY(-1px); }
.box-head { text-align: center; font: 600 .72rem var(--sans); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; }
.box .figure { margin: 0 0 18px; }
.box .fig text { fill: color-mix(in srgb, var(--label-ink) 75%, transparent); }
.box .fig .label, .box .fig .point { fill: var(--label-ink); }
.box .m-recall { fill: var(--label); }
.means { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; list-style: none; padding: 0; margin: 8px 0 0; font: 500 .8rem var(--sans); }
.means li { display: inline-flex; align-items: center; gap: 6px; }
.means .num { font: 600 1.05rem var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.box figcaption { color: color-mix(in srgb, var(--label-ink) 75%, transparent); }
.box .fig-no { color: var(--label-ink); }
.figure-small .fig { max-width: 28rem; margin: 0 auto; }
.exchange { border-top: 1px solid color-mix(in srgb, var(--label-ink) 25%, transparent); padding-top: 14px; }
.exchange .line { margin: 0 0 .55em; font-size: 1.05rem; line-height: 1.45; }
.speaker { font: 600 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-right: .6em; }
.smallprint { font: 400 .68rem/1.45 var(--sans); color: color-mix(in srgb, var(--label-ink) 72%, transparent); margin: 14px 0 0; }
.smallprint a { color: var(--label-ink); }

/* Critics' faces, the box picture, the exchange */
.avatar { display: inline-block; flex: 0 0 auto; line-height: 0; }
.avatar img { display: block; border-radius: 50%; border: 1px solid var(--rule); width: var(--av, 44px); height: var(--av, 44px); object-fit: cover; }
.box-picture { display: block; position: relative; margin: -52px -10px 14px; padding: 6px; border: 1px solid color-mix(in srgb, var(--label-ink) 30%, transparent); background: var(--paper); transform: rotate(-.6deg); }
.box-picture::after { content: ""; position: absolute; inset: 3px; border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent); pointer-events: none; }
.box-photo img { display: block; width: 100%; height: auto; }
.box { padding-top: 22px; margin-top: 4.5em; }
.box .balcony { display: none; }
.box-head a, .box-front .frame-head a { text-decoration: none; }
.means { gap: 10px 28px; }
.means li { gap: 8px; }
.means .avatar img { --av: 40px; }
.means .who { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.means .model { font-size: .66rem; color: color-mix(in srgb, var(--label-ink) 70%, transparent); }
.exchange .line { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 .7em; }
.exchange .line p { margin: 0; font-size: 1.02rem; line-height: 1.45; }
.exchange .line-recall { flex-direction: row-reverse; text-align: right; }
.exchange .avatar img { --av: 40px; }
.why { margin: 4px 0 18px; border-top: 1px dotted color-mix(in srgb, var(--label-ink) 30%, transparent); }
.why summary { cursor: pointer; list-style: none; padding: 10px 0; font: 600 .66rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.why summary::-webkit-details-marker { display: none; }
.why summary::before { content: "+ "; }
.why[open] summary::before { content: "– "; }
.reasons { width: 100%; border-collapse: collapse; font: 400 .78rem/1.4 var(--sans); }
.reasons th, .reasons td { text-align: left; vertical-align: top; padding: 6px 6px; border-bottom: 1px solid color-mix(in srgb, var(--label-ink) 18%, transparent); }
.reasons th { font-weight: 600; white-space: nowrap; }
.reasons .num { font: 600 .95rem var(--serif); margin-right: 4px; }
.why p { font: 400 .8rem/1.45 var(--sans); margin: 0 0 .5em; }
.dateline { font: italic .8rem var(--serif); color: var(--muted); margin: 0 0 12px; }
.box-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 600 .7rem var(--sans); letter-spacing: .06em; margin: 8px 0 0; }
.box-links a { text-decoration: none; border-bottom: 1px solid currentColor; }
/* The front page's box */
.box-front { position: relative; padding: 18px 18px 16px; background: var(--fibre) 0 0 / 240px 240px, var(--label); color: var(--label-ink); border: 0; border-radius: 4px; margin-top: 40px; }
.box-front::after { content: ""; position: absolute; inset: 6px; border: 1px dashed color-mix(in srgb, var(--label-ink) 40%, transparent); pointer-events: none; border-radius: 3px; }
.box-front .box-picture { margin: -40px -6px 12px; }
.box-front .frame-head { color: var(--label-ink); }
.box-front .fig text { fill: color-mix(in srgb, var(--label-ink) 75%, transparent); }
.box-front .m-recall { fill: var(--label); }
.headline { grid-template-columns: auto 1fr; column-gap: 8px; }
.headline .avatar { grid-row: span 2; }
.headline .avatar img { --av: 44px; }
.headlines { grid-template-columns: repeat(2, 1fr); }
.criteria { width: 100%; border-collapse: collapse; font: 400 .78rem var(--sans); margin: 10px 0 4px; }
.criteria th, .criteria td { padding: 4px 4px; border-bottom: 1px solid color-mix(in srgb, var(--label-ink) 15%, transparent); }
.criteria th { text-align: left; font-weight: 500; }
.criteria th a { text-decoration: none; }
.criteria .num { text-align: right; font: 600 .9rem var(--serif); font-variant-numeric: lining-nums tabular-nums; width: 2.4em; }
.criteria .axis-head { text-align: center; font-size: .62rem; color: color-mix(in srgb, var(--label-ink) 70%, transparent); }
.criteria thead .avatar img { --av: 22px; }
.mini { width: 100%; min-width: 80px; height: 16px; display: block; }
.box-front .counts div { border-color: color-mix(in srgb, var(--label-ink) 18%, transparent); }
.box-front .counts dt { color: color-mix(in srgb, var(--label-ink) 75%, transparent); }
.box-front .exchange { margin-top: 14px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--label-ink) 25%, transparent); }
.box-front .exchange .line p { font-size: .92rem; }
.box-front .exchange .avatar img { --av: 34px; }
.box-front .dateline { color: color-mix(in srgb, var(--label-ink) 70%, transparent); }
/* The box page */
.box-hero { margin-bottom: 30px; }
.critics { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 0 0 24px; }
.critic h2 { margin: .4em 0 .3em; }
.critic .avatar img { --av: 96px; }
@media (max-width: 640px) { .critics { grid-template-columns: 1fr; } }
.page .exchange { padding: 14px 16px; background: var(--label); color: var(--label-ink); border-radius: 4px; margin: 0 0 6px; }
/* Corrections */
.corrections { list-style: none; padding: 0; margin: 0; }
.corrections li { margin: 0 0 .6em; line-height: 1.45; }
.corrections .meta { display: block; }
/* The film and the listening links */
.post-body figure.film { position: relative; margin: 2em 0; padding: 10px; border: 1px solid var(--rule); background: var(--paper); }
.post-body figure.film::after { content: ""; position: absolute; inset: 4px; border: 1px dashed color-mix(in srgb, var(--ink) 38%, transparent); pointer-events: none; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111; position: relative; z-index: 1; }
.listen { margin: 1.4em 0 2em; padding: 14px 16px; background: var(--fibre) 0 0 / 240px 240px, var(--label); border-radius: 4px; }
.listen-head { margin: 0 0 10px !important; font: 600 .68rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--label-ink); }
.listen .chips { display: block; text-wrap: balance; }
.listen .chips li { display: inline-block; margin: 0 6px 8px 0; }
.listen .chip { font-size: .68rem; background: var(--paper); }
.listen .chip span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
/* Scorecard details */
.score-detail { margin: 2em 0 2.4em; }
.score-detail h3 { font-size: 1.2rem; margin: 0 0 .6em; }
.verdict { font: 600 .62rem var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border: 1px dashed var(--muted); border-radius: 3px; vertical-align: 3px; margin-left: 6px; }
.reasons-table td.reason { font-size: .78rem; color: var(--muted); }
.score-detail p { font: 400 .86rem/1.5 var(--sans); }

/* Scorecard */
.table-wrap { overflow-x: auto; margin: 0 0 2em; }
.scores-table { width: 100%; border-collapse: collapse; font: 400 .86rem/1.4 var(--sans); }
.scores-table th { font-weight: 600; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: left; border-bottom: 1px solid var(--ink); padding: 6px 8px; }
.scores-table td { border-bottom: 1px solid var(--rule); padding: 8px; vertical-align: top; }
.scores-table .num { text-align: right; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

.back { margin: 56px 0 0; text-align: center; }
.back a { display: inline-block; padding: 12px 4px; }

/* Tag index */
.page-head { text-align: center; margin-bottom: 40px; }
.tag-group { max-width: var(--text); margin: 0 auto 44px; }
.tag-list { list-style: none; margin: 0; padding: 0; }
.tag-row { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 14px; padding: 14px 0; border-bottom: 1px dotted var(--rule); }
.tag-row .chip { justify-self: start; }
.tag-count { color: var(--muted); font-size: .66rem; }
.tag-def { grid-column: 1 / -1; margin: 0; font-size: 1rem; line-height: 1.5; min-width: 0; }
.is-not { margin: 1em auto 0; max-width: 31rem; font-size: .95rem; color: var(--muted); }
.is-not span { font-size: .66rem; margin-right: .4em; }
.empty { font-style: italic; color: var(--muted); }
main > .entries, main > .contents-head { max-width: 52rem; margin-left: auto; margin-right: auto; }

/* The felt band at the foot */
.colophon { position: relative; margin-top: 24px; color: var(--band-muted); background: url(/fibre.svg) 0 0 / 240px 240px, var(--band); text-align: center; line-height: 1.75; font-size: .95rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
.colophon::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 8px; background: var(--band-ink); opacity: .55;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; }
.colophon::after { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 8px; background: var(--band);
  -webkit-mask: url(/edge.svg) 0 0 / 180px 8px repeat-x; mask: url(/edge.svg) 0 0 / 180px 8px repeat-x; }
.colophon-inner { max-width: calc(var(--text) + 120px); margin: 0 auto; padding: 48px var(--gutter-r) 40px var(--gutter-l); }
.colophon p { margin: 0; text-wrap: balance; }
.colophon a { color: var(--band-ink); text-decoration-color: color-mix(in srgb, var(--band-ink) 40%, transparent); }
.signoff { font-style: italic; color: var(--band-ink); font-size: 1.15rem; margin-bottom: .5em !important; }
:lang(zh-Hans) .signoff { font-style: normal; }
.colophon nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; margin: 14px auto 6px; max-width: 31rem; }
/* The footer's links: centred lines of whole labels, balanced so no label is left alone on the last line. Each
   link is as wide as its words and never broken inside, so a long German or French label takes the room it needs
   instead of running into its neighbour. */
.colophon nav.foot-group { display: block; text-align: center; text-wrap: balance; max-width: 46rem; }
.colophon nav.foot-group a { white-space: nowrap; margin: 0 9px; }
@media (max-width: 420px) { .colophon nav.foot-group a { margin: 0 5px; } .colophon nav a { font-size: .62rem; } }
.foot-small { margin-top: 0 !important; }
.elsewhere { margin-top: 26px; padding-top: 22px; position: relative; }
.elsewhere::before { content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 8px; background: var(--band-ink); opacity: .45;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; }
.elsewhere-head { font: 600 .62rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--band-muted); }
.elsewhere a span { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--band-muted); margin-left: 4px; }
.colophon nav a { display: inline-block; padding: 10px 2px; }
.colophon .fine { font-size: .64rem; letter-spacing: .1em; }

/* The Analytics question, as on the band site: nothing from Google before Accept */
.consent { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; padding: 12px max(14px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left)); background: var(--paper); border-top: 1px solid var(--ink); font: 400 .86rem/1.45 var(--sans); }
.consent[hidden] { display: none; }
.consent p { flex: 0 1 60ch; margin: 0; }
.consent-choices { flex: 0 1 320px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.consent-choices button { overflow-wrap: anywhere; }
.consent-choices button, .consent-panel button { min-height: 44px; padding: 4px 14px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper); color: var(--ink); font: 600 .85rem var(--sans); cursor: pointer; }
.consent-panel { display: grid; gap: 12px; max-width: 60ch; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 3px; margin: 0 0 1em; font-family: var(--sans); font-size: .9rem; }
.consent-panel[hidden] { display: none; }
.consent-panel p { margin: 0; }
.consent-panel [data-state] { display: none; }
.consent-panel[data-choice="allow"] [data-state="allow"], .consent-panel[data-choice="decline"] [data-state="decline"], .consent-panel[data-choice="none"] [data-state="none"] { display: inline; }
.consent-panel .consent-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-panel[data-choice="allow"] .consent-accept, .consent-panel:not([data-choice="allow"]) .consent-withdraw { display: none; }
html.asking body { padding-bottom: calc(var(--consent-room, 0px) + 20px); }

@media (max-width: 560px) {
  .masthead-inner .wordmark { max-width: 10rem; }
  .post-title { font-size: 2.15rem; }
  .standfirst { font-size: 1.15rem; }
  main { padding-top: 24px; }
  .box { padding: 60px 14px 18px; }
  .headlines .big { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .colophon nav, .back, .skip, .langs, .consent, .theme-switch { display: none; }
  .colophon { background: none; color: var(--ink); }
}

/* --- The timeline (timeline.py, timeline.js) -------------------------------------------------------------------
   The field month by month: a stitched axis with a felt dot per event and a density strip beneath, then the list
   on a stitched spine. Ink and felt only; the colour stays in the pictures. */
.tl { max-width: 54rem; margin: 0 auto; }
.tl-head { margin-bottom: 26px; }
.tl-head .standfirst { max-width: 38rem; margin: 0 auto; }
.tl-head .stitch { max-width: 38rem; margin: 26px auto 0; }
.tl-method { max-width: var(--text); margin: 0 auto 30px; font: 400 .9rem/1.55 var(--sans); color: var(--muted); border-top: 1px dotted var(--rule); border-bottom: 1px dotted var(--rule); }
.tl-method summary { cursor: pointer; list-style: none; padding: 12px 0; font: 600 .68rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.tl-method summary::-webkit-details-marker { display: none; }
.tl-method summary::before { content: "+"; display: inline-block; width: 1.4em; font-weight: 400; transition: transform .3s ease; }
.tl-method[open] summary::before { transform: rotate(45deg); }
.tl-method p { margin: 0 0 .8em; }
.tl-method a { color: var(--ink); }
.tl-lang-note { text-align: center; font: italic .9rem var(--serif); color: var(--muted); }

/* The overview: months as ticks on a stitched line, felt dots stacked per month, bars that count them */
.tl-figure { margin: 0 auto 26px; max-width: var(--stage); padding: 14px 12px 10px; border: 1px solid var(--rule); background: var(--paper); position: relative; }
.tl-figure::after { content: ""; position: absolute; inset: 4px; border: 1px dashed color-mix(in srgb, var(--ink) 30%, transparent); pointer-events: none; }
.tl-figure figcaption { font: italic .82rem/1.45 var(--serif); color: var(--muted); margin: 6px 4px 2px; }
.ov, .sc { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.ov-line { stroke: var(--ink); stroke-width: 1.6; stroke-dasharray: 7 5; opacity: .55; }
.ov-tick { stroke: var(--ink); stroke-width: 1.2; opacity: .6; }
.ov-base { stroke: var(--rule); stroke-width: 1; }
.ov-dot { fill: var(--felt); transition: opacity .25s ease; }
.ov-dot.ov-covered { stroke: var(--ink); stroke-width: 2.4; fill: var(--paper); }
.ov-dot.is-off { opacity: .14; }
.ov-bar { fill: var(--ink); opacity: .5; }
.ov-label { font-size: 13px; fill: var(--muted); text-anchor: middle; letter-spacing: .04em; }
.ov-year, .sc-year { font-size: 14px; font-weight: 600; fill: var(--ink); letter-spacing: .06em; }
.ov-hit { fill: transparent; transition: fill .2s ease; }
.ov-month { cursor: pointer; text-decoration: none; }
.ov-month:hover .ov-hit, .ov-month:focus-visible .ov-hit { fill: color-mix(in srgb, var(--label) 70%, transparent); }
.ov-month.is-current .ov-hit { fill: var(--label); }
.ov-month.is-current .ov-label, .ov-month.is-current .sc-label { fill: var(--ink); font-weight: 600; }
.ov-month:focus-visible { outline: none; }
.ov-month:focus-visible .ov-hit { stroke: var(--ink); stroke-width: 2; }
.tl-scrub { display: none; }
.sc-label { font-size: 34px; fill: var(--muted); text-anchor: middle; }
.sc-year { font-size: 26px; }
.sc .ov-line { stroke-width: 3; }
@media (max-width: 700px) {
  .tl-figure { display: none; }
  .tl-scrub {
    display: block; position: sticky; top: 0; z-index: 5; margin: 0 calc(-1 * var(--gutter-l)) 18px calc(-1 * var(--gutter-r));
    padding: 8px var(--gutter-r) 6px var(--gutter-l); background: var(--paper-tex) 0 0 / 300px 300px, var(--paper);
    border-bottom: 1px solid var(--rule); box-shadow: 0 6px 10px -10px color-mix(in srgb, var(--ink) 40%, transparent);
  }
}

/* The controls, shown by timeline.js */
.tl-controls { margin: 0 0 26px; font-family: var(--sans); }
.tl-controls[hidden], .tl-empty[hidden], .tl-clear[hidden] { display: none; }
.tl-row { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 16px; margin: 0 0 12px; }
.tl-label { display: block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.tl-search { flex: 1 1 16rem; }
.tl-q, .tl-month-select {
  width: 100%; min-height: 44px; padding: 8px 12px; font: 400 1rem var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 3px;
}
.tl-q::placeholder { color: var(--muted); opacity: .8; }
.tl-jump { flex: 0 1 13rem; }
.tl-tags { display: block; text-wrap: balance; } /* balanced lines: no filter left alone, whatever the counts */
.tl-tags > li { display: inline-block; margin: 0 6px 8px 0; }
.tl-tag, .tl-covered-only, .tl-clear, .tl-fold, .tl-order { cursor: pointer; font-family: var(--sans); }
.tl-tag { min-height: 32px; padding: 7px 12px 6px; border: 0; }
.tl-tag-n { font-variant-numeric: lining-nums tabular-nums; opacity: .7; margin-left: .25em; }
.tl-tag[aria-pressed="true"] { background: var(--ink); color: var(--paper); outline-color: color-mix(in srgb, var(--paper) 50%, transparent); }
.tl-covered-only, .tl-clear, .tl-fold, .tl-order {
  min-height: 36px; padding: 6px 12px; border: 1.5px solid var(--ink); border-radius: 3px; background: var(--paper); color: var(--ink);
  font-size: .78rem; font-weight: 600;
}
.tl-covered-only[aria-pressed="true"], .tl-fold[aria-pressed="true"], .tl-order[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tl-row-status { align-items: center; }
.tl-status { margin: 0; flex: 1 1 auto; font-size: .82rem; color: var(--muted); }
.tl-keys { margin: 0; font-size: .72rem; color: var(--muted); }
.tl-keys kbd { font: 600 .7rem var(--sans); padding: 1px 5px; border: 1px solid var(--rule); border-bottom-width: 2px; border-radius: 3px; background: var(--paper); color: var(--ink); }
@media (hover: none) { .tl-keys { display: none; } }
.tl-empty { text-align: center; font: italic 1.05rem var(--serif); color: var(--muted); padding: 2em 0; }

/* The list on a stitched spine */
.tl-year[hidden], .tl-month[hidden], .tl-event[hidden] { display: none; }
.tl-year-head { font: 600 clamp(2.2rem, 5vw, 3.2rem)/1 var(--serif); margin: 1.1em 0 .1em; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.tl-year:first-child .tl-year-head { margin-top: .2em; }
.tl-month { scroll-margin-top: 16px; }
.tl-month-head { display: flex; align-items: baseline; gap: 12px; margin: 1.6em 0 .6em; font: 600 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.tl-month-head::before { content: ""; width: 26px; height: 8px; background: var(--ink); opacity: .55; align-self: center;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; }
.tl-month-head a { text-decoration: none; }
.tl-count { font-weight: 500; color: var(--muted); letter-spacing: .08em; }
.is-filtered .tl-count { display: none; }
.tl-events { list-style: none; margin: 0; padding: 0 0 0 30px; position: relative; }
.tl-events::before { content: ""; position: absolute; left: 9px; top: 4px; bottom: 4px; border-left: 2px dashed color-mix(in srgb, var(--felt) 70%, transparent); }
.tl-event { position: relative; display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 2px 18px; padding: 10px 30px 10px 0; border-radius: 3px; scroll-margin-top: 90px; }
.tl-event::before {
  content: ""; position: absolute; left: -27px; top: 17px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--fibre) 0 0 / 120px 120px, var(--felt); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 25%, transparent);
}
.tl-event.is-covered::before { background: var(--paper); box-shadow: 0 0 0 2.5px var(--ink); }
.tl-date { font: 500 .74rem/1.9 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; font-variant-numeric: lining-nums tabular-nums; }
.tl-headline { margin: 0; font: 600 1.12rem/1.32 var(--serif); text-wrap: pretty; }
.tl-anchor { text-decoration: none; }
.tl-toggle {
  display: inline; padding: 0; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .18em; transition: text-decoration-color .2s ease;
}
@media (hover: hover) { .tl-toggle:hover { text-decoration-color: var(--ink); } }
.tl-toggle::before { content: "+"; display: inline-block; width: 1.05em; margin-left: -1.05em; font: 400 1rem var(--sans); color: var(--muted); transition: transform .25s ease; }
.tl-js .tl-body { padding-left: 1.05em; }
.is-open .tl-toggle::before { transform: rotate(45deg); }
.tl-perma { position: absolute; right: 4px; top: 12px; padding: 2px 6px; font: 500 .8rem var(--sans); color: var(--muted); text-decoration: none; opacity: 0; transition: opacity .2s ease; }
.tl-event:hover .tl-perma, .tl-perma:focus-visible { opacity: 1; }
.tl-covered { display: inline-block; margin-left: .5em; padding: 2px 7px 1px; vertical-align: 2px; font: 600 .56rem var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--label-ink); background: var(--fibre) 0 0 / 240px 240px, var(--label); border-radius: 2px; outline: 1px dashed color-mix(in srgb, var(--label-ink) 45%, transparent); outline-offset: -3px; }
.tl-detail { padding-top: 6px; }
.tl-detail[hidden] { display: none; }
.tl-text { margin: 0 0 .6em; font-size: 1.02rem; line-height: 1.55; hyphens: auto; }
.tl-foot { margin: 0 0 .5em; }
.tl-sources { list-style: none; counter-reset: tls; margin: 0; padding: 0; font: 400 .8rem/1.45 var(--sans); color: var(--muted); }
.tl-sources li { counter-increment: tls; position: relative; padding-left: 2em; margin: 0 0 .3em; overflow-wrap: anywhere; }
.tl-sources li::before { content: "[" counter(tls) "]"; position: absolute; left: 0; font-variant-numeric: lining-nums tabular-nums; }
.tl-sources a { color: var(--muted); }
.tl-posts { margin-top: .7em; padding: 10px 12px; border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 3px; }
.tl-posts-head { margin: 0 0 .2em; font: 600 .64rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl-posts ul { list-style: none; margin: 0; padding: 0; font: italic 1rem var(--serif); }
.tl-event.is-open { background: color-mix(in srgb, var(--label) 28%, transparent); }
.tl-event:target, .tl-event.is-flash { animation: tl-flash 1.6s ease-out 1; }
@keyframes tl-flash { from { background: var(--label); } to { background: transparent; } }
@media (max-width: 560px) {
  .tl-events { padding-left: 24px; }
  .tl-events::before { left: 6px; }
  .tl-event { grid-template-columns: 1fr; padding: 8px 4px 10px 0; }
  .tl-event::before { left: -24px; top: 12px; width: 12px; height: 12px; }
  .tl-date { line-height: 1.4; padding: 0; }
  .tl-headline { font-size: 1.06rem; }
  .tl-jump { flex: 1 1 100%; }
  .tl-tags { flex: 1 1 100%; }
  .tl-tag { min-height: 30px; padding: 6px 9px 5px; }
  .tl-row-status { gap: 8px; }
}

/* The front page's strip: the last few events on a stitched line */
.tt { max-width: var(--stage); margin: -18px auto 46px; }
.tt-title { text-align: center; }
.tt-list { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.tt-list::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 8px; background: var(--ink); opacity: .5;
  -webkit-mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; mask: url(/stitch.svg) 0 0 / 96px 8px repeat-x; }
.tt-item { position: relative; }
.tt-item::before { content: ""; position: absolute; left: 0; top: -25px; width: 14px; height: 14px; border-radius: 50%; background: var(--fibre) 0 0 / 120px 120px, var(--felt); }
.tt-item a { display: block; text-decoration: none; }
.tt-item time { display: block; font: 500 .66rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.tt-head { font: 600 1rem/1.3 var(--serif); text-wrap: pretty; hyphens: auto; } /* long German compounds in narrow columns */
.tt-orig { hyphens: auto; }
.tt-item a:hover .tt-head { text-decoration: underline; }
.tt-all { text-align: center; margin-top: 18px; }
@media (max-width: 760px) {
  .tt-list { grid-template-columns: 1fr; gap: 12px; padding: 0 0 0 28px; }
  .tt-list::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 0; height: auto; background: none; opacity: 1; -webkit-mask: none; mask: none;
    border-left: 2px dashed color-mix(in srgb, var(--felt) 70%, transparent); }
  .tt-item::before { left: -28px; top: 3px; width: 12px; height: 12px; }
  .tt { margin-top: 0; }
}
/* The threads as lanes, for an article that draws them */
.diagram-wide .diagram-svg { max-width: none; }
.lanes-svg .d-lane { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 6 5; opacity: .5; }
.lanes-svg .d-lbl { font: 600 12px var(--sans); fill: var(--ink); text-anchor: end; letter-spacing: .02em; }
.lanes-svg .d-ev { fill: var(--felt); }
.lanes-svg .d-axis { stroke: var(--rule); stroke-width: 1; }
.lanes-svg .d-mon { font: 400 11px var(--sans); fill: var(--muted); text-anchor: middle; }
.lanes-svg .d-yr { font: 600 11px var(--sans); fill: var(--ink); }
/* --- end of the timeline --------------------------------------------------------------------------------------- */
/* Authors */
.portrait img, .author-tile .avatar img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid var(--rule); }
.portrait-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--label); color: var(--felt); }
.portrait-mark .mark { width: 40%; height: auto; }
.author-tiles { list-style: none; padding: 0; margin: 0 0 2em; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px; }
.author-tile a { display: grid; gap: 10px; text-decoration: none; justify-items: center; }
.author-tile .portrait, .author-tile .portrait-mark, .author-tile .avatar { width: 120px; }
.author-tile .avatar img { --av: 120px; width: 120px; height: 120px; }
.author-tile-name { font: 600 1.05rem var(--serif); }
.author-tile p { font-size: .85rem; line-height: 1.4; color: var(--muted); text-align: center; margin: 6px 0 0; }
.author-head { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 2em; }
.author-head .portrait, .author-head .portrait-mark { width: 200px; }
.name-meaning { font-style: italic; }
@media (max-width: 640px) { .author-head { grid-template-columns: 1fr; } .author-head .portrait, .author-head .portrait-mark { width: 140px; } }
.author-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; max-width: 46rem; margin: 2.4em auto; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .95rem; }
.author-card .portrait, .author-card .portrait-mark { width: 96px; }
.author-card p { margin: 0 0 .4em; }
.author-card-name { font: 600 1.1rem var(--serif); }
/* Worry or Sweep */
.wos { list-style: none; padding: 0; margin: 0; }
.wos-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.wos-source { grid-column: 1; font: 500 .62rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wos-headline { grid-column: 1; font: 600 1rem/1.3 var(--serif); text-decoration: none; }
.wos-headline:hover { text-decoration: underline; }
.wos-verdict { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.wos-line { grid-column: 1 / -1; font-style: italic; font-size: .92rem; color: var(--muted); }
.front-side .wos-headline { font-size: .9rem; }
.front-side .wos-line { font-size: .82rem; }
.wos-edition { margin-bottom: 2.5em; }
.wos-intro { font-style: italic; color: var(--muted); }
.sources-list { list-style: none; padding: 0; }
.sources-list li { margin: 0 0 .8em; line-height: 1.45; }
.src-note { color: var(--muted); font-size: .9rem; }

.wos-verdict { display: inline-flex; align-items: center; gap: 6px; }
.wos-worry .wos-verdict .chip { background: var(--ink); color: var(--paper); }
.crab-avatar img { --av: 26px; }
.wos-head { display: flex; align-items: center; gap: 8px; }
.wos-head .crab-avatar img { --av: 30px; }
.wos-rule { display: flex; gap: 12px; align-items: center; font-style: italic; color: var(--muted); }
.wos-rule .crab-avatar img { --av: 48px; }


/* p(doom): the one coloured instrument on the site, in two dyed-felt tones. The bands are set in doom.py
   (CALM_MAX, DOOM_MIN): green up to 40 percent, ink between, red from 60 percent. The tones differ in lightness as
   well as hue (paper: dark green, mid red; charcoal: light green, mid red), and colour never carries the meaning
   alone: the number, the line under it and the needle's position do. Contrast of the number: at least 4.5:1 on paper,
   label, charcoal and dark label. */
.doom-name { font-family: var(--serif); font-style: italic; }
.doom-num { font: 600 1.4rem var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--doom-ink); }
.doom-calm { --doom-ink: var(--doom-green); }
.doom-neutral { --doom-ink: var(--ink); }
.doom-doom { --doom-ink: var(--doom-red); }
td.doom-calm { color: var(--doom-green); } td.doom-doom { color: var(--doom-red); }
.dial { display: block; width: 100%; height: auto; overflow: visible; }
.dial-arc { fill: none; stroke-width: 5; stroke-dasharray: 7 3; stroke-linecap: round; opacity: .9; }
.dial-mini .dial-arc { stroke-width: 4; }
.stop-calm { stop-color: var(--doom-green); }
.stop-neutral { stop-color: var(--doom-grey); }
.stop-doom { stop-color: var(--doom-red); }
.dial-tick { stroke: var(--ink); stroke-width: 1.2; }
.dial-num { font: 500 11px var(--sans); fill: var(--muted); text-anchor: middle; }
.dial-sun circle { fill: var(--doom-green); }
.dial-sun path { stroke: var(--doom-green); stroke-width: 1.6; fill: none; stroke-linecap: round; }
.dial-skull path { fill: var(--doom-red); }
.dial-skull .hole { fill: var(--paper); }
.needle path, .hub { fill: var(--ink); }
.dial-calm .needle path, .dial-calm .hub { fill: var(--doom-green); }
.dial-doom .needle path, .dial-doom .hub { fill: var(--doom-red); }
.needle { animation: settle 1.1s cubic-bezier(.3, 1.6, .5, 1) both; transform-box: view-box; }
@keyframes settle { 0% { rotate: 20deg; } 55% { rotate: -5deg; } 80% { rotate: 2deg; } 100% { rotate: 0deg; } }
.doom { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 14px; align-items: center; margin: 4px 0 12px; }
.doom .dial { grid-row: span 2; }
.doom-read, .doom-caption { margin: 0; }
.doom-count { display: block; font: 400 .72rem var(--sans); color: var(--muted); }
.doom-caption { font-size: .82rem; font-style: italic; color: var(--muted); }
.doom-caption a { text-decoration-color: var(--rule); }
.doom-large { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 8px 28px; margin: 0 0 24px; }
.doom-large .doom-num { font-size: 2.6rem; }
.doom-trend { grid-column: 1 / -1; }
.doom-large .box-links { grid-column: 1 / -1; }
.doom-line { stroke: var(--ink); stroke-dasharray: 6 4; fill: none; }
.pt { stroke: var(--paper); stroke-width: 1.5; fill: var(--ink); }
.pt-calm { fill: var(--doom-green); }
.pt-doom { fill: var(--doom-red); }
.axis-label { text-anchor: start; }
.doom-ground { font-size: .95rem; margin: 0 0 1.6em; }
.doom-ground p { margin: 0 0 .4em; }
.doom-notes { font-size: .8rem; margin: 0; }
.wos-worry .wos-verdict .chip { box-shadow: inset 3px 0 0 var(--doom-red); }
.wos-sweep .wos-verdict .chip { box-shadow: inset 3px 0 0 var(--doom-green); }
.doom-teaser { position: relative; display: grid; grid-template-columns: 72px auto; align-items: center; gap: 4px 10px; padding: 8px 12px 8px 8px; color: var(--label-ink); background: var(--fibre) 0 0 / 240px 240px, var(--label); border-radius: 4px; transform: rotate(1deg); justify-self: end; align-self: center; max-width: 19rem; --paper: var(--label); }
.doom-teaser::after { content: ""; position: absolute; inset: 4px; border: 1px dashed color-mix(in srgb, var(--label-ink) 40%, transparent); border-radius: 3px; pointer-events: none; }
.doom-teaser .dial { width: 72px; }
/* The crab sorts the headlines the dial counts: her portrait opens the label, linked to her page. */
.doom-teaser { grid-template-columns: auto 72px auto; }
.doom-teaser .crab-avatar img { --av: 44px; }
.doom-read .avatar-link { display: inline-block; vertical-align: middle; margin-right: 8px; }
.doom-read .crab-avatar img { --av: 44px; }
.doom-large .doom-read .crab-avatar img { --av: 56px; }
.doom-teaser a { text-decoration: none; position: relative; z-index: 1; }
.teaser-text { margin: 0; font: 500 .74rem/1.35 var(--sans); }
.teaser-text .doom-name { font-size: 1rem; }
.teaser-text .doom-num { font-size: 1.25rem; }
.teaser-line { display: block; }
.teaser-what { display: inline-block; font-size: .66rem; text-decoration: underline !important; text-decoration-color: color-mix(in srgb, var(--label-ink) 40%, transparent) !important; color: color-mix(in srgb, var(--label-ink) 80%, transparent); }
.masthead-home .mast { grid-template-columns: 11.5rem minmax(0, 1fr) auto; }
.masthead-home .mast .doom-teaser { order: 3; }
.masthead-inner .mast { grid-template-columns: 4.6rem minmax(0, 1fr) auto; }
.masthead-inner .mast .doom-teaser { order: 3; grid-template-columns: auto 54px auto; padding: 4px 10px 4px 6px; }
.masthead-inner .doom-teaser .crab-avatar img { --av: 34px; }
.masthead-inner .doom-teaser .dial { width: 54px; }
@media (max-width: 900px) {
  .masthead-home .mast { grid-template-columns: 6rem minmax(0, 1fr); }
  .masthead-home .mast .doom-teaser { grid-column: 1 / -1; justify-self: stretch; max-width: none; transform: none; }
}
@media (max-width: 640px) {
  .masthead-inner .mast { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .masthead-inner .mast .doom-teaser { grid-column: 1 / -1; justify-self: start; }
  .doom-large { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .needle { animation: none; } }

/* The editorial team, the referees' cards, linked portraits */
.avatar-link, .portrait-link { display: inline-block; flex: 0 0 auto; line-height: 0; text-decoration: none; border-radius: 50%; }
.headline .avatar-link { grid-row: span 2; }
.byline-link { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.byline-link .author { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--muted); text-underline-offset: .18em; }
.team-opening { font-size: 1.1rem; max-width: 40rem; }
.team-group { margin: 2.2em 0 0; padding-top: 1.2em; border-top: 1px solid var(--rule); }
.team-group h2 { margin-top: 0; }
.team-note { color: var(--muted); font-style: italic; margin: 0 0 1em; }
.team-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 22px; }
.team-card a { display: grid; gap: 10px; justify-items: center; text-decoration: none; }
.team-card .portrait, .team-card .portrait-mark { width: 120px; }
.team-name { font: 600 1.05rem var(--serif); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: .18em; }
.team-card a:hover .team-name { text-decoration-color: var(--ink); }
.team-role { font-size: .85rem; line-height: 1.4; color: var(--muted); text-align: center; margin: 6px 0 0; }
.team-box { display: block; margin: 0 0 1em; }
.team-box img { display: block; width: 100%; height: auto; border-radius: 3px; }
.team-not { margin-top: 2.4em; padding-top: 1em; border-top: 1px dashed var(--rule); font-style: italic; color: var(--muted); }
.team-first { font: 500 .78rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.pr-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 0 0 1.4em; }
.pr-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; }
.pr-card .portrait { width: 120px; }
.pr-card h3 { margin: 0 0 .2em; }
.pr-card p { margin: 0 0 .4em; }
.pr-line { font-style: italic; font-size: 1.02rem; line-height: 1.4; }
.smallprint { font: 400 .74rem/1.45 var(--sans); color: var(--muted); }
.pr-judges { padding-left: 1.2em; }
.judged { list-style: none; padding: 0; }
.judged li { padding: 8px 0; border-bottom: 1px solid var(--rule); }
.judged li { display: flow-root; } /* the floated total stays inside its own item */
.judged .num { font-variant-numeric: lining-nums tabular-nums; font-weight: 600; float: right; }
th .avatar-link { vertical-align: middle; margin-right: 4px; }
th .avatar img { --av: 32px; }
@media (max-width: 720px) { .pr-cards { grid-template-columns: 1fr; } .pr-card { grid-template-columns: 96px minmax(0, 1fr); } .pr-card .portrait { width: 96px; } }
.doom-trend .fig { max-width: 420px; }
.doom .fig text { font-size: 11px; }
.tl-row-order { gap: 6px; }
.tl-scan { margin: 0 0 1.2em; }
.tl-nothing { font-style: italic; text-transform: none; letter-spacing: 0; }
.tt-sub { margin: -.2em 0 .8em; font-size: .9rem; font-style: italic; color: var(--muted); }

/* The front page, from the top: the lead, Worry or Sweep across the full width, the earlier posts as picture cards,
   the timeline strip, then three equal panels: the critics' box, Letters, Corrections. */
.wos-band { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 34px; margin: 0 0 54px; padding: 28px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.wos-band-side { display: grid; gap: 16px; align-content: start; }
.wos-band-crab { display: block; padding: 6px; border: 1px solid var(--rule); background: var(--paper); line-height: 0; }
.wos-band-crab img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.wos-band .doom { margin: 0; }
.wos-band-main .wos-head { margin: 0 0 .3em; flex-wrap: wrap; }
.wos-band-main .wos-head .meta { margin-left: auto; }
.wos-band-main .wos-intro { margin: 0 0 .4em; font-size: .98rem; }
.wos-band-main .wos-row { padding: 10px 0; }
.wos-band-main .wos-headline { font-size: 1.02rem; }
.wos-band-main .wos-line { font-size: .9rem; }
.wos-band-main .box-links { margin: .8em 0 0; font: 500 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.earlier { margin: 0 0 54px; }
.earlier .contents-head { margin: 0 0 18px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 34px 28px; }
.card { display: grid; align-content: start; gap: 8px; }
.card-picture { display: block; padding: 6px; border: 1px solid var(--rule); background: var(--paper); line-height: 0; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .card-picture { transform: rotate(1deg); }
.card-picture img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card .meta { margin-top: 4px; }
.card-title { font: 600 1.45rem/1.15 var(--serif); margin: 0; letter-spacing: -.005em; text-wrap: balance; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.card-desc { margin: 0; font-style: italic; color: var(--muted); font-size: 1rem; line-height: 1.5; }
:lang(zh-Hans) .card-desc { font-style: normal; }
.card .entry-author { margin: 0; }
.cards:has(> .card:only-child) { grid-template-columns: 1fr; }
.cards > .card:only-child { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 34px; }
.cards > .card:only-child .card-picture { grid-row: 1 / span 6; }
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; align-items: start; margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--rule); }
.panels .box-front { margin-top: 40px; }
.panels .rolling { border-top: 0; padding-top: 0; }
.sub-scores { margin: 12px 0 0; }
.sub-scores summary { cursor: pointer; font: 500 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.sub-scores[open] summary { margin-bottom: 10px; }
@media (max-width: 1000px) {
  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panels .box-front { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wos-band { grid-template-columns: 1fr; gap: 18px; }
  .wos-band-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .cards > .card:only-child { grid-template-columns: 1fr; }
  .cards > .card:only-child .card-picture { grid-row: auto; }
}
@media (max-width: 560px) {
  .panels { grid-template-columns: 1fr; }
  .wos-band-side { grid-template-columns: 1fr; }
  .wos-band-main .wos-head .meta { margin-left: 0; width: 100%; }
}
/* Tags on the timeline: on every row, at the top as the filter, on the front page's strip */
.tl-tag, .tl-chip, .tt-tag { text-decoration: none; }
.tl-tag[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tl-row-tags { margin: 0 0 14px; }
.tl-row-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 5px 0 0; padding: 0; list-style: none; }
.tl-row-chips .chip { font-size: .6rem; padding: 3px 7px 2px; }
@media (hover: hover) { .tl-chip:hover { text-decoration: underline; } }
.tl.is-filtered .ov-dot:not(.is-off) { fill: var(--ink); }
.tt-tag { display: inline-block; margin-top: 6px; font-size: .58rem; padding: 3px 7px 2px; }
.tl-tag-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.tl-tag-list > li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.tl-tag-list > li > a { font-weight: 600; }
@media (max-width: 560px) { .tl-row-chips { margin-top: 6px; } }
.tt-item a.tt-tag { display: inline-block; }

/* Our translations of English-only content: the translation reads first, the English original follows in small
   print, marked as the original, so a translated line is never taken for the source's own words. */
.tr-orig { display: block; margin-top: .2em; font: 400 .8em/1.45 var(--serif); font-style: normal; color: var(--muted); letter-spacing: normal; text-transform: none; }
.tr-mark { font: 600 .62rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; margin-right: .4em; color: var(--muted); }
.tl-body > p:has(> .tl-orig), .tl-detail > p:has(> .tl-orig) { margin: .1em 0 .5em; }

/* The meter: tokens per day stacked by phase, in ink tones only (the p(doom) dial is the one coloured instrument);
   tones alternate dark and light so neighbours in a stack stay apart. One figure per model, a toggle without script. */
.fig-meter .seg, .swatch .seg { fill: var(--ink); stroke: var(--paper); stroke-width: .8; }
.seg.ph-research { fill-opacity: 1; }
.seg.ph-timeline { fill-opacity: 0.45; }
.seg.ph-worry-or-sweep { fill-opacity: 0.8; }
.seg.ph-writing { fill-opacity: 0.3; }
.seg.ph-judging { fill-opacity: 0.92; }
.seg.ph-desk { fill-opacity: 0.55; }
.seg.ph-translation { fill-opacity: 0.7; }
.seg.ph-letters { fill-opacity: 0.22; }
.seg.ph-publishing { fill-opacity: 0.62; }
.seg.ph-improvement { fill-opacity: 0.38; }
.seg.ph-retrospective { fill-opacity: 0.85; }
.seg.ph-watchdog { fill-opacity: 0.16; }
.meter-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 8px 0 4px; padding: 0; font: 500 .74rem var(--sans); color: var(--muted); }
.meter-legend li { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 12px; height: 12px; }
.meter-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.meter-toggle label { display: inline-block; margin: 0 6px 8px 0; padding: 6px 10px 5px; font: 600 .7rem var(--sans); letter-spacing: .06em; border: 1px dashed var(--rule); border-radius: 3px; cursor: pointer; }
.meter-toggle input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.meter-toggle input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.meter-fig { display: none; margin: 8px 0 0; }
.meter-fig:only-child { display: block; }
.meter-toggle input:nth-of-type(1):checked ~ .meter-figs .meter-fig:nth-of-type(1),
.meter-toggle input:nth-of-type(2):checked ~ .meter-figs .meter-fig:nth-of-type(2),
.meter-toggle input:nth-of-type(3):checked ~ .meter-figs .meter-fig:nth-of-type(3),
.meter-toggle input:nth-of-type(4):checked ~ .meter-figs .meter-fig:nth-of-type(4),
.meter-toggle input:nth-of-type(5):checked ~ .meter-figs .meter-fig:nth-of-type(5),
.meter-toggle input:nth-of-type(6):checked ~ .meter-figs .meter-fig:nth-of-type(6),
.meter-toggle input:nth-of-type(7):checked ~ .meter-figs .meter-fig:nth-of-type(7),
.meter-toggle input:nth-of-type(8):checked ~ .meter-figs .meter-fig:nth-of-type(8),
.meter-toggle input:nth-of-type(9):checked ~ .meter-figs .meter-fig:nth-of-type(9) { display: block; }
.meter-box { margin: 22px 0; padding: 14px 16px; border: 1px dashed var(--rule); border-radius: 4px; }
.meter-box .frame-head { margin-top: 0; }
.meter-none { font-style: italic; color: var(--muted); margin: .4em 0; }
.meter-table .model-ids { font: 500 .78rem var(--sans); overflow-wrap: anywhere; }
.meter-table .total th, .meter-table .total td { font-weight: 700; border-top: 1px solid var(--ink); }
.meter-article h3, .meter-day h3 { font-size: 1.05rem; margin: 1.2em 0 .4em; }
.meter-article h3 .meta, .meter-day h3 .meta { margin-left: 6px; font-weight: 400; }

/* Checkpoint, the timeline's keeper: a round felt Heinzel the size of a large dot, at the head of every line of
   events. Colours are the felt portrait's and do not change with the theme; a thin dark edge holds the figure on
   light and dark paper. The only motion is a slow breath, off for readers who ask for less motion. */
.cp { display: block; overflow: visible; }
.cp-foot { fill: #7f8a9b; stroke: #1c2029; stroke-width: 1; }
.cp-body { fill: #9ba6b6; stroke: #1c2029; stroke-width: 1.2; }
.cp-shine { fill: #fff; opacity: .22; }
.cp-stitch { fill: none; stroke: #fff; stroke-opacity: .4; stroke-width: .6; stroke-dasharray: 1.2 1.6; }
.cp-ledger { fill: #8a6339; stroke: #2a1d10; stroke-width: .9; }
.cp-pages { fill: #f1e9d6; }
.cp-hand { fill: #8e99aa; stroke: #1c2029; stroke-width: .9; }
.cp-beard { fill: #f7f3ea; stroke: #6f6858; stroke-width: .6; }
.cp-hat { fill: #2b3354; stroke: #10131f; stroke-width: .9; }
.cp-brim { fill: #232a47; }
.cp-eye { fill: none; stroke: #14161a; stroke-width: 1.7; stroke-linecap: round; }
.cp-breath { transform-box: fill-box; transform-origin: 50% 100%; animation: cp-breathe 4.8s ease-in-out infinite; }
@keyframes cp-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.01, 1.025); } }
@media (prefers-reduced-motion: reduce) { .cp-breath { animation: none; } }
.cp-link { display: inline-block; line-height: 0; border-radius: 50%; }
.cp-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cp-inline { vertical-align: middle; margin-right: 2px; }
.cp-inline .cp { display: inline-block; }
.cp-note { font: 500 .7rem var(--sans); letter-spacing: .06em; color: var(--muted); }
/* On the timeline page: the head of the newest month's dashed line. */
.tl-keeper { position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 0 8px; margin-left: -41px; list-style: none; }
.tl-keeper .cp-link { position: relative; z-index: 1; background: var(--paper); border-radius: 50%; }
/* On the front page's strip: the head of the stitched line, before the first point. */
.tt-list.has-keeper { padding-left: 58px; margin-top: 14px; }
.tt-list.has-keeper::before { left: 22px; }
.tt-keeper { position: absolute; left: 0; top: -11px; list-style: none; }
.tt-keeper .cp-link { background: var(--paper); }
/* Filtered timeline pages and a bio's list: the keeper heads the list. */
.tl-tag-list > li.tl-tag-keeper { display: flex; align-items: center; gap: 10px; border-bottom: 1px dashed var(--rule); }
@media (max-width: 760px) {
  .tl-keeper { margin-left: -38px; }
  .tt-list.has-keeper { padding: 56px 0 0 28px; }
  .tt-list.has-keeper::before { left: 6px; top: 48px; }
  .tt-keeper { left: -14px; top: 0; }
}

/* The header's line: when the blog last changed, and what. On the front page each part's moment folds out under it. */
.updated { margin: 6px 0 0; }
.updated-line { margin: 0; font: 500 .74rem/1.45 var(--sans); letter-spacing: .02em; color: var(--muted); text-wrap: balance; }
.updated-line a { color: var(--ink); }
.updated-more { margin-top: 2px; font: 500 .72rem/1.5 var(--sans); color: var(--muted); }
.updated-more summary { cursor: pointer; color: var(--ink); text-decoration: underline dotted; text-underline-offset: 3px; width: max-content; max-width: 100%; }
.updated-more ul { list-style: none; margin: 4px 0 0; padding: 0; }
.updated-more li { margin: 2px 0; }
.updated-more li a { color: var(--ink); margin-right: 4px; }
