/* DHA deck · component v1 · 2 Dec 2026 (v1.5). A swipe gallery with depth: every piece has its own edge and stands in one
   room; the front one is whole and large, the others stand behind it, turned. Drag, swipe, arrows, or tap one behind.
   No opacity change. Without JS it is a plain row that scrolls sideways. */
.dk-h{display:flex;align-items:center;justify-content:space-between;gap:var(--s3);margin-bottom:var(--s3)}
.dk-h .t-head{margin:0}
.dk-c{display:flex;align-items:center;gap:var(--s1);flex:none}
.dk-c .t-label{margin:0 var(--s1) 0 0;min-width:4.5em;text-align:right;font-variant-numeric:tabular-nums}
.gal.dk-s{display:flex;flex-direction:row;gap:var(--g);overflow-x:auto}
.gal.dk-s>.pic{flex:none;width:min(80%,calc(420px * var(--r,1)))}
.gal.dk-s.is-on{display:block;position:relative;overflow:hidden;overflow:clip;height:var(--dh,460px);perspective:1500px;touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
.gal.dk-s.is-on.is-drag{cursor:grabbing}
.gal.dk-s.is-on>.pic{position:absolute;left:50%;top:50%;margin:0;transform-style:preserve-3d;will-change:transform;background:#eef1f1}
.gal.dk-s.is-on>.pic img{-webkit-user-drag:none;width:100%;height:100%}
.gal.dk-s.is-on>.pic .zoom{height:100%}
.gal.dk-s.is-on>.pic:not(.is-front) .zoom{cursor:pointer}
@media (max-width:760px){.dk-h{flex-wrap:wrap;gap:var(--s2)}.dk-h .t-head{flex:1 0 100%}.dk-c{width:100%}.dk-c .t-label{margin-right:auto;text-align:left}}
/* the piece's own edge: two side faces, 6 px of card */
.gal.dk-s.is-on>.pic::before,.gal.dk-s.is-on>.pic::after{content:"";position:absolute;top:0;bottom:0;width:6px;background:#c9d3d4}
.gal.dk-s.is-on>.pic::before{left:0;transform-origin:0 50%;transform:rotateY(90deg)}
.gal.dk-s.is-on>.pic::after{right:0;transform-origin:100% 50%;transform:rotateY(-90deg)}
.on-paper .gal.dk-s>.pic{outline:1px solid var(--line);outline-offset:-1px}

/* read aloud after a move, never drawn */
.dk-say{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
