/* v0.10.6 PWA install button */
.pwa-install-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    padding: 10px 13px;
    margin-bottom: 8px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eef5ff;
    color: #1d4ed8;
    font-weight: 900;
    cursor: pointer;
}

.pwa-install-btn:hover {
    background: #dbeafe;
}

.pwa-install-hint {
    display: block;
    margin: 0 0 14px;
    color: #667894;
    line-height: 1.35;
}

.pwa-install-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, .46);
    backdrop-filter: blur(10px);
}

.pwa-install-modal[hidden] {
    display: none;
}

.pwa-install-card {
    position: relative;
    width: min(480px, 100%);
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .24);
}

.pwa-install-card h2 {
    margin: 0 44px 10px 0;
    color: #0f2a4f;
}

.pwa-install-card p {
    color: #526985;
    line-height: 1.45;
}

.pwa-install-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #dbeafe;
    color: #1e3a8a;
    font-size: 22px;
}

.pwa-install-steps {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #f8fbff;
    color: #33577f;
}

.pwa-install-steps ol {
    margin: 8px 0 0;
    padding-left: 20px;
}

.pwa-install-steps li {
    margin: 5px 0;
}

.pwa-install-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.pwa-install-actions button {
    flex: 1;
}

@media (max-width: 820px) {
    .pwa-install-card {
        align-self: end;
        border-radius: 18px 18px 10px 10px;
        padding: 20px;
    }

    .pwa-install-actions {
        flex-direction: column;
    }
}
