/* Genuine player-photo layout v24: proportional images, no fabricated/cropped substitutes. */
.pv-profile-body .pv-player-real-photo {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  object-position: center;
}
.pv-profile-body .pv-real-photo-frame:has(.pv-player-real-photo[src*="vaibhav-supplied-royals"]) {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  align-items: flex-start;
}
.pv-profile-body #records-milestones .pv-v10-record-card.pv-supplied-record-photo,
.pv-profile-body #records-milestones .pv-v10-record-card.pv-bhuv-record-photo {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
}
.pv-profile-body #records-milestones .pv-v10-record-card.pv-supplied-record-photo .pv-v10-record-photo,
.pv-profile-body #records-milestones .pv-v10-record-card.pv-bhuv-record-photo .pv-v10-record-photo {
  display: block;
  width: 112px !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain !important;
  aspect-ratio: auto;
  object-position: center;
  align-self: start;
  border-radius: 10px;
}
.pv-profile-body #records-milestones .pv-v10-record-card.pv-record-awaiting-photo,
.pv-profile-body #records-milestones .pv-v10-record-card.pv-bhuv-text-record {
  grid-template-columns: minmax(0, 1fr);
}
.pv-profile-body #best-innings .pv-v9-innings-figure img,
.pv-profile-body #best-innings .pv-v9-innings-figure picture {
  display: block;
  width: 100%;
  height: auto !important;
  max-width: 100%;
}
.pv-profile-body #best-innings .pv-v9-innings-figure img {
  object-fit: contain !important;
  object-position: center;
}
.pv-profile-body .pv-genuine-photo-credit,
.pv-profile-body .pv-bhuv-record-photo-credits {
  margin: 12px 0 22px;
  color: #40566b;
  font-size: 12px;
  line-height: 1.65;
}
.pv-profile-body .pv-genuine-photo-credit a,
.pv-profile-body .pv-bhuv-record-photo-credits a {
  overflow-wrap: anywhere;
}
.pv-profile-body .pv-bhuv-record-photo-credits summary {
  cursor: pointer;
  font-weight: 700;
  color: #146348;
}
.pv-profile-body .pv-bhuv-record-photo-credits li { margin: 9px 0; }
@media (max-width: 760px) {
  .pv-profile-body #records-milestones .pv-v10-record-card.pv-supplied-record-photo,
  .pv-profile-body #records-milestones .pv-v10-record-card.pv-bhuv-record-photo {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
  }
  .pv-profile-body #records-milestones .pv-v10-record-card.pv-supplied-record-photo .pv-v10-record-photo,
  .pv-profile-body #records-milestones .pv-v10-record-card.pv-bhuv-record-photo .pv-v10-record-photo {
    width: 82px !important;
    height: auto !important;
  }
}
