/**
 * Sonic City Member Profiles v1.2.2
 *
 * This file is deliberately scoped to the single-member body class. BuddyPress
 * remains responsible for routes, permissions, forms, and AJAX behavior.
 */

body.sc-member-profile-v100 {
	--scmp-blue-950: #010b43;
	--scmp-blue-900: #02126f;
	--scmp-blue-800: #08239d;
	--scmp-blue-700: #1720d2;
	--scmp-link: #0b5fff;
	--scmp-cyan: #18f2ff;
	--scmp-yellow: #feeb4a;
	--scmp-yellow-strong: #ffc900;
	--scmp-red: #a60304;
	--scmp-ink: #0b1220;
	--scmp-muted: #566176;
	--scmp-line: #d9e1f0;
	--scmp-soft: #f4f7ff;
	--scmp-white: #fff;
	--scmp-shell: 90vw;
	--scmp-radius: 8px;
	--scmp-shadow: 0 14px 36px rgba(0, 10, 55, .16);
	overflow-x: clip;
}

body.sc-member-profile-v100 *,
body.sc-member-profile-v100 *::before,
body.sc-member-profile-v100 *::after {
	box-sizing: border-box;
}

body.sc-member-profile-v100 .page-header,
body.sc-member-profile-v100 .entry-header,
body.sc-member-profile-v100 .site-breadcrumbs,
body.sc-member-profile-v100 .sidebar-container,
body.sc-member-profile-v100 #right-sidebar,
body.sc-member-profile-v100 .widget-area.sidebar-primary {
	display: none !important;
}

body.sc-member-profile-v100 #content-wrap,
body.sc-member-profile-v100 #primary,
body.sc-member-profile-v100 .content-area,
body.sc-member-profile-v100 .site-main,
body.sc-member-profile-v100 article,
body.sc-member-profile-v100 .entry-content {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.sc-member-profile-v100 #main,
body.sc-member-profile-v100 #content,
body.sc-member-profile-v100 #wrap,
body.sc-member-profile-v100 #outer-wrap {
	min-width: 0 !important;
	max-width: 100% !important;
}

body.sc-member-profile-v100 #buddypress {
	width: var(--scmp-shell) !important;
	max-width: none !important;
	margin: clamp(18px, 2.3vw, 38px) auto clamp(42px, 6vw, 86px) !important;
	padding: 0 !important;
	color: var(--scmp-ink);
	font-size: clamp(15px, .72vw, 18px);
	line-height: 1.58;
	transition: opacity .18s ease;
}

/* BuddyPress renders the selected member-header template inside #item-header.
 * Reset both Nouveau and Legacy wrapper geometry so the cover and no-cover
 * template branches give the Sonic City hero the same full shell. */
body.sc-member-profile-v100 #buddypress #item-header {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	background: transparent !important;
}

body.sc-member-profile-v100 #buddypress #item-header > .sc-member-profile-hero {
	width: 100% !important;
	margin: 0 !important;
}

body.sc-member-profile-ready #buddypress {
	visibility: visible !important;
	opacity: 1 !important;
}

body.sc-member-profile-v100 #buddypress a {
	color: var(--scmp-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

body.sc-member-profile-v100 #buddypress a:hover {
	color: var(--scmp-blue-700);
}

body.sc-member-profile-v100 #buddypress img,
body.sc-member-profile-v100 #buddypress video,
body.sc-member-profile-v100 #buddypress iframe {
	max-width: 100%;
}

body.sc-member-profile-v100 #buddypress button,
body.sc-member-profile-v100 #buddypress input,
body.sc-member-profile-v100 #buddypress select,
body.sc-member-profile-v100 #buddypress textarea {
	font: inherit;
}

body.sc-member-profile-v100 #buddypress :focus-visible {
	outline: 3px solid var(--scmp-cyan) !important;
	outline-offset: 2px;
}

.sc-member-icon {
	display: block;
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Profile hero */
.sc-member-profile-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: 315px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .18);
	border-bottom: 5px solid var(--scmp-yellow);
	border-radius: var(--scmp-radius);
	background: linear-gradient(145deg, var(--scmp-blue-950), var(--scmp-blue-900) 52%, var(--scmp-blue-700));
	box-shadow: var(--scmp-shadow);
	color: #fff;
}

.sc-member-profile-hero::before,
.sc-member-profile-hero::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	content: "";
	pointer-events: none;
}

.sc-member-profile-hero::before {
	background:
		linear-gradient(90deg, rgba(1, 11, 67, .92) 0%, rgba(1, 11, 67, .62) 42%, rgba(2, 18, 111, .24) 100%),
		linear-gradient(0deg, rgba(1, 11, 67, .96) 0%, rgba(1, 11, 67, .18) 72%),
		var(--sc-member-cover, none) center 34% / cover no-repeat;
}

.sc-member-profile-hero.has-cover::before {
	filter: saturate(.92) contrast(1.04);
}

.sc-member-profile-hero::after {
	background:
		linear-gradient(116deg, transparent 0 67%, rgba(24, 242, 255, .13) 67% 69%, transparent 69% 73%, rgba(254, 235, 74, .13) 73% 75%, transparent 75%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 32px);
	mix-blend-mode: screen;
}

.sc-member-profile-hero__art {
	position: absolute;
	top: -96px;
	right: clamp(-90px, -3vw, -22px);
	width: 390px;
	height: 390px;
	border: 34px solid rgba(24, 242, 255, .11);
	border-radius: 50%;
	box-shadow: 0 0 0 19px rgba(254, 235, 74, .08), inset 0 0 60px rgba(255, 255, 255, .07);
	transform: rotate(-14deg);
	pointer-events: none;
}

.sc-member-profile-hero.has-cover .sc-member-profile-hero__art {
	right: -70px;
	bottom: -210px;
	opacity: .65;
}

.sc-member-profile-hero__inner {
	display: grid;
	grid-template-areas:
		"avatar identity actions"
		"avatar stats stats";
	grid-template-columns: 196px minmax(300px, 1fr) auto;
	grid-template-rows: 1fr auto;
	gap: 20px 24px;
	min-height: 310px;
	padding: clamp(72px, 8vw, 118px) clamp(24px, 2.8vw, 48px) 30px;
	align-items: end;
}

.sc-member-profile-avatar {
	position: relative;
	grid-area: avatar;
	align-self: end;
	display: block;
	width: 188px;
	height: 188px;
	padding: 6px;
	border: 2px solid rgba(255, 255, 255, .84);
	border-radius: 50%;
	background: linear-gradient(145deg, var(--scmp-yellow), var(--scmp-cyan));
	box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
}

.sc-member-profile-avatar img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border: 4px solid var(--scmp-blue-900);
	border-radius: 50%;
	object-fit: cover;
}

.sc-member-profile-presence {
	position: absolute;
	right: 6px;
	bottom: 9px;
	width: 18px;
	height: 18px;
	border: 3px solid #fff;
	border-radius: 50%;
	background: #7b8799;
}

.sc-member-profile-presence.is-online {
	background: #20d17f;
	box-shadow: 0 0 0 3px rgba(32, 209, 127, .2);
}

.sc-member-profile-identity {
	grid-area: identity;
	min-width: 0;
	align-self: end;
}

.sc-member-profile-eyebrow,
.sc-member-route-head__eyebrow {
	display: block;
	margin: 0 0 5px;
	color: var(--scmp-yellow);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .13em;
	line-height: 1.2;
	text-transform: uppercase;
}

.sc-member-profile-identity h1 {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(34px, 3.5vw, 58px) !important;
	font-weight: 800 !important;
	letter-spacing: -.035em;
	line-height: .98 !important;
	text-shadow: 0 3px 16px rgba(0, 0, 0, .3);
}

.sc-member-profile-identity__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px 10px;
	margin-top: 11px;
	color: rgba(255, 255, 255, .84);
	font-size: 15px;
}

.sc-member-profile-handle {
	font-weight: 680;
	color: #fff;
}

.sc-member-profile-role {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 9px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: inherit;
	font-size: 11px;
	font-style: normal;
	font-weight: 760;
	letter-spacing: .07em;
	line-height: 1;
	text-transform: uppercase;
}

.sc-member-profile-role.is-admin {
	border-color: rgba(254, 235, 74, .58);
	background: rgba(254, 235, 74, .16);
	color: #fff8a8;
}

.sc-member-profile-role.is-moderator {
	border-color: rgba(24, 242, 255, .58);
	background: rgba(24, 242, 255, .13);
	color: #bdfbff;
}

.sc-member-profile-role.is-bot {
	border-color: rgba(24, 242, 255, .64);
	background: linear-gradient(90deg, rgba(24, 242, 255, .17), rgba(254, 235, 74, .17));
	color: #fff;
}

.sc-member-profile-active {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.sc-member-profile-active__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #8e99a9;
}

.sc-member-profile-active__dot.is-online {
	background: #20d17f;
	box-shadow: 0 0 0 3px rgba(32, 209, 127, .18);
}

.sc-member-profile-tagline {
	max-width: 760px;
	margin: 12px 0 0 !important;
	color: rgba(255, 255, 255, .82) !important;
	font-size: 16px;
	line-height: 1.45;
}

.sc-member-profile-hero__actions {
	grid-area: actions;
	align-self: end;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
}

.sc-member-profile-action,
.sc-member-profile-native-action .generic-button a,
.sc-member-profile-native-action .friendship-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 44px;
	margin: 0 !important;
	padding: 8px 13px !important;
	border: 1px solid rgba(255, 255, 255, .52) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 720 !important;
	line-height: 1.1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.sc-member-profile-action .sc-member-icon {
	width: 17px;
	height: 17px;
}

.sc-member-profile-action.is-primary,
.sc-member-profile-native-action .generic-button a,
.sc-member-profile-native-action .friendship-button {
	border-color: var(--scmp-yellow) !important;
	background: linear-gradient(180deg, #ffe96c, var(--scmp-yellow-strong)) !important;
	color: var(--scmp-blue-900) !important;
}

.sc-member-profile-action.is-secondary {
	background: rgba(1, 11, 67, .52) !important;
	backdrop-filter: blur(8px);
}

.sc-member-profile-action:hover,
.sc-member-profile-native-action .generic-button a:hover,
.sc-member-profile-native-action .friendship-button:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.sc-member-profile-native-action,
.sc-member-profile-native-action .generic-button {
	display: contents !important;
}

.sc-member-profile-menu,
.sc-member-profile-menu summary {
	position: relative;
}

.sc-member-profile-menu summary {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .52);
	border-radius: 8px;
	background: rgba(1, 11, 67, .52);
	color: #fff;
	cursor: pointer;
	list-style: none;
}

.sc-member-profile-menu summary::-webkit-details-marker,
.sc-member-profile-menu summary::marker {
	display: none;
	content: "";
}

.sc-member-profile-menu summary .sc-member-icon {
	width: 21px;
	height: 21px;
}

.sc-member-profile-menu__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 50;
	width: min(250px, calc(100vw - 24px));
	padding: 6px;
	border: 1px solid #cfd9ec;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(0, 10, 55, .25);
}

.sc-member-profile-menu__panel a {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 38px;
	padding: 8px 10px;
	border-radius: 2px;
	color: var(--scmp-ink) !important;
	font-size: 13px;
	font-weight: 650;
	text-decoration: none !important;
}

.sc-member-profile-menu__panel a:hover {
	background: var(--scmp-soft);
	color: var(--scmp-link) !important;
}

.sc-member-profile-hero__stats {
	grid-area: stats;
	display: grid;
	grid-template-columns: repeat(4, minmax(90px, 1fr));
	gap: 1px;
	max-width: 720px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 8px;
	background: rgba(255, 255, 255, .15);
	backdrop-filter: blur(9px);
}

.sc-member-profile-hero__stats > div {
	min-width: 0;
	padding: 12px 15px;
	background: rgba(1, 11, 67, .62);
}

.sc-member-profile-hero__stats strong,
.sc-member-profile-hero__stats span {
	display: block;
}

.sc-member-profile-hero__stats strong {
	color: #fff;
	font-size: 23px;
	font-weight: 790;
	line-height: 1;
}

.sc-member-profile-hero__stats span {
	margin-top: 4px;
	color: rgba(255, 255, 255, .72);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Primary profile navigation */
body.sc-member-profile-v100 #buddypress #item-nav {
	position: relative !important;
	width: 100% !important;
	max-width: none !important;
	margin: 13px 0 18px !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, .13) !important;
	border-bottom: 3px solid var(--scmp-yellow) !important;
	border-radius: 8px !important;
	background: linear-gradient(180deg, #0f2a66, #061642) !important;
	box-shadow: 0 9px 22px rgba(0, 10, 55, .14);
	overflow: hidden;
}

body.sc-member-profile-v100 #buddypress #object-nav {
	position: static !important;
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

body.sc-member-profile-v100 #buddypress #object-nav > ul,
body.sc-member-profile-v100 #buddypress #item-nav .bp-navs > ul {
	display: flex !important;
	align-items: stretch;
	gap: 0;
	width: 100% !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scrollbar-color: rgba(254, 235, 74, .65) transparent;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}

body.sc-member-profile-v100 #buddypress #object-nav li {
	float: none !important;
	flex: 0 0 auto;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.sc-member-profile-v100 #buddypress #object-nav li a {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 60px;
	padding: 12px 17px !important;
	border: 0 !important;
	border-right: 1px solid rgba(255, 255, 255, .08) !important;
	background: transparent !important;
	box-shadow: none !important;
	color: rgba(255, 255, 255, .8) !important;
	font-size: 13px !important;
	font-weight: 740 !important;
	letter-spacing: .01em;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

