/* === PWA UPDATE BANNER === */
.pwa-update-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    background: rgba(30, 30, 35, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    animation: pwaSlideDown 0.4s var(--transition-spring) both;
}
.pwa-update-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    max-width: 960px;
    margin: 0 auto;
}
.pwa-update-icon {
    font-size: 18px;
    line-height: 1;
}
.pwa-update-text {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1px;
}
.pwa-update-btn {
    background: var(--apple-blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.pwa-update-btn:hover {
    background: var(--apple-blue-hover);
    transform: scale(1.03);
}
.pwa-update-btn:active {
    transform: scale(0.97);
}
.pwa-update-dismiss {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}
.pwa-update-dismiss:hover {
    color: #fff;
}
body.dark-mode .pwa-update-banner {
    background: rgba(28, 28, 30, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}
@media (max-width: 480px) {
    .pwa-update-inner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 12px;
    }
    .pwa-update-text {
        font-size: 13px;
        flex: 1 1 100%;
        text-align: center;
    }
    .pwa-update-btn {
        flex: 1;
    }
}

/* === PWA INSTALL BUTTON (sidebar) === */
.pwa-install-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--transition-smooth);
    margin-top: 8px;
}
.pwa-install-btn:hover {
    background: var(--bg-input);
    color: var(--apple-blue);
    border-color: var(--apple-blue);
}
.pwa-install-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
