.live-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.live-header h1 { margin: 0; font-size: 1.5rem; }
.live-header .status-dot {
  display: inline-block; width: 8px; height: 8px;
  background: #22c55e; border-radius: 50%;
  margin-right: 0.4rem;
  animation: livePulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}

/* ── Filter pills ─────────────────────────────────────────────────── */
.filter-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin: 0 -0.25rem 1rem;
  padding: 0.55rem 0.25rem;
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 50;
  background: linear-gradient(to bottom,
              rgba(15, 23, 42, 0.97) 0%,
              rgba(15, 23, 42, 0.92) 70%,
              rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.filter-bar button {
  position: relative;
  background: var(--bg-elev); color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.45rem 0.95rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer;
  transition: background 150ms ease,
              color 150ms ease,
              border-color 150ms ease,
              transform 80ms ease,
              box-shadow 150ms ease;
  white-space: nowrap;
}
.filter-bar button:hover {
  color: var(--text);
  background: var(--bg-elev-2);
  border-color: var(--text-muted);
}
.filter-bar button:active { transform: translateY(1px); }
.filter-bar button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.filter-bar button.is-on {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding-right: 1.7rem;
}
.filter-bar button.is-on::after {
  content: '';
  position: absolute;
  right: 0.7rem; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

/* ── Mobile ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .live-header h1 { font-size: 1.25rem; }
  .live-header .muted { font-size: 0.85rem; }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -0.75rem 0.75rem;
    padding: 0.55rem 0.75rem;
    gap: 0.4rem;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-bar button {
    padding: 0.5rem 1rem;
    font-size: 0.88rem;
    flex-shrink: 0;
  }
  .filter-bar button.is-on { padding-right: 1.85rem; }
}
