/*!
 * PhotoStack integration
 * Design inspired by Wren036/PhotoStack:
 * https://github.com/Wren036/PhotoStack
 * PolyForm Noncommercial 1.0.0
 */
.pstack-stage {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
  cursor: grab;
}
.pstack-stage:active { cursor: grabbing; }
.pstack-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .14);
  transform-origin: 50% 55%;
  transition: transform .32s cubic-bezier(.2, .7, .3, 1), opacity .25s;
}
.pstack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.04);
}
.pstack-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 140;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  font: 11px/1.4 -apple-system, BlinkMacSystemFont, sans-serif;
  pointer-events: none;
}
