/* Dv285: single consistent frosted-glass colour for the ship photo viewer.
   Preserve the site's existing image, stripe background, sizes and navigation. */
html body.project-page #galleryModal {
  --viewer-panel: rgba(30, 30, 30, .62);
  --viewer-panel-hover: rgba(42, 42, 42, .78);
  --viewer-border: rgba(255,255,255,.19);
}
html body.project-page #galleryModal .modal-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}
html body.project-page #galleryModal .modal-top,
html body.project-page #galleryModal .modal-bottom,
html body.project-page #galleryModal .modal-arrow,
html body.project-page #galleryModal .modal-close,
html body.project-page #galleryModal .zoom-controls button {
  background: var(--viewer-panel) !important;
  background-color: var(--viewer-panel) !important;
  color: #f5f5f5 !important;
  border-color: var(--viewer-border) !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
}
html body.project-page #galleryModal .modal-top,
html body.project-page #galleryModal .modal-bottom {
  border-radius: 12px !important;
}
html body.project-page #galleryModal .modal-arrow:hover,
html body.project-page #galleryModal .modal-arrow:focus-visible,
html body.project-page #galleryModal .modal-close:hover,
html body.project-page #galleryModal .modal-close:focus-visible,
html body.project-page #galleryModal .zoom-controls button:hover,
html body.project-page #galleryModal .zoom-controls button:focus-visible {
  background: var(--viewer-panel-hover) !important;
  background-color: var(--viewer-panel-hover) !important;
  color: #fff !important;
}
