@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
body {
	background: #fff;
	color: #333;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	overflow-y: scroll;
}

a:link {
	color: #0072BC;
	text-decoration: none;
}

a:visited {
	color: #0072BC;
	text-decoration: none;
}

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

#container {
	text-align: left;
	line-height: 1.4;
	margin: 0;
	min-width: 990px;
}

.wrapper {
	width: 85%;
	min-width: 970px;
	max-width: 1500px;
	margin: auto auto;
}

#logo {
	background: #fff;
	padding: 10px 0;
	border-bottom: 1px solid #263c30;
}

#content {
}

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

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

#header ul.menu li a {
	padding-left: 20px;
	background-image: url(images/headerlinks_sprite.png);
	background-repeat: no-repeat;
	display: inline-block;
	line-height: 16px;
}

#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 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 {
	font-weight: bold;
	background: url(images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	background: url(images/headerlinks_sprite.png) 0 -100px no-repeat;
	padding-left: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .upper a.register {
	background: url(images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#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 {
	background: #0f0f0f url(images/tcat.png) repeat-x;
	color: #fff;
	border-top: 1px solid #444;
	border-bottom: 1px solid #000;
	padding: 7px;
	clear: both;
}

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

#panel .lower {
	background: #efefef;
	color: #999;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ccc;
	padding: 5px;
}

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

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: #000;
}

#search input.button {
	background: #0066a2 url(images/thead.png) top left repeat-x;
	color: #fff;
}

#search input {
	margin: -3px 0;
}

#quick_login .remember_me input {
	vertical-align: middle;
	margin: -3px 0 0 5px;
}

#footer {
	clear: both;
}

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

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

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

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

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

#footer .upper .language select {
	border-color: #ccc;
}

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

#footer .upper .theme select {
	border-color: #ccc;
}

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

#footer .lower {
	color: #666;
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
}

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

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

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

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px;
}

.scaleimages img {
	max-width: 100%;
}

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

.forum_on {
	background-position: 0 0;
}

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

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

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

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

.subforum_minion {
	background-position: 0 0;
}

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

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

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

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

.tborder {
	background: #fff;
	width: 100%;
	margin: auto auto;
	border: 1px solid #ccc;
	padding: 1px;
}

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

.thead {
	background: #0066a2 url(images/thead.png) top left repeat-x;
	color: #ffffff;
	border-bottom: 1px solid #263c30;
	padding: 8px;
}

.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: underline;
}

.tcat {
	background: #0f0f0f url(images/tcat.png) repeat-x;
	color: #fff;
	border-top: 1px solid #444;
	border-bottom: 1px solid #000;
	padding: 6px;
	font-size: 12px;
}

.tcat a:link {
	color: #fff;
}

.tcat a:visited {
	color: #fff;
}

.tcat a:hover,
.tcat a:active {
	color: #fff;
}

.trow1 {
	background: #f5f5f5;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.trow2 {
	background: #efefef;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.trow_shaded {
	background: #ffdde0;
	border: 1px solid;
	border-color: #fff #ffb8be #ffb8be #fff;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #ffdde0;
}

.thread_start_datetime {
	color: #999;
}

.post.unapproved_post .post_author {
	border-bottom-color: #ffb8be;
}

.post.classic.unapproved_post .post_author {
	border-color: #ffb8be;
}

.post.unapproved_post .post_controls {
	border-top-color: #ffb8be;
}

.trow_deleted,
.post.deleted_post {
	background: #E8DEFF;
}

.trow_selected,
tr.trow_selected td {
	background: #FFFBD9;
	color: #333;
	border-right-color: #F7E86A;
	border-bottom-color: #F7E86A;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #333;
}

.trow_sep {
	background: #ddd;
	color: #333;
	border-bottom: 1px solid #c5c5c5;
	padding: 6px;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	border-top: 1px solid #fff;
	padding: 6px;
	background: #ddd;
	color: #666;
}

.tfoot a:link {
	color: #444;
	text-decoration: none;
}

.tfoot a:visited {
	color: #444;
	text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
	color: #444;
	text-decoration: underline;
}

.thead input.textbox,
.thead select {
	border: 1px solid #263c30;
}

.bottommenu {
	background: #efefef;
	color: #333;
	border: 1px solid #4874a3;
	padding: 10px;
}

.navigation {
	color: #333;
	font-size: 12px;
}

.navigation a:link {
	text-decoration: none;
}

.navigation a:visited {
	text-decoration: none;
}

.navigation a:hover,
.navigation a:active {
	text-decoration: underline;
}

.navigation .active {
	color: #333;
	font-size: small;
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
}

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

fieldset {
	padding: 12px;
	border: 1px solid #ddd;
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #bbb;
}

fieldset.align_right {
	text-align: right;
}

