.wx-reroll-promo {
    --wx-reroll-ink: #f1f7f5;
    --wx-reroll-muted: #aabbb6;
    --wx-reroll-green: #18d995;
    position: fixed;
    z-index: 9980;
    right: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100dvh - 44px);
    overflow: auto;
    color: var(--wx-reroll-ink);
    background: linear-gradient(145deg, #172821 0%, #101b1a 52%, #10151b 100%);
    border: 1px solid rgba(67, 213, 158, .32);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .42), 0 4px 14px rgba(4, 28, 21, .3);
    isolation: isolate;
    font-family: inherit;
    animation: wx-reroll-enter .38s cubic-bezier(.2, .8, .2, 1) both;
}

.wx-reroll-promo[hidden] {
    display: none;
}

.wx-reroll-promo__desktop-art {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #07140f;
}

.wx-reroll-promo__desktop-art::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(7, 20, 15, .18), transparent 35%);
}

.wx-reroll-promo__desktop-art img,
.wx-reroll-promo__mobile-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wx-reroll-promo__desktop-art img {
    position: absolute;
    inset: 0;
}

.wx-reroll-promo__body {
    min-width: 0;
    padding: 17px 16px 13px;
}

.wx-reroll-promo__close {
    position: absolute;
    z-index: 2;
    top: 8px;
    right: 8px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    color: #c3d3ce;
    background: rgba(7, 17, 15, .72);
    border: 1px solid rgba(231, 246, 239, .18);
    border-radius: 50%;
    font: inherit;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.wx-reroll-promo__close:hover {
    color: #fff;
    background: rgba(17, 44, 34, .96);
    transform: rotate(90deg);
}

.wx-reroll-promo__close:focus-visible,
.wx-reroll-promo__button:focus-visible {
    outline: 2px solid #a9f4d4;
    outline-offset: 3px;
}

.wx-reroll-promo__mobile-art {
    display: none;
}

.wx-reroll-promo__eyebrow {
    margin: 0 30px 3px 0;
    color: #75e7b9;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.wx-reroll-promo__copy h2 {
    margin: 0;
    color: var(--wx-reroll-ink);
    font-size: 20px;
    font-weight: 760;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.wx-reroll-promo__evidence {
    margin: 7px 0 12px;
    color: #ccdbd6;
    font-size: 12px;
    line-height: 1.45;
}

.wx-reroll-promo__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.wx-reroll-promo__button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 9px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.wx-reroll-promo__button:hover {
    transform: translateY(-1px);
}

.wx-reroll-promo__button--play {
    color: #062017;
    background: var(--wx-reroll-green);
    border: 1px solid var(--wx-reroll-green);
}

.wx-reroll-promo__button--play:hover {
    background: #50e8ad;
    border-color: #50e8ad;
}

.wx-reroll-promo__button--review {
    color: #e0f3eb;
    background: rgba(12, 24, 21, .45);
    border: 1px solid rgba(184, 224, 207, .48);
}

.wx-reroll-promo__button--review:hover {
    background: rgba(39, 73, 59, .7);
    border-color: rgba(194, 245, 219, .75);
}

.wx-reroll-promo__disclosure {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 10px 0 0;
    color: var(--wx-reroll-muted);
    font-size: 9px;
    line-height: 1.3;
}

@keyframes wx-reroll-enter {
    from { opacity: 0; transform: translate3d(0, 12px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 600px) {
    .wx-reroll-promo {
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 10px;
        width: 100%;
        max-width: none;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 14px 14px 0 0;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, .34);
        animation-name: wx-reroll-enter-mobile;
    }

    .wx-reroll-promo__desktop-art {
        display: none;
    }

    .wx-reroll-promo__body {
        display: contents;
    }

    .wx-reroll-promo__copy {
        display: grid;
        min-width: 0;
        grid-column: 2;
        grid-template-rows: auto auto;
        align-content: center;
        padding-right: 42px;
        min-height: 44px;
    }

    .wx-reroll-promo__mobile-art {
        display: block;
        grid-column: 1;
        grid-row: 1;
        width: 44px;
        height: 40px;
        overflow: hidden;
        align-self: center;
        border: 1px solid rgba(81, 222, 164, .45);
        border-radius: 8px;
    }

    .wx-reroll-promo__eyebrow {
        margin: 0 0 1px;
        font-size: 9px;
    }

    .wx-reroll-promo__copy h2 {
        font-size: 17px;
    }

    .wx-reroll-promo__evidence {
        display: none;
    }

    .wx-reroll-promo__disclosure {
        grid-column: 1 / -1;
        margin-top: 6px;
        font-size: 9px;
    }

    .wx-reroll-promo__actions {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 7px;
        margin-top: 6px;
    }

    .wx-reroll-promo__button {
        min-width: 0;
        min-height: 44px;
        padding: 8px 11px;
        font-size: 13px;
    }

    .wx-reroll-promo__close {
        top: 6px;
        right: 7px;
        width: 44px;
        height: 44px;
        font-size: 19px;
    }
}

@media (max-width: 365px) {
    .wx-reroll-promo {
        padding-right: 10px;
        padding-left: 10px;
    }

    .wx-reroll-promo__copy {
        padding-right: 38px;
    }

    .wx-reroll-promo__mobile-art {
        width: 44px;
        height: 40px;
    }

    .wx-reroll-promo__button {
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 12px;
    }
}

@keyframes wx-reroll-enter-mobile {
    from { opacity: 0; transform: translate3d(0, 12px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .wx-reroll-promo,
    .wx-reroll-promo__close,
    .wx-reroll-promo__button {
        animation: none;
        transition: none;
    }
}
