#profile_page_picture{
height:100px;
width:100px;
border-radius:100px;
}

#user_profile_main {
  display: flex;
  flex-direction: column;
  gap: 10px; 
}


#profile_picture_wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
}

#profile_page_picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#edit_overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 12px;
  text-align: center;
  padding: 6px 0;
  opacity: 0;
  transition: opacity 0.3s;
}

#profile_picture_wrapper:hover #edit_overlay {
  opacity: 1;
}

#upload_input {
  display: none;
}
.tabbar { display:flex; gap:18px; border-bottom:1px solid #eee; margin-bottom:8px; padding-left:10px;}
.tabbar a { padding:10px 0; text-decoration:none; color:#333; border-bottom:2px solid transparent; }
.tabbar a.active { border-color:#04b83c; font-weight:600; }



/* ===== PH-like Activity Card tweaks (scoped) ===== */
#main_content.profile_page .ph-activity-item {
  border: 1px solid #e9ecf2;
  border-radius: 12px;
  padding: 16px;
  margin: 14px 14px;
  background: #fff;
}
#main_content.profile_page .ph-activity-row { display:flex; }
#main_content.profile_page .ph-actor-col { padding-right:12px; }
#main_content.profile_page .ph-avatar {
  width:48px; height:48px; border-radius:999px; object-fit:cover;
}

#main_content.profile_page .ph-body-col { flex:1; min-width:0; }

/* headline: "commented on domain.com • 26d ago" */
#main_content.profile_page .ph-headline {
  display:flex; flex-wrap:wrap; align-items:baseline; gap:4px; margin-bottom:6px;
}
#main_content.profile_page .ph-actor { font-weight:600; text-decoration:none; color:#1f2328; }
#main_content.profile_page .ph-action { color:#6b7280; }
#main_content.profile_page .ph-target { color:#1f2328; text-decoration:none; }
#main_content.profile_page .ph-time { color:#9aa0a6; margin-left:8px; font-size:12px; }

/* comment */
#main_content.profile_page .ph-comment { margin-top:2px; line-height:1.45; color:#1f2328; }

/* site snippet card (blue) */
#main_content.profile_page .ph-site-card {
  margin-top:10px; display:flex; align-items:center; gap:12px;
  background:#f4f7ff; border:1px solid #e6ebff; border-radius:10px; padding:12px;
  max-width:780px;
}

/* bigger favicon */
#main_content.profile_page .ph-site-logo img {
  width:56px; height:56px; border-radius:12px; object-fit:cover; display:block;
}

#main_content.profile_page .ph-site-info { flex:1; min-width:0; }

/* 3 rows: domain (link), title, classification */
#main_content.profile_page .ph-site-domain {
  font-weight:600; color:#1f2328; text-decoration:none; display:inline-block;
}
#main_content.profile_page .ph-site-title {
  margin-top:2px; font-size:14px; color:#222;
}
#main_content.profile_page .ph-site-class {
  margin-top:2px; font-size:12px; color:#6b7280; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* vote box (static look) */
#main_content.profile_page .ph-vote {
  margin-left:auto; border:1px solid #e9ecf2; border-radius:8px;
  width:44px; height:52px; display:flex; align-items:center; justify-content:center; flex-direction:column; background:#fff;
}
#main_content.profile_page .ph-vote-icon { line-height:1; font-size:12px; color:#111; }
#main_content.profile_page .ph-vote-count { font-size:12px; font-weight:600; color:#1f2328; }

/*left content stuff*/

/* ===== Profile Page — Left Column (scoped, no card chrome) ===== */
#main_content.profile_page #user_profile_main {
  /* no border/rounded/background here; parent nav already has chrome */
}

/* Centered, bigger avatar + name */
#main_content.profile_page .profile-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#main_content.profile_page .profile-avatar-wrap {
  width: 160px;          /* bigger */
  height: 160px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
#main_content.profile_page .profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#main_content.profile_page .profile-name {
  font-size: 22px;       /* a touch larger */
  font-weight: 700;
  margin-bottom: 10px;
}

