/* ==========================================================================
   Hall of Fame — per-game ranking sections. Shared button/badge/empty-
   state styling comes from base.css.
   ========================================================================== */

.tg-hof-section {
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--color-border);
}

.tg-hof-section:last-of-type {
  border-bottom: none;
}

.tg-hof-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

.tg-hof-champion {
  background: var(--tg-pale-aqua);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
}

.tg-hof-champion--empty {
  background: var(--mist);
  color: var(--color-text-muted);
  text-align: center;
}

.tg-hof-local-best {
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.tg-hof-local-best strong {
  color: var(--color-text);
}

.tg-hof-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.tg-hof-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-bg-raised);
  border-radius: var(--radius-md);
}

.tg-hof-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-medium);
  background: var(--color-border);
  color: var(--color-text);
  flex-shrink: 0;
}

.tg-hof-rank-badge--gold {
  background: var(--tg-badge-gold);
  color: var(--tg-deep-green);
}

.tg-hof-rank-badge--silver {
  background: var(--tg-badge-silver);
  color: var(--tg-deep-green);
}

.tg-hof-rank-badge--bronze {
  background: var(--tg-badge-bronze);
  color: var(--tg-white);
}

.tg-hof-note {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  max-width: 60ch;
}
