/* Profil: Titelbild, Avatar, Rang unter dem Namen, Registrierung darunter. Farben aus dem aktiven Stil. */

#tpl_wcf_user {
	--profile-card: var(--wcfContentContainerBackground, #fcfcfc);
	--profile-line: color-mix(in srgb, var(--wcfHeaderBackground, #8aadb2) 55%, transparent);
	--profile-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

#tpl_wcf_user #main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
	column-gap: 16px;
	row-gap: 0;
	align-items: start;
	width: var(--wcfLayoutMaxWidth, 90%);
	max-width: var(--wcfLayoutMaxWidth, 90%);
	margin: 12px auto 28px;
}

#tpl_wcf_user #main:not(:has(.boxesSidebarRight)),
#tpl_wcf_user #main:not(:has(.boxesSidebarRight .box:not([data-static-box-identifier="com.woltlab.wcf.UserTrophies"]))) {
	grid-template-columns: minmax(0, 1fr);
}

#tpl_wcf_user #main .layoutBoundary,
#tpl_wcf_user .userProfileHeader,
#tpl_wcf_user .userProfileHeader__content,
#tpl_wcf_user .userProfileHeader__title,
#tpl_wcf_user #content,
#tpl_wcf_user #profileContent {
	display: contents;
}

#tpl_wcf_user .showhidesidebar,
#tpl_wcf_user #content > .contentHeader {
	display: none !important;
}

#tpl_wcf_user .breadcrumbs {
	grid-column: 1 / -1;
	grid-row: 1;
	margin: 0 0 10px;
}

#tpl_wcf_user .userProfileHeader__coverPhotoContainer {
	grid-column: 1 / -1;
	grid-row: 2;
	position: relative;
	height: 280px !important;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--profile-line);
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
	background: var(--wcfHeaderBackground);
}

#tpl_wcf_user .userProfileHeader__coverPhoto,
#tpl_wcf_user .userProfileHeader__coverPhotoImage {
	display: block;
	width: 100%;
	height: 280px !important;
	margin: 0;
	object-fit: cover;
}

#tpl_wcf_user .userProfileHeader__manageButtons {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

#tpl_wcf_user .userProfileHeader__avatar {
	grid-column: 1 / -1;
	grid-row: 2 / 3;
	position: relative !important;
	align-self: end;
	justify-self: center;
	z-index: 4;
	width: 168px !important;
	height: 168px !important;
	margin: 0 0 -18px !important;
	flex: none !important;
}

#tpl_wcf_user .userProfileHeader__avatarBorder {
	position: relative !important;
	bottom: auto !important;
	left: auto !important;
	width: 168px !important;
	height: 168px !important;
	aspect-ratio: auto;
	border: 4px solid var(--profile-card) !important;
	border-radius: 50%;
	overflow: hidden;
	background: var(--profile-card);
	box-shadow: var(--profile-shadow);
}

#tpl_wcf_user .userProfileHeader__avatar img,
#tpl_wcf_user .userProfileHeader__avatar .userAvatarImage {
	position: static !important;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	border-radius: 50%;
	object-fit: cover;
}

#tpl_wcf_user .userProfileHeader__headline {
	grid-column: 1 / -1;
	grid-row: 3;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: 18px;
	margin: 0 !important;
	padding: 22px 16px 8px;
	background: var(--profile-card);
	border-left: 1px solid var(--profile-line);
	border-right: 1px solid var(--profile-line);
	text-align: center;
}

#tpl_wcf_user .userProfileHeader__headline > :not(.profilPopupSlot) {
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
}

#tpl_wcf_user .profilPopupSlot {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 22px;
	width: auto;
	max-width: 100%;
	min-width: 0;
}

#tpl_wcf_user .profilPopupSlot--left {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
}

#tpl_wcf_user .profilPopupSlot--right {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
	margin-right: var(--profil-buttons-space, 12px);
}

#tpl_wcf_user .profilPopupSlot .box {
	margin: 0 !important;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 8px;
	box-shadow: none;
	overflow: hidden;
}

#tpl_wcf_user .profilPopupSlot .box > .boxContent,
#tpl_wcf_user .profilPopupSlot .boxEditButton {
	display: none !important;
}

#tpl_wcf_user .profilPopupSlot .boxTitle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	width: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-radius: 0;
	background: transparent !important;
	color: var(--wcfContentDimmedText, #5c5c5c);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}

#tpl_wcf_user .profilPopupSlot .boxTitle .badge {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: var(--wcfContentHeadlineText, #202020) !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

#tpl_wcf_user .profilPopupSlot .boxTitle:hover {
	text-decoration: underline;
}

