/* Gemeinsame Echtzeit-Welt: Badge (src/net/live.js) und Online-Regeln */
#live-badge { position: fixed; right: 12px; bottom: 12px; z-index: 50; padding: 4px 10px; border-radius: 12px; font: 600 12px system-ui, sans-serif; color: #fff; background: rgba(20, 24, 20, 0.72); pointer-events: none; }
#live-badge.hidden { display: none; }
#live-badge[data-state="online"]::before { content: '● '; color: #6fd36f; }
#live-badge[data-state="connecting"]::before, #live-badge[data-state="offline"]::before { content: '● '; color: #e0a33a; }
body.online .tb-speed-bar { display: none; }

#radio-status {
  position: fixed;
  top: max(0.75rem, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  max-width: 60vw;
  overflow-wrap: anywhere;
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem;
  background: #16221bea;
  color: #f5fbf6;
  pointer-events: none;
}
