.people-league {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  line-height: 1.15;
  margin: 0 0 var(--space-2);
}

.people-standings {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aml-standing {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-3);
}

.aml-standing--delta {
  grid-template-columns: 2.75rem minmax(0, 1fr) auto auto;
}

.aml-standing__place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  font-weight: 650;
}

.aml-standing__who {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.aml-standing__name {
  overflow-wrap: anywhere;
}

.aml-standing__delta {
  color: var(--color-text-2);
  font-size: var(--text-sm);
}



.people-member {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}

.people-member__who {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1 1 12rem;
  min-width: 0;
  min-height: 44px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 650;
}

.people-member__who strong { overflow-wrap: anywhere; }

.people-member__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.people-menu {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.people-menu .aml-btn { width: 100%; justify-content: flex-start; }

.people-invite {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.people-invite h2 {
  flex: 1 1 100%;
  margin: 0;
  font-size: var(--text-lg);
}

.people-invite__token {
  flex: 1 1 12rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.people-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.people-profile .aml-avatar {
  width: 4rem;
  height: 4rem;
  font-size: var(--text-lg);
}

.people-leagues {
  list-style: none;
  margin: 0;
  padding: 0;
}

.people-leagues li { margin-bottom: var(--space-2); }

.people-settings section { margin-bottom: var(--space-6); }

/* V-1c: quiet lists, semantic Survivor marks, and one wrap card at a time. */
.people-page h1 { margin-bottom: var(--space-5); }
.people-standings .aml-row,
.people-page .survivor-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-line);
  border-radius: 0;
  margin: 0;
  padding: var(--space-4) 0;
}
.aml-standing__place,
.aml-standing__points,
.aml-standing__delta,
.people-strikes,
.people-wrap-count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.aml-standing__place { color: var(--color-text-3); }
.people-strikes { display: flex; gap: var(--space-1); margin-left: auto; }
.people-strike { display: inline-flex; color: var(--color-text-3); }
.people-strike:not(.people-strike--on) { opacity: .4; }
.people-strike--on, .people-bubble { color: var(--phase-strike); }
.people-bubble, .people-jury { font-size: var(--text-sm); }
.people-jury { display: inline-flex; align-items: center; gap: var(--space-1); }
.survivor-row p { font-family: var(--font-mono); font-size: var(--text-sm); }
.survivor-row--jury, .survivor-row--jury p { color: var(--color-text-3); }
.people-season { margin: var(--space-4) 0 var(--space-5); }
.people-season h2 { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xl); margin: 0; }
.people-season p { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: var(--text-sm); margin: var(--space-2) 0 0; color: var(--color-text-2); }
.people-page .survivor-celebrate { background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-line); }
.people-page .survivor-seasons { margin-bottom: var(--space-5); }
.people-page .survivor-seasons li { padding: var(--space-3) 0; border-bottom: 1px solid var(--color-line); }
.people-season-wins { counter-reset: season-rank; }
.people-season-wins li { counter-increment: season-rank; display: flex; align-items: center; gap: var(--space-3); }
.people-season-wins li::before { content: counter(season-rank); font-family: var(--font-mono); color: var(--color-text-3); }
.people-season-wins li > :first-child { flex: 1; }
.people-invite { background: var(--color-surface); margin-bottom: var(--space-5); }
.people-invite__token { font-family: var(--font-mono); font-size: var(--text-sm); }
.people-profile h1, .people-profile h2, .people-profile p { margin: 0; }
.people-profile > p { color: var(--color-text-2); overflow-wrap: anywhere; }
.people-profile > h2 { margin-top: var(--space-3); }
.people-profile .people-leagues { width: 100%; }
.people-leagues li { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); border-bottom: 1px solid var(--color-line); padding: var(--space-3) 0; margin: 0; }
.people-leagues li a { flex: 1; min-height: 44px; display: inline-flex; align-items: center; color: var(--color-text); }
.people-settings section { border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-4); background: var(--color-surface); margin-bottom: var(--space-4); }
.people-settings section h2 { font-family: var(--font-ui); font-size: var(--text-md); margin: 0 0 var(--space-3); }
.people-settings section p { color: var(--color-text-2); overflow-wrap: anywhere; }
.people-settings section p:last-child { margin-bottom: 0; }
.people-settings .aml-segment { width: 100%; }
.people-settings .aml-segment button { flex: 1; }
.people-wrap .rest-wrap { gap: var(--space-4); }
.people-wrap .people-wrap-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--space-2); }
.people-wrap-tabs button { flex: 0 0 auto; white-space: nowrap; }
.people-wrap .people-wrap-tabs button[aria-selected="false"] { background: transparent; color: var(--color-text-2); border-color: var(--color-line-strong); }
.people-wrap .people-wrap-tabs button[aria-selected="true"] { background: var(--color-surface-raised); color: var(--color-text); border-color: var(--color-text-3); }
.people-wrap-card, .people-wrap .people-wrap-card { display: flex; flex-direction: column; justify-content: center; min-height: 20rem; padding: var(--space-5); }
.people-wrap-card h2, .people-wrap-card h3 { font-family: var(--font-display); font-size: var(--text-3xl); line-height: 1.15; margin: 0 0 var(--space-4); }
.people-wrap-card p { color: var(--color-text-2); margin: 0; }
.people-wrap .people-wrap-card { touch-action: pan-y; margin: 0; }
.people-wrap-count { color: var(--color-text-3); margin: 0; }
.people-wrap .rest-actions { justify-content: space-between; }
@media (max-width: 47.99rem) {
  .people-wrap .people-wrap-card { min-height: 45svh; }
  .people-member__tags { flex: 1 1 100%; order: 3; }
  .people-settings section { padding: var(--space-4); }
}

.avatar-options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.aml-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar-options [aria-pressed="true"] { outline: 3px solid var(--color-brand); outline-offset: 2px; }
