/* G&B Live (streams.js). Builds on videos.css; only uses app.css's colour tokens, so dark mode and themes keep working. */
.live-badge { position: absolute; left: 5px; top: 5px; background: var(--gb-red, #d4202a); color: #fff; font-size: 11px; font-weight: bold;
  letter-spacing: .06em; padding: 1px 6px; border-radius: 3px; }
.live-badge.inline { position: static; display: inline-block; vertical-align: middle; font-size: 12px; }
.live-stage { position: relative; }
.live-sound { position: absolute; left: 10px; top: 10px; z-index: 2; }
.live-wait { position: absolute; inset: auto 0 45% 0; text-align: center; color: #fff; font-weight: bold; text-shadow: 0 1px 3px #000; pointer-events: none; }
.live-wait[hidden] { display: none; }
.video-stage { position: relative; }
.live-over { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; text-align: center; padding: 20px; }
.live-chat { margin: 0; display: flex; flex-direction: column; }
.live-lines { height: 420px; overflow-y: auto; border: 1px solid var(--line); background: var(--panel2); padding: 6px; font-size: 13px; }
.live-line { padding: 2px 0; overflow-wrap: anywhere; }
.live-who { font-weight: bold; margin-right: 4px; }
.live-tools { opacity: 0; margin-left: 4px; font-size: 12px; }
.live-tools a { margin-left: 4px; text-decoration: none; }
.live-line:hover .live-tools, .live-line:focus-within .live-tools { opacity: 1; }
.live-say { display: flex; gap: 6px; margin-top: 8px; }
.live-chat select { width: auto; display: inline-block; padding: 2px 6px; }
.live-say input { flex: 1; min-width: 0; }
.live-setup-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.live-setup-grid video, #liveMine { width: 100%; height: 100%; background: #000; display: block; }
.live-row { margin-bottom: 12px; }
.live-row .boxhead a { margin-left: 8px; font-weight: normal; }
@media (hover: none) { .live-tools { opacity: 1; } }
@media (max-width: 860px) {
  .live-setup-grid { grid-template-columns: 1fr; }
  .live-lines { height: 260px; }
}
