/* =========================================================================
   Leaderboard page
   =========================================================================
   Filter section labels, the staff-account toggle, and table-cell link
   styling that layers on top of the shared .saga-table / .saga-chip system.
   ========================================================================= */

.lb-header {
  margin-bottom: 1.5rem;
}

.lb-subtitle {
  color: var(--sg-ink-muted);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.lb-filters {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lb-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.lb-filter__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sg-ink-muted);
  margin: 0;
}

.lb-filter__note {
  font-size: 0.75rem;
  color: var(--sg-ink-faint);
}

/* ---- Staff-account toggle ---------------------------------------------- */

.lb-staff-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--sg-ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.lb-staff-toggle input {
  margin-top: 0.15rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--sg-accent);
  pointer-events: none;
}

/* ---- Table cell links --------------------------------------------------- */

.saga-table a.lb-link {
  color: inherit;
  text-decoration: none;
}

.saga-table a.lb-link:hover {
  color: var(--sg-ink-strong);
  text-decoration: underline;
}

.saga-table a.lb-rank {
  color: var(--sg-accent-strong);
  font-weight: 600;
  text-decoration: none;
}

.saga-table a.lb-rank:hover {
  text-decoration: underline;
}

/* players/jobs columns wrap rather than force a wide scroll */
.saga-table td.lb-wrap {
  white-space: normal;
}
