.league-choice-section {
  margin-top: 28px;
}

.league-choice-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.league-choice-heading span {
  color: var(--muted-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.league-choice-heading small {
  color: var(--muted);
  font-size: 9px;
}

.league-choice-tabs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.league-choice-tabs button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  gap: 3px;
  grid-template-columns: auto 1fr auto;
  min-height: 64px;
  padding: 11px 14px;
  text-align: left;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}

.league-choice-tabs button:hover {
  border-color: var(--line);
  transform: translateY(-1px);
}

.league-choice-tabs button.active {
  background: #c7f65b0d;
  border-color: #c7f65b75;
  box-shadow: inset 0 0 0 1px #c7f65b1a;
  color: var(--text);
}

.league-choice-flag {
  font-size: 20px;
  grid-row: 1 / 3;
  margin-right: 5px;
}

.league-choice-tabs strong {
  color: var(--text);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.league-choice-tabs small {
  color: var(--muted-2);
  font-size: 8px;
}

.league-choice-tabs b {
  align-self: center;
  background: var(--surface-3);
  border-radius: 999px;
  color: var(--lime);
  font-size: 9px;
  grid-column: 3;
  grid-row: 1 / 3;
  min-width: 30px;
  padding: 5px 8px;
  text-align: center;
}

.league-choice-tabs button.active b {
  background: var(--lime);
  color: #10151b;
}

.league-club-caption {
  align-items: center;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  margin: 28px 0 12px;
  padding-bottom: 10px;
}

.league-club-caption strong {
  font-size: 14px;
}

.league-club-caption span {
  color: var(--muted);
  font-size: 9px;
}

@media (max-width: 850px) {
  .league-choice-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .league-choice-heading,
  .league-club-caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .league-choice-tabs {
    grid-template-columns: 1fr;
  }
}
