/* /features and /roadmap only (the homes never load this file). Tokens,
   type and the slot grammar come from tokens.css and site.css. */

/* Page head: the H1 on its shelf rule, the lede under it. */
.page-head > .wrap {
  padding-top: clamp(48px, 8vw, 104px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
.page-head h1 {
  max-width: 14em;
  font: var(--cr-type-landing-h1);
  font-stretch: 75%;
  font-size: clamp(2.75rem, 5vw + 1rem, 5rem);
}
.lede {
  max-width: 40em;
  margin-top: 20px;
  color: var(--cr-text-secondary);
  font-size: 1.1875rem;
  line-height: 1.55;
}
/* /features: the shelf index (landing-v3-spec §4.2, A9). Twelve slots on
   one shelf, width by tier, solid with a Buckram spine when released,
   dashed when not yet. gen_index.py writes the markup and the column
   widths. From 1280px (narrower, a one-unit slot cannot hold its name)
   one shelf, the group captions on its rule and the hovered or focused
   slot's line under them (Covers' line at rest); narrower, slots per
   group with their line always shown. */
.anchor-alias {
  position: absolute;
}
.ix {
  margin-top: clamp(32px, 5vw, 56px);
}
.ix ol {
  padding: 0;
  list-style: none;
}
.ix a {
  color: inherit;
  text-decoration: none;
}
.ix-a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 7.25rem;
  padding: 14px 10px 16px;
}
.ix-a > :not(.ix-o) {
  position: relative;
}
.ix-o {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ix-r {
  fill: var(--cr-surface);
  stroke: var(--cr-text);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.ix-sp {
  fill: none;
  stroke: var(--cr-primary);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}
.ix-dash .ix-r {
  fill: var(--cr-surface-sunken);
  stroke: var(--cr-slot-missing);
  stroke-dasharray: 4 3;
}
.ix-p {
  width: 24px;
  height: 24px;
}
.ix-dash .ix-p,
.ix-d,
.ix-gc {
  color: var(--cr-text-secondary);
}
.ix-n {
  font: 700 0.875rem/1.15 var(--cr-font-display);
  font-stretch: 75%;
  hyphens: manual;
}
.ix-a:hover .ix-n,
.ix-badge:hover {
  text-decoration: underline;
}
.ix-gc {
  display: block;
  padding-top: 8px;
  border-top: 1px solid var(--cr-border-strong);
  font: 600 0.9375rem/1.3 var(--cr-font-display);
}
.ix .ix-badge {
  color: var(--cr-text);
  text-decoration: underline dashed var(--cr-slot-missing);
  text-underline-offset: 4px;
}
.ix-d {
  font-size: 0.9375rem;
  line-height: 1.45;
}
@media (max-width: 1279.98px) {
  .ix-shelf {
    display: grid;
    gap: 24px;
  }
  .ix-g {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .ix-g > ol {
    display: contents;
  }
  .ix-g > .ix-gc,
  .ix-badge {
    grid-column: 1 / -1;
    order: -1;
  }
  .ix-s {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .ix-s.t2 {
    grid-column: span 2;
  }
  .ix-s.next {
    grid-column: 1 / -1;
  }
  .ix-a {
    min-height: 6.5rem;
  }
}
@media (max-width: 719.98px) {
  .ix-g {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ix-a {
    min-height: 5.5rem;
    padding: 12px 12px 14px;
  }
}
@media (min-width: 1280px) {
  /* index:begin */
  .ix-shelf {
    grid-template-columns: 2fr 1fr 1fr 1.25fr 1.25fr 1.25fr 1.25fr 1.25fr 1.25fr 1.25fr 1fr 1fr;
  }
  /* index:end */
  .ix-shelf {
    display: grid;
    grid-template-rows: auto 2.5rem auto;
  }
  .ix-g,
  .ix-g > ol,
  .ix-s {
    display: contents;
  }
  .ix-a {
    grid-row: 1;
    margin: 0 4px;
    padding-inline: 8px;
  }
  /* The hover bridge: the slot's box reaches down over the captions to
     its line, so the pointer can move onto the line (WCAG 1.4.13). */
  .ix-a::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 2.75rem;
  }
  .ix-gc {
    grid-row: 2;
    padding-left: 4px;
  }
  .ix-badge {
    justify-self: end;
    padding-right: 4px;
    white-space: nowrap;
  }
  .ix-g:first-child > .ix-gc {
    background: linear-gradient(var(--cr-primary), var(--cr-primary)) 0 -1px / 48px 3px no-repeat;
  }
  .w1 > ol .ix-gc {
    grid-column: span 1;
  }
  .w3 > .ix-gc {
    grid-column: span 3;
  }
  .w4 > .ix-gc {
    grid-column: span 4;
  }
  .w5 > .ix-gc {
    grid-column: span 5;
  }
  .ix-d {
    grid-row: 3;
    grid-column: 1 / -1;
    padding: 6px 4px 0;
    visibility: hidden;
  }
  .ix-end .ix-d {
    text-align: end;
  }
  .ix-s:is(:hover, :focus-within) .ix-d,
  .ix-shelf:not(:has(.ix-s:hover, .ix-s:focus-within)) .d1 .ix-d {
    visibility: visible;
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* Load: the released outlines draw 80 ms apart (300 ms), then each
     spine (100 ms), about 1.3 s in all; a next-version slot stays
     dashed. pathLength=1, so
     the offset runs 1 to 0. The dashes live only in the keyframes:
     with non-scaling-stroke Chrome measures them in screen pixels, so a
     dash left on would cut the wide Covers slot short once drawn.
     Longhands keep the delays below. */
  html.anim .ix-s:not(.ix-dash) :is(.ix-r, .ix-sp) {
    animation-name: ix-draw;
    animation-duration: 300ms;
    animation-timing-function: var(--cr-ease-ink);
    animation-fill-mode: backwards;
  }
  html.anim .ix-s:not(.ix-dash) .ix-sp {
    animation-duration: 100ms;
  }
  html.anim .ix-sp {
    animation-delay: 300ms;
  }
  html.anim .d2 .ix-r { animation-delay: 80ms; }
  html.anim .d2 .ix-sp { animation-delay: 380ms; }
  html.anim .d3 .ix-r { animation-delay: 160ms; }
  html.anim .d3 .ix-sp { animation-delay: 460ms; }
  html.anim .d4 .ix-r { animation-delay: 240ms; }
  html.anim .d4 .ix-sp { animation-delay: 540ms; }
  html.anim .d5 .ix-r { animation-delay: 320ms; }
  html.anim .d5 .ix-sp { animation-delay: 620ms; }
  html.anim .d6 .ix-r { animation-delay: 400ms; }
  html.anim .d6 .ix-sp { animation-delay: 700ms; }
  html.anim .d7 .ix-r { animation-delay: 480ms; }
  html.anim .d7 .ix-sp { animation-delay: 780ms; }
  html.anim .d8 .ix-r { animation-delay: 560ms; }
  html.anim .d8 .ix-sp { animation-delay: 860ms; }
  html.anim .d9 .ix-r { animation-delay: 640ms; }
  html.anim .d9 .ix-sp { animation-delay: 940ms; }
  html.anim .d10 .ix-r { animation-delay: 720ms; }
  html.anim .d10 .ix-sp { animation-delay: 1020ms; }
  html.anim .d11 .ix-r { animation-delay: 800ms; }
  html.anim .d11 .ix-sp { animation-delay: 1100ms; }
  html.anim .d12 .ix-r { animation-delay: 880ms; }
  html.anim .d12 .ix-sp { animation-delay: 1180ms; }
}
@keyframes ix-draw {
  from {
    stroke-dasharray: 1 2;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1 2;
    stroke-dashoffset: 0;
  }
}

.note + .doors {
  margin-top: clamp(40px, 6vw, 72px);
}

/* The version tag: the Manila accession label of #descargar, set in
   Archivo at width 75. It says when a feature arrived. */
.vtag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--cr-radius-sm);
  background: var(--cr-manila);
  color: var(--cr-manila-fg);
  font: 700 0.8125rem/1.4 var(--cr-font-display);
  font-stretch: 75%;
  white-space: nowrap;
}
.vtag[data-since='next'] {
  --dash-ink: var(--cr-manila-fg);
  background: transparent;
  color: var(--cr-text);
  outline: 1.5px dashed var(--cr-slot-missing);
  outline-offset: -1.5px;
}

/* /features (landing-v3-spec §2.4, §4.1): a bar with the chapter links
   and the page switch, sticky under the header at every width (the switch
   stays in reach while reading on a phone; below 720px the bar holds the
   switch alone, the shelf index above being the chapter list there), then
   the chapters as reading desks: text on the left, the window on the
   right. */
:root {
  --bar: 53px;
}
html:has(.chapbar) {
  scroll-padding-top: calc(var(--header) + var(--bar) + 16px);
}
.chapbar {
  border-block: 1px solid var(--cr-border);
  background: var(--cr-bg);
}
.chapbar-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
}
.toc {
  flex: 1 1 24rem;
  min-width: 0;
}
/* The row fades out at its end, and scrolls 56px past the last chapter
   so «Próxima versión» can leave the fade whole. */
.toc ol {
  display: flex;
  gap: 0 18px;
  overflow-x: auto;
  padding: 0 56px 0 0;
  list-style: none;
  font-size: 0.9375rem;
  scrollbar-width: none;
  mask-image: linear-gradient(to left, transparent, #000 48px);
}
.toc ol::-webkit-scrollbar {
  display: none;
}
.toc a {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 44px;
  padding-left: 18px;
  color: var(--cr-text-secondary);
  text-decoration: none;
  white-space: nowrap;
}
.toc a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 12px;
  margin-top: -6px;
  border-radius: 1px;
  outline: 1.5px dashed var(--cr-slot-missing);
  outline-offset: -1.5px;
}
.toc a:hover,
.toc a[aria-current] {
  color: var(--cr-text);
}
.toc a[aria-current]::before {
  outline-color: transparent;
  background: linear-gradient(var(--cr-slot-applied), var(--cr-slot-applied)) 0 100% / 100% 3px no-repeat,
    var(--cr-slot-filled);
}
/* The next version stays a dashed slot even while it is being read. */
.toc li:last-child a[aria-current]::before {
  outline-color: var(--cr-slot-missing);
  background: none;
}
.toc a:focus-visible {
  outline-offset: -2px;
}
/* The page switch: two radios drawn as index-card tabs; the chosen one
   is Board with the Buckram spine at its foot. */
.lens-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 4px 0;
  border: 0;
}
.lens-switch[hidden] {
  display: none;
}
.lens-switch legend {
  float: left;
  margin-right: 6px;
  color: var(--cr-text-secondary);
  font: 600 0.9375rem/1.3 var(--cr-font-display);
}
.lens-switch label {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--cr-border);
  border-radius: var(--cr-radius-sm) var(--cr-radius-sm) 0 0;
  color: var(--cr-text-secondary);
  font: 600 0.9375rem/1.3 var(--cr-font-display);
  cursor: pointer;
}
.lens-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lens-switch label:has(:checked) {
  border-color: var(--cr-border-strong);
  background: var(--cr-surface);
  box-shadow: inset 0 -3px var(--cr-primary);
  color: var(--cr-text);
}
.lens-switch label:has(:focus-visible) {
  outline: 2px solid var(--cr-ring);
  outline-offset: 2px;
}
.chapbar {
  position: sticky;
  top: var(--header);
  z-index: 10;
  min-height: var(--bar);
}
.chapbar-in {
  flex-wrap: nowrap;
  min-height: var(--bar);
}
/* On a phone the bar keeps only the switch, and only once lens.js has
   shown it; without it the chapter links stay a plain row. */
@media (max-width: 719px) {
  html:not(.lens) .chapbar {
    position: static;
  }
  html.lens .chapbar .toc {
    display: none;
  }
}
.chaps {
  padding-bottom: clamp(48px, 8vw, 96px);
}
.fgroup {
  display: grid;
  gap: 24px;
  padding: clamp(48px, 8vw, 96px) 0 0;
  background:
    linear-gradient(var(--cr-primary), var(--cr-primary)) 0 0 / 48px var(--cr-border-width-spine) no-repeat,
    linear-gradient(var(--cr-border), var(--cr-border)) 0 0 / 100% 1px no-repeat;
}
.chapbar + .chaps > .fgroup:first-child {
  padding-top: 40px;
  background: none;
}
.fgroup-head {
  max-width: 62ch;
}
.fgroup-head h2 {
  font-size: clamp(1.875rem, 2.4vw + 1rem, 2.75rem);
}
.fgroup-head p {
  max-width: 58ch;
  margin-top: 10px;
  color: var(--cr-text-secondary);
  font-size: 1.125rem;
  line-height: 1.5;
}
/* A next-version chapter (none since 0.5.0) is a slot not filled yet:
   dashed, Greyboard, no spine. */
.chap-next {
  margin-top: clamp(48px, 8vw, 96px);
  padding: clamp(24px, 4vw, 40px);
  border: 1.5px dashed var(--cr-slot-missing);
  border-radius: var(--cr-radius-sm);
  background: var(--cr-surface-sunken);
}
.chap-badge {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--cr-text-secondary);
  font: 600 0.9375rem/1.3 var(--cr-font-display);
  text-decoration: underline dashed var(--cr-slot-missing);
  text-underline-offset: 4px;
}
@media (min-width: 1024px) {
  .fgroup {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 56px;
    align-items: start;
  }
  .fgroup-head,
  .flist {
    grid-column: 1;
  }
  .fgroup > figure {
    grid-column: 2;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--header) + var(--bar) + 24px);
  }
  /* A next-version chapter: two scenes, taller than a screen, so it scrolls. */
  .chap-next > figure {
    position: static;
  }
}
/* After the chapters: two plain lists and the doors to the sibling
   pages, each a slot on the shelf rule. */
