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 {
	color: #333;
	text-align: left;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	min-width: 0;
}

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

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

#content {
	background: #fff;
	width: auto !important;
	padding: 20px 10px;
	overflow: hidden;
}

#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 {
	border: 1px solid #ccc;
	margin: 0;
	background: #fff;
	padding: 10px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	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: #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;
	white-space: pre;
	tab-size: 4;
}

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

.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 {
	border-bottom: 1px solid #ccc;
	border-top: 2px solid #ccc;
	background: #f5f5f5;
	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;
}

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

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

.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;
	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: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 */



@media screen and (max-width: 768px) {
	.hide_on_mobile { display: none !important; }

	/* Keep the post author identity and statistics aligned on narrow screens. */
	.post .post_author {
		display: grid !important;
		grid-template-columns: 72px minmax(0, 1fr) minmax(110px, auto) !important;
		align-items: center !important;
		column-gap: 3px !important;
		width: 100% !important;
		box-sizing: border-box !important;
		padding: 3px !important;
		text-align: left !important;
		overflow: visible !important;
	}
	.post .post_author div.author_avatar,
	.post.classic .post_author div.author_avatar {
		grid-column: 1 !important;
		grid-row: 1 !important;
		float: none !important;
		margin: 0 !important;
		text-align: center !important;
	}
	.post .post_author div.author_avatar img {
		max-width: 72px !important;
		height: auto !important;
	}
	.post .post_author div.author_information,
	.post.classic .post_author div.author_information {
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		float: none !important;
		padding: 0 !important;
		text-align: left !important;
	}
	.post .post_author div.author_information .largetext,
	.post .post_author div.author_information .smalltext {
		word-break: break-word !important;
	}
	.post .post_author div.author_statistics,
	.post.classic .post_author div.author_statistics {
		grid-column: 3 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		float: none !important;
		margin: 0 !important;
		padding: 0 0 0 3px !important;
		border-top: 0 !important;
		border-left: 1px dotted #475569 !important;
		font-size: 11px !important;
		line-height: 1.4 !important;
		text-align: left !important;
	}
}



/* ====================================================================
   HPVFC Global Responsive & Font Icon Additions (V117)
   ==================================================================== */

/* Header Vector Font Icons & Guest Welcome Block Responsiveness */
#panel .upper {
  padding: 8px 0 !important;
  box-sizing: border-box !important;
}

#panel .upper .wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

#panel .upper .wrapper form {
  margin: 0 !important;
  float: none !important;
}

#panel .upper .wrapper #search {
  margin: 0 !important;
  float: none !important;
}

#panel .upper .welcome {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px 12px !important;
  font-size: 13px !important;
  float: none !important;
}

#panel .upper a.login,
#panel .upper a.logout,
#panel .upper a.register {
  background: none !important;
  background-image: none !important;
  padding-left: 18px !important;
  padding-right: 0 !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #38bdf8 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s ease-in-out !important;
}

#panel .upper a.login:hover,
#panel .upper a.logout:hover,
#panel .upper a.register:hover {
  color: #0284c7 !important;
}

#panel .upper a.login::before {
  content: "\f2f6" !important; /* fa-sign-in-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 13px !important;
}

#panel .upper a.logout::before {
  content: "\f2f5" !important; /* fa-sign-out-alt */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 13px !important;
}

#panel .upper a.register::before {
  content: "\f234" !important; /* fa-user-plus */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 13px !important;
}

@media screen and (max-width: 768px) {
  #panel .upper {
    padding: 8px 14px !important;
  }

  #panel .upper .wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }
  
  #panel .upper .welcome {
    justify-content: center !important;
    width: 100% !important;
  }
}

/* Portal Page Mobile Responsive Sidebar Hiding (Fixed Specificity Override) */
@media screen and (max-width: 768px) {
  .portal_table {
    display: flex !important;
    flex-direction: column !important;
  }
  .portal_table td.portal_sidebar {
    display: none !important;
  }
  .portal_table td.portal_spacer {
    display: none !important;
  }
  .portal_table td.portal_content {
    width: 100% !important;
  }
}

/* Portal Page Announcement Meta Avatar */
.portal_announcement_meta {
  display: inline-flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 8px !important;
}

