/* Apply the same slow zoom to member photo posts wherever they are displayed. */
@keyframes inklin-photo-zoom {
  from { transform: scale(1); clip-path: inset(0 round var(--photo-corner, 0px)); }
  to   { transform: scale(1.08); clip-path: inset(3.703704% round var(--photo-corner, 0px)); }
}

.gallery-item > img { --photo-corner: 7px; }
#social figure > img { --photo-corner: 10px; }
#media-items figure > img, #draft-preview > img { --photo-corner: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .feed-image-container > img,
  .gallery-item > img,
  #iv-photo,
  #social figure > img,
  #media-items figure > img,
  #draft-preview > img {
    animation: inklin-photo-zoom 7s ease-in-out infinite alternate;
    transform-origin: center;
  }
}
