/* =========================================================
   PLAYER DIRECTORY / WER IST WER
   EMBERS REMAIN
   ========================================================= */


/* =========================================================
   GESAMTBEREICH
   ========================================================= */

.storm-directory {
	width: 92%;
	margin: 30px auto 55px;

	box-sizing: border-box;
}


/* =========================================================
   STATISTIKEN OBEN
   ========================================================= */

.storm-directory-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);

	gap: 12px;

	margin-bottom: 24px;
}

.storm-directory-stat {
	padding: 14px 16px;

	background: #292627;

	border-top: 1px solid rgba(154,129,105,.25);
	border-bottom: 1px solid rgba(154,129,105,.14);

	color: #aaa19b;

	font-size: 9px;
	line-height: 1.5;

	text-align: center;

	box-sizing: border-box;
}

.storm-directory-stat strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 15px;
	font-weight: normal;

	color: #d8b49b;
}


/* =========================================================
   INHALT
   ========================================================= */

.storm-directory-content {
	min-width: 0;
}


/* =========================================================
   SPIELERGRID
   2 SPIELER NEBENEINANDER
   ========================================================= */

.playerdirectory_directory {
	display: grid;

	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	align-items: start;

	gap: 22px;

	width: 100%;
}


/* =========================================================
   SPIELERKARTE
   ========================================================= */

.playerdirectory-user {
	display: flex;
	flex-direction: column;

	width: 100%;
	min-width: 0;

	margin: 0;

	background: #292627;

	border-top: 1px solid rgba(154,129,105,.22);
	border-bottom: 1px solid rgba(154,129,105,.16);

	box-sizing: border-box;
}


/* =========================================================
   SPIELERNAME
   ========================================================= */

.playerdirectory-user-head {
	padding: 19px 22px 14px;

	text-align: center;
}

.playerdirectory-user-name {
	font-family: Georgia, "Times New Roman", serif;

	font-size: 21px;
	font-style: italic;
	font-weight: normal;

	color: #d8b49b;
}

.playerdirectory-user-name a {
	color: #d8b49b !important;
	text-decoration: none !important;
}

.playerdirectory-user-name a:hover {
	color: #c98a68 !important;
}


/* kleine Zierlinie */

.playerdirectory-user-line {
	display: flex;
	align-items: center;
	justify-content: center;

	gap: 7px;

	width: 58%;

	margin: 8px auto 0;
}

.playerdirectory-user-line span {
	display: block;

	flex: 1;

	height: 1px;

	background: rgba(154,129,105,.28);
}

.playerdirectory-user-line i {
	display: block;

	width: 5px;
	height: 5px;

	background: #c77854;

	transform: rotate(45deg);
}


/* =========================================================
   SPIELERINFORMATIONEN
   ========================================================= */

.playerdirectory-user-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;

	gap: 7px 18px;

	padding: 11px 16px;

	background: #252324;

	border-top: 1px solid rgba(154,129,105,.12);
	border-bottom: 1px solid rgba(154,129,105,.14);

	box-sizing: border-box;
}

.playerdirectory-user-meta-item {
	display: flex;
	align-items: center;

	gap: 6px;

	font-size: 8px;
}

.playerdirectory-user-label {
	color: #756d69;

	letter-spacing: .7px;
	text-transform: uppercase;
}

.playerdirectory-user-value {
	color: #aaa19b;
}


/* Inplaystatistik */

.playerdirectory-user-inplay {
	color: #9f8d80;

	font-size: 8px;
}


/* Spielerbutton */

.playerdirectory-user-button a {
	color: #c8ad94 !important;

	font-size: 7px;
	letter-spacing: .8px;
	text-transform: uppercase;

	text-decoration: none !important;
}

.playerdirectory-user-button a:hover {
	color: #c98a68 !important;
}


/* =========================================================
   CHARAKTER-ÜBERSCHRIFT
   ========================================================= */

.playerdirectory-character-head {
	padding: 14px 16px 9px;

	color: #817976;

	font-size: 8px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}


/* =========================================================
   CHARAKTER-GRID
   2 CHARAKTERE PRO SPIELERKARTE
   ========================================================= */

