/* ═══════════════════════════════════════════════════════════════════════════
   GENTE DO BARRA — standings.css
   Tabela de classificação + componente JOGOS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── SEÇÃO GERAL ───────────────────────────────────────────────────────── */
.section-standings {
  background: transparent !important;
  padding: 2.5rem 0 3.5rem;
}

.gt-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── LAYOUT DUAS COLUNAS: TABELA + JOGOS ───────────────────────────────── */
.gt-layout {
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
}

.gt-layout__table {
  display: flex;
  justify-content: center;
}

.gt-layout__table .gt-block {
  width: 100%;
  max-width: 820px;
}

/* ─── BLOCO CONTAINER (card branco com header) ──────────────────────────── */
.gt-block {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(40px) !important;
  -webkit-backdrop-filter: blur(40px) !important;
  border-radius: 40px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4) !important;
}

.gt-block__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 1.5rem 2rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.gt-block__icon {
  color: var(--c-blue);
  display: flex;
  align-items: center;
}

.gt-block__title {
  font-family: 'Vinila Variable', var(--font-headline);
  font-size: 1rem !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff !important;
}

.gt-block__sub {
  font-family: var(--font-body);
  font-size: .75rem;
  color: var(--c-muted);
  margin-left: auto;
}

/* ─── TABELA ────────────────────────────────────────────────────────────── */
.gt-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 .75rem .75rem;
}

.gt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .8125rem;
  /* 13px */
  white-space: nowrap;
}

/* Cabeçalho GE Style */
.gt-table__head-row th {
  padding: 1rem !important;
  font-family: 'Vinila Variable', var(--font-headline) !important;
  font-size: .65rem !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
  text-align: center;
}

.gt-table__head-label {
  color: #fff;
}

/* ─── STICKY TEAM COLUMN (Mobile First) ────────────────────────────────── */
.gt-table__col-pos {
  position: sticky;
  left: 0;
  z-index: 20;
  background: inherit;
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.05);
  min-width: 160px;
  text-align: left !important;
  padding-left: 0.75rem !important;
}

/* Ensure the header also sticks and has proper styling */
.gt-table__head-row th:first-child {
  position: sticky;
  left: 0;
  z-index: 30;
  background: var(--c-navy);
  /* Sticky header navy */
  box-shadow: 4px 0 8px rgba(0, 0, 0, 0.15);
}

.gt-table__col-pts {
  min-width: 44px;
  font-weight: 800;
}

.gt-table__col-num {
  min-width: 40px;
}

.gt-table__col-pct {
  min-width: 50px;
}

.gt-table__col-form {
  min-width: 100px;
}

/* Linhas */
.gt-table__row td {
  padding: 1.25rem 0.75rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  text-align: center;
  color: #fff !important;
  vertical-align: middle;
  font-family: 'Vinila Variable' !important;
  font-weight: 600 !important;
}

.gt-table__row:last-child td {
  border-bottom: none;
}

