.avatar:has(.photo-avatar-content) {
  padding: 0;
  overflow: hidden;
}
.photo-avatar-content {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}
.photo-avatar-content > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-photo-action {
  min-height: 40px;
  margin-top: 9px;
  font-size: 13px;
}
.profile-photo-caption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
}
.profile-photo-preview {
  display: block;
  width: min(100%, 148px);
  aspect-ratio: 1;
  object-fit: cover;
  margin: 18px auto 8px;
  border: 1px solid var(--line);
  border-radius: 24%;
}
.profile-photo-editor > .primary { margin-top: 18px; }
.profile-photo-editor > .quiet { min-height: 42px; margin-top: 8px; }
