/* wwwroot/css/video/chime-sala.css — [17/10/2026] a sala de vídeo pelo Amazon Chime SDK (wwwroot/js/video/chime-sala.js).
   Ocupa o espaço que a tela já dava ao vídeo do 8x8 (o #meet / #sala / #video de cada página). */
.cv { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 360px;
      background: #0b1220; color: #e2e8f0; border-radius: 12px; overflow: hidden; font: 14px/1.3 Inter, system-ui, sans-serif; }
.cv-palco { flex: 0 0 auto; height: 58%; background: #000; display: none; }
.cv-palco .cv-tile { width: 100%; height: 100%; border-radius: 0; }
.cv-palco video { object-fit: contain; }
.cv-grade { flex: 1 1 auto; display: grid; gap: 6px; padding: 6px; grid-template-columns: 1fr; grid-auto-rows: 1fr; min-height: 0; }
.cv-grade[data-n="2"] { grid-template-columns: 1fr 1fr; }
.cv-grade[data-n="3"], .cv-grade[data-n="4"] { grid-template-columns: 1fr 1fr; }
.cv-grade[data-n="5"], .cv-grade[data-n="6"], .cv-grade[data-n="7"], .cv-grade[data-n="8"], .cv-grade[data-n="9"] { grid-template-columns: 1fr 1fr 1fr; }
.cv-tile { position: relative; background: #111827; border-radius: 10px; overflow: hidden; min-height: 120px; }
.cv-tile video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.cv-local video { transform: scaleX(-1); }
.cv-nome { position: absolute; left: 8px; bottom: 8px; background: rgba(15, 23, 42, .75); color: #fff; padding: 3px 8px;
           border-radius: 999px; font-size: 12px; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-aviso { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); background: rgba(15, 23, 42, .85);
            padding: 8px 14px; border-radius: 999px; font-size: 13px; z-index: 2; max-width: 90%; text-align: center; }
.cv-barra { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 10px; background: #0f172a; }
.cv-bt { border: 0; border-radius: 999px; padding: 9px 14px; background: #1e293b; color: #f8fafc; font: 600 13px Inter, system-ui, sans-serif; cursor: pointer; }
.cv-bt:hover { background: #334155; }
.cv-bt.cv-off { background: #7f1d1d; }
.cv-bt.cv-on { background: #0f766e; }
.cv-sair { background: #dc2626; }
.cv-sair:hover { background: #b91c1c; }
.cv-perigo { background: #9a3412; }
.cv-oculto { display: none; }
@media (max-width: 600px) {
  .cv { min-height: 70vh; border-radius: 0; }
  .cv-grade[data-n="2"] { grid-template-columns: 1fr; }
  .cv-bt { padding: 8px 10px; font-size: 12px; }
}
