/* ═══════════════════════════════════════════════════════════
   Photonamus Industries — Charcoal & Gold (Default)
   ═══════════════════════════════════════════════════════════ */

:root {
  --pn-outer:      #1e1e1e;
  --pn-base:       #121212;
  --pn-elevated:   #1a1a1a;
  --pn-panel:      #181818;
  --pn-card:       #1e1e1e;
  --pn-accent:     #D4A017;
  --pn-accent-dim: #8B7332;
  --pn-hover:      #E8B92D;
  --pn-text:       #E8DCCA;
  --pn-text-dim:   #A89880;
  --pn-border:     #2a2a2a;
  --pn-border-mid: #333333;
  --pn-row-alt:    #161616;
  --pn-font:       'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
	background: var(--pn-outer);
	color: var(--pn-text);
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: var(--pn-font);
	font-size: 13px;
	overflow-y: scroll;
}

a:link {
	color: var(--pn-accent);
	text-decoration: none;
}

a:visited {
	color: var(--pn-accent);
	text-decoration: none;
}

a:hover,
a:active {
	color: var(--pn-hover);
	text-decoration: underline;
}

#container {
	color: var(--pn-text);
	text-align: left;
	line-height: 1.4;
	margin: 0;
	font-family: var(--pn-font);
	font-size: 13px;
	min-width: 0;
}

.wrapper {
	width: 85%;
	min-width: 0;
	max-width: 1500px;
	margin: auto auto;
}

#logo {
	background: var(--pn-panel);
	padding: 10px 0;
	border-bottom: 1px solid var(--pn-border);
	text-align: center;
}

#content {
	background: var(--pn-outer);
	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:link,
#logo ul.top_links a:visited {
	color: var(--pn-text);
}

#logo ul.top_links a:hover {
	color: var(--pn-accent);
}

#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: var(--pn-panel);
	color: var(--pn-text);
	border-top: 1px solid var(--pn-border-mid);
	border-bottom: 1px solid var(--pn-border);
	padding: 7px;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: var(--pn-accent);
}

#panel .lower {
	background: var(--pn-elevated);
	color: var(--pn-text-dim);
	border-top: 1px solid var(--pn-border);
	border-bottom: 1px solid var(--pn-border);
	padding: 5px;
}

#panel .lower a:link,
#panel .lower a:visited {
	color: var(--pn-text-dim);
}

#panel .lower a:hover,
#panel .lower a:active {
	color: var(--pn-accent);
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: var(--pn-border-mid);
}

#search input.button {
	background: var(--pn-panel);
	color: var(--pn-accent);
}

#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: var(--pn-elevated);
	border-top: 1px solid var(--pn-border);
	border-bottom: 1px solid var(--pn-border);
	padding: 6px;
	font-size: 12px;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	color: var(--pn-text-dim);
}

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border-color: var(--pn-border-mid);
}

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select {
	border-color: var(--pn-border-mid);
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

#footer .lower {
	color: var(--pn-text-dim);
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: var(--pn-accent);
	font-weight: bold;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: var(--pn-hover);
	text-decoration: underline;
	font-weight: bold;
}

#footer .lower #current_time {
	float: right;
	color: var(--pn-text-dim);
}

#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: var(--pn-text);
	font-size: 13px;
}

.tborder {
	background: var(--pn-base);
	width: 100%;
	margin: auto auto;
	border: 1px solid var(--pn-border);
	padding: 1px;
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
	background: var(--pn-panel);
	color: var(--pn-accent);
	border-bottom: 1px solid var(--pn-accent-dim);
	padding: 8px;
}

.thead a:link {
	color: var(--pn-accent);
	text-decoration: none;
}

.thead a:visited {
	color: var(--pn-accent);
	text-decoration: none;
}

.thead a:hover,
.thead a:active {
	color: var(--pn-hover);
	text-decoration: underline;
}

.tcat {
	background: var(--pn-elevated);
	color: var(--pn-text-dim);
	border-top: 1px solid var(--pn-border-mid);
	border-bottom: 1px solid var(--pn-border);
	padding: 6px;
	font-size: 12px;
}

.tcat a:link {
	color: var(--pn-text-dim);
}

.tcat a:visited {
	color: var(--pn-text-dim);
}

.tcat a:hover,
.tcat a:active {
	color: var(--pn-accent);
}

