.team-tabs {
  margin: 20px 0;
}

.team-tabs__nav {
  margin: 0 0 16px;
}

.team-tabs__panel[hidden] {
  display: none;
}

.team-tabs__panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.team-tabs__placeholder {
  text-align: center;
  color: #9ca3af;
  font-size: 15px;
  padding: 48px 16px;
}

.team-tab-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-tab-section__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #232323;
}

.team-tab-section__empty {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  color: #7d7d7d;
  font-size: 14px;
  text-align: center;
}

.team-tabs__banner {
  border-radius: 18px;
  overflow: hidden;
}

.team-tabs__banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.matches-table--team {
  background: transparent;
}

.matches-table--team .matches-table__odds-label:last-child {
  border-radius: 10px;
}

.matches-table--team .matches-table__body {
  gap: 8px;
}

.matches-table--team .matches-table__row {
  overflow: hidden;
}

.matches-table--team .matches-table__row-header,
.matches-table--team a.matches-table__row-header.matches-table__match-link {
  border-bottom-color: #f1f3f5;
}

.matches-table--team .matches-table__match-info {
  padding: 12px 14px;
}

.matches-table--team .matches-table__time {
  width: 56px;
}

.matches-table--team .matches-table__separator {
  min-width: 28px;
}

.matches-table--team .matches-table__odd {
  width: 128px;
  border-left: none;
}

.matches-table--team .matches-table__odd-inner {
  width: 100%;
  justify-content: center;
  padding: 8px 12px;
}

.matches-table--team
  .matches-table__row[data-status="finished"]
  .matches-table__match-info {
  justify-content: center;
}

.matches-table--team
  .matches-table__row[data-status="finished"]
  .matches-table__time {
  display: none;
}

@media (max-width: 768px) {
  .team-tabs__panels {
    padding: 16px;
    border-radius: 10px;
  }

  .team-tabs__placeholder {
    padding: 32px 12px;
  }

  .team-tab-section__title {
    font-size: 18px;
  }

  .matches-table--team .matches-table__header {
    display: none;
  }

  .matches-table--team .matches-table__row-header,
  .matches-table--team a.matches-table__row-header.matches-table__match-link {
    padding: 8px 16px;
    font-size: 12px;
  }
}
