/* =========================================================
   MITGLIEDERLISTE – SEITENRAHMEN
   ========================================================= */

.memberlist-page {
	width: min(100% - 48px, 1400px);
	margin: 0 auto;
	padding: 50px 0 100px;

	color: var(--txt);
}


/* =========================================================
   HERO
   ========================================================= */

.memberlist-hero {
	position: relative;

	margin: 0 0 52px;
	padding: 0 0 34px;

	border-bottom: 1px solid rgba(165, 195, 200, 0.13);
}

.memberlist-hero__eyebrow,
.memberlist-section-label {
	display: block;

	margin: 0 0 9px;

	color: var(--fire-accent-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.19em;
	line-height: 1.5;
	text-transform: uppercase;
}

.memberlist-hero__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
}

.memberlist-hero h1 {
	margin: 0;

	color: transparent;
	font-family: var(--fire-display);
	font-size: clamp(58px, 8vw, 112px);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.86;

	-webkit-text-stroke:
		1px
		rgba(231, 235, 233, 0.82);
}

.memberlist-hero p {
	max-width: 580px;
	margin: 22px 0 0;

	color: rgba(197, 207, 203, 0.6);
	font-size: 12px;
	line-height: 1.75;
}

.memberlist-hero__search {
	display: inline-flex;
	align-items: center;
	gap: 13px;

	flex: 0 0 auto;

	padding: 0 0 7px;

	color: rgba(209, 217, 214, 0.65);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;

	border-bottom: 1px solid rgba(178, 139, 173, 0.34);
}

.memberlist-hero__search:hover {
	color: #fff;

	border-color: rgba(178, 139, 173, 0.74);
}

.memberlist-hero__search i {
	color: inherit;
	font-size: 13px;

	transition: transform 0.18s ease;
}

.memberlist-hero__search:hover i {
	transform: translateX(4px);
}


/* =========================================================
   VERZEICHNIS
   ========================================================= */

.memberlist-directory {
	position: relative;

	margin-bottom: 70px;
}

.memberlist-directory__header,
.memberlist-search__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 26px;

	margin-bottom: 20px;
}

