/* Boluo Design: tokens + b-* components. https://boluo.design · MIT (see https://boluo.design/license). Light only. */
:root {
  --paper: #fcfcfd;
  --surface: #ffffff;
  --hover: rgba(9, 9, 11, 0.02);
  --ink: #09090b;
  --text: #52525b;
  --text-muted: #6b6b73;
  --text-faint: #a1a1aa;
  --graphite: #3f3f46;
  --line: rgba(24, 24, 27, 0.09);
  --line-strong: rgba(24, 24, 27, 0.18);
  --pineapple: #f5b800;
  --pineapple-pale: #fce7a0;
  --rind: #8a5300;
  --heat-0: #ededf0;
  --heat-1: #d4d4d8;
  --heat-2: #a1a1aa;
  --heat-3: #52525b;
  --heat-4: #09090b;
  --loss: #8a5300;
  --font-sans: var(--font-geist, "Geist"), system-ui, sans-serif;
  --font-mono: var(--font-geist-mono, "Geist Mono"), ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-serif: var(--font-hedvig, "Hedvig Letters Serif"), Georgia, serif;
  --font-hand: var(--font-caveat, "Caveat"), cursive;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-16: 64px;
  --radius-0: 0;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-full: 9999px;
  --rail: 768px;
  --band: 20px;
  --hairline: 1px;
  --mark-sm: 28px;
  --avatar: 112px;
  --shadow-none: none;
}

/* Boluo components. Every value comes from the tokens above (var(--…)); this file only composes them.
   Prefix b- keeps the classes clear of the site's Tailwind utilities. */

/* Sheet: the page ground */
.b-sheet { background: var(--paper); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.b-sheet *, .b-sheet *::before, .b-sheet *::after { box-sizing: border-box; }
.b-sheet ::selection { background: var(--pineapple-pale); color: var(--ink); }

/* Row + rail: a full-width hairline underneath, content in the centred rail framed by vertical hairlines */
.b-row { border-bottom: var(--hairline) solid var(--line); }
.b-rail { max-width: var(--rail); margin: 0 auto; border-left: var(--hairline) solid var(--line); border-right: var(--hairline) solid var(--line); }
.b-pad { padding-left: var(--space-8); padding-right: var(--space-8); }
@media (max-width: 640px) {
  .b-rail { border-left: 0; border-right: 0; }
  .b-pad { padding-left: var(--space-5); padding-right: var(--space-5); }
}

/* Band: the pineapple-skin lattice between sections */
.b-band { height: var(--band); border-bottom: var(--hairline) solid var(--line);
  background-image: repeating-linear-gradient(45deg, var(--line) 0 1px, transparent 1px 7px), repeating-linear-gradient(-45deg, var(--line) 0 1px, transparent 1px 7px); }

/* Type helpers */
.b-caption { font-family: var(--font-mono); font-size: 12px; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.b-meta { font-family: var(--font-mono); font-size: 13px; line-height: 1.4; color: var(--text-muted); }
.b-count { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 4px; vertical-align: super; letter-spacing: 0; }
.b-display { margin: 0; font-size: 48px; line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.b-title { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.b-subtitle { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
@media (max-width: 640px) { .b-display { font-size: 36px; } .b-title { font-size: 21px; } }

/* Links */
.b-link { color: var(--ink); font-weight: 600; text-decoration: underline dotted; text-underline-offset: 4px; }
.b-link:hover { text-decoration-style: solid; }
.b-more { color: var(--text-muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.b-more:hover { color: var(--ink); }
.b-more::after { content: " →"; }

/* Top bar */
.b-topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); padding-bottom: var(--space-3); }
.b-brand { display: flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; }
.b-brand img { width: var(--mark-sm); height: var(--mark-sm); display: block; }
.b-brand span { font-family: var(--font-hand); font-weight: 700; font-size: 26px; line-height: 1; }
.b-nav { display: flex; align-items: center; gap: var(--space-6); font-size: 14px; }
.b-nav a:not(.b-btn) { color: var(--text-muted); text-decoration: none; }
.b-nav a:not(.b-btn):hover, .b-nav a[aria-current="page"] { color: var(--ink); }
.b-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Button: square, outlined, inverts on hover */
.b-btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 36px; padding: 0 var(--space-4); border: var(--hairline) solid var(--line-strong); border-radius: var(--radius-0); background: var(--surface); color: var(--ink); font: 500 14px/1 var(--font-sans); text-decoration: none; cursor: pointer; }
.b-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.b-btn:focus-visible, .b-link:focus-visible, .b-nav a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Tag */
.b-tag { display: inline-block; font-family: var(--font-mono); font-size: 12px; line-height: 1; color: var(--text-muted); border: var(--hairline) solid var(--line-strong); border-radius: var(--radius-sm); padding: 4px 6px; }

/* Section head */
.b-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-10); padding-bottom: var(--space-4); }
.b-section-head .b-caption { display: block; margin-bottom: var(--space-2); }

/* Page header (index pages, 404) */
.b-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); padding-top: var(--space-16); padding-bottom: var(--space-8); }
.b-page-head p { margin: var(--space-3) 0 0; max-width: 520px; }
.b-page-head .b-figure-art { width: 112px; height: 112px; flex-shrink: 0; }
@media (max-width: 640px) { .b-page-head { flex-direction: column-reverse; align-items: flex-start; padding-top: var(--space-10); } .b-page-head .b-figure-art { width: 72px; height: 72px; } }