.gt-table__row:hover td {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Clube destacado (Igual as noticias e cards) */
.gt-table__row--club td {
  background: rgba(14, 73, 147, .04);
}

.gt-table__row--club:hover td {
  background: rgba(14, 73, 147, .08);
}

/* Indicador lateral de zona */
.gt-table__row--promo .gt-table__col-pos {
  border-left: 3px solid #0e9a3a;
}

.gt-table__row--relg .gt-table__col-pos {
  border-left: 3px solid #d0021b;
}

.gt-table__row--neutral .gt-table__col-pos {
  border-left: 3px solid transparent;
}

/* ─── CÉLULA DE TIME ────────────────────────────────────────────────────── */
.gt-team-cell {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-align: left;
}

/* Rank */
.gt-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.gt-rank--promo {
  color: #0e9a3a;
}

.gt-rank--relg {
  color: #d0021b;
}

.gt-rank--neutral {
  color: #8a9bb5;
}

/* Escudo */
.gt-crest-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gt-crest {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.gt-crest-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #dde3f0;
  color: #5a6a8a;
  border-radius: 50%;
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Nome do time */
.gt-team-name {
  font-size: .9rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-family: 'Vinila Variable' !important;
  max-width: clamp(90px, 18vw, 200px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vision-team-name-sigla { display: none; }
@media (max-width: 480px) {
  .vision-team-name-full { display: none; }
  .vision-team-name-sigla { display: inline !important; font-weight: 800; }
}

.gt-team-name--club {
  font-weight: 700;
  color: var(--c-navy);
}

.gt-club-star {
  font-size: .65rem;
  color: var(--c-gold);
  margin-left: .15rem;
}

/* ─── VALORES NUMÉRICOS ─────────────────────────────────────────────────── */
.gt-pts {
  font-size: .9375rem;
  /* 15px */
  font-weight: 800;
  color: #1a2a4a;
}

.gt-num--win {
  color: #0e9a3a;
  font-weight: 600;
}

.gt-num--loss {
  color: #d0021b;
}

.gt-table__gd--pos {
  color: #0e9a3a;
  font-weight: 600;
}

.gt-table__gd--neg {
  color: #d0021b;
}

/* ─── FORMA (ÚLTIMOS JOGOS) ─────────────────────────────────────────────── */
.gt-form-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.gt-form-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.gt-form-dot--w {
  background: #0e9a3a;
}

.gt-form-dot--d {
  background: #f5a623;
}

.gt-form-dot--l {
  background: #d0021b;
}

.gt-form-dot--empty {
  background: #dde3f0;
}

/* ─── LEGENDA ───────────────────────────────────────────────────────────── */
.gt-legend {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .6rem 1rem;
  background: #f8f9fc;
  border-top: 1px solid #edf0f7;
  flex-wrap: wrap;
}

.gt-legend__item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .7rem;
  color: #8a9bb5;
}

.gt-legend__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.gt-legend__dot--promo {
  background: #0e9a3a;
}

.gt-legend__dot--relg {
  background: #d0021b;
}

.gt-legend__more {
  margin-left: auto;
  font-size: .7rem;
  font-weight: 600;
  color: var(--c-blue);
  transition: color var(--t-fast);
}

.gt-legend__more:hover {
  color: var(--c-navy);
}

/* Coluna oculta em telas menores (gerenciado via media queries) */

/* ─── COPA: layout full-width (sem tabela) ───────────────────────────────── */
.gt-layout--full-games .gt-layout__table {
  display: none;
}

.gt-layout--full-games .gt-layout__games {
  grid-column: 1 / -1;
}

/* Quando full-width: jogos em 2 colunas */
.gt-layout--full-games .games-widget {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 0 1.25rem;
}

.gt-layout--full-games .games-nav,
.gt-layout--full-games .games-widget__cta {
  grid-column: 1 / -1;
}

/* ─── COMPONENTE JOGOS ──────────────────────────────────────────────────── */
.games-widget {
  display: flex;
  flex-direction: column;
}

.games-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--c-muted);
  font-size: .875rem;
}

.games-empty__link {
  display: inline-block;
  margin-top: .75rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--c-blue);
}

/* Rodada */
.games-round {
  border-bottom: 1px solid #f0f2f7;
}

.games-round:last-of-type {
  border-bottom: none;
}

.games-round__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem .4rem;
  background: #f8f9fc;
  border-top: 2px solid #edf0f7;
}

.games-round__comp {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-blue);
}

.games-round__name {
  font-family: var(--font-headline);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #5a6a8a;
}

