/* ---------- tokens (tema escuro: azul-marinho e dourado; contraste do texto >= 4,5:1) ---------- */
:root {
  color-scheme: dark;
  --bg: #0b1020; --surface: #121a2e; --surface-2: #18223b; --surface-3: #212c48;
  --ink: #e9edf6; --ink2: #b9c2d8; --muted: #8b95b0; --line: #26314f; --line-2: #34416a;
  --brand: #0e1528; --gold: #c8a24a; --gold-ink: #e7c873; --gold-soft: #2b2617; --acc: #3fb6c4;
  --s1: #4c8ef0; --s2: #ef7a45; --s3: #2fbf8a; --s4: #e6b123; --s5: #b07cf0; --s6: #e85d8a; --s-neutro: #77809a;
  --kr: #4c8ef0; --cn: #e55353; --eu: #3fb6c4; --na: #8f7cf0; --br: #2fbf8a; --lat: #e6b123; --tw: #ef7a45; --vn: #e85d8a;
  --jp: #f09ab8; --tr: #c97a3a; --oce: #6fb3e0; --cis: #9aa3b8; --sea: #7cc46a;
  --mapa-vazio: #1a2340; --mapa-borda: #0b1020;
  --raio: 12px; --sombra: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .25);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin-top: 1.4em; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 .8em; }
