/* Espelhamento de tela ao vivo (lote 49): barra fixa de quem compartilha, termo e painel do gestor. Alto contraste. */
:root{--esp-ativo-fundo:#e6f4ea;--esp-ativo-borda:#1e7a3c;--esp-ativo-texto:#0f4d24;--esp-parado-fundo:#fff1dc;--esp-parado-borda:#b0640a;--esp-parado-texto:#6e3c00}
.espelhamento-barra{position:fixed;left:calc(var(--lume-menu-largura,0px) + 12px);bottom:8px;z-index:2147483000;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 24px);padding:7px 10px;border:2px solid var(--esp-parado-borda);border-radius:10px;background:var(--esp-parado-fundo);color:var(--esp-parado-texto);font-size:13px;font-weight:600;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.espelhamento-barra[data-ativo="true"]{border-color:var(--esp-ativo-borda);background:var(--esp-ativo-fundo);color:var(--esp-ativo-texto);padding:5px 10px;font-size:12px}
.espelhamento-barra button{margin:0;min-height:30px;padding:4px 12px;font-size:13px;border-radius:8px}
.espelhamento-ponto{width:10px;height:10px;border-radius:50%;flex:none;background:var(--esp-parado-borda)}
.espelhamento-barra[data-ativo="true"] .espelhamento-ponto{background:#d11a2a;animation:esp-pulso 1.6s ease-in-out infinite}
@keyframes esp-pulso{50%{opacity:.35}}
.espelhamento-termo{max-width:560px;padding:20px 22px;border-radius:12px}
.espelhamento-termo h3{margin:0 0 10px}
.espelhamento-termo p{margin:0 0 10px;line-height:1.5}
.espelhamento-erro{color:#b42332;font-weight:600}
.espelhamento-painel{width:min(1400px,96vw);max-height:92vh;padding:16px 18px;border-radius:12px}
.espelhamento-painel-cabecalho{display:flex;align-items:center;justify-content:space-between;gap:12px}
.espelhamento-painel-cabecalho h3{margin:0}
.espelhamento-ajuda{font-size:12.5px;color:#4a5866;margin:6px 0 12px}
.espelhamento-grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.espelhamento-cartao{display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:8px;border:2px solid #c9d3dd;border-radius:10px;background:#fff;color:#1d2b38;text-align:left;cursor:zoom-in;min-height:0}
.espelhamento-cartao[data-ao-vivo="true"]{border-color:var(--esp-ativo-borda)}
.espelhamento-cartao small{font-size:12px;color:#4a5866}
.espelhamento-cartao[data-ao-vivo="true"] small{color:var(--esp-ativo-texto);font-weight:600}
.espelhamento-cartao img{width:100%;height:auto;border-radius:6px;background:#0d1b26;display:block}
.espelhamento-vazio{display:flex;align-items:center;justify-content:center;min-height:120px;border-radius:6px;background:#eef2f5;color:#6b7785;font-size:12px}
.espelhamento-vazio:empty{display:none}
.espelhamento-cartao.ampliado{grid-column:1/-1;cursor:zoom-out}
/* Celular e tablet (abaixo de 1024 px): o menu fica no topo, então a barra não reserva a largura do menu e deixa livre o botão Chat. */
@media (max-width:1023.98px){.espelhamento-barra{left:12px;bottom:calc(8px + env(safe-area-inset-bottom));max-width:calc(100vw - 88px)}}
