
@import url(https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap);

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
 box-sizing: border-box;
}

body {
	background: #0d0d0d;
	color: #d0d0d0;
	font-family: 'JetBrains Mono', 'Courier New', Consolas, monospace;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	overflow-y: scroll;
	text-align: left;
}

a:link, a:visited {
 color: #c0392b; text-decoration: none;
}

a:hover, a:active {
 color: #e74c3c; text-decoration: underline;
}

img {
 border: 0; max-width: 100%;
}

hr {
 border: none; border-top: 1px solid #1a1a1a; margin: 10px 0;
}

table {
 color: #d0d0d0; font-size: 13px;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
#container {
	color: #d0d0d0;
	font-family: 'JetBrains Mono', 'Courier New', Consolas, monospace;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
	text-align: left;
}

.wrapper {
	width: 96%;
	max-width: 1200px;
	margin: 0 auto;
}

#content {
	background: #0d0d0d;
	padding: 10px;
	overflow: hidden;
}

/* ── HEADER ──────────────────────────────────────────────── */
#header {
	background: #0d0d0d;
}

#logo {
	background: #0d0d0d;
	padding: 10px 0;
	border-bottom: 2px solid #c0392b;
}

#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 0;
}

#logo ul.top_links a:link,
#logo ul.top_links a:visited,
#logo ul.top_links a:hover {
 color: #888; text-decoration: none;
}

#header ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul.menu li {
	margin: 0 7px;
	display: inline;
}

#header ul.menu li a {
 color: #888;
}

#header ul.menu li a:hover {
 color: #c0392b; text-decoration: none;
}

/* ── PANEL BAR ───────────────────────────────────────────── */
#panel .upper {
	background: #111111;
	color: #888;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
	padding: 7px;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
 color: #888;
}

#panel .upper a:hover {
 color: #c0392b; text-decoration: none;
}

#panel .upper a.logout,
#panel .upper a.login,
#panel .upper a.lost_password,
#panel .upper a.register {
	background-image: none;
	padding: 0;
	margin-left: 10px;
	font-weight: 600;
}

#panel .lower {
	background: #111111;
	color: #555;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
	padding: 5px;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
 color: #666;
}

#panel .lower a:hover {
 color: #c0392b; text-decoration: none;
}

#panel .lower ul.panel_links {
 float: left;
}

#panel .lower ul.user_links {
 float: right;
}

#panel .lower ul.panel_links a,
#panel .lower ul.user_links a {
	background-image: none !important;
	padding-left: 0 !important;
}

/* ── SEARCH BAR ──────────────────────────────────────────── */
#search {
 border: 0; padding: 0; margin: 0; float: right; vertical-align: middle;
}

#search input.button {
	background: #1a1a1a;
	border: 1px solid #252525;
	color: #d0d0d0;
}

#search input.textbox {
	background: #1a1a1a;
	border: 1px solid #252525;
	color: #d0d0d0;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.navigation {
	background: #111111;
	border-bottom: 1px solid #1a1a1a;
	color: #444;
	font-size: 11px;
	padding: 6px 4px;
	letter-spacing: 0.5px;
}

.navigation a:link,
.navigation a:visited {
 color: #555;
}

.navigation a:hover {
 color: #c0392b; text-decoration: none;
}

/* ── TABLES ──────────────────────────────────────────────── */
.tborder {
	background: #141414;
	width: 100%;
	margin: 0 auto 10px;
	border: 1px solid #1e1e1e;
	padding: 0;
}

.tfixed {
 table-layout: fixed; word-wrap: break-word;
}

