/* MSB Subscription Growth Center 1.1.3 */
.msb-subscription-toast .msb-growth-unlock-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 12px 0 2px;
}
.msb-subscription-toast .msb-growth-unlock-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    background: rgba(255,255,255,.045);
    color: var(--text-sec, #b3b3b3);
    font-size: 10.5px;
    line-height: 1.35;
    white-space: nowrap;
}
.msb-subscription-toast .msb-growth-unlock-meta > span i { color: #1ed760; }
.msb-subscription-toast .msb-growth-unlock-meta > span.is-resume {
    border-color: rgba(30,215,96,.20);
    background: rgba(30,215,96,.07);
    color: #d9fbe5;
}

.msb-growth-context-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 10px 0 16px;
    padding: 12px 14px;
    border: 1px solid rgba(30,215,96,.22);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(30,215,96,.08), rgba(30,215,96,.025));
    color: var(--text, #fff);
}
.msb-growth-context-icon,
.msb-growth-success-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(30,215,96,.12);
    color: #1ed760;
    border: 1px solid rgba(30,215,96,.18);
    flex: 0 0 auto;
}
.msb-growth-context-copy { min-width: 0; }
.msb-growth-context-copy strong { display: block; font-size: 13px; font-weight: 800; margin-bottom: 3px; }
.msb-growth-context-copy span { display: block; color: var(--text-sec, #b3b3b3); font-size: 11px; line-height: 1.65; }
.msb-growth-resume-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(30,215,96,.10);
    color: #7af2a4;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.msb-growth-success-resume {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    border: 1px solid rgba(30,215,96,.22);
    border-radius: 16px;
    background: rgba(30,215,96,.055);
}
.msb-growth-success-resume > div:nth-child(2) { min-width: 0; }
.msb-growth-success-resume strong { display:block; font-size:12.5px; margin-bottom:3px; }
.msb-growth-success-resume span { display:block; color:var(--text-sec,#b3b3b3); font-size:10.5px; }
.msb-growth-resume-now {
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(30,215,96,.24);
    border-radius: 11px;
    background: #1ed760;
    color: #061208;
    font: inherit;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.msb-growth-resume-now:hover { filter: brightness(1.04); }

html[dir="ltr"] .msb-growth-context-panel,
html[dir="ltr"] .msb-growth-success-resume { direction: ltr; text-align: left; }
html[dir="rtl"] .msb-growth-context-panel,
html[dir="rtl"] .msb-growth-success-resume { direction: rtl; text-align: right; }

@media (max-width: 640px) {
    .msb-subscription-toast .msb-growth-unlock-meta { gap: 6px; }
    .msb-subscription-toast .msb-growth-unlock-meta > span { font-size: 9.8px; padding: 5px 8px; }
    .msb-growth-context-panel { grid-template-columns: auto minmax(0,1fr); margin: 8px 0 13px; padding: 11px; border-radius: 14px; }
    .msb-growth-resume-badge { grid-column: 2; justify-self: start; }
    .msb-growth-success-resume { grid-template-columns: auto minmax(0,1fr); border-radius: 14px; }
    .msb-growth-resume-now { grid-column: 1 / -1; width: 100%; }
}

/* ===== 1.1.1 — SVG icons + full Premium value promise ===== */
.msb-growth-svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    vertical-align: -0.12em;
    overflow: visible;
}
.msb-subscription-toast .msb-toast-icon .msb-growth-svg-icon {
    width: 28px;
    height: 28px;
    color: #07130b;
    stroke-width: 1.8;
}
.msb-subscription-toast .msb-toast-subscribe .msb-growth-svg-icon {
    width: 15px;
    height: 15px;
    margin-inline-end: 5px;
    color: currentColor;
}
.msb-growth-value-promise {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 2px;
    padding: 9px 11px;
    border: 1px solid rgba(30,215,96,.18);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30,215,96,.105), rgba(30,215,96,.035));
    color: #e9fff0;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.65;
}
.msb-growth-value-promise .msb-growth-svg-icon {
    width: 16px;
    height: 16px;
    color: #1ed760;
}
.msb-subscription-toast .msb-growth-unlock-meta .msb-growth-svg-icon {
    width: 12px;
    height: 12px;
    color: #1ed760;
}
.msb-growth-context-icon .msb-growth-svg-icon,
.msb-growth-success-icon .msb-growth-svg-icon {
    width: 21px;
    height: 21px;
    color: #1ed760;
}
.msb-growth-resume-badge .msb-growth-svg-icon {
    width: 12px;
    height: 12px;
}
.msb-growth-resume-now .msb-growth-svg-icon {
    width: 13px;
    height: 13px;
}

@media (max-width: 640px) {
    .msb-growth-value-promise {
        margin-top: 9px;
        padding: 8px 9px;
        border-radius: 11px;
        font-size: 10.2px;
    }
    .msb-subscription-toast .msb-toast-icon .msb-growth-svg-icon {
        width: 25px;
        height: 25px;
    }
}


/* ===== 1.1.2 — cleaner hierarchy, no repeated sales copy ===== */
.msb-subscription-toast .msb-toast-content {
    display: flex;
    flex-direction: column;
}
.msb-subscription-toast .msb-toast-title {
    margin-bottom: 5px;
    line-height: 1.45;
}
.msb-subscription-toast .msb-toast-message {
    margin: 0;
    line-height: 1.8;
    color: var(--text-sec, #b3b3b3);
}
.msb-growth-value-promise {
    margin: 11px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    justify-content: flex-start;
}
.msb-subscription-toast .msb-growth-unlock-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 7px;
    margin: 8px 0 0;
}
.msb-subscription-toast .msb-growth-unlock-meta > span {
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    white-space: normal;
    text-align: center;
}
.msb-subscription-toast .msb-toast-actions {
    margin-top: 12px;
}
html[dir="rtl"] .msb-subscription-toast .msb-toast-message,
html[dir="rtl"] .msb-growth-value-promise { text-align: right; direction: rtl; }
html[dir="ltr"] .msb-subscription-toast .msb-toast-message,
html[dir="ltr"] .msb-growth-value-promise { text-align: left; direction: ltr; }

@media (max-width: 640px) {
    .msb-growth-value-promise { margin-top: 9px; padding: 9px 10px; }
    .msb-subscription-toast .msb-growth-unlock-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }
    .msb-subscription-toast .msb-growth-unlock-meta > span {
        min-height: 29px;
        padding: 5px 7px;
    }
    .msb-subscription-toast .msb-growth-unlock-meta > span:only-child {
        grid-column: 1 / -1;
    }
}

