/* The single photograph is a moving plane; controls stay outside that plane. */
#mypremiereplus-preview {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #080b10;
  color: #fff;
}
#mypremiereplus-preview::backdrop { background: #080b10; }
#mypremiereplus-preview .project-image-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  perspective: 1200px;
  isolation: isolate;
}
#mypremiereplus-preview .project-image-scene img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  opacity: 0;
}
#mypremiereplus-preview[data-ready] .project-image-scene img { opacity: 1; }
#mypremiereplus-preview[data-moving] .project-image-scene img { will-change: transform; }
#mypremiereplus-preview .project-image-close {
  position: absolute;
  z-index: 2;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  min-width: 44px;
  min-height: 44px;
  padding: .65rem 1.05rem;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 999px;
  background: rgba(10,15,24,.88);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
#mypremiereplus-preview .project-image-close:hover { background: #202a3a; }
#mypremiereplus-preview .project-image-close:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
#mypremiereplus-preview .project-image-status {
  position: absolute;
  inset: 45% max(1.5rem, env(safe-area-inset-right)) auto max(1.5rem, env(safe-area-inset-left));
  text-align: center;
  color: #fff;
}
@media (prefers-reduced-motion: reduce) {
  #mypremiereplus-preview .project-image-scene img { will-change: auto; }
}
