.tol-campaign-popup {
    display: none;
    width: min(520px, calc(100% - 28px));
    max-height: calc(100% - 28px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 12px;
    background: var(--tol-popup-background, #242045);
    color: var(--tol-popup-text, #fff);
    box-shadow: 0 22px 70px #160e2980;
}

.tol-campaign-popup[open] {
    display: block;
    overscroll-behavior: contain;
}

.tol-campaign-popup::backdrop {
    background: #17112c9c;
}

.tol-campaign-popup__panel {
    position: relative;
    padding: 44px clamp(21px, 5vw, 44px) 36px;
    border-inline-start: 4px solid #cf2284;
    background: linear-gradient(116deg, var(--tol-popup-background, #242045), var(--tol-popup-gradient, #44306c));
}

.tol-campaign-popup__close {
    position: absolute;
    top: 7px;
    right: 7px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.tol-campaign-popup__close span {
    color: inherit;
    font: 400 29px/1 system-ui, sans-serif;
}

.tol-campaign-popup__close:hover {
    background: #ffffff22;
}

.tol-campaign-popup :is(button, a):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.tol-campaign-popup .tol-campaign-popup__label {
    margin: 0 0 10px;
    color: inherit;
    font: 700 11px/1.5 sen, system-ui, sans-serif;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.tol-campaign-popup h2 {
    margin: 0;
    color: inherit;
    font: 400 clamp(35px, 7vw, 51px)/1.03 Georgia, "Times New Roman", serif;
    letter-spacing: -.045em;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.tol-campaign-popup .tol-campaign-popup__description {
    margin: 16px 0 0;
    color: inherit;
    font: 400 15px/1.5 sen, system-ui, sans-serif;
    overflow-wrap: anywhere;
}

.tol-campaign-popup .tol-campaign-popup__cta {
    display: inline-flex;
    min-height: 44px;
    max-width: 100%;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    margin-top: 22px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    font: 700 14px/1.3 sen, system-ui, sans-serif;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.tol-campaign-popup .tol-campaign-popup__cta span {
    color: inherit;
    font: inherit;
}

.tol-campaign-popup .tol-campaign-popup__cta:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tol-campaign-popup [hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: no-preference) {
    .tol-campaign-popup[open] {
        animation: tol-campaign-popup-enter .22s ease-out both;
    }
    @keyframes tol-campaign-popup-enter {
        from { opacity: 0; transform: translateY(7px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
