#asg-lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.35);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 99999;
    padding: 20px;
    box-sizing: border-box;
    color: inherit;
}

#asg-container {
    position: relative;
    text-align: center;
    max-width: 90vw;
    max-height: 90vh;
}

#asg-bg-blur {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(30px);
    z-index: 1;
    border-radius: 8px;
    transition: background-image 0.3s ease;
    opacity: 0.7;
    pointer-events: none;
}

#asg-img {
    position: relative;
    max-width: 100%;
    max-height: 80vh;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    border-radius: 8px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

#asg-caption {
    margin-top: 10px;
    font-size: 1.2em;
    font-style: italic;
    user-select: none;
    color: inherit;
}

#asg-close, #asg-prev, #asg-next {
    position: fixed;
    font-size: 3em;
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
    font-weight: bold;
    color: inherit;
    transition: opacity 0.3s ease;
}

#asg-close:hover, #asg-prev:hover, #asg-next:hover {
    opacity: 0.7;
}

#asg-close {
    top: 20px; right: 30px;
}

#asg-prev {
    top: 50%; left: 30px; transform: translateY(-50%);
}

#asg-next {
    top: 50%; right: 30px; transform: translateY(-50%);
}
