/* Theme foundations */
:root {
	/* Supplied Cherry reference palette; layout and responsive rules stay unchanged. */
	--font-sans: Inter, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
	--font-mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	--color-page: #ffffff;
	--color-surface: #ffffff;
	--color-surface-subtle: #f7eff1;
	--color-surface-muted: #f7eff1;
	--color-text: #333333;
	--color-text-muted: #6b6b6b;
	--color-text-on-accent: #ffffff;
	--color-text-soft: #777777;
	--color-border: #e6d2d7;
	--color-border-strong: #cccccc;
	--color-accent: #9f4150;
	--color-accent-hover: #8d3948;
	--color-accent-active: #7d3342;
	--color-accent-soft: #f7eff1;
	--color-code-surface: #fbfcfc;
	--color-control-surface: #f5f5f5;
	--color-success: #277a48;
	--color-success-soft: #e9f6ee;
	--color-warning: #8a5b12;
	--color-warning-soft: #fff6df;
	--color-danger: #ad3029;
	--color-danger-soft: #fbe3e4;
	--color-info-soft: #edf5fa;
	--radius-sm: 4px;
	--radius: 6px;
	--shadow-sm: 0 1px 3px rgba(31, 43, 54, 0.08);
	--shadow-modal: 0 16px 40px rgba(31, 43, 54, 0.2);
	--focus-ring: 0 0 0 3px rgba(159, 65, 80, 0.26);
	--transition: 160ms ease;
}

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	background: var(--color-page);
	color: var(--color-text);
	text-align: center;
	line-height: 1.5;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 15px;
	overflow-y: scroll;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}

a:link {
	color: var(--color-accent);
	text-decoration: none;
	transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

a:visited {
	color: var(--color-accent);
	text-decoration: none;
}

a:hover,
a:active {
	color: var(--color-accent-hover);
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

/* Page shell and header */
#container {
	color: var(--color-text);
	text-align: left;
	line-height: 1.5;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 15px;
	min-width: 0;
}

.wrapper {
	width: calc(100% - 40px);
	min-width: 0;
	max-width: 1440px;
	margin: 0 auto;
}

#logo {
	background: var(--color-surface);
	padding: 14px 0;
	border-bottom: 1px solid var(--color-border);
}

#panel,
#panel .upper,
#panel .lower {
	width: 100%;
	max-width: none;
}

#logo .wrapper {
	position: relative;
	min-height: 0;
}

#logo img {
	display: block;
	width: min(100%, 305px);
	height: auto;
	max-height: none;
}

@media (min-width: 769px) {
	#logo {
		padding: 10px 0;
	}

	#logo .wrapper {
		display: flex;
		align-items: center;
		min-height: 0;
	}
}

#content {
	background: transparent;
	width: auto !important;
	padding: 22px 0 28px;
	overflow: visible;
}

#header ul.menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul.menu li {
	margin: 0;
	display: block;
}

#header ul.menu li a {
	--legacy-headerlinks-sprite: url(../../../images/headerlinks_sprite.png);
	min-height: 32px;
	padding: 8px 0;
	background-image: none;
	display: inline-block;
	line-height: 16px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-accent);
}

#header ul.menu li a:hover,
#header ul.menu li a:active {
	color: var(--color-accent-active);
	text-decoration: none;
}

#logo ul.top_links {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	justify-content: flex-end;
	font-weight: 600;
	text-align: right;
	margin: 0;
}

#logo ul.top_links a.search {
	background-position: 0 0;
}

#logo ul.top_links a.memberlist {
	background-position: 0 -20px;
}

#logo ul.top_links a.calendar {
	background-position: 0 -40px;
}

#logo ul.top_links a.help {
	background-position: 0 -60px;
}

#logo ul.top_links a.portal {
	background-position: 0 -180px;
}

#panel .upper a.logout {
	--legacy-headerlinks-sprite: url(../../../images/headerlinks_sprite.png);
	font-weight: 600;
	background: none;
	padding-right: 0;
	margin-left: 12px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	--legacy-headerlinks-sprite: url(../../../images/headerlinks_sprite.png);
	background: none;
	padding-left: 0;
	margin-left: 12px;
	font-weight: 600;
}

#panel .upper a.register {
	--legacy-headerlinks-sprite: url(../../../images/headerlinks_sprite.png);
	background: none;
	padding-right: 0;
	margin-left: 12px;
	font-weight: 600;
}

#panel .lower ul.panel_links {
	float: left;
}

#panel .lower ul.panel_links a.usercp {
	background-position: 0 -120px;
}

#panel .lower ul.panel_links a.modcp {
	background-position: 0 -140px;
}

#panel .lower ul.panel_links a.admincp {
	background-position: 0 -160px;
}

#panel .lower ul.user_links {
	float: right;
}

#panel .lower ul.user_links li a {
	padding: 0;
	background-image: none;
}

#panel .upper {
	--legacy-panel-texture: url(../../../images/tcat.png);
	background: var(--color-surface-subtle);
	color: var(--color-text);
	border-top: 0;
	border-bottom: 1px solid var(--color-border);
	padding: 8px 0;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: var(--color-accent);
}

#panel .lower {
	background: var(--color-surface);
	color: var(--color-text-muted);
	border-top: 0;
	border-bottom: 1px solid var(--color-border);
	padding: 7px 0;
	overflow: hidden;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
	color: var(--color-accent);
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	display: flex;
	align-items: stretch;
	gap: 6px;
	height: 36px;
}

#search input.button,
#search input.textbox {
	border-color: var(--color-border-strong);
	height: 36px;
	min-height: 36px;
	margin: 0;
	line-height: 1.2;
	vertical-align: top;
}

#search input.button {
	--legacy-search-texture: url(../../../images/thead.png);
	background: var(--color-accent);
	border-color: var(--color-accent-active);
	color: #fff;
}

#search input.button:hover {
	background: var(--color-accent-hover);
}

@media (min-width: 769px) {
	#panel .upper {
		padding: 5px 0;
	}

	#panel .upper .wrapper {
		min-height: 36px;
		line-height: 36px;
	}
}

#quick_login .remember_me input {
	vertical-align: middle;
	margin: 0 0 0 5px;
}

/* Footer */
#footer {
	clear: both;
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
}

#footer ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.menu li {
	margin: 0 8px 0 0;
	display: inline;
}

#footer .upper {
	background: var(--color-surface-subtle);
	border-top: 0;
	border-bottom: 1px solid var(--color-border);
	padding: 10px 12px;
	font-size: 13px;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	color: var(--color-text-muted);
}

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border-color: var(--color-border);
}

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select {
	border-color: var(--color-border);
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

#footer .lower {
	color: var(--color-text-muted);
	padding: 12px;
	overflow: hidden;
	font-size: 12px;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: var(--color-accent);
	font-weight: 600;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: var(--color-text);
	text-decoration: underline;
	font-weight: 600;
}

#footer .lower #current_time {
	float: right;
	color: var(--color-text-soft);
}

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 12px;
}

.scaleimages img {
	height: auto;
	max-width: 100%;
}

.forum_status {
	--legacy-forum-status-sprite: url(../../../images/forum_icon_sprite.png);
	height: 18px;
	width: 18px;
	background: none;
	border: 2px solid var(--color-border-strong);
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 18px;
	vertical-align: middle;
}

