/* The landing's picture viewer (landing/zoom.js on top of GLightbox): the same dark look on every page —
   no white caption box, a strip of picture names under the picture on wider screens, a "3 / 9" counter
   on phones. Loaded by every page that includes zoom.js. */

/* The Core chat widget sits above everything; hide it while a screenshot is open full size. */
body.glightbox-open #acw-root { display: none; }
/* Picture-name strip (built by zoom.js) replaces GLightbox's caption. */
.hv2-lb .gslide-description { display: none !important; }
.hv2-lb .gslide-image img { max-height: calc(100vh - 140px) !important; }
.hv2-lb-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 14px;
    width: fit-content;
    margin: 0 auto;
    z-index: 999999;
    display: flex;
    gap: 4px;
    max-width: calc(100vw - 24px);
    overflow-x: auto;
    padding: 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    font-family: 'Archivo', system-ui, sans-serif;
}
.hv2-lb-nav button {
    flex: none;
    min-height: 40px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #e3e9ef;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.hv2-lb-nav button:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.hv2-lb-nav button.is-active { background: #ffffff; color: #14273a; }
.hv2-lb-nav button:focus-visible { outline: 2px solid #3cc06e; outline-offset: 2px; }

/* A single picture: its name as one pill (no jumping). */
.hv2-lb-nav--single button { cursor: default; }
.hv2-lb-nav--single button.is-active { background: rgba(255, 255, 255, 0.14); color: #ffffff; }

/* Lightbox on phones (landing/zoom.js): no strip of screen names — a "3 / 9" counter instead, and the
   picture gets the height the strip used to take. */
.hv2-lb-count { display: none; position: absolute; top: 16px; left: 16px; z-index: 999999; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #ffffff; font: 700 15px/1.2 'Archivo', system-ui, sans-serif; font-variant-numeric: tabular-nums; }
@media (max-width: 767.98px) {
    .hv2-lb-nav { display: none !important; }
    .hv2-lb-count { display: block; }
    .hv2-lb .gslide-image img { max-height: calc(100vh - 90px) !important; }
}
/* HTML content in the lightbox (the SMS phone): no white box around it. */
.gslide-inline:has(.hv2-zoom-inline), .ginlined-content.hv2-zoom-inline { background: transparent; padding: 0; box-shadow: none; }
.ginlined-content.hv2-zoom-inline .hv2-phone { margin: 0 auto; max-width: 380px; }
/* One picture: no previous / next arrows. */
.hv2-lb--single .gprev, .hv2-lb--single .gnext { display: none !important; }