/* ===== 1.1.3 — single-message sales hierarchy ===== */
.msb-subscription-toast .msb-growth-unlock-meta {
    display: none !important;
}
.msb-subscription-toast .msb-toast-title {
    margin-bottom: 7px;
    font-weight: 800;
    letter-spacing: -.01em;
}
.msb-subscription-toast .msb-toast-message {
    max-width: 48ch;
    line-height: 1.85;
}
.msb-growth-value-promise {
    margin-top: 12px;
    padding: 11px 13px;
    gap: 9px;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.75;
}
.msb-subscription-toast .msb-toast-actions {
    margin-top: 14px;
}
@media (max-width: 640px) {
    .msb-growth-value-promise {
        margin-top: 10px;
        padding: 10px 11px;
        font-size: 10.5px;
    }
    .msb-subscription-toast .msb-toast-actions {
        margin-top: 12px;
    }
}

/* ===== 1.3.0 — Download Conversion Engine (no-block, no-request modal CTA) ===== */
#downloadPopup .msb-dce-card {
    position: relative;
    display: grid;
    gap: 10px;
    margin: 0 0 11px;
    padding: 12px;
    border: 1px solid rgba(30,215,96,.22);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(30,215,96,.10), rgba(30,215,96,.035));
    color: var(--text, #fff);
    overflow: hidden;
    box-sizing: border-box;
}
#downloadPopup .msb-dce-card::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: rgba(30,215,96,.08);
    transform: translate(-34%, -38%);
    pointer-events: none;
}
#downloadPopup .msb-dce-card.is-member {
    border-color: rgba(255,193,7,.28);
    background: linear-gradient(135deg, rgba(255,193,7,.09), rgba(255,193,7,.025));
}
#downloadPopup .msb-dce-card.is-member::before { background: rgba(255,193,7,.07); }
#downloadPopup .msb-dce-copy { position: relative; z-index: 1; display: grid; gap: 4px; min-width: 0; }
#downloadPopup .msb-dce-copy strong { font-size: 13px; font-weight: 900; line-height: 1.55; color: var(--text, #fff); }
#downloadPopup .msb-dce-copy span { font-size: 10.5px; font-weight: 600; line-height: 1.75; color: var(--text-sec, #aaa); }
#downloadPopup .msb-dce-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; }
#downloadPopup .msb-dce-btn {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid transparent;
    font: 800 10.5px/1 inherit;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    box-sizing: border-box;
}
#downloadPopup .msb-dce-btn .msb-growth-svg-icon { width: 15px; height: 15px; flex: 0 0 15px; }
#downloadPopup .msb-dce-btn.is-primary { background: #1ed760; color: #06180c; box-shadow: 0 7px 18px rgba(30,215,96,.14); }
#downloadPopup .msb-dce-card.is-member .msb-dce-btn.is-primary { background: #ffd54f; color: #201600; box-shadow: 0 7px 18px rgba(255,193,7,.12); }
#downloadPopup .msb-dce-btn.is-secondary { background: rgba(255,255,255,.035); border-color: var(--border, rgba(255,255,255,.10)); color: var(--text, #fff); }
#downloadPopup .msb-dce-dismiss {
    position: absolute;
    z-index: 3;
    inset-block-start: 7px;
    inset-inline-end: 7px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-sec, #aaa);
    font: 700 20px/1 Arial, sans-serif;
    cursor: pointer;
    opacity: .75;
}
#downloadPopup .msb-dce-dismiss:hover { opacity: 1; background: rgba(127,127,127,.08); }
#downloadPopup .msb-dce-after-download { min-height: 0; color: #43de79; font-size: 9.5px; line-height: 1.6; font-weight: 700; }
#downloadPopup .msb-dce-after-download:empty { display: none; }
html[dir="rtl"] #downloadPopup .msb-dce-card { direction: rtl; text-align: right; }
html[dir="ltr"] #downloadPopup .msb-dce-card { direction: ltr; text-align: left; }
html[data-theme="light"] #downloadPopup .msb-dce-card {
    background: linear-gradient(135deg, rgba(30,160,83,.10), rgba(30,160,83,.025));
    border-color: rgba(24,150,76,.20);
}
html[data-theme="light"] #downloadPopup .msb-dce-btn.is-secondary { background: rgba(10,20,15,.025); }

