/* Dəzgah's pieces, the shared style: drawn on the paper in the site's ink, gold and tones, day and night; only a post with a
   piece asks for it. See README.md § "Dəzgah" (A piece). */

:root {
  --hp-line: #3b2d20; --hp-soft: #7a6650; --hp-faint: rgba(90, 65, 35, .26);
  --hp-fill: #fffaf0; --hp-fill-2: #efe2c6; --hp-shade: rgba(70, 45, 20, .14);
  --hp-brass: #c99a4b; --hp-brass-hi: #f3dca4; --hp-brass-lo: #8c6428;
  --hp-tube: #ddc38f; --hp-tube-lit: #f0b54a;
  --hp-rose: #b7604f; --hp-blue: #3f7898; --hp-teal: #3b8579; --hp-plum: #7a5277;
  --hp-glow: #ffcd6a; --hp-off: #d9ccb2;
  --hp-hot: #c2412b; --hp-ok: #3f7a46;
  --hp-term: #231a13; --hp-term-ink: #eadcc0; --hp-term-dim: #a8957a; --hp-term-red: #f2896a; --hp-term-green: #a9d69c;
  --ws-wall: #e3cfa9; --ws-wall-2: #cfb184; --ws-plank: rgba(110, 70, 30, .14);
  --ws-wood: #a46f3d; --ws-wood-hi: #c99561; --ws-wood-lo: #6f4521; --ws-inside: #4a2f18;
  --ws-light: rgba(255, 210, 130, .62); --ws-window-1: #5c96af; --ws-window-2: #dde3d5;
  --ws-paper: #fbf3df;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --hp-line: #eadfc8; --hp-soft: #b7a88d; --hp-faint: rgba(228, 199, 143, .22);
  --hp-fill: #131b30; --hp-fill-2: #0d1324; --hp-shade: rgba(0, 0, 0, .45);
  --hp-brass: #c9a66b; --hp-brass-hi: #f3dcaa; --hp-brass-lo: #6f5530;
  --hp-tube: #6e5b3c; --hp-tube-lit: #ffc35c;
  --hp-rose: #e3907a; --hp-blue: #82b4d2; --hp-teal: #7cc3b5; --hp-plum: #caa0c5;
  --hp-glow: #ffd27a; --hp-off: #2a3149;
  --hp-hot: #ff8b6b; --hp-ok: #9fd49a;
  --hp-term: #04060c; --hp-term-ink: #eadcc0; --hp-term-dim: #8f8270;
  --ws-wall: #2b2333; --ws-wall-2: #1b1622; --ws-plank: rgba(0, 0, 0, .28);
  --ws-wood: #5f412f; --ws-wood-hi: #84604a; --ws-wood-lo: #33221a; --ws-inside: #120c0a;
  --ws-light: rgba(255, 190, 100, .5); --ws-window-1: #070b16; --ws-window-2: #232842;
  --ws-paper: #e9dcbf;
} }
:root[data-theme="dark"] {
  --hp-line: #eadfc8; --hp-soft: #b7a88d; --hp-faint: rgba(228, 199, 143, .22);
  --hp-fill: #131b30; --hp-fill-2: #0d1324; --hp-shade: rgba(0, 0, 0, .45);
  --hp-brass: #c9a66b; --hp-brass-hi: #f3dcaa; --hp-brass-lo: #6f5530;
  --hp-tube: #6e5b3c; --hp-tube-lit: #ffc35c;
  --hp-rose: #e3907a; --hp-blue: #82b4d2; --hp-teal: #7cc3b5; --hp-plum: #caa0c5;
  --hp-glow: #ffd27a; --hp-off: #2a3149;
  --hp-hot: #ff8b6b; --hp-ok: #9fd49a;
  --hp-term: #04060c; --hp-term-ink: #eadcc0; --hp-term-dim: #8f8270;
  --ws-wall: #2b2333; --ws-wall-2: #1b1622; --ws-plank: rgba(0, 0, 0, .28);
  --ws-wood: #5f412f; --ws-wood-hi: #84604a; --ws-wood-lo: #33221a; --ws-inside: #120c0a;
  --ws-light: rgba(255, 190, 100, .5); --ws-window-1: #070b16; --ws-window-2: #232842;
  --ws-paper: #e9dcbf;
}