.forum_on {
	background: var(--color-accent);
	border-color: var(--color-accent);
	box-shadow: inset 0 0 0 3px var(--color-surface);
}

.forum_off {
	background: #d8dee3;
	border-color: #cbd3d9;
}

.forum_offclose {
	background: #aeb9c1;
	border-color: #9ca9b2;
	box-shadow: inset 0 0 0 3px var(--color-surface);
}

.forum_offlink {
	background: transparent;
	border-style: dashed;
	border-color: #9eabb5;
}

.subforumicon {
	--legacy-subforum-status-sprite: url(../../../images/mini_status_sprite.png);
	height: 8px;
	width: 8px;
	display: inline-block;
	margin: 0 5px;
	background: #cbd3d9;
	border-radius: 50%;
	vertical-align: middle;
}

.subforum_minion {
	background: var(--color-accent);
}

.subforum_minioff {
	background: #cbd3d9;
}

.subforum_minioffclose {
	background: #9eabb5;
}

.subforum_miniofflink {
	background: transparent;
	border: 1px dashed #9eabb5;
}

/* Forum and thread tables */
table {
	color: var(--color-text);
	font-size: 14px;
	border-collapse: separate;
	border-spacing: 0;
}

.tborder {
	background: var(--color-surface);
	width: 100%;
	margin: 0 auto 18px;
	border: 1px solid var(--color-border-strong);
	border-radius: 7px;
	box-shadow: none;
	overflow: hidden;
}

/* MyBB places a presentational <br /> after every index forum category. */
#content > .wrapper > table.tborder:has(.forum_status) {
	margin-bottom: 10px;
}

#content > .wrapper > table.tborder:has(.forum_status) + br {
	display: none;
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.thead {
	--legacy-thead-texture: url(../../../images/thead.png);
	background: var(--color-accent);
	color: #fff;
	border-bottom: 1px solid var(--color-accent-active);
	padding: 11px 12px;
	font-weight: 600;
}

.thead .smalltext {
	color: var(--color-text-on-accent);
}

.thead a:link {
	color: #ffffff;
	text-decoration: none;
}

.thead a:visited {
	color: #ffffff;
	text-decoration: none;
}

.thead a:hover,
.thead a:active {
	color: #ffffff;
	text-decoration: none;
	opacity: 0.88;
}

.tcat {
	--legacy-tcat-texture: url(../../../images/tcat.png);
	background: var(--color-accent-hover);
	color: #fff;
	border-top: 0;
	border-bottom: 1px solid var(--color-accent-active);
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
	overflow-wrap: normal;
	word-break: normal;
}

.tcat a:link {
	color: #fff;
}

.tcat a:visited {
	color: #fff;
}

.tcat a:hover,
.tcat a:active {
	color: #fff;
}

.trow1 {
	background: var(--color-surface);
	border: 0;
	border-bottom: 1px solid var(--color-border);
	padding: 10px;
	transition: background-color var(--transition);
}

.trow2 {
	background: var(--color-surface-subtle);
	border: 0;
	border-bottom: 1px solid var(--color-border);
	padding: 10px;
	transition: background-color var(--transition);
}

tr:hover > .trow1,
tr:hover > .trow2 {
	background: var(--color-accent-soft);
}

.trow_shaded {
	background: var(--color-danger-soft);
	border: 0;
	border-bottom: 1px solid #edc5c2;
	padding: 10px;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: var(--color-danger-soft);
}

.thread_start_datetime {
	color: var(--color-text-soft);
}

.post.unapproved_post .post_author {
	border-bottom-color: #edc5c2;
}

.post.classic.unapproved_post .post_author {
	border-color: #edc5c2;
}

.post.unapproved_post .post_controls {
	border-top-color: #edc5c2;
}

.trow_deleted,
.post.deleted_post {
	background: #f1edf8;
}

.trow_selected,
tr.trow_selected td {
	background: var(--color-warning-soft);
	color: var(--color-text);
	border-right-color: #ead59f;
	border-bottom-color: #ead59f;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: var(--color-text);
}

.trow_sep {
	background: var(--color-surface-muted);
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border-strong);
	padding: 8px 10px;
	font-size: 12px;
	font-weight: 600;
}

.tfoot {
	border-top: 1px solid var(--color-border);
	padding: 8px 10px;
	background: var(--color-surface-muted);
	color: var(--color-text-muted);
}

.tfoot a:link {
	color: var(--color-accent);
	text-decoration: none;
}

.tfoot a:visited {
	color: var(--color-accent);
	text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
	color: var(--color-accent-hover);
	text-decoration: underline;
}

.thead input.textbox,
.thead select {
	border: 1px solid rgba(255, 255, 255, 0.6);
}

.bottommenu {
	background: var(--color-surface-subtle);
	color: var(--color-text);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 12px;
}