/* 1.3.21 — one install surface at a time.
 * Fallback 1: explicit runtime state class/attribute. This works even on browsers without :has(). */
html.msb-growth-install-nudge-open #msbPwaInstallBtn,
body.msb-growth-install-nudge-open #msbPwaInstallBtn,
html[data-msb-growth-install-nudge-open="1"] #msbPwaInstallBtn,
html.msb-growth-install-nudge-open .msb-pwa-install-btn,
html.msb-growth-install-nudge-open .msb-pwa-install-btn-floating,
html.msb-growth-install-nudge-open .msb-pwa-install-prompt,
html.msb-growth-install-nudge-open .msb-pwa-install-button,
html.msb-growth-install-nudge-open [data-msb-pwa-install],
html.msb-growth-install-nudge-open [data-msb-install-hub],
body.msb-growth-install-nudge-open .msb-pwa-install-btn,
body.msb-growth-install-nudge-open .msb-pwa-install-btn-floating,
body.msb-growth-install-nudge-open .msb-pwa-install-prompt,
body.msb-growth-install-nudge-open .msb-pwa-install-button,
body.msb-growth-install-nudge-open [data-msb-pwa-install],
body.msb-growth-install-nudge-open [data-msb-install-hub],
html.msb-growth-install-nudge-open .msb-back-to-top,
body.msb-growth-install-nudge-open .msb-back-to-top {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
}

/* Fallback 2: DOM itself is authoritative.
 * If cached JS created the nudge but did not set the new root class, modern Chrome/Safari/Firefox
 * still suppress every known PWA install surface as soon as the nudge exists. Keep this rule
 * separate from the fallback above so older browsers do not invalidate the class-based rule. */