body.sc-member-profile-v100 #buddypress #object-nav li a::after {
	position: absolute;
	right: 10px;
	bottom: 0;
	left: 10px;
	height: 3px;
	background: transparent;
	content: "";
}

body.sc-member-profile-v100 #buddypress #object-nav li.current a,
body.sc-member-profile-v100 #buddypress #object-nav li.selected a,
body.sc-member-profile-v100 #buddypress #object-nav li a:hover {
	background: rgba(255, 255, 255, .08) !important;
	color: #fff !important;
}

body.sc-member-profile-v100 #buddypress #object-nav li.current a::after,
body.sc-member-profile-v100 #buddypress #object-nav li.selected a::after {
	background: var(--scmp-yellow);
}

body.sc-member-profile-v100 #buddypress #object-nav .sc-member-nav-icon {
	display: inline-grid;
	place-items: center;
	width: 17px;
	height: 17px;
	color: var(--scmp-cyan);
}

body.sc-member-profile-v100 #buddypress #object-nav .sc-member-nav-icon .sc-member-icon {
	width: 16px;
	height: 16px;
}

body.sc-member-profile-v100 #buddypress #object-nav .count,
body.sc-member-profile-v100 #buddypress #object-nav .no-count {
	display: inline-grid !important;
	place-items: center;
	min-width: 18px !important;
	height: 18px !important;
	margin: 0 0 0 2px !important;
	padding: 0 5px !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--scmp-yellow) !important;
	color: var(--scmp-blue-900) !important;
	font-size: 9px !important;
	font-weight: 800 !important;
}

/* Defeat Nouveau's single-member vertical navigation geometry. */
body.sc-member-profile-v100.bp-single-vert-nav #buddypress #item-body,
body.sc-member-profile-v100 #buddypress #item-body {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}

body.sc-member-profile-v100.bp-single-vert-nav #buddypress #item-nav {
	float: none !important;
	width: 100% !important;
}

/* Route shell */
.sc-member-profile-layout {
	display: grid;
	grid-template-areas:
		"content overview"
		"content destinations";
	grid-template-columns: minmax(0, 1fr) clamp(310px, 22vw, 380px);
	grid-template-rows: auto 1fr;
	column-gap: clamp(16px, 1.8vw, 28px);
	row-gap: 15px;
	align-items: start;
	width: 100%;
	min-width: 0;
}

.sc-member-profile-layout.is-wide {
	grid-template-areas: "content";
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto;
}

.sc-member-profile-content {
	grid-area: content;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--scmp-line);
	border-radius: var(--scmp-radius);
	background: #fff;
	box-shadow: 0 12px 30px rgba(0, 10, 55, .1);
}

/* Activity is a feed, not a settings sheet. Keep its modules visually
 * independent while every other BuddyPress route retains the contained form
 * surface above. */
body.sc-member-profile-route-activity .sc-member-profile-content {
	overflow: visible;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.sc-member-route-head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 92px;
	padding: 18px clamp(18px, 2vw, 28px);
	border-bottom: 4px solid var(--scmp-yellow);
	background:
		linear-gradient(110deg, rgba(24, 242, 255, .08), transparent 45%),
		linear-gradient(145deg, var(--scmp-blue-900), #0f2a66);
	color: #fff;
}

body.sc-member-profile-route-activity .sc-member-route-head {
	margin-bottom: 12px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-bottom: 4px solid var(--scmp-yellow);
	border-radius: var(--scmp-radius);
	box-shadow: 0 9px 22px rgba(0, 10, 55, .12);
}

.sc-member-route-head__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 50px;
	height: 50px;
	border: 1px solid rgba(255, 255, 255, .25);
	border-radius: 50%;
	background: rgba(255, 255, 255, .09);
	color: var(--scmp-yellow);
}

.sc-member-route-head__icon .sc-member-icon {
	width: 25px;
	height: 25px;
}

.sc-member-route-head h2 {
	margin: 0 !important;
	color: #fff !important;
	font-size: clamp(25px, 2vw, 34px) !important;
	font-weight: 780 !important;
	letter-spacing: -.025em;
	line-height: 1.05 !important;
}

.sc-member-route-head p {
	margin: 6px 0 0 !important;
	color: rgba(255, 255, 255, .73) !important;
	font-size: 14px;
	line-height: 1.45;
}

/* Native component content */
.sc-member-profile-content > :not(.sc-member-route-head),
.sc-member-profile-content > .bp-wrap > :not(.sc-member-route-head) {
	max-width: 100%;
}

.sc-member-profile-content > .bp-navs,
.sc-member-profile-content > nav.bp-navs,
.sc-member-profile-content > .item-list-tabs,
.sc-member-profile-content #subnav,
.sc-member-profile-content .bp-subnavs {
	margin: 0 !important;
	padding: 0 20px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--scmp-line) !important;
	background: #f8faff !important;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}

body.sc-member-profile-route-activity .sc-member-profile-content > .bp-navs,
body.sc-member-profile-route-activity .sc-member-profile-content > nav.bp-navs,
body.sc-member-profile-route-activity .sc-member-profile-content > .item-list-tabs,
body.sc-member-profile-route-activity .sc-member-profile-content #subnav,
body.sc-member-profile-route-activity .sc-member-profile-content .bp-subnavs {
	margin-bottom: 12px !important;
	border: 1px solid var(--scmp-line) !important;
	border-radius: var(--scmp-radius);
	background: #fff !important;
	box-shadow: 0 6px 16px rgba(0, 10, 55, .07);
}

.sc-member-profile-content .bp-navs ul,
.sc-member-profile-content .item-list-tabs ul,
.sc-member-profile-content #subnav ul {
	display: flex !important;
	align-items: center;
	gap: 3px;
	width: max-content;
	min-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.sc-member-profile-content .bp-navs li,
.sc-member-profile-content .item-list-tabs li,
.sc-member-profile-content #subnav li {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.sc-member-profile-content .bp-navs li a,
.sc-member-profile-content .item-list-tabs li a,
.sc-member-profile-content #subnav li a {
	display: inline-flex !important;
	align-items: center;
	min-height: 44px;
	padding: 10px 12px !important;
	border: 0 !important;
	border-bottom: 3px solid transparent !important;
	background: transparent !important;
	color: var(--scmp-muted) !important;
	font-size: 13px !important;
	font-weight: 680 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.sc-member-profile-content .bp-navs li.current a,
.sc-member-profile-content .bp-navs li.selected a,
.sc-member-profile-content .item-list-tabs li.current a,
.sc-member-profile-content .item-list-tabs li.selected a,
.sc-member-profile-content #subnav li.current a,
.sc-member-profile-content #subnav li.selected a {
	border-bottom-color: var(--scmp-link) !important;
	color: var(--scmp-blue-900) !important;
}

.sc-member-profile-content .bp-navs .count,
.sc-member-profile-content .item-list-tabs .count {
	margin-left: 5px !important;
	padding: 2px 5px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #dce8ff !important;
	color: var(--scmp-blue-900) !important;
	font-size: 9px !important;
}

/* BuddyPress prints the activity RSS link and stream selector in a separate
 * filter row. Keep that row visibly connected to the route instead of leaving
 * loose icons and a select floating between the composer and feed. */
.sc-member-profile-content .subnav-filters {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 12px;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 11px 16px !important;
	border: 0 !important;
	border-top: 1px solid var(--scmp-line) !important;
	border-bottom: 1px solid var(--scmp-line) !important;
	background: #f8faff !important;
}

body.sc-member-profile-route-activity .sc-member-profile-content .subnav-filters {
	margin: 0 0 14px !important;
	border: 1px solid var(--scmp-line) !important;
	border-radius: var(--scmp-radius);
	background: #fff !important;
	box-shadow: 0 6px 16px rgba(0, 10, 55, .06);
}

.sc-member-profile-content .subnav-filters .feed,
.sc-member-profile-content .subnav-filters .component-filters,
.sc-member-profile-content .subnav-filters #activity-filter-select {
	position: static !important;
	float: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.sc-member-profile-content .subnav-filters .feed {
	display: flex !important;
	align-items: center;
	flex: 0 0 auto;
}

.sc-member-profile-content .subnav-filters .feed a {
	display: grid !important;
	place-items: center;
	width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0 !important;
	border: 1px solid #c8d3e4 !important;
	border-radius: 8px !important;
	background: #fff !important;
	color: var(--scmp-link) !important;
	text-decoration: none !important;
}

.sc-member-profile-content .subnav-filters .component-filters {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1 180px;
}

.sc-member-profile-content .subnav-filters .bp-screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

.sc-member-profile-content .subnav-filters select,
.sc-member-profile-content .subnav-filters #activity-filter-by {
	width: auto !important;
	min-width: 170px;
	min-height: 36px !important;
	margin: 0 !important;
	padding: 7px 34px 7px 10px !important;
	border: 1px solid #b9c6da !important;
	border-radius: 8px !important;
	background-color: #fff !important;
	color: var(--scmp-ink) !important;
	font-size: 13px !important;
}

.sc-member-profile-content .bp-screen-title,
.sc-member-profile-content .screen-heading,
.sc-member-profile-content h2:not(#sc-member-route-title),
.sc-member-profile-content h3,
.sc-member-profile-content h4 {
	color: var(--scmp-ink);
}

.sc-member-profile-content .bp-screen-title,
.sc-member-profile-content .screen-heading {
	margin: 0 !important;
	padding: 22px 24px 0 !important;
	font-size: 21px !important;
	font-weight: 750 !important;
}

.sc-member-profile-content .bp-feedback,
.sc-member-profile-content .bp-template-notice,
.sc-member-profile-content #message {
	margin: 20px 22px !important;
	padding: 13px 15px !important;
	border: 1px solid #b8cffb !important;
	border-left: 5px solid var(--scmp-link) !important;
	border-radius: 2px !important;
	background: #eef4ff !important;
	box-shadow: none !important;
	color: #173265 !important;
}

.sc-member-profile-content .bp-feedback.error,
.sc-member-profile-content .bp-template-notice.error {
	border-color: #efb5b5 !important;
	border-left-color: var(--scmp-red) !important;
	background: #fff3f3 !important;
	color: #791b1b !important;
}

.sc-member-profile-content .bp-feedback p,
.sc-member-profile-content .bp-template-notice p {
	margin: 0 !important;
	padding: 0 !important;
}

/* Activity composer */
/* Nouveau's PHP template emits an empty .activity-update-form mount and then
 * inserts #whats-new-form inside it with Backbone. The mount is only a host;
 * treating both elements as the composer creates two nested grids and crushes
 * the real editor into the avatar column. */
.sc-member-profile-content #bp-nouveau-activity-form.activity-update-form {
	--scmp-composer-fallback-left: 103px;
	--scmp-composer-fallback-right: 38px;
	position: static !important;
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	transform: none !important;
}

/* BuddyPress and composer add-ons may append controls to the Nouveau mount
 * after #whats-new-form has rendered. JavaScript moves them into the real
 * editor, while this rule keeps that brief and no-script state contained. */
.sc-member-profile-content #bp-nouveau-activity-form > #whats-new-options,
.sc-member-profile-content #bp-nouveau-activity-form > #whats-new-submit,
.sc-member-profile-content #bp-nouveau-activity-form > #activity-visibility,
.sc-member-profile-content #bp-nouveau-activity-form > .bp-activity-privacy,
.sc-member-profile-content #bp-nouveau-activity-form > .bpap-activity-privacy,
.sc-member-profile-content #bp-nouveau-activity-form > [data-bp-activity-privacy],
.sc-member-profile-content #bp-nouveau-activity-form > [data-activity-privacy],
.sc-member-profile-content #bp-nouveau-activity-form > #mpp-activity-upload-buttons,
.sc-member-profile-content #bp-nouveau-activity-form > #mpp-activity-media-upload-container {
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: calc(100% - var(--scmp-composer-fallback-left) - var(--scmp-composer-fallback-right)) !important;
	height: auto !important;
	margin: 0 var(--scmp-composer-fallback-right) 10px var(--scmp-composer-fallback-left) !important;
	transform: none !important;
}

/* MediaPress can print its uploader after the Nouveau mount rather than
 * inside it. JavaScript moves these exact controls into #whats-new-content;
 * this fallback keeps their pre-enhancement/no-script position contained. */
.sc-member-profile-content #mpp-activity-upload-buttons:not(.sc-member-native-media-toolbar),
.sc-member-profile-content #mpp-activity-media-upload-container:not(.sc-member-native-media-panel) {
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: auto !important;
	min-width: 0 !important;
	max-width: calc(100% - 141px) !important;
	height: auto !important;
	margin: 0 38px 10px 103px !important;
	transform: none !important;
}

.sc-member-profile-content #mpp-activity-upload-buttons:not(.sc-member-native-media-toolbar) {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px !important;
	border: 1px solid #d7dfec !important;
	background: #f3f6fb !important;
}

.sc-member-profile-content #whats-new-form {
	position: relative;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	grid-auto-flow: row;
	grid-auto-rows: auto;
	gap: 10px 13px;
	align-content: start;
	margin: 0 0 12px !important;
	padding: 13px 14px !important;
	overflow: visible !important;
	border: 1px solid #cbd7ea !important;
	border-top: 4px solid var(--scmp-link) !important;
	border-radius: var(--scmp-radius) !important;
	background: linear-gradient(180deg, #fff, #f7f9ff) !important;
	box-shadow: 0 7px 18px rgba(0, 28, 100, .08);
	transition: border-color .16s ease, box-shadow .16s ease;
}

.sc-member-profile-content #whats-new-form.is-expanded {
	border-color: #9db8e7 !important;
	border-top-color: var(--scmp-link) !important;
	box-shadow: 0 10px 24px rgba(0, 28, 100, .12);
}

