/* Round di1 (2026-11-01): the Image to prompt cards' icons as Mimokeep's doodles (gallery, palette, chat
   bubble, marquee) from "Mimo illustration/image (landing page icons)". Original drawings on a 48px grid
   with a 3.4 stroke; the draw-in and the boil follow Oreo Doodle Icons (MIT, (c) 2026 Nicole Tang). Each
   card's icon draws in 150ms after the one before it when the section comes into view, then keeps the
   hand-drawn boil (an feTurbulence seed stepping every 143ms).
   Same day: the four cards became one large card at a time, the sides of a box turned from mini thumbnails,
   and each capture acts out its step. */

.home-main .hp-creation-card > .dd-icon { width: 52px; height: 52px; overflow: visible; }
/* The one card in front can carry more: a 24px title and the longer description at 15px. */
.home-main .dd-slide .hp-creation-card > h3 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; }
.home-main .dd-slide .hp-creation-card > p { font-size: 15px; line-height: 1.6; color: var(--color-ink-2); }
.home-main .dd-icon path { stroke-width: 3.4; }
.home-main .dd-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Hidden only once the script has armed the section, so the icons show without it. */
.home-main .dd-armed .dd-icon path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.home-main .dd-in .dd-icon path {
  animation-name: dd-draw; animation-timing-function: cubic-bezier(.65, .05, .36, 1); animation-fill-mode: both;
}
@keyframes dd-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* One large card at a time, no peek. Wide enough here, the card lays out side by side (icon, title and line
   on the left, the picture on the right) so it doesn't grow very tall.
   The four cards are the four sides of a box, after 21st.dev's Box Carousel (socolled), measured in Chrome:
   each face is turned a quarter more about the vertical axis and pushed out half the box's width, the box is
   pulled back the same amount so the front face sits flat, and picking a step turns the whole box to that
   face. Theirs turns 90° in about 1.25s on a strong ease-in-out (barely moving for 450ms, most of the turn
   between 480 and 650ms, then a long settle). Ours is the same curve, the expo in-out, over 1.1s, and takes
   the short way round. Half the width is 50cqw of the stage, so it holds at every size. */
.home-main .dd-carousel { min-width: 0; }
.home-main .dd-stage { container-type: inline-size; perspective: 2200px; }
.home-main .dd-track {
  display: grid; margin: 0; padding: 0; list-style: none; touch-action: pan-y;
  transform-style: preserve-3d; transform: translateZ(-50cqw) rotateY(var(--turn, 0deg));
  transition: transform 1100ms cubic-bezier(0.87, 0, 0.13, 1);
}
.home-main .dd-slide {
  grid-area: 1 / 1; display: flex; min-width: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 90deg)) translateZ(50cqw);
}
/* Only the face in front is drawn once the box has turned (2026-11-10). On iPhones (WebKit) the far face showed
   through, mirrored, in front of the active one, so the card and its picture were missing: backface-visibility
   did not hide it there. The face being left stays drawn for the 1.1s turn, then goes. */
.home-main .dd-slide { visibility: hidden; transition: visibility 0s linear 1100ms; }
.home-main .dd-slide.is-active { visibility: visible; transition-delay: 0s; }
.home-main .dd-slide > .hp-creation-card { width: 100%; }
@media (min-width: 901px) {
  .home-main .dd-slide > .hp-creation-card {
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); grid-template-rows: auto auto 1fr;
    column-gap: 28px; align-items: start;
  }
  .home-main .dd-slide > .hp-creation-card > :not(.dd-thumb) { grid-column: 1; }
  .home-main .dd-slide > .hp-creation-card > .dd-thumb { grid-column: 2; grid-row: 1 / -1; margin: 0; }
  .home-main .dd-slide > .hp-creation-card > p { min-height: 0; }
}
/* Only the card in front draws its doodle, and it draws again each time it comes round. */
.home-main .dd-icon { --dd-card: 0s !important; }
.home-main .dd-in .dd-slide:not(.is-active) .dd-icon path { animation-name: none; }