/* Actions — fix overlap by making it block flow with spacing */
#main_content.profile_page .profile-actions {
  width: 100%;
  max-width: 260px;      /* keeps button from stretching super wide on big sidebars */
  margin: 6px 0 10px;
}
#main_content.profile_page .profile-actions .button1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Stats row */
#main_content.profile_page .profile-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
#main_content.profile_page .profile-stats a {
  color: #1f2328;
  text-decoration: none;
}
#main_content.profile_page .profile-stats a:hover { text-decoration: underline; }
#main_content.profile_page .profile-stats .dot { color: #c0c4cc; }

/* Sections */
#main_content.profile_page .profile-section {
  width: 100%;
  margin-top: 12px;
}
#main_content.profile_page .section-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #9aa0a6;
  margin-bottom: 6px;
}
#main_content.profile_page .profile-bio {
  white-space: pre-wrap;
  color: #1f2328;
  text-align: left;      /* paragraphs read nicer left-aligned */
}

/* Links — plain, no icons */
#main_content.profile_page .profile-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
#main_content.profile_page .profile-links a {
  color: #0d47a1;
  text-decoration: none;
  word-break: break-all;
}
#main_content.profile_page .profile-links a:hover { text-decoration: underline; }


/* Hover/focus "Change" pill */
#main_content.profile_page .profile-avatar-wrap {
  position: relative;
  cursor: pointer; /* owner */
}
#main_content.profile_page .avatar-edit-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border: 0;
  border-radius: 999px;
  cursor:pointer;
}
#main_content.profile_page .profile-avatar-wrap.is-owner:hover .avatar-edit-hint,
#main_content.profile_page .profile-avatar-wrap.is-owner:focus-within .avatar-edit-hint {
  display: inline-flex;
}



/* Profile Websites section */
#main_content.profile_page .profile-site-card {
  border: 1px solid #e9ecf2;
  border-radius: 10px;
  padding: 12px;
  margin: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  max-width: 780px;
}

#main_content.profile_page .profile-site-logo img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

#main_content.profile_page .profile-site-info {
  flex: 1;
  min-width: 0;
}

#main_content.profile_page .profile-site-domain {
  font-weight: 600;
  color: #1f2328;
  text-decoration: none;
  display: inline-block;
}
#main_content.profile_page .profile-site-title {
  margin-top: 2px;
  font-size: 14px;
  color: #222;
}
#main_content.profile_page .profile-site-class {
  margin-top: 2px;
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#main_content.profile_page .profile-site-vote {
  margin-left:auto;
  border:1px solid #e9ecf2;
  border-radius:8px;
  width:44px; height:52px;
  display:flex; align-items:center; justify-content:center;
  flex-direction:column; background:#f9fafb;
}
#main_content.profile_page .profile-site-vote-icon { font-size:12px; color:#111; }
#main_content.profile_page .profile-site-vote-count { font-size:12px; font-weight:600; color:#1f2328; }

/* Followers / Following user cards */
#main_content.profile_page .profile-user-card {
  border: 1px solid #e9ecf2;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 14px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 780px;
}

#main_content.profile_page .puc-avatar img {
  width: 40px; height: 40px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

#main_content.profile_page .puc-info {
  flex: 1; min-width: 0;
}

#main_content.profile_page .puc-row1 {
  display: flex; align-items: center; gap: 8px;
}

#main_content.profile_page .puc-name {
  font-weight: 600;
  color: #1f2328;
  text-decoration: none;
}

#main_content.profile_page .puc-pill {
  font-size: 11px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #dcfce7;
  color: #065f46;
}

#main_content.profile_page .puc-about {
  margin-top: 2px;
  font-size: 13px;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 560px;
}

#main_content.profile_page .puc-actions { margin-left: auto; }

#main_content.profile_page .mini-follow-btn {
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

#main_content.profile_page .mini-follow-btn.is-following {
  background: #04b83c;
  color: #fff;
  border-color: #04b83c;
}
#main_content.profile_page .mini-follow-btn:disabled {
  opacity: .6; cursor: not-allowed;
}