/* Navigation and typography */
.navigation {
	color: var(--color-text-muted);
	font-size: 13px;
	margin-bottom: 14px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.navigation a:link {
	text-decoration: none;
}

.navigation a:visited {
	text-decoration: none;
}

.navigation a:hover,
.navigation a:active {
	text-decoration: underline;
}

.navigation .active {
	color: var(--color-text);
	font-size: 13px;
	font-weight: 600;
}

.smalltext {
	font-size: 12px;
	line-height: 1.45;
	color: var(--color-text-muted);
}

.largetext {
	font-size: 18px;
	font-weight: 650;
	line-height: 1.3;
}

/* Forms and editor */
fieldset {
	min-width: 0;
	padding: 14px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	margin: 0;
}

legend {
	padding: 0 6px;
	font-weight: 600;
	color: #3d4954;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: var(--color-border-strong);
}

fieldset.align_right {
	text-align: right;
}

input.textbox,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="number"] {
	max-width: 100%;
	min-height: 36px;
	background: var(--color-surface);
	color: var(--color-text);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	padding: 7px 9px;
	font-size: 14px;
	font-family: var(--font-sans);
	transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

input.textbox.portal_search {
	width: 68%;
}

textarea {
	width: auto;
	max-width: 100%;
	background: var(--color-surface);
	color: var(--color-text);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	padding: 9px;
	line-height: 1.5;
	font-family: var(--font-sans);
	font-size: 14px;
	resize: vertical;
	transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

select {
	max-width: 100%;
	min-height: 36px;
	background: var(--color-surface);
	color: var(--color-text);
	padding: 6px 30px 6px 8px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	font-family: var(--font-sans);
	font-size: 14px;
	transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}

button,
input.button {
	min-height: 36px;
	padding: 7px 12px;
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 14px;
	font-weight: 600;
	--legacy-button-texture: url(../../../images/buttons_bg.png);
	background: var(--color-accent);
	border: 1px solid var(--color-accent-active);
	border-radius: var(--radius-sm);
	color: #fff;
	transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

button:hover,
input.button:hover {
	background-color: var(--color-accent-hover);
	border-color: var(--color-accent-active);
}

button:active,
input.button:active {
	background-color: var(--color-accent-active);
	transform: translateY(1px);
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.56;
	box-shadow: none;
}

form {
	margin: 0;
	padding: 0;
}

input.error,
textarea.error,
select.error {
	border: 1px solid var(--color-danger);
	color: var(--color-danger);
}

input.valid,
textarea.valid,
select.valid {
	border: 1px solid var(--color-success);
}

label.error {
	color: var(--color-danger);
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: 600;
	font-size: 12px;
}

form #message {
	width: 100%;
	max-width: 720px;
}

.editor {
	max-width: 100%;
	background: var(--color-surface-muted);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.editor_control_bar {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
}

.post .editor_control_bar {
	background: var(--color-surface-subtle);
}

.popup_menu {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	box-shadow: 0 6px 18px rgba(31, 43, 54, 0.14);
	overflow: hidden;
}

.popup_menu .popup_item {
	display: block;
	background: var(--color-surface);
	color: var(--color-text);
	padding: 7px 10px;
	white-space: nowrap;
	text-decoration: none;
}

.popup_menu .popup_item:hover {
	background: var(--color-accent);
	color: #fff;
}

.trow_reputation_positive {
	background: var(--color-success-soft);
}

.trow_reputation_negative {
	background: var(--color-danger-soft);
}

.reputation_positive {
	color: var(--color-success);
}

.reputation_neutral {
	color: var(--color-text-muted);
}

.reputation_negative {
	color: var(--color-danger);
}

.repbox {
	font-size: 16px;
	font-weight: 650;
	padding: 6px 8px;
	border-radius: var(--radius-sm);
}

._neutral {
	background-color: var(--color-surface-subtle);
	color: var(--color-text-muted);
	border: 1px solid var(--color-border);
}

._minus {
	background-color: var(--color-danger-soft);
	color: var(--color-danger);
	border: 1px solid #db8d88;
}

._plus {
	background-color: var(--color-success-soft);
	color: var(--color-success);
	border: 1px solid #8cc5a2;
}

img {
	max-width: 100%;
	border: none;
}

img.attachment {
	height: auto;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 3px;
	background: var(--color-surface);
}

hr {
	background-color: var(--color-border);
	color: var(--color-border);
	height: 1px;
	border: 0;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background: var(--color-warning-soft);
	border-bottom: 1px solid #ead59f;
	color: var(--color-text);
	text-align: center;
}

.expcolimage {
	position: relative;
	float: right;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	vertical-align: middle;
	margin: -4px -4px -4px 8px;
}

.expcolimage::before {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	content: "-";
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: var(--radius-sm);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	pointer-events: none;
	transition: background-color var(--transition), border-color var(--transition);
}

.expcolimage:has(img[alt="[+]"])::before {
	content: "+";
}

.expcolimage:hover::before {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.58);
}

.expcolimage img {
	position: relative;
	z-index: 1;
	display: block;
	width: 26px;
	height: 26px;
	opacity: 0;
	cursor: pointer;
}

.tcat_menu > .expcolimage {
	margin-top: -4px;
}

.tcat .expcolimage::before,
.tfoot .expcolimage::before {
	background: var(--color-surface);
	border-color: var(--color-border-strong);
	color: var(--color-text-muted);
}

.tcat .expcolimage::before {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.38);
	color: #fff;
}

/* Rich post content */
blockquote {
	max-width: 100%;
	border: 1px solid var(--color-border);
	border-left: 3px solid var(--color-accent);
	border-radius: var(--radius-sm);
	margin: 10px 0;
	background: var(--color-surface-subtle);
	padding: 12px 14px;
	overflow-wrap: anywhere;
}

blockquote cite {
	font-weight: 600;
	border-bottom: 1px solid var(--color-border);
	font-style: normal;
	display: block;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-size: 12px;
	color: var(--color-text-muted);
}

blockquote cite span.highlight {
	float: none;
	font-weight: 600;
	padding-bottom: 0;
}

.codeblock {
	max-width: 100%;
	background: var(--color-code-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 12px;
	overflow: hidden;
}

.codeblock .title {
	border-bottom: 1px solid var(--color-border-strong);
	font-weight: 600;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

.codeblock code {
	overflow: auto;
	max-width: 100%;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: var(--font-mono);
	font-size: 13px;
	white-space: pre;
	tab-size: 4;
	overscroll-behavior-inline: contain;
}

.smilie {
	vertical-align: middle;
}

.smilie_pointer {
	cursor: pointer;
}

.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

.popup_menu .popup_item_container {
	margin: 1px;
	text-align: left;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

.subject_new {
	font-weight: 650;
}

.highlight {
	background: #fff1a8;
	padding-top: 3px;
	padding-bottom: 3px;
}

/* Alerts and status messages */
.pm_alert {
	background: var(--color-warning-soft);
	border: 1px solid #e6ca85;
	border-radius: var(--radius);
	color: #6f4b13;
	text-align: left;
	padding: 10px 14px;
	margin-bottom: 15px;
	font-size: 13px;
}

.red_alert {
	background: var(--color-danger-soft);
	border: 1px solid #a5161a;
	border-radius: var(--radius);
	color: #a5161a;
	text-align: left;
	padding: 10px 14px;
	margin-bottom: 15px;
	font-size: 13px;
	word-wrap: break-word;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
	color: #a5161a;
}

.high_warning {
	color: #CC0000;
}

.moderate_warning {
	color: #F3611B;
}

.low_warning {
	color: #AE5700;
}

.imminent_banned {
	color: #880000;
}

.high_banned {
	color: #FF0000;
}

.moderate_banned {
	color: #FF6600;
}

.low_banned {
	color: #008000;
}

.online {
	color: var(--color-success);
}

.offline {
	color: var(--color-text-soft);
}

div.error {
	padding: 10px 12px;
	border: 1px solid #e6ca85;
	border-radius: var(--radius);
	background: var(--color-warning-soft);
	font-size: 13px;
}

div.error p {
	margin: 0;
	color: var(--color-text);
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: 600;
	padding-left: 24px;
	display: block;
	color: var(--color-danger);
	background: url(../../../images/error.png) no-repeat 0;
}

div.error ul {
	margin-left: 24px;
}

/* Pagination and legends */
.pagination {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
	font-size: 12px;
	padding-top: 10px;
	margin-bottom: 8px;
}

.tfoot .pagination,
.tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: 600;
}

.pagination .pagination_current,
.pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
	padding: 5px 8px;
	margin: 0;
	border-radius: var(--radius-sm);
}

.pagination a {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
}

.pagination .pagination_current {
	background: var(--color-accent);
	color: #fff;
	border: 1px solid var(--color-accent);
	font-weight: 650;
}

.pagination a:hover {
	background: var(--color-accent-soft);
	color: var(--color-accent-hover);
	border-color: var(--color-border);
	text-decoration: none;
}

.pagination a:active {
	background: var(--color-accent-soft);
	color: var(--color-accent-active);
	border-color: var(--color-accent);
	text-decoration: none;
}

.pagination .go_page img {
	margin-bottom: -4px;
}

.drop_go_page {
	background: var(--color-surface-subtle);
	padding: 6px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
}

.pagination_breadcrumb {
	background-color: var(--color-surface-subtle);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	padding: 7px 9px;
	margin-top: 5px;
	font-weight: normal;
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

.thread_legend,
.thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px;
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom;
}

.forum_legend,
.forum_legend dt,
.forum_legend dd {
	margin: 0;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
	margin-top: 7px;
}

.forum_legend dt {
	margin-right: 10px;
	float: left;
}

.success_message {
	color: var(--color-success);
	font-weight: 600;
	font-size: 12px;
	margin-bottom: 10px;
}

.error_message {
	color: var(--color-danger);
	font-weight: 600;
	font-size: 12px;
	margin-bottom: 10px;
}

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 2px solid var(--color-border-strong);
	padding: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

.ignored_post .show_ignored_post a.button span {
	background-position: 0 -400px;
}

.deleted_post_hidden {
	border-top: 2px solid var(--color-border);
	padding: 15px;
}

.deleted_post_collapsed {
	border-top: 2px solid var(--color-border-strong);
	padding: 15px;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
	background-position: 0 -400px;
}

/* Posts and profiles */
.post {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	margin-bottom: 16px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.post.classic {
	padding-top: 0;
}

.post .post_author {
	border-bottom: 1px solid var(--color-border);
	border-top: 0;
	background: var(--color-surface-subtle);
	padding: 9px 10px;
	overflow: hidden;
}

.post.classic .post_author {
	border: 0;
	border-right: 1px solid var(--color-border);
	float: left;
	width: 19%;
	margin: 0;
	padding: 14px 12px;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 8px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	text-align: center;
	margin-bottom: 8px;
}

.post .post_author div.author_avatar img {
	max-width: 100%;
	height: auto;
	padding: 3px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-sm);
	background: var(--color-surface);
}

.post .post_author div.author_information {
	float: left;
	padding: 5px 8px;
}

.post.classic .post_author div.author_information {
	float: none;
	padding: 0;
	text-align: center;
}

.post .post_author div.author_statistics {
	float: right;
	font-size: 12px;
	padding: 3px 10px 3px 5px;
	color: var(--color-text-muted);
	line-height: 1.45;
}

.post.classic .post_author div.author_statistics {
	border-top: 1px solid var(--color-border);
	margin: 10px 0 0;
	padding: 9px 2px 3px;
	float: none;
	text-align: left;
}

.post .post_head {
	font-size: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 8px;
}

.post .post_head span.post_date {
	color: var(--color-text-muted);
}

.post .post_head span.edited_post {
	font-size: 11px;
	color: var(--color-text-soft);
}

.post .post_head span.edited_post a {
	color: var(--color-text-muted);
}

.post_body {
	min-width: 0;
	font-size: 15px;
	line-height: 1.65;
	padding: 14px 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

.post.classic .post_content {
	float: left;
	width: 81%;
	padding: 14px 16px 8px;
}

.post_content {
	min-width: 0;
	padding: 13px 14px 8px;
	overflow-wrap: anywhere;
}

.post_content .signature {
	margin-top: 8px;
	border-top: 1px solid var(--color-border);
	padding: 12px 0 4px;
	color: var(--color-text-muted);
	overflow-wrap: anywhere;
}

.post .post_meta {
	margin: 6px 0;
	font-size: 12px;
	color: var(--color-text-soft);
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: var(--color-text-muted);
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: var(--color-accent-hover);
}

.post_controls {
	clear: both;
	background: var(--color-control-surface);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border-strong);
	padding: 7px 9px;
	overflow: hidden;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	padding: 5px 8px;
	margin: 2px;
	font-size: 12px;
	line-height: 16px;
	--legacy-button-texture: url(../../../images/buttons_bg.png);
	background: var(--color-control-surface);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	color: var(--color-text);
	text-decoration: none;
	transition: color var(--transition), background-color var(--transition), border-color var(--transition);
}

.postbit_buttons > a:hover {
	background-color: var(--color-accent-soft);
	border-color: var(--color-border);
	color: var(--color-accent-hover);
}

.postbit_buttons a span {
	--legacy-postbit-sprite: url(../../../images/buttons_sprite.png);
	padding-left: 0;
	display: inline-block;
	min-height: 16px;
	background-image: none;
}

.postbit_buttons a.postbit_find span {
	background-position: 0 0;
}

.postbit_buttons a.postbit_reputation_add span {
	background-position: 0 -20px;
}

.postbit_buttons a.postbit_email span {
	background-position: 0 -40px;
}

.postbit_buttons a.postbit_website span {
	background-position: 0 -60px;
}

.postbit_buttons a.postbit_pm span {
	background-position: 0 -80px;
}

.postbit_buttons a.postbit_quote span {
	background-position: 0 -100px;
}

.postbit_buttons a.postbit_multiquote span {
	background-position: 0 -120px;
}

.postbit_buttons a.postbit_multiquote_on span {
	background-position: 0 -140px;
}

.postbit_buttons a.postbit_edit span {
	background-position: 0 -160px;
}

.postbit_buttons a.postbit_qdelete span {
	background-position: 0 -180px;
}

.postbit_buttons a.postbit_qrestore span {
	background-position: 0 -200px;
}

.postbit_buttons a.postbit_report span {
	background-position: 0 -220px;
}

.postbit_buttons a.postbit_warn span {
	background-position: 0 -240px;
}

.postbit_buttons a.postbit_purgespammer span {
	background-position: 0 -540px;
}

.postbit_buttons a.postbit_reply_pm span {
	background-position: 0 -260px;
}

.postbit_buttons a.postbit_reply_all span {
	background-position: 0 -280px;
}

.postbit_buttons a.postbit_forward_pm span {
	background-position: 0 -300px;
}

.postbit_buttons a.postbit_delete_pm span {
	background-position: 0 -320px;
}

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
	display: none;
}

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	--legacy-primary-button-texture: url(../../../images/tcat.png);
	background: var(--color-accent);
	color: #fff;
	display: inline-block;
	padding: 7px 11px;
	margin: 2px 2px 6px 2px;
	border: 1px solid var(--color-accent-active);
	border-radius: var(--radius-sm);
	font-size: 14px;
	font-weight: 600;
	line-height: 18px;
	text-decoration: none;
	transition: background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

a.button:hover {
	background-color: var(--color-accent-hover);
	border-color: var(--color-accent-active);
}

a.button:active {
	background-color: var(--color-accent-active);
	transform: translateY(1px);
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 5px 8px;
}

a.button span {
	--legacy-button-sprite: url(../../../images/buttons_sprite.png);
	padding-left: 0;
	display: inline-block;
	background-image: none;
}

a.button.new_thread_button span {
	background-position: 0 -340px;
}

a.button.new_reply_button span {
	background-position: 0 -360px;
}

a.button.closed_button span {
	background-position: 0 -380px;
}

a.button.rate_user_button span {
	background-position: 0 -400px;
}

a.button.add_buddy_button span {
	background-position: 0 -440px;
}

a.button.remove_buddy_button span {
	background-position: 0 -480px;
}

a.button.add_ignore_button span {
	background-position: 0 -460px;
}

a.button.remove_ignore_button span {
	background-position: 0 -500px;
}

a.button.report_user_button span {
	background-position: 0 -520px;
}

.quick_jump {
	--legacy-jump-icon: url(../../../images/jump.png);
	position: relative;
	width: 22px;
	height: 22px;
	padding: 0;
	margin-top: -2px;
	background: var(--color-surface) var(--legacy-jump-icon) no-repeat center;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-sm);
	color: transparent;
}

