.match-lineups {
  margin-bottom: 16px;
}
.match-lineups__column {
  min-width: 0;
  background: #fff;
  padding: 5px;
  border-radius: 14px;
}
.match-lineups__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #232323;
}

.match-lineups__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.match-lineups__column {
  min-width: 0;
}

.match-lineups__column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f5f5f5;
  border-radius: 10px;
  margin-bottom: 12px;
}

a.match-lineups__column-header--link {
  text-decoration: none;
  color: inherit;
  transition: color 0.15s ease;
}

a.match-lineups__column-header--link:hover .match-lineups__team-name {
  color: var(--primary);
}

.match-lineups__team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.match-lineups__team-name {
  font-size: 14px;
  font-weight: 700;
  color: #232323;
}

.match-lineups__section {
  margin-top: 16px;
}

.match-lineups__section:first-of-type {
  margin-top: 0;
}

.match-lineups__section-title {
  font-size: 13px;
  font-weight: 700;
  color: #232323;
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.match-lineups__row {
  display: grid;
  grid-template-columns: 24px 32px 1fr 20px;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  color: #232323;
  text-decoration: none;
  transition: background 0.15s ease;
}
.match-lineups__row:last-child {
  border-bottom: none;
}
.match-lineups__row:hover {
  background: #f5f5f5;
}

.match-lineups__row--no-link {
  cursor: default;
}

.match-lineups__row--no-link:hover {
  background: transparent;
}

.match-lineups__shirt {
  font-size: 13px;
  font-weight: 600;
  color: #7d7d7d;
  text-align: center;
}

.match-lineups__avatar,
.match-lineups__avatar-placeholder {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.match-lineups__avatar {
  object-fit: cover;
}

.match-lineups__name {
  font-size: 14px;
  color: #232323;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.match-lineups__flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.match-lineups__flag-spacer {
  display: inline-block;
  width: 20px;
  height: 14px;
}

@media (max-width: 768px) {
  .match-lineups {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .match-lineups__title {
    font-size: 18px;
  }

  .match-lineups__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .match-lineups__row {
    grid-template-columns: 20px 28px 1fr 20px;
    gap: 8px;
    padding: 8px 10px;
  }

  .match-lineups__avatar,
  .match-lineups__avatar-placeholder {
    width: 28px;
    height: 28px;
  }

  .match-lineups__name {
    font-size: 13px;
  }
  .match-lineups__section-title {
    text-align: center;
  }
}
