/* R55: the grid uses its explicit media anchor; avoid a second browser adjustment. */
.mg-sheet__grid { overflow-anchor: none; scroll-behavior: auto; }
.photo-viewer__spin { top: auto; bottom: max(86px, calc(env(safe-area-inset-bottom, 0px) + 70px)); }
.photo-viewer__img { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .photo-viewer__spin-dot, .mg-cell.is-wait::before { animation: none !important; }
  .photo-viewer__stage { transition: none !important; }
}
:is(html[data-reduce-motion="1"], html[data-vy-motion="off"], html.motion-off) .photo-viewer__spin-dot,
:is(html[data-reduce-motion="1"], html[data-vy-motion="off"], html.motion-off) .mg-cell.is-wait::before { animation: none !important; }
:is(html[data-reduce-motion="1"], html[data-vy-motion="off"], html.motion-off) .photo-viewer__stage { transition: none !important; }