.playerdirectory-user-accounts {
	display: grid;

	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	gap: 9px;

	padding: 0 14px 14px;

	box-sizing: border-box;
}


/* =========================================================
   EINZELNER CHARAKTER
   ========================================================= */

.directory-character {
	display: flex;
	align-items: stretch;

	min-width: 0;
	min-height: 100px;

	padding: 0;

	background: #302d2f;

	border: 1px solid rgba(154,129,105,.14);

	overflow: hidden;

	box-sizing: border-box;

	transition:
		background .2s ease,
		border-color .2s ease;
}

.directory-character:hover {
	background: #343031;

	border-color: rgba(154,129,105,.34);
}


/* =========================================================
   AVATAR
   ========================================================= */

.directory-character-avatar {
	flex: 0 0 70px;

	width: 70px;
	min-height: 100px;

	overflow: hidden;

	background: #211f20;
}

.directory-character-avatar img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	filter:
		saturate(.72)
		contrast(.96);

	transition:
		filter .25s ease,
		transform .3s ease;
}

.directory-character:hover
.directory-character-avatar img {
	filter:
		saturate(.95)
		contrast(1);

	transform: scale(1.025);
}


/* =========================================================
   CHARAKTER-INFOS
   ========================================================= */

.directory-character-info {
	display: flex;
	flex: 1;
	flex-direction: column;

	min-width: 0;

	padding: 12px 10px 9px;

	box-sizing: border-box;
}


/* Name */

.directory-character-name {
	margin-bottom: 6px;

	font-family: Georgia, "Times New Roman", serif;

	font-size: 14px;
	font-style: italic;
	line-height: 1.15;

	color: #d8b49b;
}

.directory-character-name a {
	color: #d8b49b !important;

	text-decoration: none !important;
}

.directory-character-name a:hover {
	color: #c98a68 !important;
}


/* Inplaystatus */

.directory-character-status {
	flex: 1;

	color: #817976;

	font-size: 7px;
	line-height: 1.45;
	letter-spacing: .5px;
	text-transform: uppercase;
}


/* Button unten */

.directory-character-action {
	margin-top: 8px;
	padding-top: 7px;

	border-top: 1px solid rgba(154,129,105,.12);

	font-size: 7px;
	letter-spacing: .7px;
	text-transform: uppercase;
}

.directory-character-action a {
	color: #9f8d80 !important;

	text-decoration: none !important;
}

.directory-character-action a:hover {
	color: #c98a68 !important;
}


/* =========================================================
   SEITENZAHLEN
   ========================================================= */

.storm-directory-pages {
	margin-top: 20px;

	text-align: center;
}


/* =========================================================
   ALLGEMEINE LINKS
   ========================================================= */

.storm-directory a {
	color: #c8ad94 !important;

	text-decoration: none !important;
}

.storm-directory a:hover {
	color: #c98a68 !important;
}


/* spezielle Namen wieder stärker machen */

.storm-directory .playerdirectory-user-name a,
.storm-directory .directory-character-name a {
	color: #d8b49b !important;
}

.storm-directory .playerdirectory-user-name a:hover,
.storm-directory .directory-character-name a:hover {
	color: #c98a68 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1050px) {

	/* Spieler bleiben nebeneinander,
	   Charaktere innerhalb der Karten einspaltig */

	.playerdirectory-user-accounts {
		grid-template-columns: 1fr;
	}

}