.trow1 {
	background: var(--pn-elevated);
	border: 1px solid;
	border-color: var(--pn-border) var(--pn-border) var(--pn-border) var(--pn-border);
}

.trow2 {
	background: var(--pn-row-alt);
	border: 1px solid;
	border-color: var(--pn-border) var(--pn-border) var(--pn-border) var(--pn-border);
}

.trow_shaded {
	background: #2a1a1a;
	border: 1px solid;
	border-color: #3a2a2a #3a2a2a #3a2a2a #3a2a2a;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #2a1a1a;
}

.thread_start_datetime {
	color: var(--pn-text-dim);
}

.post.unapproved_post .post_author {
	border-bottom-color: #3a2a2a;
}

.post.classic.unapproved_post .post_author {
	border-color: #3a2a2a;
}

.post.unapproved_post .post_controls {
	border-top-color: #3a2a2a;
}

.trow_deleted,
.post.deleted_post {
	background: #1a1a2a;
}

.trow_selected,
tr.trow_selected td {
	background: #2a2a1a;
	color: var(--pn-text);
	border-right-color: var(--pn-accent-dim);
	border-bottom-color: var(--pn-accent-dim);
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: var(--pn-text);
}

.trow_sep {
	background: var(--pn-border);
	color: var(--pn-text);
	border-bottom: 1px solid var(--pn-border-mid);
	padding: 6px;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	border-top: 1px solid var(--pn-border);
	padding: 6px;
	background: var(--pn-panel);
	color: var(--pn-text-dim);
}

.tfoot a:link {
	color: var(--pn-accent-dim);
	text-decoration: none;
}

.tfoot a:visited {
	color: var(--pn-accent-dim);
	text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
	color: var(--pn-accent);
	text-decoration: underline;
}

.thead input.textbox,
.thead select {
	border: 1px solid var(--pn-border-mid);
}

.bottommenu {
	background: var(--pn-elevated);
	color: var(--pn-text);
	border: 1px solid var(--pn-border);
	padding: 10px;
}

.navigation {
	color: var(--pn-text-dim);
	font-size: 12px;
}

.navigation a:link {
	color: var(--pn-accent);
	text-decoration: none;
}

.navigation a:visited {
	color: var(--pn-accent);
	text-decoration: none;
}

.navigation a:hover,
.navigation a:active {
	color: var(--pn-hover);
	text-decoration: underline;
}

.navigation .active {
	color: var(--pn-text);
	font-size: small;
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
	color: var(--pn-text-dim);
}

.largetext {
	font-size: 16px;
	font-weight: bold;
	color: var(--pn-text);
}

fieldset {
	padding: 12px;
	border: 1px solid var(--pn-border);
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: var(--pn-border-mid);
}

fieldset.align_right {
	text-align: right;
}

input.textbox {
	background: var(--pn-base);
	color: var(--pn-text);
	border: 1px solid var(--pn-border-mid);
	padding: 3px;
	outline: 0;
	font-size: 13px;
	font-family: var(--pn-font);
}

input.textbox.portal_search {
	width: 68%;
}

textarea {
	background: var(--pn-base);
	color: var(--pn-text);
	border: 1px solid var(--pn-border-mid);
	padding: 2px;
	line-height: 1.4;
	outline: 0;
	font-family: var(--pn-font);
	font-size: 13px;
}

select {
	background: var(--pn-base);
	color: var(--pn-text);
	padding: 3px;
	border: 1px solid var(--pn-border-mid);
	outline: 0;
	font-family: var(--pn-font);
	font-size: 13px;
}

button,
input.button {
	padding: 3px 8px;
	cursor: pointer;
	font-family: var(--pn-font);
	font-size: 13px;
	background: var(--pn-elevated);
	border: 1px solid var(--pn-accent-dim);
	color: var(--pn-accent);
	outline: 0;
}

button:hover,
input.button:hover {
	border-color: var(--pn-accent);
	color: var(--pn-hover);
}

form {
	margin: 0;
	padding: 0;
}

input.error, textarea.error, select.error {
	border: 1px solid #cc4444;
	color: #cc6666;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #4a7c5c;
}

label.error {
	color: #cc6666;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: bold;
	font-size: 11px;
}

form #message {
	width: 500px;
}

.editor {
	background: var(--pn-base);
	border: 1px solid var(--pn-border-mid);
}

.editor_control_bar {
	background: var(--pn-elevated);
	border: 1px solid var(--pn-border-mid);
}

