.matches-track {
  width: 90%;
  max-width: 900px;
  margin: 20px auto 40px;
}
.match-card {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas: 'time teams' 'meta meta';
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
}
.match-time {
  grid-area: time;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: --cinza-claro;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 600;
}
.match-day {
  margin-bottom: 2px;
}
.match-hour {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
}
.match-teams {
  grid-area: teams;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.team-home {
  justify-content: flex-start;
  text-align: left;
}
.team-away {
  justify-content: flex-end;
  text-align: right;
}
.team-badge {
  width: 34px;
  height: 34px;
  object-fit: contain;
  image-rendering: auto;
}
.team-info {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}
.team-sigla {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}
.team-nome {
  font-size: 0.82rem;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-form {
  display: flex;
  gap: 3px;
  margin-top: 2px;
}
.form-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0.52rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.form-v {
  background: #1ca24f;
}
.form-e {
  background: #d1a81f;
}
.form-d {
  background: #d44545;
}
.match-vs {
  font-weight: 800;
  font-size: 1.2rem;
  color: #222;
}
.match-meta {
  grid-area: meta;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
  font-size: 0.86rem;
  color: --cinza-claro;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.match-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.match-meta i {
  color: --cinza-claro;
}
.match-meta a {
  color: var(--laranja);
  text-decoration: none;
  font-weight: 600;
}
.match-meta a:hover {
  text-decoration: underline;
}
.partidas-empty {
  color: #777;
  text-align: center;
  margin-top: 20px;
}
.partidas-error {
  color: #d00;
  text-align: center;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .matches-track {
    width: 100%;
    max-width: 100%;
    margin: 16px auto 32px;
    padding: 0 10px;
  }
  .match-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 12px;
  }
  .match-time {
    align-items: center;
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
    font-size: 0.8rem;
  }
  .match-hour {
    font-size: 0.95rem;
    font-weight: 800;
  }
  .match-teams {
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
  }
  .team {
    flex: 1 1 0;
  }
  .team-home,
  .team-away {
    justify-content: center;
    text-align: center;
  }
  .team-info {
    align-items: center;
  }
  .team-nome {
    font-size: 0.78rem;
    max-width: 100%;
    text-align: center;
  }
  .team-form {
    justify-content: center;
    flex-wrap: nowrap;
  }
  .match-meta {
    font-size: 0.8rem;
    justify-content: flex-start;
    padding-top: 6px;
    margin-top: 2px;
  }
}
