:root {
  --bg: #061016;
  --bg-2: #0b171f;
  --card: rgba(18, 31, 40, .88);
  --card-2: rgba(8, 17, 24, .78);
  --border: rgba(148, 163, 184, .18);
  --border-strong: rgba(190, 242, 100, .26);
  --text: #eef7ff;
  --muted: #91a3b5;
  --muted-2: #66788c;
  --green: #a3e635;
  --green-2: #4ade80;
  --gold: #fbbf24;
  --blue: #60a5fa;
  --danger: #fb7185;
  --ok: #22c55e;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% -8%, rgba(163, 230, 53, .16), transparent 34%),
    radial-gradient(circle at 88% 6%, rgba(251, 191, 36, .09), transparent 31%),
    radial-gradient(circle at 50% 108%, rgba(96, 165, 250, .10), transparent 37%),
    linear-gradient(180deg, #09141d 0%, #061016 52%, #04090e 100%);
}
a { color: inherit; }
.container { width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding: 16px 0 34px; }
.hero {
  border: 1px solid rgba(163, 230, 53, .16);
  border-radius: 22px;
  overflow: hidden;
  background: #07111a;
  box-shadow: var(--shadow);
}
.hero img { display: block; width: 100%; height: clamp(132px, 18vw, 230px); max-height: 230px; object-fit: cover; object-position: center 50%; }
.nav {
  position: sticky;
  top: 8px;
  z-index: 10;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 9px;
  margin: 12px 0 12px;
  border: 1px solid rgba(148,163,184,.13);
  border-radius: 16px;
  background: rgba(3, 8, 12, .72);
  backdrop-filter: blur(14px);
  scrollbar-width: thin;
  scrollbar-color: rgba(163, 230, 53, .35) transparent;
}
.nav a {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.nav a.active { border-color: rgba(163,230,53,.56); background: rgba(163,230,53,.18); color: #efffc3; }
.nav a.disabled { opacity: .52; cursor: not-allowed; }
.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 54px rgba(0,0,0,.22);
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(163,230,53,.08), transparent 32%, rgba(96,165,250,.05));
}
.panel-inner { position: relative; padding: 15px; }
.kicker { color: var(--green); text-transform: uppercase; letter-spacing: .10em; font-size: 11px; font-weight: 900; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1 { font-size: clamp(25px, 4vw, 44px); letter-spacing: -.04em; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
p { margin: 7px 0 0; color: var(--muted); }
.meta-line { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.meta-pill, .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.badge.live-soft { color: #d9ff76; border-color: rgba(163,230,53,.28); background: rgba(163,230,53,.10); }
.cards-resumo {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.summary-card {
  position: relative;
  min-height: 118px;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(18,31,40,.88), rgba(5,13,20,.82));
  padding: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.20);
}
.summary-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -52px;
  bottom: -55px;
  background: rgba(163,230,53,.12);
}
.summary-label { position: relative; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.summary-value { position: relative; margin-top: 10px; font-size: 22px; line-height: 1.05; font-weight: 950; color: #efffc3; letter-spacing: -.04em; }
.summary-sub { position: relative; margin-top: 6px; color: var(--muted); font-size: 12px; }
.filter-row { margin: 14px 0; }
.filter-head, .section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-head.compact { margin-bottom: 8px; }
.btn {
  border: 1px solid rgba(163,230,53,.30);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(190,242,100,.20), rgba(74,222,128,.10));
  color: #f3ffd0;
  padding: 9px 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}
.btn.secondary { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--text);
  padding: 7px 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}
.chip.active { color: #07120d; background: var(--green); border-color: var(--green); }
.chip img { width: 20px; height: 20px; object-fit: contain; }
.grid-main { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.grid-main.wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); }
.stat-list { display: grid; gap: 8px; }
.empty-state {
  border: 1px dashed rgba(148,163,184,.22);
  border-radius: 15px;
  padding: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  line-height: 1.45;
}
.player-row, .club-row, .mini-row {
  display: grid;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(148,163,184,.12);
  background: rgba(5, 13, 20, .48);
  border-radius: 15px;
  padding: 10px;
}
.player-row { grid-template-columns: 42px 1fr auto; }
.player-rank, .club-rank {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(163,230,53,.12);
  border: 1px solid rgba(163,230,53,.22);
  color: #efffc3;
  font-weight: 950;
}
.player-main, .club-main { min-width: 0; }
.player-name, .club-name { font-weight: 950; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-sub, .club-sub { margin-top: 3px; color: var(--muted); font-size: 12px; display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.player-value, .club-score { text-align: right; font-size: 24px; font-weight: 950; color: var(--green); }
.player-value small, .club-score small { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.escudo-inline { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; }
.club-row { grid-template-columns: 42px 1fr auto; margin-bottom: 8px; }
.forma { display: inline-flex; gap: 3px; align-items: center; }
.form-dot {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  color: #04100a;
}
.form-dot.v { background: var(--ok); }
.form-dot.e { background: var(--gold); }
.form-dot.d { background: var(--danger); color: #fff; }
.justificativa { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.table-mini { width: 100%; border-collapse: collapse; }
.table-mini th, .table-mini td { padding: 9px 7px; border-bottom: 1px solid rgba(148,163,184,.10); font-size: 12px; text-align: left; }
.table-mini th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.table-mini td.num { text-align: right; font-weight: 900; color: #efffc3; }
.clubes-detalhes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.club-detail {
  border: 1px solid rgba(148,163,184,.12);
  background: rgba(5, 13, 20, .48);
  border-radius: 16px;
  padding: 12px;
}
.club-detail-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.club-detail-head img { width: 36px; height: 36px; object-fit: contain; }
.club-detail-title { font-weight: 950; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.metric { border: 1px solid rgba(148,163,184,.10); border-radius: 12px; padding: 8px; background: rgba(255,255,255,.025); }
.metric strong { display: block; font-size: 16px; color: #efffc3; }
.metric span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.avisos-panel { margin-top: 14px; }
.aviso { color: #fde68a; background: rgba(146,64,14,.12); border: 1px solid rgba(251,191,36,.20); border-radius: 12px; padding: 9px 10px; margin-top: 8px; font-size: 13px; }
.site-footer {
  margin-top: 26px;
  padding: 18px 16px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 18px;
  background: rgba(5,10,15,.54);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.site-footer div + div { margin-top: 6px; }
@media (max-width: 920px) {
  .cards-resumo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-main, .grid-main.wide-left { grid-template-columns: 1fr; }
  .clubes-detalhes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 16px, 1180px); padding-top: 8px; }
  .hero { border-radius: 16px; }
  .hero img { height: 112px; max-height: 112px; min-height: 0; object-position: 18% 50%; }
  .nav { top: 4px; padding: 7px; border-radius: 14px; }
  .nav a { padding: 8px 11px; font-size: 12px; }
  .panel-inner { padding: 12px; }
  .cards-resumo { grid-template-columns: 1fr 1fr; gap: 8px; }
  .summary-card { min-height: 92px; padding: 11px; border-radius: 15px; }
  .summary-value { font-size: 18px; }
  .summary-sub { font-size: 11px; }
  .player-row { grid-template-columns: 36px 1fr auto; padding: 8px; }
  .club-row { grid-template-columns: 36px 1fr; }
  .club-score { grid-column: 2; text-align: left; font-size: 18px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .table-mini th:nth-child(4), .table-mini td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
.escudo-fallback {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(163,230,53,.12);
  border: 1px solid rgba(163,230,53,.22);
  color: #efffc3;
  font-size: 10px;
  font-weight: 950;
}
.club-detail-head .escudo-fallback { width: 36px; height: 36px; border-radius: 13px; }


/* HOTFIX 20260707 — cabeçalho realmente compacto.
   Regra final e específica para impedir que o banner volte a esticar. */
.container > header.hero,
body > .container > header.hero {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  margin: 0 0 8px !important;
}

.container > header.hero img,
body > .container > header.hero img {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 980px) {
  .container > header.hero,
  body > .container > header.hero {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    border-radius: 12px !important;
  }
  .container > header.hero img,
  body > .container > header.hero img {
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
  }
}

@media (max-width: 640px) {
  .container > header.hero,
  body > .container > header.hero {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 11px !important;
    margin-bottom: 7px !important;
  }
  .container > header.hero img,
  body > .container > header.hero img {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    object-position: center center !important;
  }
}


/* HOTFIX 20260707 — cabeçalho ultra compacto.
   Deve ficar no fim do CSS: vale para header.hero, section.hero e div.hero-header. */
.hero-header,
.container > .hero,
.container > header.hero,
.container > section.hero,
body > .container > header.hero,
body > .container > section.hero {
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.hero-header img,
.container > .hero > img,
.container > header.hero > img,
.container > section.hero > img,
body > .container > header.hero > img,
body > .container > section.hero > img {
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  min-height: 54px !important;
  max-height: 54px !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 980px) {
  .hero-header,
  .container > .hero,
  .container > header.hero,
  .container > section.hero,
  body > .container > header.hero,
  body > .container > section.hero {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    border-radius: 12px !important;
    margin-bottom: 7px !important;
  }
  .hero-header img,
  .container > .hero > img,
  .container > header.hero > img,
  .container > section.hero > img,
  body > .container > header.hero > img,
  body > .container > section.hero > img {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  }
}

@media (max-width: 640px) {
  .hero-header,
  .container > .hero,
  .container > header.hero,
  .container > section.hero,
  body > .container > header.hero,
  body > .container > section.hero {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 11px !important;
    margin-bottom: 6px !important;
  }
  .hero-header img,
  .container > .hero > img,
  .container > header.hero > img,
  .container > section.hero > img,
  body > .container > header.hero > img,
  body > .container > section.hero > img {
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    object-position: center center !important;
  }
}


/* HOTFIX 20260707 — jogadores sem fotos.
   As imagens de atletas foram desativadas para evitar fotos erradas, quebradas ou gigantes. */
.player-row.rich {
  grid-template-columns: 42px 44px minmax(0, 1fr) auto !important;
  align-items: center !important;
  min-height: 72px !important;
}
.player-photo,
.player-modal-photo {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  object-fit: contain !important;
}
.player-photo-fallback {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 14px !important;
  border: 1px solid rgba(163, 230, 53, .28) !important;
  background: rgba(163, 230, 53, .10) !important;
  color: #d9ff76 !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  letter-spacing: .02em !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.player-modal-no-photo {
  text-align: center !important;
}
.player-modal-fallback {
  width: 82px !important;
  height: 82px !important;
  margin: 0 auto 12px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 24px !important;
  border: 1px solid rgba(163, 230, 53, .32) !important;
  background: rgba(163, 230, 53, .11) !important;
  color: #d9ff76 !important;
  font-size: 28px !important;
  font-weight: 950 !important;
}
@media (max-width: 640px) {
  .player-row.rich {
    grid-template-columns: 34px 38px minmax(0, 1fr) auto !important;
    min-height: 64px !important;
  }
  .player-photo-fallback {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }
  .player-value {
    font-size: 20px !important;
  }
}


/* HOTFIX FINAL 20260707: cabeçalho realmente compacto e sem expansão.
   Mantém o banner largo, mas com altura controlada em todas as páginas. */
.hero-header,
header.hero,
section.hero,
.container > .hero,
.container > header.hero,
.container > section.hero,
body > .container > header.hero,
body > .container > section.hero {
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  border-radius: 13px !important;
  overflow: hidden !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
.hero-header img,
header.hero > img,
section.hero > img,
.container > .hero > img,
.container > header.hero > img,
.container > section.hero > img,
body > .container > header.hero > img,
body > .container > section.hero > img {
  display: block !important;
  width: 100% !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  object-fit: cover !important;
  object-position: center center !important;
}
@media (max-width: 980px) {
  .hero-header, header.hero, section.hero, .container > .hero, .container > header.hero, .container > section.hero {
    height: 50px !important; min-height: 50px !important; max-height: 50px !important; border-radius: 12px !important; margin-bottom: 8px !important;
  }
  .hero-header img, header.hero > img, section.hero > img, .container > .hero > img, .container > header.hero > img, .container > section.hero > img {
    height: 50px !important; min-height: 50px !important; max-height: 50px !important; object-position: center center !important;
  }
}
@media (max-width: 640px) {
  .hero-header, header.hero, section.hero, .container > .hero, .container > header.hero, .container > section.hero {
    height: 44px !important; min-height: 44px !important; max-height: 44px !important; border-radius: 11px !important; margin-bottom: 7px !important;
  }
  .hero-header img, header.hero > img, section.hero > img, .container > .hero > img, .container > header.hero > img, .container > section.hero > img {
    height: 44px !important; min-height: 44px !important; max-height: 44px !important; object-position: center center !important;
  }
}


/* HOTFIX 20260707 — cabeçalho web compacto + mobile preservado.
   Desktop estava ficando alto porque a PNG nova era exibida na proporção natural.
   No web, a imagem ocupa o card inteiro em altura controlada; no celular permanece inteira como estava. */
@media (min-width: 641px) {
  .hero-header,
  header.hero,
  section.hero,
  .container > .hero,
  .container > header.hero,
  .container > section.hero,
  body > .container > header.hero,
  body > .container > section.hero {
    display: block !important;
    width: 100% !important;
    height: clamp(112px, 9.4vw, 138px) !important;
    min-height: 112px !important;
    max-height: 138px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    line-height: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: #06101d !important;
    margin: 0 0 12px !important;
  }
  .hero-header img,
  header.hero > img,
  section.hero > img,
  .container > .hero > img,
  .container > header.hero > img,
  .container > section.hero > img,
  body > .container > header.hero > img,
  body > .container > section.hero > img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: fill !important;
    object-position: center center !important;
    transform: none !important;
  }
}
@media (max-width: 640px) {
  .hero-header,
  header.hero,
  section.hero,
  .container > .hero,
  .container > header.hero,
  .container > section.hero,
  body > .container > header.hero,
  body > .container > section.hero {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 0 !important;
    line-height: 0 !important;
    margin: 0 0 8px !important;
  }
  .hero-header img,
  header.hero > img,
  section.hero > img,
  .container > .hero > img,
  .container > header.hero > img,
  .container > section.hero > img,
  body > .container > header.hero > img,
  body > .container > section.hero > img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
  }
}

/* EXECUÇÃO 5 — Ranking vivo de desempenho do Brasileirão */
.performance-list { display: grid; gap: 10px; }
.performance-row {
  grid-template-columns: 42px minmax(0, 1fr) 86px;
  align-items: stretch;
}
.performance-main { display: grid; gap: 7px; }
.performance-title { display: inline-flex; align-items: center; gap: 8px; }
.performance-sub { row-gap: 5px; }
.performance-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}
.perf-metric {
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 12px;
  background: rgba(255,255,255,.026);
  padding: 7px;
  min-width: 0;
}
.perf-metric span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 950;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.perf-metric strong {
  display: block;
  margin-top: 4px;
  color: #efffc3;
  font-size: 13px;
  font-weight: 950;
}
.perf-bar {
  height: 5px;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148,163,184,.16);
}
.perf-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
}
.performance-raw {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
}
.performance-raw span {
  border: 1px solid rgba(148,163,184,.10);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(255,255,255,.025);
}
.performance-score { min-width: 78px; align-self: center; }
@media (max-width: 920px) {
  .performance-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .performance-row { grid-template-columns: 36px minmax(0, 1fr); }
  .performance-score { grid-column: 2; justify-self: start; text-align: left; font-size: 20px; }
  .performance-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ======================================================================
   EXECUÇÃO 2 — Estatísticas do Brasileirão (13/07/2026)
   Interface em abas inspirada no módulo da Copa, sem alterar o menu.
   ====================================================================== */
.stats-intro { margin-bottom: 14px; }
.stats-intro p { max-width: 900px; line-height: 1.55; }
.meta-ok { color: #d9ff76; border-color: rgba(163,230,53,.32); background: rgba(163,230,53,.09); }
.meta-wait { color: #fde68a; border-color: rgba(251,191,36,.30); background: rgba(251,191,36,.08); }

.stats-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.stats-summary-card {
  min-width: 0;
  min-height: 126px;
  padding: 16px;
  border: 1px solid rgba(148,163,184,.17);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20,44,42,.88), rgba(5,15,22,.93));
  box-shadow: 0 16px 42px rgba(0,0,0,.22);
}
.stats-summary-label { display: flex; align-items: center; gap: 9px; color: var(--green); font-size: 11px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.summary-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(148,163,184,.13); font-size: 21px; }
.summary-shield { width: 38px; height: 38px; object-fit: contain; }
.stats-summary-primary { margin-top: 12px; color: #fff; font-size: clamp(19px, 2.1vw, 28px); line-height: 1.03; font-weight: 950; overflow-wrap: anywhere; }
.stats-summary-secondary { margin-top: 7px; color: var(--muted); font-size: 13px; line-height: 1.35; }

.stats-tabs-panel { margin: 14px 0; }
.stats-tabs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
.stats-tab {
  min-height: 70px;
  padding: 12px;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 14px;
  background: rgba(22,47,85,.72);
  color: #dbe7f3;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.stats-tab:hover { transform: translateY(-1px); border-color: rgba(251,191,36,.44); }
.stats-tab.active { color: #17202b; border-color: #fcd34d; background: linear-gradient(180deg, #ffd452, #f8c43e); box-shadow: inset 0 0 0 2px rgba(255,255,255,.20), 0 8px 22px rgba(251,191,36,.15); }
.stats-tab-wide { grid-column: 1 / -1; }
.stats-view[hidden] { display: none !important; }
.stats-view { animation: brStatsFade .18s ease; }
@keyframes brStatsFade { from { opacity: .35; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.stats-empty { display: grid; gap: 5px; padding: 18px; border: 1px dashed rgba(148,163,184,.24); border-radius: 15px; color: var(--text); background: rgba(255,255,255,.025); }
.stats-empty span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.stats-player-list { display: grid; gap: 10px; }
.stats-player-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 74px;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.13);
  border-radius: 18px;
  background: rgba(5,15,22,.68);
}
.stats-rank { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: #edffc0; border: 1px solid rgba(163,230,53,.28); background: rgba(163,230,53,.10); font-size: 19px; font-weight: 950; }
.stats-player-main { min-width: 0; overflow: visible; }
.stats-player-name { color: #fff; font-size: 20px; line-height: 1.15; font-weight: 950; word-break: normal; overflow-wrap: anywhere; white-space: normal; }
.stats-player-club { display: flex; align-items: center; gap: 7px; min-width: 0; margin-top: 4px; color: var(--muted); }
.stats-player-club span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-player-meta { margin-top: 6px; color: var(--muted-2); font-size: 12px; line-height: 1.35; }
.stats-player-value { min-width: 74px; text-align: right; }
.stats-player-value strong { display: block; color: var(--green); font-size: 29px; line-height: 1; }
.stats-player-value span { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.stats-mini-shield { width: 20px; height: 20px; object-fit: contain; }
.stats-shield-fallback { display: inline-grid; place-items: center; border-radius: 9px; color: #dfff8c; background: rgba(163,230,53,.12); border: 1px solid rgba(163,230,53,.22); font-size: 9px; font-weight: 950; }
.stats-shield-fallback.stats-mini-shield { width: 20px; height: 20px; }
.stats-expand-btn { display: block; width: 100%; margin-top: 12px; padding: 13px 15px; border: 1px solid rgba(251,191,36,.36); border-radius: 14px; color: #ffd452; background: rgba(251,191,36,.055); font: inherit; font-weight: 950; cursor: pointer; }
.stats-expand-btn:hover { background: rgba(251,191,36,.10); }

.stats-game-filter { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); gap: 12px; margin-bottom: 14px; }
.stats-filter-control, .stats-filter-current { border: 1px solid rgba(148,163,184,.14); border-radius: 16px; background: rgba(5,15,22,.52); padding: 12px; }
.stats-filter-control label { display: block; margin-bottom: 7px; color: var(--green); font-size: 11px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.stats-filter-control select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(148,163,184,.18); border-radius: 12px; background: #102238; color: #fff; font: inherit; font-weight: 800; }
.stats-filter-current { display: flex; align-items: center; gap: 11px; }
.stats-filter-current > div { min-width: 0; flex: 1; }
.stats-filter-current strong, .stats-filter-current span { display: block; }
.stats-filter-current strong { color: #fff; }
.stats-filter-current span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.stats-filter-current button { border: 0; border-radius: 10px; padding: 8px 10px; color: #ffd452; background: rgba(251,191,36,.10); font-weight: 900; cursor: pointer; }
.stats-filter-shield { width: 40px; height: 40px; object-fit: contain; }
.stats-filter-all { display: grid !important; place-items: center; flex: 0 0 auto !important; width: 40px; height: 40px; margin: 0 !important; border-radius: 12px; color: #dfff8c !important; background: rgba(163,230,53,.11); border: 1px solid rgba(163,230,53,.22); font-weight: 950; }
.stats-games-list { display: grid; gap: 10px; }
.stats-game-card { border: 1px solid rgba(148,163,184,.14); border-radius: 17px; background: rgba(4,14,21,.62); overflow: hidden; }
.stats-game-card > summary { display: grid; grid-template-columns: 45px minmax(0, 1fr) 24px; align-items: center; gap: 10px; padding: 13px; cursor: pointer; list-style: none; }
.stats-game-card > summary::-webkit-details-marker { display: none; }
.stats-game-card[open] > summary { border-bottom: 1px solid rgba(148,163,184,.13); background: rgba(163,230,53,.035); }
.stats-game-round { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(251,191,36,.10); color: #ffd452; border: 1px solid rgba(251,191,36,.25); font-weight: 950; }
.stats-game-summary-main { min-width: 0; }
.stats-game-date { margin-bottom: 7px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.stats-game-teams { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 8px; }
.stats-game-teams > span { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 900; }
.stats-game-teams > span:last-of-type { justify-content: flex-end; text-align: right; }
.stats-game-teams b { color: #fff; font-size: 18px; white-space: nowrap; }
.stats-game-shield { width: 24px; height: 24px; object-fit: contain; }
.stats-game-quick { margin-top: 7px; color: var(--muted-2); font-size: 11px; }
.stats-game-chevron { color: #ffd452; font-size: 20px; transition: transform .15s ease; }
.stats-game-card[open] .stats-game-chevron, .stats-club-goals-card[open] .stats-game-chevron { transform: rotate(180deg); }
.stats-game-body { padding: 14px; }
.stats-game-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.stats-game-info-grid > div { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(148,163,184,.10); }
.stats-game-info-grid span, .stats-game-info-grid strong { display: block; }
.stats-game-info-grid span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.stats-game-info-grid strong { margin-top: 4px; overflow-wrap: anywhere; }
.stats-match-events { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-bottom: 12px; }
.stats-match-events section { padding: 11px; border-radius: 13px; background: rgba(255,255,255,.025); border: 1px solid rgba(148,163,184,.10); }
.stats-match-events h4 { margin: 0 0 8px; color: #ffd452; }
.stats-match-events ul { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; }
.stats-match-events li { display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 8px; }
.stats-match-events li span { grid-row: 1 / span 2; color: var(--muted); font-size: 11px; }
.stats-match-events li small { color: var(--muted-2); }
.stats-match-stat-list { display: grid; gap: 6px; }
.stats-match-stat-row { display: grid; grid-template-columns: minmax(55px,.5fr) minmax(120px,1fr) minmax(55px,.5fr); align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; background: rgba(255,255,255,.025); }
.stats-match-stat-row strong:first-child { text-align: left; }
.stats-match-stat-row strong:last-child { text-align: right; }
.stats-match-stat-row span { color: var(--muted); text-align: center; font-size: 12px; }
.stats-source-note { margin: 11px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.4; }

.stats-club-goals-list { display: grid; gap: 9px; }
.stats-club-goals-card { border: 1px solid rgba(148,163,184,.13); border-radius: 17px; background: rgba(5,15,22,.62); overflow: hidden; }
.stats-club-goals-card > summary { display: grid; grid-template-columns: 46px 46px minmax(0,1fr) auto 22px; align-items: center; gap: 10px; padding: 12px; cursor: pointer; list-style: none; }
.stats-club-goals-card > summary::-webkit-details-marker { display: none; }
.stats-club-shield { width: 42px; height: 42px; object-fit: contain; }
.stats-club-goals-main { min-width: 0; }
.stats-club-goals-main strong, .stats-club-goals-main span { display: block; }
.stats-club-goals-main strong { color: #fff; font-size: 17px; }
.stats-club-goals-main span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.stats-club-goals-value { min-width: 66px; text-align: right; }
.stats-club-goals-value strong, .stats-club-goals-value span { display: block; }
.stats-club-goals-value strong { color: var(--green); font-size: 26px; }
.stats-club-goals-value span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.stats-club-markers { padding: 0 13px 13px; border-top: 1px solid rgba(148,163,184,.10); }
.stats-club-markers h4 { margin: 13px 0 9px; color: #ffd452; }
.stats-marker-list { display: grid; gap: 5px; }
.stats-marker-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.025); }
.stats-marker-other { color: var(--muted); font-style: italic; }
.stats-club-balance { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: var(--muted); font-size: 12px; }

.stats-champ-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.stats-record-grid { display: grid; gap: 8px; }
.stats-record-card { display: grid; gap: 5px; width: 100%; padding: 12px; border: 1px solid rgba(148,163,184,.12); border-radius: 13px; color: var(--text); background: rgba(5,15,22,.56); text-align: left; font: inherit; cursor: pointer; }
.stats-record-card:hover { border-color: rgba(251,191,36,.35); }
.stats-record-card span { color: var(--green); font-size: 10px; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.stats-record-card strong { color: #fff; }
.stats-record-card small { color: var(--muted); }
.stats-sequence-list { display: grid; gap: 6px; }
.stats-sequence-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(110px,.7fr) auto; align-items: center; gap: 10px; padding: 10px; border-radius: 11px; background: rgba(255,255,255,.025); }
.stats-sequence-row span { color: var(--muted); font-size: 12px; }
.stats-sequence-row strong { color: #fff; }
.stats-sequence-row b { color: var(--green); font-size: 18px; }
.stats-attendance-panel { margin-top: 14px; }
.stats-attendance-summary { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.stats-attendance-summary > div { padding: 11px; border-radius: 13px; background: rgba(255,255,255,.025); border: 1px solid rgba(148,163,184,.10); }
.stats-attendance-summary span, .stats-attendance-summary strong { display: block; }
.stats-attendance-summary span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.stats-attendance-summary strong { margin-top: 5px; color: #fff; font-size: 20px; }
.stats-attendance-list { display: grid; gap: 6px; }
.stats-attendance-row { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 11px; background: rgba(5,15,22,.58); color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.stats-attendance-row > span { color: var(--muted); text-align: center; }
.stats-attendance-row div { min-width: 0; }
.stats-attendance-row strong, .stats-attendance-row small { display: block; }
.stats-attendance-row small { margin-top: 3px; color: var(--muted); }
.stats-attendance-row > b { color: var(--green); font-size: 18px; }

.stats-performance-list { display: grid; min-width: 0; gap: 11px; }
.stats-performance-card { min-width: 0; max-width: 100%; padding: 14px; border: 1px solid rgba(148,163,184,.13); border-radius: 17px; overflow: hidden; background: rgba(5,15,22,.62); }
.stats-performance-head { display: grid; grid-template-columns: 46px 48px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.stats-performance-shield { width: 44px; height: 44px; object-fit: contain; }
.stats-performance-head > div strong, .stats-performance-head > div span { display: block; }
.stats-performance-head > div strong { color: #fff; font-size: 18px; }
.stats-performance-head > div span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.stats-performance-head > b { color: var(--green); font-size: 26px; text-align: right; }
.stats-performance-head > b small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.stats-performance-bars { display: grid; gap: 7px; margin-top: 12px; }
.stats-performance-metric { display: grid; grid-template-columns: 74px minmax(0,1fr) 42px; align-items: center; gap: 8px; }
.stats-performance-metric span { color: var(--muted); font-size: 12px; }
.stats-performance-metric > div { height: 8px; border-radius: 999px; background: rgba(96,165,250,.13); overflow: hidden; }
.stats-performance-metric i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #a3e635); }
.stats-performance-metric strong { text-align: right; }
.stats-performance-card p { font-size: 12px; line-height: 1.45; }
.ranking-history-details {
  min-width: 0;
  max-width: 100%;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148,163,184,.12);
}
.ranking-history-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 8px;
  border-radius: 9px;
  color: #d9ff76;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
  transition: color .18s ease, background .18s ease;
}
.ranking-history-details > summary::-webkit-details-marker { display: none; }
.ranking-history-details > summary:hover { color: #efffc4; background: rgba(163,230,53,.07); }
.ranking-history-details > summary:focus-visible { outline: 2px solid rgba(163,230,53,.72); outline-offset: 2px; }
.ranking-history-details > summary i {
  color: #a3e635;
  font-style: normal;
  line-height: 1;
}
.ranking-history-details > summary i::before { content: "↓"; }
.ranking-history-details[open] > summary i::before { content: "↑"; }
.ranking-history-label.is-open { display: none; }
.ranking-history-details[open] .ranking-history-label.is-closed { display: none; }
.ranking-history-details[open] .ranking-history-label.is-open { display: inline; }
.ranking-history-content { min-width: 0; max-width: 100%; margin-top: 8px; }
.ranking-history-content .club-performance-history { min-width: 0; max-width: 100%; background: rgba(4,18,25,.52); }
.methodology-box { margin-top: 13px; border: 1px solid rgba(251,191,36,.25); border-radius: 14px; background: rgba(251,191,36,.04); }
.methodology-box summary { padding: 12px; color: #ffd452; font-weight: 950; cursor: pointer; }
.methodology-box p { padding: 0 12px 12px; margin: 0; }
.stats-note { margin: 16px 2px 0; color: var(--muted); font-size: 12px; line-height: 1.5; }

@media (min-width: 850px) {
  .stats-tabs { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .stats-tab-wide { grid-column: auto; }
}
@media (max-width: 920px) {
  .stats-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats-champ-grid { grid-template-columns: 1fr; }
  .stats-attendance-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .stats-summary-grid { gap: 8px; }
  .stats-summary-card { min-height: 112px; padding: 12px; }
  .stats-summary-primary { font-size: 18px; }
  .stats-summary-secondary { font-size: 11px; }
  .stats-tabs { gap: 8px; padding: 10px; }
  .stats-tab { min-height: 84px; padding: 10px 6px; font-size: 15px; }
  .stats-player-row { grid-template-columns: 36px minmax(0,1fr) 52px; gap: 8px; padding: 11px 9px; }
  .stats-rank { width: 34px; height: 34px; font-size: 14px; border-radius: 10px; }
  .stats-player-name { font-size: 15px; }
  .stats-player-meta { font-size: 10px; }
  .stats-player-value { min-width: 52px; }
  .stats-player-value strong { font-size: 24px; }
  .stats-game-filter { grid-template-columns: 1fr; }
  .stats-game-card > summary { grid-template-columns: 39px minmax(0,1fr) 20px; padding: 10px 8px; }
  .stats-game-round { width: 37px; height: 37px; font-size: 12px; }
  .stats-game-teams { gap: 4px; }
  .stats-game-teams > span { font-size: 12px; }
  .stats-game-teams b { font-size: 15px; }
  .stats-game-shield { width: 20px; height: 20px; }
  .stats-game-info-grid { grid-template-columns: 1fr; }
  .stats-match-events { grid-template-columns: 1fr; }
  .stats-match-stat-row { grid-template-columns: 48px minmax(100px,1fr) 48px; gap: 5px; padding: 8px 6px; }
  .stats-club-goals-card > summary { grid-template-columns: 40px 38px minmax(0,1fr) 50px 16px; gap: 6px; padding: 10px 7px; }
  .stats-club-shield { width: 34px; height: 34px; }
  .stats-club-goals-main strong { font-size: 14px; }
  .stats-club-goals-main span { font-size: 10px; }
  .stats-club-goals-value strong { font-size: 21px; }
  .stats-sequence-row { grid-template-columns: minmax(0,1fr) auto 30px; gap: 6px; }
  .stats-sequence-row strong { font-size: 12px; }
  .stats-attendance-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stats-performance-head { grid-template-columns: 40px 40px minmax(0,1fr) 54px; gap: 7px; }
  .stats-performance-shield { width: 36px; height: 36px; }
  .stats-performance-head > div strong { font-size: 15px; }
  .stats-performance-head > div span { font-size: 10px; }
  .stats-performance-head > b { font-size: 21px; }
  .stats-performance-metric { grid-template-columns: 62px minmax(0,1fr) 36px; gap: 6px; }
}

/* CORREÇÃO 20260713 — navegação por clube e listas completas de marcadores. */
.stats-club-shield-link,
.stats-performance-club-link,
.stats-performance-name-link,
.stats-club-goals-main > a {
  color: inherit;
  text-decoration: none;
}
.stats-club-shield-link,
.stats-performance-club-link { display: inline-grid; place-items: center; border-radius: 12px; }
.stats-club-shield-link:focus-visible,
.stats-performance-club-link:focus-visible,
.stats-performance-name-link:focus-visible,
.stats-club-goals-main > a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.stats-performance-club-link:hover .stats-performance-shield,
.stats-club-shield-link:hover .stats-club-shield { transform: scale(1.06); }
.stats-performance-shield,
.stats-club-shield { transition: transform .16s ease; }
.stats-performance-name-link:hover strong,
.stats-club-goals-main > a:hover strong { color: var(--green); }
.stats-marker-expand { margin-top: 9px; }

/* Metodologia detalhada do Ranking de Desempenho */
.ranking-method-link { display:inline-flex; align-items:center; margin:2px 0 15px; color:#d9ff76; font-size:13px; font-weight:950; text-decoration:none; }
.ranking-method-link:hover, .ranking-method-link:focus-visible { text-decoration:underline; outline:none; }
.ranking-methodology { scroll-margin-top:110px; margin-top:24px; padding:clamp(18px,3vw,28px); border:1px solid rgba(251,191,36,.30); border-radius:22px; background:radial-gradient(circle at 100% 0, rgba(251,191,36,.11), transparent 32%), linear-gradient(145deg, rgba(17,35,42,.96), rgba(5,14,21,.98)); }
.ranking-methodology h3 { margin:5px 0 10px; color:#fff4aa; font-size:clamp(22px,3vw,30px); line-height:1.15; }
.ranking-method-intro { max-width:930px; color:#d9e3ec; font-size:15px; line-height:1.65; }
.ranking-method-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin-top:18px; }
.ranking-method-grid article { min-width:0; padding:15px; border:1px solid rgba(148,163,184,.14); border-radius:16px; background:rgba(255,255,255,.035); }
.ranking-method-grid b { display:block; color:#a3e635; font-size:24px; line-height:1; }
.ranking-method-grid h4 { margin:8px 0 6px; color:#fff; font-size:15px; }
.ranking-method-grid p, .ranking-method-notes p { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.ranking-method-notes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin-top:14px; }
.ranking-method-notes p { padding:12px; border-left:3px solid rgba(163,230,53,.55); border-radius:0 12px 12px 0; background:rgba(163,230,53,.045); }
.ranking-method-notes strong { color:#eaffb5; }
.ranking-method-disclaimer { margin:15px 0 0; color:#91a3b5; font-size:11px; }
.ranking-back-top { display:inline-flex; margin-top:16px; padding:10px 14px; border:1px solid rgba(163,230,53,.28); border-radius:999px; background:rgba(163,230,53,.08); color:#eaffb5; font-size:12px; font-weight:950; text-decoration:none; }
.ranking-back-top:hover, .ranking-back-top:focus-visible { background:rgba(163,230,53,.14); outline:none; }
@media (max-width:900px) { .ranking-method-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ranking-method-grid article:last-child { grid-column:1/-1; } }
@media (max-width:560px) { .ranking-methodology { padding:16px; } .ranking-method-grid, .ranking-method-notes { grid-template-columns:1fr; } .ranking-method-grid article:last-child { grid-column:auto; } }

/* ======================================================================
   AF-PREVISÃO — Execução 3: interface integrada e metodologia pública.
   ====================================================================== */
.probability-panel { overflow: visible; }
.probability-intro {
  max-width: 980px;
  margin: -2px 0 8px;
  color: #c7d4df;
  font-size: 14px;
  line-height: 1.62;
}
.probability-notice {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 9px;
  align-items: start;
  max-width: 980px;
  margin: 12px 0 4px;
  padding: 11px 12px;
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 14px;
  background: rgba(96,165,250,.065);
}
.probability-notice > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #dbeafe; background: rgba(96,165,250,.14); font-weight: 950; }
.probability-notice p { margin: 0; color: #b9c9d7; font-size: 12px; line-height: 1.5; }
.probability-notice strong { color: #fff; }
.probability-notice b { color: #d9ff76; }
.probability-method-link {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 16px;
  color: #d9ff76;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}
.probability-method-link:hover,
.probability-method-link:focus-visible { text-decoration: underline; outline: none; }

.probability-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 9px;
  margin-bottom: 14px;
}
.probability-status-grid > div {
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 14px;
  background: rgba(5,15,22,.56);
}
.probability-status-grid span,
.probability-status-grid strong { display: block; }
.probability-status-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.probability-status-grid strong {
  margin-top: 5px;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.probability-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.probability-highlight {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(148,163,184,.16);
  border-radius: 18px;
  color: inherit;
  background: linear-gradient(145deg, rgba(17,37,46,.92), rgba(5,14,21,.97));
  box-shadow: 0 14px 38px rgba(0,0,0,.19);
  text-decoration: none;
  overflow: hidden;
  transition: transform .16s ease, border-color .16s ease;
}
.probability-highlight::after {
  content: "";
  position: absolute;
  width: 116px;
  height: 116px;
  right: -44px;
  bottom: -52px;
  border-radius: 50%;
  background: var(--probability-tone, rgba(163,230,53,.12));
  pointer-events: none;
}
.probability-highlight:hover,
.probability-highlight:focus-visible { transform: translateY(-1px); border-color: rgba(251,191,36,.40); outline: none; }
.probability-highlight-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.probability-highlight-main { display: flex; align-items: center; gap: 9px; min-width: 0; margin-top: 14px; }
.probability-highlight-main strong { min-width: 0; color: #fff; font-size: 17px; line-height: 1.15; overflow-wrap: anywhere; }
.probability-highlight-shield { flex: 0 0 auto; width: 42px; height: 42px; object-fit: contain; }
.probability-highlight > b { position: relative; z-index: 1; align-self: end; margin-top: 13px; color: #efffc3; font-size: clamp(27px, 3.2vw, 40px); line-height: 1; letter-spacing: -.04em; }
.probability-tone-title { --probability-tone: rgba(251,191,36,.18); }
.probability-tone-g4 { --probability-tone: rgba(74,222,128,.15); }
.probability-tone-g6 { --probability-tone: rgba(96,165,250,.15); }
.probability-tone-libertadores { --probability-tone: rgba(163,230,53,.15); }
.probability-tone-sulamericana { --probability-tone: rgba(56,189,248,.15); }
.probability-tone-relegation { --probability-tone: rgba(251,113,133,.17); }

.probability-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 0;
  padding: 13px;
  border: 1px solid rgba(148,163,184,.14);
  border-radius: 16px;
  background: rgba(5,15,22,.55);
}
.probability-controls > div:first-child span,
.probability-controls > div:first-child strong { display: block; }
.probability-controls > div:first-child span { color: var(--green); font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.probability-controls > div:first-child strong { margin-top: 3px; color: #fff; }
.probability-sort-buttons { display: flex; gap: 7px; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.probability-sort-buttons button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 999px;
  color: #dce8f2;
  background: rgba(255,255,255,.035);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.probability-sort-buttons button.active { color: #101820; border-color: #fcd34d; background: linear-gradient(180deg,#ffd452,#f8c43e); }
.probability-sort-buttons button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.probability-ranking-section,
.probability-evolution-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(148,163,184,.13); }
.probability-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.probability-section-head h3 { margin-top: 3px; color: #fff; font-size: 20px; }
.probability-section-head > span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; text-align: right; }
.probability-club-list { display: grid; gap: 10px; }
.probability-club-card { padding: 13px; border: 1px solid rgba(148,163,184,.14); border-radius: 18px; background: linear-gradient(145deg, rgba(6,17,25,.78), rgba(9,24,31,.74)); }
.probability-club-head { display: grid; grid-template-columns: 42px 48px minmax(0,1fr) minmax(140px,auto); align-items: center; gap: 10px; }
.probability-order { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(163,230,53,.27); border-radius: 12px; color: #efffc3; background: rgba(163,230,53,.09); font-size: 16px; font-weight: 950; }
.probability-club-link { display: grid; place-items: center; border-radius: 12px; text-decoration: none; }
.probability-club-link:focus-visible,
.probability-club-title a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.probability-club-shield { width: 44px; height: 44px; object-fit: contain; }
.probability-club-title { min-width: 0; }
.probability-club-title a { color: #fff; text-decoration: none; }
.probability-club-title a:hover strong { color: var(--green); }
.probability-club-title strong,
.probability-club-title span { display: block; }
.probability-club-title strong { font-size: 18px; overflow-wrap: anywhere; }
.probability-club-title span { margin-top: 4px; color: var(--muted); font-size: 11px; }
.probability-points { min-width: 140px; text-align: right; }
.probability-points strong,
.probability-points span,
.probability-points small { display: block; }
.probability-points strong { color: #d9ff76; font-size: 25px; line-height: 1; }
.probability-points span { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.probability-points small { margin-top: 4px; color: #aebdca; font-size: 10px; }
.probability-metric-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 7px; margin-top: 11px; }
.probability-metric { min-width: 0; padding: 9px; border: 1px solid rgba(148,163,184,.10); border-radius: 12px; background: rgba(255,255,255,.022); }
.probability-metric span,
.probability-metric strong { display: block; }
.probability-metric span { min-height: 20px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.probability-metric strong { margin-top: 5px; color: #fff; font-size: 17px; }
.probability-residual-mark { margin-left: 4px; color: #d9ff76; font-style: normal; font-size: 10px; }
.probability-metric > div { height: 5px; margin-top: 7px; border-radius: 999px; background: rgba(96,165,250,.12); overflow: hidden; }
.probability-metric i { display: block; height: 100%; min-width: 0; border-radius: inherit; background: linear-gradient(90deg,#fbbf24,#a3e635); }
.probability-tone-sulamericana i { background: linear-gradient(90deg,#60a5fa,#38bdf8); }
.probability-tone-relegation i { background: linear-gradient(90deg,#fb7185,#ef4444); }

.probability-route-details,
.probability-position-details { margin-top: 10px; border-top: 1px solid rgba(148,163,184,.10); }
.probability-route-details > summary,
.probability-position-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px 0;
  color: #d9ff76;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}
.probability-route-details > summary span,
.probability-position-details > summary span { color: var(--muted); font-weight: 700; }
.probability-route-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 10px; }
.probability-route-columns > section { min-width: 0; padding: 11px; border: 1px solid rgba(148,163,184,.12); border-radius: 13px; background: rgba(255,255,255,.022); }
.probability-route-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; margin-bottom: 8px; }
.probability-route-head span { color: #fff; font-size: 12px; font-weight: 950; }
.probability-route-head strong { color: #d9ff76; font-size: 16px; }
.probability-route-list { display: grid; gap: 6px; }
.probability-route-row { display: grid; grid-template-columns: minmax(112px,.9fr) minmax(60px,1fr) 50px; align-items: center; gap: 7px; min-width: 0; }
.probability-route-row span { color: #aebdca; font-size: 10px; line-height: 1.25; }
.probability-route-row strong { color: #e7f1fa; font-size: 10px; text-align: right; }
.probability-route-row > div { height: 4px; border-radius: 999px; background: rgba(96,165,250,.11); overflow: hidden; }
.probability-route-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#a3e635,#fbbf24); }
.probability-route-sulamericana i { background: linear-gradient(90deg,#60a5fa,#38bdf8); }
.probability-route-cup i { background: linear-gradient(90deg,#fbbf24,#fb923c); }
.probability-route-columns section > p,
.probability-route-note { margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.probability-cup-subroutes { margin-top: 8px; padding-top: 7px; border-top: 1px dashed rgba(148,163,184,.13); }
.probability-cup-subroutes > summary { color: #ffd976; font-size: 10px; font-weight: 900; cursor: pointer; }
.probability-cup-subroutes > div { display: grid; gap: 5px; margin-top: 7px; }
.probability-route-note { padding-left: 10px; border-left: 3px solid rgba(163,230,53,.42); }

.probability-position-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 6px; margin-top: 10px; }
.probability-position-cell { display: grid; grid-template-columns: 25px minmax(0,1fr) 47px; align-items: center; gap: 5px; min-width: 0; padding: 6px 7px; border: 1px solid transparent; border-radius: 9px; background: rgba(255,255,255,.025); }
.probability-position-cell span,
.probability-position-cell strong { font-size: 9px; }
.probability-position-cell span { color: var(--muted); }
.probability-position-cell strong { color: #dbe7f2; text-align: right; }
.probability-position-cell > div { height: 4px; border-radius: 999px; background: rgba(96,165,250,.11); overflow: hidden; }
.probability-position-cell i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#60a5fa,#a3e635); }
.probability-position-zone-title { border-color: rgba(251,191,36,.18); }
.probability-position-zone-libertadores { border-color: rgba(163,230,53,.12); }
.probability-position-zone-sulamericana { border-color: rgba(56,189,248,.10); }
.probability-position-zone-relegation { border-color: rgba(251,113,133,.13); }

.probability-evolution-empty { padding: 15px; border: 1px dashed rgba(148,163,184,.20); border-radius: 14px; background: rgba(255,255,255,.022); }
.probability-evolution-empty strong { color: #fff; }
.probability-evolution-empty p { font-size: 12px; line-height: 1.5; }
.probability-evolution-controls { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 10px; }
.probability-evolution-controls label { display: grid; gap: 5px; }
.probability-evolution-controls span { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.probability-evolution-controls select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(148,163,184,.18); border-radius: 11px; color: #fff; background: #0b1820; font: inherit; font-size: 12px; font-weight: 800; }
.probability-evolution-caption { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.probability-evolution-caption strong { color: #fff; }
.probability-evolution-caption span { color: var(--muted); font-size: 10px; }
.probability-evolution-list { display: grid; gap: 6px; }
.probability-evolution-row { display: grid; grid-template-columns: minmax(130px,.7fr) minmax(100px,1fr) 58px; align-items: center; gap: 10px; padding: 10px; border-radius: 11px; background: rgba(255,255,255,.025); }
.probability-evolution-row time { color: var(--muted); font-size: 11px; }
.probability-evolution-row > div { height: 6px; border-radius: 999px; background: rgba(96,165,250,.11); overflow: hidden; }
.probability-evolution-row i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#60a5fa,#a3e635); }
.probability-evolution-row strong { color: var(--green); text-align: right; }

.probability-methodology {
  scroll-margin-top: 110px;
  margin-top: 28px;
  padding: clamp(18px,3vw,30px);
  border: 1px solid rgba(251,191,36,.31);
  border-radius: 23px;
  background:
    radial-gradient(circle at 100% 0, rgba(251,191,36,.12), transparent 30%),
    radial-gradient(circle at 0 100%, rgba(96,165,250,.08), transparent 30%),
    linear-gradient(145deg, rgba(17,35,42,.98), rgba(5,14,21,.99));
}
.probability-methodology h3 { margin: 5px 0 10px; color: #fff4aa; font-size: clamp(24px,3.2vw,34px); line-height: 1.12; }
.probability-method-lead { max-width: 980px; color: #d9e3ec; font-size: 15px; line-height: 1.7; }
.probability-plain-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-top: 17px; }
.probability-plain-grid article { min-width: 0; padding: 14px; border: 1px solid rgba(148,163,184,.14); border-radius: 15px; background: rgba(255,255,255,.028); }
.probability-plain-grid article > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #0d1720; background: linear-gradient(180deg,#d9ff76,#a3e635); font-size: 12px; font-weight: 950; }
.probability-plain-grid h4 { margin: 10px 0 5px; color: #fff; font-size: 14px; }
.probability-plain-grid p { margin: 0; color: #aebdca; font-size: 11px; line-height: 1.5; }
.probability-audit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.probability-audit-grid article { min-width: 0; padding: 12px; border: 1px solid rgba(148,163,184,.13); border-radius: 14px; background: rgba(5,15,22,.54); }
.probability-audit-grid span,
.probability-audit-grid strong,
.probability-audit-grid small { display: block; }
.probability-audit-grid span { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.probability-audit-grid strong { margin-top: 5px; color: #d9ff76; font-size: 17px; overflow-wrap: anywhere; }
.probability-audit-grid small { margin-top: 4px; color: var(--muted-2); font-size: 9px; line-height: 1.35; }
.probability-reading-guide { margin-top: 14px; padding: 16px; border-left: 4px solid #fbbf24; border-radius: 0 16px 16px 0; background: rgba(251,191,36,.055); }
.probability-reading-guide h4 { margin: 0 0 10px; color: #fff4aa; }
.probability-reading-guide > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.probability-reading-guide p { margin: 0; color: #b7c5d1; font-size: 12px; line-height: 1.5; }
.probability-reading-guide strong { color: #fff; }
.probability-technical-details { margin-top: 15px; border: 1px solid rgba(96,165,250,.20); border-radius: 17px; background: rgba(5,15,22,.48); overflow: hidden; }
.probability-technical-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; color: #fff; cursor: pointer; list-style: none; }
.probability-technical-details > summary::-webkit-details-marker { display: none; }
.probability-technical-details > summary span b,
.probability-technical-details > summary span small { display: block; }
.probability-technical-details > summary span b { font-size: 15px; }
.probability-technical-details > summary span small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.probability-technical-details > summary > strong { color: #d9ff76; font-size: 11px; }
.probability-technical-details[open] > summary { border-bottom: 1px solid rgba(148,163,184,.12); background: rgba(96,165,250,.045); }
.probability-technical-details[open] > summary > strong { font-size: 0; }
.probability-technical-details[open] > summary > strong::after { content: "Fechar ↑"; font-size: 11px; }
.probability-technical-body { padding: 15px; }
.probability-method-nav { display: flex; gap: 7px; overflow-x: auto; margin: 0 0 15px; padding-bottom: 4px; scrollbar-width: thin; }
.probability-method-nav a { flex: 0 0 auto; padding: 8px 10px; border: 1px solid rgba(148,163,184,.16); border-radius: 999px; color: #dce8f2; background: rgba(255,255,255,.035); font-size: 10px; font-weight: 900; text-decoration: none; }
.probability-method-nav a:hover { border-color: rgba(163,230,53,.38); color: #eaffb5; }
.probability-method-sections { display: grid; gap: 10px; }
.probability-method-sections > article { scroll-margin-top: 108px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 13px; padding: 16px; border: 1px solid rgba(148,163,184,.13); border-radius: 17px; background: rgba(255,255,255,.026); }
.probability-method-step { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(163,230,53,.27); border-radius: 13px; color: #dfff8c; background: rgba(163,230,53,.08); font-size: 13px; font-weight: 950; }
.probability-method-sections h4 { margin: 0 0 6px; color: #fff; font-size: 17px; }
.probability-method-sections p { margin: 5px 0 0; color: #aebdca; font-size: 13px; line-height: 1.62; }
.probability-formula { display: grid; gap: 7px; margin: 11px 0; }
.probability-formula code { display: block; padding: 11px 12px; border: 1px solid rgba(96,165,250,.18); border-radius: 12px; color: #e8f4ff; background: rgba(7,18,32,.82); font-family: "SFMono-Regular",Consolas,"Liberation Mono",monospace; font-size: 12px; overflow-x: auto; }
.probability-authorship { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 16px; border: 1px solid rgba(163,230,53,.20); border-radius: 17px; background: rgba(163,230,53,.045); }
.probability-authorship span,
.probability-authorship strong { display: block; }
.probability-authorship span { color: var(--green); font-size: 9px; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.probability-authorship strong { margin-top: 5px; color: #fff; font-size: 19px; }
.probability-authorship p { font-size: 12px; line-height: 1.45; }
.probability-feedback { flex: 0 0 auto; min-height: 43px; padding: 10px 13px; border-radius: 13px; }
.probability-references { margin-top: 14px; padding: 16px; border: 1px solid rgba(148,163,184,.13); border-radius: 17px; background: rgba(5,15,22,.52); }
.probability-references h4 { margin: 0 0 9px; color: #fff; }
.probability-references ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.probability-references li { color: #aebdca; font-size: 11px; line-height: 1.5; }
.probability-references a { color: #d9ff76; font-weight: 900; }
.probability-method-disclaimer { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.probability-back-top { display: inline-flex; margin-top: 15px; padding: 10px 14px; border: 1px solid rgba(163,230,53,.28); border-radius: 999px; color: #eaffb5; background: rgba(163,230,53,.08); font-size: 12px; font-weight: 950; text-decoration: none; }
.probability-back-top:hover,
.probability-back-top:focus-visible { background: rgba(163,230,53,.14); outline: none; }

@media (min-width: 850px) {
  .stats-tabs { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .stats-tab-wide { grid-column: 1 / -1; }
}
@media (max-width: 920px) {
  .probability-status-grid,
  .probability-highlight-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .probability-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .probability-route-columns { grid-template-columns: 1fr; }
  .probability-position-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .probability-audit-grid,
  .probability-plain-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .probability-controls { display: block; }
  .probability-sort-buttons { margin-top: 10px; }
  .probability-club-head { grid-template-columns: 38px 42px minmax(0,1fr); }
  .probability-order { width: 36px; height: 36px; font-size: 14px; }
  .probability-club-shield { width: 39px; height: 39px; }
  .probability-points { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: baseline; gap: 8px; min-width: 0; margin-top: 2px; padding-top: 9px; border-top: 1px solid rgba(148,163,184,.10); text-align: left; }
  .probability-points span { margin: 0; }
  .probability-points small { margin: 0; text-align: right; }
  .probability-reading-guide > div { grid-template-columns: 1fr; }
  .probability-authorship { display: block; }
  .probability-feedback { width: 100%; margin-top: 12px; }
}
@media (max-width: 560px) {
  .probability-intro { font-size: 13px; }
  .probability-notice { grid-template-columns: 26px minmax(0,1fr); padding: 9px; }
  .probability-notice > span { width: 24px; height: 24px; }
  .probability-status-grid,
  .probability-highlight-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .probability-status-grid > div { padding: 10px; }
  .probability-status-grid strong { font-size: 11px; }
  .probability-highlight { min-height: 130px; padding: 11px; }
  .probability-highlight-label { font-size: 8px; }
  .probability-highlight-main { gap: 6px; margin-top: 10px; }
  .probability-highlight-main strong { font-size: 14px; }
  .probability-highlight-shield { width: 34px; height: 34px; }
  .probability-highlight > b { font-size: 25px; }
  .probability-section-head { align-items: flex-start; }
  .probability-section-head h3 { font-size: 17px; }
  .probability-section-head > span { max-width: 120px; font-size: 8px; }
  .probability-club-card { padding: 10px; }
  .probability-club-title strong { font-size: 15px; }
  .probability-club-title span { font-size: 9px; }
  .probability-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .probability-metric { padding: 8px; }
  .probability-metric strong { font-size: 15px; }
  .probability-route-details > summary,
  .probability-position-details > summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .probability-route-row { grid-template-columns: minmax(96px,.9fr) minmax(45px,1fr) 46px; gap: 5px; }
  .probability-position-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .probability-evolution-controls { grid-template-columns: 1fr; }
  .probability-evolution-caption { display: grid; gap: 3px; }
  .probability-evolution-row { grid-template-columns: 1fr 52px; }
  .probability-evolution-row time { grid-column: 1 / -1; }
  .probability-evolution-row > div { min-width: 0; }
  .probability-methodology { padding: 15px; }
  .probability-plain-grid { grid-template-columns: 1fr; }
  .probability-audit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
  .probability-audit-grid article { padding: 9px; }
  .probability-audit-grid strong { font-size: 14px; }
  .probability-technical-details > summary { align-items: flex-start; }
  .probability-technical-body { padding: 10px; }
  .probability-method-sections > article { grid-template-columns: 38px minmax(0,1fr); gap: 9px; padding: 12px; }
  .probability-method-step { width: 35px; height: 35px; font-size: 11px; }
  .probability-method-sections h4 { font-size: 15px; }
  .probability-method-sections p { font-size: 12px; }
}

/* Execução 4 — projeções inteiras, tendência controlada e histórico compacto */
.probability-tone-position { --probability-tone: rgba(196,181,253,.16); }
.probability-tone-range { --probability-tone: rgba(251,191,36,.14); }
.probability-projection-metric { position: relative; overflow: hidden; }
.probability-projection-metric::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  right: -21px;
  bottom: -25px;
  border-radius: 50%;
  background: var(--probability-tone, rgba(163,230,53,.10));
  pointer-events: none;
}
.probability-projection-metric strong { position: relative; z-index: 1; color: #efffc3; font-size: 20px; }
.probability-projection-metric small { position: relative; z-index: 1; display: block; min-height: 24px; margin-top: 5px; color: var(--muted-2); font-size: 8px; line-height: 1.35; }
.probability-trend-note {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 9px 1px 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.probability-trend-note span { color: #aebdca; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.probability-trend-note strong { color: #d9ff76; }
.probability-trend-note small { color: var(--muted-2); }
.probability-history-details { margin-top: 10px; border-top: 1px solid rgba(148,163,184,.10); }
.probability-history-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 2px 0;
  color: #d9ff76;
  font-size: 11px;
  font-weight: 950;
  cursor: pointer;
}
.probability-history-details > summary span { color: var(--muted); font-weight: 700; }
.club-evolution-content { display: grid; gap: 14px; margin-top: 11px; }
.club-performance-history,
.club-forecast-history {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 15px;
  overflow: hidden;
  background: rgba(5,15,22,.45);
}
.club-evolution-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.club-evolution-head > div > span,
.club-evolution-head > div > strong { display: block; }
.club-evolution-head > div > span {
  color: var(--green);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.club-evolution-head > div > strong { margin-top: 3px; color: #fff; font-size: 12px; }
.club-evolution-head > small { color: var(--muted); font-size: 9px; text-align: right; }
.club-evolution-strip {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.club-evolution-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(148,163,184,.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(14,31,42,.88), rgba(7,19,27,.94));
}
.club-evolution-card.is-current {
  border-color: rgba(163,230,53,.34);
  background: linear-gradient(145deg, rgba(33,59,38,.68), rgba(8,25,28,.95));
  box-shadow: inset 0 0 0 1px rgba(163,230,53,.05);
}
.club-evolution-card > span,
.club-evolution-card > strong,
.club-evolution-card > small { display: block; }
.club-evolution-card > span { color: #93c5fd; font-size: 8px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.club-evolution-card > strong { margin-top: 6px; color: #d9ff76; font-size: 18px; line-height: 1; }
.club-evolution-card > strong i { color: var(--muted); font-style: normal; font-weight: 500; }
.club-evolution-card > small { margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.club-evolution-move { display: inline-flex; margin-left: 3px; font-weight: 950; white-space: nowrap; }
.club-evolution-move.is-up { color: #86efac; }
.club-evolution-move.is-down { color: #fca5a5; }
.club-evolution-move.is-same { color: #cbd5e1; }
.club-performance-history > p,
.club-forecast-history > p { margin: 8px 1px 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.probability-history-scroll {
  width: 100%;
  margin-top: 10px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 13px;
  overflow-x: auto;
  background: rgba(5,15,22,.54);
  scrollbar-width: thin;
}
.probability-history-scroll table { width: 100%; min-width: 690px; border-collapse: collapse; }
.probability-history-scroll th,
.probability-history-scroll td { padding: 8px 9px; border-bottom: 1px solid rgba(148,163,184,.09); color: #dbe7f2; font-size: 10px; text-align: right; white-space: nowrap; }
.probability-history-scroll thead th { color: var(--muted); background: rgba(255,255,255,.025); font-size: 8px; letter-spacing: .05em; text-transform: uppercase; }
.probability-history-scroll th:first-child { position: sticky; left: 0; z-index: 1; min-width: 92px; text-align: left; background: #091820; }
.probability-history-scroll thead th:first-child { z-index: 2; background: #0d2029; }
.probability-history-scroll tbody tr:last-child th,
.probability-history-scroll tbody tr:last-child td { border-bottom: 0; }
.probability-history-scroll th span,
.probability-history-scroll th small { display: block; }
.probability-history-scroll th span { color: #fff; font-size: 10px; }
.probability-history-scroll th small { margin-top: 2px; color: var(--muted-2); font-size: 8px; font-weight: 500; }

@media (max-width: 700px) {
  .probability-trend-note { display: grid; grid-template-columns: auto 1fr; gap: 2px 7px; }
  .probability-trend-note small { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .probability-history-details > summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .probability-projection-metric small { min-height: 0; }
  .club-evolution-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .club-evolution-head > small { text-align: left; }
  .club-evolution-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 78%);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .club-evolution-card { scroll-snap-align: start; }
  .ranking-history-details > summary {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}

/* Execução 5 — avaliação final invisível durante a temporada */
#probabilidades-avaliacao-final[hidden] {
  display: none !important;
}

.probability-final-evaluation {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  border-radius: 18px;
  background: rgba(8, 18, 32, 0.72);
}

.probability-final-evaluation > p,
.probability-final-evaluation-details > p {
  margin: 10px 0 0;
  line-height: 1.65;
  color: var(--muted, #aeb8c5);
}

.probability-final-evaluation-summary,
.probability-final-evaluation-events {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.probability-final-evaluation-events {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.probability-final-evaluation-summary article,
.probability-final-evaluation-events article {
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.probability-final-evaluation-summary span,
.probability-final-evaluation-events span,
.probability-final-evaluation-summary small,
.probability-final-evaluation-events small {
  display: block;
}

.probability-final-evaluation-summary span,
.probability-final-evaluation-events span {
  font-size: 0.78rem;
  color: var(--muted, #aeb8c5);
}

.probability-final-evaluation-summary strong,
.probability-final-evaluation-events strong {
  display: block;
  margin-top: 5px;
  font-size: 1.45rem;
}

.probability-final-evaluation-summary small,
.probability-final-evaluation-events small {
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted, #aeb8c5);
}

.probability-final-evaluation-details {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
}

.probability-final-evaluation-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 800;
}

.probability-final-evaluation-details summary span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted, #aeb8c5);
}

@media (max-width: 820px) {
  .probability-final-evaluation-summary,
  .probability-final-evaluation-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .probability-final-evaluation {
    padding: 17px;
  }

  .probability-final-evaluation-summary,
  .probability-final-evaluation-events {
    grid-template-columns: 1fr;
  }
}

/* AF-Previsão: hierarquia principal e tabela comparativa */
.stats-tab-featured { grid-column: 1 / -1 !important; min-height: 76px; padding-inline: 14px; font-size: clamp(15px, 2.2vw, 18px); line-height: 1.15; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.probability-compact-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 14px; }
.probability-compact-hero h2 { margin-top: 3px; color: #fff; }
.probability-compact-hero p { max-width: 760px; margin: 0; color: #b8c7d4; font-size: 13px; line-height: 1.55; text-align: right; }
.probability-compact-hero strong { color: #efffc3; }
.probability-overview-card { margin-top: 20px; padding: 18px; border: 1px solid rgba(96,165,250,.20); border-radius: 18px; background: linear-gradient(145deg, rgba(8,28,36,.84), rgba(17,39,43,.76)); }
.probability-overview-card .probability-status-grid { margin-top: 14px; }
.probability-details-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(148,163,184,.14); }
.probability-comparison-section { margin-top: 18px; }
.probability-table-hint { margin: -2px 0 10px; color: var(--muted); font-size: 11px; }
.probability-table-shell { position: relative; width: 100%; overflow-x: auto; border: 1px solid rgba(148,163,184,.18); border-radius: 17px; background: rgba(4,16,23,.72); scrollbar-width: thin; }
.probability-comparison-table { width: 100%; min-width: 1040px; border-collapse: separate; border-spacing: 0; color: #e8f1f7; font-size: 12px; }
.probability-comparison-table th,
.probability-comparison-table td { height: 54px; padding: 9px 11px; border-bottom: 1px solid rgba(148,163,184,.10); white-space: nowrap; text-align: center; }
.probability-comparison-table thead th { position: sticky; top: 0; z-index: 5; height: 46px; color: #aebdca; background: #12212b; font-size: 10px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.probability-comparison-table tbody tr:last-child > * { border-bottom: 0; }
.probability-comparison-table tbody tr:hover > * { background-color: rgba(163,230,53,.045); }
.probability-comparison-table thead th:first-child,
.probability-comparison-table tbody td:first-child { position: sticky; left: 0; z-index: 4; width: 58px; min-width: 58px; background: #0a1b23; }
.probability-comparison-table thead th:nth-child(2),
.probability-comparison-table tbody th:nth-child(2) { position: sticky; left: 58px; z-index: 4; width: 205px; min-width: 205px; background: #0a1b23; box-shadow: 8px 0 14px rgba(0,0,0,.18); }
.probability-comparison-table thead th:first-child,
.probability-comparison-table thead th:nth-child(2) { z-index: 7; background: #12212b; }
.probability-table-position span { display: grid; place-items: center; width: 34px; height: 34px; margin: auto; border: 1px solid rgba(163,230,53,.27); border-radius: 11px; color: #efffc3; background: rgba(163,230,53,.09); font-weight: 950; }
.probability-table-club { text-align: left !important; }
.probability-table-club a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.probability-table-club a:hover strong { color: var(--green); }
.probability-table-shield { flex: 0 0 auto; width: 32px; height: 32px; object-fit: contain; }
.probability-table-number strong { color: #dfff8c; font-size: 15px; }
.probability-table-percent { font-weight: 950; font-variant-numeric: tabular-nums; }
.probability-cell-title { color: #ffe47a; }
.probability-cell-lib { color: #cfff86; }
.probability-cell-sula { color: #7dd3fc; }
.probability-cell-drop { color: #fda4af; }
.probability-table-projection strong { color: #ddd6fe; font-size: 15px; }
.probability-table-range { color: #fde68a; font-weight: 900; }

@media (min-width: 850px) {
  .stats-tabs { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .stats-tab-featured { grid-column: 1 / -1 !important; }
}

@media (max-width: 700px) {
  .probability-compact-hero { display: block; }
  .probability-compact-hero p { margin-top: 8px; font-size: 12px; text-align: left; }
  .probability-overview-card { padding: 13px; }
  .probability-comparison-table { min-width: 930px; font-size: 11px; }
  .probability-comparison-table th,
  .probability-comparison-table td { height: 50px; padding: 8px 9px; }
  .probability-comparison-table thead th:first-child,
  .probability-comparison-table tbody td:first-child { width: 48px; min-width: 48px; }
  .probability-comparison-table thead th:nth-child(2),
  .probability-comparison-table tbody th:nth-child(2) { left: 48px; width: 158px; min-width: 158px; }
  .probability-table-position span { width: 31px; height: 31px; }
  .probability-table-shield { width: 28px; height: 28px; }
  .probability-table-club a { gap: 7px; }
  .probability-table-club strong { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
}

.probability-back-to-pool { position:sticky; top:86px; z-index:18; display:inline-flex; align-items:center; gap:6px; margin:0 0 12px; padding:10px 14px; border:1px solid rgba(163,230,53,.34); border-radius:999px; background:rgba(8,22,27,.94); color:#efffc3; text-decoration:none; font-weight:900; box-shadow:0 8px 24px rgba(0,0,0,.22); backdrop-filter:blur(10px); }
.probability-back-to-pool:hover { background:rgba(163,230,53,.13); }
@media (max-width:720px) { .probability-back-to-pool { top:74px; width:max-content; max-width:calc(100vw - 32px); } }

.probability-pool-method { margin:16px 0; padding:16px; border:1px solid rgba(96,165,250,.26); border-radius:16px; background:linear-gradient(135deg,rgba(96,165,250,.08),rgba(163,230,53,.045)); }
.probability-pool-method h3 { margin:4px 0 8px; color:#fff; }
.probability-pool-method p { margin:7px 0 0; color:var(--muted); line-height:1.65; }
.probability-pool-method strong { color:#efffc3; }

/* AF-Previsão: pontos necessários por objetivo */
.probability-points-card {
  margin-top: 18px;
  padding: clamp(15px, 2vw, 22px);
  border: 1px solid rgba(163,230,53,.20);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(7,24,29,.92), rgba(8,20,29,.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.probability-points-card-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; }
.probability-points-card-head h3 { margin-top:4px; color:#fff; font-size:clamp(20px,2.2vw,28px); }
.probability-points-card > p { margin:10px 0 14px; color:#b8c8d5; font-size:13px; line-height:1.5; }
.probability-points-scroll { overflow-x:auto; border:1px solid rgba(56,189,248,.22); border-radius:15px; scrollbar-width:thin; }
.probability-points-scroll:focus-visible { outline:2px solid var(--green); outline-offset:3px; }
.probability-points-table { width:100%; min-width:700px; border-collapse:separate; border-spacing:0; background:rgba(3,14,21,.58); }
.probability-points-table th,
.probability-points-table td { padding:11px 12px; border-right:1px solid rgba(56,189,248,.20); border-bottom:1px solid rgba(56,189,248,.18); text-align:center; }
.probability-points-table tr:last-child > * { border-bottom:0; }
.probability-points-table tr > *:last-child { border-right:0; }
.probability-points-table thead th { position:sticky; top:0; z-index:2; color:#dce8f2; background:#10232d; font-size:11px; font-weight:950; letter-spacing:.035em; text-transform:uppercase; }
.probability-points-table thead th:first-child,
.probability-points-table tbody th { position:sticky; left:0; z-index:3; }
.probability-points-table thead th:first-child { background:#10232d; }
.probability-points-table tbody th { color:#efffc3; background:#0b1b23; font-size:13px; font-weight:950; white-space:nowrap; }
.probability-points-table tbody tr:nth-child(even) td { background:rgba(255,255,255,.018); }
.probability-points-table td strong { color:#fff; font-size:18px; }
.probability-points-table td small { margin-left:3px; color:#8fa2b2; font-size:9px; font-weight:900; text-transform:uppercase; }
.probability-points-table td > span { color:#718392; }
.probability-points-more { margin-top:10px; }
.probability-points-more > summary { display:flex; justify-content:space-between; gap:10px; cursor:pointer; color:#d9ff76; font-size:12px; font-weight:950; }
.probability-points-more > summary span { color:#8fa2b2; font-size:10px; font-weight:800; }
.probability-points-more[open] > summary { margin-bottom:10px; }
.probability-points-notes { display:grid; gap:4px; margin-top:11px; }
.probability-points-notes p { margin:0; color:#91a5b5; font-size:10px; line-height:1.45; }
.probability-points-notes strong { color:#dbe7f2; }
.probability-points-empty { padding:14px; border:1px dashed rgba(148,163,184,.22); border-radius:13px; color:#9eb0bf; text-align:center; }
@media (max-width: 640px) {
  .probability-points-card { margin-inline:-2px; padding:14px 10px; }
  .probability-points-card-head { align-items:flex-start; }
  .probability-points-card-head .badge { font-size:9px; }
  .probability-points-card > p { font-size:11px; }
  .probability-points-scroll::before { content:"↔ Arraste para comparar todos os objetivos"; display:block; position:sticky; left:0; width:max-content; padding:8px 10px 5px; color:#90a4b4; font-size:9px; font-weight:850; letter-spacing:.03em; text-transform:uppercase; }
  .probability-points-table { min-width:640px; }
  .probability-points-table th,
  .probability-points-table td { padding:9px 9px; }
  .probability-points-table td strong { font-size:16px; }
  .probability-points-more > summary { display:block; }
  .probability-points-more > summary span { display:block; margin-top:3px; }
}