.post .editor_control_bar {
	background: var(--pn-elevated);
}

.popup_menu {
	background: var(--pn-outer);
	border: 1px solid var(--pn-border-mid);
}

.popup_menu .popup_item {
	background: var(--pn-elevated);
	color: var(--pn-text);
}

.popup_menu .popup_item:hover {
	background: var(--pn-accent);
	color: var(--pn-base);
}

.trow_reputation_positive {
	background: #1a2a1a;
}

.trow_reputation_negative {
	background: #2a1a1a;
}

.reputation_positive {
	color: #4a7c5c;
}

.reputation_neutral {
	color: var(--pn-text-dim);
}

.reputation_negative {
	color: #cc4444;
}

.repbox {
	font-size: 16px;
	font-weight: bold;
	padding: 5px 7px 5px 7px;
}

._neutral {
	background-color: var(--pn-elevated);
	color: var(--pn-text-dim);
	border: 1px solid var(--pn-border-mid);
}

._minus {
	background-color: #2a1a1a;
	color: #cc4444;
	border: 1px solid #4a2a2a;
}

._plus {
	background-color: #1a2a1a;
	color: #4a7c5c;
	border: 1px solid #2a4a2a;
}

img {
	border: none;
}

img.attachment {
	border: 1px solid var(--pn-border);
	padding: 2px;
}

hr {
	background-color: var(--pn-border);
	color: var(--pn-border);
	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: #2a2a1a;
	border-bottom: 1px solid var(--pn-accent-dim);
	color: var(--pn-text);
	text-align: center;
}

.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
	margin-top: 3px;
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

.expcolimage img {
	filter: invert(1) brightness(0.7);
}

blockquote {
	border: 1px solid var(--pn-border-mid);
	margin: 0;
	background: var(--pn-base);
	padding: 10px;
	color: var(--pn-text);
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid var(--pn-border);
	font-style: normal;
	display: block;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
	color: var(--pn-accent);
}

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-size: 12px;
	color: var(--pn-text-dim);
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

.codeblock {
	background: var(--pn-base);
	border: 1px solid var(--pn-border-mid);
	padding: 10px;
	color: var(--pn-text);
}

.codeblock .title {
	border-bottom: 1px solid var(--pn-border);
	font-weight: bold;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
	color: var(--pn-text-dim);
}

.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;
	color: var(--pn-text);
}

.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: #2a2a1a;
	padding-top: 3px;
	padding-bottom: 3px;
	color: var(--pn-text);
}

.pm_alert {
	background: var(--pn-outer);
	border: 1px solid var(--pn-accent-dim);
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
	color: var(--pn-accent);
}

.red_alert {
	background: #2a1a1a;
	border: 1px solid #4a2a2a;
	color: #cc6666;
	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: #cc6666;
}

.high_warning {
	color: #cc4444;
}

.moderate_warning {
	color: #cc7733;
}

.low_warning {
	color: #cc8844;
}

.imminent_banned {
	color: #cc4444;
}

.high_banned {
	color: #cc3333;
}

.moderate_banned {
	color: #cc6633;
}

.low_banned {
	color: #4a7c5c;
}

.online {
	color: #4a7c5c;
}

.offline {
	color: #555555;
}

div.error {
	padding: 5px 10px;
	border: 2px solid var(--pn-accent-dim);
	background: #2a2a1a;
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: var(--pn-text);
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #cc6666;
	background: url(images/error.png) no-repeat 0;
}

div.error ul {
	margin-left: 24px;
}

.pagination {
	font-size: 11px;
	padding-top: 10px;
	margin-bottom: 5px;
	color: var(--pn-text-dim);
}

.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: var(--pn-elevated);
	border: 1px solid var(--pn-border);
	color: var(--pn-text);
}

.pagination .pagination_current {
	background: none;
	color: var(--pn-accent);
	border: none;
	font-weight: bold;
}

.pagination a:hover {
	background: var(--pn-accent);
	color: var(--pn-base);
	border-color: var(--pn-accent-dim);
	text-decoration: none;
}

.pagination .go_page img {
	margin-bottom: -4px;
}

.drop_go_page {
	background: var(--pn-elevated);
	padding: 4px;
}

