/* lightbox.css — 경량 이미지 라이트박스 (lightbox.js 전용) */

.lb-zoomable { cursor: zoom-in; }

.lb-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 26, 0.92);
}
.lb-overlay.lb-open { display: flex; }
body.lb-noscroll { overflow: hidden; }

.lb-figure {
    margin: 0;
    max-width: 90vw;
    max-height: 88vh;
    text-align: center;
}
.lb-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
    cursor: default;
}
.lb-caption {
    margin-top: 10px;
    color: #cfd3dc;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-all;
}

.lb-btn {
    position: absolute;
    z-index: 1;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.22); }

.lb-close { top: 18px; right: 18px; font-size: 28px; }
.lb-prev  { left: 14px;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 14px; top: 50%; transform: translateY(-50%); }

.lb-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #aeb4c2;
    font-size: 13px;
    letter-spacing: 1px;
}

@media (max-width: 640px) {
    .lb-prev { left: 6px; }
    .lb-next { right: 6px; }
    .lb-btn  { width: 38px; height: 38px; }
}