#tpl_wcf_user .userProfileHeader__username,
#tpl_wcf_user .userProfileUsername {
	margin: 0;
	color: var(--wcfContentHeadlineText, #202020);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
}

#tpl_wcf_user .userProfileHeader__rank {
	grid-column: 1 / -1;
	grid-row: 4;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px;
	justify-self: stretch;
	width: 100% !important;
	max-width: none;
	margin: 0 !important;
	padding: 2px 16px 6px;
	background: var(--profile-card);
	border-left: 1px solid var(--profile-line);
	border-right: 1px solid var(--profile-line);
	text-align: center !important;
}

#tpl_wcf_user .userProfileHeader__rank .userTitleBadge {
	margin-left: auto !important;
	margin-right: auto !important;
}

#tpl_wcf_user .userProfileHeader__meta {
	grid-column: 1 / -1;
	grid-row: 5;
	flex: none !important;
	margin: 0 !important;
	padding: 0 16px 8px;
	background: var(--profile-card);
	border: 0;
	border-left: 1px solid var(--profile-line);
	border-right: 1px solid var(--profile-line);
	border-radius: 0;
	box-shadow: none;
	color: var(--wcfContentText, #000);
	text-align: center;
}

#tpl_wcf_user .userProfileHeader__meta__dataList,
#tpl_wcf_user .userProfileHeader__meta dl {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 4px 18px;
	margin: 0;
	font-size: 14px !important;
}

#tpl_wcf_user .userProfileHeader__meta dt,
#tpl_wcf_user .userProfileHeader__meta dd {
	display: inline !important;
	float: none !important;
	width: auto !important;
	margin: 0;
	color: var(--wcfContentText, #000);
	font-size: 14px;
}

#tpl_wcf_user .userProfileHeader__meta dt {
	color: var(--wcfContentDimmedText, #5c5c5c);
	font-weight: 700;
}

#tpl_wcf_user .userProfileHeader__meta dt::after {
	content: ":";
}

#tpl_wcf_user .userProfileHeader__meta dd {
	margin: 0 0 0 4px;
}

#tpl_wcf_user .wjStimmungBadge,
#tpl_wcf_user .wjStimmungPick {
	grid-column: 1 / -1;
	justify-self: center;
	width: 100%;
	margin: 0 !important;
	padding: 0 16px 4px;
	background: var(--profile-card);
	border-left: 1px solid var(--profile-line);
	border-right: 1px solid var(--profile-line);
	text-align: center;
}

#tpl_wcf_user .wjStimmungBadge {
	grid-row: 6;
	display: flex !important;
	justify-content: center;
}

#tpl_wcf_user .wjStimmungPick {
	grid-row: 7;
}

#tpl_wcf_user .wjProfileTrophies {
	grid-column: 1 / -1;
	grid-row: 8;
	display: flex !important;
	justify-content: center;
	width: 100%;
	margin: 0 !important;
	padding: 0 16px 8px;
	background: var(--profile-card);
	border-left: 1px solid var(--profile-line);
	border-right: 1px solid var(--profile-line);
}

#tpl_wcf_user .box[data-static-box-identifier="com.woltlab.wcf.UserProfileFollowing"] {
	display: none !important;
}

#tpl_wcf_user .userProfileHeader__stats {
	grid-column: 1 / -1;
	grid-row: 9;
	align-self: center;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 8px 28px;
	margin: 0 !important;
	padding: 4px 16px 10px;
	overflow: visible;
	background: var(--profile-card);
	border-left: 1px solid var(--profile-line);
	border-right: 1px solid var(--profile-line);
	white-space: normal;
}

#tpl_wcf_user .userProfileHeader__statItem,
#tpl_wcf_user .userProfileHeader__stats > .profilBoxPopup > .boxTitle {
	display: inline-flex;
	flex-direction: row;
	align-items: baseline;
	gap: 6px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: var(--wcfContentDimmedText, #5c5c5c);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

#tpl_wcf_user .userProfileHeader__stats > .profilBoxPopup {
	margin: 0 !important;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

#tpl_wcf_user .userProfileHeader__stats > .profilBoxPopup > .boxContent,
#tpl_wcf_user .userProfileHeader__stats > .profilBoxPopup .boxEditButton {
	display: none !important;
}

