/* Build Media — visual (v0.6: interface homologada no canvas "proposta de interface") */
:root {
  --fundo: #0f1012;
  --painel: #141518;       /* topo, Fila, gavetas */
  --lateral: #131417;
  --painel-2: #1c1d22;     /* campos e botões */
  --painel-3: #1f2025;     /* linha ativa, cartões dentro de painéis */
  --borda: #2a2c33;
  --divisa: #23252b;       /* linhas que separam áreas */
  --texto: #e9e9ec;
  --texto-2: #9a9ca5;
  --texto-3: #8d909a;
  --destaque: #ff6a3d;
  --destaque-2: #ff8a65;
  --destaque-3: #ffb199;
  --destaque-fundo: #2a1b15;
  --sobre-destaque: #1a0d07;
  --ok: #57c98a;
  --alerta: #ffcf7a;
  --perigo: #ff8589;
  --azul: #4c8dff;
  --lilas: #b07cff;
  --raio: 10px;
  --tam: 168px;
  --fonte: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--fundo); color: var(--texto); font: 13px/1.45 var(--fonte); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--destaque-2); }
a:hover { color: var(--destaque-3); }
[hidden] { display: none !important; }
kbd { font: 11px/1 var(--fonte); padding: 3px 6px; border: 1px solid #33353d; border-radius: 5px; color: var(--texto-2); }
:focus-visible { outline: 2px solid var(--destaque); outline-offset: 2px; }

/* ---------- botões e campos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px;
  background: transparent; border: 1px solid #3a3c44; border-radius: 9px; cursor: pointer;
  white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--painel-3); border-color: #4a4c55; }
.btn.primario { background: var(--destaque); border-color: var(--destaque); color: var(--sobre-destaque); font-weight: 700; }
.btn.primario:hover { background: #ff7d55; }
.btn.fantasma { background: transparent; border-color: transparent; color: var(--texto-2); }
.btn.fantasma:hover { background: var(--painel-3); color: var(--texto); }
.btn.perigo { color: var(--perigo); border-color: #4a2a2d; }
.btn.perigo:hover { border-color: #e5484d; background: rgba(229,72,77,.1); }
.btn.cheio { background: var(--painel-3); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:disabled { opacity: .45; cursor: default; }
a.btn { text-decoration: none; color: inherit; }
.btn-ic {
  width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; border-radius: 9px;
  background: none; color: var(--texto-2); flex: none;
}
.btn-ic:hover { background: var(--painel-3); color: var(--texto); }
.btn-ic svg { width: 18px; height: 18px; }
.btn-x { width: 36px; padding: 0; font-size: 18px; }
.campo {
  height: 36px; padding: 0 11px; background: var(--painel-2); border: 1px solid var(--borda);
  border-radius: 9px; outline: none; min-width: 0;
}
.campo:focus { border-color: var(--destaque); }
textarea.campo { height: auto; padding: 9px 11px; resize: vertical; line-height: 1.45; }
label.rotulo { display: block; font-size: 12px; color: var(--texto-2); margin: 14px 0 6px; }
.titulo-secao { margin: 0; font-size: 11px; letter-spacing: .08em; color: var(--texto-3); font-weight: 600; text-transform: uppercase; }

/* controles segmentados (Tudo/Fotos/Vídeos, velocidades…) */
.segmentado { display: flex; padding: 3px; background: var(--painel-2); border: 1px solid var(--borda); border-radius: 10px; }
.segmentado button {
  height: 30px; padding: 0 12px; border: 0; background: transparent; border-radius: 7px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--texto-2); white-space: nowrap;
}
.segmentado button svg { width: 15px; height: 15px; }
.segmentado button:hover { color: var(--texto); }
.segmentado button.ativo, .segmentado button[aria-pressed="true"] { background: #2c2e35; color: var(--texto); }
.segmentado.claro { background: var(--painel-3); border-color: transparent; }
.segmentado.claro button.ativo { background: #34363e; }

/* interruptor (liga/desliga) */
.chave { display: flex; align-items: center; gap: 12px; padding: 9px 0; cursor: pointer; }
.chave > span:first-child { flex: 1; min-width: 0; }
.chave small { display: block; font-size: 11.5px; color: var(--texto-3); }
.chave input { position: absolute; opacity: 0; pointer-events: none; }
.chave i { width: 38px; height: 22px; border-radius: 99px; background: #3a3c44; position: relative; flex: none; transition: background .15s; }
.chave i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s; }
.chave input:checked + i { background: var(--destaque); }
.chave input:checked + i::after { left: 19px; }
.chave input:focus-visible + i { outline: 2px solid var(--destaque); outline-offset: 2px; }

/* contador − 6 s + */
.contador { display: flex; align-items: center; gap: 8px; }
.contador button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #33353d; background: none; font-size: 16px; line-height: 1; }
.contador button:hover { border-color: #4a4c55; background: var(--painel-3); }
.contador b { flex: 1; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; min-width: 44px; }

/* ---------- estrutura ---------- */
.app {
  display: grid; grid-template-columns: 232px minmax(0, 1fr); grid-template-rows: 60px minmax(0, 1fr);
  height: 100vh; height: 100dvh;
}
.app.com-fila { grid-template-columns: 232px minmax(0, 1fr) 372px; }
.topo {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 0 16px 0 18px; min-width: 0;
  border-bottom: 1px solid var(--divisa); background: var(--painel);
}
.marca { display: flex; align-items: center; gap: 10px; width: 214px; flex: none; }
.marca .simbolo { width: 26px; height: 28px; flex: none; }
.nome-marca { font-weight: 700; font-size: 15px; letter-spacing: -.1px; line-height: 1.1; white-space: nowrap; }
.nome-marca small { display: block; font-weight: 400; font-size: 11px; letter-spacing: 0; color: var(--texto-2); margin-top: 1px; }
.logo-completo { display: inline-block; height: auto; max-width: 100%; }
.busca {
  flex: 1; max-width: 520px; min-width: 120px; height: 38px; display: flex; align-items: center; gap: 10px; padding: 0 10px 0 12px;
  background: var(--painel-2); border: 1px solid var(--borda); border-radius: 10px; color: var(--texto-2); cursor: text;
}
.busca:focus-within { border-color: var(--destaque); }
.busca svg { width: 16px; height: 16px; flex: none; }
.busca input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--texto); }
.busca input::-webkit-search-cancel-button { filter: invert(.6); }
.espaco { flex: 1; }
.modos button { width: 34px; padding: 0; }
.btn-topo {
  height: 38px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; flex: none; position: relative;
  border: 1px solid var(--borda); background: none; border-radius: 10px; color: var(--texto);
}
.btn-topo:hover { background: var(--painel-3); border-color: #3a3c44; }
.btn-topo svg { width: 16px; height: 16px; }
.btn-topo.quadrado { width: 38px; padding: 0; justify-content: center; }
.btn-topo.ativo { border-color: var(--destaque); color: var(--destaque-3); background: var(--destaque-fundo); }
.btn-topo .ponto { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--destaque); box-shadow: 0 0 0 2px var(--painel); }
.btn-topo.fila { border: 0; background: var(--destaque); color: var(--sobre-destaque); font-weight: 600; padding: 0 14px; }
.btn-topo.fila:hover { background: #ff7d55; }
.btn-topo.fila.fechada { background: none; border: 1px solid var(--borda); color: var(--texto); font-weight: 500; }
.btn-topo.fila.fechada:hover { background: var(--painel-3); }
.qt-fila { background: var(--sobre-destaque); color: var(--destaque-2); border-radius: 99px; padding: 1px 7px; font-size: 11px; font-weight: 700; line-height: 16px; }
.btn-topo.fila.fechada .qt-fila { background: var(--destaque); color: var(--sobre-destaque); }

/* barra lateral: Acervo e Filas salvas */
.lateral {
  border-right: 1px solid var(--divisa); background: var(--lateral); overflow-y: auto; padding: 18px 12px 14px;
  display: flex; flex-direction: column; gap: 22px; min-height: 0;
}
.lateral h3 {
  margin: 0; padding: 0 8px 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--texto-3); display: flex; justify-content: space-between; align-items: center;
}
.lateral h3 button { border: 0; background: none; color: var(--texto-3); font-size: 17px; line-height: 1; padding: 0 4px; border-radius: 5px; }
.lateral h3 button:hover { color: var(--texto); background: var(--painel-3); }
.arvore, .filas-salvas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.arvore ul { list-style: none; margin: 0; padding-left: 14px; display: flex; flex-direction: column; gap: 1px; }
.no {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer;
  color: #d4d5da; user-select: none; position: relative;
}
.no:hover { background: var(--painel-3); }
.no.ativo { background: var(--destaque-fundo); color: var(--destaque-2); font-weight: 500; }
.no > svg { width: 16px; height: 16px; flex: none; color: var(--texto-3); }
.no.ativo > svg { color: currentColor; }
.no .seta { position: absolute; left: -4px; width: 14px; text-align: center; color: var(--texto-3); font-size: 8px; transition: transform .15s; }
.no .seta.aberta { transform: rotate(90deg); }
.no .nome { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.no .qt { font-size: 11px; color: var(--texto-3); font-variant-numeric: tabular-nums; }
.no.ativo .qt { color: inherit; opacity: .8; }
.no.fora-do-ar { color: var(--texto-3); }
.no.fora-do-ar .qt { color: var(--alerta); }
.fs-item { position: relative; }
.fs-item .fs-abrir {
  display: block; width: 100%; padding: 8px 34px 8px 10px; border: 0; border-radius: 8px; text-align: left; background: none; color: #e1e2e6;
}
.fs-item .fs-abrir:hover { background: var(--painel-3); }
.fs-item.ativo .fs-abrir { background: var(--painel-3); }
.fs-nome { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 11.5px; color: var(--texto-3); }
.fs-tv { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); }
.fs-tv::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fs-mais {
  position: absolute; right: 4px; top: 8px; width: 26px; height: 26px; border: 0; border-radius: 6px; background: none;
  color: var(--texto-3); opacity: 0; display: grid; place-items: center;
}
.fs-item:hover .fs-mais, .fs-mais:focus-visible, .fs-mais[aria-expanded="true"] { opacity: 1; }
.fs-mais:hover { background: #2c2e35; color: var(--texto); }
.fs-mais svg { width: 16px; height: 16px; }
.lat-vazio { padding: 0 10px; font-size: 12px; color: var(--texto-3); line-height: 1.5; }
.status-indice {
  display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 0; border-radius: 8px; background: none;
  font-size: 11.5px; color: var(--texto-3); text-align: left;
}
.status-indice:hover { background: var(--painel-3); color: var(--texto); }
.status-indice svg { width: 14px; height: 14px; flex: none; }
.status-indice:disabled svg { animation: girar 1.2s linear infinite; }

/* área central: título, filtros e galeria */
.conteudo { overflow-y: auto; position: relative; min-width: 0; }
.cabeca { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px 24px 0; }
.cabeca .titulo { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.cabeca .sub { color: var(--texto-2); }
.barra-filtros {
  position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 12px 24px; background: rgba(15,16,18,.9); backdrop-filter: blur(10px);
}
.barra-filtros .tipos button { padding: 0 12px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px;
  border: 1px dashed #3a3c44; background: none; color: #b4b6be; white-space: nowrap;
}
.chip:hover { border-color: #55575f; color: var(--texto); }
.chip.ativo { border: 1px solid var(--destaque); background: var(--destaque-fundo); color: var(--destaque-3); padding-right: 6px; }
.chip.ativo:hover { color: #ffd2c2; }
.chip .tirar { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 15px; line-height: 1; }
.chip .tirar:hover { background: rgba(255,255,255,.12); }
.chip svg { width: 14px; height: 14px; }
.btn-filtro {
  height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--borda); background: none; color: #b4b6be;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.btn-filtro:hover { border-color: #3a3c44; color: var(--texto); }
.tamanho { display: flex; align-items: center; gap: 8px; color: var(--texto-3); }
.tamanho svg { width: 14px; height: 14px; }
.tamanho input { width: 90px; accent-color: var(--destaque); }
.galeria { padding: 4px 24px 120px; }

/* menus e popovers ancorados num botão */
.pop {
  position: fixed; z-index: 90; min-width: 220px; max-width: min(360px, calc(100vw - 16px)); max-height: min(70vh, 520px); overflow-y: auto;
  padding: 6px; border-radius: 12px; background: #1f2025; border: 1px solid #3a3c44; box-shadow: 0 18px 44px rgba(0,0,0,.55);
  animation: surgir .12s;
}
.pop .segmentado.claro { background: #2a2c33; }
.pop .segmentado.claro button.ativo { background: #3d4048; }
.pop .pop-tit { padding: 8px 10px 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-3); font-weight: 600; }
.pop .op {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none;
  text-align: left; color: var(--texto);
}
.pop .op:hover, .pop .op:focus-visible { background: #2c2e35; outline: none; }
.pop .op svg { width: 16px; height: 16px; flex: none; color: var(--texto-2); }
.pop .op .qt, .pop .op kbd { margin-left: auto; color: var(--texto-3); font-size: 11.5px; }
.pop .op.ativo { color: var(--destaque-2); }
.pop .op.ativo svg { color: var(--destaque); }
.pop .op.perigo { color: var(--perigo); }
.pop .op.perigo svg { color: currentColor; }
.pop hr { border: 0; border-top: 1px solid #2e3036; margin: 6px 4px; }
.pop .pop-corpo { padding: 8px 10px 10px; display: grid; gap: 8px; }
.pop .pop-corpo .campo { width: 100%; }
.pop .linha-botoes { display: flex; gap: 6px; flex-wrap: wrap; }
.pop .linha-botoes .btn { height: 30px; padding: 0 10px; font-size: 12px; }

/* ---------- galeria: grade ---------- */
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--tam), 1fr)); gap: 16px 14px; }
.cartao { position: relative; display: flex; flex-direction: column; gap: 7px; cursor: pointer; min-width: 0; }
.quadro {
  position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #1a1b1f;
  outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .12s;
}
.quadro > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s; opacity: 0; }
.quadro > img.carregada { opacity: 1; }
.quadro .falha { position: absolute; inset: 0; display: grid; place-items: center; color: var(--texto-2); font-size: 12px; text-align: center; padding: 8px; }
.quadro .falha svg { width: 26px; height: 26px; }
.quadro::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .15s; pointer-events: none; z-index: 1; }
.cartao:hover .quadro::after { opacity: 1; }
.cartao.skim .quadro::after { opacity: 0; }
.legenda { display: flex; flex-direction: column; gap: 1px; padding: 0 2px; min-width: 0; }
.legenda .ln { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #dcdde1; }
.legenda .lm { font-size: 11.5px; color: var(--texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.selo {
  position: absolute; right: 8px; top: 8px; z-index: 2; padding: 2px 7px; border-radius: 6px; background: rgba(20,20,24,.8);
  font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; color: #fff;
}
.selo svg { width: 9px; height: 9px; }
.selo.cortado { background: rgba(255,106,61,.92); color: var(--sobre-destaque); }
.selo-aviso {
  position: absolute; left: 8px; bottom: 8px; z-index: 2; padding: 3px 7px; border: 0; border-radius: 6px; background: rgba(20,20,24,.85);
  color: var(--alerta); font-size: 11px; font-weight: 600;
}
button.selo-aviso:hover { background: #2a2216; }
.marcador {
  position: absolute; left: 8px; top: 8px; z-index: 3; width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid rgba(255,255,255,.85); background: rgba(0,0,0,.25); display: none; place-items: center;
  color: var(--sobre-destaque); font-size: 13px; font-weight: 800;
}
.selecionando .marcador, .cartao:hover .marcador { display: grid; }
.cartao.sel .quadro { outline-color: var(--destaque); }
.cartao.sel .marcador { display: grid; background: var(--destaque); border-color: var(--destaque); }
.cartao.sel .marcador::after { content: "✓"; }
.pos-fila {
  position: absolute; left: 8px; top: 8px; z-index: 2; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px;
  background: var(--destaque); color: var(--sobre-destaque); font-weight: 700; font-size: 12px; display: none; place-items: center;
}
.com-fila .cartao[data-fila] .pos-fila { display: grid; }
.com-fila .cartao[data-fila] .quadro { outline-color: var(--destaque); }
.cartao:hover .pos-fila, .selecionando .pos-fila { display: none !important; }
.add-fila {
  position: absolute; right: 8px; bottom: 8px; z-index: 3; display: none; height: 28px; padding: 0 10px; border: 0; border-radius: 8px;
  background: var(--destaque); color: var(--sobre-destaque); font-weight: 600; font-size: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.add-fila:hover { background: #ff7d55; }
.cartao:hover .add-fila { display: block; }
.selecionando .cartao .add-fila { display: none; }
.cartao:hover .selo-aviso { display: none; }

/* mosaico */
.mosaico { column-width: var(--tam); column-gap: 14px; }
.mosaico .cartao { margin-bottom: 16px; break-inside: avoid; }
.mosaico .quadro { aspect-ratio: auto; min-height: 60px; }
.mosaico .quadro > img { height: auto; }

/* lista (tabela) */
.tabela-lista { border: 1px solid var(--divisa); border-radius: 12px; overflow-x: auto; }
.lista { width: 100%; border-collapse: collapse; }
.lista th {
  text-align: left; font-size: 11.5px; color: var(--texto-3); font-weight: 600; padding: 10px; background: #16171b; white-space: nowrap;
}
.lista th:first-child { padding-left: 14px; }
.lista th:last-child, .lista td:last-child { padding-right: 14px; text-align: right; }
.lista th[data-ordem] { cursor: pointer; user-select: none; }
.lista th[data-ordem]:hover { color: var(--texto); }
.lista th.ordenada { color: var(--texto); }
.lista td { padding: 8px 10px; border-top: 1px solid #1f2025; vertical-align: middle; white-space: nowrap; }
.lista td:first-child { padding-left: 14px; }
.lista tr.linha { cursor: pointer; }
.lista tr.linha:hover td { background: #16171b; }
.lista tr.sel td { background: rgba(255,106,61,.10); }
.lista .td-nome { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: normal; }
.lista .mini { width: 56px; height: 36px; border-radius: 6px; object-fit: cover; background: var(--painel-3); display: block; flex: none; }
.lista .nome { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: clamp(120px, 24vw, 380px); }
.com-fila .lista .nome { max-width: clamp(100px, 14vw, 300px); }
@media (max-width: 1500px) { .com-fila .lista .col-pasta { display: none; } }
.lista .corte { color: var(--destaque-2); }
.lista .dim { color: var(--texto-2); }
.lista .formato { padding: 2px 7px; border-radius: 6px; background: var(--painel-3); font-size: 11.5px; display: inline-flex; align-items: center; gap: 4px; }
.lista .formato svg { width: 11px; height: 11px; }
.lista td.num { font-variant-numeric: tabular-nums; }
.lista .bt-fila-linha {
  height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid #33353d; background: none; color: #c9cad0; font-size: 12px; font-weight: 600;
}
.lista .bt-fila-linha:hover { border-color: #4a4c55; color: var(--texto); }
.lista .bt-fila-linha.na-fila { border-color: var(--destaque); background: var(--destaque-fundo); color: var(--destaque-3); }

/* linha do tempo (por dia) */
.tempo-wrap { display: flex; gap: 24px; align-items: flex-start; }
.tempo-dias { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.grupo-dia { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 70px; }
.grupo-dia .gd-cab { display: flex; align-items: center; gap: 10px; }
.grupo-dia .gd-cab b { font-size: 15px; }
.grupo-dia .gd-cab .gd-info { color: var(--texto-3); }
.grupo-dia .gd-cab .gd-linha { flex: 1; height: 1px; background: var(--divisa); }
.grupo-dia .gd-cab button { border: 0; background: none; color: var(--destaque-2); font-weight: 600; padding: 4px 6px; border-radius: 6px; }
.grupo-dia .gd-cab button:hover { background: var(--destaque-fundo); }
.grupo-dia .grade { --tam-dia: calc(var(--tam) * .72); grid-template-columns: repeat(auto-fill, minmax(var(--tam-dia), 1fr)); gap: 10px; }
.grupo-dia .legenda { display: none; }
.grupo-dia .quadro { border-radius: 9px; }
.hora { position: absolute; left: 6px; bottom: 6px; z-index: 2; padding: 1px 6px; border-radius: 5px; background: rgba(0,0,0,.6); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.cartao:hover .hora { opacity: 0; }
.nav-meses {
  position: sticky; top: 64px; width: 130px; flex: none; border-left: 1px solid var(--divisa); padding-left: 16px;
  display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - 140px); overflow-y: auto;
}
.nav-meses .ano { font-size: 11px; letter-spacing: .08em; color: var(--texto-3); font-weight: 600; margin: 8px 0 4px; }
.nav-meses .ano:first-child { margin-top: 0; }
.nav-meses button {
  padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: #c9cad0; display: flex; justify-content: space-between; text-align: left;
}
.nav-meses button span { color: var(--texto-3); font-variant-numeric: tabular-nums; }
.nav-meses button:hover { background: var(--painel-3); }
.nav-meses button.ativo { background: var(--destaque-fundo); color: var(--destaque-2); font-weight: 600; }
.nav-meses button.ativo span { color: inherit; }

.vazio { text-align: center; padding: 80px 20px; color: var(--texto-2); max-width: 520px; margin: 0 auto; }
.vazio h2 { color: var(--texto); font-size: 20px; margin-bottom: 6px; }
.sentinela { height: 1px; }
.carregando { text-align: center; color: var(--texto-2); padding: 20px; }

/* ---------- barra de seleção ---------- */
.barra-sel {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 40; max-width: calc(100vw - 24px);
  display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 16px; border-radius: 14px; white-space: nowrap;
  background: var(--painel-3); border: 1px solid #3a3c44; box-shadow: 0 16px 40px rgba(0,0,0,.55);
}
.barra-sel b { margin-right: 6px; }
.barra-sel .btn { height: 38px; padding: 0 12px; }
.barra-sel .sep { width: 1px; height: 24px; background: #3a3c44; }
.com-fila .barra-sel { left: calc(50% + (232px - 372px) / 2); }
/* ---------- modais ---------- */
.modal-fundo {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.6); display: grid; place-items: center; padding: 20px;
  animation: surgir .15s ease-out;
}
.modal {
  width: min(520px, 100%); max-height: 86vh; overflow-y: auto; background: var(--painel); border: 1px solid var(--borda);
  border-radius: 14px; padding: 20px 22px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.modal.largo { width: min(820px, 100%); }
.modal h2 { margin: 0 0 4px; font-size: 18px; }
.modal .sub { color: var(--texto-2); margin: 0 0 8px; }
.modal .acoes { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.modal .campo { width: 100%; }
.check { display: flex; align-items: center; gap: 8px; margin-top: 14px; cursor: pointer; }
.check input { accent-color: var(--destaque); width: 16px; height: 16px; }
.caixa-link { display: flex; gap: 8px; margin-top: 14px; }
.caixa-link input { flex: 1; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.aviso { font-size: 12px; color: var(--texto-2); background: var(--painel-2); border-radius: 8px; padding: 10px 12px; margin-top: 12px; }
.links-lista { display: grid; gap: 8px; margin-top: 12px; }
.link-item {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px;
  border: 1px solid var(--borda); border-radius: 10px; background: var(--painel-2);
}
.link-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #2a2c31; }
.link-item .t { font-weight: 600; }
.link-item .d { font-size: 12px; color: var(--texto-2); }
.link-item.expirado { opacity: .55; }
.link-item .botoes { display: flex; gap: 6px; }
.etiqueta { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #2e3036; color: var(--texto-2); margin-left: 6px; }
.etiqueta.verde { background: rgba(62,207,142,.15); color: var(--ok); }

.toast {
  position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 100; background: #2b2e34;
  border: 1px solid #3b3f46; padding: 10px 16px; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.4);
  animation: surgir .15s ease-out;
}

/* ---------- item aberto (visualizador) ---------- */
.vis { position: fixed; inset: 0; z-index: 80; background: #0b0b0d; display: flex; flex-direction: column; animation: surgir .15s; }
.vis-topo { height: 60px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid #1f2025; }
.vis-topo .btn { height: 38px; border-color: var(--borda); border-radius: 10px; }
.vis-topo .btn.primario { padding: 0 14px; }
.vis-tit { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vis-nome { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vis-sub { font-size: 12px; color: var(--texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn-quad { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--borda); background: none; display: grid; place-items: center; flex: none; color: var(--texto); }
.btn-quad:hover { background: var(--painel-3); }
.btn-quad:disabled { opacity: .35; cursor: default; background: none; }
.btn-quad svg { width: 18px; height: 18px; }
.vis-corpo { flex: 1; display: flex; min-height: 0; }
.vis-main { flex: 1; display: flex; flex-direction: column; padding: 24px 28px 16px; gap: 14px; min-width: 0; }
.vis-palco { flex: 1; display: grid; place-items: center; min-height: 0; }
.vis-palco .midia { position: relative; width: 100%; height: 100%; display: grid; place-items: center; min-height: 0; }
.vis-palco img, .vis-palco video { max-width: 100%; max-height: 100%; object-fit: contain; display: block; border-radius: 8px; user-select: none; background: #000; }
.vis-palco .midia > img, .vis-palco .midia > video { position: absolute; inset: 0; margin: auto; width: auto; height: auto; }
.vis-selo { position: absolute; left: 12px; top: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(0,0,0,.6); font-size: 12px; pointer-events: none; z-index: 2; }
.vis-aviso { color: var(--texto-2); text-align: center; padding: 30px; }
.vis-aviso img { max-width: 420px; width: 100%; border-radius: 8px; opacity: .6; position: static !important; }
.vis-trilho { width: min(900px, 100%); align-self: center; display: flex; flex-direction: column; gap: 8px; flex: none; }
.vt-barra { position: relative; height: 34px; border-radius: 6px; background: #1a1b1f; cursor: pointer; touch-action: none; user-select: none; }
.vt-quadros { position: absolute; inset: 0; display: flex; gap: 2px; opacity: .45; border-radius: 6px; overflow: hidden; pointer-events: none; }
.vt-quadros span { flex: 1; background-size: cover; background-position: center; background-repeat: no-repeat; }
.vt-trecho { position: absolute; top: 0; bottom: 0; border: 2px solid var(--destaque); border-radius: 6px; background: rgba(255,106,61,.16); pointer-events: none; }
.vt-alca { position: absolute; top: 4px; bottom: 4px; width: 10px; margin-left: -5px; border-radius: 4px; background: var(--destaque); cursor: ew-resize; z-index: 2; }
.vt-alca:hover, .vt-alca:focus-visible { background: #ff8a65; box-shadow: 0 0 0 3px rgba(255,106,61,.3); outline: none; }
.vt-cabeca { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; z-index: 1; }
.vt-linha { display: flex; align-items: center; gap: 12px; }
.vt-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #e9e9ec; color: #111; display: grid; place-items: center; flex: none; }
.vt-play svg { width: 16px; height: 16px; }
.vt-tempo { font-variant-numeric: tabular-nums; }
.vt-dica { color: var(--texto-3); }
.vis-lado { width: 340px; flex: none; border-left: 1px solid #1f2025; background: var(--lateral); display: flex; flex-direction: column; overflow-y: auto; }
.vis-abas { margin: 14px 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 0; }
.vis-abas button.ativo { font-weight: 600; }
.vis-lado-corpo { padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.vis-lado-corpo .rotulo { margin: 0 0 6px; color: #a5a7b0; font-size: 13px; }
.campo.grande { height: 40px; background: var(--fundo); border-color: #33353d; font-variant-numeric: tabular-nums; }
.vis-lado-corpo .linha-campos .btn { height: 40px; }
.vis-lado-corpo .btn.grande { width: 100%; }
.vis-passa { padding: 12px; border-radius: 10px; background: var(--destaque-fundo); color: var(--destaque-3); display: flex; justify-content: space-between; }
.vis-resumo { margin-top: auto; padding: 14px 16px; border-top: 1px solid #1f2025; }
.vis-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 12px; }
.vis-dl dt { color: var(--texto-3); }
.vis-dl dd { margin: 0; word-break: break-word; }
.vis-lado-corpo > .vis-dl { font-size: 13px; gap: 10px 16px; }
.dim { color: var(--texto-3); }
.vis-publico .vis-lado { width: 300px; }
@media (max-width: 860px) {
  .vis-corpo { flex-direction: column; overflow-y: auto; }
  .vis-main { padding: 12px; min-height: 60vh; }
  .vis-lado { width: auto; border-left: 0; border-top: 1px solid #1f2025; overflow: visible; }
  .vt-dica { display: none; }
  .vis-topo { gap: 6px; padding: 0 8px; } .vis-topo .btn:first-child span, .vis-topo .btn:first-child { padding: 0 8px; }
}

/* ---------- escolher pasta ---------- */
.pasta-escolhida {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px;
  background: var(--painel-2); border: 1px solid var(--borda); font-family: ui-monospace, Menlo, monospace; font-size: 12px;
  word-break: break-all;
}
.pasta-escolhida svg { width: 20px; height: 20px; flex: none; color: var(--destaque); }
.pasta-escolhida.vazia { border-style: dashed; color: var(--texto-2); font-family: var(--fonte); font-size: 13px; }
.pasta-escolhida.vazia svg { color: var(--texto-2); }
.botoes-escolha { display: flex; gap: 8px; flex-wrap: wrap; }
details.manual summary { cursor: pointer; color: var(--texto-2); font-size: 12px; margin: 2px 0 6px; }
details.manual .campo { width: 100%; }
.nav-atalhos { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chip-atalho {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  background: var(--painel-2); border: 1px solid var(--borda);
}
.chip-atalho svg { width: 15px; height: 15px; color: var(--texto-2); }
.chip-atalho:hover { border-color: #3a3d44; }
.chip-atalho.ativo { border-color: var(--destaque); color: var(--destaque-2); }
.chip-atalho.ativo svg { color: var(--destaque); }
.nav-caminho { display: flex; align-items: center; gap: 8px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--texto-2); word-break: break-all; }
.nav-caminho .btn { flex: none; padding: 0 8px; }
.nav-lista { margin-top: 10px; height: 340px; overflow-y: auto; border: 1px solid var(--borda); border-radius: 10px; padding: 4px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px;
  background: none; cursor: pointer; text-align: left;
}
.nav-item:hover { background: var(--painel-2); }
.nav-item svg { width: 18px; height: 18px; color: #7aa7ff; flex: none; }
.nav-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item .seta-dir { width: 14px; height: 14px; color: var(--texto-2); }
.nav-vazio { padding: 40px 20px; text-align: center; color: var(--texto-2); }
.nav-info { font-size: 12px; color: var(--texto-2); }
.btn:disabled { opacity: .45; cursor: default; }

.linha-campos { display: flex; gap: 6px; align-items: center; }
.linha-campos .campo { flex: 1; }
.dica { font-size: 12px; color: var(--texto-2); margin-top: 6px; }

/* ---------- opções de apresentação ---------- */

/* ---------- player ---------- */
.player { position: fixed; inset: 0; z-index: 120; background: #000; cursor: none; user-select: none; }
.player.ativo, .player.pausado { cursor: default; }
.pl-palco, .pl-camada { position: absolute; inset: 0; }
.pl-camada { opacity: 0; will-change: transform, opacity; }
.pl-camada.visivel { opacity: 1; }
.pl-palco { background: #000; transition: background .2s; }
/* a mídia ocupa exatamente a tela e se encaixa dentro dela, seja horizontal, vertical ou quadrada */
.pl-camada img, .pl-camada video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.pl-cartela { position: absolute; inset: 0; }
/* assinatura discreta durante a apresentação */
.pl-assinatura {
  position: absolute; top: max(14px, 2.6vmin); right: max(16px, 3vmin); z-index: 2; pointer-events: none;
  display: flex; align-items: center; gap: max(5px, .8vmin); opacity: .5;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.55)); transition: opacity .3s;
}
.pl-assinatura img { height: max(46px, 8vmin); width: auto; filter: brightness(0) invert(1); } /* marca vertical, toda branca */
.pl-assinatura span {
  color: #fff; font: 700 max(11px, 1.7vmin)/1 -apple-system, "SF Pro Display", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.01em;
}
.pl-assinatura[hidden] { display: none; }

/* enquadramento por item */
.pl-camada.enq-cover img, .pl-camada.enq-cover video { object-fit: cover; }
.pl-camada.enq-desfocado img, .pl-camada.enq-desfocado video { background: transparent; }
.pl-desfoque {
  position: absolute; inset: -6%; background-size: cover; background-position: center;
  filter: blur(42px) brightness(.55) saturate(1.25); transform: scale(1.08);
}
.pl-controles {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 60px 32px 24px; display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; opacity: 0; transition: opacity .3s; pointer-events: none;
}
.player.ativo .pl-controles, .player.pausado .pl-controles { opacity: 1; pointer-events: auto; }
.pl-trilha { display: flex; gap: 4px; }
.pl-trilha span { height: 4px; border-radius: 2px; background: rgba(255,255,255,.25); overflow: hidden; min-width: 2px; }
.pl-trilha i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.pl-linha { display: flex; align-items: center; gap: 14px; }
.pl-txt { flex: 1; min-width: 0; }
.pl-txt b { font-size: 15px; }
.pl-info { opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pl-red { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; flex: none; }
.pl-red:hover { background: rgba(255,255,255,.24); }
.pl-red svg { width: 20px; height: 20px; }
.pl-red.grande { width: 56px; height: 56px; background: #fff; color: #111; }
.pl-red.grande:hover { background: #e9e9ec; }
.pl-dir { flex: 1; display: flex; justify-content: flex-end; gap: 8px; }
.pl-bt { height: 38px; padding: 0 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.14); color: #fff; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pl-bt:hover { background: rgba(255,255,255,.24); }
.pl-bt svg { width: 16px; height: 16px; }
.pl-bt.ligado { background: rgba(255,106,61,.9); color: var(--sobre-destaque); font-weight: 600; }
.pl-bt.ligado:hover { background: var(--destaque); }
.pl-bt.desligado { color: #ffb199; }
.pl-dica {
  position: absolute; left: 32px; top: 28px; z-index: 3; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.45); font-size: 12px; color: #fff;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.player.ativo .pl-dica { opacity: .85; }
.pl-nome { position: absolute; left: 32px; top: 28px; z-index: 2; font-size: 15px; text-shadow: 0 1px 8px rgba(0,0,0,.8); color: #fff; }
.pl-aviso {
  position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%,-50%); background: rgba(20,20,24,.9);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px 24px; text-align: center; color: #fff; cursor: default;
}
.pl-aviso.som { top: 24px; transform: translateX(-50%); padding: 10px 16px; cursor: pointer; display: flex; gap: 8px; align-items: center; }
.pl-aviso.som svg { width: 18px; height: 18px; }

/* ---------- página de apresentação salva ---------- */

/* ---------- conversão de vídeos ---------- */
.conv-barra { height: 4px; border-radius: 4px; background: #2e3036; overflow: hidden; margin-top: 8px; }
.conv-barra i { display: block; height: 100%; background: var(--destaque); transition: width .5s; }
.girando { animation: girar 1.2s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.conv-tit { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 18px 0 8px; }
.conv-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--borda); border-radius: 10px; background: var(--painel-2); margin-bottom: 6px; }
.conv-nome { flex: 1; min-width: 0; display: grid; }
.conv-nome b, .conv-nome span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.conv-prog { width: 220px; display: grid; gap: 4px; }
.conv-prog .conv-barra { margin: 0; }
code.cod { background: #2a2c31; padding: 1px 6px; border-radius: 5px; font-size: 12px; }

/* ---------- painel da Fila (à direita da galeria) ---------- */
.painel-fila { display: none; }
.com-fila .painel-fila {
  display: flex; flex-direction: column; grid-row: 2; grid-column: 3; min-height: 0; position: relative;
  border-left: 1px solid var(--divisa); background: var(--painel); transition: box-shadow .15s, background .15s;
}
body.fila-aberta .barra-sel { left: calc(50% + (232px - 372px) / 2); }
.painel-fila.alvo { box-shadow: inset 3px 0 0 rgba(255,106,61,.35); }
.painel-fila.por-cima { background: #1a1819; box-shadow: inset 3px 0 0 var(--destaque); }
.pf-cab { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--divisa); }
.pf-tit { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pf-nome-bt {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 2px 4px; margin-left: -4px;
  border-radius: 7px; text-align: left;
}
.pf-nome-bt:hover { background: var(--painel-3); }
.pf-nome-bt b { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-nome-bt b.sem-nome { color: var(--texto-3); font-weight: 600; }
.pf-nome-bt svg { width: 14px; height: 14px; color: var(--texto-3); flex: none; }
.pf-nome-campo { flex: 1; min-width: 0; height: 32px; font-size: 15px; font-weight: 700; }
.pf-selo { padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; white-space: nowrap; flex: none; }
.pf-selo.nao-salva { background: #33261a; color: var(--alerta); }
.pf-selo.salva { background: rgba(87,201,138,.12); color: var(--ok); }
.pf-stats { display: flex; gap: 14px; color: #a5a7b0; font-size: 12px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.pf-stats b { color: var(--texto); font-weight: 600; }
.pf-trilha { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--painel-3); }
.pf-trilha span { min-width: 3px; }
.pf-legenda { display: flex; gap: 12px; font-size: 11px; color: var(--texto-3); }
.pf-legenda span { display: flex; align-items: center; gap: 5px; }
.pf-legenda i { width: 8px; height: 8px; border-radius: 2px; }
.t-video { background: var(--destaque); } .t-foto { background: var(--azul); } .t-cartela { background: var(--lilas); }
.pf-aviso { margin: 10px 12px 0; padding: 8px 10px; border-radius: 9px; background: rgba(255,207,122,.1); border: 1px solid rgba(255,207,122,.28); font-size: 12px; display: flex; gap: 8px; align-items: center; }
.pf-aviso .btn { height: 28px; margin-left: auto; padding: 0 10px; font-size: 12px; }
.pf-add-sel {
  margin: 10px 12px 0; height: 34px; justify-content: center; font-size: 12px; border-style: dashed; border-color: var(--destaque); color: var(--destaque-2);
}
.pf-lista { list-style: none; margin: 0; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; min-height: 0; flex: 1; }
.pf-item {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; background: transparent;
  cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; transition: background .12s, box-shadow .2s;
}
.pf-item:hover, .pf-item.menu-aberto { background: var(--painel-3); }
.pf-item.levantado { display: none; }
.pf-item.fora { opacity: .55; }
.pf-item.recem { box-shadow: 0 0 0 2px var(--destaque); background: var(--destaque-fundo); }
.pf-alca { width: 12px; height: 16px; flex: none; color: #555862; }
.pf-item:hover .pf-alca { color: #7a7d86; }
.pf-num { width: 18px; color: var(--texto-3); font-size: 12px; text-align: right; flex: none; font-variant-numeric: tabular-nums; }
.pf-thumb {
  position: relative; width: 52px; height: 38px; flex: none; border-radius: 6px; overflow: hidden; background: #2a2c31;
  border-left: 3px solid var(--tipo, var(--destaque));
}
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.pf-thumb .cartela { border-radius: 0; }
.pf-info { flex: 1; min-width: 0; }
.pf-nome-item { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-meta { font-size: 11.5px; color: var(--texto-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pf-meta .ef-fora { color: var(--alerta); }
.pf-som { font-size: 11.5px; color: #a5a7b0; white-space: nowrap; flex: none; border: 0; background: none; padding: 3px 4px; border-radius: 6px; }
.pf-som:hover { background: #2c2e35; color: var(--texto); }
.pf-som.mudo { color: var(--destaque-2); }
.pf-mais { border: 0; background: none; color: var(--texto-3); width: 26px; height: 30px; font-size: 16px; border-radius: 6px; flex: none; display: grid; place-items: center; }
.pf-mais:hover, .menu-aberto .pf-mais { background: #2c2e35; color: var(--texto); }
.pf-mais svg { width: 16px; height: 16px; }
.pf-add-cartela {
  width: 100%; margin-top: 4px; padding: 10px; border-radius: 10px; border: 1px dashed #3a3c44; background: none; color: #b4b6be; flex: none;
}
.pf-add-cartela:hover { border-color: var(--lilas); color: #d9c4ff; }
.pf-lugar { height: 52px; flex: none; border: 2px dashed var(--destaque); border-radius: 10px; background: rgba(255,106,61,.08); }
.pf-vazia { text-align: center; color: var(--texto-2); padding: 30px 16px; border: 2px dashed var(--borda); border-radius: 12px; font-size: 13px; margin: 4px 0; flex: none; }
.pf-vazia svg { width: 26px; height: 26px; color: var(--texto-3); }
.pf-vazia p { margin: 8px 0 0; }
.pf-rodape { padding: 12px 16px 16px; border-top: 1px solid var(--divisa); display: flex; flex-direction: column; gap: 10px; }
.pf-acoes4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pf-acoes4 button {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; border-radius: 9px; border: 1px solid var(--borda);
  background: #1a1b1f; font-size: 11.5px; color: #c9cad0; position: relative;
}
.pf-acoes4 button:hover { border-color: #3a3c44; background: var(--painel-3); color: var(--texto); }
.pf-acoes4 button svg { width: 17px; height: 17px; }
.pf-acoes4 .ponto-tv { position: absolute; top: 6px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.pf-tocar { display: flex; gap: 8px; }
.pf-tocar .btn { flex: 1; height: 44px; border-radius: 10px; }
.pf-tocar .btn:first-child { border-color: #3a3c44; background: var(--painel-3); font-weight: 600; }
.pf-tocar .btn svg { width: 14px; height: 14px; }
.arraste-fantasma {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; opacity: .96; background: var(--painel-3) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 0 2px var(--destaque);
}
.pf-ghost-galeria { width: 250px; }
body.arrastando, body.arrastando * { cursor: grabbing !important; }

/* menu ⋯ de um item da fila */
.menu-item { width: 380px; padding: 0; overflow: hidden; }
.mi-cab { padding: 14px 16px 12px; border-bottom: 1px solid #2e3036; display: flex; gap: 12px; align-items: center; }
.mi-cab .pf-thumb { width: 64px; height: 44px; }
.mi-cab b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-cab small { color: var(--texto-3); font-size: 12px; }
.mi-sec { padding: 12px 16px; border-bottom: 1px solid #2e3036; display: grid; gap: 8px; }
.mi-sec .mi-rot { display: flex; justify-content: space-between; font-size: 12px; color: #a5a7b0; }
.mi-sec .mi-rot b { color: var(--texto); font-weight: 600; }
.mi-sec .segmentado { width: 100%; }
.mi-sec .segmentado button { flex: 1; padding: 0 6px; }
.mi-vol { display: flex; align-items: center; gap: 10px; }
.mi-vol input { flex: 1; accent-color: var(--destaque); }
.mi-vol .btn { height: 30px; padding: 0 10px; font-size: 12px; }
.mi-corte {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border-radius: 9px; border: 1px solid var(--borda);
  background: #1a1b1f; text-align: left; color: var(--texto);
}
.mi-corte:hover { border-color: #3a3c44; }
.mi-corte svg { width: 15px; height: 15px; color: var(--destaque-2); }
.mi-corte span { flex: 1; }
.mi-corte em { font-style: normal; color: var(--destaque-2); font-size: 12px; font-weight: 600; }
.mi-todos { border: 0; background: none; color: var(--destaque-2); font-weight: 600; padding: 2px 0; text-align: left; font-size: 12px; }
.mi-todos:hover { color: var(--destaque-3); }
.mi-acoes { padding: 6px; }
.mi-acoes .op kbd { border: 0; padding: 0; }

/* gaveta lateral (Opções da fila) */
.gaveta-fundo { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.45); animation: surgir .15s; }
.gaveta {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 71; width: min(560px, 100vw); display: flex; flex-direction: column;
  background: #16171b; border-left: 1px solid var(--borda); box-shadow: -30px 0 60px rgba(0,0,0,.45); animation: gaveta .2s ease-out;
}
@keyframes gaveta { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.gv-cab { padding: 18px 22px 14px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--divisa); }
.gv-cab > div { flex: 1; min-width: 0; }
.gv-cab h2 { margin: 0; font-size: 17px; font-weight: 700; }
.gv-cab p { margin: 2px 0 0; color: var(--texto-3); font-size: 12px; }
.gv-corpo { flex: 1; overflow: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 20px; }
.gv-corpo section { display: flex; flex-direction: column; gap: 10px; }
.gv-rodape { padding: 14px 22px; border-top: 1px solid var(--divisa); display: flex; gap: 8px; align-items: center; }
.gv-rodape .btn { height: 40px; }
.trans-grade { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.trans-grade button {
  display: flex; flex-direction: column; gap: 5px; padding: 5px; border-radius: 9px; border: 1.5px solid var(--borda); background: #1a1b1f; text-align: center;
  color: #c9cad0; font-size: 11px; min-width: 0;
}
.trans-grade button:hover { border-color: #44474e; }
.trans-grade button.ativo { border-color: var(--destaque); background: var(--destaque-fundo); color: var(--destaque-3); }
.trans-grade .tg-prev { position: relative; height: 34px; border-radius: 5px; overflow: hidden; background: #3a5a8c; display: block; }
.trans-grade .tg-prev i { position: absolute; inset: 0; background: var(--destaque); display: block; }
.trans-grade span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linha-rotulo { display: flex; align-items: center; gap: 10px; }
.linha-rotulo > span:first-child { color: #a5a7b0; width: 74px; flex: none; }
.linha-rotulo .segmentado { flex: 1; }
.linha-rotulo .segmentado button { flex: 1; }
.enq-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.enq-grade button {
  padding: 8px; border-radius: 10px; border: 1.5px solid var(--borda); background: #1a1b1f; display: flex; flex-direction: column; gap: 7px; text-align: left;
}
.enq-grade button:hover { border-color: #44474e; }
.enq-grade button.ativo { border-color: var(--destaque); background: var(--destaque-fundo); }
.enq-grade button.ativo b { color: var(--destaque-3); }
.enq-grade b { font-weight: 600; }
.enq-grade small { display: block; font-size: 11px; color: var(--texto-3); }
.enq-prev { height: 62px; border-radius: 6px; background: #000; display: grid; place-items: center; overflow: hidden; }
.enq-prev i { width: 32px; height: 56px; background: #3a5a8c; border-radius: 2px; display: block; }
.enq-prev.cover { background: #3a5a8c; }
.enq-prev.cover i { display: none; }
.enq-prev.desfocado { background: #26344a; }
.enq-prev.desfocado i { box-shadow: 0 0 0 1px #4f6f9f; }
.tempo-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tempo-grade > div { padding: 10px 12px; border-radius: 10px; background: #1a1b1f; border: 1px solid var(--borda); }
.tempo-grade .tg-rot { color: #a5a7b0; margin-bottom: 8px; }
.tempo-grade .segmentado { background: #24252b; border: 0; }
.tempo-grade .segmentado button { flex: 1; }
.tempo-grade .segmentado button.ativo { background: #3a3c44; }
.chaves-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.chaves-grade .chave { border-bottom: 1px solid #202228; }
.prev-opcoes { position: relative; height: 90px; border-radius: 10px; overflow: hidden; background: #000; }
.prev-opcoes .dt { position: absolute; inset: 0; display: grid; place-items: center; font: 800 30px/1 var(--fonte); color: #fff; }
.prev-opcoes .dt-a { background: linear-gradient(135deg, #ff6a3d, #ffb547); }
.prev-opcoes .dt-b { background: linear-gradient(135deg, #1d3557, #2a9d8f); }

/* ---------- orientação (horizontal / vertical / quadrado) ---------- */
.selo-orient {
  display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; letter-spacing: .2px;
  font-variant-numeric: tabular-nums; color: #dfe0e4;
}
.selo-orient svg { width: 12px; height: 12px; }
.selo-orient.o-vertical { color: #8fb8ff; }
.selo-orient.o-quadrado { color: #c6a7ff; }
.pf-dur .selo-orient svg { width: 11px; height: 11px; }

/* ---------- excluir listas ---------- */
.toast-acao { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; }
.toast-acao .btn { height: 30px; color: var(--destaque-2); border-color: #44474e; }

/* ---------- cartelas ---------- */
.cartela {
  position: absolute; inset: 0; overflow: hidden; container-type: size; display: grid;
  color: var(--cor-texto, #fff); font-family: var(--fonte); --esc: 1;
}
.cartela.tam-p { --esc: .75; } .cartela.tam-g { --esc: 1.35; }
.ct-fundo { position: absolute; inset: 0; }
.ct-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ct-img.desfocada { filter: blur(1.6cqh); transform: scale(1.1); }
.ct-escuro { position: absolute; inset: 0; background: #000; }
.ct-conteudo {
  position: relative; display: flex; flex-direction: column; gap: min(2.4cqh, 2cqw);
  padding: 8cqh 8cqw; max-width: 100%; box-sizing: border-box; min-width: 0;
}
.al-centro { place-items: center; } .al-centro .ct-conteudo { align-items: center; text-align: center; }
.al-esquerda { align-items: center; justify-items: start; } .al-esquerda .ct-conteudo { align-items: flex-start; text-align: left; max-width: 78%; }
.al-base { align-items: end; justify-items: start; } .al-base .ct-conteudo { align-items: flex-start; text-align: left; max-width: 82%; }
.ct-emoji { font-size: calc(min(20cqh, 24cqw) * var(--esc)); line-height: 1.05; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.ct-titulo { font-size: calc(min(9.5cqh, 7.4cqw) * var(--esc)); font-weight: 750; line-height: 1.08; letter-spacing: -.01em; white-space: pre-line; overflow-wrap: anywhere; }
.ct-texto { font-size: calc(min(4.4cqh, 3.8cqw) * var(--esc)); line-height: 1.35; opacity: .92; white-space: pre-line; overflow-wrap: anywhere; }
.cartela.com-imagem .ct-titulo, .cartela.com-imagem .ct-texto, .cartela.com-imagem .ct-emoji { text-shadow: 0 .4cqh 2.4cqh rgba(0,0,0,.45); }
/* animações: só tocam quando a camada aparece no player */
.pl-camada.visivel .anim-suave .ct-conteudo > * { animation: ct-subir .9s cubic-bezier(.2,.7,.2,1) both; }
.pl-camada.visivel .anim-suave .ct-conteudo > :nth-child(2) { animation-delay: .12s; }
.pl-camada.visivel .anim-suave .ct-conteudo > :nth-child(3) { animation-delay: .24s; }
.pl-camada.visivel .anim-zoom .ct-fundo { animation: ct-zoom var(--dur) linear both; }
.pl-camada.visivel .anim-zoom .ct-conteudo { animation: ct-surgir 1.2s ease both; }
.prev-cartela.tocar .anim-suave .ct-conteudo > * { animation: ct-subir .9s cubic-bezier(.2,.7,.2,1) both; }
.prev-cartela.tocar .anim-suave .ct-conteudo > :nth-child(2) { animation-delay: .12s; }
.prev-cartela.tocar .anim-suave .ct-conteudo > :nth-child(3) { animation-delay: .24s; }
.prev-cartela.tocar .anim-zoom .ct-fundo { animation: ct-zoom 6s linear both; }
@keyframes ct-subir { from { opacity: 0; transform: translateY(4cqh); } to { opacity: 1; transform: none; } }
@keyframes ct-surgir { from { opacity: 0; } to { opacity: 1; } }
@keyframes ct-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }

/* editor de cartela */
.modal.modal-cartela { width: min(1160px, 100%); height: min(760px, 92vh); padding: 0; background: #16171b; border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; }
.ec-cab { padding: 16px 22px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--divisa); }
.ec-cab b { font-size: 17px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-cab span { color: var(--texto-3); }
.ed-cartela { flex: 1; display: flex; min-height: 0; }
.ed-cartela .form { width: 420px; flex: none; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--divisa); overflow-y: auto; }
.ed-cartela .form .rotulo { margin: 0 0 6px; color: #a5a7b0; font-size: 13px; }
.ed-cartela .form .campo { width: 100%; }
.ed-cartela textarea.campo { resize: none; }
.ec-linha { display: flex; gap: 10px; }
.ec-emoji { display: flex; align-items: center; gap: 2px; }
.ec-emoji .campo { width: 56px !important; text-align: center; font-size: 18px; padding: 0 4px; }
.ec-emoji .btn-ic { width: 26px; height: 40px; }
.ec-seg { width: 100%; margin-bottom: 10px; display: grid; grid-template-columns: repeat(3, 1fr); }
.ec-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec-grade .segmentado { display: grid; grid-template-columns: repeat(3, 1fr); }
.ec-grade .segmentado button { padding: 0 4px; height: 28px; }
.ec-grade select.campo { background: var(--painel-3); }
.ed-prev-col { flex: 1; padding: 16px 22px; display: flex; flex-direction: column; gap: 12px; background: var(--fundo); min-width: 0; }
.ed-prev-barra { display: flex; align-items: center; gap: 8px; }
.ec-palco { flex: 1; display: grid; place-items: center; min-height: 0; }
.prev-cartela { position: relative; width: min(100%, 640px); aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.prev-cartela.f-9-16 { aspect-ratio: 9 / 16; width: auto; height: min(100%, 560px); }
.prev-cartela.f-1-1 { aspect-ratio: 1; width: auto; height: min(100%, 460px); }
.ec-rodape { padding: 14px 22px; border-top: 1px solid var(--divisa); display: flex; gap: 10px; }
.ec-rodape .btn { height: 40px; }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch { width: 38px; height: 38px; border-radius: 9px; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); padding: 0; }
.swatch:hover { transform: scale(1.06); }
.swatch.ativo { border-color: #fff; }
.swatch.outra { position: relative; display: grid; place-items: center; background: conic-gradient(#ff6a3d, #ffd36b, #57c98a, #4c8dff, #b07cff, #ff6a3d); overflow: hidden; }
.swatch.outra input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatches.pequenas .swatch { width: 28px; height: 28px; border-radius: 7px; }
.linha-cores { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.linha-cores input[type=color] { width: 38px; height: 32px; border: 0; border-radius: 8px; background: none; padding: 0; cursor: pointer; }
.linha-cores input[type=range] { flex: 1; accent-color: var(--destaque); }
.pop .emojis { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 2px; padding: 4px; }
.pop .emojis button { font-size: 19px; height: 32px; padding: 0; border: 0; background: none; border-radius: 6px; cursor: pointer; font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }
.pop .emojis button:hover { background: #2c2e35; }
.foto-fundo { display: flex; gap: 10px; align-items: center; }
.foto-fundo img { width: 72px; height: 44px; object-fit: cover; border-radius: 6px; background: #2a2c31; }
.escolher-foto { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; max-height: 56vh; overflow-y: auto; margin-top: 10px; }
.escolher-foto button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #2a2c31; aspect-ratio: 4 / 3; }
.escolher-foto button:hover { border-color: var(--destaque); }
.escolher-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .ed-cartela { flex-direction: column; overflow-y: auto; } .ed-cartela .form { width: auto; border-right: 0; overflow: visible; } .ed-prev-col { order: -1; flex: none; } .prev-cartela.f-9-16 { height: 50vh; } }

/* biblioteca de cartelas */
.lista-cartelas { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; max-height: 60vh; overflow-y: auto; }
.lc-item { border: 1px solid var(--borda); border-radius: 10px; overflow: hidden; background: var(--painel-2); }
.lc-prev { position: relative; aspect-ratio: 16 / 9; }
.lc-info { padding: 8px 10px; display: flex; align-items: center; gap: 6px; }
.lc-info .n { flex: 1; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-nova { display: grid; place-items: center; aspect-ratio: 16 / 9; border: 2px dashed var(--borda); border-radius: 10px; cursor: pointer; color: var(--texto-2); background: none; font-size: 13px; }
.lc-nova:hover { border-color: var(--destaque); color: var(--destaque-2); }
.pf-thumb .cartela { border-radius: 5px; }
.pf-item.e-cartela .pf-num { color: #c6a7ff; }
.pf-thumb .tag-cartela { position: absolute; left: 2px; bottom: 2px; z-index: 2; background: rgba(0,0,0,.6); border-radius: 4px; padding: 1px 3px; display: grid; color: #fff; }

/* ---------- marca Build Media ---------- */
.marca .simbolo { width: 26px; height: 28px; flex: none; }
.nome-marca { font-weight: 800; font-size: 16px; letter-spacing: -.2px; line-height: 1.05; white-space: nowrap; }
.nome-marca small { display: block; font-weight: 500; font-size: 10.5px; letter-spacing: .2px; color: var(--texto-2); margin-top: 1px; }
.logo-completo { display: inline-block; height: auto; max-width: 100%; }

/* prévia da transição nas opções */
/* link para TV */
@media (max-width: 700px) { .link-tv { grid-template-columns: 1fr; } .link-tv .qr { max-width: 220px; } }
@keyframes surgir { from { opacity: 0; } to { opacity: 1; } }

/* ---------- entrar (equipe em outro aparelho) ---------- */
.tela-central { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.cartao-login { width: min(360px, 100%); padding: 32px; border-radius: 18px; background: #16171b; border: 1px solid var(--borda); display: flex; flex-direction: column; gap: 16px; }
.cartao-login .campo { width: 100%; height: 44px; background: var(--fundo); border-color: #33353d; border-radius: 10px; }
.cartao-login .rotulo { margin: 0 0 6px; color: #a5a7b0; font-size: 13px; }
.cartao-login .check { margin: 0; color: #a5a7b0; }
.cartao-login .btn.primario { height: 46px; border-radius: 10px; }
.cartao-login h1 { font-size: 17px; margin: 0; }
.cartao-login p { color: var(--texto-3); margin: 4px 0 0; line-height: 1.5; }
.cartao-login #erro { color: var(--perigo); margin: -6px 0 0; }
.login-marca { display: flex; align-items: center; gap: 12px; }
.login-marca img { width: 34px; height: auto; }
.login-marca b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; }
.login-marca span { color: var(--texto-2); }
.login-dica { color: var(--texto-3); font-size: 12px; line-height: 1.5; border-top: 1px solid var(--divisa); padding-top: 14px; }
.login-dica b { color: #c9cad0; }

/* ---------- páginas do cliente (tema claro) ---------- */
body.claro { background: #f6f5f2; color: #1b1c20; font-size: 14px; color-scheme: light; }
.cli-topo { height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 48px; border-bottom: 1px solid #e4e1da; background: #fff; }
.cli-simbolo { width: 26px; height: auto; }
.cli-marca { flex: 1; line-height: 1.1; }
.cli-marca b { font-size: 15px; display: block; }
.cli-marca span { font-size: 11.5px; color: #6b6e78; }
.cli-validade { color: #6b6e78; font-size: 13px; }
.cli-cabeca { padding: 32px 48px 0; display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: 1600px; margin: 0 auto; }
.cli-tit { flex: 1; min-width: 260px; }
.cli-tit h1 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.01em; }
.cli-sub { margin-top: 8px; color: #55575f; }
.cli-msg { margin: 14px 0 0; max-width: 640px; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid #e4e1da; color: #33353b; line-height: 1.5; white-space: pre-wrap; }
.cli-botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.cli-bt { height: 46px; padding: 0 18px; border-radius: 10px; border: 1px solid #d6d2ca; background: #fff; color: #1b1c20; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }
.cli-bt:hover { border-color: #b9b4aa; color: #1b1c20; }
.cli-bt.escuro { background: #1b1c20; border-color: #1b1c20; color: #fff; }
.cli-bt.escuro:hover { background: #33353b; }
.cli-galeria { padding: 24px 48px 60px; max-width: 1600px; margin: 0 auto; }
.cli-galeria .galeria { padding: 0; }
.cli-galeria .grade { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.cli-galeria .quadro { border-radius: 12px; background: #e9e6df; }
.cli-galeria .cartao:hover .quadro::after { background: rgba(0,0,0,.15); }
@media (max-width: 700px) {
  .cli-topo { padding: 0 18px; } .cli-cabeca { padding: 22px 18px 0; } .cli-galeria { padding: 18px 18px 40px; }
  .cli-galeria .grade { grid-template-columns: repeat(2, 1fr); gap: 8px; } .cli-bt { flex: 1; justify-content: center; }
}
.tela-expirado { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; position: relative; padding: 40px 20px 80px; }
.exp-marca { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 20px; font-weight: 800; }
.exp-marca img { width: 30px; height: auto; }
.exp-icone { width: 64px; height: 64px; border-radius: 50%; background: #ece9e3; display: grid; place-items: center; color: #55575f; }
.exp-icone svg { width: 28px; height: 28px; }
.tela-expirado h1 { font-size: 26px; font-weight: 800; margin: 0; }
.tela-expirado p { max-width: 420px; color: #55575f; line-height: 1.6; margin: 0; }
.exp-bt { margin-top: 6px; height: 44px; padding: 0 20px; border-radius: 10px; background: #1b1c20; color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; }
.exp-bt:hover { color: #fff; background: #33353b; }
.exp-rodape { position: absolute; bottom: 28px; left: 0; right: 0; color: #8d8f97; font-size: 12px; }

/* ---------- telas menores ---------- */
@media (max-width: 1280px) {
  /* a Fila passa a abrir por cima da galeria, em vez de ocupar uma coluna */
  .app.com-fila { grid-template-columns: 232px minmax(0, 1fr); }
  .com-fila .painel-fila { position: fixed; right: 0; top: 60px; bottom: 0; width: 372px; z-index: 35; box-shadow: -20px 0 40px rgba(0,0,0,.45); }
  body.fila-aberta .barra-sel { left: 50%; }
  .marca { width: auto; }
}
@media (max-width: 1100px) { .tamanho { display: none !important; } .btn-topo#bt-selecionar { width: 38px; padding: 0; justify-content: center; font-size: 0; gap: 0; } }
@media (max-width: 900px) {
  .app, .app.com-fila { grid-template-columns: minmax(0, 1fr); }
  .lateral { display: none; }
  .lateral.aberta { display: flex; position: fixed; top: 60px; bottom: 0; left: 0; width: 280px; z-index: 36; box-shadow: 20px 0 40px rgba(0,0,0,.45); }
  .marca .nome-marca { display: none; }
}
@media (min-width: 901px) { #bt-menu { display: none !important; } }
@media (min-width: 761px) { .so-estreito { display: none !important; } }

/* ---------- celular ---------- */
@media (max-width: 760px) {
  .so-largo { display: none !important; }
  #bt-menu { display: none !important; }
  .app, .app.com-fila { grid-template-rows: auto minmax(0, 1fr) calc(64px + env(safe-area-inset-bottom)); }
  .topo { height: auto; padding: 14px 16px 10px; border: 0; background: var(--fundo); gap: 10px; flex-wrap: nowrap; }
  .marca { width: auto; } .marca .simbolo { width: 24px; }
  .titulo-cel { flex: 1; min-width: 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .titulo-cel span { color: var(--texto-3); font-size: 13px; font-weight: 400; }
  .topo .busca, .topo .modos, .topo #bt-selecionar, .topo #bt-links, .topo #bt-avisos, .topo #bt-fila, .topo > .espaco { display: none; }
  .topo .btn-topo.quadrado { width: 44px; height: 44px; border-radius: 12px; background: #16171b; }
  .topo .btn-topo.quadrado.ativo { background: var(--destaque-fundo); }
  .topo.buscando .titulo-cel, .topo.buscando .marca, .topo.buscando #bt-sel-cel { display: none; }
  .topo.buscando .busca { display: flex; flex: 1; max-width: none; height: 44px; }
  .cabeca { display: none; }
  .barra-filtros { padding: 0 16px 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; background: var(--fundo); backdrop-filter: none; }
  .barra-filtros::-webkit-scrollbar { display: none; }
  .barra-filtros .tipos { border: 0; background: none; padding: 0; gap: 8px; }
  .barra-filtros .tipos button { height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--borda); }
  .barra-filtros .tipos button.ativo { background: #e9e9ec; color: #111; border-color: #e9e9ec; font-weight: 600; }
  .chips { flex-wrap: nowrap; }
  .chip { height: 36px; }
  .barra-filtros > .espaco, #bt-ordem { display: none; }
  .galeria { padding: 0 16px 150px; }
  .grade { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mosaico { column-width: auto; column-count: 2; column-gap: 10px; }
  .grade .quadro { border-radius: 12px; }
  .grade .legenda { position: absolute; left: 10px; right: 50px; bottom: 12px; z-index: 2; pointer-events: none; }
  .grade .legenda .ln { font-size: 11.5px; color: #fff; text-shadow: 0 1px 3px #000; }
  .grade .legenda .lm { display: none; }
  .grade .quadro::before { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.45)); z-index: 1; pointer-events: none; }
  .add-fila, .cartao:hover .add-fila { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; background: rgba(20,20,24,.85); color: #fff; font-size: 0; }
  .add-fila::after { content: "+"; font-size: 20px; font-weight: 500; }
  .marcador, .cartao:hover .marcador { display: none; }
  .selecionando .marcador { display: grid; }
  .cartao:hover .quadro::after { opacity: 0; }
  .cartao:hover .pos-fila { display: grid !important; }
  .com-fila .cartao[data-fila] .pos-fila, .cartao[data-fila] .pos-fila { display: grid; min-width: 24px; height: 24px; }
  .cartao[data-fila] .quadro { outline-color: var(--destaque); }
  .grupo-dia .grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-meses { display: none; }
  .tabela-lista { border: 0; }
  .lista th:nth-child(2), .lista td:nth-child(2) { display: none; }
  .nav-celular {
    grid-column: 1; grid-row: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--divisa);
    background: var(--painel); padding-bottom: env(safe-area-inset-bottom); z-index: 40;
  }
  .nav-celular button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #a5a7b0; font-size: 11px; }
  .nav-celular button svg { width: 20px; height: 20px; }
  .nav-celular button.ativo { color: var(--destaque-2); font-weight: 600; }
  .mini-fila {
    position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 39; height: 56px; border-radius: 14px;
    background: var(--painel-3); border: 1px solid #33353d; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 14px; text-align: left; color: var(--texto);
    box-shadow: 0 10px 30px rgba(0,0,0,.5);
  }
  .mini-fila > span:first-child { flex: 1; min-width: 0; line-height: 1.25; }
  .mini-fila b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mini-fila small { font-size: 11.5px; color: var(--texto-3); }
  .mf-tocar { height: 40px; padding: 0 16px; border-radius: 10px; background: var(--destaque); color: var(--sobre-destaque); font-weight: 700; display: flex; align-items: center; }
  /* a Fila ocupa a tela, acima da barra de baixo */
  .com-fila .painel-fila { position: fixed; left: 0; right: 0; top: 0; bottom: calc(64px + env(safe-area-inset-bottom)); width: auto; z-index: 38; border: 0; box-shadow: none; }
  .pf-cab { padding: 14px 16px 12px; }
  .pf-item { padding: 10px 8px; }
  .pf-alca { order: 9; width: 16px; height: 22px; padding: 4px; box-sizing: content-box; touch-action: none; color: #6b6e78; }
  .pf-mais { width: 34px; height: 34px; }
  .pf-acoes4 button[data-a=mais] { display: none; }
  .pf-acoes4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lateral.aberta { top: 0; bottom: calc(64px + env(safe-area-inset-bottom)); width: 100%; z-index: 38; box-shadow: none; }
  .barra-sel { bottom: calc(76px + env(safe-area-inset-bottom)); width: calc(100% - 24px); flex-wrap: wrap; justify-content: center; white-space: normal; }
  .barra-sel b { width: 100%; text-align: center; margin: 0; }
  .barra-sel .sep { display: none; }
  .pop { max-width: calc(100vw - 16px); }
  .menu-item { width: calc(100vw - 16px); }
  .modal-fundo { padding: 8px; }
  .modal.modal-exibir, .modal.modal-pasta, .modal.modal-tempo, .modal.modal-links, .modal.modal-link { padding: 18px 16px; min-height: 0; }
  .gaveta { width: 100vw; }
  .trans-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .enq-grade, .tempo-grade, .chaves-grade { grid-template-columns: 1fr; }
  .pl-controles { padding: 40px 14px 16px; }
  .pl-dir .pl-bt { padding: 0 10px; }
  .pl-info { display: none; }
}

/* ---------- gerar vídeo da fila ---------- */

/* ---------- prévia do vídeo ao passar o mouse (tira de quadros) ---------- */
.skim-camada { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.skim-camada canvas, .skim-camada video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.skim-camada.carregando canvas, .skim-camada.carregando video { opacity: 0; }
.cartao.skim img { transform: none; }
.cartao.skim .selo { opacity: 0; }
.cartao.skim .legenda, .cartao.skim .marcador, .cartao.skim .add-fila { z-index: 2; }
.skim-tempo {
  position: absolute; right: 6px; bottom: 9px; background: rgba(0,0,0,.7); border-radius: 6px; padding: 1px 7px;
  font-size: 11px; font-variant-numeric: tabular-nums; color: #fff; z-index: 3;
}
.cartao.skim .legenda { padding-right: 92px; padding-bottom: 9px; }
.skim-camada.carregando .skim-tempo::after { content: " · carregando"; opacity: .7; }
.skim-trilho { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255,255,255,.22); z-index: 3; }
.skim-trilho .skim-corte { position: absolute; top: 0; bottom: 0; background: rgba(255,106,61,.45); }
.skim-trilho .skim-janela { position: absolute; top: -2px; bottom: -2px; background: rgba(255,255,255,.55); border-radius: 2px; }
.skim-camada.lupa .skim-trilho { height: 6px; }
.skim-camada.lupa .skim-tempo { background: var(--destaque); color: #160803; font-weight: 700; }
.skim-dica {
  position: absolute; left: 50%; top: 8px; transform: translateX(-50%); white-space: nowrap; background: rgba(0,0,0,.6); border-radius: 6px; padding: 1px 7px;
  font-size: 10.5px; color: #e9e9ec; z-index: 3; opacity: 0; animation: skim-dica 4s .6s both;
}
@keyframes skim-dica { 0% { opacity: 0; } 10%, 75% { opacity: .9; } 100% { opacity: 0; } }
.cartao.skim .skim-camada.lupa .skim-dica { display: none; }
.skim-trilho .skim-barra { position: absolute; left: 0; top: 0; bottom: 0; background: var(--destaque); width: 0; }

/* ---------- avisos (sininho) ---------- */
.pop-avisos { padding: 0; background: #1a1b1f; border-color: #33353d; border-radius: 14px; max-height: min(78vh, 620px); display: flex; flex-direction: column; }
.av-cab { padding: 14px 16px; display: flex; align-items: center; border-bottom: 1px solid var(--borda); }
.av-cab b { flex: 1; font-size: 15px; }
.av-cab button { border: 0; background: none; color: var(--texto-3); font-size: 12px; padding: 4px 6px; border-radius: 6px; }
.av-cab button:hover { color: var(--texto); background: var(--painel-3); }
.av-lista { padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.av { padding: 12px; border-radius: 10px; background: #222329; display: flex; flex-direction: column; gap: 8px; }
.av.ok { background: #1f2a24; } .av.erro { background: #2a1f1f; }
.av-linha { display: flex; gap: 10px; align-items: center; }
.av-linha > b { flex: 1; font-weight: 600; }
.av-txt { flex: 1; min-width: 0; }
.av-txt b { font-weight: 600; }
.av-ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--destaque); flex: none; animation: pulsar 1.6s ease-in-out infinite; }
.av-ponto.azul { background: var(--azul); }
@keyframes pulsar { 50% { opacity: .35; } }
.av-dir { color: var(--texto-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.av-sub { color: #a5a7b0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.av-linha + .av-sub { font-size: 13px; }
.av-ic { width: 16px; text-align: center; color: var(--texto-3); font-weight: 800; flex: none; }
.av-ic svg { width: 16px; height: 16px; }
.av.ok .av-ic { color: var(--ok); } .av.erro .av-ic { color: #ff8a80; }
.av-barra { height: 6px; border-radius: 3px; background: #33353d; overflow: hidden; }
.av-barra i { display: block; height: 100%; border-radius: 3px; background: var(--destaque); transition: width .5s; }
.av-barra.azul i { background: var(--azul); }
.av-botoes { display: flex; gap: 8px; }
.av-botoes .btn { height: 30px; padding: 0 10px; font-size: 12px; }
.btn-av { border: 0; background: none; color: var(--destaque-2); font-weight: 600; padding: 4px 6px; border-radius: 6px; flex: none; }
.btn-av:hover { background: var(--destaque-fundo); }
.btn-av.cheio { height: 32px; padding: 0 12px; border-radius: 8px; background: var(--ok); color: #0b1f13; font-weight: 700; }
.btn-av.cheio:hover { background: #6ddb9d; }
.av-vazio { padding: 30px 10px; text-align: center; color: var(--texto-3); }

/* ---------- janela Exibir (tocar aqui / numa TV / baixar vídeo) ---------- */
.modal.modal-exibir { width: min(760px, 100%); min-height: min(620px, 86vh); max-height: calc(100vh - 24px); overflow-y: auto; padding: 24px 26px; background: #16171b; border-radius: 16px; display: flex; flex-direction: column; gap: 18px; }
.ex-cab { display: flex; align-items: flex-start; gap: 12px; }
.ex-cab > div:first-child { flex: 1; min-width: 0; }
.ex-cab h2 { font-size: 18px; font-weight: 700; margin: 0; }
.ex-cab .sub { color: var(--texto-3); margin: 3px 0 0; }
.ex-abas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ex-abas button {
  padding: 14px; border-radius: 12px; border: 1.5px solid var(--borda); background: #1a1b1f; text-align: left; display: flex; flex-direction: column; gap: 6px; color: var(--texto);
}
.ex-abas button:hover { border-color: #44474e; }
.ex-abas button svg { width: 22px; height: 22px; color: var(--texto-2); margin-bottom: 2px; }
.ex-abas b { font-weight: 600; font-size: 14px; }
.ex-abas span { color: var(--texto-3); font-size: 12px; }
.ex-abas button.ativo { border-color: var(--destaque); background: var(--destaque-fundo); }
.ex-abas button.ativo b { color: var(--destaque-3); }
.ex-abas button.ativo span { color: #c9a89c; }
.ex-abas button.ativo svg { color: var(--destaque); }
.ex-conteudo { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ex-conteudo > * { flex: 1; }
.ex-vazio { padding: 30px 24px; border-radius: 12px; background: #1a1b1f; border: 1px solid var(--borda); color: var(--texto-2); text-align: center; line-height: 1.6; flex: none !important; }
.ex-vazio b { color: var(--texto); }
.ex-aviso { flex: none !important; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,207,122,.1); border: 1px solid rgba(255,207,122,.28); font-size: 12px; }
.ex-aviso .btn { height: 30px; margin-left: auto; font-size: 12px; padding: 0 10px; }
.ex-tv { display: flex; gap: 22px; padding: 18px; border-radius: 12px; background: #1a1b1f; border: 1px solid var(--borda); }
.ex-qr { width: 170px; height: 170px; flex: none; border-radius: 10px; background: #fff; padding: 8px; }
.ex-qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.ex-tv-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ex-status { display: flex; align-items: center; gap: 8px; }
.ex-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.ex-status b { font-weight: 600; }
.ex-status span { color: var(--texto-3); }
.ex-link { display: flex; gap: 8px; }
.ex-link .campo { flex: 1; height: 38px; background: #121316; border-color: #33353d; font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.ex-link .btn { height: 38px; }
.ex-tv-info .chave { padding: 0; }
.ex-tv-info .dica { margin: 0; line-height: 1.5; }
.ex-botoes { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn.grande { height: 44px; padding: 0 20px; border-radius: 10px; font-size: 14px; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #0b1f13; font-weight: 700; }
.btn.ok:hover { background: #6ddb9d; }
.ex-tocar { display: flex; gap: 22px; padding: 18px; border-radius: 12px; background: #1a1b1f; border: 1px solid var(--borda); }
.ex-tocar-prev { width: 220px; flex: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; align-content: start; }
.ex-tocar-prev span { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #2a2c31; }
.ex-tocar-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-tocar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ex-tocar-info b { font-size: 15px; }
.ex-tocar-info p { margin: 0; color: var(--texto-2); line-height: 1.6; }
.ex-config { display: flex; flex-direction: column; gap: 16px; }
.ex-rot { color: #a5a7b0; margin-bottom: 8px; }
.ex-formatos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ex-formatos button { padding: 14px; border-radius: 12px; border: 1.5px solid var(--borda); background: #1a1b1f; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--texto); }
.ex-formatos button:hover { border-color: #44474e; }
.ex-formatos .ex-slot { height: 72px; display: grid; place-items: center; }
.ex-formatos .ex-quadro { border-radius: 4px; border: 2px solid #6b6e78; display: block; }
.ex-formatos small { font-size: 11.5px; color: var(--texto-3); }
.ex-formatos button.ativo { border-color: var(--destaque); background: var(--destaque-fundo); }
.ex-formatos button.ativo .ex-quadro { border-color: var(--destaque); }
.ex-formatos button.ativo b { color: var(--destaque-3); }
.ex-formatos button.ativo small { color: #c9a89c; }
.ex-duas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ex-caixa { padding: 12px; border-radius: 10px; background: #1a1b1f; border: 1px solid var(--borda); display: flex; align-items: center; gap: 10px; }
.ex-caixa > span:first-child { flex: 1; color: #a5a7b0; }
.ex-caixa .contador b { font-size: 14px; min-width: 34px; }
.ex-caixa .contador button { width: 30px; height: 30px; }
.ex-caixa.chave { padding: 12px; }
.ex-resumo { padding: 12px 14px; border-radius: 10px; background: #1a1b1f; color: #a5a7b0; line-height: 1.5; }
.ex-resumo b { color: var(--texto); }
.ex-rodape { display: flex; justify-content: flex-end; gap: 10px; margin-top: auto; }
.ex-rodape .btn { height: 42px; padding: 0 18px; border-radius: 10px; }
.ex-caixa-grande { padding: 18px; border-radius: 12px; background: #1a1b1f; border: 1px solid var(--borda); display: flex; flex-direction: column; gap: 12px; }
.ex-pct { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ex-pct b { font-size: 28px; font-variant-numeric: tabular-nums; }
.ex-pct span:nth-child(2) { color: #a5a7b0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-tempo { color: var(--texto-3); font-variant-numeric: tabular-nums; }
.ex-barra { height: 10px; border-radius: 5px; background: var(--borda); overflow: hidden; }
.ex-barra i { display: block; height: 100%; width: 0; border-radius: 5px; background: var(--destaque); transition: width .6s; }
.ex-etapas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 12px; }
.ex-etapas li { padding: 8px 10px; border-radius: 8px; background: #202126; color: var(--texto-3); }
.ex-etapas li::before { content: "○ "; }
.ex-etapas li.agora { background: var(--destaque-fundo); color: var(--destaque-3); }
.ex-etapas li.agora::before { content: "● "; }
.ex-etapas li.feita { background: #1f2a24; color: #8fe0b2; }
.ex-etapas li.feita::before { content: "✓ "; }
.ex-linha { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ex-linha span { color: var(--texto-3); flex: 1; min-width: 200px; }
.ex-pronto { padding: 18px; border-radius: 12px; background: #1f2a24; border: 1px solid #2d4a39; display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.ex-capa { width: 160px; height: 90px; border-radius: 8px; background: linear-gradient(135deg, #1d2b64, #ff6a3d); flex: none; display: grid; place-items: center; }
.ex-capa span { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); color: #111; display: grid; place-items: center; }
.ex-pronto b { font-size: 16px; }
.ex-info { color: #a5a7b0; margin-top: 4px; line-height: 1.5; word-break: break-word; }
[data-pronto] { display: flex; flex-direction: column; }
@media (max-width: 700px) {
  .ex-abas { grid-template-columns: 1fr; } .ex-abas span { display: none; }
  .ex-tv, .ex-tocar { flex-direction: column; } .ex-qr { width: 200px; height: 200px; }
  .ex-formatos, .ex-duas, .ex-etapas { grid-template-columns: 1fr; }
}

/* ---------- adicionar pasta ---------- */
.modal.modal-pasta { width: min(760px, 100%); height: min(640px, 90vh); padding: 24px 26px; background: #16171b; border-radius: 16px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.ap-finder { height: 52px; flex: none; border-radius: 12px; border: 1.5px dashed #3a3c44; background: #1a1b1f; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: var(--texto); }
.ap-finder:hover { border-color: var(--destaque); color: var(--destaque-3); }
.ap-finder svg { width: 18px; height: 18px; }
.ap-ou { display: flex; align-items: center; gap: 10px; color: var(--texto-3); font-size: 12px; }
.ap-ou span { flex: 1; height: 1px; background: var(--borda); }
.ap-nav { flex: 1; min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--borda); border-radius: 12px; overflow: hidden; }
.ap-cam { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #1a1b1f; border-bottom: 1px solid var(--borda); color: #a5a7b0; min-width: 0; }
.btn-quad.pequeno { width: 28px; height: 28px; border-radius: 7px; }
.btn-quad.pequeno svg { width: 14px; height: 14px; }
.btn-filtro.pequeno { height: 28px; padding: 0 10px; font-size: 12px; border-radius: 7px; flex: none; }
.ap-migalhas { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; }
.ap-migalhas button { border: 0; background: none; color: #a5a7b0; padding: 2px 4px; border-radius: 5px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.ap-migalhas button:hover { color: var(--texto); background: #2c2e35; }
.ap-migalhas b { color: var(--texto); overflow: hidden; text-overflow: ellipsis; }
.ap-migalhas span { color: #6b6e78; }
.ap-lista { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1; }
.ap-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; text-align: left; color: var(--texto); }
.ap-item:hover { background: var(--painel-3); }
.ap-item svg { width: 18px; height: 18px; color: #7aa7ff; flex: none; }
.ap-n { flex: 1; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-q { color: var(--texto-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.ap-item i { color: #6b6e78; font-style: normal; }
.ap-vazio { padding: 40px 20px; text-align: center; color: var(--texto-3); }
.ap-info { padding: 8px 12px; border-top: 1px solid var(--borda); font-size: 12px; color: var(--texto-3); background: #1a1b1f; }
.ap-rodape { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.no-mais { margin: -4px -6px -4px 0; width: 24px; height: 24px; border: 0; border-radius: 6px; background: none; color: var(--texto-3); display: none; place-items: center; }
.no:hover .no-mais, .no-mais[aria-expanded="true"] { display: grid; }
.no:hover .qt { display: none; }
.no-mais:hover { background: #2c2e35; color: var(--texto); }
.no-mais svg { width: 15px; height: 15px; }

/* ---------- tempo de vários itens ---------- */
.modal.modal-tempo { width: min(560px, 100%); min-height: 420px; padding: 24px 26px; background: #16171b; border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.tl-opcoes { display: flex; flex-direction: column; gap: 8px; }
.tl-op { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--borda); background: #1a1b1f; cursor: pointer; min-height: 54px; flex-wrap: wrap; }
.tl-op:hover { border-color: #44474e; }
.tl-op.ativo { border-color: var(--destaque); background: var(--destaque-fundo); }
.tl-op input[type=radio] { accent-color: var(--destaque); width: 16px; height: 16px; margin: 0; }
.tl-t { flex: 1; }
.tl-d { color: var(--texto-3); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.tl-op.ativo .tl-d { color: #a5a7b0; }
.modal .tl-tempo { width: 64px; height: 30px; padding: 0 8px; text-align: center; font-variant-numeric: tabular-nums; }
.contador.pequeno button { width: 28px; height: 28px; }
.contador.pequeno b { font-size: 14px; min-width: 40px; }
.modal-tempo .check { margin-top: 0; }
.modal-tempo .ex-caixa .contador b { min-width: 60px; }

/* ---------- TV: tela de início ---------- */
.tela-tv { min-height: 100vh; min-height: 100dvh; background: #0b0b0d; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; position: relative; padding: 40px 24px 90px; text-align: center; }
.tv-marca { display: flex; align-items: center; gap: 14px; text-align: left; }
.tv-marca img { width: clamp(34px, 4vw, 52px); height: auto; }
.tv-marca b { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.05; }
.tv-marca span { font-size: clamp(12px, 1.1vw, 15px); color: var(--texto-2); }
.tv-tit h1 { margin: 0; font-size: clamp(30px, 3.4vw, 48px); font-weight: 700; }
.tv-tit div { font-size: clamp(16px, 1.5vw, 20px); color: #a5a7b0; margin-top: 8px; }
.tv-play { width: clamp(100px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; border: 0; background: var(--destaque); color: var(--sobre-destaque); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(255,106,61,.18); transition: transform .15s, box-shadow .15s; }
.tv-play:hover, .tv-play:focus-visible { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255,106,61,.22); outline: none; }
.tv-play:disabled { opacity: .5; }
.tv-play svg { width: 40%; height: 40%; margin-left: 8%; }
.tv-conta { font-size: clamp(16px, 1.6vw, 22px); color: var(--texto); }
.tv-conta b { color: var(--destaque-2); }
.tv-rodape { position: absolute; bottom: 32px; left: 0; right: 0; display: flex; justify-content: center; gap: 28px; font-size: clamp(12px, 1.1vw, 15px); color: var(--texto-3); flex-wrap: wrap; padding: 0 16px; }

/* ---------- links de clientes ---------- */
.modal.modal-links { width: min(980px, 100%); min-height: min(660px, 88vh); padding: 24px 26px; background: #16171b; border-radius: 16px; display: flex; flex-direction: column; gap: 16px; }
.modal-links .ex-cab { align-items: center; }
.lk-lista { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.lk-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: #1a1b1f; border: 1px solid var(--borda); }
.lk-item.expirado .lk-capas, .lk-item.expirado .lk-txt { opacity: .6; }
.lk-capas { display: flex; flex: none; }
.lk-capas img, .lk-capas span { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; border: 2px solid #1a1b1f; background: #2a2c31; display: block; }
.lk-capas img + img { margin-left: -18px; }
.lk-txt { flex: 1; min-width: 0; }
.lk-txt b { font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lk-txt div { color: var(--texto-3); font-size: 12px; margin-top: 2px; }
.lk-selo { padding: 3px 9px; border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #24252b; color: #a5a7b0; }
.lk-selo.ok { background: #1f2a24; color: #8fe0b2; } .lk-selo.quase { background: #33261a; color: var(--alerta); }
.lk-visitas { width: 90px; color: #a5a7b0; font-size: 12px; text-align: right; flex: none; }
.lk-item .btn { height: 34px; padding: 0 12px; }
.lk-item .btn-quad { width: 34px; height: 34px; border-color: #33353d; }
.lk-nota { padding: 12px 14px; border-radius: 10px; background: #1a1b1f; color: var(--texto-3); line-height: 1.5; }
.pop a.op { text-decoration: none; }
.modal.modal-link { width: min(760px, 100%); min-height: min(640px, 88vh); padding: 24px 26px; background: #16171b; border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.modal-link .rotulo { margin: 0 0 6px; color: #a5a7b0; font-size: 13px; }
.modal-link.pronto { min-height: 0; }
.cl-tiras { display: flex; gap: 6px; }
.cl-tiras img, .cl-tiras span { flex: 1; min-width: 0; max-width: 76px; height: 44px; border-radius: 6px; object-fit: cover; background: #2a2c31; }
.cl-tiras span { flex: none; padding: 0 10px; display: grid; place-items: center; color: var(--texto-2); font-size: 12px; }
.cl-validade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cl-validade button { height: 34px; }
.cl-validade button.ativo { font-weight: 600; }
@media (max-width: 760px) { .lk-item { flex-wrap: wrap; } .lk-visitas { width: auto; } }

/* resolução do vídeo gerado */
.ex-qualidades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ex-qualidades button { padding: 12px; border-radius: 12px; border: 1.5px solid var(--borda); background: #1a1b1f; display: flex; flex-direction: column; gap: 3px; text-align: left; color: var(--texto); }
.ex-qualidades button:hover { border-color: #44474e; }
.ex-qualidades b { font-size: 15px; }
.ex-qualidades span { font-size: 12px; color: #a5a7b0; font-variant-numeric: tabular-nums; }
.ex-qualidades small { font-size: 11px; color: var(--texto-3); line-height: 1.35; }
.ex-qualidades button.ativo { border-color: var(--destaque); background: var(--destaque-fundo); }
.ex-qualidades button.ativo b { color: var(--destaque-3); }
.ex-qualidades button.ativo small, .ex-qualidades button.ativo span { color: #c9a89c; }
.ex-aprovacao { margin-top: 10px; }
.modal-exibir .ex-config { gap: 14px; }
.modal-exibir .ex-formatos button { padding: 10px; gap: 6px; }
.modal-exibir .ex-formatos .ex-slot { height: 50px; }
.modal-exibir .ex-formatos [data-formato=h] .ex-quadro { width: 80px !important; height: 45px !important; }
.modal-exibir .ex-formatos [data-formato=v] .ex-quadro { width: 28px !important; height: 48px !important; }
.modal-exibir .ex-formatos [data-formato=q] .ex-quadro { width: 46px !important; height: 46px !important; }
.modal-exibir .ex-qualidades button { padding: 10px 12px; }
@media (max-width: 700px) { .ex-qualidades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pop .op:disabled { opacity: .4; cursor: default; background: none; }

/* ---------- favoritos, etiquetas e álbuns ---------- */
.legenda .lt { display: flex; align-items: center; gap: 4px; min-width: 0; }
.legenda .lt .ln { flex: 1; min-width: 0; }
.estrela { width: 22px; height: 22px; flex: none; border: 0; background: none; padding: 0; display: grid; place-items: center; color: var(--texto-3); border-radius: 5px; opacity: 0; }
.estrela svg { width: 15px; height: 15px; }
.cartao:hover .estrela, .linha:hover .estrela, .estrela.on, .estrela:focus-visible { opacity: 1; }
.estrela:hover { color: var(--alerta); background: var(--painel-3); }
.estrela.on { color: #ffc24b; }
.legenda .tg { color: #b9a1ff; }
.lista .estrela { opacity: 0; }
.lista .linha:hover .estrela, .lista .estrela.on { opacity: 1; }
.tg-lista { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.tg-lista span { padding: 1px 6px; border-radius: 99px; background: #2a2340; color: #cdb8ff; font-size: 11px; }
.vis-fav.on { color: #ffc24b; border-color: #5a4a20; background: #2a2416; }
.vis-marcas { margin-top: 6px; padding-top: 14px; border-top: 1px solid #1f2025; }
.vis-marcas .rotulo { margin: 0 0 8px; }
.et-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.vis-marcas .et-chips { margin-top: 0; }
.et-chip { height: 28px; padding: 0 10px; border-radius: 99px; border: 0; background: #2a2340; color: #d9c8ff; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.et-chip span { color: #a48fd6; font-size: 11px; }
.et-chip:hover { background: #352b52; }
.et-chip.novo { background: #1f2a24; color: #8fe0b2; }
.et-chip.riscada { text-decoration: line-through; opacity: .5; }
.et-chip.fixo { background: var(--painel-3); color: var(--texto); }
.et-sug { height: 28px; padding: 0 10px; border-radius: 99px; border: 1px dashed #3a3c44; background: none; color: #b4b6be; font-size: 12px; }
.et-sug span { color: var(--texto-3); }
.et-sug:hover { border-color: #b07cff; color: #d9c4ff; }
.et-campo { height: 28px; width: 120px; border-radius: 99px; font-size: 12px; padding: 0 10px; }
@media (max-width: 760px) { .grade .legenda .estrela { pointer-events: auto; opacity: 1; color: #fff; } .grade .legenda .estrela:not(.on) { display: none; } }

/* ---------- escolhas do cliente ---------- */
.coracao { position: absolute; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #1b1c20; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.18); z-index: 3; transition: transform .12s; }
.coracao svg { width: 20px; height: 20px; }
.coracao:hover { transform: scale(1.08); }
.coracao.on { background: #e8384f; color: #fff; }
.coracao.on svg path { fill: currentColor; }
body.com-escolha .cli-galeria { padding-bottom: 120px; }
.cli-escolha { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(720px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 16px; background: #fff; border: 1px solid #e4e1da; box-shadow: 0 12px 36px rgba(0,0,0,.16); z-index: 20; }
.cli-esc-ic { width: 36px; height: 36px; border-radius: 50%; background: #fde7ea; color: #e8384f; display: grid; place-items: center; font-size: 18px; flex: none; }
.cli-esc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.cli-esc-txt span { color: #6b6e78; font-size: 13px; }
.cli-escolha .cli-bt { height: 42px; }
.cli-escolha .cli-bt:disabled { opacity: .4; cursor: default; }
.cli-modal-fundo { position: fixed; inset: 0; background: rgba(20,20,24,.45); display: grid; place-items: center; z-index: 50; padding: 16px; }
.cli-modal { width: min(440px, 100%); background: #fff; color: #1b1c20; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.cli-modal h2 { margin: 0; font-size: 20px; }
.cli-modal p { margin: -6px 0 0; color: #55575f; }
.cli-modal label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.cli-modal label span { font-weight: 400; color: #6b6e78; }
.cli-modal input, .cli-modal textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #d6d2ca; border-radius: 10px; background: #fbfaf7; color: inherit; resize: vertical; }
.cli-modal input:focus, .cli-modal textarea:focus { outline: 2px solid #ff6a2b; outline-offset: 0; border-color: transparent; }
.cli-modal-bts { display: flex; justify-content: flex-end; gap: 10px; }
.cli-erro { color: #c62828 !important; }
@media (max-width: 760px) { .cli-escolha { bottom: 10px; flex-wrap: wrap; } .cli-esc-txt { flex-basis: calc(100% - 56px); } .cli-escolha .cli-bt { flex: 1; } }
.lk-escolhas { height: 30px; padding: 0 10px; border-radius: 99px; border: 0; background: #3a1d24; color: #ff8fa0; font-size: 12px; font-weight: 600; white-space: nowrap; }
.lk-escolhas:hover { background: #4a2430; }
.av.coracao .av-ic { background: #3a1d24; color: #ff8fa0; }
.esc-lista { display: flex; flex-direction: column; gap: 14px; overflow-y: auto; min-height: 0; }
.esc-pessoa { border: 1px solid var(--borda); border-radius: 12px; padding: 14px; background: var(--painel-2); }
.esc-cab { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.esc-av { width: 34px; height: 34px; border-radius: 50%; background: #3a1d24; color: #ff8fa0; display: grid; place-items: center; font-weight: 700; flex: none; }
.esc-txt { flex: 1; min-width: 160px; display: flex; flex-direction: column; line-height: 1.3; }
.esc-txt span { color: var(--texto-3); font-size: 12px; }
.esc-cab .btn { height: 32px; font-size: 12.5px; gap: 6px; }
.esc-cab .btn svg { width: 15px; height: 15px; }
.esc-coment { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--painel-3); color: var(--texto-2); font-style: italic; white-space: pre-wrap; }
.esc-miniaturas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.esc-miniaturas img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--painel-3); }

/* ---------- programação por horário ---------- */
.ag-bloco { margin-top: 18px; border: 1px solid var(--borda); border-radius: 12px; padding: 14px; background: var(--painel-2); }
.ag-cab { display: flex; align-items: center; gap: 10px; }
.ag-cab > svg { width: 20px; height: 20px; color: var(--lilas); flex: none; }
.ag-cab > div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.ag-cab span { font-size: 12px; color: var(--ok); }
.ag-lista { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 4px; }
.ag-vazio { color: var(--texto-3); font-size: 13px; }
.ag-regra { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px; border-radius: 10px; background: var(--painel-3); }
.ag-regra label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--texto-2); }
.ag-regra input[type=time] { width: 124px; height: 34px; color-scheme: dark; }
.ag-regra select { height: 34px; max-width: 220px; }
.ag-fila { flex: 1; min-width: 180px; }
.ag-fila select { flex: 1; }
.ag-dias { display: flex; gap: 3px; }
.ag-dias button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--borda); background: none; color: var(--texto-3); font-size: 11px; font-weight: 700; padding: 0; }
.ag-dias button.on { background: var(--lilas); border-color: var(--lilas); color: #160b2a; }
.ag-bloco .dica { margin: 8px 0 0; }
.tv-offline { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.06); color: #b4b6be; font-size: 13px; white-space: nowrap; }
.tv-offline.ok { color: var(--ok); }
.tv-offline.aviso { color: var(--alerta); }

/* logo na cartela */
.ct-logo { position: absolute; z-index: 2; object-fit: contain; pointer-events: none; }
.ct-logo.lg-p { height: 7cqh; max-width: 28cqw; } .ct-logo.lg-m { height: 11cqh; max-width: 40cqw; } .ct-logo.lg-g { height: 17cqh; max-width: 55cqw; }
.ct-logo.lg-topo { top: 7cqh; left: 50%; transform: translateX(-50%); }
.ct-logo.lg-base { bottom: 7cqh; left: 50%; transform: translateX(-50%); }
.ct-logo.lg-canto { bottom: 5cqh; right: 4cqw; }
.ct-conteudo > .ct-logo.lg-acima { position: static; transform: none; margin-bottom: 2cqh; }
.ct-logo.escura { filter: invert(1) hue-rotate(180deg); }
.al-base .ct-logo.lg-topo, .al-esquerda .ct-logo.lg-topo { left: 7cqw; transform: none; }
.ec-logo { flex-wrap: wrap; height: auto; }
.ec-logo button { gap: 6px; }
.ec-lg-ic { height: 14px; width: auto; max-width: 40px; }
.ec-lg-ic.escura { filter: invert(1) hue-rotate(180deg); background: #e9e6df; border-radius: 3px; padding: 1px 2px; }
.ec-logo-op { margin-top: 8px; }
.ec-logo-op .segmentado button { padding: 0 9px; }
.ag-off .ag-cab > svg { color: var(--azul); }
.ag-cab span.neutro { color: var(--texto-3); }
.ag-off .btn { flex: none; gap: 6px; }
.ag-off .btn svg { width: 16px; height: 16px; }

/* ---------- troca entre computadores ---------- */
.lat-bloco h3 .bt-troca { margin-left: auto; position: relative; width: auto; padding: 0 4px; display: inline-flex; align-items: center; gap: 3px; }
.lat-bloco h3 .bt-troca + button { margin-left: 2px; }
.bt-troca svg { width: 15px; height: 15px; }
.bt-troca i { font-style: normal; font-size: 10.5px; font-weight: 700; color: #160b2a; background: var(--lilas); border-radius: 99px; padding: 0 5px; line-height: 15px; }
.bt-troca i:empty { display: none; }
.tr-item, .tr-cartelas { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--borda); border-radius: 12px; background: var(--painel-2); }
.tr-item.novo { border-color: #4a3a6e; }
.tr-cartelas { margin-top: 14px; }
.tr-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--painel-3); display: grid; place-items: center; color: var(--lilas); flex: none; }
.tr-ic svg { width: 18px; height: 18px; }
.tr-selo { font-style: normal; font-size: 10.5px; padding: 1px 6px; border-radius: 99px; background: var(--lilas); color: #160b2a; margin-left: 4px; vertical-align: 2px; }
.tr-falta { color: var(--alerta) !important; }
.tr-ok { color: var(--ok) !important; }
.tr-item .btn, .tr-cartelas .btn { height: 34px; }
.ec-logo-grade { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.ec-logo-grade .segmentado { flex-wrap: nowrap; }

/* ---------- enviar arquivos ---------- */
.env-campo { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.env-campo.largo { flex: 1; }
.env-soltar { margin-top: 14px; border: 2px dashed #3a3c44; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--texto-2); }
.env-soltar > svg { width: 34px; height: 34px; color: var(--laranja, #ff6a3d); }
.env-soltar span { color: var(--texto-3); font-size: 12px; }
.env-soltar.sobre { border-color: #ff6a3d; background: rgba(255,106,61,.06); }
.env-bts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.env-lista { margin-top: 12px; overflow-y: auto; min-height: 0; max-height: 38vh; display: flex; flex-direction: column; gap: 2px; }
.env-item { display: grid; grid-template-columns: 1fr auto 70px; align-items: center; gap: 4px 12px; padding: 6px 8px; border-radius: 8px; font-size: 13px; }
.env-item:nth-child(odd) { background: var(--painel-2); }
.env-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.env-nome i { color: var(--texto-3); font-style: normal; }
.env-tam { color: var(--texto-3); font-variant-numeric: tabular-nums; }
.env-st { text-align: right; color: var(--texto-3); }
.env-st .btn-ic { width: 24px; height: 24px; margin-left: auto; }
.env-item.ok .env-st { color: var(--ok); } .env-item.repetido .env-st { color: var(--texto-3); } .env-item.erro .env-st { color: #ff6b6b; }
.env-barra { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--painel-3); overflow: hidden; display: none; }
.env-item.enviando .env-barra, .env-item.ok .env-barra { display: block; }
.env-barra i { display: block; height: 100%; background: #ff6a3d; transition: width .2s; }
.env-item.ok .env-barra i { background: var(--ok); }
body.soltando::after { content: 'Solte para enviar ao acervo'; position: fixed; inset: 12px; border: 3px dashed #ff6a3d; border-radius: 18px; background: rgba(14,15,18,.82); color: #fff; font-size: 22px; font-weight: 600; display: grid; place-items: center; z-index: 9999; pointer-events: none; }
.env-campo .campo { height: 40px; }
