/* Live player numbers on the home page (2 Nov 2026). Filled in by
   js/live-numbers.js and hidden until there is something to show. */

.live-numbers {
  /* Flex rather than a fixed 4-column grid (3 Nov 2026), so the tiles share
     the row evenly when "Searching" or "In a match" is hidden at 0. */
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  max-width: 560px;
}
.live-number {
  flex: 1 1 0;
  min-width: 0;
}
.live-numbers[hidden],
.live-number[hidden] {
  display: none;
}
.live-number {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-2);
  background: var(--color-surface);
}
.live-number__value {
  font-family: var(--font-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-600);
  line-height: 1;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.live-number__label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--fs-100);
  font-weight: var(--fw-medium);
  white-space: nowrap;
}
/* A small green dot on the live ones, so it reads as "right now". */
.live-number--live .live-number__label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: var(--radius-full);
  background: var(--color-success);
  box-shadow: 0 0 0 3px var(--color-success-muted);
}

@media (max-width: 560px) {
  .live-number {
    flex: 1 1 calc(50% - var(--space-3));
  }
}
