/* Fixed viewport artwork; intentionally excludes the genuine NFT Gallery. */
body.portal:not(.pn-gallery-shell) {
  isolation: isolate;
}
body.portal:not(.pn-gallery-shell)::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: inherit;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  background-origin: inherit;
  background-clip: inherit;
  background-attachment: scroll;
  animation: none;
  transition: none;
  transform: none;
}
/* Stable large viewport prevents browser-toolbar motion from resizing the art. */
@media (max-width: 1099px), (pointer: coarse) {
  body.portal:not(.pn-gallery-shell)::after {
    bottom: auto;
    height: 100vh;
    height: 100lvh;
  }
}