.pollbar {
	--legacy-pollbar-texture: url(../../../images/pollbar.png);
	background: var(--color-accent);
	border: 1px solid var(--color-accent-active);
	border-radius: 5px;
	height: 10px;
}

.pollbar .percent {
	display: none;
}

.poll_votedfor {
	background: var(--color-accent-soft);
	border: 1px solid var(--color-border);
}

.posticons_label {
	white-space: nowrap;
}

/* Plugin notifications */

/** Special IE6 Style Positioning **/
.ie6 {
	position: absolute;
}

.ie6.top-right {
	right: auto;
	bottom: auto;
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.top-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-right {
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.center {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	width: 100%;
}

/** jGrowl Styling **/
.jGrowl {
	z-index: 9999;
	color: #ffffff;
	font-size: 13px;
	font-family: var(--font-sans);
	position: fixed;
}
.jGrowl.top-left {
	left: 0px;
	top: 0px;
}
.jGrowl.top-right {
	right: 0px;
	top: 0px;
}
.jGrowl.bottom-left {
	left: 0px;
	bottom: 0px;
}
.jGrowl.bottom-right {
	right: 0px;
	bottom: 0px;
}
.jGrowl.center {
	top: 0px;
	width: 50%;
	left: 25%;
}

/** Cross Browser Styling **/

.jGrowl.center .jGrowl-notification,
.jGrowl.center .jGrowl-closer {
	margin-left: auto;
	margin-right: auto;
}
.jGrowl-notification {
	background-color: var(--color-accent-active);
	opacity: 0.98;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: min(320px, calc(100vw - 24px));
	padding: 12px 14px;
	margin: 10px;
	text-align: left;
	display: none;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: var(--radius);
	box-shadow: 0 8px 24px rgba(31, 43, 54, 0.18);
	word-break: normal;
	overflow-wrap: anywhere;
}
.jGrowl .jGrowl-notification {
	min-height: 40px;
}
.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}
.jGrowl-notification .jGrowl-header {
	font-weight: 650;
	font-size: 0.92em;
}
.jGrowl-notification .jGrowl-close {
	background-color: transparent;
	color: inherit;
	border: none;
	z-index: 99;
	float: right;
	font-weight: 650;
	font-size: 1em;
	cursor: pointer;
}
.jGrowl-closer {
	background-color: var(--color-accent-active);
	opacity: 0.98;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: min(320px, calc(100vw - 24px));
	padding: 10px;
	margin: 10px;
	display: none;
	border-radius: var(--radius);
	word-break: normal;
	overflow-wrap: anywhere;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: .9em;
	font-weight: 650;
	text-align: center;
}
.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl .jGrowl-notification.jgrowl_success {
	background: var(--color-success-soft);
	border: 1px solid #8cc5a2;
	color: #205f39;
}

.jGrowl .jGrowl-notification.jgrowl_error {
	background: var(--color-danger-soft);
	border: 1px solid #dc8d88;
	color: #86251f;
}

.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {
	background: var(--color-warning-soft);
	border: 1px solid #e6ca85;
	color: #6f4b13;
}

/** Hide jGrowl when printing **/
@media print {
	.jGrowl {
		display: none;
	}
}

/** jGrowl End **/

/* Modal dialogs */

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 24px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(24, 32, 39, 0.62);
	text-align: center;
}