.portal_announcement_meta_avatar {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  margin-right: 4px !important;
  vertical-align: middle !important;
  display: inline-block !important;
  border: 1px solid var(--dark-border, #334155) !important;
  object-fit: cover !important;
  background: var(--dark-bg-card, #1e293b) !important;
}

/* Post Action Buttons Alignment & Specificity Override */
.post_action_group .post_action_btn,
.post_action_group a.post_action_btn,
span.post_action_group a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
  float: none !important;
  margin: 0 !important;
}

.post_action_group .post_action_btn i,
.post_action_group a.post_action_btn i,
span.post_action_group a i {
  display: inline-block !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* High specificity overrides to ensure print/share buttons inside trow1/trow2 are flex items and center vector icons */
td.trow1 .post_action_group a.post_action_btn,
td.trow2 .post_action_group a.post_action_btn,
td.trow1 span.smalltext .post_action_group a.post_action_btn,
td.trow2 span.smalltext .post_action_group a.post_action_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
  float: none !important;
  margin: 0 !important;
}

td.trow1 .post_action_group a.post_action_btn i,
td.trow2 .post_action_group a.post_action_btn i,
td.trow1 span.smalltext .post_action_group a.post_action_btn i,
td.trow2 span.smalltext .post_action_group a.post_action_btn i {
  display: inline-block !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* ====================================================================
   HPVFC Modern Theme Layer
   Keep MyBB templates and plugin hooks intact; this layer modernizes the
   presentation without changing forum behavior.
   ==================================================================== */
:root {
  --hp-bg: #0b0f19;
  --hp-surface: #111827;
  --hp-surface-raised: #17233f;
  --hp-surface-hover: #1e2c4d;
  --hp-border: #26334d;
  --hp-border-subtle: #334155;
  --hp-text: #e5edf7;
  --hp-text-muted: #94a3b8;
  --hp-text-subtle: #64748b;
  --hp-primary: #38bdf8;
  --hp-primary-hover: #7dd3fc;
  --hp-success: #22c55e;
  --hp-warning: #f59e0b;
  --hp-danger: #ef4444;
  --hp-radius-sm: 6px;
  --hp-radius-md: 8px;
  --hp-radius-lg: 12px;
  --hp-shadow-sm: 0 1px 2px rgba(0, 0, 0, .18);
  --hp-shadow-md: 0 8px 24px rgba(0, 0, 0, .18);
  --hp-space-1: 4px;
  --hp-space-2: 8px;
  --hp-space-3: 12px;
  --hp-space-4: 16px;
  --hp-space-5: 24px;
  --hp-space-6: 32px;
  --hp-space-7: 40px;
  --hp-space-8: 48px;
}

@media (prefers-color-scheme: light) {
  body.hp-light-mode,
  body[data-theme="light"] {
    --hp-bg: #f8fafc;
    --hp-surface: #ffffff;
    --hp-surface-raised: #f1f5f9;
    --hp-surface-hover: #e2e8f0;
    --hp-border: #d8e0eb;
    --hp-border-subtle: #cbd5e1;
    --hp-text: #172033;
    --hp-text-muted: #526176;
    --hp-text-subtle: #64748b;
    --hp-primary: #0369a1;
    --hp-primary-hover: #075985;
  }
}

body,
body#mybb {
  background: var(--hp-bg) !important;
  color: var(--hp-text) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  text-rendering: optimizeLegibility;
}

#container,
#content,
.wrapper {
  background: transparent !important;
  color: var(--hp-text) !important;
}

.wrapper {
  width: min(95%, 1400px) !important;
  max-width: 1400px !important;
}

a:link,
a:visited {
  color: var(--hp-primary) !important;
  text-decoration-thickness: .08em;
  text-underline-offset: 2px;
}

a:hover,
a:active {
  color: var(--hp-primary-hover) !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--hp-primary) 55%, transparent) !important;
  outline-offset: 2px !important;
}

#logo {
  background: var(--hp-bg) !important;
  border-bottom: 1px solid var(--hp-border) !important;
  padding: var(--hp-space-4) 0 !important;
}

#logo img {
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain !important;
}

#header ul.menu,
#header ul.menu.top_links,
#logo ul.top_links,
#panel .lower ul.menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: var(--hp-space-2) !important;
  float: none !important;
  margin: 0 !important;
  padding: var(--hp-space-2) 0 !important;
}

#header ul.menu li,
#logo ul.top_links li,
#panel .lower ul.menu li {
  margin: 0 !important;
}

