/* Another person: the card with its photo carousel, the profile sheet and the reviews. */
.pc {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg2);
}

.pc-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pc-track::-webkit-scrollbar {
  display: none;
}

.pc-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.pc-photo {
  max-height: 52vh;
  border-radius: 0;
}

.pc-bars {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  pointer-events: none;
}

.pc-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
}

.pc-bar-on {
  background: #ffffff;
}

.pcard-info {
  padding: 10px 2px 0;
}

.pcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* The name wraps (see .name-line); the rating keeps its place next to it. */
.pcard-head > .rating {
  flex-shrink: 0;
  white-space: nowrap;
}

.pcard-title {
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 20px;
}

.pcard-age {
  font-weight: 400;
}

.pcard-place {
  margin-top: 2px;
}

.pcard-formats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 2px;
}

.pcard-format,
.ps-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg2);
  font-size: 13px;
}

.pcard-about {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Profile sheet */
.ps-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.ps-section {
  margin-top: 18px;
}

.ps-section h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.ps-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ps-report {
  margin-top: 20px;
}

/* Reviews */
.stars {
  font-size: 15px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.stars-on {
  color: #f5b301;
}

.stars-off {
  color: var(--hint);
  opacity: 0.35;
}

.rv {
  padding: 10px 0;
  border-bottom: 1px solid var(--separator);
}

.rv:last-child {
  border-bottom: 0;
}

.rv-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rv-report {
  margin-left: auto;
  padding: 4px 6px;
  border: 0;
  background: none;
  font-size: 14px;
  opacity: 0.55;
  cursor: pointer;
}

.rv-text {
  margin: 4px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.rv-empty {
  margin: 4px 0;
}

.rv-more {
  margin-top: 8px;
}
