/* Players: the lists of registered players. On a narrow screen each row stacks into its own
   block and every cell names its column. */
.player-grid tbody th { color: var(--ink); font-size: inherit; text-transform: none; }
.player-grid .registrant { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.4rem; }
.player-grid .rows > li { padding: 0.15rem 0; border-bottom: 0; }
.player-grid .plain-list, .allowlist-accounts { list-style: none; margin: 0; padding: 0; }

@media (max-width: 52rem) {
  /* Off screen instead of hidden, so screen readers still get the column names. */
  .player-grid thead { position: absolute; left: -999rem; }
  .player-grid, .player-grid tbody, .player-grid tr, .player-grid th, .player-grid td { display: block; }
  .player-grid tr { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
  .player-grid tr:last-child { border-bottom: 0; }
  .player-grid th, .player-grid td { border-bottom: 0; overflow-wrap: anywhere; }
  .player-grid td::before { content: attr(data-label); display: block; font-weight: 600; color: var(--muted); }
}