#header ul.menu li a,
#logo ul.top_links li a,
#panel .lower ul.menu li a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
  border-radius: var(--hp-radius-sm) !important;
  color: var(--hp-text-muted) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background-color .16s ease, color .16s ease !important;
}

#header ul.menu li a:hover,
#panel .lower ul.menu li a:hover {
  background: var(--hp-surface-hover) !important;
  color: var(--hp-text) !important;
}

#panel .upper,
#panel .lower {
  background: var(--hp-surface) !important;
  border-color: var(--hp-border) !important;
  color: var(--hp-text-muted) !important;
}

#panel .upper .wrapper,
#panel .lower .wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--hp-space-3) !important;
  min-height: 40px !important;
}

.navigation,
.breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin: var(--hp-space-4) 0 !important;
  color: var(--hp-text-muted) !important;
  font-size: 13px !important;
}

.navigation a,
.breadcrumb a {
  color: var(--hp-text-muted) !important;
}

.thead,
.tcat {
  background: var(--hp-surface) !important;
  border: 1px solid var(--hp-border) !important;
  border-bottom-color: var(--hp-border-subtle) !important;
  color: var(--hp-text) !important;
  font-weight: 700 !important;
}

.thead {
  border-radius: var(--hp-radius-lg) var(--hp-radius-lg) 0 0 !important;
  padding: var(--hp-space-3) var(--hp-space-4) !important;
  letter-spacing: .01em;
}

.tcat {
  padding: var(--hp-space-3) var(--hp-space-4) !important;
}

.trow1,
.trow2,
.trow_shaded {
  background: var(--hp-surface) !important;
  border-color: var(--hp-border) !important;
  color: var(--hp-text) !important;
  transition: background-color .16s ease !important;
}

/* The modern forum index intentionally uses one surface for every row. */
table.forum_category_table td.trow1,
table.forum_category_table td.trow2 {
  background: var(--hp-surface) !important;
  background-color: var(--hp-surface) !important;
}

.tborder {
  background: var(--hp-border) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-lg) !important;
  box-shadow: var(--hp-shadow-sm) !important;
  overflow: hidden !important;
}

.tborder td {
  border-color: var(--hp-border) !important;
}

.forumdisplay_regular td,
.forumdisplay_sticky td,
.inline_row td {
  padding: var(--hp-space-3) var(--hp-space-4) !important;
  vertical-align: middle !important;
}

.forumdisplay_regular .subject,
.forumdisplay_sticky .subject,
.forumdisplay_regular .col_subject,
.forumdisplay_sticky .col_subject {
  font-weight: 650 !important;
}

.forumdisplay_regular .author,
.forumdisplay_sticky .author,
.lastpost_info,
.lastpost_date,
.lastpost_author,
.smalltext {
  color: var(--hp-text-muted) !important;
}

.lastpost_cell_container {
  display: flex !important;
  align-items: center !important;
  gap: var(--hp-space-2) !important;
  min-width: 0 !important;
}

.lastpost_info {
  min-width: 0 !important;
}

.post {
  display: grid !important;
  grid-template-columns: minmax(210px, 25%) minmax(0, 1fr) !important;
  grid-template-areas: "author content" "controls controls" !important;
  overflow: hidden !important;
  background: var(--hp-surface) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-lg) !important;
  box-shadow: var(--hp-shadow-sm) !important;
  margin: 0 0 var(--hp-space-4) !important;
}

.post .post_author {
  grid-area: author !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: var(--hp-space-5) !important;
  background: var(--hp-surface-raised) !important;
  border: 0 !important;
  border-right: 1px solid var(--hp-border) !important;
  overflow: hidden !important;
}

.post .post_content {
  grid-area: content !important;
  min-width: 0 !important;
  width: auto !important;
  padding: var(--hp-space-5) !important;
  background: var(--hp-surface) !important;
  border: 0 !important;
}

.post .post_head {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: var(--hp-space-2) !important;
  min-height: 28px !important;
  padding-bottom: var(--hp-space-3) !important;
  border-bottom: 1px solid var(--hp-border) !important;
  color: var(--hp-text-muted) !important;
}

