#ealc-lightbox {
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    border: 0;
    width: max-content;
    max-width: none;
    max-height: none;
    overflow: visible;
    background: transparent;
}

#ealc-lightbox:not([open]) {
    display: none;
}

#ealc-lightbox::backdrop {
    background: rgb(0 0 0 / 50%);
}

#ealc-art {
    display: block;
    width: auto;
    height: auto;
    max-width: min(432px, calc(100vw - 56px));
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
    border-radius: 8px;
    box-shadow: 0 0 20px rgb(0 0 0 / 30%);
}

#ealc-lightbox .ealc-close {
    position: absolute;
    top: -16px;
    right: -14px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #1c1c1c;
    color: #fff;
    font: bold 36px/1 Arial, sans-serif;
    cursor: pointer;
}
