/* CE-02: finite transitions on approved photos and interactive states. */
.ehsr-motion-anchor{position:relative}
[data-r-media-outgoing]{position:absolute;inset:0;z-index:1;display:block;overflow:hidden;pointer-events:none}
[data-r-media-outgoing]>[data-r-motion-img]{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;aspect-ratio:auto}
.line-panel [data-r-media-outgoing]{z-index:0}
[data-r-premium-motion] .line-panel.changed{animation:none}

@media (prefers-reduced-motion:no-preference) and (hover:hover) and (pointer:fine) and (min-width:1100px){
  [data-r-depth-image]{transition:transform .32s cubic-bezier(.22,.7,.2,1)}
  [data-r-depth-image][data-r-depth]{transform:translate3d(var(--ehsr-x,0),var(--ehsr-y,0),0) scale(1.022)}
}

/* The visitor's control includes existing CSS transitions as well as CE-02's WAAPI effects. */
html[data-ehsr-paused],
html[data-ehsr-paused] *,
html[data-ehsr-paused] *::before,
html[data-ehsr-paused] *::after{
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important;
}
@media (prefers-reduced-motion:reduce){
  [data-r-media-outgoing]{display:none!important}
}