.blocker:before{
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	width: 400px;
	max-width: calc(100vw - 32px);
	max-height: calc(100vh - 48px);
	overflow: auto;
	text-align: left;
	background: var(--color-surface);
	display: inline-block;
	vertical-align: middle;
	position: relative;
	z-index: 2;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
	border: 1px solid var(--color-border);
	-webkit-box-shadow: var(--shadow-modal);
	-moz-box-shadow: var(--shadow-modal);
	-o-box-shadow: var(--shadow-modal);
	-ms-box-shadow: var(--shadow-modal);
	box-shadow: var(--shadow-modal);
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background: url(../../../images/close.png) no-repeat 0 0;
	z-index: 2;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

/** Modal End **/

/** Impromptu Start **/

/*! jQuery-Impromptu - v6.2.3 - 2016-04-23
* http://trentrichardson.com/Impromptu
* Copyright (c) 2016 Trent Richardson; Licensed MIT */

.jqifade{
	position: absolute;
	background-color: #777777;
}
iframe.jqifade{
	display:block;
	z-index:-1;
}
div.jqi{
	width: 400px;
	max-width: calc(100vw - 32px);
	font-family: var(--font-sans);
	position: absolute;
	background-color: var(--color-surface);
	font-size: 13px;
	text-align: left;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 10px;
	box-shadow: var(--shadow-modal);
}
div.jqi .jqicontainer{
	position: relative;
}
div.jqi .jqiclose{
	position: absolute;
	top: 4px; right: -2px;
	width: 18px;
	cursor: default;
	color: var(--color-text-soft);
	font-weight: 650;
}
div.jqi .jqistate{
	background-color: var(--color-surface);
}
div.jqi .jqititle{
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: 1px solid var(--color-border);
	font-weight: 650;
}
div.jqi .jqimessage{
	padding: 10px;
	line-height: 20px;
	color: var(--color-text);
	overflow: auto;
	overflow-wrap: anywhere;
}
div.jqi .jqibuttonshide{
	display: none;
}
div.jqi .jqibuttons{
	text-align: right;
	margin: 0 -10px -10px;
	border-top: 1px solid var(--color-border);
	background-color: var(--color-surface-subtle);
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}
div.jqi .jqibuttons button{
	margin: 0;
	padding: 11px 16px;
	background-color: transparent;
	border: none;
	border-left: 1px solid var(--color-border);
	color: var(--color-text-muted);
	font-weight: 600;
	font-size: 13px;
}
div.jqi .jqibuttons button.jqidefaultbutton{
	color: var(--color-accent);
}
div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus{
	color: var(--color-accent-hover);
	background: var(--color-accent-soft);
}
div.jqi .jqibuttons button[disabled]{
	color: var(--color-text-soft);
}
.jqiwarning .jqi .jqibuttons{
	background-color: #b95656;
}

/* sub states */
div.jqi .jqiparentstate::after{
	background-color: #777;
	opacity: 0.6;
	filter: alpha(opacity=60);
	content: '';
	position: absolute;
	top:0;left:0;bottom:0;right:0;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}
div.jqi .jqisubstate{
	position: absolute;
	top:0;
	left: 20%;
	width: 60%;
	padding: 7px;
	border: 1px solid var(--color-border);
	border-top: none;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}
div.jqi .jqisubstate .jqibuttons button{
	padding: 10px 18px;
}

/* arrows for tooltips/tours */
.jqi .jqiarrow{ position: absolute; height: 0; width:0; line-height: 0; font-size: 0; border: solid 10px transparent;}

.jqi .jqiarrowtl{ left: 10px; top: -20px; border-bottom-color: #ffffff; }
.jqi .jqiarrowtc{ left: 50%; top: -20px; border-bottom-color: #ffffff; margin-left: -10px; }
.jqi .jqiarrowtr{ right: 10px; top: -20px; border-bottom-color: #ffffff; }

.jqi .jqiarrowbl{ left: 10px; bottom: -20px; border-top-color: #ffffff; }
.jqi .jqiarrowbc{ left: 50%; bottom: -20px; border-top-color: #ffffff; margin-left: -10px; }
.jqi .jqiarrowbr{ right: 10px; bottom: -20px; border-top-color: #ffffff; }

.jqi .jqiarrowlt{ left: -20px; top: 10px; border-right-color: #ffffff; }
.jqi .jqiarrowlm{ left: -20px; top: 50%; border-right-color: #ffffff; margin-top: -10px; }
.jqi .jqiarrowlb{ left: -20px; bottom: 10px; border-right-color: #ffffff; }

.jqi .jqiarrowrt{ right: -20px; top: 10px; border-left-color: #ffffff; }
.jqi .jqiarrowrm{ right: -20px; top: 50%; border-left-color: #ffffff; margin-top: -10px; }
.jqi .jqiarrowrb{ right: -20px; bottom: 10px; border-left-color: #ffffff; }

/** Impromptu End */

/* Shared resilience and interaction states */
td,
th {
	overflow-wrap: break-word;
	word-break: normal;
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--color-accent);
	box-shadow: var(--focus-ring);
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--color-accent);
	cursor: pointer;
}

[aria-disabled="true"] {
	pointer-events: none;
}

.post_body a,
.post_content a,
.signature a {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.post_body img,
.post_body video,
.post_body iframe,
.post_body object,
.post_body embed,
.post_content img,
.post_content video,
.post_content iframe,
.post_content object,
.post_content embed {
	max-width: 100%;
}

.post_body img,
.post_content img {
	height: auto;
}

.post_body pre,
.post_content pre {
	max-width: 100%;
	overflow: auto;
	font-family: var(--font-mono);
}

/* Responsive layout */
@media (max-width: 1024px) {
	.wrapper {
		width: calc(100% - 32px);
	}

	.post.classic .post_author {
		width: 22%;
	}

	.post.classic .post_content {
		width: 78%;
	}
}

@media (max-width: 768px) {
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > thead,
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > tbody {
		display: table;
		width: 100%;
		table-layout: auto;
	}

	body,
	#container {
		font-size: 14px;
	}

	.wrapper {
		width: calc(100% - 24px);
	}

	#logo {
		padding: 14px 0;
	}

	#logo .wrapper {
		min-height: 0;
	}

	#logo img {
		width: min(100%, 273px);
		max-height: none;
	}

	#content {
		padding: 18px 0 22px;
	}

	#content .float_left,
	#content .float_right {
		float: none;
		max-width: 100%;
		margin: 8px 0;
		text-align: left;
	}

	#header ul.menu {
		gap: 4px 12px;
	}

	#logo ul.top_links {
		position: static;
		transform: none;
		justify-content: flex-start;
		margin: 12px 0 0;
		text-align: left;
	}

	#panel .upper,
	#panel .lower {
		padding: 9px 0;
	}

	#panel .lower ul.panel_links,
	#panel .lower ul.user_links {
		float: none;
		display: flex;
		flex-wrap: wrap;
		gap: 4px 12px;
		margin: 0;
	}

	#panel .lower ul.user_links {
		margin-top: 6px;
	}

	#search {
		float: none;
		display: flex;
		align-items: center;
		gap: 6px;
		width: 100%;
		margin-top: 8px;
	}

	#search input {
		margin: 0;
	}

	#search input.textbox {
		flex: 1 1 auto;
		min-width: 0;
	}

	.tborder {
		display: block;
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: thin;
	}

	table,
	td,
	th {
		max-width: 100%;
	}

	.thead {
		padding: 9px 10px;
	}

	.tcat {
		white-space: nowrap;
	}

	.trow1,
	.trow2,
	.trow_shaded {
		padding: 9px 8px;
	}

	.post.classic .post_author,
	.post.classic .post_content {
		float: none;
		width: 100%;
	}

	.post.classic .post_author {
		border-right: 0;
		border-bottom: 1px solid var(--color-border);
		padding: 10px 12px;
	}

	.post.classic .post_author div.author_avatar {
		float: left;
		margin: 0 10px 0 0;
	}

	.post.classic .post_author div.author_information {
		text-align: left;
	}

	.post.classic .post_author div.author_statistics {
		clear: both;
		padding-top: 8px;
	}

	.post.classic .post_content {
		padding: 12px 14px 8px;
	}

	.post_controls .float_left,
	.post_controls .float_right {
		float: none;
	}

	.postbit_buttons {
		display: flex;
		flex-wrap: wrap;
		gap: 4px;
	}

	.postbit_buttons > a:link,
	.postbit_buttons > a:hover,
	.postbit_buttons > a:visited,
	.postbit_buttons > a:active {
		margin: 0;
	}

	#footer .upper .language,
	#footer .upper .theme,
	#footer .upper ul.bottom_links,
	#footer .lower #current_time,
	#debug {
		float: none;
		text-align: left;
	}

	#footer .upper .language,
	#footer .upper .theme {
		display: inline-block;
		margin: 4px 12px 4px 0;
	}

	#footer .upper ul.bottom_links {
		margin: 8px 0 0;
	}

	#footer ul.menu {
		display: flex;
		flex-wrap: wrap;
		gap: 6px 12px;
	}

	#footer ul.menu li {
		margin: 0;
	}

	#footer .lower #current_time {
		margin-top: 5px;
	}

	#debug {
		margin-top: 12px;
		max-width: 100%;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 600px) {
	/* Standard five-column forum index: keep the forum and last-post columns. */
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) tr:not(:has(> td:first-child[colspan])) > td:nth-child(3),
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) tr:not(:has(> td:first-child[colspan])) > td:nth-child(4),
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) tr:has(> td:first-child[colspan="2"]) > td:nth-child(2),
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) tr:has(> td:first-child[colspan="2"]) > td:nth-child(3),
	table.tborder:has(.forum_status):has(tr > th:nth-child(5):last-child) tr:not(:has(> th:first-child[colspan])) > th:nth-child(3),
	table.tborder:has(.forum_status):has(tr > th:nth-child(5):last-child) tr:not(:has(> th:first-child[colspan])) > th:nth-child(4),
	table.tborder:has(.forum_status):has(tr > th:nth-child(5):last-child) tr:has(> th:first-child[colspan="2"]) > th:nth-child(2),
	table.tborder:has(.forum_status):has(tr > th:nth-child(5):last-child) tr:has(> th:first-child[colspan="2"]) > th:nth-child(3) {
		display: none;
	}

	.thread_legend {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 12px;
	}

	.thread_legend dd {
		margin: 0;
		padding: 0;
	}

	.forum_legend {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr);
		align-items: center;
		gap: 8px 10px;
	}

	.forum_legend dt,
	.forum_legend dd {
		float: none;
		margin: 0;
		padding: 0;
	}

	.tfoot {
		white-space: normal;
	}

	.tfoot select,
	.tfoot input.textbox,
	.tfoot input.button,
	.tfoot button {
		margin: 4px 0;
	}
}

