/* Spy de anúncios (aba do super admin) */
#spy-busca { width: 240px; }
#spy-ordem { width: 210px; }
#spy-pais { width: 160px; }
#tab-spy td[colspan] { text-align: left; }
.spy-linha { cursor: pointer; }
.spy-linha:hover td { background: #a020f014; }
.spy-pag { display: flex; align-items: center; gap: 10px; min-width: 0; }
.spy-pag b, .spy-pag h3 { display: block; overflow-wrap: anywhere; }
.spy-pag h3 { margin: 0; font-size: 17px; color: #f0d8ff; }
.spy-pag small, td small { display: block; color: var(--suave); font-size: 11px; }
.spy-foto { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--fundo2); border: 1px solid var(--borda); }
.spy-dlg .spy-foto { width: 46px; height: 46px; }
.spy-ini { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--roxo2); text-transform: uppercase; }
.spy-estrela { background: none; border: 0; cursor: pointer; font-size: 19px; color: var(--suave); padding: 0 4px; line-height: 1; }
.spy-estrela.on { color: var(--amarelo); }
.spy-sobe { color: var(--verde); font-weight: 700; }
.spy-cai { color: var(--vermelho); font-weight: 700; }

.spy-dlg { padding: 18px; display: flex; flex-direction: column; gap: 10px; overflow: visible; }
.dialogo:has(.spy-dlg) { width: min(1100px, calc(100vw - 32px)); }
.spy-dlg h4 { margin: 8px 0 0; font-size: 13px; color: var(--suave); text-transform: uppercase; letter-spacing: .6px; }
.spy-dlg-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.spy-dlg > * { flex-shrink: 0; } /* sem isso o gráfico encolhe a 0 de altura dentro da janela */
.spy-dlg textarea { width: 100%; resize: vertical; font: inherit; color: inherit; background: var(--fundo2); border: 1px solid var(--borda); border-radius: 8px; padding: 8px 10px; }
.spy-dlg textarea:focus { outline: 2px solid var(--roxo); border-color: transparent; }
.spy-acoes { display: flex; flex-wrap: wrap; gap: 8px; }
a.botao { display: inline-flex; align-items: center; text-decoration: none; }
.spy-dominios { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.spy-passos { margin: 0; padding-left: 20px; line-height: 1.7; }
.spy-passos a, .spy-cri-pe a { color: var(--roxo2); }
#spy-token { font-family: Consolas, "Cascadia Mono", monospace; font-size: 12px; cursor: copy; }

.spy-graf { width: 100%; max-width: 620px; height: 100px; background: var(--fundo2); border: 1px solid var(--borda); border-radius: 8px; }
.spy-graf polyline { fill: none; stroke: var(--roxo2); stroke-width: 2; }
.spy-graf circle { fill: var(--rosa); }
.spy-graf text { fill: var(--suave); font-size: 10px; }

.spy-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.spy-cri { background: var(--fundo2); border: 1px solid var(--borda); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.spy-cri.inativo { opacity: .55; }
.spy-midia { background: #000; aspect-ratio: 1 / 1; max-height: 300px; display: flex; align-items: center; justify-content: center; }
.spy-midia:has(.spy-sem-midia) { aspect-ratio: auto; min-height: 70px; background: #0b0712; }
.spy-midia img, .spy-midia video { width: 100%; height: 100%; object-fit: contain; display: block; }
.spy-sem-midia { color: var(--suave); font-size: 11px; padding: 12px; text-align: center; }
.spy-cri-corpo { padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; min-width: 0; }
.spy-selos { display: flex; flex-wrap: wrap; gap: 4px; }
.spy-selos .selo-bm { margin-left: 0; }
.spy-texto { margin: 0; color: var(--texto); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.spy-cri-pe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; overflow-wrap: anywhere; }
