.caja-futbol {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.6em;
  max-width: 100%;
  width: 100%;
  margin-bottom: 6px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  padding: 6px;
}

.caja-futbol .futbol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.futbol-card {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: transform .12s, box-shadow .12s;
  border: 1px solid rgba(0, 0, 0, .04);
}

.futbol-card:focus,
.futbol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
  outline: none;
}

.card-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

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

.team .name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 13ch;
  font-weight: 600;
  color: #111;
}

.score {
  font-weight: 800;
  color: #0a0a0a;
}

.team.winner .name {
  color: #0b6623
}

.futbol-empty {
  padding: 12px;
  color: #666;
}

.futbol-card .sep {
  margin: 0 8px;
  color: #888;
}

.futbol-card .goles-local,
.futbol-card .goles-visit {
  min-width: 20px;
  text-align: center;
  display: inline-block;
}

.caja-futbol .flag,
.caja-futbol .team .flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
  font-size: 2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1;
}