.thead {
	background: #181818;
	color: #888;
	border-bottom: 1px solid #c0392b;
	padding: 8px 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.thead a:link,
.thead a:visited {
 color: #888; text-decoration: none;
}

.thead a:hover, .thead a:active {
 color: #c0392b; text-decoration: none;
}

.tcat {
	background: #161616;
	color: #c0392b;
	border-bottom: 1px solid #1e1e1e;
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 600;
}

.tcat a:link, .tcat a:visited {
 color: #c0392b; text-decoration: none;
}

.tcat a:hover {
 color: #e74c3c; text-decoration: none;
}

.trow1 {
	background: #141414;
	padding: 8px 10px;
	border-bottom: 1px solid #1a1a1a;
	vertical-align: middle;
}

.trow2 {
	background: #111111;
	padding: 8px 10px;
	border-bottom: 1px solid #1a1a1a;
	vertical-align: middle;
}

.trow1:hover {
 background: #181818;
}

.trow2:hover {
 background: #151515;
}

.trow_shaded {
 background: #0f0f0f;
}

.trow_selected {
 background: #1a0a0a !important;
}

.trow_sep {
 background: #0d0d0d; height: 5px;
}

.tfoot {
	background: #141414;
	color: #444;
	border-top: 1px solid #1e1e1e;
	padding: 6px 10px;
	font-size: 11px;
}

.tfoot a:link, .tfoot a:visited {
 color: #555;
}

.tfoot a:hover {
 color: #c0392b;
}

/* ── FORUM ICONS ─────────────────────────────────────────── */
.forum_status {
	height: 30px;
	width: 30px;
	background: url(../../../images/forum_icon_sprite.png) no-repeat 0 0;
	display: inline-block;
}

.forum_on {
 background-position: 0 0;
}

.forum_off {
 background-position: 0 -30px;
}

.forum_offclose {
 background-position: 0 -60px;
}

.forum_offlink {
 background-position: 0 -90px;
}

.subforumicon {
	height: 10px;
	width: 10px;
	display: inline-block;
	margin: 0 5px;
	background: url(../../../images/mini_status_sprite.png) no-repeat 0 0;
}

.subforum_minion {
 background-position: 0 0;
}

.subforum_minioff {
 background-position: 0 -10px;
}

.subforum_minioffclose {
 background-position: 0 -20px;
}

.subforum_miniofflink {
 background-position: 0 -30px;
}

/* ── FORUM LIST ──────────────────────────────────────────── */
.forum_name a:link,
.forum_name a:visited {
 color: #d0d0d0; font-weight: 600; font-size: 13px;
}

.forum_name a:hover {
 color: #c0392b;
}

.forum_description {
 color: #555; font-size: 11px; margin-top: 3px;
}

.forum_statistics {
 color: #444; font-size: 11px;
}

.forum_lastpost {
 color: #444; font-size: 11px;
}

.forum_lastpost a:link, .forum_lastpost a:visited {
 color: #555;
}

.forum_lastpost a:hover {
 color: #c0392b;
}

/* ── THREAD LIST ─────────────────────────────────────────── */
.threadbit .subject_new a,
.threadbit .subject_old a {
 color: #d0d0d0; font-size: 13px;
}

.threadbit .subject_new a:hover,
.threadbit .subject_old a:hover {
 color: #c0392b;
}

.threadbit .subject_new {
 font-weight: 600;
}

.thread_info, .threadinfo {
 color: #555; font-size: 11px;
}

.inline_moderation input[type="checkbox"] {
 width: auto;
}

/* ── POSTS ───────────────────────────────────────────────── */
.post_head {
	background: #181818;
	border-bottom: 1px solid #1e1e1e;
	color: #555;
	font-size: 11px;
	padding: 6px 12px;
}

.post_head a:link,
.post_head a:visited {
 color: #666;
}

.post_head a:hover {
 color: #c0392b; text-decoration: none;
}

.post_body {
	color: #d0d0d0;
	line-height: 1.75;
	word-break: break-word;
	padding: 12px 14px;
}

.post_date {
 color: #444; font-size: 11px;
}

.author_avatar img {
	border: 1px solid #1e1e1e;
	border-radius: 2px;
}

/* Quotes */
.post_body blockquote {
	background: #111111;
	border-left: 3px solid #252525;
	border-radius: 0 3px 3px 0;
	color: #666;
	font-size: 12px;
	margin: 8px 0;
	padding: 8px 12px;
}

/* Code */
.post_body code {
	background: #111111;
	border: 1px solid #1e1e1e;
	border-radius: 3px;
	color: #a8c7fa;
	font-family: 'JetBrains Mono', 'Courier New', monospace;
	font-size: 12px;
	padding: 1px 5px;
}

.codeblock {
	background: #111111;
	border: 1px solid #1e1e1e;
	border-radius: 3px;
	margin: 8px 0;
	overflow-x: auto;
}

.codeblock .title {
	background: #161616;
	border-bottom: 1px solid #1a1a1a;
	color: #555;
	font-size: 11px;
	padding: 4px 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.codeblock code {
	background: transparent;
	border: none;
	border-radius: 0;
	color: #a8c7fa;
	display: block;
	padding: 10px 12px;
	white-space: pre-wrap;
}

/* Signature */
.post_body .signature {
	border-top: 1px solid #1a1a1a;
	color: #444;
	font-size: 11px;
	margin-top: 14px;
	padding-top: 10px;
}

/* ── POSTBIT AUTHOR COLUMN ───────────────────────────────── */
.postbit_author_both {
 background: #111111; border-right: 1px solid #1e1e1e;
}

.postbit_author_none {
 background: #111111; border-right: 1px solid #1e1e1e;
}

.postbit_username a:link,
.postbit_username a:visited {
 color: #c0392b; font-weight: 600; font-size: 14px;
}

.postbit_username a:hover {
 color: #e74c3c;
}

.postbit_controls a:link,
.postbit_controls a:visited {
 color: #555; font-size: 11px;
}

.postbit_controls a:hover {
 color: #c0392b;
}

/* ── REPUTATION ──────────────────────────────────────────── */
.reputation_positive {
 color: #27ae60; font-weight: 600;
}

.reputation_negative {
 color: #c0392b; font-weight: 600;
}

.reputation_neutral {
 color: #555;
}

/* ── FORMS ───────────────────────────────────────────────── */
input, textarea, select {
	background: #1a1a1a;
	border: 1px solid #252525;
	border-radius: 3px;
	color: #d0d0d0;
	font-family: 'JetBrains Mono', 'Courier New', Consolas, monospace;
	font-size: 13px;
	padding: 6px 10px;
	outline: none;
	transition: border-color .15s;
}

input:focus, textarea:focus, select:focus {
 border-color: #c0392b;
}

input[type="checkbox"],
input[type="radio"] {
	width: auto;
	padding: 0;
	background: transparent;
	border: none;
}

input.button, input[type="submit"], input[type="button"], input[type="reset"],
a.button, .button {
	background: #1a1a1a;
	border: 1px solid #252525;
	border-radius: 3px;
	color: #d0d0d0;
	cursor: pointer;
	font-family: 'JetBrains Mono', 'Courier New', Consolas, monospace;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	padding: 6px 16px;
	text-transform: uppercase;
	transition: border-color .15s, color .15s;
	display: inline-block;
}

input.button:hover, input[type="submit"]:hover, a.button:hover, .button:hover {
	border-color: #c0392b;
	color: #c0392b;
	text-decoration: none;
}

.textbox {
	background: #1a1a1a;
	border: 1px solid #252525;
	color: #d0d0d0;
}

label {
 color: #888; font-size: 12px; cursor: pointer;
}

/* ── EDITOR ──────────────────────────────────────────────── */
#codebuttons {
	background: #111111;
	border: 1px solid #1e1e1e;
	border-bottom: none;
	padding: 4px 6px;
	select {
	background: #1a1a1a;
	border: 1px solid #252525;
	-webkit-appearance: none;
	appearance: none;
	padding-right: 24px;
	select {
	background: #1a1a1a;
	border: 1px solid #252525;
	-webkit-appearance: none;
	appearance: none;
	
	/* ── SIGNATURE BOX & TEXTAREAS ───────────────────────────── */
	#input_signature,
	textarea,
	textarea.textbox {
	background: #1a1a1a !important;
	border: 1px solid #252525 !important;
	color: #d0d0d0 !important;
	font-family: 'JetBrains Mono', 'Courier New', monospace !important;
	border-radius: 3px !important;
	padding: 8px !important;
	box-sizing: border-box !important;
}

textarea:focus,
	#input_signature:focus {
	border-color: #c0392b !important;
	outline: none !important;
}

color: #d0d0d0;
}

select[multiple] {
	background: #1a1a1a;
	border: 1px solid #252525;
	color: #d0d0d0;
}

select option {
	background: #1a1a1a;
	color: #d0d0d0;
}

/* ── RADIO & CHECKBOX ─────────────────────────────────────────────────── */
	input[type="radio"],
	input[type="checkbox"] {
	accent-color: #c0392b;
	width: auto;
	padding: 0;
	background: transparent;
	border: none;
}

/* ── BORDERS ──────────────────────────────────────────────────────────── */
	.tborder, .tborder td, .tborder tr {
	border-color: #1e1e1e;
}

/* ── HEADER NAV ───────────────────────────────────────────────────────── */
	#header ul.menu li a {
	background-image: none !important;
	color: #888;
	padding: 0 8px;
	font-size: 12px;
	letter-spacing: 1px;
}

#header ul.menu li a:hover {
 color: #c0392b; text-decoration: none;
}

