/* =========================================================
   SZENENINFORMATION
   ========================================================= */

.fire_szinfo {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;

	width: min(100%, 1200px);
	min-height: 112px;
	margin: 0 auto 28px;
	padding: 24px 30px;

	color: var(--txt);

	background: transparent;
	border-top: 1px solid rgba(165, 195, 200, 0.12);
	border-bottom: 1px solid rgba(165, 195, 200, 0.12);
}

.fire_szinfo::before {
	content: "SZENENINFORMATION";

	margin-bottom: 10px;

	color: var(--fire-accent-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1.4;
	text-transform: uppercase;
}

.fire_szinfo name {
	display: block;

	width: 100%;
	margin: 0;

	color: rgba(235, 239, 237, 0.94);
	font-family: var(--fire-display);
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 400;
	line-height: 1;

	text-align: left;

	border: 0;
	text-shadow: none;
}


/* =========================================================
   POSTBIT – GRUNDGERÜST
   ========================================================= */

.fire_postbit,
.fire_postbit * {
	box-sizing: border-box;
}

.fire_postbit {
	--post-line: rgba(165, 195, 200, 0.11);
	--post-line-strong: rgba(178, 139, 173, 0.28);
	--post-panel: rgba(255, 255, 255, 0.014);
	--post-text: rgba(209, 217, 214, 0.8);
	--post-muted: rgba(181, 193, 189, 0.57);

	display: grid;
	grid-template-columns: 270px minmax(0, 1fr) 76px;
	grid-template-rows: auto minmax(600px, auto);

	width: min(100%, 1200px);
	min-height: 600px;
	margin: 0 auto 42px;

	color: var(--post-text);

	background: transparent;
	border-top: 1px solid var(--post-line);
	border-bottom: 1px solid var(--post-line);
}


/* =========================================================
   CHARAKTERKOPF
   ========================================================= */

.fire_postbit .charainfo {
	position: relative;

	grid-column: 1 / -1;
	grid-row: 1;

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;

	width: 100%;
	min-height: 138px;
	max-height: none;
	padding: 28px 34px 25px;

	text-align: left;

	background:
		linear-gradient(
			to right,
			rgba(178, 139, 173, 0.075),
			transparent 66%
		);

	border-bottom: 1px solid var(--post-line);
}

.charainfo__eyebrow {
	margin-bottom: 9px;

	color: var(--fire-accent-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1.4;
	text-transform: uppercase;
}

.fire_postbit .charainfo name {
	display: block;

	width: 100%;
	margin: 0;
	padding: 0;

	color: rgba(237, 240, 238, 0.96);
	font-family: var(--fire-display);
	font-size: clamp(44px, 5vw, 70px);
	font-weight: 400;
	line-height: 0.95;

	text-align: left;

	text-shadow: none;
}

.fire_postbit .charainfo name a {
	color: inherit;
	text-decoration: none;
	transition:
		color 0.2s ease,
		-webkit-text-stroke-color 0.2s ease;
}

.fire_postbit .charainfo .spieler {
	position: static;

	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 7px 22px;

	margin-top: 18px;

	color: var(--post-muted);
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.fire_postbit .charainfo .spieler span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.fire_postbit .charainfo .spieler span::before {
	content: "";

	width: 5px;
	height: 5px;

	border: 1px solid rgba(178, 139, 173, 0.65);

	transform: rotate(45deg);
}

.fire_postbit .charainfo .spieler u {
	color: rgba(220, 226, 223, 0.88);
	font-weight: 700;
	text-decoration: none;
}


/* =========================================================
   LINKE SPALTE
   Sticky bleibt vollständig erhalten
   ========================================================= */

.fire_postbit .postleft {
	position: relative;

	grid-column: 1;
	grid-row: 2;

	width: auto;
	min-width: 0;
	min-height: 600px;

	color: var(--post-text);

	background: transparent;
	border-right: 1px solid var(--post-line);
}

.fire_postbit .postleft .inner {
	position: sticky;
	top: 120px;

	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 18px;

	width: 100%;
	height: auto;
	min-height: 0;
	padding: 30px;

	background: transparent;
}


/* Charakterbild */

.postleft__portrait {
	position: relative;

	width: 100%;
	aspect-ratio: 1 / 1.12;

	overflow: hidden;

	background: var(--post-panel);
	border: 1px solid var(--post-line);
}

.postleft__portrait::after {
	content: "";

	position: absolute;
	inset: 8px;

	border: 1px solid rgba(235, 239, 236, 0.09);

	pointer-events: none;
}

.postleft__portrait img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;

	border: 0 !important;

	filter:
		saturate(0.74)
		contrast(1.04)
		brightness(0.86);

	transition:
		filter 0.25s ease,
		transform 0.3s ease;
}

.postleft__portrait:hover img {
	filter:
		saturate(0.95)
		contrast(1.02)
		brightness(0.94);

	transform: scale(1.015);
}


/* Kurzinfo */

.fire_postbit .shortinfo {
	width: 100%;
	height: auto;
	max-height: 195px;
	padding: 0;

	overflow: auto;

	color: var(--post-text);
	font-family: inherit;
	font-size: 11px;
	font-weight: 300;
	line-height: 1.75;
	text-align: left;

	background: transparent;
	border: 0;

	scrollbar-width: thin;
	scrollbar-color: rgba(178, 139, 173, 0.4) transparent;
}

.shortinfo__label {
	position: sticky;
	top: 0;
	z-index: 2;

	margin: 0 0 12px;
	padding: 0 0 9px;

	color: var(--fire-accent-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;

	background: var(--back);
	border-bottom: 1px solid var(--post-line);
}

.shortinfo__text {
	padding-right: 7px;
	text-align:justify;
}

.fire_postbit .shortinfo::-webkit-scrollbar {
	width: 3px;
}

.fire_postbit .shortinfo::-webkit-scrollbar-track {
	background: transparent;
}

.fire_postbit .shortinfo::-webkit-scrollbar-thumb {
	background: rgba(178, 139, 173, 0.4);
}


/* Unteres Icon */

.postleft__icon {
	position: relative;

	width: 100%;
	height: 96px;

	overflow: hidden;

	border: 1px solid var(--post-line);
}

.postleft__icon img {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;
	object-position: center;

	border: 0 !important;

	filter:
		saturate(0.68)
		brightness(0.8);
}


/* =========================================================
   BEITRAGSMITTE
   ========================================================= */

.fire_postbit .postmid {
	position: relative;

	grid-column: 2;
	grid-row: 2;

	min-width: 0;
	min-height: 600px;
	padding: 30px clamp(32px, 4vw, 52px) 42px;

	overflow-x: hidden;
	overflow-y: visible;

	color: var(--post-text);
	font-family: var(--fire-body);
	font-size: 13px;
	font-weight: 300;
	line-height: 1.95;
	text-align: left;
	white-space: normal;

	background: transparent;
	border: 0;
}


/* Datum und Permalink */

.postmeta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;

	margin: 0;

	color: var(--post-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-transform: uppercase;
}

.postmeta__url a {
	color: var(--accent-light);
	text-decoration: none;

	transition: color 0.18s ease;
}

.postmeta__url a:hover {
	color: #fff;
}

.postmid__divider {
	width: 100%;
	height: 1px;
	margin: 15px 0 30px;

	background:
		linear-gradient(
			to right,
			rgba(178, 139, 173, 0.5),
			rgba(165, 195, 200, 0.12) 40%,
			transparent
		);
}

.postmid__divider--bottom {
	margin: 32px 0 24px;
}


/* Beitragstext */

.postmid__message {
	min-height: 440px;
	text-align:justify;
}

.fire_postbit .postmid p {
	margin: 0 0 1.45em;
}

.fire_postbit .postmid a {
	color: var(--accent-light);
	text-decoration-color: rgba(178, 139, 173, 0.38);
	text-underline-offset: 3px;

	transition:
		color 0.18s ease,
		text-decoration-color 0.18s ease;
}

.fire_postbit .postmid a:hover {
	color: #fff;
	text-decoration-color: var(--accent);
}


/*
 * Keine vollflächigen Farbbalken mehr bei b, i und u.
 * Dadurch bleibt längerer Fließtext lesbar.
 */

.fire_postbit .postmid b,
.fire_postbit .postmid strong {
	color: rgba(232, 236, 234, 0.95);
	font-weight: 700;

	background: transparent;
	padding: 0;
}

.fire_postbit .postmid i,
.fire_postbit .postmid em {
	color: rgba(201, 213, 210, 0.88);
	font-style: italic;

	background: transparent;
	padding: 0;
}

.fire_postbit .postmid u {
	color: var(--accent-light);
	text-decoration-color: rgba(178, 139, 173, 0.5);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;

	background: transparent;
	padding: 0;
}

.fire_postbit .postmid blockquote {
	margin: 28px 0;
	padding: 18px 24px;

	color: rgba(207, 215, 212, 0.77);
	font-style: italic;

	background: transparent;
	border-left: 1px solid var(--accent);
}


/* Sonderhinweis für Gäste */

.postmid__notice {
	margin: 40px 0;
	padding: 28px;

	color: rgba(209, 217, 214, 0.76);
	font-size: 12px;
	line-height: 1.8;

	background: rgba(178, 139, 173, 0.035);
	border: 1px solid rgba(178, 139, 173, 0.2);
}

.postmid__notice span {
	display: block;

	margin-bottom: 8px;

	color: var(--accent-light);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}


/* Bearbeitungshinweis */

.postmid__edited {
	margin-top: 30px;

	color: var(--post-muted);
	font-size: 11px;
	font-style: italic;
	line-height: 1.5;
}


/* Signatur */

.postmid__signature {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 100%;
	overflow: hidden;
}

.postmid__signature img {
	display: block;

	max-width: 100%;
	height: auto;

	filter:
		saturate(0.78)
		brightness(0.9);
}


/* bestehendes nospan */

.fire_postbit .postmid nospan {
	position: static;

	display: block;

	width: 100%;
	margin: 0 0 18px;

	color: var(--post-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-align: right;
	text-transform: uppercase;
}


/* =========================================================
   RECHTE AKTIONSLEISTE
   Sticky bleibt vollständig erhalten
   ========================================================= */

.fire_postbit .postright {
	position: relative;

	grid-column: 3;
	grid-row: 2;

	min-width: 0;

	background: transparent;
	border-left: 1px solid var(--post-line);
}

.fire_postbit .postright .inner {
	position: sticky;
	top: 120px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;

	width: 100%;
	padding: 28px 10px;

	background: transparent;
}

.postright__label {
	color: var(--post-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;

	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.postright__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
}


/*
 * MyBB-Buttons können als Bilder, Links oder Inputs erscheinen.
 */

.postright__buttons a,
.postright__buttons button,
.postright__buttons input,
.postright__buttons img {
	transition:
		opacity 0.18s ease,
		transform 0.18s ease,
		filter 0.18s ease;
}

.postright__buttons a, .wandshare-postbit {
	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 30px;
	min-height: 30px;

	color: var(--post-muted);
	font-size: 13px;
	text-decoration: none;

	background: transparent;
	border: 1px solid rgba(165, 195, 200, 0.12);
}

.postright__buttons a:hover {
	color: #fff;
	border-color: rgba(178, 139, 173, 0.42);
	transform: translateY(-1px);
}

.postright__buttons img {
	display: block;

	max-width: 28px;
	max-height: 28px;

	opacity: 0.62;
	filter: grayscale(1) brightness(1.3);
}

.postright__buttons a:hover img,
.postright__buttons img:hover {
	opacity: 1;
	filter: grayscale(0) brightness(1.05);

	transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

	.fire_postbit {
		grid-template-columns: 230px minmax(0, 1fr) 66px;
	}

	.fire_postbit .postleft .inner {
		padding: 24px;
	}

	.fire_postbit .postmid {
		padding-right: 34px;
		padding-left: 34px;
	}

}

@media (max-width: 760px) {

	.fire_postbit {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto auto;
	}

	.fire_postbit .charainfo {
		grid-column: 1;
		grid-row: 1;

		padding: 26px 22px;
	}

	.fire_postbit .charainfo name {
		font-size: clamp(38px, 12vw, 58px);
	}

	.fire_postbit .postleft {
		grid-column: 1;
		grid-row: 2;

		border-right: 0;
		border-bottom: 1px solid var(--post-line);
	}

	/*
	 * Auf Mobilgeräten wird Sticky bewusst aufgehoben,
	 * da die Spalte über dem Beitrag liegt.
	 */
	.fire_postbit .postleft .inner {
		position: relative;
		top: auto;

		display: grid;
		grid-template-columns: minmax(130px, 0.65fr) minmax(0, 1fr);
		align-items: start;
		gap: 18px;

		padding: 24px 22px;
	}

	.postleft__icon {
		grid-column: 1 / -1;
	}

	.fire_postbit .postmid {
		grid-column: 1;
		grid-row: 3;

		min-height: 0;
		padding: 30px 22px 38px;
	}

	.postmid__message {
		min-height: 0;
	}

	.fire_postbit .postright {
		grid-column: 1;
		grid-row: 4;

		border-top: 1px solid var(--post-line);
		border-left: 0;
	}

	.fire_postbit .postright .inner {
		position: relative;
		top: auto;

		flex-direction: row;
		justify-content: space-between;

		padding: 16px 22px;
	}

	.postright__label {
		writing-mode: initial;
		transform: none;
	}

	.postright__buttons {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

}

@media (max-width: 480px) {

	.fire_postbit .postleft .inner {
		grid-template-columns: 1fr;
	}

	.postleft__portrait {
		max-height: 380px;
	}

	.postleft__icon {
		grid-column: auto;
	}

	.postmeta {
		align-items: flex-start;
		flex-direction: column;
		gap: 7px;
	}

}