/* =====================================================================
   VIZZO — ESTILOS DAS NOVIDADES (arquivo só disso)
   • animação de carregamento dos anúncios (cartões fantasma)
   • aviso de confirmação de e-mail
   • trava de 48 horas no perfil
   • avisos de moderação (+18 / contato pessoal)
   ===================================================================== */

/* ---------- Cartões fantasma dos anúncios ---------- */
.item.esqueleto {
  pointer-events: none;
  border-radius: 14px;
  overflow: hidden;
}

.esq-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}

.esq-linha {
  display: block;
  height: 12px;
  border-radius: 999px;
  margin: 8px 0;
}
.esq-linha.media { width: 70%; }
.esq-linha.curta { width: 45%; }

.brilho {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, currentColor 8%, transparent) 25%,
    color-mix(in srgb, currentColor 18%, transparent) 37%,
    color-mix(in srgb, currentColor 8%, transparent) 63%
  );
  background-color: color-mix(in srgb, currentColor 8%, transparent);
  background-size: 400% 100%;
  animation: vizzo-brilho 1.3s ease-in-out infinite;
}

@keyframes vizzo-brilho {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* Entrada suave dos anúncios de verdade */
.item.surgir {
  animation: vizzo-surgir 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--atraso, 0ms);
}

@keyframes vizzo-surgir {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* Barrinha fininha no topo enquanto a lista carrega */
.barra-carregando-lista {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 10%, transparent);
  margin: 6px 0 10px;
}
.barra-carregando-lista::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 35%;
  border-radius: 999px;
  background: var(--brand, #ee4d2d);
  animation: vizzo-corre 1.1s ease-in-out infinite;
}
@keyframes vizzo-corre {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(320%); }
}

@media (prefers-reduced-motion: reduce) {
  .brilho, .item.surgir, .barra-carregando-lista::after { animation: none; }
}

/* ---------- Aviso de e-mail ---------- */
.notice.aviso-email {
  border-left: 4px solid #f0a020;
}
.notice.ok-email {
  border-left: 4px solid #21a366;
}
.notice.aviso-email .row,
.notice.ok-email .row {
  margin-top: 8px;
}

/* ---------- Trava de 48 horas ---------- */
.hint.travado {
  color: #c2410c;
  font-weight: 600;
}
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- Moderação ---------- */
.regra-moderacao {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.85;
}
.msg.error {
  white-space: pre-wrap;
}
.foto-item.reprovada img {
  filter: blur(8px) grayscale(1);
}
.foto-item.reprovada::after {
  content: "+18 bloqueada";
  position: absolute;
  inset: auto 0 0 0;
  background: #b91c1c;
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 3px 0;
}

/* ===== Favoritos, compartilhar, cookies e painel ADM ===== */
.acoes-anuncio{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.btn-favorito{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--borda,#d8d8d8);
  background:var(--card,#fff);color:inherit;border-radius:999px;padding:8px 14px;font-size:14px;cursor:pointer}
.btn-favorito.on{border-color:#e0245e;color:#e0245e;font-weight:600}
.btn-compartilhar{border-radius:999px}
.lista-cards{display:grid;gap:10px;margin-top:10px}
.card.favorito{display:flex;align-items:center;justify-content:space-between;gap:10px}
.card.favorito a{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;flex:1}
.card.favorito img{width:64px;height:64px;object-fit:cover;border-radius:10px;background:#eee}
.adm-item{display:grid;gap:4px}
.adm-item .row{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
#abas-adm{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}
#abas-adm .on{border-color:var(--verde,#1fc27a);color:var(--verde,#1fc27a);font-weight:600}
.cookie-bar{position:fixed;left:10px;right:10px;bottom:74px;z-index:60;background:var(--card,#fff);
  border:1px solid var(--borda,#d8d8d8);border-radius:14px;padding:12px 14px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);display:grid;gap:8px;font-size:14px}
.cookie-bar p{margin:0}
.cookie-acoes{display:flex;gap:8px;justify-content:flex-end}
.pagina-legal h2{margin-top:20px}
