/* SeeU — 공개 프로필 v3 (seeu-profile-v3.php). 토큰은 seeu-ds.css 의 --sx-* 만 쓴다.
 * 옛 규칙(seeu-site.css · seeu-ds.css 13절)이 body.buddypress #buddypress … 로 이기고 있어서
 * html body.sx-pf3 … 로 한 단계 위에서 덮는다. */

/* 1. 표지 띠 — 쓰지 않는 회색 띠가 아바타를 덮었다. 아예 그리지 않는다 */
html body.sx-pf3 #buddypress #header-cover-image{ display:none !important; }

/* 2. 이름 카드 하나에 아바타·이름·숫자를 다 담는다 */
html body.sx-pf3 #buddypress #item-header{
	border:1px solid var(--sx-line) !important; border-radius:var(--sx-r-3) !important;
	background:#fff !important; box-shadow:none !important;
	padding:28px 20px 4px !important; box-sizing:border-box;
}
html body.sx-pf3 #buddypress #item-header > div,
html body.sx-pf3 #buddypress #item-header #cover-image-container,
html body.sx-pf3 #buddypress #item-header #item-header-cover-image{
	border:0 !important; border-radius:0 !important; background:none !important; box-shadow:none !important;
	padding:0 !important; margin:0 !important; position:static !important; min-height:0 !important; height:auto !important;
}
html body.sx-pf3 #buddypress #item-header-cover-image{ display:flex !important; flex-direction:column; align-items:center; }
html body.sx-pf3 #buddypress #item-header-avatar{
	position:static !important; margin:0 0 14px !important; top:auto !important; left:auto !important; transform:none !important;
	width:88px !important; height:88px !important;
}
html body.sx-pf3 #buddypress #item-header-avatar img{
	width:88px !important; height:88px !important; border-radius:50% !important;
	border:1px solid var(--sx-line) !important; box-shadow:none !important; margin:0 !important;
}
html body.sx-pf3 #buddypress #item-header-content{
	display:flex !important; flex-direction:column; align-items:center; text-align:center;
	width:100% !important; padding:0 !important; margin:0 !important; position:static !important;
}
html body.sx-pf3 #buddypress #item-header-content .sx-pf3-name{
	order:1; margin:0 !important; padding:0 !important;
	font-family:var(--sx-font) !important; font-size:var(--sx-t-h3) !important; font-weight:700 !important;
	line-height:1.25 !important; letter-spacing:-.03em !important; color:var(--sx-ink) !important;
	word-break:keep-all; overflow-wrap:anywhere; max-width:100%;
}
html body.sx-pf3 #buddypress #item-header-content .user-nicename{
	order:2; margin:4px 0 0 !important; padding:0 !important;
	font-size:var(--sx-t-meta) !important; font-weight:400 !important; color:var(--sx-dim) !important; letter-spacing:0 !important;
}
html body.sx-pf3 #buddypress #item-header-content .member-header-actions{
	order:3; margin:12px 0 0 !important; padding:0 !important; width:100%;
	display:flex; flex-wrap:wrap; justify-content:center; gap:6px;
}
html body.sx-pf3 #buddypress #item-header-content .member-header-actions:empty{ display:none !important; }
html body.sx-pf3 #buddypress #item-header-content .item-meta{ display:none !important; }

