/* =========================
   DEVIL'S CROSSROADS THEME
========================= */

:root {
	--bg: #09080b;
	--bg-soft: #111016;
	--bg-panel: rgba(14, 12, 18, 0.92);
	--bg-panel-2: rgba(20, 17, 24, 0.96);
	--bg-elevated: rgba(28, 22, 27, 0.92);
	--line: rgba(180, 145, 96, 0.18);
	--line-strong: rgba(180, 145, 96, 0.38);
	--accent: #b99868;
	--accent-soft: #8e7350;
	--accent-bright: #d6b98b;
	--text: #ddd6cc;
	--text-soft: #a89d90;
	--text-dim: #7e746a;
	--danger: #b45858;
	--success: #6f9a6e;
	--shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	--radius: 16px;
	--radius-sm: 10px;
	--radius-xs: 6px;
	--transition: 180ms ease;
}

html {
	background: var(--bg);
}

body {
	background:
		radial-gradient(circle at top center, rgba(92, 62, 34, 0.18) 0%, rgba(9, 8, 11, 0) 42%),
		linear-gradient(180deg, #0a0910 0%, #08070a 100%);
	color: var(--text);
	text-align: center;
	line-height: 1.65;
	margin: 0;
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 14px;
	overflow-y: scroll;
	letter-spacing: 0.01em;
}

a:link,
a:visited {
	color: var(--accent-bright);
	text-decoration: none;
	transition: color var(--transition), opacity var(--transition);
}

a:hover,
a:active {
	color: #f0d7aa;
	text-decoration: none;
}

#container {
	color: var(--text);
	text-align: left;
	line-height: 1.65;
	margin: 0;
	font-family: "Georgia", "Times New Roman", serif;
	font-size: 14px;
	min-width: 990px;
	background: transparent;
}

.wrapper {
	width: min(86%, 1480px);
	min-width: 970px;
	max-width: 1500px;
	margin: 0 auto;
}

#logo {
	background:
		linear-gradient(180deg, rgba(8, 8, 11, 0.96) 0%, rgba(10, 10, 14, 0.82) 100%);
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(8px);
}

#content {
	background:
		linear-gradient(180deg, rgba(11, 10, 15, 0.94) 0%, rgba(10, 9, 13, 0.96) 100%);
	width: auto !important;
	padding: 28px 14px;
	overflow: hidden;
	border-top: 1px solid rgba(255,255,255,0.02);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Panels / user area */
#panel .upper {
	background:
		linear-gradient(180deg, rgba(25, 20, 24, 0.98) 0%, rgba(13, 11, 15, 0.98) 100%);
	color: #f3ede4;
	border-top: 1px solid rgba(255,255,255,0.04);
	border-bottom: 1px solid var(--line);
	padding: 10px 12px;
	clear: both;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: #f3ede4;
}

#panel .lower {
	background:
		linear-gradient(180deg, rgba(20, 17, 24, 0.94) 0%, rgba(14, 12, 18, 0.96) 100%);
	color: var(--text-soft);
	border-top: 1px solid rgba(255,255,255,0.03);
	border-bottom: 1px solid var(--line);
	padding: 7px 12px;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
	color: var(--accent-bright);
}

/* Footer angepasst */
#footer .upper {
	background:
		linear-gradient(180deg, rgba(18, 15, 21, 0.96) 0%, rgba(12, 10, 15, 0.98) 100%);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid rgba(255,255,255,0.03);
	padding: 10px 12px;
	font-size: 12px;
	overflow: hidden;
	color: var(--text-soft);
}

#footer .lower {
	color: var(--text-dim);
	padding: 10px 6px 16px 6px;
	overflow: hidden;
	font-size: 11px;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active,
#footer .lower a:link,
#footer .lower a:visited,
#footer .lower a:hover,
#footer .lower a:active {
	color: var(--accent-bright);
	font-weight: normal;
}

/* Tabellen */
table {
	color: var(--text);
	font-size: 14px;
	border-collapse: separate;
	border-spacing: 0;
}

.tborder {
	background:
		linear-gradient(180deg, rgba(17, 14, 20, 0.95) 0%, rgba(12, 11, 15, 0.98) 100%);
	width: 100%;
	margin: 0 auto 22px auto;
	border: 1px solid var(--line);
	padding: 0;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
	background:
		linear-gradient(180deg, rgba(57, 42, 29, 0.95) 0%, rgba(33, 24, 18, 0.96) 100%);
	color: #f6efe6;
	border-bottom: 1px solid var(--line-strong);
	padding: 12px 14px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: bold;
}

.thead a:link,
.thead a:visited,
.thead a:hover,
.thead a:active {
	color: #f6efe6;
	text-decoration: none;
}