html:has(.msb-dce-install-nudge) #msbPwaInstallBtn,
html:has(.msb-dce-install-nudge) .msb-pwa-install-btn,
html:has(.msb-dce-install-nudge) .msb-pwa-install-btn-floating,
html:has(.msb-dce-install-nudge) .msb-pwa-install-prompt,
html:has(.msb-dce-install-nudge) .msb-pwa-install-button,
html:has(.msb-dce-install-nudge) [data-msb-pwa-install],
html:has(.msb-dce-install-nudge) [data-msb-install-hub],
html:has(.msb-dce-install-nudge) .msb-back-to-top {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    animation: none !important;
}

/* Desktop contract: the calculated bottom clearance tracks the real #newPlayer top edge.
 * No hard-coded player height is assumed. */
@media (min-width: 992px) {
    .msb-dce-install-nudge {
        width: min(396px, calc(100vw - 32px)) !important;
        inset-inline-end: 16px !important;
    }
}
@media (max-width: 520px) {
    #downloadPopup .msb-dce-card { padding: 11px; gap: 9px; border-radius: 13px; }
    #downloadPopup .msb-dce-copy strong { font-size: 12px; }
    #downloadPopup .msb-dce-copy span { font-size: 10px; line-height: 1.7; }
    #downloadPopup .msb-dce-actions { display: grid; grid-template-columns: minmax(0,1fr) max-content; }
    #downloadPopup .msb-dce-btn { min-height: 33px; padding-inline: 9px; }
    #downloadPopup .msb-dce-btn.is-primary:only-child { grid-column: 1 / -1; }
}


/* ===== 1.3.1 — Compact high-conversion download CTA ===== */
#downloadPopup .msb-dce-card,
#downloadPopup .msb-dce-card *,
#downloadPopup .msb-dce-btn,
#downloadPopup .msb-dce-btn * {
    font-family: inherit !important;
}
#downloadPopup .msb-dce-card {
    padding: 10px 11px;
    gap: 7px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(30,215,96,.085), rgba(30,215,96,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
#downloadPopup .msb-dce-copy { gap: 1px; padding-inline-end: 20px; }
#downloadPopup .msb-dce-copy strong {
    font-size: 12.5px;
    line-height: 1.45;
    letter-spacing: -.1px;
}
#downloadPopup .msb-dce-copy span {
    font-size: 10px;
    line-height: 1.55;
    opacity: .92;
}
#downloadPopup .msb-dce-actions {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 6px;
}
#downloadPopup .msb-dce-btn {
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 10px;
    font: inherit !important;
    font-size: 11px;
    font-weight: 850;
    line-height: 1.25;
    white-space: nowrap;
}
#downloadPopup .msb-dce-btn.is-primary {
    min-width: 0;
    justify-content: center;
}
#downloadPopup .msb-dce-btn.is-secondary {
    min-height: 30px;
    padding-inline: 9px;
    border-color: transparent;
    background: rgba(255,255,255,.045);
    box-shadow: none;
    font-size: 10.5px;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant="install-first"] .msb-dce-btn.is-primary {
    min-height: 38px;
    font-size: 11.5px;
    box-shadow: 0 8px 20px rgba(30,215,96,.17);
}
#downloadPopup .msb-dce-dismiss {
    width: 24px;
    height: 24px;
    inset-block-start: 7px;
    inset-inline-end: 7px;
    font: inherit !important;
    font-size: 16px;
}
#downloadPopup .msb-dce-after-download {
    font-family: inherit !important;
    font-size: 9.5px;
    line-height: 1.3;
}
#downloadPopup .download-popup-item .quality {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
#downloadPopup .msb-dce-free-badge {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(30,215,96,.11);
    border: 1px solid rgba(30,215,96,.25);
    color: #42df7b;
    font-family: inherit !important;
    font-size: 8.5px;
    font-weight: 850;
    line-height: 1;
    vertical-align: middle;
}
html[data-theme="light"] #downloadPopup .msb-dce-free-badge {
    background: rgba(16,160,72,.08);
    border-color: rgba(16,160,72,.20);
    color: #087a36;
}
@media (max-width: 480px) {
    #downloadPopup .msb-dce-card { padding: 9px 10px; gap: 6px; }
    #downloadPopup .msb-dce-copy strong { font-size: 12px; }
    #downloadPopup .msb-dce-copy span { font-size: 9.7px; line-height: 1.5; }
    #downloadPopup .msb-dce-actions { grid-template-columns: minmax(0,1fr) auto; gap: 5px; }
    #downloadPopup .msb-dce-btn { min-height: 33px; padding-inline: 9px; font-size: 10.5px; }
    #downloadPopup .msb-dce-card[data-msb-dce-variant="install-first"] .msb-dce-btn.is-primary { min-height: 36px; font-size: 11px; }
    #downloadPopup .msb-dce-btn.is-secondary { font-size: 10px; padding-inline: 7px; }
}