/* Title block: the engineering-drawing stamp in a corner */
.b-titleblock { display: grid; grid-template-columns: auto auto; border: var(--hairline) solid var(--line-strong); font-family: var(--font-mono); font-size: 11px; line-height: 1; color: var(--text-muted); }
.b-titleblock span { padding: 6px 8px; border-bottom: var(--hairline) solid var(--line); }
.b-titleblock span:nth-child(odd) { border-right: var(--hairline) solid var(--line); }
.b-titleblock span:nth-child(even) { color: var(--ink); }
.b-titleblock span:nth-last-child(-n+2) { border-bottom: 0; }

/* Identity: avatar cell + name */
.b-identity { display: flex; align-items: stretch; }
.b-identity .b-avatar { flex-shrink: 0; width: calc(var(--avatar) + 16px); padding: 8px 8px 0; border-right: var(--hairline) solid var(--line); display: flex; align-items: flex-end; }
.b-identity .b-avatar img { width: var(--avatar); height: var(--avatar); display: block; }
.b-identity .b-who { flex: 1; min-width: 0; padding: var(--space-6) var(--space-8); display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); }
.b-identity .b-who h1 { display: flex; align-items: center; gap: 10px; }
.b-seal { width: 0.6em; height: 0.6em; flex-shrink: 0; }
.b-role { font-family: var(--font-mono); font-size: 14px; color: var(--text); }
.b-caret { display: inline-block; width: 0.55em; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: var(--pineapple); animation: b-blink 1s step-end infinite; }
@keyframes b-blink { 50% { opacity: 0; } }
@media (max-width: 640px) { .b-identity .b-avatar { width: 88px; } .b-identity .b-avatar img { width: 72px; height: 72px; } .b-identity .b-who { padding: var(--space-4) var(--space-5); } }

