html.dealio-offer-popup-open { overflow: hidden; }
.dealio-offer-popup:not([open]) { display: none; }
.dealio-offer-popup {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    width: min(420px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 8px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 2px solid #fff;
    border-radius: 24px;
    background: #e6007e;
    color: #221724;
    box-shadow: 0 24px 90px #280b3259;
    font-family: inherit;
    line-height: 1.35;
}
.dealio-offer-popup::backdrop { background: #140a26a6; }
.dealio-offer-popup .dealio-offer-popup__close {
    position: sticky;
    top: 0;
    z-index: 1;
    float: right;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0 0 -44px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    color: #79104d;
    font-size: 30px;
    line-height: 38px;
    box-shadow: 0 3px 12px #52022c33;
    cursor: pointer;
}
.dealio-offer-popup .dealio-offer-popup__art { display: block; width: 100%; height: auto; border-radius: 16px; }
.dealio-offer-popup__offers { display: grid; gap: 8px; margin-top: 8px; }
.dealio-offer-popup .dealio-offer-popup__offer {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border: 2px solid #fff;
    border-radius: 17px;
    background: #fffdf5;
    color: #221724;
    text-align: center;
    text-decoration: none;
}
.dealio-offer-popup__offer strong { font-size: 20px; font-weight: 800; line-height: 1.2; text-wrap: balance; }
.dealio-offer-popup__description { font-size: 12px; color: #665a60; }
.dealio-offer-popup__cta {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    background: #ffe500;
    color: #191206;
    font-size: 16px;
    font-weight: 800;
}
.dealio-offer-popup .dealio-offer-popup__offer:hover { background: #fff4cb; border-color: #ffe500; color: #221724; }
.dealio-offer-popup a:focus-visible, .dealio-offer-popup button:focus-visible { outline: 3px solid #251949; outline-offset: -4px; }
.dealio-offer-popup .dealio-offer-popup__note { margin: 7px 0 1px; color: #fff; font-size: 10px; text-align: center; }
@media (max-width: 360px) {
    .dealio-offer-popup__offer strong { font-size: 18px; }
    .dealio-offer-popup .dealio-offer-popup__offer { padding: 10px; }
}
@media (max-height: 640px) {
    .dealio-offer-popup .dealio-offer-popup__art { max-height: 27vh; object-fit: contain; }
}
