: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 85% 2%, rgba(96, 165, 250, .10), transparent 34%),
    radial-gradient(circle at 50% 112%, rgba(251, 191, 36, .08), transparent 35%),
    linear-gradient(180deg, #09141d 0%, #061016 50%, #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; 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: 850; white-space: nowrap; }
.nav a.active { border-color: rgba(163,230,53,.56); background: rgba(163,230,53,.18); color: #efffc3; }
.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); line-height: 1.45; }
.page-title { margin-bottom: 14px; }
.meta-line { display: inline-flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.badge, .meta-pill { 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.ok { color: #d9ff76; border-color: rgba(163,230,53,.28); background: rgba(163,230,53,.10); }
.badge.gold { color: #ffe7a4; border-color: rgba(251,191,36,.30); background: rgba(251,191,36,.10); }
.cards-resumo { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 14px 0; }
.summary-card { position: relative; min-height: 116px; 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: 24px; 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; }
.toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 10px; margin: 14px 0; }
.input { width: 100%; border: 1px solid rgba(148,163,184,.22); border-radius: 13px; background: rgba(4,10,16,.72); color: var(--text); padding: 11px 12px; font: inherit; font-weight: 750; outline: none; }
.input:focus { border-color: rgba(163,230,53,.52); box-shadow: 0 0 0 3px rgba(163,230,53,.08); }
.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: 8px 11px; cursor:pointer; font: inherit; 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-clubes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.club-card { position: relative; border: 1px solid rgba(148,163,184,.14); border-radius: 18px; background: rgba(5,13,20,.48); padding: 14px; cursor: pointer; overflow: hidden; min-height: 176px; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.club-card:hover, .club-card.active { transform: translateY(-2px); border-color: rgba(163,230,53,.42); background: rgba(163,230,53,.07); }
.club-card::after { content:""; position:absolute; inset:auto -46px -52px auto; width: 125px; height:125px; border-radius:50%; background: rgba(163,230,53,.08); }
.club-head { position: relative; display:flex; gap: 12px; align-items:center; }
.club-logo { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.36)); }
.club-name { font-weight: 950; font-size: 17px; letter-spacing:-.02em; }
.club-sub { color: var(--muted); font-size: 12px; margin-top: 3px; }
.club-kpis { position: relative; display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; margin-top: 13px; }
.kpi { border:1px solid rgba(148,163,184,.12); border-radius: 12px; background: rgba(255,255,255,.035); padding: 8px; text-align:center; }
.kpi strong { display:block; color:#efffc3; font-size:17px; }
.kpi span { color: var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.06em; }
.detail-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 14px; margin-top: 14px; }
.detail-hero { display:flex; gap: 14px; align-items:center; }
.detail-hero img { width: 86px; height: 86px; object-fit:contain; filter: drop-shadow(0 16px 24px rgba(0,0,0,.40)); }
.info-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.info-card { border:1px solid rgba(148,163,184,.12); border-radius: 14px; padding: 10px; background: rgba(255,255,255,.035); }
.info-card span { display:block; color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.info-card strong { display:block; margin-top: 4px; font-size: 14px; }
.list { display:grid; gap:8px; }
.row { display:grid; grid-template-columns: auto 1fr auto; align-items:center; gap: 10px; border:1px solid rgba(148,163,184,.12); background: rgba(5,13,20,.48); border-radius: 14px; padding: 10px; }
.row .date { color: var(--muted); font-size: 11px; white-space:nowrap; }
.row .score { font-weight:950; color:#efffc3; }
.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; }
.timeline { position: relative; display: grid; gap: 10px; margin-top: 14px; }
.timeline-item { display: grid; grid-template-columns: 74px 1fr; gap: 12px; align-items: stretch; }
.year-pill { display:grid; place-items:center; border:1px solid rgba(163,230,53,.30); background: rgba(163,230,53,.10); color:#efffc3; border-radius: 15px; font-weight: 950; }
.timeline-card { border: 1px solid rgba(148,163,184,.14); border-radius: 16px; background: rgba(5,13,20,.48); padding: 12px; }
.timeline-card h3 { display:flex; align-items:center; gap:9px; }
.timeline-card img { width: 28px; height: 28px; object-fit:contain; }
.title-bars { display:grid; gap:8px; margin-top: 10px; }
.title-bar { display:grid; grid-template-columns: 150px 1fr 36px; gap: 10px; align-items:center; }
.bar-track { height: 12px; border-radius:999px; background: rgba(255,255,255,.06); overflow:hidden; border:1px solid rgba(148,163,184,.12); }
.bar-fill { height:100%; border-radius:999px; background: linear-gradient(90deg, var(--green), var(--gold)); }
.record-grid { display:grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:12px; margin-top: 14px; }
.record-card { border:1px solid rgba(148,163,184,.14); border-radius: 16px; background: rgba(5,13,20,.48); padding: 13px; min-height: 120px; }
.record-card strong { display:block; color: #efffc3; font-size: 16px; margin-top: 7px; }
.site-footer { margin-top: 16px; padding: 16px; border: 1px solid rgba(148,163,184,.14); border-radius: 18px; color: var(--muted); background: rgba(3,8,12,.56); font-size: 12px; line-height: 1.45; }
.site-footer div + div { margin-top: 5px; }
@media (max-width: 980px) { .cards-resumo { grid-template-columns: repeat(2,minmax(0,1fr)); } .grid-clubes { grid-template-columns: repeat(3,minmax(0,1fr)); } .detail-grid { grid-template-columns: 1fr; } .record-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .container { width: min(100% - 20px, 1180px); padding-top: 10px; } .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; } .cards-resumo, .grid-clubes, .record-grid, .info-grid { grid-template-columns: 1fr; } .toolbar { grid-template-columns: 1fr; } .club-card { min-height: 150px; } .detail-hero img { width: 70px; height: 70px; } .timeline-item { grid-template-columns: 58px 1fr; gap: 8px; } .title-bar { grid-template-columns: 105px 1fr 28px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.mascot-card { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; text-align:center; gap:8px; min-height: 220px; }
.mascot-card span { align-self:flex-start; text-align:left; width:100%; }
.mascot-frame { width:min(100%, 220px); min-height: 142px; display:grid; place-items:center; padding: 12px; border-radius: 16px; border: 1px solid rgba(148,163,184,.14); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); overflow:hidden; }
.mascot-figure { display:block; width:100%; max-width: 180px; max-height: 132px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,.30)); }
.mascot-caption { margin-top: 2px; text-align:center; }
.mascot-fallback { display:none; font-size: 54px; line-height:1; }
.mascot-card.is-fallback .mascot-fallback { display:block; }
@media (min-width: 641px) { .mascot-card { grid-column: span 2; } }


/* 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 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;
  }
}


/* Mascotes: card controlado + zoom em alta resolução */
.mascot-frame { cursor: zoom-in; border: 1px solid rgba(148,163,184,.14); color: inherit; font: inherit; }
.mascot-zoom-trigger { appearance: none; -webkit-appearance: none; }
.mascote-modal[hidden] { display: none !important; }
.mascote-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 22px; }
.mascote-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.mascote-modal-card { position: relative; z-index: 1; width: min(92vw, 760px); max-height: 90vh; border: 1px solid rgba(163,230,53,.25); border-radius: 24px; background: linear-gradient(180deg, rgba(9,20,29,.98), rgba(3,8,12,.98)); box-shadow: 0 30px 90px rgba(0,0,0,.62); padding: 26px; display: grid; place-items: center; }
.mascote-modal-img { position: relative; z-index: 1; max-width: 100%; max-height: min(72vh, 680px); object-fit: contain; filter: drop-shadow(0 22px 32px rgba(0,0,0,.42)); }
.mascote-modal-title { position: relative; z-index: 1; margin-top: 12px; color: #efffc3; font-weight: 950; text-align: center; }
.mascote-modal-close { position: absolute; top: 10px; right: 12px; z-index: 5; width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(148,163,184,.25); background: rgba(255,255,255,.10); color: #fff; cursor: pointer; font-size: 25px; line-height: 1; display: grid; place-items: center; touch-action: manipulation; -webkit-tap-highlight-color: transparent; pointer-events: auto; }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) { .mascote-modal { padding: 12px; } .mascote-modal-card { border-radius: 18px; padding: 18px; } .mascote-modal-img { max-height: 72vh; } }


/* 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 — resumo discreto do Ranking Vivo nos cards de Clubes */
.club-ranking-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  border: 1px solid rgba(163,230,53,.20);
  border-radius: 999px;
  background: rgba(163,230,53,.08);
  color: #eaffb5;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
}
.club-ranking-pill.muted { color: var(--muted); border-color: rgba(148,163,184,.14); background: rgba(255,255,255,.03); }
.club-ranking-pill strong { color: #fff4aa; }
.club-performance-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 2px;
}
.club-performance-mini span {
  border: 1px solid rgba(148,163,184,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
}
.club-performance-mini strong { color: #efffc3; }

/* CORREÇÃO 20260713 — elenco completo, agrupado e com campos identificados. */
.squad-list { display: grid; gap: 12px; }
.squad-summary { display: flex; align-items: baseline; gap: 7px; padding: 10px 12px; border: 1px solid rgba(163,230,53,.20); border-radius: 13px; background: rgba(163,230,53,.06); }
.squad-summary strong { color: #efffc3; font-size: 20px; }
.squad-summary span { color: var(--muted); font-size: 12px; }
.squad-group { display: grid; gap: 7px; }
.squad-group-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 3px; color: var(--green); font-size: 11px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.squad-group-title b { min-width: 25px; padding: 3px 7px; border-radius: 999px; color: #07120d; background: var(--green); text-align: center; }
.squad-rows { display: grid; gap: 7px; }
.squad-row { display: grid; grid-template-columns: 58px minmax(0,1fr) 52px; align-items: center; gap: 10px; border: 1px solid rgba(148,163,184,.12); background: rgba(5,13,20,.48); border-radius: 14px; padding: 10px; }
.squad-number, .squad-age { text-align: center; }
.squad-number span, .squad-age span { display: block; color: var(--muted-2); font-size: 8px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.squad-number strong, .squad-age strong { display: block; margin-top: 3px; color: #efffc3; font-size: 16px; }
.squad-player { min-width: 0; }
.squad-player strong, .squad-player small { display: block; overflow-wrap: anywhere; }
.squad-player strong { color: #fff; font-size: 14px; }
.squad-player small { margin-top: 3px; color: var(--muted); font-size: 11px; }
@media (max-width: 640px) {
  .squad-row { grid-template-columns: 50px minmax(0,1fr) 44px; gap: 7px; padding: 9px 7px; }
  .squad-player strong { font-size: 13px; }
}

/* Card visual do AF-Score na página do clube */
.club-performance-card { margin: 16px 0 14px; padding: 16px; border: 1px solid rgba(163,230,53,.24); border-radius: 20px; background: radial-gradient(circle at 100% 0, rgba(163,230,53,.13), transparent 34%), linear-gradient(145deg, rgba(18,40,38,.96), rgba(5,15,22,.98)); box-shadow: 0 18px 42px rgba(0,0,0,.22); }
.club-performance-card.muted { color: var(--muted); }
.club-performance-header { display:flex; align-items:center; justify-content:space-between; gap:14px; padding-bottom:13px; border-bottom:1px solid rgba(148,163,184,.12); }
.club-performance-header > div:first-child span { display:block; color:var(--green); font-size:10px; font-weight:950; letter-spacing:.12em; text-transform:uppercase; }
.club-performance-header > div:first-child strong { display:block; margin-top:4px; color:#fff; font-size:18px; }
.club-performance-score { min-width:88px; text-align:right; }
.club-performance-score b { display:block; color:#d9ff76; font-size:31px; line-height:1; }
.club-performance-score small { display:block; margin-top:5px; color:#fff4aa; font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.club-performance-bars { display:grid; gap:10px; margin-top:14px; }
.club-performance-row { display:grid; grid-template-columns:78px minmax(0,1fr) 42px; align-items:center; gap:10px; }
.club-performance-row > span { color:var(--muted); font-size:12px; font-weight:850; }
.club-performance-row > div { height:8px; overflow:hidden; border-radius:999px; background:rgba(59,91,126,.35); }
.club-performance-row i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#fbbf24,#a3e635); }
.club-performance-row > strong { color:#f4f8fb; font-size:13px; text-align:right; }
.club-performance-method { display:inline-flex; margin-top:15px; color:#d9ff76; font-size:12px; font-weight:900; text-decoration:none; }
.club-performance-method:hover, .club-performance-method:focus-visible { text-decoration:underline; outline:none; }
@media (max-width:640px) { .club-performance-card { padding:14px; } .club-performance-header > div:first-child strong { font-size:16px; } .club-performance-score b { font-size:27px; } .club-performance-row { grid-template-columns:70px minmax(0,1fr) 39px; gap:8px; } }

/* Retorno contextual da ficha do clube para o ponto exato de origem. */
.club-return-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 2px 2px 0;
}
.club-return-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(163,230,53,.34);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(163,230,53,.18), rgba(96,165,250,.09));
  color: #efffc3;
  box-shadow: 0 10px 26px rgba(0,0,0,.20);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.club-return-button:hover,
.club-return-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(190,242,100,.68);
  background: linear-gradient(135deg, rgba(163,230,53,.25), rgba(96,165,250,.13));
  outline: none;
}
.club-return-button:active { transform: translateY(0); }
.club-return-arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #07120d;
  background: var(--green);
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
}
.club-return-hint {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}
@media (max-width: 640px) {
  .club-return-bar { align-items: stretch; padding-top: 0; }
  .club-return-button { width: 100%; min-height: 44px; }
  .club-return-hint { display: none; }
}

/* EXECUÇÃO 8 — Projeção AF compacta na página Clubes */
.club-probability-pill {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(96,165,250,.09), rgba(163,230,53,.055));
  color: #dbeafe;
  font-size: 11px;
  line-height: 1.25;
}
.club-probability-pill strong {
  color: #efffc3;
  font-size: 12px;
  font-weight: 950;
}
.club-probability-pill small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.club-probability-pill.muted {
  color: var(--muted);
  background: rgba(255,255,255,.025);
  border-color: rgba(148,163,184,.13);
}
.club-probability-card {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid rgba(96,165,250,.22);
  border-radius: 18px;
  background: radial-gradient(circle at 0 0, rgba(96,165,250,.13), transparent 35%), linear-gradient(145deg, rgba(11,27,38,.96), rgba(5,15,22,.98));
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.club-probability-card.muted { color: var(--muted); }
.club-probability-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148,163,184,.12);
}
.club-probability-header span,
.club-probability-title {
  display: block;
  color: #93c5fd;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.club-probability-header strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 19px;
  line-height: 1.05;
}
.club-probability-header small {
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.club-probability-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}
.club-probability-metrics div {
  min-width: 0;
  padding: 9px 8px;
  border: 1px solid rgba(148,163,184,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
}
.club-probability-metrics span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.club-probability-metrics strong {
  display: block;
  margin-top: 5px;
  color: #efffc3;
  font-size: 15px;
}
@media (max-width:640px) {
  .club-probability-header { flex-direction: column; gap: 5px; }
  .club-probability-header small { white-space: normal; }
  .club-probability-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Evolução compacta do AF-Score na ficha de cada clube. */
.club-games-toggle {
  width: 100%;
  min-height: 40px;
  margin-top: 4px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 13px;
  background: rgba(255,255,255,.035);
  color: #d9ff76;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
}
.club-games-toggle:hover,
.club-games-toggle:focus-visible { border-color: rgba(163,230,53,.45); background: rgba(163,230,53,.08); outline: none; }
.club-ranking-history-slot { margin-top: 16px; }
.club-ranking-history-card {
  padding: 14px;
  border: 1px solid rgba(163,230,53,.23);
  border-radius: 18px;
  background: radial-gradient(circle at 100% 0, rgba(163,230,53,.11), transparent 34%), linear-gradient(145deg, rgba(12,31,32,.92), rgba(5,15,22,.97));
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.club-ranking-history-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.club-ranking-history-head span,
.club-ranking-history-head strong { display: block; }
.club-ranking-history-head span { color: var(--green); font-size: 9px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.club-ranking-history-head strong { margin-top: 3px; color: #fff; font-size: 16px; }
.club-ranking-history-head > small { color: var(--muted); font-size: 10px; text-align: right; }
.club-ranking-history-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.club-ranking-history-item {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(148,163,184,.13);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(16,34,43,.88), rgba(7,19,27,.95));
}
.club-ranking-history-item.is-current {
  border-color: rgba(163,230,53,.38);
  background: linear-gradient(145deg, rgba(35,64,39,.72), rgba(8,25,28,.96));
}
.club-ranking-history-item > span,
.club-ranking-history-item > strong,
.club-ranking-history-item > small { display: block; }
.club-ranking-history-item > span { color: #93c5fd; font-size: 8px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.club-ranking-history-item > strong { margin-top: 6px; color: #d9ff76; font-size: 18px; line-height: 1; }
.club-ranking-history-item > strong i { color: var(--muted); font-style: normal; font-weight: 500; }
.club-ranking-history-item > small { margin-top: 6px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.club-ranking-history-item small span { display: inline-flex; margin-left: 3px; font-weight: 950; white-space: nowrap; }
.club-ranking-history-item .is-up { color: #86efac; }
.club-ranking-history-item .is-down { color: #fca5a5; }
.club-ranking-history-item .is-same { color: #cbd5e1; }
.club-ranking-history-card > p { margin-top: 10px; font-size: 10px; }
.club-ranking-history-card > a { display: inline-flex; margin-top: 11px; color: #d9ff76; font-size: 11px; font-weight: 900; text-decoration: none; }
.club-ranking-history-card > a:hover,
.club-ranking-history-card > a:focus-visible { text-decoration: underline; outline: none; }
@media (max-width:640px) {
  .club-ranking-history-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .club-ranking-history-head > small { text-align: left; }
  .club-ranking-history-strip {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(158px, 78%);
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .club-ranking-history-item { scroll-snap-align: start; }
}
