/* Estúdio de Criativos · a prévia do anúncio (painel e página do cliente). A moldura é sempre clara ou escura conforme
   o tema; a mídia fica sobre preto, como na rede social. */
.anuncio { background: var(--painel); border: 1px solid var(--linha); border-radius: 14px; overflow: hidden; width: 100%; max-width: 440px; margin: 0 auto; }
.an-topo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.an-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: var(--linha-2); border: 1px solid var(--linha); }
.an-iniciais { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--tinta-2); }
.an-quem { display: grid; line-height: 1.2; min-width: 0; }
.an-quem b { font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-quem small { font-size: 12px; color: var(--apagado); }
.an-midia { position: relative; background: #000; width: 100%; overflow: hidden; }
.an-midia > video, .an-midia > img, .an-card > img, .an-card > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.an-feed .an-midia > video, .an-feed .an-midia > img, .an-feed .an-card > img { object-fit: cover; }
.an-stories { max-width: 320px; }
.an-sem-midia { position: absolute; inset: 0; display: grid; place-items: center; color: #9a9da3; font-size: 14px; }
.an-rotulo { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.62); color: #fff; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; pointer-events: none; }
.an-trilho { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.an-trilho::-webkit-scrollbar { display: none; }
.an-card { position: relative; flex: 0 0 100%; scroll-snap-align: start; }
.an-pontos { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.an-pontos i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.an-pontos i.on { background: #fff; }
.an-seta { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.88); color: #17181a; display: grid; place-items: center; }
.an-seta-e { left: 8px; } .an-seta-d { right: 8px; }
@media (hover: none) { .an-seta { display: none; } }
.an-cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; font-weight: 650; font-size: 14px; border-bottom: 1px solid var(--linha-2); }
.an-texto { padding: 10px 14px 13px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.an-texto b { font-weight: 650; }
.an-mais { color: var(--apagado); font-size: 14px; }
