/* The added sections of the home page: Try, Leaderboard, Training, Model, Data, Compute.
   They are drawn with the page's own parts only: white ground, ink, EB Garamond, grey rounded frames, pill buttons
   that turn black when picked, the thin line with a black dot.  */

.v2 .plus { scroll-margin-top: 0; }
.v2 .plus .bar-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.plus-note { margin: 0; max-width: 880px; color: var(--mute); font: 400 15px/1.5 var(--sans); }

/* pill buttons, as under the task pictures, a size up */
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pills button { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--ink); font: 400 14px/1.4 var(--sans); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pills button:hover { border-color: var(--ink); }
.pills button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills button i { width: 7px; height: 7px; border-radius: 50%; }
.pills button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* A section that is not filled in yet holds about a screen of height, so the ones after it stay out of reach of the
   loader until the visitor is really near them (an empty section is a heading tall, and they would all load at once). */
.v2 .section[data-plus]:not([data-plus="try"]):not([data-filled]) { min-height: 90vh; }

/* ---------- Try ---------- */
.v2 .section.try { padding-top: clamp(36px, 6vh, 64px); padding-bottom: 0; }
.try-row { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.try-row svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.try-field { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 9px 10px; border: 1px solid #cfcfcb; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s; }
.try-field:hover { border-color: var(--ink); }
.try-field:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.try-thumb { flex: none; width: 84px; height: 48px; border-radius: 9px; overflow: hidden; background: #efefec; }
.try-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .18s; }
.try-thumb img.out { opacity: 0; }
.try-text { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; font: 400 clamp(16px, 1.35vw, 19px)/1.35 var(--sans); letter-spacing: -.005em; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.try-caret { display: inline-block; width: 1.5px; height: 1.15em; margin-left: 2px; vertical-align: -.2em; background: var(--ink); animation: try-blink 1.1s steps(1) infinite; }
@keyframes try-blink { 50% { opacity: 0; } }
.try-go { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 20px; border-radius: 12px; background: var(--ink); color: #fff; font: 500 16px/1 var(--sans); }
.try-field:hover .try-go svg { transform: translateX(3px); }
.try-api { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font: 500 17px/1 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.try-api:hover svg { transform: translate(2px, -2px); }
.try-api:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; border-radius: 3px; }
@media (max-width: 640px) {
  .try-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .try-field { gap: 10px; min-height: 64px; padding: 8px; border-radius: 16px; }
  .try-thumb { width: 64px; height: 46px; }
  .try-text { white-space: normal; height: 2.7em; font-size: 15px; -webkit-mask-image: none; mask-image: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .try-go { padding: 0 14px; }
  .try-go svg { display: none; }
  .try-api { align-self: flex-start; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .try-row svg, .try-thumb img { transition: none; } .try-caret { animation: none; } }

/* ---------- Leaderboard: bars on the left, the wall of tasks on the right ---------- */
.bd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.42fr); column-gap: 44px; align-items: start; }
.bd-bars { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.bd-bars button { display: grid; grid-template-columns: 158px minmax(0, 1fr); align-items: center; column-gap: 14px; width: 100%; padding: 6px 48px 6px 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; }
.bd-name { font: 400 16px/1.25 var(--sans); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mute); transition: color .2s; }
.bd-track { position: relative; height: 26px; }
.bd-track i { position: absolute; left: 0; top: 0; bottom: 0; min-width: 2px; border-radius: 3px; background: #cfcfcc; transition: background .2s; }
.bd-track b { position: absolute; top: 50%; margin: -11px 0 0 10px; color: var(--mute); font: 400 20px/22px var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .2s; }
.bd-name sup, .bd-idle sup { font-size: .7em; line-height: 0; margin-left: 1px; }
.bd-bars button.is-ours .bd-name, .bd-bars button.is-ours b { font-weight: 600; }
.bd-bars button.on .bd-name, .bd-bars button.on b { color: var(--ink); }
.bd-bars button.on i { background: var(--ink); }
.bd-bars button[aria-pressed="true"] .bd-name { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
.bd-bars button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.bd-say { margin: 0 0 14px; display: flex; align-items: baseline; gap: 10px; min-height: 38px; color: var(--mute); font: 400 15px/1.3 var(--sans); }
.bd-say b { color: var(--ink); font: 600 clamp(26px, 2.8vw, 36px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bd-wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 5px; }
/* a tile is grey until the model shown passes its task */
.bd-t { aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 4px; background-color: var(--wash); background-image: var(--sheet, none); background-repeat: no-repeat; background-size: calc(var(--cols) * 100%) calc(var(--rows) * 100%); cursor: pointer; filter: grayscale(1); opacity: .5; transition: opacity .35s, filter .35s, transform .2s; }
.bd-t.on { filter: none; opacity: 1; }
.bd-wall.wait .bd-t { filter: grayscale(1); opacity: .5; }
.bd-wall:not(.wait) .bd-t { transition-delay: calc(var(--n) * 5ms); }
.bd-wall:hover .bd-t, .bd-bars:hover ~ .bd-side .bd-t { transition-delay: 0s; }
.bd-t:hover { transform: scale(1.14); opacity: 1; position: relative; z-index: 1; }
.bd-t:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bd-read { display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; gap: 0 16px; min-height: 3em; max-width: 880px; margin: 24px 0 0; color: var(--mute); font: 400 15px/1.5 var(--sans); }
.bd-read-t { color: var(--ink); }
@media (max-width: 900px) {
  .bd { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .bd-bars button { grid-template-columns: 132px minmax(0, 1fr); padding-right: 40px; }
  .bd-wall { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .bd-t, .bd-track i { transition: none; } }

/* ---------- Data: the ink plate (owner's pick 2026-11-18, "A") ---------- */
/* input and target side by side, as everywhere on the page; the only colour is the footage */
.dk-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dk-clip { margin: 0; min-width: 0; }
.dk-clip video { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--wash); object-fit: cover; }
.dk-clip figcaption { margin-top: 6px; color: var(--mute); font: 400 13px/1.2 var(--sans); }
/* The figure is printed on the page itself: no card, no frame, ink and greys only; the only colour is the footage
   of a picked task. Everything is under .da (set on the section by data.js). */

/* the head: the name on the left, the two numbers on its baseline on the right, one sentence under it */
.v2 .da .bar-head { align-items: baseline; margin-bottom: 12px; }
.da .da-stats { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 36px; color: var(--mute); font: 400 15px/1.3 var(--sans); }
.da .da-stats span { white-space: nowrap; }
.da .da-stats b { margin-right: 7px; color: var(--ink); font: 600 clamp(30px, 3.4vw, 46px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.da .da-lede { margin: 0; color: var(--mute); font: 400 17px/1.5 var(--sans); }

/* the plate: a transparent canvas that dissolves into the paper at its edges */
.da .da-fig { position: relative; margin-top: 6px; }
.da .da-plate { --edge: 36px; position: relative; height: clamp(320px, 50vw, 620px); }
.da .da-plate canvas { opacity: 0; transition: opacity .6s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent), linear-gradient(transparent, #000 20px, #000 calc(100% - 20px), transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent), linear-gradient(transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-composite: intersect; }
.da .da-plate.is-ready canvas { opacity: 1; }
.da .da-plate canvas:focus-visible { outline: 2px solid var(--ink); }

/* the name under the pointer: one line beside the dot, on a patch of paper */
.da .da-tip { position: absolute; left: 0; top: 0; z-index: 3; margin: 0; padding: 1px 7px 2px; border-radius: 4px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 13px/1.4 var(--sans); white-space: nowrap; pointer-events: none; }
.da .da-tip b { font-weight: 500; }
.da .da-tip span { margin-left: 9px; color: var(--mute); font-weight: 400; font-variant-numeric: tabular-nums; }

/* the callout: hangs from the picked dot by a leader (drawn on the canvas) that runs on into its top rule */
.da .da-card { position: absolute; z-index: 2; left: var(--x, 0); top: var(--y, 0); width: var(--w, 520px); padding: 15px 0 0; background: var(--bg, #fff); box-shadow: 0 0 30px 26px var(--bg, #fff); opacity: 0; transition: opacity .18s ease; }
.da .da-card.is-on { opacity: 1; transition: opacity .32s ease .42s; }
.da .da-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.3, .7, .2, 1) .5s; }
.da .da-card.is-on::before { transform: none; }
.da .da-body { animation: da-in .34s ease both; }
@keyframes da-in { from { opacity: 0; transform: translateY(3px); } }
.da .da-card h3 { margin: 0; padding-right: 40px; color: var(--ink); font: 600 22px/1.2 var(--sans); letter-spacing: -.02em; outline: none; }
.da .da-n { margin: 5px 0 0; color: var(--mute); font: 400 15px/1.4 var(--sans); }
.da .da-n b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.da .da-card .dk-pair { margin-top: 14px; }
/* when a task's clips cannot be fetched: its number of pairs, large, where they would be */
.da .da-count { margin: 18px 0 0; display: flex; flex-direction: column; gap: 6px; color: var(--mute); font: 400 15px/1.3 var(--sans); }
.da .da-count b { color: var(--ink); font: 600 clamp(52px, 6vw, 72px)/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
/* the five nearest tasks, numbered as in the figure */
.da .da-key { list-style: none; margin: 16px 0 0; padding: 0; }
.da .da-key button { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: baseline; width: 100%; padding: 4px 0; border: 0; background: none; color: var(--ink); font: 400 15px/1.35 var(--sans); text-align: left; cursor: pointer; }
.da .da-key i { color: var(--mute); font: 500 11px/1 var(--mono); }
.da .da-key button:hover span, .da .da-key button.is-hot span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.da .da-key button:focus-visible, .da .da-x:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.da .da-x { position: absolute; z-index: 1; right: -8px; top: 9px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.da .da-x::before, .da .da-x::after { content: ''; position: absolute; left: 10.5px; top: 17.5px; width: 15px; height: 1px; background: var(--mute); transform: rotate(45deg); transition: background .15s; }
.da .da-x::after { transform: rotate(-45deg); }
.da .da-x:hover::before, .da .da-x:hover::after { background: var(--ink); }

/* narrow plates (tablet, phone): the callout unfolds in the page under the figure, and the leader drops to it */
.da .da-lead { display: none; }
.da .is-flow .da-lead { display: block; position: absolute; z-index: 1; left: calc(var(--ax) + 12px); top: var(--ay); width: 16px; bottom: 0; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); opacity: 0; pointer-events: none; transition: opacity .15s ease; }
.da .is-flow.is-picked .da-lead { opacity: 1; transition: opacity .3s ease .6s; }
.da .is-flow .da-card { position: relative; left: auto; top: auto; width: auto; max-width: 560px; margin: 0 auto; box-shadow: none; }
@media (max-width: 720px) {
  .da .da-stats { flex-basis: 100%; gap: 4px 28px; }
  .da .da-lede { font-size: 16px; }
  .da .da-plate { --edge: 10px; }
  .da .is-flow .da-card { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .da .da-plate canvas, .da .da-card, .da .da-card.is-on, .da .da-card::before, .da .is-flow .da-lead, .da .is-flow.is-picked .da-lead { transition: none; }
  .da .da-body { animation: none; }
}

/* ---------- Model ---------- */
/* The paper's model figure, live (model.js). The three role colours are the paper figure's: reference yellow, source
   green, target red; the blue is the attention blue. Left the pipeline, right the attention mask; one card on the figure. */
.mdl { margin: 0 auto; --ref: #f6d36b; --source: #a9d18e; --target: #e58a84; --ref-ink: #7a5b00; --source-ink: #2f5d1c; --target-ink: #8a2a24; --rule: #b4b4b1; --acc: #2f6fb0; --hatch: #c4c4bf; --look: #d4d4d0; position: relative; }
.mdl .d6 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(36px, 4.4vw, 64px); align-items: start; }
:where(.mdl .d6 button) { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.mdl .d6 button:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.mdl .d5 { display: flex; flex-direction: column; align-items: stretch; }

/* ---------- left: the pipeline of model-options ---------- */
/* the example, in sequence order: each picture as wide as its part of the sequence */
.mdl .d5-ex { display: flex; align-items: flex-end; gap: 5px; margin-bottom: 4px; }
.mdl .d5-f { margin: 0; min-width: 0; transition: opacity .2s; }
.mdl .d5-f i { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 5px; background: #e7e7e4 center / cover no-repeat; overflow: hidden; transition: box-shadow .15s; }
.mdl .d5-f figcaption { margin-top: 4px; text-align: center; color: var(--mute); font: 400 12px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdl .d5-f.is-q i { box-shadow: 0 0 0 2.5px var(--ink); }
.mdl .d5-f.is-q figcaption { color: var(--ink); font-weight: 600; }
.mdl .d5-f.unseen { opacity: .4; }
.mdl .k-noise { position: absolute; inset: 0; background: repeating-conic-gradient(#8a8a8a 0 25%, #d0d0d0 0 50%) 0 0 / 5px 5px; opacity: .42; mix-blend-mode: hard-light; }
.mdl .d6.show-grid .d5-f:not(.k-target) i::after, .mdl .d6.show-grid .mx-th:not(.k-target)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / calc(100% / 12) 100%, linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px) 0 0 / 100% calc(100% / 9); }

/* boxes and the lines between them */
.mdl .d5-arrow { align-self: center; width: 1.5px; height: 14px; background: var(--rule); position: relative; }
.mdl .d5-arrow::after { content: ""; position: absolute; left: -3.5px; bottom: -1px; width: 7px; height: 7px; border: solid var(--rule); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.mdl .d5-box { padding: 10px 8px; border: 1.5px solid #9a9a97; border-radius: 9px; background: none; color: var(--ink); font: 600 17px/1.2 var(--sans); letter-spacing: -.01em; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.mdl .d5-box:hover, .mdl .d5-box[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.mdl .d5-wide { align-self: center; width: 52%; }
.mdl .d5-tags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mdl .d5-tags .d5-box { font-size: 14px; padding: 10px 2px; }
.mdl .d5-conv { display: block; width: 100%; height: 18px; overflow: visible; }
.mdl .d5-conv path { fill: none; stroke: var(--rule); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.mdl .d5-plus { align-self: center; display: grid; place-items: center; width: 24px; height: 24px; margin: 0 0 6px; border: 1.5px solid var(--ink); border-radius: 50%; font: 600 16px/1 var(--sans); font-style: normal; }

/* the sequence: clean conditions, then the noisy target */
.mdl .k-seq { display: flex; gap: 5px; }
.mdl .k-part { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 10px; border: 0; border-radius: 8px; background: var(--c); color: var(--ci); text-align: center; cursor: default; transition: opacity .2s, box-shadow .2s; }
.mdl .k-ref { --c: var(--ref); --ci: var(--ref-ink); } .mdl .k-source { --c: var(--source); --ci: var(--source-ink); } .mdl .k-target { --c: var(--target); --ci: var(--target-ink); }
.mdl .k-part b { font: 600 15px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdl .k-part small { font: 500 13px/1.2 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdl .k-part.unseen { opacity: .4; }
.mdl .k-part.is-q { box-shadow: 0 0 0 2.5px var(--ink); }
.mdl .k-under { display: flex; gap: 5px; margin-top: 6px; color: var(--mute); font: 400 12px/1.3 var(--sans); }
.mdl .k-under span { padding-top: 5px; border-top: 2px solid #9db8c9; text-align: center; }
.mdl .k-under span:last-child { border-top-color: var(--target); }

/* the transformer blocks; the mask on the right says who may look at whom */
.mdl .d5-blocks { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; text-align: left; }
.mdl .d5-blocks small { font: 400 12px/1.3 var(--sans); color: var(--mute); letter-spacing: 0; }
.mdl .d5-blocks small.blue { display: flex; align-self: stretch; justify-content: space-between; color: var(--acc); font-weight: 600; }
.mdl .d5-blocks:hover small, .mdl .d5-blocks[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }

/* ---------- right: the mask of model-v4 ---------- */
.mdl .mx-title { margin-bottom: 14px; cursor: default; }
.mdl .mx-title h3 { margin: 0; font: 600 21px/1.2 var(--sans); letter-spacing: -.02em; transition: color .15s; }
.mdl .mx-title p { margin: 3px 0 0; color: var(--mute); font: 400 14px/1.4 var(--sans); }
.mdl .mx-wrap.on .mx-title h3 { color: var(--acc); }
.mdl .mx { --g: 10px; --o: calc(var(--g) / 2 + 1px); display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 20px 12px; }
.mdl .mx-corner { margin: 0; align-self: end; justify-self: end; padding-bottom: 2px; color: var(--mute); text-align: right; font: 400 12px/1.35 var(--sans); }
.mdl .mx-corner span { display: block; color: var(--ink); font-weight: 600; }
.mdl .mx-corner span:first-child::after { content: " →"; font-weight: 400; color: var(--mute); }
.mdl .mx-corner span:last-child::after { content: " ↓"; font-weight: 400; color: var(--mute); }
.mdl .mx-top { display: grid; grid-template-columns: var(--cols); column-gap: var(--g); row-gap: 8px; align-items: end; }
.mdl .mx-brk { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.mdl .mx-brk em { padding-bottom: 4px; border-bottom: 2px solid #9db8c9; color: var(--mute); text-align: center; font: 400 12px/1.2 var(--sans); font-style: normal; }
.mdl .mx-brk em + em { border-bottom-color: var(--target); }
.mdl .mx-left { display: grid; grid-template-rows: var(--cols); row-gap: var(--g); }
.mdl .mx-h { display: flex; min-width: 0; gap: 8px; padding: 0; border: 0; background: none; text-align: inherit; cursor: default; }
.mdl .mx-col { align-self: start; flex-direction: column; align-items: center; }
.mdl .mx-row { flex-direction: row-reverse; align-items: flex-start; justify-content: flex-start; }
.mdl .mx-th { position: relative; flex: none; display: block; aspect-ratio: 4 / 3; border-radius: 3px; overflow: hidden; background: #e7e7e4; box-shadow: 0 0 0 0 var(--acc); transition: box-shadow .15s; }
.mdl .mx-col .mx-th { width: min(100%, 76px); }
.mdl .mx-row .mx-th { width: 52px; }
.mdl .mx-th canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.mdl .mx-n { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.mdl .mx-col .mx-n { align-items: center; text-align: center; }
.mdl .mx-row .mx-n { align-items: flex-end; text-align: right; padding-top: 1px; }
.mdl .mx-n b { display: inline-flex; align-items: center; gap: 5px; font: 600 13.5px/1.2 var(--sans); white-space: nowrap; transition: color .15s; }
.mdl .mx-n .sw { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.mdl .sm { display: none; }
.mdl .mx-n small { color: var(--mute); font: 400 12px/1.25 var(--sans); }
.mdl .mx-col .mx-n small { white-space: nowrap; }
.mdl .mx-h.on .mx-th { box-shadow: 0 0 0 2.5px var(--acc); }
.mdl .mx-h.on b { color: var(--acc); }

.mdl .mx-body { position: relative; aspect-ratio: 1; display: grid; grid-template-columns: var(--cols); grid-template-rows: var(--cols); gap: var(--g); }
.mdl .mx-b { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 3px; cursor: default; transition: opacity .2s; }
/* may look: light grey, the small cells drawn faintly (illustrative); over it the column's picture above the
   diagonal and the row's below it, both greyed */
.mdl .mx-b.yes { background-color: var(--look); background-image: linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px); background-size: calc(100% / var(--cu)) 100%, 100% calc(100% / var(--ru)); background-position: -1px 0, 0 -1px; position: relative; overflow: hidden; }
.mdl .mx-half { position: absolute; inset: 0; background: center / cover no-repeat; filter: saturate(.4) contrast(.9); opacity: .72; pointer-events: none; }
.mdl .mx-half.up { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.mdl .mx-half.dn { clip-path: polygon(0 0, 0 100%, 100% 100%); }
.mdl .mx-b.yes::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px)); pointer-events: none; }
/* may not: white with a hairline cross-hatch */
.mdl .mx-b.no { background: repeating-linear-gradient(45deg, var(--hatch) 0 1px, transparent 1px 9px), repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 9px), #fff; box-shadow: inset 0 0 0 1px var(--hatch); }
.mdl .mx-body.focus .mx-b:not(.lit) { opacity: .2; }
.mdl .mx-b.pick { outline: 2.5px solid var(--acc); outline-offset: calc(var(--o) - 3.5px); }
.mdl .mx-band { position: absolute; display: none; border: 2px solid var(--acc); border-radius: 7px; pointer-events: none; }
.mdl .mx-body.bands .mx-band { display: block; }
.mdl .mx-band-row { left: calc(-1 * var(--o)); right: calc(-1 * var(--o)); top: calc((100% - 2 * var(--g)) * var(--a) + var(--g) * var(--i) - var(--o)); height: calc((100% - 2 * var(--g)) * var(--f) + 2 * var(--o)); }
.mdl .mx-band-col { top: calc(-1 * var(--o)); bottom: calc(-1 * var(--o)); left: calc((100% - 2 * var(--g)) * var(--a) + var(--g) * var(--i) - var(--o)); width: calc((100% - 2 * var(--g)) * var(--f) + 2 * var(--o)); }
.mdl .mx-band em { position: absolute; padding: 0 6px; background: #fff; color: var(--acc); font: 600 12px/16px var(--sans); font-style: normal; white-space: nowrap; }
.mdl .mx-band-row em { right: 10px; top: -9px; }
.mdl .mx-band-col em { left: 8px; bottom: -9px; }

.mdl .mx-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 22px 0 0 136px; color: var(--mute); font: 400 13px/1.3 var(--sans); }
.mdl .mx-legend span { display: inline-flex; align-items: center; gap: 8px; }
.mdl .mx-legend i { width: 16px; height: 16px; border-radius: 3px; }
.mdl .mx-legend i.yes { background: var(--look); }
.mdl .mx-legend i.no { background: repeating-linear-gradient(45deg, var(--hatch) 0 1px, transparent 1px 5px), repeating-linear-gradient(-45deg, var(--hatch) 0 1px, transparent 1px 5px), #fff; box-shadow: inset 0 0 0 1px var(--hatch); }

/* ---------- narrower: the two halves stack, the mask under the pipeline ---------- */
@media (max-width: 1020px) {
  .mdl .d6 { grid-template-columns: minmax(0, 1fr); row-gap: 44px; }
  .mdl .d6-left, .mdl .d6-right { width: 100%; max-width: 760px; justify-self: center; }
  .mdl .d6-to { display: none; }
}
@media (max-width: 600px) {
  .mdl .d5-tags .d5-box { font-size: 12px; }
  .mdl .k-part b { white-space: normal; font-size: 13px; }
  .mdl .mx { --g: 6px; grid-template-columns: 66px minmax(0, 1fr); gap: 18px 8px; }
  .mdl .mx-corner { font-size: 11px; }
  .mdl .mx-col .mx-th { width: min(100%, 52px); }
  .mdl .mx-row .mx-th { width: 26px; }
  .mdl .mx-row { flex-direction: column; align-items: flex-end; gap: 4px; }
  .mdl .lg { display: none; } .mdl .sm { display: inline; }
  .mdl .mx-n b { font-size: 12px; }
  .mdl .mx-n small { font-size: 11px; }
  .mdl .mx-row .mx-n small { display: none; }
  .mdl .mx-col .mx-n small { white-space: normal; line-height: 1.15; }
  .mdl .mx-band em { font-size: 11px; }
  .mdl .mx-legend { margin-left: 0; font-size: 12px; }
}

/* ---------- the card: on the figure, next to the part, pointing at it ---------- */
.mdl .cd { position: absolute; z-index: 5; width: 348px; padding: 18px 20px 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1.5px var(--ink), 0 18px 44px rgba(0, 0, 0, .16); pointer-events: none; animation: mdl-in .18s cubic-bezier(.2, .7, .2, 1); }
.mdl .cd[hidden] { display: none; }
@keyframes mdl-in { from { opacity: 0; transform: translateY(6px); } }
.mdl .cd h4 { margin: 0; font: 600 21px/1.2 var(--sans); letter-spacing: -.025em; }
.mdl .cd h4 b { display: inline-block; padding: 0 9px; border-radius: 6px; font-weight: 600; }
.mdl .cd h4 b.yes { background: var(--ink); color: #fff; }
.mdl .cd h4 b.no { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.mdl .cd > p { margin: 8px 0 0; color: #3b3b3a; font: 400 15px/1.5 var(--sans); }
.mdl .cd-pic { margin-top: 16px; }
.mdl .cd::before { content: ""; position: absolute; top: -8.5px; left: calc(var(--ax, 50%) - 8px); width: 15px; height: 15px; background: #fff; border: solid var(--ink); border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); }
.mdl .cd.up::before { top: auto; bottom: -8.5px; border-width: 0 1.5px 1.5px 0; }
.mdl .cd.up { animation-name: mdl-in-up; }
@keyframes mdl-in-up { from { opacity: 0; transform: translateY(-6px); } }

/* the pictures inside a card */
.mdl .cp-cap { margin: 8px 0 0; text-align: center; color: var(--mute); font: 400 12px/1.3 var(--sans); }
.mdl .cp-chips { display: flex; gap: 5px; }
.mdl .cp-chips .k-part { flex: 1 1 0; padding: 9px 6px; }
.mdl .cp-chips .k-part b { font-size: 13px; }
.mdl .cp-chips .k-part small { font-size: 14px; font-weight: 600; white-space: normal; }
.mdl .cp-rows { display: grid; gap: 8px; }
.mdl .cp-rows > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px; }
.mdl .cp-rows em { color: var(--mute); font: 400 13px/1.2 var(--sans); font-style: normal; }
.mdl .cp-rows .k-part { padding: 7px 4px; }
.mdl .cp-tok { display: flex; align-items: center; gap: 8px; }
.mdl .cp-tok em { color: var(--mute); font-style: normal; }
.mdl .cp-frame { position: relative; flex: 0 0 40%; aspect-ratio: 4 / 3; border-radius: 5px; background: center / cover; overflow: hidden; }
.mdl .cp-frame b { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px) 0 0 / calc(100% / var(--cols)) 100%, linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px) 0 0 / 100% calc(100% / var(--rows)); }
.mdl .cp-frame u { position: absolute; left: calc(100% * var(--c) / var(--cols)); top: calc(100% * var(--r) / var(--rows)); width: calc(100% / var(--cols)); height: calc(100% / var(--rows)); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--ink); }
.mdl .cp-patch { flex: 0 0 11%; aspect-ratio: 1; border-radius: 4px; box-shadow: 0 0 0 1.5px var(--ink); image-rendering: pixelated; }
.mdl .cp-vec { flex: 1 1 0; display: grid; grid-template-columns: repeat(16, 1fr); gap: 1px; }
.mdl .cp-vec b { aspect-ratio: 1; background: #c9c9c6; }
.mdl .cp-vec b:nth-child(3n) { background: #8e8e8b; } .mdl .cp-vec b:nth-child(5n) { background: #e4e4e1; } .mdl .cp-vec b:nth-child(7n) { background: #5c5c5a; }
.mdl .cp-time { display: grid; gap: 6px; }
.mdl .cp-lane { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 10px; color: var(--ink); font: 400 13px/1.2 var(--sans); }
.mdl .cp-lane > div { position: relative; height: 22px; border-left: 1px solid var(--line); background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 25% 100%; }
.mdl .cp-lane i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; }
.mdl .cp-lane i.k-target { background: var(--target); } .mdl .cp-lane i.k-source { background: var(--source); } .mdl .cp-lane i.k-ref { background: var(--ref); }
.mdl .cp-ticks > div { height: 14px; background: none; border: 0; }
.mdl .cp-ticks em { position: absolute; top: 0; transform: translateX(-50%); color: var(--mute); font: 400 11px/1 var(--sans); font-style: normal; white-space: nowrap; }
.mdl .cp-dit { display: grid; gap: 5px; }
.mdl .cp-dit i { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 12px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--rule); font: 600 14px/1.3 var(--sans); font-style: normal; }
.mdl .cp-dit i.blue { color: var(--acc); box-shadow: inset 0 0 0 1.5px #5b9bd5; }
.mdl .cp-dit small { color: var(--mute); font: 400 12px/1.3 var(--sans); text-align: right; }

@media (max-width: 600px) {
  /* a phone: no room for the card on the figure, it becomes a sheet at the bottom of the screen */
  .mdl .cd { position: fixed; left: 12px !important; right: 12px; top: auto !important; bottom: 12px; width: auto; z-index: 60; max-height: 62vh; overflow: auto; }
  .mdl .cd::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mdl .cd { animation: none; } .mdl .mx-b, .mdl .k-part, .mdl .d5-f { transition: none; } }

/* ---------- Training: the curve and the wall (owner's pick 2026-11-18, "A · Wall") ---------- */
.tw-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr); gap: 40px; align-items: start; margin-top: -6px; }
.tw-left { min-width: 0; }
.tr-head { display: flex; align-items: center; min-height: 46px; }
.tr-num { margin: 0; display: flex; align-items: center; gap: 16px; }
.tr-num b { min-width: 1.72em; font: 600 clamp(30px, 3.4vw, 46px)/1 var(--sans); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.tr-num > span { color: var(--ink); font: 400 15px/1.4 var(--sans); }
.tr-num > span span { color: var(--mute); }
.tr-chart { position: relative; height: 262px; }
.tr-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tr-range { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tr-chart:has(.tr-range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 6px; }
.tr-band { fill: none; }
.tr-band.alt { fill: var(--wash); }
.tr-t { fill: var(--mute); font: 400 12px var(--sans); }
.tr-grid { stroke: var(--line); stroke-width: 1; }
.tr-line { fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.tr-dot { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.tr-guide { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 4; opacity: .5; transition: x1 .28s cubic-bezier(.2, .7, .2, 1), x2 .28s cubic-bezier(.2, .7, .2, 1); }
/* the picked point is the page's slider dot: black, ringed in white, the same soft shadow */
.tr-at { fill: var(--ink); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .3)); transition: cx .28s cubic-bezier(.2, .7, .2, 1), cy .28s cubic-bezier(.2, .7, .2, 1); }
.tw-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 76px; }
.v2 .tw-pair .demo-fig { position: relative; margin: 0; aspect-ratio: 7 / 4; overflow: hidden; }
.tw-pair video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tr-verdict { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); color: #0c0c0d; font: 500 12px/1.2 var(--sans); }
.tr-verdict[data-v="P"] { background: rgba(12, 12, 13, .86); color: #fff; }
.tr-verdict[data-v=""] { color: var(--mute); }
.tr-instr { margin: 14px 0 0; font: 600 17px/1.35 var(--sans); letter-spacing: -.01em; }
.tw-side .plus-note { margin-top: 6px; }
.tw-wall { display: grid; grid-template-columns: repeat(17, minmax(0, 1fr)); gap: 5px; margin-top: 30px; }
/* a tile is grey until its task passes at the picked checkpoint */
.tw-t { display: block; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 4px; background-color: var(--wash); background-image: var(--sheet, none); background-repeat: no-repeat;
  background-size: calc(var(--cols) * 100%) calc(var(--rows) * 100%); filter: grayscale(1); opacity: .5;
  transition: opacity .35s, filter .35s, transform .2s; transition-delay: calc(var(--n) * 3ms); }
button.tw-t { cursor: pointer; }
.tw-t.on { filter: none; opacity: 1; }
.tw-wall:hover .tw-t { transition-delay: 0s; }
button.tw-t:hover { transform: scale(1.5); opacity: 1; filter: none; position: relative; z-index: 2; box-shadow: 0 4px 18px rgba(0, 0, 0, .22); }
.tw-t.sel { outline: 2px solid var(--ink); outline-offset: 2px; opacity: 1; position: relative; z-index: 1; }
button.tw-t:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 1000px) {
  .tw-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tw-pair { margin-top: 0; }
}
@media (max-width: 720px) {
  .tr-chart { height: 230px; }
  .tr-verdict { right: 10px; bottom: 10px; }
  .tw-wall { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
  button.tw-t:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .tr-at, .tr-guide, .tw-t { transition: none; } }

/* ---------- Compute ---------- */
/* The race of the paper's E.3 first, then one switch (chips per request) over the board, the timed run and the three
   panels of E.2. Owner's pick 2026-11-19: D's opening, A's linked block, D's second board. */
/* the lead and the heading of the block under the race: the owner's two sentences, the same size, each on one line */
#compute .cx-lead, #compute .cx-block h3 { margin: 0 0 40px; font: 500 clamp(23px, 2.78vw, 36px)/1.16 var(--sans); letter-spacing: -.032em; text-wrap: balance; }
#compute .cx-block h3 { margin: 0 0 36px; }
@media (min-width: 861px) { #compute .cx-lead, #compute .cx-block h3 { white-space: nowrap; } }
.cx-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; font: 500 15px/1.3 var(--sans); }
.cx-block { margin-top: clamp(48px, 7vh, 80px); }
/* the two experiments: a group of panels each, numbered as on the board (1 in ink: this video; 2 in grey: all the groups) */
.cx-ex h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding-top: 14px; border-top: 1px solid var(--ink); font: 600 16px/1.3 var(--sans); }
.cx-ex h4 i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 13px/22px var(--sans); text-align: center; }
.cx-ex.g h4 i { background: #7d7d77; }
.cx-ex .cm-num { flex-direction: column; align-items: flex-start; gap: 12px; }
.cx-ex .cm-num b { min-width: 0; font-size: clamp(44px, 4.4vw, 60px); }
/* the unit, in words, beside the figure */
.cx-ex .cm-num b em { margin-left: .32em; font: 400 .38em/1 var(--sans); letter-spacing: 0; white-space: nowrap; }
.cx-ex .cm { margin-bottom: 34px; }
.cx-ex .cm-num span { color: var(--mute); }
.cx-ex .cc + .cc { margin-top: 26px; }
/* the board */
.cb { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; }
.cb-svg { display: block; width: 100%; height: 100%; overflow: hidden; }
.cb-svg * { vector-effect: non-scaling-stroke; }
.cb-link line { stroke: #dededa; stroke-width: 1; transition: stroke .3s; }
.cb-link.on line { stroke: var(--ink); }
.cb-body { fill: #fff; stroke: #d2d2ce; stroke-width: 1; transition: stroke .3s; }
.cb-core { fill: #e7e7e3; stroke: transparent; stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.cb-bank { fill: #f3f3f0; transition: fill .3s; }
.cb-chip[data-s="a"] .cb-body, .cb-chip[data-s="b"] .cb-body { stroke: var(--ink); }
.cb-chip[data-s="a"] .cb-core { fill: var(--ink); }
.cb-chip[data-s="b"] .cb-core { fill: #fff; stroke: var(--ink); }
.cb-chip[data-s="a"] .cb-bank, .cb-chip[data-s="b"] .cb-bank { fill: #cfcfcb; }
.cb-group { fill: none; stroke: #c4c4bf; stroke-width: 1; stroke-dasharray: 3 4; }
.cb-group.on { stroke: var(--ink); stroke-dasharray: none; stroke-width: 1.5; }
.cb-dot { fill: var(--ink); stroke: #fff; stroke-width: 1.5; }
/* the other workers, at work on videos of their own: the same drawing in grey */
.cb-chip[data-s="ga"] .cb-body, .cb-chip[data-s="gb"] .cb-body { stroke: #a9a9a3; }
.cb-chip[data-s="ga"] .cb-core { fill: #b4b4ad; }
.cb-chip[data-s="gb"] .cb-core { fill: #fff; stroke: #b4b4ad; }
.cb-chip[data-s="ga"] .cb-bank, .cb-chip[data-s="gb"] .cb-bank { fill: #e2e2de; }
.cb-group.busy { stroke: #a9a9a3; stroke-dasharray: none; }
.cb-link.on.dim line { stroke: #a9a9a3; }
.cb-dot.dim { fill: #a9a9a3; }
/* one mark a line, and room for all three kept: with the owner's longer names (2026-11-20) the third no longer fits
   beside the other two, and it must not drop to a second row only at 2, 4 and 8 chips */
.cb-key { display: flex; flex-direction: column; gap: 6px; min-height: calc(4.2em + 12px); margin: 12px 0 0; color: var(--mute); font: 400 13px/1.4 var(--sans); }
.cb-key span { display: inline-flex; align-items: center; gap: 7px; }
.cb-key i { width: 9px; height: 13px; border-radius: 2px; border: 1.2px solid var(--ink); }
.cb-key i.a { background: var(--ink); }
.cb-key i.g { background: #b4b4ad; border-color: #b4b4ad; }
/* the board carries the same two numbers */
.cb-frame { fill: none; stroke: #c4c4bf; stroke-width: 1; }
.cb-mark { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.cb-mark.g { fill: #7d7d77; }
.cb-mark-t { fill: #fff; font: 600 13px var(--sans); text-anchor: middle; }
/* the run */
.cm-num { display: flex; align-items: center; gap: 18px; margin: 0; }
.cm-num b { min-width: 3.1em; font: 600 clamp(40px, 4.6vw, 62px)/1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.cm-num span { font: 400 15px/1.4 var(--sans); }

/* charts */
.cc-title { margin: 0 0 6px; font: 400 15px/1.35 var(--sans); }
.cc-title b { font-weight: 600; }
.cc-read { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 10px; color: var(--mute); font: 400 13px/1.5 var(--sans); }
.cc-read span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
/* every reading takes the room of the widest one ("47.8 s"), so that the row is as long at one chip as at sixteen and
   never drops its last item to a second line when the selection changes (owner 2026-11-19) */
.cc-read b { min-width: 2.47em; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.cc-plot { position: relative; outline: none; }
.cc-plot svg { display: block; overflow: visible; }
.cc-plot[tabindex] { cursor: pointer; touch-action: pan-y; }
.cc-plot:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 6px; }
.cc-grid { stroke: var(--line); stroke-width: 1; }
.cc-base { stroke: #bdbdb8; stroke-width: 1; }
.cc-guide { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 4; opacity: .5; }
.cc-t { fill: var(--mute); font: 400 12px var(--sans); }
.cc-t.on { fill: var(--ink); font-weight: 600; }
.cc-v { fill: var(--mute); font: 500 12.5px var(--sans); font-variant-numeric: tabular-nums; }
.cc-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.cc-m { fill: #fff; stroke-width: 2; }
.cc-1 .cc-line, .cc-1 .cc-m { stroke: #111; } .cc-1 .cc-m.on { fill: #111; }
.cc-2 .cc-line, .cc-2 .cc-m { stroke: #77776f; } .cc-2 .cc-m.on { fill: #77776f; }
.cc-3 .cc-line, .cc-3 .cc-m { stroke: #b4b4ad; } .cc-3 .cc-m.on { fill: #b4b4ad; }
.cc-bar { cursor: pointer; }
.cc-bar path { fill: #d5d5d0; transition: fill .2s; }
.cc-bar.on path { fill: var(--ink); }
.cc-bar.on .cc-v, .cc-bar.on .cc-t { fill: var(--ink); font-weight: 600; }
.cc-hit { fill: transparent; }
/* the race */
.cr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.cr-lane { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr) 5.2em; align-items: center; gap: 8px 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.cr-lane:last-child { border-bottom: 1px solid var(--line); }
.cr-name { margin: 0; font: 500 15px/1.35 var(--sans); }
.cr-lane.gpu .cr-name { color: var(--mute); font-weight: 400; }
.cr-track { height: 30px; border-radius: 6px; background: #efefec; overflow: hidden; }
.cr-track i { display: block; height: 100%; border-radius: 6px; background: var(--ink); transform-origin: left center; transform: scaleX(0); }
.cr-lane.gpu .cr-track i { background: #b9b9b3; }
.cr-clock { margin: 0; text-align: right; color: var(--mute); font: 500 clamp(20px, 2vw, 26px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cr-lane.done .cr-clock { color: var(--ink); }
.cr-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; min-height: 1.3em; margin: 18px 0 0; }
/* the result reads a step below the two heading sentences of the section (owner 2026-11-19) */
.cr-result b { font: 600 clamp(19px, 2.3vw, 29px)/1 var(--sans); letter-spacing: -.03em; }
.cr-result span { color: var(--mute); font: 400 15px/1.4 var(--sans); }

/* three columns: the board, experiment 1, experiment 2 */
.cxg { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.6vw, 52px); align-items: start; }
/* the board stays in view while the two columns beside it are read: every click in them changes it */
@media (min-width: 901px) { .cxg-b { position: sticky; top: 84px; } }
@media (max-width: 900px) {
  .cxg { grid-template-columns: minmax(0, 1fr); }
  .cb { margin: 0 auto; }
}
@media (max-width: 640px) {
  .cr-lane { grid-template-columns: minmax(0, 1fr) 5.2em; }
  .cr-name { grid-column: 1 / -1; }
}
