/* Use one transform property (Safari-compatible), not individual translate.
   The override lives on the surface and therefore survives JPG DOM replacement. */
.pv-modern-viewer .pv-touch-viewer.pv-zoomed {touch-action:none !important;overscroll-behavior:contain;}
.pv-modern-viewer .pv-touch-viewer.pv-native-pan-active.pv-zoomed > img.pv-original-pixel-render {
  transform:var(--pv-native-pan-transform) !important;
  -webkit-transform:var(--pv-native-pan-transform) !important;
  translate:none !important;
  transition:none !important;
  will-change:transform;
}
