.pwa-install-layer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    background: rgba(17, 24, 39, 0.45);
}

.pwa-install-layer[hidden] {
    display: none !important;
}

.pwa-install-layer__card {
    position: relative;
    width: min(520px, 100%);
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
    padding: 18px 18px 16px;
}

.pwa-install-layer__close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #6b7280;
    width: 32px;
    height: 32px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.pwa-install-layer__title {
    margin: 0 28px 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
}

.pwa-install-layer__text {
    margin: 0 0 8px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #374151;
}

.pwa-install-layer__fallback {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 10px;
}

.pwa-install-layer__actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .pwa-install-layer {
        padding: 10px;
    }

    .pwa-install-layer__card {
        border-radius: 10px;
        padding: 14px;
    }

    .pwa-install-layer__actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}
