/* === PRÓXIMOS JOGOS === */
.hero-sidebar > div:last-child {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pj-wrap {
  background: var(--card);
  border-radius: 12px;
  padding: 24px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pj-titulo {
  margin-bottom: 20px;
}

.pj-titulo p:first-child {
  font-size: 28px;
  font-weight: 900;
  color: var(--texto);
  text-transform: uppercase;
  line-height: 1;
  font-family: var(--font-titulo);
  letter-spacing: 0.02em;
}

.pj-titulo p:last-child {
  font-size: 28px;
  font-weight: 900;
  color: var(--amarelo);
  text-transform: uppercase;
  line-height: 1.1;
  font-family: var(--font-titulo);
  letter-spacing: 0.02em;
}

.pj-lista {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.pj-lista::-webkit-scrollbar {
  width: 4px;
}
.pj-lista::-webkit-scrollbar-track {
  background: var(--bg);
}
.pj-lista::-webkit-scrollbar-thumb {
  background: var(--verde-profundo);
  border-radius: 2px;
}
.pj-lista::-webkit-scrollbar-thumb:hover {
  background: var(--verde-neon);
}

/* Layout: [dia] [info] [botão] — sempre em linha */
.pj-jogo {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--borda-sutil);
}

.pj-jogo:last-child {
  border-bottom: none;
}

.pj-dia {
  background: var(--verde-profundo);
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
}

.pj-dia-nome {
  font-size: 11px;
  font-weight: 900;
  color: var(--verde-neon);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pj-hora {
  font-size: 11px;
  font-weight: 600;
  color: var(--texto-muted);
}

.pj-info {
  min-width: 0;
}

.pj-times {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.pj-time-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pj-esc {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.pj-sigla {
  font-size: 13px;
  font-weight: 800;
  color: var(--texto);
  white-space: nowrap;
}

.pj-palpite-gol {
  font-size: 13px;
  font-weight: 900;
  color: var(--verde-neon);
  display: none;
}

.pj-palpite-gol.vis {
  display: inline;
}

.pj-vs {
  font-size: 11px;
  font-weight: 600;
  color: var(--texto-muted);
  margin: 0 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pj-comp {
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.pj-btn {
  background: none;
  border: 1px solid var(--borda-forte);
  color: var(--texto);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pj-btn:hover {
  border-color: var(--verde-neon);
  color: var(--verde-neon);
}
.pj-btn.ativo {
  border-color: var(--verde-neon);
  color: var(--verde-neon);
  background: var(--bg);
}

/* === RESPONSIVO === */
@media (max-width: 480px) {
  .pj-wrap {
    padding: 20px 16px 16px;
  }

  /* Sobrescreve o grid — vira flex coluna */
  .pj-jogo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    padding: 16px 0;
  }

  /* Dia/hora em linha, largura total */
  .pj-dia {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 12px;
    min-width: unset;
  }

  .pj-dia-nome {
    font-size: 12px;
  }
  .pj-hora {
    font-size: 12px;
  }

  /* Times em linha horizontal, largura total */
  .pj-info {
    width: 100%;
  }

  .pj-times {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .pj-vs {
    margin: 0;
  }

  .pj-comp {
    margin-top: 4px;
    text-align: center;
  }

  /* Botão largura total, abaixo dos times */
  .pj-btn {
    width: 100%;
    text-align: center;
    padding: 10px;
  }
}