.post .post_body {
  max-width: 78ch !important;
  padding: var(--hp-space-4) 0 !important;
  color: var(--hp-text) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

.post .post_body img,
.post .signature img {
  max-width: 100% !important;
  height: auto !important;
}

.post .post_controls {
  grid-area: controls !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: var(--hp-space-2) !important;
  padding: var(--hp-space-3) var(--hp-space-4) !important;
  background: var(--hp-surface-raised) !important;
  border-top: 1px solid var(--hp-border) !important;
}

.author_avatar img {
  border-radius: var(--hp-radius-md) !important;
  box-shadow: var(--hp-shadow-sm) !important;
}

.author_information,
.author_statistics {
  color: var(--hp-text-muted) !important;
}

.author_information .largetext {
  display: inline-block !important;
  margin-bottom: var(--hp-space-1) !important;
  color: var(--hp-text) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  overflow-wrap: anywhere !important;
}

.author_statistics {
  margin-top: var(--hp-space-4) !important;
  padding-top: var(--hp-space-3) !important;
  border-top: 1px solid var(--hp-border) !important;
  font-size: 12px !important;
  line-height: 1.65 !important;
}

.button,
input.button,
input[type="submit"],
input[type="button"],
button {
  min-height: 36px !important;
  padding: 7px 13px !important;
  border: 1px solid var(--hp-border-subtle) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface-raised) !important;
  color: var(--hp-text) !important;
  font: inherit !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease !important;
}

.button:hover,
input.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
  background: var(--hp-surface-hover) !important;
  border-color: var(--hp-primary) !important;
  color: var(--hp-primary-hover) !important;
}

input.textbox,
textarea,
select {
  min-height: 38px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
  border: 1px solid var(--hp-border-subtle) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-bg) !important;
  color: var(--hp-text) !important;
}

textarea {
  min-height: 120px !important;
}

blockquote {
  margin: var(--hp-space-4) 0 !important;
  padding: var(--hp-space-4) var(--hp-space-5) !important;
  border: 1px solid var(--hp-border) !important;
  border-left: 3px solid var(--hp-primary) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface-raised) !important;
  color: var(--hp-text-muted) !important;
}

.codeblock,
pre {
  max-width: 100% !important;
  overflow: auto !important;
  padding: var(--hp-space-4) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) !important;
  background: #080c14 !important;
  color: #cbd5e1 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.pagination {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: var(--hp-space-2) !important;
  align-items: center !important;
}

.pagination a,
.pagination .pagination_current {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 34px !important;
  min-height: 34px !important;
  padding: 5px 9px !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-sm) !important;
  background: var(--hp-surface) !important;
  color: var(--hp-text-muted) !important;
  text-decoration: none !important;
}

.pagination a:hover,
.pagination .pagination_current {
  border-color: var(--hp-primary) !important;
  background: var(--hp-surface-hover) !important;
  color: var(--hp-primary-hover) !important;
}

.alert,
.pm_alert,
.notice {
  padding: var(--hp-space-3) var(--hp-space-4) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface-raised) !important;
  color: var(--hp-text-muted) !important;
}

#footer {
  margin-top: var(--hp-space-8) !important;
  border-top: 1px solid var(--hp-border) !important;
  background: var(--hp-surface) !important;
  color: var(--hp-text-muted) !important;
}

@media (max-width: 768px) {
  .wrapper {
    width: calc(100% - 24px) !important;
  }

  #panel .upper .wrapper,
  #panel .lower .wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #header ul.menu,
  #header ul.menu.top_links,
  #logo ul.top_links,
  #panel .lower ul.menu {
    justify-content: center !important;
  }

  .tborder {
    border-radius: var(--hp-radius-md) !important;
  }

  .post {
    display: block !important;
    overflow: visible !important;
  }

  .post .post_author {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) minmax(110px, auto) !important;
    gap: 3px !important;
    padding: 3px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--hp-border) !important;
  }

  .post .post_content {
    padding: var(--hp-space-4) !important;
  }

  .post .post_controls {
    align-items: stretch !important;
  }

  .post .postbit_buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: var(--hp-space-2) !important;
    float: none !important;
  }

  .forumdisplay_regular td,
  .forumdisplay_sticky td,
  .inline_row td {
    padding: var(--hp-space-3) !important;
  }
}