/* ── SEARCH BAR ───────────────────────────────────────────────────────── */
	#search input.textbox {
	background: #1a1a1a;
	border: 1px solid #252525;
	color: #d0d0d0;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
}

/* ── PANEL ────────────────────────────────────────────────────────────── */
	#panel .upper {
 font-size: 12px;
}

#panel .lower {
 font-size: 11px;
}

/* ── FORUM STATUS ICONS ───────────────────────────────────────────────── */
	.forum_status {
	background: none !important;
	width: 10px !important;
	height: 10px !important;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
	border: 1px solid #333;
}

.forum_on {
 border-color: #27ae60 !important; background: #27ae60 !important;
}

.forum_off {
 border-color: #333 !important; background: transparent !important;
}

.forum_offclose {
 border-color: #c0392b !important; background: transparent !important;
}

.forum_offlink {
 border-color: #555 !important; background: transparent !important;
}

.subforumicon {
	background: none !important;
	width: 8px !important;
	height: 8px !important;
	border-radius: 50%;
	display: inline-block;
	border: 1px solid #333;
	margin: 0 4px;
	vertical-align: middle;
}

.subforum_minion {
 border-color: #27ae60 !important; background: #27ae60 !important;
}

.subforum_minioff {
 border-color: #333 !important;
}

