.slide-background {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.roster-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  container-type: inline-size;
  background: #111;
}

.roster {
  position: absolute;
  inset: 47% 18% 26%;
  display: grid;
  place-items: center;
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', sans-serif;
  color: white;
  text-align: center;
  text-shadow: 0 .12em .35em rgb(0 0 0 / 48%);
}

.roster[hidden] {
  display: none;
}

.roster-list {
  display: grid;
  width: 100%;
  gap: .38cqw .8cqw;
  margin: 0;
  padding: 0;
  align-items: center;
  list-style: none;
}

.roster-columns-1 {
  grid-template-columns: minmax(0, 1fr);
  font-size: 2.5cqw;
}

.roster-columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 2.18cqw;
}

.roster-columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: 2.48cqw;
}

.roster-name {
  min-width: 0;
  font-weight: 700;
  line-height: 1.05;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.roster-empty,
.roster-count {
  margin: 0;
  font-size: 1.45cqw;
}

.roster-count {
  position: absolute;
  inset: auto 0 -1.6cqw auto;
  font-variant-numeric: tabular-nums;
}