@media (max-width: 520px) {
  .post .post_author {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  .post .post_author .author_statistics {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    margin-top: var(--hp-space-2) !important;
    padding: var(--hp-space-2) 0 0 !important;
    border-top: 1px solid var(--hp-border) !important;
    border-left: 0 !important;
  }

  .post .post_body {
    font-size: 14px !important;
  }

  .forumdisplay_regular .col_replies,
  .forumdisplay_regular .col_views,
  .forumdisplay_sticky .col_replies,
  .forumdisplay_sticky .col_views {
    display: none !important;
  }
}

@supports selector(tr:has(> td.col_forum)) {
  @media (max-width: 768px) {
    tr:has(> td.col_forum) {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto !important;
      align-items: center !important;
      border-bottom: 1px solid var(--hp-border) !important;
    }

    tr:has(> td.col_forum) > td.col_status {
      display: none !important;
    }

    tr:has(> td.col_forum) > td.col_forum {
      grid-column: 1 !important;
      grid-row: 1 !important;
      min-width: 0 !important;
      width: auto !important;
      text-align: left !important;
    }

    tr:has(> td.col_forum) > td.col_threads,
    tr:has(> td.col_forum) > td.col_posts {
      display: inline-flex !important;
      grid-row: 1 !important;
      width: auto !important;
      padding: 8px !important;
      color: var(--hp-text-muted) !important;
      font-size: 12px !important;
    }

    tr:has(> td.col_forum) > td.col_threads {
      grid-column: 2 !important;
    }

    tr:has(> td.col_forum) > td.col_posts {
      display: none !important;
    }

    tr:has(> td.col_forum) > td.col_lastpost {
      grid-column: 1 / -1 !important;
      grid-row: 2 !important;
      width: auto !important;
      padding: 0 var(--hp-space-4) var(--hp-space-3) !important;
      text-align: left !important;
    }

    tr.tcat_row:has(> td.col_forum) > td.col_threads,
    tr.tcat_row:has(> td.col_forum) > td.col_posts,
    tr.tcat_row:has(> td.col_forum) > td.col_lastpost {
      display: none !important;
    }
  }
}

/* Shared panels used by profiles, User CP, Mod CP, search, and messages. */
.panel,
.form_container,
.pm_box,
.usercp_nav,
.tborder + .tborder {
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-lg) !important;
  background: var(--hp-surface) !important;
  box-shadow: var(--hp-shadow-sm) !important;
}

.panel .thead,
.form_container .thead,
.pm_box .thead {
  border: 0 !important;
  border-bottom: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-lg) var(--hp-radius-lg) 0 0 !important;
}

.fieldset,
fieldset {
  margin: 0 0 var(--hp-space-4) !important;
  padding: var(--hp-space-4) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface) !important;
}

fieldset legend {
  padding: 0 var(--hp-space-2) !important;
  color: var(--hp-text) !important;
  font-weight: 700 !important;
}

label,
.form_row label,
.smalltext strong {
  color: var(--hp-text-muted) !important;
  font-weight: 650 !important;
}

.usercp_nav_item,
.modcp_nav_item {
  display: block !important;
  padding: 10px 12px !important;
  border-radius: var(--hp-radius-sm) !important;
  color: var(--hp-text-muted) !important;
  text-decoration: none !important;
}

.usercp_nav_item:hover,
.modcp_nav_item:hover,
.usercp_nav_item.active,
.modcp_nav_item.active {
  background: var(--hp-surface-hover) !important;
  color: var(--hp-primary-hover) !important;
}

.popup_menu,
.modal,
.dropdown-menu {
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface) !important;
  box-shadow: var(--hp-shadow-md) !important;
  color: var(--hp-text) !important;
}

.popup_menu a,
.dropdown-menu a {
  display: block !important;
  padding: 8px 10px !important;
  color: var(--hp-text-muted) !important;
  text-decoration: none !important;
}

.popup_menu a:hover,
.dropdown-menu a:hover {
  background: var(--hp-surface-hover) !important;
  color: var(--hp-text) !important;
}

/* Plugin-facing surfaces: preserve markup while removing legacy visual assets. */
.usercp_nav_myalerts,
.usercp_nav_myalerts_delete_all,
.usercp_nav_myalerts_delete_read {
  background-image: none !important;
  padding: 10px 12px !important;
  border: 1px solid transparent !important;
  border-radius: var(--hp-radius-sm) !important;
}

.usercp_nav_myalerts:hover,
.usercp_nav_myalerts_delete_all:hover,
.usercp_nav_myalerts_delete_read:hover,
.alerts--new a {
  color: var(--hp-primary-hover) !important;
}

.newAlerts > a {
  color: var(--hp-primary) !important;
  font-weight: 700 !important;
}

