.people-layout {
  max-width: 1500px;
}

.people-main {
  padding-bottom: 40px;
}

.people-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.people-controls {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.people-heading-row h1 {
  margin: 0 0 6px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.people-heading-row p {
  margin: 0;
  color: #aaa;
  line-height: 1.45;
}

.people-sort-label {
  display: grid;
  gap: 5px;
  min-width: 170px;
  color: #aaa;
  font-size: 12px;
}

.people-sort {
  width: 100%;
  border: 1px solid #333;
  border-radius: 9px;
  background: #111;
  color: #fff;
  padding: 9px 10px;
}

.people-status {
  min-height: 22px;
  margin: 12px 0;
  color: #aaa;
  font-size: 13px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 12px;
}

.people-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: #111;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.people-card-head {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.people-avatar-wrap {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid rgba(10,132,255,.75);
  background: #252525;
  color: #ddd;
  font-size: 20px;
  font-weight: 800;
}

.people-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.people-identity {
  min-width: 0;
}

.people-name {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.people-name:hover {
  color: #70b8ff;
}

.people-username,
.people-domain {
  overflow: hidden;
  color: #888;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.people-badges {
  display: grid;
  gap: 5px;
}

.people-badges-two {
  min-height: 22px;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas: "gender live";
}

.people-badges-three {
  min-height: 49px;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas:
    "verified live"
    "gender gender";
}

.people-badge-slot {
  min-width: 0;
  min-height: 22px;
  display: flex;
  align-items: center;
}

.people-badge-slot-verified { grid-area: verified; }
.people-badge-slot-live { grid-area: live; }
.people-badge-slot-gender { grid-area: gender; }

.people-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: #202020;
  color: #bbb;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.people-badge-verified {
  border-color: rgba(10,132,255,.4);
  background: rgba(10,132,255,.16);
  color: #8bc5ff;
}

.people-badge-live {
  border-color: rgba(179,92,255,.45);
  background: rgba(139,61,196,.2);
  color: #d8adff;
}

.people-gender {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 21px;
  color: #ddd;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.people-gender-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #393838;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.people-gender-male { background: #4da3ff; }
.people-gender-female { background: #ff2a8d; }
.people-gender-trans_male,
.people-gender-trans_female { background: #9e00ad; }
.people-gender-other { background: #9e0404; }
.people-gender-prefer_not_to_say { background: #8b5a2b; }
.people-gender-not_set { background: #393838; }

.people-details {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: #bbb;
  font-size: 12px;
  line-height: 1.35;
}

.people-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.people-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid #343434;
  border-radius: 8px;
  background: #1b1b1b;
  color: #eee;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.people-action:hover {
  background: #272727;
}

.people-action-primary {
  border-color: rgba(10,132,255,.5);
  background: rgba(10,132,255,.18);
}

@media (max-width: 768px) {
  .people-heading-row {
    flex-direction: column;
  }

  .people-controls {
    width: 100%;
  }

  .people-sort-label {
    flex: 1 1 165px;
  }

  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}

@media (max-width: 520px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
}