.memberlist-directory__header h3,
.memberlist-search__header h3 {
	margin: 0;

	color: rgba(235, 239, 237, 0.94);
	font-family: var(--fire-display);
	font-size: clamp(28px, 4vw, 45px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1;
	text-transform: none;
}

.memberlist-directory__count {
	flex: 0 0 auto;
}


/* =========================================================
   ALPHABET
   ========================================================= */

.memberlist-alphabet {
	display: grid;
	grid-template-columns: repeat(26, minmax(30px, 1fr));

	margin: 0 0 34px;

	border-top: 1px solid rgba(165, 195, 200, 0.12);
	border-bottom: 1px solid rgba(165, 195, 200, 0.12);
}

.memberlist-alphabet a {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 0;
	min-height: 47px;

	color: rgba(195, 205, 201, 0.52);
	font-family: var(--fire-display);
	font-size: 15px;
	font-weight: 400;
	text-align: center;

	border-right: 1px solid rgba(165, 195, 200, 0.07);

	transition:
		color 0.18s ease,
		background 0.18s ease,
		transform 0.18s ease;
}

.memberlist-alphabet a:last-child {
	border-right: 0;
}

.memberlist-alphabet a::after {
	content: "";

	position: absolute;
	right: 50%;
	bottom: -3px;

	width: 5px;
	height: 5px;

	background: transparent;
	border: 1px solid transparent;

	transform:
		translateX(50%)
		rotate(45deg);

	transition:
		background 0.18s ease,
		border-color 0.18s ease;
}

.memberlist-alphabet a:hover {
	color: #fff;

	background: rgba(178, 139, 173, 0.045);
	transform: translateY(-1px);
}

.memberlist-alphabet a:hover::after {
	background: var(--body);
	border-color: rgba(178, 139, 173, 0.62);
}


/* =========================================================
   USERERGEBNISSE
   ========================================================= */

.memberlist-results {
	display: flex;
	flex-direction: column;
	gap: 16px;

	width: 100%;
}

/*
 * Die später neu gestalteten .memuser-Elemente liegen hier
 * automatisch untereinander und erhalten die volle Breite.
 */

.memberlist-results > .memuser {
	width: 100%;
	max-width: none;
	flex: 0 0 auto;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.memberlist-pagination {
	display: flex;
	justify-content: flex-end;

	margin-top: 24px;
}

.memberlist-directory__count:empty,
.memberlist-pagination:empty {
	display: none;
}

.memberlist-pagination--bottom {
	padding-top: 22px;

	border-top: 1px solid rgba(165, 195, 200, 0.08);
}


/* =========================================================
   SUCHBEREICH
   ========================================================= */

.memberlist-search {
	position: relative;

	padding: 32px 0 0;

	border-top: 1px solid rgba(165, 195, 200, 0.13);
}

.memberlist-search__advanced {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	padding-bottom: 6px;

	color: rgba(197, 207, 203, 0.56);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;

	border-bottom: 1px solid rgba(165, 195, 200, 0.17);
}

.memberlist-search__advanced:hover {
	color: #fff;

	border-color: rgba(178, 139, 173, 0.5);
}

.memberlist-search__advanced i {
	color: inherit;
	font-size: 12px;
}

.memberlist-search form {
	margin-top: 28px;
}

.memberlist-search__grid {
	display: grid;
	grid-template-columns:
		minmax(0, 1fr)
		minmax(0, 1fr)
		minmax(280px, 1.15fr);

	border-top: 1px solid rgba(165, 195, 200, 0.12);
	border-bottom: 1px solid rgba(165, 195, 200, 0.12);
}

.memberlist-field {
	min-width: 0;
	padding: 24px;

	border-right: 1px solid rgba(165, 195, 200, 0.09);
}

.memberlist-field:last-child {
	border-right: 0;
}

.memberlist-field > label {
	display: block;

	margin-bottom: 14px;
}

.memberlist-field__label {
	display: block;

	color: var(--fire-accent-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}

.memberlist-field__hint {
	display: block;

	margin-top: 3px;

	color: rgba(181, 193, 189, 0.45);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.5;
}

.memberlist-field input.textbox,
.memberlist-field select {
	width: 100%;
	margin: 0;
}

.memberlist-order {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;

	margin: 0 0 13px;
}

.memberlist-order label {
	display: inline-flex;
	align-items: center;
	gap: 7px;

	color: rgba(197, 207, 203, 0.65);
	font-size: 11px;
	font-weight: 600;

	cursor: pointer;
}

.memberlist-order input[type="radio"] {
	width: 13px;
	height: 13px;
	margin: 0;

	accent-color: var(--accent);
}


/* =========================================================
   SUCHBEREICH – FOOTER
   ========================================================= */

.memberlist-search__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;

	padding: 19px 0 0;
}

.memberlist-search__footer p {
	max-width: 550px;

	color: rgba(181, 193, 189, 0.45);
	font-size: 11px;
	line-height: 1.65;
}

.memberlist-search__submit {
	display: inline-flex;
	align-items: center;
	gap: 12px;

	margin: 0;
	padding-right: 18px;
	padding-left: 18px;
}

.memberlist-search__submit i {
	color: inherit;

	transition: transform 0.18s ease;
}

.memberlist-search__submit:hover i {
	transform: translateX(3px);
}


/* =========================================================
   SELECT2
   ========================================================= */

.memberlist-page .select2-container {
	width: 100% !important;
}

.memberlist-page .select2-container .select2-choice {
	height: 36px;
	padding: 0 34px 0 10px;

	color: var(--txt);
	font-size: 12px;
	line-height: 34px;

	background: rgba(255, 255, 255, 0.022);
	border: 1px solid rgba(165, 195, 200, 0.15);
	border-radius: 0;
	box-shadow: none;
}

.memberlist-page .select2-container .select2-choice .select2-arrow {
	width: 30px;

	background: transparent;
	border-left: 1px solid rgba(165, 195, 200, 0.09);
	border-radius: 0;
}

.memberlist-page .select2-container-active .select2-choice,
.memberlist-page .select2-container-active .select2-choices {
	background: rgba(255, 255, 255, 0.035);
	border-color: rgba(178, 139, 173, 0.46);
	box-shadow: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {

	.memberlist-alphabet {
		grid-template-columns: repeat(13, 1fr);
	}

	.memberlist-alphabet a:nth-child(13) {
		border-right: 0;
	}

	.memberlist-alphabet a:nth-child(-n + 13) {
		border-bottom: 1px solid rgba(165, 195, 200, 0.07);
	}

}

@media (max-width: 850px) {

	.memberlist-page {
		width: min(100% - 32px, 1400px);
		padding-top: 34px;
	}

	.memberlist-hero__heading,
	.memberlist-directory__header,
	.memberlist-search__header,
	.memberlist-search__footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.memberlist-search__grid {
		grid-template-columns: 1fr;
	}

	.memberlist-field {
		border-right: 0;
		border-bottom: 1px solid rgba(165, 195, 200, 0.09);
	}

	.memberlist-field:last-child {
		border-bottom: 0;
	}

}

@media (max-width: 600px) {

	.memberlist-page {
		width: min(100% - 22px, 1400px);
	}

	.memberlist-hero {
		margin-bottom: 38px;
	}

	.memberlist-hero h1 {
		font-size: clamp(48px, 17vw, 75px);
	}

	.memberlist-alphabet {
		grid-template-columns: repeat(7, 1fr);
	}

	.memberlist-alphabet a {
		min-height: 42px;

		border-bottom: 1px solid rgba(165, 195, 200, 0.07);
	}

	.memberlist-alphabet a:nth-child(13) {
		border-right: 1px solid rgba(165, 195, 200, 0.07);
	}

	.memberlist-field {
		padding: 20px 16px;
	}

	.memberlist-search__submit {
		width: 100%;
	}

}

/* =========================================================
   MITGLIEDERLISTE – EINZELPROFIL
   ========================================================= */

.memberlist-results .memuser {
	position: relative;

	display: grid;
	grid-template-columns:
		190px
		minmax(0, 1fr)
		minmax(180px, auto);

	width: 100%;
	min-height: 190px;

	overflow: hidden;

	color: var(--txt);

	background:
		linear-gradient(
			to right,
			rgba(178, 139, 173, 0.025),
			transparent 30%
		),
		rgba(255, 255, 255, 0.012);

	border: 1px solid rgba(165, 195, 200, 0.11);

	transition:
		background 0.24s ease,
		border-color 0.24s ease,
		transform 0.24s ease;
}

.memberlist-results .memuser::before,
.memberlist-results .memuser::after {
	content: "";

	position: absolute;
	z-index: 3;

	width: 30px;
	height: 30px;

	pointer-events: none;

	transition:
		width 0.24s ease,
		height 0.24s ease,
		border-color 0.24s ease;
}

.memberlist-results .memuser::before {
	top: 9px;
	left: 9px;

	border-top: 1px solid rgba(178, 139, 173, 0.44);
	border-left: 1px solid rgba(178, 139, 173, 0.44);
}

.memberlist-results .memuser::after {
	right: 9px;
	bottom: 9px;

	border-right: 1px solid rgba(112, 150, 154, 0.34);
	border-bottom: 1px solid rgba(112, 150, 154, 0.34);
}


/* =========================================================
   PROFILBILD
   ========================================================= */

.memuser__image {
	position: relative;

	display: block;

	min-width: 0;
	height: 100%;
	min-height: 190px;

	overflow: hidden;

	border-right: 1px solid rgba(165, 195, 200, 0.09);
}

.memuser__image img {
	position: absolute;
	inset: 0;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center 24%;

	filter:
		grayscale(1)
		saturate(0.52)
		contrast(1.04)
		brightness(0.72);

	opacity: 0.72;

	transition:
		filter 0.45s ease,
		opacity 0.45s ease,
		transform 0.65s ease;
}

.memuser__image-overlay {
	position: absolute;
	inset: 0;

	background:
		linear-gradient(
			to right,
			transparent 50%,
			rgba(10, 14, 15, 0.42)
		),
		linear-gradient(
			to top,
			rgba(10, 14, 15, 0.46),
			transparent 55%
		);

	pointer-events: none;
}

.memuser:hover .memuser__image img {
	filter:
		grayscale(0.72)
		saturate(0.62)
		contrast(1.03)
		brightness(0.8);

	opacity: 0.86;
	transform: scale(1.045);
}


/* =========================================================
   HAUPTINHALT
   ========================================================= */

.memuser__content {
	display: grid;
	grid-template-columns:
		minmax(0, 1fr)
		minmax(180px, auto);
	align-items: center;
	gap: 34px;

	min-width: 0;
	padding: 28px 34px;
}

.memuser__identity {
	min-width: 0;
}

.memuser__eyebrow {
	display: block;

	margin: 0 0 9px;

	color: var(--fire-accent-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.17em;
	line-height: 1.4;
	text-transform: uppercase;
}

.memuser__name {
	margin: 0;

	font-family: var(--fire-display);
	font-size: clamp(20px, 3vw, 33px);
	font-weight: 400;
	letter-spacing: 0.015em;
	line-height: 1.05;
}

.memuser__name a {
	display: inline-block;

	max-width: 100%;

	overflow-wrap: anywhere;

	color: #fff;

	transition: none;
}

.memuser:hover .memuser__name a {
	color: #fff;
	transform: none;
}


/* =========================================================
   SPIELER:IN
   ========================================================= */

.memuser__player {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;

	margin-top: 17px;
	padding-top: 13px;

	border-top: 1px solid rgba(165, 195, 200, 0.09);
}

.memuser__player span {
	color: rgba(181, 193, 189, 0.42);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.memuser__player strong {
	color: rgba(209, 217, 214, 0.72);
	font-size: 11px;
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0.04em;
}


/* =========================================================
   STATISTIK UND PROFILLINK
   ========================================================= */

.memuser__meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 20px 26px;

	min-width: 0;
}

.memuser__stat {
	display: flex;
	flex-direction: column;
	align-items: flex-end;

	min-width: 100px;
}

.memuser__stat-value {
	color: rgba(235, 239, 237, 0.95);
	font-family: var(--fire-display);
	font-size: 34px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 0.95;
}

.memuser__stat-label {
	margin-top: 6px;

	color: rgba(181, 193, 189, 0.45);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.memuser__profile-link {
	display: inline-flex;
	align-items: center;
	gap: 11px;

	padding: 9px 0;

	color: rgba(209, 217, 214, 0.65);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;

	border-bottom: 1px solid rgba(178, 139, 173, 0.33);
}

.memuser__profile-link:hover {
	color: #fff;

	border-color: rgba(178, 139, 173, 0.72);
}

.memuser__profile-link i {
	color: inherit;
	font-size: 13px;

	transition: transform 0.18s ease;
}

.memuser__profile-link:hover i {
	transform: translateX(4px);
}


/* =========================================================
   WANDSHARE-BEREICH
   ========================================================= */

.memuser__extras {
	position: relative;

	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 180px;
	padding: 28px 24px;

	border-left: 1px solid rgba(165, 195, 200, 0.09);
}

/*
 * Falls das Plugin keinen Inhalt ausgibt, verschwindet
 * die ansonsten leere dritte Spalte.
 */

.memuser__extras:empty {
	display: none;
}

.memuser:has(.memuser__extras:empty) {
	grid-template-columns:
		190px
		minmax(0, 1fr);
}


/* =========================================================
   LEERE PROFILFELDER
   ========================================================= */

.memuser__player strong:empty::before {
	content: "nicht angegeben";

	color: rgba(181, 193, 189, 0.32);
	font-style: italic;
	font-weight: 400;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

	.memberlist-results .memuser {
		grid-template-columns:
			170px
			minmax(0, 1fr);
	}

	.memuser__content {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.memuser__meta {
		justify-content: space-between;

		padding-top: 18px;

		border-top: 1px solid rgba(165, 195, 200, 0.08);
	}

	.memuser__stat {
		align-items: flex-start;
	}

	.memuser__extras {
		grid-column: 1 / -1;

		min-height: 70px;
		padding: 18px 24px;

		border-top: 1px solid rgba(165, 195, 200, 0.08);
		border-left: 0;
	}

	.memuser:has(.memuser__extras:empty) {
		grid-template-columns:
			170px
			minmax(0, 1fr);
	}

}

@media (max-width: 700px) {

	.memberlist-results .memuser,
	.memuser:has(.memuser__extras:empty) {
		display: block;
	}

	.memuser__image {
		width: 100%;
		height: 220px;
		min-height: 220px;

		border-right: 0;
		border-bottom: 1px solid rgba(165, 195, 200, 0.09);
	}

	.memuser__image img {
		object-position: center 22%;
	}

	.memuser__image-overlay {
		background:
			linear-gradient(
				to top,
				rgba(10, 14, 15, 0.72),
				transparent 62%
			);
	}

	.memuser__content {
		display: block;

		padding: 25px 22px;
	}

	.memuser__name {
		font-size: clamp(38px, 12vw, 55px);
	}

	.memuser__meta {
		align-items: flex-start;
		flex-direction: column;

		margin-top: 24px;
	}

	.memuser__stat {
		align-items: flex-start;
	}

	.memuser__extras {
		width: 100%;
		min-width: 0;

		border-top: 1px solid rgba(165, 195, 200, 0.08);
		border-left: 0;
	}

}

@media (max-width: 430px) {

	.memuser__image {
		height: 190px;
		min-height: 190px;
	}

	.memuser__content {
		padding: 22px 17px;
	}

	.memuser__player {
		align-items: flex-start;
		flex-direction: column;
	}

}