/* fancyBox v2 on Front's stacking scale (cortex-7n0h6in).

   The vendored jquery.fancybox.css carries fancyBox's own private 8010–8060
   band. What it expresses: the lightbox covers ALL page chrome (the fixed
   navbar is --ev-z-fixed), the image window sits over its scrim, and the
   loading spinner sits over everything. The page-level layers are restated
   here on the declared scale; this sheet must load after jquery.fancybox.css
   (equal specificity), which modules/features/includes/head.php guarantees.

   The 8040/8050 values left in the vendored file (close/prev/next controls,
   title) are deliberately untouched: they live inside .fancybox-wrap, a
   positioned stacking context, so they only order the lightbox's own parts. */
.fancybox-overlay {
    z-index: var(--ev-z-dialog-scrim);
}

.fancybox-wrap,
.fancybox-opened {
    z-index: var(--ev-z-dialog);
}

#fancybox-loading {
    z-index: var(--ev-z-feedback);
}
