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: 990px;
}

.wrapper {
	width: 85%;
	min-width: 970px;
	max-width: 1500px;
	margin: auto auto;
}

#logo {
	background: #fff;
	padding: 10px 0;
	border-bottom: 1px solid #263c30;
}

#content {
	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 */

/* ==============================================================
   WEST SHORE ROLEPLAY | MyBB 1.8 | Midnight / Cyan
   Preserve all stock MyBB CSS above. These are safe overrides.
   ============================================================== */
:root { --ws-bg:#090f1b; --ws-surface:#101b2d; --ws-card:#17273d; --ws-card-hover:#213650; --ws-line:#304761; --ws-cyan:#3bc9f5; --ws-ink:#edf5ff; --ws-muted:#afc0d5; }
*, *::before, *::after { box-sizing:border-box; }
html { background:var(--ws-bg); }
body { background: radial-gradient(ellipse at 50% 0%, #16304a 0%, #0b1422 48%, #090f1b 100%) fixed !important; color:var(--ws-ink) !important; font-family: 'Segoe UI', Tahoma, Arial, sans-serif; font-size:14px; }
#container { background:var(--ws-surface) !important; color:var(--ws-ink) !important; width:min(96%,1280px); min-width:0 !important; margin:22px auto; padding:0 18px 18px; border:1px solid var(--ws-line); border-radius:14px; box-shadow:0 16px 60px rgba(0,0,0,.42); }
.wrapper { width:100% !important; min-width:0 !important; max-width:none !important; }
#logo { background:linear-gradient(120deg,#10213a,#174362) !important; padding:22px 22px 18px; border:0; border-bottom:3px solid var(--ws-cyan); border-radius:12px 12px 0 0; overflow:hidden; }
#logo .wrapper { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
#logo a img { max-width:100%; height:auto; }
#logo ul.top_links, #header ul.menu { margin:0 !important; padding:0 !important; list-style:none !important; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px; text-align:right; }
#header ul.menu li, #logo ul.top_links li { display:inline-flex !important; margin:0 !important; padding:0 !important; list-style:none !important; }
#header ul.menu li a { display:inline-flex; align-items:center; min-height:32px; padding:7px 12px !important; background-image:none !important; background-color:rgba(255,255,255,.07); border:1px solid rgba(139,206,245,.17); border-radius:7px; line-height:1.3; color:#eaf6ff !important; font-weight:600; text-decoration:none; }
#header ul.menu li a:hover { background-color:rgba(59,201,245,.17); border-color:var(--ws-cyan); }
#panel { border:1px solid var(--ws-line); border-top:0; background:#16263d; }
#panel .upper { background:#15273e !important; color:var(--ws-ink) !important; border:0; padding:11px 14px; }
#panel .lower { background:#1b3049 !important; color:var(--ws-muted) !important; border:0; border-top:1px solid var(--ws-line); padding:10px 14px; overflow:hidden; }
#panel .lower ul.panel_links, #panel .lower ul.user_links { margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:8px 14px; }
#panel .lower ul.panel_links li, #panel .lower ul.user_links li { display:inline-block; list-style:none; }
#panel .lower a:link,#panel .lower a:visited,#panel .upper a:link,#panel .upper a:visited { color:var(--ws-cyan) !important; }
#panel .upper a.logout,#panel .upper a.login,#panel .upper a.register,#panel .upper a.lost_password { background-image:none !important; padding:0 !important; }
#panel .lower ul.panel_links a { background-image:none !important; padding:0 !important; }
#search { float:right; max-width:100%; }
#search input { margin:0 2px 0 0; }
#content { background:transparent !important; color:var(--ws-ink) !important; width:100% !important; padding:22px 0 !important; overflow:visible; }
#content > .wrapper { width:100% !important; }
#content .navigation { margin:0 0 16px; color:var(--ws-muted); }
.navigation .active { color:var(--ws-ink); }
#content table, table { color:var(--ws-ink); }
.tborder { width:100% !important; max-width:100%; margin:0 0 20px !important; background:var(--ws-line) !important; border:1px solid var(--ws-line) !important; border-spacing:1px; border-radius:9px; overflow:hidden; }
.thead { background:linear-gradient(90deg,#16405f,#1b5274) !important; color:#fff !important; border:0; padding:12px 14px; font-size:14px; }
.thead a:link,.thead a:visited,.thead a:hover { color:#fff !important; }
.tcat { background:#20354d !important; color:#c7d8eb !important; border:0; padding:9px 12px; }
.tcat a:link,.tcat a:visited { color:#e9f6ff !important; }
.trow1,.trow2 { background:var(--ws-card) !important; color:var(--ws-ink) !important; border-color:var(--ws-line) !important; padding:10px; }
.trow2 { background:#192c43 !important; }
tr:hover > .trow1,tr:hover > .trow2 { background:var(--ws-card-hover) !important; }
.trow_sep,.tfoot { background:#233b55 !important; color:var(--ws-ink) !important; border-color:var(--ws-line) !important; }
.tfoot a:link,.tfoot a:visited { color:var(--ws-cyan) !important; }
a:link,a:visited { color:var(--ws-cyan); }
a:hover,a:active { color:#8ae6ff; }
.smalltext,.thread_start_datetime,.post .post_meta,.post .post_head span.post_date { color:var(--ws-muted); }
fieldset { border-color:var(--ws-line); }
input.textbox, textarea, select { background:#0f1d30 !important; color:var(--ws-ink) !important; border:1px solid #47607b !important; border-radius:6px; padding:7px; max-width:100%; }
button,input.button,a.button:link,a.button:visited { background:#147da7 !important; color:white !important; border:1px solid #43c8ed !important; border-radius:6px; padding:7px 12px; text-decoration:none; }
button:hover,input.button:hover,a.button:hover { background:#1c9ecb !important; }
.post,.post_content { color:var(--ws-ink); }
.post .post_author,.post_controls { background:#1a2d45 !important; color:var(--ws-ink); border-color:var(--ws-line) !important; }
.post .post_author div.author_statistics,.post .post_meta { color:var(--ws-muted); }
.post .post_author div.author_avatar img { background:#0f1d30; border-color:var(--ws-line); }
.post .post_head,.post_content .signature { border-color:var(--ws-line); }
.postbit_buttons > a:link,.postbit_buttons > a:visited { background:#223b54 !important; color:#eaf6ff !important; border-color:var(--ws-line) !important; border-radius:5px; }
blockquote,.codeblock,.editor,.editor_control_bar,.popup_menu { background:#102036 !important; color:var(--ws-ink) !important; border-color:var(--ws-line) !important; }
.popup_menu .popup_item { background:#172c43 !important; color:var(--ws-ink) !important; }
.popup_menu .popup_item:hover { background:#1d698b !important; }
.pagination a { background:#1d3249; border-color:var(--ws-line); color:var(--ws-cyan); }
.pagination .pagination_current { color:var(--ws-ink); }
.bottommenu,#footer .upper { background:#182a40 !important; color:var(--ws-muted) !important; border-color:var(--ws-line) !important; }
#footer { border-top:1px solid var(--ws-line); color:var(--ws-muted); }
#footer .upper ul.bottom_links { display:flex; flex-wrap:wrap; gap:8px 14px; }
#footer .upper ul.bottom_links li { display:inline-block; margin:0; }
#footer a:link,#footer a:visited,#footer .lower a:link,#footer .lower a:visited { color:var(--ws-cyan) !important; }
#footer .lower,#footer .lower #current_time { color:var(--ws-muted); }
.modal,div.jqi { color:#333; }
@media (max-width:800px) {
  #container { width:100%; margin:0; padding:0 10px 12px; border-radius:0; }
  #logo { padding:15px 12px; }
  #logo .wrapper { display:block; }
  #logo ul.top_links,#header ul.menu { justify-content:flex-start; margin-top:12px !important; }
  #panel .lower ul.panel_links,#panel .lower ul.user_links { float:none; margin:6px 0; }
  #search { float:none; margin:8px 0; }
  #content { padding:14px 0 !important; overflow-x:auto; }
  .tborder { min-width:0; }
  .post.classic .post_author,.post.classic .post_content { float:none; width:auto; margin:0; }
  #footer .upper .language,#footer .upper .theme { float:none; margin:8px 0; }
}

/* =========================================
   WEST SHORE ROLEPLAY - CUSTOM HEADER
   ========================================= */

.wsrp-header {
    background: #101a2b !important;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.wsrp-brandbar {
    background: #14243b;
    padding: 20px 0;
}

.wsrp-brandbar > .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.wsrp-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
}

.wsrp-emblem {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    background: #1c3954;
    border: 2px solid #35c6f4;
    border-radius: 14px;
    color: #35c6f4;
    font-size: 21px;
    font-weight: 900;
    flex-shrink: 0;
}

.wsrp-brandtext {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.wsrp-brandtext strong {
    color: #ffffff;
    font-size: 25px;
    letter-spacing: 1px;
    line-height: 1.1;
}

.wsrp-brandtext strong span {
    color: #35c6f4;
}

.wsrp-brandtext small {
    color: #a7b7ce;
    font-size: 10px;
    letter-spacing: 2px;
}

.wsrp-community-label {
    color: #a9d9ec;
    background: #1e3c55;
    border: 1px solid #345c76;
    border-radius: 20px;
    padding: 9px 14px;
    font-size: 11px;
    letter-spacing: 1px;
}

.wsrp-nav {
    background: #0d192a;
    border-top: 1px solid #30445d;
    border-bottom: 1px solid #30445d;
}

.wsrp-navlinks {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wsrp-navlinks li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.wsrp-navlinks a {
    display: block;
    padding: 15px 18px;
    color: #d9e7f5 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: bold;
    transition: .2s;
}

.wsrp-navlinks a:hover {
    background: #1d3d57;
    color: #35c6f4 !important;
}

.wsrp-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg,
            rgba(7,16,30,.96) 0%,
            rgba(9,23,43,.85) 55%,
            rgba(10,29,53,.45) 100%),
        url(../../../images/wsrp/skyline.jpg) center center / cover no-repeat,
        #12253d;
    padding: 30px 45px;
    box-sizing: border-box;
}

.wsrp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.wsrp-eyebrow {
    color: #35c6f4;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.wsrp-hero h1 {
    color: #ffffff !important;
    font-size: 32px;
    line-height: 1.2;
    margin: 15px 0;
}

.wsrp-hero p {
    color: #c2d2e5;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.wsrp-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wsrp-server-ip {
    display: inline-block;
    background: #1a344e;
    border: 1px solid #3c647d;
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: bold;
}

.wsrp-hero-button {
    display: inline-block;
    padding: 12px 20px;
    background: #168cb7;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 7px;
    font-weight: bold;
}

.wsrp-hero-button:hover {
    background: #20b2e0;
}

.wsrp-header #panel {
    border-radius: 0 !important;
    margin: 0;
}

@media (max-width: 768px) {
    .wsrp-brandbar > .wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .wsrp-brandtext strong {
        font-size: 19px;
    }

    .wsrp-community-label {
        display: none;
    }

    .wsrp-navlinks a {
        padding: 12px;
    }

    .wsrp-hero {
        min-height: 230px;
        padding: 25px 18px;
    }

    .wsrp-hero h1 {
        font-size: 25px;
    }
}


/* =========================================
   WSRP - ACCOUNT PANEL IMPROVEMENTS
   ========================================= */

/* Give the login panel more breathing room */
.wsrp-header #panel .upper {
    position: relative;
    min-height: 48px;
    padding: 10px 16px;
    box-sizing: border-box;
}

.wsrp-header #panel .upper > .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* Move the search form away from account text */
.wsrp-header #panel .upper form {
    margin-left: auto;
    flex-shrink: 0;
}

.wsrp-header #panel .upper .welcome {
    margin-right: 15px;
}

/* Make the lower account bar flexible */
.wsrp-header #panel .lower > .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

/* Prevent private-message counters from
   colliding with other controls */
.wsrp-header #panel .lower .user_links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.wsrp-header #panel .lower .user_links li {
    list-style: none;
    margin: 0;
}

/* Mobile layout */
@media (max-width: 768px) {
    .wsrp-header #panel .upper > .wrapper,
    .wsrp-header #panel .lower > .wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .wsrp-header #panel .upper form {
        margin-left: 0;
        width: 100%;
    }
}


/* =========================================
   WSRP - ANIMATED ATMOSPHERIC BACKGROUND
   ========================================= */

html {
    min-height: 100%;
    background: #080f1b;
}

body {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(
            circle at var(--mouse-x, 50%) var(--mouse-y, 30%),
            rgba(32, 123, 183, 0.16),
            transparent 38%
        ),
        radial-gradient(
            circle at 85% 15%,
            rgba(69, 42, 135, 0.15),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #080f1b 0%,
            #101c30 50%,
            #080f1b 100%
        ) !important;

    background-attachment: fixed;
    background-size: cover;
}

/* Slow ambient glow behind the forum */
body::before {
    content: "";
    position: fixed;
    width: 55vw;
    height: 55vw;
    min-width: 350px;
    min-height: 350px;
    top: -25%;
    right: -15%;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(35, 140, 205, 0.10),
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
    animation: wsrpAmbient 18s ease-in-out infinite alternate;
}

@keyframes wsrpAmbient {
    from {
        transform: translate(-6%, 3%) scale(1);
        opacity: 0.5;
    }

    to {
        transform: translate(5%, 12%) scale(1.25);
        opacity: 1;
    }
}

/* Keep forum content above background */
#container {
    position: relative;
    z-index: 1;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    body::before {
        animation: none;
    }
}


/* ========================================
   WSRP - WIDER RESPONSIVE LAYOUT
   ======================================== */

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
}

#container {
    width: min(96%, 1640px) !important;
    max-width: 1640px !important;
    box-sizing: border-box;
    margin: 20px auto !important;
}

#container .wrapper {
    max-width: none;
    box-sizing: border-box;
}

#content {
    width: 100%;
    box-sizing: border-box;
}

/* Keep forum tables within the page */
#content .tborder {
    width: 100%;
    box-sizing: border-box;
}

/* Adapt to smaller screens */
@media (max-width: 768px) {
    #container {
        width: 100% !important;
        margin: 0 auto !important;
        border-radius: 0;
    }

    #content {
        padding: 12px;
    }
}


/* ========================================
   WSRP - PRIVATE MESSAGE SPACING
   ======================================== */

.wsrp-header #panel .lower .user_links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.wsrp-header #panel .lower .user_links li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.wsrp-header #panel .lower .user_links li a {
    display: inline-block;
    margin-right: 5px;
}

/* Prevent account controls from crowding */
.wsrp-header #panel .lower > .wrapper {
    gap: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
}



/* ========================================
   WSRP - INTERACTIVE SKYLINE
   ======================================== */

.wsrp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #111b30 !important;
}

/* Moving image layer */
.wsrp-hero::before {
    content: "";
    position: absolute;
    inset: -24px;
    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(7, 16, 30, .90) 0%,
            rgba(9, 23, 43, .62) 55%,
            rgba(10, 29, 53, .20) 100%
        ),
        url(../../../images/wsrp/skyline.jpg)
        center center / cover no-repeat;

    transform:
        translate(
            var(--sky-x, 0px),
            var(--sky-y, 0px)
        )
        scale(1.04);

    transition: transform .18s ease-out;
    pointer-events: none;
}

.wsrp-hero-content {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .wsrp-hero::before {
        transform: none;
        transition: none;
    }
}


/* ==========================================
   WEST SHORE ROLEPLAY
   MYBB 1.8 PORTAL LAYOUT FIX
   ========================================== */

/* Keep portal tables within the main container */
#content {
    min-width: 0;
}

#content > .wrapper {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Restore normal table sizing */
#content table {
    border-collapse: separate;
}

/* Prevent portal sidebar from shrinking */
#content table td[width="200"],
#content table td[width="180"] {
    min-width: 220px;
    width: 240px !important;
    vertical-align: top;
}

