/* Molduras de tela (celular e PC) e peças próprias do apresentador. */
:root { --vermelho: #da291c; }
.moldura { margin: 0 auto; background: #fff; overflow: hidden; position: relative; }
.moldura.celular { width: min(100%, 380px); border: 10px solid #111827; border-radius: 34px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.moldura.pc { width: 100%; max-width: 820px; border: 2px solid #94a3b8; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.moldura.pc::before { content: ""; display: block; height: 22px; background: linear-gradient(#e2e8f0, #cbd5e1); border-bottom: 1px solid #94a3b8; }
.moldura-conteudo { pointer-events: none; position: relative; min-height: 160px; }
.sem-tela { padding: 48px 16px; text-align: center; color: #64748b; font-size: 18px; }
.zl-tela { position: relative; line-height: 0; }
.zl-tela img { width: 100%; height: auto; display: block; }
.destaque { position: absolute; border: 3px solid var(--vermelho); background: rgba(218,41,28,.15); border-radius: 8px; box-shadow: 0 0 0 3px rgba(255,255,255,.7); animation: pulso 1.4s ease-in-out infinite; }
@keyframes pulso { 50% { box-shadow: 0 0 0 7px rgba(218,41,28,.25); } }
@media (prefers-reduced-motion: reduce) { .destaque { animation: none; } }

/* ---------- layout do apresentador ---------- */
body { font-size: 17px; }
.ctl-modelo { color: #fff; display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ctl-modelo select { font: inherit; padding: 6px 10px; border-radius: 8px; border: 0; max-width: 60vw; }
.controles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.controles .btn { font-size: 16px; padding: 10px 16px; }
.controles .btn[aria-pressed="true"] { outline: 3px solid #111827; }
.controles .sep { width: 1px; height: 28px; background: #cbd5e1; margin: 0 4px; }
.contador { font-weight: 700; font-size: 18px; padding: 0 6px; }
.palco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .palco { grid-template-columns: 1fr; } }
.caixa { background: #fff; border-radius: 14px; box-shadow: 0 2px 10px rgba(15,23,42,.1); padding: 16px; margin-bottom: 16px; }
.rodape h2 { margin: 0 0 6px; font-size: 26px; }
#nota { margin: 0; font-size: 20px; line-height: 1.5; }
body.sem-notas #nota { display: none; }

/* bancada */
.bancada-nos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.bancada .node { width: 190px; }
.bancada .node img { height: 150px; max-width: 180px; }
.bancada .devpic img { height: 150px; max-width: 180px; }
.bancada .node .nm { font-size: 16px; }
.bancada .node .st { font-size: 14px; }
.noimg { display: flex; align-items: center; justify-content: center; height: 150px; color: #94a3b8; border: 2px dashed #cbd5e1; border-radius: 10px; }
.bancada-ligacoes { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.bancada-ligacoes .wire { width: auto; height: auto; margin: 0; background: #f8fafc; border-left: 6px solid #f59e0b; border-radius: 6px;
  padding: 8px 12px; display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.bancada-ligacoes .wire.wifi { border-left: 6px dashed #2563eb; background: #eff6ff; }
.bancada-ligacoes .wire.fora-limite { border-left-color: #dc2626; background: #fef2f2; color: #991b1b; }
.bancada-ligacoes .wire span { position: static; transform: none; font-size: 16px; color: inherit; white-space: normal; text-align: right; }

/* O CSS do simulador troca colunas por @media da janela; dentro da moldura precisa valer a largura dela. */
.moldura .cbn-cols { grid-template-columns: 1fr; }
.moldura .cbn-topo { height: 250px; }