@media (max-width: 480px) {
	.wrapper {
		width: calc(100% - 16px);
	}

	#logo {
		padding: 12px 0;
	}

	#logo img {
		height: auto;
		width: min(100%, 273px);
		max-width: 100%;
	}

	#header ul.menu {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-start;
		gap: 4px 12px;
	}

	#header ul.menu li,
	#header ul.menu li:last-child {
		width: auto;
		min-width: 0;
		flex: 0 0 auto;
		grid-column: auto;
	}

	#header ul.menu li,
	#header ul.menu li a {
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	#header ul.menu li a {
		display: inline-block;
		min-height: 32px;
	}

	#panel .upper {
		font-size: 13px;
	}

	#panel .upper .wrapper {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 4px 8px;
	}

	#panel .upper .wrapper > form {
		order: -1;
		flex: 0 0 100%;
		width: 100%;
		margin: 0 0 8px;
	}

	#panel .upper .wrapper > .welcome {
		flex: 0 0 100%;
	}

	#panel .upper .wrapper > form #search {
		width: 100%;
		box-sizing: border-box;
	}

	#panel .upper .wrapper > form #search input.textbox {
		flex: 1 1 auto;
		min-width: 0;
	}

	#panel .upper .wrapper > form #search input.button {
		flex: 0 0 auto;
	}

	#panel .upper a.login,
	#panel .upper a.lost_password,
	#panel .upper a.logout,
	#panel .upper a.register {
		display: inline-block;
		margin: 3px 8px 3px 0;
	}

	.navigation {
		font-size: 12px;
		line-height: 1.7;
	}

	.largetext {
		font-size: 17px;
	}

	.tborder {
		margin-bottom: 14px;
		border-radius: var(--radius-sm);
		box-shadow: none;
		overscroll-behavior-inline: contain;
	}

	.tborder td,
	.tborder th {
		min-width: 64px;
	}

	.tborder td:first-child,
	.tborder th:first-child {
		min-width: 40px;
	}

	.tborder td:nth-child(2),
	.tborder th:nth-child(2) {
		min-width: 180px;
	}

	.tborder td:last-child,
	.tborder th:last-child {
		min-width: 160px;
	}

	/* On phones, forum index rows show the status and forum name only. */
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) tr:not(:has(> td:first-child[colspan])) > td:nth-child(5),
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) tr:has(> td:first-child[colspan="2"]) > td:nth-child(4),
	table.tborder:has(.forum_status):has(tr > th:nth-child(5):last-child) tr:not(:has(> th:first-child[colspan])) > th:nth-child(5),
	table.tborder:has(.forum_status):has(tr > th:nth-child(5):last-child) tr:has(> th:first-child[colspan="2"]) > th:nth-child(4) {
		display: none;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) {
		overflow-x: hidden;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > thead {
		display: table;
		width: 100%;
		table-layout: fixed;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > tbody {
		display: block;
		width: 100%;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) td,
	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) th {
		min-width: 0;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > tbody > tr:not(:has(> td:first-child[colspan])) {
		display: grid;
		grid-template-columns: 38px minmax(0, 1fr);
		width: 100%;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > tbody > tr:not(:has(> td:first-child[colspan])) > td {
		display: block;
		width: auto;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > tbody > tr:has(> td:first-child[colspan="2"]) {
		display: block;
		width: 100%;
	}

	table.tborder:has(.forum_status):has(tr > td:nth-child(5):last-child) > tbody > tr:has(> td:first-child[colspan="2"]) > td:first-child {
		display: block;
		width: 100%;
	}

}

@media (max-width: 600px) {
	/* MyBB forumdisplay has seven cells; keep status, subject, and replies. */
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) {
		display: block;
		width: 100%;
		overflow: visible;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody {
		display: block;
		width: 100%;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.thead),
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.tfoot) {
		display: block;
		width: 100%;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.thead) > td,
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.tfoot) > td {
		display: block;
		box-sizing: border-box;
		width: 100%;
		min-width: 0;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.tcat),
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td[class*="forumdisplay_"]) {
		display: grid;
		grid-template-columns: 42px minmax(0, 1fr) minmax(56px, max-content);
		width: 100%;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.tcat) > td,
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td[class*="forumdisplay_"]) > td {
		display: block;
		box-sizing: border-box;
		width: auto;
		min-width: 0;
		max-width: none;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.tcat) > td:first-child {
		grid-column: 1 / 3;
		text-align: left;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.tcat) > td:nth-child(2) {
		grid-column: 3;
		text-align: right;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.tcat) > td:nth-child(n + 3),
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td[class*="forumdisplay_"]) > td:nth-child(2),
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td[class*="forumdisplay_"]) > td:nth-child(n + 5) {
		display: none;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td[class*="forumdisplay_"]) > td:nth-child(1) {
		grid-column: 1;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td[class*="forumdisplay_"]) > td:nth-child(3) {
		grid-column: 2;
		overflow-wrap: anywhere;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td[class*="forumdisplay_"]) > td:nth-child(4) {
		grid-column: 3;
		text-align: right;
	}
}