/* ===== 1.3.7 — Install-first download experience ===== */
#downloadPopup .msb-dce-card {
    margin: 0 0 12px;
    padding: 13px 14px 12px;
    gap: 10px;
    border-radius: 14px;
    border: 1px solid rgba(30,215,96,.20);
    background: linear-gradient(180deg, rgba(30,215,96,.075), rgba(30,215,96,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 8px 26px rgba(0,0,0,.10);
    overflow: visible;
}
#downloadPopup .msb-dce-card::before { display: none; }
#downloadPopup .msb-dce-copy {
    gap: 3px;
    padding-inline-end: 0;
    text-align: start;
}
#downloadPopup .msb-dce-copy strong {
    font-size: 13px;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: -.12px;
}
#downloadPopup .msb-dce-copy span {
    max-width: 38em;
    font-size: 10.2px;
    line-height: 1.6;
    font-weight: 600;
    opacity: .88;
}
#downloadPopup .msb-dce-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    width: 100%;
}
#downloadPopup .msb-dce-btn.is-primary {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11.5px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(30,215,96,.17);
}
#downloadPopup .msb-dce-btn.is-primary .msb-growth-svg-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}
#downloadPopup .msb-dce-btn.is-secondary.is-link {
    justify-self: center;
    min-height: 27px;
    width: auto;
    padding: 3px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text-sec,#aaa);
    box-shadow: none;
    font-size: 9.8px;
    font-weight: 750;
    text-decoration: none !important;
    opacity: .88;
}
#downloadPopup .msb-dce-btn.is-secondary.is-link:hover {
    color: var(--text,#fff);
    background: rgba(255,255,255,.035);
    opacity: 1;
}
#downloadPopup .msb-dce-dismiss,
#downloadPopup .msb-dce-free-badge,
#downloadPopup .msb-dce-after-download { display: none !important; }
#downloadPopup .download-popup-item .quality { gap: 4px; }
#downloadPopup .msb-dce-card.is-member {
    border-color: rgba(255,193,7,.20);
    background: linear-gradient(180deg, rgba(255,193,7,.065), rgba(255,193,7,.018));
}
#downloadPopup .msb-dce-card.is-member .msb-dce-btn.is-primary {
    box-shadow: 0 8px 22px rgba(255,193,7,.13);
}
html[data-theme="light"] #downloadPopup .msb-dce-card {
    border-color: rgba(20,145,70,.17);
    background: linear-gradient(180deg, rgba(30,160,83,.07), rgba(30,160,83,.018));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 8px 24px rgba(0,0,0,.045);
}
html[data-theme="light"] #downloadPopup .msb-dce-btn.is-secondary.is-link:hover {
    background: rgba(0,0,0,.035);
}
@media (max-width: 520px) {
    #downloadPopup .msb-dce-card {
        margin-bottom: 10px;
        padding: 11px 12px 9px;
        gap: 8px;
        border-radius: 12px;
    }
    #downloadPopup .msb-dce-copy strong { font-size: 12.3px; }
    #downloadPopup .msb-dce-copy span { font-size: 9.8px; line-height: 1.55; }
    #downloadPopup .msb-dce-actions { grid-template-columns: 1fr; gap: 3px; }
    #downloadPopup .msb-dce-btn.is-primary,
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary {
        min-height: 39px;
        font-size: 11px;
        padding-inline: 10px;
    }
    #downloadPopup .msb-dce-btn.is-secondary.is-link { min-height: 26px; font-size: 9.5px; }
}