.after {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.after > * {
  min-width: 0;
}
.fmore h2 {
  margin-bottom: 16px;
  font: var(--cr-type-landing-h3);
  font-stretch: 75%;
}
.fmore .notyet {
  max-width: 46rem;
}
.doors ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 16px 32px;
  padding: 0;
  list-style: none;
}
.doors a {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  background:
    linear-gradient(var(--cr-primary), var(--cr-primary)) 0 0 / 48px var(--cr-border-width-spine) no-repeat,
    linear-gradient(var(--cr-border-strong), var(--cr-border-strong)) 0 0 / 100% 1px no-repeat;
  color: inherit;
  text-decoration: none;
}
.doors b {
  font: var(--cr-type-landing-h3);
  font-stretch: 75%;
}
.doors span {
  color: var(--cr-text-secondary);
}
.doors a:hover b {
  text-decoration: underline;
}
.flist > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--cr-border);
}
.flist dt {
  font-weight: 600;
}
.flist dd {
  grid-column: 1;
  margin: 0;
  color: var(--cr-text-secondary);
}
.flist .since {
  grid-column: 2;
  grid-row: 1;
}

/* Settings and trust, drawn. */
.trust {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin-inline: auto;
}
.tr-box {
  fill: var(--cr-manila);
}
.tr-zip {
  stroke: var(--cr-manila-fg);
  stroke-width: 3;
  stroke-dasharray: 2 2;
}
.tr-seal {
  fill: var(--cr-surface);
  stroke: var(--cr-success);
  stroke-width: 2;
}
.tr-ck {
  color: var(--cr-success);
}
.tr-none {
  color: var(--cr-slot-missing);
}
/* Integrations (a clip; beats from 1200px): SteamGridDB Not set up →
   Saved → Connected and its cover fills; ScreenScraper rests on Not
   available; the Switch catalogue Off → Ready. Static: end. */