#myalerts_alerts_modal {
  width: min(460px, calc(100vw - 32px)) !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.alert--read.alert {
  opacity: .65 !important;
}

.alert-row__no-alerts td {
  padding: var(--hp-space-6) !important;
  color: var(--hp-text-muted) !important;
  text-align: center !important;
}

.editor_control_bar,
.codebuttons {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: var(--hp-space-2) !important;
  padding: var(--hp-space-2) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) var(--hp-radius-md) 0 0 !important;
  background: var(--hp-surface-raised) !important;
}

.editor_control_bar button,
.editor_control_bar select,
.codebuttons button,
.codebuttons select {
  width: auto !important;
  min-height: 32px !important;
  padding: 5px 8px !important;
  font-size: 12px !important;
}

.pollbar {
  height: 12px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--hp-primary), #818cf8) !important;
}

.pollbar .percent {
  color: var(--hp-text) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.attachment,
.attach_box,
.post_attachments {
  max-width: 100% !important;
  margin: var(--hp-space-4) 0 !important;
  padding: var(--hp-space-3) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface-raised) !important;
  overflow-wrap: anywhere !important;
}

img.attachment,
.attachment img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: var(--hp-radius-sm) !important;
}

/* Remove decorative legacy sprites from active controls. Content images and
   user-uploaded avatars remain untouched. */
#header ul.menu li a,
.button,
a.button,
.postbit_buttons > a,
.forum_status,
.folder,
.newfolder,
.dot_folder,
.dot_newfolder,
.expcolimage,
.jump,
.modal a.close-modal {
  background-image: none !important;
}

.modal a.close-modal {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  color: var(--hp-text-muted) !important;
  font-size: 0 !important;
}

