.pwa-install-card {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 10050;
    width: min(520px, calc(100% - 24px));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(47, 143, 157, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(31, 49, 60, 0.18);
    transform: translateX(-50%);
}

.pwa-install-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3ba2f;
    flex: 0 0 auto;
}

.pwa-install-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.pwa-install-copy {
    min-width: 0;
}

.pwa-install-copy strong,
.pwa-install-copy span {
    display: block;
}

.pwa-install-copy strong {
    color: #20313c;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.15;
}

.pwa-install-copy span {
    margin-top: 2px;
    color: #687886;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
}

.pwa-install-steps {
    margin: 7px 0 0;
    padding-left: 18px;
    color: #20313c;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.pwa-install-steps li + li {
    margin-top: 2px;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pwa-install-button,
.pwa-install-close {
    border: 0;
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.pwa-install-button {
    background: #f3ba2f;
    color: #20313c;
}

.pwa-install-close {
    background: #eef4f7;
    color: #687886;
}

@media (max-width: 780px) {
    .pwa-install-card {
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pwa-install-actions {
        grid-column: 1 / -1;
        width: 100%;
    }

    .pwa-install-button,
    .pwa-install-close {
        flex: 1;
    }
}