.pagination_breadcrumb {
	background-color: var(--pn-elevated);
	border: 1px solid var(--pn-border);
	outline: 1px solid var(--pn-border-mid);
	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: #4a7c5c;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #cc6666;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 3px solid var(--pn-border-mid);
	padding: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

.ignored_post .show_ignored_post a.button span {
	background-position: 0 -400px;
}

.deleted_post_hidden {
	border-top: 2px solid var(--pn-border);
	padding: 15px;
}

.deleted_post_collapsed {
	border-top: 3px solid var(--pn-border-mid);
	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;
	color: var(--pn-text);
}

.post.classic {
	padding-top: 15px;
}

.post .post_author {
	border-bottom: 1px solid var(--pn-border);
	border-top: 2px solid var(--pn-border);
	background: var(--pn-elevated);
	padding: 5px;
	overflow: hidden;
	color: var(--pn-text);
}

.post.classic .post_author {
	border: 1px solid var(--pn-border);
	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 var(--pn-border);
	background: var(--pn-base);
}

.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: var(--pn-text-dim);
	line-height: 1.3;
}

.post.classic .post_author div.author_statistics {
	border-top: 1px dotted var(--pn-border);
	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 var(--pn-border);
	margin-bottom: 4px;
}

.post .post_head span.post_date {
	color: var(--pn-text-dim);
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: var(--pn-text-dim);
}

.post .post_head span.edited_post a {
	color: var(--pn-text-dim);
}

.post_body {
	font-size: 14px;
	padding: 12px 0;
	color: var(--pn-text);
}

.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 var(--pn-border);
	padding: 10px 0 4px 0;
}

.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: var(--pn-text-dim);
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: var(--pn-accent-dim);
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: var(--pn-accent);
}

.post_controls {
	clear: both;
	background: var(--pn-panel);
	border-bottom: 1px solid var(--pn-border);
	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: var(--pn-elevated);
	border: 1px solid var(--pn-border-mid);
	color: var(--pn-text-dim);
}

.postbit_buttons > a:hover {
	border-color: var(--pn-accent-dim);
	color: var(--pn-accent);
}

.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: var(--pn-panel);
	color: var(--pn-accent);
	display: inline-block;
	padding: 4px 8px;
	margin: 2px 2px 6px 2px;
	border: 1px solid var(--pn-accent-dim);
	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;
	margin-top: -3px;
	border: none;
}

.pollbar {
	background: var(--pn-accent);
	border: 1px solid var(--pn-accent-dim);
	height: 10px;
}

.pollbar .percent {
	display: none;
}

.poll_votedfor {
	background: var(--pn-elevated);
	border: 1px solid;
	border-color: var(--pn-border) var(--pn-border) var(--pn-border) var(--pn-border);
}

.posticons_label {
	white-space: nowrap;
}

/** jGrowl Start **/

.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 {
	z-index: 9999;
	color: var(--pn-text);
	font-size: 12px;
	font-family: var(--pn-font);
	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%; }

.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;
	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 var(--pn-border);
	background: var(--pn-panel);
	color: var(--pn-text);
}

.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: var(--pn-panel);
	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 var(--pn-border);
	background: var(--pn-panel);
	color: var(--pn-text);
}

.jGrowl .jGrowl-notification.jgrowl_success {
	background: #1a2a1a;
	border: 1px solid #2a4a2a;
	color: #4a7c5c;
}

.jGrowl .jGrowl-notification.jgrowl_error {
	background: #2a1a1a;
	border: 1px solid #4a2a2a;
	color: #cc6666;
}

.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {
	background: #2a2a1a;
	border: 1px solid var(--pn-accent-dim);
	color: var(--pn-accent);
}

@media print {
	.jGrowl { display: none; }
}

/** 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.85);
	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: var(--pn-outer);
	color: var(--pn-text);
	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;
	border-radius: 8px;
	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;
	border-radius: 8px;
}

/** Impromptu **/

.jqifade {
	position: absolute;
	background-color: var(--pn-border-mid);
}

iframe.jqifade {
	display: block;
	z-index: -1;
}

div.jqi {
	width: 400px;
	max-width: 90%;
	font-family: var(--pn-font);
	position: absolute;
	background-color: var(--pn-outer);
	font-size: 11px;
	text-align: left;
	border: solid 1px var(--pn-border-mid);
	border-radius: 6px;
	padding: 7px;
}

div.jqi .jqiclose {
	position: absolute;
	top: 4px; right: -2px;
	width: 18px;
	cursor: default;
	color: var(--pn-text-dim);
	font-weight: bold;
}