input.textbox {
	background: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	padding: 3px;
	outline: 0;
	font-size: 13px;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

input.textbox.portal_search {
    width: 68%;
}

textarea {
	background: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	padding: 2px;
	line-height: 1.4;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

select {
	background: #ffffff;
	padding: 3px;
	border: 1px solid #ccc;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

button,
input.button {
	padding: 3px 8px;
	cursor: pointer;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	background: #eee url(images/buttons_bg.png) repeat-x;
	border: 1px solid #bbb;
	color: #333;
	outline: 0;
}

button:hover,
input.button:hover {
	border-color: #aaa;
}

form {
	margin: 0;
	padding: 0;
}

input.error, textarea.error, select.error {
	border: 1px solid #f30;
	color: #f30;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #0c0;
}

label.error {
	color: #f30;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: bold;
	font-size: 11px;
}

form #message {
	width: 500px;
}

.editor {
	background: #f1f1f1;
	border: 1px solid #ccc;
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #ccc;
}

.post .editor_control_bar {
	background: #f5f5f5;
}

.popup_menu {
	background: #fff;
	border: 1px solid #ccc;
}

.popup_menu .popup_item {
	background: #efefef;
	color: #333;
}

.popup_menu .popup_item:hover {
	background: #0072BC;
	color: #fff;
}

.trow_reputation_positive {
	background: #ccffcc;
}

.trow_reputation_negative {
	background: #ffcccc;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.repbox {
	font-size:16px;
	font-weight: bold;
	padding:5px 7px 5px 7px;
}

._neutral {
	background-color:#FAFAFA;
	color: #999999;
	border:1px solid #CCCCCC;
}

._minus {
	background-color: #FDD2D1;
	color: #CB0200;
	border:1px solid #980201;
}

._plus {
	background-color:#E8FCDC;
	color: #008800;
	border:1px solid #008800;
}

img {
	border: none;
}

img.attachment {
	border: 1px solid #E9E5D7;
	padding: 2px;
}

hr {
	background-color: #000000;
	color: #000000;
	height: 1px;
	border: 0px;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background: #FFFBD9;
	border-bottom: 1px solid #F7E86A;
	color: #333;
	text-align: center;
}

.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
	margin-top: 3px;
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

blockquote {
	background: #EBEADD;
	border: 1px solid #ccc;
	margin: 0;
	padding: 10px;
}

blockquote cite {
	border-bottom: 1px solid #ccc;
	display: block;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
	
	font-style: normal;
	font-weight: bold;
}

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-size: 12px;
	color: #666;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px;
}

.codeblock .title {
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px;
}

.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 .popup_item {
	display: block;
	padding: 4px;
	white-space: nowrap;
	text-decoration: none;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

.subject_new {
	font-weight: bold;
}

.subject_new a {
        color: red !important;
}

.highlight {
	background: #FFFFCC;
	padding-top: 3px;
	padding-bottom: 3px;
}

.pm_alert {
	background: #FFF6BF;
	border: 1px solid #FFD324;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
}

.red_alert {
	background: #FBE3E4;
	border: 1px solid #A5161A;
	color: #A5161A;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
	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: #15A018;
}

.offline {
	color: #C7C7C7;
}

div.error {
	padding: 5px 10px;
	border: 2px solid #FFD324;
	background: #FFF6BF;
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: #333;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #C00;
	background: url(images/error.png) no-repeat 0;
}

div.error ul {
	margin-left: 24px;
}

.pagination {
	font-size: 11px;
	padding-top: 10px;
	margin-bottom: 5px;
}

.tfoot .pagination,
.tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: bold;
}

.pagination .pagination_current,
.pagination a {
	padding: 3px 6px;
	margin-bottom: 3px;
}

.pagination a {
	background: #f5f5f5;
	border: 1px solid #ccc;
}

.pagination .pagination_current {
	background: none;
	color: #333;
	border: none;
	font-weight: bold;
}

.pagination a:hover {
	background: #0072BC;
	color: #fff;
	border-color: #263c30;
	text-decoration: none;
}

.pagination .go_page img {
	margin-bottom: -4px;
}

.drop_go_page {
	background: #f5f5f5;
	padding: 4px;
}

.pagination_breadcrumb {
	background-color: #efefef;
	border: 1px solid #fff;
	outline: 1px solid #ccc;
	padding: 5px;
	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: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 3px solid #333;
	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 #ccc;
	padding: 15px;
}

.deleted_post_collapsed {
	border-top: 3px solid #333;
	padding: 15px;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
	background-position: 0 -400px;
}

.post {
	overflow: hidden;
}

.post.classic {
	padding-top: 15px;
}

.post .post_author {
	background: #f5f5f5;
	border-bottom: 1px solid #ccc;
	border-top: 2px solid #ccc;
	padding: 5px;
	overflow: hidden;
}

.post.classic .post_author {
	border: 1px solid #ddd;
	float: left;
	width: 15%;
	margin: 0 1% 15px 0;
	border-left: 0;
	padding: 5px 1%;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 3px;
	display: none;
}

.post.classic .post_author div.author_avatar {
	float: none;
	text-align: center;
	margin-bottom: 8px;
}

.post .post_author div.author_avatar img {
	background: #fff;
	padding: 5px;
	border: 1px solid #ddd;
	display: none;
}

.post .post_author div.author_information {
	float: left;
	padding: 6px 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: 11px;
	padding: 3px 10px 3px 5px;
	color: #666;
	line-height: 1.3;
}

.post.classic .post_author div.author_statistics {
	border-top: 1px dotted #ccc;
	margin: 6px 0 0 0;
	padding: 6px 6px 3px 6px;
	float: none;
}

.post .post_head {
	font-size: 11px;
	padding-bottom: 4px;
	border-bottom: 1px dotted #ddd;
	margin-bottom: 4px;
}

.post .post_head span.post_date {
	color: #666;
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: #999;
}

.post .post_head span.edited_post a {
	color: #666;
}

.post_body {
	font-size: 14px;
	padding: 12px 0;
}

.post.classic .post_content {
	float: left;
	width: 79%;
	padding: 0 1% 5px 1%;
}

.post_content {
	padding: 9px 10px 5px 10px;
}

.post_content .signature {
	margin-top: 5px;
	border-top: 1px dotted #ddd;
	padding: 10px 0 4px 0;
}

.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: #999;
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: #777;
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: #777;
}

.post_controls {
	clear: both;
	background: #f5f5f5;
	border-bottom: 1px solid #ccc;
	padding: 5px;
	overflow: hidden;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	padding: 2px 5px;
	margin: 2px;
	font-size: 11px;
	background: #eee url(images/buttons_bg.png) repeat-x;
	border: 1px solid #ccc;
	color: #555;
}

.postbit_buttons > a:hover {
	border-color: #bbb;
}

.postbit_buttons a span {
	padding-left: 20px;
	display: inline-block;
	height: 16px;
	background-image: url(images/buttons_sprite.png);
	background-repeat: no-repeat;
}