.int-stage {
  position: relative;
}
.intg {
  display: block;
  width: 100%;
  height: auto;
}
.int-card {
  fill: var(--cr-surface-raised);
  stroke: var(--cr-border-strong);
}
.int-na-c {
  fill: none;
  stroke: var(--cr-slot-missing);
}
.int-nm {
  fill: var(--cr-text);
}
.int-ds,
.int-dots,
.int-t1 {
  fill: var(--cr-text-secondary);
  color: var(--cr-text);
}
.int-fld,
.int-btn,
.int-tg {
  fill: var(--cr-surface);
  stroke: var(--cr-border-strong);
}
.int-btn {
  stroke: var(--cr-primary);
}
.int-tgo {
  fill: var(--cr-success);
  stroke: var(--cr-success);
}
.int-kn {
  fill: var(--cr-text);
  transform: translateX(12px);
}
.int-ck {
  color: var(--cr-success);
}
.int-mi {
  color: var(--cr-slot-missing);
  opacity: 0;
}
.int-sp {
  color: var(--cr-slot-applied);
}
.int-l {
  position: absolute;
  right: 7%;
  top: 6%;
  padding: 1px 8px;
  border-radius: var(--cr-radius-sm);
  font: 600 clamp(0.625rem, 0.5rem + 0.6vw, 0.75rem)/1.3 var(--cr-font-body);
  white-space: nowrap;
  outline: 1.5px solid;
  outline-offset: -1.5px;
}
:is(.int-t0, .int-na, .int-s0) {
  outline: 1.5px dashed var(--cr-slot-missing);
  color: var(--cr-text-secondary);
}
:is(.int-t2, .int-s1) {
  background: var(--cr-success-bg);
  color: var(--cr-success);
}
.int-na {
  top: 44%;
}
:is(.int-s0, .int-s1) {
  top: 69%;
  right: 19%;
}
:is(.int-t0, .int-t1, .int-s0) {
  opacity: 0;
}
.int-sp,
.int-dots {
  transform-box: fill-box;
  transform-origin: 0 50%;
}
.fgroup[data-beat='1'] :is(.int-dots, .int-t1),
.fgroup:is([data-beat='1'], [data-beat='2']) :is(.int-cv, .int-sp, .int-ck, .int-t2, .int-s1, .int-tgo) {
  opacity: 0;
}
.fgroup[data-beat='1'] .int-t0,
.fgroup[data-beat='2'] .int-t1,
.fgroup:is([data-beat='1'], [data-beat='2']) :is(.int-mi, .int-s0) {
  opacity: 1;
}
.fgroup:is([data-beat='1'], [data-beat='2']) .int-kn {
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.motion .is-playing .int-box * {
    animation: 4800ms var(--cr-ease-ink) both;
  }
  html.motion .is-playing :is(.int-mi, .int-cv, .int-ck, .int-t2, .int-sp) {
    animation-delay: 1056ms;
  }
  html.motion .is-playing :is(.int-s0, .int-s1, .int-tgo, .int-kn) {
    animation-delay: 2112ms;
  }
  html.motion .is-playing .int-dots {
    animation-name: int-type;
  }
  html.motion .is-playing :is(.int-t0, .int-mi, .int-s0) {
    animation-name: int-off;
  }
  html.motion .is-playing .int-t1 {
    animation-name: int-mid;
  }
  html.motion .is-playing :is(.int-cv, .int-ck, .int-t2, .int-s1, .int-tgo) {
    animation-name: int-on;
  }
  html.motion .is-playing .int-sp {
    animation-name: int-sp;
  }
  html.motion .is-playing .int-kn {
    animation-name: int-kn;
  }
  html.motion .intfig:is(:hover, :focus-within) .int-box * {
    animation-play-state: paused;
  }
}
@keyframes int-type {
  0%,
  12% {
    clip-path: inset(0 100% 0 0);
  }
  30%,
  100% {
    clip-path: inset(0);
  }
}
@keyframes int-off {
  0%,
  32% {
    opacity: 1;
  }
  38%,
  100% {
    opacity: 0;
  }
}
@keyframes int-on {
  0%,
  34% {
    opacity: 0;
  }
  40%,
  100% {
    opacity: 1;
  }
}
@keyframes int-mid {
  0%,
  34%,
  60%,
  100% {
    opacity: 0;
  }
  40%,
  54% {
    opacity: 1;
  }
}
@keyframes int-sp {
  0%,
  40% {
    transform: scaleX(0);
  }
  52%,
  100% {
    transform: none;
  }
}
@keyframes int-kn {
  0%,
  32% {
    transform: none;
  }
  40%,
  100% {
    transform: translateX(12px);
  }
}
/* /features from 1200px: each group's figure stays beside its list
   (sticky from 1024px, above; no pinned section, no scroll hijack) and toc.js puts the beat
   being read on the group ([data-beat] on .fgroup): early beats draw the
   scene's earlier states, the last one is the finished scene, which is
   also what phones, no-JS and reduced motion see. Clips do not play
   there; the beats replace them. */
