/* =============================================================================
   global-bar.css: The bottom global control bar and the header live-session
   badge.
   ============================================================================= */

/* Global bar */
/*------------*/

#global-bar button {
  font-size: 0.875rem;
  padding: 0.4rem 0.9rem;
}
#global-bar-multi {
  display: flex;
  gap: 8px;
  flex-basis: 100%;
  justify-content: center;
}
#global-bar-multi[hidden] {
  display: none;
}
#global-bar-clocks,
#global-bar-row2 {
  display: flex;
  gap: 8px;
  flex-basis: 100%;
  justify-content: center;
}

#global-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 16px;
}

/* Live badge */
/*------------*/

#header-controls {
  flex-wrap: wrap;
  justify-content: flex-end;
}

#live-badge {
  flex-basis: 100%;
  text-align: right;
  padding: 0.3rem 0 0;
  font-size: 11px;
  color: #4a9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}
#live-badge::before {
  content: "●";
  font-size: 8px;
  margin-right: 6px;
  animation: pulse-dot 2s infinite;
}
#live-badge.reconnecting,
#live-badge.ended {
  color: var(--rb-text-muted);
}
#live-badge.ended::before {
  animation: none;
}
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