div.jqi .jqistate {
	background-color: var(--pn-outer);
}

div.jqi .jqititle {
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px var(--pn-border);
	color: var(--pn-accent);
}

div.jqi .jqimessage {
	padding: 10px;
	line-height: 20px;
	color: var(--pn-text);
	overflow: auto;
}

div.jqi .jqibuttonshide {
	display: none;
}

div.jqi .jqibuttons {
	text-align: right;
	margin: 0 -7px -7px -7px;
	border-top: solid 1px var(--pn-border);
	background-color: var(--pn-panel);
	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 var(--pn-border);
	color: var(--pn-text-dim);
	font-weight: bold;
	font-size: 12px;
}

div.jqi .jqibuttons button.jqidefaultbutton {
	color: var(--pn-accent);
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus {
	color: var(--pn-hover);
	outline: none;
}

div.jqi .jqibuttons button[disabled] {
	color: #555;
}

.jqiwarning .jqi .jqibuttons {
	background-color: #2a1a1a;
}

div.jqi .jqiparentstate::after {
	background-color: var(--pn-border-mid);
	opacity: 0.6;
	filter: alpha(opacity=60);
	content: '';
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	border-radius: 6px;
}

div.jqi .jqisubstate {
	position: absolute;
	top: 0;
	left: 20%;
	width: 60%;
	padding: 7px;
	border: solid 1px var(--pn-border-mid);
	border-top: none;
	border-radius: 0 0 6px 6px;
}

div.jqi .jqisubstate .jqibuttons button {
	padding: 10px 18px;
}

.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: var(--pn-outer); }
.jqi .jqiarrowtc { left: 50%; top: -20px; border-bottom-color: var(--pn-outer); margin-left: -10px; }
.jqi .jqiarrowtr { right: 10px; top: -20px; border-bottom-color: var(--pn-outer); }
.jqi .jqiarrowbl { left: 10px; bottom: -20px; border-top-color: var(--pn-outer); }
.jqi .jqiarrowbc { left: 50%; bottom: -20px; border-top-color: var(--pn-outer); margin-left: -10px; }
.jqi .jqiarrowbr { right: 10px; bottom: -20px; border-top-color: var(--pn-outer); }
.jqi .jqiarrowlt { left: -20px; top: 10px; border-right-color: var(--pn-outer); }
.jqi .jqiarrowlm { left: -20px; top: 50%; border-right-color: var(--pn-outer); margin-top: -10px; }
.jqi .jqiarrowlb { left: -20px; bottom: 10px; border-right-color: var(--pn-outer); }
.jqi .jqiarrowrt { right: -20px; top: 10px; border-left-color: var(--pn-outer); }
.jqi .jqiarrowrm { right: -20px; top: 50%; border-left-color: var(--pn-outer); margin-top: -10px; }
.jqi .jqiarrowrb { right: -20px; bottom: 10px; border-left-color: var(--pn-outer); }

/** Star Ratings **/
.star_rating,
.star_rating li a:hover,
.star_rating .current_rating {
	background: url(images/star_rating.png) left -1000px repeat-x;
	vertical-align: middle;
}

.star_rating {
	position: relative;
	width: 80px;
	height: 16px;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	background-position: left top;
}

td .star_rating { margin: auto; }
.star_rating li { display: inline; }

.star_rating li a,
.star_rating .current_rating {
	position: absolute;
	text-indent: -1000px;
	height: 16px;
	line-height: 16px;
	outline: none;
	overflow: hidden;
	border: none;
	top: 0; left: 0;
}

.star_rating_notrated li a:hover { background-position: left bottom; }
.star_rating li a.one_star { width: 20%; z-index: 6; }
.star_rating li a.two_stars { width: 40%; z-index: 5; }
.star_rating li a.three_stars { width: 60%; z-index: 4; }
.star_rating li a.four_stars { width: 80%; z-index: 3; }
.star_rating li a.five_stars { width: 100%; z-index: 2; }
.star_rating .current_rating { z-index: 1; background-position: left center; }

.star_rating_success,
.success_message {
	color: #4a7c5c;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.inline_rating {
	background: url(images/star_rating.png) left -1000px repeat-x;
	float: left;
	vertical-align: middle;
	padding-right: 5px;
}

