/**
 * Neopoet Chat attendee facepile ("People going" list).
 */

.npchat-facepile {
  font-family: var(--np-font-sans, sans-serif);
  font-size: var(--np-text-sm, 0.875rem);
  color: var(--np-color-text-primary, #2c2620);
  margin: 12px 0;
}

.npchat-facepile__heading {
  font-size: var(--np-text-sm, 0.875rem);
  font-weight: 600;
  margin: 0 0 8px;
}

.npchat-facepile__anon,
.npchat-facepile__empty {
  color: var(--np-color-text-secondary, #6b6355);
}

.npchat-facepile__anon a {
  color: var(--np-color-accent-deep, #b8431f);
  text-decoration: underline;
}

.npchat-facepile__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.npchat-facepile__item {
  display: flex;
}

.npchat-facepile__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--np-color-text-primary, #2c2620);
  text-decoration: none;
}

.npchat-facepile__link:hover .npchat-facepile__name {
  text-decoration: underline;
}

.npchat-facepile__avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: var(--np-text-xs, 0.75rem);
  font-weight: 600;
  overflow: hidden;
  flex-shrink: 0;
}

.npchat-facepile__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.npchat-facepile__badge {
  font-size: var(--np-text-xs, 0.75rem);
  color: var(--np-color-accent-deep, #b8431f);
  border: 1px solid var(--np-color-accent-deep, #b8431f);
  border-radius: var(--np-radius-sm, 4px);
  padding: 1px 6px;
}

.npchat-facepile__more {
  margin-top: 8px;
}

.npchat-facepile__more summary {
  cursor: pointer;
  color: var(--np-color-accent-deep, #b8431f);
  font-size: var(--np-text-xs, 0.75rem);
}

.npchat-facepile__list--overflow {
  margin-top: 8px;
}