/* Facts: icon + label list in two columns */
.b-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); padding-top: var(--space-4); padding-bottom: var(--space-4); font-size: 14px; }
.b-fact { display: flex; align-items: center; gap: var(--space-3); padding: 6px 0; color: var(--ink); text-decoration: none; }
.b-fact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-muted); }
a.b-fact span { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
a.b-fact:hover span { text-decoration-color: var(--ink); }
@media (max-width: 640px) { .b-facts { grid-template-columns: minmax(0, 1fr); } }

/* Window: the only framed object (charts) */
.b-window { background: var(--surface); border: var(--hairline) solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.b-window-bar { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; border-bottom: var(--hairline) solid var(--line); }
.b-window-bar i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-full); }
.b-window-body { padding: var(--space-4); }
.b-window svg { display: block; width: 100%; height: auto; }
.b-curve { fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.b-baseline { stroke: var(--line-strong); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.b-point { fill: var(--pineapple); stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.b-point-halo { fill: var(--pineapple); opacity: 0.3; }

/* Figure caption row under a figure */
.b-figcap { display: flex; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-2); }

/* Tracks: three columns, each with its drawing */
.b-tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-track { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); color: inherit; text-decoration: none; border-right: var(--hairline) solid var(--line); }
.b-track:last-child { border-right: 0; }
.b-track:hover { background: var(--hover); }
.b-track img { width: 56px; height: 56px; margin-bottom: var(--space-2); }
.b-track p { margin: 0; font-size: 14px; line-height: 1.5; }
@media (max-width: 640px) { .b-tracks { grid-template-columns: minmax(0, 1fr); } .b-track { border-right: 0; border-bottom: var(--hairline) solid var(--line); padding: var(--space-5); flex-direction: row; align-items: flex-start; gap: var(--space-4); } .b-track:last-child { border-bottom: 0; } .b-track img { width: 40px; height: 40px; margin: 0; } }

/* Heatmap: a year of days as lattice diamonds */
.b-tabs { display: flex; gap: var(--space-4); font-size: 14px; }
.b-tabs button { all: unset; cursor: pointer; color: var(--text-muted); padding-bottom: 4px; }
.b-tabs button[aria-selected="true"] { color: var(--ink); box-shadow: inset 0 -1px 0 var(--ink); }
.b-heat { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 9px); grid-auto-columns: 9px; gap: 3px; overflow-x: auto; padding: 2px 0; }
.b-heat i { display: block; width: 9px; height: 9px; transform: rotate(45deg) scale(0.86); background: var(--heat-0); }
.b-heat i.h1 { background: var(--heat-1); } .b-heat i.h2 { background: var(--heat-2); } .b-heat i.h3 { background: var(--heat-3); } .b-heat i.h4 { background: var(--heat-4); }
.b-heat i.peak { background: var(--pineapple); outline: 1px solid var(--ink); }
.b-heat-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); font-size: 13px; color: var(--text-muted); }
.b-heat-legend { display: flex; align-items: center; gap: 4px; }
.b-heat-legend i { display: block; width: 8px; height: 8px; transform: rotate(45deg) scale(0.86); }

/* Now panel */
.b-now h3 { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.b-live { position: relative; display: inline-block; width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--pineapple); box-shadow: 0 0 0 1px var(--ink); }
.b-now ul { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); font-size: 14px; }
.b-now li { display: grid; grid-template-columns: 14px 1fr; gap: var(--space-2); }
.b-now li img { width: 14px; height: 14px; margin-top: 4px; }
.b-now li p { margin: 0; color: var(--ink); line-height: 1.5; }

/* Article row */
.b-list { list-style: none; margin: 0; padding: 0; }
.b-list > li + li { border-top: var(--hairline) solid var(--line); }
.b-article-row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-6); padding-top: var(--space-5); padding-bottom: var(--space-5); color: inherit; text-decoration: none; }
.b-article-row:hover { background: var(--hover); }
.b-article-row:hover .b-subtitle { text-decoration: underline; text-underline-offset: 4px; }
.b-article-row .b-meta { padding-top: 3px; }
.b-article-row p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.b-article-row .b-read { margin-top: var(--space-2); display: block; }
@media (max-width: 640px) { .b-article-row { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Status */
.b-status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.b-status::before { content: ""; width: 7px; height: 7px; border-radius: var(--radius-full); }
.b-status.live { color: var(--rind); } .b-status.live::before { background: var(--pineapple); box-shadow: 0 0 0 1px var(--ink); }
.b-status.off { color: var(--text-muted); } .b-status.off::before { background: var(--text-faint); }

/* Article header + prose */
.b-crumbs { display: flex; gap: var(--space-2); font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.b-crumbs a { color: inherit; text-decoration: none; } .b-crumbs a:hover { color: var(--ink); }
.b-article-title { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: 40px; line-height: 1.15; color: var(--ink); -webkit-text-stroke: 0.8px currentColor; text-wrap: balance; }
@media (max-width: 640px) { .b-article-title { font-size: 30px; } }
.b-byline { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; }
.b-byline img { width: 28px; height: 28px; border: var(--hairline) solid var(--line); border-radius: var(--radius-full); background: var(--surface); }
.b-toc { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; counter-reset: toc; }
.b-toc li { counter-increment: toc; display: grid; grid-template-columns: 2rem 1fr; }
.b-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); padding-top: 2px; }
.b-toc a { color: var(--text); text-decoration: none; } .b-toc a:hover { color: var(--ink); }
.b-prose { font-size: 17px; line-height: 1.7; color: var(--text); }
.b-prose h2 { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.3; color: var(--ink); -webkit-text-stroke: 0.5px currentColor; margin: 2.2em 0 0.6em; }
.b-prose p { margin: 0 0 1.2em; }
.b-prose strong { color: var(--ink); font-weight: 600; }
.b-prose a { color: var(--ink); font-weight: 600; text-decoration: underline dotted; text-underline-offset: 4px; }
.b-prose a:hover { color: var(--rind); text-decoration-style: solid; }
.b-prose blockquote { margin: 1.6em 0; padding: 0 0 0 var(--space-6); border-left: 0; position: relative; color: var(--ink); font-family: var(--font-serif); font-size: 21px; line-height: 1.45; }
.b-prose blockquote::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 12px; background: var(--pineapple); transform: rotate(45deg); box-shadow: 0 0 0 1px var(--ink); }
.b-prose code { font-family: var(--font-mono); font-size: 0.86em; background: var(--heat-0); padding: 0.15em 0.35em; border-radius: var(--radius-sm); color: var(--ink); }
.b-prose figure { margin: 1.6em 0; }
.b-prose figcaption { margin-top: var(--space-2); }
.b-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.b-prose th { text-align: left; font-weight: 500; color: var(--ink); border-bottom: var(--hairline) solid var(--line-strong); padding: 8px 12px 8px 0; }
.b-prose td { border-bottom: var(--hairline) solid var(--line); padding: 8px 12px 8px 0; }
.b-endmark { display: block; width: 24px; height: 24px; margin: var(--space-10) auto 0; }