#tpl_wcf_user .userProfileHeader__stats > .profilBoxPopup > .boxTitle .badge {
	display: inline;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: var(--wcfContentHeadlineText, #202020) !important;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

#tpl_wcf_user .userProfileHeader__statValue {
	color: var(--wcfContentHeadlineText, #202020);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

#tpl_wcf_user .userProfileHeader__statTitle {
	color: var(--wcfContentDimmedText, #5c5c5c);
	font-size: 13px;
	font-weight: 600;
}

#tpl_wcf_user #profileContent > .tabMenu {
	grid-column: 1 / -1;
	grid-row: 10;
	align-self: stretch;
	margin: 0 !important;
	padding: 8px 16px 14px;
	background: var(--profile-card);
	border-left: 1px solid var(--profile-line);
	border-right: 1px solid var(--profile-line);
	border-bottom: 1px solid var(--profile-line);
	border-radius: 0 0 12px 12px;
}

#tpl_wcf_user #profileContent > .tabMenu::after,
#tpl_wcf_user #profileContent > .tabMenu > ul > li::before,
#tpl_wcf_user #profileContent > .tabMenu > ul > li.active > a::before {
	display: none !important;
	content: none !important;
	border: 0 !important;
}

#tpl_wcf_user #profileContent > .tabMenu > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

#tpl_wcf_user #profileContent > .tabMenu > ul > li {
	margin: 0 !important;
}

#tpl_wcf_user #profileContent > .tabMenu > ul > li > a {
	display: inline-flex;
	align-items: center;
	margin: 0 !important;
	padding: 8px 16px !important;
	border-radius: 8px !important;
	background: transparent;
	color: var(--wcfContentText, #000) !important;
	font-size: 15px;
	font-weight: 700;
}

#tpl_wcf_user #profileContent > .tabMenu > ul > li:hover > a {
	margin: 0 !important;
	padding: 8px 16px !important;
	background: color-mix(in srgb, var(--wcfHeaderBackground, #8aadb2) 28%, transparent);
}

#tpl_wcf_user #profileContent > .tabMenu > ul > li.active > a {
	margin: 0 !important;
	padding: 8px 16px !important;
	background: var(--wcfHeaderBackground, #8aadb2) !important;
	color: var(--wcfHeaderText, #2a2a2a) !important;
}

#tpl_wcf_user .userProfileHeader__buttons {
	grid-column: 1 / -1;
	grid-row: 3;
	justify-self: end;
	align-self: center;
	width: auto;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0 !important;
	padding: 0 16px 8px;
	background: transparent;
	border: 0;
}

#tpl_wcf_user .userProfileHeader__button,
#tpl_wcf_user .userProfileHeader__buttons .button {
	border-radius: 8px;
	background: var(--wcfButtonPrimaryBackground, #2b2e31);
	color: var(--wcfButtonPrimaryText, #ececec);
}

#tpl_wcf_user #profileContent > .tabMenuContent {
	grid-column: 1;
	grid-row: 11;
	min-width: 0;
	margin: 16px 0 0;
	padding: 0;
	background: transparent;
}

#tpl_wcf_user #profileContent > .tabMenuContent.hidden {
	display: none !important;
}

#tpl_wcf_user .boxesContentTop,
#tpl_wcf_user .boxesContentBottom,
#tpl_wcf_user .userNotice,
#tpl_wcf_user .boxesSidebarLeft {
	grid-column: 1;
	grid-row: 12;
	min-width: 0;
	margin-top: 16px;
}

#tpl_wcf_user .boxesSidebarRight {
	grid-column: 2;
	grid-row: 11;
	min-width: 0;
	margin-top: 16px;
}

#tpl_wcf_user .boxesSidebarRight:not(:has(.box:not([data-static-box-identifier="com.woltlab.wcf.UserTrophies"]))),
#tpl_wcf_user .boxesSidebarLeft:not(:has(.box)) {
	display: none !important;
}

#tpl_wcf_user [data-static-box-identifier="com.woltlab.wcf.UserTrophies"] {
	display: none !important;
}

#tpl_wcf_user .boxesSidebarRight .box > .boxContent,
#tpl_wcf_user .boxesSidebarLeft .box > .boxContent {
	display: none !important;
}

#tpl_wcf_user .boxesSidebarRight .profilBoxPopup > .boxTitle,
#tpl_wcf_user .boxesSidebarLeft .profilBoxPopup > .boxTitle {
	display: block;
	width: 100%;
	cursor: pointer;
}

#tpl_wcf_user .boxesSidebarRight .profilBoxPopup > .boxTitle:hover,
#tpl_wcf_user .boxesSidebarLeft .profilBoxPopup > .boxTitle:hover {
	text-decoration: underline;
}

