/* Theme, loaded last. Modelled on the article pages at claude.com/resources: an ivory page, near-black ink,
   a serif for headings and a humanist sans for text, warm greys for structure and one clay accent.
   Sky and plum appear only where a drawing has to tell two or three things apart. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(fonts/newsreader-latin-opsz-italic.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/instrument-sans-latin-wght-italic.woff2) format("woff2"); }

:root {
  --paper: #faf9f5;
  --card: #ffffff;
  --ink: #141413;
  --ink-2: #5e5d59;
  --ink-3: #87867f;
  --cream: #f0eee6;
  --tile: #f5f4ed;
  --line: #d1cfc5;
  --line-soft: #e8e6dc;
  --accent: #d55e00;
  --clay: #d55e00;
  --clay-deep: #d55e00;
  --clay-ink: #a84a00;
  --peach: #f3cfb3;
  --peach-soft: #fdeadb;
  --sky: #6a9bcc;
  --sky-ink: #3f6c99;
  --sky-soft: #eaf1f8;
  --plum: #827dbd;
  --plum-ink: #5a5596;
  --virtual: var(--sky);
  --real: var(--clay);
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  --display: var(--sans);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", serif;
  --mono: var(--sans);
  --r: 12px;
}

body { background: var(--paper); color: var(--ink); font-family: var(--sans); }
::selection { background: var(--peach); color: var(--ink); }
:focus-visible { outline-color: var(--clay-deep); }
a:hover { color: var(--ink); }

/* ---------- head ---------- */
.blog-head { padding: clamp(72px, 12vh, 132px) 0 52px; }
.blog-head h1 {
  margin: 0 0 34px; font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(33px, 3.5vw, 50px); line-height: 1.16; letter-spacing: -.012em;
}
.blog-meta { margin: 0; gap: 18px 30px; font-size: 15px; line-height: 1.5; }
.blog-meta > div { display: grid; grid-template-columns: 20px auto; gap: 0 10px; align-items: start; }
.blog-meta svg { grid-row: 1 / span 2; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--ink-2); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.blog-meta dt { margin: 0 0 2px; font: 400 12px/1.6 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--ink-2); }
.blog-meta dd { margin: 0; font-weight: 500; color: var(--ink); }
.blog-meta a, .blog-meta button { font-weight: 500; text-decoration: none; }
.blog-meta a:hover, .blog-meta button:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-3); text-underline-offset: 3px; }
.blog-rule { border-top-color: var(--line-soft); margin-bottom: 64px; }

/* ---------- contents ---------- */
.blog-toc { top: 40px; }
.blog-toc p { margin: 0 0 8px; font: 400 12px/1.6 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--ink-2); }
.blog-toc a { padding: 8px 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); transition: color .2s; }
.blog-toc a:hover { color: var(--ink); }
.blog-toc a.on { color: var(--ink); font-weight: 400; }

/* ---------- the reading column ---------- */
.blog-body { font-size: 19px; line-height: 1.68; color: var(--ink); }
.blog-body p { margin: 0 0 28px; }
.blog-body h2 {
  margin: 76px 0 22px; font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(29px, 2.7vw, 36px); line-height: 1.25; letter-spacing: -.008em;
}
.blog-body h3 { margin: 52px 0 18px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.22; letter-spacing: -.004em; }
.blog-body h4 { margin: 40px 0 14px; font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.25; }
.blog-body ul, .blog-body ol.steps-list { margin: 0 0 28px; padding-left: 26px; }
.blog-body li { margin-bottom: 10px; padding-left: 4px; }
.blog-body li::marker { color: var(--ink); }
.blog-body strong { font-weight: 600; color: var(--ink); }
.blog-body a { color: var(--ink); text-decoration: underline; text-decoration-color: #b0aea5; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.blog-body a:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* ---------- figures: white cards on the ivory page ---------- */
.blog-body figure, .blog-body .chart, .blog-body .reveal[data-tabs] { margin: 44px 0 48px; }
.blog-body figure > .dg, .blog-body .chart, .blog-body .reveal[data-tabs] {
  background: var(--card); border: 0; border-radius: 16px; padding: clamp(18px, 3.2vw, 32px);
}
.blog-body figcaption, .blog-body .caption { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.blog-body figcaption b, .blog-body .caption b { font-weight: 600; color: var(--ink); }
.blog-body .kicker, .eyebrow, .kicker { font: 400 12px/1.5 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--ink-2); }
.blog-body .paper-fig img { border: 0; border-radius: 16px; }

/* ---------- tables ---------- */
.blog-body table { margin: 8px 0 36px; font-size: 16px; line-height: 1.5; }
.blog-body th { padding: 10px 16px 10px 0; font: 400 12.5px/1.4 var(--sans); letter-spacing: .01em; text-transform: none; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.blog-body td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line-soft); }
.blog-body td.num { color: var(--ink); }
.blog-body td.num:last-child { color: var(--clay-ink); }
.blog-body td small { font-size: 13.5px; font-weight: 400; color: var(--ink-2); }

