/* Computer players in the lobby: the host's row of level buttons, and a computer's own row. */
.bots {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.bots[hidden] {
  display: none;
}

.bots__row {
  display: grid;
  /* The label above, then the six levels in two rows of three, easiest first. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: var(--space-2);
}

.bots__label {
  grid-column: 1 / -1;
  padding-right: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
}

.bots__add {
  min-width: 0;
  padding: 0 var(--space-1);
  font-size: var(--text-sm);
}

/* Room for three lines, so the list below never shifts when the words change. */
.bots__hint {
  min-height: 4.2em;
  font-size: var(--text-xs);
  line-height: 1.4;
}

/* A full-size target that still leaves a computer's row the height of a person's. */
.player__remove {
  flex: none;
  margin: -1px calc(var(--space-3) * -1) -1px 0;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
}

/* The host's Learner toggle sits before Kick, so it keeps its own right edge. */
.player__learner {
  margin-right: 0;
}

.player__learner[aria-pressed='true'] {
  color: var(--ok);
}