.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 {
	background: #0f0f0f url(images/tcat.png) repeat-x;
	color: #fff;
	display: inline-block;
	padding: 4px 8px;
	margin: 2px 2px 6px 2px;
	border: 1px solid #000;
	font-size: 14px;
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 3px 6px;
}

a.button span {
	padding-left: 20px;
	display: inline-block;
	background-image: url(images/buttons_sprite.png);
	background-repeat: no-repeat;
}

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 {
	background: url(images/jump.png) no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px; /* amount of padding needed for image to fully show */
	margin-top: -3px;
	border: none;
}

.pollbar {
	background: url(images/pollbar.png) top left repeat-x;
	border: 1px solid #3f3f3f;
	height: 10px;
}

.pollbar .percent {
	display: none;
}

.poll_votedfor {
	background: #efefef;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.posticons_label {
	white-space: nowrap;
}

/** jGrowl Start **/

/** 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: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	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: transparent;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	word-break: break-all;
}

.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: bold;
	font-size: .85em;
}

.jGrowl-notification .jGrowl-close {
	background-color: transparent;
	color: inherit;
	border: none;
	z-index: 99;
	float: right;
	font-weight: bold;
	font-size: 1em;
	cursor: pointer;
}

.jGrowl-closer {
	background-color: #000000;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	transform: scale(1);
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	border-radius: 5px;
	word-break: break-all;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: .9em;
	font-weight: bold;
	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: lightgreen;
    border: 1px solid lightgreen;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_error {
    background: red;
    border: 1px solid red;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {
    background: yellow;
    border: 1px solid yellow;
	color: #333;
}

/** Hide jGrowl when printing **/
@media print {
	.jGrowl {
		display: none;
}


}

/** jGrowl End **/

/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.75);
	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;
	text-align: left;
	background: #fff;
	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;
	-webkit-box-shadow: 0 0 10px #000;
	-moz-box-shadow: 0 0 10px #000;
	-o-box-shadow: 0 0 10px #000;
	-ms-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
}

.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;
}

.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:90%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	position: absolute;
	background-color: #ffffff;
	font-size: 11px;
	text-align: left;
	border: solid 1px #eeeeee;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 7px;
}

div.jqi .jqicontainer{
}

div.jqi .jqiclose{
	position: absolute;
	top: 4px; right: -2px;
	width: 18px;
	cursor: default;
	color: #bbbbbb;
	font-weight: bold;
}

div.jqi .jqistate{
	background-color: #fff;
}

div.jqi .jqititle{
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px #eeeeee;
}

div.jqi .jqimessage{
	padding: 10px;
	line-height: 20px;
	color: #444444;
	overflow: auto;
}

div.jqi .jqibuttonshide{
	display: none;
}

div.jqi .jqibuttons{
	text-align: right;
	margin: 0 -7px -7px -7px;
	border-top: solid 1px #e4e4e4;
	background-color: #f4f4f4;
	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: 15px 20px;
	background-color: transparent;
	font-weight: normal;
	border: none;
	border-left: solid 1px #e4e4e4;
	color: #777;
	font-weight: bold;
	font-size: 12px;
}

div.jqi .jqibuttons button.jqidefaultbutton{
	color: #489afe;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus{
	color: #287ade;
	outline: none;
}

div.jqi .jqibuttons button[disabled]{
	color: #aaa;
}

.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: solid 1px #eeeeee;
	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 */

/* PTR-RESKIN-START */
/* Particracy: Reborn — forum theme v3 (faithful game-navbar port).
   Dark editorial. Archivo + JetBrains Mono. Sharp corners. ONE hairline (#2a3550)
   used sparingly. Accent (#5b8def) only for wordmark / active / hover / focus. */
:root {
  --ptr-bg:#0a0e1a; --ptr-surface:#12182b; --ptr-surface-2:#1a2238; --ptr-card:#1e2740;
  --ptr-text:#e8edf5; --ptr-text-2:#9aa5bc; --ptr-muted:#8696af;
  --ptr-border:#2a3550; --ptr-hair:rgba(255,255,255,.05);
  --ptr-accent:#5b8def; --ptr-accent-bg:#4272ce; --ptr-visited:#a78bdb;
  --ptr-danger:#f06868; --ptr-success:#3dd98f; --ptr-warning:#f5a623; /* mirror game App.css dark tokens */
  --ptr-font:'Archivo',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --ptr-mono:'JetBrains Mono',ui-monospace,'Courier New',monospace;
}

/* ---- base ---- */
html, body { background: var(--ptr-bg) !important; color: var(--ptr-text) !important; font-family: var(--ptr-font) !important; }
body { font-size: 14px; line-height: 1.6; }
a { color: var(--ptr-accent) !important; text-decoration: none; }
a:hover { color: var(--ptr-text) !important; }
a:visited { color: var(--ptr-accent) !important; }
:focus-visible { outline: 2px solid var(--ptr-accent) !important; outline-offset: 2px; }
.smalltext, #current_time, #copyright { color: var(--ptr-muted) !important; }
#container { background: var(--ptr-bg) !important; border: none !important; box-shadow: none !important;
  max-width: none !important; width: 100% !important; margin: 0 !important; float: none !important; }
#content { background: transparent !important; }
/* Stock `.wrapper{width:85%}` left ~15% auto-margin GUTTERS on every page (the mobile
   inset). Force full width; max-width still caps + centers on desktop. */
#content > .wrapper, #footer .wrapper { width: 100% !important; box-sizing: border-box !important;
  max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* ============ NAVBAR (game port) ============ */
#header.navbar, .navbar { background: var(--ptr-surface) !important; border: none !important;
  border-bottom: 1px solid var(--ptr-border) !important; display: block; margin: 0 !important; padding: 0 !important; }
