/* Photo Stack (port of React Bits Stack, MIT + Commons Clause, (c) 2026 David Haz). See photostack.js. */
.ps { position: relative; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.ps-card {
  position: absolute; inset: 0; overflow: hidden; border-radius: 6px; background: #ece5d8;
  border: 7px solid #fffdf9; box-shadow: 0 14px 34px -12px rgba(31, 26, 21, 0.45), 0 3px 8px -3px rgba(31, 26, 21, 0.2);
  will-change: transform; cursor: grab;
}
.ps-card:not([data-top]) { cursor: default; pointer-events: none; }
.ps-card[data-dragging] { cursor: grabbing; }
.ps-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ps:focus-visible .ps-card[data-top] { outline: 2px solid currentColor; outline-offset: 4px; }
.ps-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: 0; }
