#jwe-bf-popup:not([open]) { display: none; }
#jwe-bf-popup {
    position: fixed; inset: 0; z-index: 999999; margin: auto; box-sizing: content-box;
    width: min(440px, 85vw, max(220px, calc(100dvh - 166px))); height: fit-content;
    max-width: none; max-height: calc(100dvh - 64px); padding: 16px; border: 0;
    background: transparent; color: white; overflow: auto;
}
#jwe-bf-popup::backdrop { background: rgba(4, 1, 12, .83); }
#jwe-bf-popup form { margin: 0; padding: 0; }
#jwe-bf-popup .jwe-bf-close {
    position: absolute; top: 0; right: 0; z-index: 1; display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0; border: 2px solid white; border-radius: 50%;
    color: white; background: #130b24; font: 28px/1 Arial, sans-serif; cursor: pointer;
}
#jwe-bf-popup .jwe-bf-offer-link { display: block; color: #161016; text-decoration: none; background: #ffd800; box-shadow: 0 14px 64px #0009; }
#jwe-bf-popup img { width: 100%; height: auto; display: block; margin: 0; }
#jwe-bf-popup .jwe-bf-offer-link span { display: block; padding: 12px; text-align: center; font: 800 18px/1.3 Montserrat, Arial, sans-serif; text-transform: uppercase; }
#jwe-bf-popup :focus-visible { outline: 3px solid white; outline-offset: 3px; }
