#psng-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#psng-lb.psng-lb-open {
    display: flex;
}

#psng-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .92);
}

#psng-lb-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 92vw;
    max-height: 92vh;
}

#psng-lb-img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: cover !important;
    border-radius: 4px;
    opacity: 0;
    transition: opacity .25s ease;
}

#psng-lb-img.psng-lb-loaded {
    opacity: 1;
}

#psng-lb-counter {
    margin-top: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-family: sans-serif;
}

#psng-lb-close,
#psng-lb-prev,
#psng-lb-next {
    position: fixed;
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .2s;
}

#psng-lb-close:hover,
#psng-lb-prev:hover,
#psng-lb-next:hover {
    background: rgba(255, 255, 255, .25);
}

#psng-lb-close {
    top: 16px;
    right: 16px;
    font-size: 16px;
}

#psng-lb-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

#psng-lb-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}