/* Publisher waiting experience. All selectors are scoped to the v2 flag. */
body .match-publish-modal.is-urgent.is-urgent-v2 {
    --urgent-v2-ink: #f6f4ed;
    --urgent-v2-muted: #b8c1cb;
    --urgent-v2-line: #ffffff24;
    --urgent-v2-gold: #e6c987;
    background: #121b28 !important;
}
body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-header {
    background: #172232 !important;
    border-color: #ffffff1f !important;
}
body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-title h1,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-close-btn { color: #f6f4ed !important; }
body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-title small { color: #b8c1cb !important; }
body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-body {
    background: radial-gradient(circle at 50% 1%, #27354b, #121b28 38%) !important;
}
.match-urgent-v2,
.match-urgent-v2 * { box-sizing: border-box; }
body .match-publish-modal.is-urgent-v2 .match-urgent-v2 {
    --mp-text: var(--urgent-v2-ink);
    width: min(calc(100% - 1.5rem), 43rem);
    margin: clamp(.7rem, 3vh, 2rem) auto 2rem;
    padding: clamp(1.2rem, 4vw, 2.25rem);
    border: 1px solid var(--urgent-v2-line);
    border-radius: 1.5rem;
    background: linear-gradient(155deg, #1a2637, #151f2e 64%, #101a28);
    box-shadow: 0 1.25rem 3.5rem #0005, inset 0 1px #ffffff18;
    color: var(--urgent-v2-ink);
    font: 400 .7rem/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
.match-urgent-v2-kicker,
.match-urgent-v2-choice-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--urgent-v2-gold);
    font-size: .6rem !important;
    font-weight: 800;
    letter-spacing: .14em;
}
.match-urgent-v2-kicker::before { content: ''; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 .7rem #e6c98791; }
.match-urgent-v2-intro h2,
.match-urgent-v2-hero h2 {
    margin: .75rem 0 .55rem;
    color: #fffdf7;
    font-size: .8rem !important;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -.045em;
}
.match-urgent-v2-intro p,
.match-urgent-v2-hero p,
.match-urgent-v2-prompt-note {
    max-width: 34rem;
    margin: 0;
    color: var(--urgent-v2-muted);
    font-size: .7rem !important;
    line-height: 1.65;
}
.match-urgent-v2-prompt-art {
    position: relative;
    display: grid;
    place-items: center;
    width: min(18rem, 58vw);
    aspect-ratio: 1;
    margin: .9rem auto;
    color: #f4e7c9;
}
.match-urgent-v2-prompt-art span,
.match-urgent-v2-orbit span {
    position: absolute;
    border: 1px solid #e6c98742;
    border-radius: 50%;
    animation: urgentV2Breathe 4.5s ease-in-out infinite;
}
.match-urgent-v2-prompt-art span:nth-child(1), .match-urgent-v2-orbit span:nth-child(1) { inset: 14%; }
.match-urgent-v2-prompt-art span:nth-child(2), .match-urgent-v2-orbit span:nth-child(2) { inset: 27%; animation-delay: .65s; }
.match-urgent-v2-prompt-art span:nth-child(3), .match-urgent-v2-orbit span:nth-child(3) { inset: 39%; animation-delay: 1.3s; }
.match-urgent-v2-prompt-art i { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: #e6c98724; font-size: .8rem !important; }
.match-urgent-v2-prompt-note { padding: .85rem 1rem; border-left: 2px solid #e6c987; background: #e6c9870d; border-radius: 0 .65rem .65rem 0; }
.match-urgent-v2-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.match-urgent-v2-match { color: var(--urgent-v2-muted); font-size: .65rem !important; }
.match-urgent-v2-hero { display: grid; justify-items: center; padding: 1rem 0 1.55rem; text-align: center; }
.match-urgent-v2-hero p { max-width: 29rem; }
.match-urgent-v2-orbit { position: relative; display: grid; place-items: center; width: 8rem; aspect-ratio: 1; margin: .2rem 0 .8rem; color: var(--urgent-v2-gold); }
.match-urgent-v2-orbit i { font-size: .8rem !important; }
.match-urgent-v2.is-finished .match-urgent-v2-orbit span { animation: none; opacity: .35; }
.match-urgent-v2-connection { margin: .2rem 0 1rem; padding: .75rem .85rem; border: 1px solid #e6c98768; border-radius: .75rem; background: #e6c98712; color: #f5dfac; font-size: .7rem !important; }
.match-urgent-v2-details,
.match-urgent-v2-history { padding-top: 1.15rem; border-top: 1px solid var(--urgent-v2-line); }
.match-urgent-v2-history { margin-top: 1rem; }
.match-urgent-v2-details h3,
.match-urgent-v2-history h3 { margin: 0 0 .65rem; color: #f7f6f2; font-size: .75rem !important; font-weight: 750; }
.match-urgent-v2-needs,
.match-urgent-v2-events { display: grid; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.match-urgent-v2-needs li { display: flex; justify-content: space-between; align-items: baseline; gap: .7rem; padding: .65rem .8rem; border: 1px solid #ffffff16; border-radius: .65rem; background: #ffffff08; }
.match-urgent-v2-needs strong { color: #f8f8f5; font-size: .75rem !important; }
.match-urgent-v2-needs span { color: var(--urgent-v2-muted); font-size: .65rem !important; text-align: right; }
.match-urgent-v2-needs .is-awaiting-choice { border-color: #e6c98783; }
.match-urgent-v2-needs .is-awaiting-choice span { color: #f4dca7; }
.match-urgent-v2-needs .is-accepted span { color: #a8d9c2; }
.match-urgent-v2-events li { display: flex; align-items: baseline; gap: .75rem; color: var(--urgent-v2-muted); font-size: .65rem !important; }
.match-urgent-v2-events time { color: #e6c987; font-variant-numeric: tabular-nums; }
.match-urgent-v2-choices { display: grid; gap: .8rem; }
.match-urgent-v2-choice { padding: 1.15rem; border: 1px solid #e6c9877d; border-radius: 1rem; background: linear-gradient(150deg, #383246, #252b3d 65%); box-shadow: inset 0 1px #ffffff16; }
.match-urgent-v2-choice h3 { margin: .45rem 0 .35rem; color: #fff8e9; font-size: .8rem !important; line-height: 1.35; }
.match-urgent-v2-choice-desc { margin: 0 0 .85rem; color: #d1d1db; font-size: .7rem !important; }
.match-urgent-v2-amount-label { display: grid; gap: .4rem; margin: .8rem 0; color: #fff3d8; font-size: .7rem !important; font-weight: 650; }
.match-urgent-v2-amount { width: 100%; min-height: 2.8rem; padding: .6rem .8rem; border: 1px solid #e6c98782; border-radius: .65rem; outline: none; background: #151d2d; color: #fff; font: 600 .75rem system-ui, sans-serif !important; }
.match-urgent-v2-amount:focus-visible { outline: 2px solid #f4d99b; outline-offset: 2px; }
.match-urgent-v2-quote { margin: .9rem 0; padding: .85rem; border: 1px solid #ffffff30; border-radius: .7rem; background: #ffffff0b; }
.match-urgent-v2-quote strong { color: #fff7e5; font-size: .75rem !important; }
.match-urgent-v2-quote p { margin: .45rem 0 0; color: #d3d5dd; font-size: .65rem !important; line-height: 1.45; }
.match-urgent-v2-choice-actions,
.match-urgent-v2-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.3rem; }
.match-urgent-v2-choice-actions { margin-top: .8rem; }
.match-urgent-v2 button { min-height: 2.75rem; padding: .65rem 1rem; border-radius: .7rem; font: 700 .75rem system-ui, sans-serif !important; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.match-urgent-v2 button:hover:not(:disabled) { transform: translateY(-1px); }
.match-urgent-v2 button:focus-visible,
.match-urgent-v2-launcher:focus-visible { outline: 2px solid #f3d58e; outline-offset: 3px; }
.match-urgent-v2 button:disabled { cursor: default; opacity: .5; }
.match-urgent-v2-primary { border: 1px solid #f4dcaa; background: #ead19b; color: #232735; }
.match-urgent-v2-primary:hover:not(:disabled) { background: #f7e2b6; }
.match-urgent-v2-secondary { border: 1px solid #cad3df65; background: #ffffff13; color: #f6f6f4; }
.match-urgent-v2-tertiary { border: 1px solid transparent; background: transparent; color: #d0d7df; }
.match-urgent-v2-error,
.match-urgent-v2-choice-error { margin: .85rem 0 0; padding: .65rem .8rem; border: 1px solid #e8a09a80; border-radius: .6rem; background: #e8a09a19; color: #ffd4ce; font-size: .7rem !important; }
.match-urgent-v2 [hidden] { display: none !important; }
.match-urgent-v2-launcher { position: fixed; z-index: 1090; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(4.3rem + max(env(safe-area-inset-bottom, 0px), var(--maui-safe-area-bottom, 0px))); display: inline-flex; align-items: center; gap: .55rem; min-height: 2.8rem; padding: .6rem .9rem; border: 1px solid #e6c987a8; border-radius: 100rem; background: #243047; box-shadow: 0 .6rem 1.5rem #0005; color: #fff7e6; font: 750 .7rem system-ui, sans-serif !important; cursor: pointer; }
.match-urgent-v2-launcher-dot { width: .45rem; height: .45rem; border-radius: 50%; background: #e6c987; box-shadow: 0 0 .65rem #e6c987a8; }
.match-urgent-v2-launcher[hidden] { display: none; }
body.match-publish-open .match-urgent-v2-launcher { display: none; }
body:has(.match-publish-modal.is-urgent-v2) #pullRefreshIndicator { display: none !important; }

/* The match card remains readable in the existing page layout. */
body .match-urgent-entry { border-color: #d8c69b55 !important; background: linear-gradient(120deg, #172536, #243248 65%, #1b293b) !important; }
body .match-urgent-entry::after { opacity: .12; }
body .match-urgent-entry h3 { color: #f8f6f1 !important; }
body .match-urgent-entry p,
body .match-urgent-entry-status { color: #c9d1d8 !important; }
body .match-urgent-entry-eyebrow { color: #e6c987 !important; }
body .match-urgent-entry-facts span { border-color: #e6c98744; background: #e6c98710; color: #e5e2da !important; }
body .match-urgent-entry .match-urgent-entry-button { border-color: #e9d39f !important; background: #ead19b !important; color: #263043 !important; box-shadow: none !important; }
body .match-urgent-entry .match-urgent-entry-button::before { display: none !important; }
body .match-urgent-entry .match-urgent-entry-button:disabled { border-color: #ffffff28 !important; background: #3d4a59 !important; color: #d9dde2 !important; }
body .match-urgent-entry-atmosphere { opacity: .25; }

@keyframes urgentV2Breathe { 50% { opacity: .35; transform: scale(1.045); } }
@media (max-width: 600px) {
    body .match-publish-modal.is-urgent-v2 .match-urgent-v2 { width: calc(100% - 1rem); margin: .5rem auto 1rem; padding: 1.15rem; border-radius: 1.15rem; }
    body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 .match-urgent-v2-intro h2,
    body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 .match-urgent-v2-hero h2 { font-size: .8rem !important; }
    .match-urgent-v2-choice-actions button, .match-urgent-v2-actions button { flex: 1 1 100%; }
    .match-urgent-v2-needs li { align-items: flex-start; flex-direction: column; gap: .15rem; }
    .match-urgent-v2-needs span { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .match-urgent-v2 *, .match-urgent-v2-launcher * { animation: none !important; transition: none !important; }
}
@media (prefers-color-scheme: light) {
    body .match-publish-modal.is-urgent.is-urgent-v2 { --urgent-v2-ink: #172332; --urgent-v2-muted: #586576; --urgent-v2-line: #25324725; --urgent-v2-gold: #876229; background: #e8ebef !important; }
    body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-header { background: #f4f3ef !important; border-color: #2532472d !important; }
    body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-title h1,
    body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-close-btn { color: #1e2a37 !important; }
    body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-title small { color: #617083 !important; }
    body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-body { background: #e8ebef !important; }
    body .match-publish-modal.is-urgent-v2 .match-urgent-v2 { background: linear-gradient(145deg, #fffefa, #f3f5f7) !important; color: #172332; border-color: #25324726; box-shadow: 0 1rem 2.5rem #2430401c; }
    .match-urgent-v2-intro h2, .match-urgent-v2-hero h2, .match-urgent-v2-choice h3,
    .match-urgent-v2-details h3, .match-urgent-v2-history h3,
    .match-urgent-v2-needs strong { color: #1a2737 !important; }
    .match-urgent-v2-prompt-note, .match-urgent-v2-needs li, .match-urgent-v2-quote { background: #e8edf3; border-color: #1b2b3d22; }
    .match-urgent-v2-choice { background: #f8f5ee; border-color: #b88c4f77; }
    .match-urgent-v2-choice-desc, .match-urgent-v2-quote p { color: #526172; }
    .match-urgent-v2-amount-label, .match-urgent-v2-quote strong { color: #253247; }
    .match-urgent-v2-amount { background: #fff; color: #1a2737; }
    .match-urgent-v2-secondary { background: #fff; color: #253247; border-color: #25324755; }
    .match-urgent-v2-tertiary { color: #38495e; }
    .match-urgent-v2-connection { color: #644614; }
    .match-urgent-v2-error, .match-urgent-v2-choice-error { color: #8b2621; }
}

/* Keep the entire current urgent flow within the requested type scale, even when page CSS loads later. */
body .match-publish-modal.is-urgent.is-urgent-v2,
body .match-publish-modal.is-urgent.is-urgent-v2 *,
body > .match-urgent-v2-launcher,
body > .match-urgent-v2-launcher * { font-size: .7rem !important; }
body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-title h1,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 :is(.match-urgent-v2-intro, .match-urgent-v2-hero) h2,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 .match-urgent-v2-choice h3,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 :is(.match-urgent-v2-prompt-art, .match-urgent-v2-orbit) i { font-size: .8rem !important; }
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 :is(.match-urgent-v2-details, .match-urgent-v2-history) h3,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 .match-urgent-v2-needs strong,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 .match-urgent-v2-amount,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 button { font-size: .75rem !important; }
body .match-publish-modal.is-urgent.is-urgent-v2 .match-publish-modal-title small,
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 :is(.match-urgent-v2-kicker, .match-urgent-v2-choice-kicker) { font-size: .6rem !important; }
body .match-publish-modal.is-urgent.is-urgent-v2 .match-urgent-v2 :is(.match-urgent-v2-match, .match-urgent-v2-needs span, .match-urgent-v2-events li, .match-urgent-v2-quote p) { font-size: .65rem !important; }
