/* Image layouts (plan.md #64). Shared with the post editor, which imports
   this file, so a layout looks the same while writing. Markup:

     <figure class="block block-layout layout-NAME" data-count="N">
       <div class="layout-items">
         <a class="layout-item ar-RATIO"><img></a>   (one per slot)
         <span class="layout-item layout-empty"></span>   (an empty slot)
       </div>
       <figcaption>…</figcaption>
     </figure>

   ar-RATIO sets --ar, the image's width/height (layout-ratios.css).
   Rows keep images whole; the shapes crop them to their cells. Empty
   slots stay blank so the shape holds. */

/* .block doubled up, to win over themes' rules for blocks in general
   (such as the builtin .article-body > .block, text width and no margin):
   layouts are wide, with room around them. */
.block.block-layout {
  --layout-gap: 0.6rem;
  max-width: var(--wide, 100%);
  /* Room for shadows and images that reach out of the box. */
  margin: 2.5rem auto 3rem;
  clear: both;
}
.block-layout .layout-items { gap: var(--img-gap, var(--layout-gap)); }
.block-layout .layout-item { display: block; position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.block-layout .layout-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.block-layout a.layout-item { cursor: zoom-in; }
.block-layout figcaption {
  margin-top: 0.6rem;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted, #666);
  text-align: center;
}

/* The shapes follow the prototypes they were reviewed in (blog-38's
   v2.html, ps-*): its sizes, ratios, gaps, shadows and tilts. Each sets
   its own default gap (--layout-gap, as specific as the base rule and
   after it); the spacing setting overrides it. */

/* row: whole images side by side, heights equal: each takes width in
   proportion to its shape. */
.block-layout.layout-row { --layout-gap: 0.6rem; }
.layout-row .layout-items { display: flex; align-items: flex-start; }
.layout-row .layout-item { flex: calc(var(--ar)) 1 0; aspect-ratio: var(--ar); }

/* stagger: equal portrait crops in a row, stepping up and down, with a
   soft shadow. */
.block-layout.layout-stagger { --layout-gap: 1rem; }
.layout-stagger .layout-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 2.5rem 0; }
.layout-stagger[data-count="3"] .layout-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-stagger .layout-item { aspect-ratio: 5 / 6.5; box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 0.15); }
.layout-stagger .layout-item:nth-child(odd) { transform: translateY(-1.8rem); }
.layout-stagger .layout-item:nth-child(even) { transform: translateY(1.8rem); }

/* altar: three, the middle larger, the sides centred on it, or level
   with its top or bottom (the align setting). */
.block-layout.layout-altar { --layout-gap: 0.8rem; }
.layout-altar .layout-items { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; }
.layout-altar.align-top .layout-items { align-items: start; }
.layout-altar.align-bottom .layout-items { align-items: end; }
.layout-altar .layout-item { aspect-ratio: 5 / 7; }
.layout-altar .layout-item:nth-child(2) { aspect-ratio: 7 / 9; }

/* banner: one wide image over a row of the rest. */
.block-layout.layout-banner { --layout-gap: 0.6rem; }
.layout-banner .layout-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.layout-banner[data-count="3"] .layout-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-banner[data-count="5"] .layout-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.layout-banner .layout-item { aspect-ratio: 4 / 3; }
.layout-banner .layout-item:first-child { grid-column: 1 / -1; aspect-ratio: 7 / 3; }

