/* Apuração 2026 · tema escuro por padrão, claro opcional. Sem dependência externa. */
:root {
  --bg: #0a0a0c; --panel: #111114; --panel-2: #17171b; --hover: #1d1d22; --line: #232328; --line-2: #2e2e35;
  --text: #ededef; --muted: #9a9ca5; --faint: #63656e;
  --live: #30a46c; --warn: #f5a524; --danger: #e5484d;
  --map-empty: #1c1c21; --map-border: #0a0a0c; --map-uf: rgba(255,255,255,.55);
  --serif: ui-serif, "Iowan Old Style", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 12px; --top: 56px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f4f5; --panel: #ffffff; --panel-2: #f8f8f9; --hover: #f0f0f2; --line: #e6e6e9; --line-2: #d8d8dc;
  --text: #111113; --muted: #5f616a; --faint: #8b8d96;
  --map-empty: #e3e3e7; --map-border: #ffffff; --map-uf: rgba(17,17,19,.6);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font: 14px/1.4 var(--sans); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; gap: 14px;
  padding: 0 16px; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand svg { fill: currentColor; stroke: none; width: 20px; height: 20px; }
.brand span { display: flex; flex-direction: column; line-height: 1.1; }
.brand b { font-size: 15px; letter-spacing: -.01em; }
.brand small { color: var(--muted); font-size: 11px; }
.turnos { display: flex; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.turnos button { padding: 5px 12px; border-radius: 7px; color: var(--muted); font-weight: 550; font-size: 13px; display: flex; gap: 6px; align-items: baseline; white-space: nowrap; }
.turnos button small { font-weight: 400; color: var(--faint); font-size: 11px; }
.turnos button[aria-selected="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 0 0 1px var(--line-2); }
.turnos .livebadge { width: 6px; height: 6px; border-radius: 50%; background: var(--live); align-self: center; animation: pulse 1.4s infinite; }
.search { position: relative; flex: 0 1 320px; display: flex; align-items: center; gap: 8px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; height: 34px; margin-left: auto; }
.search:focus-within { border-color: var(--line-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 8%, transparent); }
.search svg { color: var(--faint); width: 16px; height: 16px; flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font: 11px var(--sans); color: var(--faint); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
.search ul { position: absolute; top: 40px; left: 0; right: 0; margin: 0; padding: 5px; list-style: none; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.35); max-height: 60vh; overflow: auto; }
.search li { padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.search li[aria-selected="true"], .search li:hover { background: var(--hover); }
.search li small { color: var(--faint); }
.status { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
/* luz de apuração correndo: verde, piscando (pulso + halo). A classe `pisca` só é posta quando
   há apuração de fato: antes das 17h não existe luz. Em `wait` (TSE sem publicar além do limiar
   medido) a luz fica âmbar e PARADA; vermelha é só queda de conexão. */
.status.live .dot, .status.wait .dot, .status.done .dot { background: var(--live); }
.status.wait .dot { background: var(--warn); }
.status.off .dot { background: var(--danger); animation: pulse 1s infinite; }
.status.pisca .dot { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); animation: ring 1.6s infinite, blink 1.6s infinite; }
.status b { color: var(--text); font-weight: 600; }
.status.wait b { color: var(--warn); }

/* faixa ao vivo das telas estreitas (o chip acima some abaixo de 1080px) */
.livebar { display: none; align-items: center; gap: 8px; padding: 7px 14px; font-size: 12px; color: var(--muted);
  background: color-mix(in srgb, var(--live) 10%, var(--panel)); border-bottom: 1px solid var(--line);
  position: sticky; top: var(--top); z-index: 19; }
.livebar b { color: var(--text); font-weight: 650; letter-spacing: .02em; }
.livebar .lb-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.livebar.wait { background: color-mix(in srgb, var(--warn) 10%, var(--panel)); }
.livebar.wait b { color: var(--warn); }
.livebar.off { background: color-mix(in srgb, var(--danger) 10%, var(--panel)); }
.livebar.off b { color: var(--danger); }
.livebar.done { background: var(--panel); }
.livedot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); flex: none; }
.livebar.wait .livedot { background: var(--warn); }
.livebar.off .livedot { background: var(--danger); }
.livebar.pisca .livedot { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 60%, transparent); animation: ring 1.6s infinite, blink 1.6s infinite; }
.actions { display: flex; gap: 2px; }
.icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--muted); }
.icon:hover { background: var(--hover); color: var(--text); }
.simbar { background: repeating-linear-gradient(-45deg, #f5a524, #f5a524 12px, #e09412 12px, #e09412 24px); color: #1a1200; font-weight: 650; font-size: 12px; text-align: center; padding: 5px 12px; letter-spacing: .01em; }

/* ---------- grade principal ---------- */
.grid { display: grid; grid-template-columns: 360px minmax(0, 1fr) 320px; height: calc(100dvh - var(--top) - 34px); }
body.has-sim .grid { height: calc(100dvh - var(--top) - 34px - 26px); }
.col { overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.left { border-right: 1px solid var(--line); }
.right { border-left: 1px solid var(--line); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.card h3 { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card h3 small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--faint); }
.note { font-size: 11.5px; color: var(--faint); margin: 8px 0 0; line-height: 1.45; }

/* ---------- herói (resultado do recorte) ---------- */
.hero { padding: 16px; }
.kicker { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.kicker .back { color: var(--muted); font-size: 12px; padding: 3px 8px; border-radius: 7px; border: 1px solid var(--line-2); }
.kicker .back:hover { color: var(--text); background: var(--hover); }
.tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.tag.live { color: var(--live); border-color: color-mix(in srgb, var(--live) 45%, transparent); display: inline-flex; align-items: center; gap: 6px; }
.tag.live .livedot.fixa { width: 7px; height: 7px; animation: none; }
.tag.ok { color: var(--live); border-color: color-mix(in srgb, var(--live) 40%, transparent); }
.headline { font-family: var(--serif); font-size: 27px; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 16px; font-weight: 500; text-wrap: balance; }
.headline b { font-weight: 600; }
.countdown { font-family: var(--sans); font-size: 34px; font-weight: 650; letter-spacing: -.02em; display: block; margin-top: 6px; }
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cand { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cand.r { align-items: flex-end; text-align: right; }
.cand .who { display: flex; align-items: center; gap: 8px; }
.cand.r .who { flex-direction: row-reverse; }
.avatar { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; object-position: top; background: var(--panel-2); flex: none; box-shadow: inset 0 0 0 2px var(--c, var(--line)); border: 2px solid var(--c, var(--line)); }
.cand .nm { font-weight: 650; font-size: 14px; line-height: 1.15; }
.cand .pt { font-size: 11px; color: var(--muted); }
.cand .pct { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin-top: 8px; color: var(--c); }
.cand .pct sup { font-size: 16px; font-weight: 600; margin-left: 1px; vertical-align: 16px; }
.cand .votes { font-size: 12px; color: var(--muted); }
.cand.win .nm::after { content: " ✓"; color: var(--c); }
.bar2 { position: relative; height: 10px; margin: 14px 0 6px; border-radius: 99px; background: var(--panel-2); overflow: hidden; display: flex; }
.bar2 i { display: block; height: 100%; transition: width .6s cubic-bezier(.2,.8,.2,1); }
.bar2 i:last-child { margin-left: auto; }
.bar2::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: var(--text); opacity: .85; transform: translateX(-1px); }
.mid { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); }
.mid span:nth-child(2) { color: var(--text); font-weight: 600; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 14px; }
.stat { background: var(--panel); padding: 9px 11px; }
.stat span { display: block; font-size: 11px; color: var(--muted); }
.stat b { font-size: 15px; font-weight: 650; }
.stat small { color: var(--faint); font-size: 11px; margin-left: 4px; }
.prog { height: 4px; background: var(--panel-2); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.prog i { display: block; height: 100%; background: var(--text); transition: width .6s; }
.others { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.orow { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; font-size: 13px; }
.orow img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; object-position: top; background: var(--panel-2); }
.orow .b { height: 3px; background: var(--panel-2); border-radius: 9px; margin-top: 3px; overflow: hidden; }
.orow .b i { display: block; height: 100%; }
.orow .v { text-align: right; font-weight: 600; }
.orow .v small { display: block; font-weight: 400; color: var(--faint); font-size: 11px; }


/* gráfico */
.chart svg { width: 100%; height: auto; display: block; stroke: none; fill: none; overflow: visible; }
.chart .ax { stroke: var(--line); stroke-width: 1; }
.chart text { fill: var(--faint); font: 10px var(--sans); stroke: none; }
.chart .ln { stroke-width: 2; fill: none; stroke-linejoin: round; }
.chart .lg { display: flex; gap: 12px; font-size: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.chart .lg i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 5px; }

/* ---------- mapa ---------- */
.mapcol { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.maptabs { display: flex; gap: 4px; padding: 10px 14px 0; flex-wrap: wrap; align-items: center; }
.maptabs button { padding: 5px 11px; border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 550; border: 1px solid transparent; }
.maptabs button:hover { color: var(--text); }
.maptabs button[aria-selected="true"] { color: var(--text); background: var(--panel); border-color: var(--line-2); }
.maptabs select { background: var(--panel); color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; padding: 4px 8px; font: inherit; font-size: 13px; }
.mapbox { position: relative; flex: 1; min-height: 0; }
#map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
#map.drag { cursor: grabbing; }
#map.pointing { cursor: pointer; }
.maploading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); font-size: 13px; pointer-events: none; }
.legend { position: absolute; left: 14px; bottom: 12px; background: color-mix(in srgb, var(--panel) 90%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 11px; color: var(--muted); max-width: calc(100% - 90px); }
.legend .lt { color: var(--text); font-weight: 600; margin-bottom: 5px; font-size: 11.5px; }
.legend .ramp { display: flex; gap: 2px; align-items: center; }
.legend .ramp i { width: 22px; height: 9px; border-radius: 2px; display: block; }
.legend .ends { display: flex; justify-content: space-between; margin-top: 3px; gap: 12px; }
.legend .row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.legend .row .ramp i { width: 16px; }
.zoom { position: absolute; right: 14px; bottom: 12px; display: flex; flex-direction: column; background: color-mix(in srgb, var(--panel) 90%, transparent); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.zoom button { width: 34px; height: 32px; display: grid; place-items: center; font-size: 18px; color: var(--muted); }
.zoom button + button { border-top: 1px solid var(--line); }
.zoom button:hover { color: var(--text); background: var(--hover); }
.zoom svg { width: 15px; height: 15px; }
.tip { position: absolute; z-index: 5; pointer-events: none; min-width: 210px; max-width: 280px; background: color-mix(in srgb, var(--panel) 96%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; box-shadow: 0 14px 34px rgba(0,0,0,.35); font-size: 12.5px; }
.tip .tt { font-weight: 650; font-size: 13.5px; }
.tip .ts { color: var(--faint); font-size: 11px; margin-bottom: 7px; }
.tip .tr { display: grid; grid-template-columns: 8px 1fr auto auto; gap: 7px; align-items: center; margin-top: 3px; }
.tip .tr i { width: 8px; height: 8px; border-radius: 2px; }
.tip .tr b { font-weight: 650; }
.tip .tr small { color: var(--faint); min-width: 64px; text-align: right; }

.timeline { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-top: 1px solid var(--line); }
.tl-track { flex: 1; min-width: 0; }
.timeline input[type=range] { width: 100%; accent-color: var(--text); height: 18px; margin: 0; }
.tl-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); }
.tl-labels #tl-now { color: var(--text); font-weight: 600; }
.timeline .icon svg { fill: currentColor; stroke: none; width: 15px; height: 15px; }
.pill { font-size: 12px; font-weight: 650; padding: 5px 11px; border-radius: 99px; background: var(--live); color: #fff; white-space: nowrap; }
.timeline.past { background: color-mix(in srgb, var(--warn) 7%, transparent); }

/* ---------- coluna direita ---------- */
.up { color: var(--live); } .down { color: var(--danger); }
.rows { display: flex; flex-direction: column; }
.rrow { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 8px 6px; border-radius: 8px; cursor: pointer; align-items: center; }
.rrow:hover, .rrow.sel { background: var(--hover); }
.rrow .n { font-weight: 600; font-size: 13px; display: flex; gap: 6px; align-items: baseline; }
.rrow .n small { color: var(--faint); font-weight: 400; }
.rrow .p { font-size: 11.5px; color: var(--muted); text-align: right; }
.split { grid-column: 1 / -1; display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: var(--panel-2); }
.split i { display: block; height: 100%; transition: width .5s; }
.split i:last-child { margin-left: auto; }
.lab { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; }
.sortbar { display: flex; gap: 4px; }
.sortbar button { font-size: 11px; color: var(--faint); padding: 1px 6px; border-radius: 5px; text-transform: none; letter-spacing: 0; }
.sortbar button[aria-pressed="true"] { color: var(--text); background: var(--panel-2); }
.feed { display: flex; flex-direction: column; gap: 1px; }
.frow { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; padding: 6px 4px; font-size: 12.5px; border-radius: 6px; align-items: center; cursor: pointer; }
.frow:hover { background: var(--hover); }
.frow time { color: var(--faint); font-size: 11px; }
.frow .w { font-weight: 650; text-align: right; white-space: nowrap; }
.frow .w small { display: block; color: var(--faint); font-weight: 400; font-size: 10.5px; }
.frow.new { animation: flash 1.4s ease-out; }
.empty { color: var(--faint); font-size: 12.5px; padding: 6px 2px; }

/* ---------- rodapé ---------- */
.foot { height: 34px; display: flex; align-items: center; gap: 16px; padding: 0 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--faint); overflow-x: auto; white-space: nowrap; }
.foot a { color: var(--muted); }
.foot .ok { color: var(--live); }
.foot .bad { color: var(--warn); }
.foot .sp { margin-left: auto; }
.noscript { padding: 40px; text-align: center; }

@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: .3; } }
@keyframes flash { from { background: color-mix(in srgb, var(--warn) 20%, transparent); } to { background: transparent; } }
@keyframes tick { from { opacity: .4; } to { opacity: 1; } }
.bump { animation: tick .5s ease-out; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- telas menores ---------- */
@media (max-width: 1280px) { .grid { grid-template-columns: 330px minmax(0, 1fr) 290px; } }
@media (max-width: 1080px) {
  .grid { display: flex; flex-direction: column; height: auto; }
  body.has-sim .grid { height: auto; }
  .col { overflow: visible; padding: 12px; }
  .left, .right { border: 0; }
  .mapcol { order: 2; height: min(78vh, 115vw); border-block: 1px solid var(--line); }
  .left { order: 1; } .right { order: 3; }
  /* o chip do topo não cabe aqui; quem mostra a luz e a última atualização é a faixa */
  .status { display: none; }
  .livebar { display: flex; }
  .foot { height: auto; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); flex-wrap: wrap; white-space: normal; }
  .foot .sp { margin-left: 0; }
}
@media (max-width: 640px) {
  :root { --top: 52px; }
  .top { gap: 8px; padding: 0 10px; }
  .brand small { display: none; }
  .brand b { font-size: 14px; }
  .turnos button { padding: 5px 9px; }
  .turnos button small { display: none; }
  .search { position: static; flex: 0 0 34px; padding: 0; justify-content: center; margin-left: auto; cursor: pointer; }
  .search input, .search kbd { display: none; }
  .search.open { position: absolute; left: 10px; right: 10px; top: 9px; flex: none; padding: 0 10px; justify-content: flex-start; z-index: 30; background: var(--panel); }
  .search.open input { display: block; }
  .search.open ul { top: 40px; }
  .actions #btn-full { display: none; }
  .headline { font-size: 24px; }
  .cand .pct { font-size: 36px; }
  .legend { left: 8px; bottom: 8px; padding: 6px 8px; }
  .legend .ramp i { width: 15px; }
  .zoom { right: 8px; bottom: 8px; }
  .maptabs { padding: 8px 10px 0; overflow-x: auto; flex-wrap: nowrap; }
  .maptabs button { white-space: nowrap; }
}

/* celular: mapa mais alto (o Brasil é quase quadrado) e legenda compacta no canto vazio (Paraguai) */
@media (max-width: 640px) {
  .mapcol { height: calc(118vw + 116px); }
  .legend { font-size: 10px; padding: 5px 7px; max-width: 58%; }
  .legend .lt { display: none; }
  .legend .ramp i, .legend .row .ramp i { width: 10px; height: 7px; }
}

/* ── BANNER VYTA (publicidade) ───────────────────────────────────────────────
   Slot 1: dentro de .mapcol, depois da timeline. Mobile-first e deliberadamente
   discreto: altura fixa e baixa (não empurra conteúdo de forma imprevisível),
   nunca sticky, nunca por cima do mapa. A arte tem o anel no terço esquerdo e
   espaço negativo à direita; o texto vai nesse vazio, em HTML (não "queimado" na
   imagem) para ficar nítido e legível em tela pequena. */
.ad { position: relative; margin: 10px 14px 14px; }
.ad-a { position: relative; display: block; height: 108px; border-radius: var(--r);
        overflow: hidden; border: 1px solid var(--line); background: #0a0a0c;
        text-decoration: none; }
.ad-art { position: absolute; inset: 0; width: 100%; height: 100%;
          object-fit: cover; object-position: 18% center; }
/* véu à direita: garante contraste do texto em qualquer recorte da arte */
.ad-a::after { content: ''; position: absolute; inset: 0;
               background: linear-gradient(90deg, transparent 26%, rgba(10,10,12,.72) 52%, rgba(10,10,12,.92) 72%); }
.ad-txt { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
          align-items: flex-end; justify-content: center; gap: 3px;
          padding: 0 14px 0 45%; text-align: right; color: #fff; }
.ad-logo { height: 15px; width: auto; opacity: .95; margin-bottom: 1px; }
.ad-h { font-size: 12.5px; font-weight: 650; line-height: 1.25; letter-spacing: -.1px; }
.ad-h i { display: block; font-style: normal; font-weight: 400; font-size: .86em; color: rgba(255,255,255,.72); }
.ad-p { display: flex; align-items: baseline; gap: 7px; }
.ad-p s { font-size: 11.5px; color: rgba(255,255,255,.5); }
.ad-p strong { font-size: 19px; font-weight: 700; letter-spacing: -.4px; }
.ad-c { font-size: 10.5px; color: rgba(255,255,255,.7); }
.ad-c b { color: #fff; font-weight: 650; }
.ad-c u { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 1px; }
.ad-tag { position: absolute; top: 7px; left: 9px; z-index: 2; font-size: 9px; letter-spacing: .06em;
          text-transform: uppercase; color: rgba(255,255,255,.45); text-shadow: 0 1px 3px rgba(0,0,0,.9); }
.ad-a:hover { border-color: var(--line-2); }
.ad-a:hover .ad-c u { border-bottom-color: #fff; }

@media (min-width: 1081px) {           /* desktop: coluna central, um pouco maior */
  .ad-a { height: 124px; }
  .ad-h { font-size: 13.5px; } .ad-p strong { font-size: 21px; }
}
@media (max-width: 400px) {            /* celular estreito: o texto manda, a arte cede */
  .ad { margin: 8px 10px 12px; }
  .ad-a { height: 100px; }
  .ad-txt { padding-left: 38%; }
  .ad-h { font-size: 11.5px; } .ad-p strong { font-size: 17px; }
}
@media (prefers-reduced-motion: no-preference) { .ad-a { transition: border-color .15s; } }
