/* Central do afiliado (/afiliado): hub, métricas, campanhas, pagamentos e ferramentas de link.
 * Quem usa: parceiro que divulga a loja, muitas vezes pelo celular. Topo com saldo; abas de navegação
 * (no celular viram select); filtros sempre em select numa faixa própria; números com tabular-nums.
 * Tokens da loja (--ap-*); verde/âmbar/vermelho só para situação. Escopo: .afl */
body main.afl { max-width: 1120px !important; width: 100%; margin: 0 auto !important; }
.afl { --afl-acc: var(--ap-accent, #1e3370); --afl-fio: var(--ap-line, #e3e3e8); --afl-t3: var(--ap-ink-3, #6e6e73); --afl-fundo: var(--ap-surface-2, #f5f5f7);
  padding: 24px 16px 64px; display: flex; flex-direction: column; gap: 16px; color: var(--ap-ink, #1d1d1f); font-family: var(--ap-body, system-ui, sans-serif); font-size: 14px; line-height: 1.45; }
.afl *, .afl *::before, .afl *::after { box-sizing: border-box; }
.afl h1, .afl h2, .afl p, .afl dl, .afl dd { margin: 0; }
.afl :focus-visible { outline: 2px solid var(--afl-acc); outline-offset: 2px; }
.afl a { color: var(--afl-acc); }
.afl-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.afl-num { font-variant-numeric: tabular-nums; }
.afl-mudo { color: var(--afl-t3); }
.afl-estado { padding: 64px 16px; text-align: center; color: var(--afl-t3); display: flex; flex-direction: column; gap: 12px; align-items: center; }
.afl-estado b { color: var(--ap-ink, #1d1d1f); font-size: 18px; }
.afl-estado p { max-width: 46ch; }

/* Topo */
.afl-topo { border-radius: 18px; padding: 20px 24px; color: #fff; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(150deg, color-mix(in oklab, var(--afl-acc) 85%, black), var(--afl-acc)); }
.afl-topo small { opacity: .75; font-size: 12.5px; }
.afl-topo h1 { font-size: clamp(22px, 4vw, 28px); letter-spacing: -.02em; line-height: 1.15; margin: 2px 0 4px; }
.afl-topo p { opacity: .85; font-size: 13px; }
.afl-saldo { display: flex; gap: 10px; }
.afl-saldo div { background: rgba(255,255,255,.12); border-radius: 12px; padding: 10px 16px; min-width: 130px; }
.afl-saldo dt { font-size: 12px; opacity: .8; }
.afl-saldo dd { font-size: 20px; font-weight: 700; }
.afl-aviso { background: #fff4e0; color: #8a5300; border-radius: 12px; padding: 12px 16px; }
.afl-aviso a { color: inherit; font-weight: 600; }

/* Abas: navegação (no celular, select) */
.afl-abas { display: flex; gap: 4px; border-bottom: 1px solid var(--afl-fio); overflow-x: auto; scrollbar-width: none; }
.afl-abas a { padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ap-ink-2, #424245); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; }
.afl-abas a[aria-current="page"] { color: var(--ap-ink, #1d1d1f); border-bottom-color: var(--afl-acc); font-weight: 650; }
.afl-abas-sel { display: none; }

/* Controles */
.afl-btn { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--afl-fio); background: #fff; color: var(--ap-ink, #1d1d1f); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.afl-btn--pri { background: var(--afl-acc); color: #fff; border-color: var(--afl-acc); }
.afl-btn--txt { border-color: transparent; background: none; color: #b42318; }
.afl-btn:disabled { opacity: .55; cursor: default; }
.afl input, .afl select, .afl textarea { min-height: 44px; padding: 0 12px; border: 1px solid var(--afl-fio); border-radius: 10px; font: inherit; width: 100%; background: #fff; color: inherit; outline: none; }
.afl textarea { padding: 10px 12px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.afl input:focus-visible, .afl select:focus-visible, .afl textarea:focus-visible { border-color: var(--afl-acc); outline: none; }
.afl-sel-curto { width: auto !important; }
.afl-campo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.afl-campo > label { font-size: 12.5px; font-weight: 550; color: var(--ap-ink-2, #424245); }
.afl-filtros { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.afl-filtros .afl-campo { width: 180px; }
.afl-filtros .afl-cresce { flex: 1; min-width: 200px; }
.afl-datas > div { display: flex; gap: 6px; }
.afl-filtros .afl-datas { width: 290px; }
.afl-datas[hidden] { display: none; }
.afl-msg { font-size: 13px; min-height: 1em; margin-top: 8px; }
.afl-erro { color: #b42318; }
.afl-ok { color: #12694a; }

/* Indicadores */
.afl-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.afl-kpis div { background: #fff; border: 1px solid var(--afl-fio); border-radius: 14px; padding: 14px 16px; }
.afl-kpis dt { font-size: 12.5px; color: var(--afl-t3); }
.afl-kpis dd { margin-top: 4px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.afl-kpis dd small { display: block; font-size: 12px; font-weight: 400; color: var(--afl-t3); letter-spacing: 0; margin-top: 2px; }
.afl-kpis .afl-destaque dd { color: #12694a; }

.afl-folha { background: #fff; border: 1px solid var(--afl-fio); border-radius: 16px; overflow: hidden; }
.afl-cab { padding: 14px 20px; border-bottom: 1px solid var(--afl-fio); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.afl-cab h2 { font-size: 16px; font-weight: 650; }
.afl-cab p { color: var(--afl-t3); font-size: 13px; margin-top: 2px; }
.afl-pad { padding: 16px 20px; }
.afl-vazio { padding: 28px 20px; color: var(--afl-t3); text-align: center; list-style: none; }
.afl-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Gráfico */
.afl-graf { display: flex; align-items: flex-end; gap: 2px; height: 140px; padding: 16px 20px 4px; }
.afl-graf span { flex: 1; background: color-mix(in oklab, var(--afl-acc) 22%, white); border-radius: 3px 3px 0 0; min-height: 2px; }
.afl-graf span.afl-v { background: var(--afl-acc); }
.afl-eixo { display: flex; justify-content: space-between; padding: 0 20px; font-size: 11.5px; color: var(--afl-t3); }
.afl-leg { display: flex; gap: 16px; padding: 8px 20px 14px; font-size: 12.5px; color: var(--afl-t3); flex-wrap: wrap; }
.afl-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.afl-leg-c { background: color-mix(in oklab, var(--afl-acc) 22%, white); }
.afl-leg-v { background: var(--afl-acc); }

/* Tabelas */
.afl-tab { width: 100%; border-collapse: collapse; }
.afl-tab th { text-align: left; font-size: 12px; color: var(--afl-t3); font-weight: 550; padding: 10px 20px; border-bottom: 1px solid var(--afl-fio); white-space: nowrap; }
.afl-tab td { padding: 12px 20px; border-bottom: 1px solid var(--afl-fio); vertical-align: middle; }
.afl-tab tr:last-child td { border-bottom: 0; }
.afl-tab code { font-size: 12px; overflow-wrap: anywhere; }
.afl-d { text-align: right; }
.afl-sub { color: var(--ap-ink-2, #424245); font-size: 13px; }
.afl-selo { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.afl-selo--disponivel, .afl-selo--paga { color: #12694a; background: #e8f5ee; }
.afl-selo--pendente, .afl-selo--aguardando, .afl-selo--entrega { color: #8a5300; background: #fff4e0; }
.afl-selo--cancelada, .afl-selo--estorno { color: #b42318; background: #fdecea; }

/* Gerador */
.afl-gerador { display: flex; flex-direction: column; gap: 12px; }
.afl-gerador-pe { display: flex; gap: 12px; align-items: end; }
.afl-gerador-pe .afl-campo { width: 240px; }
.afl-gerados { list-style: none; margin: 0 0 8px; padding: 0; border: 1px solid var(--afl-fio); border-radius: 12px; }
.afl-gerados li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--afl-fio); }
.afl-gerados li:first-child { border-top: 0; }
.afl-gerados span { display: flex; flex-direction: column; min-width: 0; }
.afl-gerados code, .afl-linkrow code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; overflow-wrap: anywhere; }
.afl-gerados small { color: #b42318; }
.afl-linkrow { display: flex; gap: 10px; align-items: center; }
.afl-linkrow code { flex: 1; min-width: 0; background: var(--afl-fundo); border-radius: 10px; padding: 12px; }
.afl-linkrow input { flex: 1; }

/* Produtos */
.afl-prods { list-style: none; margin: 0; padding: 0; }
.afl-prods li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--afl-fio); }
.afl-prods li:first-child { border-top: 0; }
.afl-prods li.afl-vazio { display: block; }
.afl-prods img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--afl-fundo); }
.afl-prod-txt { min-width: 0; }
.afl-prod-txt a { color: inherit; text-decoration: none; }
.afl-prod-txt b { font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.afl-prod-txt small { color: var(--afl-t3); }
.afl-ganha { text-align: right; font-size: 12px; color: var(--afl-t3); display: flex; flex-direction: column; }
.afl-pct { font-size: 13px; color: var(--ap-ink-2, #424245); font-weight: 600; }
.afl-ganha strong { color: #12694a; font-size: 16px; }
.afl-mais { text-align: center; border-top: 1px solid var(--afl-fio); }

.afl-pix { display: grid; grid-template-columns: 140px minmax(0,1fr) auto; gap: 8px; align-items: end; }
.afl-regras { color: var(--ap-ink-2, #424245); line-height: 1.6; }
.afl-regras ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.afl-termos { margin-top: 12px !important; white-space: pre-line; border-top: 1px solid var(--afl-fio); padding-top: 12px; }

@media (max-width: 860px) {
  .afl-kpis { grid-template-columns: 1fr 1fr; }
  .afl-dupla { grid-template-columns: 1fr; }
  .afl-abas { display: none; }
  .afl-abas-sel { display: block; }
  .afl-filtros .afl-campo { width: calc(50% - 6px); }
  .afl-filtros .afl-cresce, .afl-filtros .afl-datas { width: 100%; flex-basis: 100%; }
  .afl-pix { grid-template-columns: 1fr; }
  .afl-gerador-pe { flex-direction: column; align-items: stretch; }
  .afl-gerador-pe .afl-campo { width: 100%; }
  .afl-prods li { grid-template-columns: 56px minmax(0, 1fr); padding: 12px 16px; }
  .afl-prods .afl-ganha { grid-column: 2; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; }
  .afl-prods .afl-btn { grid-column: 1 / -1; }
  .afl-tab--m thead { display: none; }
  .afl-tab--m tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; border-bottom: 1px solid var(--afl-fio); }
  .afl-tab--m td { padding: 0; border: 0; text-align: left; }
  .afl-tab--m td.afl-d { text-align: right; }
  .afl-tab th, .afl-tab td { padding-left: 14px; padding-right: 14px; }
  .afl-topo { padding: 18px; }
  .afl-saldo { width: 100%; }
  .afl-saldo div { flex: 1; min-width: 0; }
  .afl-linkrow { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: no-preference) { .afl-btn { transition: background-color .15s; } }

/* v3: hub, métricas com variação, cartões com selo de comissão */
.afl-trilha { display: flex; gap: 8px; font-size: 13px; color: var(--afl-t3); align-items: center; }
.afl-trilha a { text-decoration: none; }
.afl-verde { color: #12694a; }
.afl-titulo { font-size: 20px; font-weight: 650; margin: 8px 0 -4px !important; letter-spacing: -.01em; }
.afl-cab a { font-size: 13px; font-weight: 600; text-decoration: none; }
.afl-cab h2 small { font-size: 12px; font-weight: 400; margin-left: 4px; }
.afl-hub { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; }
.afl-hub--b { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.afl-perfil-c { display: flex; gap: 12px; align-items: center; }
.afl-perfil-c b { display: block; font-size: 16px; }
.afl-perfil-c small { color: var(--afl-t3); }
.afl-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--afl-acc); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; flex: none; }
.afl-tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 14px 20px; }
.afl-tres--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.afl-tres div + div { border-left: 1px solid var(--afl-fio); padding-left: 16px; }
.afl-tres dt { font-size: 12.5px; color: var(--afl-t3); }
.afl-tres dd { font-size: 20px; font-weight: 600; margin-top: 2px; }
.afl-fer { list-style: none; margin: 0; padding: 14px 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.afl-fer a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12.5px; color: var(--ap-ink, #1d1d1f); text-decoration: none; padding: 8px 4px; border-radius: 10px; min-height: 44px; }
.afl-fer a:hover { background: var(--afl-fundo); }
.afl-fer-ic { width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--ap-accent, #1e3370) 10%, #fff); color: var(--ap-accent, #1e3370); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.afl-fer--com { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--afl-fio); }

.afl-ganho { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; background: #ededed; color: #1d1d1f; padding: 2px 6px; border-radius: 3px; white-space: nowrap; letter-spacing: .02em; }
.afl-ganho--extra { background: var(--ap-accent, #1e3370); color: #fff; }
.afl-ganho--extra i { font-style: italic; }
.afl-ganho--extra b { background: #fff; color: var(--ap-ink, #1d1d1f); padding: 0 4px; margin-right: -4px; border-radius: 2px; }

.afl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.afl-cards > .afl-vazio { grid-column: 1 / -1; background: #fff; border-radius: 12px; }
.afl-card { background: #fff; border: 1px solid var(--afl-fio); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.afl-card-img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--afl-fio); padding: 12px; }
.afl-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.afl-card-c { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.afl-card-c small { color: var(--afl-t3); font-size: 12px; }
.afl-card-n { color: var(--ap-ink, #1d1d1f) !important; text-decoration: none; font-size: 13.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.afl-card-p { font-size: 18px; font-weight: 600; }
.afl-card .afl-btn { margin-top: auto; }
.afl-mais { text-align: center; }

.afl-dlg { border: 0; border-radius: 12px; padding: 0; width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 32px); color: var(--ap-ink, #1d1d1f); font-family: var(--ap-body, system-ui, sans-serif); font-size: 14px; }
.afl-dlg::backdrop { background: rgba(0,0,0,.4); }
.afl-dlg-c { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.afl-dlg-c header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.afl-dlg-c h2 { margin: 0; font-size: 19px; }
.afl-dlg-c .afl-campo { display: flex; flex-direction: column; gap: 6px; }
.afl-dlg-c label { font-size: 13px; font-weight: 600; }
.afl-dlg-c input, .afl-dlg-c textarea { min-height: 44px; border: 1px solid var(--ap-line, #e3e3e8); border-radius: 8px; padding: 0 12px; font: inherit; width: 100%; }
.afl-dlg-c textarea { padding: 10px 12px; resize: none; }
.afl-dlg-c .afl-linkrow { display: flex; gap: 8px; }
.afl-dlg-c .afl-btn { min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--ap-line, #e3e3e8); background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.afl-dlg-prod { margin: 0; line-height: 1.6; }
.afl-x { width: 44px; height: 44px; border: 0; background: none; font-size: 22px; color: #6e6e73; cursor: pointer; border-radius: 8px; margin: -10px -10px 0 0; flex: none; }
.afl-redes { display: flex; gap: 6px; }
.afl-redes a { flex: 1; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 13px; background: var(--c); }

.afl-met { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 12px; }
.afl-kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.afl-delta { display: block; font-size: 12px !important; color: var(--afl-t3); font-weight: 500 !important; margin-top: 2px; }
.afl-delta--sobe { color: #12694a !important; }
.afl-delta--cai { color: #b42318 !important; }
.afl-comp { margin: 0 0 12px !important; font-size: 12.5px; align-self: end; }
.afl-barra-det { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: #e3e3e8; }
.afl-leg-det { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.afl-leg-det li { display: flex; align-items: center; gap: 8px; }
.afl-leg-det b { margin-left: auto; }
.afl-leg-det i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.afl-sep-det { border-top: 1px solid var(--afl-fio); padding-top: 8px; }
.afl-sub-abas { display: flex; gap: 4px; border-bottom: 1px solid var(--afl-fio); overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
.afl-sub-abas button { border: 0; background: none; font: inherit; color: var(--ap-ink-2, #424245); min-height: 44px; padding: 0 12px; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.afl-sub-abas button[aria-selected="true"] { color: var(--afl-acc); border-bottom-color: var(--afl-acc); font-weight: 600; }
.afl-filtros--in { padding: 14px 20px; border-bottom: 1px solid var(--afl-fio); }
.afl-acoes { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }

.afl-cfg-barra { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; padding: 20px; }
.afl-cfg-barra h2 { font-size: 16px; margin-bottom: 6px !important; }
.afl-cfg-barra p { color: var(--ap-ink-2, #424245); }
.afl-previa { margin-top: 14px; background: #1b1b1b; color: #fff; border-radius: 6px; padding: 8px 12px; display: flex; gap: 14px; align-items: center; font-size: 12px; overflow: hidden; white-space: nowrap; }
.afl-previa-esp { flex: 1; }
.afl-previa-bt { background: var(--ap-accent, #1e3370); border-radius: 4px; padding: 3px 10px; font-weight: 600; }
.afl-cfg-lado { background: var(--afl-fundo); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; align-self: start; }
.afl-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; min-height: 44px; cursor: pointer; }
.afl-switch input { appearance: none; width: 44px !important; min-height: 24px !important; height: 24px; border-radius: 12px; background: #c7c7cc; position: relative; cursor: pointer; padding: 0 !important; border: 0 !important; flex: none; }
.afl-switch input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .15s; }
.afl-switch input:checked { background: var(--ap-accent, #1e3370); }
.afl-switch input:checked::after { left: 22px; }
.afl-switch input:focus-visible { outline: 2px solid var(--afl-acc); outline-offset: 2px; }
.afl-com { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.afl-com li { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-right: 1px solid var(--afl-fio); }
.afl-com li:last-child { border-right: 0; }
.afl-com .afl-btn { margin-left: auto; }
.afl-dados { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.afl-dados dt { color: var(--afl-t3); }

@media (max-width: 860px) {
  .afl-hub, .afl-hub--b, .afl-met, .afl-cfg-barra { grid-template-columns: minmax(0, 1fr); }
  .afl-kpis--4 { grid-template-columns: 1fr 1fr; }
  .afl-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .afl-card-c { padding: 10px; }
  .afl-card-p { font-size: 16px; }
  .afl-com { grid-template-columns: 1fr; }
  .afl-com li { border-right: 0; border-bottom: 1px solid var(--afl-fio); }
  .afl-tres { padding: 12px 14px; }
  .afl-tres dd { font-size: 17px; }
  .afl-fer { grid-template-columns: repeat(4, 1fr); }
}
body:has(main.afl) { margin: 0; }
#aflParte { display: flex; flex-direction: column; gap: 16px; }
.afl-titulo { margin: 12px 0 0 !important; }
/* Vitrine só com produtos à venda; aviso de link de produto que deixou de vender */
.afl-sub-titulo { margin: 8px 0 0 !important; font-size: 13.5px; }
.afl-aviso-txt { color: #8a5300; }
.afl-cfg-barra > * { min-width: 0; }
@media (max-width: 520px) { .afl-previa > span:nth-child(-n+5):not(:first-child) { display: none; } }
.afl-sub-sel { padding: 14px 20px 0; max-width: 340px; }