/* The review queue (A8) beside chapter 1's cascade has no beats: it keeps
   its Repetir. */
.fgroup[data-beat] .clip-replay:not(.qafig .clip-replay) {
  display: none;
}
.fgroup .cas .sp,
.fgroup .arc-lid {
  transform-box: fill-box;
  transform-origin: 0 50%;
}
.fgroup .arc-lid {
  transform-origin: 0 100%;
}
.fgroup:is([data-beat='1'], [data-beat='2'], [data-beat='3']) .cas .cv,
.fgroup:is([data-beat='1'], [data-beat='2'], [data-beat='3']) .cas .tb,
.fgroup[data-beat='1'] .cas :is(.s2, .s3),
.fgroup[data-beat='2'] .cas .s3,
.fgroup[data-beat='1'] .gal .g-cv :is(.q4, .q5, .q6, .q7, .q8),
.fgroup[data-beat='2'] .gal .g-cv :is(.q7, .q8),
.fgroup[data-beat='1'] .arc .trk,
.fgroup[data-beat='2'] .arc :is(.t-f, .t-k),
.fgroup:is([data-beat='1'], [data-beat='2']) .dup-box :is(.dup-tag, .dup-undo),
.fgroup[data-beat='1'] .dup-why,
.fgroup[data-beat='1'] .trust :is(.tr-seal, .tr-ck) {
  opacity: 0;
}
.fgroup:is([data-beat='1'], [data-beat='2'], [data-beat='3']) .cas .mi,
.fgroup[data-beat='2'] .arc .t-o {
  opacity: 1;
}
.fgroup[data-beat='1'] .cas .s1 {
  opacity: 0.35;
}
.fgroup[data-beat='2'] .cas .s1,
.fgroup[data-beat='3'] .cas .s2 {
  transform: translateX(-28px);
}
.fgroup:is([data-beat='1'], [data-beat='2'], [data-beat='3']) .cas .sp,
.fgroup[data-beat='1'] .dup .dup-sp {
  transform: scaleX(0);
}
.fgroup[data-beat='1'] .arc .trk {
  transform: translateX(-80px) scale(0.6);
}
.fgroup[data-beat='2'] .arc-lid {
  transform: rotate(-28deg);
}
.fgroup:is([data-beat='1'], [data-beat='2']) .dup .da {
  transform: translate(-162px, 28px) scale(1.2);
}
.fgroup:is([data-beat='1'], [data-beat='2']) .dup .db {
  transform: translate(-106px, 24px) scale(1.2);
}
.fgroup[data-beat='1'] .trust :is(.tr-box, .tr-zip) {
  opacity: 0.35;
}
@media (prefers-reduced-motion: no-preference) {
  html.motion .fgroup[data-beat] :is(.cas, .gal, .arc, .dup-box, .trust, .int-box) * {
    animation: none;
    transition: opacity 420ms var(--cr-ease-standard), transform 600ms var(--cr-ease-ink);
  }
  html.motion .fgroup[data-beat] .dup-box .dup-why {
    animation: none;
    transition: opacity 420ms var(--cr-ease-standard);
  }
  html.motion .fgroup[data-beat] [data-deck].play :is([aria-pressed='true'], [aria-selected='true'])::after {
    animation: none;
  }
}

/* /roadmap, above the text (docs/landing-round2-plan.md §4): one shelf.
   Released versions stand as covers with their Buckram spine, Today is a
   Manila tab, then Now / Next / Later bays of 3:4 slots filled from the
   bottom by the share of tasks done (dashed: nothing yet; a tick: all).
   Dashed arcs over the slots: what each block waits for. From 1180px it
   is one grid, each item in its generated column (c1..c17), since 17
   columns need about 64px each; narrower, a plain list. roadmap.py
   writes it from roadmap.json. */
.rm-board {
  margin-top: clamp(32px, 5vw, 56px);
}
.rm-map {
  position: relative;
}
.rm-line,
.rm-line ol {
  padding: 0;
  list-style: none;
}
.rm-line a {
  color: inherit;
  text-decoration: none;
}
.rm-line a:hover b,
.rm-line a:hover .rm-tag {
  text-decoration: underline;
}
.rm-v a,
.rm-slot {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 2px;
  text-align: center;
}
.rm-cv,
.rm-sl {
  width: 48px;
  height: 64px;
}
.rm-lean .rm-cv {
  width: 56px;
}
/* The next version is not out: its leaning cover and its tag are missing
   slots (dashed), the grammar of the «Próxima versión» chips on
   /features. */
.rm-lean .rm-cv {
  color: var(--cr-slot-missing);
}
.rm-lean .rm-tag {
  background: transparent;
  color: var(--cr-text);
  outline: 1.5px dashed var(--cr-slot-missing);
  outline-offset: -1.5px;
}
.rm-spine {
  color: var(--cr-slot-applied);
}
.rm-v .rm-tag {
  font: 700 0.8125rem/1.4 var(--cr-font-display);
  font-stretch: 75%;
  padding: 1px 8px;
}
.rm-v time,
.rm-slot span {
  font-size: 0.75rem;
  color: var(--cr-text-secondary);
  font-variant-numeric: tabular-nums;
}
.rm-slot b {
  font: 700 0.8125rem/1.15 var(--cr-font-display);
  font-stretch: 75%;
  hyphens: manual;
}
.rm-sl-o {
  fill: none;
  stroke: var(--cr-slot-missing);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}
