/* TraderGlobalNews — visual "papel-moeda": papel frio, verde de cédula, latão só para o que está ao vivo. */
:root {
  --paper: #edf0ec;
  --surface: #f7f9f6;
  --ink: #13201c;
  --ink-2: #4a5a54;
  --rule: #c9d2cc;
  --cedula: #0f4d3f;
  --cedula-soft: #dbe7e1;
  --brass: #b8892b;
  --up: #17845a;
  --down: #c2412f;
  --focus: #2b6cb0;
  --max: 1280px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0c1614;
  --surface: #12201c;
  --ink: #e4ece7;
  --ink-2: #93a59d;
  --rule: #22342f;
  --cedula: #4fb393;
  --cedula-soft: #183029;
  --brass: #d9a944;
  --up: #3cc58a;
  --down: #ef6b57;
  --focus: #7fb2ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.5;
  font-variant-numeric: tabular-nums;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--cedula); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Tipografia: Archivo condensada para manchetes, normal para texto. */
.hl { font-stretch: 72%; font-weight: 750; letter-spacing: -.01em; line-height: 1.08; }
h1, h2, h3, h4 { margin: 0; }
.page-head { padding: 28px 0 18px; }
.page-head h1 { font-size: clamp(30px, 4.5vw, 44px); }
.page-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 64ch; }
.section-title { font-size: 22px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-title a.more-link { font-size: 14px; font-stretch: 100%; font-weight: 600; color: var(--cedula); letter-spacing: 0; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }

/* Cabeçalho */
header.site { background: var(--surface); border-bottom: 1px solid var(--rule); }
.mast { display: flex; align-items: center; gap: 20px; height: 64px; }
.logo { display: flex; align-items: baseline; gap: 2px; font-size: 26px; white-space: nowrap; color: var(--ink); }
.logo b { color: var(--cedula); font-weight: 800; }
.logo:hover { color: var(--ink); }
nav.main { display: flex; gap: 2px; margin-left: auto; }
nav.main a { padding: 8px 8px; font-weight: 600; font-size: 15px; color: var(--ink-2); border-radius: 6px; white-space: nowrap; }
nav.main a:hover { color: var(--ink); background: var(--cedula-soft); }
nav.main a[aria-current="page"] { color: var(--cedula); box-shadow: inset 0 -2px 0 var(--cedula); border-radius: 0; }
.icon-btn { background: none; border: 1px solid var(--rule); color: var(--ink); width: 38px; height: 38px; border-radius: 8px; cursor: pointer; display: inline-grid; place-items: center; flex: none; }
.icon-btn:hover { border-color: var(--cedula); }
.icon-btn svg { width: 18px; height: 18px; }

/* Régua das sessões: o elemento-assinatura do site. */
.rail { background: var(--surface); border-bottom: 1px solid var(--rule); }
.rail .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding-top: 8px; padding-bottom: 10px; }
.rail-status { font-size: 13px; line-height: 1.3; min-width: 150px; }
.rail-status strong { display: block; font-size: 15px; }
.rail-track { position: relative; height: 52px; }
.rail-band { position: absolute; left: 0; right: 0; height: 16px; border-radius: 3px; }
.rail-band span { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--cedula-soft); border: 1px solid var(--rule); }
.rail-band span.on { background: var(--cedula); border-color: var(--cedula); }
.rail-band.r0 { top: 0; } .rail-band.r1 { top: 19px; }
.rail-band .lb { font-style: normal; margin: 0; position: absolute; top: -1px; font-size: 10.5px; font-weight: 600; line-height: 16px; padding: 0 6px; color: var(--ink-2); white-space: nowrap; pointer-events: none; z-index: 1; }
.rail-band span.on + .lb { color: #fff; }
:root[data-theme="dark"] .rail-band span.on + .lb { color: #06231b; }
.rail-hours { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; font-size: 10px; color: var(--ink-2); }
.rail-hours i { position: absolute; transform: translateX(-50%); font-style: normal; }
.rail-now { position: absolute; top: -4px; bottom: 12px; z-index: 2; width: 2px; background: var(--brass); }
.rail-now::before { content: ""; position: absolute; top: -3px; left: -4px; border: 5px solid transparent; border-top-color: var(--brass); }
.rail-weekend { position: absolute; inset: 0 0 14px; z-index: 3; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--ink-2); background: repeating-linear-gradient(135deg, transparent 0 6px, var(--cedula-soft) 6px 7px), var(--surface); border: 1px solid var(--rule); border-radius: 3px; }

.ticker { background: var(--surface); border-bottom: 1px solid var(--rule); height: 36px; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track .tt { flex: none; display: flex; align-items: center; height: 36px; }
.ticker-track .tt:has(iframe), .ticker > .tradingview-widget-container { width: 100%; }
.tk { white-space: nowrap; font-size: 14px; padding: 0 22px; border-right: 1px solid var(--rule); line-height: 18px; }
.tk b { font-weight: 700; }
@keyframes tick { to { transform: translateX(-50%); } }
/* Widgets TradingView: sem isso o navegador pinta o fundo do iframe de branco no tema escuro. */
.tradingview-widget-container iframe { color-scheme: normal; background: transparent; }

/* Faixa "agora" */
.now-bar { border-bottom: 1px solid var(--rule); background: var(--paper); }
.now-bar .wrap { display: flex; gap: 12px; align-items: baseline; padding-top: 9px; padding-bottom: 9px; font-size: 14.5px; }
.now-bar b { color: var(--brass); flex: none; display: inline-flex; align-items: center; gap: 6px; }
.now-bar b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); animation: pulse 2s ease-in-out infinite; }
.now-bar a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
@keyframes pulse { 50% { opacity: .35; } }

