.pwa-controls {
    position: fixed;
    z-index: 10020;
    left: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
    display: grid;
    width: min(360px, calc(100vw - 32px));
    gap: 10px;
    pointer-events: none;
}

.pwa-notice {
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 14px;
    border: 1px solid #d5e2ef;
    border-radius: 8px;
    background: #fff;
    color: #5a5a5a;
    font-family: jakarta-regular, system-ui, sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(75, 154, 246, 0.18);
}

.pwa-notice > span {
    flex: 1 1 160px;
    min-width: 0;
}

.pwa-notice__action,
.pwa-notice__close {
    flex: 0 0 auto;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    cursor: pointer;
    font-family: jakarta-bold, system-ui, sans-serif;
    line-height: 1;
}

.pwa-notice__action {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 4px;
    background: #4b9af6;
    color: #fff;
    font-size: 0.8125rem;
}

.pwa-notice__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: #d5e2ef;
    color: #6e84a1;
    font-size: 1.25rem;
}

.pwa-notice__close:hover,
.pwa-notice__action:hover {
    filter: brightness(0.97);
}

@media (display-mode: standalone) {
    .pwa-install-button {
        display: none;
    }
}