.rm-sl:has(.rm-sl-f) .rm-sl-o {
  stroke: var(--cr-border-strong);
  stroke-dasharray: none;
}
.rm-sl-f {
  fill: var(--cr-slot-filled);
}
.rm-sl-k {
  color: var(--cr-success);
}
.rm-today span {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--cr-radius-sm);
  background: var(--cr-manila);
  color: var(--cr-manila-fg);
  font: 700 0.8125rem/1.4 var(--cr-font-display);
  font-stretch: 75%;
}
.rm-bay h2 {
  font: 700 1rem/1.3 var(--cr-font-body);
  color: var(--cr-text-secondary);
}
.rm-deps {
  display: none;
}
.rm-map > .caption-row {
  margin-top: 16px;
}
@media (max-width: 1179.98px) {
  .rm-line {
    display: grid;
    gap: 14px;
    padding-left: 18px;
    border-left: 2px solid var(--cr-border-strong);
  }
  .rm-v a,
  .rm-slot {
    grid-template-columns: 36px auto 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    column-gap: 12px;
  }
  .rm-v a > svg,
  .rm-slot > svg {
    grid-row: span 2;
  }
  .rm-cv,
  .rm-sl {
    width: 36px;
    height: 48px;
  }
  .rm-slot span,
  .rm-v time {
    grid-column: 2;
  }
  .rm-bay h2 {
    margin: 10px 0 8px;
  }
  .rm-bay ol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
}
@media (min-width: 1180px) {
  .rm-map {
    padding-top: 40px;
  }
  .rm-deps {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    overflow: visible;
  }
  .rm-deps path {
    fill: none;
    stroke: var(--cr-border-strong);
    stroke-width: 1.5;
    stroke-dasharray: 4 3;
    vector-effect: non-scaling-stroke;
  }
  .rm-line {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: end;
    row-gap: 12px;
  }
  .rm-bay,
  .rm-bay ol {
    display: contents;
  }
  .rm-line > li:not(.rm-bay),
  .rm-bay li {
    grid-row: 1;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--cr-border-strong);
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .rm-today {
    position: relative;
    border-left: 2px dashed var(--cr-slot-missing);
  }
  .rm-today span {
    margin-bottom: 60px;
  }
  .rm-slot b {
    min-height: 3.45em;
    display: flex;
    align-items: flex-end;
  }
  .rm-bay h2 {
    grid-row: 2;
    padding-top: 2px;
    border-top: 2px solid var(--cr-border);
    text-align: center;
  }
  .rm-line .c1 {
    grid-column-start: 1;
  }
  .rm-line .c2 {
    grid-column-start: 2;
  }
  .rm-line .c3 {
    grid-column-start: 3;
  }
  .rm-line .c4 {
    grid-column-start: 4;
  }
  .rm-line .c5 {
    grid-column-start: 5;
  }
  .rm-line .c6 {
    grid-column-start: 6;
  }
  .rm-line .c7 {
    grid-column-start: 7;
  }
  .rm-line .c8 {
    grid-column-start: 8;
  }
  .rm-line .c9 {
    grid-column-start: 9;
  }
  .rm-line .c10 {
    grid-column-start: 10;
  }
  .rm-line .c11 {
    grid-column-start: 11;
  }
  .rm-line .c12 {
    grid-column-start: 12;
  }
  .rm-line .c13 {
    grid-column-start: 13;
  }
  .rm-line .c14 {
    grid-column-start: 14;
  }
  .rm-line .c15 {
    grid-column-start: 15;
  }
  .rm-line .c16 {
    grid-column-start: 16;
  }
  .rm-line .c17 {
    grid-column-start: 17;
  }
  .rm-line .w2 {
    grid-column-end: span 2;
  }
  .rm-line .w3 {
    grid-column-end: span 3;
  }
  .rm-line .w4 {
    grid-column-end: span 4;
  }
  .rm-line .w5 {
    grid-column-end: span 5;
  }
  .rm-line .w6 {
    grid-column-end: span 6;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.motion .is-playing .rm-map :is(.rm-cv, .rm-sl-f, .rm-deps path, .rm-today span) {
    animation: 900ms var(--cr-ease-ink) both;
  }
  html.motion .is-playing .rm-map .rm-cv {
    animation-name: rm-drop;
  }
  html.motion .is-playing .rm-map .rm-today span {
    animation-name: rm-tab;
    animation-delay: 600ms;
  }
  html.motion .is-playing .rm-map .rm-sl-f {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation-name: rm-fill;
    animation-delay: 900ms;
  }
  html.motion .is-playing .rm-map .rm-deps path {
    animation-name: rm-draw;
    animation-delay: 1500ms;
  }
  html.motion .rm-map:hover *,
  html.motion .rm-map:has([data-off]) * {
    animation-play-state: paused;
  }
}
@keyframes rm-drop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
}
@keyframes rm-tab {
  from {
    opacity: 0;
    transform: rotate(-8deg) translateY(-6px);
  }
}
@keyframes rm-fill {
  from {
    transform: scaleY(0);
  }
}
@keyframes rm-draw {
  from {
    opacity: 0;
  }
}

/* /roadmap: one shelf per version, its accession tag and date, and what
   it brought as solid slots with a Buckram spine (Coverly made them). */
.rm-shelf {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}
.rm-rel h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--cr-border-strong);
  font: var(--cr-type-landing-h3);
  font-stretch: 75%;
}
.rm-tag {
  padding: 2px 10px;
  border-radius: var(--cr-radius-sm);
  background: var(--cr-manila);
  color: var(--cr-manila-fg);
}
.rm-rel time {
  font: 500 1rem/1.4 var(--cr-font-body);
  color: var(--cr-text-secondary);
}
.rm-unrel > p {
  margin-top: 10px;
  color: var(--cr-text-secondary);
}
.rm-done,
.slist {
  display: grid;
  gap: 4px 32px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) {
  .rm-done,
  .slist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.rm-done li,
.slist li {
  position: relative;
  padding: 6px 0 6px 26px;
}
.rm-done li::before,
.slist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 16px;
  border-radius: 1px;
  background:
    linear-gradient(var(--cr-slot-applied), var(--cr-slot-applied)) 0 100% / 100% 3px no-repeat,
    var(--cr-slot-filled);
}


/* == v3:review == */
/* A8 the review queue (landing-v3-spec §6), scene 2 of the /features
   covers chapter, a clip (motion.js, data-clip-ms 2800). Storyboard,
   2.6 s: 0-12 % three candidates for one slot drop into the queue card;
   16-28 % the first one's Buckram spine draws, 20-34 % its reason (a
   check and a bar) draws under it; 38-52 % the ↵ key presses; 52-64 %
   the other two step back; 54-84 % the first one leaves the queue and
   seats in the slot on the shelf, whose dashes go as it lands. The
   words are in the caption, never in the SVG. Static and reduced
   motion: the end frame. Paint order: slot, card, queue, key, cover. */