ul.thread_tools,
ul.thread_tools li {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.thread_tools li {
	padding-left: 24px;
	padding-bottom: 4px;
	margin-bottom: 3px;
	font-size: 11px;
	background-image: url(images/showthread_sprite.png);
	background-repeat: no-repeat;
}

ul.thread_tools li.printable { background-position: 0 0; }
ul.thread_tools li.sendthread { background-position: 0 -20px; }
ul.thread_tools li.subscription_add { background-position: 0 -40px; }
ul.thread_tools li.subscription_remove { background-position: 0 -60px; }
ul.thread_tools li.poll { background-position: 0 -80px; }

.showthread_spinner {
	width: 100%;
	margin: 0 auto;
	display: block;
	text-align: center;
	padding: 20px;
}

tr td.trow1:first-child,
tr td.trow2:first-child,
tr td.trow_shaded:first-child {
	border-left: 0;
}

tr td.trow1:last-child,
tr td.trow2:last-child,
tr td.trow_shaded:last-child {
	border-right: 0;
}

.tborder {
	border-radius: 7px;
}

.tborder tbody tr:last-child > td {
	border-bottom: 0;
}

.tborder tbody tr:last-child > td:first-child {
	border-bottom-left-radius: 6px;
}

.tborder tbody tr:last-child > td:last-child {
	border-bottom-right-radius: 6px;
}

.thead {
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.thead_collapsed {
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.thead_left {
	border-top-right-radius: 0;
}

.thead_right {
	border-top-left-radius: 0;
}

.tcat_menu {
	border-radius: 0 !important;
}

.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {
	border-bottom-left-radius: 6px !important;
	border-bottom-right-radius: 6px !important;
}

button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.postbit_buttons > a,
a.button {
	border-radius: 6px;
}

.post.classic .post_author {
	border-radius: 0 6px 6px 0;
}

.popup_menu .popup_item_container:first-child .popup_item {
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.popup_menu .popup_item_container:last-child .popup_item {
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.pagination a {
	border-radius: 6px;
}

.pollbar {
	border-radius: 3px;
}

div.error {
	border-radius: 6px;
}
/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — APPEND TO END OF GLOBAL.CSS
   
   Works with template edits (see TEMPLATE-EDITS.md).
   Desktop is completely untouched — everything below
   is either a utility class or inside a @media block.
   ═══════════════════════════════════════════════════════════ */


/* ─── UTILITY CLASSES (added to templates) ─────────────── */

/* These do nothing on desktop. Media query below hides them. */
.hide-mobile {}
.mobile-only { display: none; }


/* ─── RESPONSIVE BREAKPOINT ────────────────────────────── */

@media screen and (max-width: 1024px) {

  /* ── Hide elements marked in templates ───────────────── */
  .hide-mobile {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }

  /* ── Container & Wrapper: unlock widths ──────────────── */
  #container {
    min-width: 0 !important;
    width: 100% !important;
  }

  .wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 6px;
    box-sizing: border-box;
  }

  /* ── Logo: scale and center ──────────────────────────── */
  #logo {
    padding: 8px 5px;
    text-align: center;
  }

  #logo img {
    max-width: 85%;
    height: auto;
  }

  /* ── Top links (Portal, Search, etc): wrap ───────────── */
  #logo ul.top_links {
    text-align: center;
    margin: 5px 0 0 0;
    font-size: 12px;
  }

  #header ul.menu li {
    margin: 2px 4px;
    display: inline-block;
  }

  /* ── Panel: stack user links ─────────────────────────── */
  #panel .upper {
    padding: 8px;
    font-size: 12px;
    text-align: center;
  }

  #panel .lower {
    padding: 6px 8px;
    overflow: visible;
  }

  #panel .lower ul.panel_links,
  #panel .lower ul.user_links {
    float: none;
    text-align: center;
    margin: 3px 0;
  }

  #panel .lower ul.panel_links li,
  #panel .lower ul.user_links li {
    display: inline-block;
    margin: 2px 4px;
  }

  /* ── Search: center and resize ───────────────────────── */
  #search {
    float: none;
    text-align: center;
    margin: 8px 0;
    clear: both;
  }

  #search input.textbox {
    width: 55%;
    font-size: 14px;
    padding: 6px;
  }

  #search input.button {
    font-size: 14px;
    padding: 6px 12px;
  }

  /* ── Navigation ──────────────────────────────────────── */
  .navigation {
    font-size: 12px;
    padding: 6px 4px;
    word-wrap: break-word;
  }

  /* ── Tables: general mobile sizing ───────────────────── */
  .tborder {
    width: 100% !important;
    border-radius: 4px;
  }

  table {
    font-size: 13px;
  }

  /* ── Table headers: tighter padding ──────────────────── */
  .thead {
    padding: 6px;
    font-size: 12px;
  }

  .tcat {
    padding: 5px;
    font-size: 11px;
  }

  .trow1, .trow2 {
    padding: 4px;
  }

  /* ── Forum listing: give forum name more room ────────── */
  /* With threads/posts columns hidden via template class,
     the forum name and last post columns get all the space */
  .forum_info .smalltext {
    font-size: 11px;
  }

  /* Last post column: allow wrapping */
  td[style*="white-space"] {
    white-space: normal !important;
    word-break: break-word;
    font-size: 11px;
  }

  /* Forum status icon: scale down */
  .forum_status {
    transform: scale(0.85);
    margin: 0 2px;
  }

  /* ── Postbit: stack author info ──────────────────────── */
  .post .post_author {
    text-align: center;
    padding: 6px 8px;
  }

  .post .post_author div.author_avatar {
    float: none;
    text-align: center;
    margin: 0 auto 5px auto;
  }

  .post .post_author div.author_avatar img {
    max-width: 50px;
    height: auto;
  }

  .post .post_author div.author_information {
    float: none;
    text-align: center;
    padding: 2px 0;
  }

  .post .post_author div.author_statistics {
    float: none;
    text-align: center;
    padding: 3px 0;
    font-size: 11px;
  }

  /* Classic postbit: full width stack */
  .post.classic .post_author {
    float: none;
    width: 100% !important;
    margin: 0 0 5px 0;
    border-radius: 0;
    border-left: 0;
  }

  .post.classic .post_content {
    float: none;
    width: 100% !important;
    padding: 0 8px 5px 8px;
  }

  .post_body {
    font-size: 14px;
    padding: 8px 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .post_content {
    padding: 6px 8px 5px 8px;
  }

  /* Post controls: center and wrap */
  .post_controls {
    padding: 5px;
    text-align: center;
  }

  .postbit_buttons > a:link,
  .postbit_buttons > a:visited {
    padding: 4px 6px;
    margin: 2px 1px;
    font-size: 11px;
  }

  /* ── Quotes & Code: prevent overflow ─────────────────── */
  blockquote {
    padding: 8px;
    margin: 5px 0;
    overflow-x: auto;
  }

  .codeblock {
    padding: 8px;
    overflow-x: auto;
  }

  .codeblock code {
    font-size: 11px;
    white-space: pre-wrap;
    word-break: break-all;
  }

  /* ── Forms: touch-friendly ───────────────────────────── */
  input.textbox,
  textarea,
  select {
    font-size: 14px !important;
    padding: 8px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  button,
  input.button {
    font-size: 14px;
    padding: 8px 14px;
  }

  form #message {
    width: 100% !important;
  }

  /* ── Pagination ──────────────────────────────────────── */
  .pagination {
    text-align: center;
  }

  .pagination a,
  .pagination .pagination_current {
    padding: 6px 10px;
    margin: 2px 1px;
    font-size: 12px;
  }

  /* ── Footer: stack ───────────────────────────────────── */
  #footer .upper {
    padding: 8px;
    text-align: center;
  }

  #footer .upper ul.bottom_links {
    float: none;
    margin: 4px 0;
    text-align: center;
  }

  #footer .upper ul.bottom_links li {
    display: inline-block;
    margin: 3px 4px;
  }

  #footer .upper .language,
  #footer .upper .theme {
    float: none;
    margin: 6px auto;
    text-align: center;
  }

  #footer .lower {
    text-align: center;
    padding: 8px;
  }

  #footer .lower #current_time {
    float: none;
    display: block;
    margin-top: 5px;
  }

  /* ── Modals & Popups ─────────────────────────────────── */
  .popup_menu {
    max-width: 90vw;
  }

  .modal {
    width: 95% !important;
    max-width: 95vw;
  }

  /* ── Buttons (New Thread, Reply etc): full width ─────── */
  a.button:link,
  a.button:visited {
    display: block;
    text-align: center;
    margin: 4px 0;
  }

  /* ── Board Statistics ────────────────────────────────── */
  .forum_legend dd {
    margin-right: 6px;
    margin-top: 4px;
    font-size: 11px;
  }

  /* ── Misc overflow prevention ────────────────────────── */
  .largetext {
    font-size: 14px;
    word-wrap: break-word;
  }

  .scaleimages img {
    max-width: 100%;
    height: auto;
  }

  /* ── Editor: full width ──────────────────────────────── */
  .editor,
  .sceditor-container {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* ── Float clearing for mobile ───────────────────────── */
  .float_right,
  .float_left {
    float: none !important;
    text-align: center;
    margin: 4px 0;
  }

  /* ── Quick Reply ─────────────────────────────────────── */
  #quick_reply_form textarea {
    width: 100% !important;
    box-sizing: border-box;
  }

  /* ── Debug info ──────────────────────────────────────── */
  #debug {
    float: none;
    text-align: center;
    font-size: 10px;
  }

  /* ── Expcolimage (collapse toggle) ───────────────────── */
  .expcolimage {
    margin-top: 0;
  }

  /* ── Thread subject: ensure wrapping ─────────────────── */
  .subject_new,
  .thread_subject a {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
   /* ── User CP: stack sidebar + content ────────────────── */
  td[valign="top"][width="180"] {
    display: block !important;
    width: 100% !important;
  }
  td[valign="top"][width="180"] + td[valign="top"] {
    display: block !important;
    width: 100% !important;
  }
	  td[valign="top"][width="50%"] {
    display: block !important;
    width: 100% !important;
  }
}
.thread_status {
	display: inline-block;
	width: 16px;
	height: 16px;
	background-image: url(images/folders_sprite.png);
	background-repeat: no-repeat;
}