@media (max-width: 480px) {
	.thead,
	.tcat,
	.trow1,
	.trow2,
	.trow_shaded,
	.trow_sep,
	.tfoot {
		font-size: 12px;
	}

	fieldset {
		padding: 10px;
	}

	#content form input.textbox,
	#content form input[type="text"],
	#content form input[type="email"],
	#content form input[type="password"],
	#content form input[type="search"],
	#content form input[type="url"],
	#content form input[type="number"],
	#content form textarea,
	#content form select {
		width: 100%;
	}

	#content form input[type="checkbox"],
	#content form input[type="radio"],
	#content form input.button,
	#content form button {
		width: auto;
	}

	#content .tborder form input.textbox,
	#content .tborder form textarea,
	#content .tborder form select {
		width: calc(100vw - 40px);
		max-width: 100%;
	}

	input.textbox.portal_search {
		width: 100%;
	}

	button,
	input.button,
	a.button:link,
	a.button:hover,
	a.button:visited,
	a.button:active {
		max-width: 100%;
		white-space: normal;
	}

	.post {
		margin-bottom: 12px;
		box-shadow: none;
	}

	.post .post_author div.author_avatar img {
		max-width: 72px;
		max-height: 72px;
	}

	.post .post_author div.author_information,
	.post .post_author div.author_statistics {
		font-size: 12px;
	}

	.post_content,
	.post.classic .post_content {
		padding: 10px 11px 7px;
	}

	.post_body {
		font-size: 14px;
		line-height: 1.6;
	}

	blockquote {
		padding: 10px;
	}

	blockquote cite > span {
		float: none;
		display: block;
		margin-top: 4px;
	}

	.codeblock {
		padding: 9px;
	}

	.thread_legend {
		grid-template-columns: 1fr;
	}

	.forum_legend {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.pagination {
		gap: 4px;
	}

	.pagination .pagination_current,
	.pagination a {
		min-width: 30px;
		min-height: 30px;
		padding: 4px 7px;
	}

	.jGrowl.center {
		left: 0;
		width: 100%;
	}

	.jGrowl-notification,
	.jGrowl-closer {
		margin: 8px auto;
	}

	.blocker {
		padding: 16px;
	}

	.modal a.close-modal {
		top: 6px;
		right: 6px;
	}

	div.jqi .jqibuttons button {
		padding: 10px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	body,
	#content,
	.post {
		background: #fff;
	}

	.wrapper {
		width: 100%;
	}

	.post,
	.tborder {
		box-shadow: none;
	}
}

/* Cherry palette bridge for plugin-rendered controls. */
body .codeblock {
	background: var(--color-surface);
	border-color: var(--color-border);
	border-radius: 8px;
}

body .codeblock .cbc-copy-button {
	background: var(--color-accent);
	border-color: var(--color-accent-active);
	border-radius: 7px;
	color: #fff;
}

body .codeblock .cbc-copy-button:hover,
body .codeblock .cbc-copy-button:focus-visible {
	background: var(--color-accent-hover);
	border-color: var(--color-accent-active);
	color: #fff;
}

body .codeblock .cbc-copy-target {
	background: var(--color-code-surface);
}

body .codeblock .cbc-copy-target:hover {
	background: var(--color-accent-soft);
	box-shadow: inset 0 0 0 1px var(--color-border);
}

body .pr-vote-controls {
	background: var(--color-accent);
	border-color: var(--color-accent-active);
}

body button.pr-vote {
	color: #fff;
}

body button.pr-vote--like .pr-icon,
body button.pr-vote--dislike .pr-icon,
body .pr-count {
	color: #fff;
}

body button.pr-vote--like:hover:not(:disabled):not([aria-disabled="true"]),
body button.pr-vote--dislike:hover:not(:disabled):not([aria-disabled="true"]) {
	background: var(--color-accent-hover);
	border-color: var(--color-accent-active);
	color: #fff;
}

body button.pr-vote[aria-pressed="true"] {
	background: var(--color-accent-active);
	border-color: var(--color-accent-active);
	color: #fff;
}

body .pr-toast {
	background: var(--color-accent-active);
}

/* Compact cherry refinements from the current forum screenshots. */
#content {
	padding-top: 14px;
	padding-bottom: 20px;
}