.qa {
  display: block;
  width: 100%;
  height: auto;
}
.qa .gd,
.qa .qa-gh {
  color: var(--cr-surface-sunken);
}
.qa .mi {
  color: var(--cr-slot-missing);
  opacity: 0;
}
.qa .qa-card,
.qa .qa-kf {
  fill: var(--cr-surface);
  stroke: var(--cr-border-strong);
  stroke-width: 1.5;
}
.qa .qa-dm {
  opacity: 0.45;
}
.qa :is(.qa-sp, .qa-ck) {
  color: var(--cr-slot-applied);
}
.qa .qa-rs {
  fill: var(--cr-text-secondary);
}
.qa .qa-mt {
  fill: var(--cr-border-strong);
  opacity: 0.5;
}
.qa .qa-lip {
  fill: var(--cr-border-strong);
}
.qa .qa-gl {
  fill: none;
  stroke: var(--cr-text);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (prefers-reduced-motion: no-preference) {
  html.motion .is-playing .qa :is(.mi, .qa-dm, .qa-mv, .qa-sp, .qa-ck, .qa-rs, .qa-face, .qa-gl) {
    animation: 2600ms var(--cr-ease-ink) both;
  }
  html.motion .is-playing .qa .mi {
    animation-name: qa-miss;
  }
  html.motion .is-playing .qa .qa-dm {
    animation-name: qa-step;
  }
  html.motion .is-playing .qa .qa-dm + .qa-dm {
    animation-delay: 60ms;
  }
  html.motion .is-playing .qa .qa-mv {
    animation-name: qa-seat;
  }
  html.motion .is-playing .qa :is(.qa-sp, .qa-rs) {
    transform-box: fill-box;
    transform-origin: 0 50%;
    animation-name: qa-spine;
  }
  html.motion .is-playing .qa .qa-rs {
    animation-delay: 80ms;
  }
  html.motion .is-playing .qa .qa-ck {
    animation-name: qa-check;
  }
  html.motion .is-playing .qa .qa-face {
    animation-name: qa-press;
  }
  html.motion .is-playing .qa .qa-gl {
    animation-name: qa-glyph;
  }
  /* As A2: a one-shot whose ↻ sits in the figure, so only off screen
     pauses it. */
  html.motion .qa[data-off] * {
    animation-play-state: paused;
  }
}
@keyframes qa-miss {
  0%,
  80% {
    opacity: 1;
  }
  88%,
  100% {
    opacity: 0;
  }
}
@keyframes qa-step {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  12%,
  52% {
    opacity: 1;
    transform: none;
  }
  64%,
  100% {
    opacity: 0.45;
    transform: none;
  }
}
/* From the queue's first place (140,40) to the slot (40,96). */
@keyframes qa-seat {
  0% {
    opacity: 0;
    transform: translate(100px, -66px);
  }
  12%,
  54% {
    opacity: 1;
    transform: translate(100px, -56px);
  }
  84%,
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes qa-spine {
  0%,
  16% {
    transform: scaleX(0);
  }
  30%,
  100% {
    transform: none;
  }
}
@keyframes qa-check {
  0%,
  20% {
    opacity: 0;
  }
  28%,
  100% {
    opacity: 1;
  }
}
@keyframes qa-press {
  0%,
  38% {
    transform: none;
  }
  42%,
  46% {
    transform: translateY(3px);
  }
  52%,
  100% {
    transform: none;
  }
}
@keyframes qa-glyph {
  0%,
  38% {
    stroke: var(--cr-text);
  }
  42%,
  48% {
    stroke: var(--cr-slot-applied);
  }
  56%,
  100% {
    stroke: var(--cr-text);
  }
}

/* == v3:credit-spines == */
/* A10 (landing-v3-spec §6): six book spines on the shelf rule, one per
   credits group, each as tall as its count (credits.py writes the
   heights as SVG attributes from site/data/credits.json). Static. The
   group names and counts are real text in .cs-src under the drawing. */
.cs {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
}
.cs .cs-bd {
  fill: var(--lp-paper);
  opacity: 0.55;
}
.cs .cs-pl {
  fill: var(--lp-paper);
  opacity: 0.85;
}
.cs-src {
  display: grid;
  gap: 6px 16px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--cr-text-secondary);
}
.cs-src li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
/* A spine-coloured tab ties each name to its spine, in the same order. */
.cs-src li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 14px;
  border-radius: 1px;
  background: var(--lp-ink-0);
  transform: translateY(2px);
}
.cs-src li:nth-child(2)::before {
  background: var(--lp-ink-1);
}
.cs-src li:nth-child(3)::before {
  background: var(--lp-ink-2);
}
.cs-src li:nth-child(4)::before {
  background: var(--lp-ink-3);
}
.cs-src li:nth-child(5)::before {
  background: var(--lp-ink-4);
}
.cs-src li:nth-child(6)::before {
  background: var(--lp-ink-5);
}
.cs-src b {
  font-variant-numeric: tabular-nums;
  color: var(--cr-text);
}
@media (min-width: 560px) {
  .cs-src {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* == v3:chapters == */
/* /features chapters (landing-v3-spec §4.3-4.4): the window holds the
   drawing or the app's own screens; each feature is a line with its id
   and a chip saying since when, linked to that release on the roadmap. */
ul.flist {
  padding: 0;
  list-style: none;
}
.flist > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--cr-border);
}
.flist > li > b {
  font-weight: 600;
}
.flist > li > span {
  grid-column: 1 / -1;
  color: var(--cr-text-secondary);
}
/* A flag such as --include-later never breaks after its dashes. */
.flist > li code {
  white-space: nowrap;
}
.flist .since {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid var(--cr-border-strong);
  border-radius: var(--cr-radius-sm);
  color: var(--cr-text-secondary);
  font: var(--lp-type-chip);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
/* Chapter 12: not released yet, so its chip is a dashed slot too. */
.flist .since[data-since='next'] {
  border-style: dashed;
  border-color: var(--cr-slot-missing);
}
.flist .since:hover {
  border-color: var(--cr-slot-applied);
  color: var(--cr-text);
}
.chap .lens-art:not([hidden]) {
  display: grid;
  gap: 16px;
  align-content: start;
}
.chap .lens-art > figure {
  margin: 0;
}
/* Chapter 11: the credit spines stand in the same window as the clips. */
.chap .csfig {
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid var(--cr-border);
  border-radius: var(--cr-radius-xl);
  background: var(--cr-surface);
}
/* Chapter 10: the home's round trip, one column in the window. */
.chap .demo {
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 0;
}
@media (min-width: 720px) {
  .chap .lens-art:has(> .qafig) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.lens-shot picture {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--cr-border-strong);
  border-radius: var(--cr-radius-md);
  background: var(--cr-surface);
  box-shadow: var(--cr-shadow-raised);
}
.lens-shot img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(var(--cz, 1));
  transform-origin: var(--cx, 50%) var(--cy, 50%);
}
html.shots .lens-shot picture {
  cursor: zoom-in;
}
/* «Ver entera»: a small raised tab in the frame's lower right corner
   (page.js adds it after the <picture>; both share the first cell). */
