/* Deft Leopard skin (U17). Contract: drops/skins/README.md. Fonts, SIL OFL 1.1, self-hosted, Latin subset, licences beside the files:
   Bowlby One (display), DM Sans (body, weight 400 to 700), Space Mono Bold (labels). Sources: github.com/google/fonts/tree/main/ofl */

@font-face { font-family: "Bowlby One"; src: url("/skins/deft-leopard/fonts/deft-leopard-bowlby-one.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/skins/deft-leopard/fonts/deft-leopard-dm-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/skins/deft-leopard/fonts/deft-leopard-space-mono-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  /* palette sampled from product-images/ai-generated/deft-leopard/flatlay.png (cobalt-deep and danger are darkened for text) */
  --dl-yellow: #f9e714;
  --dl-ink: #0f0e11;
  --dl-pink: #c20f4b;
  --dl-teal: #0d8ba4;
  --dl-cobalt: #0b7bc9;
  --dl-cobalt-deep: #0a5fa8;
  --dl-lilac: #dea1c4;
  --dl-cream: #fff4d6;
  --dl-danger: #a80c3f;
  --dl-muted: #4a4528;
  --dl-display: "Bowlby One", "Arial Black", Impact, sans-serif;
  --dl-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --dl-mono: "Space Mono", ui-monospace, "Courier New", monospace;
  --dl-drift-dur: 7s;
  /* how far tilted things lean, from the dial's level (toy.js sets --loud on <html>; 3 when no dial has run): calm at 1, the designed
     tilt at 3, about double at 9. Big cards use the soft one. */
  --dl-wonk: calc(0.4 + var(--loud, 3) * 0.2);
  --dl-wonk-soft: calc(0.7 + var(--loud, 3) * 0.1);

  --skin-bg: var(--dl-cream);
  --skin-surface: var(--dl-cream);
  --skin-fg: var(--dl-ink);
  --skin-muted: var(--dl-muted);
  --skin-border: var(--dl-ink);
  --skin-accent: var(--dl-pink);
  --skin-accent-fg: var(--dl-cream);
  --skin-danger: var(--dl-danger);
  --skin-font-display: var(--dl-display);
  --skin-font-body: var(--dl-body);
  --skin-radius: 0;
  --skin-ink: var(--dl-ink);
  --skin-shadow-offset: 5px;
  --skin-slap-duration: 0.45s;
  --skin-slap-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --skin-slap-scale: 1.3;
  --skin-slap-rotate: -4deg;
  --skin-stagger: 45ms;
  --skin-stamp-rotate: -4deg;
}

html { scroll-behavior: smooth; }
body { background: var(--dl-ink); color: var(--dl-ink); font-family: var(--dl-body); font-size: 1.0625rem; line-height: 1.45; }
h1, h2, h3 { font-weight: 400; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--dl-ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--dl-yellow); }

/* ---- the top bar: stays at the top, with the cart button ---- */
.kp-top { position: sticky; top: 0; z-index: 30; max-width: none; background: var(--top-bg, var(--dl-ink)); color: var(--top-fg, var(--dl-yellow)); border-bottom: 0; padding-block: 4px 23px; min-height: 73px; }
.kp-strip { font-family: var(--dl-mono); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; }
.kp-cart-button { background: var(--dl-yellow); color: var(--dl-ink); border: 3px solid var(--dl-cream); font-family: var(--dl-mono); font-weight: 700; text-transform: uppercase; box-shadow: 4px 4px 0 var(--dl-pink); }
.kp-skip { background: var(--dl-yellow); color: var(--dl-ink); border-color: var(--dl-ink); font-family: var(--dl-mono); }

/* ---- colour fields: each section is one flat colour and ends in a thick, rough ink rule ---- */
main { max-width: none; padding: 0; overflow-x: clip; }
.kp-hero, .kp-buy, .kp-section { position: relative; isolation: isolate; margin: 0; padding: 40px 16px 52px; border: 0; border-radius: 0; background-color: var(--dl-cream); }
.kp-hero > *, .kp-buy > *, .kp-section > * { max-width: 40rem; margin-inline: auto; }
/* the rule is a mask, so its colour can follow the level's colour scheme (ink by default) */
.kp-hero::after, .kp-buy::after, .kp-section::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 14px; background: var(--f-rule, var(--dl-ink)); -webkit-mask: url("/skins/deft-leopard/art/deft-leopard-rule-v1.svg") repeat-x bottom / 120px 14px; mask: url("/skins/deft-leopard/art/deft-leopard-rule-v1.svg") repeat-x bottom / 120px 14px; pointer-events: none; }
.kp-hero, .kp-buy { background-color: var(--dl-yellow); }
/* the print texture: every colour field carries paper grain and a faint halftone, so no field is a flat fill. The grain is one small
   inline SVG tile of dark and light specks at 5 percent, so it shows on any colour (the dark specks on yellow, cream, beige and pink, the
   light ones on ink and cobalt). The halftone is two offset dot grids in --dl-tex: ink on a light field, cream on a dark one, and the
   field's own text colour when the dial sets a scheme. Both are background layers of the section (no fixed attachment, no filter on a
   scrolling layer). The cards, the pad and the panels keep their own solid colours, so body text never sits on the dots. */
.kp-hero, .kp-buy, .kp-section {
  --dl-tex-dot: color-mix(in srgb, var(--dl-tex, var(--dl-ink)) 11%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.3' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='9 0 0 0 -4 9 0 0 0 -4 9 0 0 0 -4 0 0 0 0 .05'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E"), radial-gradient(circle at 25% 25%, var(--dl-tex-dot) 1.1px, transparent 1.6px), radial-gradient(circle at 75% 75%, var(--dl-tex-dot) 1.1px, transparent 1.6px);
  background-size: 180px 180px, 9px 9px, 9px 9px;
}
:is(.kp-proof, [data-section="reel"], [data-section="facts"], [data-section="real-dogs"], [data-section="locked"]) { --dl-tex: var(--dl-cream); }

/* the motif: the print's own spots, triangles and arcs, half as many and smaller on a phone. Shapes never sit behind text or
   controls: in the hero they live in a band around the photo only (the stage has clear margins above and below it), and in the
   goods and FAQ sections in a band under the last card. The buy section has none (the pad and the mascot fill it). */
.kp-hero-stage::before, [data-section="goods"]::before, [data-section="faq"]::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: url("/skins/deft-leopard/art/deft-leopard-motif-small-v1.svg") center top / 390px 640px repeat;
  opacity: 0.4;
}
.kp-hero-stage::before { left: -64px; right: -64px; top: 24px; bottom: 0; }
[data-section="goods"]::before, [data-section="faq"]::before { left: 0; right: 0; bottom: 14px; height: 40px; }
@media (min-width: 760px) {
  .kp-hero-stage::before, [data-section="goods"]::before, [data-section="faq"]::before { background-image: url("/skins/deft-leopard/art/deft-leopard-motif-wide-v1.svg"); background-size: 1200px 640px; }
}
@keyframes dl-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-12px, -18px, 0); } }
html.kp-motion .kp-hero[data-inview="true"] .kp-hero-stage::before { animation: dl-drift var(--dl-drift-dur) steps(4) infinite alternate; }

/* ---- display type: sticker lettering, ink outline, hard shadow ---- */
.kp-hero-title, .kp-section h2, .kp-buy h2 { font-family: var(--dl-display); text-transform: uppercase; letter-spacing: 0.01em; -webkit-text-stroke: 4px var(--dl-ink); paint-order: stroke fill; }
/* The title fills the column: "DEFT" is drawn at nearly twice the size of "LEOPARD", each word its own line, letters overlapping like
   stuck-on stickers. The base size is the one at which the longest word fits (so the plain heading, before the letters are split or with
   no script, never overflows); the height is fixed, so nothing below moves when the letters arrive. The motion kit still shrinks it if a
   word would not fit. */
.kp-hero-title { font-size: min(15.8vw, 4.5rem); line-height: 0.98; height: min(38vw, 10.9rem); margin: 0 auto 6px; color: var(--dl-pink); -webkit-text-stroke-width: 5px; }
.kp-hero-title .kp-split, .kp-hero-title .kp-word { display: block; }
.kp-hero-title .kp-word { width: max-content; line-height: 0.84; }
.kp-hero-title .kp-word:first-child { font-size: 1.87em; line-height: 0.8; margin-left: 0.012em; }
.kp-hero-title .kp-word:last-child { margin-top: 0.06em; }
.kp-hero-title .kp-letter { position: relative; margin-inline: -0.022em; }
.kp-hero-title .kp-letter:nth-child(odd) { z-index: 1; }
.kp-section h2, .kp-buy h2 { font-size: clamp(1.9rem, 9.5vw, 3rem); line-height: 1.05; min-height: 1.1em; margin-bottom: 18px; color: var(--dl-pink); -webkit-text-stroke-width: 3px; }
.kp-buy h2 { font-size: clamp(2.5rem, 14vw, 4.4rem); line-height: 1; -webkit-text-stroke-width: 4px; margin-bottom: 24px; }
.kp-buy h2 .kp-letter { text-shadow: 5px 5px 0 var(--dl-ink); }
/* the tilt is the rotate property, so the kit's letter slap (a transform) and the wobble (rotate and translate) can run together */
.kp-letter { text-shadow: 3px 3px 0 var(--dl-ink); rotate: calc(var(--kp-r, 0) * 3deg * var(--dl-wonk)); --dl-hop: calc(var(--kp-r, 0) * (var(--loud, 3) - 1) * 0.9px); translate: 0 var(--dl-hop); }
/* (the title's letters are huge, so they lean and wobble a little less: a letter never swings past the screen's edge) */
.kp-hero-title .kp-letter { text-shadow: 6px 6px 0 var(--dl-ink); --dl-wob: 0.8; rotate: calc(var(--kp-r, 0) * 3deg * var(--dl-wonk)); }
.kp-letter:nth-child(4n+1) { color: var(--dl-pink); }
.kp-letter:nth-child(4n+2) { color: var(--dl-teal); }
.kp-letter:nth-child(4n+3) { color: var(--dl-cobalt); }
.kp-letter:nth-child(4n) { color: var(--dl-cream); }
.kp-hero-title .kp-letter:nth-child(4n+2) { color: var(--dl-cream); }
.kp-hero-title .kp-letter:nth-child(4n) { color: var(--dl-teal); }
[data-section="facts"] .kp-letter:nth-child(4n+1), [data-section="facts"] .kp-letter:nth-child(4n+3) { color: var(--dl-cream); }
[data-section="facts"] .kp-letter:nth-child(4n+2), [data-section="facts"] .kp-letter:nth-child(4n) { color: var(--dl-yellow); }
[data-section="locked"] .kp-letter:nth-child(4n+1) { color: var(--dl-yellow); }
[data-section="locked"] .kp-letter:nth-child(4n+3) { color: var(--dl-pink); }
[data-section="toy"] .kp-letter:nth-child(4n+1), [data-section="real-dogs"] .kp-letter:nth-child(4n+1) { color: var(--dl-yellow); }
[data-section="toy"] .kp-letter:nth-child(4n+3), [data-section="real-dogs"] .kp-letter:nth-child(4n+3) { color: var(--dl-lilac); }
[data-section="toy"] .kp-letter:nth-child(4n+2), [data-section="real-dogs"] .kp-letter:nth-child(4n+2) { color: var(--dl-cream); }
[data-section="toy"] .kp-letter:nth-child(4n), [data-section="real-dogs"] .kp-letter:nth-child(4n) { color: var(--dl-teal); }
[data-section="toy"] h2:not([data-split-done]), [data-section="real-dogs"] h2:not([data-split-done]) { color: var(--dl-yellow); }
[data-section="facts"] h2:not([data-split-done]) { color: var(--dl-cream); }
[data-section="locked"] h2:not([data-split-done]) { color: var(--dl-yellow); }

