/* Team badge — captain-picked icon + colour (or initials). Colour comes from
   --tb-hue so every team keeps one identity across the site; mixed with theme
   tokens so it stays readable in light and dark themes. */
.team-badge {
  --tb-c: hsl(var(--tb-hue, 38) 72% 52%);
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: 0.95rem;
  background: color-mix(in srgb, var(--tb-c) 20%, var(--surface, #17181d));
  color: color-mix(in srgb, var(--tb-c) 68%, var(--text, #fff));
  border: 1px solid color-mix(in srgb, var(--tb-c) 45%, var(--line, #2a2c35));
  user-select: none;
}
.team-badge i { font-size: 1.15em; line-height: 1; }
.team-badge.tb-xs { width: 22px; height: 22px; border-radius: 7px; font-size: 0.6rem; }
.team-badge.tb-sm { width: 32px; height: 32px; border-radius: 10px; font-size: 0.78rem; }
.team-badge.tb-lg { width: 56px; height: 56px; border-radius: 16px; font-size: 1.15rem; }
.team-badge.tb-xl { width: 88px; height: 88px; border-radius: 24px; font-size: 1.8rem; border-width: 2px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--tb-c) 22%, transparent); }
.team-badge.tb-xl i { font-size: 1.3em; }
.team-badge.is-round { border-radius: 50%; }