.lens-shot {
  display: grid;
}
.lens-shot[hidden] {
  display: none;
}
.lens-shot > picture,
.shot-open {
  grid-area: 1 / 1;
}
.shot-open {
  position: relative;
  align-self: end;
  justify-self: end;
  margin: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cr-border-strong);
  border-radius: var(--cr-radius-sm);
  background: var(--cr-surface-raised);
  color: var(--cr-text);
  font: 600 0.875rem/1.2 var(--cr-font-body);
  box-shadow: var(--cr-shadow-raised);
  cursor: pointer;
}
.shot-open:hover {
  background: var(--cr-hover);
}
.shot-open svg {
  width: 16px;
  height: 16px;
}
.shot-dlg {
  width: min(100vw - 32px, 1600px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--cr-border-strong);
  border-radius: var(--cr-radius-lg);
  background: var(--cr-surface);
  color: var(--cr-text);
  box-shadow: var(--cr-shadow-overlay);
}
.shot-dlg::backdrop {
  background: color-mix(in srgb, var(--cr-text) 72%, transparent);
}
.shot-dlg img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 100px);
  object-fit: contain;
}
.shot-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 6px 6px 16px;
  border-bottom: 1px solid var(--cr-border);
}
.shot-bar p {
  min-width: 0;
  color: var(--cr-text-secondary);
  font-size: 0.875rem;
}
.shot-bar button {
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cr-border);
  border-radius: var(--cr-radius-sm);
  background: transparent;
  color: var(--cr-text);
  font: 600 0.875rem/1.2 var(--cr-font-body);
  cursor: pointer;
}
.shot-bar button:hover {
  background: var(--cr-hover);
}

/* Each capture opens on the spot its caption talks about: the camera of
   the home's steps (a static scale about --cx --cy, the frame never past
   the edge), with the whole capture one click away in a <dialog>
   (page.js). Sizes ask for the 2x file so the zoom stays sharp. */
.z-library {
  --cx: 20%;
  --cy: 100%;
  --cz: 1.6;
}
.z-fill {
  --cx: 50%;
  --cy: 15%;
  --cz: 1.35;
}
.z-review {
  --cx: 50%;
  --cy: 50%;
  --cz: 1.6;
}
.z-fill-run {
  --cx: 50%;
  --cy: 48%;
  --cz: 1.55;
}
.z-detail {
  --cx: 95%;
  --cy: 45%;
  --cz: 1.8;
}
.z-reports {
  --cx: 50%;
  --cy: 25%;
  --cz: 1.35;
}
.z-profiles {
  --cx: 25%;
  --cy: 40%;
  --cz: 1.7;
}
.z-start {
  --cx: 50%;
  --cy: 40%;
  --cz: 1.4;
}
.z-systems {
  --cx: 0%;
  --cy: 30%;
  --cz: 1.6;
}
.z-view-columns {
  --cx: 50%;
  --cy: 20%;
  --cz: 1.4;
}
.z-view-slots {
  --cx: 60%;
  --cy: 20%;
  --cz: 1.4;
}
.z-view-shelves {
  --cx: 30%;
  --cy: 30%;
  --cz: 1.4;
}
.z-organise {
  --cx: 30%;
  --cy: 30%;
  --cz: 1.6;
}
.z-organise-extract {
  --cx: 50%;
  --cy: 30%;
  --cz: 1.6;
}
.z-organise-large {
  --cx: 50%;
  --cy: 50%;
  --cz: 1.8;
}
.z-organise-discs {
  --cx: 30%;
  --cy: 45%;
  --cz: 1.5;
}
.z-current {
  --cx: 30%;
  --cy: 40%;
  --cz: 1.5;
}
.z-switch {
  --cx: 30%;
  --cy: 35%;
  --cz: 1.6;
}
.z-duplicates {
  --cx: 50%;
  --cy: 30%;
  --cz: 1.4;
}
.z-duplicates-title {
  --cx: 30%;
  --cy: 70%;
  --cz: 1.5;
}
.z-integrations {
  --cx: 40%;
  --cy: 30%;
  --cz: 1.4;
}
.z-integrations-empty {
  --cx: 25%;
  --cy: 20%;
  --cz: 1.7;
}
.z-update {
  --cx: 60%;
  --cy: 0%;
  --cz: 1.5;
}
.z-jobs {
  --cx: 50%;
  --cy: 50%;
  --cz: 1.6;
}
.z-settings-search {
  --cx: 0%;
  --cy: 0%;
  --cz: 1.9;
}
.z-credits {
  --cx: 15%;
  --cy: 20%;
  --cz: 1.6;
}
.z-addons-covers {
  --cx: 40%;
  --cy: 25%;
  --cz: 1.4;
}
.z-addons-gallery {
  --cx: 40%;
  --cy: 90%;
  --cz: 1.4;
}
.z-addons-details {
  --cx: 30%;
  --cy: 10%;
  --cz: 1.6;
}
.z-folder-panel {
  --cx: 100%;
  --cy: 30%;
  --cz: 1.9;
}
.z-folder-organise {
  --cx: 40%;
  --cy: 60%;
  --cz: 1.5;
}
.z-folder-mods {
  --cx: 30%;
  --cy: 40%;
  --cz: 1.5;
}
.z-extras {
  --cx: 100%;
  --cy: 35%;
  --cz: 1.7;
}
.z-extras-viewer {
  --cx: 50%;
  --cy: 40%;
  --cz: 1.3;
}
.z-pc-arcade {
  --cx: 30%;
  --cy: 0%;
  --cz: 1.4;
}

.lens-cap {
  margin-top: 8px;
  color: var(--cr-text-secondary);
  font-size: 0.875rem;
}
/* Chapter 3: the systems shelves of the home (systems.js, data-src), a
   still of them until they are built (no JS, or before they come near). */