/* ===== 1.3.8 — Higher-impact install CTA ===== */
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] {
    border-color: rgba(30,215,96,.29);
    background: radial-gradient(circle at 94% 0%, rgba(30,215,96,.12), transparent 42%), linear-gradient(180deg, rgba(20,34,27,.98), rgba(15,24,20,.98));
    box-shadow: 0 14px 34px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy strong { font-size: 13.6px; letter-spacing: -.18px; }
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy span { font-size: 10.4px; opacity: .86; }
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr) 20px;
    min-height: 54px;
    padding: 7px 11px;
    gap: 9px;
    justify-content: stretch;
    text-align: start;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 13px;
    background: linear-gradient(180deg,#25e46c,#19c957);
    color: #04180a;
    box-shadow: 0 11px 28px rgba(30,215,96,.24), inset 0 1px 0 rgba(255,255,255,.32);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.025);
    box-shadow: 0 14px 32px rgba(30,215,96,.30), inset 0 1px 0 rgba(255,255,255,.35);
}
#downloadPopup .msb-dce-primary-icon {
    width: 34px; height: 34px; border-radius: 10px; display:grid; place-items:center;
    background: rgba(4,24,10,.11);
}
#downloadPopup .msb-dce-primary-icon .msb-growth-svg-icon { width:18px; height:18px; }
#downloadPopup .msb-dce-primary-copy { min-width:0; display:grid; gap:2px; line-height:1.15; }
#downloadPopup .msb-dce-primary-copy strong { color:inherit !important; font-size:12px !important; line-height:1.25 !important; font-weight:950 !important; }
#downloadPopup .msb-dce-primary-copy small { display:block; color:rgba(4,24,10,.70); font-size:9.3px; font-weight:750; line-height:1.25; }
#downloadPopup .msb-dce-primary-arrow { font-size:18px; line-height:1; font-weight:900; opacity:.64; }
html[dir="ltr"] #downloadPopup .msb-dce-primary-arrow { transform:rotate(180deg); }
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
    margin-top: 1px; color: var(--text-sec,#a9b0bd); font-size:9.7px; opacity:.82;
}
html[data-theme="light"] #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] {
    background: radial-gradient(circle at 94% 0%, rgba(30,160,83,.10), transparent 42%), linear-gradient(180deg,#f9fffb,#f3faf6);
    border-color: rgba(24,150,76,.22);
}
@media (max-width:520px) {
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] { padding:11px; gap:8px; }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary { min-height:52px; grid-template-columns:32px minmax(0,1fr) 18px; padding:6px 9px; gap:8px; }
    #downloadPopup .msb-dce-primary-icon { width:32px; height:32px; }
    #downloadPopup .msb-dce-primary-copy strong { font-size:11.4px !important; }
    #downloadPopup .msb-dce-primary-copy small { font-size:8.9px; }
}


