/* Shared public profiles inherit the website's light and dark palettes. */
.share-profile-heading {
  display:flex;
  align-items:center;
  gap:1.3rem;
  margin:1rem 0 1.4rem;
}
.share-avatar {
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 112px;
  width:112px;
  height:112px;
  overflow:hidden;
  border-radius:50%;
  background:var(--lilac);
  color:#31149b;
  border:1px solid var(--panel-border);
  font-size:2rem;
  font-weight:700;
}
.share-avatar img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.share-profile-name {
  min-width:0;
}
.share-profile-name h1 {
  margin:0 0 .7rem;
  font-size:clamp(1.8rem,5vw,2.8rem);
  line-height:1.15;
}
.share-rating {
  color:var(--muted);
  font-size:.95rem;
  margin:.4rem 0;
  line-height:1.5;
}
.share-availability {
  color:var(--ink);
  font-weight:600;
  font-size:.95rem;
  margin:.4rem 0;
  line-height:1.5;
}
.share-section {
  margin-top:1.5rem;
  padding-top:1.2rem;
  border-top:1px solid var(--panel-border);
}
.share-section h2,.share-section-title {
  font-size:1.1rem;
  line-height:1.4;
  margin:0 0 .6rem;
}
.share-section-title {
  margin-top:1.5rem;
}
.share-section p {
  margin:.4rem 0;
  color:var(--muted);
  line-height:1.6;
  overflow-wrap:anywhere;
}
#share-bio {
  white-space:pre-line;
}
.share-service-list {
  margin:.75rem 0 1.5rem;
}
.share-service-list li {
  max-width:100%;
  overflow-wrap:anywhere;
  line-height:1.4;
}
.share-open-app,.share-copy {
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.4;
}
.share-open-app:focus-visible,.share-copy:focus-visible {
  outline:3px solid var(--purple);
  outline-offset:4px;
}
@media(max-width:480px) {
  .share-profile-heading {
    align-items:flex-start;
    gap:1rem;
  }
  .share-avatar {
    flex-basis:80px;
    width:80px;
    height:80px;
    font-size:1.6rem;
  }
  .share-profile-name h1 {
    font-size:1.7rem;
  }
  .share-actions {
    flex-direction:column;
  }
  .share-rating,.share-availability {
    font-size:.9rem;
  }
}

#share-recovery .share-copy {
  text-decoration: none;
}
.share-help a { color: var(--purple); text-underline-offset: 3px; }