.navbar-inner { max-width: 1400px; margin: 0 auto; }
.navbar-row { display: flex; align-items: center; gap: 16px; padding: 0 32px; min-height: 56px; }
.navbar-row--top { justify-content: space-between; }
.navbar-row--status { justify-content: center; min-height: 40px; border-top: 1px solid var(--ptr-border); }
.navbar-cluster { display: flex; align-items: center; gap: 16px; min-width: 0; }
.navbar-cluster--start { flex: 1 1 auto; }
.navbar-cluster--end { flex: 0 0 auto; gap: 8px; }
.navbar-logo { font-size: 20px; font-weight: 700; color: var(--ptr-accent) !important; letter-spacing: -0.02em;
  text-decoration: none !important; white-space: nowrap; flex-shrink: 0; }
.navbar-logo:hover { color: var(--ptr-text) !important; }
/* community/world dropdown triggers */
.navbar-community-trigger { appearance: none; background: none; border: none; color: var(--ptr-text-2) !important;
  font-family: var(--ptr-font); font-size: 13px; text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; min-height: 48px; }
.navbar-community-trigger:hover { color: var(--ptr-text) !important; }
/* primary nav tabs */
.navbar-links { display: flex; align-items: center; gap: 2px; }
.navbar-link { padding: 0 8px; color: var(--ptr-text-2) !important; text-decoration: none !important; font-weight: 600;
  font-size: 13px; border-bottom: 2px solid transparent; white-space: nowrap; line-height: 48px; }
.navbar-link:hover { color: var(--ptr-text) !important; }
.navbar-link.active { color: var(--ptr-accent) !important; border-bottom-color: var(--ptr-accent); }
.navbar-link:focus-visible { outline-offset: -2px; }
/* auth chips */
.player-header-btn { appearance: none; background: none; border: 1px solid var(--ptr-border) !important;
  color: var(--ptr-text-2) !important; font-family: var(--ptr-font); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; min-height: 40px; text-decoration: none !important;
  display: inline-flex; align-items: center; white-space: nowrap; cursor: pointer; border-radius: 0 !important; }
.player-header-btn:hover { color: var(--ptr-text) !important; border-color: var(--ptr-text) !important; }
/* game status row (date + countdown) */
.ecb-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px;
  color: var(--ptr-text-2) !important; white-space: nowrap; }
.ecb-month { font-weight: 600; color: var(--ptr-text) !important; }
.ed-mono { font-family: var(--ptr-mono) !important; }
.ecb-num { font-variant-numeric: tabular-nums; }
.ecb-countdown { color: var(--ptr-text-2) !important; font-weight: 500; }
.ecb-month-short, .ecb-countdown-short { display: none; }

/* ============ EMBED — hide the forum's own chrome ============
   The forum renders same-origin inside the game app under the app's REAL navbar
   (React /forum route). The hand-ported #header navbar is redundant with it; #panel
   (user bar) + #footer are replaced by the app shell. Login is owned by SSO — and
   until then, /_forum/member.php?action=login renders its form in #content, so it
   stays reachable with the chrome hidden. The forum is NOT player-facing until SSO,
   so this hide is unconditional. The breadcrumb (.navigation) and all #content stay —
   that IS the forum. (The dead navbar-port rules below can be pruned in the skin pass.) */
#header, #header.navbar, #panel, #footer, #footer .upper,
.forum_legend { display: none !important; }
#content { padding-top: 12px; }

/* dropdown dialogs */
.ed-dialog { position: fixed; inset: 0; margin: auto; background: var(--ptr-surface) !important; color: var(--ptr-text) !important;
  border: 1px solid var(--ptr-border) !important; box-shadow: 0 4px 24px rgba(0,0,0,.4); padding: 32px;
  max-width: 24rem; width: calc(100vw - 32px); border-radius: 0 !important; }
.ed-dialog::backdrop { background: rgba(0,0,0,.5); }
.ed-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ptr-muted) !important;
  margin: 0 0 8px 0; padding-bottom: 4px; border-bottom: 1px solid var(--ptr-border); }
.ed-subtitle { margin: 0 0 16px 0; color: var(--ptr-text-2) !important; font-size: 13px; }
.navbar-community-list { list-style: none; margin: 8px 0 0 0; padding: 0; }
.navbar-community-link { display: flex; align-items: center; min-height: 48px; padding: 0 4px; color: var(--ptr-text) !important;
  font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.navbar-community-link:hover { color: var(--ptr-accent) !important; }
.ed-dialog-actions { display: flex; gap: 8px; margin-top: 24px; }
.ed-action-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 4px 16px;
  background: none; color: var(--ptr-text-2) !important; font-size: 13px; font-weight: 600; font-family: var(--ptr-font);
  border: 1px solid var(--ptr-border) !important; cursor: pointer; min-height: 48px; border-radius: 0 !important; }
.ed-action-secondary:hover { color: var(--ptr-text) !important; border-color: var(--ptr-text) !important; }

/* breadcrumb */
.navigation { color: var(--ptr-text-2) !important; background: transparent !important; padding: 16px 0 10px 0; }
.navigation a, .navigation strong, .navigation .active { color: var(--ptr-text) !important; }
.navigation .active { font-weight: 600; }

/* ============ CONTENT — de-starked flat tables ============ */
.tborder { background: transparent !important; border: none !important; margin: 0 0 32px 0 !important; width: 100% !important; }
.tborder td, .tborder th { border: none !important; background: transparent !important; }
.thead { background: transparent !important; color: var(--ptr-text) !important; border: none !important;
  border-bottom: 2px solid var(--ptr-border) !important; padding: 12px 4px !important; font-weight: 700; font-size: 15px; }
.thead a, .thead strong { color: var(--ptr-text) !important; font-weight: 700; }
.tcat { background: transparent !important; color: var(--ptr-muted) !important; text-transform: uppercase; letter-spacing: .08em;
  font-size: 11px !important; font-weight: 700; border: none !important; border-bottom: 1px solid var(--ptr-border) !important; padding: 10px 4px !important; }
