.pwa-install-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    min-height: 48px;
    padding: 0 18px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.35);
    font-size: 0.95rem;
    font-weight: 950;
    cursor: pointer;
}

.pwa-install-button.is-visible {
    display: inline-flex;
}

.pwa-install-tip {
    position: fixed;
    right: 18px;
    bottom: 78px;
    z-index: 9999;
    width: min(360px, calc(100vw - 36px));
    display: none;
    padding: 16px;
    border-radius: 20px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.pwa-install-tip.is-visible {
    display: block;
}

.pwa-install-tip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
    font-weight: 950;
}

.pwa-install-tip p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.45;
    font-weight: 750;
}

.pwa-install-tip button {
    margin-top: 12px;
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: #2563eb;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 700px) {
    .pwa-install-button {
        left: 16px;
        right: 16px;
        bottom: 14px;
        width: calc(100% - 32px);
    }

    .pwa-install-tip {
        left: 16px;
        right: 16px;
        bottom: 74px;
        width: calc(100% - 32px);
    }
}