.subforum_minioffclose {
 border-color: #c0392b !important;
}

.subforum_miniofflink {
 border-color: #555 !important;
}

/* ── CATEGORY ICON FIX ────────────────────────────────────────────────── */
	.tcat img {
 display: none;
}

/* ── GROUP COLORS ─────────────────────────────────────────────────────── */
	strong[style*="color"],
	span[style*="color"],
	a[style*="color"] {
	color: #c0392b !important;
}

/* ── PORTAL WIDGETS ───────────────────────────────────────────────────── */
	.portal_block_container {
	background: #141414;
	border: 1px solid #1e1e1e;
	border-radius: 3px;
	margin-bottom: 10px;
}

/* ── FOOTER ───────────────────────────────────────────────────────────── */
	#footer .upper {
 background: #111111;
}

#footer .lower {
	background: #0d0d0d;
	border-top: 1px solid #1a1a1a;
	color: #333;
}

#footer .lower a:link,
	#footer .lower a:visited {
 color: #444; font-weight: 600;
}

#footer .lower a:hover {
 color: #c0392b;
}

/* ── SCROLLBAR ────────────────────────────────────────────────────────── */
	::-webkit-scrollbar {
 width: 6px; height: 6px;
}

::-webkit-scrollbar-track {
 background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
 background: #252525; border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
 background: #c0392b;
}

color: #d0d0d0;
}

/* Fix select in forum list */
	select[multiple] {
	background: #1a1a1a;
	border: 1px solid #252525;
	color: #d0d0d0;
}

select option {
	background: #1a1a1a;
	color: #d0d0d0;
}

/* Fix radio/checkbox accent color */
	input[type="radio"],
	input[type="checkbox"] {
	accent-color: #c0392b;
}

/* Fix any remaining white borders */
	.tborder, .tborder td, .tborder tr {
	border-color: #1e1e1e;
}


}

/* Fix select in forum list */
	select[multiple] {
	background: #1a1a1a;
	border: 1px solid #252525;
	color: #d0d0d0;
}

select option {
	background: #1a1a1a;
	color: #d0d0d0;
}

/* Fix radio/checkbox accent color */
	input[type="radio"],
	input[type="checkbox"] {
	accent-color: #c0392b;
}

/* Fix any remaining white borders */
	.tborder, .tborder td, .tborder tr {
	border-color: #1e1e1e;
}


}

#codebuttons input {
	background: #1a1a1a;
	border: 1px solid #252525;
	border-radius: 2px;
	color: #888;
	font-size: 11px;
	margin: 2px;
	padding: 3px 7px;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
}

#codebuttons input:hover {
 border-color: #c0392b; color: #c0392b;
}

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
 color: #444; font-size: 11px; padding: 4px 0;
}

.pagination a:link, .pagination a:visited {
	background: #141414;
	border: 1px solid #1e1e1e;
	border-radius: 2px;
	color: #666;
	margin: 0 1px;
	padding: 3px 8px;
}