.tcat a { color: var(--ptr-muted) !important; }
.trow1, .trow2 { background: transparent !important; color: var(--ptr-text) !important; }
.trow1 > td, .trow2 > td { border-bottom: 1px solid var(--ptr-hair) !important; padding: 14px 4px !important; }
.trow1 a, .trow2 a { color: var(--ptr-accent) !important; }
.trow1 a:hover, .trow2 a:hover { color: var(--ptr-text) !important; }
.trow1 td[align="center"], .trow2 td[align="center"] { font-family: var(--ptr-mono) !important; color: var(--ptr-text) !important; }
.tfoot { background: transparent !important; color: var(--ptr-muted) !important; border: none !important;
  border-top: 1px solid var(--ptr-border) !important; padding: 12px 4px !important; }
.expander, .expcolimage, span[id$="_e"], [id^="cat_"][id$="_img"] { display: none !important; }
.forum_status { opacity: .35; }

/* postbit */
.post { background: var(--ptr-surface) !important; border: 1px solid var(--ptr-border) !important; margin-bottom: 16px; }
.post_author { background: transparent !important; border: none !important; border-right: 1px solid var(--ptr-border) !important; }
.post_content, .post_body { background: transparent !important; }
.post_head { border: none !important; border-bottom: 1px solid var(--ptr-border) !important; }
.post_body { color: var(--ptr-text) !important; font-size: 14px; line-height: 1.7; }
.post_author a, .author_information a { color: var(--ptr-accent) !important; }
.author_statistics { font-family: var(--ptr-mono) !important; font-size: 11px; color: var(--ptr-muted) !important; }
.post_date, .post_meta { color: var(--ptr-muted) !important; font-family: var(--ptr-mono) !important; }

/* buttons + forms */
.button, button, input[type=submit], input[type=button], input[type=reset] { background: var(--ptr-accent-bg) !important;
  color: #fff !important; border: 1px solid var(--ptr-accent-bg) !important; border-radius: 0 !important; font-family: var(--ptr-font) !important;
  font-weight: 600; min-height: 40px; padding: 8px 16px; text-shadow: none !important; box-shadow: none !important; cursor: pointer; }