.tcat {
	position: relative;
	background:
		linear-gradient(180deg, rgba(23, 19, 25, 0.98) 0%, rgba(12, 10, 15, 0.98) 100%);
	color: #f0e7da;
	border-top: 1px solid rgba(255,255,255,0.04);
	border-bottom: 1px solid var(--line);
	padding: 14px 18px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-weight: bold;
	overflow: hidden;
}

.tcat:after {
	content: "";
	position: absolute;
	left: 18px;
	bottom: 0;
	width: 140px;
	height: 1px;
	background: linear-gradient(90deg, var(--accent) 0%, rgba(185, 152, 104, 0.35) 55%, rgba(185, 152, 104, 0) 100%);
	box-shadow: 0 0 18px rgba(185, 152, 104, 0.35);
}

.tcat:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(185, 152, 104, 0.06) 0%, rgba(185, 152, 104, 0) 28%);
	pointer-events: none;
}

.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active {
	color: #f2ebdf;
}

.trow1,
.trow2 {
	border: 0;
	transition: background var(--transition), box-shadow var(--transition);
}

.trow1 {
	background: rgba(17, 15, 21, 0.92);
}

.trow2 {
	background: rgba(21, 18, 25, 0.96);
}

.trow1 td,
.trow2 td {
	border-top: 1px solid rgba(255,255,255,0.02);
	border-bottom: 1px solid rgba(185, 152, 104, 0.06);
	padding: 14px 16px;
}

.trow1:hover,
.trow2:hover {
	background: rgba(33, 27, 34, 0.98);
}

.trow_shaded {
	background: rgba(116, 49, 57, 0.22);
	border: 0;
}

.trow_selected,
tr.trow_selected td,
.selectall {
	background: rgba(185, 152, 104, 0.16);
	color: #f2eadf;
	border-right-color: transparent;
	border-bottom-color: rgba(185, 152, 104, 0.2);
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #fff2d8;
}

.trow_sep {
	background:
		linear-gradient(180deg, rgba(36, 29, 35, 0.96) 0%, rgba(20, 17, 23, 0.98) 100%);
	color: #efe6da;
	border-bottom: 1px solid var(--line);
	padding: 10px 14px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: bold;
}

.tfoot {
	border-top: 1px solid rgba(255,255,255,0.03);
	padding: 12px 14px;
	background:
		linear-gradient(180deg, rgba(18, 15, 21, 0.96) 0%, rgba(12, 10, 15, 0.98) 100%);
	color: var(--text-soft);
}

.tfoot a:link,
.tfoot a:visited,
.tfoot a:hover,
.tfoot a:active {
	color: var(--accent-bright);
	text-decoration: none;
}

