/* gs_lightbox.css — shared full-screen image lightbox (pairs with gs_lightbox.js) */
.gslb {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gslb.active { display: flex; }

.gslb-img-wrap {
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gslb-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.12s ease-out;
}

.gslb-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    z-index: 2;
}
.gslb-btn:hover { background: rgba(255, 255, 255, 0.18); }
.gslb-close { top: 18px; right: 22px; }
.gslb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.gslb-next { right: 18px; top: 50%; transform: translateY(-50%); }

.gslb-counter {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.gslb-zoom {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 12px;
}
.gslb-zoom-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}
.gslb-zoom-btn:hover { background: rgba(255, 255, 255, 0.12); }
.gslb-zoom-reset { font-size: 0.72rem; font-weight: 600; }
.gslb-zoom-level {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 44px;
    text-align: center;
}

@media (max-width: 640px) {
    .gslb-btn { width: 38px; height: 38px; font-size: 1.3rem; }
    .gslb-close { top: 12px; right: 14px; }
    .gslb-prev { left: 8px; }
    .gslb-next { right: 8px; }
}