/* Footer */
.b-footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-top: var(--space-8); padding-bottom: var(--space-8); }
.b-footer-left { display: flex; align-items: center; gap: var(--space-5); }
.b-stamp { width: 72px; height: 72px; }
.b-socials { display: flex; align-items: center; gap: var(--space-4); }
.b-socials a { color: var(--ink); display: inline-flex; } .b-socials a:hover { opacity: 0.6; }
.b-socials svg { width: 20px; height: 20px; }
.b-colophon { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-3); padding-bottom: var(--space-3); }
.b-colophon img { width: 12px; height: 16px; image-rendering: pixelated; }
@media (max-width: 640px) { .b-footer { flex-direction: column; align-items: flex-start; } }

/* Empty state (404) */
.b-ways a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-4); padding-bottom: var(--space-4); color: var(--ink); font-weight: 500; text-decoration: none; }
.b-ways a:hover { background: var(--hover); }
.b-ways a:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }

/* Loader: the ring turns */
.b-loader { width: 32px; height: 32px; animation: b-turn 1.6s linear infinite; }
@keyframes b-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .b-loader, .b-caret { animation: none; } }

/* ---- Figures: article illustrations ----
   A figure is a drawing on its own sheet: a hairline frame with registration ticks at the corners, a mono
   bar with the figure number and title, the drawing, then the caption under the frame.
   The drawing is an inline SVG that carries only geometry and the f-* classes below, so every figure,
   old or new, takes its look from these rules. One pineapple fill per figure. */
.b-fig { margin: 2.2em 0; }
.b-fig-frame { position: relative; background: var(--surface); border: var(--hairline) solid var(--line-strong); }
.b-fig-frame::after { content: ""; position: absolute; inset: -6px; pointer-events: none;
  background:
    linear-gradient(var(--ink), var(--ink)) left top / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) left top / 1px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right top / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) right top / 1px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) left bottom / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) left bottom / 1px 9px no-repeat,
    linear-gradient(var(--ink), var(--ink)) right bottom / 9px 1px no-repeat, linear-gradient(var(--ink), var(--ink)) right bottom / 1px 9px no-repeat; }
.b-fig-bar { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: 8px 12px; border-bottom: var(--hairline) solid var(--line); }
.b-fig-bar .b-caption:last-child { color: var(--ink); text-align: right; }
.b-fig-body { padding: var(--space-6) var(--space-5); overflow-x: auto; }
.b-fig-body svg { display: block; width: 100%; min-width: 520px; height: auto; margin: 0 auto; }
.b-fig-cap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-3); margin-top: var(--space-3); font-size: 14px; line-height: 1.5; color: var(--text); }
.b-fig-cap .b-meta { display: block; margin-top: 4px; font-size: 12px; }
@media (max-width: 640px) { .b-fig-body { padding: var(--space-4) var(--space-3); } }