.bottommenu,
.navigation,
.pagination_breadcrumb {
	background:
		linear-gradient(180deg, rgba(18, 15, 21, 0.96) 0%, rgba(12, 10, 15, 0.98) 100%);
	color: var(--text-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 12px 14px;
}

.navigation {
	font-size: 12px;
}

.navigation .active {
	color: #f1e7d7;
	font-size: small;
	font-weight: bold;
}

/* Inputs / Formulare */
fieldset {
	padding: 14px;
	border: 1px solid var(--line);
	margin: 0;
	border-radius: var(--radius-sm);
	background: rgba(16, 14, 20, 0.7);
}

input.textbox,
textarea,
select {
	background: rgba(14, 12, 18, 0.96);
	color: var(--text);
	border: 1px solid rgba(185, 152, 104, 0.16);
	padding: 10px 12px;
	outline: 0;
	font-size: 13px;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	border-radius: 10px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
	transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input.textbox:focus,
textarea:focus,
select:focus {
	border-color: rgba(214, 185, 139, 0.55);
	box-shadow: 0 0 0 3px rgba(185, 152, 104, 0.12);
	background: rgba(18, 15, 22, 0.98);
}

button,
input.button {
	padding: 10px 16px;
	cursor: pointer;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	background:
		linear-gradient(180deg, rgba(46, 35, 26, 0.98) 0%, rgba(26, 20, 16, 0.98) 100%);
	border: 1px solid rgba(185, 152, 104, 0.35);
	color: #f3ebde;
	outline: 0;
	border-radius: 999px;
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

button:hover,
input.button:hover {
	border-color: rgba(214, 185, 139, 0.7);
	box-shadow: 0 10px 24px rgba(0,0,0,0.28);
	transform: translateY(-1px);
}

#search input.button,
#search input.textbox {
	border-color: rgba(185, 152, 104, 0.25);
}

#search input.button {
	background:
		linear-gradient(180deg, rgba(46, 35, 26, 0.98) 0%, rgba(26, 20, 16, 0.98) 100%);
	color: #fff;
}

/* Buttons links */
a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background:
		linear-gradient(180deg, rgba(39, 30, 24, 0.98) 0%, rgba(19, 15, 19, 0.98) 100%);
	color: #f3eadb;
	display: inline-block;
	padding: 10px 16px;
	margin: 2px 2px 6px 2px;
	border: 1px solid rgba(185, 152, 104, 0.28);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border-radius: 999px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
	transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

a.button:hover {
	border-color: rgba(214, 185, 139, 0.7);
	box-shadow: 0 10px 24px rgba(0,0,0,0.28);
	transform: translateY(-1px);
}

a.button.small_button {
	font-size: 11px;
	margin: 0;
	padding: 8px 12px;
}

/* Boxen / Quotes / Code */
blockquote,
.codeblock,
.popup_menu,
.editor,
.editor_control_bar {
	background:
		linear-gradient(180deg, rgba(18, 15, 21, 0.96) 0%, rgba(12, 10, 15, 0.98) 100%);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}

blockquote {
	margin: 0;
	padding: 14px;
}

blockquote cite,
.codeblock .title {
	font-weight: bold;
	border-bottom: 1px solid rgba(185, 152, 104, 0.14);
	font-style: normal;
	display: block;
	padding-bottom: 8px;
	margin: 0 0 10px 0;
	color: #f0e5d3;
}

.codeblock {
	padding: 14px;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 240px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px;
	color: #d8d1c7;
}

/* Post area moderner */
.post .post_author {
	border-bottom: 1px solid rgba(185, 152, 104, 0.10);
	border-top: 1px solid rgba(255,255,255,0.03);
	background: rgba(18, 15, 21, 0.82);
	padding: 8px 10px;
	overflow: hidden;
}

.post.classic .post_author {
	border: 1px solid var(--line);
	float: left;
	width: 15%;
	margin: 0 1% 15px 0;
	padding: 12px 1%;
	border-radius: var(--radius-sm);
	background: rgba(16, 14, 20, 0.88);
}

.post .post_author div.author_avatar img {
	padding: 4px;
	border: 1px solid rgba(185, 152, 104, 0.16);
	background: rgba(9, 8, 12, 0.96);
	border-radius: 10px;
}

.post .post_head {
	font-size: 11px;
	padding-bottom: 6px;
	border-bottom: 1px solid rgba(185, 152, 104, 0.12);
	margin-bottom: 6px;
	color: var(--text-soft);
}

.post_body {
	font-size: 15px;
	padding: 12px 0;
	color: var(--text);
}

.post_content {
	padding: 12px 12px 8px 12px;
}

.post_content .signature {
	margin-top: 8px;
	border-top: 1px dotted rgba(185, 152, 104, 0.2);
	padding: 12px 0 4px 0;
	color: var(--text-soft);
}

.post_controls {
	clear: both;
	background: rgba(16, 14, 20, 0.88);
	border-bottom: 1px solid var(--line);
	padding: 8px 10px;
	overflow: hidden;
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	padding: 5px 9px;
	margin: 2px;
	font-size: 11px;
	background:
		linear-gradient(180deg, rgba(38, 30, 24, 0.96) 0%, rgba(21, 17, 16, 0.98) 100%);
	border: 1px solid rgba(185, 152, 104, 0.16);
	color: #e6dccd;
	border-radius: 999px;
}

/* Meldungen */
.pm_alert {
	background: rgba(140, 110, 50, 0.18);
	border: 1px solid rgba(214, 185, 139, 0.28);
	text-align: center;
	padding: 10px 20px;
	margin-bottom: 15px;
	font-size: 11px;
	border-radius: 12px;
	color: #f0e1bc;
}

.red_alert,
div.error {
	background: rgba(95, 34, 39, 0.22);
	border: 1px solid rgba(180, 88, 88, 0.34);
	color: #e7b8b8;
	text-align: center;
	padding: 10px 20px;
	margin-bottom: 15px;
	font-size: 11px;
	word-wrap: break-word;
	border-radius: 12px;
}

.success_message {
	color: #8ec28c;
	font-weight: bold;
	font-size: 11px;
	margin-bottom: 10px;
}

.error_message {
	color: #d98787;
	font-weight: bold;
	font-size: 11px;
	margin-bottom: 10px;
}

/* Pagination */
.pagination {
	font-size: 11px;
	padding-top: 10px;
	margin-bottom: 5px;
}

.pagination .pages {
	font-weight: bold;
	color: var(--text-soft);
}

.pagination .pagination_current,
.pagination a {
	padding: 6px 10px;
	margin-bottom: 3px;
	border-radius: 999px;
}

.pagination a {
	background: rgba(18, 15, 21, 0.96);
	border: 1px solid rgba(185, 152, 104, 0.16);
	color: var(--accent-bright);
}

.pagination .pagination_current {
	background: rgba(185, 152, 104, 0.16);
	color: #f3e8d7;
	border: 1px solid rgba(185, 152, 104, 0.22);
	font-weight: bold;
}

.pagination a:hover {
	background: rgba(40, 31, 25, 0.96);
	color: #fff;
	border-color: rgba(214, 185, 139, 0.38);
	text-decoration: none;
}