.sc-member-profile-content #whats-new-form #whats-new-avatar {
	grid-column: 1;
	grid-row: 1;
	align-self: start;
	float: none !important;
	width: 52px !important;
	margin: 0 !important;
}

.sc-member-profile-content #whats-new-avatar img {
	display: block;
	width: 48px !important;
	height: 48px !important;
	border: 3px solid var(--scmp-yellow);
	border-radius: 50%;
	object-fit: cover;
}

.sc-member-profile-content #whats-new-content,
.sc-member-profile-content #whats-new-textarea,
.sc-member-profile-content #whats-new-options {
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

.sc-member-profile-content #whats-new-content {
	grid-column: 2 / 3;
	display: block !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
}

.sc-member-profile-content #whats-new,
.sc-member-profile-content #whats-new-form textarea {
	display: block !important;
	width: 100% !important;
	min-height: 52px !important;
	max-height: 280px;
	padding: 12px 13px !important;
	border: 1px solid #b9c8df !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: inset 0 1px 2px rgba(0, 20, 70, .05) !important;
	color: var(--scmp-ink) !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
	resize: vertical;
	transition: min-height .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.sc-member-profile-content #whats-new-form.is-expanded #whats-new,
.sc-member-profile-content #whats-new-form.is-expanded textarea {
	min-height: 108px !important;
}

.sc-member-composer-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	grid-column: 2;
	margin-top: -3px;
	font-size: 12px;
}

.sc-member-composer-count {
	color: var(--scmp-muted);
	font-variant-numeric: tabular-nums;
}

.sc-member-composer-count.is-near-limit {
	color: #9b6700;
	font-weight: 750;
}

.sc-member-composer-count.is-over-limit {
	color: var(--scmp-red);
}

.sc-member-composer-full {
	font-weight: 700;
	text-decoration: none !important;
}

.sc-member-profile-content #whats-new-options,
.sc-member-profile-content #whats-new-submit {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
}

/* Nouveau add-ons do not agree on whether composer controls belong inside
 * #whats-new-content or beside it. Keep every alternate direct-child shape in
 * the content track even before progressive enhancement normalizes the DOM. */
.sc-member-profile-content #whats-new-form > #whats-new-options,
.sc-member-profile-content #whats-new-form > #whats-new-submit,
.sc-member-profile-content #whats-new-form > #activity-visibility,
.sc-member-profile-content #whats-new-form > .sc-member-composer-tools,
.sc-member-profile-content #whats-new-form > .sc-member-native-media-toolbar,
.sc-member-profile-content #whats-new-form > .sc-member-native-media-panel,
.sc-member-profile-content #whats-new-form > .bp-activity-privacy,
.sc-member-profile-content #whats-new-form > .bpap-activity-privacy,
.sc-member-profile-content #whats-new-form > [data-bp-activity-privacy],
.sc-member-profile-content #whats-new-form > [data-activity-privacy] {
	grid-column: 2 / 3 !important;
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 8px 0 0 !important;
	transform: none !important;
}

.sc-member-profile-content #whats-new-content > .sc-member-composer-tools,
.sc-member-profile-content #whats-new-content > .sc-member-native-media-toolbar,
.sc-member-profile-content #whats-new-content > .sc-member-native-media-panel,
.sc-member-profile-content #whats-new-content > #whats-new-options,
.sc-member-profile-content #whats-new-content > #activity-visibility,
.sc-member-profile-content #whats-new-content > .bp-activity-privacy,
.sc-member-profile-content #whats-new-content > .bpap-activity-privacy,
.sc-member-profile-content #whats-new-content > [data-bp-activity-privacy],
.sc-member-profile-content #whats-new-content > [data-activity-privacy] {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

.sc-member-profile-content .sc-member-native-media-toolbar {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 6px !important;
	margin: 8px 0 0 !important;
	padding: 8px !important;
	overflow: visible !important;
	border: 1px solid #d7dfec !important;
	background: #f3f6fb !important;
}

.sc-member-profile-content .sc-member-native-media-toolbar > *,
.sc-member-profile-content .sc-member-native-media-control {
	position: static !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	transform: none !important;
}

.sc-member-profile-content .sc-member-native-media-toolbar a,
.sc-member-profile-content .sc-member-native-media-toolbar button,
.sc-member-profile-content .sc-member-native-media-toolbar label,
.sc-member-profile-content .sc-member-native-media-control {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 5px !important;
	min-width: 34px !important;
	min-height: 32px !important;
	padding: 6px 9px !important;
	border: 1px solid #c8d3e4 !important;
	border-radius: 8px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--scmp-blue-900) !important;
	font-size: 12px !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

.sc-member-profile-content .sc-member-native-media-panel {
	position: relative !important;
	inset: auto !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 8px 0 0 !important;
	transform: none !important;
}

/* The empty editor starts as a single compact prompt. Native destination,
 * privacy, submit, and MediaPress controls remain in the DOM and become
 * visible as soon as the user focuses or types in the composer. */
.sc-member-profile-content #whats-new-form.is-collapsed #whats-new-options,
.sc-member-profile-content #whats-new-form.is-collapsed #whats-new-submit,
.sc-member-profile-content #whats-new-form.is-collapsed #activity-visibility,
.sc-member-profile-content #whats-new-form.is-collapsed .bp-activity-privacy,
.sc-member-profile-content #whats-new-form.is-collapsed .bpap-activity-privacy,
.sc-member-profile-content #whats-new-form.is-collapsed [data-bp-activity-privacy],
.sc-member-profile-content #whats-new-form.is-collapsed [data-activity-privacy],
.sc-member-profile-content #whats-new-form.is-collapsed .sc-member-composer-tools,
.sc-member-profile-content #whats-new-form.is-collapsed .sc-member-native-media-toolbar,
.sc-member-profile-content #whats-new-form.is-collapsed .sc-member-native-media-panel {
	display: none !important;
}

/* Activity stream cards */
.sc-member-profile-content #activity-stream,
.sc-member-profile-content ul.activity-list,
.sc-member-profile-content ol.activity-list {
	display: grid !important;
	gap: 14px;
	width: 100% !important;
	margin: 0 !important;
	padding: 18px !important;
	border: 0 !important;
	background: var(--scmp-soft);
	list-style: none !important;
}

body.sc-member-profile-route-activity .sc-member-profile-content #activity-stream,
body.sc-member-profile-route-activity .sc-member-profile-content ul.activity-list,
body.sc-member-profile-route-activity .sc-member-profile-content ol.activity-list {
	padding: 0 !important;
	background: transparent;
}

.sc-member-profile-content #activity-stream > li,
.sc-member-profile-content ul.activity-list > li,
.sc-member-profile-content ol.activity-list > li {
	--scmp-avatar-column: 58px;
	position: relative;
	display: grid !important;
	grid-template-columns: var(--scmp-avatar-column) minmax(0, 1fr) !important;
	gap: 0 14px;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 19px !important;
	border: 1px solid #d2dcea !important;
	border-left: 4px solid var(--scmp-link) !important;
	border-radius: var(--scmp-radius) !important;
	background: #fff !important;
	box-shadow: 0 7px 18px rgba(0, 20, 75, .07) !important;
	overflow: visible !important;
}

.sc-member-profile-content #activity-stream > li:hover,
.sc-member-profile-content ul.activity-list > li:hover {
	border-color: #b8c9e4 !important;
	border-left-color: var(--scmp-blue-700) !important;
}

/* Load More is stream navigation, not an activity card. BuddyPress appends
 * the next chronological batch to this same list, so keep the control clear,
 * full-width, and visually separate from member content. */
.sc-member-profile-content #activity-stream > li.load-more,
.sc-member-profile-content #activity-stream > li.load-newest,
.sc-member-profile-content ul.activity-list > li.load-more,
.sc-member-profile-content ul.activity-list > li.load-newest,
.sc-member-profile-content ol.activity-list > li.load-more,
.sc-member-profile-content ol.activity-list > li.load-newest {
	display: block !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.sc-member-profile-content .activity-list > li.load-more > a,
.sc-member-profile-content .activity-list > li.load-newest > a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	padding: 10px 16px !important;
	border: 1px solid #b7c8e5 !important;
	border-bottom: 3px solid var(--scmp-yellow) !important;
	border-radius: var(--scmp-radius) !important;
	background: #fff !important;
	box-shadow: 0 6px 16px rgba(0, 20, 75, .07) !important;
	color: var(--scmp-blue-900) !important;
	font-size: 13px !important;
	font-weight: 750 !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
}

.sc-member-profile-content .activity-list > li.load-more > a:hover,
.sc-member-profile-content .activity-list > li.load-newest > a:hover {
	border-color: #91a9d1 !important;
	background: #f8faff !important;
	color: var(--scmp-link) !important;
}

.sc-member-profile-content .activity-list .activity-avatar {
	position: static !important;
	grid-column: 1 !important;
	grid-row: 1 !important;
	float: none !important;
	width: var(--scmp-avatar-column) !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
}

.sc-member-profile-content .activity-list .activity-avatar img.avatar,
.sc-member-profile-content .activity-list .activity-avatar img {
	display: block !important;
	width: 52px !important;
	min-width: 52px !important;
	height: 52px !important;
	min-height: 52px !important;
	margin: 0 !important;
	border: 3px solid #d9e7ff !important;
	border-radius: 50% !important;
	box-shadow: none !important;
	object-fit: cover !important;
	transform: none !important;
}

.sc-member-profile-content .activity-list .activity-content {
	position: relative !important;
	grid-column: 2 !important;
	grid-row: 1 !important;
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	transform: none !important;
}

.sc-member-profile-content .activity-header,
.sc-member-profile-content .activity-header p {
	max-width: 92ch;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--scmp-muted) !important;
	font-size: 13px !important;
	line-height: 1.48 !important;
}

.sc-member-profile-content .activity-header a:first-of-type,
.sc-member-profile-content .activity-header .activity-time-since {
	font-weight: 700;
}

.sc-member-profile-content .activity-header img.avatar {
	display: none !important;
}

.sc-member-profile-content .activity-inner {
	width: 100% !important;
	max-width: 100% !important;
	margin: 12px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--scmp-ink) !important;
	font-size: 16px !important;
	line-height: 1.62 !important;
	overflow-wrap: anywhere;
}

.sc-member-profile-content .activity-inner p:first-child {
	margin-top: 0 !important;
}

.sc-member-profile-content .activity-inner p:last-child {
	margin-bottom: 0 !important;
}

.sc-member-profile-content .activity-inner blockquote {
	margin: 13px 0 !important;
	padding: 11px 14px !important;
	border: 0 !important;
	border-left: 4px solid var(--scmp-yellow) !important;
	background: #f5f8ff !important;
	color: #34415a !important;
}

/* On wide profiles the feed column can exceed a comfortable reading measure.
 * Keep copy compact while allowing media wrappers to use their own preview
 * width below it. */
.sc-member-profile-content .activity-inner > p:not(.sc-member-activity-media-paragraph),
.sc-member-profile-content .activity-inner > ul,
.sc-member-profile-content .activity-inner > ol,
.sc-member-profile-content .activity-inner > blockquote {
	max-width: 78ch;
}

.sc-member-profile-content .activity-inner img:not(.emoji):not(.avatar),
.sc-member-profile-content .activity-inner video,
.sc-member-profile-content .activity-inner iframe,
.sc-member-profile-content .activity-attachment img,
.sc-member-profile-content .rtmedia-activity-container img,
.sc-member-profile-content .mpp-activity-media-list img {
	display: block;
	position: static !important;
	float: none !important;
	clear: both !important;
	width: auto !important;
	max-width: min(100%, 960px) !important;
	height: auto !important;
	max-height: min(52vh, 520px) !important;
	margin: 13px auto 0 !important;
	border: 1px solid #d5deeb;
	border-radius: 2px;
	background: #eef2f8;
	object-fit: contain !important;
	transform: none !important;
}

.sc-member-profile-content .activity-inner::after {
	display: block;
	clear: both;
	content: "";
}

.sc-member-profile-content .activity-inner .alignleft,
.sc-member-profile-content .activity-inner .alignright,
.sc-member-profile-content .activity-inner .aligncenter,
.sc-member-profile-content .activity-inner .sc-member-activity-media-link,
.sc-member-profile-content .activity-inner .sc-member-activity-media-wrap {
	position: static !important;
	float: none !important;
	clear: both !important;
	max-width: 100% !important;
	transform: none !important;
}

.sc-member-profile-content .activity-inner .sc-member-activity-media-link {
	display: block !important;
	width: 100% !important;
	margin: 13px auto 0 !important;
}

.sc-member-profile-content .activity-inner .sc-member-activity-media-link > img {
	margin: 0 auto !important;
}

.sc-member-profile-content .activity-inner .sc-member-activity-media-paragraph {
	display: flow-root !important;
	width: 100% !important;
	max-width: 100% !important;
}

