/* GENERATED by frontend/scripts/ui-contract-css.mjs from the game's own
   component styles (ADR-0039). Do not edit: change the SCSS and rerun. */
/* src/app/shared/ui/player-photo/player-photo.scss */
@charset "UTF-8";
/* Circular, fixed-size, and the same box whether it holds a photograph or the
   initials — so a list of squad rows has one alignment and never reflows when
   an import lands or a photo is withdrawn. */
app-player-photo .photo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--bg-elev-2);
  color: var(--text-muted);
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

app-player-photo .photo--sm {
  width: 28px;
  height: 28px;
  font-size: var(--fs-2xs);
}

app-player-photo .photo--md {
  width: 40px;
  height: 40px;
  font-size: var(--fs-md);
}

app-player-photo .photo__img {
  width: 100%;
  height: 100%;
  /* cover, unlike a crest: a headshot is a photograph of a face, already
     framed for it, and letterboxing one inside a circle looks broken. */
  object-fit: cover;
  display: block;
}

/* src/app/features/tables/leaders-card/leaders-card.scss */
app-leaders-card {
  display: block;
}

app-leaders-card .leaders {
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
}

app-leaders-card .leaders__title {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-md);
  font-weight: 700;
}

app-leaders-card .leaders__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

app-leaders-card .leaders__row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-2);
}
app-leaders-card .leaders__row + .leaders__row {
  border-top: 1px solid var(--border);
}

app-leaders-card .leaders__pos {
  flex: 0 0 2ch;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  text-align: end;
}

app-leaders-card .leaders__who {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}

app-leaders-card .leaders__name,
app-leaders-card .leaders__club-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

app-leaders-card .leaders__name {
  font-weight: 600;
}

app-leaders-card .leaders__club {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  min-width: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

app-leaders-card .leaders__total {
  flex: 0 0 auto;
  min-width: 4ch;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-align: center;
}

app-leaders-card .leaders__total--top {
  background: var(--accent);
  color: var(--accent-ink);
}

app-leaders-card .leaders__more {
  margin-top: var(--space-2);
}
