/* broadcast.css — LIVE chip, Broadcast sheet, prompts, hidden audience tiles (2026-11-13). */
.video-slot.bc-hidden { display: none !important; }
#bc-chip {
  position: fixed; z-index: 9996; right: max(12px, env(safe-area-inset-right)); top: calc(env(safe-area-inset-top, 0px) + 12px);
  display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  font: 600 12.5px/1.2 system-ui, sans-serif; color: #fff; border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 24, 32, 0.5); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  max-width: calc(100vw - 24px);
}
#bc-chip:focus-visible { outline: 2px solid oklch(68% 0.15 235); outline-offset: 2px; }
.bc-live { background: #e5484d; color: #fff; padding: 2px 7px; border-radius: 6px; font-weight: 750; letter-spacing: 0.04em; font-size: 11px; }
.bc-chip-sub { opacity: 0.75; font-weight: 500; }
.bc-chip-n { background: #fff; color: #111; border-radius: 999px; min-width: 18px; padding: 1px 5px; text-align: center; font-size: 11px; }
@container (max-width: 380px) { .bc-chip-sub { display: none; } }
.bc-sheet .bc-body { display: grid; gap: 10px; }
.bc-main { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-b {
  min-height: 40px; padding: 8px 14px; border-radius: 12px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 620;
  color: var(--lg-ink, inherit); border: 1px solid oklch(100% 0 0 / 0.45); background: oklch(100% 0 0 / 0.3);
}
.bc-b.is-primary { background: oklch(62% 0.17 255); color: #fff; border-color: transparent; }
.bc-b:focus-visible { outline: 2px solid oklch(68% 0.15 235); outline-offset: 2px; }
.bc-h { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.65; margin-top: 4px; }
.bc-people, .bc-qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bc-person { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px;
  padding: 8px 10px; border-radius: 14px; background: oklch(100% 0 0 / 0.18); }
.bc-pn { font-weight: 620; font-size: 14px; }
.bc-pn em { font-style: normal; font-weight: 500; font-size: 12px; opacity: 0.7; margin-left: 6px; }
.bc-pa { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-pa .bc-b { min-height: 34px; padding: 5px 10px; font-size: 12.5px; }
.bc-qs li { padding: 8px 10px; border-radius: 14px; background: oklch(100% 0 0 / 0.18); font-size: 13.5px; }
.bc-ask { display: flex; gap: 8px; width: 100%; align-items: stretch; }
.bc-ask textarea { flex: 1; min-width: 0; resize: vertical; border-radius: 12px; padding: 8px 10px; font: inherit; font-size: 14px;
  border: 1px solid oklch(100% 0 0 / 0.45); background: oklch(100% 0 0 / 0.5); color: inherit; }
.bc-set { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 13.5px; }
.bc-set label { display: flex; align-items: center; gap: 6px; }
.bc-count { opacity: 0.7; }

/* Source picker action notice (2026-11-15): one tap to share a screen after taking the stage. */
.bc-act { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  max-width: min(92vw, 520px); padding: 10px 12px; border-radius: 18px; }
.bc-act .bc-act-t { flex: 1 1 180px; font-size: 15px; }
.bc-act .lg-btn { min-height: 44px; white-space: nowrap; }

/* Broadcast panel layout (2026-11-15, builder: text not laid out, bottom too close to the edge).
 * One 22px inset on every side, even 14px rhythm between parts, the source choices as 44px toggle
 * pills (not bare checkboxes), colours from currentColor so light and dark themes both work. */
#bc-sheet { --bc-pad: 22px; padding: 0; box-sizing: border-box; max-width: min(460px, calc(100vw - 24px)); }
#bc-sheet .lg-head { padding: var(--bc-pad) calc(var(--bc-pad) + 48px) 0 var(--bc-pad); }
#bc-sheet .lg-head .lg-title { margin: 0 0 6px; line-height: 1.2; }
#bc-sheet .lg-head .lg-sub { margin: 0; line-height: 1.45; text-wrap: pretty; }
#bc-sheet .lg-close { top: 14px; right: 14px; width: 44px; height: 44px; }
#bc-sheet .lg-body.bc-body { padding: 16px var(--bc-pad) var(--bc-pad); display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; }
#bc-sheet .bc-main { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#bc-sheet .bc-main .bc-b, #bc-sheet .bc-main button { min-height: 44px; }
#bc-sheet .bc-h { margin: 4px 0 -4px; font-size: 12px; font-weight: 650; letter-spacing: .3px; text-transform: none; opacity: .75; }
#bc-sheet .bc-set.bc-src { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
#bc-sheet .bc-src label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 14px; background: color-mix(in oklab, currentColor 7%, transparent); border: 1px solid color-mix(in oklab, currentColor 18%, transparent);
  transition: background .15s, border-color .15s, transform .12s cubic-bezier(.23,1,.32,1); user-select: none; }
#bc-sheet .bc-src label:active { transform: scale(.97); }
#bc-sheet .bc-src label:has(input:checked) { background: rgba(63,224,197,.18); border-color: rgba(63,224,197,.7); }
#bc-sheet .bc-src input { width: 18px; height: 18px; margin: 0; accent-color: #1fb89e; }
#bc-sheet .bc-src label:has(input:focus-visible) { outline: 2px solid #3fe0c5; outline-offset: 2px; }
#bc-sheet .bc-body > :last-child { margin-bottom: 0; }
@media (max-width: 420px) { #bc-sheet { --bc-pad: 18px; } #bc-sheet .bc-src label { flex: 1 1 auto; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { #bc-sheet .bc-src label { transition: none; } }