/* 숫자는 카드 안 아래 줄. 가는 선 하나로 나눈다 */
html body.sx-pf3 #buddypress #item-header .seeu-aside{
	border:0 !important; border-top:1px solid var(--sx-line) !important; border-radius:0 !important;
	background:none !important; box-shadow:none !important;
	margin:20px -20px 0 !important; padding:14px 8px !important; width:auto !important;
}
html body.sx-pf3 #buddypress #item-header .seeu-stats{
	display:grid !important; grid-template-columns:repeat(3, minmax(0, 1fr)); margin:0 !important; padding:0 !important;
	border:0 !important; background:none !important; list-style:none;
}
html body.sx-pf3 #buddypress #item-header .seeu-stats li{
	display:flex; flex-direction:column; align-items:center; gap:2px; margin:0 !important; padding:0 !important;
	border:0 !important; background:none !important; min-width:0;
}
html body.sx-pf3 #buddypress #item-header .seeu-stats b{ font-size:17px !important; line-height:1.3; white-space:nowrap; }
html body.sx-pf3 #buddypress #item-header .seeu-stats span{ font-size:var(--sx-t-meta) !important; color:var(--sx-dim) !important; white-space:nowrap; }
/* 2026-11-12 사용자 「소개 왼쪽 프로필 UI 가 적용 안 돼 있다 — 소개 가운데 정렬 이런 거」 —
 * 소개만 왼쪽 정렬로 숫자 줄 바로 밑(간격 1px)에 붙어 카드 안에서 따로 놀았다. 위 칸(이름·숫자)과 같은 가운데 정렬,
 * 숫자 줄과 같은 선(--sx-line)으로 나누고 위아래 14px(숫자 줄 위 여백과 같은 값). 줄바꿈은 쓴 사람 것을 살리고 낱말 중간에서 끊지 않는다 */
html body.sx-pf3 #buddypress #item-header .seeu-bio{
	margin:14px -8px 0 !important; padding:14px 20px 0 !important; border-top:1px solid var(--sx-line);
	font-size:13.5px; line-height:1.6; color:var(--sx-ink-2); text-align:center;
	white-space:pre-line; word-break:keep-all; overflow-wrap:anywhere;
}

/* 3. 탭 아래 빈 하위메뉴 띠는 그리지 않는다 */
html body.sx-pf3 #buddypress #subnav:not(:has(li)){ display:none !important; }
html body.sx-pf3 #buddypress .seeu-screen-title{ display:none !important; }   /* 옛 탭 제목이 남아 있으면 */
html body.sx-pf3 #buddypress #item-body{ padding-top:24px !important; }

/* 4. 작품 격자 — 오른쪽 칸 폭(약 770)에 맞춰 세 칸, 간격만 조인다 */
html body.sx-pf3 #buddypress .sx-pf3-works .sx-w3-grid{ gap:36px 20px !important; }

/* 5. 휴대폰·태블릿: 카드가 위, 따라붙지 않는다 */
@media (max-width:900px){
	html body.sx-pf3 #buddypress #item-header{ position:static !important; width:100% !important; margin:0 0 20px !important; }
	html body.sx-pf3 #buddypress .sx-pf3-works .sx-w3-grid{ gap:28px 12px !important; }
}

/* 6. 테마가 아바타에 -44px 위 여백과 96px 를 더 센 선택자로 건다 — 아이디 하나 더 얹어 이긴다 */
html body.sx-pf3 #buddypress #item-header #item-header-avatar{ margin:0 0 14px !important; width:88px !important; height:88px !important; }
html body.sx-pf3 #buddypress #item-header #item-header-avatar img,
html body.sx-pf3 #buddypress #item-header #item-header-avatar img.avatar{ width:88px !important; height:88px !important; max-width:none !important; }

/* 7. 손님 연락처 안내 줄 아래 빈칸 */
html body.sx-pf3 #buddypress #item-header .member-header-actions .sx-contact{ margin:0 !important; padding:0 !important; min-height:0 !important; }

/* 8. 이름 카드 안의 링크(연락처·SNS 주소)가 길면 카드 안에서 접는다(qa/content_states C-주소 길 때) */
html body.sx-pf3 #buddypress #item-header a{ overflow-wrap:anywhere !important; word-break:break-all; }
/* 9. 아바타를 88 로 줄일 때 감싸는 링크(테마 96px)를 빠뜨렸다 — 상자 밖으로 8px 삐져나왔다 */
html body.sx-pf3 #buddypress #item-header #item-header-avatar a{ display:block !important; width:88px !important; height:88px !important; max-width:100%; overflow:hidden; border-radius:50%; }
html body.sx-pf3 #buddypress #object-nav{ box-shadow:none !important; }   /* 탭 줄 밑 옅은 그림자(테마) — 마이페이지와 맞춤, 그림자 금지 */
