/* Canonical live downloads pill (FAQ version) — one style sitewide.
   Loaded after page styles so it wins over leftover legal-page nav rules. */

nav .nav-live {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 600;
    color: white;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 6px 14px !important;
    border-radius: 9999px;
    margin-left: 16px !important;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
    position: relative;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: default;
    user-select: none;
}

nav .nav-live:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    transform: scale(1.05) translateY(-1px);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

nav .nav-live:active {
    transform: scale(0.98);
}

nav .nav-live .pulse-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    background: linear-gradient(45deg, #34c759, #22c55e);
    border-radius: 50%;
    box-shadow:
        0 0 8px rgba(52, 199, 89, 0.8),
        0 0 16px rgba(52, 199, 89, 0.4);
    animation: nav-live-pulse 1.5s infinite ease-in-out;
    position: relative;
}

nav .nav-live .pulse-dot::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: rgba(52, 199, 89, 0.3);
    animation: nav-live-pulse-ring 2s infinite;
}

nav .nav-live .count {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

nav .nav-live .nav-live-label {
    opacity: 0.75;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    color: white;
}

@keyframes nav-live-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes nav-live-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    nav .nav-live {
        font-size: 11px;
        padding: 3px 7px;
        margin-left: 6px;
        gap: 4px;
    }

    nav .nav-live .count {
        font-size: 11px;
    }

    nav .nav-live .nav-live-label {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    nav .nav-live .pulse-dot,
    nav .nav-live .pulse-dot::after {
        animation: none;
    }
}
