.player-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  font-family: "Onest", sans-serif;
}

.player-table__title {
  margin: 0;
  color: #232323;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.player-table__body {
  padding: 4px 4px 0;
  border: 1px solid #f4f4f4;
  border-radius: 14px;
}

.player-table__head,
.player-table__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-table__head {
  padding: 16px 20px;
  border-radius: 10px;
  background: #f4f4f4;
}

.player-table__row {
  min-height: 50px;
  padding: 8px 20px;
  border-bottom: 1px solid #f4f4f4;
}

.player-table__col,
.player-table__cell {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.player-table__col {
  color: #7d7d7d;
  font-size: 14px;
  line-height: 1.3;
}

.player-table__date,
.player-table__value {
  color: #232323;
  font-size: 14px;
  line-height: 1.3;
}

.player-table__team {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #232323;
  text-decoration: none;
}

.player-table__logo {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.player-table__team-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.player-table__team-name {
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-table__team-country {
  overflow: hidden;
  color: #232323;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.player-table__team:hover {
  color: #6828ba;
}

.player-table__label {
  display: none;
  color: #7d7d7d;
  font-size: 10px;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .player-table__head,
  .player-table__row {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (max-width: 768px) {
  .player-table {
    gap: 12px;
    padding: 12px;
  }

  .player-table__title {
    font-size: 18px;
  }

  .player-table__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    border: none;
    border-radius: 0;
  }

  .player-table__head {
    display: none;
  }

  .player-table__row {
    display: grid;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 4px;
    border: 1px solid #f4f4f4;
    border-radius: 14px;
  }

  .player-table__label {
    display: block;
  }

  .player-table__date,
  .player-table__value,
  .player-table__team-name {
    font-size: 12px;
  }

  .player-table__team-country {
    font-size: 10px;
  }
}