/* Drawing primitives (inside the figure's SVG) */
.b-fig svg text { font-family: var(--font-sans); font-size: 13px; fill: var(--ink); }
.b-fig svg .f-t { font-weight: 500; }
.b-fig svg .f-d { font-size: 12px; fill: var(--text); }
.b-fig svg .f-l { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; fill: var(--text-muted); }
.b-fig svg .f-v { font-family: var(--font-mono); font-size: 12px; fill: var(--ink); }
.b-fig svg .f-neg { fill: var(--rind); }
.b-fig svg .f-n { fill: var(--surface); stroke: var(--ink); stroke-width: 1.2; }
.b-fig svg .f-n-soft { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.b-fig svg .f-n-key { fill: var(--pineapple); stroke: var(--ink); stroke-width: 1.2; }
.b-fig svg .f-n-pale { fill: var(--pineapple-pale); stroke: var(--ink); stroke-width: 1.2; }
.b-fig svg .f-zone { fill: var(--heat-0); stroke: none; }
.b-fig svg .f-risk { fill: url(#f-hatch); stroke: var(--ink); stroke-width: 1.2; }
.b-fig svg .f-hatch-line { stroke: var(--ink); stroke-width: 0.8; opacity: 0.35; }
.b-fig svg .f-a { fill: none; stroke: var(--ink); stroke-width: 1.2; marker-end: url(#f-arrow); }
.b-fig svg .f-a-soft { fill: none; stroke: var(--text-muted); stroke-width: 1; stroke-dasharray: 3 3; marker-end: url(#f-arrow-soft); }
.b-fig svg .f-head { fill: none; stroke: var(--ink); stroke-width: 1.2; } .b-fig svg .f-head-soft { fill: none; stroke: var(--text-muted); stroke-width: 1; }
.b-fig svg .f-c { fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.b-fig svg .f-c2 { fill: none; stroke: var(--graphite); stroke-width: 1.6; stroke-dasharray: 5 4; }
.b-fig svg .f-base { stroke: var(--line-strong); stroke-dasharray: 3 4; }
.b-fig svg .f-axis { stroke: var(--line-strong); }
.b-fig svg .f-grid { stroke: var(--line); }
.b-fig svg .f-k { fill: var(--pineapple); stroke: var(--ink); stroke-width: 1; }
.b-fig svg .f-k-off { fill: var(--surface); stroke: var(--ink); stroke-width: 1; }
.b-fig svg .f-bar { fill: var(--heat-1); stroke: var(--ink); stroke-width: 1; }
.b-fig svg .f-bar-neg { fill: url(#f-hatch); stroke: var(--ink); stroke-width: 1; }
.b-fig svg .f-tag { fill: var(--ink); } .b-fig svg .f-tag-t { font-family: var(--font-mono); font-size: 10px; fill: var(--paper); }
/* Insert: the credit that points to boluo.design (plate + credit line) */
/* Plate: a full row that pairs a drawing with one line and a destination */
.b-insert { display: grid; grid-template-columns: 240px minmax(0, 1fr); color: inherit; text-decoration: none; }
.b-insert:hover { background: var(--hover); }
.b-insert:hover .b-more { color: var(--ink); }
.b-insert-fig { display: flex; align-items: center; justify-content: center; padding: var(--space-6); border-right: var(--hairline) solid var(--line); }
.b-insert-fig img { width: 100%; max-width: 180px; display: block; }
.b-insert-body { display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); padding: var(--space-8); }
.b-insert-body p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 420px; }
.b-insert-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-3); }
.b-url { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
@media (max-width: 640px) { .b-insert { grid-template-columns: minmax(0, 1fr); } .b-insert-fig { border-right: 0; border-bottom: var(--hairline) solid var(--line); } .b-insert-body { padding: var(--space-5); } }
/* Credit: one mono line, for the colophon and figure captions */
.b-credit { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; }
.b-credit img { width: 14px; height: 14px; }
.b-credit:hover { color: var(--ink); }
.b-credit:hover u { text-decoration-style: solid; }
.b-credit u { text-decoration: underline dotted; text-underline-offset: 3px; }

