.lightbox-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 220px;
    padding: 1rem;
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at top, rgba(139, 92, 246, 0.18), transparent 40%),
        rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    touch-action: none; /* let JS handle all touch */
}

#lightbox-img {
    transform-origin: center center;
    transition: transform 0.13s ease, filter 0.2s ease;
    will-change: transform;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.75rem;
    box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

/* hint badge — "Pinch or double-tap to zoom" */
#lightbox-zoom-hint {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15,23,42,0.72);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.55);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 999px;
    pointer-events: none;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.4s ease;
}
#lightbox-zoom-hint.hidden { opacity: 0; }

.lightbox-control {
    width: 2.45rem;
    height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: background 0.15s, border-color 0.15s;
}

.lightbox-control:hover {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(30, 41, 59, 0.9);
}

/* gallery / campus / achievement images — show zoom cursor on hover */
.group\/gallery img,
.group\/campus img,
.achieve-media-img {
    cursor: zoom-in;
}
