#tsi-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: zoom-out;
}
.zoom {
    cursor: zoom-in;
}

#tsi-lightbox.open {
    display: flex;
}

.tsi-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

#tsi-lightbox-img {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    animation: tsi-zoom 0.3s ease;
}

@keyframes tsi-zoom {
    from { transform: scale(0.8); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
