/* Slightly larger previews, contained within the viewport. */
.chat-photo-viewer .photo-viewer-content > img {
  max-width: min(78vw, 840px);
  max-height: 76vh;
  max-height: 76dvh;
  cursor: zoom-out;
}
@media (max-width: 600px) {
  .chat-photo-viewer { padding: 24px; }
  .chat-photo-viewer .photo-viewer-content > img {
    max-width: min(90vw, calc(100vw - 48px));
    max-height: 74vh;
    max-height: 74dvh;
  }
}