.sc-member-profile-content .activity-attachment,
.sc-member-profile-content .rtmedia-activity-container,
.sc-member-profile-content .mpp-activity-media-list,
.sc-member-profile-content .sc-member-activity-media-wrap {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.sc-member-profile-content .activity-inner iframe,
.sc-member-profile-content .activity-inner video {
	width: min(100%, 960px) !important;
	aspect-ratio: 16 / 9;
}

.sc-member-profile-content .activity-comments {
	grid-column: 2;
	width: 100% !important;
	margin: 14px 0 0 !important;
	padding: 12px 0 0 !important;
	border-top: 1px solid var(--scmp-line) !important;
	background: transparent !important;
}

.sc-member-profile-content .activity-comments ul,
.sc-member-profile-content .activity-comments li {
	max-width: 100%;
}

.sc-member-profile-content .activity-comments ul {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.sc-member-profile-content .activity-comments li {
	margin: 8px 0 !important;
	padding: 11px !important;
	border: 1px solid #dde4ef !important;
	border-radius: 8px !important;
	background: #f8faff !important;
}

.sc-member-profile-content .activity-comments form.ac-form {
	display: none;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 10px 0 0 !important;
	padding: 0 !important;
}

.sc-member-profile-content .activity-comments form.ac-form .ac-reply-avatar {
	float: left !important;
	width: 36px !important;
	margin: 0 !important;
}

.sc-member-profile-content .activity-comments form.ac-form .ac-reply-avatar img {
	display: block;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50%;
	object-fit: cover;
}

.sc-member-profile-content .activity-comments form.ac-form .ac-reply-content {
	min-width: 0;
	margin-left: 44px !important;
}

.sc-member-profile-content .activity-comments form textarea {
	width: 100% !important;
	min-height: 68px;
}

.sc-member-activity-channel {
	display: inline-flex;
	align-items: center;
	margin: 0 0 8px;
	padding: 4px 8px;
	border: 1px solid #c9d8f2;
	border-radius: 999px;
	background: #eef4ff;
	color: var(--scmp-blue-900);
	font-size: 10px;
	font-weight: 780;
	letter-spacing: .07em;
	line-height: 1;
	text-transform: uppercase;
}

.sc-member-profile-content .activity-list > li.is-channel-wiki {
	border-left-color: #0a9e77 !important;
}

.sc-member-profile-content .activity-list > li.is-channel-news {
	border-left-color: var(--scmp-red) !important;
}

.sc-member-profile-content .activity-list > li.is-channel-forum {
	border-left-color: var(--scmp-yellow-strong) !important;
}

.sc-member-profile-content .activity-list > li.is-channel-system,
.sc-member-profile-content .activity-list > li.is-system-digest {
	--scmp-avatar-column: 42px;
	padding: 13px 15px !important;
	border-left-width: 3px !important;
	background: #fafbfe !important;
	box-shadow: none !important;
}

.sc-member-profile-content .activity-list > li.is-channel-system .activity-avatar img,
.sc-member-profile-content .activity-list > li.is-system-digest .activity-avatar img {
	width: 36px !important;
	min-width: 36px !important;
	height: 36px !important;
	min-height: 36px !important;
	border-width: 2px !important;
}

.sc-member-profile-content .activity-list > li.is-channel-system .activity-inner,
.sc-member-profile-content .activity-list > li.is-system-digest .activity-inner {
	margin-top: 7px !important;
	font-size: 14px !important;
}

.sc-member-profile-content .activity-list > li[data-sc-member-enhanced="1"] .activity-meta.action:not(.sc-member-activity-actions) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.sc-member-activity-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	margin-top: 15px;
	padding-top: 10px;
	border-top: 1px solid #e3e8f1;
}

.sc-member-activity-actions {
	display: flex;
	align-items: center;
	gap: 2px;
	min-width: 0;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-action,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 34px;
	min-height: 34px;
	margin: 0 !important;
	padding: 6px 8px !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #60708b !important;
	font-size: 12px !important;
	font-weight: 670 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	cursor: pointer;
	white-space: nowrap;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-action:hover,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary:hover,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-action.is-active,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-action[aria-pressed="true"] {
	border-color: #c7d6ee !important;
	background: #edf4ff !important;
	color: var(--scmp-link) !important;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-action.is-working {
	opacity: .58;
	pointer-events: none;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-action .sc-member-icon,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu .sc-member-icon {
	width: 16px;
	height: 16px;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-count:empty,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-count[data-count="0"] {
	display: none;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-reactions,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu {
	position: relative;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	z-index: 40;
	display: none;
	min-width: 190px;
	padding: 6px;
	border: 1px solid #cad5e7;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 13px 32px rgba(0, 10, 55, .2);
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-reactions.is-open .sc-member-reaction-picker,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu[open] .sc-member-social-menu__panel {
	display: grid;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker {
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button {
	display: grid !important;
	place-items: center;
	min-width: 38px !important;
	min-height: 40px !important;
	padding: 4px !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	background: #f5f7fb !important;
	box-shadow: none !important;
	font-size: 20px !important;
	cursor: pointer;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button:hover,
.sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button.is-active {
	border-color: var(--scmp-link) !important;
	background: #edf4ff !important;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary {
	list-style: none;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary::-webkit-details-marker,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary::marker {
	display: none;
	content: "";
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu__panel {
	grid-template-columns: 1fr;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu__panel a,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu__panel button {
	display: flex !important;
	align-items: center;
	gap: 8px;
	width: 100% !important;
	min-height: 36px !important;
	margin: 0 !important;
	padding: 7px 9px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--scmp-ink) !important;
	font-size: 12px !important;
	font-weight: 620 !important;
	text-align: left;
	text-decoration: none !important;
	cursor: pointer;
}

.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu__panel a:hover,
.sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu__panel button:hover {
	background: var(--scmp-soft) !important;
	color: var(--scmp-link) !important;
}

.sc-member-activity-status {
	min-width: 0;
	color: var(--scmp-muted);
	font-size: 11px;
	line-height: 1.3;
	text-align: right;
}

.sc-member-activity-status.is-error {
	color: var(--scmp-red);
}

/* Sidebar cards */
.sc-member-profile-rail {
	display: grid;
	gap: 15px;
	min-width: 0;
}

.sc-member-profile-overview {
	grid-area: overview;
}

.sc-member-profile-destinations {
	grid-area: destinations;
}

.sc-member-profile-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--scmp-line);
	border-top: 4px solid var(--scmp-blue-900);
	border-radius: var(--scmp-radius);
	background: #fff;
	box-shadow: 0 9px 24px rgba(0, 10, 55, .09);
}

.sc-member-profile-card > header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 52px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--scmp-line);
	background: linear-gradient(180deg, #fff, #f7f9ff);
}

.sc-member-profile-card > header h3 {
	margin: 0 !important;
	color: var(--scmp-blue-900) !important;
	font-size: 15px !important;
	font-weight: 760 !important;
	letter-spacing: -.01em;
}

.sc-member-profile-card > header > span:not(.sc-member-profile-role) {
	color: var(--scmp-link);
	font-size: 12px;
	font-weight: 790;
}

.sc-member-profile-card .sc-member-profile-role {
	border-color: #c9d8ef;
	background: #eef4ff;
	color: var(--scmp-blue-900);
}

.sc-member-profile-card .sc-member-profile-role.is-bot {
	border-color: #9fdbe1;
	background: #e9fcff;
	color: #075d68;
}

.sc-member-profile-about > p {
	margin: 0 !important;
	padding: 17px 16px 13px;
	color: #3d485b !important;
	font-size: 14px;
	line-height: 1.62;
}

.sc-member-profile-details {
	display: grid;
	gap: 0;
	margin: 0 !important;
	padding: 0 16px 13px !important;
	list-style: none !important;
}

.sc-member-profile-details li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 0 !important;
	padding: 8px 0;
	border-bottom: 1px solid #edf0f5;
	color: var(--scmp-muted);
	font-size: 13px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.sc-member-profile-details li:last-child {
	border-bottom: 0;
}

.sc-member-profile-details .sc-member-icon {
	width: 16px;
	height: 16px;
	margin-top: 1px;
	color: var(--scmp-link);
}

.sc-member-profile-card__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 44px;
	padding: 10px 14px;
	border-top: 1px solid var(--scmp-line);
	background: #f8faff;
	font-size: 13px;
	font-weight: 720;
	text-decoration: none !important;
}

.sc-member-profile-stat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--scmp-line);
}

.sc-member-profile-stat-grid > div {
	padding: 14px;
	background: #fff;
}

.sc-member-profile-stat-grid strong,
.sc-member-profile-stat-grid span {
	display: block;
}

.sc-member-profile-stat-grid strong {
	color: var(--scmp-blue-900);
	font-size: 24px;
	font-weight: 790;
	line-height: 1;
}

.sc-member-profile-stat-grid span {
	margin-top: 5px;
	color: var(--scmp-muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.sc-member-profile-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 14px;
}

.sc-member-profile-badges > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 9px;
	border: 1px solid #e7d266;
	border-radius: 8px;
	background: #fffbea;
	color: #5c4b00;
	font-size: 12px;
}

.sc-member-profile-badges .sc-member-icon {
	width: 14px;
	height: 14px;
	color: #e7a800;
}

.sc-member-profile-badges em {
	font-style: normal;
}

.sc-member-profile-links {
	display: grid;
	padding: 7px;
}

.sc-member-profile-links a {
	display: grid;
	grid-template-columns: 31px minmax(0, 1fr);
	gap: 9px;
	align-items: center;
	padding: 12px 10px;
	border-bottom: 1px solid #edf0f5;
	color: var(--scmp-ink) !important;
	text-decoration: none !important;
}

.sc-member-profile-links a:last-child {
	border-bottom: 0;
}

.sc-member-profile-links a:hover {
	background: var(--scmp-soft);
}

.sc-member-profile-links > a > .sc-member-icon {
	width: 20px;
	height: 20px;
	color: var(--scmp-link);
}

.sc-member-profile-links strong,
.sc-member-profile-links small {
	display: block;
}

.sc-member-profile-links strong {
	font-size: 13px;
	font-weight: 720;
}

.sc-member-profile-links small {
	margin-top: 2px;
	color: var(--scmp-muted);
	font-size: 11px;
}

/* Lists, profile fields, directories, tables, and forms */
.sc-member-profile-content .bp-list,
.sc-member-profile-content .item-list,
.sc-member-profile-content #groups-list,
.sc-member-profile-content #members-list,
.sc-member-profile-content #friend-list,
.sc-member-profile-content #message-threads {
	display: grid;
	gap: 10px;
	margin: 0 !important;
	padding: 22px !important;
	background: var(--scmp-soft);
	list-style: none !important;
}

.sc-member-profile-content .bp-list > li,
.sc-member-profile-content .item-list > li,
.sc-member-profile-content #groups-list > li,
.sc-member-profile-content #members-list > li,
.sc-member-profile-content #friend-list > li,
.sc-member-profile-content #message-threads > li {
	position: relative;
	min-width: 0;
	margin: 0 !important;
	padding: 15px !important;
	border: 1px solid #d3ddea !important;
	border-radius: 3px !important;
	background: #fff !important;
	box-shadow: 0 5px 14px rgba(0, 20, 75, .05);
	overflow-wrap: anywhere;
}

.sc-member-profile-content .bp-list .item-avatar img,
.sc-member-profile-content .item-list .item-avatar img {
	width: 58px !important;
	height: 58px !important;
	border: 3px solid #d9e7ff;
	border-radius: 50%;
	object-fit: cover;
}

.sc-member-profile-content .bp-list .item,
.sc-member-profile-content .item-list .item {
	min-width: 0;
	margin-left: 72px !important;
}

.sc-member-profile-content .bp-list .item-title,
.sc-member-profile-content .item-list .item-title {
	font-size: 14px !important;
	font-weight: 720 !important;
}

.sc-member-profile-content .bp-list .action,
.sc-member-profile-content .item-list .action {
	position: static !important;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 0 72px !important;
}

.sc-member-profile-content .profile,
.sc-member-profile-content .bp-widget,
.sc-member-profile-content .standard-form,
.sc-member-profile-content #settings-form,
.sc-member-profile-content #send_message_form,
.sc-member-profile-content #compose-personal-li ~ form,
.sc-member-profile-content .mpp-component,
.sc-member-profile-content .bbp-user-section {
	max-width: 100%;
	margin: 0 !important;
	padding: 22px !important;
}

.sc-member-profile-content .profile .bp-widget {
	padding: 0 0 22px !important;
}

.sc-member-profile-content .profile .bp-widget:last-child {
	padding-bottom: 0 !important;
}

.sc-member-profile-content .profile h2,
.sc-member-profile-content .bp-widget h2,
.sc-member-profile-content .bbp-user-section > h2 {
	margin: 0 0 12px !important;
	padding: 0 0 8px !important;
	border-bottom: 3px solid var(--scmp-yellow) !important;
	color: var(--scmp-blue-900) !important;
	font-size: 18px !important;
	font-weight: 750 !important;
}

.sc-member-profile-content table {
	display: table;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	border: 1px solid var(--scmp-line) !important;
	border-collapse: collapse !important;
	background: #fff;
	font-size: 12px;
}

.sc-member-profile-content table th,
.sc-member-profile-content table td {
	padding: 10px 12px !important;
	border: 1px solid var(--scmp-line) !important;
	text-align: left !important;
	vertical-align: top !important;
	overflow-wrap: anywhere;
}

.sc-member-profile-content table th {
	background: #edf3ff !important;
	color: var(--scmp-blue-900) !important;
	font-size: 10px !important;
	font-weight: 750 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.sc-member-profile-content table.profile-fields td.label {
	width: 30% !important;
	min-width: 130px;
	background: #f6f8fc;
	color: #3d4a61;
	font-weight: 700;
}

.sc-member-profile-content fieldset {
	margin: 0 0 18px !important;
	padding: 16px !important;
	border: 1px solid var(--scmp-line) !important;
	border-radius: 3px;
}

.sc-member-profile-content legend {
	padding: 0 7px;
	color: var(--scmp-blue-900);
	font-size: 13px;
	font-weight: 740;
}

.sc-member-profile-content label {
	display: block;
	margin: 0 0 6px !important;
	color: #28364d;
	font-size: 11px !important;
	font-weight: 700 !important;
}

.sc-member-profile-content input[type="text"],
.sc-member-profile-content input[type="email"],
.sc-member-profile-content input[type="password"],
.sc-member-profile-content input[type="search"],
.sc-member-profile-content input[type="url"],
.sc-member-profile-content input[type="number"],
.sc-member-profile-content input[type="date"],
.sc-member-profile-content textarea,
.sc-member-profile-content select {
	width: 100%;
	max-width: 100%;
	min-height: 42px;
	margin: 0 0 13px !important;
	padding: 9px 11px !important;
	border: 1px solid #b9c6da !important;
	border-radius: 2px !important;
	background: #fff !important;
	box-shadow: inset 0 1px 2px rgba(0, 20, 70, .05) !important;
	color: var(--scmp-ink) !important;
}

.sc-member-profile-content textarea {
	min-height: 120px;
	resize: vertical;
}

.sc-member-profile-content input[type="checkbox"],
.sc-member-profile-content input[type="radio"] {
	width: 17px;
	height: 17px;
	margin-right: 6px;
	accent-color: var(--scmp-link);
}

.sc-member-profile-content button,
.sc-member-profile-content input[type="submit"],
.sc-member-profile-content input[type="button"],
.sc-member-profile-content .button,
.sc-member-profile-content .generic-button a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin: 0 !important;
	padding: 8px 13px !important;
	border: 1px solid var(--scmp-blue-700) !important;
	border-radius: 2px !important;
	background: linear-gradient(180deg, var(--scmp-link), var(--scmp-blue-700)) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	line-height: 1.1 !important;
	text-decoration: none !important;
	cursor: pointer;
}

.sc-member-profile-content button:hover,
.sc-member-profile-content input[type="submit"]:hover,
.sc-member-profile-content .button:hover,
.sc-member-profile-content .generic-button a:hover {
	filter: brightness(1.08);
}

.sc-member-profile-content button:disabled,
.sc-member-profile-content input:disabled {
	opacity: .55;
	cursor: not-allowed;
}

.sc-member-profile-content .activity-comments .ac-form .ac-reply-cancel {
	border-color: #b9c6da !important;
	background: #fff !important;
	color: var(--scmp-blue-900) !important;
}

.sc-member-profile-content .pagination,
.sc-member-profile-content .bp-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 !important;
	padding: 13px 22px !important;
	border-bottom: 1px solid var(--scmp-line);
	background: #f8faff;
	font-size: 10px;
}

.sc-member-profile-content .mpp-galleries-list,
.sc-member-profile-content .mpp-media-list,
.sc-member-profile-content .rtmedia-list {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.sc-member-profile-content .mpp-galleries-list > li,
.sc-member-profile-content .mpp-media-list > li,
.sc-member-profile-content .rtmedia-list > li {
	width: auto !important;
	margin: 0 !important;
	padding: 8px !important;
	border: 1px solid var(--scmp-line);
	background: #fff;
}

.sc-member-profile-content .mpp-galleries-list img,
.sc-member-profile-content .mpp-media-list img,
.sc-member-profile-content .rtmedia-list img {
	display: block;
	width: 100% !important;
	height: 160px !important;
	object-fit: cover;
}

.sc-member-profile-content .bbp-user-section,
.sc-member-profile-content #bbpress-forums {
	min-width: 0;
}

.sc-member-profile-content #bbpress-forums ul,
.sc-member-profile-content #bbpress-forums li {
	max-width: 100%;
}

.sc-member-profile-content #bbpress-forums .bbp-header,
.sc-member-profile-content #bbpress-forums .bbp-footer {
	background: var(--scmp-blue-900) !important;
	color: #fff !important;
}

.sc-member-profile-content #bbpress-forums .bbp-body > ul {
	border-color: var(--scmp-line) !important;
	background: #fff !important;
}

