#fultio-popup-banner {
    position: fixed;
    inset: 0;
    margin: auto;
    min-width: 64px;
    min-height: 64px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 64px rgb(0 0 0 / 28%);
}

#fultio-popup-banner:not([open]) {
    display: none;
}

#fultio-popup-banner::backdrop {
    background: rgb(0 0 0 / 62%);
}

#fultio-popup-banner a,
#fultio-popup-banner picture,
#fultio-popup-banner img {
    display: block;
}

#fultio-popup-banner img {
    width: min(var(--popup-image-width), 760px, calc(100vw - 32px), calc((100vh - 32px) * var(--popup-image-ratio)));
    width: min(var(--popup-image-width), 760px, calc(100vw - 32px), calc((100dvh - 32px) * var(--popup-image-ratio)));
    height: auto;
    margin-inline: auto;
}

#fultio-popup-banner button {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #1b1b1b;
    font: 28px/1 system-ui, sans-serif;
    cursor: pointer;
}

#fultio-popup-banner button:focus-visible,
#fultio-popup-banner a:focus-visible {
    outline: 3px solid #2356ac;
    outline-offset: -3px;
}
