@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=PT+Sans:wght@400;700&display=swap');

/*
 * MUBIT forum theme
 * Dark outer frame, white content and red category identity.
 */

:root {
	--mubit-red: #650508;
	--mubit-red-dark: #280001;
	--mubit-red-light: #85090c;
	--mubit-black: #070707;
	--mubit-charcoal: #202020;
	--mubit-line: #d4d4d4;
	--mubit-text: #282828;
}

html,
body {
	min-height: 100%;
	background:
		radial-gradient(circle at 50% 0, #282828 0, #101010 38%, #050505 80%),
		#050505;
}

body {
	margin: 0;
	color: var(--mubit-text);
	font: 12px/1.45 Tahoma, Verdana, Arial, sans-serif;
}

a:link,
a:visited {
	color: #690507;
}

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

#container {
	width: calc(100% - 34px);
	max-width: 1120px;
	min-width: 0;
	margin: 28px auto;
	overflow: hidden;
	background: #fff;
	border: 1px solid #454545;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .48), 0 15px 50px rgba(0, 0, 0, .7);
	color: var(--mubit-text);
	font-size: 12px;
}

.wrapper {
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0 12px;
}

#logo {
	min-height: clamp(150px, 17vw, 205px);
	padding: 0;
	background-color: #0b131b;
	background-image: url("forum_banner.png");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 0;
	box-shadow: inset 0 -55px 70px rgba(0, 0, 0, .28);
}

#logo .wrapper {
	min-height: clamp(150px, 17vw, 205px);
}

#logo img,
#logo ul.top_links {
	display: none;
}

.mubit-site-nav {
	background: #111;
	border-top: 1px solid #3d3d3d;
	border-bottom: 1px solid #000;
	color: #fff;
}

