/* Dv286: match the ship viewer GUI to the site's hover blur treatment. */
html body.project-page #galleryModal {
  --viewer-hover-panel: rgba(30, 30, 30, .18);
  --viewer-hover-panel-strong: rgba(42, 42, 42, .26);
  --viewer-hover-border: rgba(255,255,255,.16);
}

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-hover-panel) !important;
  background-color: var(--viewer-hover-panel) !important;
  border: 1px solid var(--viewer-hover-border) !important;
  color: #eef3f6 !important;
  backdrop-filter: blur(22px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(120%) !important;
  box-shadow: none !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-hover-panel-strong) !important;
  background-color: var(--viewer-hover-panel-strong) !important;
  border-color: rgba(255,255,255,.22) !important;
  color: #ffffff !important;
  outline: none !important;
}

html body.project-page #galleryModal #modalTitle,
html body.project-page #galleryModal #modalCounter,
html body.project-page #galleryModal #zoomValue,
html body.project-page #galleryModal .modal-hint {
  color: #eef3f6 !important;
}