.sys-ch {
  margin: 0;
}
.sys-still {
  display: block;
  width: 100%;
  height: auto;
}
.sys-shelf:not(:empty) + .sys-still {
  display: none;
}
.ss-on {
  fill: var(--cr-surface);
  stroke: var(--cr-border-strong);
}
.ss-off {
  fill: none;
  stroke: var(--cr-slot-missing);
  stroke-dasharray: 3 3;
}
.ss-ln {
  fill: var(--cr-border);
}
.sys-ch .caption-row {
  align-items: flex-start;
}
/* /credits (landing-v3-spec §5.2; a thank-you since the impeccable
   pass): each group stands on the shelf rule with its count, and its
   projects stand on that shelf as filled slots, each with its group's
   ink at the foot (the colours of the A10 spines) and its licence as
   the label. The credit a licence asks for stays in view on the 3px
   Buckram spine; the courtesy credit and the hosts fold away. */
.cr-note {
  max-width: 40em;
  margin-top: 12px;
  color: var(--cr-text-secondary);
}
/* The search (credits.js): hidden until the script runs. */
.cr-find {
  display: grid;
  gap: 8px;
  max-width: 28rem;
  margin-top: 28px;
}
.cr-find[hidden],
.cr-list [hidden] {
  display: none;
}
/* With JS the search keeps its room until credits.js shows it: no shift. */
html.js .cr-find[hidden] {
  display: grid;
  visibility: hidden;
}
.cr-find label {
  font-weight: 600;
}
.cr-find input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cr-border-strong);
  border-radius: var(--cr-radius-md);
  background: var(--cr-surface);
  color: var(--cr-text);
  font: inherit;
}
.cr-count,
.cr-none {
  min-height: 1.5em;
  color: var(--cr-text-secondary);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.cr-none:not([hidden]) {
  margin-top: 8px;
  color: var(--cr-text);
}
.cr-list {
  display: grid;
  gap: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.cr-list > * {
  min-width: 0;
}
.cr-jump ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 0;
  list-style: none;
}
.cr-jump a {
  display: inline-flex;
  text-decoration: none;
  gap: 8px;
  align-items: baseline;
  min-height: 44px;
  padding-top: 10px;
  color: inherit;
}
.cr-jump a span:first-child {
  text-decoration: underline;
}
.cr-n {
  color: var(--cr-text-secondary);
  font: 600 0.9375rem/1 var(--cr-font-display);
  font-variant-numeric: tabular-nums;
}
.cr-shelf {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  font: var(--cr-type-landing-h3);
  font-stretch: 75%;
  font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem);
  background:
    linear-gradient(var(--cr-primary), var(--cr-primary)) 0 100% / 48px var(--cr-border-width-spine) no-repeat,
    linear-gradient(var(--cr-border-strong), var(--cr-border-strong)) 0 100% / 100% 1px no-repeat;
}
.cr-shelf .cr-n {
  font-size: 1.125rem;
}
.cr-group,
.cr-row,
.cr-this {
  scroll-margin-top: calc(var(--header) + 16px);
}
.cr-group:nth-of-type(1) {
  --ink: var(--lp-ink-0);
}
.cr-group:nth-of-type(2) {
  --ink: var(--lp-ink-1);
}
.cr-group:nth-of-type(3) {
  --ink: var(--lp-ink-2);
}
.cr-group:nth-of-type(4) {
  --ink: var(--lp-ink-3);
}
.cr-group:nth-of-type(5) {
  --ink: var(--lp-ink-4);
}
.cr-group:nth-of-type(6) {
  --ink: var(--lp-ink-5);
}
.cr-books {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 20px;
  margin-top: 24px;
}
.cr-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 18px 22px;
  border: 1px solid var(--cr-border-strong);
  border-radius: var(--cr-radius-md);
  background:
    linear-gradient(var(--ink, var(--cr-slot-filled)), var(--ink, var(--cr-slot-filled))) 0 100% / 100% 5px no-repeat,
    var(--cr-surface);
}
.cr-name {
  font: 700 1.25rem/1.2 var(--cr-font-display);
  font-stretch: 75%;
  overflow-wrap: anywhere;
}
.cr-use {
  font-size: 0.9375rem;
}
.cr-lic {
  order: -1;
  padding: 4px 10px;
  border-radius: var(--cr-radius-sm);
  background: var(--cr-manila);
  color: var(--cr-manila-fg);
  font: 600 0.8125rem/1.4 var(--cr-font-body);
}
.cr-lic a {
  color: inherit;
}
.cr-hosts {
  color: var(--cr-text-secondary);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}
.cr-site {
  margin-top: auto;
  font-weight: 600;
}
.cr-site a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.cr-row blockquote {
  margin: 4px 0;
  padding-left: 14px;
  border-left: 1px solid var(--cr-border-strong);
  font-size: 0.9375rem;
}
.cr-req {
  max-width: 100%;
  margin-top: 4px;
}
.cr-row blockquote p {
  overflow-wrap: anywhere;
}
.cr-req-l {
  color: var(--cr-text-secondary);
  font: 600 0.875rem/1.3 var(--cr-font-display);
}
.cr-req blockquote {
  border-left: var(--cr-border-width-spine) solid var(--cr-primary);
}
.cr-more {
  width: 100%;
  border-top: 1px solid var(--cr-border);
}
.cr-more summary {
  display: flex;
  list-style: none;
  align-items: center;
  min-height: 44px;
  color: var(--cr-text-secondary);
  font: 600 0.875rem/1.3 var(--cr-font-body);
  cursor: pointer;
}
.cr-more summary::-webkit-details-marker {
  display: none;
}
/* A drawn chevron: down when closed, up when open. */
.cr-more summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: -3px 0 0 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.cr-more[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}
.cr-more summary:hover {
  color: var(--cr-text);
}
.cr-more[open] summary {
  color: var(--cr-text);
}
.cr-more > :not(summary) {
  margin-top: 6px;
}
.cr-row:target .cr-name {
  text-decoration: underline var(--cr-primary) var(--cr-border-width-spine);
  text-underline-offset: 6px;
}
.cr-this {
  display: grid;
  gap: 12px;
  max-width: 46rem;
}
.cr-this .cr-shelf {
  margin-bottom: 8px;
}
.cr-fine {
  color: var(--cr-text-secondary);
}
.cr-jump a:hover span:first-child {
  text-decoration-thickness: 2px;
}

/* Chapter 3 keeps the list of every system under its shelves (it moved
   from the home with the distill); chapter 2 the formats table. */
.sys-list {
  grid-column: 1 / -1;
  margin-top: clamp(24px, 3vw, 32px);
}
.chap-table {
  grid-column: 1 / -1;
  max-width: 46rem;
}
.cmp-full .table-scroll {
  margin-top: 20px;
}
