.portal-popup-banners-lock {
    overflow: hidden;
}
.portal-popup-banners-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.portal-popup-banners-backdrop {
    position: absolute;
    inset: 0;
    background: #000;
}
.portal-popup-banners-modal {
    position: relative;
    display: inline-block;
    width: auto;
    max-width: min(var(--portal-popup-width, 720px), calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    border-radius: 12px;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
    overflow: visible;
    background: transparent;
    animation: portalPopupBannersIn .18s ease-out;
}
.portal-popup-banners-link {
    display: inline-block;
    line-height: 0;
}
.portal-popup-banners-image {
    display: block;
    width: auto;
    max-width: min(var(--portal-popup-width, 720px), calc(100vw - 40px));
    height: auto;
    max-height: calc(100vh - 60px);
    object-fit: contain;
    border-radius: 12px;
}
.portal-popup-banners-controls {
    position: absolute;
    top: -14px;
    right: -14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    z-index: 2;
}
.portal-popup-banners-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.portal-popup-banners-close:hover,
.portal-popup-banners-close:focus {
    background: #f2f2f2;
    outline: none;
}
@keyframes portalPopupBannersIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
    .portal-popup-banners-overlay {
        padding: 12px;
    }
    .portal-popup-banners-modal {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }
    .portal-popup-banners-image {
        max-width: calc(100vw - 24px);
    }
    .portal-popup-banners-controls {
        top: -10px;
        right: -10px;
        gap: 6px;
    }
    .portal-popup-banners-close {
        width: 30px;
        height: 30px;
        font-size: 21px;
    }
}