#tpl_wcf_user .boxesSidebarRight .box,
#tpl_wcf_user .boxesSidebarLeft .box,
#tpl_wcf_user #profileContent .section,
#tpl_wcf_user .wjStatusCard,
#tpl_wcf_user .communityStatusCard,
#tpl_wcf_user .recentActivityList > li {
	background: var(--profile-card);
	border: 1px solid var(--profile-line);
	border-radius: 12px;
	box-shadow: var(--profile-shadow);
}

#tpl_wcf_user .wjStatusComposer,
#tpl_wcf_user .communityStatusComposer {
	margin-bottom: 16px;
	padding: 16px;
	background: var(--profile-card);
	border: 1px solid var(--profile-line);
	border-radius: 12px;
}

#tpl_wcf_user .recentActivityList > li {
	margin-bottom: 12px;
	padding: 16px;
}

#tpl_wcf_user #about > .section {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 16px;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

#tpl_wcf_user #about > .section > .sectionTitle {
	grid-column: 1 / -1;
	margin: 0;
}

#tpl_wcf_user #about > .section > dl {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 14px 16px;
	min-height: 76px;
	box-sizing: border-box;
	background: var(--profile-card);
	border: 1px solid var(--profile-line);
	border-radius: 12px;
	box-shadow: var(--profile-shadow);
}

#tpl_wcf_user #about > .section > dl.wide {
	grid-column: 1 / -1;
	min-height: 0;
}

#tpl_wcf_user #about > .section > dl > dt,
#tpl_wcf_user #about > .section > dl > dd {
	margin: 0;
	float: none;
	width: auto;
}

#tpl_wcf_user #about > .section > dl > dt {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

#tpl_wcf_user #about > .section > dl > dd {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