#content .navigation + br {
	display: none;
}

.navigation {
	margin-bottom: 8px;
	line-height: 1.5;
}

.tborder {
	margin-bottom: 10px;
}

:is(#content, #content > .wrapper) > table.tborder:has(.forum_status) {
	margin-bottom: 6px;
}

:is(#content, #content > .wrapper) > table.tborder:has(.forum_status) + br {
	display: none;
}

/* Header banners are presentational blocks, not paragraph-sized spacers. */
:is(#content, #content > .wrapper) > center:has(> a > img) {
	margin: 0 0 8px !important;
	padding: 0 !important;
	line-height: 0;
}

:is(#content, #content > .wrapper) > center:has(> a > img) img {
	max-width: 100%;
	height: auto;
}

:is(#content, #content > .wrapper) > center:has(> a > img) + br,
:is(#content, #content > .wrapper) > br:has(+ .red_alert),
:is(#content, #content > .wrapper) > br:has(+ .pm_alert) {
	display: none;
}

#content .red_alert,
#content .pm_alert {
	margin-bottom: 8px;
	padding-top: 7px;
	padding-bottom: 7px;
}

.thead {
	padding: 9px 10px;
}

.tcat {
	padding: 7px 10px;
	color: var(--color-text-on-accent) !important;
}

.tcat .smalltext,
.tcat .smalltext *,
.tcat strong,
.tcat span {
	color: var(--color-text-on-accent) !important;
}

.tborder .trow1,
.tborder .trow2,
.tborder .trow_shaded {
	padding-top: 8px;
	padding-bottom: 8px;
}

/* Keep the large logo prominent without letting it create a blank header. */
#logo {
	padding: 6px 0;
}

#logo > .wrapper > a {
	display: block;
	line-height: 0;
}

#logo img {
	width: auto !important;
	height: auto !important;
	max-width: min(100%, 270px) !important;
	max-height: 190px !important;
	object-fit: contain;
}

#header ul.menu.top_links {
	gap: 10px;
}

#logo ul.top_links a {
	min-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	line-height: 1.3;
}

#logo ul.top_links li:has(> br:only-child) {
	display: none;
}

@media (min-width: 769px) {
	#logo .wrapper {
		align-items: flex-start;
	}

	#logo ul.top_links {
		top: 8px;
		transform: none;
	}
}

/* Restore readable forum/thread status marks. */
.forum_status {
	width: 24px;
	height: 24px;
	flex-basis: 24px;
}

.forum_on {
	box-shadow: inset 0 0 0 4px var(--color-surface);
}

.subforumicon {
	width: 10px;
	height: 10px;
}

.thread_legend img,
.posticons_label img {
	width: 24px;
	height: 24px;
	max-width: 24px;
	object-fit: contain;
	vertical-align: middle;
}

#content .fdgrid-icons img {
	width: 24px !important;
	height: 24px !important;
	flex: 0 0 24px !important;
	max-width: 24px !important;
	max-height: 24px !important;
	object-fit: contain;
}

#content table.tborder > tbody > tr:has(> td[class*="forumdisplay_"]) > td:nth-child(-n + 2) img {
	width: 24px !important;
	height: 24px !important;
	max-width: 24px !important;
	max-height: 24px !important;
	object-fit: contain;
}

/* Make reactions read as native post controls instead of a separate pill. */
body .pr-vote-controls {
	gap: 4px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body button.pr-vote {
	min-width: 36px !important;
	min-height: 28px !important;
	padding: 4px 7px !important;
	border: 1px solid var(--color-border-strong) !important;
	border-radius: var(--radius-sm) !important;
	background: var(--color-control-surface) !important;
	color: var(--color-text) !important;
	box-shadow: none !important;
}

body button.pr-vote--like .pr-icon,
body button.pr-vote--dislike .pr-icon {
	color: var(--color-accent) !important;
}

body button.pr-vote--dislike .pr-icon {
	color: var(--color-accent-active) !important;
}

body .pr-count {
	color: var(--color-text-muted) !important;
}

body button.pr-vote--like:hover:not(:disabled):not([aria-disabled="true"]),
body button.pr-vote--dislike:hover:not(:disabled):not([aria-disabled="true"]) {
	background: var(--color-accent-soft) !important;
	border-color: var(--color-accent) !important;
	color: var(--color-accent-active) !important;
}

body button.pr-vote[aria-pressed="true"] {
	background: var(--color-accent) !important;
	border-color: var(--color-accent-active) !important;
	color: #fff !important;
}

body button.pr-vote[aria-pressed="true"] .pr-icon,
body button.pr-vote[aria-pressed="true"] .pr-count {
	color: inherit !important;
}

body button.pr-vote[aria-disabled="true"]:not([aria-pressed="true"]) {
	background: var(--color-control-surface) !important;
	color: var(--color-text-muted) !important;
	opacity: 0.62;
}

@media (max-width: 600px) {
	body button.pr-vote {
		min-width: 40px !important;
		min-height: 32px !important;
	}

	#content table.tborder > tbody > tr:has(> td[class*="forumdisplay_"]) > td:first-child {
		padding-left: 4px;
		padding-right: 4px;
	}

	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.trow_sep),
	#content table.tborder:has(> tbody > tr > td[class*="forumdisplay_"]) > tbody > tr:has(> td.trow_sep) > td {
		display: block;
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 768px) {
	#logo {
		padding: 8px 0;
	}

	#logo img {
		max-width: min(100%, 230px) !important;
		max-height: 140px !important;
	}

	#logo ul.top_links {
		margin-top: 8px;
	}
}

@media (max-width: 480px) {
	#logo img {
		max-width: min(100%, 210px) !important;
		max-height: 120px !important;
	}

	#content table.tborder:has(.forum_status) > tbody > tr:has(> td.thead),
	#content table.tborder:has(.forum_status) > tbody > tr:has(> td.thead) > td {
		display: block;
		width: 100%;
		min-width: 0;
	}

	.tborder .trow1,
	.tborder .trow2,
	.tborder .trow_shaded {
		padding-top: 7px;
		padding-bottom: 7px;
	}
}