@media screen and (max-width: 750px) {

	.storm-directory {
		width: 95%;
	}

	.storm-directory-stats {
		grid-template-columns: 1fr;
	}

	/* Spieler jetzt untereinander */

	.playerdirectory_directory {
		grid-template-columns: 1fr;
	}

	/* dafür Charaktere wieder zweispaltig */

	.playerdirectory-user-accounts {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

}


@media screen and (max-width: 500px) {

	.playerdirectory-user-accounts {
		grid-template-columns: 1fr;
	}

	.playerdirectory-user-meta {
		flex-direction: column;

		gap: 7px;
	}

}

/* =========================================================
   PLAYER DIRECTORY – CHARAKTERSTATISTIK
   EMBERS REMAIN
   ========================================================= */

.storm-characterstat {
	width: 92%;

	margin: 30px auto 55px;

	box-sizing: border-box;
}


/* =========================================================
   TITEL
   ========================================================= */

.storm-characterstat-title {
	position: relative;

	margin: 0 0 28px;
	padding: 0 0 14px;

	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	font-style: italic;
	font-weight: normal;

	text-align: center;

	color: #d8b49b;

	border-bottom: 1px solid rgba(154,129,105,.35);
}

.storm-characterstat-title::after {
	content: "◆";

	position: absolute;

	left: 50%;
	bottom: -7px;

	transform: translateX(-50%);

	padding: 0 8px;

	background: #282529;

	color: #c77854;

	font-size: 8px;
	font-style: normal;
}


/* =========================================================
   ZUFÄLLIGES INPLAYZITAT
   ========================================================= */

.storm-characterstat-quote {
	margin-bottom: 24px;
}

.storm-characterstat-quote:empty {
	display: none;
}


/* =========================================================
   STATISTIK-GRID
   ========================================================= */

.storm-characterstat-grid {
	display: grid;

	grid-template-columns:
		repeat(4, minmax(0, 1fr));

	gap: 12px;

	width: 100%;
}


/* =========================================================
   EINZELNE STATISTIK
   ========================================================= */

.storm-characterstat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-height: 86px;

	padding: 14px 12px;

	background: #292627;

	border-top: 1px solid rgba(154,129,105,.24);
	border-bottom: 1px solid rgba(154,129,105,.14);

	text-align: center;

	box-sizing: border-box;

	transition:
		background .18s ease,
		border-color .18s ease;
}

.storm-characterstat-card:hover {
	background: #2e2a2c;

	border-top-color: rgba(154,129,105,.42);
}


/* =========================================================
   LABEL
   ========================================================= */

.storm-characterstat-label {
	margin-bottom: 7px;

	color: #817976;

	font-size: 7px;
	line-height: 1.4;
	letter-spacing: 1px;
	text-transform: uppercase;
}


/* =========================================================
   WERT
   ========================================================= */

.storm-characterstat-value {
	min-width: 0;

	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1.35;

	color: #d8b49b;

	overflow-wrap: anywhere;
}


/* Links innerhalb von Werten */

.storm-characterstat-value a {
	color: #c8ad94 !important;

	text-decoration: none !important;
}

.storm-characterstat-value a:hover {
	color: #c98a68 !important;
}


/* =========================================================
   POSTAKTIVITÄT
   ========================================================= */

.storm-characterstat-activity {
	margin-top: 28px;
	padding-top: 22px;

	border-top: 1px solid rgba(154,129,105,.22);
}


/* alte Tabellen des Plugins einpassen */

.storm-characterstat-activity table {
	width: 100% !important;

	margin: 0 !important;

	background: transparent !important;

	border: 0 !important;

	box-sizing: border-box;
}

.storm-characterstat-activity td {
	background: #292627 !important;

	border: 0 !important;
	border-bottom: 1px solid rgba(154,129,105,.12) !important;

	padding: 10px 12px !important;

	color: #aaa19b;

	font-size: 8px;
}

.storm-characterstat-activity .tcat,
.storm-characterstat-activity .thead {
	background: #252324 !important;

	color: #9f8d80 !important;

	font-size: 8px;
	letter-spacing: 1px;
	text-transform: uppercase;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1000px) {

	.storm-characterstat-grid {
		grid-template-columns:
			repeat(3, minmax(0, 1fr));
	}

}