/* ─── GAME CARD ─────────────────────────────────────────────────────────── */
.game-card {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f0f2f7;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.game-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Destaque Barra FC (igual a tabela) */
.game-card--barra {
  background: rgba(14, 73, 147, .04);
}

.game-card--barra:hover {
  background: rgba(14, 73, 147, .08);
}

/* ── GE STYLE MATCH CARD ────────────────────────────────────────────────── */
.game-card__meta-ge {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  /* Menor gap para economizar espaço */
  font-size: 0.62rem;
  font-weight: 700;
  color: #8a9bb5;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ge-meta-item--comp {
  color: var(--c-accent);
  font-weight: 800;
}

.ge-meta-item--live {
  color: var(--c-live);
  font-weight: 800;
}

.game-card__matchup-ge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.ge-team {
  flex: 1 1 0;
  min-width: 0;

  display: flex;
  align-items: center;
  gap: 8px;
}

.ge-team--home {
  justify-content: flex-end;
  text-align: right;
}

.ge-team--away {
  justify-content: flex-start;
  text-align: left;
}

.ge-team__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ge-score-center {
  flex-shrink: 0;

  min-width: 72px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.ge-team__name {
  font-family: var(--font-headline);
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  /* Ajuste dinâmico conforme o container */
  font-weight: 800;
  color: var(--c-navy);
  text-transform: uppercase;
  line-height: 1.1;
  word-wrap: break-word;
  /* Evita quebra de layout em nomes longos */
}

.ge-team--home .ge-team__name {
  text-align: right;
}

.ge-team--away .ge-team__name {
  text-align: left;
}

.ge-team__crest {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.ge-team__crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ge-crest-ph {
  width: 34px;
  height: 34px;
  background: #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #888;
  font-weight: 800;
}

.ge-score-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.ge-placar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1;
}

.ge-placar__sep {
  color: #ccc;
  font-weight: 400;
  font-size: 1.1rem;
}

.ge-versus {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #ccc;
}

.game-card__footer-ge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ge-cta {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 900;
  color: #58a1ff;
  /* Azul claro padrão de links do Barra */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ge-tv {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-headline);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .ge-team__name {
    font-size: 0.75rem;
    max-width: 80px;
  }

  .ge-placar {
    font-size: 1.25rem;
  }

  .ge-team__crest {
    width: 28px;
    height: 28px;
  }
}

/* ── Navegação de Rodadas (Toque Otimizado) ─────────────────────────── */
.games-nav__label {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--c-navy);
  flex: 1;
  text-align: center;
}

.games-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-light);
  color: #00a859;
  /* GE Green */
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.4rem;
  font-weight: 900;
}

.games-nav__btn:hover:not(:disabled) {
  background: #f0f7f4;
  border-color: #00a859;
}

.games-nav--inner .games-nav__btn:hover:not(:disabled) {
  background: #1a56db;
  border-color: #1a56db;
  color: #fff;
}

/* ── Games Panels (troca junto com as tabs de classificação) ─────────────── */
.games-panel {
  display: none;
}

.games-panel--active {
  display: block;
}

/* ── Navegação de Rodadas ────────────────────────────────────────────────── */
.games-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem 1rem;
  background: #f0f3fa;
  border-bottom: 1px solid #e4e9f2;
  gap: .5rem;
}

.games-nav__label {
  flex: 1;
  text-align: center;
  font-family: var(--font-headline);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  color: #2a3a5c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.games-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid #c8d3e8;
  border-radius: 50%;
  background: #fff;
  color: #2a3a5c;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  flex-shrink: 0;
}

.games-nav__btn:hover:not(:disabled) {
  background: var(--c-blue, #0f1c3f);
  border-color: var(--c-blue, #0f1c3f);
  color: #fff;
}

.games-nav__btn:disabled {
  opacity: .35;
  cursor: default;
}

/* Meta: venue + data/hora */
.game-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: .65rem;
}

.game-card__venue {
  font-size: .65rem;
  color: #888;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__when {
  flex-shrink: 0;
  color: #888;
}

.game-card__datetime {
  font-size: .65rem;
  font-weight: 600;
  color: inherit;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.game-card__day {
  font-size: .65rem;
  font-weight: 400;
  color: #8a9bb5;
}

.game-card__live-badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-live);
}

