/* Dashboard stats: render the final three-card layout. */
.hero + .stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  opacity: 1;
  visibility: visible;
}

/* Admin permission matrix: keep the Player column after Viewer and aligned with the other role columns. */
.permission-table {
  overflow-x: auto;
}
.permission-head,
.permission-row {
  grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(120px, 1fr)) !important;
  align-items: center;
}
.permission-head > *,
.permission-row > * {
  min-width: 0;
}
.permission-head > b,
.permission-row > .perm-toggle {
  justify-self: center;
}

@media (max-width: 760px) {
  .hero + .stats {
    grid-template-columns: 1fr;
  }
}