/* Thumbnails: the app's own captures, each with a short scene that shows the step being done, after Figma's
   tiles (the camera pushes in on what is being worked while a cursor does it, then eases out). Every scene
   starts and ends on the plain capture. Hover plays it on a loop until the pointer leaves; choosing a step
   from the mini thumbnails plays it once (touch too). Mouse hover only; nothing plays with reduced motion.
   - Details: the view pushes in a little (1.12×, enough to keep labels and values in frame), the cursor
     reads down all five rows with a highlight following it, then the view eases back out.
   - Palette: the colour anatomy panel is hidden from the start; the cursor presses Color anatomy (it presses
     in to 90% and turns pressed), and the panel morphs out of the button: the capture's own panel, clipped
     to the button's pill, grows to the full panel. Then the view pushes in on Pink (1.45×).
   - Prompt: the view pushes in on Copy prompt (1.7×), the cursor presses it, the button presses in and
     reads Copied.
   - Canvas: the view pushes in on Send to canvas (2.4×, framed to leave the Sent note out), the
     button presses in, then the canvas fades up and the photo drops onto it, selected. */
.home-main .dd-thumb { position: relative; width: 100%; margin: 24px 0 0; border-radius: 17px; background: var(--color-canvas); border-color: var(--color-line-control); overflow: hidden; isolation: isolate; }
.home-main .dd-zoom, .home-main .dd-canvas { position: absolute; inset: 0; }
.home-main .dd-zoom > img, .home-main .dd-canvas > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-main .dd-canvas { opacity: 0; }

/* The cursor rides a full-size layer moved in % of the picture, so every target is a plain percentage. 34px,
   up from 22, with its tip on the point. */
.home-main .dd-pointer { position: absolute; inset: 0; z-index: 3; pointer-events: none; transform: translate(var(--px), var(--py)); }
.home-main .dd-cursor {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -4px 0 0 -6px; overflow: visible;
  fill: #121a2a; stroke: #faf9f6; stroke-width: 1.4; stroke-linejoin: round; transform-origin: 6px 4px;
  filter: drop-shadow(0 2px 3px rgb(18 26 42 / 0.3));
}

/* Details: the row highlight, inside the zoom so it stays on its row. Rows sit 12.12% apart. */
.home-main .dd-row-bar { position: absolute; left: 3%; width: 94%; top: 23%; height: 11%; border-radius: 8px; background: rgb(18 26 42 / 0.08); opacity: 0; } /* round pt1: ink 8%, was the accent tint */

/* Palette: a cover in the capture's own canvas colour (sampled, #f6f5ee) hides the anatomy panel (from 54%
   down), and the image view's Color anatomy toggle sits on it, drawn after canvas.css's .anatomy-toggle
   (pressed: accent-soft). The reveal is the same capture, clipped first to the toggle's pill (61–67% down,
   43–57% across) and then to the whole panel, so the panel grows out of the button. With motion allowed the
   card rests with the panel hidden; with reduced motion it rests on the plain capture. */