/* Portal sidebar boxes */
#content table td[width="200"] .tborder,
#content table td[width="180"] .tborder {
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 18px;
}

/* Ensure portal main content can expand */
#content table td[width="*"] {
    width: auto !important;
    min-width: 0;
    vertical-align: top;
}

/* Better portal widget spacing */
#content .tborder {
    margin-bottom: 18px;
}

#content .thead {
    padding: 13px 15px;
}

#content .trow1,
#content .trow2 {
    padding: 12px 15px;
}

/* Responsive portal layout */
@media (max-width: 768px) {
    #content table td[width="200"],
    #content table td[width="180"] {
        min-width: 0;
        width: 100% !important;
        display: block;
    }

    #content table td[width="*"] {
        display: block;
        width: 100% !important;
    }
}


/* ==========================================
   WEST SHORE ROLEPLAY - MODERN PORTAL
   ========================================== */

.wsrp-portal {
    width: 100%;
    box-sizing: border-box;
    padding: 5px 0 30px;
}

/* Introduction */
.wsrp-portal-intro {
    background: linear-gradient(
        135deg,
        #172b44,
        #102036
    );
    border: 1px solid #30445d;
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 25px;
}

.wsrp-portal-label {
    display: block;
    color: #35c6f4;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.wsrp-portal-intro h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 10px;
}