.kp-section-line, .kp-hero-tagline, .kp-hero-sub { font-family: var(--dl-mono); font-weight: 700; }
.kp-section-line { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em; }

/* ---- hero: one poster that fits the first screen, in this order: the title, the photo, the dial's caption, the dial, the button.
   The line and the count come after the button (the hero is a column and "order" moves them; the reading order in the markup is
   unchanged). Two things touch the photo and neither is on a face, the dog or a shirt: the starburst, which states the price, hangs off
   the top right corner (over the wall and the bolt), and the flat dog shirt hangs off the top left corner (over the mirror ball).
   There is no price tag on the photo and no flat human shirt (the owner's review, 2026-11-12: the tag sat over the eyes on a short
   screen and two flat shirts were too busy). The level digit is not shown in this dial.
   The photo takes whatever height is left on the screen, up to its own full height, so the dial and the primary button are on the first
   screen of a tall phone and a short one alike. --hero-rest is the height of everything else on that screen. ---- */
.kp-hero { color: var(--dl-ink); padding: 12px 16px 34px; display: flex; flex-direction: column; --hero-rest: 450px; }
.kp-hero > * { width: 100%; }
.kp-hero-stage { order: 1; }
.kp-hero-actions { order: 2; }
.kp-hero-tagline { order: 3; font-size: 1.0625rem; line-height: 1.3; margin: 26px auto 4px; }
.kp-hero-sub { order: 4; font-size: 0.8125rem; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em; min-height: 2.6em; margin-block: 0; }
.kp-hero-tagline, .kp-hero-sub, .kp-hero-title { text-align: left; }
.kp-hero > .kp-hero-title, .kp-hero > .kp-hero-tagline, .kp-hero > .kp-hero-sub { max-width: 24rem; }
.kp-hero > .kp-hero-stage { position: relative; width: min(100%, 24rem); margin-block: 10px 0; margin-inline: auto; }
.kp-hero-image { display: block; width: 100%; max-width: none; height: clamp(200px, calc(100vh - var(--hero-rest)), min(446px, (100vw - 32px) * 1.1625)); object-fit: cover; object-position: 50% 42%; margin: 0 auto; border: 6px solid var(--dl-ink); box-shadow: 8px 8px 0 var(--dl-ink); rotate: calc(1deg * var(--dl-wonk-soft)); background: var(--dl-cream); }
@supports (height: 100svh) { .kp-hero-image { height: clamp(200px, calc(100svh - var(--hero-rest)), min(446px, (100vw - 32px) * 1.1625)); } }
.kp-hero-layer { position: absolute; z-index: 2; height: auto; pointer-events: none; }
.kp-hero-layer[data-hero-layer="dog"] { left: -12px; top: -20px; width: 15%; --dl-tilt: -12deg; transform: rotate(var(--dl-tilt)); }
.kp-hero-burst { position: absolute; z-index: 3; margin: 0; display: grid; place-items: center; text-align: center; right: -14px; top: -30px; width: 98px; height: 98px; padding: 2px 20px 0; color: var(--dl-cream); font: 400 0.9rem/1.02 var(--dl-display); rotate: calc(8deg * var(--dl-wonk)); }
/* the star is its own layer under the words, so it can tick round while the words stay level */
.kp-hero-burst::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("/skins/deft-leopard/art/deft-leopard-starburst-v1.svg") center / contain no-repeat; }
.kp-hero > .kp-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; max-width: 24rem; margin: 12px auto 0; }
.kp-hero-actions .kp-button { flex: 1 1 10rem; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; font-size: 1.25rem; text-decoration: none; text-align: center; }

/* the letters of the title land one by one at load: a transform only, so the heading is readable from the first paint */
@keyframes dl-letter-in { from { transform: translateY(-0.5em) scale(1.5) rotate(-14deg); } to { transform: none; } }
html.kp-motion .kp-hero-title .kp-letter { animation: dl-letter-in 0.42s var(--skin-slap-ease) calc(var(--kp-i, 0) * 45ms + 60ms) backwards; }

/* ---- buy: the order pad ---- */
.kp-buy h2 { display: inline-block; max-width: none; margin-inline: max(16px, calc((100% - 40rem) / 2 + 16px)); }
.kp-buy { padding-top: 36px; }
.kp-buy > .kp-pad { width: calc(100% - 20px); }
.kp-size-guide-fix, [data-size-guide-open] { padding-left: 0; }
.kp-pad { position: relative; margin-top: 8px; padding: 26px 16px 18px; background: var(--dl-cream); border: 5px solid var(--dl-ink); box-shadow: 10px 10px 0 var(--dl-ink); transform: rotate(-1.2deg); font-size: 1rem; }
.kp-pad::before { content: ""; position: absolute; top: -17px; left: 50%; width: 96px; height: 26px; margin-left: -48px; background: var(--dl-pink); border: 3px solid var(--dl-ink); transform: rotate(3deg); }
.kp-prices { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 0 10px; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 3px solid var(--dl-ink); }
.kp-price { display: grid; align-content: start; gap: 3px; padding: 0; text-align: center; }
.kp-price dt { font-family: var(--dl-mono); font-weight: 700; text-transform: uppercase; font-size: 0.6875rem; line-height: 1.15; letter-spacing: 0.02em; white-space: nowrap; }
.kp-price dd { font-family: var(--dl-display); font-size: clamp(0.95rem, 4.3vw, 1.2rem); line-height: 1.1; white-space: nowrap; }
.kp-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 14px; gap: 8px; }
.kp-size-group h3 { font-family: var(--dl-mono); font-weight: 700; text-transform: uppercase; font-size: 0.8125rem; letter-spacing: 0.05em; -webkit-text-stroke: 0; }
.kp-size-group { margin-block: 0 8px; }
.kp-size-group h3 { margin-bottom: 6px; }
.kp-size-list { gap: 8px; }
.kp-size, .kp-step { background: var(--dl-cream); color: var(--dl-ink); border: 3px solid var(--dl-ink); font-family: var(--dl-mono); font-weight: 700; min-width: 48px; min-height: 48px; }
.kp-size { padding-inline: 6px; }
.kp-size[aria-pressed="true"] { background: var(--dl-ink); color: var(--dl-yellow); border-color: var(--dl-ink); }
.kp-size[data-soldout="true"] { background: var(--dl-cream); color: var(--dl-danger); text-decoration: line-through; text-decoration-thickness: 3px; border-style: dashed; }
.kp-size-group[data-needs-size="true"] { outline: 4px solid var(--dl-danger); outline-offset: 5px; }
.kp-link-button { color: var(--dl-ink); font-family: var(--dl-mono); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; }
.kp-choice-item { min-height: 52px; padding: 6px 4px; background: var(--dl-cream); border: 3px solid var(--dl-ink); font-family: var(--dl-mono); font-weight: 700; font-size: 0.75rem; line-height: 1.15; text-align: center; text-transform: uppercase; }
.kp-choice-item:has(input:checked) { background: var(--dl-pink); color: var(--dl-cream); border-color: var(--dl-ink); }
.kp-qty-label, .kp-country label { font-family: var(--dl-mono); font-weight: 700; text-transform: uppercase; font-size: 0.8125rem; }
.kp-qty-value { font-family: var(--dl-display); font-size: 1.6rem; min-width: 2.2ch; }
.kp-qty-caption { margin: -2px 0 8px; min-height: 1.5em; font-family: var(--dl-mono); font-weight: 700; font-size: 0.875rem; }
.kp-counter { display: inline-block; margin-bottom: 8px; padding: 2px 8px; background: var(--dl-yellow); font-family: var(--dl-mono); font-size: 0.875rem; text-transform: uppercase; }
.kp-country { margin-bottom: 8px; }
.kp-summary { margin-bottom: 4px; }
.kp-select, .kp-input { border: 3px solid var(--dl-ink); background: var(--dl-cream); color: var(--dl-ink); font-family: var(--dl-body); }
.kp-input:focus, .kp-select:focus { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--dl-ink); outline: none; }
.kp-summary-row dt { font-family: var(--dl-mono); font-weight: 700; text-transform: uppercase; font-size: 0.8125rem; align-self: center; }
.kp-summary-row[data-row="total"] { border-top: 4px solid var(--dl-ink); font-family: var(--dl-display); font-size: 1.15rem; padding-top: 8px; }
.kp-summary-row[data-row="total"] dt { font-family: var(--dl-display); font-size: 1rem; }
.kp-allfinal, .kp-duty, .kp-dispatch { color: var(--dl-ink); }
.kp-allfinal { font-size: 0.9375rem; }
.kp-dispatch { font-family: var(--dl-mono); font-size: 0.875rem; min-height: 0; margin-bottom: 10px; }
.kp-dispatch:empty { display: none; }
.kp-trust { font-family: var(--dl-mono); font-weight: 700; font-size: 0.8125rem; line-height: 1.35; }
.kp-button { background: var(--dl-pink); color: var(--dl-cream); border: 4px solid var(--dl-ink); font-family: var(--dl-display); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 400; }
.kp-add { min-height: 60px; font-size: 1.3rem; margin-top: 6px; }
.kp-beside, .kp-fact-beside, .kp-state-beside { font-family: var(--dl-mono); font-weight: 700; font-size: 0.8125rem; }
.kp-beside { margin: 12px 0 0; }
.kp-message { font-family: var(--dl-mono); font-weight: 700; font-size: 0.875rem; }
.kp-message[data-tone="error"] { color: var(--dl-danger); }
.kp-facts { margin-top: 12px; padding-top: 10px; border-top: 3px solid var(--dl-ink); font-size: 0.875rem; line-height: 1.4; }
.kp-facts p { margin-bottom: 8px; }
.kp-facts p:last-child { margin-bottom: 0; }
.kp-buy[data-just-added="true"] .kp-pad { background: var(--dl-yellow); }