.pagination a:hover {
 border-color: #c0392b; color: #c0392b; text-decoration: none;
}

.pagination .pagination_current {
	background: #1a0a0a;
	border: 1px solid #c0392b;
	border-radius: 2px;
	color: #c0392b;
	margin: 0 1px;
	padding: 3px 8px;
}

/* ── ALERTS ──────────────────────────────────────────────── */
.error_message, .error {
	background: #1a0a0a;
	border: 1px solid #5a1010;
	border-radius: 3px;
	color: #c0392b;
	margin: 8px 0;
	padding: 10px 14px;
}

.success_message, .success {
	background: #0a1a0a;
	border: 1px solid #1a4a1a;
	border-radius: 3px;
	color: #27ae60;
	margin: 8px 0;
	padding: 10px 14px;
}

.warning_message, .warning {
	background: #1a1200;
	border: 1px solid #3a2a00;
	border-radius: 3px;
	color: #d35400;
	margin: 8px 0;
	padding: 10px 14px;
}

/* ── POPUP MENUS ─────────────────────────────────────────── */
.popup_menu {
	background: #141414;
	border: 1px solid #252525;
	border-radius: 3px;
	box-shadow: 0 4px 12px rgba(0,0,0,.6);
	min-width: 140px;
	z-index: 9999;
}

.popup_menu .popup_item_container {
 border-bottom: 1px solid #1a1a1a;
}

.popup_menu .popup_item_container:last-child {
 border-bottom: none;
}

.popup_menu .popup_item {
	color: #d0d0d0;
	display: block;
	font-size: 12px;
	padding: 7px 12px;
}

.popup_menu .popup_item:hover {
 background: #1a1a1a; color: #c0392b; text-decoration: none;
}

/* ── ONLINE STATUS ───────────────────────────────────────── */
.online {
 color: #27ae60; font-weight: 600;
}

.offline {
 color: #444;
}

.away {
 color: #d35400; font-weight: 600;
}

/* ── SCALEIMAGES ─────────────────────────────────────────── */
.scaleimages img {
 max-width: 100%;
}

/* ── FOOTER ──────────────────────────────────────────────── */
#footer {
 clear: both; margin-top: 16px;
}

#footer ul.menu {
 margin: 0; padding: 0; list-style: none;
}

#footer ul.menu li {
 margin: 0 5px; display: inline;
}

#footer .upper {
	background: #111111;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
	padding: 6px;
	font-size: 12px;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
 color: #444;
}

#footer a:hover {
 color: #c0392b; text-decoration: none;
}

#footer .upper .language,
#footer .upper .theme {
 float: right; margin: -1px; margin-left: 15px;
}

#footer .upper .language select,
#footer .upper .theme select {
 border-color: #252525;
}

#footer .upper ul.bottom_links {
 float: left; margin: 4px 0 0 0;
}

#footer .lower {
	background: #0d0d0d;
	color: #333;
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
	text-align: center;
}

#footer .lower a:link,
#footer .lower a:visited {
 color: #444; font-weight: 600;
}

#footer .lower a:hover,
#footer .lower a:active {
 color: #c0392b; text-decoration: underline; font-weight: 600;
}

#footer .lower #current_time {
 float: right; color: #333;
}

/* ── DEBUG ───────────────────────────────────────────────── */
#debug {
 float: right; text-align: right; margin-top: 20px; font-size: 11px; color: #333;
}

/* ── MISC ────────────────────────────────────────────────── */
.smalltext {
 color: #555; font-size: 11px;
}

.largetext {
 font-size: 16px; font-weight: 600;
}

.bold {
 font-weight: 600;
}

.italic {
 font-style: italic;
}

.underline {
 text-decoration: underline;
}

.highlight {
 background: #1a0a0a; color: #c0392b; padding: 1px 4px; border-radius: 2px;
}

.low_priority {
 color: #444;
}

.high_priority {
 color: #c0392b; font-weight: 600;
}

.float_left {
 float: left;
}

.float_right {
 float: right;
}

.clear {
 clear: both;
}

.hidden {
 display: none;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
	.wrapper {
 width: 100%; min-width: 0;
}

#container {
 min-width: 0;
}


}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar {
 width: 6px; height: 6px;
}

::-webkit-scrollbar-track {
 background: #0d0d0d;
}

::-webkit-scrollbar-thumb {
 background: #252525; border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
 background: #c0392b;
}