/* WordPress uploader/cropper containment */
.sc-member-profile-content .bp-avatar-nav,
.sc-member-profile-content .bp-cover-image,
.sc-member-profile-content .bp-avatar,
.sc-member-profile-content .bp-uploader-window,
.sc-member-profile-content .drag-drop {
	max-width: 100% !important;
}

.sc-member-profile-content .bp-uploader-window,
.sc-member-profile-content .drag-drop {
	margin: 18px 22px !important;
	padding: 34px 20px !important;
	border: 2px dashed #aebed7 !important;
	border-radius: 3px !important;
	background: #f8faff !important;
	text-align: center;
}

.sc-member-profile-content .jcrop-holder,
.sc-member-profile-content .jcrop-holder img,
.sc-member-profile-content #avatar-to-crop {
	max-width: 100% !important;
	height: auto !important;
}

/* Moderate desktop adjustments */
@media (max-width: 1200px) {
	.sc-member-profile-hero__inner {
		grid-template-areas:
			"avatar identity"
			"avatar actions"
			"stats stats";
		grid-template-columns: 188px minmax(0, 1fr);
		grid-template-rows: 1fr auto auto;
	}

	.sc-member-profile-hero__actions {
		justify-content: flex-start;
	}

	.sc-member-profile-hero__stats {
		max-width: none;
	}

	.sc-member-profile-layout:not(.is-wide) {
		grid-template-columns: minmax(0, 1fr) 310px;
	}
}

@media (max-width: 980px) {
	.sc-member-profile-layout:not(.is-wide) {
		grid-template-areas:
			"overview"
			"content"
			"destinations";
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: repeat(3, auto);
	}

	.sc-member-profile-overview {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sc-member-profile-overview .sc-member-profile-badges-card {
		grid-column: 1 / -1;
	}

	.sc-member-profile-destinations {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 782px) {
	body.sc-member-profile-v100 {
		--scmp-shell: calc(100vw - 20px);
	}

	body.sc-member-profile-v100 #wpadminbar {
		max-width: 100vw;
		overflow-x: auto;
		overflow-y: hidden;
	}

	body.sc-member-profile-v100 #buddypress {
		margin-top: 10px !important;
		font-size: 14px;
	}

	.sc-member-profile-hero {
		min-height: 0;
	}

	.sc-member-profile-hero__inner {
		grid-template-areas:
			"avatar identity"
			"stats stats"
			"actions actions";
		grid-template-columns: 128px minmax(0, 1fr);
		grid-template-rows: auto;
		gap: 13px;
		min-height: 0;
		padding: 36px 16px 20px;
		text-align: left;
	}

	.sc-member-profile-avatar {
		width: 128px;
		height: 128px;
		margin: 0;
	}

	.sc-member-profile-identity__meta,
	.sc-member-profile-hero__actions {
		justify-content: flex-start;
	}

	.sc-member-profile-identity h1 {
		font-size: clamp(30px, 10vw, 44px) !important;
	}

	.sc-member-profile-tagline {
		max-width: 540px;
	}

	.sc-member-profile-hero__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		width: 100%;
		text-align: left;
	}

	.sc-member-profile-action,
	.sc-member-profile-native-action .generic-button a,
	.sc-member-profile-native-action .friendship-button {
		min-height: 44px;
		font-size: 13px !important;
	}

	body.sc-member-profile-v100 #buddypress #item-nav {
		margin: 10px 0 12px !important;
	}

	body.sc-member-profile-v100 #buddypress #object-nav li a {
		min-height: 52px;
		padding: 9px 12px !important;
	}

	.sc-member-route-head {
		min-height: 82px;
		padding: 16px;
	}

	.sc-member-route-head__icon {
		width: 43px;
		height: 43px;
	}

	.sc-member-profile-content #whats-new-form {
		margin: 0 0 12px !important;
	}

	.sc-member-profile-content #bp-nouveau-activity-form.activity-update-form {
		--scmp-composer-fallback-left: 95px;
		--scmp-composer-fallback-right: 30px;
	}

	.sc-member-profile-content #mpp-activity-upload-buttons:not(.sc-member-native-media-toolbar),
	.sc-member-profile-content #mpp-activity-media-upload-container:not(.sc-member-native-media-panel) {
		max-width: calc(100% - 125px) !important;
		margin-right: 30px !important;
		margin-left: 95px !important;
	}

	.sc-member-profile-content #activity-stream,
	.sc-member-profile-content ul.activity-list,
	.sc-member-profile-content ol.activity-list,
	.sc-member-profile-content .bp-list,
	.sc-member-profile-content .item-list,
	.sc-member-profile-content #groups-list,
	.sc-member-profile-content #members-list,
	.sc-member-profile-content #friend-list,
	.sc-member-profile-content #message-threads {
		gap: 10px;
		padding: 14px !important;
	}

	.sc-member-profile-content .profile,
	.sc-member-profile-content .bp-widget,
	.sc-member-profile-content .standard-form,
	.sc-member-profile-content #settings-form,
	.sc-member-profile-content #send_message_form,
	.sc-member-profile-content .mpp-component,
	.sc-member-profile-content .bbp-user-section {
		padding: 16px !important;
	}

	.sc-member-profile-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 760px) {
	.sc-member-profile-content .subnav-filters {
		align-items: stretch;
		flex-direction: column;
	}

	.sc-member-profile-content .subnav-filters .feed,
	.sc-member-profile-content .subnav-filters .component-filters,
	.sc-member-profile-content .subnav-filters #activity-filter-select {
		width: 100% !important;
	}

	.sc-member-profile-content .subnav-filters .component-filters {
		justify-content: stretch;
	}

	.sc-member-profile-content #whats-new-form {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
	}

	.sc-member-profile-content #whats-new-form #whats-new-avatar,
	.sc-member-profile-content .activity-list .activity-avatar,
	.sc-member-profile-content .activity-comments form.ac-form .ac-reply-avatar {
		display: none !important;
	}

	.sc-member-profile-content #whats-new-content,
	.sc-member-profile-content #whats-new-form > #whats-new-options,
	.sc-member-profile-content #whats-new-form > #whats-new-submit,
	.sc-member-profile-content #whats-new-form > #activity-visibility,
	.sc-member-profile-content #whats-new-form > .sc-member-composer-tools,
	.sc-member-profile-content #whats-new-form > .sc-member-native-media-toolbar,
	.sc-member-profile-content #whats-new-form > .sc-member-native-media-panel,
	.sc-member-profile-content #whats-new-form > .bp-activity-privacy,
	.sc-member-profile-content #whats-new-form > .bpap-activity-privacy,
	.sc-member-profile-content #whats-new-form > [data-bp-activity-privacy],
	.sc-member-profile-content #whats-new-form > [data-activity-privacy] {
		grid-column: 1 !important;
	}

	.sc-member-profile-content #bp-nouveau-activity-form.activity-update-form {
		--scmp-composer-fallback-left: 0;
		--scmp-composer-fallback-right: 0;
	}

	.sc-member-profile-content #bp-nouveau-activity-form > #whats-new-options,
	.sc-member-profile-content #bp-nouveau-activity-form > #whats-new-submit,
	.sc-member-profile-content #bp-nouveau-activity-form > #activity-visibility,
	.sc-member-profile-content #bp-nouveau-activity-form > .bp-activity-privacy,
	.sc-member-profile-content #bp-nouveau-activity-form > .bpap-activity-privacy,
	.sc-member-profile-content #bp-nouveau-activity-form > [data-bp-activity-privacy],
	.sc-member-profile-content #bp-nouveau-activity-form > [data-activity-privacy],
	.sc-member-profile-content #bp-nouveau-activity-form > #mpp-activity-upload-buttons,
	.sc-member-profile-content #bp-nouveau-activity-form > #mpp-activity-media-upload-container,
	.sc-member-profile-content #mpp-activity-upload-buttons:not(.sc-member-native-media-toolbar),
	.sc-member-profile-content #mpp-activity-media-upload-container:not(.sc-member-native-media-panel) {
		width: 100% !important;
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.sc-member-profile-content #activity-stream > li,
	.sc-member-profile-content ul.activity-list > li,
	.sc-member-profile-content ol.activity-list > li {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 0 !important;
		padding: 14px !important;
	}

	.sc-member-profile-content .activity-list .activity-content,
	.sc-member-profile-content .activity-comments {
		grid-column: 1 !important;
	}

	.sc-member-profile-content .activity-comments form.ac-form .ac-reply-content {
		margin-left: 0 !important;
	}

	.sc-member-profile-content .activity-inner {
		font-size: 15px !important;
	}
}