/* sold out and locked: the pad gives way to the state view; the stamp is a rough ink stamp */
main[data-state="soldout"] .kp-pad, main[data-state="locked"] .kp-pad { display: none; }
main[data-state="soldout"] #buy-title { display: none; }
.kp-state-view:not([hidden]) { margin: 6px auto 0; padding: 26px 18px 22px; background: var(--dl-cream); border: 5px solid var(--dl-ink); box-shadow: 10px 10px 0 var(--dl-ink); transform: rotate(-1.2deg); }
.kp-stamp { display: inline-block; margin: 0 0 12px; padding: 14px 26px; border: 0; background: url("/skins/deft-leopard/art/deft-leopard-stamp-v1.svg") center / 100% 100% no-repeat; color: var(--dl-danger); font: 400 clamp(1.5rem, 8vw, 2.3rem)/1 var(--dl-display); letter-spacing: 0.06em; -webkit-text-stroke: 0; transform: rotate(-4deg); }
.kp-stamp[data-stamp="noted"] { background-image: url("/skins/deft-leopard/art/deft-leopard-stamp-noted-v1.svg"); color: #0a5f7a; }
.kp-state-headline { margin: 0 0 6px; font: 400 clamp(2.4rem, 14vw, 3.6rem)/1 var(--dl-display); text-transform: uppercase; color: var(--dl-ink); }
.kp-state-line { font-weight: 700; }
.kp-state-beside { margin-top: 0; }
.kp-signup .kp-label { font-family: var(--dl-mono); font-weight: 700; text-transform: uppercase; font-size: 0.8125rem; }
.kp-signup-consent { color: var(--dl-muted); }

/* ---- marquees: deadpan lines between sections, alternating direction ---- */
.kp-marquee { position: relative; margin: 0; padding: 12px 0; background: var(--dl-ink); color: var(--dl-yellow); border: 0; font-family: var(--dl-mono); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; box-shadow: none; }
.kp-marquee[data-marquee-dir="left"] { background: var(--dl-pink); color: var(--dl-cream); }
.kp-marquee span { padding-inline: 1.2rem; }
.kp-marquee span::after { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-left: 2.4rem; background: currentColor; transform: rotate(45deg); }
.kp-marquee .kp-letter { rotate: none; translate: none; text-shadow: none; }

/* ---- the Loudness section (U18 fills the mount) ---- */
[data-section="toy"] { background-color: var(--dl-cobalt-deep); color: var(--dl-cream); padding-bottom: 44px; scroll-margin-top: 64px; }
/* dial-structure:start (the layout the shared toy script needs; a second skin copies this block and restyles it: drops/skins/README.md) */
.kp-toy { display: grid; gap: 14px; }
.kp-toy-stage { display: flex; align-items: center; gap: 20px; }
.kp-toy-shirt { flex: none; width: 104px; }
.kp-toy-shirt img { display: block; width: 100%; height: auto; transform: rotate(-6deg); transform-origin: 50% 90%; }
.kp-toy-level { display: block; min-width: 2ch; font: 400 clamp(4.5rem, 24vw, 7rem)/0.95 var(--dl-display); color: var(--dl-yellow); -webkit-text-stroke: 4px var(--dl-ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--dl-ink); }
.kp-toy-caption { margin: 0; min-height: 2.8em; font: 700 1.0625rem/1.4 var(--dl-mono); color: var(--dl-cream); }
.kp-toy-note { margin: 4px 0 0; font: 700 0.875rem/1.4 var(--dl-mono); color: var(--dl-cream); }

/* the dial: a track the dachshund stretches along. Tail, stretchy middle and front piece are the body, the head is the thumb. Every
   length follows from --kp-dial-h, the dog's height (toy.js reads the same property), so a mount sets one number. */
.kp-dial { --kp-dial-h: 48px; position: relative; z-index: 1; height: calc(var(--kp-dial-h) + 18px); margin-block: 6px 6px; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; cursor: ew-resize; }
/* the track is a fixed cream strip with an ink edge, at every level: the dog and its face stay readable on any section colour */
.kp-dial-ground { position: absolute; left: 0; right: 5px; top: 20px; bottom: 5px; background: var(--dl-cream); border: 4px solid var(--dl-ink); box-shadow: 5px 5px 0 var(--dl-ink); }
.kp-toy-hint { position: absolute; right: 12px; top: 0; bottom: 0; margin: 0; display: grid; align-content: center; color: var(--dl-ink); font: 700 0.8125rem/1.2 var(--dl-mono); letter-spacing: 0.06em; text-transform: uppercase; pointer-events: none; }
.kp-dial-body { position: absolute; left: 0; top: 4px; height: var(--kp-dial-h); display: flex; pointer-events: none; }
.kp-dial-tail, .kp-dial-front { flex: none; height: var(--kp-dial-h); background-repeat: no-repeat; background-size: 100% 100%; }
.kp-dial-tail { width: calc(var(--kp-dial-h) * 1.125); }
.kp-dial-front { width: calc(var(--kp-dial-h) * 0.6875); }
.kp-dial-mid { flex: none; height: var(--kp-dial-h); background-repeat: repeat-x; background-size: auto var(--kp-dial-h); }
.kp-dial-thumb { position: absolute; left: 0; top: 4px; width: var(--kp-dial-h); height: var(--kp-dial-h); background-repeat: no-repeat; background-size: contain; background-position: center; cursor: grab; touch-action: pan-y; }
.kp-dial-thumb::before { content: ""; position: absolute; inset: -10px -8px; }
.kp-dial-thumb[aria-disabled="true"] { cursor: default; }
.kp-dial-thumb:focus-visible { outline: 3px solid var(--dl-yellow); outline-offset: 3px; box-shadow: none; }

/* the compact dial in the hero: it sits under the photo, never on it. The caption is one strip above the track (two lines high, so a
   long caption never moves the button), the dog runs along the track and the hint lies on the track where the dog will cover it. The
   level digit is not shown here: the dog's length and face show the level. Its height is reserved before the script builds it, so
   nothing below moves. */
.kp-toy-hero { position: relative; z-index: 4; gap: 0; margin-top: 12px; min-height: 114px; }
.kp-toy-hero .kp-toy-caption { height: 44px; min-height: 0; display: grid; align-content: center; padding: 3px 10px; background: var(--dl-ink); color: var(--dl-yellow); border: 3px solid var(--dl-ink); box-shadow: 4px 4px 0 var(--dl-pink); font-size: 0.75rem; line-height: 1.25; rotate: -0.8deg; }
.kp-toy-hero .kp-toy-level { display: none; }
.kp-toy-hero .kp-dial { margin-block: 4px 0; }

/* the meter: the same dog, small, on a cream band along the foot of the top strip, on every section. It takes no input and no tap. */
.kp-toy-meter { position: absolute; left: 0; right: 0; bottom: 0; height: 20px; background: var(--dl-cream); border-top: 3px solid var(--dl-ink); pointer-events: none; overflow: hidden; }
.kp-toy-meter .kp-dial { --kp-dial-h: 20px; height: 20px; margin: 0; cursor: default; touch-action: auto; }
.kp-toy-meter .kp-dial-ground, .kp-toy-meter .kp-toy-hint { display: none; }
.kp-toy-meter .kp-dial-body, .kp-toy-meter .kp-dial-thumb { top: -2px; }
.kp-toy-meter .kp-dial-thumb::before { content: none; }

/* the edge stickers: one fixed layer over the page that takes no tap. Each sticker is large and peeks in from a screen edge by no
   more than the page's own gutter, so it never sits on a line of text, a price, a size or a button. */
.kp-toy-fx { position: fixed; inset: 0; z-index: 15; overflow: hidden; pointer-events: none; }
.kp-toy-sticker { position: absolute; display: none; width: 92px; height: 92px; background: center / contain no-repeat; }
.kp-toy-sticker[data-on="true"] { display: block; }
/* the edge tape: a strip of the print down each side of the screen, inside the page's gutter, wider with every level from 4 */
.kp-toy-fx::before, .kp-toy-fx::after { content: ""; position: absolute; top: -72px; bottom: 0; width: 14px; --dl-tape-w: clamp(0px, calc((var(--loud, 3) - 3) * 3px), var(--dl-tape-max, 12px)); }
.kp-toy-fx::before { left: -14px; translate: var(--dl-tape-w) 0; }
.kp-toy-fx::after { right: -14px; translate: calc(var(--dl-tape-w) * -1) 0; scale: -1 1; }

/* the shout: full screen, never takes a tap */
.kp-toy-shout { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; overflow: hidden; pointer-events: none; text-align: center; font: 400 clamp(3rem, 20vw, 11rem)/1 var(--dl-display); color: var(--dl-yellow); -webkit-text-stroke: 6px var(--dl-ink); paint-order: stroke fill; text-shadow: 8px 8px 0 var(--dl-pink); }
.kp-toy-shout[data-on="true"] { display: grid; animation: dl-shout 1.5s ease-out both; }
@keyframes dl-shout {
  0% { transform: scale(0.2) rotate(-8deg); opacity: 0; }
  14% { transform: scale(1.2) rotate(4deg); opacity: 1; }
  28% { transform: scale(1) rotate(-2deg); opacity: 1; }
  72% { transform: scale(1.06) rotate(1deg); opacity: 1; }
  100% { transform: scale(1.7) rotate(0deg); opacity: 0; }
}
@keyframes dl-pop { 0% { transform: scale(0.6) rotate(-6deg); } 60% { transform: scale(1.25) rotate(3deg); } 100% { transform: scale(1) rotate(0deg); } }
.kp-toy-level.is-pop { animation: dl-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
/* dial-structure:end */

/* the edge stickers' art and places (Deft Leopard): spots, triangles and bolts from the print, eight of them, each on from its own level */
.kp-toy-fx::before, .kp-toy-fx::after { background: url("/skins/deft-leopard/art/deft-leopard-edge-v1.svg") repeat-y 0 0 / 14px 63px var(--dl-tape-c, #ff5fa2); }
html[data-loud-scheme="pink"] { --dl-tape-c: var(--dl-yellow); }
html[data-loud-cut="3"] .kp-toy-fx, html[data-loud-cut="4"] .kp-toy-fx, html[data-loud-cut="5"] .kp-toy-fx, html[data-loud-cut="6"] .kp-toy-fx, html[data-loud-cut="7"] .kp-toy-fx { display: none; }
.kp-toy-sticker { --dl-peek: min(16px, 4.4vw); rotate: calc(var(--dl-spin, 6deg) * var(--dl-wonk)); }
.kp-toy-sticker:nth-child(odd) { left: calc(var(--dl-peek) - 92px); transform-origin: 100% 50%; }
.kp-toy-sticker:nth-child(even) { right: calc(var(--dl-peek) - 92px); transform-origin: 0 50%; }
.kp-toy-sticker:nth-child(3n+1) { background-image: url("/skins/deft-leopard/art/deft-leopard-gallery-spot-v1.svg"); }
.kp-toy-sticker:nth-child(3n+2) { background-image: url("/skins/deft-leopard/art/deft-leopard-gallery-triangle-v1.svg"); --dl-spin: -8deg; }
.kp-toy-sticker:nth-child(3n) { background-image: url("/skins/deft-leopard/art/deft-leopard-gallery-bolt-v1.svg"); --dl-spin: 5deg; }
.kp-toy-sticker:nth-child(1) { top: 63%; }
.kp-toy-sticker:nth-child(2) { top: 31%; }
.kp-toy-sticker:nth-child(3) { top: 22%; }
.kp-toy-sticker:nth-child(4) { top: 72%; }
.kp-toy-sticker:nth-child(5) { top: 78%; width: 110px; height: 110px; left: calc(var(--dl-peek) - 110px); }
.kp-toy-sticker:nth-child(6) { top: 50%; }
.kp-toy-sticker:nth-child(7) { top: 40%; width: 120px; height: 120px; left: calc(var(--dl-peek) - 120px); }
.kp-toy-sticker:nth-child(8) { top: 15%; width: 104px; height: 104px; right: calc(var(--dl-peek) - 104px); }
@keyframes dl-stick { from { transform: scale(2.2) rotate(-30deg); opacity: 0; } to { transform: none; opacity: 1; } }
html.kp-motion .kp-toy-sticker[data-on="true"] { animation: dl-stick 0.36s var(--skin-slap-ease) both; }

/* ==== what the level does (toy.js sets data-loud-* and --loud on <html>; see drops/skins/README.md) ====
   Every moving thing animates transform, rotate, translate or opacity, in stepped time, and only inside a section that is on screen
   (the motion kit sets data-inview). The buy pad, the prices, the size chips, the buttons, the facts card and the legal text never move.
   1 beige and still  2 colour, idle life  3 letters wobble  4 stickers shake, first edge sticker  5 the price tag and tapes swing
   6 motif fast and jittering, everything idle doubles its pace  7 the pictures rock  8 ink and yellow  9 pink and ink  10 the burst */

/* ---- idle life, from level 2: one small loop per section ---- */
@keyframes dl-tick { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes dl-hop { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes dl-nod { 0%, 100% { translate: 0 0; } 50% { translate: 0 2px; } }
@keyframes dl-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
@keyframes dl-trot { 0%, 100% { translate: 0 0; } 25% { translate: -18px -3px; } 50% { translate: -36px 0; } 75% { translate: -18px -3px; } }
@keyframes dl-peel { 0%, 100% { rotate: var(--dl-tape, 3deg); } 50% { rotate: calc(var(--dl-tape, 3deg) + 9deg); } }
@keyframes dl-jiggle { 0%, 84%, 100% { rotate: 0deg; } 88% { rotate: -14deg; } 92% { rotate: 12deg; } 96% { rotate: -6deg; } }
html.kp-motion[data-loud-idle="on"] .kp-hero[data-inview="true"] .kp-hero-burst::before { animation: dl-tick 6.4s steps(16) infinite; }
html.kp-motion[data-loud-idle="on"] .kp-buy[data-inview="true"] .kp-pad::after { animation: dl-trot 2.4s steps(1) infinite; }
html.kp-motion[data-loud-idle="on"] .kp-proof[data-inview="true"] .kp-proof-label { animation: dl-sway 1.8s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="reel"][data-inview="true"] .kp-reel::before { --dl-tape: 4deg; animation: dl-peel 1.6s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="toy"][data-inview="true"] .kp-toy-shirt { animation: dl-sway 1.4s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="gallery"][data-inview="true"] .kp-gallery-item::after { animation: dl-tick 5.6s steps(8) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="goods"][data-inview="true"] .kp-good-art { animation: dl-hop 1.6s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="goods"][data-inview="true"] .kp-good:nth-child(2) .kp-good-art { animation-delay: -0.8s; }
html.kp-motion[data-loud-idle="on"] [data-section="facts"][data-inview="true"] .kp-fact-list::before { --dl-tape: -3deg; animation: dl-peel 1.8s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="real-dogs"][data-inview="true"] li:nth-child(4n+2) { animation: dl-hop 1.2s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="locked"][data-inview="true"] .kp-padlock:not([data-shake]) { animation: dl-jiggle 3.6s steps(1) infinite; animation-delay: calc(var(--dl-n, 0) * -0.6s); }
html.kp-motion [data-section="goods"][data-inview="true"]::before, html.kp-motion [data-section="faq"][data-inview="true"]::before { animation: dl-drift var(--dl-drift-dur) steps(4) infinite alternate; }
html.kp-motion[data-loud-idle="on"] [data-footer][data-inview="true"]::before { animation: dl-hop 1.1s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] .kp-toy-meter .kp-dial-thumb { animation: dl-nod 1s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] .kp-hero[data-inview="true"] .kp-toy-hero .kp-dial-thumb, html.kp-motion[data-loud-idle="on"] [data-section="toy"][data-inview="true"] .kp-dial-thumb { animation: dl-nod 0.8s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] .kp-hero[data-inview="true"] .kp-toy-hint, html.kp-motion[data-loud-idle="on"] [data-section="toy"][data-inview="true"] .kp-toy-hint { animation: dl-hop 1.6s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] [data-section="gallery"][data-inview="true"] .kp-gallery-item:nth-child(2)::before { animation: dl-peel 1.4s steps(2) infinite; }
html.kp-motion[data-loud-idle="on"] .kp-sticky-bar::before { animation: dl-march 3.2s steps(8) infinite; }
.kp-locked-card:nth-child(2) { --dl-n: 1; } .kp-locked-card:nth-child(3) { --dl-n: 2; } .kp-locked-card:nth-child(4) { --dl-n: 3; } .kp-locked-card:nth-child(5) { --dl-n: 4; } .kp-locked-card:nth-child(6) { --dl-n: 5; }

/* ---- from level 3: the display letters wobble, further and faster as the level rises ---- */
@keyframes dl-wobble {
  0%, 100% { rotate: calc(var(--kp-r, 0) * 3deg * var(--dl-wonk)); translate: 0 var(--dl-hop); }
  33% { rotate: calc(var(--kp-r, 0) * 3deg * var(--dl-wonk) + var(--loud, 3) * 1.5deg * var(--dl-wob, 1)); translate: 0 calc(var(--dl-hop) - var(--loud, 3) * 0.6px); }
  66% { rotate: calc(var(--kp-r, 0) * 3deg * var(--dl-wonk) - var(--loud, 3) * 1.5deg * var(--dl-wob, 1)); translate: 0 calc(var(--dl-hop) + var(--loud, 3) * 0.6px); }
}
html.kp-motion[data-loud-wobble="on"] [data-inview="true"] .kp-letter { animation: dl-wobble calc(0.9s - var(--loud, 3) * 0.065s) steps(3) infinite; animation-delay: calc(var(--kp-i, 0) * -90ms); }
html.kp-motion[data-loud-wobble="on"] .kp-hero[data-inview="true"] .kp-hero-title .kp-letter { animation: dl-letter-in 0.42s var(--skin-slap-ease) calc(var(--kp-i, 0) * 45ms + 60ms) backwards, dl-wobble calc(0.9s - var(--loud, 3) * 0.065s) steps(3) calc(var(--kp-i, 0) * -90ms) infinite; }
html.kp-motion[data-loud-wobble="on"] [data-inview="true"] [data-reveal="shown"] .kp-letter { animation: kp-letter-slap var(--skin-slap-duration) var(--skin-slap-ease) calc(var(--kp-i, 0) * var(--skin-stagger)) both, dl-wobble calc(0.9s - var(--loud, 3) * 0.065s) steps(3) calc(var(--kp-i, 0) * -90ms) infinite; }
html.kp-motion[data-loud-wobble="on"] .kp-marquee .kp-letter { animation: none; }

/* ---- from level 4: stickers shake, harder as the level rises ---- */
@keyframes dl-shake {
  0% { translate: 0 0; rotate: 0deg; }
  25% { translate: calc(var(--loud, 4) * -0.4px) calc(var(--loud, 4) * 0.25px); rotate: -1.5deg; }
  50% { translate: calc(var(--loud, 4) * 0.4px) calc(var(--loud, 4) * -0.25px); rotate: 1.5deg; }
  75% { translate: calc(var(--loud, 4) * -0.25px) calc(var(--loud, 4) * -0.4px); rotate: -1deg; }
  100% { translate: 0 0; rotate: 0deg; }
}
html.kp-motion[data-loud-shake="on"] [data-section="toy"][data-inview="true"] .kp-toy-shirt img { animation: dl-shake 0.35s steps(4) infinite; }
html.kp-motion[data-loud-shake="on"] [data-section="goods"][data-inview="true"] .kp-good-art { animation: dl-shake 0.4s steps(4) infinite; }
html.kp-motion[data-loud-shake="on"] [data-section="gallery"][data-inview="true"] .kp-gallery-item::after { animation: dl-shake 0.35s steps(4) infinite; }
html.kp-motion[data-loud-shake="on"] [data-section="locked"][data-inview="true"] .kp-padlock:not([data-shake]) { animation: dl-shake 0.3s steps(4) infinite; }
@keyframes dl-edge { 0%, 100% { translate: 0 0; } 50% { translate: 0 calc(var(--loud, 4) * -1px); } }
html.kp-motion[data-loud-shake="on"] .kp-toy-sticker[data-on="true"] { animation: dl-stick 0.36s var(--skin-slap-ease) both, dl-edge 0.5s steps(2) infinite; }
html.kp-motion[data-loud-shake="on"] .kp-toy-sticker[data-on="true"]:nth-child(even) { animation-delay: 0s, -0.25s; }

/* ---- from level 5: hanging things swing (the price tag from its hole, the tapes, the gallery captions' corners) ---- */
html.kp-motion[data-loud-swing="on"] [data-section="gallery"][data-inview="true"] .kp-gallery-item::before { animation: dl-peel 0.8s steps(2) infinite; }
html.kp-motion[data-loud-swing="on"] .kp-proof[data-inview="true"] .kp-real-dogs li:nth-child(odd), html.kp-motion[data-loud-swing="on"] [data-section="real-dogs"][data-inview="true"] li:nth-child(odd) { animation: dl-hop 0.7s steps(2) infinite; }
html.kp-motion[data-loud-swing="on"] [data-section="faq"][data-inview="true"] .kp-faq-item summary::after { animation: dl-tick 1.6s steps(4) infinite; }
html.kp-motion[data-loud-swing="on"] [data-section="facts"][data-inview="true"] .kp-fact-list::before { animation: dl-peel 0.7s steps(2) infinite; }

/* ---- from level 6: the motif drifts fast and jitters, and the sticky bar's edge marches fast ---- */
@keyframes dl-jitter {
  0% { translate: 0 0; rotate: 0deg; }
  50% { translate: 3px -2px; rotate: 0.6deg; }
  100% { translate: -2px 2px; rotate: -0.6deg; }
}
html[data-loud-drift="fast"] { --dl-drift-dur: 2.2s; }
html.kp-motion[data-loud-jitter="on"] .kp-hero[data-inview="true"] .kp-hero-stage::before { animation: dl-drift var(--dl-drift-dur) steps(4) infinite alternate, dl-jitter 0.22s steps(2) infinite; }
html.kp-motion[data-loud-jitter="on"][data-loud-drift="fast"] [data-section="goods"][data-inview="true"]::before, html.kp-motion[data-loud-jitter="on"][data-loud-drift="fast"] [data-section="faq"][data-inview="true"]::before { animation: dl-drift var(--dl-drift-dur) steps(4) infinite alternate, dl-jitter 0.22s steps(2) infinite; }
@keyframes dl-march { from { transform: translateX(0); } to { transform: translateX(-120px); } }
@keyframes dl-crawl { from { transform: translateY(0); } to { transform: translateY(63px); } }
html.kp-motion[data-loud-drift="fast"] .kp-toy-fx::before, html.kp-motion[data-loud-drift="fast"] .kp-toy-fx::after { animation: dl-crawl calc(2.6s - var(--loud, 6) * 0.2s) steps(7) infinite; }
html.kp-motion[data-loud-drift="fast"] .kp-toy-fx::after { animation-direction: reverse; }
html.kp-motion[data-loud-drift="fast"] .kp-sticky-bar::before { animation: dl-march calc(1.9s - var(--loud, 6) * 0.17s) steps(8) infinite; }
html.kp-motion[data-loud-drift="fast"] [data-footer][data-inview="true"]::before { animation: dl-hop 0.45s steps(2) infinite; }
html.kp-motion[data-loud-drift="fast"] .kp-buy[data-inview="true"] .kp-pad::after { animation: dl-trot 0.9s steps(1) infinite; }
html.kp-motion[data-loud-drift="fast"] .kp-toy-meter .kp-dial-thumb, html.kp-motion[data-loud-drift="fast"] .kp-hero[data-inview="true"] .kp-toy-hero .kp-dial-thumb, html.kp-motion[data-loud-drift="fast"] [data-section="toy"][data-inview="true"] .kp-dial-thumb { animation: dl-nod 0.4s steps(2) infinite; }

/* ---- from level 7: the pictures rock in their frames ---- */
@keyframes dl-rock { 0%, 100% { rotate: calc(var(--dl-rest, 0deg) - 1deg - var(--loud, 7) * 0.22deg); } 50% { rotate: calc(var(--dl-rest, 0deg) + 1deg + var(--loud, 7) * 0.22deg); } }
html.kp-motion[data-loud-rock="on"] .kp-hero[data-inview="true"] .kp-hero-image { --dl-rest: calc(1deg * var(--dl-wonk-soft)); animation: dl-rock 0.72s steps(2) infinite; }
html.kp-motion[data-loud-rock="on"] [data-section="gallery"][data-inview="true"] .kp-gallery-photo { animation: dl-rock 0.72s steps(2) infinite; }
html.kp-motion[data-loud-rock="on"] [data-section="gallery"][data-inview="true"] .kp-gallery-item:nth-child(even) .kp-gallery-photo { animation-delay: -0.36s; }
html.kp-motion[data-loud-rock="on"] [data-section="reel"][data-inview="true"] .kp-reel { --dl-rest: -1.5deg; animation: dl-rock 0.72s steps(2) infinite; }
html.kp-motion[data-loud-rock="on"] :is(.kp-proof, [data-section="real-dogs"])[data-inview="true"] .kp-real-dogs img { animation: dl-rock 0.6s steps(2) infinite; }
html.kp-motion[data-loud-rock="on"] [data-section="locked"][data-inview="true"] .kp-locked-art { animation: dl-rock 0.6s steps(2) infinite; }
html.kp-motion[data-loud-rock="on"] [data-section="toy"][data-inview="true"] .kp-toy-level { animation: dl-rock 0.5s steps(2) infinite; }

/* ---- the panels stay fixed at every level: the buy pad, its state views, the goods cards and the FAQ items keep their own colours ---- */
.kp-pad, .kp-state-view, .kp-good, .kp-faq-item { color: var(--dl-ink); }

/* ---- colour: the section fields flip as one page. Sections alternate between two groups down the page.
   Level 1 (beige): every field is beige with ink text. Level 8 (ink): group A is ink with yellow text, group B yellow with ink text.
   Level 9 (pink): group A is pink with ink text, group B ink with pink text. Every pair is the scheme's own (4.5 to 1 or better; the
   build checks it). The top strip and the sticky bar take the scheme too; the marquees take its accent and run the other way.
   The buy pad, the cards, the facts card, the cart and the footer's legal text keep their own colours. ---- */
html[data-loud-scheme] :is(.kp-hero, .kp-buy, [data-section="reel"], [data-section="gallery"], [data-section="facts"], [data-section="faq"]) { --f-bg: var(--loud-bg); --f-fg: var(--loud-fg); }
html[data-loud-scheme] :is(.kp-proof, [data-section="toy"], [data-section="goods"], [data-section="real-dogs"], [data-section="locked"]) { --f-bg: var(--loud-fg); --f-fg: var(--loud-bg); }
html[data-loud-scheme="beige"] :is(.kp-proof, [data-section="toy"], [data-section="goods"], [data-section="real-dogs"], [data-section="locked"]) { --f-bg: var(--loud-bg); --f-fg: var(--loud-fg); }
html[data-loud-scheme] :is(.kp-hero, .kp-buy, .kp-section) { background-color: var(--f-bg); color: var(--f-fg); --f-rule: var(--loud-accent); --dl-tex: var(--f-fg); }
html[data-loud-scheme] :is(.kp-hero, .kp-buy, .kp-section) > :is(h1, h2), html[data-loud-scheme] :is(.kp-hero, .kp-buy, .kp-section) > :is(h1, h2) .kp-letter { color: var(--f-fg); -webkit-text-stroke-color: var(--f-bg); }
html[data-loud-scheme] :is(.kp-hero, .kp-buy, .kp-section) > :is(h1, h2) .kp-letter { text-shadow: 4px 4px 0 var(--loud-accent); }
html[data-loud-scheme] :is(.kp-hero, .kp-buy, .kp-section) > :is(.kp-section-line, .kp-hero-tagline, .kp-hero-sub, .kp-proof-label), html[data-loud-scheme] [data-section="toy"] :is(.kp-toy-caption, .kp-toy-note) { color: var(--f-fg); }
html[data-loud-scheme] .kp-proof-label, html[data-loud-scheme] [data-section="toy"] .kp-toy-level { color: var(--f-fg); -webkit-text-stroke-color: var(--f-bg); text-shadow: 4px 4px 0 var(--loud-accent); }
html[data-loud-scheme] .kp-hero-stage::before { opacity: 0.8; }
html[data-loud-scheme] .kp-hero .kp-button { box-shadow: var(--skin-shadow-offset) var(--skin-shadow-offset) 0 0 var(--loud-accent); }
html[data-loud-scheme] .kp-hero-image { box-shadow: 8px 8px 0 var(--loud-accent); }
html[data-loud-scheme] .kp-dial-ground { box-shadow: 5px 5px 0 var(--loud-accent); }
html[data-loud-scheme] .kp-marquee { background: var(--loud-accent); color: var(--dl-ink); }
html.kp-motion[data-loud-scheme]:not([data-loud-scheme="beige"]) [data-marquee-dir="left"] .kp-marquee-track { animation-direction: reverse; }
html.kp-motion[data-loud-scheme]:not([data-loud-scheme="beige"]) [data-marquee-dir="right"] .kp-marquee-track { animation-direction: normal; }
html[data-loud-scheme="beige"] { --top-bg: var(--loud-bg); --top-fg: var(--loud-fg); --top-line: var(--loud-fg); }
html[data-loud-scheme="ink"] { --top-bg: var(--loud-fg); --top-fg: var(--loud-bg); --top-line: var(--loud-accent); }
html[data-loud-scheme="pink"] { --top-bg: var(--loud-bg); --top-fg: var(--loud-fg); --top-line: var(--loud-accent); }
html[data-loud-scheme]:not([data-loud-scheme="beige"]) .kp-cart-button { border-color: var(--dl-ink); }

/* ---- the reel: one film in a thick-framed sticker on pink, taped on at the top ---- */
[data-section="reel"] { background-color: var(--dl-pink); color: var(--dl-cream); padding-bottom: 60px; }
[data-section="reel"] .kp-section-line { margin: 0 0 8px; color: var(--dl-cream); }
[data-section="reel"] .kp-letter:nth-child(4n+1) { color: var(--dl-yellow); }
[data-section="reel"] .kp-letter:nth-child(4n+3) { color: var(--dl-lilac); }
[data-section="reel"] .kp-letter:nth-child(4n+2), [data-section="reel"] .kp-letter:nth-child(4n) { color: var(--dl-cream); }
[data-section="reel"] h2:not([data-split-done]) { color: var(--dl-cream); }
/* the frame is a spread shadow, not a border, so the slot itself is exactly 9 by 16 */
.kp-section > .kp-reel { overflow: visible; width: calc(100% - 12px); max-width: calc(21rem - 12px); margin-top: 62px; background: var(--dl-ink); box-shadow: 0 0 0 6px var(--f-frame, var(--dl-ink)), 16px 16px 0 6px var(--f-frame, var(--dl-ink)); rotate: -1.5deg; }
.kp-reel::before { content: ""; position: absolute; z-index: 3; top: -36px; left: 50%; width: 96px; height: 26px; margin-left: -48px; background: var(--dl-yellow); border: 3px solid var(--dl-ink); rotate: 4deg; pointer-events: none; }
.kp-reel-toggle, .kp-reel-sound { min-width: 60px; min-height: 60px; background: var(--dl-yellow); color: var(--dl-ink); border: 4px solid var(--dl-ink); box-shadow: 4px 4px 0 var(--dl-ink); }
.kp-reel-toggle:active, .kp-reel-sound:active { transform: translate(4px, 4px); box-shadow: none; }
.kp-reel[data-state="error"] { background: var(--dl-cream); }

/* ---- the look: one row of sticker photos that the buyer swipes sideways (the owner's call, 2026-11-12; it replaces the two-column
   pile). The row is a native scroller with scroll snap, no script and no auto-movement; it bleeds to the screen edges and the next
   picture always peeks in from the right. Every picture has its own shape, size and tilt, in the family of the "Not yet" cards (thick ink
   edge, hard offset shadow, a rough cut): arch, polaroid, circle, rough cut, leaf, rounded square, ticket, drop. No two neighbours share
   a shape. Each crop (object-position) keeps the faces, the dog and the shirt in the frame. Tilts use the rotate property, so the
   motion kit's slap (which uses transform) still works on each picture. ---- */
[data-section="gallery"] { background-color: var(--dl-yellow); padding-bottom: 56px; --dl-gal-shadow: var(--dl-pink); }
html[data-loud-scheme] [data-section="gallery"] { --dl-gal-shadow: var(--loud-accent); }
/* the browser draws the row only when it is about to be reached, so no picture is fetched on the first load (a lazy image alone is still
   fetched when it is within a few screens, which on a tall phone page is the first one). The size it holds until then is close to its real height. */
[data-section="gallery"] { content-visibility: auto; contain-intrinsic-size: auto 760px; }
[data-section="gallery"] .kp-section-line { margin: 0 0 6px; }
.kp-section > .kp-gallery { max-width: none; margin-inline: -16px; }
.kp-gallery { list-style: none; padding: 26px 22px 72px; display: flex; align-items: center; gap: 30px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: 22px; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--f-fg, var(--dl-ink)) transparent; }
.kp-gallery:focus-visible { outline-offset: -6px; box-shadow: none; }
.kp-gallery-item { position: relative; flex: none; width: var(--dl-w); margin: var(--dl-y, 0px) 0 0; scroll-snap-align: start; rotate: calc(var(--dl-tilt, 0deg) * var(--dl-wonk-soft)); }
.kp-gallery-photo { position: relative; isolation: isolate; margin: 0; box-shadow: none; }
.kp-gallery-img { display: block; width: 100%; height: auto; aspect-ratio: var(--dl-ar, 9 / 16); object-fit: cover; object-position: 50% var(--dl-pos, 50%); background: var(--dl-ink); border: 4px solid var(--dl-ink); border-radius: var(--dl-shape, 0); box-shadow: 7px 7px 0 var(--dl-gal-shadow); }
.kp-gallery-caption { position: absolute; z-index: 2; left: 4px; top: calc(100% - 22px); width: max-content; max-width: 100%; padding: 5px 8px 4px; border: 3px solid var(--dl-ink); background: var(--dl-ink); color: var(--dl-yellow); font: 700 0.75rem/1.25 var(--dl-mono); letter-spacing: 0.03em; text-transform: uppercase; rotate: -2deg; }
.kp-gallery-item:nth-child(3n+2) .kp-gallery-caption { background: var(--dl-cream); color: var(--dl-ink); rotate: 1.5deg; }
.kp-gallery-item:nth-child(3n) .kp-gallery-caption { background: var(--dl-pink); color: var(--dl-cream); rotate: -1deg; }
/* 1 the leopard statue: a tall arch */
.kp-gallery-item:nth-child(1) { --dl-w: min(58vw, 290px); --dl-tilt: -3deg; --dl-ar: 9 / 14; --dl-pos: 20%; --dl-shape: 50% 50% 14px 14px / 30% 30% 14px 14px; }
/* 2 the flamingo: a polaroid, the whole portrait (the dog is at the top, the shirt at the foot), the caption written on its lip */
.kp-gallery-item:nth-child(2) { --dl-w: min(47vw, 235px); --dl-tilt: 4deg; --dl-y: 18px; }
.kp-gallery-item:nth-child(2) .kp-gallery-photo { padding: 7px 7px 0; background: var(--dl-cream); border: 4px solid var(--dl-ink); box-shadow: 7px 7px 0 var(--dl-gal-shadow); }
.kp-gallery-item:nth-child(2) .kp-gallery-img { border-width: 3px; box-shadow: none; }
.kp-gallery-item:nth-child(2) .kp-gallery-caption { position: static; width: auto; min-height: 3.6em; padding: 7px 2px 8px; border: 0; background: none; color: var(--dl-ink); rotate: none; }
/* 3 the rooftop: a circle around the two faces */
.kp-gallery-item:nth-child(3) { --dl-w: min(62vw, 310px); --dl-tilt: -2deg; --dl-y: -26px; --dl-ar: 1; --dl-pos: 18%; --dl-shape: 50%; }
.kp-gallery-item:nth-child(3) .kp-gallery-caption { left: 10%; max-width: 84%; top: calc(100% - 30px); }
/* 4 the cradle: the rough cut of the "Not yet" cards */
.kp-gallery-item:nth-child(4) { --dl-w: min(54vw, 270px); --dl-tilt: 3deg; --dl-y: 14px; --dl-ar: 4 / 5; --dl-pos: 8%; --dl-cut: polygon(0 4%, 12% 0, 30% 5%, 52% 0, 74% 4%, 100% 0, 96% 30%, 100% 56%, 95% 80%, 100% 100%, 70% 96%, 48% 100%, 24% 95%, 0 100%, 4% 70%, 0 40%); }
/* 5 the purple light: a tall leaf (two round corners) */
.kp-gallery-item:nth-child(5) { --dl-w: min(46vw, 230px); --dl-tilt: -4deg; --dl-y: -10px; --dl-ar: 9 / 15; --dl-pos: 40%; --dl-shape: 72px 12px 72px 12px; }
/* 6 the barbecue: a rounded square */
.kp-gallery-item:nth-child(6) { --dl-w: min(56vw, 280px); --dl-tilt: 5deg; --dl-y: 22px; --dl-ar: 1; --dl-pos: 20%; --dl-shape: 22%; }
/* 7 the neon sign: a ticket with cut corners */
.kp-gallery-item:nth-child(7) { --dl-w: min(52vw, 260px); --dl-tilt: -3.5deg; --dl-y: -14px; --dl-ar: 5 / 6; --dl-pos: 14%; --dl-cut: polygon(11% 0, 89% 0, 100% 9%, 100% 91%, 89% 100%, 11% 100%, 0 91%, 0 9%); }
/* 8 the rainbow: a drop, square at the top (the dog is up there) and round at the foot */
.kp-gallery-item:nth-child(8) { --dl-w: min(50vw, 250px); --dl-tilt: 2.5deg; --dl-ar: 9 / 16; --dl-shape: 12px 12px 50% 50% / 12px 12px 32% 32%; }
/* a cut shape cannot carry a border or a shadow of its own: the ink edge and the hard shadow are two more copies of the cut behind it */
.kp-gallery-item:is(:nth-child(4), :nth-child(7)) .kp-gallery-img { border: 0; box-shadow: none; clip-path: var(--dl-cut); }
.kp-gallery-item:is(:nth-child(4), :nth-child(7)) .kp-gallery-photo::before, .kp-gallery-item:is(:nth-child(4), :nth-child(7)) .kp-gallery-photo::after { content: ""; position: absolute; z-index: -1; inset: -5px; background: var(--dl-ink); clip-path: var(--dl-cut); pointer-events: none; }
.kp-gallery-item:is(:nth-child(4), :nth-child(7)) .kp-gallery-photo::after { z-index: -2; background: var(--dl-gal-shadow); translate: 8px 8px; }
/* tape on the polaroid and the rounded square, a motif shape behind the arch, the leaf and the drop */
.kp-gallery-item:is(:nth-child(2), :nth-child(6))::before { content: ""; position: absolute; z-index: 3; top: -13px; left: 50%; width: 80px; height: 24px; margin-left: -40px; background: var(--dl-teal); border: 3px solid var(--dl-ink); rotate: var(--dl-tape, -5deg); transform-origin: 0 50%; pointer-events: none; }
.kp-gallery-item:nth-child(6)::before { background: var(--dl-lilac); --dl-tape: 6deg; }
.kp-gallery-item:is(:nth-child(1), :nth-child(5), :nth-child(8))::after { content: ""; position: absolute; z-index: -1; width: 60px; height: 60px; background: center / contain no-repeat; pointer-events: none; }
.kp-gallery-item:nth-child(1)::after { background-image: url("/skins/deft-leopard/art/deft-leopard-gallery-triangle-v1.svg"); right: -24px; top: 4%; rotate: 14deg; }
.kp-gallery-item:nth-child(5)::after { background-image: url("/skins/deft-leopard/art/deft-leopard-gallery-spot-v1.svg"); right: -22px; top: -4%; rotate: -10deg; }
.kp-gallery-item:nth-child(8)::after { background-image: url("/skins/deft-leopard/art/deft-leopard-gallery-bolt-v1.svg"); left: -24px; bottom: 6%; rotate: 8deg; }
.kp-gallery-note { display: block; width: fit-content; max-width: 100%; margin: 14px auto 0; padding: 10px 14px; background: var(--dl-ink); color: var(--dl-yellow); border: 4px solid var(--dl-ink); box-shadow: 5px 5px 0 var(--dl-pink); font: 700 0.875rem/1.35 var(--dl-mono); text-transform: uppercase; letter-spacing: 0.03em; rotate: -1.5deg; }

/* ---- the goods: three sticker cards ---- */
[data-section="goods"] { background-color: var(--dl-cream); }
.kp-goods { display: grid; gap: 28px; padding: 6px 4px 6px 0; }
.kp-good { padding: 16px 16px 18px; border: 5px solid var(--dl-ink); background: var(--dl-yellow); text-align: center; display: grid; justify-items: center; gap: 4px; }
.kp-good[data-good="human"] { background: var(--dl-lilac); }
.kp-good[data-good="dog"] { background: var(--dl-teal); }
.kp-good:nth-child(odd) { rotate: calc(-1.5deg * var(--dl-wonk-soft)); }
.kp-good:nth-child(even) { rotate: calc(1.5deg * var(--dl-wonk-soft)); }
.kp-good-art { width: auto; max-width: 100%; height: 150px; image-rendering: auto; object-fit: contain; margin-bottom: 4px; }
.kp-good h3 { font-family: var(--dl-display); font-size: 1.5rem; text-transform: uppercase; margin: 0; }
.kp-good p { margin: 0; font-family: var(--dl-mono); font-weight: 700; font-size: 0.9rem; }
.kp-good-price { font-family: var(--dl-display) !important; font-size: 1.3rem !important; background: var(--dl-cream); border: 3px solid var(--dl-ink); padding: 2px 12px; margin-block: 6px 8px !important; }
.kp-good-pick { width: 100%; min-height: 52px; }

/* ---- the facts: a skewed card, the fact in highlighter, the joke apart ---- */
[data-section="facts"] { background-color: var(--dl-pink); color: var(--dl-cream); }
.kp-fact-list::before { content: ""; position: absolute; z-index: 1; top: -17px; left: 22%; width: 96px; height: 26px; background: var(--dl-teal); border: 3px solid var(--dl-ink); rotate: -3deg; transform-origin: 0 50%; }
.kp-fact-list { list-style: none; position: relative; margin-block: 8px 0; padding: 26px 18px 14px; color: var(--dl-ink); background: var(--dl-cream); border: 5px solid var(--dl-ink); box-shadow: 10px 10px 0 var(--dl-ink); transform: skewY(-1.8deg); }
.kp-fact-list > li { transform: skewY(1.8deg); }
.kp-fact { margin: 0 0 18px; }
.kp-fact:nth-child(odd) { transform: skewY(1.8deg) rotate(-0.6deg); }
.kp-fact:nth-child(even) { transform: skewY(1.8deg) rotate(0.6deg); }
.kp-fact-line { margin: 0 0 6px; font-weight: 700; font-size: 1.0625rem; line-height: 1.75; }
.kp-fact-line { background: var(--dl-yellow); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 3px 8px; display: inline; }
.kp-fact-beside { margin: 6px 0 0; color: var(--dl-muted); }

/* ---- real dogs: tilted polaroids ---- */
[data-section="real-dogs"] { background-color: var(--dl-cobalt-deep); color: var(--dl-cream); }
.kp-real-dogs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px; padding: 6px 6px 10px; }
.kp-real-dogs li { position: relative; max-width: none; padding: 8px 8px 34px; background: var(--dl-cream); border: 3px solid var(--dl-ink); box-shadow: 6px 6px 0 var(--dl-ink); }
.kp-polaroid-line { position: absolute; left: 6px; right: 6px; bottom: 8px; margin: 0; text-align: center; color: var(--dl-ink); font: 700 0.6875rem/1.2 var(--dl-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.kp-real-dogs li:nth-child(4n+1) { rotate: calc(-3deg * var(--dl-wonk-soft)); }
.kp-real-dogs li:nth-child(4n+2) { rotate: calc(2deg * var(--dl-wonk-soft)); }
.kp-real-dogs li:nth-child(4n+3) { rotate: calc(-1.5deg * var(--dl-wonk-soft)); }
.kp-real-dogs li:nth-child(4n) { rotate: calc(3deg * var(--dl-wonk-soft)); }
.kp-real-dogs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* the proof strip: the first customer photos, directly under the buy pad */
.kp-proof { background-color: var(--dl-cobalt-deep); color: var(--dl-cream); padding-top: 34px; padding-bottom: 46px; }
.kp-proof-label { margin: 0 0 16px; font: 400 clamp(1.3rem, 6.5vw, 1.8rem)/1 var(--dl-display); text-transform: uppercase; color: var(--dl-yellow); -webkit-text-stroke: 3px var(--dl-ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--dl-ink); rotate: -2deg; width: fit-content; }
.kp-proof-list { gap: 18px 14px; padding: 4px 6px 6px; }
.kp-proof-list img { aspect-ratio: 1 / 1; object-position: 50% 35%; }

/* ---- locked drops ---- */
[data-section="locked"] { background-color: var(--dl-ink); color: var(--dl-cream); }
.kp-locked { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; padding: 4px 6px 8px 0; }
.kp-locked-card { position: relative; flex: none; padding: 10px 10px 12px; background: var(--dl-cream); color: var(--dl-ink); border: 4px solid var(--dl-ink); box-shadow: 6px 6px 0 var(--dl-pink); }
.kp-locked-card:nth-child(odd) { rotate: calc(-1.2deg * var(--dl-wonk-soft)); }
.kp-locked-card:nth-child(even) { rotate: calc(1.2deg * var(--dl-wonk-soft)); }
.kp-locked-art { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 8px; border: 3px solid var(--dl-ink); clip-path: polygon(0 4%, 12% 0, 30% 5%, 52% 0, 74% 4%, 100% 0, 96% 30%, 100% 56%, 95% 80%, 100% 100%, 70% 96%, 48% 100%, 24% 95%, 0 100%, 4% 70%, 0 40%); }
.kp-padlock { position: absolute; z-index: 2; top: 4px; right: 4px; width: 46px; height: 54px; background: url("/skins/deft-leopard/art/deft-leopard-padlock-v1.svg") center / contain no-repeat; cursor: pointer; transform: rotate(8deg); }
@keyframes dl-rattle { 0%, 100% { transform: rotate(8deg); } 15% { transform: rotate(-16deg); } 30% { transform: rotate(20deg); } 45% { transform: rotate(-12deg); } 60% { transform: rotate(14deg); } 80% { transform: rotate(0deg); } }
html.kp-motion .kp-padlock[data-shake="true"] { animation: dl-rattle 0.5s linear both; transform-origin: 50% 20%; }
.kp-locked-name { font-family: var(--dl-display); text-transform: uppercase; font-size: 1.05rem; margin-bottom: 6px; }
.kp-locked-line { margin: 0 0 10px; font: 700 0.75rem/1.3 var(--dl-mono); }
.kp-locked-card .kp-button { width: 100%; font-size: 0.8125rem; line-height: 1.15; padding: 8px 6px; }
.kp-locked-card .kp-stamp { font-size: 1.1rem; padding: 10px 16px; }
.kp-locked-card .kp-signup { max-width: none; }

/* ---- FAQ ---- */
[data-section="faq"] { background-color: var(--dl-cream); padding-bottom: 60px; }
.kp-faq-item:nth-of-type(odd) { rotate: calc(-0.35deg * var(--dl-wonk)); }
.kp-faq-item:nth-of-type(even) { rotate: calc(0.35deg * var(--dl-wonk)); }
.kp-faq-item { margin-bottom: 14px; border: 4px solid var(--dl-ink); background: var(--dl-cream); box-shadow: 5px 5px 0 var(--dl-ink); padding: 0 14px; }
.kp-faq-item[open] { background: var(--dl-yellow); }
.kp-faq-item summary { list-style: none; min-height: 52px; padding-block: 8px; font-family: var(--dl-mono); font-weight: 700; font-size: 0.9375rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kp-faq-item summary::-webkit-details-marker { display: none; }
.kp-faq-item summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: var(--dl-ink); color: var(--dl-yellow); font-size: 1.3rem; line-height: 1; }
.kp-faq-item[open] summary::after { content: "-"; }
.kp-faq-item p { margin: 0 0 14px; }

/* ---- the mascot walks along the bottom of the buy section ---- */
.kp-buy { padding-bottom: 96px; }
.kp-buy > :last-child { margin-bottom: 0; }
.kp-buy::after { z-index: 2; }
.kp-buy .kp-pad::after { content: ""; position: absolute; z-index: -1; right: 6px; bottom: -70px; width: 190px; height: 72px; background: url("/skins/deft-leopard/art/deft-leopard-mascot-v1.svg") center / contain no-repeat; }
main[data-state="soldout"] .kp-buy, main[data-state="locked"] .kp-buy { padding-bottom: 52px; }

/* ---- return view, cart, size guide, sticky bar, footer ---- */
.kp-return { margin: 0; padding: 32px 16px 18px; background: var(--dl-yellow); color: var(--dl-ink); border: 0; border-bottom: 6px solid var(--dl-ink); }
.kp-return[data-kind="notcompleted"], .kp-return[data-kind="refunded"], .kp-return[data-kind="notfound"] { background: var(--dl-cream); }
.kp-return > * { max-width: 40rem; margin-inline: auto; }
.kp-return-main { font-family: var(--dl-display); }
.kp-scrim { background: rgba(15, 14, 17, 0.7); }
.kp-cart, .kp-modal { background: var(--dl-cream); color: var(--dl-ink); border: 0; border-left: 6px solid var(--dl-ink); box-shadow: -8px 0 0 var(--dl-pink); }
.kp-modal { border: 6px solid var(--dl-ink); box-shadow: 10px 10px 0 var(--dl-pink); }
.kp-panel-head h2 { font-family: var(--dl-display); text-transform: uppercase; font-size: 1.6rem; -webkit-text-stroke: 0; }
.kp-cart-line { border-bottom: 3px dashed var(--dl-ink); }
.kp-cart-line[data-has-art] { gap: 6px 12px; }
.kp-cart-note { font: 700 0.875rem/1.35 var(--dl-mono); }
.kp-cart::after { content: ""; display: block; height: 84px; margin-top: 28px; background: url("/skins/deft-leopard/art/deft-leopard-mascot-v1.svg") center / contain no-repeat; }
.kp-line-meta { color: var(--dl-muted); font-size: 0.9375rem; }
.kp-line-price { font-family: var(--dl-display); }
.kp-table th, .kp-table td { border-bottom: 2px solid var(--dl-ink); }
.kp-sticky-bar { background: var(--top-bg, var(--dl-ink)); border-top: 0; z-index: 25; }
/* the bar's top edge is the page's rough rule, in the strip's line colour; it marches sideways, faster as the level rises. It takes no tap. */
.kp-sticky-bar::before { content: ""; position: absolute; left: 0; bottom: calc(100% - 1px); width: calc(100% + 120px); height: 12px; background: var(--top-line, var(--dl-yellow)); -webkit-mask: url("/skins/deft-leopard/art/deft-leopard-rule-v1.svg") repeat-x bottom / 120px 12px; mask: url("/skins/deft-leopard/art/deft-leopard-rule-v1.svg") repeat-x bottom / 120px 12px; pointer-events: none; }
.kp-sticky-bar { overflow-x: clip; }
.kp-sticky-buy { background: var(--dl-pink); font-size: clamp(0.8rem, 4.3vw, 1.15rem); letter-spacing: 0; padding-inline: 8px; }
.kp-sticky-bar .kp-cart-button { background: var(--dl-yellow); }
.kp-top-link { max-width: none; margin: 0; padding: 26px 16px 0; background: var(--dl-ink); text-align: center; }
.kp-top-link .kp-link-button { color: var(--dl-yellow); }
.kp-footer { max-width: none; background: var(--dl-ink); color: var(--dl-cream); border-top: 0; padding-block: 12px 40px; text-align: center; }
/* the footer's dog rears up a little more with every level */
.kp-footer::before { content: ""; display: block; width: 200px; height: 76px; margin: 0 auto 14px; background: url("/skins/deft-leopard/art/deft-leopard-mascot-v1.svg") center / contain no-repeat; rotate: calc((var(--loud, 3) - 2) * -1.6deg); transform-origin: 20% 90%; }
.kp-footer-line { font-family: var(--dl-mono); font-weight: 700; font-size: 0.875rem; max-width: 30rem; margin-inline: auto; }
.kp-legal-list { justify-content: center; }
.kp-legal-list a, .kp-footer-notice a { color: var(--dl-yellow); font-family: var(--dl-mono); font-weight: 700; }
.kp-footer-notice { font-size: 0.8125rem; }

/* the legal pages and the 404 (no script, same skin): a cream sticker panel on the ink page */
main.kp-doc { width: calc(100% - 32px); max-width: 40rem; margin: 28px auto 24px; padding: 28px 18px 22px; background: var(--dl-cream); border: 5px solid var(--dl-ink); box-shadow: 10px 10px 0 var(--dl-pink); overflow: visible; }
.kp-doc h1 { font-family: var(--dl-display); text-transform: uppercase; font-size: clamp(1.9rem, 9vw, 3rem); line-height: 1.05; color: var(--dl-pink); -webkit-text-stroke: 3px var(--dl-ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--dl-ink); margin-bottom: 18px; }
.kp-doc h2 { font-family: var(--dl-mono); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.kp-back a { font-family: var(--dl-mono); font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; }
[data-page="not-found"] .kp-footer::before { display: none; }
[data-page="not-found"] .kp-doc::after { content: ""; display: block; height: 96px; margin-top: 12px; background: url("/skins/deft-leopard/art/deft-leopard-mascot-v1.svg") center / contain no-repeat; }

@media (min-width: 760px) {
  body { font-size: 1.125rem; }
  .kp-hero { padding-top: 48px; }
  .kp-hero-image { height: 446px; }
  .kp-goods { grid-template-columns: repeat(3, 1fr); }
  .kp-real-dogs { grid-template-columns: repeat(4, 1fr); }
  .kp-locked { grid-template-columns: repeat(3, 1fr); }
  .kp-hero > *, .kp-buy > *, .kp-section > * { max-width: 46rem; }
  .kp-hero > .kp-hero-title, .kp-hero > .kp-hero-tagline, .kp-hero > .kp-hero-sub { max-width: 24rem; margin-left: max(16px, calc((100% - 46rem) / 2)); }
}
@media (max-width: 360px) {
  .kp-hero { --hero-rest: 366px; padding-top: 6px; }
  .kp-hero-title { font-size: 14.2vw; height: 34vw; margin-bottom: 2px; }
  .kp-hero > .kp-hero-stage { margin-top: 6px; }
  .kp-hero-image { border-width: 5px; box-shadow: 6px 6px 0 var(--dl-ink); object-position: 50% 30%; }
  .kp-toy-hero { margin-top: 12px; min-height: 92px; }
  .kp-toy-hero .kp-dial { --kp-dial-h: 38px; margin-top: 2px; }
  .kp-toy-hero .kp-dial-ground { top: 16px; }
  .kp-toy-hero .kp-toy-caption { height: 36px; font-size: 0.6875rem; line-height: 1.2; padding-block: 2px; }
  .kp-hero > .kp-hero-actions { margin-top: 8px; }
  .kp-toy-fx { --dl-tape-max: 10px; }
  .kp-toy-hint { font-size: 0.6875rem; right: 8px; }
  .kp-hero-tagline { font-size: 0.9375rem; }
  .kp-hero-sub { font-size: 0.75rem; }
  .kp-hero-burst { width: 74px; height: 74px; top: -34px; right: -13px; padding-inline: 13px; font-size: 0.6875rem; }
  .kp-hero-layer[data-hero-layer="dog"] { left: -12px; top: -16px; width: 13%; }
  .kp-hero-actions .kp-button { min-height: 48px; font-size: 1.125rem; }
  .kp-toy-shirt { width: 88px; }
  .kp-pad { padding-inline: 8px; }
  .kp-price dt { font-size: 0.625rem; letter-spacing: 0; }
  .kp-choice { gap: 6px; }
  .kp-choice-item { font-size: 0.625rem; padding-inline: 2px; overflow-wrap: normal; }
  .kp-cart-button { padding: 6px 10px; font-size: 0.8125rem; border-width: 3px; box-shadow: 3px 3px 0 var(--dl-pink); }
  .kp-sticky-bar { padding-inline: 10px; gap: 6px; }
  .kp-size { min-width: 44px; padding-inline: 4px; --skin-shadow-offset: 3px; }
  .kp-size-list { gap: 4px; }
  .kp-locked, .kp-real-dogs { gap: 18px 10px; }
  .kp-locked-name { font-size: 0.95rem; }
}

