/* The global champion database. */

.champions__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.champions__title {
  margin: 0;
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
}

.champions__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.champions__count {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--text-secondary);
}

.champions__empty {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-base);
}

.champions__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: var(--space-smd);
}

.champions__item {
  display: flex;
  align-items: center;
  gap: var(--space-smd);
  padding: var(--space-smd);
  background: var(--surface-card);
  border: var(--border-width) solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-control);
}

.champions__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

.champions__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  flex-shrink: 0;
  background: var(--surface-sunk);
  box-shadow: inset 0 0 0 1px rgba(20, 21, 26, 0.08);
}

.champions__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.champions__name {
  font-weight: var(--weight-semibold);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.champions__key {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  color: var(--text-tertiary);
}