/* Grade */
main { padding: 8px 0 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.stack > * + * { margin-top: 36px; }
.rail-col > * + * { margin-top: 28px; }
.block { }
.block h2.block-title { font-size: 18px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); margin-bottom: 10px; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }

/* Manchete principal */
.lead { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; padding-top: 20px; }
.lead-main .pic { aspect-ratio: 16 / 9; background: var(--cedula-soft) center / cover no-repeat; border-radius: 6px; margin-bottom: 14px; }
.lead-main h2 { font-size: clamp(28px, 3.6vw, 42px); }
.lead-main p { color: var(--ink-2); margin: 10px 0 0; font-size: 17px; max-width: 60ch; }
.lead-side { display: flex; flex-direction: column; }
.lead-side article { padding: 14px 0; border-top: 1px solid var(--rule); }
.lead-side article:first-child { border-top: 0; padding-top: 0; }
.lead-side h3 { font-size: 21px; }

/* Itens de notícia */
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.meta .src { font-weight: 600; color: var(--ink); }
.kicker { font-weight: 700; font-size: 13px; }
.kicker.forex { color: #1f5fae; } .kicker.mercados { color: var(--up); } .kicker.geopolitica { color: var(--down); } .kicker.bancos { color: #7a4cb3; }
:root[data-theme="dark"] .kicker.forex { color: #7fb2ff; } :root[data-theme="dark"] .kicker.bancos { color: #c3a1f0; }
.en { font-size: 11px; font-weight: 700; border: 1px solid var(--rule); border-radius: 4px; padding: 0 5px; }
.acts { display: flex; gap: 2px; margin-top: 6px; }
.acts button, .acts a { background: none; border: 0; padding: 4px 6px; border-radius: 6px; color: var(--ink-2); cursor: pointer; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.acts button:hover, .acts a:hover { background: var(--cedula-soft); color: var(--ink); }
.acts svg { width: 15px; height: 15px; }
.acts .saved { color: var(--brass); }

.sections { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 36px; }
.sec-list article { padding: 11px 0; border-bottom: 1px solid var(--rule); }
.sec-list article:last-child { border-bottom: 0; }
.sec-list h3 { font-size: 17px; font-stretch: 85%; font-weight: 650; line-height: 1.25; }

.timeline article { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.timeline time { font-weight: 700; font-size: 14px; color: var(--cedula); padding-top: 2px; }
.timeline h3 { font-size: 17px; font-weight: 650; line-height: 1.3; }
.timeline p { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); max-width: 70ch; }

.feed article { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.feed article.noimg { grid-template-columns: minmax(0, 1fr); }
.feed .thumb { width: 148px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; background: var(--cedula-soft); }
.feed h3 { font-size: 19px; font-stretch: 85%; font-weight: 700; line-height: 1.22; }
.feed p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; max-width: 72ch; }

/* Assuntos do momento */
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { border: 1px solid var(--rule); background: var(--surface); color: var(--ink); padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.topic small { color: var(--ink-2); font-weight: 500; margin-left: 4px; }
.topic:hover { border-color: var(--cedula); color: var(--cedula); }

/* Filtros */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 4px 0 8px; }
.chip { background: transparent; border: 1px solid var(--rule); color: var(--ink-2); padding: 6px 13px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 600; }
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--cedula); border-color: var(--cedula); color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { color: #06231b; }
.search { flex: 1 1 220px; min-width: 0; background: var(--surface); border: 1px solid var(--rule); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: 15px; font-family: inherit; }
.check { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.btn-more { display: block; width: 100%; margin-top: 18px; padding: 11px; background: transparent; border: 1px solid var(--ink); color: var(--ink); border-radius: 8px; cursor: pointer; font-weight: 700; font-size: 15px; }
.btn-more:hover { background: var(--ink); color: var(--paper); }
.empty { padding: 36px 8px; text-align: center; color: var(--ink-2); }

/* Indicadores */
.ind { display: grid; grid-template-columns: 1fr 1fr; }
.ind > div { padding: 12px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ind > div:nth-child(2n) { border-right: 0; }
.ind > div:nth-last-child(-n+2) { border-bottom: 0; }
.ind .lbl { font-size: 13px; color: var(--ink-2); }
.ind .val { font-size: 24px; font-weight: 750; font-stretch: 80%; line-height: 1.15; }
.ind .val small { font-size: 13px; font-weight: 500; color: var(--ink-2); font-stretch: 100%; }
.ind .chg { font-size: 12.5px; }
.up { color: var(--up); } .down { color: var(--down); }
.spark { width: 100%; height: 26px; margin-top: 4px; display: block; }
.spark path { fill: none; stroke: var(--cedula); stroke-width: 1.5; }
.src-note { font-size: 12px; color: var(--ink-2); padding: 8px 14px; border-top: 1px solid var(--rule); }

/* COT */
.cot-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 72px; gap: 10px; align-items: center; padding: 7px 14px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.cot-row:last-child { border-bottom: 0; }
.cot-row b { font-weight: 700; }
.cot-bar { position: relative; height: 12px; background: var(--cedula-soft); border-radius: 2px; }
.cot-bar::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--ink-2); }
.cot-bar i { position: absolute; top: 0; bottom: 0; border-radius: 2px; }
.cot-bar i.up { background: var(--up); } .cot-bar i.down { background: var(--down); }
.cot-row .n { text-align: right; font-size: 13px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th { text-align: left; font-size: 13px; color: var(--ink-2); font-weight: 600; padding: 8px 10px; border-bottom: 2px solid var(--ink); white-space: nowrap; }
table.data td { padding: 10px; border-bottom: 1px solid var(--rule); }
table.data td.r, table.data th.r { text-align: right; }
.table-scroll { overflow-x: auto; }

/* Widgets */
.tv { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 10px 14px; font-weight: 650; font-size: 15px; color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--cedula); border-bottom-color: var(--cedula); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* Ferramentas */
.tool { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 18px; }
.tool h2 { font-size: 20px; margin-bottom: 4px; }
.tool > p { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
label { display: block; font-size: 13px; color: var(--ink-2); margin: 12px 0 4px; font-weight: 600; }
input, select { width: 100%; background: var(--paper); border: 1px solid var(--rule); color: var(--ink); padding: 9px 11px; border-radius: 6px; font-size: 15px; font-family: inherit; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn { margin-top: 16px; width: 100%; background: var(--cedula); color: #fff; border: 0; padding: 11px; border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 15px; }
:root[data-theme="dark"] .btn { color: #06231b; }
.result { margin-top: 14px; border-top: 2px solid var(--ink); padding-top: 10px; font-size: 15px; }
.result .big { font-size: 26px; font-weight: 750; font-stretch: 80%; color: var(--cedula); }
.result table { width: 100%; border-collapse: collapse; }
.result td { padding: 4px 0; border-bottom: 1px solid var(--rule); }
.result td:last-child { text-align: right; }

/* Glossário */
.gloss { columns: 2 340px; column-gap: 40px; }
.gloss dl { margin: 0; }
.gloss .term { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.gloss dt { font-weight: 750; font-size: 18px; font-stretch: 85%; }
.gloss dd { margin: 4px 0 0; color: var(--ink-2); }
.letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 16px; }
.letters a { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 6px; font-weight: 700; font-size: 14px; }

/* Rodapé */
footer.site { border-top: 2px solid var(--ink); background: var(--surface); color: var(--ink-2); font-size: 14px; padding: 28px 0 32px; }
footer.site .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
footer.site h4 { color: var(--ink); font-size: 15px; margin-bottom: 8px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 4px 0; }
footer.site p { margin: 0 0 8px; }

/* Navegação inferior no celular */
.bottom-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 9px 16px; border-radius: 8px; font-size: 14px; z-index: 50; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }

@media (max-width: 1080px) {
  nav.main a { padding: 8px 7px; font-size: 14px; }
}
@media (max-width: 980px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .lead { grid-template-columns: 1fr; }
  nav.main { display: none; }
  .mast .icon-btn.theme { margin-left: auto; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--rule); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; font-size: 11.5px; font-weight: 600; color: var(--ink-2); background: none; border: 0; cursor: pointer; }
  .bottom-nav svg { width: 22px; height: 22px; }
  .bottom-nav [aria-current="page"] { color: var(--cedula); }
  body { padding-bottom: 64px; }
  .more-sheet { position: fixed; left: 0; right: 0; bottom: 60px; z-index: 29; background: var(--surface); border-top: 1px solid var(--rule); padding: 8px 16px 12px; display: none; }
  .more-sheet.open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .more-sheet a { padding: 11px 8px; font-weight: 600; border-radius: 6px; }
  .more-sheet a:hover { background: var(--cedula-soft); }
  footer.site .cols { grid-template-columns: 1fr; }
}
@media (min-width: 981px) { .more-sheet { display: none !important; } }
@media (max-width: 720px) {
  .sections, .grid-2 { grid-template-columns: 1fr; }
  .rail .wrap { grid-template-columns: 1fr; gap: 6px; }
  .rail-status { display: flex; gap: 10px; align-items: baseline; }
  .rail-status strong { display: inline; }
  .feed article { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .feed .thumb { width: 96px; }
  .feed h3 { font-size: 17px; }
  .logo { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *:not(.ticker-track) { animation: none !important; transition: none !important; }
}
.result:empty { display: none; }
.tz-pick { width: auto; display: inline; padding: 0 2px; margin: 0; border: 0; border-bottom: 1px dashed var(--ink-2); border-radius: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; }

/* Painel */
.dash { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.dash.two { grid-template-columns: 1.15fr 1fr; }
.dash .tool h2 { margin-bottom: 12px; font-size: 19px; }
.phase-name { font-size: 30px; color: var(--cedula); }
.count { display: flex; align-items: baseline; gap: 4px; font-stretch: 75%; font-weight: 800; font-size: 54px; line-height: 1; margin-bottom: 6px; }
.count span { background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 6px 8px 4px; min-width: 1.5em; text-align: center; }
.count i { font-style: normal; color: var(--ink-2); }
table.compact td { padding: 7px 4px; font-size: 14px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--cedula-soft); color: var(--ink-2); }
.pill.on { background: var(--up); color: #fff; }
.pair-bar { margin-top: 32px; padding-top: 16px; border-top: 2px solid var(--ink); }
.pair-head { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-top: 6px; }
.gauge { width: 100%; max-width: 260px; display: block; margin: 0 auto; }
.gauge path { fill: none; stroke-width: 14; }
.gauge .g1 { stroke: var(--cedula-soft); } .gauge .g2 { stroke: color-mix(in srgb, var(--cedula) 55%, var(--surface)); } .gauge .g3 { stroke: var(--brass); }
.gauge .needle { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.gauge .hub { fill: var(--ink); }
.gauge text { font-size: 11px; fill: var(--ink-2); font-family: var(--font); }
.gauge-read { text-align: center; font-size: 15px; margin-top: 2px; } .gauge-read b { font-size: 26px; font-stretch: 80%; }
.center { text-align: center; }
.rbar { display: grid; grid-template-columns: 80px minmax(0, 1fr) 56px; gap: 10px; align-items: center; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--rule); }
.rbar b { text-align: right; font-size: 16px; }
.bar { height: 10px; background: var(--cedula-soft); border-radius: 2px; overflow: hidden; } .bar i { display: block; height: 100%; background: var(--cedula); }
.press { margin-top: 12px; } .press-lbl { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.press-bar { display: flex; height: 10px; border-radius: 2px; overflow: hidden; } .up-bg { background: var(--up); } .down-bg { background: var(--down); }
table.radar { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 13px; }
table.radar th { font-weight: 600; color: var(--ink-2); text-align: left; padding: 2px 4px; white-space: nowrap; }
table.radar td { background: var(--paper); border-radius: 6px; padding: 7px 8px; text-align: center; min-width: 76px; }
table.radar td b { display: block; font-size: 15px; } table.radar td small { color: var(--ink-2); }
table.radar td.rd-up { background: color-mix(in srgb, var(--up) 22%, var(--surface)); } table.radar td.rd-up small { color: var(--up); }
table.radar td.rd-down { background: color-mix(in srgb, var(--down) 22%, var(--surface)); } table.radar td.rd-down small { color: var(--down); }
table.radar td.rd-hot { background: color-mix(in srgb, var(--brass) 25%, var(--surface)); }
table.heat { border-collapse: separate; border-spacing: 2px; font-size: 11px; width: 100%; min-width: 640px; }
table.heat th { color: var(--ink-2); font-weight: 600; padding: 2px; text-align: center; }
table.heat tbody th { text-align: left; padding-right: 6px; font-size: 13px; }
table.heat td { height: 30px; border-radius: 3px; background: color-mix(in srgb, var(--cedula) var(--k), var(--paper)); }
table.heat td.now { outline: 2px solid var(--brass); outline-offset: 1px; }
.heat-legend { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.heat-legend i { width: 120px; height: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--paper), var(--cedula)); border: 1px solid var(--rule); }
@media (max-width: 980px) { .dash, .dash.two { grid-template-columns: minmax(0, 1fr); } .count { font-size: 44px; } }

.live-title { display: flex; align-items: center; gap: 8px; }
.live-title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--down); animation: pulse 1.6s ease-in-out infinite; }
.fj { min-height: 200px; }
.fj iframe { max-width: 100%; }

/* TV Trader */
.tv-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tv-bar .tabs { margin-bottom: 0; border-bottom: 0; }
.tv-modes { display: flex; gap: 8px; padding-bottom: 6px; }
.tv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin-top: 12px; border-top: 1px solid var(--rule); padding-top: 16px; }
.tv-screens { display: grid; gap: 6px; background: #000; border-radius: 8px; overflow: hidden; }
.tv-screens.grid4 { grid-template-columns: 1fr 1fr; }
.tv-screen { position: relative; aspect-ratio: 16 / 9; background: #000; outline: 2px solid transparent; outline-offset: -2px; }
.tv-screen.on { outline-color: var(--brass); }
.tv-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-pick { position: absolute; left: 6px; top: 6px; background: rgba(0,0,0,.7); color: #fff; border: 0; border-radius: 4px; font-size: 12px; font-weight: 700; padding: 4px 8px; cursor: pointer; }
.tv-screen.on .tv-pick { background: var(--brass); color: #111; }
.tv-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 2px; }
.tv-now .pill { background: var(--down); color: #fff; border-color: var(--down); }
.tv-list { max-height: 620px; overflow-y: auto; }
.tv-list ul { list-style: none; margin: 0; padding: 0; }
.tv-list li + li { border-top: 1px solid var(--rule); }
.tv-list button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; cursor: pointer; color: var(--ink); font: inherit; }
.tv-list button:hover { background: var(--paper); }
.tv-list button[aria-current="true"] { background: var(--paper); box-shadow: inset 3px 0 0 var(--cedula); }
.tv-list strong { display: block; font-size: 15px; }
.tv-list em { display: block; font-style: normal; font-size: 13px; color: var(--ink-2); }
.tv-flag { flex: 0 0 34px; font-size: 11px; font-weight: 800; text-align: center; padding: 3px 0; border-radius: 4px; background: var(--cedula); color: #fff; }
:root[data-theme="dark"] .tv-flag { color: #06231b; }
@media (max-width: 860px) { .tv-layout { grid-template-columns: 1fr; } .tv-list { max-height: none; } }
@media (max-width: 560px) { .tv-screens.grid4 { grid-template-columns: 1fr; } }
.tv-list button.off { opacity: .62; }
.tv-on { color: var(--down); font-weight: 700; }
.tv-now .pill.off { background: var(--rule); color: var(--ink-2); border-color: var(--rule); }
.tv-now .btn { flex: 0 0 auto; width: auto; margin-top: 0; padding: 9px 16px; }
@media (max-width: 1180px) { nav.main a { padding: 8px 6px; font-size: 13.5px; } }
nav.main { min-width: 0; overflow-x: auto; scrollbar-width: none; }

/* Breaking news próprio */
.brk-bar { background: var(--down); color: #fff; }
.brk-bar .wrap { display: flex; gap: 10px; align-items: center; padding-top: 7px; padding-bottom: 7px; font-size: 14.5px; min-width: 0; }
.brk-bar b { flex: none; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; background: #fff; color: var(--down); padding: 2px 8px; border-radius: 3px; }
.brk-bar .brk-time { flex: none; font-variant-numeric: tabular-nums; opacity: .85; font-size: 13px; }
.brk-bar a { color: #fff; }
.brk-bar a:not(.brk-all) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.brk-bar .brk-all { flex: none; font-size: 13px; text-decoration: underline; opacity: .9; }
.brk-list { list-style: none; margin: 0; padding: 0; max-height: 620px; overflow-y: auto; }
.brk-list li { display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.brk-list li:last-child { border-bottom: 0; }
.brk-list li.new { background: color-mix(in srgb, var(--down) 9%, transparent); }
.brk-list time { font-size: 13px; font-weight: 700; color: var(--down); font-variant-numeric: tabular-nums; padding-top: 2px; }
.brk-list a { display: block; font-weight: 650; font-size: 14.5px; line-height: 1.35; color: var(--ink); }
.brk-list a:hover { color: var(--cedula); }
.brk-meta { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-2); }
.brk-new { color: var(--down); font-size: 11px; letter-spacing: .05em; }
@media (max-width: 560px) { .brk-bar .brk-all { display: none; } }
