/* Espaço de anúncio em leilão (showcase.js): faixa que corre no topo, cartão com banner no topo do Live feed (no
   celular, fixo na tela do mapa), mensagem na faixa de últimos alertas e janela "Advertise".
   Nomes neutros ("vt-", "tb-", "vitrine") de propósito: bloqueadores escondem classes com "ad"/"ads"/"sponsor". */

/* ── faixa no topo do site ── */
html.has-tb { --tb-h: 30px; }
.vt-topbar { position: fixed; z-index: 21; top: 0; left: 0; right: 0; height: var(--tb-h); display: flex; align-items: stretch; background: linear-gradient(90deg, #2a0710, #160a22 30%, #071530 70%, #2a1a04); border-bottom: 1px solid rgba(255, 194, 51, .35); box-shadow: 0 4px 18px rgba(0, 0, 0, .45); font-size: 12.5px; color: #f3e6c4; }
.vt-topbar[hidden] { display: none; }
.tb-half { flex: 1 1 0; min-width: 0; display: flex; align-items: stretch; }
/* metade do anunciante vencedor: a cor de destaque vem do painel (--ad-c) */
.tb-sponsor { --ad-c: #ffc233; position: relative; gap: 8px; align-items: center; padding: 0 6px 0 10px; text-decoration: none; color: #fff; border-left: 2px solid var(--ad-c); background: linear-gradient(90deg, color-mix(in srgb, var(--ad-c) 26%, #08101f), color-mix(in srgb, var(--ad-c) 12%, #08101f)); }
.tb-sponsor:hover { background: color-mix(in srgb, var(--ad-c) 32%, #08101f); }
.tb-sponsor .tb-tag { flex: none; }
.tb-sponsor .tb-run { align-self: stretch; }
.tb-ad-msg { display: inline-flex; align-items: center; gap: 7px; }
.tb-ad-msg b { font-weight: 700; color: #fff; }
.tb-ad-msg img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.tb-sponsor .tb-sep { color: var(--ad-c); opacity: .7; }
.tb-visit { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 11px; border-radius: 999px; font-weight: 800; font-size: 11.5px; color: #fff; background: rgba(0, 0, 0, .35); border: 1px solid var(--ad-c); white-space: nowrap; }
.tb-sponsor:hover .tb-visit { background: var(--ad-c); color: #111; }
.tb-chip, .tb-cta { flex: none; border: 0; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.tb-chip { background: linear-gradient(90deg, #e3132f, #b30d24); color: #fff; font: 800 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 20px; }
.tb-chip i { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: tb-blink 1.2s steps(2, start) infinite; }
@keyframes tb-blink { to { visibility: hidden; } }
.tb-cta { background: linear-gradient(180deg, #ffd666, var(--amber)); color: #1a1200; font-size: 12px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); padding-left: 20px; }
.tb-cta:hover { filter: brightness(1.08); }
.tb-run { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
.tb-track { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; padding-left: 18px; animation: marquee var(--dur, 40s) linear infinite; }
.vt-topbar:hover .tb-track { animation-play-state: paused; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 0; color: inherit; font: inherit; white-space: nowrap; text-decoration: none; cursor: pointer; }
.tb-item:hover { color: #fff; }
.tb-item b { color: var(--amber); }
.tb-price { color: #fff; font-weight: 600; }
.tb-sold { color: #fff; } .tb-sold b { font-size: 13px; }
.tb-sold img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.tb-tag { font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #1a1200; background: var(--amber); border-radius: 4px; padding: 1px 5px; }
.tb-sep { font-style: normal; color: rgba(255, 194, 51, .55); font-size: 9px; }
.tb-s { display: none; }
@media (max-width: 780px) {
  html.has-tb { --tb-h: 28px; }
  html.has-tb.tb-split { --tb-h: 54px; } /* duas linhas: anunciante em cima, leilão embaixo */
  .vt-topbar.tb-split { flex-direction: column; }
  .vt-topbar.tb-split .tb-sponsor { order: -1; border-left: 0; border-bottom: 1px solid color-mix(in srgb, var(--ad-c) 55%, transparent); }
  .tb-visit { height: 20px; padding: 0 9px; }
  .vt-topbar { font-size: 12px; }
  .tb-chip { padding: 0 16px 0 9px; } .tb-cta { padding: 0 10px 0 16px; }
  .tb-chip .tb-l, .tb-cta .tb-l { display: none; } .tb-chip .tb-s, .tb-cta .tb-s { display: inline; }
}

/* ── cartão: barra do leilão em cima + banner 4:1 ── */
.vitrine { flex: none; padding: 8px 8px 2px; }
.vt-card { position: relative; border-radius: 14px; padding: 1px; background: linear-gradient(120deg, rgba(255, 194, 51, .85), rgba(255, 59, 78, .55) 45%, rgba(56, 169, 255, .45)); box-shadow: 0 8px 26px rgba(0, 0, 0, .4), 0 0 22px rgba(255, 194, 51, .12); animation: vt-glow 4s ease-in-out infinite; }
@keyframes vt-glow { 50% { box-shadow: 0 8px 26px rgba(0, 0, 0, .4), 0 0 30px rgba(255, 194, 51, .3); } }
.vt-card > * { position: relative; }
.vt-top { display: flex; align-items: center; gap: 7px; padding: 5px 5px 5px 11px; border-radius: 13px 13px 0 0; background: linear-gradient(90deg, #1d1406, #0d1426); font-size: 11.5px; color: var(--mute); white-space: nowrap; min-width: 0; }
.vt-tag { flex: none; font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #1a1200; background: var(--amber); border-radius: 4px; padding: 1px 5px; }
.is-open .vt-tag { background: rgba(255, 194, 51, .16); color: var(--amber); }
.vt-nums { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.vt-nums b { color: var(--ink); } .vt-nums b.vt-hot { color: var(--amber); } .vt-nums i { font-style: normal; margin: 0 5px; opacity: .5; }
.vt-s { display: none; }
.vt-bidbtn { flex: none; border: 0; border-radius: 999px; padding: 4px 13px; font-weight: 800; font-size: 12px; color: #1a1200; background: linear-gradient(180deg, #ffd666, var(--amber)); box-shadow: 0 0 12px rgba(255, 194, 51, .45); }
.vt-bidbtn:hover { filter: brightness(1.08); }
.vt-art { position: relative; display: block; width: 100%; aspect-ratio: 4 / 1; border: 0; padding: 0; margin: 0; border-radius: 0 0 13px 13px; overflow: hidden; background: #0a1020; color: var(--ink); text-decoration: none; cursor: pointer; }
/* selo "Sponsored" no canto do banner (fica sempre visível, sem tomar espaço da barra do lance) */
.vt-ov { position: absolute; z-index: 2; top: 6px; left: 6px; font-size: 8.5px; padding: 1px 5px; box-shadow: 0 1px 6px rgba(0, 0, 0, .45); }
.is-open .vt-ov { background: rgba(10, 14, 30, .75); color: var(--amber); }
.vt-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vt-img:hover img { filter: brightness(1.06); }
.vt-text { display: flex; align-items: center; gap: 10px; padding: 0 12px; background: linear-gradient(120deg, rgba(255, 194, 51, .14), rgba(56, 169, 255, .08)); }
.vt-logo { flex: none; width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.vt-mega { display: grid; place-items: center; color: #1a1200; background: linear-gradient(180deg, #ffd666, var(--amber)); }
.vt-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.vt-txt b { font: 800 15px var(--display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-txt small { color: var(--mute); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-go { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); }
/* sem anúncio: um "banner" de convite no mesmo tamanho, para mostrar como fica */
.vt-ph { position: relative; background: repeating-linear-gradient(135deg, rgba(255, 194, 51, .07) 0 10px, transparent 10px 20px), linear-gradient(120deg, #241a3c, #10224a 55%, #0b3445); }
.vt-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 230, 160, .2) 50%, transparent 70%); transform: translateX(-120%); animation: vt-shine 5.5s ease-in-out infinite; }
@keyframes vt-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.vt-ph-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 0 10px; }
.vt-ph-in b { font: 800 17px var(--display); letter-spacing: -.01em; color: #fff; }
.vt-ph-in small { font-size: 11px; color: #c7d4ee; }
.vt-ph-in em { font-style: normal; margin-top: 3px; font-size: 11px; font-weight: 800; color: #1a1200; background: var(--amber); border-radius: 999px; padding: 2px 10px; }

/* ── mensagem na faixa de últimos alertas ── */
.tk-vt { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--amber) !important; text-decoration: none; white-space: nowrap; }
.tk-vt em { font-style: normal; font-weight: 800; color: #1a1200 !important; background: var(--amber); border-radius: 999px; padding: 1px 8px; font-size: 10.5px; font-family: var(--body) !important; }
.tk-vt .tk-ico { display: inline-grid; } .tk-vt .tk-ico svg { width: 15px; height: 15px; }
.tk-vt .tk-logo { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.tk-sold { color: var(--ink) !important; font-weight: 500; } .tk-sold b { color: var(--amber); }
.tk-tag { font: 700 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #1a1200; background: var(--amber); border-radius: 5px; padding: 1px 5px; }

/* ── celular: cartão + faixa de alertas fixos na tela do mapa (à esquerda dos botões do mapa) ── */
.m-ticker, .m-vitrine { display: none; }
@media (max-width: 780px) {
  :root { --mt-h: 30px; --ms-h: calc((100vw - var(--gap) * 2 - var(--ctl-w, 36px) - 8px) / 4 + 30px); }
  .m-ticker, .m-vitrine { position: fixed; z-index: 14; left: var(--gap); right: calc(var(--gap) + var(--ctl-w, 36px) + 8px); }
  .m-ticker { display: flex; align-items: center; bottom: calc(var(--gap) * 2 + var(--bottom-h)); height: var(--mt-h); border-radius: 11px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .m-ticker .ticker-track { gap: 24px; padding-left: 14px; }
  .m-ticker button { background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; white-space: nowrap; }
  .m-ticker button i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); flex: none; }
  .m-ticker button em { font-style: normal; color: var(--mute); font-family: var(--mono); font-size: 10.5px; }
  .m-ticker:hover .ticker-track { animation-play-state: paused; }
  .m-vitrine { display: block; bottom: calc(var(--gap) * 3 + var(--bottom-h) + var(--mt-h)); }
  .vt-top { font-size: 11px; padding: 4px 4px 4px 8px; gap: 5px; }
  .vt-l { display: none; } .vt-s { display: inline; }
  .vt-bidbtn { padding: 3px 11px; font-size: 11.5px; }
  .vt-ph-in b { font-size: 15px; } .vt-ph-in small { font-size: 10px; }
  .vt-txt b { font-size: 13.5px; } .vt-logo { width: 34px; height: 34px; }
  body.m-left .m-ticker, body.m-right .m-ticker, body.m-left .m-vitrine, body.m-right .m-vitrine { display: none; }
  body:has(.maplibregl-popup) .m-vitrine { display: none; } /* cartão de um alerta aberto: ele tem prioridade */
  .toasts { bottom: calc(var(--gap) * 4 + var(--bottom-h) + var(--mt-h) + var(--ms-h)) !important; }
  .maplibregl-ctrl-bottom-right { bottom: calc(var(--gap) * 4 + var(--bottom-h) + var(--mt-h) + var(--ms-h)) !important; }
  .vitrine { padding: 8px 10px 2px; }
}
@media (max-width: 780px) and (max-height: 620px) { .m-vitrine { display: none !important; } } /* tela baixa (celular deitado): fica a faixa de cima e a de alertas */

/* ── janela "Advertise" ── */
.vt-box { width: 640px; }
.vt-badge { display: inline-block; vertical-align: middle; margin-left: 6px; font: 700 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #1a1200; background: var(--amber); border-radius: 999px; padding: 3px 9px; }
.vt-lead { color: var(--mute); line-height: 1.5; margin: 0; } .vt-lead b { color: var(--ink); }
.vt-price { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.vt-price > div { border: 1px solid var(--line-2); border-radius: 14px; padding: 9px 11px; display: flex; flex-direction: column; gap: 3px; background: rgba(255, 255, 255, .03); min-width: 0; }
.vt-price > div > span { color: var(--mute); font-size: 11px; }
.vt-price b { font: 800 16px var(--display); overflow-wrap: anywhere; }
.vt-price .hot { border-color: rgba(255, 194, 51, .6); background: rgba(255, 194, 51, .1); } .vt-price .hot b { color: var(--amber); }
.vt-jump { align-self: flex-start; }
.vt-h4 { margin: 6px 0 0; font: 800 15px var(--display); }
.vt-rules, .vt-steps, .vt-specs { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; line-height: 1.45; font-size: 13px; color: #c9d6ea; }
.vt-rules b, .vt-steps b, .vt-specs b { color: var(--ink); }
.vt-note { margin: 0; font-size: 13px; line-height: 1.45; color: #c9d6ea; } .vt-note b { color: var(--ink); }
.vt-mock { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.vt-fig { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vt-fig figcaption { font-size: 11.5px; color: var(--mute); text-align: center; } .vt-fig figcaption b { color: var(--ink); }
.vt-pc { border: 1px solid var(--line-2); border-radius: 14px; background: linear-gradient(180deg, #0b1630, #071020); padding: 8px; display: flex; flex-direction: column; gap: 7px; }
.vt-pc-tabs { display: flex; gap: 6px; } .vt-pc-tabs i { height: 7px; width: 46px; border-radius: 4px; background: rgba(255, 255, 255, .14); } .vt-pc-tabs i:first-child { background: rgba(56, 169, 255, .6); }
.vt-frow { display: block; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .05); border-left: 3px solid rgba(160, 230, 90, .5); } .vt-frow.short { height: 14px; }
.vt-phone .vt-l { display: none; } .vt-phone .vt-s { display: inline; }
.vt-phone { position: relative; border: 2px solid rgba(255, 255, 255, .22); border-radius: 26px; background: radial-gradient(circle at 50% 30%, #1a3d6e, #071020 60%); padding: 58px 9px 9px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.vt-globe { position: absolute; left: 50%; top: 10px; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4ea0ff, #123a7a 55%, #061430); box-shadow: 0 0 30px rgba(56, 169, 255, .4); opacity: .8; }
.vt-pbar, .vt-pnav { display: block; position: relative; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.vt-pbar { height: 12px; } .vt-pnav { height: 22px; background: rgba(255, 255, 255, .07); }
.vt-slot { position: relative; pointer-events: auto; }
.vt-slot .vt-card { animation: none; }
.vt-warn { border: 1px solid rgba(255, 59, 78, .5); background: rgba(255, 59, 78, .09); border-radius: 14px; padding: 10px 12px; font-size: 12.5px; line-height: 1.45; color: #ffd5da; } .vt-warn b { color: #fff; }
.vt-form { display: flex; flex-direction: column; gap: 9px; }
.vt-form .vt-row { display: flex; gap: 8px; }
.vt-form .vt-row label { flex: 0 0 150px; } .vt-form .vt-row label.grow { flex: 1; min-width: 0; }
.vt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.modal-box label.vt-check { flex-direction: row; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.4; } .vt-check input { margin-top: 2px; }
.vt-done { border: 1px solid rgba(46, 204, 113, .5); background: rgba(46, 204, 113, .09); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 5px; font-size: 13px; line-height: 1.45; }
.vt-contacts { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--mute); } .vt-contacts:empty { display: none; }
.vt-contacts > div { display: flex; flex-wrap: wrap; gap: 6px; } .vt-contacts .btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .vt-price, .vt-mock { grid-template-columns: 1fr; }
  .vt-form .vt-row { flex-direction: column; } .vt-form .vt-row label { flex: none; }
  .modal-box.vt-box { padding: 16px 15px 14px; }
  .vt-pc .vt-top, .vt-phone .vt-top { font-size: 11px; }
}
/* modo leve: sem animações contínuas */
body.lite .vt-card, body.lite .vt-ph::after, body.lite .tb-chip i { animation: none; }
body.lite .vt-ph::after { display: none; }

/* ── assistente "Create your ad" e acompanhamento do pedido ── */
.vt-wiz { border: 1px solid var(--line-2); border-radius: 16px; padding: 14px; background: rgba(255, 255, 255, .02); }
.vt-step-h { display: flex; align-items: center; gap: 9px; margin-top: 6px; font: 800 14.5px var(--display); color: var(--ink); }
.vt-step-h span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 800 12px var(--mono); color: #1a1200; background: var(--amber); }
.vt-form label small { color: var(--dim); font-weight: 400; }
.vt-color { flex: 0 0 120px !important; } .vt-color input { height: 40px; padding: 3px !important; cursor: pointer; }
.vt-artopts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.modal-box label.vt-opt { flex-direction: row; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; color: var(--ink); background: rgba(255, 255, 255, .02); }
.vt-opt:has(input:checked) { border-color: var(--amber); background: rgba(255, 194, 51, .08); box-shadow: 0 0 0 1px rgba(255, 194, 51, .35) inset; }
.vt-opt input { margin-top: 3px; accent-color: var(--amber); }
.vt-opt span { display: flex; flex-direction: column; gap: 2px; } .vt-opt small { color: var(--mute); font-size: 11.5px; }
.vt-own { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px; }
.modal-box label.vt-file { padding: 11px; border: 1px dashed var(--line-2); border-radius: 12px; color: var(--ink); background: rgba(255, 255, 255, .02); gap: 5px; }
.vt-file small { color: var(--mute); font-size: 11px; line-height: 1.35; }
.vt-file input[type=file] { padding: 6px; font-size: 12px; width: 100%; max-width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.modal-box label.vt-file, .vt-opt, .vt-wiz, .vt-form label { min-width: 0; }
.vt-form input, .vt-form textarea { min-width: 0; max-width: 100%; }
.vt-file em { font-style: normal; font-size: 11.5px; } .vt-file em.good { color: #7be0b0; } .vt-file em.bad { color: #ff8b99; }
.vt-livepv { display: flex; flex-direction: column; gap: 5px; max-width: 360px; } .vt-livepv small { color: var(--mute); font-size: 11px; }
.vt-livepv .vt-card { animation: none; pointer-events: none; }
.vt-order { display: flex; flex-direction: column; gap: 10px; }
.vt-st { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 13px; line-height: 1.45; }
.vt-st > b { font: 800 17px var(--display); }
.vt-st.wait { border-color: rgba(56, 169, 255, .5); } .vt-st.wait > b::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; border: 2px solid var(--teal); border-top-color: transparent; animation: vt-spin .8s linear infinite; vertical-align: -1px; }
@keyframes vt-spin { to { transform: rotate(360deg); } }
.vt-st.good { border-color: rgba(46, 204, 113, .55); background: rgba(46, 204, 113, .07); }
.vt-st.bad { border-color: rgba(255, 59, 78, .5); background: rgba(255, 59, 78, .07); }
.vt-reasons { margin: 0; padding-left: 18px; color: #ffd5da; }
.vt-st .btn, .vt-st .cta { align-self: flex-start; }
.vt-paybid { color: var(--mute); } .vt-paybid b { color: var(--ink); }
.vt-raise { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: rgba(255, 194, 51, .08); border: 1px solid rgba(255, 194, 51, .45); }
.vt-pay { display: flex; flex-direction: column; gap: 8px; }
.vt-paybtn { height: auto !important; padding: 11px 16px !important; flex-direction: column; align-items: flex-start !important; gap: 2px !important; font-size: 14.5px; text-align: left; }
.vt-paybtn small { font-weight: 500; font-size: 11px; opacity: .8; }
.vt-paybtn:disabled { opacity: .6; cursor: wait; }
.vt-mine { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--mute); }
.vt-linkrow { display: flex; gap: 6px; } .vt-linkrow input { flex: 1; min-width: 0; font: 11.5px var(--mono); }
@media (max-width: 560px) { .vt-artopts, .vt-own { grid-template-columns: 1fr; } .vt-color { flex: none !important; } .vt-linkrow { flex-direction: column; } }

/* linha curta do anunciante logo abaixo do banner */
.vt-card.has-cap .vt-art { border-radius: 0; }
.vt-cap { display: flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 0 0 13px 13px; background: linear-gradient(90deg, #121a2e, #0c1324); color: #dbe4f5; font-size: 12px; line-height: 1.3; text-decoration: none; }
.vt-cap > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-cap i { font-style: normal; color: var(--amber); flex: none; }
.vt-cap:hover { color: #fff; } .vt-cap:hover i { transform: translate(1px, -1px); }
@media (max-width: 780px) { .vt-cap { padding: 5px 10px; font-size: 11.5px; } }

/* texto maior que o espaço: corre para o lado (pausa com o mouse em cima) */
.vt-cap > span.run { text-overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.vt-cap-track { display: inline-flex; white-space: nowrap; animation: marquee var(--dur, 14s) linear infinite; }
.vt-cap-track > span { padding-right: 48px; }
.vt-cap:hover .vt-cap-track { animation-play-state: paused; }
/* convite traduzido: o selo do canto não encosta no título */
.vt-ph-in { padding-top: 14px; }
@media (max-width: 560px) { .vt-ph-in small { display: none; } .vt-ph-in { padding-top: 16px; gap: 4px; } }

/* reprovado pela IA: pedir análise manual */
.vt-appeal { display: flex; flex-direction: column; gap: 7px; padding: 12px; border-radius: 13px; border: 1px solid rgba(255, 194, 51, .45); background: rgba(255, 194, 51, .07); }
.vt-appeal span { color: #c9d6ea; } .vt-appeal .cta { align-self: flex-start; }
.vt-appeal textarea { width: 100%; }

/* prévia completa do anúncio dentro da janela */
.vt-livepv { max-width: none !important; gap: 6px !important; padding: 12px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .02); }
.vt-pv-h { font: 800 13.5px var(--display); color: var(--ink); }
.vt-livepv > small { margin-top: 4px; }
.vt-pv-card { max-width: 360px; }
.vt-pv-bar { position: relative !important; inset: auto !important; z-index: auto !important; height: 30px; border-radius: 9px; overflow: hidden; pointer-events: none; }
.vt-pv-bar .tb-half { min-height: 28px; }
.vt-pv-tk { display: flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--glass-2); overflow: hidden; white-space: nowrap; pointer-events: none; }
.vt-livepv [data-vt-live], .vt-livepv [data-vt-live] * { pointer-events: none; }
@media (max-width: 780px) { .vt-pv-bar { height: auto; } }

/* formas de pagamento aceitas (antes de pagar) */
.vt-pays { display: flex; flex-direction: column; gap: 8px; }
.vt-pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.vt-pgroup { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(56, 169, 255, .07), rgba(255, 255, 255, .02)); min-width: 0; }
.vt-ptitle { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.vt-ptitle b { font: 800 14px var(--display); } .vt-ptitle small { color: var(--mute); font-size: 11px; }
.vt-prow { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-badge-pay { display: inline-flex; width: 46px; height: 29px; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.vt-badge-pay svg { width: 100%; height: 100%; display: block; }
.vt-coin { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font: 700 11.5px var(--mono); color: var(--ink); }
.vt-coin img { width: 22px; height: 22px; border-radius: 50%; background: #fff1; }
.vt-coin.vt-more { padding: 3px 10px; color: var(--amber); font-family: var(--body); }
.vt-pnote { color: var(--mute); font-size: 11.5px; line-height: 1.4; margin: 0; } .vt-pnote b { color: var(--ink); }
.vt-paybadges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.vt-paybadges .vt-badge-pay { width: 38px; height: 24px; box-shadow: none; }
.vt-paybadges .vt-coin { padding: 2px 7px 2px 3px; font-size: 10.5px; background: rgba(0, 0, 0, .18); border-color: rgba(0, 0, 0, .15); color: #1a1200; }
.vt-paybadges .vt-coin img { width: 18px; height: 18px; }
/* prévia: faixa do topo em duas linhas (a metade do anunciante e a do leilão inteiras), como no celular */
.vt-pv-bar { flex-direction: column; height: auto !important; }
.vt-pv-bar .tb-sponsor { order: -1; border-left: 0; border-bottom: 1px solid color-mix(in srgb, var(--ad-c) 55%, transparent); }
/* caixa de "concordo" visível em qualquer tela */
.vt-check input { width: 18px; height: 18px; min-width: 18px; accent-color: var(--amber); flex: none; }

/* página de pagamento aberta em outra aba */
.vt-payopen { margin: 10px 0; padding: 12px 14px; border-radius: 10px; background: rgba(126, 226, 168, .1); border: 1px solid rgba(126, 226, 168, .35); display: flex; flex-direction: column; gap: 6px; }
.vt-payopen > span { font-size: 13px; opacity: .9; }
.vt-payopen .cta { align-self: flex-start; text-decoration: none; }

/* pagamento confirmado: destaque verde */
#vt-order .vt-st.good.vt-live { background: rgba(46, 204, 113, .16); border-color: rgba(46, 204, 113, .6); box-shadow: 0 0 0 3px rgba(46, 204, 113, .15); }
#vt-order .vt-st.good.vt-live > b { color: #5ff0a0; font-size: 1.15em; }