.game-card__ended {
  font-size: .65rem;
  color: #8a9bb5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Confronto */
.game-card__matchup {
  display: flex;
  align-items: center;
  gap: .5rem;
  justify-content: center;
}

.game-card__team {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 1;
  min-width: 0;
}

.game-card__team--home {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.game-card__team--away {
  justify-content: flex-start;
}

.game-card__team-name {
  font-family: var(--font-headline);
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card__crest-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.game-card__crest {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.game-card__crest-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #dde3f0;
  border-radius: 50%;
  font-size: .6rem;
  font-weight: 700;
  color: #5a6a8a;
  text-transform: uppercase;
}

/* Placar / × central */
.game-card__score-center {
  flex-shrink: 0;
  text-align: center;
  min-width: 60px;
}

.game-card__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1;
}

.game-card__score-sep {
  color: #ccc;
  font-size: .9rem;
  font-weight: 400;
}

.game-card__footer-ge {
  margin-top: 0.65rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #e8edf5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 18px;
}

.ge-cta {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 900;
  color: #0e4993;
  /* Azul Barra para o CTA */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.game-card:hover .ge-cta {
  transform: translateY(-1px);
}

.ge-tv {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 800;
  color: #0e4993;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: rgba(14, 73, 147, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Ajustes Específicos para o Sidebar */
.matches-wdg__rows .game-card {
  padding: 0.65rem 0.75rem;
}

.matches-wdg__rows .ge-team {
  gap: 0.35rem;
}

.matches-wdg__rows .ge-team__crest {
  width: 28px;
  height: 28px;
}

.matches-wdg__rows .ge-team__name {
  font-size: 0.75rem;
}

.matches-wdg__rows .ge-placar {
  font-size: 1.25rem;
  min-width: 40px;
}

/* Ajustes Específicos para o Carrossel da Home */
.res-slide .game-card {
  padding: 0.75rem 0.5rem;
  border-bottom: none;
  background: transparent;
}

.res-slide .game-card__meta-ge {
  margin-bottom: 0.5rem;
}

.res-slide .ge-team__crest {
  width: 42px;
  height: 42px;
  /* Crests um pouco maiores no carrossel */
}

.res-slide .ge-placar {
  font-size: 1.75rem;
}

.game-card__versus {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #ccc;
}

.game-card__cta {
  display: block;
  text-align: center;
  font-family: var(--font-headline);
  font-size: .65rem;
  font-weight: 900;
  color: #00a859;
  /* GE Green */
  text-transform: uppercase;
  letter-spacing: .05rem;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #f0f2f5;
}

/* Footer: transmissão */
.game-card__footer {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-top: .1rem;
}

.game-card__tv {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .65rem;
  font-weight: 600;
  color: var(--c-blue);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* CTA */
.games-widget__cta {
  padding: .75rem 1rem;
  text-align: center;
  border-top: 1px solid #f0f2f7;
}

.gt-link-all {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-blue);
  transition: color var(--t-fast);
}

.gt-link-all:hover {
  color: var(--c-navy);
}

/* ─── SIDEBAR COMPACTA (homepage) ───────────────────────────────────────── */
.sidebar-block .gt-table-wrap {
  overflow-x: auto;
}

.sidebar-block .gt-table__col-hide-sm {
  display: none;
}

.sidebar-block .gt-table__col-form {
  display: none;
}

.sidebar-block .gt-table {
  font-size: .75rem;
}

.sidebar-block .gt-table__col-pos {
  min-width: 150px;
}

.sidebar-block .gt-team-name {
  max-width: 100px;
}

.sidebar-block .gt-legend {
  display: none;
}

.sidebar-block .gt-block__head {
  padding: 0;
  border-bottom: none;
}

/* ─── TABS DE COMPETIÇÃO ────────────────────────────────────────────────── */
.standings-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(255, 255, 255, .18);
  margin-bottom: 0;
}

.standings-tab {
  padding: .6rem 1.25rem;
  font-family: var(--font-headline);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .45);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--t-fast), border-color var(--t-fast);
  background: none;
}

.standings-tab:hover {
  color: var(--c-accent);
}

.standings-tab--active {
  color: var(--c-white);
  border-bottom-color: var(--c-accent);
}

.standings-panel {
  display: none;
}

.standings-panel--active {
  display: block;
}

/* ─── COPA DO BRASIL — CONFRONTOS/CHAVEAMENTO ───────────────────────────── */
.copa-bracket {
  padding: .75rem 0;
}

.copa-bracket__fase {
  margin-bottom: 1rem;
}

.copa-bracket__fase:last-child {
  margin-bottom: 0;
}

.copa-bracket__fase-hdr {
  padding: .5rem 1rem;
  background: #f2f4f7;
  border-left: 3px solid var(--c-blue);
  margin-bottom: .25rem;
}

.copa-bracket__fase-label {
  font-family: var(--font-headline);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-navy);
}

