/* Profile page specific styles (load after styles.css) */
.profile-sidebar {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: sticky;
  top: 1rem;
}


.profile-avatar {
  display:flex;
  align-items:center;
  justify-content:center;
}
.profile-avatar img {
  width: 140px;
  height: 140px;
  object-fit:cover;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,0.04);
}


.profile-stats {
  display:flex;
  gap:0.5rem;
  justify-content:space-between;
}
.profile-stats .stat {
  text-align:center;
  flex:1;
}
.profile-stats .stat strong { display:block; font-size:1.15rem; }
.profile-stats .stat span { font-size:0.85rem; color:var(--text-secondary); }


.profile-meta { padding:0.5rem 0; }


.profile-cta { display:flex; flex-direction:column; gap:0.5rem; }


.profile-main { display:flex; flex-direction:column; gap:1rem; }


.page-content--profile {
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  max-width:1120px;
  margin:0 auto;
}


@media (max-width:980px) {
  .page-content--profile { grid-template-columns:1fr; }
  .profile-sidebar { position:static; }
}


.card--small { padding:0.5rem; }
.card--small .card__thumb img { width:100%; height:140px; object-fit:cover; border-radius:0.6rem; }
.card--small .card__title { font-size:0.95rem; margin:0; }


.profile-about {
  white-space:pre-wrap;
}


/* light theme tweaks */
body.theme-light .profile-avatar img { border-color: rgba(0,0,0,0.06); }