@media (max-width: 600px) {
	.sc-member-profile-hero__inner {
		grid-template-areas:
			"avatar"
			"identity"
			"stats"
			"actions";
		grid-template-columns: minmax(0, 1fr);
		gap: 11px;
		padding: 32px 16px 18px;
		text-align: center;
	}

	.sc-member-profile-avatar {
		width: 112px;
		height: 112px;
		margin: 0 auto;
	}

	.sc-member-profile-identity__meta,
	.sc-member-profile-hero__actions {
		justify-content: center;
	}

	.sc-member-profile-tagline {
		margin-right: auto !important;
		margin-left: auto !important;
		font-size: 15px;
	}

	.sc-member-profile-content .subnav-filters {
		flex-wrap: nowrap;
		padding: 9px 10px !important;
	}

	.sc-member-profile-content .subnav-filters .component-filters {
		flex-basis: auto;
	}

	.sc-member-profile-content .subnav-filters #activity-filter-select,
	.sc-member-profile-content .subnav-filters select,
	.sc-member-profile-content .subnav-filters #activity-filter-by {
		width: 100% !important;
		min-width: 0;
	}

	.sc-member-profile-hero__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.sc-member-profile-hero__stats > div {
		padding: 10px 3px;
	}

	.sc-member-profile-hero__stats span {
		font-size: 8px;
		letter-spacing: .01em;
	}

	.sc-member-profile-overview,
	.sc-member-profile-destinations {
		grid-template-columns: minmax(0, 1fr);
	}

	.sc-member-profile-overview .sc-member-profile-badges-card {
		grid-column: auto;
	}

	.sc-member-route-head__icon {
		display: none;
	}

	.sc-member-profile-content #whats-new-form {
		grid-template-columns: minmax(0, 1fr);
		gap: 9px;
		padding: 12px !important;
	}

	.sc-member-profile-content #bp-nouveau-activity-form.activity-update-form {
		--scmp-composer-fallback-left: 0;
		--scmp-composer-fallback-right: 0;
	}

	.sc-member-profile-content #mpp-activity-upload-buttons:not(.sc-member-native-media-toolbar),
	.sc-member-profile-content #mpp-activity-media-upload-container:not(.sc-member-native-media-panel) {
		max-width: 100% !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.sc-member-profile-content #whats-new-form #whats-new-avatar {
		width: 42px !important;
	}

	.sc-member-profile-content #whats-new-avatar img {
		width: 40px !important;
		height: 40px !important;
	}

	.sc-member-profile-content #activity-stream > li,
	.sc-member-profile-content ul.activity-list > li,
	.sc-member-profile-content ol.activity-list > li {
		--scmp-avatar-column: 46px;
		gap: 0 9px;
		padding: 13px !important;
		border-left-width: 3px !important;
	}

	.sc-member-profile-content .activity-list .activity-avatar img.avatar,
	.sc-member-profile-content .activity-list .activity-avatar img {
		width: 42px !important;
		min-width: 42px !important;
		height: 42px !important;
		min-height: 42px !important;
		border-width: 2px !important;
	}

	.sc-member-profile-content .activity-inner {
		font-size: 15px !important;
	}

	.sc-member-activity-footer {
		align-items: flex-start;
		flex-direction: column;
		overflow: visible;
	}

	.sc-member-activity-actions {
		width: 100%;
		flex-wrap: wrap;
		overflow: visible;
		padding-bottom: 0;
	}

	.sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker {
		left: 50%;
		right: auto;
		width: min(180px, calc(100vw - 24px));
		min-width: 0;
		transform: translateX(-50%);
	}

	.sc-member-social-label {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		width: 1px !important;
		height: 1px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0) !important;
		clip-path: inset(50%) !important;
		border: 0 !important;
		white-space: nowrap !important;
	}

	.sc-member-activity-status {
		width: 100%;
		text-align: left;
	}

	.sc-member-profile-content .bp-list .item,
	.sc-member-profile-content .item-list .item,
	.sc-member-profile-content .bp-list .action,
	.sc-member-profile-content .item-list .action {
		margin-left: 0 !important;
	}

	.sc-member-profile-content .bp-list .item-avatar,
	.sc-member-profile-content .item-list .item-avatar {
		float: none !important;
		margin-bottom: 9px;
	}
}

@media (max-width: 420px) {
	.sc-member-profile-hero__inner {
		padding-top: 28px;
	}

	.sc-member-profile-avatar {
		width: 108px;
		height: 108px;
	}

	.sc-member-profile-identity__meta {
		gap: 6px;
	}

	.sc-member-profile-active {
		width: 100%;
		justify-content: center;
	}

	.sc-member-profile-hero__actions {
		width: 100%;
	}

	.sc-member-profile-action,
	.sc-member-profile-native-action .generic-button a,
	.sc-member-profile-native-action .friendship-button {
		flex: 1 1 auto;
	}

	.sc-member-profile-menu {
		flex: 0 0 40px;
	}

	.sc-member-profile-menu__panel {
		right: -3px;
	}

	.sc-member-route-head {
		min-height: 82px;
		padding: 14px;
	}

	.sc-member-route-head p {
		font-size: 11px;
	}

	.sc-member-profile-content #activity-stream,
	.sc-member-profile-content ul.activity-list,
	.sc-member-profile-content ol.activity-list {
		padding: 10px !important;
	}

	.sc-member-profile-content #activity-stream > li,
	.sc-member-profile-content ul.activity-list > li,
	.sc-member-profile-content ol.activity-list > li {
		--scmp-avatar-column: 40px;
		gap: 0 8px;
		padding: 11px !important;
	}

	.sc-member-profile-content .activity-list .activity-avatar img.avatar,
	.sc-member-profile-content .activity-list .activity-avatar img {
		width: 36px !important;
		min-width: 36px !important;
		height: 36px !important;
		min-height: 36px !important;
	}

	.sc-member-social-action,
	.sc-member-social-menu > summary {
		padding-right: 7px !important;
		padding-left: 7px !important;
	}

	.sc-member-profile-content table.profile-fields td.label {
		min-width: 110px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sc-member-profile-v100 *,
	.sc-member-profile-v100 *::before,
	.sc-member-profile-v100 *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================================================
   v1.2.0 shared Community Hub / My City surface contract
   ========================================================= */

body.sc-member-profile-v120 {
	--scmp-rail: 400px;
	--scmp-module-shadow: 0 7px 18px rgba(0, 0, 0, .07);
}

body.sc-member-profile-v120 #buddypress {
	width: 100% !important;
	margin: 0 auto clamp(42px, 6vw, 86px) !important;
	font-family: "Roboto Condensed", Arial, sans-serif;
}

body.sc-member-profile-v120 #buddypress #item-header > .sc-member-profile-hero {
	width: 100vw !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
}

body.sc-member-profile-v120 .sc-member-profile-hero {
	min-height: 286px;
	border: 0;
	border-bottom: 3px solid var(--scmp-yellow);
	border-radius: 0;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

body.sc-member-profile-v120 .sc-member-profile-hero__inner {
	width: var(--scmp-shell);
	min-height: 283px;
	margin: 0 auto;
	padding: clamp(58px, 6.4vw, 92px) 0 24px;
}

body.sc-member-profile-v120.bp-single-vert-nav #buddypress #item-nav,
body.sc-member-profile-v120.bp-single-vert-nav #buddypress #item-body,
body.sc-member-profile-v120 #buddypress #item-nav,
body.sc-member-profile-v120 #buddypress #item-body {
	width: var(--scmp-shell) !important;
	max-width: none !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

body.sc-member-profile-v120 #buddypress #item-nav {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
	border: 0 !important;
	border-bottom: 3px solid var(--scmp-yellow) !important;
	border-radius: 0 !important;
	background: linear-gradient(180deg, #02126f 0%, #1720d2 100%) !important;
	box-shadow: var(--scmp-module-shadow);
}

body.sc-member-profile-v120 #buddypress #object-nav li a {
	min-height: 46px;
	padding: 10px 14px !important;
	font-size: 12px !important;
}

body.sc-member-profile-v120 .sc-member-profile-layout {
	grid-template-columns: minmax(0, 1fr) var(--scmp-rail);
	column-gap: 14px;
	row-gap: 12px;
}

body.sc-member-profile-v120 .sc-member-profile-layout.is-wide {
	grid-template-columns: minmax(0, 1fr);
}

body.sc-member-profile-v120 .sc-member-profile-content,
body.sc-member-profile-v120 .sc-member-profile-card {
	border: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: var(--scmp-module-shadow);
}

body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content {
	background: transparent;
	box-shadow: none;
}

body.sc-member-profile-v120 .sc-member-route-head,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-route-head {
	min-height: 72px;
	margin-bottom: 10px;
	padding: 11px 15px;
	border: 0;
	border-bottom: 3px solid var(--scmp-yellow);
	border-radius: 0;
	background: linear-gradient(180deg, #02126f 0%, #1720d2 100%);
	box-shadow: var(--scmp-module-shadow);
}

body.sc-member-profile-v120 .sc-member-route-head__icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

body.sc-member-profile-v120 .sc-member-route-head h2 {
	font-size: clamp(23px, 1.7vw, 30px) !important;
}

body.sc-member-profile-v120 .sc-member-route-head p {
	margin-top: 3px !important;
	font-size: 12px;
}

body.sc-member-profile-v120 .sc-member-profile-rail {
	gap: 12px;
}

body.sc-member-profile-v120 .sc-member-profile-card {
	overflow: hidden;
}

body.sc-member-profile-v120 .sc-member-profile-card > header {
	min-height: 46px;
	padding: 10px 13px;
	border: 0;
	border-bottom: 3px solid var(--scmp-yellow);
	background: linear-gradient(180deg, #02126f 0%, #1720d2 100%);
	color: #fff;
}

body.sc-member-profile-v120 .sc-member-profile-card > header h3,
body.sc-member-profile-v120 .sc-member-profile-card > header > span:not(.sc-member-profile-role) {
	color: #fff !important;
}

body.sc-member-profile-v120 .sc-member-profile-card > header h3 {
	font-size: 14px !important;
}

body.sc-member-profile-v120 .sc-member-profile-card > header .sc-member-profile-role {
	border-color: rgba(255, 255, 255, .34);
	background: rgba(255, 255, 255, .13);
	color: #fff;
}

body.sc-member-profile-v120 .sc-member-profile-card__link {
	border-top-color: #d9e1ef;
	border-radius: 0;
	background: #f4f7ff;
}

body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content > .bp-navs,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content > nav.bp-navs,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content > .item-list-tabs,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content #subnav,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content .bp-subnavs,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content .subnav-filters {
	border: 0 !important;
	border-radius: 0;
	background: #fff !important;
	box-shadow: var(--scmp-module-shadow);
}

body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content > .bp-navs,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content > nav.bp-navs,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content > .item-list-tabs,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content #subnav,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content .bp-subnavs {
	margin-bottom: 10px !important;
}

body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content .subnav-filters {
	margin-bottom: 10px !important;
	border-left: 3px solid var(--scmp-yellow) !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .subnav-filters .feed a,
body.sc-member-profile-v120 .sc-member-profile-content .subnav-filters select,
body.sc-member-profile-v120 .sc-member-profile-content .subnav-filters #activity-filter-by {
	border-radius: 2px !important;
}

/* Shared composer: same tool names, payload, controls, and module language. */
body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form {
	margin-bottom: 10px !important;
	padding: 11px 13px !important;
	border: 0 !important;
	border-left: 3px solid var(--scmp-yellow) !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: var(--scmp-module-shadow) !important;
}

body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.is-expanded {
	border-left-color: var(--scmp-yellow) !important;
	box-shadow: 0 9px 22px rgba(0, 0, 0, .09) !important;
}

body.sc-member-profile-v120 .sc-member-profile-content #whats-new,
body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form textarea {
	min-height: 50px !important;
	padding: 11px 12px !important;
	border-color: #cbd7e8 !important;
	border-radius: 2px !important;
	box-shadow: none !important;
}

body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.is-expanded #whats-new,
body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.is-expanded textarea {
	min-height: 112px !important;
}

body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.has-shared-community-tools .sc-member-native-media-toolbar,
body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.has-shared-community-tools .sc-member-native-media-panel {
	display: none !important;
}

body.sc-member-profile-v120 .sc-member-rich-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	width: 100%;
	margin-top: 8px;
	padding: 8px;
	border: 1px solid #d7dfec;
	background: #f3f6fb;
}

body.sc-member-profile-v120 .sc-community-tool-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-height: 31px;
	margin: 0 !important;
	padding: 6px 9px !important;
	border: 1px solid #c8d3e4 !important;
	border-radius: 3px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--scmp-blue-900) !important;
	font-size: 10px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	cursor: pointer;
}

body.sc-member-profile-v120 .sc-community-tool-btn:hover,
body.sc-member-profile-v120 .sc-community-tool-btn.is-active,
body.sc-member-profile-v120 .sc-community-tool-btn.has-value {
	border-color: var(--scmp-link) !important;
	background: #eaf1ff !important;
}

body.sc-member-profile-v120 .sc-community-tool-icon {
	display: inline-grid;
	place-items: center;
	min-width: 16px;
	font-weight: 900;
}

body.sc-member-profile-v120 .sc-member-tool-panels {
	position: relative;
	width: 100%;
}

body.sc-member-profile-v120 .sc-member-tool-panel {
	margin-top: 8px;
	padding: 11px;
	border: 1px solid #cad6e8;
	background: #f9fbff;
	box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
}

body.sc-member-profile-v120 .sc-member-tool-panel[hidden] {
	display: none !important;
}

body.sc-member-profile-v120 .sc-community-tool-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 9px;
	padding-bottom: 8px;
	border-bottom: 1px solid #dbe3ef;
}

body.sc-member-profile-v120 .sc-community-tool-panel-head strong {
	display: block;
	color: var(--scmp-blue-900);
	font-size: 14px;
	font-weight: 900;
}

body.sc-member-profile-v120 .sc-community-tool-eyebrow {
	display: block;
	margin-bottom: 2px;
	color: var(--scmp-red);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
}

body.sc-member-profile-v120 .sc-community-panel-close {
	display: grid !important;
	place-items: center;
	width: 28px !important;
	height: 28px !important;
	min-height: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #c8d3e4 !important;
	border-radius: 3px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--scmp-blue-900) !important;
	font-size: 18px !important;
	cursor: pointer;
}

body.sc-member-profile-v120 .sc-community-media-drop {
	display: grid !important;
	place-items: center;
	width: 100% !important;
	min-height: 92px !important;
	margin: 0 !important;
	padding: 12px !important;
	border: 1px dashed #aebdd3 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--scmp-blue-900) !important;
	text-align: center;
	cursor: pointer;
}

body.sc-member-profile-v120 .sc-community-media-drop-icon,
body.sc-member-profile-v120 .sc-community-media-drop strong,
body.sc-member-profile-v120 .sc-community-media-drop small {
	display: block;
}

body.sc-member-profile-v120 .sc-community-media-drop-icon {
	font-size: 24px;
}

body.sc-member-profile-v120 .sc-community-media-drop small {
	margin-top: 3px;
	color: var(--scmp-muted);
	font-size: 10px;
}

