.wsp-pwa-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: grid;
    place-items: center;
    padding: 20px 16px calc(28px + env(safe-area-inset-bottom, 0px));
    background: rgba(8, 12, 22, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wsp-pwa-sheet {
    width: min(100%, 400px);
    padding: 22px 20px 16px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(18, 24, 42, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    color: rgba(255, 255, 255, 0.92);
    text-align: center;
    direction: rtl;
}

.wsp-pwa-sheet img {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: block;
    margin: 0 auto 14px;
}

.wsp-pwa-sheet h2 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
}

.wsp-pwa-sheet p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.wsp-pwa-actions {
    display: grid;
    gap: 8px;
}

.wsp-pwa-sheet button {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.wsp-pwa-install {
    background: #4ecdc4;
    color: #0a0f1e;
}

.wsp-pwa-later {
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
}

.wsp-pwa-install-chip {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    z-index: 2147483645;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 12px 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(12, 22, 40, 0.96);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    color: #fff;
    direction: rtl;
}

.wsp-pwa-install-chip strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
}

.wsp-pwa-install-chip span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.5;
}

.wsp-pwa-install-chip button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #4ecdc4;
    color: #0a0f1e;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.wsp-pwa-push-chip {
    position: fixed;
    right: 16px;
    left: 16px;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(18, 24, 42, 0.92);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    direction: rtl;
}

.wsp-pwa-push-chip strong {
    display: block;
    font-size: 13px;
}

.wsp-pwa-push-chip span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
}

.wsp-pwa-push-chip button {
    flex-shrink: 0;
    border: 0;
    border-radius: 12px;
    min-height: 36px;
    padding: 0 12px;
    background: #4ecdc4;
    color: #0a0f1e;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@media (display-mode: fullscreen), (display-mode: standalone) {
    html,
    body {
        min-height: 100%;
        min-height: 100dvh;
        background: #0a0f1e;
    }
}

