/* Real portfolios in the homepage's first screen, under Browse creators (app.js peekRow). */
.peek-row {
  margin-top: 26px;
}
.peek-people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.peek-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
}
.peek-card:hover,
.peek-card:focus-visible {
  border-color: var(--ink);
}
.peek-art {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--line);
}
.peek-art img,
.peek-art svg,
.peek-art .cover-wave {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.peek-body {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px;
  min-width: 0;
}
.peek-body .avatar {
  flex: none;
  width: 30px;
  height: 30px;
  font-size: 12px;
}
.peek-body > span:last-child {
  display: grid;
  min-width: 0;
}
.peek-body strong,
.peek-body small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.peek-body strong {
  font-size: 13px;
}
.peek-body small {
  color: var(--muted);
  font-size: 11px;
}
/* Phones: one swipeable row, so the match finder stays close. */
@media (max-width: 760px) {
  .peek-row {
    margin: 18px -18px 0;
  }
  .peek-people {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 18px 4px;
    scroll-padding-inline: 18px;
    scrollbar-width: none;
  }
  .peek-card {
    flex: 0 0 150px;
    scroll-snap-align: start;
  }
}
@media (min-width: 761px) {
  .peek-card:nth-child(n + 4) {
    display: none;
  }
}
