/* Bingwa Deals PWA install promotion — isolated styles */
.bd-pwa-promo[hidden],
.bd-pwa-help[hidden],
.bd-pwa-help__steps[hidden] { display: none !important; }

.bd-pwa-promo {
    position: fixed;
    z-index: 9998;
    inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px;
    display: block;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #102a43;
}
.bd-pwa-promo__card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: 15px 48px 15px 15px;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 18px 55px rgba(15, 39, 66, .22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: bd-pwa-rise .28s ease-out both;
}
.bd-pwa-promo__brand, .bd-pwa-help__icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -.06em;
    background: linear-gradient(135deg, #10b981, #0f766e 60%, #123e63);
    box-shadow: 0 7px 18px rgba(15,118,110,.22);
}
.bd-pwa-promo__copy { min-width: 0; flex: 1; }
.bd-pwa-promo__eyebrow, .bd-pwa-help__eyebrow {
    margin: 0 0 3px;
    color: #0f766e;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .13em;
}
.bd-pwa-promo__copy h2 {
    margin: 0;
    color: #102a43;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 850;
}
.bd-pwa-promo__copy > p:not(.bd-pwa-promo__eyebrow):not(.bd-pwa-promo__status) {
    margin: 3px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}
.bd-pwa-promo__status {
    min-height: 0;
    margin: 3px 0 0;
    color: #0f766e;
    font-size: 10px;
    line-height: 1.3;
}
.bd-pwa-promo__status:empty { display: none; }
.bd-pwa-promo__actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}
.bd-pwa-promo__install, .bd-pwa-help__done {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 9px 14px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0b5f59);
    box-shadow: 0 5px 13px rgba(15,118,110,.2);
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}
.bd-pwa-promo__install:hover, .bd-pwa-help__done:hover { filter: brightness(1.06); }
.bd-pwa-promo__install:focus-visible, .bd-pwa-promo__help:focus-visible,
.bd-pwa-promo__dismiss:focus-visible, .bd-pwa-help button:focus-visible {
    outline: 3px solid #f59e0b;
    outline-offset: 3px;
}
.bd-pwa-promo__help {
    padding: 2px 5px;
    border: 0;
    color: #0f766e;
    background: transparent;
    font: inherit;
    font-size: 10px;
    font-weight: 750;
    cursor: pointer;
}
.bd-pwa-promo__dismiss, .bd-pwa-help__close {
    position: absolute;
    top: 7px;
    right: 9px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #64748b;
    background: #f1f5f9;
    font: inherit;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}
.bd-pwa-help {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.bd-pwa-help__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 25, 42, .62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.bd-pwa-help__panel {
    position: relative;
    width: min(100%, 440px);
    max-height: min(86vh, 720px);
    overflow-y: auto;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 25px 80px rgba(0,0,0,.28);
}
.bd-pwa-help__icon { margin-bottom: 15px; }
.bd-pwa-help__panel h2 {
    margin: 4px 34px 8px 0;
    color: #102a43;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
}
.bd-pwa-help__intro, .bd-pwa-help__footnote {
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}
.bd-pwa-help__steps {
    margin-top: 17px;
    padding: 15px;
    border: 1px solid #dbeee9;
    border-radius: 14px;
    background: #f0fdfa;
}
.bd-pwa-help__steps h3 {
    margin: 0 0 8px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 900;
}
.bd-pwa-help__steps ol {
    margin: 0;
    padding-left: 20px;
    color: #334155;
    font-size: 12px;
    line-height: 1.75;
}
.bd-pwa-help__note {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
}
.bd-pwa-help__footnote { margin: 14px 0; font-size: 10px; }
.bd-pwa-help__done { width: 100%; min-height: 43px; }
body.bd-pwa-help-open { overflow: hidden; }

@keyframes bd-pwa-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 560px) {
    .bd-pwa-promo { inset-inline: 8px; }
    .bd-pwa-promo__card { gap: 9px; padding: 13px 38px 13px 11px; border-radius: 15px; }
    .bd-pwa-promo__brand { flex-basis: 39px; width: 39px; height: 39px; border-radius: 12px; font-size: 13px; }
    .bd-pwa-promo__copy h2 { font-size: 12px; }
    .bd-pwa-promo__copy > p:not(.bd-pwa-promo__eyebrow):not(.bd-pwa-promo__status) { font-size: 10px; }
    .bd-pwa-promo__install { min-height: 36px; padding: 8px 10px; font-size: 10px; white-space: nowrap; }
    .bd-pwa-promo__help { font-size: 9px; }
}
@media (max-width: 360px) {
    .bd-pwa-promo__brand { display: none; }
    .bd-pwa-promo__card { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .bd-pwa-promo__card { animation: none; }
}
