/* FVDF - Faixa de placares ao vivo (ver assets/fvdf-scores.js)
   Consome a API pública do Placarsoft (mesmo sistema usado em
   fvdf.digital.esp.br) e mostra os jogos direto na Home do fvdf.com.br. */

.fvdf-scores {
  position: relative;
  background: #21266E;
  padding: 10px 0;
  margin: 0 0 20px;
  font-family: 'Manrope', Roboto, sans-serif;
}

.fvdf-scores__label {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #E7D303;
  color: #21266E;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: .03em;
  white-space: nowrap;
  z-index: 2;
}

.fvdf-scores__track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 16px 0 132px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.fvdf-scores__track::-webkit-scrollbar {
  display: none;
}

.fvdf-scores__card {
  flex: 0 0 auto;
  display: block;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 12px;
  text-decoration: none;
  color: #ffffff;
  transition: background .15s ease, transform .15s ease;
}

.fvdf-scores__card:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.fvdf-scores__competition {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.fvdf-scores__match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fvdf-scores__team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  min-width: 0;
}

.fvdf-scores__team img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex: 0 0 auto;
}

.fvdf-scores__score {
  font-weight: 800;
  font-size: 0.85rem;
  color: #E7D303;
  flex: 0 0 auto;
}

.fvdf-scores__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
}

.fvdf-scores__status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: .02em;
}

.fvdf-scores__status--done {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.fvdf-scores__status--upcoming {
  background: #2A9540;
  color: #ffffff;
}

@media (max-width: 640px) {
  .fvdf-scores__label {
    position: static;
    display: inline-flex;
    margin: 0 16px 8px;
    border-radius: 6px;
  }
  .fvdf-scores__track {
    padding: 0 16px;
  }
}