/* lead: a large image beside a column of the rest. */
.block-layout.layout-lead { --layout-gap: 0.6rem; }
.layout-lead .layout-items { display: grid; aspect-ratio: 16 / 10; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.layout-lead[data-count="4"] .layout-items { grid-template-rows: repeat(3, minmax(0, 1fr)); }
.layout-lead .layout-item:first-child { grid-row: 1 / -1; }

/* spiral: the cells of a golden spiral, turning clockwise. */
.block-layout.layout-spiral { --layout-gap: 0.4rem; }
.layout-spiral .layout-items {
  display: grid;
  aspect-ratio: 1.618 / 1;
  grid-template-columns: 1fr 0.236fr 0.146fr 0.236fr;
  grid-template-rows: 0.618fr 0.146fr 0.236fr;
  grid-template-areas: "a b b b" "a e c c" "a d c c";
}
.layout-spiral .layout-item:nth-child(1) { grid-area: a; }
.layout-spiral .layout-item:nth-child(2) { grid-area: b; }
.layout-spiral .layout-item:nth-child(3) { grid-area: c; }
.layout-spiral .layout-item:nth-child(4) { grid-area: d; }
.layout-spiral .layout-item:nth-child(5) { grid-area: e; }

/* pinwheel: four rectangles turning around a small centre square. */
.block-layout.layout-pinwheel { --layout-gap: 0.5rem; }
.layout-pinwheel .layout-items {
  display: grid;
  aspect-ratio: 1.3;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  grid-template-areas: "a a b" "d e b" "d c c";
}
.layout-pinwheel .layout-item:nth-child(1) { grid-area: a; }
.layout-pinwheel .layout-item:nth-child(2) { grid-area: b; }
.layout-pinwheel .layout-item:nth-child(3) { grid-area: c; }
.layout-pinwheel .layout-item:nth-child(4) { grid-area: d; }
.layout-pinwheel .layout-item:nth-child(5) { grid-area: e; }

/* bento: mixed tiles with rounded corners, one large tile anchoring the
   rest and a long one along the bottom. */
.block-layout.layout-bento { --layout-gap: 0.5rem; }
.layout-bento .layout-items {
  display: grid;
  aspect-ratio: 16 / 10;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr 0.8fr;
  grid-template-areas: "a a b b" "a a c d" "e e e d";
}
.layout-bento .layout-item { border-radius: 0.6rem; }
/* Rounded image corners (the shared radius setting, radius-N in
   layout-settings.css), over a layout's own. */
:is(.block-layout, .block-gallery)[class*=" radius-"] :is(.layout-item, .gallery-thumb) {
  border-radius: var(--img-radius);
  overflow: hidden;
}
.layout-bento .layout-item:nth-child(1) { grid-area: a; }
.layout-bento .layout-item:nth-child(2) { grid-area: b; }
.layout-bento .layout-item:nth-child(3) { grid-area: c; }
.layout-bento .layout-item:nth-child(4) { grid-area: d; }
.layout-bento .layout-item:nth-child(5) { grid-area: e; }

/* overlap: prints with white borders strewn over each other, each a
   little tilted. cascade: prints stepping down to the right. The one
   last pointed at comes to the front. */
.layout-overlap .layout-items,
.layout-cascade .layout-items { position: relative; }
.layout-overlap .layout-items { aspect-ratio: 16 / 9; }
.layout-cascade .layout-items { aspect-ratio: 16 / 10; }
.layout-overlap .layout-item,
.layout-cascade .layout-item {
  position: absolute;
  width: 46%;
  overflow: visible;
  transition: box-shadow 0.2s;
}
.layout-overlap .layout-item {
  padding: 0.5rem;
  background: #fff;
  box-shadow: 0 0.6rem 1.4rem rgb(0 0 0 / 0.25);
}
.layout-cascade .layout-item { box-shadow: 0 0.6rem 1.4rem rgb(0 0 0 / 0.22); }
.layout-overlap .layout-item img { aspect-ratio: 7 / 5; height: auto; }
.layout-cascade .layout-item img { aspect-ratio: 7 / 4.8; height: auto; }
.layout-overlap .layout-item:nth-child(1) { left: 3%; top: 8%; transform: rotate(-4deg); }
.layout-overlap .layout-item:nth-child(2) { left: 30%; top: 26%; transform: rotate(3deg); z-index: 2; }
.layout-overlap .layout-item:nth-child(3) { left: 52%; top: 4%; transform: rotate(-1deg); }
/* Two prints share the box between them. */
.layout-overlap[data-count="2"] .layout-item:nth-child(1) { left: 6%; top: 10%; }
.layout-overlap[data-count="2"] .layout-item:nth-child(2) { left: 48%; top: 22%; }
.layout-cascade .layout-item:nth-child(1) { left: 0; top: 0; }
.layout-cascade .layout-item:nth-child(2) { left: 27%; top: 22%; z-index: 2; }
.layout-cascade .layout-item:nth-child(3) { left: 54%; top: 44%; z-index: 3; }
.layout-overlap .layout-empty,
.layout-cascade .layout-empty { aspect-ratio: 7 / 5; }
/* With the platform's layouts.js (.layout-fronting), the image last
   pointed at or tapped stays in front (.layout-front) until another one
   is; without it, :hover brings it forward. State classes carry the
   layout- prefix, so they can't meet another layout's or a theme's. The
   front rule outranks the per-position stacking (:nth-child) above. */
.layout-overlap:not(.layout-fronting) .layout-items > .layout-item:hover,
.layout-cascade:not(.layout-fronting) .layout-items > .layout-item:hover,
.layout-overlap .layout-items > .layout-item.layout-front,
.layout-cascade .layout-items > .layout-item.layout-front { z-index: 10; box-shadow: 0 1rem 2.2rem rgb(0 0 0 / 0.35); }
/* The prints reach past the box: keep them off the caption. */
.layout-overlap figcaption,
.layout-cascade figcaption { margin-top: 1.4rem; }

/* Narrow screens: stagger takes two columns, a row two images a line;
   overlapping prints grow, to stay big enough to see and tap. The other
   shapes keep their shape, scaled down. */
@media (max-width: 40rem) {
  .layout-stagger .layout-items,
  .layout-stagger[data-count="3"] .layout-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-row .layout-items { flex-wrap: wrap; }
  .layout-row .layout-item { min-width: 40%; }
  .layout-overlap .layout-item,
  .layout-cascade .layout-item { width: 58%; }
  .layout-overlap .layout-item:nth-child(3),
  .layout-cascade .layout-item:nth-child(3),
  .layout-overlap[data-count="2"] .layout-item:nth-child(2) { left: 40%; }
}

/* Galleries (plan.md #63): many images in a list.

     <figure class="block block-gallery gallery-grid cols-N gap-G ratio-R
                    [with-captions]" data-page-size="P">
       <ul class="gallery-items">
         <li class="gallery-item"><a class="lightbox"><img></a>
           <span class="gallery-caption">…</span></li>
       </ul>
       <figcaption>…</figcaption>
     </figure>

   The platform's gallery.js shows P images at a time: it puts the items
   in one list per page (.gallery-page) on a track (.gallery-track) that
   slides inside .gallery-view, and adds the controls data-nav names:
   .gallery-arrow buttons over the images, a .gallery-pager below, or a
   .gallery-wheel below. Without it, all images show. */

.block.block-gallery {
  --cols: 4;
  --gap: var(--img-gap, 8px);
  --crop: 4 / 3;
  max-width: var(--wide, 100%);
  /* Room for shadows and images that reach out of the box. */
  margin: 2.5rem auto 3rem;
  clear: both;
}
.block-gallery .gallery-items {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.block-gallery .gallery-item { min-width: 0; margin: 0; }
.block-gallery .gallery-item[hidden] { display: none; }
.block-gallery .gallery-filler { visibility: hidden; }
.block-gallery .gallery-item a,
.block-gallery .gallery-thumb { display: block; aspect-ratio: var(--crop); overflow: hidden; }
.block-gallery .gallery-item a { cursor: zoom-in; }
.block-gallery .gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.block-gallery.cols-1 { --cols: 1; }
.block-gallery.cols-2 { --cols: 2; }
.block-gallery.cols-3 { --cols: 3; }
.block-gallery.cols-4 { --cols: 4; }
.block-gallery.cols-5 { --cols: 5; }
.block-gallery.cols-6 { --cols: 6; }
.block-gallery.cols-7 { --cols: 7; }
.block-gallery.cols-8 { --cols: 8; }
.block-gallery.ratio-1x1 { --crop: 1 / 1; }
.block-gallery.ratio-4x3 { --crop: 4 / 3; }
.block-gallery.ratio-3x2 { --crop: 3 / 2; }
.block-gallery.ratio-3x4 { --crop: 3 / 4; }
.block-gallery.ratio-16x9 { --crop: 16 / 9; }

/* A caption sits close under its own image, with clearly more space
   before the next row. */
.block-gallery.with-captions .gallery-items { row-gap: calc(var(--gap) + 1rem); }
.block-gallery .gallery-caption {
  display: -webkit-box;
  margin-top: 0.2rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* Always two lines, so rows, and pages, keep their height. */
  min-height: calc(2 * 1.25em);
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.75rem;
  line-height: 1.25;
  color: var(--muted, #666);
}
.block-gallery figcaption {
  margin-top: 0.6rem;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted, #666);
  text-align: center;
}
.block-gallery .gallery-view { position: relative; overflow: hidden; }
.block-gallery .gallery-track { display: flex; gap: var(--gap); will-change: transform; }
.block-gallery .gallery-page { flex: 0 0 100%; min-width: 0; }

.block-gallery .gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
  box-shadow: 0 0.2rem 0.6rem rgb(0 0 0 / 0.3);
  color: #111;
  font: 1.6rem/1 system-ui, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s;
}
/* At either end an arrow fades out. */
.block-gallery .gallery-arrow:disabled { opacity: 0; pointer-events: none; }
.block-gallery .gallery-arrow-prev { left: 0.6rem; }
.block-gallery .gallery-arrow-next { right: 0.6rem; }
.block-gallery .gallery-arrow-prev::before { content: "‹"; }
.block-gallery .gallery-arrow-next::before { content: "›"; }
.block-gallery .gallery-arrow:hover { background: #fff; }

/* The wheel: a slim light-grey cylinder whose ridges turn with the
   images (gallery.js moves the third background). */
.block-gallery .gallery-wheel {
  width: min(20rem, 70%);
  height: 1.1rem;
  margin: 0.9rem auto 0;
  border-radius: 0.35rem;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.35), rgb(0 0 0 / 0.05) 22%, transparent 40% 60%, rgb(0 0 0 / 0.05) 78%, rgb(0 0 0 / 0.35)),
    linear-gradient(180deg, rgb(255 255 255 / 0.5), transparent 45%, rgb(0 0 0 / 0.15)),
    repeating-linear-gradient(90deg, #a9a9a9 0 2px, #d4d4d4 2px 4px, #bdbdbd 4px 7px) 0 0 / 7px 100%;
  box-shadow: 0 0.15rem 0.35rem rgb(0 0 0 / 0.18), inset 0 0 0 1px rgb(0 0 0 / 0.15);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.block-gallery .gallery-wheel.dragging { cursor: grabbing; }
.block-gallery .gallery-wheel:focus-visible { outline: 2px solid #1f5fbf; outline-offset: 3px; }

.block-gallery .gallery-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  font-family: var(--sans, system-ui, sans-serif);
  font-size: 0.8rem;
  color: var(--muted, #666);
}
.block-gallery .gallery-pager button {
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--rule, #dcdcdc);
  border-radius: 4px;
  background: var(--paper, #fff);
  color: var(--ink, #141414);
  font: inherit;
  cursor: pointer;
}
.block-gallery .gallery-pager button:disabled { opacity: 0.35; cursor: default; }

/* Narrow screens show at most two columns. */
@media (max-width: 40rem) {
  .block-gallery:not(.cols-1) { --cols: 2; }
}

/* Settings all layouts share (layout-settings.css sets --img-gap and
   --img-width from gap-N and width-N classes). A layout's width is a
   share of the text column, from narrower than the text out to the
   window's edges (width-edge), never wider than the page: the root is a
   size container, so 100cqw is the window without its scrollbar.
   Negative margins centre a layout wider than its column. */
html { container: page / inline-size; }
:is(.block-layout, .block-gallery)[class*=" width-"] {
  --w: min(calc(var(--measure, 40rem) * var(--img-width, 1)), 100cqw);
  width: var(--w);
  max-width: none;
  margin-inline: calc((100% - var(--w)) / 2);
}
:is(.block-layout, .block-gallery).width-edge { --w: 100cqw; }

/* Contact sheet (plan.md #63): strips of 35mm film printed on paper.

     <figure class="block block-gallery gallery-contact [contact-bw]
                    skew-S sheet-B [gap-N] [width-N]">
       <div class="contact-print">
         <div class="contact-strip sv-V">
           <svg class="contact-film">  rebate, holes, edge print
           <a class="contact-frame f-P lightbox"><img></a>  (one per frame)
           <svg class="contact-marks">  circles and crosses
         </div> …

   A strip is 228 × 35 film mm; a frame's image is 36 × 24mm, 1mm in and
   5.5mm down from its 38mm slot, so f-P places it in percent. sv-V is one
   of eight tilts, scaled by --skew (skew-S, 0-100); sheet-B sets the
   paper between the strips from dark grey to white (layout-settings.css).
   The perforations are holes in the film, showing that paper. */
.gallery-contact .contact-print {
  display: flex;
  flex-direction: column;
  gap: var(--img-gap, 12px);
  padding: 1.4rem 1.1rem;
  background: hsl(30 3% calc(28% + var(--sheet, 0) * 0.72%));
}
/* Transparent paper: the strips lie on the blog's own background. */
.gallery-contact.sheet-transparent .contact-print { padding: 0; background: none; }
.gallery-contact .contact-defs { position: absolute; }
.gallery-contact .contact-strip {
  position: relative;
  aspect-ratio: 228 / 35;
  transform: translateX(calc(var(--sv-t, 0) * var(--skew, 0.15) * 1.5%)) rotate(calc(var(--sv-r, 0) * var(--skew, 0.15) * 1.2deg));
}
.gallery-contact .contact-film,
.gallery-contact .contact-marks { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery-contact .contact-marks { z-index: 1; overflow: visible; pointer-events: none; }
.gallery-contact .contact-frame {
  position: absolute;
  top: 15.714%;
  width: 15.789%;
  height: 68.571%;
  overflow: hidden;
}
.gallery-contact a.contact-frame { cursor: zoom-in; }
.gallery-contact .contact-frame img { display: block; width: 100%; height: 100%; border-radius: 1px; object-fit: cover; filter: var(--film-filter); }
/* How each kind of film prints (film-KIND); black and white (contact-bw)
   first takes the colour out. */
.gallery-contact { --film: saturate(1); --film-filter: var(--film); }
.gallery-contact.film-color { --film: saturate(0.92) contrast(1.03); }
.gallery-contact.film-cine { --film: saturate(0.95) sepia(0.12) contrast(1.05); }
.gallery-contact.film-slide { --film: saturate(1.25) contrast(1.1); }
.gallery-contact.contact-bw { --film-filter: grayscale(1) contrast(1.08) var(--film); }
.gallery-contact .f-0 { left: 0.439%; }
.gallery-contact .f-1 { left: 17.105%; }
.gallery-contact .f-2 { left: 33.772%; }
.gallery-contact .f-3 { left: 50.439%; }
.gallery-contact .f-4 { left: 67.105%; }
.gallery-contact .f-5 { left: 83.772%; }
.gallery-contact .sv-0 { --sv-r: -0.9; --sv-t: 0.3; }
.gallery-contact .sv-1 { --sv-r: 0.7; --sv-t: -0.6; }
.gallery-contact .sv-2 { --sv-r: -0.3; --sv-t: -0.9; }
.gallery-contact .sv-3 { --sv-r: 1; --sv-t: 0.5; }
.gallery-contact .sv-4 { --sv-r: -0.6; --sv-t: 0.8; }
.gallery-contact .sv-5 { --sv-r: 0.2; --sv-t: -0.2; }
.gallery-contact .sv-6 { --sv-r: -1; --sv-t: -0.4; }
.gallery-contact .sv-7 { --sv-r: 0.5; --sv-t: 1; }

/* A layout image's crop and zoom (plan.md #64), set per image in the
   editor: crop, with fx-N fy-N (its focal point, percent) and zoom-N
   (tenths; layout-settings.css). The image is placed on its focal point,
   scaled from there, and clipped back to its own box, so it needs no
   wrapper. */
img.crop {
  --k: calc(1 - 1 / var(--z, 1));
  object-position: calc(var(--fx, 50) * 1%) calc(var(--fy, 50) * 1%);
  transform-origin: calc(var(--fx, 50) * 1%) calc(var(--fy, 50) * 1%);
  transform: scale(var(--z, 1));
  clip-path: inset(
    calc(var(--fy, 50) * var(--k) * 1%)
    calc((100 - var(--fx, 50)) * var(--k) * 1%)
    calc((100 - var(--fy, 50)) * var(--k) * 1%)
    calc(var(--fx, 50) * var(--k) * 1%)
  );
}

/* Honeycomb (plan.md #63): hexagonal crops in rows of four and three by
   turns, the short rows offset by half a cell, fitting together like
   cells. --s is a cell's width, scaled by the width setting (165% is the
   default); --hg the gap. Rows overlap by a hexagon's point, less the
   gap's share, so the gap is even all round.

     <figure class="block block-gallery gallery-honeycomb">
       <div class="honey">
         <div class="honey-row [honey-offset]">
           <a class="honey-cell lightbox"><img></a> …
*/
.gallery-honeycomb .honey {
  /* At most what lets a row of four (and its gaps) fit the window. */
  --s: min(
    calc(clamp(4rem, 21vw, 10rem) * var(--img-width, 1.65) / 1.65),
    calc((100cqw - 2rem - 3 * var(--img-gap, 0px)) / 4.15)
  );
  --hg: var(--img-gap, calc(var(--s) * 0.05));
  display: grid;
  justify-content: center;
  padding-bottom: calc(var(--s) * 0.15);
}
.gallery-honeycomb.width-edge .honey { --s: min(clamp(4rem, 21vw, 14rem), calc((100cqw - 2rem - 3 * var(--img-gap, 0px)) / 4.15)); }
.gallery-honeycomb .honey-row { display: flex; gap: var(--hg); margin-bottom: calc(var(--s) * -0.2887 + 0.866 * var(--hg)); }
/* The last row's points stay inside, clear of the caption. */
.gallery-honeycomb .honey-row:last-child { margin-bottom: 0; }
.gallery-honeycomb .honey-offset { margin-left: calc((var(--s) + var(--hg)) / 2); }
.gallery-honeycomb .honey-cell {
  display: block;
  width: var(--s);
  aspect-ratio: 0.866;
  overflow: hidden;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  transition: transform 0.25s, filter 0.25s;
}
.gallery-honeycomb a.honey-cell { cursor: zoom-in; }
/* A hovered cell grows over its neighbours, the next row's too. */
.gallery-honeycomb .honey-cell:hover { position: relative; z-index: 1; transform: scale(1.06); filter: brightness(1.08); }
.gallery-honeycomb .honey-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Shuffle pile (plan.md #63): prints in a messy pile, each with its own
   tilt and offset (pile-i-N, layout-settings.css) and a handwritten
   caption. The platform's layouts.js shuffles it: the top print slides
   out to the side (pile-out), drops to the bottom once it's clear of the
   pile, and slides back in underneath; it keeps its tilt, only the order
   changes. The width setting scales the whole pile.

     <figure class="block block-gallery gallery-shuffle">
       <div class="pile" role="button">
         <figure class="pile-print pile-i-N"><img><figcaption>…</figcaption></figure> …
*/
/* The pile is a stacking context of its own, so its prints stay under the
   page's header. (On narrow screens the slide-out is clipped, below.) */
.gallery-shuffle .pile {
  position: relative;
  isolation: isolate;
  height: 24rem;
  zoom: var(--img-width, 1);
  cursor: pointer;
  outline: none;
}
.gallery-shuffle .pile:focus-visible { outline: 2px solid #1f5fbf; outline-offset: 0.5rem; }
.gallery-shuffle .pile-print {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17rem;
  margin: 0;
  padding: 0.7rem 0.7rem 2.6rem;
  background: #fdfcf8;
  box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 0.25);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translate(var(--x, 0px), var(--y, 0px)) scale(1);
  transition: transform 0.5s cubic-bezier(.45, .05, .3, 1), box-shadow 0.3s;
}
.gallery-shuffle .pile-print img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.gallery-shuffle .pile-print figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  margin: 0;
  text-align: center;
  overflow: hidden;
  padding: 0 0.7rem;
  font: 1.05rem "Bradley Hand", "Segoe Print", cursive;
  color: #333;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.gallery-shuffle .pile-print.pile-out {
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) translate(calc(var(--x, 0px) + 21rem), calc(var(--y, 0px) - 1.5rem)) scale(1.03);
  box-shadow: 0 1.2rem 2rem rgb(0 0 0 / 0.3);
  transition: transform 0.34s cubic-bezier(.2, .7, .3, 1), box-shadow 0.3s;
}
@media (prefers-reduced-motion: reduce) {
  .gallery-shuffle .pile-print { transition: none; }
}

/* Handheld (plan.md #63): a pocket console with a dot-matrix screen. The
   D-pad, A and B (and the arrow keys) step through the pictures; the
   platform's layouts.js draws each on a 160 x 144 canvas, shown pixelated
   (without it, the first picture shows). The width setting scales the
   whole console. */
.gallery-handheld .gb {
  width: min(17rem, 100%);
  margin: 0 auto;
  zoom: var(--img-width, 1);
  padding: 1.2rem 1.2rem 2rem;
  border-radius: 0.8rem 0.8rem 3.5rem 0.8rem;
  background: #c9c7c0;
  box-shadow: inset -0.3rem -0.3rem 0 rgb(0 0 0 / 0.08), 0 0.8rem 1.4rem rgb(0 0 0 / 0.25);
  font-family: system-ui, sans-serif;
  outline: none;
}
.gallery-handheld .gb:focus-visible { box-shadow: 0 0 0 3px var(--accent, #b3001b), 0 0.8rem 1.4rem rgb(0 0 0 / 0.25); }
.gallery-handheld .gb-bezel { position: relative; padding: 1rem 1.6rem 0.6rem; border-radius: 0.5rem 0.5rem 1.6rem 0.5rem; background: #5d5f6b; }
.gallery-handheld .gb-power { position: absolute; left: 0.5rem; top: 2.4rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #e3242b; box-shadow: 0 0 0.3rem #e3242b; }
.gallery-handheld .gb-lcd { position: relative; padding: 0.2rem; background: #8bac0f; box-shadow: inset 0 0 0.4rem rgb(0 0 0 / 0.4); }
.gallery-handheld .gb-lcd :is(img, canvas) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 160 / 144;
  object-fit: cover;
  image-rendering: pixelated;
  filter: grayscale(1) contrast(1.5) brightness(1.1);
  mix-blend-mode: multiply;
}
.gallery-handheld .gb-lcd [hidden] { display: none; }
.gallery-handheld .gb-count { position: absolute; right: 0.4rem; bottom: 0.3rem; padding: 0 0.2rem; background: rgb(155 188 15 / 0.8); color: #0f380f; font: 700 0.6rem ui-monospace, Menlo, monospace; }
.gallery-handheld .gb-bezel small { display: block; margin-top: 0.4rem; color: #b6b6c2; font-size: 0.42rem; font-style: italic; letter-spacing: 0.08em; }
.gallery-handheld .gb-name { margin: 0.5rem 0 1rem; color: #2b2f7a; font: italic 800 0.95rem system-ui, sans-serif; letter-spacing: 0.04em; }
.gallery-handheld .gb-controls { display: flex; justify-content: space-between; align-items: center; }
.gallery-handheld .gb-dpad { position: relative; width: 4.2rem; height: 4.2rem; }
.gallery-handheld .gb-dpad button { position: absolute; padding: 0; border: 0; background: #222; cursor: pointer; }
.gallery-handheld .gb-up, .gallery-handheld .gb-down { left: 1.45rem; width: 1.3rem; height: 1.45rem; cursor: default; }
.gallery-handheld .gb-up { top: 0; border-radius: 0.2rem 0.2rem 0 0; }
.gallery-handheld .gb-down { bottom: 0; border-radius: 0 0 0.2rem 0.2rem; }
.gallery-handheld .gb-left, .gallery-handheld .gb-right { top: 1.45rem; width: 1.45rem; height: 1.3rem; }
.gallery-handheld .gb-left { left: 0; border-radius: 0.2rem 0 0 0.2rem; }
.gallery-handheld .gb-right { right: 0; border-radius: 0 0.2rem 0.2rem 0; }
.gallery-handheld .gb-hub { position: absolute; left: 1.45rem; top: 1.45rem; width: 1.3rem; height: 1.3rem; background: #222; }
.gallery-handheld .gb-dpad button:active,
.gallery-handheld .gb-ab button:active { transform: translateY(1px); filter: brightness(1.4); }
.gallery-handheld .gb-ab { display: flex; gap: 0.6rem; transform: rotate(-25deg); }
.gallery-handheld .gb-ab button { width: 1.9rem; height: 1.9rem; border: 0; border-radius: 50%; background: #9a2257; box-shadow: 0 0.15rem 0 #5c1434; color: #c9c7c0; font: 700 0.6rem system-ui, sans-serif; cursor: pointer; }
.gallery-handheld .gb-startsel { display: flex; gap: 0.8rem; justify-content: center; margin-top: 1.2rem; }
.gallery-handheld .gb-startsel i { width: 2rem; height: 0.45rem; border-radius: 999px; background: #8b8a8e; transform: rotate(-25deg); }

/* Layouts drawn as objects are drawn at their own size, scaled as a whole
   (zoom) by the width setting; their figure is as wide as the text, as in
   their prototypes, or as the width makes it, and their caption stays as
   wide as the text. On narrow screens they keep their own size, and the
   pile's slide-out is clipped rather than widening the page. */
:is(.gallery-shuffle, .gallery-handheld, .gallery-viewmaster, .gallery-tv).block-gallery:not([class*=" width-"]) { max-width: var(--measure, 40rem); }
:is(.gallery-shuffle, .gallery-handheld, .gallery-viewmaster, .gallery-tv) > figcaption { max-width: var(--measure, 40rem); margin-inline: auto; }
@media (max-width: 40rem) {
  .gallery-shuffle .pile,
  .gallery-handheld .gb { zoom: 1; }
  .gallery-shuffle { overflow-x: clip; }
}

/* View-Master (plan.md #63): a round viewer showing one slide, beside the
   reel of seven (vm-k-N places them round it). The platform's layouts.js
   turns the reel, always forward, sets the colours from the figure's
   data-vm-* attributes (public pages allow no inline styles) and, with
   vm-zoom, grows the viewer as it nears the middle of the window (--z,
   0 to 1). Clicking the viewer opens the lightbox over all the slides. */
.gallery-viewmaster .vm {
  --z: 1;
  display: grid;
  grid-template-columns: 1fr 15rem;
  gap: 2rem;
  align-items: center;
  width: 40rem;
  max-width: 100%;
  margin-inline: auto;
  zoom: var(--img-width, 1);
}
.gallery-viewmaster .vm-viewer {
  position: relative;
  z-index: 2;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1.2rem solid var(--vm-border, #a8261e);
  border-radius: 50%;
  box-shadow: inset 0 0 2rem rgb(0 0 0 / 0.6), 0 0.8rem 1.6rem rgb(0 0 0 / 0.3);
  transform: scale(calc(0.55 + 0.6 * var(--z)));
  transition: transform 0.15s linear;
}
.gallery-viewmaster:not(.vm-zoom) .vm-viewer { transform: none; }
.gallery-viewmaster.vm-noborder .vm-viewer { border: 0; }
.gallery-viewmaster .vm-slide { display: block; width: 100%; height: 100%; }
.gallery-viewmaster .vm-slide[hidden] { display: none; }
.gallery-viewmaster a.vm-slide { cursor: zoom-in; }
.gallery-viewmaster .vm-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-viewmaster .vm-num {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.5);
  color: #fff;
  font: 600 0.75rem system-ui, sans-serif;
  transform: translateX(-50%);
}
.gallery-viewmaster .vm-reelbox { display: grid; justify-items: center; gap: 1rem; }
.gallery-viewmaster.vm-zoom .vm-reelbox { transform: translateX(calc((1 - var(--z)) * -4rem)); opacity: calc(0.4 + 0.6 * var(--z)); }
.gallery-viewmaster .vm-reel {
  position: relative;
  width: 14rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f3efe6;
  box-shadow: 0 0.3rem 0.8rem rgb(0 0 0 / 0.25), inset 0 0 0 0.4rem #e4ddcc;
  transition: transform 0.5s;
  cursor: pointer;
  outline: none;
}
.gallery-viewmaster .vm-reel:focus-visible { box-shadow: 0 0 0 3px #1f5fbf, inset 0 0 0 0.4rem #e4ddcc; }
.gallery-viewmaster .vm-reel img {
  position: absolute;
  left: calc(50% - 1.2rem);
  top: calc(50% - 1.05rem);
  width: 2.4rem;
  height: 2.1rem;
  border: 2px solid #111;
  border-radius: 3px;
  object-fit: cover;
  transform: rotate(calc(var(--k) * 360deg / 7)) translateY(-5.1rem);
}
.gallery-viewmaster .vm-k-0 { --k: 0; }
.gallery-viewmaster .vm-k-1 { --k: 1; }
.gallery-viewmaster .vm-k-2 { --k: 2; }
.gallery-viewmaster .vm-k-3 { --k: 3; }
.gallery-viewmaster .vm-k-4 { --k: 4; }
.gallery-viewmaster .vm-k-5 { --k: 5; }
.gallery-viewmaster .vm-k-6 { --k: 6; }
.gallery-viewmaster .vm-hub {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--vm-border, #a8261e);
  color: var(--vm-border, #a8261e);
  font: 700 0.65rem/1.2 system-ui, sans-serif;
  text-align: center;
}
.gallery-viewmaster .vm-lever {
  padding: 0.5rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--vm-button, #a8261e);
  color: var(--vm-ink, #fff);
  font: 600 0.85rem system-ui, sans-serif;
  cursor: pointer;
}
/* Narrow screens: the reel goes under the viewer, which no longer grows
   past the column. */
@media (max-width: 44rem) {
  .gallery-viewmaster .vm { grid-template-columns: 1fr; zoom: 1; }
  .gallery-viewmaster.vm-zoom .vm-viewer { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-viewmaster .vm-reel, .gallery-viewmaster .vm-viewer { transition: none; }
}

/* Television (plan.md #63), in the spirit of Dieter Rams's Braun sets: a
   calm body, a nearly square screen, a full-height speaker grille, and
   under the screen piano-style channel keys, a power rocker, a volume
   slide and the brand. Channels are pictures or YouTube videos. The
   platform's layouts.js changes channel through a burst of static, turns
   the set off and on (the picture collapsing to a line and a dot, as a
   CRT's beam dies), plays videos, and sets the accent colour from the
   data-tv-accent attribute (public pages allow no inline styles). The
   settings arrive as classes: tv-body-…, tv-dark, tv-screen-…, tv-scan,
   tv-vig, tv-tint, tv-noise, tv-autoplay, tv-clean, tv-contain or
   tv-cover, tv-loop, tv-start-off. The width setting scales the set. */
.gallery-tv .tv {
  --body: #e9e7e2;
  --accent3: #e8542a;
  --text: #6b6b6b;
  display: grid;
  grid-template-columns: 1fr 6.5rem;
  grid-template-rows: auto auto;
  gap: 1.4rem;
  row-gap: 1rem;
  width: min(32rem, 100%);
  margin: 0 auto;
  padding: 1.4rem;
  border-radius: 0.9rem;
  background: var(--body);
  box-shadow: inset 0 -0.25rem 0 rgb(0 0 0 / 0.06), inset 0 0.15rem 0 rgb(255 255 255 / 0.6), 0 1rem 2rem rgb(0 0 0 / 0.18);
  font-family: "Akzidenz-Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  zoom: var(--img-width, 1);
}
.gallery-tv .tv-body-white { --body: #f6f5f1; }
.gallery-tv .tv-body-sand { --body: #d9cfbd; }
.gallery-tv .tv-body-anthracite { --body: #4d4f52; }
.gallery-tv .tv-dark { --text: #b9b9b9; }
.gallery-tv .tv-screen {
  position: relative;
  aspect-ratio: 1.1;
  overflow: hidden;
  border-radius: 0.9rem / 1rem;
  background: #111;
  box-shadow: inset 0 0 0 0.35rem #2b2b2b, 0 0 0 0.3rem color-mix(in srgb, var(--body) 80%, #000);
}
.gallery-tv .tv-screen-43 .tv-screen { aspect-ratio: 4 / 3; }
.gallery-tv .tv-screen-169 .tv-screen { aspect-ratio: 16 / 9; }
.gallery-tv .tv-picture { position: absolute; inset: 0; transform-origin: 50% 50%; }
.gallery-tv .tv-shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-tv .tv-shot[hidden] { display: none; }
.gallery-tv .tv-tint .tv-shot { filter: saturate(1.1) contrast(1.05); }
.gallery-tv .tv-lines { position: absolute; inset: 0; pointer-events: none; }
.gallery-tv .tv-scan .tv-lines { background: repeating-linear-gradient(rgb(0 0 0 / 0.16) 0 1px, transparent 1px 3px); }
.gallery-tv .tv-vig .tv-lines { box-shadow: inset 0 0 2.5rem 0.6rem rgb(0 0 0 / 0.45); }
.gallery-tv .tv-static { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.gallery-tv .tv-tune {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 3;
  color: #fff;
  font: 700 1rem/1 ui-monospace, Menlo, monospace;
  letter-spacing: 0.3em;
  text-align: center;
  text-shadow: 0 0 0.3rem #000, 0 0 0.6rem #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  translate: 0 -50%;
}
.gallery-tv .tv-tuning .tv-tune { opacity: 1; }
.gallery-tv .tv-tune span { animation: tv-dots 1s steps(2) infinite; }
@keyframes tv-dots { 50% { opacity: 0; } }

/* Videos: YouTube's player, a cover (its poster, or snow while tuning)
   until it plays, a shield that keeps YouTube's own overlay away and
   pauses and plays on a click, and our own transport bar. */
.gallery-tv .tv-video { position: absolute; inset: 0; overflow: hidden; background: #000; }
.gallery-tv .tv-video[hidden] { display: none; }
.gallery-tv .tv-video iframe { position: absolute; top: 50%; left: 50%; width: 100%; aspect-ratio: 16 / 9; border: 0; translate: -50% -50%; }
.gallery-tv .tv-cover .tv-video iframe { width: auto; height: 100%; }
.gallery-tv .tv-video iframe.tv-oversize { aspect-ratio: auto; }
.gallery-tv .tv-veil { position: absolute; inset: 0; background: #000 center / cover; transition: opacity 0.6s; pointer-events: none; }
.gallery-tv .tv-veil.tv-gone { opacity: 0; }
.gallery-tv .tv-shield { position: absolute; inset: 0; cursor: pointer; }
.gallery-tv .tv-poster { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000 center / cover; cursor: pointer; }
.gallery-tv .tv-poster::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 2.3rem;
  border-radius: 0.6rem;
  background: rgb(0 0 0 / 0.7);
  color: #fff;
  font-size: 1.1rem;
  translate: -50% -50%;
}
.gallery-tv .tv-poster:hover::after { background: #c4302b; }
.gallery-tv .tv-bar {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.4rem;
  background: rgb(0 0 0 / 0.55);
  color: #fff;
  font: 600 0.7rem system-ui, sans-serif;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-tv .tv-video:hover .tv-bar,
.gallery-tv .tv-bar:focus-within,
.gallery-tv .tv-bar.tv-show { opacity: 1; }
@media (hover: none) { .gallery-tv .tv-bar { opacity: 1; } }
.gallery-tv .tv-tuning .tv-bar { opacity: 0 !important; pointer-events: none; }
.gallery-tv .tv-bar button { flex: none; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; background: var(--accent3); color: #fff; font: 0.7rem/1 system-ui, sans-serif; cursor: pointer; }
.gallery-tv .tv-bar input { flex: 1; min-width: 0; accent-color: var(--accent3); }
.gallery-tv .tv-bar time { flex: none; font-variant-numeric: tabular-nums; }

/* The grille runs the full height; keys, rocker, volume and brand sit
   under the screen. Holes repeat with space, so none is cut in half. */
.gallery-tv .tv-grille {
  grid-column: 2;
  grid-row: 1 / span 2;
  border-radius: 0.3rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--body) 55%, #000) 0 1.6px, transparent 2px) 0 0 / 9px 9px space;
}
.gallery-tv .tv-controls { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.gallery-tv .tv-keys { display: flex; flex: none; gap: 0.2rem; }
.gallery-tv .tv-keys button {
  min-width: 1.35rem;
  height: 1.5rem;
  padding: 0 0.2rem;
  border: 0;
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--body) 92%, #fff);
  box-shadow: 0 0.15rem 0 color-mix(in srgb, var(--body) 70%, #000), 0 0.2rem 0.35rem rgb(0 0 0 / 0.18);
  color: var(--text);
  font: 600 0.7rem/1 system-ui, sans-serif;
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}
.gallery-tv .tv-keys button[aria-checked="true"] {
  background: var(--accent3);
  box-shadow: 0 0.03rem 0 color-mix(in srgb, var(--accent3) 60%, #000), inset 0 0.1rem 0.2rem rgb(0 0 0 / 0.25);
  color: #fff;
  transform: translateY(0.12rem);
}
.gallery-tv .tv-keys button:focus-visible,
.gallery-tv .tv-power:focus-visible,
.gallery-tv .tv-vol input:focus-visible { outline: 2px solid var(--accent3); outline-offset: 2px; }
.gallery-tv .tv-vol { display: flex; flex: none; align-items: center; gap: 0.35rem; color: var(--text); font: 600 0.6rem system-ui, sans-serif; text-transform: lowercase; }
.gallery-tv .tv-vol input {
  width: 3.6rem;
  height: 1.2rem;
  margin: 0;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--body) 55%, #000) 0 1px, transparent 1px 10%) center 0.15rem / 100% 0.25rem no-repeat,
    linear-gradient(color-mix(in srgb, var(--body) 45%, #000) 0 0) center / 100% 2px no-repeat;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.gallery-tv .tv-vol input::-webkit-slider-thumb {
  width: 0.55rem;
  height: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--body) 70%, #000);
  border-radius: 0.12rem;
  background: color-mix(in srgb, var(--body) 96%, #fff);
  box-shadow: inset 0 -0.35rem 0 -0.15rem var(--accent3), 0 0.1rem 0.25rem rgb(0 0 0 / 0.3);
  -webkit-appearance: none;
}
.gallery-tv .tv-vol input::-moz-range-thumb {
  width: 0.55rem;
  height: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--body) 70%, #000);
  border-radius: 0.12rem;
  background: color-mix(in srgb, var(--body) 96%, #fff);
  box-shadow: inset 0 -0.35rem 0 -0.15rem var(--accent3), 0 0.1rem 0.25rem rgb(0 0 0 / 0.3);
}
/* Power: a rocker. On, I is pushed in and lit in the accent; off, O. */
.gallery-tv .tv-power {
  display: flex;
  flex: none;
  width: 2.8rem;
  height: 1.5rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--body) 65%, #000);
  border-radius: 0.25rem;
  background: color-mix(in srgb, var(--body) 80%, #000);
  box-shadow: inset 0 0.1rem 0.2rem rgb(0 0 0 / 0.35);
  cursor: pointer;
}
.gallery-tv .tv-power span { flex: 1; display: grid; place-items: center; color: var(--text); font: 700 0.6rem/1 system-ui, sans-serif; transition: background 0.12s, box-shadow 0.12s, transform 0.12s; }
.gallery-tv .tv-power span:first-child { border-right: 1px solid color-mix(in srgb, var(--body) 60%, #000); }
.gallery-tv .tv-power[aria-pressed="true"] span:first-child,
.gallery-tv .tv-power[aria-pressed="false"] span:last-child { background: color-mix(in srgb, var(--body) 82%, #000); box-shadow: inset 0 0.12rem 0.25rem rgb(0 0 0 / 0.35); transform: translateY(0.06rem); }
.gallery-tv .tv-power[aria-pressed="true"] span:last-child,
.gallery-tv .tv-power[aria-pressed="false"] span:first-child { background: linear-gradient(color-mix(in srgb, var(--body) 96%, #fff), color-mix(in srgb, var(--body) 88%, #000)); box-shadow: 0 0.1rem 0.15rem rgb(0 0 0 / 0.2); }
.gallery-tv .tv-power[aria-pressed="true"] span:first-child { color: var(--accent3); }
.gallery-tv .tv-brand { flex: 1; min-width: 0; overflow: hidden; color: var(--text); font: 600 0.95rem/1 inherit; font-family: inherit; letter-spacing: -0.01em; text-align: right; text-transform: lowercase; white-space: nowrap; }

/* Switching off: the picture collapses to a bright line, then to a dot
   that glows and fades. tv-instant shows it off without the animation. */
.gallery-tv .tv-beamdot { position: absolute; left: 50%; top: 50%; z-index: 2; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: radial-gradient(circle, #fff, rgb(200 230 255 / 0.8) 35%, transparent 70%); opacity: 0; pointer-events: none; translate: -50% -50%; }
.gallery-tv .tv-off .tv-picture { animation: tv-crt-off 0.55s cubic-bezier(.6, 0, .9, .5) forwards; }
.gallery-tv .tv-on .tv-picture { animation: tv-crt-on 0.4s cubic-bezier(.2, .6, .3, 1); }
.gallery-tv .tv-off .tv-beamdot { animation: tv-beam-dot 1.4s ease-out 0.4s forwards; }
.gallery-tv .tv-instant.tv-off .tv-picture { animation: none; opacity: 0; transform: scale(0); }
.gallery-tv .tv-instant.tv-off .tv-beamdot { animation: none; }
.gallery-tv .tv-off :is(.tv-bar, .tv-shield) { display: none; }
@keyframes tv-crt-off {
  0% { transform: scale(1, 1); filter: brightness(1); }
  45% { transform: scale(1, 0.008); filter: brightness(3) saturate(0); }
  80% { transform: scale(0.01, 0.008); filter: brightness(8) saturate(0); opacity: 1; }
  100% { transform: scale(0, 0); filter: brightness(10); opacity: 0; }
}
@keyframes tv-crt-on {
  0% { transform: scale(0.01, 0.008); filter: brightness(8) saturate(0); }
  45% { transform: scale(1, 0.008); filter: brightness(3) saturate(0); }
  100% { transform: scale(1, 1); filter: brightness(1); }
}
@keyframes tv-beam-dot { 0% { opacity: 1; scale: 1.6; } 30% { opacity: 1; scale: 1; } 100% { opacity: 0; scale: 0.4; } }
@media (prefers-reduced-motion: reduce) {
  .gallery-tv .tv-off .tv-picture { animation: none; opacity: 0; transition: opacity 0.3s; }
  .gallery-tv .tv-on .tv-picture { animation: none; }
  .gallery-tv .tv-off .tv-beamdot { animation: none; }
}
@media (max-width: 30rem) {
  .gallery-tv .tv { grid-template-columns: 1fr; zoom: 1; }
  .gallery-tv .tv-grille { grid-column: 1; grid-row: 3; height: 3rem; }
}

/* The set's style: the Braun above, a 70s wood cabinet, or a round
   space-age set on a stand. A body in the author's own colour (body_color)
   arrives as --body from layouts.js; the wood takes it as its stain. */
.gallery-tv .tv-style-wood {
  --wood: #7b4a25;
  --brass: #c9a85c;
  --text: #ead9b8;
  border-radius: 0.45rem;
  background:
    repeating-linear-gradient(91deg, rgb(0 0 0 / 0.1) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(89deg, rgb(255 255 255 / 0.05) 0 1px, transparent 1px 17px),
    linear-gradient(170deg, color-mix(in srgb, var(--wood) 88%, #fff), var(--wood) 45%, color-mix(in srgb, var(--wood) 70%, #000));
  box-shadow: inset 0 0 0 0.2rem color-mix(in srgb, var(--wood) 60%, #000), 0 1rem 2rem rgb(0 0 0 / 0.3);
}
.gallery-tv .tv-style-wood.tv-body-custom { --wood: var(--body); }
.gallery-tv .tv-style-wood .tv-screen {
  border-radius: 1.4rem / 1.6rem;
  box-shadow: inset 0 0 0 0.35rem #1d1d1d, 0 0 0 0.3rem var(--brass), 0 0 0 0.45rem color-mix(in srgb, var(--wood) 55%, #000);
}
.gallery-tv .tv-style-wood .tv-grille {
  border: 0.22rem solid var(--brass);
  background: repeating-linear-gradient(0deg, rgb(0 0 0 / 0.35) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgb(255 255 255 / 0.06) 0 1px, transparent 1px 3px), #3b2a1c;
}
.gallery-tv .tv-style-wood .tv-keys button { background: #dcc48e; box-shadow: 0 0.15rem 0 #8a6d33, 0 0.2rem 0.35rem rgb(0 0 0 / 0.3); color: #3b2a1c; }
.gallery-tv .tv-style-wood .tv-brand { color: var(--brass); font-style: italic; }

.gallery-tv .tv-style-sphere {
  position: relative;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  width: min(25rem, 100%);
  aspect-ratio: 1;
  margin-bottom: 3.2rem;
  padding: 3.4rem 3rem 2.8rem;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--body) 65%, #fff), var(--body) 50%, color-mix(in srgb, var(--body) 72%, #000));
  box-shadow: 0 1.2rem 2rem rgb(0 0 0 / 0.25);
}
.gallery-tv .tv-style-sphere .tv-screen {
  width: 100%;
  aspect-ratio: 1.25;
  border-radius: 46% / 42%;
  box-shadow: inset 0 0 0 0.4rem #1c1c1c, 0 0 0 0.35rem color-mix(in srgb, var(--body) 75%, #000);
}
.gallery-tv .tv-style-sphere .tv-grille { display: none; }
.gallery-tv .tv-style-sphere .tv-controls { justify-content: center; flex-wrap: wrap; }
/* The stand: a neck and a round foot. */
.gallery-tv .tv-style-sphere::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 34%;
  height: 3rem;
  translate: -50% -0.4rem;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 0.6rem at 50% calc(100% - 0.6rem), color-mix(in srgb, var(--body) 60%, #000) 98%, transparent) no-repeat,
    linear-gradient(90deg, color-mix(in srgb, var(--body) 55%, #000), color-mix(in srgb, var(--body) 85%, #fff), color-mix(in srgb, var(--body) 55%, #000)) center top / 0.9rem calc(100% - 0.6rem) no-repeat;
}

/* Photo booth (plan.md #64): strips of four frames from a coin-op booth,
   black and white, slightly curled, a bit crooked. Its size (booth-N,
   --booth-k) scales the strips, their paper margins and the gap between
   them; spacing is the gap between frames. Strips wrap when they don't
   fit. */
.block-layout.layout-booth { --layout-gap: 0.4rem; }
.block-layout.layout-booth:not([class*=" width-"]) { max-width: var(--measure, 40rem); }
.layout-booth .booth-empty { background: #e6e3dc; }
.layout-booth .booth { --k: var(--booth-k, 1); display: flex; flex-wrap: wrap; justify-content: center; gap: calc(2.5rem * var(--k)); padding: 1rem 0 2rem; }
.layout-booth .booth-strip {
  display: grid;
  gap: var(--img-gap, var(--layout-gap));
  width: calc(8.5rem * var(--k));
  padding: calc(0.5rem * var(--k)) calc(0.5rem * var(--k)) calc(1.6rem * var(--k));
  border-radius: 2px;
  background: #f7f5f0;
  box-shadow: 0 0.6rem 1.2rem rgb(0 0 0 / 0.22), inset 0 -2rem 2rem -2rem rgb(0 0 0 / 0.15);
}
.layout-booth .booth-strip-0 { transform: rotate(-4deg); }
.layout-booth .booth-strip-1 { transform: rotate(3deg); }
.layout-booth .booth-frame { display: block; overflow: hidden; aspect-ratio: 1; }
.layout-booth a.booth-frame { cursor: zoom-in; }
.layout-booth .booth-frame img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); }

/* Before / after (plan.md #64): two images in one frame, the second shown
   right of a divider the reader drags (a range input over the frame; the
   platform's layouts.js moves --pos with it). The labels are free text,
   so the pair can be anything. */
.layout-compare .compare { --pos: 50%; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; user-select: none; }
.layout-compare .compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.layout-compare .compare-after { clip-path: inset(0 0 0 var(--pos)); }
/* Cropped before/after images only slide (they're never zoomed): the
   divider's clip stays theirs. */
.layout-compare .compare img.crop { transform: none; clip-path: none; }
.layout-compare .compare img.compare-after.crop { clip-path: inset(0 0 0 var(--pos)); }
.layout-compare .compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 8px rgb(0 0 0 / 0.4); transform: translateX(-1px); pointer-events: none; }
.layout-compare .compare-handle::after {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.35);
  color: #111;
  font: 600 1rem system-ui, sans-serif;
  transform: translate(-50%, -50%);
}
/* The range input is there for the keyboard; the pointer sets the
   divider where it is (layouts.js), so its thumb is made tiny. */
.layout-compare .compare { touch-action: pan-y; cursor: ew-resize; }
.layout-compare .compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.layout-compare .compare-range::-webkit-slider-thumb { width: 1px; -webkit-appearance: none; }
.layout-compare .compare-range::-moz-range-thumb { width: 1px; border: 0; }
.layout-compare .compare-range:focus-visible + .compare-tag,
.layout-compare .compare:focus-within .compare-handle::after { outline: 2px solid #1f5fbf; outline-offset: 2px; }
.layout-compare .compare-tag { position: absolute; top: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 2px; background: rgb(0 0 0 / 0.55); color: #fff; font: 600 0.7rem system-ui, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none; }
.layout-compare .compare-tag-l { left: 0.75rem; }
.layout-compare .compare-tag-r { right: 0.75rem; }

/* Lenticular (plan.md #64): like the ridged postcards that change as you
   tilt them. Moving across it (the pointer, the arrow keys, or tilting a
   phone, through the platform's layouts.js) shows another picture, with
   the ridges always there and a shine that moves (--shine). */
.block-layout.layout-lenticular:not([class*=" width-"]) { max-width: var(--measure, 40rem); }
.layout-lenticular .lent { --shine: 50%; position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 0.2); cursor: ew-resize; touch-action: pan-y; outline: none; }
.layout-lenticular .lent:focus-visible { box-shadow: 0 0 0 3px #1f5fbf, 0 0.5rem 1rem rgb(0 0 0 / 0.2); }
.layout-lenticular .lent-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.layout-lenticular .lent-img.lent-on { opacity: 1; }
.layout-lenticular .lent-ridges {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.10) 0 2px, rgb(0 0 0 / 0.08) 2px 4px),
    linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.25) 45%, transparent 60%);
  background-position: 0 0, var(--shine) 0;
  background-size: auto, 300% 100%;
  pointer-events: none;
}

/* Panorama (plan.md #64): a very wide photo at a readable height, in a
   strip the reader drags or scrolls sideways (the platform's layouts.js),
   with a small map of where they are: below it, or inside a corner, shown
   only while it moves. Full width unless its width is set. */
.layout-panorama .pano { position: relative; }
.layout-panorama .pano-strip {
  height: clamp(14rem, 40vw, 26rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
.layout-panorama .pano-strip::-webkit-scrollbar { display: none; }
.layout-panorama .pano-strip:focus-visible { box-shadow: inset 0 0 0 3px #1f5fbf; }
.layout-panorama .pano-strip.pano-dragging { cursor: grabbing; }
.layout-panorama .pano-link { display: block; width: max-content; height: 100%; margin: 0 auto; cursor: inherit; }
.layout-panorama .pano-strip > img { margin: 0 auto; }
.layout-panorama .pano-strip img { display: block; width: auto; max-width: none; height: 100%; }
.layout-panorama .pano-map { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; padding: 0 1rem; color: var(--muted, #666); font: 0.8rem system-ui, sans-serif; }
.layout-panorama .pano-map[hidden] { display: none; }
.layout-panorama .pano-mini { position: relative; width: 14rem; aspect-ratio: 6; overflow: hidden; border-radius: 2px; opacity: 0.85; }
.layout-panorama .pano-mini img { display: block; width: 100%; height: 100%; object-fit: fill; }
.layout-panorama .pano-view { position: absolute; top: 0; bottom: 0; left: 0; width: 20%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4); }
/* Inside a corner: small, over the photo, and only while it moves. */
.layout-panorama .pano-map:not(.pano-map-below) {
  position: absolute;
  z-index: 2;
  margin: 0;
  padding: 0.35rem;
  border-radius: 4px;
  background: rgb(0 0 0 / 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.layout-panorama .pano-map:not(.pano-map-below) span { display: none; }
.layout-panorama .pano-map:not(.pano-map-below) .pano-mini { width: 9rem; opacity: 1; }
.layout-panorama .pano-map.pano-active { opacity: 1; transition: opacity 0.15s; }
.layout-panorama .pano-map-tl { top: 0.75rem; left: 0.75rem; }
.layout-panorama .pano-map-tr { top: 0.75rem; right: 0.75rem; }
.layout-panorama .pano-map-bl { bottom: 0.75rem; left: 0.75rem; }
.layout-panorama .pano-map-br { bottom: 0.75rem; right: 0.75rem; }

/* Polyptych (plan.md #64): one wide image across three or five panels
   with gaps, the outer ones shorter, like a hinged altarpiece. Each panel
   holds the whole image, as wide as all the panels and their gaps, moved
   along to its own part; all are as tall as the middle one, so the crop
   runs on from panel to panel. Spacing is the gap. */
.block-layout.layout-polyptych { --layout-gap: 0.9rem; }
.layout-polyptych .poly-link { display: block; cursor: zoom-in; }
.layout-polyptych .poly {
  --pg: var(--img-gap, var(--layout-gap));
  --ph: clamp(10rem, 40vw, 22rem);
  --n: 5;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: var(--pg);
  height: var(--ph);
}
.layout-polyptych.poly-3 .poly { --n: 3; }
.layout-polyptych .poly-panel { position: relative; align-self: center; height: 100%; overflow: hidden; box-shadow: 0 0.5rem 1.2rem rgb(0 0 0 / 0.2); }
.layout-polyptych .poly-panel img {
  position: absolute;
  top: 50%;
  width: calc(var(--n) * 100% + (var(--n) - 1) * var(--pg));
  max-width: none;
  height: var(--ph);
  object-fit: cover;
  transform: translateY(-50%);
}
.layout-polyptych .poly-panel-0 img { left: 0; }
.layout-polyptych .poly-panel-1 img { left: calc(-1 * (100% + var(--pg))); }
.layout-polyptych .poly-panel-2 img { left: calc(-2 * (100% + var(--pg))); }
.layout-polyptych .poly-panel-3 img { left: calc(-3 * (100% + var(--pg))); }
.layout-polyptych .poly-panel-4 img { left: calc(-4 * (100% + var(--pg))); }
.layout-polyptych.poly-5 .poly-panel-0,
.layout-polyptych.poly-5 .poly-panel-4 { height: 82%; }
.layout-polyptych.poly-5 .poly-panel-1,
.layout-polyptych.poly-5 .poly-panel-3 { height: 94%; }
.layout-polyptych.poly-3 .poly-panel-0,
.layout-polyptych.poly-3 .poly-panel-2 { height: 90%; }

/* Scroll story (plan.md #64): pictures that stay beside the text as it
   scrolls, each step bringing in its own (the platform's layouts.js moves
   them into a panel and sets .scrolly-live). Without the script, each
   picture sits above its step. Stacks on phones, the panel on top. */
.block-layout.layout-scrolly { max-width: min(var(--wide, 66rem), 100%); }
.layout-scrolly .scrolly-step { margin: 0 0 2rem; }
.layout-scrolly .scrolly-step img { display: block; width: 100%; max-width: 33rem; height: auto; margin-bottom: 0.75rem; }
.layout-scrolly .scrolly-step p { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.layout-scrolly .scrolly-step b { margin-right: 0.3rem; color: var(--accent, #b4482b); font-family: var(--sans, system-ui, sans-serif); }
.layout-scrolly .scrolly-live { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
/* --scrolly-top is the height of a theme's header that stays at the top
   (layouts.js), for the panel to stay below. */
.layout-scrolly .scrolly-panel { position: sticky; top: calc(var(--scrolly-top, 0px) + 2rem); align-self: start; height: min(100vh - var(--scrolly-top, 0px) - 4rem, 40rem); overflow: hidden; border-radius: 4px; }
.layout-scrolly .scrolly-panel .scrolly-img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; opacity: 0; transition: opacity 0.6s; }
.layout-scrolly .scrolly-panel .scrolly-img.scrolly-on { opacity: 1; }
.layout-scrolly .scrolly-dots { position: absolute; bottom: 1rem; left: 50%; display: flex; gap: 0.4rem; transform: translateX(-50%); }
.layout-scrolly .scrolly-dots i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: rgb(255 255 255 / 0.5); }
.layout-scrolly .scrolly-dots i.scrolly-on { background: #fff; }
.layout-scrolly .scrolly-live .scrolly-step { display: flex; align-items: center; min-height: 70vh; margin: 0; opacity: 0.35; transition: opacity 0.4s; }
.layout-scrolly .scrolly-live .scrolly-step.scrolly-on { opacity: 1; }
.layout-scrolly .scrolly-live .scrolly-step p { font-size: 1.25rem; }
@media (max-width: 48rem) {
  .layout-scrolly .scrolly-live { grid-template-columns: 1fr; gap: 0; }
  .layout-scrolly .scrolly-panel { top: var(--scrolly-top, 0px); z-index: 1; height: 50vh; }
  .layout-scrolly .scrolly-live .scrolly-step { min-height: 50vh; }
}
@media (prefers-reduced-motion: reduce) {
  .layout-scrolly .scrolly-panel .scrolly-img,
  .layout-scrolly .scrolly-live .scrolly-step { transition: none; }
}

/* Timeline (plan.md #64): pictures along a line, each with a dot, its
   date and a line of text. Across the page it scrolls sideways a stop at
   a time; .timeline-left and .timeline-right run it down that side of the
   text instead, beside the paragraphs that follow (on wide screens).
   Spacing is between the entries. */
.block-layout.layout-timeline { --layout-gap: 1.25rem; }
.layout-timeline .timeline {
  position: relative;
  display: grid;
  grid-auto-columns: minmax(12rem, 1fr);
  grid-auto-flow: column;
  gap: var(--img-gap, var(--layout-gap));
  margin: 0;
  padding: 0 0 1rem;
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
}
.layout-timeline .timeline-entry { position: relative; scroll-snap-align: start; }
/* Each entry draws its piece of the line, on to the next. */
.layout-timeline .timeline-entry::before { content: ""; position: absolute; top: 11.1rem; left: 0; right: calc(-1 * var(--img-gap, var(--layout-gap))); height: 2px; background: var(--rule, #ddd); }
.layout-timeline .timeline-entry:last-child::before { right: 0; }
.layout-timeline .timeline-link { display: block; cursor: zoom-in; }
.layout-timeline .timeline-img { display: block; width: 100%; height: 10rem; object-fit: cover; }
.layout-timeline .timeline-dot { position: relative; z-index: 1; display: block; width: 0.8rem; height: 0.8rem; margin: 0.6rem 0 0.5rem; border: 2px solid var(--accent, #b4482b); border-radius: 50%; background: var(--paper, #fff); box-sizing: border-box; }
.layout-timeline time { color: var(--accent, #b4482b); font: 600 0.75rem var(--sans, system-ui, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; }
.layout-timeline .timeline-text { margin: 0.2rem 0 0; font-size: 0.95rem; line-height: 1.4; }
/* Down one side: entries stacked, the line on the side away from the
   text, the picture smaller. */
.block-layout.layout-timeline:is(.timeline-left, .timeline-right) { --layout-gap: 1.5rem; width: 13rem; max-width: 40%; }
.layout-timeline:is(.timeline-left, .timeline-right) .timeline { grid-auto-flow: row; grid-auto-columns: auto; padding: 0; overflow: visible; scroll-snap-type: none; }
.layout-timeline:is(.timeline-left, .timeline-right) .timeline-entry::before { top: 0; right: auto; bottom: calc(-1 * var(--img-gap, var(--layout-gap))); left: 0.35rem; width: 2px; height: auto; }
.layout-timeline:is(.timeline-left, .timeline-right) .timeline-entry:last-child::before { bottom: 0; }
.layout-timeline:is(.timeline-left, .timeline-right) .timeline-entry { padding-left: 1.6rem; }
.layout-timeline:is(.timeline-left, .timeline-right) .timeline-img { height: 7rem; }
.layout-timeline:is(.timeline-left, .timeline-right) .timeline-dot { position: absolute; top: 7.5rem; left: 0; margin: 0; }
.layout-timeline:is(.timeline-left, .timeline-right) time { display: block; margin-top: 0.5rem; }
/* Whatever holds it holds all of it, not letting it run on past the
   post's end. */
:has(> .block-layout.layout-timeline:is(.timeline-left, .timeline-right)) { display: flow-root; }
/* At the text column's edge (the theme's --measure, centred in what holds
   it, which may be wider), and on wide screens up to 8rem out into the
   margin, as far as there is one. */
.block-layout.layout-timeline:is(.timeline-left, .timeline-right) {
  --timeline-hang: 0rem;
  --timeline-edge: max(0px, (100% - var(--measure, 40rem)) / 2 - var(--timeline-hang));
}
.block-layout.layout-timeline.timeline-left { float: left; margin: 0.4rem 2rem 1rem var(--timeline-edge); }
.block-layout.layout-timeline.timeline-right { float: right; margin: 0.4rem var(--timeline-edge) 1rem 2rem; }
@media (min-width: 72rem) {
  .block-layout.layout-timeline:is(.timeline-left, .timeline-right) { --timeline-hang: 8rem; }
}
@media (max-width: 40rem) {
  .block-layout.layout-timeline:is(.timeline-left, .timeline-right) { float: none; width: auto; max-width: none; margin: 1.5rem 0; }
}

/* Text wrap (plan.md #64): a round, oval or arched crop floated into the
   text, the lines following its curve (shape-outside). --wrap-k is its
   size, a share of the text column (wrap-N). On phones it is a plain
   image above the paragraph. */
.block-layout.layout-wrap {
  --wrap-k: 0.4;
  --wrap-gap: 1.25rem;
  float: left;
  width: calc(var(--measure, 40rem) * var(--wrap-k));
  max-width: 60%;
  margin: 0.3rem var(--wrap-gap) 0.5rem 0;
  shape-margin: var(--wrap-gap);
}
.block-layout.layout-wrap.wrap-right { float: right; margin: 0.3rem 0 0.5rem var(--wrap-gap); }
.layout-wrap .wrap-link { display: block; cursor: zoom-in; }
.layout-wrap .wrap-img { display: block; width: 100%; height: auto; object-fit: cover; }
.block-layout.layout-wrap.wrap-circle { shape-outside: circle(50%) border-box; }
.layout-wrap.wrap-circle .wrap-img { aspect-ratio: 1; border-radius: 50%; }
.block-layout.layout-wrap.wrap-oval { shape-outside: ellipse(50% 50%) border-box; }
.layout-wrap.wrap-oval .wrap-img { aspect-ratio: 3 / 4; border-radius: 50%; }
/* An arch: a half circle on top of a rectangle, 3:4 in all. */
.block-layout.layout-wrap.wrap-arch { shape-outside: inset(0 round 50% 50% 0 0 / 37.5% 37.5% 0 0) border-box; }
.layout-wrap.wrap-arch .wrap-img { aspect-ratio: 3 / 4; border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0; }
@media (max-width: 36rem) {
  .block-layout.layout-wrap,
  .block-layout.layout-wrap.wrap-right { float: none; width: auto; max-width: none; margin: 0 0 1rem; shape-outside: none; }
  .layout-wrap .wrap-img,
  .layout-wrap:is(.wrap-circle, .wrap-oval, .wrap-arch) .wrap-img { aspect-ratio: 4 / 3; border-radius: 4px; }
}

/* Fine print (plan.md #64): a black-and-white print (unless
   .fineprint-color) on a wide cream mat, its caption under it inside the
   mat: what it is on the left, place and year on the right. */
.layout-fineprint .fineprint { padding: 2.5rem 2.5rem 2.6rem; background: #f6f2e8; box-shadow: 0 0.6rem 1.4rem rgb(0 0 0 / 0.15), inset 0 0 0 1px #e2dccd; }
.layout-fineprint .fineprint a { display: block; cursor: zoom-in; }
.layout-fineprint .fineprint img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.35) brightness(0.95); }
.layout-fineprint.fineprint-color .fineprint img { filter: none; }
.layout-fineprint .fineprint-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; color: #555; font-size: 0.85rem; font-style: italic; line-height: 1.4; text-align: left; }
.layout-fineprint .fineprint-place { align-self: end; color: #888; font: 0.72rem var(--sans, system-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 36rem) { .layout-fineprint .fineprint { padding: 1.25rem 1.25rem 1.4rem; } }

/* Blinds (plan.md #64): the image, cropped to a 7:4 window, behind
   closed venetian blinds that open on hover, or on focus (a tap, or the
   keyboard). No script. */
.layout-blinds .blinds { position: relative; overflow: hidden; border: 0.8rem solid #e9e4d8; outline: none; box-shadow: inset 0 0 0 0.25rem #cfc8b6, 0 0.5rem 1rem rgb(0 0 0 / 0.2); }
.layout-blinds .blinds:focus-visible { box-shadow: 0 0 0 3px #1f5fbf, 0 0.5rem 1rem rgb(0 0 0 / 0.2); }
.layout-blinds .blinds img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 4; object-fit: cover; filter: grayscale(0.6) contrast(1.2); }
.layout-blinds .blinds-slats { position: absolute; inset: 0; display: flex; flex-direction: column; }
.layout-blinds .blinds-slats i { flex: 1; background: linear-gradient(#f3efe4, #cfc6b0 70%, #a9a08a); box-shadow: 0 1px 1px rgb(0 0 0 / 0.25); transition: transform 0.5s ease; }
.layout-blinds .blinds:is(:hover, :focus) .blinds-slats i { transform: scaleY(0.12); }
@media (prefers-reduced-motion: reduce) { .layout-blinds .blinds-slats i { transition: none; } }

/* Flashlight (plan.md #64): the image in the dark, lit by a beam that
   follows the pointer or the arrow keys (--x, --y, set by the platform's
   layouts.js, which adds .torch-live; without it the image shows whole). */
.layout-flashlight .torch { --x: 50%; --y: 50%; position: relative; overflow: hidden; background: #000; outline: none; }
.layout-flashlight .torch:focus-visible { box-shadow: 0 0 0 3px #1f5fbf; }
.layout-flashlight .torch img { display: block; width: 100%; height: auto; }
.layout-flashlight .torch.torch-live { cursor: none; touch-action: pan-y; }
.layout-flashlight .torch.torch-live img {
  -webkit-mask: radial-gradient(circle 9rem at var(--x) var(--y), #000 40%, rgb(0 0 0 / 0.05) 100%);
  mask: radial-gradient(circle 9rem at var(--x) var(--y), #000 40%, rgb(0 0 0 / 0.05) 100%);
}
.layout-flashlight .torch-hint { display: none; position: absolute; bottom: 1rem; left: 50%; color: rgb(255 255 255 / 0.5); font: 0.8rem var(--sans, system-ui, sans-serif); transform: translateX(-50%); pointer-events: none; }
.layout-flashlight .torch-live .torch-hint { display: block; }
.layout-flashlight .torch-live.torch-used .torch-hint { display: none; }

/* Museum label (plan.md #64): the image hung on a gallery wall under a
   spotlight, in a white mat and a thin black frame, with the wall label
   beside it (beneath it on phones). */
.block-layout.layout-museum { max-width: min(var(--wide, 66rem), 100%); }
.layout-museum .museum {
  display: grid;
  grid-template-columns: auto 14rem;
  gap: 2.5rem;
  justify-content: center;
  align-items: end;
  padding: 3.5rem 2rem 4rem;
  background: #e9e7e2 radial-gradient(ellipse 45% 70% at 42% 30%, rgb(255 255 255 / 0.9), transparent 75%);
}
.layout-museum .museum-frame { width: min(24rem, 60vw); padding: 2.2rem; border: 0.4rem solid #1b1b1b; background: #fff; box-shadow: 0 1.2rem 2rem rgb(0 0 0 / 0.25); box-sizing: border-box; }
.layout-museum .museum-frame a { display: block; cursor: zoom-in; }
.layout-museum .museum-frame img { display: block; width: 100%; height: auto; box-shadow: inset 0 0 0 1px #ddd; }
.layout-museum .museum-label { display: flex; flex-direction: column; margin-bottom: 1rem; padding: 1rem 1.1rem; background: #fbfbf9; box-shadow: 0 2px 4px rgb(0 0 0 / 0.12); color: #333; font: 0.78rem/1.45 var(--sans, system-ui, sans-serif); text-align: left; }
.layout-museum .museum-artist { color: #111; font-size: 0.95rem; }
.layout-museum .museum-label span { color: #666; }
.layout-museum .museum-label .museum-title { margin-top: 0.5rem; color: #111; }
.layout-museum .museum-note { margin: 0.6rem 0 0; padding-top: 0.5rem; border-top: 1px solid #ddd; }
@media (max-width: 40rem) {
  .layout-museum .museum { grid-template-columns: 1fr; justify-items: center; padding: 2rem 1rem; gap: 1.5rem; }
  .layout-museum .museum-frame { width: min(24rem, 80vw); padding: 1.4rem; }
  .layout-museum .museum-label { width: min(18rem, 80vw); margin: 0; }
}

/* Newspaper clipping (plan.md #64): the image printed in a newspaper
   column under a headline, on newsprint with torn edges, the article in
   two columns. The paper (paper-*) is yellowed by default, and the angle
   (--clip-tilt, from clip-tilt-N in layout-settings.css) -1.5deg. */
.block-layout.layout-clipping:not([class*=" width-"]) { max-width: var(--measure, 40rem); }
.layout-clipping.paper-fresh { --clip-paper: #ecebe3; --clip-sepia: 0; }
.layout-clipping.paper-salmon { --clip-paper: #f4d9c4; --clip-sepia: 0.05; }
.layout-clipping.paper-aged { --clip-paper: #dcc59a; --clip-sepia: 0.35; }
.layout-clipping.paper-green { --clip-paper: #dde6cc; --clip-sepia: 0.05; }
.layout-clipping .clip {
  margin: 1rem 0;
  padding: 1.6rem 1.8rem 2rem;
  background: var(--clip-paper, #efe6cf);
  box-shadow: 0 0.5rem 1.2rem rgb(0 0 0 / 0.2);
  color: #1a160e;
  filter: sepia(var(--clip-sepia, 0.15));
  transform: rotate(var(--clip-tilt, -1.5deg));
  clip-path: polygon(0 2%, 4% 0, 9% 1.5%, 15% 0.3%, 22% 1.8%, 30% 0, 38% 1.2%, 47% 0.2%, 55% 1.6%, 63% 0, 72% 1.4%, 80% 0.3%, 88% 1.7%, 95% 0, 100% 1.2%, 99% 15%, 100% 30%, 98.8% 50%, 100% 70%, 99% 85%, 100% 99%, 93% 98%, 85% 100%, 76% 98.5%, 66% 100%, 55% 98.2%, 45% 100%, 34% 98.4%, 24% 100%, 13% 98.6%, 5% 100%, 0 98%, 1% 80%, 0 60%, 1.2% 40%, 0 20%);
}
.layout-clipping .clip-masthead { padding-bottom: 0.3rem; border-bottom: 1px solid #2a2418; color: #2a2418; font: 600 0.62rem var(--sans, system-ui, sans-serif); letter-spacing: 0.12em; text-transform: uppercase; }
.layout-clipping .clip-headline { margin: 0.5rem 0 0.7rem; color: #1a160e; font: 700 1.6rem/1.1 "Times New Roman", Times, serif; }
.layout-clipping .clip-link { display: block; cursor: zoom-in; }
.layout-clipping .clip-img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; filter: grayscale(1) contrast(1.4) brightness(1.05); mix-blend-mode: multiply; }
.layout-clipping .clip-caption { margin-top: 0.3rem; font: italic 0.75rem/1.3 "Times New Roman", Times, serif; text-align: left; }
.layout-clipping .clip-cols { margin-top: 0.7rem; columns: 2; column-gap: 1.2rem; font: 0.82rem/1.4 "Times New Roman", Times, serif; text-align: justify; hyphens: auto; }
.layout-clipping .clip-cols p { margin: 0 0 0.5rem; }
@media (max-width: 30rem) { .layout-clipping .clip-cols { columns: 1; } }

/* Boarding pass (plan.md #64): the image on a boarding pass, with the
   route, flight and seat, and a stub with a QR code holding a link or
   text. The stub goes under the pass on phones. */
.block-layout.layout-pass:not([class*=" width-"]) { max-width: var(--measure, 40rem); }
.layout-pass .pass { display: grid; grid-template-columns: 1fr 9rem; overflow: hidden; border-radius: 1rem; background: #fff; box-shadow: 0 0.6rem 1.4rem rgb(0 0 0 / 0.18); color: #1d2b4f; font-family: var(--sans, system-ui, sans-serif); text-align: left; }
.layout-pass .pass-link { display: block; cursor: zoom-in; }
.layout-pass .pass-img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 3.4; object-fit: cover; }
.layout-pass .pass-route { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem 0.4rem; }
.layout-pass .pass-route div { display: grid; }
.layout-pass .pass-route b { font-size: 2.2rem; letter-spacing: 0.04em; line-height: 1; }
.layout-pass .pass-route span { color: #5b6680; font-size: 0.8rem; }
.layout-pass small { color: #8a93a8; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em; }
.layout-pass .pass-plane { color: #d22b1e; font-size: 1.6rem; }
.layout-pass .pass-info { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0.6rem 1.4rem 1.2rem; font-size: 0.95rem; font-weight: 700; }
.layout-pass .pass-info div { display: grid; }
.layout-pass .pass-stub { position: relative; display: flex; flex-direction: column; gap: 0.15rem; padding: 1.2rem 1rem; border-left: 2px dashed #c9cfdc; background: #f6f8fc; }
.layout-pass .pass-stub b { margin-bottom: 0.5rem; font-size: 0.9rem; }
.layout-pass .pass-stub::before,
.layout-pass .pass-stub::after { content: ""; position: absolute; left: -0.75rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--paper, #fff); }
.layout-pass .pass-stub::before { top: -0.7rem; }
.layout-pass .pass-stub::after { bottom: -0.7rem; }
.layout-pass .pass-qr { display: block; margin-top: auto; padding: 0.3rem; border-radius: 0.3rem; background: #fff; }
.layout-pass .pass-qr svg { display: block; width: 100%; height: auto; }
.layout-pass .pass-scan { margin-top: 0.3rem; text-align: center; }
@media (max-width: 30rem) {
  .layout-pass .pass { grid-template-columns: 1fr; }
  .layout-pass .pass-stub { border-top: 2px dashed #c9cfdc; border-left: 0; }
  .layout-pass .pass-stub::before,
  .layout-pass .pass-stub::after { display: none; }
  .layout-pass .pass-qr { width: 8rem; margin: 0.5rem auto 0; }
  .layout-pass .pass-route b { font-size: 1.6rem; }
}

/* Detail (plan.md #64): the image with numbered rings on its points of
   interest, and beside it (under it on phones) a round lens for each,
   showing what the ring holds as large as the lens, with its note. A
   point is --dx, --dy in percent of the image (dx-N, dy-N); --ring is the
   rings' size in percent of its width (ring-N), so a smaller ring
   magnifies more. */
.block-layout.layout-detail { --ring: 18; --lens-zoom: 50; }
.layout-detail .detail { display: grid; grid-template-columns: 1fr 15rem; gap: 2rem; align-items: center; }
.layout-detail .detail-main { position: relative; }
.layout-detail .detail-main a { display: block; cursor: zoom-in; }
.layout-detail .detail-main img { display: block; width: 100%; height: auto; }
.layout-detail .detail-ring {
  position: absolute;
  top: calc(var(--dy) * 1%);
  left: calc(var(--dx) * 1%);
  width: calc(var(--ring) * 1%);
  aspect-ratio: 1;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.layout-detail .detail-ring span,
.layout-detail .detail-num { position: absolute; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--accent, #b4482b); color: #fff; font: 700 0.7rem/1.4rem var(--sans, system-ui, sans-serif); text-align: center; }
.layout-detail .detail-ring span { top: -0.7rem; left: -0.7rem; }
/* A lens's number sits on its edge, outside the round cut-out, so it
   shows whole. Under the pointer, the lens grows by --lens-zoom percent
   (lzoom-N in layout-settings.css; 50). */
.layout-detail .detail-lens-wrap {
  position: relative;
  display: block;
  width: 7rem;
  transition: transform 0.25s ease;
  transform-origin: center;
}
.layout-detail .detail-num { top: 0.1rem; left: 0.1rem; z-index: 1; box-shadow: 0 0 0 2px var(--paper, #fff); }
.layout-detail .detail-zoom:hover .detail-lens-wrap {
  position: relative;
  z-index: 2;
  transform: scale(calc(1 + var(--lens-zoom) / 100));
}
@media (prefers-reduced-motion: reduce) { .layout-detail .detail-lens-wrap { transition: none; } }
.layout-detail .detail-zooms { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.layout-detail .detail-zoom { display: grid; grid-template-columns: 7rem 1fr; gap: 0.9rem; align-items: center; }
.layout-detail .detail-lens { position: relative; display: block; width: 7rem; aspect-ratio: 1; overflow: hidden; border: 3px solid var(--paper, #fff); border-radius: 50%; box-shadow: 0 0 0 1px var(--rule, #ddd), 0 6px 16px rgb(0 0 0 / 0.18); box-sizing: border-box; }
.layout-detail .detail-lens img { position: absolute; top: 50%; left: 50%; width: calc(100% * 100 / var(--ring)); max-width: none; height: auto; transform: translate(calc(var(--dx) * -1%), calc(var(--dy) * -1%)); }
.layout-detail .detail-zoom p { margin: 0; color: var(--muted, #666); font: 0.85rem/1.4 var(--sans, system-ui, sans-serif); text-align: left; }
.layout-detail .detail-zoom b { display: block; color: var(--ink, #111); }
@media (max-width: 48rem) {
  .layout-detail .detail { grid-template-columns: 1fr; gap: 1.25rem; }
  .layout-detail .detail-zooms { grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
}

/* Pop art (plan.md #64): after Warhol, the image four (or nine, .pop-9)
   times in loud flat colours, each copy printed hard on its colour. */
.block-layout.layout-pop:not([class*=" width-"]) { max-width: var(--measure, 40rem); }
.layout-pop .pop-link { display: block; cursor: zoom-in; }
.layout-pop .pop { display: grid; grid-template-columns: repeat(2, 1fr); border: 4px solid #111; }
.layout-pop.pop-9 .pop { grid-template-columns: repeat(3, 1fr); }
.layout-pop .pop-cell { display: block; aspect-ratio: 1; overflow: hidden; background: #ff4fa3; }
.layout-pop .pop-cell:nth-child(9n + 2) { background: #ffd400; }
.layout-pop .pop-cell:nth-child(9n + 3) { background: #18c1e8; }
.layout-pop .pop-cell:nth-child(9n + 4) { background: #ff6a1a; }
.layout-pop .pop-cell:nth-child(9n + 5) { background: #7cff4f; }
.layout-pop .pop-cell:nth-child(9n + 6) { background: #b04fff; }
.layout-pop .pop-cell:nth-child(9n + 7) { background: #ff2b2b; }
.layout-pop .pop-cell:nth-child(9n + 8) { background: #2bffd5; }
.layout-pop .pop-cell:nth-child(9n + 9) { background: #fff04f; }
.layout-pop .pop-cell img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(1.5) contrast(3); mix-blend-mode: multiply; }

/* Joiner (plan.md #64): after Hockney, one image (cropped to 3:2) as
   overlapping, slightly crooked prints, 3x3 or 4x3 (.joiner-4x3). Each
   print is a window onto the whole image: --pw and --ph are a print's
   size and --sx, --sy the step between prints, in percent of the joiner;
   --c and --r its place (jc-N, jr-N). The white edge is drawn over the
   print (::after), so the windows line up exactly. */
.layout-joiner .joiner-link { display: block; cursor: zoom-in; }
.layout-joiner .joiner { --pw: 36; --ph: 36; --sx: 32; --sy: 32; position: relative; aspect-ratio: 3 / 2; margin: 1rem 0; }
.layout-joiner.joiner-4x3 .joiner { --pw: 28; --sx: 24; }
.layout-joiner .joiner-piece {
  position: absolute;
  top: calc(var(--r) * var(--sy) * 1%);
  left: calc(var(--c) * var(--sx) * 1%);
  width: calc(var(--pw) * 1%);
  height: calc(var(--ph) * 1%);
  overflow: hidden;
  box-shadow: 0 3px 10px rgb(0 0 0 / 0.25);
  transform: rotate(var(--t, 0deg));
}
.layout-joiner .joiner-piece::after { content: ""; position: absolute; inset: 0; border: 0.35rem solid #fff; pointer-events: none; }
.layout-joiner .joiner-piece:nth-child(odd) { z-index: 1; }
.layout-joiner .joiner-piece img {
  position: absolute;
  top: calc(var(--r) * var(--sy) / var(--ph) * -100%);
  left: calc(var(--c) * var(--sx) / var(--pw) * -100%);
  width: calc(100% * 100 / var(--pw));
  max-width: none;
  height: calc(100% * 100 / var(--ph));
  object-fit: cover;
}
.layout-joiner .jc-0 { --c: 0; } .layout-joiner .jc-1 { --c: 1; } .layout-joiner .jc-2 { --c: 2; } .layout-joiner .jc-3 { --c: 3; }
.layout-joiner .jr-0 { --r: 0; } .layout-joiner .jr-1 { --r: 1; } .layout-joiner .jr-2 { --r: 2; }
.layout-joiner .joiner-piece:nth-child(12n + 1) { --t: -2deg; }
.layout-joiner .joiner-piece:nth-child(12n + 2) { --t: 1.5deg; }
.layout-joiner .joiner-piece:nth-child(12n + 3) { --t: -1deg; }
.layout-joiner .joiner-piece:nth-child(12n + 4) { --t: 2deg; }
.layout-joiner .joiner-piece:nth-child(12n + 5) { --t: -0.5deg; }
.layout-joiner .joiner-piece:nth-child(12n + 6) { --t: 3deg; }
.layout-joiner .joiner-piece:nth-child(12n + 7) { --t: -3deg; }
.layout-joiner .joiner-piece:nth-child(12n + 8) { --t: 1deg; }
.layout-joiner .joiner-piece:nth-child(12n + 9) { --t: -2deg; }
.layout-joiner .joiner-piece:nth-child(12n + 10) { --t: 2.5deg; }
.layout-joiner .joiner-piece:nth-child(12n + 11) { --t: -1.5deg; }
.layout-joiner .joiner-piece:nth-child(12n + 12) { --t: 0.5deg; }

/* Op art (plan.md #64): after Bridget Riley, the image (cropped to 2:1)
   in --strips strips offset in a wave, every other one in negative. Each
   strip is a window onto the whole image; --k is its place and --dy its
   offset (layout-settings.css). */
.layout-opart .opart-link { display: block; cursor: zoom-in; }
.layout-opart .opart { display: flex; aspect-ratio: 2 / 1; overflow: hidden; background: #fff; }
.layout-opart .op-strip { position: relative; flex: 1; overflow: hidden; }
/* Each strip shows its own slice of the image, shifted along a wave of
   about two and a half periods across the image, whatever the number of
   strips. Every other strip is in negative. With colour ends (tone:
   color), the gray runs from the dark colour to the light one through
   the block's two-colour filter (--op-tone), as a duotone's. */
.layout-opart .op-strip img {
  position: absolute;
  top: 0;
  left: calc(var(--k) * -100%);
  width: calc(100% * var(--strips));
  max-width: none;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.7) var(--op-invert,) var(--op-tone,);
  transform: translateY(calc(5% * sin(var(--k) / var(--strips) * 16.2rad))) scaleY(1.12);
}
.layout-opart .op-strip:nth-child(even) { --op-invert: invert(1); }
/* The strips keep their colours under the pointer, unlike a duotone's
   images. */
.layout-opart.duotone .op-strip img,
.layout-opart.duotone .op-strip img:hover { filter: grayscale(1) contrast(1.7) var(--op-invert,) var(--op-tone,); }

/* Splatter (plan.md #64): after Pollock, the image (cropped to 3:2) on
   raw canvas, under drips and flicks of paint drawn by the server from a
   seed. */
.layout-splatter .splatter { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e1cf; }
.layout-splatter .splatter-link { display: block; width: 56%; cursor: zoom-in; }
.layout-splatter .splatter > .splatter-img { width: 56%; }
.layout-splatter .splatter-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 0.2); }
.layout-splatter .splatter-paint { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Halftone (plan.md #64): the image drawn as a printed halftone on a
   canvas by the platform's layouts.js, which adds .halftone-live; until
   then, or without it, the image shows as it is. */
.layout-halftone .halftone { position: relative; box-shadow: 0 0.5rem 1.2rem rgb(0 0 0 / 0.12); }
.layout-halftone .halftone-link { display: block; cursor: zoom-in; }
.layout-halftone .halftone-img { display: block; width: 100%; height: auto; }
.layout-halftone .halftone-canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.layout-halftone .halftone-live .halftone-canvas { display: block; }
.layout-halftone .halftone-live .halftone-img { opacity: 0; }

/* Duotone (plan.md #64): any layout printed in two colours, its shadows
   in one and its highlights in the other, through its filter (duotone-N,
   in layout-settings.css; the platform puts the filters in the page).
   Hovering an image shows it as it is. */
:is(.block-layout, .block-gallery).duotone img { transition: filter 0.4s; }
:is(.block-layout, .block-gallery).duotone img:hover { filter: none; }
.duotone-filters { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { :is(.block-layout, .block-gallery).duotone img { transition: none; } }

/* Generated by go test ./pkg/theme -update (ratios.go). Each image in
   a layout has an ar-<width/height × 100> class. */
.ar-20 { --ar: 0.20; }
.ar-22 { --ar: 0.22; }
.ar-24 { --ar: 0.24; }
.ar-26 { --ar: 0.26; }
.ar-28 { --ar: 0.28; }
.ar-30 { --ar: 0.30; }
.ar-32 { --ar: 0.32; }
.ar-34 { --ar: 0.34; }
.ar-36 { --ar: 0.36; }
.ar-38 { --ar: 0.38; }
.ar-40 { --ar: 0.40; }
.ar-42 { --ar: 0.42; }
.ar-44 { --ar: 0.44; }
.ar-46 { --ar: 0.46; }
.ar-48 { --ar: 0.48; }
.ar-50 { --ar: 0.50; }
.ar-52 { --ar: 0.52; }
.ar-54 { --ar: 0.54; }
.ar-56 { --ar: 0.56; }
.ar-58 { --ar: 0.58; }
.ar-60 { --ar: 0.60; }
.ar-62 { --ar: 0.62; }
.ar-64 { --ar: 0.64; }
.ar-66 { --ar: 0.66; }
.ar-68 { --ar: 0.68; }
.ar-70 { --ar: 0.70; }
.ar-72 { --ar: 0.72; }
.ar-74 { --ar: 0.74; }
.ar-76 { --ar: 0.76; }
.ar-78 { --ar: 0.78; }
.ar-80 { --ar: 0.80; }
.ar-82 { --ar: 0.82; }
.ar-84 { --ar: 0.84; }
.ar-86 { --ar: 0.86; }
.ar-88 { --ar: 0.88; }
.ar-90 { --ar: 0.90; }
.ar-92 { --ar: 0.92; }
.ar-94 { --ar: 0.94; }
.ar-96 { --ar: 0.96; }
.ar-98 { --ar: 0.98; }
.ar-100 { --ar: 1.00; }
.ar-102 { --ar: 1.02; }
.ar-104 { --ar: 1.04; }
.ar-106 { --ar: 1.06; }
.ar-108 { --ar: 1.08; }
.ar-110 { --ar: 1.10; }
.ar-112 { --ar: 1.12; }
.ar-114 { --ar: 1.14; }
.ar-116 { --ar: 1.16; }
.ar-118 { --ar: 1.18; }
.ar-120 { --ar: 1.20; }
.ar-122 { --ar: 1.22; }
.ar-124 { --ar: 1.24; }
.ar-126 { --ar: 1.26; }
.ar-128 { --ar: 1.28; }
.ar-130 { --ar: 1.30; }
.ar-132 { --ar: 1.32; }
.ar-134 { --ar: 1.34; }
.ar-136 { --ar: 1.36; }
.ar-138 { --ar: 1.38; }
.ar-140 { --ar: 1.40; }
.ar-142 { --ar: 1.42; }
.ar-144 { --ar: 1.44; }
.ar-146 { --ar: 1.46; }
.ar-148 { --ar: 1.48; }
.ar-150 { --ar: 1.50; }
.ar-152 { --ar: 1.52; }
.ar-154 { --ar: 1.54; }
.ar-156 { --ar: 1.56; }
.ar-158 { --ar: 1.58; }
.ar-160 { --ar: 1.60; }
.ar-162 { --ar: 1.62; }
.ar-164 { --ar: 1.64; }
.ar-166 { --ar: 1.66; }
.ar-168 { --ar: 1.68; }
.ar-170 { --ar: 1.70; }
.ar-172 { --ar: 1.72; }
.ar-174 { --ar: 1.74; }
.ar-176 { --ar: 1.76; }
.ar-178 { --ar: 1.78; }
.ar-180 { --ar: 1.80; }
.ar-182 { --ar: 1.82; }
.ar-184 { --ar: 1.84; }
.ar-186 { --ar: 1.86; }
.ar-188 { --ar: 1.88; }
.ar-190 { --ar: 1.90; }
.ar-192 { --ar: 1.92; }
.ar-194 { --ar: 1.94; }
.ar-196 { --ar: 1.96; }
.ar-198 { --ar: 1.98; }
.ar-200 { --ar: 2.00; }
.ar-202 { --ar: 2.02; }
.ar-204 { --ar: 2.04; }
.ar-206 { --ar: 2.06; }
.ar-208 { --ar: 2.08; }
.ar-210 { --ar: 2.10; }
.ar-212 { --ar: 2.12; }
.ar-214 { --ar: 2.14; }
.ar-216 { --ar: 2.16; }
.ar-218 { --ar: 2.18; }
.ar-220 { --ar: 2.20; }
.ar-222 { --ar: 2.22; }
.ar-224 { --ar: 2.24; }
.ar-226 { --ar: 2.26; }
.ar-228 { --ar: 2.28; }
.ar-230 { --ar: 2.30; }
.ar-232 { --ar: 2.32; }
.ar-234 { --ar: 2.34; }
.ar-236 { --ar: 2.36; }
.ar-238 { --ar: 2.38; }
.ar-240 { --ar: 2.40; }
.ar-242 { --ar: 2.42; }
.ar-244 { --ar: 2.44; }
.ar-246 { --ar: 2.46; }
.ar-248 { --ar: 2.48; }
.ar-250 { --ar: 2.50; }
.ar-252 { --ar: 2.52; }
.ar-254 { --ar: 2.54; }
.ar-256 { --ar: 2.56; }
.ar-258 { --ar: 2.58; }
.ar-260 { --ar: 2.60; }
.ar-262 { --ar: 2.62; }
.ar-264 { --ar: 2.64; }
.ar-266 { --ar: 2.66; }
.ar-268 { --ar: 2.68; }
.ar-270 { --ar: 2.70; }
.ar-272 { --ar: 2.72; }
.ar-274 { --ar: 2.74; }
.ar-276 { --ar: 2.76; }
.ar-278 { --ar: 2.78; }
.ar-280 { --ar: 2.80; }
.ar-282 { --ar: 2.82; }
.ar-284 { --ar: 2.84; }
.ar-286 { --ar: 2.86; }
.ar-288 { --ar: 2.88; }
.ar-290 { --ar: 2.90; }
.ar-292 { --ar: 2.92; }
.ar-294 { --ar: 2.94; }
.ar-296 { --ar: 2.96; }
.ar-298 { --ar: 2.98; }
.ar-300 { --ar: 3.00; }
.ar-302 { --ar: 3.02; }
.ar-304 { --ar: 3.04; }
.ar-306 { --ar: 3.06; }
.ar-308 { --ar: 3.08; }
.ar-310 { --ar: 3.10; }
.ar-312 { --ar: 3.12; }
.ar-314 { --ar: 3.14; }
.ar-316 { --ar: 3.16; }
.ar-318 { --ar: 3.18; }
.ar-320 { --ar: 3.20; }
.ar-322 { --ar: 3.22; }
.ar-324 { --ar: 3.24; }
.ar-326 { --ar: 3.26; }
.ar-328 { --ar: 3.28; }
.ar-330 { --ar: 3.30; }
.ar-332 { --ar: 3.32; }
.ar-334 { --ar: 3.34; }
.ar-336 { --ar: 3.36; }
.ar-338 { --ar: 3.38; }
.ar-340 { --ar: 3.40; }
.ar-342 { --ar: 3.42; }
.ar-344 { --ar: 3.44; }
.ar-346 { --ar: 3.46; }
.ar-348 { --ar: 3.48; }
.ar-350 { --ar: 3.50; }
.ar-352 { --ar: 3.52; }
.ar-354 { --ar: 3.54; }
.ar-356 { --ar: 3.56; }
.ar-358 { --ar: 3.58; }
.ar-360 { --ar: 3.60; }
.ar-362 { --ar: 3.62; }
.ar-364 { --ar: 3.64; }
.ar-366 { --ar: 3.66; }
.ar-368 { --ar: 3.68; }
.ar-370 { --ar: 3.70; }
.ar-372 { --ar: 3.72; }
.ar-374 { --ar: 3.74; }
.ar-376 { --ar: 3.76; }
.ar-378 { --ar: 3.78; }
.ar-380 { --ar: 3.80; }
.ar-382 { --ar: 3.82; }
.ar-384 { --ar: 3.84; }
.ar-386 { --ar: 3.86; }
.ar-388 { --ar: 3.88; }
.ar-390 { --ar: 3.90; }
.ar-392 { --ar: 3.92; }
.ar-394 { --ar: 3.94; }
.ar-396 { --ar: 3.96; }
.ar-398 { --ar: 3.98; }
.ar-400 { --ar: 4.00; }
.ar-402 { --ar: 4.02; }
.ar-404 { --ar: 4.04; }
.ar-406 { --ar: 4.06; }
.ar-408 { --ar: 4.08; }
.ar-410 { --ar: 4.10; }
.ar-412 { --ar: 4.12; }
.ar-414 { --ar: 4.14; }
.ar-416 { --ar: 4.16; }
.ar-418 { --ar: 4.18; }
.ar-420 { --ar: 4.20; }
.ar-422 { --ar: 4.22; }
.ar-424 { --ar: 4.24; }
.ar-426 { --ar: 4.26; }
.ar-428 { --ar: 4.28; }
.ar-430 { --ar: 4.30; }
.ar-432 { --ar: 4.32; }
.ar-434 { --ar: 4.34; }
.ar-436 { --ar: 4.36; }
.ar-438 { --ar: 4.38; }
.ar-440 { --ar: 4.40; }
.ar-442 { --ar: 4.42; }
.ar-444 { --ar: 4.44; }
.ar-446 { --ar: 4.46; }
.ar-448 { --ar: 4.48; }
.ar-450 { --ar: 4.50; }
.ar-452 { --ar: 4.52; }
.ar-454 { --ar: 4.54; }
.ar-456 { --ar: 4.56; }
.ar-458 { --ar: 4.58; }
.ar-460 { --ar: 4.60; }
.ar-462 { --ar: 4.62; }
.ar-464 { --ar: 4.64; }
.ar-466 { --ar: 4.66; }
.ar-468 { --ar: 4.68; }
.ar-470 { --ar: 4.70; }
.ar-472 { --ar: 4.72; }
.ar-474 { --ar: 4.74; }
.ar-476 { --ar: 4.76; }
.ar-478 { --ar: 4.78; }
.ar-480 { --ar: 4.80; }
.ar-482 { --ar: 4.82; }
.ar-484 { --ar: 4.84; }
.ar-486 { --ar: 4.86; }
.ar-488 { --ar: 4.88; }
.ar-490 { --ar: 4.90; }
.ar-492 { --ar: 4.92; }
.ar-494 { --ar: 4.94; }
.ar-496 { --ar: 4.96; }
.ar-498 { --ar: 4.98; }
.ar-500 { --ar: 5.00; }

/* Generated by go test ./pkg/theme -update (ratios.go). Layout settings:
   gap-<px> sets --img-gap, radius-<px> --img-radius, width-<percent of
   the text column> --img-width; contact sheets' skew-<n> and sheet-<n> set --skew and
   --sheet; a cropped image's fx-<n>, fy-<n> and zoom-<tenths> set --fx,
   --fy and --z. */
:is(.block-layout, .block-gallery).gap-0 { --img-gap: 0px; }
:is(.block-layout, .block-gallery).gap-1 { --img-gap: 1px; }
:is(.block-layout, .block-gallery).gap-2 { --img-gap: 2px; }
:is(.block-layout, .block-gallery).gap-3 { --img-gap: 3px; }
:is(.block-layout, .block-gallery).gap-4 { --img-gap: 4px; }
:is(.block-layout, .block-gallery).gap-5 { --img-gap: 5px; }
:is(.block-layout, .block-gallery).gap-6 { --img-gap: 6px; }
:is(.block-layout, .block-gallery).gap-7 { --img-gap: 7px; }
:is(.block-layout, .block-gallery).gap-8 { --img-gap: 8px; }
:is(.block-layout, .block-gallery).gap-9 { --img-gap: 9px; }
:is(.block-layout, .block-gallery).gap-10 { --img-gap: 10px; }
:is(.block-layout, .block-gallery).gap-11 { --img-gap: 11px; }
:is(.block-layout, .block-gallery).gap-12 { --img-gap: 12px; }
:is(.block-layout, .block-gallery).gap-13 { --img-gap: 13px; }
:is(.block-layout, .block-gallery).gap-14 { --img-gap: 14px; }
:is(.block-layout, .block-gallery).gap-15 { --img-gap: 15px; }
:is(.block-layout, .block-gallery).gap-16 { --img-gap: 16px; }
:is(.block-layout, .block-gallery).gap-17 { --img-gap: 17px; }
:is(.block-layout, .block-gallery).gap-18 { --img-gap: 18px; }
:is(.block-layout, .block-gallery).gap-19 { --img-gap: 19px; }
:is(.block-layout, .block-gallery).gap-20 { --img-gap: 20px; }
:is(.block-layout, .block-gallery).gap-21 { --img-gap: 21px; }
:is(.block-layout, .block-gallery).gap-22 { --img-gap: 22px; }
:is(.block-layout, .block-gallery).gap-23 { --img-gap: 23px; }
:is(.block-layout, .block-gallery).gap-24 { --img-gap: 24px; }
:is(.block-layout, .block-gallery).gap-25 { --img-gap: 25px; }
:is(.block-layout, .block-gallery).gap-26 { --img-gap: 26px; }
:is(.block-layout, .block-gallery).gap-27 { --img-gap: 27px; }
:is(.block-layout, .block-gallery).gap-28 { --img-gap: 28px; }
:is(.block-layout, .block-gallery).gap-29 { --img-gap: 29px; }
:is(.block-layout, .block-gallery).gap-30 { --img-gap: 30px; }
:is(.block-layout, .block-gallery).gap-31 { --img-gap: 31px; }
:is(.block-layout, .block-gallery).gap-32 { --img-gap: 32px; }
:is(.block-layout, .block-gallery).gap-33 { --img-gap: 33px; }
:is(.block-layout, .block-gallery).gap-34 { --img-gap: 34px; }
:is(.block-layout, .block-gallery).gap-35 { --img-gap: 35px; }
:is(.block-layout, .block-gallery).gap-36 { --img-gap: 36px; }
:is(.block-layout, .block-gallery).gap-37 { --img-gap: 37px; }
:is(.block-layout, .block-gallery).gap-38 { --img-gap: 38px; }
:is(.block-layout, .block-gallery).gap-39 { --img-gap: 39px; }
:is(.block-layout, .block-gallery).gap-40 { --img-gap: 40px; }
:is(.block-layout, .block-gallery).gap-41 { --img-gap: 41px; }
:is(.block-layout, .block-gallery).gap-42 { --img-gap: 42px; }
:is(.block-layout, .block-gallery).gap-43 { --img-gap: 43px; }
:is(.block-layout, .block-gallery).gap-44 { --img-gap: 44px; }
:is(.block-layout, .block-gallery).gap-45 { --img-gap: 45px; }
:is(.block-layout, .block-gallery).gap-46 { --img-gap: 46px; }
:is(.block-layout, .block-gallery).gap-47 { --img-gap: 47px; }
:is(.block-layout, .block-gallery).gap-48 { --img-gap: 48px; }
:is(.block-layout, .block-gallery).radius-0 { --img-radius: 0px; }
:is(.block-layout, .block-gallery).radius-1 { --img-radius: 1px; }
:is(.block-layout, .block-gallery).radius-2 { --img-radius: 2px; }
:is(.block-layout, .block-gallery).radius-3 { --img-radius: 3px; }
:is(.block-layout, .block-gallery).radius-4 { --img-radius: 4px; }
:is(.block-layout, .block-gallery).radius-5 { --img-radius: 5px; }
:is(.block-layout, .block-gallery).radius-6 { --img-radius: 6px; }
:is(.block-layout, .block-gallery).radius-7 { --img-radius: 7px; }
:is(.block-layout, .block-gallery).radius-8 { --img-radius: 8px; }
:is(.block-layout, .block-gallery).radius-9 { --img-radius: 9px; }
:is(.block-layout, .block-gallery).radius-10 { --img-radius: 10px; }
:is(.block-layout, .block-gallery).radius-11 { --img-radius: 11px; }
:is(.block-layout, .block-gallery).radius-12 { --img-radius: 12px; }
:is(.block-layout, .block-gallery).radius-13 { --img-radius: 13px; }
:is(.block-layout, .block-gallery).radius-14 { --img-radius: 14px; }
:is(.block-layout, .block-gallery).radius-15 { --img-radius: 15px; }
:is(.block-layout, .block-gallery).radius-16 { --img-radius: 16px; }
:is(.block-layout, .block-gallery).radius-17 { --img-radius: 17px; }
:is(.block-layout, .block-gallery).radius-18 { --img-radius: 18px; }
:is(.block-layout, .block-gallery).radius-19 { --img-radius: 19px; }
:is(.block-layout, .block-gallery).radius-20 { --img-radius: 20px; }
:is(.block-layout, .block-gallery).radius-21 { --img-radius: 21px; }
:is(.block-layout, .block-gallery).radius-22 { --img-radius: 22px; }
:is(.block-layout, .block-gallery).radius-23 { --img-radius: 23px; }
:is(.block-layout, .block-gallery).radius-24 { --img-radius: 24px; }
:is(.block-layout, .block-gallery).radius-25 { --img-radius: 25px; }
:is(.block-layout, .block-gallery).radius-26 { --img-radius: 26px; }
:is(.block-layout, .block-gallery).radius-27 { --img-radius: 27px; }
:is(.block-layout, .block-gallery).radius-28 { --img-radius: 28px; }
:is(.block-layout, .block-gallery).radius-29 { --img-radius: 29px; }
:is(.block-layout, .block-gallery).radius-30 { --img-radius: 30px; }
:is(.block-layout, .block-gallery).radius-31 { --img-radius: 31px; }
:is(.block-layout, .block-gallery).radius-32 { --img-radius: 32px; }
:is(.block-layout, .block-gallery).width-40 { --img-width: 0.40; }
:is(.block-layout, .block-gallery).width-45 { --img-width: 0.45; }
:is(.block-layout, .block-gallery).width-50 { --img-width: 0.50; }
:is(.block-layout, .block-gallery).width-55 { --img-width: 0.55; }
:is(.block-layout, .block-gallery).width-60 { --img-width: 0.60; }
:is(.block-layout, .block-gallery).width-65 { --img-width: 0.65; }
:is(.block-layout, .block-gallery).width-70 { --img-width: 0.70; }
:is(.block-layout, .block-gallery).width-75 { --img-width: 0.75; }
:is(.block-layout, .block-gallery).width-80 { --img-width: 0.80; }
:is(.block-layout, .block-gallery).width-85 { --img-width: 0.85; }
:is(.block-layout, .block-gallery).width-90 { --img-width: 0.90; }
:is(.block-layout, .block-gallery).width-95 { --img-width: 0.95; }
:is(.block-layout, .block-gallery).width-100 { --img-width: 1.00; }
:is(.block-layout, .block-gallery).width-105 { --img-width: 1.05; }
:is(.block-layout, .block-gallery).width-110 { --img-width: 1.10; }
:is(.block-layout, .block-gallery).width-115 { --img-width: 1.15; }
:is(.block-layout, .block-gallery).width-120 { --img-width: 1.20; }
:is(.block-layout, .block-gallery).width-125 { --img-width: 1.25; }
:is(.block-layout, .block-gallery).width-130 { --img-width: 1.30; }
:is(.block-layout, .block-gallery).width-135 { --img-width: 1.35; }
:is(.block-layout, .block-gallery).width-140 { --img-width: 1.40; }
:is(.block-layout, .block-gallery).width-145 { --img-width: 1.45; }
:is(.block-layout, .block-gallery).width-150 { --img-width: 1.50; }
:is(.block-layout, .block-gallery).width-155 { --img-width: 1.55; }
:is(.block-layout, .block-gallery).width-160 { --img-width: 1.60; }
:is(.block-layout, .block-gallery).width-165 { --img-width: 1.65; }
:is(.block-layout, .block-gallery).width-170 { --img-width: 1.70; }
:is(.block-layout, .block-gallery).width-175 { --img-width: 1.75; }
:is(.block-layout, .block-gallery).width-180 { --img-width: 1.80; }
:is(.block-layout, .block-gallery).width-185 { --img-width: 1.85; }
:is(.block-layout, .block-gallery).width-190 { --img-width: 1.90; }
:is(.block-layout, .block-gallery).width-195 { --img-width: 1.95; }
:is(.block-layout, .block-gallery).width-200 { --img-width: 2.00; }
:is(.block-layout, .block-gallery).width-205 { --img-width: 2.05; }
:is(.block-layout, .block-gallery).width-210 { --img-width: 2.10; }
:is(.block-layout, .block-gallery).width-215 { --img-width: 2.15; }
:is(.block-layout, .block-gallery).width-220 { --img-width: 2.20; }
:is(.block-layout, .block-gallery).width-225 { --img-width: 2.25; }
:is(.block-layout, .block-gallery).width-230 { --img-width: 2.30; }
:is(.block-layout, .block-gallery).width-235 { --img-width: 2.35; }
:is(.block-layout, .block-gallery).width-240 { --img-width: 2.40; }
:is(.block-layout, .block-gallery).width-245 { --img-width: 2.45; }
:is(.block-layout, .block-gallery).width-250 { --img-width: 2.50; }
:is(.block-layout, .block-gallery).width-255 { --img-width: 2.55; }
:is(.block-layout, .block-gallery).width-260 { --img-width: 2.60; }
:is(.block-layout, .block-gallery).width-265 { --img-width: 2.65; }
:is(.block-layout, .block-gallery).width-270 { --img-width: 2.70; }
:is(.block-layout, .block-gallery).width-275 { --img-width: 2.75; }
:is(.block-layout, .block-gallery).width-280 { --img-width: 2.80; }
:is(.block-layout, .block-gallery).width-285 { --img-width: 2.85; }
:is(.block-layout, .block-gallery).width-290 { --img-width: 2.90; }
:is(.block-layout, .block-gallery).width-295 { --img-width: 2.95; }
:is(.block-layout, .block-gallery).width-300 { --img-width: 3.00; }
.gallery-contact.skew-0 { --skew: 0.00; }
.gallery-contact.skew-1 { --skew: 0.01; }
.gallery-contact.skew-2 { --skew: 0.02; }
.gallery-contact.skew-3 { --skew: 0.03; }
.gallery-contact.skew-4 { --skew: 0.04; }
.gallery-contact.skew-5 { --skew: 0.05; }
.gallery-contact.skew-6 { --skew: 0.06; }
.gallery-contact.skew-7 { --skew: 0.07; }
.gallery-contact.skew-8 { --skew: 0.08; }
.gallery-contact.skew-9 { --skew: 0.09; }
.gallery-contact.skew-10 { --skew: 0.10; }
.gallery-contact.skew-11 { --skew: 0.11; }
.gallery-contact.skew-12 { --skew: 0.12; }
.gallery-contact.skew-13 { --skew: 0.13; }
.gallery-contact.skew-14 { --skew: 0.14; }
.gallery-contact.skew-15 { --skew: 0.15; }
.gallery-contact.skew-16 { --skew: 0.16; }
.gallery-contact.skew-17 { --skew: 0.17; }
.gallery-contact.skew-18 { --skew: 0.18; }
.gallery-contact.skew-19 { --skew: 0.19; }
.gallery-contact.skew-20 { --skew: 0.20; }
.gallery-contact.skew-21 { --skew: 0.21; }
.gallery-contact.skew-22 { --skew: 0.22; }
.gallery-contact.skew-23 { --skew: 0.23; }
.gallery-contact.skew-24 { --skew: 0.24; }
.gallery-contact.skew-25 { --skew: 0.25; }
.gallery-contact.skew-26 { --skew: 0.26; }
.gallery-contact.skew-27 { --skew: 0.27; }
.gallery-contact.skew-28 { --skew: 0.28; }
.gallery-contact.skew-29 { --skew: 0.29; }
.gallery-contact.skew-30 { --skew: 0.30; }
.gallery-contact.skew-31 { --skew: 0.31; }
.gallery-contact.skew-32 { --skew: 0.32; }
.gallery-contact.skew-33 { --skew: 0.33; }
.gallery-contact.skew-34 { --skew: 0.34; }
.gallery-contact.skew-35 { --skew: 0.35; }
.gallery-contact.skew-36 { --skew: 0.36; }
.gallery-contact.skew-37 { --skew: 0.37; }
.gallery-contact.skew-38 { --skew: 0.38; }
.gallery-contact.skew-39 { --skew: 0.39; }
.gallery-contact.skew-40 { --skew: 0.40; }
.gallery-contact.skew-41 { --skew: 0.41; }
.gallery-contact.skew-42 { --skew: 0.42; }
.gallery-contact.skew-43 { --skew: 0.43; }
.gallery-contact.skew-44 { --skew: 0.44; }
.gallery-contact.skew-45 { --skew: 0.45; }
.gallery-contact.skew-46 { --skew: 0.46; }
.gallery-contact.skew-47 { --skew: 0.47; }
.gallery-contact.skew-48 { --skew: 0.48; }
.gallery-contact.skew-49 { --skew: 0.49; }
.gallery-contact.skew-50 { --skew: 0.50; }
.gallery-contact.skew-51 { --skew: 0.51; }
.gallery-contact.skew-52 { --skew: 0.52; }
.gallery-contact.skew-53 { --skew: 0.53; }
.gallery-contact.skew-54 { --skew: 0.54; }
.gallery-contact.skew-55 { --skew: 0.55; }
.gallery-contact.skew-56 { --skew: 0.56; }
.gallery-contact.skew-57 { --skew: 0.57; }
.gallery-contact.skew-58 { --skew: 0.58; }
.gallery-contact.skew-59 { --skew: 0.59; }
.gallery-contact.skew-60 { --skew: 0.60; }
.gallery-contact.skew-61 { --skew: 0.61; }
.gallery-contact.skew-62 { --skew: 0.62; }
.gallery-contact.skew-63 { --skew: 0.63; }
.gallery-contact.skew-64 { --skew: 0.64; }
.gallery-contact.skew-65 { --skew: 0.65; }
.gallery-contact.skew-66 { --skew: 0.66; }
.gallery-contact.skew-67 { --skew: 0.67; }
.gallery-contact.skew-68 { --skew: 0.68; }
.gallery-contact.skew-69 { --skew: 0.69; }
.gallery-contact.skew-70 { --skew: 0.70; }
.gallery-contact.skew-71 { --skew: 0.71; }
.gallery-contact.skew-72 { --skew: 0.72; }
.gallery-contact.skew-73 { --skew: 0.73; }
.gallery-contact.skew-74 { --skew: 0.74; }
.gallery-contact.skew-75 { --skew: 0.75; }
.gallery-contact.skew-76 { --skew: 0.76; }
.gallery-contact.skew-77 { --skew: 0.77; }
.gallery-contact.skew-78 { --skew: 0.78; }
.gallery-contact.skew-79 { --skew: 0.79; }
.gallery-contact.skew-80 { --skew: 0.80; }
.gallery-contact.skew-81 { --skew: 0.81; }
.gallery-contact.skew-82 { --skew: 0.82; }
.gallery-contact.skew-83 { --skew: 0.83; }
.gallery-contact.skew-84 { --skew: 0.84; }
.gallery-contact.skew-85 { --skew: 0.85; }
.gallery-contact.skew-86 { --skew: 0.86; }
.gallery-contact.skew-87 { --skew: 0.87; }
.gallery-contact.skew-88 { --skew: 0.88; }
.gallery-contact.skew-89 { --skew: 0.89; }
.gallery-contact.skew-90 { --skew: 0.90; }
.gallery-contact.skew-91 { --skew: 0.91; }
.gallery-contact.skew-92 { --skew: 0.92; }
.gallery-contact.skew-93 { --skew: 0.93; }
.gallery-contact.skew-94 { --skew: 0.94; }
.gallery-contact.skew-95 { --skew: 0.95; }
.gallery-contact.skew-96 { --skew: 0.96; }
.gallery-contact.skew-97 { --skew: 0.97; }
.gallery-contact.skew-98 { --skew: 0.98; }
.gallery-contact.skew-99 { --skew: 0.99; }
.gallery-contact.skew-100 { --skew: 1.00; }
.gallery-contact.sheet-0 { --sheet: 0; }
.gallery-contact.sheet-1 { --sheet: 1; }
.gallery-contact.sheet-2 { --sheet: 2; }
.gallery-contact.sheet-3 { --sheet: 3; }
.gallery-contact.sheet-4 { --sheet: 4; }
.gallery-contact.sheet-5 { --sheet: 5; }
.gallery-contact.sheet-6 { --sheet: 6; }
.gallery-contact.sheet-7 { --sheet: 7; }
.gallery-contact.sheet-8 { --sheet: 8; }
.gallery-contact.sheet-9 { --sheet: 9; }
.gallery-contact.sheet-10 { --sheet: 10; }
.gallery-contact.sheet-11 { --sheet: 11; }
.gallery-contact.sheet-12 { --sheet: 12; }
.gallery-contact.sheet-13 { --sheet: 13; }
.gallery-contact.sheet-14 { --sheet: 14; }
.gallery-contact.sheet-15 { --sheet: 15; }
.gallery-contact.sheet-16 { --sheet: 16; }
.gallery-contact.sheet-17 { --sheet: 17; }
.gallery-contact.sheet-18 { --sheet: 18; }
.gallery-contact.sheet-19 { --sheet: 19; }
.gallery-contact.sheet-20 { --sheet: 20; }
.gallery-contact.sheet-21 { --sheet: 21; }
.gallery-contact.sheet-22 { --sheet: 22; }
.gallery-contact.sheet-23 { --sheet: 23; }
.gallery-contact.sheet-24 { --sheet: 24; }
.gallery-contact.sheet-25 { --sheet: 25; }
.gallery-contact.sheet-26 { --sheet: 26; }
.gallery-contact.sheet-27 { --sheet: 27; }
.gallery-contact.sheet-28 { --sheet: 28; }
.gallery-contact.sheet-29 { --sheet: 29; }
.gallery-contact.sheet-30 { --sheet: 30; }
.gallery-contact.sheet-31 { --sheet: 31; }
.gallery-contact.sheet-32 { --sheet: 32; }
.gallery-contact.sheet-33 { --sheet: 33; }
.gallery-contact.sheet-34 { --sheet: 34; }
.gallery-contact.sheet-35 { --sheet: 35; }
.gallery-contact.sheet-36 { --sheet: 36; }
.gallery-contact.sheet-37 { --sheet: 37; }
.gallery-contact.sheet-38 { --sheet: 38; }
.gallery-contact.sheet-39 { --sheet: 39; }
.gallery-contact.sheet-40 { --sheet: 40; }
.gallery-contact.sheet-41 { --sheet: 41; }
.gallery-contact.sheet-42 { --sheet: 42; }
.gallery-contact.sheet-43 { --sheet: 43; }
.gallery-contact.sheet-44 { --sheet: 44; }
.gallery-contact.sheet-45 { --sheet: 45; }
.gallery-contact.sheet-46 { --sheet: 46; }
.gallery-contact.sheet-47 { --sheet: 47; }
.gallery-contact.sheet-48 { --sheet: 48; }
.gallery-contact.sheet-49 { --sheet: 49; }
.gallery-contact.sheet-50 { --sheet: 50; }
.gallery-contact.sheet-51 { --sheet: 51; }
.gallery-contact.sheet-52 { --sheet: 52; }
.gallery-contact.sheet-53 { --sheet: 53; }
.gallery-contact.sheet-54 { --sheet: 54; }
.gallery-contact.sheet-55 { --sheet: 55; }
.gallery-contact.sheet-56 { --sheet: 56; }
.gallery-contact.sheet-57 { --sheet: 57; }
.gallery-contact.sheet-58 { --sheet: 58; }
.gallery-contact.sheet-59 { --sheet: 59; }
.gallery-contact.sheet-60 { --sheet: 60; }
.gallery-contact.sheet-61 { --sheet: 61; }
.gallery-contact.sheet-62 { --sheet: 62; }
.gallery-contact.sheet-63 { --sheet: 63; }
.gallery-contact.sheet-64 { --sheet: 64; }
.gallery-contact.sheet-65 { --sheet: 65; }
.gallery-contact.sheet-66 { --sheet: 66; }
.gallery-contact.sheet-67 { --sheet: 67; }
.gallery-contact.sheet-68 { --sheet: 68; }
.gallery-contact.sheet-69 { --sheet: 69; }
.gallery-contact.sheet-70 { --sheet: 70; }
.gallery-contact.sheet-71 { --sheet: 71; }
.gallery-contact.sheet-72 { --sheet: 72; }
.gallery-contact.sheet-73 { --sheet: 73; }
.gallery-contact.sheet-74 { --sheet: 74; }
.gallery-contact.sheet-75 { --sheet: 75; }
.gallery-contact.sheet-76 { --sheet: 76; }
.gallery-contact.sheet-77 { --sheet: 77; }
.gallery-contact.sheet-78 { --sheet: 78; }
.gallery-contact.sheet-79 { --sheet: 79; }
.gallery-contact.sheet-80 { --sheet: 80; }
.gallery-contact.sheet-81 { --sheet: 81; }
.gallery-contact.sheet-82 { --sheet: 82; }
.gallery-contact.sheet-83 { --sheet: 83; }
.gallery-contact.sheet-84 { --sheet: 84; }
.gallery-contact.sheet-85 { --sheet: 85; }
.gallery-contact.sheet-86 { --sheet: 86; }
.gallery-contact.sheet-87 { --sheet: 87; }
.gallery-contact.sheet-88 { --sheet: 88; }
.gallery-contact.sheet-89 { --sheet: 89; }
.gallery-contact.sheet-90 { --sheet: 90; }
.gallery-contact.sheet-91 { --sheet: 91; }
.gallery-contact.sheet-92 { --sheet: 92; }
.gallery-contact.sheet-93 { --sheet: 93; }
.gallery-contact.sheet-94 { --sheet: 94; }
.gallery-contact.sheet-95 { --sheet: 95; }
.gallery-contact.sheet-96 { --sheet: 96; }
.gallery-contact.sheet-97 { --sheet: 97; }
.gallery-contact.sheet-98 { --sheet: 98; }
.gallery-contact.sheet-99 { --sheet: 99; }
.gallery-contact.sheet-100 { --sheet: 100; }
.layout-booth.booth-50 { --booth-k: 0.50; }
.layout-booth.booth-55 { --booth-k: 0.55; }
.layout-booth.booth-60 { --booth-k: 0.60; }
.layout-booth.booth-65 { --booth-k: 0.65; }
.layout-booth.booth-70 { --booth-k: 0.70; }
.layout-booth.booth-75 { --booth-k: 0.75; }
.layout-booth.booth-80 { --booth-k: 0.80; }
.layout-booth.booth-85 { --booth-k: 0.85; }
.layout-booth.booth-90 { --booth-k: 0.90; }
.layout-booth.booth-95 { --booth-k: 0.95; }
.layout-booth.booth-100 { --booth-k: 1.00; }
.layout-booth.booth-105 { --booth-k: 1.05; }
.layout-booth.booth-110 { --booth-k: 1.10; }
.layout-booth.booth-115 { --booth-k: 1.15; }
.layout-booth.booth-120 { --booth-k: 1.20; }
.layout-booth.booth-125 { --booth-k: 1.25; }
.layout-booth.booth-130 { --booth-k: 1.30; }
.layout-booth.booth-135 { --booth-k: 1.35; }
.layout-booth.booth-140 { --booth-k: 1.40; }
.layout-booth.booth-145 { --booth-k: 1.45; }
.layout-booth.booth-150 { --booth-k: 1.50; }
.layout-booth.booth-155 { --booth-k: 1.55; }
.layout-booth.booth-160 { --booth-k: 1.60; }
.layout-booth.booth-165 { --booth-k: 1.65; }
.layout-booth.booth-170 { --booth-k: 1.70; }
.layout-booth.booth-175 { --booth-k: 1.75; }
.layout-booth.booth-180 { --booth-k: 1.80; }
.layout-booth.booth-185 { --booth-k: 1.85; }
.layout-booth.booth-190 { --booth-k: 1.90; }
.layout-booth.booth-195 { --booth-k: 1.95; }
.layout-booth.booth-200 { --booth-k: 2.00; }
.layout-detail .dx-0 { --dx: 0; }
.layout-detail .dx-1 { --dx: 1; }
.layout-detail .dx-2 { --dx: 2; }
.layout-detail .dx-3 { --dx: 3; }
.layout-detail .dx-4 { --dx: 4; }
.layout-detail .dx-5 { --dx: 5; }
.layout-detail .dx-6 { --dx: 6; }
.layout-detail .dx-7 { --dx: 7; }
.layout-detail .dx-8 { --dx: 8; }
.layout-detail .dx-9 { --dx: 9; }
.layout-detail .dx-10 { --dx: 10; }
.layout-detail .dx-11 { --dx: 11; }
.layout-detail .dx-12 { --dx: 12; }
.layout-detail .dx-13 { --dx: 13; }
.layout-detail .dx-14 { --dx: 14; }
.layout-detail .dx-15 { --dx: 15; }
.layout-detail .dx-16 { --dx: 16; }
.layout-detail .dx-17 { --dx: 17; }
.layout-detail .dx-18 { --dx: 18; }
.layout-detail .dx-19 { --dx: 19; }
.layout-detail .dx-20 { --dx: 20; }
.layout-detail .dx-21 { --dx: 21; }
.layout-detail .dx-22 { --dx: 22; }
.layout-detail .dx-23 { --dx: 23; }
.layout-detail .dx-24 { --dx: 24; }
.layout-detail .dx-25 { --dx: 25; }
.layout-detail .dx-26 { --dx: 26; }
.layout-detail .dx-27 { --dx: 27; }
.layout-detail .dx-28 { --dx: 28; }
.layout-detail .dx-29 { --dx: 29; }
.layout-detail .dx-30 { --dx: 30; }
.layout-detail .dx-31 { --dx: 31; }
.layout-detail .dx-32 { --dx: 32; }
.layout-detail .dx-33 { --dx: 33; }
.layout-detail .dx-34 { --dx: 34; }
.layout-detail .dx-35 { --dx: 35; }
.layout-detail .dx-36 { --dx: 36; }
.layout-detail .dx-37 { --dx: 37; }
.layout-detail .dx-38 { --dx: 38; }
.layout-detail .dx-39 { --dx: 39; }
.layout-detail .dx-40 { --dx: 40; }
.layout-detail .dx-41 { --dx: 41; }
.layout-detail .dx-42 { --dx: 42; }
.layout-detail .dx-43 { --dx: 43; }
.layout-detail .dx-44 { --dx: 44; }
.layout-detail .dx-45 { --dx: 45; }
.layout-detail .dx-46 { --dx: 46; }
.layout-detail .dx-47 { --dx: 47; }
.layout-detail .dx-48 { --dx: 48; }
.layout-detail .dx-49 { --dx: 49; }
.layout-detail .dx-50 { --dx: 50; }
.layout-detail .dx-51 { --dx: 51; }
.layout-detail .dx-52 { --dx: 52; }
.layout-detail .dx-53 { --dx: 53; }
.layout-detail .dx-54 { --dx: 54; }
.layout-detail .dx-55 { --dx: 55; }
.layout-detail .dx-56 { --dx: 56; }
.layout-detail .dx-57 { --dx: 57; }
.layout-detail .dx-58 { --dx: 58; }
.layout-detail .dx-59 { --dx: 59; }
.layout-detail .dx-60 { --dx: 60; }
.layout-detail .dx-61 { --dx: 61; }
.layout-detail .dx-62 { --dx: 62; }
.layout-detail .dx-63 { --dx: 63; }
.layout-detail .dx-64 { --dx: 64; }
.layout-detail .dx-65 { --dx: 65; }
.layout-detail .dx-66 { --dx: 66; }
.layout-detail .dx-67 { --dx: 67; }
.layout-detail .dx-68 { --dx: 68; }
.layout-detail .dx-69 { --dx: 69; }
.layout-detail .dx-70 { --dx: 70; }
.layout-detail .dx-71 { --dx: 71; }
.layout-detail .dx-72 { --dx: 72; }
.layout-detail .dx-73 { --dx: 73; }
.layout-detail .dx-74 { --dx: 74; }
.layout-detail .dx-75 { --dx: 75; }
.layout-detail .dx-76 { --dx: 76; }
.layout-detail .dx-77 { --dx: 77; }
.layout-detail .dx-78 { --dx: 78; }
.layout-detail .dx-79 { --dx: 79; }
.layout-detail .dx-80 { --dx: 80; }
.layout-detail .dx-81 { --dx: 81; }
.layout-detail .dx-82 { --dx: 82; }
.layout-detail .dx-83 { --dx: 83; }
.layout-detail .dx-84 { --dx: 84; }
.layout-detail .dx-85 { --dx: 85; }
.layout-detail .dx-86 { --dx: 86; }
.layout-detail .dx-87 { --dx: 87; }
.layout-detail .dx-88 { --dx: 88; }
.layout-detail .dx-89 { --dx: 89; }
.layout-detail .dx-90 { --dx: 90; }
.layout-detail .dx-91 { --dx: 91; }
.layout-detail .dx-92 { --dx: 92; }
.layout-detail .dx-93 { --dx: 93; }
.layout-detail .dx-94 { --dx: 94; }
.layout-detail .dx-95 { --dx: 95; }
.layout-detail .dx-96 { --dx: 96; }
.layout-detail .dx-97 { --dx: 97; }
.layout-detail .dx-98 { --dx: 98; }
.layout-detail .dx-99 { --dx: 99; }
.layout-detail .dx-100 { --dx: 100; }
.layout-detail .dy-0 { --dy: 0; }
.layout-detail .dy-1 { --dy: 1; }
.layout-detail .dy-2 { --dy: 2; }
.layout-detail .dy-3 { --dy: 3; }
.layout-detail .dy-4 { --dy: 4; }
.layout-detail .dy-5 { --dy: 5; }
.layout-detail .dy-6 { --dy: 6; }
.layout-detail .dy-7 { --dy: 7; }
.layout-detail .dy-8 { --dy: 8; }
.layout-detail .dy-9 { --dy: 9; }
.layout-detail .dy-10 { --dy: 10; }
.layout-detail .dy-11 { --dy: 11; }
.layout-detail .dy-12 { --dy: 12; }
.layout-detail .dy-13 { --dy: 13; }
.layout-detail .dy-14 { --dy: 14; }
.layout-detail .dy-15 { --dy: 15; }
.layout-detail .dy-16 { --dy: 16; }
.layout-detail .dy-17 { --dy: 17; }
.layout-detail .dy-18 { --dy: 18; }
.layout-detail .dy-19 { --dy: 19; }
.layout-detail .dy-20 { --dy: 20; }
.layout-detail .dy-21 { --dy: 21; }
.layout-detail .dy-22 { --dy: 22; }
.layout-detail .dy-23 { --dy: 23; }
.layout-detail .dy-24 { --dy: 24; }
.layout-detail .dy-25 { --dy: 25; }
.layout-detail .dy-26 { --dy: 26; }
.layout-detail .dy-27 { --dy: 27; }
.layout-detail .dy-28 { --dy: 28; }
.layout-detail .dy-29 { --dy: 29; }
.layout-detail .dy-30 { --dy: 30; }
.layout-detail .dy-31 { --dy: 31; }
.layout-detail .dy-32 { --dy: 32; }
.layout-detail .dy-33 { --dy: 33; }
.layout-detail .dy-34 { --dy: 34; }
.layout-detail .dy-35 { --dy: 35; }
.layout-detail .dy-36 { --dy: 36; }
.layout-detail .dy-37 { --dy: 37; }
.layout-detail .dy-38 { --dy: 38; }
.layout-detail .dy-39 { --dy: 39; }
.layout-detail .dy-40 { --dy: 40; }
.layout-detail .dy-41 { --dy: 41; }
.layout-detail .dy-42 { --dy: 42; }
.layout-detail .dy-43 { --dy: 43; }
.layout-detail .dy-44 { --dy: 44; }
.layout-detail .dy-45 { --dy: 45; }
.layout-detail .dy-46 { --dy: 46; }
.layout-detail .dy-47 { --dy: 47; }
.layout-detail .dy-48 { --dy: 48; }
.layout-detail .dy-49 { --dy: 49; }
.layout-detail .dy-50 { --dy: 50; }
.layout-detail .dy-51 { --dy: 51; }
.layout-detail .dy-52 { --dy: 52; }
.layout-detail .dy-53 { --dy: 53; }
.layout-detail .dy-54 { --dy: 54; }
.layout-detail .dy-55 { --dy: 55; }
.layout-detail .dy-56 { --dy: 56; }
.layout-detail .dy-57 { --dy: 57; }
.layout-detail .dy-58 { --dy: 58; }
.layout-detail .dy-59 { --dy: 59; }
.layout-detail .dy-60 { --dy: 60; }
.layout-detail .dy-61 { --dy: 61; }
.layout-detail .dy-62 { --dy: 62; }
.layout-detail .dy-63 { --dy: 63; }
.layout-detail .dy-64 { --dy: 64; }
.layout-detail .dy-65 { --dy: 65; }
.layout-detail .dy-66 { --dy: 66; }
.layout-detail .dy-67 { --dy: 67; }
.layout-detail .dy-68 { --dy: 68; }
.layout-detail .dy-69 { --dy: 69; }
.layout-detail .dy-70 { --dy: 70; }
.layout-detail .dy-71 { --dy: 71; }
.layout-detail .dy-72 { --dy: 72; }
.layout-detail .dy-73 { --dy: 73; }
.layout-detail .dy-74 { --dy: 74; }
.layout-detail .dy-75 { --dy: 75; }
.layout-detail .dy-76 { --dy: 76; }
.layout-detail .dy-77 { --dy: 77; }
.layout-detail .dy-78 { --dy: 78; }
.layout-detail .dy-79 { --dy: 79; }
.layout-detail .dy-80 { --dy: 80; }
.layout-detail .dy-81 { --dy: 81; }
.layout-detail .dy-82 { --dy: 82; }
.layout-detail .dy-83 { --dy: 83; }
.layout-detail .dy-84 { --dy: 84; }
.layout-detail .dy-85 { --dy: 85; }
.layout-detail .dy-86 { --dy: 86; }
.layout-detail .dy-87 { --dy: 87; }
.layout-detail .dy-88 { --dy: 88; }
.layout-detail .dy-89 { --dy: 89; }
.layout-detail .dy-90 { --dy: 90; }
.layout-detail .dy-91 { --dy: 91; }
.layout-detail .dy-92 { --dy: 92; }
.layout-detail .dy-93 { --dy: 93; }
.layout-detail .dy-94 { --dy: 94; }
.layout-detail .dy-95 { --dy: 95; }
.layout-detail .dy-96 { --dy: 96; }
.layout-detail .dy-97 { --dy: 97; }
.layout-detail .dy-98 { --dy: 98; }
.layout-detail .dy-99 { --dy: 99; }
.layout-detail .dy-100 { --dy: 100; }
.layout-detail.ring-8 { --ring: 8; }
.layout-detail.ring-9 { --ring: 9; }
.layout-detail.ring-10 { --ring: 10; }
.layout-detail.ring-11 { --ring: 11; }
.layout-detail.ring-12 { --ring: 12; }
.layout-detail.ring-13 { --ring: 13; }
.layout-detail.ring-14 { --ring: 14; }
.layout-detail.ring-15 { --ring: 15; }
.layout-detail.ring-16 { --ring: 16; }
.layout-detail.ring-17 { --ring: 17; }
.layout-detail.ring-18 { --ring: 18; }
.layout-detail.ring-19 { --ring: 19; }
.layout-detail.ring-20 { --ring: 20; }
.layout-detail.ring-21 { --ring: 21; }
.layout-detail.ring-22 { --ring: 22; }
.layout-detail.ring-23 { --ring: 23; }
.layout-detail.ring-24 { --ring: 24; }
.layout-detail.ring-25 { --ring: 25; }
.layout-detail.ring-26 { --ring: 26; }
.layout-detail.ring-27 { --ring: 27; }
.layout-detail.ring-28 { --ring: 28; }
.layout-detail.ring-29 { --ring: 29; }
.layout-detail.ring-30 { --ring: 30; }
.layout-detail.lzoom-0 { --lens-zoom: 0; }
.layout-detail.lzoom-10 { --lens-zoom: 10; }
.layout-detail.lzoom-20 { --lens-zoom: 20; }
.layout-detail.lzoom-30 { --lens-zoom: 30; }
.layout-detail.lzoom-40 { --lens-zoom: 40; }
.layout-detail.lzoom-50 { --lens-zoom: 50; }
.layout-detail.lzoom-60 { --lens-zoom: 60; }
.layout-detail.lzoom-70 { --lens-zoom: 70; }
.layout-detail.lzoom-80 { --lens-zoom: 80; }
.layout-detail.lzoom-90 { --lens-zoom: 90; }
.layout-detail.lzoom-100 { --lens-zoom: 100; }
.layout-detail.lzoom-110 { --lens-zoom: 110; }
.layout-detail.lzoom-120 { --lens-zoom: 120; }
.layout-detail.lzoom-130 { --lens-zoom: 130; }
.layout-detail.lzoom-140 { --lens-zoom: 140; }
.layout-detail.lzoom-150 { --lens-zoom: 150; }
.layout-detail.lzoom-160 { --lens-zoom: 160; }
.layout-detail.lzoom-170 { --lens-zoom: 170; }
.layout-detail.lzoom-180 { --lens-zoom: 180; }
.layout-detail.lzoom-190 { --lens-zoom: 190; }
.layout-detail.lzoom-200 { --lens-zoom: 200; }
.layout-opart { --strips: 36; }
.layout-opart.strips-12 { --strips: 12; }
.layout-opart.strips-24 { --strips: 24; }
.layout-opart.strips-36 { --strips: 36; }
.layout-opart.strips-48 { --strips: 48; }
.layout-opart.strips-72 { --strips: 72; }
.layout-opart .op-strip:nth-child(1) { --k: 0; }
.layout-opart .op-strip:nth-child(2) { --k: 1; }
.layout-opart .op-strip:nth-child(3) { --k: 2; }
.layout-opart .op-strip:nth-child(4) { --k: 3; }
.layout-opart .op-strip:nth-child(5) { --k: 4; }
.layout-opart .op-strip:nth-child(6) { --k: 5; }
.layout-opart .op-strip:nth-child(7) { --k: 6; }
.layout-opart .op-strip:nth-child(8) { --k: 7; }
.layout-opart .op-strip:nth-child(9) { --k: 8; }
.layout-opart .op-strip:nth-child(10) { --k: 9; }
.layout-opart .op-strip:nth-child(11) { --k: 10; }
.layout-opart .op-strip:nth-child(12) { --k: 11; }
.layout-opart .op-strip:nth-child(13) { --k: 12; }
.layout-opart .op-strip:nth-child(14) { --k: 13; }
.layout-opart .op-strip:nth-child(15) { --k: 14; }
.layout-opart .op-strip:nth-child(16) { --k: 15; }
.layout-opart .op-strip:nth-child(17) { --k: 16; }
.layout-opart .op-strip:nth-child(18) { --k: 17; }
.layout-opart .op-strip:nth-child(19) { --k: 18; }
.layout-opart .op-strip:nth-child(20) { --k: 19; }
.layout-opart .op-strip:nth-child(21) { --k: 20; }
.layout-opart .op-strip:nth-child(22) { --k: 21; }
.layout-opart .op-strip:nth-child(23) { --k: 22; }
.layout-opart .op-strip:nth-child(24) { --k: 23; }
.layout-opart .op-strip:nth-child(25) { --k: 24; }
.layout-opart .op-strip:nth-child(26) { --k: 25; }
.layout-opart .op-strip:nth-child(27) { --k: 26; }
.layout-opart .op-strip:nth-child(28) { --k: 27; }
.layout-opart .op-strip:nth-child(29) { --k: 28; }
.layout-opart .op-strip:nth-child(30) { --k: 29; }
.layout-opart .op-strip:nth-child(31) { --k: 30; }
.layout-opart .op-strip:nth-child(32) { --k: 31; }
.layout-opart .op-strip:nth-child(33) { --k: 32; }
.layout-opart .op-strip:nth-child(34) { --k: 33; }
.layout-opart .op-strip:nth-child(35) { --k: 34; }
.layout-opart .op-strip:nth-child(36) { --k: 35; }
.layout-opart .op-strip:nth-child(37) { --k: 36; }
.layout-opart .op-strip:nth-child(38) { --k: 37; }
.layout-opart .op-strip:nth-child(39) { --k: 38; }
.layout-opart .op-strip:nth-child(40) { --k: 39; }
.layout-opart .op-strip:nth-child(41) { --k: 40; }
.layout-opart .op-strip:nth-child(42) { --k: 41; }
.layout-opart .op-strip:nth-child(43) { --k: 42; }
.layout-opart .op-strip:nth-child(44) { --k: 43; }
.layout-opart .op-strip:nth-child(45) { --k: 44; }
.layout-opart .op-strip:nth-child(46) { --k: 45; }
.layout-opart .op-strip:nth-child(47) { --k: 46; }
.layout-opart .op-strip:nth-child(48) { --k: 47; }
.layout-opart .op-strip:nth-child(49) { --k: 48; }
.layout-opart .op-strip:nth-child(50) { --k: 49; }
.layout-opart .op-strip:nth-child(51) { --k: 50; }
.layout-opart .op-strip:nth-child(52) { --k: 51; }
.layout-opart .op-strip:nth-child(53) { --k: 52; }
.layout-opart .op-strip:nth-child(54) { --k: 53; }
.layout-opart .op-strip:nth-child(55) { --k: 54; }
.layout-opart .op-strip:nth-child(56) { --k: 55; }
.layout-opart .op-strip:nth-child(57) { --k: 56; }
.layout-opart .op-strip:nth-child(58) { --k: 57; }
.layout-opart .op-strip:nth-child(59) { --k: 58; }
.layout-opart .op-strip:nth-child(60) { --k: 59; }
.layout-opart .op-strip:nth-child(61) { --k: 60; }
.layout-opart .op-strip:nth-child(62) { --k: 61; }
.layout-opart .op-strip:nth-child(63) { --k: 62; }
.layout-opart .op-strip:nth-child(64) { --k: 63; }
.layout-opart .op-strip:nth-child(65) { --k: 64; }
.layout-opart .op-strip:nth-child(66) { --k: 65; }
.layout-opart .op-strip:nth-child(67) { --k: 66; }
.layout-opart .op-strip:nth-child(68) { --k: 67; }
.layout-opart .op-strip:nth-child(69) { --k: 68; }
.layout-opart .op-strip:nth-child(70) { --k: 69; }
.layout-opart .op-strip:nth-child(71) { --k: 70; }
.layout-opart .op-strip:nth-child(72) { --k: 71; }
.layout-clipping.clip-tilt--12 { --clip-tilt: -6.0deg; }
.layout-clipping.clip-tilt--11 { --clip-tilt: -5.5deg; }
.layout-clipping.clip-tilt--10 { --clip-tilt: -5.0deg; }
.layout-clipping.clip-tilt--9 { --clip-tilt: -4.5deg; }
.layout-clipping.clip-tilt--8 { --clip-tilt: -4.0deg; }
.layout-clipping.clip-tilt--7 { --clip-tilt: -3.5deg; }
.layout-clipping.clip-tilt--6 { --clip-tilt: -3.0deg; }
.layout-clipping.clip-tilt--5 { --clip-tilt: -2.5deg; }
.layout-clipping.clip-tilt--4 { --clip-tilt: -2.0deg; }
.layout-clipping.clip-tilt--3 { --clip-tilt: -1.5deg; }
.layout-clipping.clip-tilt--2 { --clip-tilt: -1.0deg; }
.layout-clipping.clip-tilt--1 { --clip-tilt: -0.5deg; }
.layout-clipping.clip-tilt-0 { --clip-tilt: 0.0deg; }
.layout-clipping.clip-tilt-1 { --clip-tilt: 0.5deg; }
.layout-clipping.clip-tilt-2 { --clip-tilt: 1.0deg; }
.layout-clipping.clip-tilt-3 { --clip-tilt: 1.5deg; }
.layout-clipping.clip-tilt-4 { --clip-tilt: 2.0deg; }
.layout-clipping.clip-tilt-5 { --clip-tilt: 2.5deg; }
.layout-clipping.clip-tilt-6 { --clip-tilt: 3.0deg; }
.layout-clipping.clip-tilt-7 { --clip-tilt: 3.5deg; }
.layout-clipping.clip-tilt-8 { --clip-tilt: 4.0deg; }
.layout-clipping.clip-tilt-9 { --clip-tilt: 4.5deg; }
.layout-clipping.clip-tilt-10 { --clip-tilt: 5.0deg; }
.layout-clipping.clip-tilt-11 { --clip-tilt: 5.5deg; }
.layout-clipping.clip-tilt-12 { --clip-tilt: 6.0deg; }
:is(.block-layout, .block-gallery).duotone-0 img { filter: url(#duotone-0); }
.layout-opart.duotone-0 { --op-tone: url(#duotone-0); }
:is(.block-layout, .block-gallery).duotone-1 img { filter: url(#duotone-1); }
.layout-opart.duotone-1 { --op-tone: url(#duotone-1); }
:is(.block-layout, .block-gallery).duotone-2 img { filter: url(#duotone-2); }
.layout-opart.duotone-2 { --op-tone: url(#duotone-2); }
:is(.block-layout, .block-gallery).duotone-3 img { filter: url(#duotone-3); }
.layout-opart.duotone-3 { --op-tone: url(#duotone-3); }
:is(.block-layout, .block-gallery).duotone-4 img { filter: url(#duotone-4); }
.layout-opart.duotone-4 { --op-tone: url(#duotone-4); }
:is(.block-layout, .block-gallery).duotone-5 img { filter: url(#duotone-5); }
.layout-opart.duotone-5 { --op-tone: url(#duotone-5); }
:is(.block-layout, .block-gallery).duotone-6 img { filter: url(#duotone-6); }
.layout-opart.duotone-6 { --op-tone: url(#duotone-6); }
:is(.block-layout, .block-gallery).duotone-7 img { filter: url(#duotone-7); }
.layout-opart.duotone-7 { --op-tone: url(#duotone-7); }
:is(.block-layout, .block-gallery).duotone-8 img { filter: url(#duotone-8); }
.layout-opart.duotone-8 { --op-tone: url(#duotone-8); }
:is(.block-layout, .block-gallery).duotone-9 img { filter: url(#duotone-9); }
.layout-opart.duotone-9 { --op-tone: url(#duotone-9); }
:is(.block-layout, .block-gallery).duotone-10 img { filter: url(#duotone-10); }
.layout-opart.duotone-10 { --op-tone: url(#duotone-10); }
:is(.block-layout, .block-gallery).duotone-11 img { filter: url(#duotone-11); }
.layout-opart.duotone-11 { --op-tone: url(#duotone-11); }
:is(.block-layout, .block-gallery).duotone-12 img { filter: url(#duotone-12); }
.layout-opart.duotone-12 { --op-tone: url(#duotone-12); }
:is(.block-layout, .block-gallery).duotone-13 img { filter: url(#duotone-13); }
.layout-opart.duotone-13 { --op-tone: url(#duotone-13); }
:is(.block-layout, .block-gallery).duotone-14 img { filter: url(#duotone-14); }
.layout-opart.duotone-14 { --op-tone: url(#duotone-14); }
:is(.block-layout, .block-gallery).duotone-15 img { filter: url(#duotone-15); }
.layout-opart.duotone-15 { --op-tone: url(#duotone-15); }
:is(.block-layout, .block-gallery).duotone-16 img { filter: url(#duotone-16); }
.layout-opart.duotone-16 { --op-tone: url(#duotone-16); }
:is(.block-layout, .block-gallery).duotone-17 img { filter: url(#duotone-17); }
.layout-opart.duotone-17 { --op-tone: url(#duotone-17); }
:is(.block-layout, .block-gallery).duotone-18 img { filter: url(#duotone-18); }
.layout-opart.duotone-18 { --op-tone: url(#duotone-18); }
:is(.block-layout, .block-gallery).duotone-19 img { filter: url(#duotone-19); }
.layout-opart.duotone-19 { --op-tone: url(#duotone-19); }
:is(.block-layout, .block-gallery).duotone-20 img { filter: url(#duotone-20); }
.layout-opart.duotone-20 { --op-tone: url(#duotone-20); }
:is(.block-layout, .block-gallery).duotone-21 img { filter: url(#duotone-21); }
.layout-opart.duotone-21 { --op-tone: url(#duotone-21); }
:is(.block-layout, .block-gallery).duotone-22 img { filter: url(#duotone-22); }
.layout-opart.duotone-22 { --op-tone: url(#duotone-22); }
:is(.block-layout, .block-gallery).duotone-23 img { filter: url(#duotone-23); }
.layout-opart.duotone-23 { --op-tone: url(#duotone-23); }
:is(.block-layout, .block-gallery).duotone-24 img { filter: url(#duotone-24); }
.layout-opart.duotone-24 { --op-tone: url(#duotone-24); }
:is(.block-layout, .block-gallery).duotone-25 img { filter: url(#duotone-25); }
.layout-opart.duotone-25 { --op-tone: url(#duotone-25); }
:is(.block-layout, .block-gallery).duotone-26 img { filter: url(#duotone-26); }
.layout-opart.duotone-26 { --op-tone: url(#duotone-26); }
:is(.block-layout, .block-gallery).duotone-27 img { filter: url(#duotone-27); }
.layout-opart.duotone-27 { --op-tone: url(#duotone-27); }
:is(.block-layout, .block-gallery).duotone-28 img { filter: url(#duotone-28); }
.layout-opart.duotone-28 { --op-tone: url(#duotone-28); }
:is(.block-layout, .block-gallery).duotone-29 img { filter: url(#duotone-29); }
.layout-opart.duotone-29 { --op-tone: url(#duotone-29); }
:is(.block-layout, .block-gallery).duotone-30 img { filter: url(#duotone-30); }
.layout-opart.duotone-30 { --op-tone: url(#duotone-30); }
:is(.block-layout, .block-gallery).duotone-31 img { filter: url(#duotone-31); }
.layout-opart.duotone-31 { --op-tone: url(#duotone-31); }
.layout-wrap.wrap-20 { --wrap-k: 0.20; }
.layout-wrap.wrap-25 { --wrap-k: 0.25; }
.layout-wrap.wrap-30 { --wrap-k: 0.30; }
.layout-wrap.wrap-35 { --wrap-k: 0.35; }
.layout-wrap.wrap-40 { --wrap-k: 0.40; }
.layout-wrap.wrap-45 { --wrap-k: 0.45; }
.layout-wrap.wrap-50 { --wrap-k: 0.50; }
.layout-wrap.wrap-55 { --wrap-k: 0.55; }
.layout-wrap.wrap-60 { --wrap-k: 0.60; }
.pile-print.pile-i-0 { --r: -8deg; --x: -6px; --y: -5px; }
.pile-print.pile-i-1 { --r: -5deg; --x: 4px; --y: 2px; }
.pile-print.pile-i-2 { --r: -2deg; --x: 1px; --y: -2px; }
.pile-print.pile-i-3 { --r: 1deg; --x: -2px; --y: 5px; }
.pile-print.pile-i-4 { --r: 4deg; --x: -5px; --y: 1px; }
.pile-print.pile-i-5 { --r: 7deg; --x: 5px; --y: -3px; }
.pile-print.pile-i-6 { --r: -7deg; --x: 2px; --y: 4px; }
.pile-print.pile-i-7 { --r: -4deg; --x: -1px; --y: 0px; }
.pile-print.pile-i-8 { --r: -1deg; --x: -4px; --y: -4px; }
.pile-print.pile-i-9 { --r: 2deg; --x: 6px; --y: 3px; }
.pile-print.pile-i-10 { --r: 5deg; --x: 3px; --y: -1px; }
.pile-print.pile-i-11 { --r: 8deg; --x: 0px; --y: -5px; }
.pile-print.pile-i-12 { --r: -6deg; --x: -3px; --y: 2px; }
.pile-print.pile-i-13 { --r: -3deg; --x: -6px; --y: -2px; }
.pile-print.pile-i-14 { --r: 0deg; --x: 4px; --y: 5px; }
.pile-print.pile-i-15 { --r: 3deg; --x: 1px; --y: 1px; }
.pile-print.pile-i-16 { --r: 6deg; --x: -2px; --y: -3px; }
.pile-print.pile-i-17 { --r: -8deg; --x: -5px; --y: 4px; }
.pile-print.pile-i-18 { --r: -5deg; --x: 5px; --y: 0px; }
.pile-print.pile-i-19 { --r: -2deg; --x: 2px; --y: -4px; }
img.crop.fx-0 { --fx: 0; }
img.crop.fx-1 { --fx: 1; }
img.crop.fx-2 { --fx: 2; }
img.crop.fx-3 { --fx: 3; }
img.crop.fx-4 { --fx: 4; }
img.crop.fx-5 { --fx: 5; }
img.crop.fx-6 { --fx: 6; }
img.crop.fx-7 { --fx: 7; }
img.crop.fx-8 { --fx: 8; }
img.crop.fx-9 { --fx: 9; }
img.crop.fx-10 { --fx: 10; }
img.crop.fx-11 { --fx: 11; }
img.crop.fx-12 { --fx: 12; }
img.crop.fx-13 { --fx: 13; }
img.crop.fx-14 { --fx: 14; }
img.crop.fx-15 { --fx: 15; }
img.crop.fx-16 { --fx: 16; }
img.crop.fx-17 { --fx: 17; }
img.crop.fx-18 { --fx: 18; }
img.crop.fx-19 { --fx: 19; }
img.crop.fx-20 { --fx: 20; }
img.crop.fx-21 { --fx: 21; }
img.crop.fx-22 { --fx: 22; }
img.crop.fx-23 { --fx: 23; }
img.crop.fx-24 { --fx: 24; }
img.crop.fx-25 { --fx: 25; }
img.crop.fx-26 { --fx: 26; }
img.crop.fx-27 { --fx: 27; }
img.crop.fx-28 { --fx: 28; }
img.crop.fx-29 { --fx: 29; }
img.crop.fx-30 { --fx: 30; }
img.crop.fx-31 { --fx: 31; }
img.crop.fx-32 { --fx: 32; }
img.crop.fx-33 { --fx: 33; }
img.crop.fx-34 { --fx: 34; }
img.crop.fx-35 { --fx: 35; }
img.crop.fx-36 { --fx: 36; }
img.crop.fx-37 { --fx: 37; }
img.crop.fx-38 { --fx: 38; }
img.crop.fx-39 { --fx: 39; }
img.crop.fx-40 { --fx: 40; }
img.crop.fx-41 { --fx: 41; }
img.crop.fx-42 { --fx: 42; }
img.crop.fx-43 { --fx: 43; }
img.crop.fx-44 { --fx: 44; }
img.crop.fx-45 { --fx: 45; }
img.crop.fx-46 { --fx: 46; }
img.crop.fx-47 { --fx: 47; }
img.crop.fx-48 { --fx: 48; }
img.crop.fx-49 { --fx: 49; }
img.crop.fx-50 { --fx: 50; }
img.crop.fx-51 { --fx: 51; }
img.crop.fx-52 { --fx: 52; }
img.crop.fx-53 { --fx: 53; }
img.crop.fx-54 { --fx: 54; }
img.crop.fx-55 { --fx: 55; }
img.crop.fx-56 { --fx: 56; }
img.crop.fx-57 { --fx: 57; }
img.crop.fx-58 { --fx: 58; }
img.crop.fx-59 { --fx: 59; }
img.crop.fx-60 { --fx: 60; }
img.crop.fx-61 { --fx: 61; }
img.crop.fx-62 { --fx: 62; }
img.crop.fx-63 { --fx: 63; }
img.crop.fx-64 { --fx: 64; }
img.crop.fx-65 { --fx: 65; }
img.crop.fx-66 { --fx: 66; }
img.crop.fx-67 { --fx: 67; }
img.crop.fx-68 { --fx: 68; }
img.crop.fx-69 { --fx: 69; }
img.crop.fx-70 { --fx: 70; }
img.crop.fx-71 { --fx: 71; }
img.crop.fx-72 { --fx: 72; }
img.crop.fx-73 { --fx: 73; }
img.crop.fx-74 { --fx: 74; }
img.crop.fx-75 { --fx: 75; }
img.crop.fx-76 { --fx: 76; }
img.crop.fx-77 { --fx: 77; }
img.crop.fx-78 { --fx: 78; }
img.crop.fx-79 { --fx: 79; }
img.crop.fx-80 { --fx: 80; }
img.crop.fx-81 { --fx: 81; }
img.crop.fx-82 { --fx: 82; }
img.crop.fx-83 { --fx: 83; }
img.crop.fx-84 { --fx: 84; }
img.crop.fx-85 { --fx: 85; }
img.crop.fx-86 { --fx: 86; }
img.crop.fx-87 { --fx: 87; }
img.crop.fx-88 { --fx: 88; }
img.crop.fx-89 { --fx: 89; }
img.crop.fx-90 { --fx: 90; }
img.crop.fx-91 { --fx: 91; }
img.crop.fx-92 { --fx: 92; }
img.crop.fx-93 { --fx: 93; }
img.crop.fx-94 { --fx: 94; }
img.crop.fx-95 { --fx: 95; }
img.crop.fx-96 { --fx: 96; }
img.crop.fx-97 { --fx: 97; }
img.crop.fx-98 { --fx: 98; }
img.crop.fx-99 { --fx: 99; }
img.crop.fx-100 { --fx: 100; }
img.crop.fy-0 { --fy: 0; }
img.crop.fy-1 { --fy: 1; }
img.crop.fy-2 { --fy: 2; }
img.crop.fy-3 { --fy: 3; }
img.crop.fy-4 { --fy: 4; }
img.crop.fy-5 { --fy: 5; }
img.crop.fy-6 { --fy: 6; }
img.crop.fy-7 { --fy: 7; }
img.crop.fy-8 { --fy: 8; }
img.crop.fy-9 { --fy: 9; }
img.crop.fy-10 { --fy: 10; }
img.crop.fy-11 { --fy: 11; }
img.crop.fy-12 { --fy: 12; }
img.crop.fy-13 { --fy: 13; }
img.crop.fy-14 { --fy: 14; }
img.crop.fy-15 { --fy: 15; }
img.crop.fy-16 { --fy: 16; }
img.crop.fy-17 { --fy: 17; }
img.crop.fy-18 { --fy: 18; }
img.crop.fy-19 { --fy: 19; }
img.crop.fy-20 { --fy: 20; }
img.crop.fy-21 { --fy: 21; }
img.crop.fy-22 { --fy: 22; }
img.crop.fy-23 { --fy: 23; }
img.crop.fy-24 { --fy: 24; }
img.crop.fy-25 { --fy: 25; }
img.crop.fy-26 { --fy: 26; }
img.crop.fy-27 { --fy: 27; }
img.crop.fy-28 { --fy: 28; }
img.crop.fy-29 { --fy: 29; }
img.crop.fy-30 { --fy: 30; }
img.crop.fy-31 { --fy: 31; }
img.crop.fy-32 { --fy: 32; }
img.crop.fy-33 { --fy: 33; }
img.crop.fy-34 { --fy: 34; }
img.crop.fy-35 { --fy: 35; }
img.crop.fy-36 { --fy: 36; }
img.crop.fy-37 { --fy: 37; }
img.crop.fy-38 { --fy: 38; }
img.crop.fy-39 { --fy: 39; }
img.crop.fy-40 { --fy: 40; }
img.crop.fy-41 { --fy: 41; }
img.crop.fy-42 { --fy: 42; }
img.crop.fy-43 { --fy: 43; }
img.crop.fy-44 { --fy: 44; }
img.crop.fy-45 { --fy: 45; }
img.crop.fy-46 { --fy: 46; }
img.crop.fy-47 { --fy: 47; }
img.crop.fy-48 { --fy: 48; }
img.crop.fy-49 { --fy: 49; }
img.crop.fy-50 { --fy: 50; }
img.crop.fy-51 { --fy: 51; }
img.crop.fy-52 { --fy: 52; }
img.crop.fy-53 { --fy: 53; }
img.crop.fy-54 { --fy: 54; }
img.crop.fy-55 { --fy: 55; }
img.crop.fy-56 { --fy: 56; }
img.crop.fy-57 { --fy: 57; }
img.crop.fy-58 { --fy: 58; }
img.crop.fy-59 { --fy: 59; }
img.crop.fy-60 { --fy: 60; }
img.crop.fy-61 { --fy: 61; }
img.crop.fy-62 { --fy: 62; }
img.crop.fy-63 { --fy: 63; }
img.crop.fy-64 { --fy: 64; }
img.crop.fy-65 { --fy: 65; }
img.crop.fy-66 { --fy: 66; }
img.crop.fy-67 { --fy: 67; }
img.crop.fy-68 { --fy: 68; }
img.crop.fy-69 { --fy: 69; }
img.crop.fy-70 { --fy: 70; }
img.crop.fy-71 { --fy: 71; }
img.crop.fy-72 { --fy: 72; }
img.crop.fy-73 { --fy: 73; }
img.crop.fy-74 { --fy: 74; }
img.crop.fy-75 { --fy: 75; }
img.crop.fy-76 { --fy: 76; }
img.crop.fy-77 { --fy: 77; }
img.crop.fy-78 { --fy: 78; }
img.crop.fy-79 { --fy: 79; }
img.crop.fy-80 { --fy: 80; }
img.crop.fy-81 { --fy: 81; }
img.crop.fy-82 { --fy: 82; }
img.crop.fy-83 { --fy: 83; }
img.crop.fy-84 { --fy: 84; }
img.crop.fy-85 { --fy: 85; }
img.crop.fy-86 { --fy: 86; }
img.crop.fy-87 { --fy: 87; }
img.crop.fy-88 { --fy: 88; }
img.crop.fy-89 { --fy: 89; }
img.crop.fy-90 { --fy: 90; }
img.crop.fy-91 { --fy: 91; }
img.crop.fy-92 { --fy: 92; }
img.crop.fy-93 { --fy: 93; }
img.crop.fy-94 { --fy: 94; }
img.crop.fy-95 { --fy: 95; }
img.crop.fy-96 { --fy: 96; }
img.crop.fy-97 { --fy: 97; }
img.crop.fy-98 { --fy: 98; }
img.crop.fy-99 { --fy: 99; }
img.crop.fy-100 { --fy: 100; }
img.crop.zoom-10 { --z: 1.0; }
img.crop.zoom-11 { --z: 1.1; }
img.crop.zoom-12 { --z: 1.2; }
img.crop.zoom-13 { --z: 1.3; }
img.crop.zoom-14 { --z: 1.4; }
img.crop.zoom-15 { --z: 1.5; }
img.crop.zoom-16 { --z: 1.6; }
img.crop.zoom-17 { --z: 1.7; }
img.crop.zoom-18 { --z: 1.8; }
img.crop.zoom-19 { --z: 1.9; }
img.crop.zoom-20 { --z: 2.0; }
img.crop.zoom-21 { --z: 2.1; }
img.crop.zoom-22 { --z: 2.2; }
img.crop.zoom-23 { --z: 2.3; }
img.crop.zoom-24 { --z: 2.4; }
img.crop.zoom-25 { --z: 2.5; }
img.crop.zoom-26 { --z: 2.6; }
img.crop.zoom-27 { --z: 2.7; }
img.crop.zoom-28 { --z: 2.8; }
img.crop.zoom-29 { --z: 2.9; }
img.crop.zoom-30 { --z: 3.0; }
img.crop.zoom-31 { --z: 3.1; }
img.crop.zoom-32 { --z: 3.2; }
img.crop.zoom-33 { --z: 3.3; }
img.crop.zoom-34 { --z: 3.4; }
img.crop.zoom-35 { --z: 3.5; }
img.crop.zoom-36 { --z: 3.6; }
img.crop.zoom-37 { --z: 3.7; }
img.crop.zoom-38 { --z: 3.8; }
img.crop.zoom-39 { --z: 3.9; }
img.crop.zoom-40 { --z: 4.0; }