body.sc-member-profile-v120 .sc-member-media-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

body.sc-member-profile-v120 .sc-community-media-chip {
	display: inline-flex;
	padding: 6px 8px;
	border: 1px solid #d3ddea;
	background: #fff;
	color: #4f5b6f;
	font-size: 10px;
}

body.sc-member-profile-v120 .sc-community-media-chip.is-empty {
	color: var(--scmp-muted);
}

body.sc-member-profile-v120 .sc-community-gif-field input,
body.sc-member-profile-v120 .sc-community-emoji-search,
body.sc-member-profile-v120 .sc-member-tool-panel input[type="text"],
body.sc-member-profile-v120 .sc-member-tool-panel input[type="url"] {
	width: 100%;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid #cbd7e8;
	border-radius: 3px;
	background: #fff;
	font-size: 12px;
}

body.sc-member-profile-v120 .sc-community-gif-preview {
	display: grid;
	place-items: center;
	min-height: 96px;
	margin-top: 8px;
	border: 1px solid #d7dfeb;
	background: #fff;
	color: var(--scmp-muted);
	font-size: 11px;
}

body.sc-member-profile-v120 .sc-community-gif-preview img {
	display: block;
	max-width: 100%;
	max-height: 260px;
	object-fit: contain;
}

body.sc-member-profile-v120 .sc-community-sticker-summary {
	margin-bottom: 8px;
	color: var(--scmp-muted);
	font-size: 11px;
}

body.sc-member-profile-v120 .sc-community-sticker-grid,
body.sc-member-profile-v120 .sc-community-emoji-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 6px;
}

body.sc-member-profile-v120 .sc-community-sticker-choice,
body.sc-member-profile-v120 .sc-community-emoji-choice {
	display: grid !important;
	place-items: center;
	min-height: 58px !important;
	margin: 0 !important;
	padding: 6px !important;
	border: 1px solid #d4deeb !important;
	border-radius: 3px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--scmp-blue-900) !important;
	font-size: 21px !important;
	cursor: pointer;
}

body.sc-member-profile-v120 .sc-community-sticker-choice strong {
	display: block;
	margin-top: 3px;
	font-size: 8px;
	line-height: 1.15;
	text-transform: uppercase;
}

body.sc-member-profile-v120 .sc-community-sticker-choice img,
body.sc-member-profile-v120 .sc-community-emoji-choice img {
	display: block;
	width: 34px;
	height: 34px;
	object-fit: contain;
}

body.sc-member-profile-v120 .sc-community-sticker-choice.is-selected,
body.sc-member-profile-v120 .sc-community-emoji-choice:hover {
	border-color: var(--scmp-link) !important;
	background: #eaf1ff !important;
}

body.sc-member-profile-v120 .sc-community-poll-options {
	display: grid;
	gap: 6px;
	margin-top: 7px;
}

body.sc-member-profile-v120 .sc-community-poll-actions {
	display: flex;
	gap: 7px;
	margin-top: 8px;
}

body.sc-member-profile-v120 .sc-community-poll-actions button {
	min-height: 31px !important;
	margin: 0 !important;
	padding: 6px 9px !important;
	border: 1px solid #cad5e6 !important;
	border-radius: 3px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: var(--scmp-blue-900) !important;
	font-size: 10px !important;
	font-weight: 900 !important;
}

body.sc-member-profile-v120 .sc-member-composer-status {
	min-height: 0;
	margin-top: 5px;
	color: var(--scmp-blue-900);
	font-size: 11px;
	font-weight: 800;
}

body.sc-member-profile-v120 .sc-member-composer-status.is-error {
	color: var(--scmp-red);
}

body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.is-collapsed .sc-member-rich-tools,
body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.is-collapsed .sc-member-tool-panels,
body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form.is-collapsed .sc-member-composer-status {
	display: none !important;
}

/* Native BuddyPress activity, presented with the shared feed atoms. */
body.sc-member-profile-v120 .sc-member-profile-content #activity-stream,
body.sc-member-profile-v120 .sc-member-profile-content ul.activity-list,
body.sc-member-profile-v120 .sc-member-profile-content ol.activity-list,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content #activity-stream,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content ul.activity-list,
body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-profile-content ol.activity-list {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border-right: 1px solid var(--scmp-line) !important;
	border-bottom: 1px solid var(--scmp-line) !important;
	border-left: 1px solid var(--scmp-line) !important;
	background: #fff !important;
	box-shadow: var(--scmp-module-shadow);
}

body.sc-member-profile-v120 .sc-member-profile-content #activity-stream > li,
body.sc-member-profile-v120 .sc-member-profile-content ul.activity-list > li,
body.sc-member-profile-v120 .sc-member-profile-content ol.activity-list > li {
	--scmp-avatar-column: 54px;
	grid-template-columns: var(--scmp-avatar-column) minmax(0, 1fr) !important;
	gap: 0 13px;
	padding: 15px 14px 13px !important;
	border: 0 !important;
	border-bottom: 1px solid #dfe5ef !important;
	border-left: 3px solid var(--scmp-yellow) !important;
	border-radius: 0 !important;
	background: #fbfcff !important;
	box-shadow: none !important;
	transform: none !important;
}

