/* off policy / edition 01 tokens (brand kit: assets/tokens.css) */
:root {
  --ink: #111111; --paper: #FFFFFF; --gray: #737373; --signal: #E52228; --marker: #F3E52B;
  --text2: #3b3b3b; --line: rgba(17, 17, 17, .13); --sunk: #F4F4F4;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif; --mono: var(--sans);  /* labels, dates, captions and buttons are Geist too; only code is monospaced */
  --code: "Geist Mono", ui-monospace, Menlo, monospace;
  --margin: 64px; --max: 1440px; --measure: 760px; --home: 640px;
}
@media (max-width: 760px) { :root { --margin: 22px; } }
*, *::before, *::after { box-sizing: border-box; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.at-foot { background: var(--ink); }  /* home: past halfway, a bounce off the bottom shows the footer's ink (src/boot.js) */
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/26px var(--sans); -webkit-font-smoothing: antialiased; }
@media (max-width: 760px) { body { font-size: 15px; line-height: 24px; } }
a { color: inherit; } img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--margin); }
.label { font: 400 12px/18px var(--mono); color: var(--gray); margin: 0; }

/* the signature: sliced Geist 800, lowercase, the red square as its full stop */
.wordmark { --wm: var(--ink); display: inline-flex; align-items: baseline; font-size: 46px; line-height: 1; text-decoration: none; white-space: nowrap; }
.wordmark .wm { font: 800 1em/1.25 var(--sans); letter-spacing: -.045em; color: transparent;
  background: repeating-linear-gradient(to bottom, var(--wm) 0 .172em, transparent .172em .2em) 0 .02em; -webkit-background-clip: text; background-clip: text; }
.wordmark .dot { display: inline-block; width: .17em; height: .17em; margin-left: .045em; background: var(--signal); flex: none; }
@media (max-width: 760px) { .wordmark { font-size: 38px; } }

