  /* Página del invitado (servidor externo, por internet): se abre desde el enlace o el QR que manda la producción. Muestra la cámara y, al tocar Conectar,
     manda imagen y sonido al canal. Mantener la pantalla encendida mientras dure la salida. */
  html, body { margin: 0; min-height: 100%; background: #0b1020; color: #e8eefb; font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
  .w { max-width: 560px; margin: 0 auto; padding: 16px; display: grid; gap: 12px; }
  h1 { font-size: 20px; margin: 4px 0 0; } .m { color: #8f9bb8; font-size: 14px; }
  video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 10px; object-fit: cover; transform: scaleX(-1); }
  video.back { transform: none; }
  .row { display: flex; gap: 8px; flex-wrap: wrap; }
  select, button { font: inherit; border-radius: 8px; border: 1px solid #2a3a63; background: #16203a; color: #fff; padding: 10px 12px; }
  select { flex: 1; min-width: 0; }
  button.go { background: #12a36b; border-color: #12a36b; font-weight: 700; flex: 1; }
  button.stop { background: #b3261e; border-color: #b3261e; font-weight: 700; flex: 1; }
  .st { padding: 10px 12px; border-radius: 8px; background: #16203a; display: flex; align-items: center; gap: 8px; }
  .dot { width: 10px; height: 10px; border-radius: 50%; background: #667; flex: none; } .dot.on { background: #ee4a41; animation: b 1.2s infinite; } .dot.ok { background: #3fbf8f; }
  @keyframes b { 50% { opacity: .3; } }
  .err { background: #3a1416; color: #ffb4b0; }
  .tips { font-size: 13px; color: #8f9bb8; } .tips li { margin: 3px 0; }
  .ret { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 8px; background: #121a30; font-size: 14px; color: #c9d4ee; flex-wrap: wrap; } .ret input { vertical-align: middle; width: 130px; }