.button:hover, button:hover, input[type=submit]:hover { background: #355ba8 !important; }
.ed-action-secondary, .player-header-btn, .navbar-community-trigger { background: none !important; }
.textbox, textarea, select, input[type=text], input[type=password], input[type=email], input[type=search], input[type=url] {
  background: var(--ptr-surface-2) !important; color: var(--ptr-text) !important; border: 1px solid var(--ptr-border) !important;
  border-radius: 0 !important; font-family: var(--ptr-font) !important; min-height: 40px; padding: 6px 10px; }

/* pagination / quote / code */
.pagination a, .pagination span, .pagination strong { background: var(--ptr-surface-2) !important; border: 1px solid var(--ptr-border) !important;
  color: var(--ptr-text-2) !important; border-radius: 0 !important; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.pagination .pagination_current, .pagination strong { background: var(--ptr-accent-bg) !important; color: #fff !important; border-color: var(--ptr-accent-bg) !important; }
blockquote, .quote, .code, fieldset { background: var(--ptr-surface-2) !important; border: 1px solid var(--ptr-border) !important; color: var(--ptr-text) !important; border-radius: 0 !important; }

/* WCAG — claim stock light surfaces */
#footer, #footer .upper, .bottom_links, #copyright { background: var(--ptr-surface) !important; }
#footer { border-top: 1px solid var(--ptr-border) !important; }
#footer a, #copyright a, .bottom_links a { color: var(--ptr-accent) !important; }
#copyright, #footer .smalltext { color: var(--ptr-muted) !important; }
.popup_menu { background: var(--ptr-surface) !important; border: 1px solid var(--ptr-border) !important; }
.popup_menu .popup_item, .popup_menu td { background: var(--ptr-surface) !important; color: var(--ptr-text) !important; }
.popup_menu .popup_item:hover { background: var(--ptr-surface-2) !important; }

/* responsive */
@media (max-width: 1200px) { .navbar-row { padding: 0 16px; } #content > .wrapper, #footer .wrapper { padding-left: 16px; padding-right: 16px; } }
@media (max-width: 768px) {
  .navbar-row { padding: 0 8px; flex-wrap: wrap; }
  .navbar-cluster { gap: 8px; }
  .ecb-month-full, .ecb-countdown-full { display: none; }
  .ecb-month-short, .ecb-countdown-short { display: inline-block; }
  #content > .wrapper, #footer .wrapper { padding-left: 8px; padding-right: 8px; }
}

/* ================================================================
   #1021 CONTENT-STYLING PASS — surfaces the original reskin missed.
   Appended (source-order overrides earlier rules where needed).
   ================================================================ */

/* --- Batch 1a: kill the ~958px horizontal scroll ---
   Stock global.css floors the layout at min-width:990px/970px; the reskin reset
   `width` (a different property `!important` can't lower) but not `min-width`, so
   nothing reflowed below ~990px. */
#container, .wrapper, #content > .wrapper, #footer .wrapper { min-width: 0 !important; }
form #message { max-width: 100% !important; }  /* stock fixed width:500px -> mobile overflow */

/* --- Batch 1b: post control strip (Find/Quote/Edit/Delete/Report/Reply) ---
   Stock `.post_controls{background:#f5f5f5;border-bottom:1px solid #ccc}` = the white
   strip; each button was a light sprite pill. Restyle to dark outline chips, drop the
   light sprite icon + its 20px reserved padding. */
.post_controls { background: transparent !important; border-top: 1px solid var(--ptr-border) !important;
  border-bottom: none !important; padding: 8px 4px !important; }
.postbit_buttons > a:link, .postbit_buttons > a:visited, .postbit_buttons > a:active {
  background: transparent !important; border: 1px solid var(--ptr-border) !important;
  color: var(--ptr-text-2) !important; font-size: 12px !important; font-weight: 600;
  padding: 0 12px !important; margin: 2px !important; min-height: 40px;
  display: inline-flex !important; align-items: center; border-radius: 0 !important; }
.postbit_buttons > a:hover { color: var(--ptr-text) !important; border-color: var(--ptr-text) !important;
  background: transparent !important; }
.postbit_buttons a span { padding-left: 0 !important; background-image: none !important; height: auto !important; }

/* --- Batch 1c: center button text + drop the sprite offset ---
   Stock `a.button span{padding-left:20px;background:sprite}` shoved "New Reply" right for
   an icon invisible on dark; the reskin had min-height but no flex centering. */
.button, a.button, button, input[type=submit], input[type=button], input[type=reset] {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; }
.button span, a.button span { padding-left: 0 !important; background-image: none !important; }

/* --- Batch 1d: un-box the "Pages: 6" label ---
   The reskin's broad `.pagination span{...min-width:40px;min-height:40px}` boxed the
   `<span class="pages">` label like a page number. Restore it to plain bold text. */
.pagination .pages { background: transparent !important; border: none !important;
  min-width: 0 !important; min-height: 0 !important; padding: 0 8px 0 0 !important;
  display: inline !important; color: var(--ptr-text-2) !important; font-weight: 700; }

/* --- Batch 2: mobile layout (MyBB ships NONE — stock CSS has only @media print) ---
   Dedicated breakpoints mirroring the app. Fixes the ~500px horizontal scroll by
   collapsing the two-column postbit and making post content reflow. First pass —
   refine the stacked-postbit look in QA. */

/* Content-overflow safety at all widths: post bodies must never force page scroll. */
.post_body { overflow-wrap: break-word; word-break: break-word; }
.post_body img, .post_body video, .post_body iframe, .post_body embed, .post_body object,
.post_body table, .quote, .code, .codeblock { max-width: 100% !important; }
.post_body img { height: auto; }

@media (max-width: 768px) {
  /* postbit: stack author (info + stats) vertically above the post, full width. NO flex
     side-by-side (that clipped the stats on the right) and NO `.tborder overflow-x:auto`
     (that boxed + clipped the posts table). */
  .post.classic .post_author, .post.classic .post_content { float: none !important; width: 100% !important; }
  .post.classic .post_author {
    display: block; padding: 10px 12px !important; box-sizing: border-box;
    border-right: none !important; border-bottom: 1px solid var(--ptr-border) !important; }
  .post.classic .post_author > * { float: none !important; width: auto !important;
    margin: 0 0 4px 0 !important; text-align: left !important; }
  .post .post_author div.author_avatar img { max-width: 40px; height: auto; }
}

@media (max-width: 480px) {
  #content > .wrapper, #footer .wrapper { padding-left: 8px !important; padding-right: 8px !important; }
  .post.classic .post_author { gap: 4px 8px; }
  .author_statistics { margin-left: 0 !important; text-align: left; flex-basis: 100%; }
}

/* --- Batch 2b: mobile-native listings + full-width controls (max-width 768px) ---
   Replaces Batch 2's `.tborder{overflow-x:auto}` (which gave each forum section its own
   sideways scrollbar) with real card-per-row layouts, and stacks buttons/pagination/search
   full-width like the app. Listing rows are scoped by stable markers (.forum_status for
   forum rows, tr.inline_row for thread rows) via :has() so memberlist/other tables are
   untouched. NOTE: built blind (no SSH) -- verify the cards first when back. */
@media (max-width: 768px) {

  /* --- Listing tables (forum index + thread list) -> FULL block conversion ---
     Block the WHOLE table (not just rows) so table-layout column widths (the .tcat
     header cells' width="85"/"200") stop reserving the right half and crushing the name. */
  table.tborder:has(.forum_status), table.tborder:has(tr.inline_row),
  table.tborder:has(.forum_status) > thead, table.tborder:has(tr.inline_row) > thead,
  table.tborder:has(.forum_status) > tbody, table.tborder:has(tr.inline_row) > tbody,
  table.tborder:has(.forum_status) tr, table.tborder:has(tr.inline_row) tr {
    display: block !important; width: 100% !important; box-sizing: border-box !important; }
  table.tborder:has(.forum_status) td, table.tborder:has(tr.inline_row) td {
    display: block !important; width: 100% !important; box-sizing: border-box !important; border: none !important;
    padding: 1px 0 !important; text-align: left !important; white-space: normal !important; }

  /* Hide column-label rows + count/icon cells. SCOPED under `table:has(...)` so these
     display:none rules OUTRANK the block-conversion `table:has(...) td{display:block}`
     (both !important -> specificity decides; the extra prefix/attr gives these the edge). */
  table.tborder:has(.forum_status) tr:has(> td.tcat + td.tcat),
  table.tborder:has(tr.inline_row) tr:has(> td.tcat + td.tcat),
  table.tborder:has(.forum_status) td[width="1"],
  table.tborder:has(.forum_status) td[align="center"],
  table.tborder:has(tr.inline_row) td[width="2%"],
  table.tborder:has(tr.inline_row) td[align="center"] { display: none !important; }

  /* Card padding + muted last-post (forum row = align="right"; thread row = inline style) */
  table.tborder:has(.forum_status) tr:has(> td .forum_status),
  table.tborder:has(tr.inline_row) tr.inline_row {
    padding: 12px !important; border-bottom: 1px solid var(--ptr-border) !important; }
  table.tborder:has(.forum_status) td[align="right"],
  table.tborder:has(tr.inline_row) td[style*="right"] { font-size: 12px; color: var(--ptr-muted) !important; }

  /* Posts: full width + no right-clip (stock .post{overflow:hidden} cut the #N + mod checkbox) */
  .post { overflow: visible !important; }
  .post.classic .post_author, .post.classic .post_content {
    float: none !important; width: 100% !important; margin: 0 !important;
    padding: 10px 12px !important; box-sizing: border-box !important; }

  /* Hide Next Oldest | Next Newest (nobody uses them) */
  .tfoot div:has(> strong > a[href*="nextoldest"]) { display: none !important; }

  /* Postbit control buttons -> full-width stacked */
  .post_controls { display: flex !important; flex-direction: column; gap: 4px; }
  .postbit_buttons { float: none !important; width: 100% !important; display: flex; flex-direction: column; gap: 4px; }
  .postbit_buttons > a:link, .postbit_buttons > a:visited, .postbit_buttons > a:active {
    width: 100% !important; box-sizing: border-box !important; margin: 0 !important; justify-content: center; }

  /* Primary action buttons (New Thread / New Reply) -> full-width */
  a.button:not(.small_button) { display: flex !important; width: 100%; box-sizing: border-box; margin: 4px 0 !important; }

  /* Search widget -> full-width input + button + spacing between them */
  #search input.textbox, #search input.button,
  form input[type=text].textbox { width: 100% !important; box-sizing: border-box; margin: 6px 0 !important; }

  /* Pagination: Pages(N) label / Previous / current / Next / jump. Hide ALL numbered pills
     (first/middle/last) + the class-less "..." text via font-size:0 on the container (restored
     on the elements we keep). Natural DOM order -> no `order:` hacks. */
  .pagination { display: block; text-align: center; padding: 10px 0; font-size: 0; }
  .pagination .pagination_first, .pagination .pagination_page, .pagination .pagination_last { display: none !important; }
  .pagination .pages, .pagination .pagination_previous, .pagination .pagination_current,
  .pagination .pagination_next, .pagination .go_page, .pagination select, .pagination input { font-size: 14px; }
  .pagination .pages { display: block !important; margin-bottom: 8px; color: var(--ptr-text-2) !important;
    background: transparent !important; border: none !important; }
  .pagination .pagination_previous, .pagination .pagination_current, .pagination .pagination_next {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; padding: 0 16px; margin: 2px; }
  .pagination .go_page { display: block; margin-top: 8px; }
  .pagination .go_page select, .pagination .go_page input { max-width: 200px; min-height: 48px; box-sizing: border-box; }
}

/* ================================================================
   #1021 Batch 3 — remaining stock-light content surfaces (all widths).
   Color/background overrides mirroring the reskin's approach. Built blind
   (no SSH) — most need a specific action to trigger; verify in QA.
   ================================================================ */

/* Error / alert / PM-alert boxes — were bright stock #FFF6BF/#FBE3E4. Editorial: dark
   surface + a colored rule, not a filled yellow box. Also kills the error.png icon. */
div.error, .red_alert, .pm_alert, .validation_error {
  background: var(--ptr-surface) !important; border: 1px solid var(--ptr-border) !important;
  border-left: 3px solid var(--ptr-danger) !important; color: var(--ptr-text) !important;
  border-radius: 0 !important; }
div.error p, .red_alert p, .pm_alert p { color: var(--ptr-text) !important; }
div.error p em { background: none !important; padding-left: 0 !important; color: var(--ptr-danger) !important; }
/* invalid form fields */
input.error, textarea.error, select.error { border-color: var(--ptr-danger) !important; }
label.error, .error_message { color: var(--ptr-danger) !important; }

/* Reply/post editor wrapper (sceditor's own toolbar is a separate sheet -> its own task) */
.editor, .editor_control_bar, .post .editor_control_bar {
  background: var(--ptr-surface-2) !important; border-color: var(--ptr-border) !important; }

/* Code blocks (stock class is .codeblock, which the original reskin's `.code` missed) + <pre> */
.codeblock, pre { background: var(--ptr-surface-2) !important; border: 1px solid var(--ptr-border) !important;
  color: var(--ptr-text) !important; border-radius: 0 !important; }

/* Search-term highlight in post bodies — was #FFFFCC */
.highlight { background: var(--ptr-accent-bg) !important; color: #fff !important; padding: 0 2px; }

/* Modal + jQuery-confirm dialogs (quick-delete confirm, etc.) — were stock white */
.modal, div.jqi, div.jqi .jqistate {
  background: var(--ptr-surface) !important; color: var(--ptr-text) !important;
  border: 1px solid var(--ptr-border) !important; border-radius: 0 !important; }
div.jqi .jqibuttons { background: var(--ptr-surface-2) !important; border-top: 1px solid var(--ptr-border) !important; }
.modal, div.jqi { width: min(400px, calc(100vw - 32px)) !important; }
.modal a.close-modal { filter: invert(1) opacity(0.75); }  /* close.png (dark X) -> light on dark */

/* Polls — solid accent bar instead of the light pollbar.png sprite; voted-for row */
.pollbar { background: var(--ptr-accent-bg) !important; }
.poll_votedfor { background: var(--ptr-surface-2) !important; }

/* Bottom quick-menu + pagination extras — were #efefef/#f5f5f5 */
.bottommenu { background: var(--ptr-surface) !important; border: 1px solid var(--ptr-border) !important;
  color: var(--ptr-text-2) !important; }
.pagination_breadcrumb, .drop_go_page {
  background: var(--ptr-surface-2) !important; border: 1px solid var(--ptr-border) !important; color: var(--ptr-text) !important; }

/* Mod/reputation/state rows — faint tints instead of stock pastels (P3, mod-visible) */
.trow_shaded { background: var(--ptr-surface-2) !important; }
.selectall { background: var(--ptr-surface-2) !important; color: var(--ptr-text-2) !important; }
.trow_selected, tr.trow_selected td { background: rgba(91,141,239,.12) !important; }
.trow_deleted, .post.deleted_post { background: rgba(167,139,219,.10) !important; }
.post.unapproved_post, .trow_shaded.unapproved_post { background: rgba(240,104,104,.08) !important; }
.trow_reputation_positive { background: rgba(61,217,143,.10) !important; }
.trow_reputation_negative { background: rgba(240,104,104,.10) !important; }

/* ================================================================
   #1021 Batch 2c — round-2 mobile refinements (Michael 2026-07-23 decisions).
   Pagination: Prev / total+current / Next + jump (pills hidden). Postbit:
   mobile-only declutter (Reply+Edit prominent, rest hidden). sceditor: quick
   container/toolbar dark-theme (iframe WYSIWYG content deferred to newreply pass).
   ================================================================ */

/* sceditor (reply/post editor) container + toolbar — reachable from global CSS.
   The WYSIWYG editable area is a separate iframe global CSS can't reach -> its dark
   theme is part of the deferred newreply.php pass. */
.sceditor-container { background: var(--ptr-surface-2) !important; border-color: var(--ptr-border) !important; }
.sceditor-toolbar { background: var(--ptr-surface) !important; border-color: var(--ptr-border) !important; }
.sceditor-group { background: transparent !important; border-color: var(--ptr-border) !important; }
.sceditor-button { background: transparent !important; }
.sceditor-button:hover, .sceditor-button.active { background: var(--ptr-surface-2) !important; }
.sceditor-container textarea { background: var(--ptr-surface-2) !important; color: var(--ptr-text) !important; }

@media (max-width: 768px) {

  /* Listing cards: bigger name + 48px touch target (font hierarchy: 16px name vs 12px meta) */
  tr:has(> td .forum_status) td strong a,
  tr.inline_row td [id^="tid_"] a {
    font-size: 16px !important; font-weight: 700; display: inline-block;
    min-height: 48px; line-height: 1.4; padding: 12px 0; }

  /* Hide mobile-card noise: thread creator + the mini "(Pages: ...)" */
  tr.inline_row .author { display: none !important; }
  tr.inline_row span[id^="tid_"] + .smalltext { display: none !important; }

  /* Mark-read / Subscribe links -> tappable */
  a[href*="action=markread"], a[href*="action=subscribe"], a[href*="action=unsubscribe"] {
    display: inline-block; min-height: 48px; line-height: 48px; padding: 0 4px; }

  /* Hide the Sort by / Order / From form on mobile (nobody uses it) */
  form:has(select[name="sortby"]) { display: none !important; }

  /* Full-width New Reply / New Thread: un-float ONLY their shrink-wrapped button/pagination
     wrappers (leaves postbit/thead .float_* alone) so the width:100% button can fill */
  .float_left:has(> a.button), .float_right:has(> a.button),
  .float_left:has(> .pagination), .float_right:has(> .pagination) {
    float: none !important; width: 100% !important; }

  /* Postbit declutter: keep Reply (filled) + Edit (outline) at top, hide the rest */
  .postbit_buttons > a.postbit_find, .postbit_buttons > a.postbit_qdelete,
  .postbit_buttons > a.postbit_qrestore, .postbit_buttons > a.postbit_report,
  .postbit_buttons > a.postbit_warn, .postbit_buttons > a.postbit_purgespammer,
  .postbit_buttons > a.postbit_multiquote, .postbit_buttons > a.postbit_email,
  .postbit_buttons > a.postbit_pm, .postbit_buttons > a.postbit_website,
  .postbit_buttons > a.postbit_reputation_add { display: none !important; }
  .postbit_buttons > a.postbit_quote { background: var(--ptr-accent-bg) !important; color: #fff !important;
    border-color: var(--ptr-accent-bg) !important; order: -2; }
  .postbit_buttons > a.postbit_quote:hover { background: #355ba8 !important; }
  .postbit_buttons > a.postbit_edit { color: var(--ptr-accent) !important; border-color: var(--ptr-accent) !important; order: -1; }

  /* (pagination now lives in the Batch 2b mobile block above — corrected there) */
}

/* Section-label contrast (e.g. "Important Threads") — style like normal body text. */
.tcat, .tcat a, .tcat strong { color: var(--ptr-text) !important; }

/* Hide Next Oldest | Next Newest at ALL widths (nobody uses them) */
.tfoot div:has(> strong > a[href*="nextoldest"]) { display: none !important; }

/* Search Thread / forum-search submit button -> full width like its keyword input */
form:has(input[name="keywords"]) input.button,
form:has(input[name="keywords"]) input[type=submit] {
  width: 100% !important; box-sizing: border-box; margin-top: 6px; }

/* ================================================================
   #1021 Batch B — mobile card-meta labels + subforum-link differentiation.
   The .ptr-cardmeta / .ptr-cardlabel / .ptr-subforums elements are injected by
   apply-templates.php template edits (forumbit_depth2_forum / _forum_lastpost /
   forumbit_subforums / forumdisplay_thread). On the mobile cards the raw count
   cells (threads/posts, replies/views) are hidden as noise, so this surfaces the
   same numbers back GROUPED + LABELLED; on desktop they stay hidden (the count
   columns + "Last Post" header already carry the info). Subforum links are muted
   to read apart from the accent-blue last-post links (all widths).
   ================================================================ */
.ptr-cardmeta, .ptr-cardlabel { display: none; }
.ptr-subforums a { color: var(--ptr-text-2) !important; font-weight: 600; }
.ptr-subforums a:hover { color: var(--ptr-text) !important; }

@media (max-width: 768px) {
  .ptr-cardmeta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px;
    color: var(--ptr-muted) !important; font-variant-numeric: tabular-nums; }
  .ptr-cardlabel { display: inline; color: var(--ptr-muted) !important; font-weight: 600; }
}

/* PTR-RESKIN-END */