.thread_status.dot_folder {
	background-position: 0 0;
}

.thread_status.dot_hotfolder {
	background-position: 0 -20px;
}

.thread_status.dot_hotclosefolder {
	background-position: 0 -40px;
}

.thread_status.dot_closefolder {
	background-position: 0 -60px;
}

.thread_status.dot_newfolder {
	background-position: 0 -80px;
}

.thread_status.dot_newhotfolder {
	background-position: 0 -100px;
}

.thread_status.dot_newhotclosefolder {
	background-position: 0 -120px;
}

.thread_status.dot_newclosefolder {
	background-position: 0 -140px;
}

.thread_status.folder {
	background-position: 0 -160px;
}

.thread_status.hotfolder {
	background-position: 0 -180px;
}

.thread_status.hotclosefolder {
	background-position: 0 -200px;
}

.thread_status.closefolder {
	background-position: 0 -220px;
}

.thread_status.movefolder {
	background-position: 0 -240px;
}

.thread_status.newfolder {
	background-position: 0 -260px;
}

.thread_status.newhotfolder {
	background-position: 0 -280px;
}

.thread_status.newhotclosefolder {
	background-position: 0 -300px;
}

.thread_status.newclosefolder {
	background-position: 0 -320px;
}tr td.trow1:first-child,
tr td.trow2:first-child,
tr td.trow_shaded:first-child {
	border-left: 0;
}

