.fnpwa-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}
.fnpwa-overlay.visible { display: flex; }

.fnpwa-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 340px;
    width: 100%;
    padding: 30px 24px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    animation: fnpwa-pop .25s ease;
}
@keyframes fnpwa-pop {
    from { transform: scale(.92); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.fnpwa-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #9aa3b2;
    cursor: pointer;
}
.fnpwa-close:hover { color: #333; }

.fnpwa-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
    margin: 0 auto 14px;
    display: block;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.fnpwa-title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #182233;
}

.fnpwa-text {
    margin: 0 0 20px;
    font-size: .92rem;
    line-height: 1.5;
    color: #5a6472;
}

.fnpwa-manual {
    background: #f0f6ff;
    border: 1px solid #c8deff;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: .88rem;
    line-height: 1.5;
    color: #1e3a5f;
    text-align: left;
}

.fnpwa-actions { display: flex; flex-direction: column; gap: 10px; }

.fnpwa-btn-install {
    background: #003580;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: .96rem;
    font-weight: 700;
    cursor: pointer;
}
.fnpwa-btn-install:hover { opacity: .92; }

.fnpwa-btn-close {
    background: none;
    border: none;
    color: #8992a1;
    font-size: .88rem;
    cursor: pointer;
    padding: 4px;
}
.fnpwa-btn-close:hover { color: #555; }

@media (max-width: 420px) {
    .fnpwa-card { padding: 26px 18px 20px; }
}