.wsrp-portal-intro p {
    color: #b4c7dd;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Main layout */
.wsrp-portal-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
}

/* Sidebar */
.wsrp-portal-sidebar {
    min-width: 0;
}

.wsrp-portal-sidebar .tborder {
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 18px;
    border-radius: 10px;
    overflow: hidden;
}

.wsrp-portal-sidebar .thead {
    background: #174466 !important;
    color: #ffffff;
    padding: 12px 15px;
}

/* Main announcements */
.wsrp-portal-main {
    min-width: 0;
}

.wsrp-portal-heading {
    margin-bottom: 18px;
    padding: 5px 0 15px;
    border-bottom: 1px solid #30445d;
}

.wsrp-portal-heading h2 {
    color: #ffffff;
    font-size: 23px;
    margin: 0 0 8px;
}

.wsrp-portal-heading p {
    color: #a7b7ce;
    font-size: 13px;
    margin: 0;
}

.wsrp-portal-main .tborder {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}

/* Portal links */
.wsrp-portal a {
    transition: color .2s ease;
}

.wsrp-portal a:hover {
    color: #83e5ff;
}

/* Responsive layout */
@media (max-width: 900px) {
    .wsrp-portal-layout {
        grid-template-columns: 1fr;
    }

    .wsrp-portal-sidebar {
        display: grid;
        grid-template-columns:
            repeat(auto-fit, minmax(230px, 1fr));
        gap: 15px;
    }

    .wsrp-portal-sidebar .tborder {
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .wsrp-portal-intro {
        padding: 20px;
    }

    .wsrp-portal-intro h2 {
        font-size: 23px;
    }

    .wsrp-portal-sidebar {
        display: block;
    }

    .wsrp-portal-sidebar .tborder {
        margin-bottom: 15px;
    }
}



/* WSRP - Improve deleted post readability */

.post.deleted_post,
.post.deleted_post .post_body,
.post.deleted_post .post_content,
.post.deleted_post .post_content *,
.post.deleted_post .post_head,
.post.deleted_post .post_meta,
.deleted_post,
.deleted_post .post_body,
.deleted_post .post_content,
.deleted_post .post_content *,
.deleted_post .post_head,
.deleted_post .post_meta {
    color: #172b45 !important;
}

/* Make links readable */
.deleted_post a,
.post.deleted_post a {
    color: #005a9c !important;
    font-weight: 600;
}

/* Keep deleted post background */
.deleted_post,
.post.deleted_post {
    background-color: #e8ddff;
}

/* THREADPREFIX STUDIO CSS START */
.tps-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
    padding: 3px 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 11px/1.35 Arial, Helvetica, sans-serif;
    letter-spacing: 0.035em;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.tps-style-blue {
    color: #ffffff;
    background: linear-gradient(135deg, #1c63dc, #173b9b);
    box-shadow: 0 2px 7px rgba(28, 99, 220, 0.24);
}

.tps-style-ocean {
    color: #eaffff;
    background: linear-gradient(120deg, #087d91, #14a99c);
    box-shadow: 0 2px 7px rgba(8, 125, 145, 0.22);
}

.tps-style-sunset {
    color: #ffffff;
    background: linear-gradient(120deg, #e85b55, #ec8c36);
    box-shadow: 0 2px 7px rgba(232, 91, 85, 0.22);
}

.tps-style-mint {
    color: #123f39;
    background: #b8f3d9;
    border-color: #82dcb9;
}

.tps-style-amber {
    color: #573800;
    background: #ffe08a;
    border-color: #e8bd51;
}

.tps-style-outline {
    color: #f8fbff;
    background: linear-gradient(135deg, #315b98, #1b3767);
    border-color: #8eb7f2;
    box-shadow: 0 2px 7px rgba(24, 55, 103, 0.24);
}

.tps-style-glass {
    color: #1e293b;
    background: linear-gradient(135deg, #f8fbff, #dce8f8);
    border-color: #aebfd8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 6px rgba(15, 23, 42, 0.12);
}

.tps-style-midnight {
    color: #f4f0ff;
    background: #292441;
    border-color: #51466f;
}

.tps-style-pulse {
    color: #ffffff;
    background: #7c3aed;
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.55);
    animation: tps-pulse 1.8s ease-out infinite;
}

.tps-style-shimmer {
    color: #ffffff;
    background: linear-gradient(110deg, #1767c8 30%, #52c7ef 45%, #1767c8 60%);
    background-size: 220% 100%;
    animation: tps-shimmer 2.6s linear infinite;
}

.tps-style-rainbow {
    color: #ffffff;
    background: linear-gradient(100deg, #e34b67, #d866ca, #625fe2, #269acb, #35b878);
    background-size: 250% 100%;
    animation: tps-color-flow 4.2s ease-in-out infinite;
}

.tps-style-glow {
    color: #dfffff;
    background: #12353e;
    border-color: #46e2d1;
    box-shadow: 0 0 5px rgba(70, 226, 209, 0.85), inset 0 0 5px rgba(70, 226, 209, 0.22);
    animation: tps-glow 2.1s ease-in-out infinite alternate;
}

.tps-style-bounce {
    color: #ffffff;
    background: linear-gradient(135deg, #e14b77, #8f45cb);
    box-shadow: 0 2px 8px rgba(143, 69, 203, 0.3);
    animation: tps-bounce 1.2s ease-in-out infinite;
}

.tps-style-iconcheck {
    color: #ffffff;
    background: #16845b;
}

.tps-style-iconstar {
    color: #513900;
    background: #ffe08a;
}

.tps-style-iconalert {
    color: #ffffff;
    background: #c84a24;
}

.tps-style-iconspark {
    color: #ffffff;
    background: #6040bb;
}

.tps-style-iconpulse {
    color: #ffffff;
    background: #ad3150;
}

.tps-style-iconspin {
    color: #ffffff;
    background: #285b83;
}

.tps-style-xenforoblueoutline {
    color: #5ca5d6;
    background: #0a1c29;
    border-color: #143852;
}

.tps-style-xenforobrown {
    color: #f7d3a1;
    background: #472c06;
    border-color: #76490a;
}

.tps-style-xenforored {
    color: #ffffff;
    background: #e00000;
    border-color: #ff1414;
}

.tps-style-xenforogreen {
    color: #ffffff;
    background: #008000;
    border-color: #00b300;
}

.tps-style-xenforoolive {
    color: #ffffff;
    background: #808000;
    border-color: #b3b300;
}

.tps-style-xenforolightgreen {
    color: #000000;
    background: #ccf9c8;
    border-color: #f7fef6;
}

.tps-style-xenforoblue {
    color: #ffffff;
    background: #0008e6;
    border-color: #1a21ff;
}

.tps-style-xenfororoyalblue {
    color: #ffffff;
    background: #4169e1;
    border-color: #6d8ce8;
}

.tps-style-xenforoskyblue {
    color: #ffffff;
    background: #7bc3e0;
    border-color: #a4d6ea;
}

.tps-style-xenforodarkgray {
    color: #ffffff;
    background: #808080;
    border-color: #999999;
}

.tps-style-xenforolightgray {
    color: #000000;
    background: #bfbfbf;
    border-color: #d9d9d9;
}

.tps-style-xenforopaleyellow {
    color: #000000;
    background: #ffff8f;
    border-color: #ffffc2;
}

.tps-style-xenforoyellow {
    color: #000000;
    background: #ffcc00;
    border-color: #ffd633;
}

.tps-prefix[class*="tps-style-xenforo"] {
    padding: 1px 5px;
    border-radius: 4px;
    box-shadow: none;
    line-height: 1.2;
    text-transform: none;
}

.tps-style-iconcheck::before {
    content: "\2713";
}

.tps-style-iconstar::before {
    content: "\2605";
}

.tps-style-iconalert::before {
    content: "\26A0";
}

.tps-style-iconspark::before {
    content: "\2726";
    animation: tps-icon-spark 1.1s ease-in-out infinite;
}

.tps-style-iconpulse::before {
    content: "\223F";
    animation: tps-icon-pulse 1s ease-in-out infinite;
}

.tps-style-iconspin::before {
    content: "\21BB";
    animation: tps-icon-spin 1.5s linear infinite;
}

.tps-prefix[class*="tps-style-icon"]::before {
    display: inline-block;
    margin-right: 5px;
    line-height: 1;
}

.tps-generator {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-top: 12px;
    max-width: 900px;
}

.tps-generator-controls {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
}

.tps-generator-controls label,
.tps-preview-heading,
.tps-code-heading {
    display: block;
    margin-bottom: 7px;
    color: #253349;
    font-size: 12px;
    font-weight: 700;
}

.tps-generator-controls select {
    box-sizing: border-box;
    width: 100%;
    min-height: 34px;
    padding: 6px 8px;
    border: 1px solid #aebbd0;
    border-radius: 4px;
    background: #ffffff;
    color: #1f2937;
}

.tps-preview-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
}

.tps-preview-stage {
    display: flex;
    min-height: 56px;
    align-items: center;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px dashed #cbd5e1;
    border-radius: 5px;
    background-color: #f8fafc;
    background-image: linear-gradient(45deg, #edf2f7 25%, transparent 25%),
        linear-gradient(-45deg, #edf2f7 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #edf2f7 75%),
        linear-gradient(-45deg, transparent 75%, #edf2f7 75%);
    background-position: 0 0, 0 5px, 5px -5px, -5px 0;
    background-size: 10px 10px;
}

.tps-code-heading {
    margin-top: 12px;
}

.tps-code-row {
    display: flex;
    min-width: 0;
    gap: 8px;
    align-items: center;
}

.tps-code-row code {
    display: block;
    min-width: 0;
    flex: 1;
    padding: 8px;
    overflow-wrap: anywhere;
    border-radius: 4px;
    background: #f1f5f9;
    color: #334155;
    font: 11px/1.5 Consolas, Monaco, monospace;
}

.tps-code-row button {
    min-height: 32px;
    padding: 5px 10px;
    cursor: pointer;
}

.tps-generator-note,
.tps-length-warning {
    margin-top: 8px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
}

.tps-generator-controls label:not(:first-child) {
    margin-top: 5px;
}

.tps-length-warning {
    display: none;
    color: #a33b22;
    font-weight: 700;
}

/*
 * The prefix chips themselves use opaque, contrast-tested colors, so they
 * remain legible on either light or dark forum backgrounds. These rules adapt
 * the generator's editing panels to common explicit dark-theme markers.
 */
body.dark .tps-generator-controls,
body.dark-mode .tps-generator-controls,
body.darkmode .tps-generator-controls,
body[data-theme="dark"] .tps-generator-controls,
[data-theme="dark"] .tps-generator-controls,
body.dark .tps-preview-card,
body.dark-mode .tps-preview-card,
body.darkmode .tps-preview-card,
body[data-theme="dark"] .tps-preview-card,
[data-theme="dark"] .tps-preview-card {
    border-color: #475569;
    background: #1e293b;
}

body.dark .tps-generator-controls label,
body.dark-mode .tps-generator-controls label,
body.darkmode .tps-generator-controls label,
body[data-theme="dark"] .tps-generator-controls label,
[data-theme="dark"] .tps-generator-controls label,
body.dark .tps-preview-heading,
body.dark-mode .tps-preview-heading,
body.darkmode .tps-preview-heading,
body[data-theme="dark"] .tps-preview-heading,
[data-theme="dark"] .tps-preview-heading,
body.dark .tps-code-heading,
body.dark-mode .tps-code-heading,
body.darkmode .tps-code-heading,
body[data-theme="dark"] .tps-code-heading,
[data-theme="dark"] .tps-code-heading {
    color: #e2e8f0;
}

body.dark .tps-generator-controls select,
body.dark-mode .tps-generator-controls select,
body.darkmode .tps-generator-controls select,
body[data-theme="dark"] .tps-generator-controls select,
[data-theme="dark"] .tps-generator-controls select {
    border-color: #64748b;
    background: #0f172a;
    color: #f8fafc;
}

body.dark .tps-preview-stage,
body.dark-mode .tps-preview-stage,
body.darkmode .tps-preview-stage,
body[data-theme="dark"] .tps-preview-stage,
[data-theme="dark"] .tps-preview-stage {
    border-color: #475569;
    background-color: #0f172a;
    background-image: none;
}

body.dark .tps-code-row code,
body.dark-mode .tps-code-row code,
body.darkmode .tps-code-row code,
body[data-theme="dark"] .tps-code-row code,
[data-theme="dark"] .tps-code-row code {
    background: #0f172a;
    color: #e2e8f0;
}

body.dark .tps-generator-note,
body.dark-mode .tps-generator-note,
body.darkmode .tps-generator-note,
body[data-theme="dark"] .tps-generator-note,
[data-theme="dark"] .tps-generator-note {
    color: #cbd5e1;
}

@media (prefers-color-scheme: dark) {
    .tps-generator-controls,
    .tps-preview-card {
        border-color: #475569;
        background: #1e293b;
    }

    .tps-generator-controls label,
    .tps-preview-heading,
    .tps-code-heading {
        color: #e2e8f0;
    }

    .tps-generator-controls select {
        border-color: #64748b;
        background: #0f172a;
        color: #f8fafc;
    }

    .tps-preview-stage {
        border-color: #475569;
        background-color: #0f172a;
        background-image: none;
    }

    .tps-code-row code {
        background: #0f172a;
        color: #e2e8f0;
    }

    .tps-generator-note {
        color: #cbd5e1;
    }
}

@keyframes tps-pulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.48); }
    70% { box-shadow: 0 0 0 7px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

@keyframes tps-shimmer {
    from { background-position: 100% 0; }
    to { background-position: -120% 0; }
}

@keyframes tps-color-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes tps-glow {
    from { box-shadow: 0 0 3px rgba(70, 226, 209, 0.55), inset 0 0 4px rgba(70, 226, 209, 0.15); }
    to { box-shadow: 0 0 10px rgba(70, 226, 209, 0.95), inset 0 0 7px rgba(70, 226, 209, 0.35); }
}

@keyframes tps-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes tps-icon-spark {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.35); }
}

@keyframes tps-icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes tps-icon-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
    .tps-generator {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tps-prefix[class*="tps-style-"],
    .tps-prefix[class*="tps-style-"]::before {
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* Keep the ACP controls close to MyBB's built-in form styling. */
.tps-generator {
    display: block;
    max-width: 760px;
    margin: 10px 0 0;
}

.tps-generator-controls {
    display: grid;
    grid-template-columns: 150px minmax(180px, 320px);
    gap: 8px 10px;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.tps-generator-controls label {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.tps-generator-controls select {
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    min-height: 24px;
    padding: 3px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
}

.tps-style-select-row {
    display: flex;
    min-width: 0;
    width: 100%;
    max-width: 430px;
    gap: 4px;
    align-items: center;
}

.tps-style-select-row select {
    min-width: 0;
    max-width: none;
    flex: 1;
}

.tps-add-custom-style {
    display: inline-flex;
    max-width: 100%;
    gap: 6px;
    align-items: center;
    margin-left: 6px;
    vertical-align: middle;
}

.tps-add-custom-style > button {
    min-height: 26px;
    padding: 3px 8px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #f5f5f5;
    color: #333333;
    cursor: pointer;
    white-space: nowrap;
}

.tps-add-custom-style > button:hover,
.tps-add-custom-style > button:focus {
    border-color: #2675c7;
    color: #165ca4;
}

.tps-custom-style-status {
    color: #555555;
    font-size: 12px;
}

.tps-live-preview {
    grid-column: 2;
    box-sizing: border-box;
    width: 100%;
    max-width: 430px;
    margin-top: 3px;
    padding: 8px;
    border: 1px solid #c7c7c7;
    background: #f5f5f5;
}

.tps-live-preview-heading {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
}

.tps-live-preview iframe {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 82px;
    border: 1px solid #c7c7c7;
    background: #ffffff;
}

.tps-live-preview .tps-custom-css-preview-note {
    margin-top: 5px;
}

.tps-forum-area-select + .select2-container {
    width: 100% !important;
}

.tps-prefix-forum-assignment {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}

.tps-prefix-forum-assignment select,
.tps-prefix-forum-assignment .select2-container {
    box-sizing: border-box;
    width: 220px !important;
    max-width: 100%;
}

.tps-prefix-forum-assignment .select2-container .select2-choice,
.tps-prefix-forum-assignment .select2-container-multi .select2-choices {
    min-height: 24px;
}

.tps-prefix-forum-assignment-save {
    flex: 0 0 auto;
    min-height: 24px;
    padding: 2px 8px;
    white-space: nowrap;
}

.tps-style-icon-button {
    display: inline-flex;
    width: 28px;
    min-width: 28px;
    height: 26px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
    font: 16px/1 Arial, sans-serif;
    cursor: pointer;
}

.tps-style-icon-button:hover,
.tps-style-icon-button:focus {
    border-color: #2675c7;
    color: #165ca4;
}

.tps-style-icon-button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.tps-style-css-editor {
    grid-column: 2;
    width: 100%;
    max-width: 430px;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 9px;
    border: 1px solid #c7c7c7;
    background: #f5f5f5;
}

.tps-style-css-editor > label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

.tps-style-css-editor textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 260px;
    resize: vertical;
    padding: 7px;
    border: 1px solid #c7c7c7;
    background: #ffffff;
    color: #222222;
    font: 12px/1.5 Consolas, Monaco, monospace;
}

.tps-style-css-editor-actions {
    display: flex;
    min-height: 28px;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
}

.tps-style-css-status {
    font-size: 11px;
}

.tps-style-css-status.is-unsaved,
.tps-style-css-status.is-saving {
    color: #805900;
}

.tps-style-css-status.is-saved {
    color: #167447;
}

.tps-style-css-status.is-error {
    color: #a11;
}

.tps-style-css-editor iframe {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 82px;
    margin-top: 7px;
    border: 1px solid #c7c7c7;
    background: #ffffff;
}

.tps-preview-card {
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #f5f5f5;
}

.tps-preview-heading,
.tps-code-heading {
    color: inherit;
    font-size: inherit;
}

.tps-preview-stage {
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #ffffff;
    background-image: none;
}

.tps-code-row code {
    padding: 6px;
    border: 1px solid #d7d7d7;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
}

.tps-code-row button {
    min-height: 28px;
    padding: 4px 8px;
    cursor: pointer;
}

.tps-generator-note,
.tps-length-warning {
    color: inherit;
    font-size: inherit;
}

.tps-length-warning {
    color: #a00;
}

.tps-custom-css-preview {
    max-width: 760px;
    margin-top: 12px;
    padding: 10px;
    border: 1px solid #c7c7c7;
    background: #f5f5f5;
}

.tps-custom-css-preview-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.tps-custom-css-preview-toolbar strong {
    margin-right: auto;
}

.tps-custom-css-preview-toolbar label {
    font-weight: bold;
}

.tps-custom-css-preview-toolbar select {
    min-height: 24px;
    padding: 3px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
}

.tps-custom-css-preview-toolbar button {
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
    cursor: pointer;
}

.tps-custom-css-preview-frame {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 82px;
    border: 1px solid #c7c7c7;
    background: #ffffff;
}

.tps-custom-css-preview-note {
    margin-top: 7px;
    line-height: 1.4;
}

.tps-custom-css-editor {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(280px, 1fr);
    gap: 8px 14px;
    align-items: start;
    margin-top: 2px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
}

.tps-custom-css-editor > label {
    grid-column: 1 / -1;
    color: #253349;
    font-size: 12px;
    font-weight: 700;
}

.tps-custom-css-editor > label span {
    font-weight: 400;
}

.tps-custom-css-editor textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 8px;
    border: 1px solid #aebbd0;
    border-radius: 4px;
    background: #ffffff;
    color: #1f2937;
    font: 12px/1.5 Consolas, Monaco, monospace;
}

.tps-custom-css-input-wrap {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.tps-custom-css-example-button {
    min-height: 26px;
    padding: 3px 8px;
    border: 1px solid #c7c7c7;
    border-radius: 0;
    background: #ffffff;
    color: #333333;
    cursor: pointer;
}

.tps-custom-css-live-preview {
    min-width: 0;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
}

.tps-custom-css-live-preview iframe {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 82px;
    border: 1px solid #c7c7c7;
    background: #ffffff;
}

@media (max-width: 700px) {
    .tps-generator-controls {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .tps-style-css-editor {
        grid-column: 1;
        max-width: none;
    }

    .tps-live-preview {
        grid-column: 1;
        max-width: none;
    }

    .tps-custom-css-editor {
        grid-template-columns: 1fr;
    }
}
/* THREADPREFIX STUDIO CSS END */


/* WSRP - Fix unread private message notifications */
.pm_alert,
.pm_alert a,
.pm_alert strong,
.pm_alert span {
    color: #202020 !important;
}

.pm_alert a {
    color: #075985 !important;
    font-weight: 700;
    text-decoration: underline;
}

/* Fix other MyBB alert and notice boxes */
.alert,
.alert a,
.notice,
.notice a,
.error,
.error a {
    color: #202020 !important;
}

/* Keep text readable on yellow backgrounds */
.pm_alert {
    background-color: #fff3a3 !important;
    border: 1px solid #e6c34a !important;
}


/* ======================================
   WSRP ezGallery Image Size Fix
   ====================================== */

/* Resize gallery pictures to fit the forum */
img[src*="/gallery/"] {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}

/* Keep gallery images within a reasonable size */
img[src*="/gallery/"]:not([src*="thumb"]) {
    max-width: 900px !important;
    max-height: 650px !important;
    width: auto !important;
    height: auto !important;
}

/* Prevent gallery content from overflowing */
.gallery,
.ezgallery {
    max-width: 100%;
    overflow-x: auto;
}

/* WSRP Media & Showcase integrated gallery */
.wsrp-gallery{margin:16px 0 22px;background:#101c30;border:1px solid #304560;border-radius:10px;padding:18px;color:#eaf2ff}
.wsrp-gallery-header{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.wsrp-gallery h2{color:#fff;font-size:20px;margin:0 0 5px}
.wsrp-gallery p{color:#b6c7dd;margin:0}
.wsrp-gallery-actions{display:flex;gap:8px;flex-wrap:wrap}
.wsrp-gallery-actions a{background:#176c9b;color:white!important;text-decoration:none;padding:9px 12px;border-radius:6px;font-weight:600}
.wsrp-gallery-actions a:hover{background:#208cbe}
.wsrp-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.wsrp-gallery-card{min-width:0;background:#192b43;border:1px solid #314762;border-radius:8px;overflow:hidden;text-decoration:none!important;color:#eaf2ff!important}
.wsrp-gallery-card img{display:block;width:100%!important;height:155px!important;max-width:100%!important;max-height:155px!important;object-fit:cover!important}
.wsrp-gallery-card span{display:block;padding:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}
.wsrp-gallery-card:hover{border-color:#48b8ee}
.wsrp-gallery-empty{grid-column:1/-1;padding:18px}
@media(max-width:850px){.wsrp-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.wsrp-gallery-grid{grid-template-columns:1fr}}

/* WSRP forum status icon replacement — MyBB 1.8.x */
/* Upload images to /images/wsrp-forum-icons/ and add this CSS to the END of your active theme's global.css */
/* Applies to normal forum rows and the forum legend. Does not alter templates or forum functionality. */
.forum_status,
.forum_legend .forum_status {
    display: inline-block;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    font-size: 0 !important; /* hide old icon-font glyph */
    line-height: 0 !important;
    vertical-align: middle;
    transition: filter .2s ease, transform .2s ease;
}
.forum_status.forum_on, .forum_on.forum_status, .forum_legend .forum_on {
    background-image: url(/images/wsrp-forum-icons/forum-new.png) !important;
}
.forum_status.forum_off, .forum_off.forum_status, .forum_legend .forum_off {
    background-image: url(/images/wsrp-forum-icons/forum-nonew.png) !important;
}
.forum_status.forum_offlock, .forum_offlock.forum_status, .forum_legend .forum_offlock, .forum_status.forum_offclose {
    background-image: url(/images/wsrp-forum-icons/forum-closed.png) !important;
}
.forum_status.forum_offlink, .forum_offlink.forum_status, .forum_legend .forum_offlink {
    background-image: url(/images/wsrp-forum-icons/forum-redirect.png) !important;
}
.forum_status::before, .forum_status::after { content: none !important; }
.forum_status.forum_on:hover { filter: drop-shadow(0 0 5px rgba(0,217,255,.65)); transform: translateY(-1px); }
.forum_legend .forum_status { width: 30px; height: 30px; min-width: 30px; }
@media (prefers-reduced-motion: reduce) { .forum_status { transition: none; } }