/* ===== 1.3.9 — Compact high-impact install CTA ===== */
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] {
    margin-bottom: 9px;
    padding: 8px 10px 7px;
    gap: 5px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(21,35,28,.98), rgba(15,25,20,.98));
    box-shadow: 0 8px 22px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.025);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy {
    display: block;
    padding: 0 2px;
    line-height: 1.3;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy strong {
    display: block;
    font-size: 11.7px;
    line-height: 1.35;
    font-weight: 850;
    letter-spacing: -.08px;
    color: var(--text,#fff);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy span { display:none !important; }
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-actions {
    gap: 1px;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 13px;
    gap: 7px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 7px 18px rgba(30,215,96,.20), inset 0 1px 0 rgba(255,255,255,.26);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 7px;
    background: rgba(4,24,10,.08);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon .msb-growth-svg-icon {
    width: 14px;
    height: 14px;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy {
    display: block;
    line-height: 1;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy strong {
    font-size: 11.8px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    white-space: nowrap;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy small,
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-arrow {
    display:none !important;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
    min-height: 22px;
    margin: 0;
    padding: 2px 7px 0;
    font-size: 9.2px;
    line-height: 1.25;
    opacity: .70;
}
html[data-theme="light"] #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] {
    background: linear-gradient(180deg,#f9fffb,#f4faf6);
}
@media (max-width:520px) {
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] {
        margin-bottom: 8px;
        padding: 7px 9px 6px;
        gap: 4px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy strong {
        font-size: 11.2px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary {
        min-height: 38px;
        padding: 6px 11px;
        gap: 6px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy strong {
        font-size: 11.4px !important;
    }
}


/* ===== 1.3.10 — Centered one-line promise + dual CTA row ===== */
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] {
    padding: 8px 10px;
    gap: 7px;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy {
    display: block;
    padding: 0 1px;
    text-align: center;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy strong {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--text,#fff);
    font-size: 11.8px;
    line-height: 1.35;
    font-weight: 850;
    letter-spacing: -.08px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-actions {
    display: grid;
    grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr);
    align-items: stretch;
    gap: 6px;
    width: 100%;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary,
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    margin: 0;
    padding: 6px 9px;
    border-radius: 9px;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary {
    gap: 5px;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 6px;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon .msb-growth-svg-icon {
    width: 13px;
    height: 13px;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy strong {
    font-size: 11.5px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
    color: var(--text,#fff);
    box-shadow: none;
    font-size: 10.6px;
    line-height: 1.2;
    font-weight: 800;
    opacity: .86;
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link:hover {
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.075);
    color: var(--text,#fff);
    opacity: 1;
}
html[data-theme="light"] #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
    border-color: rgba(12,38,22,.10);
    background: rgba(12,38,22,.035);
    color: #1c2a21;
}
html[data-theme="light"] #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link:hover {
    border-color: rgba(12,38,22,.16);
    background: rgba(12,38,22,.06);
}
@media (max-width: 420px) {
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] {
        padding: 7px 8px;
        gap: 6px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-copy strong {
        font-size: 11.1px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-actions {
        grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr);
        gap: 5px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary,
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
        min-height: 36px;
        padding: 5px 7px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy strong {
        font-size: 10.8px !important;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
        font-size: 10px;
    }
}
@media (max-width: 340px) {
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-actions {
        gap: 4px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary,
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
        padding-inline: 5px;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon {
        display: none;
    }
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy strong,
    #downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-secondary.is-link {
        font-size: 9.8px !important;
    }
}


/* ===== 1.3.11 — Branded CTA polish ===== */
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary {
    border-color: rgba(255,255,255,.18);
    background: linear-gradient(135deg,#29e66f 0%,#1ed760 56%,#18c653 100%);
    box-shadow: 0 8px 20px rgba(30,215,96,.24), inset 0 1px 0 rgba(255,255,255,.30);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-btn.is-primary:hover {
    filter: brightness(1.035);
    box-shadow: 0 10px 24px rgba(30,215,96,.29), inset 0 1px 0 rgba(255,255,255,.34);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-icon {
    background: rgba(4,24,10,.10);
    box-shadow: inset 0 0 0 1px rgba(4,24,10,.055);
}
#downloadPopup .msb-dce-card[data-msb-dce-variant$="install-first"] .msb-dce-primary-copy strong {
    letter-spacing: -.08px;
}

/* ===== 1.3.21 — DOM-state collision-proof bilingual install nudge ===== */
#downloadPopup .msb-dce-card.is-post-value {
    border-color: rgba(30,215,96,.22);
    background: linear-gradient(135deg,rgba(30,215,96,.075),rgba(255,255,255,.025));
}
#downloadPopup .msb-dce-card.is-post-value .msb-dce-copy span { opacity: .78; }
#downloadPopup .msb-dce-card.is-post-value .msb-dce-actions { grid-template-columns: minmax(0,1.35fr) minmax(78px,.65fr); }
#downloadPopup .msb-dce-card.is-post-value .msb-dce-btn.is-primary {
    border-color: rgba(255,255,255,.18);
    background: linear-gradient(135deg,#29e66f 0%,#1ed760 58%,#18c653 100%);
    box-shadow: 0 8px 20px rgba(30,215,96,.22), inset 0 1px 0 rgba(255,255,255,.28);
}

/* Floating install nudge: copy and CTA NEVER share the same row. */
.msb-dce-install-nudge {
    position: fixed !important;
    z-index: 1450 !important;
    inset-inline-start: auto !important;
    inset-inline-end: 14px !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + var(--msb-dce-nudge-bottom-px, 96px)) !important;
    width: min(408px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) 30px !important;
    grid-template-areas: "copy close" "cta cta" !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 9px !important;
    padding: 11px 11px 10px !important;
    margin: 0 !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    border-radius: 16px !important;
    background: rgba(19,24,22,.98) !important;
    box-shadow: 0 16px 44px rgba(0,0,0,.30) !important;
    color: #fff !important;
    isolation: isolate !important;
    overflow: hidden !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.msb-dce-install-nudge[dir="rtl"],
.msb-dce-install-nudge.is-rtl {
    grid-template-columns: 30px minmax(0,1fr) !important;
    grid-template-areas: "close copy" "cta cta" !important;
}
.msb-dce-install-nudge-copy {
    grid-area: copy !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    gap: 2px !important;
    align-content: center !important;
    overflow: hidden !important;
    text-align: start !important;
    position: static !important;
    transform: none !important;
}
.msb-dce-install-nudge-copy strong,
.msb-dce-install-nudge-copy span {
    display: block !important;
    position: static !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    transform: none !important;
}
.msb-dce-install-nudge-copy strong {
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    font-weight: 900 !important;
}
.msb-dce-install-nudge-copy span {
    color: rgba(255,255,255,.68) !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
}
.msb-dce-install-nudge-cta {
    grid-area: cta !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 39px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg,#29e66f,#1ed760 58%,#18c653) !important;
    color: #07170d !important;
    text-decoration: none !important;
    font-size: 11.2px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    box-shadow: 0 7px 18px rgba(30,215,96,.22) !important;
    overflow: hidden !important;
    transform: none !important;
}
.msb-dce-install-nudge-cta span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.msb-dce-install-nudge-cta .msb-growth-svg-icon {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
}
.msb-dce-install-nudge-close {
    grid-area: close !important;
    position: static !important;
    inset: auto !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    box-sizing: border-box !important;
    display: inline-grid !important;
    place-items: center !important;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: rgba(255,255,255,.56) !important;
    font: inherit !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transform: none !important;
}
.msb-dce-install-nudge-close:hover,
.msb-dce-install-nudge-close:focus-visible {
    background: rgba(255,255,255,.07) !important;
    color: rgba(255,255,255,.94) !important;
    outline: none !important;
}
html[data-theme="light"] .msb-dce-install-nudge {
    border-color: rgba(15,23,42,.09) !important;
    background: rgba(255,255,255,.99) !important;
    color: #17211b !important;
    box-shadow: 0 16px 44px rgba(15,23,42,.14) !important;
}
html[data-theme="light"] .msb-dce-install-nudge-copy span { color: #66736b !important; }
html[data-theme="light"] .msb-dce-install-nudge-close { color: #7c8981 !important; }
html[data-theme="light"] .msb-dce-install-nudge-close:hover,
html[data-theme="light"] .msb-dce-install-nudge-close:focus-visible { background: rgba(15,23,42,.06) !important; color: #17211b !important; }
html.msb-player-modal-open .msb-dce-install-nudge,
body.msb-player-modal-open .msb-dce-install-nudge { display: none !important; }

@media (max-width: 520px) {
    .msb-dce-install-nudge,
    .msb-dce-install-nudge[dir="rtl"],
    .msb-dce-install-nudge.is-rtl {
        inset-inline-start: 10px !important;
        inset-inline-end: 10px !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + var(--msb-dce-nudge-bottom-px, 86px)) !important;
        width: auto !important;
        max-width: none !important;
        padding: 10px 10px 10px !important;
        row-gap: 8px !important;
        border-radius: 14px !important;
    }
    .msb-dce-install-nudge-copy strong { font-size: 11.8px !important; }
    .msb-dce-install-nudge-copy span { font-size: 9.9px !important; }
    .msb-dce-install-nudge-cta { min-height: 38px !important; font-size: 10.8px !important; }
}
@media (max-width: 340px) {
    .msb-dce-install-nudge { inset-inline-start: 7px !important; inset-inline-end: 7px !important; padding-inline: 9px !important; }
    .msb-dce-install-nudge-copy span { font-size: 9.5px !important; }
}