.mubit-nav-main {
	display: flex;
	min-height: 38px;
	align-items: stretch;
	background: linear-gradient(#292929, #0d0d0d);
}

.mubit-nav-links,
.mubit-nav-account {
	display: flex;
	align-items: stretch;
}

.mubit-nav-account {
	margin-left: auto;
}

.mubit-nav-links a,
.mubit-nav-account a {
	display: inline-flex;
	min-height: 38px;
	padding: 0 15px;
	align-items: center;
	border-right: 1px solid #3b3b3b;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

.mubit-nav-account a:first-child {
	border-left: 1px solid #3b3b3b;
}

.mubit-nav-links a:hover,
.mubit-nav-links a.active,
.mubit-nav-account a:hover {
	background: linear-gradient(#85090c, #280001);
	color: #fff;
	text-decoration: none;
}

.mubit-nav-login::before {
	margin-right: 6px;
	content: "\1F511";
}

.mubit-strip-search {
	display: flex;
	width: min(340px, 48%);
	margin-left: auto;
}

.mubit-strip-search input[type="text"] {
	box-sizing: border-box;
	width: 100%;
	min-width: 90px;
	height: 28px;
	padding: 4px 8px;
	background: #fff;
	border: 1px solid #aaa;
	border-right: 0;
	color: #222;
}

.mubit-strip-search button {
	height: 28px;
	padding: 0 11px;
	background: linear-gradient(#85090c, #280001);
	border: 1px solid #350102;
	border-radius: 0;
	color: #fff;
	font-weight: bold;
	text-shadow: 0 1px 0 #1b0001;
	cursor: pointer;
}

.mubit-search-strip {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 8px 12px;
	background: linear-gradient(#f8f8f8, #dedede);
	border-top: 1px solid #4a4a4a;
	border-bottom: 1px solid #bbb;
	color: #555;
}

.mubit-search-location {
	font-weight: bold;
	white-space: nowrap;
}

.mubit-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#panel .upper,
#panel .lower {
	display: none;
}

#content {
	width: auto !important;
	min-height: 480px;
	padding: 12px 0 24px;
	background: #fff;
	border: 0;
}

.navigation {
	padding: 7px 9px;
	margin-bottom: 12px;
	background: linear-gradient(#fff, #eee);
	border: 1px solid #d0d0d0;
	color: #4a4a4a;
	font-size: 11px;
}

.navigation .active {
	color: #520305;
	font-size: 11px;
}

.mubit-index .navigation {
	display: none;
}

.mubit-home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 275px;
	gap: 12px;
	align-items: start;
}

.mubit-forum-list {
	min-width: 0;
}

.tborder {
	width: 100%;
	margin: 0 0 12px;
	background: #c9c9c9;
	border: 2px solid #242424;
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.thead {
	padding: 7px 9px !important;
	background: linear-gradient(#85090c, #280001);
	color: #fff;
	border: 0;
	text-shadow: 0 1px 0 #180001;
	font-size: 12px;
	font-weight: bold;
}

.thead a:link,
.thead a:visited,
.thead a:hover,
.thead a:active {
	color: #fff;
}

.tcat {
	padding: 6px 8px;
	background: linear-gradient(#f3f3f3, #dcdcdc);
	color: #470204;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #b3b3b3;
	font-size: 11px;
	font-weight: bold;
}

.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active {
	color: #4d0204;
}

.trow1,
.trow2 {
	padding: 8px;
	background: linear-gradient(#fff, #f5f5f5);
	border-color: #d2d2d2;
}

.trow2 {
	background: linear-gradient(#f8f8f8, #ebebeb);
}

.trow_sep {
	background: #e7e7e7;
	border-bottom: 1px solid #c5c5c5;
	color: #3f3f3f;
}

.forum_status {
	filter: grayscale(100%);
	opacity: .78;
}

/* Topic illustrations retain MyBB's native read/closed/redirect indicators. */
.forum_status[data-mubit-icon] {
	position: relative;
	display: inline-flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin: 2px;
	border: 1px solid #b68c49;
	border-radius: 8px 3px;
	background: linear-gradient(145deg, #60362c, #2c1218);
	color: #f3cf83;
	filter: none;
	opacity: 1;
	box-shadow: inset 0 0 0 2px #ffffff0b, 0 2px 4px #360b1126;
	vertical-align: middle;
}
.mubit-forum-art { display: block; width: 27px; height: 27px; overflow: visible; }
.mubit-art-fill { fill: #dba34a30; }
.forum_status[data-mubit-icon="questions"],
.forum_status[data-mubit-icon="tutorials"] { background: linear-gradient(145deg, #294959, #152731); color: #e9cf94; }
.forum_status[data-mubit-icon="suggestions"] { background: linear-gradient(145deg, #4e3c66, #291e39); }
.forum_status[data-mubit-icon="commerce"] { background: linear-gradient(145deg, #4e5030, #242619); }
.forum_status[data-mubit-icon].forum_on {
	border-color: #cb8519;
	box-shadow: inset 0 0 0 2px #ffce7440, 0 0 0 2px #e7b35426, 0 2px 5px #360b1126;
}
.forum_status[data-mubit-icon].forum_on::after {
	position: absolute;
	top: -3px;
	right: -3px;
	width: 7px;
	height: 7px;
	border: 1px solid #fff9e8;
	background: #e3a728;
	transform: rotate(45deg);
	content: '';
}
.mubit-forum-state {
	display: none;
	position: absolute;
	right: -5px;
	bottom: -3px;
	box-sizing: content-box;
	width: 12px;
	height: 12px;
	padding: 2px;
	border: 1px solid #c5ad81;
	border-radius: 4px;
	background: #fff7e7;
	color: #63362d;
}
.forum_offclose[data-mubit-icon] .mubit-forum-lock,
.forum_offlink[data-mubit-icon] .mubit-forum-link { display: block; }

.smalltext {
	color: #626262;
	font-size: 10px;
}

.mubit-forum-list .category-col-labels {
	width: 190px !important;
}

.mubit-forum-list .category-col-labels .threads,
.mubit-forum-list .category-col-labels .posts,
.mubit-forum-list table.tborder tbody tr > td:nth-child(3),
.mubit-forum-list table.tborder tbody tr > td:nth-child(4) {
	display: none !important;
}

.mubit-forum-list table.tborder tbody tr > td:nth-child(2) {
	width: auto;
}

.mubit-forum-list table.tborder tbody tr > td:nth-child(5) {
	width: 190px;
	background: linear-gradient(#fff, #f2f2f2);
}

.mubit-forum-list .category-col-labels .lastpost {
	width: 190px !important;
}

.mubit-forum-list table.tborder colgroup col:nth-child(3),
.mubit-forum-list table.tborder colgroup col:nth-child(4) {
	width: 0 !important;
}

.mubit-recent-sidebar section {
	overflow: hidden;
	background: #fff;
	border: 1px solid #bdbdbd;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .14);
}

.mubit-recent-sidebar h2 {
	margin: 0;
	padding: 9px 11px;
	background: linear-gradient(#85090c, #280001);
	color: #fff;
	font-size: 13px;
	text-shadow: 0 1px 0 #180001;
}

.mubit-recent-item {
	padding: 10px 11px;
	background: linear-gradient(#fff, #f2f2f2);
	border-bottom: 1px solid #d5d5d5;
}

.mubit-recent-item:last-child {
	border-bottom: 0;
}

.mubit-recent-title {
	display: block;
	margin-bottom: 5px;
	color: #590305 !important;
	font-weight: bold;
	line-height: 1.35;
}

.mubit-recent-meta,
.mubit-recent-author {
	color: #777;
	font-size: 10px;
}

.mubit-recent-author a {
	color: #444;
	font-weight: bold;
}

.mubit-recent-empty {
	margin: 0;
	padding: 14px 11px;
	color: #777;
}

/*
 * On topic listing pages, hide reply/view/rating statistics.
 * The title and last-post information remain visible.
 */
.mubit-forumdisplay table.tborder.clear tr > td:nth-child(4),
.mubit-forumdisplay table.tborder.clear tr > td:nth-child(5) {
	display: none !important;
}

/*
 * Classic post layout: author card on the left and message on the right.
 */
.mubit-showthread .post.classic,
.mubit-announcement .post.classic {
	display: grid;
	grid-template-columns: 205px minmax(0, 1fr);
	padding: 0;
	overflow: hidden;
	background: #fff;
	border: 2px solid #272727;
	border-top: 0;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.mubit-showthread .post.classic .post_author,
.mubit-announcement .post.classic .post_author {
	box-sizing: border-box;
	float: none;
	width: auto;
	min-height: 270px;
	margin: 0;
	padding: 15px 12px;
	background: linear-gradient(90deg, #f5f5f5, #e6e6e6);
	border: 0;
	border-right: 1px solid #c5c5c5;
	text-align: center;
}

.mubit-showthread .post.classic .post_author div.author_information,
.mubit-announcement .post.classic .post_author div.author_information {
	float: none;
	padding: 0;
	text-align: center;
}

.mubit-showthread .post.classic .post_author div.author_information strong,
.mubit-announcement .post.classic .post_author div.author_information strong {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
}

.mubit-showthread .post.classic .post_author div.author_information a,
.mubit-announcement .post.classic .post_author div.author_information a {
	font-weight: bold;
}

.mubit-showthread .post.classic .post_author div.author_avatar,
.mubit-announcement .post.classic .post_author div.author_avatar {
	float: none;
	margin: 12px auto 9px;
	text-align: center;
}

.mubit-showthread .post.classic .post_author div.author_avatar img,
.mubit-announcement .post.classic .post_author div.author_avatar img {
	box-sizing: border-box;
	max-width: 165px;
	height: auto;
	padding: 5px;
	background: #fff;
	border: 1px solid #aaa;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .16);
}

.mubit-showthread .post.classic .post_author div.author_statistics,
.mubit-announcement .post.classic .post_author div.author_statistics {
	float: none;
	margin: 10px 0 0;
	padding: 9px 5px 3px;
	border-top: 1px dotted #aaa;
	color: #555;
	font-size: 10px;
	line-height: 1.55;
	text-align: left;
}

.mubit-showthread .post.classic .post_content,
.mubit-announcement .post.classic .post_content {
	box-sizing: border-box;
	float: none;
	width: auto;
	min-width: 0;
	padding: 0 14px 16px;
	background: #fff;
}

.mubit-showthread .post.classic .post_head,
.mubit-announcement .post.classic .post_head {
	margin: 0 -14px 10px;
	padding: 8px 12px;
	background: linear-gradient(#f1f1f1, #dadada);
	border-bottom: 1px solid #bbb;
	color: #555;
	font-size: 10px;
}

.mubit-showthread .post.classic .post_body,
.mubit-announcement .post.classic .post_body {
	min-height: 205px;
	padding: 13px 2px 20px;
	color: #222;
	font-size: 13px;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.mubit-showthread .post.classic .post_body img,
.mubit-announcement .post.classic .post_body img {
	max-width: 100%;
	height: auto;
}

.mubit-showthread .post.classic .post_content .signature,
.mubit-announcement .post.classic .post_content .signature {
	margin-top: 18px;
	padding: 12px 2px 4px;
	border-top: 1px dotted #aaa;
}

.mubit-showthread .post_controls,
.mubit-announcement .post_controls {
	padding: 7px 9px;
	background: linear-gradient(#efefef, #d8d8d8);
	border: 2px solid #272727;
	border-top: 0;
}

.mubit-showthread .postbit_buttons > a,
.mubit-announcement .postbit_buttons > a {
	border-color: #aaa;
}

input.textbox,
textarea,
select {
	padding: 5px 6px;
	background: #fff;
	border: 1px solid #999;
	border-radius: 0;
	color: #222;
}

input.button,
button,
a.button {
	padding: 5px 10px;
	background: linear-gradient(#85090c, #280001);
	border: 1px solid #350102;
	border-radius: 2px;
	color: #fff;
	text-shadow: 0 1px 0 #180001;
	cursor: pointer;
}

input.button:hover,
button:hover,
a.button:hover {
	background: linear-gradient(#970d11, #410203);
	color: #fff;
	text-decoration: none;
}

.blocker {
	background: rgba(0, 0, 0, .84);
}

#quick_login.modal {
	width: min(430px, calc(100% - 32px));
	padding: 0;
	overflow: visible;
	background: #fff;
	border: 2px solid #2a2a2a;
	border-radius: 3px;
	box-shadow: 0 20px 70px rgba(0, 0, 0, .85);
}

#quick_login.modal::before {
	display: block;
	padding: 13px 16px;
	background: linear-gradient(#85090c, #280001);
	color: #fff;
	content: "Entrar no Fórum MUBIT";
	font-size: 16px;
	font-weight: bold;
	text-shadow: 0 1px 0 #180001;
}

#quick_login .login_row {
	padding: 10px 16px 0;
}

#quick_login .login_row input.textbox {
	box-sizing: border-box;
	width: 100%;
	padding: 9px;
}

#quick_login .login_row:last-of-type {
	padding-bottom: 14px;
}

#quick_login a {
	color: #5b0305;
}

#footer .upper {
	padding: 8px 0;
	background: #e4e4e4;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #aaa;
}

#footer .lower {
	padding: 10px 0 17px;
	background: #171717;
	color: #ddd;
	border-top: 3px solid var(--mubit-red);
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #fff;
}

.mubit-gate-shell {
	padding: 35px 18px 55px;
	background: #fff;
}

.mubit-gate-card {
	max-width: 560px;
	margin: 0 auto;
	background: #fff;
	border: 2px solid #252525;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}

.mubit-gate-heading {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	background: linear-gradient(#85090c, #280001);
	color: #fff;
}

.mubit-gate-heading h1 {
	margin: 0 0 5px;
	font-size: 18px;
}

.mubit-gate-heading p {
	margin: 0;
	color: #fff4f4;
}

.mubit-gate-step {
	display: inline-flex;
	flex: 0 0 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 50%;
	color: #620406;
	font-size: 15px;
	font-weight: bold;
}

.mubit-gate-form {
	padding: 20px;
}

.mubit-gate-form label {
	display: block;
	margin: 0 0 5px;
	color: #3f3f3f;
	font-weight: bold;
}

.mubit-gate-form input {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 14px;
	padding: 9px 10px;
	background: #fff;
	border: 1px solid #999;
}

.mubit-gate-turnstile {
	margin: 0 0 14px;
}

.mubit-login-turnstile {
	box-sizing: border-box;
	margin: 10px 16px 0;
}

.mubit-login-turnstile strong,
.mubit-login-turnstile-note {
	display: block;
}

.mubit-login-turnstile-note {
	margin-top: 7px;
}

.mubit-login-turnstile-widget {
	min-height: 65px;
	margin-top: 10px;
}

.mubit-login-turnstile-widget iframe {
	max-width: 100%;
}

.mubit-gate-form button {
	width: 100%;
	padding: 9px 12px;
	font-weight: bold;
}

.mubit-gate-error {
	margin: 18px 20px 0;
	padding: 10px 12px;
	background: #fff0f0;
	border: 1px solid #cc7779;
	color: #8b1619;
}

.mubit-gate-privacy {
	margin: 0;
	padding: 0 20px 18px;
	color: #777;
	font-size: 10px;
	text-align: center;
}

@media (max-width: 850px) {
	#container {
		width: calc(100% - 16px);
		margin: 8px auto;
	}

	.mubit-home-grid {
		grid-template-columns: 1fr;
	}

	.mubit-recent-sidebar {
		order: -1;
	}

	.mubit-nav-main,
	.mubit-nav-links,
	.mubit-nav-account {
		flex-wrap: wrap;
	}

	.mubit-nav-links a,
	.mubit-nav-account a {
		min-height: 34px;
		padding: 0 10px;
	}
}

@media (max-width: 620px) {
	.wrapper {
		margin: 0 7px;
	}

	#logo,
	#logo .wrapper {
		min-height: 125px;
	}

	#logo {
		background-position: 34% center;
	}

	.mubit-search-strip {
		display: block;
	}

	.mubit-strip-search {
		width: 100%;
		margin-top: 7px;
	}

	.mubit-forum-list .category-col-labels,
	.mubit-forum-list table.tborder tbody tr > td:nth-child(5) {
		display: none !important;
	}

	.mubit-showthread .post.classic,
	.mubit-announcement .post.classic {
		display: block;
	}

	.mubit-showthread .post.classic .post_author,
	.mubit-announcement .post.classic .post_author {
		min-height: 0;
		border-right: 0;
		border-bottom: 1px solid #bbb;
	}

	.mubit-showthread .post.classic .post_author div.author_avatar img,
	.mubit-announcement .post.classic .post_author div.author_avatar img {
		max-width: 130px;
	}

	.mubit-showthread .post.classic .post_body,
	.mubit-announcement .post.classic .post_body {
		min-height: 0;
	}

	.mubit-gate-shell {
		padding: 18px 7px 35px;
	}
}

/* ================================================================
   MUBIT FORUM 2026 - visual system shared with the main website
   ================================================================ */
:root {
	--forum-wine-950: #2d0103;
	--forum-wine-900: #430205;
	--forum-wine-800: #660408;
	--forum-wine-700: #850b10;
	--forum-wine-600: #a71920;
	--forum-gold-600: #b67920;
	--forum-gold-400: #d8aa58;
	--forum-gold-200: #edd8aa;
	--forum-cream-50: #fffdf8;
	--forum-cream-100: #fbf5eb;
	--forum-cream-200: #f3e8d8;
	--forum-ink-900: #2e2021;
	--forum-ink-600: #725f60;
	--forum-body-font: "Segoe UI", "PT Sans", Tahoma, Arial, sans-serif;
	--forum-display-font: Cinzel, Georgia, "Times New Roman", serif;
}

html,
body {
	min-height: 100%;
	background:
		linear-gradient(rgba(2, 3, 8, .18), rgba(2, 3, 8, .5)),
		url("mubit-site-bg.png") center top / cover fixed no-repeat,
		#070708 !important;
}

body,
input,
textarea,
select,
button {
	font-family: var(--forum-body-font) !important;
}

body {
	color: var(--forum-ink-900) !important;
	font-size: 12px !important;
	line-height: 1.5;
}

a:link,
a:visited {
	color: var(--forum-wine-800);
}

a:hover,
a:active {
	color: var(--forum-wine-600);
}

#container {
	width: calc(100% - 28px) !important;
	max-width: 1080px !important;
	min-width: 0 !important;
	margin: 28px auto !important;
	overflow: hidden;
	border: 1px solid rgba(113, 5, 10, .72) !important;
	border-radius: 7px !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, .38), 0 24px 70px rgba(0, 0, 0, .64) !important;
}

.wrapper {
	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	margin: 0 14px !important;
}

#logo,
#logo .wrapper {
	min-height: clamp(215px, 29vw, 340px) !important;
}

#logo {
	padding: 0 !important;
	border: 0 !important;
	background:
		linear-gradient(180deg, transparent 70%, rgba(7, 8, 13, .32) 100%),
		url("forum_banner.png") center / cover no-repeat !important;
	box-shadow: inset 0 -28px 42px rgba(0, 0, 0, .23);
}

.mubit-site-nav {
	border: 0 !important;
	border-bottom: 3px solid var(--forum-wine-700) !important;
	background: rgba(15, 7, 8, .94) !important;
	box-shadow: 0 4px 12px rgba(73, 0, 4, .26);
}

.mubit-nav-main {
	min-height: 44px !important;
	background:
		linear-gradient(90deg, rgba(120, 26, 13, .38), rgba(21, 10, 12, .9) 36%, rgba(34, 20, 34, .9) 72%, rgba(5, 15, 32, .88)) !important;
}

.mubit-nav-links a,
.mubit-nav-account a {
	min-height: 44px !important;
	padding: 0 17px !important;
	border-right: 1px solid rgba(255, 255, 255, .08) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-shadow: 0 1px 2px #000 !important;
}

.mubit-nav-links a:hover,
.mubit-nav-links a.active,
.mubit-nav-account a:hover {
	background:
		radial-gradient(circle at 50% 115%, rgba(220, 171, 77, .32), transparent 48%),
		linear-gradient(180deg, rgba(151, 17, 23, .78), rgba(70, 2, 6, .84)) !important;
	color: #fff !important;
}

.mubit-search-strip {
	min-height: 43px;
	padding: 7px 14px !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(102, 4, 8, .18) !important;
	background: linear-gradient(180deg, var(--forum-cream-50), var(--forum-cream-200)) !important;
	color: var(--forum-ink-600) !important;
}

.mubit-search-location {
	color: var(--forum-wine-800) !important;
}

.mubit-strip-search input[type="text"] {
	height: 32px !important;
	padding: 6px 9px !important;
	border: 1px solid rgba(102, 4, 8, .24) !important;
	border-right: 0 !important;
	border-radius: 4px 0 0 4px !important;
	background: #fffdf9 !important;
}

.mubit-strip-search button {
	height: 32px !important;
	padding: 0 13px !important;
	border: 1px solid var(--forum-wine-950) !important;
	border-radius: 0 4px 4px 0 !important;
	background: linear-gradient(135deg, var(--forum-wine-700), var(--forum-wine-950)) !important;
	color: #fff !important;
}

#content {
	box-sizing: border-box;
	width: auto !important;
	min-height: 540px !important;
	padding: 14px 0 26px !important;
	border: 0 !important;
	background: linear-gradient(180deg, #fff, #fffdf9) !important;
}

.navigation {
	margin-bottom: 13px !important;
	padding: 9px 11px !important;
	border: 1px solid rgba(102, 4, 8, .15) !important;
	border-radius: 5px;
	background: linear-gradient(180deg, #fff, var(--forum-cream-100)) !important;
	box-shadow: 0 3px 8px rgba(58, 0, 3, .06);
	color: var(--forum-ink-600) !important;
}

.navigation .active {
	color: var(--forum-wine-700) !important;
	font-weight: 750;
}

.mubit-home-grid {
	grid-template-columns: minmax(0, 1fr) 285px !important;
	gap: 14px !important;
}

.tborder {
	overflow: hidden;
	margin: 0 0 14px !important;
	border: 1px solid rgba(102, 4, 8, .2) !important;
	border-radius: 7px !important;
	background: rgba(255, 255, 255, .72) !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	box-shadow: 0 7px 18px rgba(48, 7, 9, .09) !important;
}

.thead {
	padding: 10px 12px !important;
	border: 0 !important;
	border-left: 4px solid var(--forum-gold-600) !important;
	background:
		radial-gradient(circle at 15% -90%, rgba(255, 222, 152, .22), transparent 46%),
		linear-gradient(135deg, var(--forum-wine-700), var(--forum-wine-950)) !important;
	color: #fff !important;
	font-family: var(--forum-display-font) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: .01em;
	text-shadow: none !important;
	text-transform: uppercase;
}

.thead a:link,
.thead a:visited,
.thead a:hover,
.thead a:active {
	color: #fff !important;
}

.tcat {
	padding: 7px 9px !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(102, 4, 8, .14) !important;
	background: linear-gradient(180deg, #fffaf0, #efe0c8) !important;
	color: var(--forum-wine-800) !important;
	font-size: 10px !important;
	font-weight: 750 !important;
	text-transform: uppercase;
}

.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active {
	color: var(--forum-wine-800) !important;
}

.trow1,
.trow2 {
	padding: 9px !important;
	border-color: rgba(102, 4, 8, .1) !important;
	background: rgba(255, 255, 255, .68) !important;
	color: var(--forum-ink-900) !important;
}

.trow2 {
	background: rgba(246, 236, 220, .58) !important;
}

tr:hover > .trow1,
tr:hover > .trow2 {
	background: #fff7e7 !important;
}

.trow_sep {
	border-color: rgba(102, 4, 8, .12) !important;
	background: var(--forum-cream-200) !important;
	color: var(--forum-ink-600) !important;
}

.smalltext {
	color: var(--forum-ink-600) !important;
	font-size: 10px !important;
}

.mubit-forum-list table.tborder tbody tr > td:nth-child(5) {
	background: linear-gradient(180deg, #fff, var(--forum-cream-100)) !important;
}

.mubit-recent-sidebar section {
	overflow: hidden;
	border: 1px solid rgba(102, 4, 8, .2) !important;
	border-radius: 7px !important;
	background: var(--forum-cream-50) !important;
	box-shadow: 0 7px 18px rgba(48, 7, 9, .09) !important;
}

.mubit-recent-sidebar h2 {
	padding: 10px 12px !important;
	border-left: 4px solid var(--forum-gold-600);
	background: linear-gradient(135deg, var(--forum-wine-700), var(--forum-wine-950)) !important;
	color: #fff !important;
	font-family: var(--forum-display-font) !important;
	font-size: 12px !important;
	text-shadow: none !important;
	text-transform: uppercase;
}

.mubit-recent-item {
	padding: 10px 12px !important;
	border-bottom: 1px solid rgba(102, 4, 8, .1) !important;
	background: rgba(255, 255, 255, .65) !important;
}

.mubit-recent-item:hover {
	background: #fff7e7 !important;
}

.mubit-recent-title {
	color: var(--forum-wine-800) !important;
}

input.textbox,
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
	box-sizing: border-box;
	min-height: 36px;
	padding: 7px 9px !important;
	border: 1px solid rgba(102, 4, 8, .25) !important;
	border-radius: 5px !important;
	background: #fffdf9 !important;
	color: var(--forum-ink-900) !important;
	box-shadow: inset 0 1px 2px rgba(58, 0, 3, .05) !important;
}

input.textbox:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
	border-color: var(--forum-gold-600) !important;
	box-shadow: 0 0 0 3px rgba(182, 121, 32, .12) !important;
	outline: 0;
}

input.button,
button,
a.button,
.postbit_buttons > a,
.pagination a,
.pagination .pagination_current {
	box-sizing: border-box;
	min-height: 32px;
	padding: 7px 12px !important;
	border: 1px solid var(--forum-wine-950) !important;
	border-radius: 4px !important;
	background: linear-gradient(135deg, var(--forum-wine-700), var(--forum-wine-950)) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 4px 10px rgba(58, 0, 3, .17) !important;
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 750 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	text-shadow: none !important;
	text-transform: uppercase;
}

input.button:hover,
button:hover,
a.button:hover,
.postbit_buttons > a:hover,
.pagination a:hover,
.pagination .pagination_current {
	border-color: var(--forum-gold-600) !important;
	background: linear-gradient(135deg, var(--forum-wine-600), var(--forum-wine-800)) !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.pagination a,
.pagination .pagination_current {
	display: inline-flex;
	min-width: 31px;
	align-items: center;
	justify-content: center;
	padding: 6px 9px !important;
}

.mubit-showthread .post.classic,
.mubit-announcement .post.classic {
	grid-template-columns: 205px minmax(0, 1fr) !important;
	border: 1px solid rgba(102, 4, 8, .2) !important;
	border-radius: 7px !important;
	background: #fff !important;
	box-shadow: 0 7px 18px rgba(48, 7, 9, .09) !important;
}

.mubit-showthread .post.classic .post_author,
.mubit-announcement .post.classic .post_author {
	border-color: rgba(102, 4, 8, .13) !important;
	background: linear-gradient(180deg, var(--forum-cream-100), var(--forum-cream-200)) !important;
}

.mubit-showthread .post.classic .post_content,
.mubit-announcement .post.classic .post_content {
	background: #fff !important;
}

.mubit-showthread .post.classic .post_head,
.mubit-announcement .post.classic .post_head,
.mubit-showthread .post_controls,
.mubit-announcement .post_controls {
	border-color: rgba(102, 4, 8, .12) !important;
	background: linear-gradient(180deg, #fff, var(--forum-cream-100)) !important;
	color: var(--forum-ink-600) !important;
}

#quick_login.modal {
	overflow: hidden;
	border: 1px solid rgba(102, 4, 8, .4) !important;
	border-radius: 7px !important;
	background: var(--forum-cream-50) !important;
	box-shadow: 0 20px 70px rgba(0, 0, 0, .72) !important;
}

#quick_login.modal::before {
	padding: 13px 16px !important;
	border-left: 4px solid var(--forum-gold-600);
	background: linear-gradient(135deg, var(--forum-wine-700), var(--forum-wine-950)) !important;
	color: #fff !important;
	font-family: var(--forum-display-font) !important;
	font-size: 15px !important;
	text-shadow: none !important;
}

.mubit-gate-shell {
	background: linear-gradient(180deg, #fff, #fffdf9) !important;
}

.mubit-gate-card {
	overflow: hidden;
	border: 1px solid rgba(102, 4, 8, .28) !important;
	border-radius: 7px !important;
	background: var(--forum-cream-50) !important;
	box-shadow: 0 9px 30px rgba(58, 0, 3, .16) !important;
}

.mubit-gate-heading {
	border-left: 4px solid var(--forum-gold-600);
	background: linear-gradient(135deg, var(--forum-wine-700), var(--forum-wine-950)) !important;
}

.mubit-gate-heading h1 {
	font-family: var(--forum-display-font) !important;
}

#footer .upper {
	border-color: rgba(102, 4, 8, .14) !important;
	background: linear-gradient(180deg, var(--forum-cream-100), var(--forum-cream-200)) !important;
}

#footer .lower {
	padding: 14px 0 18px !important;
	border-top: 3px solid var(--forum-wine-700) !important;
	background: #171314 !important;
	color: #d7cdce !important;
}

@media (max-width: 850px) {
	#container {
		width: calc(100% - 14px) !important;
		margin: 7px auto !important;
	}

	.mubit-home-grid {
		grid-template-columns: 1fr !important;
	}

	.mubit-nav-main,
	.mubit-nav-links,
	.mubit-nav-account {
		flex-wrap: wrap;
	}

	.mubit-nav-links a,
	.mubit-nav-account a {
		min-height: 38px !important;
		padding: 0 11px !important;
	}
}

@media (max-width: 620px) {
	.wrapper {
		margin: 0 7px !important;
	}

	#logo,
	#logo .wrapper {
		min-height: 155px !important;
	}

	#logo {
		background-position: 44% center !important;
	}

	.mubit-showthread .post.classic,
	.mubit-announcement .post.classic {
		display: block !important;
	}
}

/* Community 2.3: paired role emblems, optional profiles and a passing shine. */
.mubit-community-roles {
	margin: 22px 0 18px;
	overflow: hidden;
	border: 1px solid rgba(102, 4, 8, .2);
	border-radius: 7px;
	background: linear-gradient(115deg, #fffcf7, #f8f2e9);
	box-shadow: inset 0 1px 0 #fff, 0 5px 15px rgba(48, 7, 9, .05);
}
.mubit-community-roles-body { padding: 14px; }
.mubit-role-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mubit-role-legend li { max-width: 100%; margin: 0; padding: 0; }
.mubit-role--admin { --role-color: #b01929; --role-tint: #ffebed; }
.mubit-role--gamemaster { --role-color: #205bc2; --role-tint: #eaf1ff; }
.mubit-role--moderator { --role-color: #217146; --role-tint: #e8f6ed; }
.mubit-role--collaborator { --role-color: #9f4e09; --role-tint: #fff0de; }
.mubit-role--member { --role-color: #80600b; --role-tint: #faf2d5; }
.mubit-role--validating { --role-color: #606571; --role-tint: #f0f1f5; }
.mubit-role--banned { --role-color: #994395; --role-tint: #faebfa; }
.mubit-role--retired { --role-color: #4c4544; --role-tint: #efedeb; }
.mubit-role {
	position: relative;
	display: inline-flex;
	box-sizing: border-box;
	max-width: 100%;
	align-items: center;
	gap: 6px;
	overflow: hidden;
	padding: 7px 9px;
	border: 1px solid var(--role-color, #80600b);
	border-radius: 5px;
	background: var(--role-tint, #faf2d5);
	color: var(--role-color, #80600b);
	box-shadow: inset 0 1px 0 #fff, 0 2px 4px #31000608;
	font: 700 12px/1.3 Arial, sans-serif;
	vertical-align: middle;
}
.mubit-role-emblem {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 1px 0 #ffffffb3);
}
.mubit-role-emblem-accent { fill: #c9a25833; }
.mubit-role::after {
	position: absolute;
	inset: -30% auto -30% -50%;
	width: 35%;
	background: linear-gradient(90deg, transparent, #ffffffa8, transparent);
	transform: skewX(-22deg);
	animation: mubit-role-shine 5.5s ease-in-out infinite;
	pointer-events: none;
	content: '';
}
.mubit-role-label { min-width: 0; overflow-wrap: anywhere; text-align: center; }
.mubit-role--retired .mubit-role-label { text-decoration: line-through; }
.mubit-role-legend li:nth-child(2n) .mubit-role::after { animation-delay: .35s; }
.mubit-role-legend li:nth-child(3n) .mubit-role::after { animation-delay: .7s; }
@keyframes mubit-role-shine {
	0%, 55% { left: -50%; }
	85%, 100% { left: 130%; }
}
.mubit-role-name { color: var(--role-color, #80600b); font-weight: 700; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
	.mubit-role-name, .mubit-role-name * {
		background-image: linear-gradient(105deg, var(--role-color, #80600b) 36%, #e6bc62 48%, var(--role-color, #80600b) 60%);
		background-size: 260% 100%;
		background-position: 100% 0;
		background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		animation: mubit-name-shine 5.5s ease-in-out infinite;
	}
}
@keyframes mubit-name-shine {
	0%, 55% { background-position: 100% 0; }
	85%, 100% { background-position: -80% 0; }
}
.mubit-author-role { display: block; margin: 9px 0 4px; }
.mubit-author-role .mubit-role { padding: 5px 8px; font-size: 11px; }
.mubit-author-role .mubit-role-emblem { width: 16px; height: 16px; flex-basis: 16px; }
.mubit-profile-links { display: block; margin-top: 11px; font-size: 12px; line-height: 1.8; }
.mubit-profile-tools {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 6px 0 20px;
	padding: 20px;
	border: 1px solid #dcc5a9;
	border-left: 4px solid #b67920;
	border-radius: 7px;
	background: linear-gradient(125deg, #fff8e9, #fffdf9);
}
.mubit-profile-tools-intro { flex: 1; min-width: 0; }
.mubit-profile-tools-intro h2 { margin: 0 0 6px; color: #620910; font: 600 20px/1.3 var(--forum-display-font, Georgia, serif); }
.mubit-profile-tools-intro p { max-width: 400px; margin: 0; color: #66574e; font-size: 12px; line-height: 1.65; }
.mubit-profile-tool-actions { display: flex; flex: 1.4; gap: 9px; }
.mubit-profile-tool-actions a {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 12px;
	border: 1px solid #dccab5;
	border-radius: 5px;
	background: #ffffffb3;
	text-decoration: none;
}
.mubit-profile-tool-actions a strong { color: #7a0e19; font-size: 13px; }
.mubit-profile-tool-actions a span { color: #74635a; font-size: 11px; line-height: 1.5; }
.mubit-profile-tool-actions a:hover, .mubit-profile-tool-actions a:focus-visible { border-color: #b67920; background: #fff; outline: 2px solid #b6792040; }
.mubit-profile-help { margin: -4px 0 18px; padding: 12px 15px; border-left: 3px solid #b67920; background: #fff8e9; color: #645448; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.mubit-profile-help code { font-size: 11px; }
.mubit-usercp textarea { max-width: 100%; }
.mubit-usercp .sceditor-container { box-sizing: border-box; max-width: 100%; }
.signature, .mubit-profile-signature { overflow-wrap: anywhere; }
.signature img, .mubit-profile-signature img, .mubit-usercp #content .signature img {
	max-width: min(100%, 600px) !important;
	max-height: 220px !important;
	width: auto;
	height: auto;
	object-fit: contain;
}
.mubit-member-profile img[alt="Avatar"], .mubit-usercp img[alt="Avatar"] { max-width: 150px; max-height: 150px; object-fit: contain; border-radius: 6px; }
@media (max-width: 900px) {
	.mubit-profile-tools { flex-direction: column; align-items: stretch; gap: 14px; }
	.mubit-profile-tools-intro p { max-width: none; }
}
@media (max-width: 620px) {
	.mubit-community-roles-body { padding: 12px; }
	.mubit-role-legend { gap: 7px; }
	.mubit-profile-tools { padding: 15px; }
	.mubit-profile-tool-actions { flex-direction: column; }
	.mubit-profile-tool-actions a { padding: 11px 13px; }
	.mubit-profile-tools-intro h2 { font-size: 19px; }
	.mubit-usercp #content > table > tbody > tr { display: flex; flex-direction: column; }
	.mubit-usercp #content > table > tbody > tr > td { box-sizing: border-box; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.mubit-role::after { display: none; animation: none; }
	.mubit-role-name, .mubit-role-name * { animation: none; background-image: none; -webkit-text-fill-color: var(--role-color, #80600b); }
}
