.post.pb-custom {
	position: relative;
	border: 1px solid var(--main-accent);
	background: var(--background);
	color: var(--font-color);
	overflow: visible;
	margin-bottom: 50px;
}

/* ---------- Roter Kopfbereich ---------- */
.post.pb-custom .post_author {
	float: none;
	width: auto;
	margin: 0;
	border: 0;
	background: var(--main-accent);
	padding: 24px 24px 16px 230px;   /* linker Platz fuer das Avatar */
	overflow: visible;
	color: var(--font-color);
}

/* Avatar – ragt unten in den Body hinein */
.post.pb-custom .pb-avatar {
	position: absolute;
	left: 28px;
	top: 24px;
	width: 300px;
	height: 250px;
}
.post.pb-custom .pb-avatar .author_avatar,
.post.pb-custom .pb-avatar a,
.post.pb-custom .pb-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}

/* obere Zeile: Userinfos zentriert + GIF-Box rechts */
.post.pb-custom .pb-author-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-left: 110px;
}

.post.pb-custom .author_information {
	float: none;
	width: auto;
	margin: 0;
	flex: 1;
	text-align: center;
	color: var(--font-color);
	min-width: 0;               /* wichtig: erlaubt Schrumpfen im Flex-Layout */
    overflow-wrap: break-word;
    word-break: break-word;
}
.post.pb-custom .author_information a { 
	color: var(--font-color) !important; 
}

.post.pb-custom .author_information .largetext {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
}

.post.pb-custom .author_information .largetext,
.post.pb-custom .author_information .largetext a {
    white-space: normal;        /* falls irgendwo nowrap vererbt wird */
    overflow-wrap: break-word;
    word-break: break-word;
}


.post.pb-custom .pb-usertitle,
.post.pb-custom .pb-playername,
.post.pb-custom .pb-stars {
	display: block;
	color: var(--font-color);
}

.post.pb-custom .pb-gif {
	flex: 0 0 260px;
	height: 50px;
}

.pb-gif img {
	width: 185px;
	height: 75px;
	margin-top: 10px;
	border: 5px solid var(--accent-two);
}

.pb-pronomen {
	font-size: 9px;
}

.post-facts {
	text-align: center;
	margin: -5px 0 0 220px;
}

.post-facts-button {
	display: inline-block; 
	background: var(--accent-two);
	box-sizing: border-box; 
	padding: 5px;
	width: 155px;
	vertical-align: top;
  	height: 28px;
}

.post-facts-button:nth-child(3) {
  margin-bottom: 5px;
}

.post-facts-button:nth-child(5),
.post-facts-button:nth-child(6) {
	width: 200px;
}


/* Datum / Woerter-Zeile */
.post.pb-custom .pb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 88px;
	margin-top: 16px;
	color: var(--font-color);
	margin-left: 20%;
}
.post.pb-custom .pb-meta .post_date { color: var(--font-color); }
.post.pb-custom .pb-meta .post_edit { color: #d8c9c9; }

/* Beitragsstatistik im Design nicht vorgesehen –
   zum Anzeigen diese Regel entfernen */
.post.pb-custom .author_statistics { display: none; }

/* ---------- Body ---------- */
.post.pb-custom .post_content {
	float: none;
	width: auto;
	margin: 0;
	clear: both;
	background: transparent;
	padding: 65px 28px 24px;   /* oberer Platz, damit der Text unter dem Avatar startet */
}
.post.pb-custom .pb-head { margin-bottom: 10px; }
.post.pb-custom .post_body {
	color: var(--font-color);
	text-align: justify;
	line-height: 1.6;
}

/* ---------- Signatur ---------- */
.post.pb-custom .pb-signature {
	text-align: center;
	padding: 30px 0 20px;
}

/* ---------- Meta / Controls ---------- */
.post.pb-custom .post_meta {
	color: var(--font-color);
	margin-top: 16px;
}
.post.pb-custom .post_controls {
	clear: both;
	overflow: hidden;
	padding: 12px 28px 16px;
	background: transparent;
	border: 0;
}

.postbit_buttons{
	text-align: center;
}

.postbit_buttons  a {
	width: 112px;
	box-sizing: border-box;
}

form[action="forumdisplay.php"] input {
	width: 24%;
}

#posts {
	margin: 0 10px;
}

.post-messages {
	background: var(--background);
	box-sizing: border-box;
	padding: 5px 10px;
	margin-bottom: 10px;
	text-align: justify;
}