@media (min-width: 768px) {
  .match-card-common {
    border-bottom: 1px solid black;
  }
  
  .match-card-item:first-child .match-card-common {
    border-top: 1px solid black;
  }
  
  .match-card-item:not(:first-child) .match-card-common {
    border-top: none;
  }
}

.match-score-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 22px;
  gap: 0;
  flex-shrink: 0;
}

.match-score {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: 0px;
  text-align: center;
  color: white;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-score-separator {
  font-size: 16px;
  line-height: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  color: #9CA3AF;
}

@media (min-width: 768px) {
  .match-score {
    color: #3C3C3C;
  }
  
  .match-score-separator {
    color: black;
  }
}

.match-time {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  color: #7F808B;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .match-time {
    color: #7F808B;
  }
}

.match-special-time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 18.5px;
  padding: 3.76px 7.52px;
  gap: 7.52px;
  border-radius: 24.46px;
  border: 0.94px solid #4FD870;
  background-color: rgba(79, 216, 112, 0.1);
  color: #4FD870;
  font-family: Inter, sans-serif;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .match-list-mobile .match-card-item {
    margin: 0;
  }

  .match-list-mobile .match-card-item:first-child {
    border-top: 1px solid #303139;
  }

  .match-list-mobile .match-card-item {
    border-bottom: 1px solid #303139;
  }
}

@media (max-width: 767px) {
  .match-list-mobile {
    padding-bottom: 20px;
  }
}

/* Убираем границы и отступы у карточек в контейнерах турниров, используем только разделители */
#tournament-results-container .match-card-item,
#tournament-fixtures-container .match-card-item {
  border-bottom: none !important;
  border-top: none !important;
}

/* Убираем margin-bottom у карточек в контейнерах турниров */
#tournament-results-container .match-card-common.mb-3,
#tournament-fixtures-container .match-card-common.mb-3,
#tournament-results-container .match-card-common[class*="mb-"],
#tournament-fixtures-container .match-card-common[class*="mb-"] {
  margin-bottom: 0 !important;
}

#tournament-results-container .match-card-common,
#tournament-fixtures-container .match-card-common {
  margin-bottom: 0 !important;
  border-bottom: none !important;
  border-top: none !important;
}

@media (min-width: 768px) {
  #tournament-results-container .match-card-common,
  #tournament-fixtures-container .match-card-common {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    border-top: none !important;
  }
}

/* Убираем границы и отступы у карточек в контейнерах команд, используем только разделители */
#team-matches-container .match-card-item,
#team-fixtures-container .match-card-item {
  border-bottom: none !important;
  border-top: none !important;
}

/* Убираем margin-bottom у карточек в контейнерах команд */
#team-matches-container .match-card-common.mb-3,
#team-fixtures-container .match-card-common.mb-3,
#team-matches-container .match-card-common[class*="mb-"],
#team-fixtures-container .match-card-common[class*="mb-"] {
  margin-bottom: 0 !important;
}

#team-matches-container .match-card-common,
#team-fixtures-container .match-card-common {
  margin-bottom: 0 !important;
  border-bottom: none !important;
  border-top: none !important;
}

@media (min-width: 768px) {
  #team-matches-container .match-card-common,
  #team-fixtures-container .match-card-common {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    border-top: none !important;
  }
}

/* Убираем границы и отступы у карточек в контейнерах игроков, используем только разделители */
#latest-matches-container .match-card-item,
#upcoming-matches-container .match-card-item {
  border-bottom: none !important;
  border-top: none !important;
}

/* Убираем margin-bottom у карточек в контейнерах игроков */
#latest-matches-container .match-card-common.mb-3,
#upcoming-matches-container .match-card-common.mb-3,
#latest-matches-container .match-card-common[class*="mb-"],
#upcoming-matches-container .match-card-common[class*="mb-"] {
  margin-bottom: 0 !important;
}

#latest-matches-container .match-card-common,
#upcoming-matches-container .match-card-common {
  margin-bottom: 0 !important;
  border-bottom: none !important;
  border-top: none !important;
}

@media (min-width: 768px) {
  #latest-matches-container .match-card-common,
  #upcoming-matches-container .match-card-common {
    margin-bottom: 0 !important;
    border-bottom: none !important;
    border-top: none !important;
  }
}