@media screen and (max-width: 750px) {

	.storm-characterstat {
		width: 95%;
	}

	.storm-characterstat-grid {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

}


@media screen and (max-width: 480px) {

	.storm-characterstat-grid {
		grid-template-columns: 1fr;
	}

}

/* =========================================================
   PLAYER DIRECTORY – SPIELERSTATISTIK
   EMBERS REMAIN
   ========================================================= */

.storm-playerstat {
	width: 92%;

	margin: 30px auto 55px;

	box-sizing: border-box;
}


/* =========================================================
   TITEL
   ========================================================= */

.storm-playerstat-title {
	position: relative;

	margin: 0 0 30px;
	padding: 0 0 14px;

	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	font-style: italic;
	font-weight: normal;

	text-align: center;

	color: #d8b49b;

	border-bottom: 1px solid rgba(154,129,105,.35);
}

.storm-playerstat-title::after {
	content: "◆";

	position: absolute;

	left: 50%;
	bottom: -7px;

	transform: translateX(-50%);

	padding: 0 8px;

	background: #282529;

	color: #c77854;

	font-size: 8px;
	font-style: normal;
}


/* =========================================================
   SEKTIONEN
   ========================================================= */

.storm-playerstat-section {
	margin-bottom: 34px;
}

.storm-playerstat-section-title {
	margin-bottom: 16px;
	padding-bottom: 8px;

	font-family: Georgia, "Times New Roman", serif;
	font-size: 18px;
	font-weight: normal;

	color: #d8b49b;

	border-bottom: 1px solid rgba(154,129,105,.22);
}


/* =========================================================
   STATISTIK-GRID
   ========================================================= */

.storm-playerstat-grid {
	display: grid;

	grid-template-columns:
		repeat(4, minmax(0, 1fr));

	gap: 12px;
}

.storm-playerstat-grid-small {
	grid-template-columns:
		repeat(4, minmax(0, 1fr));
}


/* =========================================================
   EINZELNE STATISTIK
   ========================================================= */

.storm-playerstat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-height: 86px;

	padding: 14px 12px;

	background: #292627;

	border-top: 1px solid rgba(154,129,105,.24);
	border-bottom: 1px solid rgba(154,129,105,.14);

	text-align: center;

	box-sizing: border-box;

	transition:
		background .18s ease,
		border-color .18s ease;
}

.storm-playerstat-card:hover {
	background: #2e2a2c;

	border-top-color: rgba(154,129,105,.42);
}


/* Label */

.storm-playerstat-label {
	margin-bottom: 7px;

	color: #817976;

	font-size: 7px;
	line-height: 1.4;
	letter-spacing: 1px;
	text-transform: uppercase;
}


/* Wert */

.storm-playerstat-value {
	min-width: 0;

	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	line-height: 1.35;

	color: #d8b49b;

	overflow-wrap: anywhere;
}

.storm-playerstat-value a {
	color: #c8ad94 !important;

	text-decoration: none !important;
}

.storm-playerstat-value a:hover {
	color: #c98a68 !important;
}


/* =========================================================
   RANDOM INPLAYQUOTE
   ========================================================= */

.storm-playerstat-quote {
	margin-bottom: 20px;
}

.storm-playerstat-quote:empty {
	display: none;
}


/* =========================================================
   AKTIVITÄTEN
   ========================================================= */

.storm-playerstat-activity {
	margin-top: 24px;
	padding-top: 20px;

	border-top: 1px solid rgba(154,129,105,.18);
}

.storm-playerstat-activity:empty {
	display: none;
}


/* alte Tabellen aus Aktivitäts-Bits beruhigen */

.storm-playerstat-activity table {
	width: 100% !important;

	margin: 0 !important;

	background: transparent !important;

	border: 0 !important;

	box-sizing: border-box;
}

.storm-playerstat-activity td {
	padding: 10px 12px !important;

	background: #292627 !important;

	border: 0 !important;
	border-bottom: 1px solid rgba(154,129,105,.12) !important;

	color: #aaa19b;

	font-size: 8px;
}

.storm-playerstat-activity .tcat,
.storm-playerstat-activity .thead {
	background: #252324 !important;

	color: #9f8d80 !important;

	font-size: 8px;
	letter-spacing: 1px;
	text-transform: uppercase;
}


/* =========================================================
   CHARAKTERLISTE UNTEN
   ========================================================= */

.storm-playerstat-characters {
	margin-top: 24px;

	padding-top: 20px;

	border-top: 1px solid rgba(154,129,105,.18);
}

.storm-playerstat-characters:empty {
	display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1000px) {

	.storm-playerstat-grid,
	.storm-playerstat-grid-small {
		grid-template-columns:
			repeat(3, minmax(0, 1fr));
	}

}


@media screen and (max-width: 750px) {

	.storm-playerstat {
		width: 95%;
	}

	.storm-playerstat-grid,
	.storm-playerstat-grid-small {
		grid-template-columns:
			repeat(2, minmax(0, 1fr));
	}

}


