/* Dv249: use a large rounded dark blurred panel behind the ship/model, like the reference. */
html body.project-page .modal,
html body.project-page .modal-stage,
html body.project-page .modal-pan {
  background: transparent !important;
}

/* Remove the blurred image-copy layer from Dv248. */
html body.project-page .modal-pan::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Add a large rounded panel behind the ship/model frame. */
html body.project-page .modal-pan {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
}
html body.project-page .modal-pan::before {
  content: '' !important;
  position: absolute !important;
  left: -5.5% !important;
  right: -5.5% !important;
  top: -6.5% !important;
  bottom: -6.5% !important;
  z-index: -1 !important;
  pointer-events: none !important;
  border-radius: 40px !important;
  background: rgba(20, 20, 22, .56) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.025),
    0 18px 48px rgba(0,0,0,.14) !important;
}

@media (max-width: 900px) {
  html body.project-page .modal-pan::before {
    left: -3.5% !important;
    right: -3.5% !important;
    top: -4.5% !important;
    bottom: -4.5% !important;
    border-radius: 26px !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }
}