/* buttons and links */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); text-decoration: none; font: 500 15px/20px var(--sans); padding: 13px 18px; }
.btn::after { content: "\2192"; } .btn:hover { background: #000; }
.link { font: 500 15px/20px var(--sans); text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.link:hover { color: var(--signal); border-color: var(--signal); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 0; }
a[target="_blank"].link::after, a[target="_blank"].out::after { content: "\2009\2197"; font-size: .9em; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px 30px; }
.top nav { display: flex; align-items: center; gap: 12px; font: 400 14px/18px var(--mono); }
.top nav a { text-decoration: none; } .top nav a:hover, .top nav a[aria-current] { color: var(--signal); } .top nav span { color: var(--gray); }
@media (max-width: 760px) { .top { flex-direction: column; align-items: flex-start; gap: 14px; padding-block: 26px 18px; } .top nav { font-size: 13px; } }
.top { max-width: calc(var(--measure) + 2 * var(--margin)); } .top .wordmark { font-size: 28px; }  /* as wide as the essay (the home page narrows it below); one wordmark size everywhere */
@media (max-width: 760px) { .top .wordmark { font-size: 25px; } }

/* home: one reading column; a rail of tabs; one line per piece (its living scanline drawing from src/living.js, label and date) and a line under it */
body[data-page="home"] .top { max-width: calc(var(--home) + 2 * var(--margin)); padding-block: 40px 8px; }
body[data-page="home"] .top .wordmark { font-size: 28px; }
body[data-page="home"] .top nav { display: none; }
.home { max-width: calc(var(--home) + 2 * var(--margin)); margin-inline: auto; padding: 56px var(--margin) 0; }
.rail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: 400 14px/22px var(--sans); }
.rail button { flex: none; background: none; border: 0; padding: 4px 0; color: var(--gray); font: inherit; cursor: pointer; white-space: nowrap; }
.rail button:hover { color: var(--ink); }
.rail button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.rail i { flex: 1; min-width: 14px; height: 1px; background: color-mix(in srgb, var(--ink) 32%, var(--paper)); }
.pane[hidden] { display: none; }
.h-row { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 0; }
.h-row .th { display: block; width: 40px; height: 40px; }
.h-row .hd { display: flex; align-items: baseline; gap: 10px; }
.h-row .t { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 15px/22px var(--sans); color: var(--ink); text-decoration: none; transition: color .15s; }
.h-row .t:hover { color: var(--signal); }
.h-row .sp { flex: 1; }
.h-row .tn { flex: 0 1000 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; margin-left: -2px; font: 400 13px/22px var(--sans); color: #a0a09c; white-space: nowrap; transition: opacity .18s ease, transform .18s ease; }
/* with a mouse the theme shows when you point at the row; on touch there is no hover, so it stays, and the whole row is the tap target */
@media (hover: hover) { .h-row .tn { opacity: 0; transform: translateX(-4px); } .h-row:hover .tn { opacity: 1; transform: none; } }
@media (hover: none) { .h-row .t::after { content: ''; position: absolute; inset: 0; } .h-row { -webkit-tap-highlight-color: transparent; } .h-row:active .t { color: var(--signal); } }
.h-row[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 16px; }
.chip { background: none; border: 0; border-bottom: 1px solid transparent; padding: 0 0 1px; font: 400 14px/22px var(--sans); color: var(--gray); cursor: pointer; transition: color .15s, opacity .15s, border-color .15s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.chip.none { opacity: .35; }
.filters[hidden] { display: none; }
.empty { margin: 9px 0; font-size: 13px; color: var(--gray); }
.h-row time { flex: none; font: 400 12px/22px var(--mono); color: var(--gray); font-variant-numeric: tabular-nums; }
.h-row .dek { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 19px; color: var(--gray); }
.about-pane { padding-top: 6px; }  /* no filters above it: a touch more room under the rail */
.about-pane p { margin: 0 0 16px; font-size: 15px; line-height: 24px; color: var(--text2); }
.about-pane a { text-decoration: none; border-bottom: 1px solid var(--line); } .about-pane a:hover { color: var(--signal); border-color: var(--signal); }
@media (max-width: 760px) {
  body[data-page="home"] .top { padding-block: 26px 4px; } body[data-page="home"] .top .wordmark { font-size: 25px; }
  .home { padding-top: 32px; }
  .rail { gap: 10px; }  /* same space under the rail as on desktop */
}

/* from X */
.posts { list-style: none; margin: 0; padding: 4px 0 32px; }
.post { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 6px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.post .d { font: 400 12px/24px var(--mono); color: var(--gray); font-variant-numeric: tabular-nums; }
.post blockquote { margin: 0; font: 400 18px/27px var(--sans); text-wrap: pretty; }
.post .meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 18px; font: 400 12px/18px var(--mono); color: var(--gray); }
.post .meta a { text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink); } .post .meta a:hover { color: var(--signal); border-color: var(--signal); }
.post .views { grid-column: 3; grid-row: 1; font: 400 12px/24px var(--mono); color: var(--gray); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .post { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; } .post .d { grid-row: 1; } .post .views { grid-column: 2; } .post blockquote, .post .meta { grid-column: 1 / -1; } .post blockquote { font-size: 17px; line-height: 25px; } }

/* the closing block, on ink, below the fold: the wordmark, as wide as the page's reading column */
main { min-height: 100vh; }
.ink { --w: var(--measure); background: var(--ink); color: #FAFAF7; margin-top: 96px; }
body[data-page="home"] .ink { --w: var(--home); }
.ink-in { max-width: calc(var(--w) + 2 * var(--margin)); margin-inline: auto; padding: 56px var(--margin) 28px; display: grid; gap: 26px; }
.ink .wordmark { --wm: #FAFAF7; font-size: calc(min(var(--w), 100vw - 2 * var(--margin)) * .11); }
.ink .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; border-top: 1px solid rgba(250, 250, 247, .18); font: 400 12px/18px var(--mono); color: #a3a3a0; }
.ink .foot a { color: inherit; text-decoration: none; } .ink .foot a:hover { color: #FAFAF7; }
@media (max-width: 760px) { .ink { margin-top: 64px; } .ink-in { padding-block: 36px 22px; gap: 18px; } }

/* ================= writeup pages ================= */
.w-head { padding-block: 32px 8px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 12px; }
.w-head > * { grid-column: 1 / -1; }
.w-head.wrap { max-width: calc(var(--measure) + 2 * var(--margin)); border-top: 0; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--margin)) 1px no-repeat; }  /* the title sits on the essay's column */
.w-head .kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 400 12px/18px var(--mono); color: var(--gray); }
.w-head .trail { color: var(--ink); } .w-head .trail i { font-style: normal; color: var(--gray); margin-inline: 2px; }
.w-head .kicker a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); } .w-head .kicker a:hover { color: var(--signal); border-color: var(--signal); }
.w-head h1 { margin: 0; font: 600 44px/48px var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.w-head .sub { margin: -6px 0 0; font: 400 19px/27px var(--sans); letter-spacing: -.01em; color: var(--text2); }
.w-head .actions { gap: 10px 18px; }
.w-head .icon { display: inline-flex; color: var(--ink); } .w-head .icon:hover { color: var(--signal); }
.w-head .by { margin: 0; font-size: 14px; color: var(--text2); }
/* a writeup can carry its home-page drawing beside the title, alive like on the home page */
.w-head.has-art > * { grid-column: 1 / 11; }
.w-head.has-art .art { grid-column: 11 / -1; grid-row: 2 / span 2; justify-self: end; align-self: center; width: 96px; height: 96px; }
@media (max-width: 900px) { .w-head > * { grid-column: 1 / -1; } .w-head h1 { font-size: 36px; line-height: 40px; } }
@media (max-width: 760px) { .w-head.has-art .art { width: 64px; height: 64px; } .w-head.has-art > * { grid-column: 1 / 10; } .w-head.has-art .art { grid-column: 10 / -1; }
  .w-head { padding-block: 24px 6px; } .w-head h1 { font-size: 28px; line-height: 33px; } }

.prose { padding-block: 18px 36px; }
.prose > section, .prose > .lede, .prose > aside, .prose .wrap, .prose .part, .prose .inner { max-width: var(--measure); margin-inline: auto; padding-inline: 0; }
.prose .wide { max-width: var(--measure); margin-inline: auto; padding: 8px 0 0; }
.prose .fed .explorer:not(:fullscreen) { max-width: var(--measure); padding-inline: 0; }  /* Federer's explorer on the essay's column too (full screen still fills the screen) */
.prose section { padding-top: 12px; }
.prose > section:first-child { padding-top: 0; } .prose > :first-child > h2:first-child { margin-top: 8px; }  /* the writeup starts right under its header */
.prose p, .prose li { color: #1d1d1d; }
.prose p { margin: 0 0 20px; }
.prose b, .prose strong { font-weight: 500; color: var(--ink); }  /* a quiet bold: Geist 500 (plain bold would fall through to 800, the site loads no 700) */
/* a section break: space above the rule (margin), between the rule and the heading (padding), then down to the text */
.prose h2, .prose .part h2 { margin: 36px 0 24px; padding-top: 40px; border-top: 1px solid rgba(17, 17, 17, .18); font: 600 24px/30px var(--sans); letter-spacing: -.025em; }
.prose h3, .prose h3.sub-h { margin: 48px 0 14px; font: 600 18px/25px var(--sans); letter-spacing: -.015em; }
.prose h4 { margin: 36px 0 10px; font: 600 16px/24px var(--sans); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(17, 17, 17, .35); }
.prose a:hover { color: var(--signal); text-decoration-color: var(--signal); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; } .prose li { margin: 6px 0; }
.prose code, .prose pre, .prose .mono { font-family: var(--code); }
.prose code { font-size: .86em; background: var(--sunk); padding: 1px 5px; }
.prose figure { margin: 28px 0; } .prose figcaption { font: 400 13px/20px var(--mono); color: var(--gray); margin-top: 10px; }
.prose table > caption { caption-side: bottom; text-align: left; padding-top: 10px; font: 400 13px/20px var(--mono); color: var(--gray); }  /* a table’s caption sits below it, like a figure’s */
.prose figure.plot img { display: block; border: 1px solid var(--line); background: #fff; }
.prose figure.chart img { width: 100%; height: auto; border: 0; }  /* a chart drawn for the page (an SVG): on the paper, no frame */
.prose figure.video video { display: block; width: 100%; height: auto; background: #000; border: 1px solid var(--ink); }
.prose figure.video.tall video { max-width: 440px; margin-inline: auto; }  /* a portrait screen recording: narrower than the column, centred */
/* audio: a square play button, the clip's waveform (click or drag to jump), the time */
.prose figure.audio .ap { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 16px 0 12px; border: 1px solid var(--ink); background: #fff; user-select: none; }
.prose figure.audio .ap button { flex: none; width: 40px; height: 40px; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.prose figure.audio .ap button:hover { background: var(--signal); }
.prose figure.audio .ap button::before { content: ''; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--paper); }
.prose figure.audio .ap.playing button::before { left: 14px; top: 13px; width: 4px; height: 14px; border: 0; background: var(--paper); box-shadow: 8px 0 0 var(--paper); }
.prose figure.audio .wave { flex: 1; min-width: 0; height: 36px; display: flex; align-items: center; gap: 2px; cursor: pointer; overflow: hidden; }
@media (max-width: 760px) { .prose figure.audio .ap { gap: 10px; padding-right: 12px; } .prose figure.audio .wave { gap: 1px; } .prose figure.audio .time { min-width: 0; } }
.prose figure.audio .wave span { flex: 1; min-width: 0; background: rgba(17, 17, 17, .22); height: 12%; transition: height .4s ease; }
.prose figure.audio .wave span.on { background: var(--signal); }
.prose figure.audio .time { flex: none; min-width: 76px; text-align: right; font: 400 12px/1 var(--mono); color: var(--gray); font-variant-numeric: tabular-nums; }
.prose figure.audio audio { display: block; width: 100%; }
.prose figure.audio .ap + audio { display: none; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; margin: 20px 0; }
.prose th, .prose td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 400 12px/18px var(--mono); color: var(--gray); border-bottom-color: var(--ink); }
.table-scroll { overflow-x: auto; margin: 20px 0; } .table-scroll table { margin: 0; min-width: 620px; }
.prose .muted { color: var(--gray); } .prose .small { font-size: 14px; line-height: 21px; }
.prose .date, .prose .meta-links { display: none; }

/* thread sections: our exact words from X */
.prose .thread .big { margin: 8px 0 10px; }
.prose .src { font: 400 12px/18px var(--mono); color: var(--gray); margin: -6px 0 28px; }
.prose .src a { color: var(--ink); text-decoration-color: var(--line); }
.prose .claimbox { border: 1px solid var(--ink); padding: 18px 20px; margin-block: 36px; }
.prose .claimbox .label { margin-bottom: 8px; } .prose .claimbox p:last-child { margin: 0; font-size: 15px; line-height: 23px; }
.prose ul.links { list-style: none; padding: 0; } .prose ul.links li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.prose .finding-title { font-size: 22px; line-height: 28px; }
.prose .finding > .label { margin-top: 48px; }
.prose .finding h2 { font-size: 20px; line-height: 26px; margin-top: 36px; padding-top: 20px; border-top-color: var(--line); }
.prose .finding .status { border: 1px solid var(--line); border-left: 3px solid var(--ink); background: #fff; padding: 14px 18px; margin: 16px 0 24px; font-size: 15px; line-height: 23px; }
.prose .finding .status ul { margin: 6px 0 0; }
.prose .finding p.summary { padding-left: 18px; border-left: 2px solid var(--signal); }
.prose .finding .anim { border: 1px solid var(--line); background: #fff; padding: 14px; margin: 20px 0 26px; }
.prose .finding .anim .ctl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font: 400 12px/18px var(--mono); color: var(--gray); margin-top: 8px; }
.prose .finding .anim button { font: 400 12px/16px var(--mono); padding: 5px 10px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.prose .finding svg { max-width: 100%; height: auto; } .prose .finding svg text { font-family: var(--sans); }
.prose .methods { color: var(--text2); font-size: 15px; line-height: 23px; }

/* wc3env article elements */
.prose .diagram { border: 1px solid var(--line); background: #fff; padding: 16px; }
.prose .diagram svg { width: 100%; height: auto; display: block; }
.prose .diagram text { font-family: var(--sans); fill: var(--ink); }
.prose .diagram .sub, .prose .diagram .label, .prose .diagram .tip { fill: var(--gray); font-size: 12px; }
.prose .diagram .box, .prose .diagram .proc { fill: var(--sunk); stroke: var(--line); }
.prose .diagram .hot { fill: #fff; stroke: var(--signal); stroke-width: 1.5; }
.prose .diagram .arrow { stroke: var(--gray); stroke-width: 1.5; fill: none; }
.prose .diagram .card { fill: #fff; stroke: var(--line); } .prose .diagram .card.accent { stroke: var(--signal); stroke-width: 1.5; }
.prose .diagram .t { font-size: 15px; font-weight: 600; } .prose .diagram .cap { font-family: var(--mono); font-size: 10.5px; fill: var(--gray); }
.prose .diagram .frame { fill: none; stroke: var(--line); stroke-dasharray: 4 4; }
.prose .codebox { border: 1px solid var(--line); background: #fff; margin: 24px 0; overflow: hidden; }
.prose .codebar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--sunk); }
.prose .codebar span { width: 8px; height: 8px; background: #d4d4ce; } .prose .codebar em { font: 400 12px var(--mono); font-style: normal; color: var(--gray); margin-left: 8px; }
.prose pre { margin: 0; background: var(--sunk); padding: 12px 14px; font-size: 12.5px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; max-height: 460px; overflow: auto; }
.prose .codebox pre.code { background: transparent; padding: 16px 18px; font-size: 13px; line-height: 1.7; white-space: pre; overflow-x: auto; max-height: none; }
.prose .code .k { color: var(--signal); } .prose .code .s { color: #4a4a4a; } .prose .code .f { color: var(--ink); font-weight: 600; } .prose .code .n { color: var(--ink); } .prose .code .c { color: var(--gray); font-style: italic; }
.prose table.compare td:first-child { color: var(--gray); white-space: nowrap; width: 1%; padding-right: 20px; }
.prose table.compare th span { font-weight: 400; color: var(--gray); }
.prose details { border: 1px solid var(--line); background: #fff; margin: 10px 0; }
.prose details > summary { cursor: pointer; list-style: none; padding: 12px 16px; font: 500 15px/22px var(--sans); display: flex; gap: 12px; }
.prose details > summary::-webkit-details-marker { display: none; }
.prose details > summary::after { content: "+"; margin-left: auto; color: var(--gray); font-family: var(--mono); } .prose details[open] > summary::after { content: "\2212"; }
.prose details > summary .meta { margin-left: auto; font: 400 12px/22px var(--mono); color: var(--gray); }
.prose .body { padding: 0 16px 14px; } .prose .body p { font-size: 14px; line-height: 21px; color: var(--text2); }
.prose ul.parts { list-style: none; padding: 0; margin: 16px 0 20px; border: 1px solid var(--line); }
.prose ul.parts li { margin: 0; } .prose ul.parts li + li { border-top: 1px solid var(--line); }
.prose ul.parts details { border: 0; margin: 0; } .prose ul.parts details > summary { font-size: 14px; padding: 10px 14px; }
.prose ol.opts { list-style: none; margin: 0; padding: 4px 0; max-height: 460px; overflow: auto; background: var(--sunk); counter-reset: o; }
.prose ol.opts li { counter-increment: o; display: grid; grid-template-columns: 28px 1fr; column-gap: 6px; padding: 8px 14px 8px 8px; font-size: 13px; line-height: 1.5; margin: 0; }
.prose ol.opts li + li { border-top: 1px solid var(--line); }
.prose ol.opts li::before { content: counter(o); grid-row: span 2; text-align: right; color: var(--gray); font: 400 11.5px var(--mono); padding-top: 2px; }
.prose ol.opts b { font: 500 12.5px var(--mono); } .prose ol.opts span { color: var(--gray); }
.prose .answer { list-style: none; padding: 0; margin: 4px 0 18px; font-size: 13.5px; }
.prose .answer li { display: grid; grid-template-columns: 1fr 150px 44px; gap: 10px; align-items: center; padding: 4px 0; margin: 0; }
.prose .answer .track { display: block; height: 6px; background: var(--sunk); } .prose .answer .fill { display: block; height: 100%; background: var(--ink); }
.prose .answer .pct { text-align: right; color: var(--gray); font-variant-numeric: tabular-nums; } .prose .answer li.top .fill { background: var(--signal); } .prose .answer li.top { font-weight: 600; }
.prose .tabs { display: flex; gap: 6px; margin: 0 0 14px; flex-wrap: wrap; }
.prose .tabs button { font: 400 13px/16px var(--mono); color: var(--gray); background: transparent; border: 1px solid var(--line); padding: 7px 12px; cursor: pointer; }
.prose .tabs button:hover { color: var(--ink); } .prose .tabs button[aria-selected="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.prose ul.moments { list-style: none; padding: 0; margin: 0 0 18px; }
.prose ul.moments li { display: flex; gap: 12px; align-items: baseline; padding: 5px 0; margin: 0; font-size: 14px; line-height: 21px; color: var(--text2); }
.prose ul.moments button { flex: none; font: 400 12px/16px var(--mono); color: var(--paper); background: var(--ink); border: 0; padding: 3px 7px; cursor: pointer; }
.prose ul.moments button:hover { background: var(--signal); }
.prose .player { background: #000; border: 1px solid var(--ink); aspect-ratio: 1920 / 816; }
.prose .player video { width: 100%; height: 100%; display: block; }
.prose .breaks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 0; }
.prose .card { border: 1px solid var(--line); background: #fff; padding: 14px 16px; } .prose .card p { font-size: 14px; color: var(--text2); margin: 0; }
.prose .timeline { border-left: 2px solid var(--ink); margin: 16px 0; padding-left: 16px; } .prose .timeline .t { font: 400 12px var(--mono); color: var(--signal); margin-right: 8px; }
@media (max-width: 760px) { .prose { padding-block: 14px 24px; } .prose h2, .prose .part h2 { font-size: 21px; line-height: 27px; margin-top: 28px; padding-top: 30px; margin-bottom: 20px; } .prose .breaks { grid-template-columns: 1fr; } .prose .answer li { grid-template-columns: 1fr 70px 40px; } .prose .thread .big { font-size: 19px; line-height: 26px; } }

/* pieces built from a thread: a pulled quote for the strategy itself */
.prose blockquote.pull { margin: 8px 0 14px; padding: 18px 22px; border-left: 2px solid var(--signal); background: #fff; }
.prose blockquote.pull p { margin: 0; font: 400 17px/27px var(--sans); letter-spacing: -.005em; }
.prose .actions { margin: 6px 0 24px; }
.prose .actions .btn { text-decoration: none; color: var(--paper); }
.prose img { cursor: zoom-in; } .prose a img { cursor: pointer; }
.zoom { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(255, 255, 255, .96); cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 0 0 1px var(--line); }
.blank { min-height: 100vh; display: flex; align-items: center; justify-content: center; } .blank .wordmark { font-size: clamp(56px, 11vw, 150px); }

/* references and how to cite, at the end of a writeup */
sup.cite { font-size: .7em; line-height: 0; margin-left: 1px; } sup.cite a { text-decoration: none; color: var(--blue, #2a6f97); }
.prose .refs ol { padding-left: 24px; font-size: 14px; line-height: 21px; color: var(--text2); } .prose .refs li { margin: 0 0 8px; } .prose .refs li a { color: inherit; }
.prose .refs li:target { background: #fff3c4; }
.prose .cite-this p { font-size: 14px; line-height: 21px; color: var(--text2); }
.prose .bibtex { position: relative; } .prose .bibtex pre { margin: 0; padding: 12px 14px; background: #F4F4F4; font: 400 12px/18px var(--code); overflow-x: auto; white-space: pre; }
.prose .bibtex button { position: absolute; top: 8px; right: 8px; font: 400 11px/14px var(--mono); padding: 4px 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
/* on writeups the closing block is a quiet line, not a poster */
body:not([data-page="home"]) .ink { background: transparent; color: var(--ink); margin-top: 72px; }
body:not([data-page="home"]) .ink-in { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-block: 18px 32px; border-top: 1px solid var(--line); }
body:not([data-page="home"]) .ink .wordmark { --wm: var(--ink); font-size: 17px; }
body:not([data-page="home"]) .ink .foot { border-top: 0; padding-top: 0; color: var(--gray); gap: 8px 18px; } body:not([data-page="home"]) .ink .foot a:hover { color: var(--signal); }

/* the DragonSlayer pipeline schematic: an inline SVG, scrolls sideways on a phone rather than shrinking past legibility */
.prose figure.pipeline .pipe-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.prose figure.pipeline svg { display: block; width: 100%; min-width: 760px; height: auto; }
.prose > pre { margin: 18px 0 20px; }
.prose table.judge th:not(:first-child), .prose table.judge td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.about-rule { border: 0; height: 1px; background: var(--line); margin: 22px 0 18px; }  /* about text, then contact */
/* figure references: quiet links that glide to the figure, which then marks itself for a moment */
.prose a.xref { color: inherit; text-decoration-color: rgba(17, 17, 17, .18); transition: color .15s, text-decoration-color .15s; }
.prose figure[id], .prose table[id], .prose h3[id] { scroll-margin-top: 32px; }
.prose figure:target figcaption, .prose table:target > caption { animation: xref-mark 1.8s ease-out; }
@keyframes xref-mark { 0%, 30% { color: var(--ink); } 100% { color: var(--gray); } }