body.sc-member-profile-v120 .sc-member-profile-content #activity-stream > li:last-child,
body.sc-member-profile-v120 .sc-member-profile-content ul.activity-list > li:last-child,
body.sc-member-profile-v120 .sc-member-profile-content ol.activity-list > li:last-child {
	border-bottom: 0 !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-list > li.is-channel-news {
	border-left-color: var(--scmp-red) !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-list > li.is-channel-wiki {
	border-left-color: var(--scmp-link) !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-list > li.is-channel-forum,
body.sc-member-profile-v120 .sc-member-profile-content .activity-list > li.is-channel-system,
body.sc-member-profile-v120 .sc-member-profile-content .activity-list > li.is-system-digest {
	border-left-color: var(--scmp-blue-900) !important;
	background: #fafbfe !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-list .activity-avatar img.avatar,
body.sc-member-profile-v120 .sc-member-profile-content .activity-list .activity-avatar img {
	width: 52px !important;
	min-width: 52px !important;
	height: 52px !important;
	min-height: 52px !important;
	border: 2px solid #fff !important;
	border-radius: 50%;
	outline: 2px solid var(--scmp-yellow);
	box-shadow: 0 6px 12px rgba(0, 0, 0, .12) !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-header,
body.sc-member-profile-v120 .sc-member-profile-content .sc-community-feed-byline {
	margin: 0 !important;
	color: #6c788e;
	font-size: 13px !important;
	line-height: 1.42 !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-header p {
	margin: 0 !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-header a:first-child {
	color: var(--scmp-link) !important;
	font-weight: 900;
}

body.sc-member-profile-v120 .sc-member-profile-content .activity-inner,
body.sc-member-profile-v120 .sc-member-profile-content .sc-community-feed-excerpt.is-member-post {
	margin-top: 8px !important;
	color: var(--scmp-ink) !important;
	font-size: 15px !important;
	line-height: 1.58 !important;
}

body.sc-member-profile-v120 .sc-member-activity-channel.sc-community-pill {
	min-height: 23px;
	margin: 0 0 7px;
	padding: 6px 9px;
	border-radius: 999px;
	font-size: 10px;
}

body.sc-member-profile-v120 .sc-community-pill.is-news {
	border: 1px solid rgba(166, 3, 4, .18);
	background: #fff0f0;
	color: var(--scmp-red);
}

body.sc-member-profile-v120 .sc-community-pill.is-wiki {
	border: 1px solid rgba(11, 95, 255, .18);
	background: #eaf1ff;
	color: var(--scmp-link);
}

body.sc-member-profile-v120 .sc-community-pill.is-activity,
body.sc-member-profile-v120 .sc-community-pill.is-community {
	border: 1px solid rgba(194, 151, 0, .2);
	background: #fff7cf;
	color: #775800;
}

body.sc-member-profile-v120 .sc-member-activity-footer {
	margin-top: 9px;
	padding-top: 9px;
	border-top-color: #e2e7ef;
}

body.sc-member-profile-v120 .sc-member-activity-actions {
	width: 100%;
	justify-content: flex-end;
	gap: 5px;
}

body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-action,
body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary {
	min-width: 38px;
	min-height: 38px;
	padding: 8px 10px !important;
	border: 1px solid #d5deeb !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--scmp-blue-900) !important;
	font-size: 12px !important;
	font-weight: 900 !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-action:hover,
body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary:hover,
body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-action.is-active,
body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-action[aria-pressed="true"] {
	border-color: #d3b400 !important;
	background: #fff6c8 !important;
	color: #6b5200 !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button.sc-hub-reaction-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-width: 38px !important;
	min-height: 38px !important;
	padding: 7px 9px !important;
	border: 1px solid #d5deeb !important;
	border-radius: 999px !important;
	background: #fff !important;
	color: var(--scmp-blue-900) !important;
	font-size: 15px !important;
}

body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button.sc-hub-reaction-btn:hover,
body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button.sc-hub-reaction-btn.is-active {
	border-color: #d3b400 !important;
	background: #fff6c8 !important;
}

body.sc-member-profile-v120 .sc-hub-reaction-count {
	min-width: 7px;
	font-size: 10px;
	font-weight: 900;
}

body.sc-member-profile-v120 .sc-hub-reaction-count:empty,
body.sc-member-profile-v120 .sc-hub-reaction-count[data-count="0"] {
	display: none;
}

/* Rich attachments returned by Activity Stream's authoritative context. */
body.sc-member-profile-v120 .sc-community-feed-extras {
	width: 100%;
	margin-top: 10px;
}

body.sc-member-profile-v120 .sc-activity-quote-card {
	display: block;
	max-width: 680px;
	padding: 11px 12px;
	border: 1px solid #cfd9e8;
	border-left: 3px solid var(--scmp-blue-700);
	background: #f8faff;
	color: var(--scmp-ink) !important;
	text-decoration: none !important;
}

body.sc-member-profile-v120 .sc-activity-quote-card__head {
	display: flex;
	align-items: center;
	gap: 8px;
}

body.sc-member-profile-v120 .sc-activity-quote-card__head img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

body.sc-member-profile-v120 .sc-activity-quote-card__identity {
	display: grid;
	min-width: 0;
}

body.sc-member-profile-v120 .sc-activity-quote-card__identity small,
body.sc-member-profile-v120 .sc-activity-quote-card time {
	color: var(--scmp-muted);
	font-size: 10px;
}

body.sc-member-profile-v120 .sc-activity-quote-card time {
	margin-left: auto;
}

body.sc-member-profile-v120 .sc-activity-quote-card p {
	margin: 8px 0 0 !important;
	color: #4f5b6f !important;
	font-size: 13px;
}

body.sc-member-profile-v120 .sc-community-feed-media-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 7px;
	width: 100%;
	max-width: min(100%, 960px);
	margin-top: 10px;
}

body.sc-member-profile-v120 .sc-community-feed-media,
body.sc-member-profile-v120 .sc-community-feed-gif {
	display: block;
	overflow: hidden;
	border: 1px solid #d3dbe8;
	background: #eef2f8;
}

body.sc-member-profile-v120 .sc-community-feed-media img,
body.sc-member-profile-v120 .sc-community-feed-media video,
body.sc-member-profile-v120 .sc-community-feed-gif img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(52vh, 520px);
	object-fit: contain;
}

body.sc-member-profile-v120 .sc-community-feed-media.is-video {
	background: #05070d;
}

body.sc-member-profile-v120 .sc-community-feed-media.is-video video {
	aspect-ratio: 16 / 9;
	background: #05070d;
}

body.sc-member-profile-v120 .sc-community-feed-gif {
	width: min(100%, 520px);
	margin-top: 10px;
}

body.sc-member-profile-v120 .sc-community-feed-sticker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: auto;
	max-width: 76px;
	margin-top: 7px;
	padding: 5px;
	border: 1px solid rgba(196, 151, 0, .18);
	background: #fff9cf;
}

body.sc-member-profile-v120 .sc-community-feed-sticker img {
	display: block;
	width: auto;
	height: auto;
	max-width: 58px;
	max-height: 58px;
	object-fit: contain;
}

body.sc-member-profile-v120 .sc-community-feed-sticker strong {
	display: none;
}

body.sc-member-profile-v120 .sc-community-feed-sticker > span {
	font-size: 34px;
	line-height: 1;
}

body.sc-member-profile-v120 .sc-community-feed-poll {
	max-width: 720px;
	margin-top: 10px;
	padding: 11px;
	border: 1px solid #cdd7e7;
	background: #f5f8fd;
}

body.sc-member-profile-v120 .sc-community-feed-poll > strong {
	display: block;
	margin-bottom: 8px;
	color: var(--scmp-blue-900);
	font-size: 14px;
	font-weight: 900;
}

body.sc-member-profile-v120 .sc-community-feed-poll-options {
	display: grid;
	gap: 6px;
}

body.sc-member-profile-v120 .sc-community-feed-poll-option {
	position: relative;
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100% !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 7px 9px !important;
	overflow: hidden;
	border: 1px solid #cbd6e7 !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #263249 !important;
	text-align: left;
}

body.sc-member-profile-v120 .sc-community-feed-poll-option.is-selected {
	border-color: var(--scmp-link) !important;
	background: #edf3ff !important;
}

body.sc-member-profile-v120 .sc-community-feed-poll-main {
	min-width: 0;
	flex: 1;
}

body.sc-member-profile-v120 .sc-community-feed-poll-label {
	display: block;
	font-size: 11px;
	font-weight: 800;
}

body.sc-member-profile-v120 .sc-community-feed-poll-bar {
	display: block;
	height: 4px;
	margin-top: 5px;
	overflow: hidden;
	background: #e4e9f2;
}

body.sc-member-profile-v120 .sc-community-feed-poll-bar span {
	display: block;
	width: var(--sc-poll-percent, 0%);
	height: 100%;
	background: var(--scmp-link);
}

body.sc-member-profile-v120 .sc-community-feed-poll-option small {
	flex: 0 0 auto;
	color: #6d788d;
	font-size: 9px;
	font-weight: 800;
}

body.sc-member-profile-v120 .sc-member-profile-content .sc-community-inline-emoji,
body.sc-member-profile-v120 .sc-member-profile-content img.scemoji {
	display: inline-block !important;
	width: 30px !important;
	max-width: 30px !important;
	height: 30px !important;
	max-height: 30px !important;
	margin: 0 .16em !important;
	vertical-align: -.38em !important;
	object-fit: contain !important;
}

@media (max-width: 1200px) {
	body.sc-member-profile-v120 {
		--scmp-rail: 340px;
	}
}

@media (max-width: 980px) {
	body.sc-member-profile-v120 .sc-member-profile-layout:not(.is-wide) {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 782px) {
	body.sc-member-profile-v120 {
		--scmp-shell: calc(100vw - 12px);
	}

	body.sc-member-profile-v120 #buddypress {
		margin-top: 0 !important;
	}

	body.sc-member-profile-v120 .sc-member-profile-hero__inner {
		padding-right: 10px;
		padding-left: 10px;
	}

	body.sc-member-profile-v120 #buddypress #item-nav {
		margin-top: 6px !important;
		margin-bottom: 8px !important;
	}

	body.sc-member-profile-v120 .sc-member-route-head,
	body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-route-head {
		margin-bottom: 8px;
	}
}

@media (max-width: 760px) {
	body.sc-member-profile-v120 .sc-member-profile-content #activity-stream > li,
	body.sc-member-profile-v120 .sc-member-profile-content ul.activity-list > li,
	body.sc-member-profile-v120 .sc-member-profile-content ol.activity-list > li {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 0 !important;
		padding: 13px 12px !important;
	}

	body.sc-member-profile-v120 .sc-member-activity-actions {
		justify-content: flex-start;
	}

	body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-action,
	body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary,
	body.sc-member-profile-v120 .sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button.sc-hub-reaction-btn {
		min-width: 34px !important;
		min-height: 34px !important;
		padding: 7px 8px !important;
	}

	body.sc-member-profile-v120 .sc-community-sticker-grid,
	body.sc-member-profile-v120 .sc-community-emoji-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	body.sc-member-profile-v120 .sc-member-profile-content .sc-community-inline-emoji,
	body.sc-member-profile-v120 .sc-member-profile-content img.scemoji {
		width: 26px !important;
		max-width: 26px !important;
		height: 26px !important;
		max-height: 26px !important;
	}
}

@media (max-width: 600px) {
	body.sc-member-profile-v120 .sc-member-profile-hero {
		min-height: 0;
	}

	body.sc-member-profile-v120 .sc-member-profile-hero__inner {
		min-height: 0;
		padding: 28px 12px 18px;
	}

	body.sc-member-profile-v120 .sc-member-route-head,
	body.sc-member-profile-v120.sc-member-profile-route-activity .sc-member-route-head {
		min-height: 68px;
		padding: 11px 12px;
	}

	body.sc-member-profile-v120 .sc-member-profile-content #whats-new-form {
		padding: 11px !important;
	}

	body.sc-member-profile-v120 .sc-member-rich-tools {
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	body.sc-member-profile-v120 .sc-community-tool-btn {
		flex: 0 0 auto;
	}
}

body.sc-member-profile-v120 .sc-member-profile-content #activity-stream > li.load-more,
body.sc-member-profile-v120 .sc-member-profile-content #activity-stream > li.load-newest,
body.sc-member-profile-v120 .sc-member-profile-content ul.activity-list > li.load-more,
body.sc-member-profile-v120 .sc-member-profile-content ul.activity-list > li.load-newest,
body.sc-member-profile-v120 .sc-member-profile-content ol.activity-list > li.load-more,
body.sc-member-profile-v120 .sc-member-profile-content ol.activity-list > li.load-newest {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* =========================================================
   v1.2.1 profile-history density contract

   Profiles keep Community Hub's contiguous feed and shared interaction
   language, but member history follows My City's finished compact scale.
   This prevents a media-heavy profile from becoming a giant white archive
   while preserving complete post content and native BuddyPress pagination.
   ========================================================= */

body.sc-member-profile-v121 {
	--scmp-rail: 380px;
}

body.sc-member-profile-v121 .sc-member-route-head,
body.sc-member-profile-v121.sc-member-profile-route-activity .sc-member-route-head {
	min-height: 64px;
	padding: 10px 14px;
}

body.sc-member-profile-v121 .sc-member-route-head__icon {
	width: 38px;
	height: 38px;
}

body.sc-member-profile-v121 .sc-member-route-head h2 {
	font-size: clamp(21px, 1.55vw, 27px) !important;
}

body.sc-member-profile-v121 .sc-member-profile-content #activity-stream > li,
body.sc-member-profile-v121 .sc-member-profile-content ul.activity-list > li,
body.sc-member-profile-v121 .sc-member-profile-content ol.activity-list > li {
	--scmp-avatar-column: 46px;
	gap: 0 10px;
	padding: 13px 14px 12px !important;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-list .activity-avatar img.avatar,
body.sc-member-profile-v121 .sc-member-profile-content .activity-list .activity-avatar img {
	width: 40px !important;
	min-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	border-width: 2px !important;
	outline-width: 1px;
	box-shadow: 0 4px 9px rgba(0, 0, 0, .1) !important;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-header,
body.sc-member-profile-v121 .sc-member-profile-content .sc-community-feed-byline {
	font-size: 12px !important;
	line-height: 1.36 !important;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-inner,
body.sc-member-profile-v121 .sc-member-profile-content .sc-community-feed-excerpt.is-member-post {
	margin-top: 6px !important;
	font-size: 13.5px !important;
	line-height: 1.48 !important;
}

body.sc-member-profile-v121 .sc-member-activity-channel.sc-community-pill {
	min-height: 19px;
	margin-bottom: 5px;
	padding: 4px 7px;
	font-size: 8px;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-inner > p:not(.sc-member-activity-media-paragraph),
body.sc-member-profile-v121 .sc-member-profile-content .activity-inner > ul,
body.sc-member-profile-v121 .sc-member-profile-content .activity-inner > ol,
body.sc-member-profile-v121 .sc-member-profile-content .activity-inner > blockquote {
	max-width: 74ch;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-inner img:not(.emoji):not(.avatar),
body.sc-member-profile-v121 .sc-member-profile-content .activity-inner video,
body.sc-member-profile-v121 .sc-member-profile-content .activity-inner iframe,
body.sc-member-profile-v121 .sc-member-profile-content .activity-attachment img,
body.sc-member-profile-v121 .sc-member-profile-content .rtmedia-activity-container img,
body.sc-member-profile-v121 .sc-member-profile-content .mpp-activity-media-list img {
	max-width: min(100%, 760px) !important;
	max-height: min(46vh, 360px) !important;
	margin-top: 9px !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-inner iframe,
body.sc-member-profile-v121 .sc-member-profile-content .activity-inner video {
	width: min(100%, 760px) !important;
}

body.sc-member-profile-v121 .sc-community-feed-extras,
body.sc-member-profile-v121 .sc-community-feed-media-grid {
	width: 100%;
	max-width: min(100%, 760px);
}

body.sc-member-profile-v121 .sc-community-feed-media img,
body.sc-member-profile-v121 .sc-community-feed-media video,
body.sc-member-profile-v121 .sc-community-feed-gif img {
	max-height: min(46vh, 360px);
}

body.sc-member-profile-v121 .sc-member-activity-footer {
	margin-top: 7px;
	padding-top: 7px;
}

body.sc-member-profile-v121 .sc-member-activity-actions {
	gap: 4px;
}

body.sc-member-profile-v121 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-action,
body.sc-member-profile-v121 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary,
body.sc-member-profile-v121 .sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button.sc-hub-reaction-btn {
	min-width: 34px !important;
	min-height: 32px !important;
	height: 32px;
	padding: 6px 8px !important;
	font-size: 10px !important;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-list > li.is-channel-system,
body.sc-member-profile-v121 .sc-member-profile-content .activity-list > li.is-system-digest {
	--scmp-avatar-column: 38px;
	gap: 0 8px;
	padding: 10px 12px !important;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-list > li.is-channel-system .activity-avatar img,
body.sc-member-profile-v121 .sc-member-profile-content .activity-list > li.is-system-digest .activity-avatar img {
	width: 32px !important;
	min-width: 32px !important;
	height: 32px !important;
	min-height: 32px !important;
}

body.sc-member-profile-v121 .sc-member-profile-content .activity-list > li.is-channel-system .activity-inner,
body.sc-member-profile-v121 .sc-member-profile-content .activity-list > li.is-system-digest .activity-inner {
	margin-top: 4px !important;
	font-size: 12.5px !important;
}

@media (max-width: 1200px) {
	body.sc-member-profile-v121 {
		--scmp-rail: 340px;
	}
}

@media (max-width: 760px) {
	body.sc-member-profile-v121 .sc-member-route-head,
	body.sc-member-profile-v121.sc-member-profile-route-activity .sc-member-route-head {
		min-height: 60px;
		padding: 10px 11px;
	}

	body.sc-member-profile-v121 .sc-member-profile-content #activity-stream > li,
	body.sc-member-profile-v121 .sc-member-profile-content ul.activity-list > li,
	body.sc-member-profile-v121 .sc-member-profile-content ol.activity-list > li {
		padding: 11px 10px 10px !important;
	}

	body.sc-member-profile-v121 .sc-member-profile-content .activity-inner,
	body.sc-member-profile-v121 .sc-member-profile-content .sc-community-feed-excerpt.is-member-post {
		font-size: 13px !important;
		line-height: 1.46 !important;
	}

	body.sc-member-profile-v121 .sc-member-activity-actions {
		justify-content: flex-start;
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 2px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	body.sc-member-profile-v121 .sc-member-activity-actions::-webkit-scrollbar {
		display: none;
	}

	body.sc-member-profile-v121 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-action,
	body.sc-member-profile-v121 .sc-member-profile-content .sc-member-activity-footer .sc-member-social-menu > summary,
	body.sc-member-profile-v121 .sc-member-profile-content .sc-member-activity-footer .sc-member-reaction-picker button.sc-hub-reaction-btn {
		flex: 0 0 32px;
		width: 32px;
		min-width: 32px !important;
		max-width: 32px;
		height: 32px;
		min-height: 32px !important;
		padding: 0 !important;
	}

	body.sc-member-profile-v121 .sc-member-social-label {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		width: 1px !important;
		height: 1px !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		clip: rect(0 0 0 0) !important;
		clip-path: inset(50%) !important;
		border: 0 !important;
		white-space: nowrap !important;
	}

	body.sc-member-profile-v121 .sc-member-profile-content .activity-inner img:not(.emoji):not(.avatar),
	body.sc-member-profile-v121 .sc-member-profile-content .activity-inner video,
	body.sc-member-profile-v121 .sc-member-profile-content .activity-inner iframe,
	body.sc-member-profile-v121 .sc-member-profile-content .activity-attachment img,
	body.sc-member-profile-v121 .sc-member-profile-content .rtmedia-activity-container img,
	body.sc-member-profile-v121 .sc-member-profile-content .mpp-activity-media-list img,
	body.sc-member-profile-v121 .sc-community-feed-media img,
	body.sc-member-profile-v121 .sc-community-feed-media video,
	body.sc-member-profile-v121 .sc-community-feed-gif img {
		max-height: min(52vh, 300px) !important;
	}
}

/* =========================================================
   v1.2.2 route-safe activity paging

   BuddyPress keeps its native continuation row in the DOM so Nouveau can
   fetch the next server page. Profiles expose one shared full-width control
   and fail closed at eight visible history entries per reveal.
   ========================================================= */

body.sc-member-profile-v122 .sc-member-profile-content #activity-stream > li.sc-member-profile-activity-hidden {
	display: none !important;
}

body.sc-member-profile-v122 .sc-member-profile-content #activity-stream > li.load-more,
body.sc-member-profile-v122 .sc-member-profile-content #activity-stream > li.sc-member-profile-native-load-more {
	display: none !important;
}

body.sc-member-profile-v122 .sc-member-profile-history-more {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.sc-member-profile-v122 .sc-member-profile-history-more[hidden] {
	display: none !important;
}

body.sc-member-profile-v122 .sc-member-profile-history-more__button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 46px;
	margin: 0 !important;
	padding: 10px 16px !important;
	border: 1px solid #dfe5ef !important;
	border-bottom: 3px solid var(--scmp-yellow) !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: var(--scmp-module-shadow) !important;
	color: var(--scmp-blue-900) !important;
	font: 800 11px/1.2 Arial, sans-serif !important;
	letter-spacing: .04em;
	text-transform: uppercase;
	cursor: pointer;
}

body.sc-member-profile-v122 .sc-member-profile-history-more__button:hover,
body.sc-member-profile-v122 .sc-member-profile-history-more__button:focus-visible {
	border-color: var(--scmp-cyan) !important;
	border-bottom-color: var(--scmp-yellow) !important;
	background: #f3f7ff !important;
	color: var(--scmp-blue-700) !important;
	outline: 2px solid transparent;
}

body.sc-member-profile-v122 .sc-member-profile-history-more__button:disabled {
	cursor: wait;
	opacity: .7;
}