tr td.trow1:last-child,
tr td.trow2:last-child,
tr td.trow_shaded:last-child {
	border-right: 0;
}

.tborder {
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
}

.tborder tbody tr:last-child > td {
	border-bottom: 0;
}

.tborder tbody tr:last-child > td:first-child {
	-moz-border-radius-bottomleft: 6px;
	-webkit-border-bottom-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.tborder tbody tr:last-child > td:last-child {
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

.thead {
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.thead_collapsed {
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.thead_left {
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	border-top-right-radius: 0;
}

.thead_right {
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
}

.tcat_menu {
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
}

.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {
	-moz-border-radius-bottomleft: 6px !important;
	-moz-border-radius-bottomright: 6px !important;
	-webkit-border-bottom-left-radius: 6px !important;
	-webkit-border-bottom-right-radius: 6px !important;
	border-bottom-left-radius: 6px !important;
	border-bottom-right-radius: 6px !important;
}

button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.postbit_buttons > a,
a.button {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.post.classic .post_author {
	-moz-border-radius: 0 6px 6px 0;
	-webkit-border-radius: 0 6px 6px 0;
	border-radius: 0 6px 6px 0;
}

.popup_menu .popup_item_container:first-child .popup_item {
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.popup_menu .popup_item_container:last-child .popup_item {
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.pagination a {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.pollbar {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

div.error {
	-moz-border-radius: 6px;
    	-webkit-border-radius: 6px;
   	 border-radius: 6px;
}