/* ---------- a piece on the paper ---------- */
.prose figure.hp { margin: 1.7em -22px 1.9em; position: relative; overflow-x: clip; }
.hp-stage { position: relative; }
.hp-svg { display: block; width: 100%; height: auto; overflow: visible; -webkit-user-select: none; user-select: none; }
.hp-svg text { font-family: var(--serif); fill: var(--hp-soft); }
.hp-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 16px 0; }
.hp-bar[hidden] { display: none; }
.hp-btn { min-height: 44px; padding: 0 20px 2px; border: 0; border-radius: 22px; background: var(--pill); color: var(--pill-ink); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--pill-rim), 0 8px 18px -12px rgba(0, 0, 0, .45); font: 500 17px/1 var(--sc); font-variant-caps: all-small-caps; letter-spacing: .08em;
  transition: translate .3s var(--ease), box-shadow .3s; touch-action: manipulation; }
.hp-btn:hover { translate: 0 -1px; box-shadow: inset 0 0 0 1px var(--gold), 0 10px 20px -12px rgba(0, 0, 0, .5); }
.hp-btn:active { translate: 0 1px; }
.hp-btn[disabled] { opacity: .45; cursor: default; translate: none; }
.hp-btn.quiet { background: none; box-shadow: none; color: var(--paper-soft); padding: 0 12px 2px; }
.hp-say { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.hp-note { margin: 10px 16px 0; font: 400 16px/1.35 var(--serif); color: var(--paper-soft); text-align: center; font-variant-numeric: oldstyle-nums; }

/* the drawing's vocabulary */
.hp-ink { stroke: var(--hp-line); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hp-thin { stroke: var(--hp-line); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.hp-faintline { stroke: var(--hp-faint); stroke-width: 1.2; fill: none; stroke-linecap: round; }
.hp-fillp { fill: var(--hp-fill); }
.hp-shade { fill: var(--hp-shade); }
.hp-brass { fill: var(--hp-brass); }
.hp-brass-hi { fill: var(--hp-brass-hi); }
.hp-brass-lo { fill: var(--hp-brass-lo); }
.hp-label { font: 500 15px/1 var(--sc); font-variant-caps: all-small-caps; letter-spacing: .08em; fill: var(--hp-soft); }
.hp-mono { font-family: var(--mono) !important; font-size: 11.5px; fill: var(--hp-soft); letter-spacing: 0; }
.hp-hand { font: 500 17px/1 var(--sc); font-variant-caps: all-small-caps; letter-spacing: .1em; fill: var(--gold); }
.hp-hand-s { stroke: var(--gold); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* pipes: a tube is its ink edge and its bore */
.pipe-o { fill: none; stroke: var(--hp-line); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.pipe-i { fill: none; stroke: var(--hp-tube); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.pipe-f { fill: none; stroke: var(--hp-brass-hi); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 2 13; opacity: .9; }
.pipe.lit .pipe-i { stroke: var(--hp-tube-lit); }
.pipe.dim { opacity: .28; }
.pipe.hot .pipe-i { stroke: var(--hp-hot); }
.node { cursor: pointer; }
.node.dim { opacity: .35; }
figure.hp:not(.hp-live) * { cursor: default !important; }
.hp .ring { fill: none; stroke: var(--gold); stroke-width: 2; opacity: 0; }
.node.on .ring { opacity: 1; }
.node:focus { outline: none; }
.node:focus-visible .ring { opacity: 1; stroke-dasharray: 4 4; }

/* ---------- the reuse (the fifth post's stage): the owner's paintings, as he painted them by day and by night; what the
   page draws round them is brass like his pipes, and the words on the paper are the paper's ---------- */
.hp-reuse .st-shade { fill: var(--hp-shade); }
.hp-reuse .st-po { fill: none; stroke: #33200f; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.hp-reuse .st-pb { fill: none; stroke: #b9782a; stroke-width: 4.8; stroke-linecap: round; stroke-linejoin: round; }
.hp-reuse .st-ps { fill: none; stroke: #f4cd7c; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; translate: -.9px -.9px; }
.hp-reuse .st-pipe.hot .st-pb { stroke: #c2412b; }
.hp-reuse .st-pipe.hot .st-ps { stroke: #f2a089; }
/* a laid pipe's flow, from what is used down into what uses it: only a playing frame has it (a still draws none) */
.hp-reuse.hp-live .pipe-f { display: inline; stroke: #ffe9b0; stroke-width: 1.4; }
.hp-reuse .st-reach { fill: none; stroke: var(--hp-soft); stroke-width: 1.7; stroke-dasharray: .1 5.4; stroke-linecap: round; }
.hp-reuse .st-glow circle { fill: #ffc45e; opacity: .12; mix-blend-mode: screen; }   /* still: 224 pulsing blended dots repainted the whole drawing every frame (the owner, 12-04: the iPad froze) */
.hp-reuse .st-spark { fill: #fff6d6; stroke: #f0b54a; stroke-width: .8; }
@keyframes st-glow { 50% { opacity: .08; } }
.hp-reuse .st-label { font: 500 14.5px/1 var(--sc); font-variant-caps: all-small-caps; letter-spacing: .09em; fill: var(--hp-soft); }
.hp-reuse .st-slip { fill: #f6e9c8; stroke: #5a3d1c; stroke-width: 1; }
.hp-reuse .st-tagw { font: 700 11px/1 var(--mono); fill: #4a3115; letter-spacing: 0; }
.hp-reuse .st-tagl { fill: none; stroke: #6b4a22; stroke-width: 1.2; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .hp-reuse .st-glow circle { animation: none; } .hp-reuse.hp-live .pipe-f { display: none; } }
.shot .hp-reuse .st-glow circle { animation: none; }

/* ---------- the workshop ---------- */
.prose figure.hp-workshop { margin-left: -22px; margin-right: -22px; }
.ws-room { position: relative; overflow: hidden; border-radius: 3px; box-shadow: 0 0 0 1px var(--paper-rule), 0 18px 40px -24px rgba(0, 0, 0, .6); }
.ws-svg { display: block; width: 100%; height: auto; }
.ws-hit { cursor: pointer; }
/* the room's quiet invitation: it breathes until the first touch (workshop.piece.js) */
.ws-invite { font-family: var(--serif); font-weight: 500; letter-spacing: .08em; fill: #fff4dc; stroke: rgba(40, 24, 10, .55); stroke-width: 8px; paint-order: stroke; pointer-events: none; animation: ws-invite 2.8s ease-in-out infinite; }
@keyframes ws-invite { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .ws-invite { animation: none; opacity: .8; } }
.shot .ws-invite { animation: none; }
.ws-hit:focus { outline: none; }
.ws-hit:focus-visible .ws-focus { opacity: 1; }
.ws-focus { fill: none; stroke: var(--gold-hi); stroke-width: 2.4; stroke-dasharray: 5 4; opacity: 0; pointer-events: none; }
.ws-day { opacity: var(--day-op); }
.ws-night { opacity: var(--night-op); }
.ws-plate { font: 600 13px/1 var(--sc); font-variant-caps: all-small-caps; letter-spacing: .1em; fill: #3b2a14; }
/* his painted room: the words in the page's own type; night is a shade and the lamp's glow laid over it, never a change to it */
.ws-painted .ws-focus { stroke-dasharray: 30 24; }
.ws-word { font-family: var(--serif); font-weight: 600; fill: #3b2a14; }
.ws-shade { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: var(--night-op); transition: opacity .8s ease;
  background: radial-gradient(62% 58% at var(--at, 50% 30%), #f1d9b4 0%, #a99aa6 46%, #6f7191 100%); }
.ws-glow { position: absolute; width: 44%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
  opacity: calc(.16 + var(--night-op) * .7); transition: opacity .8s ease;
  background: radial-gradient(closest-side, rgba(255, 226, 170, .8), rgba(255, 190, 110, .32) 34%, rgba(255, 170, 90, .1) 62%, transparent); }
.ws-tag { position: relative; margin: 18px 16px 0; padding: 18px 20px 18px; border-radius: 3px; color: var(--paper-ink);
  background: var(--grain, none), linear-gradient(176deg, var(--sheet) 40%, var(--sheet-2)); box-shadow: inset 0 0 0 1px var(--sheet-rim), var(--sheet-shadow); rotate: -.6deg; min-height: 7.2em; }
.ws-tag[hidden] { display: none; }
/* a thing's card: its painting down the left side, as tall as the words beside it, not just the title */
.ws-tag:not([hidden]):has(.ws-pic) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: start; }
.ws-tag:has(.ws-pic) > :not(.ws-pic):not(.ws-x) { grid-column: 2; }
.ws-tag .ws-pic { grid-column: 1; grid-row: 1 / span 9; align-self: center; width: 78px; height: auto; max-height: 100%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(20, 10, 4, .35)); }
@media (min-width: 700px) { .ws-tag .ws-pic { width: 118px; } .ws-tag:has(.ws-pic) { column-gap: 24px; } }
.ws-tag h4 { margin: 0 0 6px; font: 600 26px/1.05 var(--display); color: var(--title); }
.ws-tag p { margin: 0; font: 400 18.5px/1.45 var(--serif); color: var(--ink-soft); text-wrap: pretty; }
.ws-tag code { display: inline-block; margin-top: 10px; font: 13.5px/1.4 var(--mono); color: var(--lab); overflow-wrap: anywhere; }
.ws-tag .ws-list { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 13.5px/1.4 var(--mono); color: var(--ink-soft); }
.ws-tag .ws-x { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: none; color: var(--ink-faint); font: 400 26px/1 var(--serif); cursor: pointer; }
.ws-hint { margin: 14px 16px 0; text-align: center; font: 500 16.5px/1.3 var(--sc); font-variant-caps: all-small-caps; letter-spacing: .08em; color: var(--paper-soft); }

/* ---------- the check ---------- */
.ck-term { margin: 14px 12px 0; padding: 14px 16px 16px; border-radius: 6px; background: var(--hp-term); color: var(--hp-term-ink); font: 12.5px/1.55 var(--mono); min-height: 9.6em;
  box-shadow: 0 16px 30px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(228, 199, 143, .14); overflow-wrap: anywhere; }
.ck-term p { margin: 0; }
.ck-term .dim { color: var(--hp-term-dim); }
.ck-term .bad { color: var(--hp-term-red); }
.ck-term .good { color: var(--hp-term-green); }
.ck-term .cmt { color: #c9a66b; }
.ck-term .new { animation: ck-line .28s ease both; }
@keyframes ck-line { from { opacity: 0; translate: 0 4px; } }
/* its pipes are brass like his painted ones, by day and by night; a pipe that breaks a rule runs red */
.hp-check .pipe-o { stroke: #33200f; stroke-width: 8; }
.hp-check .pipe-i { stroke: #b9782a; stroke-width: 5.4; }
.hp-check .pipe-f { stroke: #ffe9b0; stroke-width: 1.7; }
.hp-check .pipe.hot .pipe-i { stroke: var(--hp-hot); }
.ck-stub { cursor: grab; touch-action: none; }
/* a loose end asks to be touched: a ring that keeps leaving it, until one has been tried; it stands still where nothing moves */
.ck-ring { fill: none; stroke: var(--gold); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ck-ring 2.4s ease-out infinite; }
.ck-stub:nth-of-type(2) .ck-ring { animation-delay: 1.2s; }
@keyframes ck-ring { from { opacity: .85; transform: scale(.8); } to { opacity: 0; transform: scale(2.3); } }
.ck-tried .ck-ring { display: none; }
.ck-stub:focus { outline: none; }
.ck-stub:focus-visible .ck-ring { display: inline; animation: none; opacity: 1; transform: scale(1.5); stroke-dasharray: 3 3; }
.ck-big { font-size: 19px; }
@media (max-width: 560px) {
  .ck-term { font-size: 11.5px; }
  /* its still draws the terminal twice: on a phone the larger lettering, which hangs 112 of 640 units under the drawing */
  .hp-check .ck-still-term { display: none; }
  .hp-check .ck-still-narrow { display: inline; }
  .hp-check:not(.hp-live) .hp-stage { padding-bottom: 17.5%; }
  .hp-check:not(.hp-live) .hp-stage > svg { overflow: visible; }
}

@media (min-width: 700px) {
  .prose figure.hp { margin: 2.1em -40px 2.3em; }
  .prose figure.hp-workshop { margin-left: -70px; margin-right: -70px; }
  .ws-tag { margin: 20px 40px 0; padding: 20px 26px; }
  .ck-term { margin: 16px 30px 0; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-term .new { animation: none; }
  .ck-ring { animation: none; opacity: .6; transform: scale(1.5); }
}
.shot .pipe-f { display: none; }
.shot .ck-ring { animation: none; opacity: .6; transform: scale(1.5); }

/* ---------- the workshop as a scene (dezgah.css draws any scene; these are its room's own) ---------- */
.dz-scene .ws-room { border-radius: 0; box-shadow: none; }
/* the code-drawn room (no script, or the painting failed) is taller: there the words keep to its floor */
.dz-scene.hp-workshop:not(:has(.ws-painted)) .dz-scene-words { top: auto; bottom: calc(var(--over-bot) + 34px); }
/* a drawer's tag opens just under the paper's edge, away from the words */
.dz-scene .ws-tag { position: absolute; z-index: 4; top: calc(var(--over-top) + 40px); left: 50%; translate: -50% 0; width: min(560px, calc(100% - 32px)); margin: 0; rotate: -.4deg; }
.dz-scene .ws-hint { display: none; }
@media (min-width: 700px) {
  .dz-scene .ws-tag { top: calc(var(--over-top) + 54px); }
}

/* ---------- a stage: paragraphs of the post read beside one drawing that plays them (README § "Dəzgah", A stage).
   Three ways to stand, said to the kit by --stage: a strip (each paragraph's own frame under it: a phone, no script, a
   still shot), a band (the plate pinned over the paragraphs: an upright tablet), a spread (the sheet opens wider than
   the paper and the plate is pinned beside the paragraphs: a wide window). ---------- */
.dz-stage { --stage: strip; position: relative; margin: 0 0 1.02em; }
.dz-stage-text > :last-child, .dz-stage-text > :last-child > p { margin-bottom: 0; }
.dz-plate { display: none; }
/* the drawing itself, never an <svg> inside it (a part cut from a painting is one) */
.dz-plate > svg, .dz-frame > svg { display: block; width: 100%; height: auto; overflow: visible; -webkit-user-select: none; user-select: none; }
.dz-plate text, .dz-frame text { font-family: var(--serif); }
.dz-frame { max-width: 440px; margin: -.1em auto 1.5em; }
.dz-stage.hp-live .dz-frame { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.dz-beat:last-child .dz-frame { margin-bottom: 0; }

@media (min-width: 700px) and (max-width: 999.98px) and (min-height: 900px) {
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) { --stage: band; }
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-frame { display: none; }
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-plate { display: block; position: sticky; top: 0; z-index: 4; margin: 0 -70px 1.1em; padding: 66px 70px 6px;
    background: var(--grain, none), var(--paper); }
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-plate > svg { width: min(100%, 430px); margin: 0 auto; }
  /* the words slide under the plate's foot, into the paper */
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-plate::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 34px; pointer-events: none;
    background: linear-gradient(var(--paper), transparent); }
}
@media (min-width: 1000px) and (min-height: 600px) {
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) { --stage: spread; --stage-w: min(1120px, 100vw - 64px);
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); column-gap: clamp(36px, 4.4vw, 56px); align-items: start;
    width: var(--stage-w); margin: 2.4em 0 2.6em calc((100% - var(--stage-w)) / 2); padding: 50px clamp(40px, 4.6vw, 60px) 52px; z-index: 3; border-radius: 3px;
    background: var(--grain, none), var(--paper); box-shadow: inset 0 0 0 1px var(--sheet-rim), 0 34px 70px -38px rgba(8, 30, 46, .8), 0 3px 12px -4px rgba(30, 22, 14, .34); }
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-frame { display: none; }
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-stage-text { grid-column: 1; grid-row: 1; }
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-plate { display: block; grid-column: 2; grid-row: 1; position: sticky; top: clamp(84px, calc(50vh - 190px), 30vh); }
  .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-stage-text > h2:first-child, .dz-js:not(.shot) .dz-stage:not(.dz-stage-off) .dz-stage-text > h3:first-child { margin-top: 0; }
}

/* ---------- a cut stage (```stage name cut): the sheet is cut after each paragraph and that paragraph's drawing hangs in the sky
   there, on a cloud, in a soft darker light; the paper starts again under it (the owner, 12-03: "the paper is cut through and
   we're seeing through … to the visualization … it could sit on some clouds"). Each plays once as it comes into view. ---------- */
.dz-cut { position: relative; z-index: 1; display: grid; place-items: center; margin: -30px 0; padding: 70px 16px 58px; }
.dz-cut::before { content: ""; position: absolute; z-index: 0; inset: 0 -14%; pointer-events: none;
  background: radial-gradient(58% 60% at 50% 54%, rgba(12, 30, 54, .30), rgba(12, 30, 54, .12) 52%, transparent 74%); }
/* each cut its own cloud: placed, sized and turned differently, some low, some floating behind the drawing, each drifting
   gently on its own clock (the owner, 12-03: "they look static … repetitive … maybe some of them can just float in the middle") */
.dz-cut::after { content: ""; position: absolute; z-index: 0; left: var(--cx, 50%); bottom: var(--cy, 22px); width: var(--cw, min(600px, 104%)); aspect-ratio: 412 / 192;
  translate: -50% 0; scale: var(--cf, 1) 1; background: url(dezgah/cloud.webp) center / contain no-repeat;
  opacity: calc(var(--co, .62) - var(--night-op, 0) * .3); pointer-events: none; animation: dz-cloud var(--cd, 34s) ease-in-out infinite alternate; }
@keyframes dz-cloud { from { translate: calc(-50% - var(--cdx, 22px)) 0; } to { translate: calc(-50% + var(--cdx, 22px)) 0; } }
.dz-cut[data-beat="0"] { --cx: 40%; --cy: 18px; --cw: min(560px, 100%); --cd: 31s; }
.dz-cut[data-beat="1"] { --cx: 64%; --cy: 46%; --cw: min(380px, 70%); --cf: -1; --co: .46; --cd: 38s; --cdx: 30px; }
.dz-cut[data-beat="2"] { --cx: 34%; --cy: 30%; --cw: min(460px, 84%); --co: .5; --cd: 27s; }
.dz-cut[data-beat="3"] { --cx: 58%; --cy: 10px; --cw: min(640px, 110%); --cf: -1; --cd: 36s; --cdx: 18px; }
.dz-cut[data-beat="4"] { --cx: 46%; --cy: 52%; --cw: min(340px, 64%); --co: .42; --cd: 42s; --cdx: 34px; }
.dz-cut[data-beat="5"] { --cx: 62%; --cy: 26px; --cw: min(520px, 96%); --cf: -1; --co: .56; --cd: 29s; }
.dz-cut[data-beat="6"] { --cx: 38%; --cy: 38%; --cw: min(420px, 78%); --co: .48; --cd: 33s; --cdx: 26px; }
.dz-cut[data-beat="7"] { --cx: 54%; --cy: 14px; --cw: min(600px, 106%); --cd: 40s; }
@media (prefers-reduced-motion: reduce) { .dz-cut::after { animation: none; } }
.shot .dz-cut::after { animation: none; }
.dz-cut .dz-frame { position: relative; z-index: 1; width: min(460px, 100%); max-width: none; margin: 0; filter: drop-shadow(0 14px 18px rgba(8, 18, 34, .28)); }
.dz-cut.hp-live { cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (min-width: 700px) { .dz-cut { padding: 84px 40px 70px; } .dz-cut .dz-frame { width: min(520px, 100%); } }
