/* Arena Fundos — comparador. Usa os tokens do tema (tokens.css) com fallback. */
.afc {
	--afc-ref: var(--ink-500, #5E6C67);
	--afc-card: var(--surface-card, #fff);
	--afc-line: var(--line, #E5E1D3);
	--afc-soft: var(--line-soft, #EFEBDE);
	--afc-sunk: var(--surface-sunk, #F6F1E3);
	--afc-head: var(--head, #03505A);
	--afc-ink: var(--ink-800, #1C2A28);
	--afc-mute: var(--ink-500, #5E6C67);
	--afc-up: var(--alta, #137A4F);
	--afc-down: var(--baixa, #C23B3B);
	--afc-lime: var(--lime, #6AFF02);
	--afc-r: var(--radius-3, 10px);
	font-family: var(--font-sans, Inter, system-ui, sans-serif);
	color: var(--afc-ink);
}
.afc *, .afc *::before, .afc *::after { box-sizing: border-box; }
.afc [hidden] { display: none !important; }
/* Trilha dentro da faixa escura (antes ficava solta numa tira clara acima do hero). */
.afc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; margin: 0 0 18px; color: rgba(255, 246, 231, .62); }
.afc .afc-crumbs a { color: rgba(255, 246, 231, .85); text-decoration: none; transition: color .15s; }
.afc .afc-crumbs a:hover { color: var(--afc-lime); }
.afc-crumbs span[aria-hidden] { opacity: .45; }
.afc-crumbs span[aria-current] { color: rgba(255, 246, 231, .62); }

/* ------------------------------------------------------------ hero + seletor */
.afc-hero { padding: 22px 0 40px; position: relative; overflow: visible; }
.afc-hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background: radial-gradient(900px 300px at 85% -10%, rgba(95, 229, 199, .22), transparent 60%),
		radial-gradient(600px 240px at 0% 110%, rgba(106, 255, 2, .10), transparent 60%);
}
.afc-hero .wrap { position: relative; }
.afc-kicker { font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--afc-lime); }
.afc-h1 { font-family: var(--font-display, 'Inter Tight', sans-serif); font-weight: 800; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.06; letter-spacing: -.02em; color: var(--creme, #FFF6E7); margin: 8px 0 10px; max-width: 18ch; text-wrap: balance; }
.afc-lead { font-size: 17px; line-height: 1.5; color: rgba(255, 246, 231, .82); max-width: 62ch; margin: 0 0 24px; }

.afc-picker {
	background: var(--afc-card); color: var(--afc-ink); border-radius: 14px; padding: 16px;
	box-shadow: 0 18px 48px rgba(1, 32, 33, .28); display: grid; gap: 14px;
}
.afc-picker > *, .afc-ctrl { min-width: 0; }
.afc-search { position: relative; display: flex; align-items: center; }
.afc-search-ic { position: absolute; left: 14px; width: 20px; height: 20px; fill: none; stroke: var(--afc-mute); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.afc .afc-input {
	width: 100%; height: 52px; border: 1.5px solid var(--afc-line); border-radius: 10px; background: var(--afc-sunk);
	padding: 0 64px 0 44px; font: 500 16px/1 var(--font-sans, Inter, sans-serif); color: var(--afc-ink); outline: none;
	transition: border-color .15s, background .15s, box-shadow .15s;
}
.afc .afc-input:focus { border-color: var(--aqua-escuro, #1FA98A); background: var(--afc-card); box-shadow: 0 0 0 4px rgba(31, 169, 138, .15); }
.afc .afc-input:disabled { opacity: .7; cursor: not-allowed; }
.afc-count { position: absolute; right: 14px; font: 600 12px var(--font-mono, monospace); color: var(--afc-mute); }
.afc-drop {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50; list-style: none; margin: 0; padding: 6px;
	background: var(--afc-card); border: 1px solid var(--afc-line); border-radius: 12px; box-shadow: var(--shadow-3, 0 18px 48px rgba(1,32,33,.16));
	max-height: 360px; overflow-y: auto;
}
.afc-drop li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: grid; gap: 2px; }
.afc-drop li.is-act, .afc-drop li:hover { background: var(--afc-sunk); }
.afc-drop li.is-has { opacity: .55; }
.afc-o-n { font-weight: 600; font-size: 14.5px; color: var(--afc-ink); line-height: 1.3; }
.afc-o-c { font: 12px var(--font-mono, monospace); color: var(--afc-mute); }
.afc-drop .afc-drop-msg { cursor: default; color: var(--afc-mute); font-size: 14px; display: flex; gap: 8px; align-items: center; }
.afc-drop .afc-drop-msg:hover { background: none; }

.afc-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
.afc-chips:empty { display: none; }
.afc-chip {
	display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 6px 6px 6px 12px; border-radius: 999px;
	background: color-mix(in srgb, var(--c) 12%, var(--afc-card)); border: 1.5px solid color-mix(in srgb, var(--c) 45%, transparent);
	font-size: 13.5px; font-weight: 600; color: var(--afc-ink);
}
.afc-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.afc-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.afc-chip.is-load span { color: var(--afc-mute); }
.afc-chip.is-err { border-color: var(--afc-down); background: var(--baixa-soft, #F8E7E4); }
.afc .afc-chip button {
	all: unset; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
	font-size: 17px; line-height: 1; color: var(--afc-mute); background: transparent;
}
.afc .afc-chip button:hover, .afc .afc-chip button:focus-visible { background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--afc-ink); }

.afc-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 22px; }
.afc-ctrl { display: grid; gap: 6px; }
.afc-ctrl-l { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--afc-mute); }
.afc-seg { display: inline-flex; flex-wrap: wrap; background: var(--afc-sunk); border: 1px solid var(--afc-line); border-radius: 10px; padding: 3px; gap: 2px; }
.afc .afc-seg button {
	appearance: none; border: 0; background: transparent; color: var(--afc-ink); font: 600 13.5px var(--font-sans, Inter, sans-serif);
	padding: 8px 12px; border-radius: 7px; cursor: pointer; transition: background .15s, color .15s; line-height: 1;
}
.afc .afc-seg button:hover, .afc .afc-seg button:focus { background: var(--afc-soft); color: var(--afc-ink); }
.afc .afc-seg button.is-on, .afc .afc-seg button.is-on:hover, .afc .afc-seg button.is-on:focus { background: var(--verde-escuro, #03505A); color: #fff; }
.afc .afc-seg button:disabled, .afc .afc-seg button:disabled:hover { opacity: .35; cursor: not-allowed; background: transparent; color: var(--afc-ink); }
.afc .afc-seg button:focus-visible { outline: 2px solid var(--aqua-escuro, #1FA98A); outline-offset: 1px; }
.afc .afc-share {
	margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px;
	border: 1.5px solid var(--afc-line); background: var(--afc-card); color: var(--afc-head); font: 600 13.5px var(--font-sans, Inter, sans-serif); cursor: pointer;
}
.afc .afc-share:hover, .afc .afc-share:focus { background: var(--afc-sunk); color: var(--afc-head); border-color: var(--afc-line); }
.afc-share svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ------------------------------------------------------------ corpo */
.afc-body { padding-top: 30px; padding-bottom: 56px; }
.afc-status { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 14.5px; line-height: 1.5; background: var(--afc-sunk); border: 1px solid var(--afc-line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.afc-status.is-warn { background: #FFF4D6; border-color: #EBD48C; color: #5C4400; }
.afc-status.is-err { background: var(--baixa-soft, #F8E7E4); border-color: #E7B9B2; color: #7A1F1F; }
:root[data-theme="dark"] .afc-status.is-warn { background: #3A3218; border-color: #6B5A23; color: #F3DE9C; }
:root[data-theme="dark"] .afc-status.is-err { background: #3A1E1E; border-color: #6E2F2F; color: #F2B8B8; }
.afc-spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; animation: afc-spin .7s linear infinite; opacity: .6; flex: none; }
@keyframes afc-spin { to { transform: rotate(360deg); } }
.afc-empty { text-align: center; padding: 48px 16px; color: var(--afc-mute); }
.afc-empty svg { width: 48px; height: 48px; fill: none; stroke: var(--aqua-escuro, #1FA98A); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.afc-empty p { max-width: 46ch; margin: 10px auto 0; font-size: 16px; }

/* Caixa de análise */
.afc-insight {
	position: relative; overflow: hidden; margin: 0 0 22px; padding: 22px 24px 20px 28px; border-radius: 14px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--aqua, #5FE5C7) 14%, var(--afc-card)) 0%, var(--afc-card) 62%);
	border: 1px solid color-mix(in srgb, var(--aqua-escuro, #1FA98A) 35%, var(--afc-line));
	box-shadow: var(--shadow-2, 0 4px 14px rgba(1, 32, 33, .08));
}
.afc-insight::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--afc-lime), var(--aqua-escuro, #1FA98A)); }
.afc-insight-h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.afc-insight-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--verde-escuro, #03505A); flex: none; }
.afc-insight-ic svg { width: 17px; height: 17px; fill: none; stroke: var(--afc-lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.afc .afc-insight-h h2 { margin: 0; font: 700 12px var(--font-sans, Inter, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: var(--afc-head); }
.afc-insight-tag { margin-left: auto; font: 600 12px var(--font-mono, monospace); color: var(--afc-mute); background: var(--afc-card); border: 1px solid var(--afc-line); border-radius: 999px; padding: 4px 10px; }
.afc-verdict { font-family: var(--font-display, 'Inter Tight', sans-serif); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.5; font-weight: 500; color: var(--afc-ink); margin: 0; max-width: 78ch; text-wrap: pretty; }
.afc-verdict strong { font-weight: 700; }
.afc-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-top: 18px; }
.afc-highlights:empty { display: none; }
.afc-hl { background: var(--afc-card); border: 1px solid var(--afc-line); border-top: 3px solid var(--c); border-radius: 10px; padding: 12px 14px; display: grid; align-content: start; gap: 3px; min-width: 0; }
.afc-hl-l { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--afc-mute); }
.afc-hl-v { font: 700 22px/1.15 var(--font-display, 'Inter Tight', sans-serif); color: var(--afc-ink); letter-spacing: -.01em; }
.afc-hl-n { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--afc-ink); min-width: 0; }
.afc-hl-n span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.afc-hl-n i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }
.afc-hl-x { font-size: 12px; color: var(--afc-mute); line-height: 1.35; }

/* CTA da Renova (a peça em si vem do portal.css: .arena-ad-renova .rnv-ad) */
.afc .afc-cta { margin: 26px 0; }

/* Continue explorando */
.afc-explore { margin: 40px 0 8px; }
.afc .afc-explore > h2 { font-family: var(--font-display, 'Inter Tight', sans-serif); font-size: 26px; font-weight: 800; color: var(--afc-head); letter-spacing: -.015em; margin: 0 0 6px; }
.afc .afc-ex-t { font: 700 12px var(--font-sans, Inter, sans-serif); letter-spacing: .1em; text-transform: uppercase; color: var(--afc-mute); margin: 18px 0 10px; }
.afc-pop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.afc .afc-pop-card {
	display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--afc-r); text-decoration: none; color: var(--afc-ink);
	background: var(--afc-card); border: 1px solid var(--afc-line); box-shadow: var(--shadow-1, none); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.afc .afc-pop-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2, 0 4px 14px rgba(1,32,33,.08)); border-color: color-mix(in srgb, var(--aqua-escuro, #1FA98A) 50%, var(--afc-line)); color: var(--afc-ink); }
.afc-pop-card strong { font: 700 16px/1.25 var(--font-display, 'Inter Tight', sans-serif); color: var(--afc-head); }
.afc-pop-card em { font-style: normal; font-size: 13px; color: var(--afc-mute); line-height: 1.4; }
.afc-pop-f { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 6px; }
.afc-pop-f span { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--afc-sunk); color: var(--afc-ink); }
.afc-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--aqua-escuro, #1FA98A); }
.afc-go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.afc-pop-card:hover .afc-go svg { transform: translateX(3px); }
.afc-boxes { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 12px; margin-top: 22px; }
.afc-box { background: var(--afc-sunk); border-radius: var(--afc-r); padding: 18px; min-width: 0; }
.afc .afc-box h3 { font: 700 16px var(--font-display, 'Inter Tight', sans-serif); color: var(--afc-head); margin: 0 0 4px; }
.afc .afc-box p { font-size: 13px; color: var(--afc-mute); margin: 0 0 12px; line-height: 1.4; }
.afc-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.afc .afc-box li a { display: block; padding: 6px 0; font-size: 14px; line-height: 1.35; color: var(--afc-ink); text-decoration: none; border-bottom: 1px solid var(--afc-line); }
.afc .afc-box li:last-child a { border-bottom: 0; }
.afc .afc-box li a:hover { color: var(--aqua-escuro, #1FA98A); }
.afc .afc-box li a.afc-more { font-weight: 700; color: var(--aqua-escuro, #1FA98A); }
.afc-tickers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.afc .afc-tickers a { font: 600 12.5px var(--font-mono, monospace); padding: 6px 10px; border-radius: 8px; background: var(--afc-card); border: 1px solid var(--afc-line); color: var(--afc-head); text-decoration: none; transition: border-color .15s, background .15s; }
.afc .afc-tickers a:hover { border-color: var(--aqua-escuro, #1FA98A); background: color-mix(in srgb, var(--aqua, #5FE5C7) 12%, var(--afc-card)); }

.afc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 26px; }
.afc-card {
	position: relative; background: var(--afc-card); border: 1px solid var(--afc-line); border-radius: var(--afc-r); padding: 18px 18px 16px;
	box-shadow: var(--shadow-1, 0 1px 2px rgba(1,32,33,.06)); overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.afc-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); }
.afc-card.is-off { opacity: .7; }
.afc-card-top { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; margin-bottom: 8px; }
.afc-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: var(--afc-sunk); color: var(--afc-mute); }
.afc-card h3 { font-family: var(--font-display, 'Inter Tight', sans-serif); font-size: 16.5px; font-weight: 700; line-height: 1.25; color: var(--afc-head); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.afc-card-sub { font-size: 12.5px; color: var(--afc-mute); margin: 4px 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afc-card-big { font: 700 34px/1 var(--font-display, 'Inter Tight', sans-serif); letter-spacing: -.02em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.afc-card-big.up { color: var(--afc-up); }
.afc-card-big.down { color: var(--afc-down); }
.afc-card-big small { font: 500 13px var(--font-sans, Inter, sans-serif); color: var(--afc-mute); letter-spacing: 0; }
.afc-card-ref { margin: 6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--afc-ink); }
.afc-card-na { font-size: 14px; color: var(--afc-mute); margin: 0; }
.afc-card-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--afc-soft); }
.afc-card-kv div { min-width: 0; }
.afc-card-kv dt { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--afc-mute); }
.afc-card-kv dd { margin: 3px 0 0; font: 600 14px var(--font-mono, monospace); color: var(--afc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afc-card-kv dt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.afc-panel { background: var(--afc-card); border: 1px solid var(--afc-line); border-radius: var(--afc-r); padding: 20px 20px 16px; margin-bottom: 18px; box-shadow: var(--shadow-1, none); min-width: 0; }
.afc-panel[hidden] { display: none; }
.afc-ph { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.afc-ph h2 { font-family: var(--font-display, 'Inter Tight', sans-serif); font-size: 20px; font-weight: 700; color: var(--afc-head); margin: 0; letter-spacing: -.01em; }
.afc-sub { font-size: 13.5px; color: var(--afc-mute); margin: 4px 0 0; line-height: 1.45; }
.afc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.afc-grid2 .afc-panel { margin-bottom: 0; }
.afc-grid2 + .afc-panel { margin-top: 18px; }

.afc-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.afc .afc-lg {
	appearance: none; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--afc-line); background: var(--afc-card);
	border-radius: 999px; padding: 5px 11px; font: 600 12.5px var(--font-sans, Inter, sans-serif); color: var(--afc-ink); cursor: pointer; max-width: 260px;
}
.afc .afc-lg:hover, .afc .afc-lg:focus { background: var(--afc-sunk); color: var(--afc-ink); border-color: var(--afc-line); }
.afc-lg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.afc-lg i { width: 14px; height: 3px; border-radius: 2px; background: var(--c); flex: none; }
.afc-lg.is-ref i { background: repeating-linear-gradient(90deg, var(--afc-ref) 0 4px, transparent 4px 7px); }
.afc .afc-lg.is-off { opacity: .45; text-decoration: line-through; }

/* ------------------------------------------------------------ gráficos */
.afc-chart { position: relative; width: 100%; min-height: 230px; }
.afc-svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; }
.afc-grid { stroke: var(--afc-soft); stroke-width: 1; }
.afc-zero { stroke: var(--ink-300, #A6B0AB); stroke-width: 1; }
.afc-axis { fill: var(--afc-mute); font: 500 11px var(--font-mono, monospace); }
.afc-axis-t { font-family: var(--font-sans, Inter, sans-serif); }
.afc-cross { stroke: var(--ink-400, #808D88); stroke-width: 1; stroke-dasharray: 3 3; }
.afc-hdot { stroke: var(--afc-card); stroke-width: 2; }
.afc-pt-l { fill: var(--afc-ink); font: 600 11.5px var(--font-sans, Inter, sans-serif); }
.afc-tip {
	position: absolute; top: 8px; z-index: 5; pointer-events: none; min-width: 190px; max-width: 290px;
	background: var(--ink-900, #0E1A19); color: #fff; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
:root[data-theme="dark"] .afc-tip { background: #22302C; }
.afc-tip-d { font: 600 11px var(--font-mono, monospace); opacity: .7; margin-bottom: 6px; }
.afc-tip-r { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; padding: 2px 0; }
.afc-tip-r i { width: 10px; height: 10px; border-radius: 50%; }
.afc-tip-r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .9; }
.afc-tip-r b { font: 600 12.5px var(--font-mono, monospace); }
.afc-nodata { color: var(--afc-mute); font-size: 14px; padding: 40px 0; text-align: center; }

/* ------------------------------------------------------------ tabelas */
.afc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.afc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.afc-table th, .afc-table td { padding: 11px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--afc-soft); }
.afc-table thead th { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--afc-mute); border-bottom: 1px solid var(--afc-line); background: var(--afc-card); }
.afc-table th:first-child, .afc-table td:first-child { text-align: left; position: sticky; left: 0; background: var(--afc-card); z-index: 1; }
.afc-table tbody th { font-weight: 600; color: var(--afc-ink); max-width: 280px; }
.afc-table td { font-family: var(--font-mono, monospace); font-size: 13.5px; color: var(--afc-ink); }
.afc-table td.up { color: var(--afc-up); }
.afc-table td.down { color: var(--afc-down); }
.afc-table tr:last-child > * { border-bottom: 0; }
.afc-table tr.is-ref th, .afc-table tr.is-ref td { color: var(--afc-mute); background: var(--afc-sunk); font-weight: 500; }
.afc-table td.afc-win { font-weight: 700; position: relative; padding-right: 20px; }
.afc-table td.afc-win::after { content: ""; position: absolute; right: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--afc-lime); box-shadow: 0 0 0 2px rgba(106,255,2,.2); }
.afc-tn { display: inline-block; max-width: 230px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.afc-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 8px; vertical-align: 0; flex: none; }
.afc-dot.is-ref { background: none; border: 2px dashed var(--afc-ref); width: 10px; height: 10px; }

.afc-heat td { text-align: center; padding: 9px 8px; min-width: 58px; font-size: 12.5px; }
.afc-heat td.afc-hc { color: var(--afc-ink); position: relative; }
.afc-heat td.afc-hc.is-strong { color: #fff; }
.afc-heat td.is-beat::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 3px; height: 3px; border-radius: 2px; background: var(--afc-lime); }
.afc-heat td.afc-beat-n { font-weight: 700; }
.afc-note { font-size: 12.5px; color: var(--afc-mute); margin: 10px 0 0; }
.afc-heat thead th { text-align: center; }
.afc-heat thead th:first-child { text-align: left; }

.afc-corr td { text-align: center; min-width: 90px; }
.afc-corr td.afc-cc.is-strong { color: #fff; }
.afc-ficha td { text-align: left; font-family: var(--font-sans, Inter, sans-serif); white-space: normal; min-width: 170px; vertical-align: top; }
.afc-ficha thead th { text-align: left; }
.afc-ficha tbody th { color: var(--afc-mute); font-weight: 600; font-size: 13px; }

/* ------------------------------------------------------------ conteúdo */
.afc-learn { margin: 40px 0 10px; }
.afc-learn h2, .afc-faq h2 { font-family: var(--font-display, 'Inter Tight', sans-serif); font-size: 26px; font-weight: 800; color: var(--afc-head); letter-spacing: -.015em; margin: 0 0 16px; }
.afc-learn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.afc-learn-grid > div { background: var(--afc-sunk); border-radius: var(--afc-r); padding: 18px; }
.afc-learn-grid h3 { font-family: var(--font-display, 'Inter Tight', sans-serif); font-size: 16px; font-weight: 700; color: var(--afc-head); margin: 0 0 6px; }
.afc-learn-grid p { font-size: 14.5px; line-height: 1.55; color: var(--ink-700, #2E3D3A); margin: 0; }
.afc-faq { margin-top: 36px; max-width: 860px; }
.afc-fonte { margin-top: 26px; font-size: 13px; color: var(--afc-mute); line-height: 1.5; max-width: 860px; }

/* ------------------------------------------------------------ responsivo */
@media (max-width: 1000px) {
	.afc-learn-grid { grid-template-columns: 1fr 1fr; }
	.afc-pop { grid-template-columns: 1fr 1fr; }
	.afc-boxes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.afc-hero { padding: 24px 0 28px; }
	.afc-lead { font-size: 15.5px; margin-bottom: 18px; }
	.afc-picker { padding: 12px; border-radius: 12px; }
	.afc .afc-input { height: 48px; font-size: 16px; }
	.afc-controls { gap: 12px; }
	.afc-ctrl { width: 100%; }
	.afc-seg { display: flex; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.afc-seg::-webkit-scrollbar { display: none; }
	.afc .afc-seg button { flex: 1 0 auto; padding: 9px 10px; }
	.afc .afc-share { margin-left: 0; width: 100%; justify-content: center; }
	.afc-body { padding-top: 22px; }
	.afc-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-right: -16px; padding-right: 16px; }
	.afc-cards > * { scroll-snap-align: start; }
	.afc-cards:has(> :only-child) { grid-auto-columns: 100%; margin-right: 0; padding-right: 0; }
	.afc-panel { padding: 16px 14px 12px; }
	.afc-grid2 { grid-template-columns: 1fr; }
	.afc-learn-grid { grid-template-columns: 1fr; }
	.afc-pop, .afc-boxes { grid-template-columns: 1fr; }
	.afc-insight { padding: 18px 16px 16px 20px; }
	.afc-insight-tag { margin-left: 0; }
	.afc-highlights { grid-template-columns: 1fr 1fr; }
	.afc-hl-v { font-size: 19px; }
	.afc-crumbs { margin-bottom: 12px; }
	.afc-table th, .afc-table td { padding: 10px 9px; }
	.afc-tn { max-width: 130px; }
	.afc-card-big { font-size: 30px; }
	.afc-cards { grid-auto-columns: 86%; }
	.afc-card-kv { gap: 6px; }
	.afc-card-kv dt { font-size: 9.5px; letter-spacing: .03em; }
	.afc-card-kv dd { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .afc-spin { animation-duration: 2s; } }
