body > .instant-offer-v2 {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483641 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: safe center !important;
    width: 100vw !important;
    height: 100dvh !important;
    overflow: auto !important;
    padding: calc(1rem + max(env(safe-area-inset-top, 0px), var(--maui-safe-area-top, 0px)))
        calc(1rem + env(safe-area-inset-right, 0px))
        calc(1rem + max(env(safe-area-inset-bottom, 0px), var(--maui-safe-area-bottom, 0px)))
        calc(1rem + env(safe-area-inset-left, 0px)) !important;
    background: radial-gradient(circle at 50% 0, #303c50, #111b2a 62%) !important;
    color: #f8f6f1 !important;
    font: 400 .7rem/1.5 system-ui, -apple-system, sans-serif !important;
}
body > .instant-offer-v2[hidden], .instant-offer-v2 [hidden] { display: none !important; }
.instant-offer-v2, .instant-offer-v2 * { box-sizing: border-box; }
.instant-offer-v2-card {
    width: min(100%, 28rem);
    padding: clamp(1.35rem, 4vw, 2rem);
    border: 1px solid #ffffff27;
    border-radius: 1.35rem;
    background: linear-gradient(155deg, #223047, #172335);
    box-shadow: 0 1.5rem 4rem #0007, inset 0 1px #ffffff22;
    text-align: center;
    animation: instantOfferV2Enter .35s ease-out both;
}
.instant-offer-v2-top { display: flex; justify-content: space-between; align-items: center; }
.instant-offer-v2-kicker { color: #e8cd94; font-size: .6rem !important; font-weight: 800; letter-spacing: .14em; }
.instant-offer-v2-symbol { color: #e8cd94; font-size: .6rem !important; }
.instant-offer-v2-art { position: relative; display: grid; place-items: center; width: 7.5rem; height: 7.5rem; margin: .8rem auto 1rem; color: #e8cd94; }
.instant-offer-v2-art span { position: absolute; border: 1px solid #e8cd9450; border-radius: 50%; animation: instantOfferV2Breathe 4s ease-in-out infinite; }
.instant-offer-v2-art span:first-child { inset: 3%; }
.instant-offer-v2-art span:nth-child(2) { inset: 20%; animation-delay: 1s; }
.instant-offer-v2-art i { font-size: .8rem !important; }
.instant-offer-v2 h2 { margin: 0; color: #fffdf8; font-size: .8rem !important; line-height: 1.18; letter-spacing: -.04em; }
.instant-offer-v2-subtitle { margin: .65rem 0 0; color: #bfcbd8; font-size: .7rem !important; }
.instant-offer-v2-summary { display: grid; gap: .25rem; margin: 1.5rem 0 0; padding: 1rem; border: 1px solid #ffffff24; border-radius: .85rem; background: #ffffff0b; }
.instant-offer-v2-role { color: #fff; font-size: .8rem !important; }
.instant-offer-v2-match { color: #bfcbd8; font-size: .65rem !important; }
.instant-offer-v2-terms { color: #f1d89f; font-size: .8rem !important; font-weight: 800; }
.instant-offer-v2-explanation { margin: 1rem 0 0; color: #cbd3df; font-size: .7rem !important; }
.instant-offer-v2-consent { display: flex; align-items: flex-start; gap: .65rem; margin-top: 1rem; padding: .85rem; border: 1px solid #e8cd9455; border-radius: .7rem; color: #f5e7c7; font-size: .7rem !important; text-align: left; }
.instant-offer-v2-consent input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: .1rem 0 0; accent-color: #e8cd94; }
.instant-offer-v2-actions { display: grid; gap: .65rem; margin-top: 1.3rem; }
.instant-offer-v2 button { min-height: 2.8rem; border-radius: .7rem; font: 750 .75rem system-ui, sans-serif !important; cursor: pointer; }
.instant-offer-v2 button:focus-visible, .instant-offer-v2 input:focus-visible { outline: 2px solid #f5dc9f; outline-offset: 3px; }
.instant-offer-v2 button:disabled { cursor: default; opacity: .55; }
.instant-offer-v2-accept { border: 1px solid #f3dba8; background: #ebd19a; color: #202c3c; }
.instant-offer-v2-reject { border: 1px solid #ffffff70; background: #ffffff12; color: #f8f6f1; }
.instant-offer-v2-close { margin-top: 1rem; padding: .55rem 1rem; border: 1px solid #ffffff50; background: transparent; color: #f8f6f1; }
.instant-offer-v2-message { min-height: 1.2rem; margin: .8rem 0 0; color: #f5dca3; font-size: .7rem !important; }
.instant-offer-v2[data-state="accepted"] .instant-offer-v2-art,
.instant-offer-v2[data-state="payment-pending"] .instant-offer-v2-art { color: #b4e1d0; }
.instant-offer-v2[data-state="processing"] .instant-offer-v2-art span { animation-duration: 2s; }
body:has(> .instant-offer-v2:not([hidden])) #pullRefreshIndicator { display: none !important; }
@keyframes instantOfferV2Enter { from { opacity: .6; transform: translateY(.5rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes instantOfferV2Breathe { 50% { opacity: .35; transform: scale(1.06); } }
@media (prefers-color-scheme: light) {
    body > .instant-offer-v2 { background: #e8edf2 !important; color: #172438 !important; }
    .instant-offer-v2-card { background: #fffefa; border-color: #26364b27; box-shadow: 0 1.5rem 3rem #26364b28; }
    .instant-offer-v2 h2, .instant-offer-v2-role { color: #172438; }
    .instant-offer-v2-subtitle, .instant-offer-v2-match, .instant-offer-v2-explanation { color: #546478; }
    .instant-offer-v2-summary { background: #e9edf2; border-color: #26364b20; }
    .instant-offer-v2-terms, .instant-offer-v2-kicker { color: #805b25; }
    .instant-offer-v2-consent { color: #293b4f; }
    .instant-offer-v2-reject, .instant-offer-v2-close { background: #fff; color: #233448; border-color: #26364b60; }
    .instant-offer-v2-message { color: #754e1e; }
}
@media (prefers-reduced-motion: reduce) {
    .instant-offer-v2 *, .instant-offer-v2 *::before { animation: none !important; transition: none !important; }
}

/* Scope the offer type scale above shared page and modal styles. */
body > .instant-offer-v2 .instant-offer-v2-card,
body > .instant-offer-v2 .instant-offer-v2-card * { font-size: .7rem !important; }
body > .instant-offer-v2 .instant-offer-v2-card :is(h2, .instant-offer-v2-role, .instant-offer-v2-terms, .instant-offer-v2-art i) { font-size: .8rem !important; }
body > .instant-offer-v2 .instant-offer-v2-card button { font-size: .75rem !important; }
body > .instant-offer-v2 .instant-offer-v2-card :is(.instant-offer-v2-kicker, .instant-offer-v2-symbol) { font-size: .6rem !important; }
body > .instant-offer-v2 .instant-offer-v2-card .instant-offer-v2-match { font-size: .65rem !important; }
