/* RUYA_V2.4.24.3_HF_UI_SYNC_3_APP_ZOOM_LOCK_DATA_SAFE */
/* App chrome does not browser-zoom. Dedicated media/document viewers keep content zoom. */
@media (max-width:900px){
  html,body,#root{touch-action:pan-x pan-y!important;-ms-touch-action:pan-x pan-y!important}
  input,textarea,select,button,a,[contenteditable="true"]{touch-action:manipulation!important}
  .v23ParentAlbumFullscreen,.v23ParentAlbumFullscreenStage,.photoLightbox,.photoStage,
  .ruyaDeepDocumentViewer,.ruyaDeepDocumentBody,.ruyaPinchZoomSurface{
    touch-action:none!important;-ms-touch-action:none!important;overscroll-behavior:contain!important
  }
}
.ruyaPinchZoomSurface{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important;
  background:inherit!important;touch-action:none!important;overscroll-behavior:contain!important
}
.ruyaPinchZoomSurface>img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;transform-origin:center center!important;will-change:transform!important;
  user-select:none!important;-webkit-user-select:none!important;-webkit-user-drag:none!important;pointer-events:none!important
}
.photoStage .ruyaPinchZoomSurface>img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;border-radius:14px!important;box-shadow:0 15px 50px #0007!important}
.ruyaPinchZoomReset{
  position:absolute!important;right:12px!important;bottom:12px!important;z-index:8!important;min-width:44px!important;min-height:36px!important;
  border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;background:rgba(6,15,35,.72)!important;
  color:#fff!important;font:600 12px/1 system-ui,-apple-system,sans-serif!important;padding:0 11px!important;backdrop-filter:blur(8px)!important
}
.ruyaDeepDocumentBody.ruyaDeepImageZoomHost{overflow:hidden!important;align-items:stretch!important;padding:0!important;background:#111827!important}
.ruyaDeepDocumentBody.ruyaDeepImageZoomHost>.ruyaPinchZoomSurface>img{background:#111827!important}