.copa-bracket__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.copa-bracket__confronto {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid #f0f2f7;
  transition: background var(--t-fast);
}

.copa-bracket__confronto:last-child {
  border-bottom: none;
}

.copa-bracket__confronto:hover {
  background: #f7f9fd;
}

.copa-bracket__confronto--barra {
  background: rgba(88, 161, 255, .07);
}

.copa-bracket__confronto--barra:hover {
  background: rgba(88, 161, 255, .13);
}

/* Time (mandante / visitante) */
.copa-bracket__team {
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}

.copa-bracket__team--away {
  flex-direction: row-reverse;
  text-align: right;
}

.copa-bracket__team--loser {
  opacity: .45;
}

.copa-bracket__crest-wrap {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copa-bracket__crest {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.copa-bracket__crest-ph {
  width: 22px;
  height: 22px;
  background: var(--c-blue);
  color: #fff;
  border-radius: 2px;
  font-size: .55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.copa-bracket__team-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copa-bracket__team-name--r {
  text-align: right;
}

.copa-bracket__score {
  font-family: var(--font-headline);
  font-size: .95rem;
  font-weight: 900;
  color: #8a9bb5;
  min-width: 1.2em;
  text-align: center;
  flex-shrink: 0;
}

.copa-bracket__score--win {
  color: var(--c-navy);
}

.copa-bracket__score--pend {
  color: #c0c9d8;
  font-size: .75rem;
}

/* Separador central */
.copa-bracket__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.copa-bracket__vs-sep {
  font-size: .7rem;
  font-weight: 700;
  color: #c0c9d8;
}

.copa-bracket__vs-date {
  font-size: .65rem;
  font-weight: 700;
  color: var(--c-blue);
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: center;
  line-height: 1.2;
}

.copa-bracket__vs-enc {
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #8a9bb5;
  text-transform: uppercase;
  background: #f0f2f7;
  padding: .15rem .35rem;
  border-radius: 2px;
}

/* ─── LAYOUT FULL WIDTH (para Copas sem tabela) ─────────────────────────── */
.gt-layout--full-games {
  display: block;
  /* Remove o grid para ser coluna única */
}

.gt-layout--full-games .gt-layout__table {
  display: none !important;
}

.gt-layout--full-games .gt-layout__games {
  max-width: 800px;
  margin: 0 auto;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .gt-layout {
    grid-template-columns: 1fr 290px;
  }
}

@media (max-width: 900px) {
  .gt-layout {
    grid-template-columns: 1fr;
  }

  /* Erro 2: garante que os filhos do grid não extrapolem o container */
  .gt-layout__table,
  .gt-layout__games {
    min-width: 0;
    overflow: hidden;
  }

  .gt-table__col-hide-sm {
    display: none;
  }

  .gt-team-name {
    max-width: 120px;
  }
}

@media (max-width: 600px) {
  .gt-table__col-form {
    display: none;
  }

  .gt-table__col-pct {
    display: none;
  }

  /* Erro 1: reduz min-width da coluna de classificação para caber em 390px */
  .gt-table__col-pos {
    min-width: 140px;
  }

  /* Erro 6: tabs compactas — cabe 2 por linha sem texto cortado */
  .standings-tab {
    font-size: .7rem;
    padding: .4rem .6rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(50% - .25rem);
  }

  /* Erro 7: fontes mínimas legíveis na tabela */
  .gt-table__head-row th {
    font-size: .7rem;
    padding: .4rem .3rem;
  }

  .gt-legend__item {
    font-size: .7rem;
  }

  .games-round__comp {
    font-size: .72rem;
  }

  .gt-team-name {
    font-size: .75rem;
    max-width: 100px;
  }
}

@media (max-width: 420px) {

  /* Erro 1 extra: em telas muito estreitas oculta colunas E e D para ganhar espaço */
  .gt-table__col-pos {
    min-width: 120px;
  }

  .gt-team-name {
    max-width: 80px;
  }
}

@media (max-width: 375px) {
  .gt-team-name {
    max-width: 65px;
    font-size: .7rem;
  }

  .games-nav__label {
    font-size: .7rem;
    max-width: 100px;
  }
}

/* ─── BRACKET / MATA-MATA (GE STYLE) ─────────────────────────────────────── */
.gdb-bracket-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: .5rem;
  padding: 1rem;
}

.gdb-bracket-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.gdb-bk-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  height: 44px;
}

.gdb-bk-team--barra {
  background-color: rgba(88, 161, 255, .07);
}

.gdb-bk-team--winner .gdb-bk-team__name {
  font-weight: 800;
}

.gdb-bk-team--loser {
  color: #888;
}

.gdb-bk-team--loser img {
  opacity: 0.6;
}

.gdb-bk-team__info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.gdb-bk-team__info img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.gdb-bk-team__name {
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gdb-bk-scores {
  display: flex;
  gap: 2px;
}

.gdb-bk-score-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: .85rem;
  font-weight: 700;
  border-radius: 3px;
}

.gdb-bk-score-box--leg {
  background: #f3f4f6;
  color: #4b5563;
}

.gdb-bk-score-box--agg {
  background: #e5e7eb;
  color: #111;
  font-weight: 800;
  margin-left: 4px;
}

.gdb-bk-score-box--pen {
  color: #d97706;
  font-size: .75rem;
  background: transparent;
  width: auto;
  padding: 0 2px;
}

.gdb-bk-score-box--pen.is-winner {
  font-weight: 900;
}

.gdb-bk-foot {
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  padding: 6px 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.gdb-bk-foot__link {
  font-size: .7rem;
  font-weight: 600;
  color: var(--c-blue);
  text-decoration: none;
  text-transform: uppercase;
}

.gdb-bk-foot__link:hover {
  color: var(--c-navy);
}

/* Tooltips */
.tooltip-parent {
  position: relative;
  cursor: help;
}

.tooltip-parent .tooltip {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 3px 6px;
  position: absolute;
  z-index: 10;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
}

.tooltip-parent:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 640px) {

  .game-card__matchup-ge {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(6px, 2vw, 12px);
    width: 100%;
  }

  .ge-team {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .ge-team--home {
    justify-content: flex-end;
    text-align: right;
  }

  .ge-team--away {
    justify-content: flex-start;
    text-align: left;
  }

  .ge-team__crest {
    width: clamp(28px, 8vw, 34px);
    height: clamp(28px, 8vw, 34px);
    object-fit: contain;
    flex-shrink: 0;
  }

  .ge-team__name {
    font-size: clamp(0.72rem, 2.8vw, 0.82rem);
    line-height: 1.2;
    font-weight: 600;

    min-width: 0;
    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ge-score-center {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 64px;
    padding-inline: 4px;
    flex-shrink: 0;
  }

  .ge-placar {
    font-size: clamp(1rem, 4vw, 1.25rem);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }

  /* evita quebra/layout torto */
  .matches-archive {
    overflow-x: hidden;
  }

  /* card mais compacto */
  .game-card {
    padding: 12px;
    border-radius: 18px;
  }

  /* metadata mais limpa */
  .game-card__meta {
    gap: 6px;
    font-size: 0.72rem;
    flex-wrap: wrap;
  }

  /* melhora botões touch */
  .liquid-glass-nav__btn {
    width: 40px;
    height: 40px;
  }
}