.home-main .dd-cover { position: absolute; top: 54%; left: 0; right: 0; bottom: 0; background: #f6f5ee; display: none; }
.home-main .dd-reveal {
  position: absolute; inset: 0; display: none;
  background: url(/landing-preview/assets/how/image-palette.webp) 0 0 / 100% 100% no-repeat;
  clip-path: inset(61% 43% 33% 43% round 99px); opacity: 0;
}
.home-main .dd-pill {
  position: absolute; left: 50%; top: 64%; translate: -50% -50%; padding: 6px 12px; border-radius: 99px; white-space: nowrap;
  font: 500 12px/1.3 var(--font-sans); color: #121a2a; background: #faf9f6; box-shadow: inset 0 0 0 1px #808792; display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .home-main .dd-cover, .home-main .dd-reveal, .home-main .dd-pill { display: block; }
}

/* Prompt: the card, centred in the frame, with Copy prompt right under the prompt text and lined up with it.
   The script measures the button's centre into --bx/--by, so the zoom and cursor aim at it at any width.
   Blue, because it is an action. */
.home-main .dd-zoom > .dd-prompt {
  position: absolute; left: 8%; right: 8%; top: 0; bottom: 0; height: fit-content; margin: auto 0; padding: 16px; border-radius: 14px;
  background: var(--color-surface); box-shadow: 0 0 0 1px var(--color-line-strong);
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 12px; align-content: start;
}
.home-main .dd-prompt-thumb { grid-row: span 3; width: 48px; height: 48px; border-radius: 10px; background: url(/landing-preview/assets/how/image-photo.webp) 50% 50% / cover; }
.home-main .hp-creation-card .dd-prompt p { margin: 0; min-height: 0; }
.home-main .dd-prompt-thumb { align-self: start; }
/* Every item pinned to its column: auto-placement put the text under the photo at some widths. The text's
   display is restated here because a page rule turns paragraphs into flow-root, which drops the clamp. */
.home-main .dd-zoom > .dd-prompt > .dd-prompt-thumb { grid-column: 1; grid-row: 1 / span 3; }
.home-main .dd-zoom > .dd-prompt > :not(.dd-prompt-thumb) { grid-column: 2; }
.home-main .dd-zoom > .dd-prompt > .dd-prompt-text { display: -webkit-box; }
.home-main .hp-creation-card .dd-prompt-label { font: 500 11px/1.4 var(--font-sans); color: var(--color-ink-2); }
.home-main .hp-creation-card .dd-prompt-text { font-size: 12px; line-height: 1.5; color: var(--color-ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; max-height: 4.5em; }
.home-main .dd-copy {
  grid-column: 2; justify-self: start; margin-top: 8px; display: grid; padding: 6px 14px; border-radius: 99px;
  font: 500 12px/1.3 var(--font-sans); background: var(--color-ink); color: var(--color-on-ink); white-space: nowrap; /* round pt1: ink, was blue */
}
.home-main .dd-copy > span { grid-area: 1 / 1; text-align: center; }
.home-main .dd-copy-b { opacity: 0; display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.home-main .dd-copy-b svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.home-main .dd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:root[data-theme="dark"] .home-main .dd-copy { background: var(--color-accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .home-main .dd-copy { background: var(--color-accent-ink); } }

/* Canvas: a press face over Send to canvas, cut from the same image to the button's own edges (x 919–1249,
   y 857–940 of the 1280 × 960 capture) and corners (24px: 7.3% across, 29% down), on the panel's colour
   (#f3f6f0), so only the button presses in. It was a square-cornered box a little off the button, and its
   darkening showed as a rectangle. Then the dropped photo on the canvas. */
.home-main .dd-press { position: absolute; left: 71.8%; top: 89.27%; width: 25.78%; height: 8.65%; border-radius: 7.3% / 29%; background: #f3f6f0; }
.home-main .dd-press-face { position: absolute; inset: 0; border-radius: inherit; background: url(/landing-preview/assets/how/image-send.webp) 96.74% 97.72% / 387.9% 1156% no-repeat; }
.home-main .dd-drop {
  position: absolute; left: 38%; top: 30%; width: 24%; aspect-ratio: 1; border-radius: 6px; opacity: 0;
  background: url(/landing-preview/assets/how/image-photo.webp) 50% 50% / cover;
  box-shadow: 0 0 0 2px #3264b7, 0 12px 28px rgb(18 26 42 / 0.28);
}
.home-main .dd-k-details { --px: 86%; --py: 64.9%; }
.home-main .dd-k-details .dd-zoom { transform-origin: 40% 53%; }
@keyframes dd-details-zoom { 0%, 14% { transform: none; } 24%, 76% { transform: scale(1.12); } 90%, 100% { transform: none; } }
@keyframes dd-details-ptr { 0% { transform: translate(86%, 64.9%); } 22%, 30% { transform: translate(91.5%, 25.6%); } 38% { transform: translate(91.5%, 39.2%); } 46% { transform: translate(91.5%, 52.8%); } 54% { transform: translate(91.5%, 66.3%); } 62%, 76% { transform: translate(91.5%, 79.9%); } 90%, 100% { transform: translate(86%, 64.9%); } }
@keyframes dd-details-bar { 0%, 16% { opacity: 0; transform: none; } 22%, 30% { opacity: 1; transform: none; } 38% { opacity: 1; transform: translateY(110.2%); } 46% { opacity: 1; transform: translateY(220.4%); } 54% { opacity: 1; transform: translateY(330.6%); } 62%, 74% { opacity: 1; transform: translateY(440.8%); } 82%, 100% { opacity: 0; transform: translateY(440.8%); } }
.home-main .dd-k-palette { --px: 34.7%; --py: 78%; }
.home-main .dd-k-palette .dd-zoom { transform-origin: 50% 82%; }
@keyframes dd-palette-zoom { 0%, 50% { transform: none; } 62%, 80% { transform: scale(1.45); } 92%, 100% { transform: none; } }
@keyframes dd-palette-ptr { 0% { transform: translate(34.7%, 78%); } 18%, 30% { transform: translate(50%, 64%); } 46%, 50% { transform: translate(34.7%, 78%); } 62%, 80% { transform: translate(27.8%, 76.2%); } 92%, 100% { transform: translate(34.7%, 78%); } }
@keyframes dd-palette-click { 0%, 21% { transform: none; } 23% { transform: scale(0.8); } 26%, 100% { transform: none; } }
@keyframes dd-pill { 0%, 20% { opacity: 1; transform: none; } 23% { opacity: 1; transform: scale(0.9); background: #121a2a; color: #faf9f6; box-shadow: inset 0 2px 4px rgb(0 0 0 / 0.24); } 27%, 29% { opacity: 1; transform: none; background: #121a2a; color: #faf9f6; box-shadow: none; } 34%, 92% { opacity: 0; transform: scale(0.96); } 98%, 100% { opacity: 1; transform: none; } }
@keyframes dd-reveal { 0%, 28% { opacity: 1; clip-path: inset(61% 43% 33% 43% round 99px); } 44%, 90% { opacity: 1; clip-path: inset(54% 0% 0% 0% round 0px); } 96% { opacity: 0; clip-path: inset(54% 0% 0% 0% round 0px); } 100% { opacity: 0; clip-path: inset(61% 43% 33% 43% round 99px); } }
.home-main .dd-k-prompt { --px: 64%; --py: 45%; }
.home-main .dd-k-prompt .dd-zoom { transform-origin: var(--bx, 38%) var(--by, 74%); }
@keyframes dd-prompt-zoom { 0%, 20% { transform: none; } 34%, 70% { transform: scale(1.7); } 84%, 100% { transform: none; } }
@keyframes dd-prompt-ptr { 0% { transform: translate(64%, 45%); } 18%, 84% { transform: translate(var(--bx, 38%), var(--by, 74%)); } 100% { transform: translate(64%, 45%); } }
@keyframes dd-prompt-click { 0%, 40% { transform: none; } 42% { transform: scale(0.8); } 45%, 100% { transform: none; } }
@keyframes dd-copy-press { 0%, 40% { transform: none; } 42% { transform: scale(0.92); } 46%, 100% { transform: none; } }
@keyframes dd-copy-a { 0%, 43% { opacity: 1; } 46%, 94% { opacity: 0; } 98%, 100% { opacity: 1; } }
@keyframes dd-copy-b { 0%, 43% { opacity: 0; } 46%, 94% { opacity: 1; } 98%, 100% { opacity: 0; } }
.home-main .dd-k-canvas { --px: 84.7%; --py: 93.6%; }
/* Canvas frames by translate + scale from the corner: Send to canvas (84.7%, 93.6% of the capture) lands at
   55%, 60% of the frame at 2.4×, which starts the view at x 791 of 1280, clear of the Sent note (ends at 736).
   The strip below the capture shows the panel colour. */
.home-main .dd-k-canvas .dd-zoom { transform-origin: 0 0; }
.home-main .dd-k-canvas { background: #f3f6f0; }
@keyframes dd-canvas-zoom { 0%, 4% { transform: none; opacity: 1; } 22%, 34% { transform: translate(-148.3%, -164.6%) scale(2.4); opacity: 1; } 42% { transform: translate(-148.3%, -164.6%) scale(2.4); opacity: 0; } 43%, 90% { transform: none; opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes dd-canvas-ptr { 0%, 4% { transform: translate(84.7%, 93.6%); } 22%, 34% { transform: translate(55%, 60%); } 44% { transform: translate(62%, 30%); } 58%, 82% { transform: translate(58%, 52%); } 96%, 100% { transform: translate(84.7%, 93.6%); } }
@keyframes dd-canvas-click { 0%, 24% { transform: none; } 26% { transform: scale(0.8); } 29%, 100% { transform: none; } }
@keyframes dd-press-face { 0%, 24% { transform: none; filter: none; } 26% { transform: scale(0.94); filter: brightness(0.93); } 30%, 100% { transform: none; filter: none; } }
@keyframes dd-canvas-in { 0%, 34% { opacity: 0; transform: scale(1.18); } 44% { opacity: 1; } 58%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(1.18); } }
@keyframes dd-drop { 0%, 44% { opacity: 0; transform: translateY(-35%) scale(1.06); } 58%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .home-main .dd-k-details.is-playing .dd-zoom { animation: dd-details-zoom 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-details.is-playing .dd-pointer { animation: dd-details-ptr 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-details.is-playing .dd-row-bar { animation: dd-details-bar 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-palette.is-playing .dd-zoom { animation: dd-palette-zoom 5.4s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-palette.is-playing .dd-pointer { animation: dd-palette-ptr 5.4s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-palette.is-playing .dd-cursor { animation: dd-palette-click 5.4s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-palette.is-playing .dd-pill { animation: dd-pill 5.4s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-palette.is-playing .dd-reveal { animation: dd-reveal 5.4s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-prompt.is-playing .dd-zoom { animation: dd-prompt-zoom 4.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-prompt.is-playing .dd-pointer { animation: dd-prompt-ptr 4.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-prompt.is-playing .dd-cursor { animation: dd-prompt-click 4.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-prompt.is-playing .dd-copy { animation: dd-copy-press 4.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-prompt.is-playing .dd-copy-a { animation: dd-copy-a 4.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-prompt.is-playing .dd-copy-b { animation: dd-copy-b 4.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-canvas.is-playing .dd-zoom { animation: dd-canvas-zoom 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-canvas.is-playing .dd-pointer { animation: dd-canvas-ptr 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-canvas.is-playing .dd-cursor { animation: dd-canvas-click 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-canvas.is-playing .dd-press-face { animation: dd-press-face 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-canvas.is-playing .dd-canvas { animation: dd-canvas-in 5.6s var(--ease-in-out-soft) 1; }
  .home-main .dd-k-canvas.is-playing .dd-drop { animation: dd-drop 5.6s var(--ease-in-out-soft) 1; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-main .dd-k-details:hover .dd-zoom { animation: dd-details-zoom 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-details:hover .dd-pointer { animation: dd-details-ptr 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-details:hover .dd-row-bar { animation: dd-details-bar 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-palette:hover .dd-zoom { animation: dd-palette-zoom 5.4s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-palette:hover .dd-pointer { animation: dd-palette-ptr 5.4s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-palette:hover .dd-cursor { animation: dd-palette-click 5.4s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-palette:hover .dd-pill { animation: dd-pill 5.4s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-palette:hover .dd-reveal { animation: dd-reveal 5.4s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-prompt:hover .dd-zoom { animation: dd-prompt-zoom 4.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-prompt:hover .dd-pointer { animation: dd-prompt-ptr 4.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-prompt:hover .dd-cursor { animation: dd-prompt-click 4.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-prompt:hover .dd-copy { animation: dd-copy-press 4.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-prompt:hover .dd-copy-a { animation: dd-copy-a 4.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-prompt:hover .dd-copy-b { animation: dd-copy-b 4.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-canvas:hover .dd-zoom { animation: dd-canvas-zoom 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-canvas:hover .dd-pointer { animation: dd-canvas-ptr 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-canvas:hover .dd-cursor { animation: dd-canvas-click 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-canvas:hover .dd-press-face { animation: dd-press-face 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-canvas:hover .dd-canvas { animation: dd-canvas-in 5.6s var(--ease-in-out-soft) infinite; }
  .home-main .dd-k-canvas:hover .dd-drop { animation: dd-drop 5.6s var(--ease-in-out-soft) infinite; }
}

/* Four mini thumbnails in place of the arrows: pick a step and its card slides to the front and plays. The
   current one has a 2px ink ring outside a gap in the panel colour. */
.home-main .dd-nav { display: flex; justify-content: center; margin-top: 22px; }
.home-main .dd-minis { display: flex; justify-content: center; gap: 12px; min-width: 0; }

.home-main .dd-mini {
  flex: 0 1 96px; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--color-canvas); box-shadow: inset 0 0 0 1px var(--color-line-strong); transition: transform 140ms var(--ease-out-soft);
}
.home-main .dd-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-main .dd-mini[aria-current="true"] { box-shadow: 0 0 0 2px var(--color-panel-blue), 0 0 0 4px var(--color-ink); }
.home-main .dd-mini:active { transform: scale(0.96); }
.home-main .dd-mini:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }

@media (max-width: 560px) {
  .home-main .dd-thumb { margin-top: 20px; }
  .home-main .dd-zoom > .dd-prompt { padding: 10px; grid-template-columns: 32px 1fr; gap: 2px 8px; }
  .home-main .dd-prompt-thumb { width: 32px; height: 32px; }
  /* Two lines; the max-height backs up the clamp, which another rule here lets overflow at this width. */
  .home-main .hp-creation-card .dd-prompt-text { -webkit-line-clamp: 2; max-height: 3em; font-size: 11px; }
  .home-main .dd-copy, .home-main .dd-pill { padding: 4px 10px; font-size: 11px; }
  .home-main .dd-copy { margin-top: 6px; }
  .home-main .dd-cursor { width: 28px; height: 28px; }
  .home-main .hp-creation-card > .dd-icon { width: 44px; height: 44px; }
  .home-main .dd-slide .hp-creation-card > h3 { font-size: 20px; }
  .home-main .dd-slide .hp-creation-card > p { font-size: 14px; }
  .home-main .dd-minis { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-main .dd-icon g { filter: none; }
  .home-main .dd-armed .dd-icon path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .home-main .dd-track { transition: none; }
  .home-main .dd-slide { transition: none; }
  .home-main .dd-mini { transition: none; }
}