@media (max-width: 980px) {
	#tpl_wcf_user #main,
	#tpl_wcf_user #main:not(:has(.boxesSidebarRight)) {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: auto;
		max-width: none;
		margin: 0 10px 20px;
	}

	#tpl_wcf_user #main > *,
	#tpl_wcf_user .userProfileHeader__headline,
	#tpl_wcf_user .userProfileHeader__rank,
	#tpl_wcf_user .userProfileHeader__stats,
	#tpl_wcf_user .userProfileHeader__buttons,
	#tpl_wcf_user .userProfileHeader__meta,
	#tpl_wcf_user .wjStimmungBadge,
	#tpl_wcf_user .wjStimmungPick,
	#tpl_wcf_user .wjProfileTrophies {
		order: 0 !important;
		align-self: stretch !important;
	}

	#tpl_wcf_user .userProfileHeader__avatar {
		align-self: center !important;
	}

	#tpl_wcf_user .breadcrumbs {
		margin: 0 0 8px;
	}

	#tpl_wcf_user .userProfileHeader__coverPhotoContainer,
	#tpl_wcf_user .userProfileHeader__coverPhoto,
	#tpl_wcf_user .userProfileHeader__coverPhotoImage {
		height: 200px !important;
	}

	#tpl_wcf_user .userProfileHeader__coverPhotoContainer {
		margin: 0 !important;
		border: 1px solid var(--profile-line);
		border-bottom: 0;
		border-radius: 12px 12px 0 0;
	}

	#tpl_wcf_user .userProfileHeader__avatar {
		align-self: center;
		width: 120px !important;
		height: 120px !important;
		margin: -60px auto 0 !important;
	}

	#tpl_wcf_user .userProfileHeader__avatarBorder {
		width: 120px !important;
		height: 120px !important;
	}

	#tpl_wcf_user .userProfileHeader__headline,
	#tpl_wcf_user .userProfileHeader__rank,
	#tpl_wcf_user .userProfileHeader__meta,
	#tpl_wcf_user .userProfileHeader__stats,
	#tpl_wcf_user .userProfileHeader__buttons,
	#tpl_wcf_user .wjStimmungBadge,
	#tpl_wcf_user .wjStimmungPick,
	#tpl_wcf_user .wjProfileTrophies,
	#tpl_wcf_user #profileContent > .tabMenu {
		width: auto !important;
		height: auto !important;
		margin: 0 !important;
		box-sizing: border-box;
		background: var(--profile-card);
		border: 0 !important;
		border-left: 1px solid var(--profile-line) !important;
		border-right: 1px solid var(--profile-line) !important;
		border-radius: 0;
	}

	#tpl_wcf_user .userProfileHeader__headline {
		display: flex !important;
		flex-direction: column;
		align-items: center;
		margin-top: -60px !important;
		padding: 68px 12px 4px;
	}

	#tpl_wcf_user .userProfileHeader__username,
	#tpl_wcf_user .userProfileUsername {
		font-size: 26px;
		overflow-wrap: anywhere;
	}

	#tpl_wcf_user .profilPopupSlot,
	#tpl_wcf_user .profilPopupSlot--right {
		justify-content: center;
		width: 100%;
		margin: 6px 0 0 !important;
	}

	#tpl_wcf_user .wjStimmungBadge {
		display: flex !important;
		justify-content: center;
		padding: 2px 12px 4px;
	}

	#tpl_wcf_user .userProfileHeader__rank {
		padding: 2px 12px 8px;
	}

	#tpl_wcf_user .wjProfileTrophies {
		flex-wrap: wrap;
		gap: 4px;
		padding: 0 12px 10px;
	}

	#tpl_wcf_user .userProfileHeader__stats {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		justify-items: center;
		align-items: center;
		gap: 12px 8px;
		padding: 12px;
		border-top: 1px solid var(--profile-line) !important;
	}

	#tpl_wcf_user .userProfileHeader__stats > :last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}

	#tpl_wcf_user .userProfileHeader__statItem,
	#tpl_wcf_user .userProfileHeader__stats > .profilBoxPopup,
	#tpl_wcf_user .userProfileHeader__stats > .profilBoxPopup > .boxTitle {
		width: auto !important;
		max-width: 100%;
		white-space: nowrap;
	}

	#tpl_wcf_user .userProfileHeader__buttons {
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		align-self: stretch;
		justify-self: auto;
		gap: 8px;
		padding: 0 12px 12px;
	}

	#tpl_wcf_user .userProfileHeader__buttons > * {
		flex: 0 0 auto;
		width: auto !important;
	}

	#tpl_wcf_user .userProfileHeader__meta {
		padding: 10px 12px;
		border-top: 1px solid var(--profile-line) !important;
	}

	#tpl_wcf_user .userProfileHeader__meta__dataList,
	#tpl_wcf_user .userProfileHeader__meta dl {
		gap: 4px 12px;
		font-size: 13px !important;
	}

	#tpl_wcf_user #profileContent > .tabMenu {
		display: block;
		margin-bottom: 12px !important;
		padding: 8px 0 10px;
		border-top: 1px solid var(--profile-line) !important;
		border-bottom: 1px solid var(--profile-line) !important;
		border-radius: 0 0 12px 12px;
	}

	#tpl_wcf_user #profileContent > .tabMenu > ul {
		flex-wrap: nowrap;
		justify-content: flex-start;
		gap: 6px;
		padding: 0 10px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	#tpl_wcf_user #profileContent > .tabMenu > ul::-webkit-scrollbar {
		display: none;
	}

	#tpl_wcf_user #profileContent > .tabMenu > ul > li {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}

	#tpl_wcf_user #profileContent > .tabMenu > ul > li > a,
	#tpl_wcf_user #profileContent > .tabMenu > ul > li:hover > a,
	#tpl_wcf_user #profileContent > .tabMenu > ul > li.active > a {
		padding: 7px 12px !important;
		font-size: 14px;
		white-space: nowrap;
	}

	#tpl_wcf_user #profileContent > .tabMenuContent {
		display: block;
		width: auto;
		margin: 0 !important;
	}

	#tpl_wcf_user #profileContent > .tabMenuContent.hidden {
		display: none !important;
	}

	#tpl_wcf_user .boxesSidebarRight,
	#tpl_wcf_user .boxesSidebarLeft,
	#tpl_wcf_user .boxesContentTop,
	#tpl_wcf_user .boxesContentBottom {
		width: auto;
		margin: 12px 0 0;
	}

	#tpl_wcf_user #about > .section {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	#tpl_wcf_user .userProfileHeader__coverPhotoContainer,
	#tpl_wcf_user .userProfileHeader__coverPhoto,
	#tpl_wcf_user .userProfileHeader__coverPhotoImage {
		height: 160px !important;
	}

	#tpl_wcf_user .userProfileHeader__manageButtons {
		top: 8px;
		right: 8px;
		gap: 6px;
	}

	#tpl_wcf_user .userProfileHeader__manageButtons .button {
		padding: 6px 8px;
	}

	#tpl_wcf_user .userProfileHeader__manageButtons .button > span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	#tpl_wcf_user #about > .section {
		grid-template-columns: 1fr;
	}
}
