.profile-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.profile-list {
  --card-surface: var(--surface, #f6f6f7);
  --card-soft: var(--profile-card-soft, #ebebed);
  background: var(--card-surface);
  border: 1px solid var(--line, #e3e3e6);
  border-radius: 20px;
  min-width: 0;
  position: relative;
  align-self: start;
}
.profile-list, .profile-list * { box-sizing: border-box; }
.profile-list-main {
  color: var(--ink, #191919);
  display: block;
  padding: 20px;
  border-radius: inherit;
}
.profile-list-main:hover { text-decoration: none; }
.profile-list-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: start;
  gap: 12px;
}
.profile-list-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.profile-list-identity > svg { flex: none; width: 24px; height: 24px; }
.profile-list-heading { min-width: 0; }
.profile-list h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.profile-list-navigation-column { width: 44px; height: 44px; }
.profile-list-chevron {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  justify-items: end;
  align-items: start;
  width: 44px;
  height: 44px;
  color: var(--muted, #717174);
}
.profile-list-chevron > svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  background: var(--card-soft);
  border-radius: 50%;
}
.profile-covers {
  --cover-width: min(calc(100cqw / 4.36), 112px);
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
.profile-cover-slot {
  display: block;
  position: relative;
  flex: 0 0 var(--cover-width);
  width: var(--cover-width);
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  transform: perspective(calc(var(--cover-width) * 1.5 / 0.65)) rotateY(-6deg);
  box-shadow: 1px 0 1px #00000014, 2px 4px 7px #00000029;
}
.profile-cover-slot + .profile-cover-slot { margin-inline-start: calc(var(--cover-width) * -0.16); }
.profile-cover-slot:nth-child(1) { z-index: 5; }
.profile-cover-slot:nth-child(2) { z-index: 4; }
.profile-cover-slot:nth-child(3) { z-index: 3; }
.profile-cover-slot:nth-child(4) { z-index: 2; }
.profile-cover-slot:nth-child(5) { z-index: 1; }
.profile-cover {
  display: grid;
  place-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--card-soft);
  overflow: hidden;
}
.profile-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0.5px solid #ffffff26;
  border-radius: inherit;
  pointer-events: none;
}
.profile-cover > svg { width: 28px; height: 28px; color: var(--muted, #717174); }
.profile-cover img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.profile-cover img[hidden] { display: none; }
.profile-overflow {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-inline: 4px;
  border-radius: inherit;
  background: #00000073;
  white-space: nowrap;
  color: white;
  font-size: 20px;
  font-weight: 600;
}
.profile-list-followers {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted, #717174);
  font-size: 13px;
  line-height: 1.3;
}
.profile-list-avatars { display: flex; align-items: center; flex: none; min-height: 26px; }
.profile-list-follower-avatar.public-user-avatar {
  --avatar-size: 26px;
  --avatar-badge-size: 12px;
  box-sizing: border-box;
  border: 2px solid var(--card-surface);
  box-shadow: none;
}
.profile-list-follower-avatar + .profile-list-follower-avatar { margin-inline-start: -6px; }

@media (max-width: 700px) {
  .profile-lists {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}