/* ---------- button ---------- */
.blog-body .cta-row { margin-top: 40px; }
.blog-body .btn { padding: 11px 20px; border-radius: 9px; border: 1px solid var(--line); font-size: 15.5px; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s; }
.blog-body .btn:hover { background: var(--cream); color: var(--ink); }
.blog-body .btn.solid { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.blog-body .btn.solid:hover { background: #30302e; border-color: #30302e; color: var(--paper); }
.totop { border-color: var(--line-soft); border-radius: 10px; background: rgba(255, 255, 255, .92); }
.totop:hover { border-color: var(--line); }
.totop svg { stroke: var(--ink); }

/* ---------- references and team ---------- */
.blog-body details.acc { margin: 0; border-top: 1px solid var(--line-soft); border-bottom: 0; }
.blog-body details.acc:first-of-type { margin-top: 88px; }
.blog-body details.acc:last-of-type { border-bottom: 1px solid var(--line-soft); }
.blog-body details.acc summary { padding: 22px 0; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.blog-body details.acc summary::after { font-family: var(--sans); font-size: 22px; font-weight: 300; color: var(--ink-2); }
.blog-body details.acc .inner { padding: 0 0 30px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.blog-body ol.refs { margin: 0; padding-left: 26px; }
.blog-body ol.refs li { margin-bottom: 9px; padding-left: 4px; }
.blog-body ol.refs li::marker { color: var(--ink-3); font-size: 13px; }
.blog-body ol.refs a { color: var(--ink); }
.blog-body .team-label { margin: 14px 0 6px; font: 400 12px/1.6 var(--sans); color: var(--ink-2); }
.blog-body .team-label:first-child { margin-top: 0; }
.blog-body .team-names { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.blog-body .team-note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.blog-body details.acc sup { font-size: .68em; line-height: 0; margin-left: 1px; color: var(--ink-2); }

/* ---------- flow diagrams ----------
   Tiles are warm grey on the white card. The model is the dark tile; what reaches the robot is peach;
   whatever is being passed along, or looped back, is drawn in clay. */
.blog-body .n { background: var(--tile); border: 1px solid var(--line-soft); border-radius: 9px; color: var(--ink); font-size: 13.5px; font-weight: 500; }
.blog-body .n small, .blog-body .stack .lab, .blog-body .group > small, .blog-body .parts small {
  font: 400 11px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2);
}
.blog-body .n .sub { color: var(--ink-2); }
.blog-body .n b { font: 500 11px/1 var(--sans); color: var(--ink-3); }
.blog-body .n.k { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 500; }
.blog-body .n.k small, .blog-body .n.k .sub { color: #b0aea5; }
.blog-body .n.out { background: var(--peach-soft); border-color: #f0d6c6; color: var(--clay-ink); font-weight: 600; }
.blog-body .n.out small { color: #a8644a; }
.blog-body .n.acc { background: #fff; border: 1px dashed var(--clay); color: var(--clay-ink); }
.blog-body .n.ic svg { stroke: var(--ink); }
.blog-body .n.k.ic svg { stroke: var(--paper); }
.blog-body .a { background: #9c9a92; }
.blog-body .a::after { border-left-color: #9c9a92; }
.blog-body .a.both::before { border-right-color: #9c9a92; }
.blog-body .a.v::after { border-left-color: transparent; border-top-color: #9c9a92; }
.blog-body .a span, .blog-body .ticks span { font: 400 11px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.blog-body .ticks span::before { color: var(--ink-3); }
.blog-body .a.q { background: none; border-top-color: var(--clay); }
.blog-body .a.q span { border-color: var(--clay-deep); color: var(--clay-deep); background: #fff; }
.blog-body .a .dot, .blog-body .rail .dot { background: var(--clay-deep); box-shadow: 0 0 0 3px rgba(217, 119, 87, .22); }
.blog-body .n.live, .blog-body [data-step].live .n { border-color: var(--clay-deep); box-shadow: 0 0 0 1px var(--clay-deep); }
.blog-body .n.k.live { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(217, 119, 87, .55); }
.blog-body .n.out.live { background: #f3d8c8; border-color: var(--clay-deep); box-shadow: 0 0 0 1px var(--clay-deep); }
.blog-body .group { --dgbg: var(--tile); background: var(--tile); border: 0; border-radius: 12px; padding: 12px 12px 12px; }
.blog-body .group .n { background: #fff; }
.blog-body .group .n.k { background: var(--ink); }
.blog-body .group .n.out { background: var(--peach-soft); }
.blog-body .group.acc { --dgbg: var(--peach-soft); background: var(--peach-soft); }
.blog-body .group.acc > small { color: var(--clay-deep); font-weight: 600; }
.blog-body .gnote { color: var(--clay-ink); }
.blog-body .rail { border-color: #b0aea5; }
.blog-body .rail::before { border-bottom-color: #b0aea5; }
.blog-body .rail span { font: 400 11.5px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.blog-body .rail.acc, .blog-body .rail.live { border-color: var(--clay); border-style: solid; }
.blog-body .rail.acc::before, .blog-body .rail.live::before { border-bottom-color: var(--clay); }
.blog-body .rail.acc span, .blog-body .rail.live span { color: var(--clay-deep); }
.blog-body .parts > div { border-top-color: var(--line-soft); }
.blog-body .dg-h { border-bottom-color: var(--line); font-weight: 600; }
.blog-body .dg-h b { font: 500 12px/1 var(--sans); color: var(--clay-deep); }
.blog-body .dg-note { color: var(--ink-2); }
.blog-body .dg.hl .n.on { border-color: var(--clay-deep); box-shadow: 0 0 0 1px var(--clay-deep); }
.blog-body .dg.hl .n.k.on { box-shadow: none; }

/* ---------- the pathway: virtual in sky, real in clay, their overlap in plum ---------- */
.blog-body .eva-svg .st { stroke: var(--ink); }
.blog-body #ev-v { stroke: var(--sky); fill: var(--sky-soft); }
.blog-body #ev-grat { stroke: #a9c3de; }
.blog-body #ev-r { stroke: var(--clay); }
.blog-body #hatch line { stroke: var(--peach); }
.blog-body #ev-lens { fill: var(--plum); }
.blog-body #ev-lv { fill: var(--sky-ink); }
.blog-body #ev-lr { fill: var(--clay-ink); }
.blog-body .svg-k { font: 400 10.5px/1 var(--sans); letter-spacing: 0; text-transform: none; fill: var(--ink-2); }
.blog-body .svg-l { fill: var(--ink); }
.blog-body .svg-n { fill: var(--ink-2); }
.blog-body .eva-svg .thin { stroke: #b0aea5; }
.blog-body .eva-note { color: var(--ink-2); }
.blog-body .iso polygon, .blog-body .iso path, .blog-body .iso ellipse, .blog-body .iso polyline { stroke: #30302e; }
.blog-body .iso .iso-soft { stroke: #9c9a92; }
.blog-body .iso .iso-ground { fill: var(--cream); stroke: none; }
.blog-body .iso.wire polygon, .blog-body .iso.wire path, .blog-body .iso.wire ellipse, .blog-body .iso.wire polyline { stroke: var(--sky); }

/* tabs beside a figure */
.blog-body .figure-label { border-bottom-color: var(--line-soft); }
.blog-body .tab { display: flex; flex-direction: column; justify-content: flex-start; border-top-color: var(--line-soft); font-size: 14px; font-weight: 500; color: var(--ink-3); }
.blog-body .tab b { font: 500 11.5px/1 var(--sans); letter-spacing: 0; color: inherit; }
.blog-body .tab::before { background: var(--clay-deep); }
.blog-body .tab:hover, .blog-body .tab[aria-selected="true"] { color: var(--ink); }
.blog-body .tab[aria-selected="true"] b { color: var(--clay-deep); }
.blog-body .badge { background: var(--peach-soft); color: var(--clay-ink); font: 500 11px/1.5 var(--sans); letter-spacing: 0; padding: 1px 8px; }
.blog-body .panel .kicker { color: var(--clay-deep); }
.blog-body .panel h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.22; letter-spacing: -.004em; }
.blog-body .panel p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.blog-body .panel .detail-rule { border-top-color: var(--line-soft); }
.blog-body .auto { padding: 5px 12px; border-color: var(--line); border-radius: 8px; font: 500 12.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.blog-body .auto:hover { color: var(--ink); border-color: var(--ink-3); }

/* ---------- charts ---------- */
.blog-body .chart-top { border-bottom-color: var(--line-soft); }
.blog-body .chart-top strong { font-size: 15px; font-weight: 600; }
.blog-body .chart-svg .grid { stroke: var(--line-soft); }
.blog-body .chart-svg .grid.v { stroke: var(--line); }
.blog-body .chart-svg .tick { font: 400 10.5px/1 var(--sans); fill: var(--ink-3); }
.blog-body .chart-svg .lead { stroke: var(--line); }
.blog-body .chart-svg .l-vla { stroke: var(--sky); stroke-width: 1.7; }
.blog-body .chart-svg .l-wam { stroke: var(--plum); stroke-width: 1.7; stroke-dasharray: none; }
.blog-body .chart-svg .l-agentic { stroke: var(--clay-deep); stroke-width: 2.6; }
.blog-body .chart-svg text.end { stroke: none; fill: var(--ink-2); }
.blog-body .chart-svg text.end.l-vla .num { fill: var(--sky-ink); }
.blog-body .chart-svg text.end.l-wam .num { fill: var(--plum-ink); }
.blog-body .chart-svg text.end.l-agentic .num { fill: var(--clay-ink); }
.blog-body .chart-svg .dot { fill: #fff; }
.blog-body .trend-head { stroke: var(--ink-3); }
.blog-body .trend-date { fill: var(--ink-2); }
.blog-body .bar { border-bottom-color: var(--line-soft); font-size: 14px; }
.blog-body .bar .name span { color: var(--ink-3); }
.blog-body .bar .track { background: var(--cream); border-radius: 3px; }
.blog-body .bar .fill { background: var(--clay); border-radius: 3px; }
.blog-body .bar .fill.alt { background: #b0aea5; }
.blog-body .bar.two .track { background: none; }
.blog-body .bar .val { font: 500 12.5px/1.5 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink); }
.blog-body .legend { font-size: 12.5px; color: var(--ink-2); }
.blog-body .legend span:first-child i { background: var(--clay) !important; }
.blog-body .legend span:last-child i { background: #b0aea5 !important; }
.blog-body .seg { padding: 3px; border: 0; border-radius: 9px; background: var(--cream); overflow: visible; }
.blog-body .seg button { padding: 5px 12px; border-radius: 7px; font: 500 12.5px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.blog-body .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 19, .1); }

@media (max-width: 820px) {
  .blog-head { padding-top: 60px; }
  .blog-meta { gap: 16px 28px; }
  .blog-toc { border-bottom-color: var(--line-soft); }
  .blog-body { font-size: 17.5px; line-height: 1.65; }
  .blog-body h2 { margin-top: 60px; }
  .blog-body h3 { font-size: 23px; }
  .blog-body details.acc summary { font-size: 20px; }
  .blog-body .a.q { border-top: 0; border-left-color: var(--clay); }
}

/* ---------- the paper's Figure 1, playing ----------
   The stages arrive in the order the story is told, then the drawing keeps moving: dotted paths flow,
   speech bubbles travel from the human to the first language model, chevrons point the way. */
.blog-body .paper-fig .f1-wrap { background: #fff; border-radius: 16px; overflow: hidden; }
.f1 { display: block; width: 100%; height: auto; }
.f1-t { font: 500 46px/1 var(--serif); letter-spacing: -.4px; fill: var(--ink); }
.f1-t .to { fill: var(--ink-3); }
.f1-h { font: 600 29px/1 var(--sans); fill: var(--ink); }
.f1-qm { font: 700 40px/1 var(--sans); fill: #BF5AF2; }
.f1-all { transition: opacity .5s; }
.f1.out .f1-all { opacity: 0; }
.f1.anim .s { opacity: 0; }
.f1.anim.play .s { animation: f1-in .75s var(--ease) both; animation-delay: calc(var(--i) * .36s + .15s); }
.f1.anim .f1-draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.f1.anim.play .f1-draw { animation: f1-draw 1.5s ease-in-out both; animation-delay: calc(5 * .36s + .15s); }
@keyframes f1-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes f1-draw { to { stroke-dashoffset: 0; } }

.f1-march { animation: f1-march .7s linear infinite; }
@keyframes f1-march { to { stroke-dashoffset: var(--p, -11); } }
.f1-chev path { animation: f1-chev 1.5s ease-in-out infinite; }
.f1-chev path:nth-child(2) { animation-delay: .18s; }
.f1-chev path:nth-child(3) { animation-delay: .36s; }
@keyframes f1-chev { 0%, 100% { opacity: .25; } 45% { opacity: 1; } }
.f1-float, .f1-swim, .f1-hop, .f1-q, .f1-halo, .f1-node { transform-box: fill-box; transform-origin: center; }
.f1-float { animation: f1-float 5.5s ease-in-out infinite; }
.f1-float.f1-late { animation-delay: -2.2s; }
@keyframes f1-float { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-5px); } }
.f1-swim { animation: f1-swim 3.2s ease-in-out infinite; }
@keyframes f1-swim { 0%, 100% { transform: translateX(-7px); } 55% { transform: translateX(3px); } }
.f1-hit { animation: f1-hit 3.2s ease-in-out infinite; }
@keyframes f1-hit { 0%, 40%, 100% { opacity: 0; } 55%, 72% { opacity: 1; } }
.f1-hop { animation: f1-hop 3.6s ease-in-out infinite; }
@keyframes f1-hop { 0%, 62%, 100% { transform: none; } 70% { transform: translateY(-9px); } 78% { transform: none; } 85% { transform: translateY(-5px); } 92% { transform: none; } }
.f1-cone { animation: f1-cone 3.6s ease-in-out infinite; }
@keyframes f1-cone { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.f1-q { animation: f1-q 2s ease-in-out infinite; }
@keyframes f1-q { 0%, 100% { transform: none; } 50% { transform: scale(1.09); } }
.f1-halo { animation: f1-halo 3s ease-in-out infinite; }
@keyframes f1-halo { 0%, 100% { transform: scale(.9); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
.f1-glow { animation: f1-glow 2.4s ease-in-out infinite; }
@keyframes f1-glow { 0%, 100% { opacity: .18; } 50% { opacity: .5; } }
.f1-flow { animation: f1-march 1.1s linear infinite; --p: -39; }
.f1-node { animation: f1-node 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes f1-node { 0%, 100% { transform: none; } 50% { transform: scale(1.35); } }
.f1-tip { animation: f1-tip 1.4s ease-in-out infinite; }
@keyframes f1-tip { 0%, 100% { transform: none; } 50% { transform: translateY(5px); } }

/* the figure keeps to the reading column like every other figure; on a phone it scrolls sideways so the labels stay legible */
@media (max-width: 820px) {
  .blog-body .paper-fig .f1-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .f1 { width: 780px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .f1 *, .f1 { animation: none !important; }
  .f1-tok { display: none; }
}

/* boxes outside a group sit on the same line as the boxes inside it (the group's own label and padding set the drop) */
.blog-body .flow:has(> .group) { --drop: 34px; }

/* a reference number after a claim, linking to the paper */
.blog-body sup.cite { font-size: .68em; line-height: 0; margin-left: 2px; color: var(--ink-2); }
.blog-body sup.cite a { color: var(--ink-2); text-decoration: none; }
.blog-body sup.cite a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- flow diagrams drawn as SVG (build/diagrams.py) ----------
   Ink outlines, a bold title over a grey line, grey panels, orange arrows; the active part glows peach. */
.blog-body figure > .fx-wrap { background: #fff; border-radius: 16px; padding: clamp(14px, 2.6vw, 26px); }
.fx { display: block; width: 100%; height: auto; overflow: visible; --or: #d55e00; --fink: #1f1e1d; }
.fx text { font-family: var(--sans); }
.fx-box .face { fill: #fff; stroke: var(--fink); stroke-width: 2; transition: fill .35s, stroke .35s; }
.fx-box .halo { fill: #f6d5bb; opacity: 0; transition: opacity .35s; }
.fx-t { font-size: 15.5px; font-weight: 700; fill: var(--fink); text-anchor: middle; transition: fill .35s; }
.fx-sub { font-size: 13px; font-weight: 400; fill: #5e5d59; text-anchor: middle; }
.fx-box.hot .face { stroke: var(--or); stroke-width: 2.5; }
.fx-box.hot .fx-t { fill: var(--or); }
.fx-box.soft .face { stroke: #dddbd2; }
.fx-box.on .face { fill: #fdeadb; stroke: var(--or); stroke-width: 2.5; }
.fx-box.on .halo { opacity: .85; }
.fx-panel rect { fill: #f1efe8; transition: fill .35s; }
.fx-ph { font-size: 16px; font-weight: 700; fill: var(--or); }
.fx-ph.ink { fill: var(--fink); }
.fx-ps { font-size: 13px; font-weight: 400; fill: #5e5d59; }
.fx-lab { font-size: 13px; font-weight: 700; }
.fx-lab.or { fill: var(--or); }
.fx-lab.ink { fill: var(--fink); }
.fx-lab.note { font-weight: 400; fill: #73726c; }
.fx-arr path { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.fx-arr.or path { stroke: var(--or); }
.fx-arr.or polygon { fill: var(--or); }
.fx-arr.ink path { stroke: var(--fink); stroke-width: 2; }
.fx-arr.ink polygon { fill: var(--fink); }
.fx-dot { opacity: 0; offset-rotate: 0deg; }
.fx-dot circle:first-child { fill: #f6d5bb; opacity: .9; }
.fx-dot circle:last-child { fill: var(--or); stroke: #fff; stroke-width: 1.5; }
.fx-arr.ink .fx-dot circle:last-child { fill: var(--fink); }
.fx-arr.ink .fx-dot circle:first-child { fill: #dddbd2; }
.fx-arr.on .fx-dot { animation: fx-go var(--ms, 600ms) linear both; }
@keyframes fx-go { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.fx-band rect { fill: #f1efe8; }
.fx-band text { font-size: 14px; fill: #5e5d59; }
.fx-band .b { font-weight: 700; fill: var(--fink); font-size: 15px; }
@media (max-width: 820px) {
  .blog-body figure > .fx-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .fx { width: 700px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .fx-dot { display: none; } }

/* ---------- charts and the pathway in the same drawing language: ink, orange, warm grey, heavier lines ---------- */
.blog-body .chart-top { padding-bottom: 14px; border-bottom: 0; }
.blog-body .chart-top strong { font-size: 16px; font-weight: 700; }
.blog-body .chart-top .kicker { font-size: 13px; }
.blog-body .chart-svg .axis { fill: none; stroke: #1f1e1d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.blog-body .chart-svg .grid { stroke: #e8e6dc; stroke-dasharray: 4 5; }
.blog-body .chart-svg .grid.v { stroke: #1f1e1d; stroke-width: 1.5; stroke-dasharray: none; }
.blog-body .chart-svg .tick { font: 400 12.5px/1 var(--sans); fill: #73726c; }
.blog-body .chart-svg .l-vla { stroke: #1f1e1d; stroke-width: 2; }
.blog-body .chart-svg .l-wam { stroke: #9c9a92; stroke-width: 2; }
.blog-body .chart-svg .l-agentic { stroke: #d55e00; stroke-width: 3; }
.blog-body .chart-svg .dot { fill: #fff; stroke-width: 2; }
.blog-body .chart-svg .dot.l-agentic { fill: #d55e00; stroke: #fff; stroke-width: 2; r: 5.5px; filter: drop-shadow(0 0 0 #f6d5bb) drop-shadow(0 0 3px #f3b98e); }
.blog-body .chart-svg text.end { font: 400 12.5px/1 var(--sans); fill: #5e5d59; }
.blog-body .chart-svg text.end .num { font-size: 16px; font-weight: 700; }
.blog-body .chart-svg text.end.l-vla .num { fill: #1f1e1d; }
.blog-body .chart-svg text.end.l-wam .num { fill: #73726c; }
.blog-body .chart-svg text.end.l-agentic .num { fill: #d55e00; }
.blog-body .trend-head { stroke: #9c9a92; stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 1; }
.blog-body .trend-date { font: 600 12px/1 var(--sans); letter-spacing: 0; fill: #1f1e1d; }
.blog-body .bar { grid-template-columns: minmax(0, 200px) minmax(0, 1fr) 70px; padding: 14px 0; font-size: 15px; }
.blog-body .bar .name { font-weight: 700; }
.blog-body .bar .name span { font-size: 12.5px; font-weight: 400; color: #73726c; }
.blog-body .bar .track { height: 14px; border-radius: 7px; background: #f1efe8; }
.blog-body .bar .fill { border-radius: 7px; background: #d55e00; }
.blog-body .bar .fill.alt { background: #1f1e1d; }
.blog-body .bar.two .track { height: 34px; background: none; }
.blog-body .bar.two .fill { height: 14px; }
.blog-body .bar.two .fill + .fill { top: 20px; }
.blog-body .bar .val { font: 700 14.5px/1.5 var(--sans); }
.blog-body .legend { gap: 22px; padding: 4px 0 8px; font-size: 13px; }
.blog-body .legend i { width: 12px; height: 12px; border-radius: 4px; vertical-align: -1px; }
.blog-body .legend span:first-child i { background: #d55e00 !important; }
.blog-body .legend span:last-child i { background: #1f1e1d !important; }

.blog-body .figure-label { padding-bottom: 14px; border-bottom: 0; }
.blog-body .figure-label strong { font-size: 16px; font-weight: 700; }
.blog-body .eva-svg .st { stroke-width: 2; }
.blog-body #ev-v { stroke: #1f1e1d; fill: #f1efe8; }
.blog-body #ev-grat { stroke: #c9c6bb; stroke-width: 1; }
.blog-body #ev-r { stroke: #d55e00; }
.blog-body #hatch line { stroke: #f3cfb3; stroke-width: 1.4; }
.blog-body #ev-lens { fill: #d55e00; }
.blog-body #ev-lv { fill: #1f1e1d; }
.blog-body #ev-lr { fill: #d55e00; }
.blog-body .svg-l { font: 700 13.5px/1 var(--sans); }
.blog-body .svg-n { font: 400 12px/1 var(--sans); fill: #5e5d59; }
.blog-body .svg-k { font: 400 12px/1 var(--sans); fill: #73726c; }
.blog-body .eva-svg .thin { stroke: #9c9a92; stroke-width: 1.2; }
.blog-body .iso polygon, .blog-body .iso path, .blog-body .iso ellipse, .blog-body .iso polyline { stroke: #1f1e1d; stroke-width: 1.3; }
.blog-body .iso .iso-ground { fill: #f1efe8; stroke: none; }
.blog-body .iso.wire polygon, .blog-body .iso.wire path, .blog-body .iso.wire ellipse, .blog-body .iso.wire polyline { stroke: #d55e00; stroke-width: 1.2; }
.blog-body .tab { padding-top: 14px; border-top: 2px solid #e8e6dc; font-size: 14.5px; font-weight: 700; color: #87867f; }
.blog-body .tab::before { top: -2px; height: 2px; background: #d55e00; }
.blog-body .tab b { margin-bottom: 6px; font: 400 12.5px/1 var(--sans); }
.blog-body .tab[aria-selected="true"] b { color: #d55e00; font-weight: 700; }
.blog-body .panel .kicker { font-size: 13px; font-weight: 700; color: #d55e00; }
.blog-body .panel .detail-rule b { font-weight: 700; }

/* ---------- the pathway as one drawing (diagrams.eva) ---------- */
.blog-body .eva-stage { padding: 6px 0 10px; }
.blog-body .eva-svg { --or: #d55e00; --fink: #1f1e1d; overflow: visible; }
.blog-body .eva-svg text { font-family: var(--sans); }
.blog-body .eva-svg .svg-l { font: 700 17px/1 var(--sans); }
.blog-body .eva-svg .svg-n { font: 400 13px/1 var(--sans); fill: #5e5d59; }
.blog-body .eva-svg .notes [data-s] { pointer-events: none; }
.blog-body .eva-svg .orbit { stroke: var(--or); stroke-width: 2; }
.blog-body .eva-svg .ev-lead { fill: none; stroke: var(--or); stroke-width: 1.6; stroke-dasharray: 2 4; stroke-linecap: round; }
.blog-body .eva-svg .fx-arr path.march { animation: march .9s linear infinite; }
.blog-body .eva-svg .chip .fx-t { font-size: 14.5px; }
.ev-pill rect { fill: #fff; stroke: var(--or); stroke-width: 2; }
.ev-pill text { font: 700 13.5px/1 var(--sans); fill: var(--or); }
.ev-loop path { stroke: var(--or); stroke-width: 2.5; stroke-linecap: round; }
.ev-loop polygon { fill: var(--or); }
.ev-loop { animation: ev-spin 2.6s linear infinite; }
@keyframes ev-spin { to { transform: rotate(360deg); } }
.ev-cross { animation: ev-cross 3s ease-in-out infinite; }
@keyframes ev-cross { 0%, 14% { transform: translateX(0); } 66%, 100% { transform: translateX(290px); } }
@media (prefers-reduced-motion: reduce) { .ev-loop, .ev-cross { animation: none; } }

/* on a phone the trend chart and the pathway keep a readable size and scroll sideways, like the other drawings */
@media (max-width: 820px) {
  .blog-body .chart:has(.chart-svg), .blog-body .eva-stage { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .blog-body .chart-svg { width: 640px; max-width: none; }
  .blog-body .eva-svg { width: 620px; max-width: none; }
  .blog-body .chart-top { flex-wrap: wrap; }
}

/* ---------- the pathway as the paper draws it (diagrams.eva): its Figure 7 with a spotlight, a moving view and a travelling dot ---------- */
.blog-body .eva-stage { padding: 0; margin: 4px 0 18px; border-radius: 12px; overflow: hidden; background: #fff; }
.evp { display: block; width: 100%; height: auto; }
.evp-veil { fill: #fff; opacity: 0; transition: opacity .7s var(--ease); pointer-events: none; }
.evp-veil.on { opacity: .66; }
.evp-live { opacity: 0; transition: opacity .5s; }
.evp-live.on { opacity: 1; }
.evp-dot { offset-rotate: 0deg; opacity: 0; }
.evp-dot circle:first-child { fill: #a78bfa; opacity: .45; }
.evp-dot circle:last-child { fill: #6d4df2; stroke: #fff; stroke-width: 3; }
.evp-live.on .evp-dot { animation: evp-go var(--ms, 1600ms) cubic-bezier(.45, 0, .55, 1) var(--d, 0ms) infinite; }
@keyframes evp-go { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@media (max-width: 820px) { .blog-body .eva-stage { overflow: hidden; } .blog-body .evp { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .evp-dot { display: none; } }

/* ---------- language switch: English, Chinese ---------- */
.modes { position: absolute; top: 18px; right: 22px; z-index: 30; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--cream); }
.modes a { padding: 5px 13px; border-radius: 7px; font: 500 13px/1.5 var(--sans); color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .2s, background .2s; }
.modes a:hover { color: var(--ink); }
.modes a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(20, 20, 19, .12); }
@media (min-width: 1340px) { .modes { position: fixed; } }
@media (max-width: 820px) { .modes { top: 14px; right: 18px; } .blog-head { padding-top: 84px; } }


/* ---------- the Chinese edition ---------- */
html[lang^="zh"] {
  --sans: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Newsreader", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "PingFang SC", "Microsoft YaHei", serif;
}
html[lang^="zh"] .blog-head h1 { font-weight: 700; font-size: clamp(31px, 3.3vw, 46px); line-height: 1.3; letter-spacing: 0; }
html[lang^="zh"] .blog-body { font-size: 18px; line-height: 1.95; }
html[lang^="zh"] .blog-body p { margin-bottom: 26px; }
html[lang^="zh"] .blog-body h2 { font-weight: 700; font-size: clamp(27px, 2.5vw, 33px); line-height: 1.4; letter-spacing: 0; }
html[lang^="zh"] .blog-body h3 { font-weight: 700; font-size: 24px; line-height: 1.4; letter-spacing: 0; }
html[lang^="zh"] .blog-body h4, html[lang^="zh"] .blog-body .panel h4 { font-weight: 700; font-size: 20px; line-height: 1.45; letter-spacing: 0; }
html[lang^="zh"] .blog-body details.acc summary { font-weight: 700; font-size: 21px; }
html[lang^="zh"] .blog-body li { margin-bottom: 12px; }
html[lang^="zh"] .blog-body figcaption, html[lang^="zh"] .blog-body .caption { line-height: 1.7; }
html[lang^="zh"] .blog-body .panel p { line-height: 1.8; }
html[lang^="zh"] .blog-toc a { line-height: 1.7; }
html[lang^="zh"] .blog-body ol.refs, html[lang^="zh"] .blog-body .team-names { font-family: "Instrument Sans", -apple-system, "Segoe UI", sans-serif; line-height: 1.6; }
html[lang^="zh"] .f1-t { font-weight: 700; }
@media (max-width: 820px) {
  html[lang^="zh"] .blog-body { font-size: 17px; line-height: 1.9; }
}

/* ---------- how to cite: a short box, the long author line scrolls sideways ---------- */
.blog-body .cite-box { margin: 56px 0 0; padding: 16px 20px 18px; background: #fff; border-radius: 14px; }
.blog-body .cite-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.blog-body .cite-box h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.blog-body .cite-copy { flex: none; padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; font: 500 13px/1.5 var(--sans); color: var(--ink); transition: background .2s, border-color .2s; }
.blog-body .cite-copy:hover { background: var(--cream); border-color: var(--ink-3); }
.blog-body pre.bibtex {
  margin: 0; padding: 12px 16px; overflow-x: auto; border-radius: 9px; background: var(--tile); border: 0;
  font: 400 12.5px/1.6 ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace; color: var(--ink); white-space: pre; tab-size: 2;
}
html[lang^="zh"] .blog-body .cite-box h3 { font-size: 18px; }

/* ---------- the timeline: a paused simulator against a world that keeps going (diagrams.timeline) ----------
   Drawn complete, so it reads without script. With the clock running (.live) everything steps back and only what is
   happening at the current second is lit. */
.tl-row { font-size: 15.5px; font-weight: 700; fill: var(--fink); }
.tl-row.or { fill: var(--or); }
.tl-does { font-size: 13px; fill: #73726c; }
.tl-brace { fill: none; stroke: var(--or); stroke-width: 1.6; stroke-linejoin: round; }
.tl-think .halo { fill: #f6d5bb; opacity: 0; }
.tl-think .face { fill: #fff; stroke: var(--fink); stroke-width: 2; }
.tl-think text { font-size: 14px; font-weight: 500; fill: var(--fink); text-anchor: middle; }
.tl-wait { font-size: 13px; fill: #87867f; text-anchor: middle; }
.tl-act rect { fill: #fdeadb; stroke: var(--or); stroke-width: 2; }
.tl-act text { font-size: 14px; font-weight: 700; fill: var(--or); text-anchor: middle; }
.tl-paused rect { fill: url(#tl-hatch); }
.tl-paused text { font-size: 13.5px; fill: #87867f; text-anchor: middle; }
.tl-runs rect { fill: #fdeadb; }
.tl-runs text { font-size: 13.5px; font-weight: 700; fill: var(--or); text-anchor: middle; }
.tl-bar { fill: #f6f4ee; }
.tl-real { font-size: 14px; fill: #a84a00; }
.tl-real.b { font-weight: 700; fill: var(--or); }
.tl-boil { fill: var(--or); transform-box: fill-box; transform-origin: center; animation: tl-boil 1.4s ease-in-out infinite; }
@keyframes tl-boil { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
.tl-rule { stroke: #dddbd2; stroke-width: 1.5; }
.tl-tick { font-size: 13px; fill: #87867f; }
.fx-arr.tl-small path { stroke-width: 1.8; }
.fx-arr.tl-small.up path, .fx-arr.tl-small.up polygon { opacity: .6; }
.tl-head { display: none; }
.tl-head line { stroke: var(--fink); stroke-width: 1.5; stroke-dasharray: 3 4; }
.tl-head circle { fill: var(--fink); }

.tl.live .tl-head { display: block; }
.tl.live [data-t0] { opacity: .32; transition: opacity .25s; }
.tl.live [data-t0].on { opacity: 1; }
.tl.live .tl-think.on .halo { opacity: .9; }
.tl.live .tl-think.on .face { fill: #fff8f2; stroke: var(--or); stroke-width: 2.5; }
.tl.live .tl-think.on text { font-weight: 700; }
.tl.live .tl-wait.on { font-weight: 700; fill: var(--fink); }
.tl.live .tl-act.on rect { fill: var(--or); }
.tl.live .tl-act.on text { fill: #fff; }
.tl.live .tl-paused.on text { font-weight: 700; fill: var(--fink); }
.tl.live .tl-paused.on rect { stroke: #b0aea5; stroke-width: 1.5; }
.tl.live .tl-runs.on rect { fill: var(--or); }
.tl.live .tl-runs.on text { fill: #fff; }
.tl.live [data-from] { opacity: 0; transition: opacity .35s; }
.tl.live [data-from].on { opacity: 1; }

/* the pathway's stage text: all five panels occupy one cell, the ones not showing are kept in place but invisible,
   so the card is the same height at every stage */
.blog-body .panel-stack { display: grid; }
.blog-body .panel-stack > .panel { grid-area: 1 / 1; }
.blog-body .panel-stack > .panel[hidden] { display: grid; visibility: hidden; animation: none; }
/* its tabs: a label and a name of at most two lines each, top-aligned */
.blog-body #eva-fig ~ .tabs { margin-top: 0; gap: 0 10px; }
.blog-body #eva-fig ~ .tabs .tab { padding: 12px 6px 14px 0; font-size: 13.5px; line-height: 1.3; }
.blog-body #eva-fig ~ .tabs .tab b { margin-bottom: 5px; font-size: 12px; }
@media (max-width: 820px) {
  .blog-body .panel-stack > .panel { grid-template-columns: 1fr; }
}

/* small drawings inside a box: a chip for a trained policy, a terminal for a program, a gear for an executor */
.fx-icon rect, .fx-icon path, .fx-icon polygon, .fx-icon circle { fill: none; stroke: #1f1e1d; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-icon .core { fill: var(--or); stroke: none; }
.fx-icon .hot { stroke: var(--or); stroke-width: 2.2; }
.fx-icon.gear circle { stroke: var(--or); }


/* the pathway's button returns to the whole route; it rests while that is what is showing */
.blog-body .auto:disabled { opacity: .45; cursor: default; }
.blog-body .auto:disabled:hover { color: var(--ink-2); border-color: var(--line); }
.blog-body .paper-fig img { background: #fff; }

/* the harness's contents, and an ink brace */
.fx-chip { fill: #f1efe8; }
.fx-chip-t { font-size: 13px; fill: #3d3d3a; text-anchor: middle; }
.tl-brace.ink { stroke: #9c9a92; }

/* ---------- two pictures side by side: a simulator in line drawing, a world model's predicted frames ---------- */
.blog-body .twins { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blog-body .twin-pic { position: relative; overflow: hidden; border-radius: 14px; background: #f6f4ec; }
.blog-body .twin-pic img { display: block; width: 100%; height: auto; }
.blog-body .twin-cap { margin: 10px 2px 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.blog-body .twin-cap b { font-weight: 700; color: var(--ink); }
/* the simulator knows the time and the state exactly */
.blog-body .sim-clock { position: absolute; left: 12px; bottom: 10px; padding: 3px 9px; border-radius: 7px; background: #fff; border: 1.5px solid #1f1e1d;
  font: 500 12px/1.5 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #1f1e1d; font-variant-numeric: tabular-nums; }
/* the world model's later frames drift out of focus, again and again */
.blog-body .twin-pic.world .soft { position: absolute; inset: 0; filter: blur(5px); opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 72%); mask-image: linear-gradient(90deg, transparent 30%, #000 72%);
  animation: wm-drift 5s ease-in-out infinite; }
@keyframes wm-drift { 0%, 12% { opacity: 0; } 62%, 86% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 820px) { .blog-body .twins { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .blog-body .twin-pic.world .soft { animation: none; } }

/* a recorded clip, looping like a GIF */
.blog-body video.clip { display: block; width: 100%; height: auto; border-radius: 16px; background: #fff; }

/* the animated explainer at the top of a post: a narrated video with its own controls (served from R2, /media/) */
.blog-body .explainer-fig { margin-top: 0; }
.blog-body video.explainer { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 16px; background: #fde3da; }

/* a clip that is nearly square is shown narrower than the column, centred */
.blog-body .clip-fig.narrow .twin-pic { max-width: 560px; margin: 0 auto; border-radius: 16px; }
.blog-body .clip-fig.narrow video.clip { border-radius: 0; }
.blog-body .clip-fig.narrow figcaption { max-width: 560px; margin-left: auto; margin-right: auto; }

/* the latency clip: one rendering timed two ways, side by side, each with its name and its world clock */
.blog-body .duo { position: relative; margin: 0 0 18px; border-radius: 12px; overflow: hidden; background: #fff; }
.blog-body .duo video.clip { border-radius: 0; }
.blog-body .duo-half { position: absolute; top: 0; width: 50%; padding: 8px 12px; pointer-events: none; }
.blog-body .duo-half.sim { left: 0; }
.blog-body .duo-half.real { left: 50%; border-left: 1.5px solid #e8e6dc; height: 100%; }
.blog-body .duo-h { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.4; color: #1f1e1d; }
.blog-body .duo-half.real .duo-h { color: #d55e00; }
.blog-body .duo-clock { margin: 0; font-size: 12.5px; line-height: 1.5; color: #73726c; font-variant-numeric: tabular-nums; }
.blog-body .duo-clock b { font-weight: 700; color: #1f1e1d; }
.blog-body .tl-act text { font-size: 13px; }
@media (max-width: 820px) { .blog-body figure > .fx-wrap .duo { width: 700px; } }

/* two clips side by side */
.blog-body .twin-fig .twin-pic { border-radius: 12px; background: #1f1e1d; }
.blog-body .twin-fig video.clip { border-radius: 0; }

/* the outcome of each half of the clip: OK on one side, a warning on the other */
.blog-body .duo-flag { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; padding: 3px 11px 3px 8px; border-radius: 999px;
  font-size: 13px; font-weight: 700; line-height: 1.5; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.blog-body .duo-flag.on { opacity: 1; transform: none; }
.blog-body .duo-flag::before { content: ""; width: 16px; height: 16px; background: center / contain no-repeat; }
.blog-body .duo-flag.ok { background: #e7f2ec; color: #2c6a55; }
.blog-body .duo-flag.ok::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%232c6a55'/%3E%3Cpath d='M4.4 8.3l2.4 2.4 4.8-5.2' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.blog-body .duo-flag.warn { background: #fdeadb; color: #a84a00; }
.blog-body .duo-flag.warn::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2l7.2 13.2H.8z' fill='%23d55e00' stroke='%23d55e00' stroke-width='1.2' stroke-linejoin='round'/%3E%3Cpath d='M8 6v4.2' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='12.3' r='1' fill='%23fff'/%3E%3C/svg%3E"); }

/* the title sits on two lines, one per phrase, wherever the window is wide enough; one sentence under it says what the post is */
@media (min-width: 821px) {
  .blog-head { grid-column: 2 / -1; }
  .blog-head h1 { font-size: clamp(27px, 2.95vw, 44px); line-height: 1.18; margin-bottom: 22px; }
  .blog-head h1 span { white-space: nowrap; text-wrap: initial; }
  .blog-head .deck, .blog-meta { max-width: 780px; }
}
.blog-head .deck { margin: 0 0 34px; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
html[lang^="zh"] .blog-head .deck { line-height: 1.75; }

/* the stretched year on the trend chart */
.blog-body .chart-svg .trend-zoom { fill: #f6f4ee; }

/* an axis under a drawing, and an outline that groups boxes inside a panel */
.fx-axis path { fill: none; stroke: var(--fink); stroke-width: 1.5; }
.fx-axis polygon { fill: var(--fink); }
.fx-group { fill: none; stroke: #b3b0a6; stroke-width: 1.5; stroke-dasharray: 5 5; }