button, select, input { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
/* topo */
.topo { position: sticky; top: 0; z-index: 30; background: linear-gradient(180deg, #0e1528, #0b1020); border-bottom: 1px solid var(--line); }
.topo-in { max-width: 1240px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 12px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.08rem; white-space: nowrap; }
.marca svg { width: 24px; height: 24px; fill: var(--gold); }
.marca b { color: var(--gold-ink); font-weight: 800; }
.busca { position: relative; flex: 1; max-width: 420px; margin-left: auto; }
.busca input { width: 100%; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.busca input:focus { outline: 2px solid var(--gold); }
.busca-res { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--sombra); max-height: 60vh; overflow: auto; z-index: 40; }
.busca-res a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; text-decoration: none; border-bottom: 1px solid var(--line); }
.busca-res a:hover { background: var(--surface-2); }
.busca-res small { display: block; color: var(--muted); }
.abas { max-width: 1240px; margin: 0 auto; padding: 0 12px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.abas a { padding: 9px 12px 11px; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: .92rem; color: var(--ink2); border-bottom: 3px solid transparent; }
.abas a.ativa { color: var(--ink); border-bottom-color: var(--gold); }
main { max-width: 1240px; margin: 0 auto; padding: 18px 16px 40px; min-height: 70vh; }
.rodape { max-width: 1240px; margin: 0 auto; padding: 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }
.carregando, .vazio { padding: 40px 0; text-align: center; color: var(--muted); }
/* blocos */
.cartao { background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); box-shadow: var(--sombra); padding: 16px; }
.grade { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.kick { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; color: var(--gold-ink); }
.lead { color: var(--ink2); max-width: 820px; }
.nota-graf { color: var(--muted); font-size: .84rem; margin: 8px 0 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 12px; }
.kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kpi span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.kpi b { display: block; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.kpi small { color: var(--ink2); font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-2); background: var(--surface-2); padding: 5px 11px; border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--ink2); text-decoration: none; }
.chip.on, .chip:hover { border-color: var(--gold); color: var(--ink); }
.subabas { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 12px; }
.subabas button { border: 1px solid var(--line-2); background: var(--surface); border-radius: 999px; padding: 6px 13px; font-weight: 600; cursor: pointer; color: var(--ink2); }
.subabas button.on { background: var(--gold); color: #1a1408; border-color: var(--gold); }
.voltar { display: inline-block; margin-bottom: 10px; color: var(--muted); text-decoration: none; }
.cab-reg { display: flex; align-items: center; gap: 12px; }
.ponto { display: inline-block; width: 12px; height: 12px; border-radius: 4px; vertical-align: middle; }
/* linhas de ranking */
.rk { display: grid; gap: 6px; }
.linha { display: grid; grid-template-columns: 40px 38px minmax(0, 1fr) 210px 64px; align-items: center; gap: 10px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-decoration: none; }
.linha:hover { border-color: var(--line-2); background: var(--surface-2); }
.linha .pos { font-weight: 800; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.linha.top1 .pos { color: var(--gold-ink); }
/* ícone de time/jogador: logo ou, sem logo, a sigla centralizada sobre a cor da região */
.ico { width: 34px; height: 34px; flex: none; border-radius: 9px; display: inline-grid; place-items: center; font-weight: 800; font-size: .72rem; line-height: 1; color: #fff; overflow: hidden; }
.ico img { width: 100%; height: 100%; object-fit: contain; }
.ico.grande { width: 64px; height: 64px; border-radius: 16px; font-size: 1.1rem; }
.ico.camp { position: relative; background: var(--surface-3); color: var(--muted); }
.ico.camp img { position: absolute; inset: 0; object-fit: cover; }
.ico.mini { width: 22px; height: 22px; border-radius: 6px; font-size: .55rem; vertical-align: middle; }
.camp-nome { display: flex; gap: 10px; align-items: center; }
.camp-link { display: inline-flex; gap: 6px; align-items: center; }
.linha .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: .72rem; color: #fff; overflow: hidden; }
.linha .ico img { width: 100%; height: 100%; object-fit: contain; }
.linha .nm { min-width: 0; }
.linha .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linha .nm small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linha .crit { display: grid; gap: 4px; font-size: .72rem; color: var(--muted); }
.linha .crit div { display: grid; grid-template-columns: 74px 24px 1fr; gap: 6px; align-items: center; }
.linha .crit b { color: var(--ink2); text-align: right; font-variant-numeric: tabular-nums; }
.bar { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; }
.linha .nota { font-weight: 800; font-size: 1.1rem; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .linha { grid-template-columns: 30px 32px minmax(0, 1fr) 54px; gap: 8px; padding: 8px; }
  .linha .crit { display: none; }
}
/* mapa */
.mapa-wrap { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--raio); overflow: hidden; }
.mapa-wrap svg { display: block; width: 100%; height: auto; }
.mapa-wrap path.pais { stroke: var(--mapa-borda); stroke-width: .5; cursor: pointer; transition: opacity .15s; }
.mapa-wrap path.pais.sem { cursor: default; }
.mapa-wrap path.pais:hover { opacity: .8; }
.legenda { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 10px 14px; font-size: .82rem; color: var(--ink2); border-top: 1px solid var(--line); }
.legenda span { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.dica { position: fixed; z-index: 60; pointer-events: none; background: #050811; border: 1px solid var(--line-2); color: var(--ink); padding: 8px 10px; border-radius: 8px; font-size: .85rem; max-width: 280px; box-shadow: var(--sombra); }
.dica b { display: block; }
/* tabelas */
.tabwrap { overflow-x: auto; }
.tab { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tab th, .tab td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.tab th { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.tab td.n, .tab th.n { text-align: right; font-variant-numeric: tabular-nums; }
.tab td.melhor { color: var(--gold-ink); font-weight: 800; background: var(--gold-soft); }
.graf { position: relative; height: 280px; }
.trofeus { display: grid; gap: 6px; }
.trofeu { display: flex; gap: 10px; align-items: baseline; padding: 6px 10px; background: var(--surface-2); border-radius: 8px; font-size: .9rem; }
.trofeu b { color: var(--gold-ink); font-variant-numeric: tabular-nums; min-width: 42px; }
.trofeu small { color: var(--muted); margin-left: auto; }
.aviso { background: var(--surface-2); border-left: 3px solid var(--gold); border-radius: 8px; padding: 10px 12px; color: var(--ink2); font-size: .9rem; margin: 10px 0; }
.cmp-sel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cmp-chip { display: inline-flex; gap: 6px; align-items: center; padding: 5px 6px 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); font-weight: 600; }
.cmp-chip button { border: 0; background: var(--surface-3); border-radius: 999px; width: 24px; height: 24px; cursor: pointer; }
.cmp-add { position: relative; min-width: 220px; }
.cmp-add input { width: 100%; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }

/* janela da imagem para compartilhar */
.img-modal { position: fixed; inset: 0; z-index: 80; background: rgba(3, 6, 14, .78); display: grid; place-items: center; padding: 16px; }
.img-caixa { background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; width: min(560px, 100%); max-height: 92vh; display: flex; flex-direction: column; }
.img-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.img-prev { overflow: auto; display: grid; gap: 10px; border-radius: 10px; background: var(--bg); }
.img-prev img { display: block; width: 100%; height: auto; }

/* ---------- fixar para comparar ---------- */
.pin { flex: none; width: 30px; height: 30px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); border-radius: 8px; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0; }
.pin::before { content: "☆"; }
.pin:hover { border-color: var(--gold); color: var(--gold-ink); }
.pin[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.pin[aria-pressed="true"]::before { content: "★"; }
.linha.p { grid-template-columns: 40px 38px minmax(0, 1fr) 210px 64px 34px; }
.linha.sem-crit { grid-template-columns: 40px 38px minmax(0, 1fr) 64px; cursor: default; }
.linha.sem-crit:hover { background: var(--surface); border-color: var(--line); }
@media (max-width: 640px) { .linha.p { grid-template-columns: 30px 32px minmax(0, 1fr) 54px 34px; } .linha.sem-crit { grid-template-columns: 30px 32px minmax(0, 1fr) 54px; } }
#fixados { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: rgba(14, 21, 40, .97); border-top: 1px solid var(--line-2); box-shadow: 0 -6px 18px rgba(0, 0, 0, .35); }
#fixados[hidden] { display: none; }
.fx-in { max-width: 1240px; margin: 0 auto; padding: 8px 16px; display: grid; gap: 6px; }
.fx-grupo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fx-grupo > b { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); min-width: 74px; }
.fx-go { margin-left: auto; border: 0; background: var(--gold); color: #1a1408; font-weight: 800; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.fx-go:disabled { background: var(--surface-3); color: var(--muted); cursor: default; }
body.com-fixados main { padding-bottom: 130px; }
/* tags */
.linha .nm .tgs { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tg { display: inline-block; font-size: .68rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); border: 1px solid #4a3f1d; margin-right: 4px; }
/* clássicos */
.classicos { display: grid; gap: 8px; }
.classico { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.classico[open] { border-color: var(--line-2); }
.classico summary { list-style: none; cursor: pointer; padding: 10px 12px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 60px; gap: 10px; align-items: center; }
.classico summary::-webkit-details-marker { display: none; }
.classico .pos { font-weight: 800; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.classico .nota { font-weight: 800; font-size: 1.1rem; text-align: right; font-variant-numeric: tabular-nums; }
.classico .vs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 800; }
.classico .vs a { text-decoration: none; }
.classico .vs a:hover { text-decoration: underline; }
.classico .vs i { font-style: normal; color: var(--muted); font-weight: 600; }
.classico .sub { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.duelo-barra { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin-top: 6px; background: var(--surface-3); }
.duelo-barra b { display: block; height: 100%; }
.classico .corpo { padding: 0 12px 12px; }
.classico .corpo h4 { margin: 4px 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cl-time { display: inline-flex; align-items: center; gap: 6px; }
.cl-time .ico { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-size: .55rem; font-weight: 800; color: #fff; overflow: hidden; }
.cl-time .ico img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- gráficos das fichas e da comparação (js/fichas.js) ---------- */
.graf.radar { height: 340px; }
.graf.alto { height: 340px; }
.kpis.mini { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin: 4px 0 10px; }
.kpis.mini .kpi { padding: 6px 10px; }
.kpis.mini .kpi b { font-size: 1.1rem; }
.cartao h3 { display: flex; align-items: center; gap: 8px; }
.baixar { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink2); cursor: pointer; font-size: .9rem; }
.baixar:hover { background: var(--surface-3); color: var(--ink); }
.ico.foto img { object-fit: cover; object-position: top; }
.frente { margin: 6px 0 14px; }
.frente-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 1rem; }
.frente-cab span { color: var(--muted); font-size: .8rem; text-align: center; }
.frente-faixa { display: flex; gap: 2px; margin-top: 6px; }
.frente-faixa i { flex: 1; height: 18px; border-radius: 3px; min-width: 3px; }
.frente-anos { display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.duelo-barra.grande { height: 14px; border-radius: 7px; }
@media (max-width: 640px) { .graf.radar { height: 300px; } .baixar { width: 26px; height: 26px; } }

/* ---------- fixar com dois cliques ou segurando (js/app.js) ---------- */
.linha, tr[data-c] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
@keyframes fx-flash { 0% { box-shadow: 0 0 0 2px var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; } }
.fx-flash { animation: fx-flash .9s ease-out; }
.fx-aviso { position: fixed; left: 50%; transform: translateX(-50%); bottom: 96px; z-index: 60; background: var(--surface-3); color: var(--ink);
  border: 1px solid var(--gold); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: .9rem; box-shadow: var(--sombra); max-width: calc(100vw - 24px); text-align: center; }

/* ---------- cores do time (js/cores.js): ficha vestida, comparação em listras ---------- */
.vestido .topo, .listrado .topo { color: var(--topo-ink); border-bottom: 0; }
.vestido .topo { background: var(--brand); }
.listrado .topo { background: var(--listras); }
.vestido .topo::after, .listrado .topo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 5px; }
.vestido .topo::after { background: linear-gradient(90deg, var(--clube-a) 0 50%, var(--clube-b) 50% 100%); }
.listrado .topo::after { background: var(--listras); filter: brightness(.75); }
.vestido .topo .marca, .listrado .topo .marca, .vestido .topo .abas a, .listrado .topo .abas a { color: var(--topo-ink); }
.vestido .topo .marca b, .listrado .topo .marca b { color: inherit; }
.vestido .topo .marca svg, .listrado .topo .marca svg { fill: currentColor; }
.vestido .topo .abas a, .listrado .topo .abas a { opacity: .82; }
.vestido .topo .abas a.ativa, .listrado .topo .abas a.ativa { opacity: 1; border-bottom-color: currentColor; }
.listrado .topo .marca, .listrado .topo .abas a { text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.vestido .kick { color: var(--brand-2); }
.cab-ficha { position: relative; overflow: hidden; }
.vestido .cab-ficha { border-top: 6px solid var(--brand); background: linear-gradient(135deg, var(--brand-soft), var(--surface) 62%); }
.vestido .cab-ficha h1 { color: var(--brand-2); }
.graf.corrida { height: 460px; }
@media (max-width: 640px) { .graf.corrida { height: 420px; } }

/* ---------- ficha do clássico ---------- */
.cl-placar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 10px 0 12px; }
.cl-lado { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; text-align: center; }
.cl-lado b { font-size: clamp(1.05rem, 3vw, 1.5rem); color: var(--cor); }
.cl-lado small { color: var(--muted); }
.cl-meio { text-align: center; }
.cl-num { display: block; font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.cl-meio small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; }
details.cartao summary { cursor: pointer; }

/* ---------- pontos de títulos e tags (dica ao clicar) ---------- */
[data-info] { cursor: pointer; }
.trofeu.com-info:hover, .tg[data-info]:hover { border-color: var(--gold); }
.info-pts { color: var(--gold-ink); font-weight: 800; }
.dica .info-nota { color: var(--gold-ink); font-weight: 700; }
.dica hr { border: 0; border-top: 1px solid var(--line-2); margin: 8px 0; }
.dica small { color: var(--muted); }
.ligas2 { margin-bottom: 12px; flex-wrap: wrap; }

/* ---------- ligas ---------- */
.cartao.liga { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.cartao.liga:hover { border-color: var(--line-2); background: var(--surface-2); }
.liga-cab b { display: block; font-size: 1.1rem; }
.liga-cab small { color: var(--muted); }
.liga-top { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.liga-top li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.liga-top li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liga-top li em { font-style: normal; font-weight: 800; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.liga-mais { color: var(--ink2); font-size: .85rem; margin-top: auto; }
.liga-grupo { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.liga-grupo .ponto { width: 12px; height: 12px; }
.atalhos-liga { margin: 4px 0 12px; align-items: center; flex-wrap: wrap; }
.atalhos-liga span { color: var(--muted); font-size: .85rem; font-weight: 700; margin-right: 2px; }

/* ---------- por que é o Nº, elencos, carreira, seleção e meta ---------- */
.porque { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); border-left: 4px solid var(--gold); color: var(--ink2); line-height: 1.5; }
.porque b, .porque a { color: var(--ink); }
.elenco-anos { flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.elenco-anos .chip.ouro { border-color: var(--gold); }
.el-cab { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-bottom: 12px; }
.el-cab b { font-size: 1.15rem; } .el-cab span { color: var(--muted); font-size: .9rem; }
.el-grade, .sel-campo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .el-grade, .sel-campo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.el-j, .sel-j { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px 8px; border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--ink); }
.sel-j { border: 1px solid var(--line-2); } .sel-j:hover { border-color: var(--gold); }
.el-j a { color: var(--ink); } .el-j small, .sel-j small { color: var(--muted); font-size: .8rem; }
.el-pos { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink, var(--gold)); }
.sel-j em { font-style: normal; font-weight: 800; color: var(--gold-ink, var(--gold)); font-size: 1.1rem; }
.carreira-mapa { display: flex; gap: 3px; margin: 8px 0 6px; min-height: 86px; overflow-x: auto; }
.cm-b { min-width: 46px; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); font-size: .78rem; }
.cm-b .cm-faixa { height: 44px; border-radius: 8px; background: var(--c, var(--line)); display: flex; align-items: center; padding-left: 6px; }
.cm-b.vazio .cm-faixa { background: repeating-linear-gradient(45deg, var(--line) 0 6px, transparent 6px 12px); }
.cm-b .cm-faixa .ico { width: 30px; height: 30px; background: #fff; }
.cm-b b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cm-b small { color: var(--muted); }
.meta-anos { flex-wrap: wrap; gap: 4px; }
.meta-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.meta-lista li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.meta-lista em { font-style: normal; color: var(--ink2); font-variant-numeric: tabular-nums; font-size: .9rem; }

/* ---------- recordes ---------- */
.grade-rec { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; margin-bottom: 18px; }
.rec-bloco .rk { display: grid; gap: 5px; margin-top: 10px; }
.rec-bloco .nota-graf { margin: 2px 0 0; }
.linha.rec-l { grid-template-columns: 30px 34px minmax(0, 1fr) auto; padding: 6px 10px; }
.linha.rec-l .nm small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ---------- hoje na história ---------- */
.hj { margin: 18px 0 6px; }
.hj h2 small { color: var(--muted); font-weight: 600; font-size: .9rem; margin-left: 6px; }
.hj-nav { float: right; display: inline-flex; gap: 6px; }
.hj-card { text-decoration: none; display: flex; flex-direction: column; gap: 8px; color: inherit; }
.hj-card.t-mundial { border-color: var(--gold-ink); background: linear-gradient(160deg, color-mix(in srgb, var(--gold-ink) 14%, var(--surface)), var(--surface)); }
.hj-topo { display: flex; justify-content: space-between; align-items: baseline; }
.hj-tipo { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }
.hj-topo small { color: var(--muted); }
.hj-time { display: flex; align-items: center; gap: 10px; }
.hj-time b { display: block; font-size: 1.05rem; }
.hj-time small { color: var(--muted); font-size: .8rem; }
.hj-jog { margin: 0; font-size: .8rem; color: var(--muted); }

/* ---------- calendário do meta ---------- */
.mc-wrap { overflow-x: auto; }
.mc { display: grid; gap: 2px; align-items: center; min-width: 560px; }
.mc-ano { text-align: center; font-size: .74rem; font-weight: 700; color: var(--muted); text-decoration: none; padding-bottom: 4px; }
.mc-ano.on { color: var(--gold-ink); }
.mc-nome { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden; }
.mc-nome span { overflow: hidden; text-overflow: ellipsis; }
.mc-nome .ico.mini { width: 20px; height: 20px; flex: none; }
.mc-c { height: 22px; border-radius: 4px; border: 1px solid var(--line); font-size: .62rem; font-weight: 800; color: #1a1205; display: grid; place-items: center; cursor: default; }
.mc-c.atual { outline: 1px solid var(--gold-ink); }

/* ---------- carreiras em faixas ---------- */
.carr { margin-top: 16px; }
.cf-wrap { overflow-x: auto; }
.cf { display: grid; gap: 3px 1px; align-items: center; min-width: 520px; grid-auto-rows: 30px; }
.cf > * { margin: 0; }
.cf-ano { text-align: center; font-size: .7rem; color: var(--muted); font-weight: 700; }
.cf-nome { display: flex; flex-direction: column; text-decoration: none; color: inherit; line-height: 1.1; overflow: hidden; }
.cf-nome b { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-nome small { font-size: .68rem; color: var(--muted); white-space: nowrap; }
.cf-c { height: 14px; opacity: .38; }
.cf-c.aqui { height: 20px; opacity: 1; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.cf-c.vazio { background: none; opacity: 1; border-bottom: 1px dotted var(--line); height: 1px; }

/* ---------- carta do jogador, espelho e mapa de calor (svg.nv) ---------- */
.nv-card { margin-top: 16px; }
.nv-card .gi-alvo { overflow-x: auto; }
svg.nv { display: block; width: 100%; height: auto; min-width: 620px; font-family: inherit; }
svg.nv text { fill: var(--ink); } svg.nv .nv-t { fill: var(--ink); } svg.nv .nv-mu { fill: var(--muted); } svg.nv .nv-gd { fill: var(--gold-ink); }
svg.nv .b { font-weight: 700; } svg.nv .n { font-variant-numeric: tabular-nums; }
svg.nv .nv-gr { stroke: var(--line); } svg.nv .nv-sf { fill: var(--surface-2); stroke: var(--line); } svg.nv .nv-vazio { fill: var(--surface-2); }
svg.nv .nv-ouro { fill: var(--gold-ink); } svg.nv .nv-fundo { fill: var(--bg); } svg.nv .nv-fundo-stop { stop-color: var(--bg); }
svg.nv .nv-borda-ouro { stroke: var(--gold-ink); }

/* ---------- gerar imagem ---------- */
.gi-bt { display: inline-flex; align-items: center; gap: 7px; border: 0; border-radius: 999px; padding: 7px 14px; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer;
  background: var(--brand-2, var(--acento, var(--gold))); color: var(--brand-2-ink, #fff); }
.gi-bt svg { width: 16px; height: 16px; }
.gi-bt:focus-visible { outline: 2px solid var(--gold, #e2b23c); outline-offset: 2px; }
.gi-modal { position: fixed; inset: 0; z-index: 130; background: rgba(0, 0, 0, .62); display: grid; place-items: center; padding: 14px; }
.gi-caixa { background: var(--surface, var(--painel)); color: var(--ink, var(--texto)); border-radius: 14px; width: min(980px, 100%); max-height: calc(100vh - 28px); overflow: auto; padding: 14px 16px 16px; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.gi-cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 1.05rem; }
.gi-x { border: 0; background: none; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.gi-corpo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(240px, 1fr); gap: 18px; }
@media (max-width: 760px) { .gi-corpo { grid-template-columns: 1fr; } }
.gi-prev { background: var(--surface-3, var(--painel2, #0003)); border-radius: 10px; padding: 10px; display: grid; place-items: center; min-height: 220px; }
.gi-prev img { display: block; max-width: 100%; max-height: 68vh; height: auto; border-radius: 6px; box-shadow: 0 2px 12px rgba(0,0,0,.3); }
.gi-car { color: var(--muted, var(--suave)); }
.gi-op { display: flex; flex-direction: column; gap: 14px; }
.gi-grupo > span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, var(--suave)); margin-bottom: 6px; }
.gi-fmt { display: flex; gap: 6px; flex-wrap: wrap; }
.gi-fmt button { border: 1px solid var(--line, var(--linha)); background: none; color: inherit; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: .88rem; cursor: pointer; }
.gi-fmt button small { color: var(--muted, var(--suave)); }
.gi-fmt button.on { border-color: var(--brand-2, var(--acento, var(--gold))); box-shadow: inset 0 0 0 1px var(--brand-2, var(--acento, var(--gold))); font-weight: 700; }
.gi-chk { display: flex; gap: 8px; align-items: center; margin: 4px 0; cursor: pointer; }
.gi-chk input { accent-color: var(--brand-2, var(--acento, var(--gold))); width: 16px; height: 16px; }
.gi-bts { display: flex; gap: 8px; flex-wrap: wrap; }
.gi-bts > * { border: 1px solid var(--line, var(--linha)); background: none; color: inherit; border-radius: 8px; padding: 9px 14px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.gi-bts .gi-pri { background: var(--brand-2, var(--acento, var(--gold))); border-color: transparent; color: var(--brand-2-ink, #fff); }
.gi-nota { font-size: .8rem; color: var(--muted, var(--suave)); margin: 0; }
/* ---------- tutorial em rolagem (página inicial) ---------- */
.tut { display: grid; grid-template-columns: minmax(280px, 38%) 1fr; gap: 28px; align-items: start; }
.tut-passos { grid-column: 1; grid-row: 1; }
.tut-palco { grid-column: 2; grid-row: 1; position: sticky; top: 92px; height: calc(100vh - 120px); min-height: 420px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 10%, var(--T-sup) 0%, var(--T-sup3) 100%); border: 1px solid var(--T-linha); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.tut-passo { min-height: 105vh; display: flex; align-items: center; }
.tut-passo:first-child { min-height: 90vh; align-items: flex-start; padding-top: 12vh; }
.tut-texto { padding: 22px 24px; border-radius: 18px; background: var(--T-sup); border: 1px solid var(--T-linha); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); max-width: 440px;
  opacity: .35; transform: translateY(16px) scale(.98); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.tut-passo.on .tut-texto { opacity: 1; transform: none; }
.tut-texto h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 4px 0 10px; text-wrap: balance; }
.tut-texto p { color: var(--T-tinta2); line-height: 1.55; }
.tut-passo:first-child h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.tut-desca { color: var(--T-mudo); animation: tut-pula 1.6s ease-in-out infinite; }
@keyframes tut-pula { 50% { transform: translateY(6px); } }
.tut-fim { min-height: 60vh; padding: 40px 0 80px; } .tut-fim h2 { font-size: 2rem; } .tut-fim .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tut-barra { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 4px; border-radius: 2px; background: var(--T-linha); }
.tut-barra i { display: block; height: 100%; width: 0; border-radius: 2px; background: var(--T-ouro); transition: width .15s linear; }
.tut-cena { position: absolute; inset: 0; padding: 22px 22px 34px; opacity: 0; transform: scale(.97); pointer-events: none;
  transition: opacity .55s ease, transform .7s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; }
.tut-cena.on { opacity: 1; transform: none; }
.ti-campo { position: relative; flex: 1; }
.ti-esc { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; will-change: left, top; }
.ti-esc span { opacity: var(--k, 0); font-size: .9rem; } .ti-esc span em { font-style: normal; color: var(--T-ouro); font-weight: 800; margin-left: 6px; }
.ti-titulo { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; opacity: 0; } .ti-titulo b { display: block; font-size: 1.4rem; } .ti-titulo small { color: var(--T-mudo); }
.tc-bandeja { display: flex; gap: 8px; align-items: center; margin: 12px 0; padding: 8px 12px; border-radius: 12px; background: var(--T-marca); color: #fff; font-weight: 700; flex-wrap: wrap; }
.tc-fix { display: inline-flex; gap: 6px; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--T-sup); color: var(--T-tinta); opacity: 0; }
.tc-toque { display: none; }
.tocado .tc-toque { display: block; position: absolute; right: 10px; top: 50%; margin-top: -13px; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--T-ouro); animation: tc-toque .5s ease-out infinite; }
@keyframes tc-toque { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.fixado { border-color: var(--T-ouro) !important; box-shadow: 0 0 0 2px var(--T-ouro); }
.tg-palco { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 6px; }
.tg-cartao { max-width: 100%; max-height: 100%; aspect-ratio: 1 / 1; height: 100%; border-radius: 14px; padding: 5%; background: var(--T-cartao); color: #f6efe2;
  display: flex; flex-direction: column; gap: 6%; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; overflow: hidden; }
.tg-marca { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; } .tg-tit { font-size: 1.15rem; }
.tg-esc { display: flex; gap: 6px; flex-wrap: wrap; } .tg-esc img, .tg-esc .ini { width: 34px !important; height: auto; border-radius: 5px; }
.tg-barras { display: flex; flex-direction: column; gap: 5px; flex: 1; justify-content: center; }
.tg-barras div { position: relative; height: 18px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.tg-barras i { position: absolute; inset: 0 auto 0 0; background: var(--T-ouro); } .tg-barras span { position: relative; font-size: .72rem; padding-left: 6px; font-weight: 700; color: #1a1426; white-space: nowrap; }
.tg-cartao.largo { display: grid; grid-template-columns: 1fr 1.2fr; grid-template-rows: auto auto 1fr; column-gap: 5%; } .tg-cartao.largo .tg-barras { grid-column: 2; grid-row: 1 / 4; }
.tg-fmt, .tg-acoes { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.tg-fmt span, .tg-acoes span { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--T-linha); background: var(--T-sup); font-size: .82rem; transition: all .3s ease; }
.tg-fmt span.on { background: var(--T-marca); color: #fff; border-color: var(--T-marca); } .tg-acoes span.on { background: var(--T-ouro); color: #1a1426; border-color: var(--T-ouro); }
@media (max-width: 860px) {
  .tut { grid-template-columns: 1fr; gap: 0; }
  .tut-palco { grid-column: 1; position: sticky; top: 64px; height: 52vh; min-height: 300px; z-index: 1; }
  .tut-passos { grid-column: 1; grid-row: 2; position: relative; z-index: 2; margin-top: -10vh; }
  .tut-passo, .tut-passo:first-child { min-height: 90vh; padding-top: 0; align-items: flex-end; }
  .tut-texto { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .tut-cena, .tut-texto, .tut-barra i { transition: none; } .tut-desca, .tc-toque { animation: none !important; } }
.tut { --T-sup: var(--surface); --T-sup3: var(--bg); --T-linha: var(--line); --T-tinta: var(--ink); --T-tinta2: var(--ink2); --T-mudo: var(--muted);
  --T-ouro: var(--gold); --T-marca: var(--acc); --T-cartao: linear-gradient(160deg, #1b2a4f, #0b1020); }
.ti-esc .ico { width: calc(36px + 16px * (1 - var(--k, 0))) !important; height: calc(36px + 16px * (1 - var(--k, 0))) !important; }
.tl-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; } .tl-cab b { font-size: 1.2rem; } .tl-cab small { color: var(--muted); }
.tl-leg { font-size: .8rem; color: var(--muted); display: flex; gap: 6px; align-items: center; } .tl-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.tl-lista { display: flex; flex-direction: column; gap: 7px; flex: 1; justify-content: center; }
.tl-l { display: grid; grid-template-columns: 130px 1fr 44px 150px; gap: 8px; align-items: center; opacity: 0; }
.tl-b { display: flex; height: 18px; border-radius: 5px; overflow: hidden; background: var(--surface-3); } .tl-b i { display: block; height: 100%; width: 0; }
.tl-l em, .tn-l em { font-style: normal; font-weight: 800; text-align: right; color: var(--gold-ink); }
.tl-lid { display: flex; gap: 6px; align-items: center; opacity: 0; } .tl-lid .ico { width: 24px !important; height: 24px !important; } .tl-lid small { color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-l { display: grid; grid-template-columns: 30px 30px 120px 1fr 48px; gap: 8px; align-items: center; opacity: 0; } .tn-pos { font-weight: 800; color: var(--muted); }
.tn-l .ico { width: 28px !important; height: 28px !important; } .tn-l b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; justify-content: center; }
.tag-ch { padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); border: 1px solid var(--gold); font-size: .78rem; font-weight: 700; opacity: 0; }
.tj-cab { display: flex; gap: 12px; align-items: center; } .tj-cab .ico { width: 56px !important; height: 56px !important; } .tj-cab b { font-size: 1.4rem; display: block; } .tj-cab small { color: var(--muted); }
.tj-kpis { margin-left: auto; display: flex; gap: 16px; text-align: center; } .tj-kpis b { font-size: 1.6rem; color: var(--gold-ink); display: block; line-height: 1; } .tj-kpis small { color: var(--muted); font-size: .75rem; }
.tj-barras { flex: 1; display: flex; gap: 4px; align-items: flex-end; margin-top: 14px; min-height: 0; }
.tj-c { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.tj-c i { display: block; width: 100%; height: 0; border-radius: 5px 5px 2px 2px; } .tj-c small { color: var(--muted); font-size: .72rem; }
.tj-nota { color: var(--muted); font-size: .8rem; text-align: center; margin: 6px 0 0; }
.tk-lista { display: flex; flex-direction: column; gap: 14px; flex: 1; justify-content: center; }
.tk-l { display: grid; grid-template-columns: 110px 1fr 110px; grid-template-rows: auto auto; gap: 4px 10px; align-items: center; opacity: 0; }
.tk-t { display: flex; gap: 6px; align-items: center; } .tk-t.d { justify-content: flex-end; } .tk-t .ico { width: 30px !important; height: 30px !important; }
.tk-b { display: flex; justify-content: space-between; height: 18px; border-radius: 5px; background: var(--surface-3); overflow: hidden; } .tk-b i { display: block; height: 100%; width: 0; }
.tk-n { grid-column: 1 / 4; text-align: center; color: var(--muted); font-size: .78rem; opacity: 0; }
.tm2-grade { display: grid; gap: 3px; align-items: center; flex: 1; align-content: center; }
.tm2-a { text-align: center; color: var(--muted); font-size: .72rem; } .tm2-n { display: flex; gap: 6px; align-items: center; font-size: .82rem; white-space: nowrap; overflow: hidden; }
.tm2-n .ico { width: 20px !important; height: 20px !important; font-size: 9px; }
.tm2-grade i { display: block; height: 20px; border-radius: 3px; background: color-mix(in srgb, var(--acc) calc(var(--v) * 100%), var(--surface-3)); opacity: 0; }
.tc-lista { display: flex; flex-direction: column; gap: 6px; }
.tc-l { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.tc-l .ico { width: 30px !important; height: 30px !important; } .tc-est { margin-left: auto; color: var(--gold); font-size: 1.2rem; margin-right: 34px; }
.tc-btn { margin-left: auto; padding: 3px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); } .tc-btn.on { background: var(--gold); color: #1a1426; }
.tc-fix .ico { width: 20px !important; height: 20px !important; }
.tc-duelo { opacity: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.tc-dec { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: center; gap: 8px; } .tc-dec b { text-align: center; } .tc-dec b small { display: block; color: var(--muted); font-weight: 500; }
.tc-dec i { display: block; height: 20px; border-radius: 4px; width: 0; } .tc-dec i.a { justify-self: end; }
.tg-esc .ico { width: 34px !important; height: 34px !important; }
@media (max-width: 860px) { .tl-l { grid-template-columns: 100px 1fr 40px; } .tl-lid { display: none; } .tn-l { grid-template-columns: 26px 26px 90px 1fr 40px; font-size: .85rem; }
  .tm2-grade { grid-template-columns: 96px repeat(14, 1fr) !important; } .tm2-n { font-size: .7rem; } .tk-l { grid-template-columns: 80px 1fr 80px; } }

/* ---------- tutorial: telas muito altas (o "modo desktop" do celular tem ~2.000 px de altura) e celular ---------- */
.tut-palco { height: min(calc(100vh - 130px), 620px); top: max(92px, calc(50vh - 290px)); }
.tut-passo { min-height: min(100vh, 720px); }
/* as listas das cenas preenchem o palco em vez de ficarem pequenas no meio */
.tr-lista, .tl-lista, .tj-lista, .tcp-lista, .tg2-lista, .tk-lista { justify-content: space-evenly; }
.tr-l, .tl-l, .tn-l, .tj-l, .tg2-l, .tcp-l { font-size: 1rem; } .tr-barra, .tl-b, .tcp-b, .tg2-b { height: 22px; }
.tut-passo:first-child { min-height: max(min(90vh, 760px), 64vh); padding-top: min(12vh, 90px); }   /* em telas muito altas, o 1º passo tem de passar da linha de leitura (55% da altura) */
@media (max-width: 860px) {
  /* o palco fica logo abaixo do cabeçalho (a altura dele vem do JS em --topo) e os textos passam embaixo, na parte de baixo da tela */
  .tut-palco { top: var(--topo, 64px); height: min(50vh, 420px); min-height: 280px; z-index: 3; }
  .tut-passos { margin-top: 12px; z-index: 1; }
  .tut-passo, .tut-passo:first-child { min-height: 62vh; align-items: center; padding-top: 0; }
  .tut-texto { padding: 16px 18px; } .tut-texto h2 { font-size: 1.35rem; } .tut-passo:first-child h2 { font-size: 1.7rem; }
  .tut-cena { padding: 14px 14px 26px; }
  .ti-esc .ico { width: calc(26px + 12px * (1 - var(--k, 0))) !important; height: calc(26px + 12px * (1 - var(--k, 0))) !important; }
  .ti-esc span { font-size: .72rem; max-width: 118px; overflow: hidden; text-overflow: ellipsis; } .ti-esc { gap: 6px; }
  .tut-fim { padding: 30px 0 60px; min-height: 0; }
  body.tutorial #fixados { display: none !important; }
  .tr-l, .tl-l, .tn-l, .tj-l, .tg2-l, .tcp-l { font-size: .8rem; } .tr-barra, .tl-b, .tcp-b, .tg2-b { height: 13px; }
  .tr-lista, .tl-lista, .tj-lista, .tcp-lista, .tg2-lista, .tk-lista { justify-content: center; gap: 4px; }
  .tr-cab b, .tl-cab b, .tj-cab b, .tcp-cab b, .tn-cab b { font-size: 1rem; } .tr-cab span, .tl-cab small { font-size: .7rem; }
  .tut-cena .esc.p, .tut-cena .ico { width: 20px; height: 20px; }
  .tn-tags { gap: 3px; margin-top: 4px; } .tag-ch { font-size: .62rem; padding: 1px 6px; } .tn-l { grid-template-columns: 22px 22px 80px 1fr 38px; }
  .tj-kpis b { font-size: 1.2rem; } .tk-l { gap: 2px 6px; } .tk-lista { gap: 8px; }
}
/* gráficos de liga, time e comparações (liga_graf.js) */
.lg-card { margin-bottom: 16px; }
.lg-g { overflow-x: auto; }
.lg-g svg.nv { min-width: 560px; }
.lg-lv-item + .lg-lv-item { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.lg-pos { margin: 4px 0 10px; }
.el-mm { margin-top: 10px; }
