.pwa-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
    background: rgba(22, 30, 58, .32);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-sizing: border-box;
}
.pwa-overlay[hidden] { display: none; }
.pwa-card {
    width: min(100%, 420px);
    max-height: 85dvh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(235,243,255,.90));
    box-shadow: 0 30px 100px rgba(24,37,80,.28), inset 0 1px 0 white;
    color: #17233d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: center;
}
.pwa-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 8px 24px #253e6a20; }
.pwa-card h2 { margin: 18px 0 10px; font-size: 25px; line-height: 1.2; color: #17233d; }
.pwa-card p { margin: 12px 0; font-size: 15px; line-height: 1.55; color: #526078; }
.pwa-steps { padding: 0; list-style: none; text-align: left; counter-reset: step; }
.pwa-steps li { display: flex; gap: 12px; align-items: center; margin: 12px 0; padding: 12px; background: #ffffff90; border-radius: 16px; font-size: 15px; line-height: 1.4; }
.pwa-steps li::before { counter-increment: step; content: counter(step); flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e2edff; color: #0671e6; font-weight: 700; }
.pwa-actions { display: grid; gap: 10px; margin-top: 20px; }
.pwa-actions button { width: 100%; min-width: 0; min-height: 48px; padding: 12px 18px; border: 0; border-radius: 15px; background: #087cf0; color: white; font: 600 16px -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: pointer; box-shadow: none; white-space: normal; }
.pwa-actions button.pwa-secondary { background: #e4eaf3; color: #43516a; }
.pwa-actions button:focus-visible { outline: 3px solid #102956; outline-offset: 3px; }
.pwa-card [hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .pwa-overlay { scroll-behavior: auto; } }