@media screen and (max-width: 480px) {

	.storm-playerstat-grid,
	.storm-playerstat-grid-small {
		grid-template-columns: 1fr;
	}

}

/* =========================================================
   PLAYERSTAT – CHARAKTERLISTE
   ========================================================= */

.storm-playerstat-characters {
	display: grid;

	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	gap: 14px;

	margin-top: 24px;
	padding-top: 22px;

	border-top: 1px solid rgba(154,129,105,.18);
}


/* =========================================================
   EINZELNER CHARAKTER
   ========================================================= */

.playerstat-character {
	display: flex;
	align-items: stretch;

	min-width: 0;
	min-height: 150px;

	background: #292627;

	border: 1px solid rgba(154,129,105,.16);

	overflow: hidden;

	box-sizing: border-box;

	transition:
		background .18s ease,
		border-color .18s ease;
}

.playerstat-character:hover {
	background: #2e2a2c;

	border-color: rgba(154,129,105,.34);
}


/* =========================================================
   AVATAR
   ========================================================= */

.playerstat-character-avatar {
	flex: 0 0 125px;

	width: 125px;

	overflow: hidden;

	background: #211f20;
}

.playerstat-character-avatar img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	filter:
		saturate(.72)
		contrast(.96);

	transition:
		filter .2s ease,
		transform .25s ease;
}

.playerstat-character:hover
.playerstat-character-avatar img {
	filter:
		saturate(.95)
		contrast(1);

	transform: scale(1.025);
}


/* =========================================================
   INFOS
   ========================================================= */

.playerstat-character-info {
	display: flex;
	flex: 1;
	flex-direction: column;

	min-width: 0;

	padding: 15px 16px 13px;

	box-sizing: border-box;
}


/* Kopf */

.playerstat-character-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;

	gap: 12px;

	margin-bottom: 5px;
}


/* Name */

.playerstat-character-name {
	min-width: 0;

	font-family: Georgia, "Times New Roman", serif;

	font-size: 16px;
	font-style: italic;
	line-height: 1.2;

	color: #d8b49b;
}

.playerstat-character-name span {
	margin-left: 5px;

	font-family: Arial, sans-serif;
	font-size: 7px;
	font-style: normal;
	letter-spacing: .7px;
	text-transform: uppercase;

	color: #817976;
}

.playerstat-character-name a {
	color: #d8b49b !important;

	text-decoration: none !important;
}

.playerstat-character-name a:hover {
	color: #c98a68 !important;
}


/* Button rechts */

.playerstat-character-button {
	flex: 0 0 auto;
}

.playerstat-character-button a {
	color: #9f8d80 !important;

	font-size: 7px;
	letter-spacing: .7px;
	text-transform: uppercase;

	text-decoration: none !important;
}

.playerstat-character-button a:hover {
	color: #c98a68 !important;
}


/* Usertitel */

.playerstat-character-title {
	margin-bottom: 12px;
	padding-bottom: 8px;

	border-bottom: 1px solid rgba(154,129,105,.12);

	color: #817976;

	font-size: 7px;
	letter-spacing: .8px;
	text-transform: uppercase;
}


/* =========================================================
   FACTS
   ========================================================= */

.playerstat-character-facts {
	display: flex;
	flex-direction: column;

	gap: 5px;

	margin-top: auto;
}

.playerstat-character-fact {
	color: #aaa19b;

	font-size: 8px;
	line-height: 1.45;
}

.playerstat-character-fact > span {
	margin-right: 4px;

	color: #756d69;

	font-size: 7px;
	letter-spacing: .6px;
	text-transform: uppercase;
}

.playerstat-character-fact a {
	color: #c8ad94 !important;
	text-decoration: none !important;
}

.playerstat-character-fact a:hover {
	color: #c98a68 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 900px) {

	.storm-playerstat-characters {
		grid-template-columns: 1fr;
	}

}

@media screen and (max-width: 500px) {

	.playerstat-character {
		display: block;
	}

	.playerstat-character-avatar {
		width: 100%;
		height: 190px;
	}

}