.modal a.close-modal::before {
  content: "\\00d7" !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

@media (max-width: 520px) {
  .editor_control_bar,
  .codebuttons {
    gap: 4px !important;
  }

  .editor_control_bar button,
  .editor_control_bar select,
  .codebuttons button,
  .codebuttons select {
    flex: 1 1 auto !important;
    max-width: 100% !important;
  }
}

img[src*="images/icons/"],
img.expander,
img.sort_arrow,
img[src*="images/"].forum_status {
  opacity: .86 !important;
}

@media (max-width: 768px) {
  fieldset,
  .fieldset,
  .panel,
  .form_container,
  .pm_box {
    border-radius: var(--hp-radius-md) !important;
  }

  input.textbox,
  textarea,
  select,
  input.button,
  input[type="submit"],
  input[type="button"] {
    width: 100% !important;
  }

  .button,
  button {
    max-width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Final narrow-screen safeguards. These selectors intentionally include the
   classic post variant because its more-specific legacy rules otherwise win
   over the compact two-row author layout. */
@media (max-width: 520px) {
  #logo ul.top_links {
    justify-content: center !important;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    box-sizing: border-box !important;
    margin: 8px auto !important;
  }

  #logo ul.top_links li a {
    min-height: 34px !important;
    padding: 5px 6px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  #panel .upper .welcome {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px 8px !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #panel .upper .welcome a {
    margin-left: 0 !important;
  }

  .post .post_author,
  .post.classic .post_author {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    column-gap: 6px !important;
    padding: 4px !important;
    overflow: hidden !important;
  }

  .post .post_author div.author_avatar,
  .post.classic .post_author div.author_avatar {
    width: 68px !important;
  }

  .post .post_author div.author_avatar img,
  .post.classic .post_author div.author_avatar img {
    width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    padding: 4px !important;
    box-sizing: content-box !important;
    object-fit: cover !important;
  }

  .post .post_author div.author_information,
  .post.classic .post_author div.author_information {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .post .post_author div.author_statistics,
  .post.classic .post_author div.author_statistics {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 6px 0 0 !important;
    padding: 6px 0 0 !important;
    border-top: 1px solid var(--hp-border) !important;
    border-left: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .post .post_content,
  .post .post_body,
  .post .post_body table,
  .post .post_body pre,
  .post .post_body iframe,
  .post .post_body video {
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }

  .post .post_body table {
    display: block !important;
    overflow-x: auto !important;
  }
}

@media (max-width: 768px) {
  /* MyBB leaves several forum tables widthless. Make their mobile grid
     tracks shrink to the viewport instead of preserving desktop content width. */
  .forum_category_table,
  .forumdisplay_table,
  #posts_container > .tborder {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    table-layout: auto !important;
  }

  #posts_container > .tborder,
  .tborder {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  tr:has(> td.col_forum) > td.col_forum,
  tr:has(> td.col_forum) > td.col_lastpost,
  tr:has(> td.col_forum) > td.col_forum .smalltext,
  tr:has(> td.col_forum) > td.col_forum a {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
  }

  /* Calendar markup is an eight-column desktop grid. Keep all days usable in
     a contained horizontal scroller rather than letting the page crop them. */
  table.tborder:has(td.thead[colspan="8"]) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  table.tborder:has(td.thead[colspan="8"]) > thead,
  table.tborder:has(td.thead[colspan="8"]) > tbody {
    display: table !important;
    width: 720px !important;
    min-width: 720px !important;
    table-layout: fixed !important;
  }
}

/* Thread surfaces: pagination, ratings, reply actions, footer navigation,
   and moderation controls share one predictable component language. */
.pagination {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  width: auto !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.pagination .pages {
  flex: 0 0 auto !important;
  margin-right: 4px !important;
  color: var(--hp-text-muted) !important;
  font-weight: 700 !important;
}

.pagination a,
.pagination .pagination_current,
.pagination .go_page {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 32px !important;
  min-height: 32px !important;
  box-sizing: border-box !important;
  padding: 4px 7px !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-sm) !important;
  background: var(--hp-surface) !important;
  color: var(--hp-text-muted) !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

.pagination a:hover,
.pagination .pagination_current,
.pagination .go_page:hover {
  border-color: var(--hp-primary) !important;
  background: var(--hp-surface-hover) !important;
  color: var(--hp-primary-hover) !important;
}

.pagination .go_page {
  width: 32px !important;
  padding: 0 !important;
}

.pagination .drop_go_page {
  display: none !important;
}

.inline_rating {
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  float: none !important;
  min-height: 24px !important;
  padding: 0 !important;
  color: var(--hp-text-muted) !important;
}

.inline_rating > strong {
  float: none !important;
  padding-right: 0 !important;
  color: var(--hp-text) !important;
}

.star_rating {
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  width: auto !important;
  min-width: 92px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  list-style: none !important;
}

.star_rating li {
  position: relative !important;
  display: inline-flex !important;
  width: 15px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.star_rating li a.one_star,
.star_rating li a.two_stars,
.star_rating li a.three_stars,
.star_rating li a.four_stars,
.star_rating li a.five_stars {
  position: relative !important;
  inset: auto !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 15px !important;
  height: 20px !important;
  overflow: visible !important;
  border: 0 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-decoration: none !important;
}

.star_rating li a.one_star::before,
.star_rating li a.two_stars::before,
.star_rating li a.three_stars::before,
.star_rating li a.four_stars::before,
.star_rating li a.five_stars::before {
  content: "\f005" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #64748b !important;
}

.star_rating li a:hover::before {
  color: var(--hp-primary) !important;
  font-weight: 900 !important;
}

.star_rating .current_rating {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  z-index: 3 !important;
  display: block !important;
  width: auto;
  height: 20px !important;
  overflow: hidden !important;
  pointer-events: none !important;
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px !important;
  white-space: nowrap !important;
}

.star_rating .current_rating::before {
  content: "\f005\f005\f005\f005\f005" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 3px !important;
  line-height: 20px !important;
  color: #f59e0b !important;
}

/* The not-yet-rated overlay contains hidden helper text such as
   "0 Vote(s)". Keep that implementation detail out of the visual stars. */
.star_rating.star_rating_notrated .current_rating {
  display: none !important;
}

a.button.new_reply_button,
a.button.new_thread_button,
.new_reply_button,
.new_thread_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 38px !important;
  padding: 8px 13px !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface-raised) !important;
  color: var(--hp-text) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

a.button.new_reply_button span,
a.button.new_thread_button span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  background: none !important;
}

a.button.new_reply_button span::before {
  content: "\f075" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: var(--hp-primary) !important;
}

a.button.new_thread_button span::before {
  content: "\f067" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  color: var(--hp-primary) !important;
}

a.button.new_reply_button:hover,
a.button.new_thread_button:hover {
  border-color: var(--hp-primary) !important;
  background: var(--hp-surface-hover) !important;
  color: var(--hp-primary-hover) !important;
}

.post {
  align-items: start !important;
}

.post .post_author {
  align-self: start !important;
}

@media (min-width: 769px) {
  .post .post_author,
  .post.classic .post_author {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-content: start !important;
    align-items: start !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    box-sizing: border-box !important;
  }

  .post .post_author div.author_avatar,
  .post.classic .post_author div.author_avatar {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 72px !important;
    margin: 0 !important;
    float: none !important;
    text-align: center !important;
  }

  .post .post_author div.author_information,
  .post.classic .post_author div.author_information {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 3px 0 0 !important;
    float: none !important;
  }

  .post .post_author div.author_statistics,
  .post.classic .post_author div.author_statistics {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 8px 0 0 !important;
    border-top: 1px solid var(--hp-border) !important;
    border-left: 0 !important;
    float: none !important;
    text-align: left !important;
  }
}

.thread_tfoot_wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: var(--hp-space-3) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: var(--hp-space-3) !important;
  border: 1px solid var(--hp-border) !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface-raised) !important;
}

.thread_nav_links {
  color: var(--hp-text-muted) !important;
}

.thread_nav_links a {
  color: var(--hp-primary) !important;
  font-weight: 700 !important;
}

.thread_search_form {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: var(--hp-space-2) !important;
  margin-left: auto !important;
}

.thread_search_form input.textbox {
  width: min(240px, 100%) !important;
  box-sizing: border-box !important;
}

.thread_mod_controls_container {
  display: grid !important;
  grid-template-columns: minmax(200px, .75fr) minmax(0, 1.25fr) !important;
  align-items: start !important;
  gap: var(--hp-space-6) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: var(--hp-space-4) 0 !important;
}

.thread_tools {
  display: grid !important;
  gap: 4px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.thread_mod_controls_container > form,
.thread_mod_controls_container > div:not(.float_left) {
  min-width: 0 !important;
  margin: 0 !important;
}

.mod_control_row {
  display: grid !important;
  grid-template-columns: minmax(135px, auto) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: var(--hp-space-2) !important;
  margin-bottom: var(--hp-space-3) !important;
}

.mod_control_inputs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: var(--hp-space-2) !important;
  min-width: 0 !important;
}

.mod_control_inputs select {
  min-width: 0 !important;
  flex: 1 1 190px !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .inline_rating {
    justify-content: flex-start !important;
  }

  .thread_tfoot_wrapper {
    align-items: stretch !important;
  }

  .thread_nav_links,
  .thread_search_form {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .thread_search_form input.textbox {
    flex: 1 1 180px !important;
  }

  .thread_mod_controls_container {
    grid-template-columns: 1fr !important;
    gap: var(--hp-space-4) !important;
  }

  .thread_tools {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  }

  .mod_control_row {
    grid-template-columns: 1fr !important;
    align-items: stretch !important;
  }

  .mod_control_inputs select {
    flex-basis: 100% !important;
  }
}

/* Final author-card polish for the dark post layout. The author rail is a
   supporting identity card, so it should be distinct without competing with
   the post body. */
.post .post_author,
.post.classic .post_author {
  background: #151f35 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-right: 1px solid #2a3a5c !important;
  color: var(--hp-text) !important;
}

.post .post_author div.author_avatar img,
.post.classic .post_author div.author_avatar img {
  width: 64px !important;
  height: 64px !important;
  max-width: 64px !important;
  padding: 4px !important;
  box-sizing: content-box !important;
  border: 1px solid #3a4b70 !important;
  border-radius: var(--hp-radius-md) !important;
  background: var(--hp-surface) !important;
  object-fit: cover !important;
}

.post .post_author div.author_information,
.post.classic .post_author div.author_information {
  line-height: 1.35 !important;
}

.post .post_author div.author_information .largetext,
.post.classic .post_author div.author_information .largetext {
  display: inline-block !important;
  line-height: 1.25 !important;
}

.post .post_author div.author_information .smalltext,
.post.classic .post_author div.author_information .smalltext {
  display: inline-block !important;
  margin-top: 3px !important;
  line-height: 1.35 !important;
}

.post .post_author div.author_statistics,
.post.classic .post_author div.author_statistics {
  color: var(--hp-text-muted) !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
}

.post .post_author div.author_statistics a {
  color: var(--hp-primary) !important;
}

@media (max-width: 520px) {
  .post .post_author,
  .post.classic .post_author {
    border-right: 0 !important;
    border-bottom: 1px solid #2a3a5c !important;
  }
}
