/* Boxscore Águilas del Zulia 2025 | Estilo MLB Moderno */
.boxscore-wrapper {
  background-color: #FEF9F5;
  color: #141414;
  font-family: 'Poppins', sans-serif;
  padding: 25px;
  border-radius: 10px;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow-x: hidden;
}

.boxscore-header {
  background-color: #FD5315;
  color: #ffffff;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.boxscore-header h3 {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
}

.boxscore-meta {
  text-align: center;
  font-size: 14px;
  margin-bottom: 20px;
}

.boxscore-meta b {
  color: #141414;
}

h4 {
  background-color: #FD5315;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  margin: 45px 0 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Tablas --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  font-size: 14px;
}

th {
  background-color: #FD5315;
  color: #fff;
  text-align: center;
  padding: 6px;
  font-weight: 600;
  white-space: nowrap;
}

td {
  padding: 6px;
  text-align: center;
  border-bottom: 1px solid #e9e9e9;
  white-space: nowrap;
}

tr:nth-child(even) {
  background-color: #fff;
}

tr:nth-child(odd) {
  background-color: #FEF9F5;
}

.player-name {
  text-align: left;
  padding-left: 10px;
  font-weight: 500;
  white-space: normal;
}

pre {
  background: #ffffff;
  padding: 10px;
  border-radius: 5px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.4em;
}

.logo {
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .boxscore-wrapper {
    padding: 20px;
  }

  th, td {
    font-size: 12px;
    padding: 4px;
  }

  .boxscore-header h3 {
    font-size: 18px;
  }

  h4 {
    font-size: 14px;
    margin: 35px 0 12px;
  }

  /* scroll horizontal solo cuando se necesite */
  .boxscore-wrapper table {
    display: block;
    overflow-x: auto;
    width: 100%;
  }

  .boxscore-wrapper table::-webkit-scrollbar {
    height: 6px;
  }

  .boxscore-wrapper table::-webkit-scrollbar-thumb {
    background-color: #FD5315;
    border-radius: 10px;
  }

  .boxscore-wrapper table::-webkit-scrollbar-track {
    background-color: #f1f1f1;
  }
}

@media (max-width: 600px) {
  .boxscore-wrapper {
    padding: 15px;
  }

  th, td {
    font-size: 11px;
    padding: 3px;
  }

  h4 {
    font-size: 13px;
    margin: 25px 0 10px;
  }

  .boxscore-header h3 {
    font-size: 16px;
  }
}
.gamebox {
  background: #FEF9F5;
  color: #141414;
  font-family: 'Poppins', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FD5315;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  flex-wrap: wrap;
}

.game-header .team {
  text-align: center;
}

.game-header .team img {
  height: 70px;
  display: block;
  margin: 0 auto 5px;
}

.game-header .score {
  text-align: center;
  flex: 1;
}

.game-header .score h2 {
  font-size: 24px;
  margin: 5px 0;
}

.game-header .score p {
  margin: 0;
  font-size: 14px;
}

.game-section {
  margin-top: 30px;
}

.game-section h3 {
  background: #FD5315;
  color: #fff;
  text-align: center;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.columns {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.col {
  flex: 1 1 500px;
}

.col h4 {
  background: #141414;
  color: #fff;
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 3px;
  margin-bottom: 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th {
  background: #FD5315;
  color: #fff;
  padding: 6px;
  text-align: center;
}

td {
  border-bottom: 1px solid #eee;
  padding: 6px;
  text-align: center;
}

tr:nth-child(even) { background: #fff; }
tr:nth-child(odd) { background: #FEF9F5; }

.summary {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.6em;
}

@media (max-width: 768px) {
  .columns { flex-direction: column; }
  .game-header { flex-direction: column; gap: 10px; }
  .game-header .team img { height: 55px; }
  .game-header .score h2 { font-size: 20px; }
}
