/* Multi-column lists must not inherit the two-column character table widths. */
#commands .game-list-table :is(th, td),
#systems .game-list-table :is(th, td),
#endings .game-list-table :is(th, td),
#unlockables .game-list-table :is(th, td) {
  width: auto;
  overflow-wrap: anywhere;
  vertical-align: top;
}

#commands .game-list-table :is(th, td):nth-child(1) { width: 20%; }
#commands .game-list-table :is(th, td):nth-child(2) { width: 25%; }
#commands .game-list-table :is(th, td):nth-child(3) { width: 17%; }
#commands .game-list-table :is(th, td):nth-child(4) { width: 38%; }

#systems .game-list-table :is(th, td):nth-child(1) { width: 13%; }
#systems .game-list-table :is(th, td):nth-child(2) { width: 20%; }
#systems .game-list-table :is(th, td):nth-child(3) { width: 25%; }
#systems .game-list-table :is(th, td):nth-child(4) { width: 42%; }

#endings .game-list-table :is(th, td):nth-child(1) { width: 14%; }
#endings .game-list-table :is(th, td):nth-child(2) { width: 18%; }
#endings .game-list-table :is(th, td):nth-child(3) { width: 26%; }
#endings .game-list-table :is(th, td):nth-child(4) { width: 17%; }
#endings .game-list-table :is(th, td):nth-child(5) { width: 25%; }

#unlockables .game-list-table :is(th, td):nth-child(1) { width: 17%; }
#unlockables .game-list-table :is(th, td):nth-child(2) { width: 17%; }
#unlockables .game-list-table :is(th, td):nth-child(3) { width: 14%; }
#unlockables .game-list-table :is(th, td):nth-child(4) { width: 24%; }
#unlockables .game-list-table :is(th, td):nth-child(5) { width: 28%; }

.game-list-card-summary {
  min-width: 0;
  padding: 9px 10px;
  overflow-wrap: anywhere;
}

#commands .game-list-card-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

#commands .game-list-card-value,
#commands .game-list-cell--command {
  color: var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
