.pwa-desktop-notice {
    position: sticky;
    top: 0;
    z-index: 2000;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    color: #1f2933;
    background: #fff3c4;
    border-bottom: 1px solid rgba(31, 41, 51, 0.12);
    font-family: Roboto, Arial, sans-serif;
    text-align: center;
}

.pwa-desktop-notice span {
    opacity: 0.86;
}

.pwa-desktop-notice button {
    border: 0;
    border-radius: 999px;
    padding: 6px 12px;
    color: #1f2933;
    background: #f5c542;
    cursor: pointer;
    font-weight: 600;
}

.pwa-install-prompt {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 2200;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
    padding: 14px;
    color: #1f2933;
    background: #ffffff;
    border: 1px solid rgba(31, 41, 51, 0.12);
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(31, 41, 51, 0.18);
    font-family: Roboto, Arial, sans-serif;
}

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

.pwa-install-prompt span {
    margin-top: 2px;
    font-size: 0.875rem;
    opacity: 0.78;
}

.pwa-install-action,
.pwa-install-dismiss {
    border: 0;
    cursor: pointer;
    font-weight: 700;
}

.pwa-install-action {
    border-radius: 999px;
    padding: 8px 14px;
    color: #1f2933;
    background: #f5c542;
}

.pwa-install-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #52616b;
    background: transparent;
    font-size: 1.25rem;
}

@media (max-width: 1023px), (pointer: coarse) {
    .pwa-desktop-notice {
        display: none;
    }
}

@media (max-width: 420px) {
    .pwa-install-prompt {
        grid-template-columns: 1fr auto;
    }

    .pwa-install-action {
        grid-column: 1 / -1;
    }
}
