/* Native Live labels — v1.5.0. Placement follows the existing native label
 * groups on story pages; homepage/category modules handle photo placement.
 * The word stays visible while only the decorative dot gently pulses. */
html body .newspack-tag-labels > a[href*="/tag/live/"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 8px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #c8102e !important;
    color: #fff !important;
    font: 700 11px/1.4 Arial, sans-serif !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
html body .newspack-tag-labels > a[href*="/tag/live/"]::before {
    content: "" !important;
    position: static !important;
    inset: auto !important;
    display: inline-block !important;
    flex: 0 0 6px !important;
    width: 6px !important;
    height: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    animation: np-status-live-pulse 2.2s ease-in-out infinite !important;
}
html body .newspack-tag-labels > a[href*="/tag/live/"]::after {
    content: none !important;
}
html body .newspack-tag-labels > a[href*="/tag/live/"]:focus-visible {
    outline: 2px solid #185699 !important;
    outline-offset: 2px !important;
}

/* Match Updated's existing relationship to the single-story category links. */
html body.single-post .newspack-tag-labels:has(> a[href*="/tag/live/"]) {
    margin: 0 0 15px;
    padding: 0;
    vertical-align: middle;
    align-items: center;
    gap: 8px;
}
html body.single-post .entry-header > .cat-links:has(+ .newspack-tag-labels > a[href*="/tag/live/"]) {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 8px 15px 0;
    vertical-align: middle;
}
html body.single-post .entry-header > .cat-links:has(+ .newspack-tag-labels > a[href*="/tag/live/"]) > a {
    margin: 0 !important;
}

@keyframes np-status-live-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
    html body .newspack-tag-labels > a[href*="/tag/live/"]::before {
        animation: none !important;
        opacity: 1 !important;
    }
}
