@charset "utf-8";

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
	box-sizing: border-box;
	background: #040D1A;
	color: #ccc;
	border: 1px solid #7F7F7F;
	border-radius: 2px;
	padding: 5px 6px;
	margin: 4px 0;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 12px;
	outline: 0;
	box-shadow: none;
	transition: border-color 0.2s;
}

input[type="text"],
input[type="password"],
input[type="email"] {
	width: 100%;
	max-width: 100%;
}

input[type="text"]:hover,
input[type="password"]:hover,
input[type="email"]:hover,
textarea:hover,
select:hover {
	border-color: #C77E19;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
	border-color: #FFB019;
	color: #fff;
	background: #0D1A2D url(../images/frame/forum-menu-search-tile.gif) repeat-x 0 0;
}

input::placeholder,
textarea::placeholder {
	color: #ccc;
	opacity: 0.5;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: #C77E19;
}

label {
	color: #F3E6D0;
}

/* Full-page forms (login, register, settings) */
.page_form table {
	margin: 0 auto;
}

.page_form td {
	padding: 3px 6px;
	vertical-align: middle;
}

.page_form span[id$="_error"] {
	color: #f30;
	font-size: 11px;
}

.page_form input[type="submit"] {
	margin-top: 14px;
	padding-left: 20px;
	padding-right: 20px;
}

/* Sidebox login */
#sidebox_login {
	text-align: left;
}

#sidebox_login input[type="submit"] {
	margin-top: 8px;
}

/* =========== Tables (vote, donate, online players) =========== */
.nice_table {
	width: 100%;
	border-collapse: collapse;
}

.nice_table td {
	padding: 6px;
	border-bottom: 1px solid #000;
	border-top: 1px solid #252525;
	vertical-align: middle;
}

.nice_table tr:first-child td {
	background: #1b1b1b linear-gradient(to bottom, #333 0, #1b1b1b 50%, #0d0d0d 100%);
	color: #F3E6D0;
	font-weight: bold;
	border-top: 0;
}

.nice_table tr:first-child td a {
	color: #fff;
}

.nice_table tr:hover td {
	background-color: #1E1E1E;
}

/* =========== Modal boxes (forum: modal / jqi) =========== */
#popup_bg {
	background-color: #000;
}

.popup {
	background: #141414 !important;
	color: #E1C492;
	border: 1px solid #575757 !important;
	box-shadow: 0 0 0 1px #000, 0 0 0 3px #1B1B1B, 0 0 0 4px #000, 0 0 35px #000 !important;
}

.popup h1 {
	color: #F3E6D0 !important;
	text-shadow: 1px 1px 1px #000;
}

.popup_links {
	background: #101010;
	border-top: 1px solid #252525;
}

.popup_button,
.popup_hide {
	background: #222 linear-gradient(to bottom, #373737 0%, #111 100%) !important;
	border: 1px solid #5D5D5D !important;
	border-radius: 2px;
	color: #FFAE00 !important;
	font-weight: bold;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
	box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.6), inset 0 0 3px 0 rgba(0, 0, 0, 0.8) !important;
}

.popup_hide {
	color: #888 !important;
}

.popup_button:hover,
.popup_hide:hover {
	border-color: #FFB019 !important;
	color: #FFB019 !important;
}

/* =========== Tooltip =========== */
#tooltip,
.tooltip {
	background: #141414;
	background: rgba(20, 20, 20, 0.95);
	border: 1px solid #666;
	box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.8);
	color: #E1C492;
}

/* =========== News comments =========== */
.staff_comment .comment_author {
	color: #00C0FF !important;
}

.comment,
.message_box {
	width: auto !important;
	background: #161616 !important;
	color: inherit !important;
	border: 1px solid #444 !important;
	border-radius: 2px;
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.6) !important;
}

.comment a img,
.message_box a img {
	border: 1px solid #000 !important;
	box-shadow: none !important;
}

.comment_author,
.message_box_author {
	color: #f8b700;
	font-weight: bold;
}

.comment_author:hover,
.message_box_author:hover {
	color: #fff !important;
}

.comment_date,
.message_box_date,
.characters_remaining {
	color: #666;
	font-size: 11px;
}

/* Comments: one fluid column instead of the fixed 700px two-column layout */
.comments_area {
	float: none !important;
	margin: 12px 0 0 !important;
}

.comment {
	margin-bottom: 8px !important;
	padding: 8px 10px !important;
}

.comments form {
	width: auto !important;
	margin: 10px 0 0 !important;
	text-align: right;
}

.comments textarea {
	width: 100% !important;
	height: 60px;
	resize: vertical;
}

.comments .characters_remaining {
	float: left;
	margin-top: 8px;
}

/* =========== Shoutbox =========== */
#shoutbox textarea {
	width: 100%;
	height: 28px;
	resize: none;
}

#shoutbox .shout_characters_remaining {
	float: left;
	font-size: 10px;
	color: #666;
	margin-top: 10px;
}

#shoutbox input[type="submit"] {
	float: right;
	margin-top: 4px;
}

#shoutbox .side_divider {
	clear: both;
	height: 1px;
	background: #444;
	margin: 10px 0 6px;
}

#the_shouts .shout {
	padding: 7px 0;
	border-bottom: 1px solid #000;
	border-top: 1px solid #252525;
	color: #E1C492;
	word-wrap: break-word;
}

#the_shouts .shout:first-child {
	border-top: 0;
}

#the_shouts .shout:last-child {
	border-bottom: 0;
}

#the_shouts .shout_date {
	float: right;
	font-size: 10px;
	color: #666;
}

#the_shouts .shout_author a {
	color: #f8b700;
	font-weight: bold;
}

#the_shouts .shout_staff a {
	color: #00C0FF;
}

#shoutbox_view {
	text-align: center;
	padding-top: 8px;
}

/* =========== Polls / bars =========== */
#poll_answers .poll_answer {
	margin-left: 10px;
}

.poll_bar_fill,
.realm_bar_fill {
	background: linear-gradient(to bottom, #FFB019, #8C6407);
	border-radius: 2px;
	height: 9px;
}

/* =========== PvP ladder sidebox =========== */
.toppvp_select {
	border-bottom: 1px solid #444;
	margin-top: 5px;
}

.toppvp_character {
	padding: 7px 0;
	border-bottom: 1px solid #000;
	border-top: 1px solid #252525;
}

/* =========== FusionEditor =========== */
.fusioneditor .fusioneditor_tools {
	color: #888 !important;
	background: #141414 !important;
	border: 1px solid #444 !important;
	border-bottom: none !important;
}

.fusioneditor .fusioneditor_tools a:hover {
	background: #252525 !important;
	border: 1px solid #575757 !important;
	box-shadow: none !important;
}

.fusioneditor .fusioneditor_field {
	color: #ccc;
	background: #040D1A !important;
	border: 1px solid #444 !important;
	border-top: none !important;
}

.fusioneditor .fusioneditor_toolbox {
	border-top: 1px solid #444 !important;
}

.fusioneditor .fusioneditor_size {
	color: #888;
}

.fusioneditor .fusioneditor_size:hover {
	color: #fff;
}

#pm_username_autocomplete {
	background: #141414 !important;
	border: 1px solid #666 !important;
}

#pm_username_autocomplete a {
	border-bottom: 1px solid #252525 !important;
}

/* =========== User panel =========== */
#ucp_top {
	margin-bottom: 12px;
}

.avatar,
#ucp_avatar,
.store_item .item_icon {
	border: 1px solid #000;
	margin-right: 10px;
}

#ucp_avatar {
	flex-shrink: 0;
}

#ucp_avatar img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* UCP + profile header: fluid instead of fixed 250px/190px columns */
#ucp_top {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

#ucp_top > .clear,
#ucp_top > div[style*="clear"] {
	display: none;
}

#ucp_info {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 0 14px;
	height: auto !important;
	float: none;
}

#ucp_info aside {
	flex: 1 1 150px;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none;
}

#ucp_info aside + aside {
	border-left: 1px solid #444;
	padding-left: 14px !important;
}

#ucp_info aside:first-child {
	border-right: 0;
}

#ucp_info td img {
	vertical-align: middle;
}

#ucp_info td {
	font-size: 11px;
	padding: 3px 0;
}

#ucp_info td:nth-child(2) {
	font-weight: bold;
	color: #F3E6D0;
}

.ucp_divider {
	height: 1px;
	background: #444;
	margin: 14px 0;
}

#sc_ucp_buttons {
	clear: both;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin: 10px 0 15px;
}

#sc_ucp_buttons .clear {
	display: none;
}

.sc-ucp-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	background: #141414;
	background: rgba(20, 20, 20, 0.8);
	border: 1px solid #444;
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.6);
	transition: border-color 0.2s ease-in-out;
}

.sc-ucp-btn:hover {
	border-color: #C77E19;
}

.sc-ucp-btn img {
	flex-shrink: 0;
	border: 1px solid #000;
}

.sc-ucp-btn b {
	display: block;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #f8b700;
}

.sc-ucp-btn small {
	display: block;
	font-size: 10px;
	color: #877B69;
	transition: color 0.25s ease-in-out;
}

.sc-ucp-btn:hover small {
	color: #fff;
}

#ucp_characters a,
#ucp_buttons a {
	border: 1px solid #000;
}

/* Realm / online bars on UCP and profiles */
.online_realm_button,
#ucp_characters h1 {
	background: #1b1b1b linear-gradient(to bottom, #333 0, #1b1b1b 50%, #0d0d0d 100%);
	color: #F3E6D0;
	border: 1px solid #000;
	padding: 8px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	text-shadow: 1px 1px 1px #000;
	margin-top: 5px !important;
}

.online_realm_button:hover {
	color: #f8b700;
}

/* =========== Store =========== */
.item_group_title {
	margin: 18px 0 5px 2px;
	font-size: 13px;
	font-weight: bold;
	color: #F3E6D0;
	border-bottom: 1px solid #444;
	padding-bottom: 3px;
}

.item_group {
	background: #000;
	border: 1px solid #575757;
	padding: 1px;
	box-shadow: 0 0 0 1px #000, 0 0 0 3px #1B1B1B, 0 0 0 4px #000;
}

.store_item {
	background: #161616;
	border-bottom: 1px solid #000;
	border-top: 1px solid #252525;
	margin: 0;
}

.store_item:hover {
	background: #1E1E1E;
}

.store_item:first-child {
	border-top: none;
}

.store_item:last-child {
	border-bottom: none;
}

#store form .filter_field {
	border-left: 1px solid #444;
	margin-bottom: 8px;
}

#store form input[type="text"] {
	width: 120px !important;
}

#cart_price_divider {
	border-bottom: 1px solid #444;
	margin-bottom: 10px;
}

/* Teleporter / location boxes */
.location {
	background: #141414;
	border: 1px solid #444;
	transition: border-color 0.2s;
}

.location:hover {
	border-color: #C77E19;
	background: #1E1E1E;
}

.location_name {
	color: #f8b700;
}

/* Armory */
#armory_top h1 {
	color: #F3E6D0;
}

#armory_stats td {
	font-size: 12px !important;
}

#avatar_page center {
	color: #F3E6D0;
}

#change_form input[type="text"] {
	width: 50% !important;
}

/* Slider (if enabled) */
.caption,
#slider_next,
#slider_previous {
	background: rgba(0, 0, 0, 0.75);
	color: #E1C492;
}

#slider_next:hover,
#slider_previous:hover {
	background: #000;
	color: #fff;
}

/* =========== WoW item quality + class colours =========== */
/* Higher specificity than link colours so items/characters keep their colour */
#container .q0 { color: #9d9d9d; }
#container .q1 { color: #ffffff; }
#container .q2 { color: #1eff00; }
#container .q3 { color: #0070dd; }
#container .q4 { color: #a335ee; }
#container .q5 { color: #ff8000; }
#container .q6 { color: #e6cc80; }
#container .q7 { color: #00ccff; }

#container .color-c1 { color: #C79C6E; }
#container .color-c2 { color: #F58CBA; }
#container .color-c3 { color: #ABD473; }
#container .color-c4 { color: #FFF569; }
#container .color-c5 { color: #FFFFFF; }
#container .color-c6 { color: #C41F3B; }
#container .color-c7 { color: #0070DE; }
#container .color-c8 { color: #69CCF0; }
#container .color-c9 { color: #9482C9; }
#container .color-c11 { color: #FF7D0A; }

#container a[class*="q"]:hover,
#container a[class*="color-c"]:hover {
	text-decoration: underline;
}

/* =========== Store layout =========== */
#container #store {
	min-width: 0 !important;
}

#container #store form .filter_field {
	height: auto !important;
	padding: 4px 12px !important;
}

#container #store form .filter_field label {
	color: #888;
}

#container #store form .filter_field .nice_button {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	float: none !important;
}

#container #store #store_content {
	margin: 0 !important;
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 14px;
}

#container #store #store_content > .clear {
	display: none;
}

#container #store #store_realms {
	float: none !important;
	flex: 1;
	width: auto !important;
	min-width: 0;
}

#container #store #cart {
	float: none !important;
	width: 250px !important;
	margin: 0 !important;
	flex-shrink: 0;
	position: sticky;
	top: 10px;
	background: #000;
	border: 1px solid #575757;
	padding: 1px;
	box-shadow: 0 0 0 1px #000, 0 0 0 3px #1B1B1B, 0 0 0 4px #000, 0 3px 8px rgba(0, 0, 0, 0.7);
}

#container #store #cart .online_realm_button {
	margin: 0 !important;
}

#container #store .online_realm_button {
	display: block;
	height: auto;
	line-height: 1.4;
}

#container #store .realm_items > div:first-child a {
	color: #888;
	font-size: 11px;
}

#container .item_group_title a.hide_group {
	color: #888;
	font-weight: normal;
}

#container .store_item {
	height: auto !important;
	min-height: 38px;
	padding: 8px 10px !important;
}

#container .store_item .item_icon {
	width: 36px;
	height: 36px;
}

#container .store_item .store_buttons {
	margin-top: 4px !important;
}

#container .store_item .store_buttons .nice_button {
	margin-top: 0;
	padding: 3px 8px;
	font-size: 11px;
}

#container .store_item .store_buttons img,
#container #cart img {
	vertical-align: middle;
}

/* Cart: long item names wrap instead of overflowing; delete button on hover */
#container #cart_items .store_item {
	position: relative;
	padding: 6px 8px !important;
	min-height: 0;
}

#container #cart .store_item .item_name,
#container #cart .store_item .item_realm {
	display: block;
	font-size: 11px !important;
	line-height: 1.4 !important;
	white-space: normal;
	word-break: break-word;
	padding-right: 50px;
}

#container #cart .store_item .item_realm {
	color: #877B69;
}

#container #cart .item_price {
	position: absolute;
	right: 8px;
	top: 6px;
	float: none;
}

#container #cart .delete_item {
	top: 6px;
}

#container #empty_cart {
	color: #888;
	opacity: 1 !important;
}

#container #cart_price {
	padding: 8px;
}

#container #cart_price .nice_button {
	float: right;
}

#container #vp_price_full,
#container #dp_price_full {
	margin: 4px 8px 4px 0 !important;
	font-weight: bold;
	color: #F3E6D0;
}

/* Checkout */
#container #checkout_info {
	color: #F3E6D0;
	padding: 10px;
}

#container .checkout_characters select {
	width: 180px;
	margin: 0;
}

/* =========== Character / guild / armory search =========== */
#container #armory_top,
#container #guild_top {
	color: #E1C492;
}

#container #armory_top h1,
#container #guild_top h1 {
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 32px !important;
	color: #F3E6D0;
	letter-spacing: -0.02em;
}

#container #armory_top h2,
#container #guild_top h2 {
	color: #877B69;
	font-size: 13px !important;
}

#container #armory_top img.avatar,
#container .search_result_character img {
	border: 1px solid #000;
	box-shadow: 0 0 0 1px #575757;
	background: none;
	width: 64px;
	height: 64px;
	margin: 0 14px 0 0;
	overflow: visible;
}

#container .search_result_character img {
	width: 54px;
	height: 54px;
	margin-right: 10px;
}

#container #armory_bars div {
	border-radius: 2px;
	font-size: 12px;
}

#container #armory_stats_top a {
	color: #C2A36B;
}

#container #armory_stats_next a {
	background: #222 linear-gradient(to bottom, #373737 0%, #111 100%);
	border: 1px solid #5D5D5D;
	border-radius: 2px;
	color: #FFAE00;
	box-shadow: none;
}

#container #armory_stats_next a:hover {
	border-color: #FFB019;
}

#container #guild_info {
	color: #877B69;
}

#container .search_result_character {
	background: #141414;
	background: rgba(20, 20, 20, 0.8);
	border: 1px solid #444;
	padding: 8px;
	box-sizing: border-box;
	margin: 0 8px 8px 0 !important;
	transition: border-color 0.2s;
}

#container .search_result_character:hover {
	border-color: #C77E19;
}

#container .search_result_character span {
	color: #877B69;
	font-size: 11px;
}

#container #search_box {
	width: auto !important;
	max-width: 500px;
}

#container #search_box input[type="text"] {
	width: 100% !important;
}

#container #search_sections {
	background: #101010;
	border: 1px solid #252525;
}

/* =========== PvP statistics =========== */
#container .statistics_top_hk {
	float: none;
	flex: 1 1 220px;
	margin: 0;
	width: auto;
	border: 1px solid #575757;
	border-radius: 0;
	padding: 1px;
	box-shadow: 0 0 0 1px #000, 0 0 0 3px #1B1B1B, 0 0 0 4px #000;
}

/* =========== Donate =========== */
#container #right .payment-select label {
	background: #222 linear-gradient(to bottom, #373737 0%, #111 100%);
	border: 1px solid #5D5D5D;
	border-radius: 2px;
	color: #FFAE00;
	font-weight: bold;
	box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.6), inset 0 0 3px 0 rgba(0, 0, 0, 0.8);
}

#container #right .payment-select label:hover {
	border-color: #FFB019;
}

#container #right #donate form label {
	margin-left: 0;
	padding: 6px 8px;
	color: #E1C492;
}

#container #right #donate form input[type="submit"] {
	width: auto;
	margin-left: 0;
	padding-left: 24px;
	padding-right: 24px;
}

#container #right .sc-invhist {
	background: #000;
	border: 1px solid #575757;
	border-radius: 0;
	padding: 1px;
	box-shadow: 0 0 0 1px #000, 0 0 0 3px #1B1B1B, 0 0 0 4px #000;
}

#container #right .sc-invhist h3 {
	margin: 0;
	background: #1b1b1b linear-gradient(to bottom, #333 0, #1b1b1b 50%, #0d0d0d 100%);
	color: #F3E6D0;
	font-family: Arial, Helvetica, sans-serif;
	border-bottom: 1px solid #000;
}

#container #right .sc-invhist th {
	background: #101010;
	color: #888;
}

#container #right .sc-invhist td {
	background: #161616;
	color: #E1C492;
	border-bottom: 1px solid #000;
}

/* =========== Sideboxes: login, info, Discord =========== */
#container #sidebox_login input[type="text"],
#container #sidebox_login input[type="password"] {
	width: 100%;
}

/* Turnstile*/
#container #sidebox_login *:has(> .cf-turnstile) {
	display: flex;
	justify-content: center;
}

#container #sidebox_login .cf-turnstile {
	transform-origin: top center !important;
	margin: 10px 0 0 !important;
	overflow: visible;
}

#container #sidebox_login .cf-turnstile > div {
	transform-origin: top center !important;
}

#container #sidebox_login br {
	display: none;
}

#container #sidebox_login input[type="submit"] {
	margin-top: 6px;
}

#container #sidebox_login a {
	display: inline-block;
	margin-top: 8px;
	font-size: 11px;
}

#container .sidebox_info table td {
	padding: 4px 2px;
	border-bottom: 1px solid #000;
	border-top: 1px solid #252525;
	font-size: 11px;
}

#container .sidebox_info table td:first-child {
	white-space: nowrap;
}

#container .sidebox_info table td:last-child {
	text-align: right;
	color: #F3E6D0;
	font-weight: bold;
	font-size: 10px;
	white-space: nowrap;
}

#container .sidebox_info table img {
	vertical-align: middle;
	margin-right: 4px;
}

#container .sidebox_info center {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-top: 10px;
}

#container .sidebox_info .nice_button {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 3px 9px;
	font-size: 11px;
	text-align: center;
}

#container .sidebox_discord iframe {
	display: block;
	border: 1px solid #000 !important;
}

/* Login page */
#container #remember_me {
	margin: 8px 0;
	color: #888;
}

#container #forgot {
	margin-top: 10px;
	font-size: 11px;
}

/* Armory: module is 698px wide, scale it to fit the content column */
#container #armory {
	zoom: 0.88;
}

/* =========== Narrow screens =========== */
@media (max-width: 1000px) {
	#container #store #store_content {
		flex-direction: column;
	}

	#container #store #cart {
		width: auto !important;
		align-self: stretch;
		position: static;
	}

	#container #store #store_realms {
		width: 100% !important;
	}

	#container #armory {
		zoom: 0.85;
	}

	.pbw-page-inner:has(#armory) {
		overflow-x: hidden;
	}

	.page_form table {
		width: 100% !important;
	}

	.page_form td {
		padding: 6px 4px !important;
	}

	.page_form td:first-child {
		width: 40%;
		text-align: right;
	}

	.page_form input[type="text"],
	.page_form input[type="password"],
	.page_form input[type="email"] {
		width: 100% !important;
		min-width: 150px;
		max-width: 260px;
		height: 34px;
		box-sizing: border-box;
		font-size: 16px;
	}

	#container #ucp_top {
		flex-wrap: wrap;
	}
}

@media (max-width: 850px) {
	#container #armory { zoom: 0.7; }
}

/* =========== Commands page =========== */
.sc-cmds .sc-cmd-intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 14px;
	margin-bottom: 14px;
	background: #171717;
	border: 1px solid #000000;
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.6);
}

.sc-cmds .sc-cmd-intro p {
	margin: 0;
	line-height: 1.5;
}

.sc-cmds .sc-cmd-intro strong {
	color: #F3E6D0;
}

.sc-cmds .sc-cmd-intro .nice_button {
	flex-shrink: 0;
	white-space: nowrap;
}

.sc-cmds .sc-cmd-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.sc-cmds .sc-cmd-card {
	background: #141414;
	background: rgba(20, 20, 20, 0.8);
	border: 1px solid #444;
	box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.6);
}

.sc-cmds .sc-cmd-card h3 {
	margin: 0;
	padding: 7px 10px;
	background: #1b1b1b linear-gradient(to bottom, #333 0, #1b1b1b 50%, #0d0d0d 100%);
	border-bottom: 1px solid #000;
	color: #F3E6D0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-shadow: 1px 1px 1px #000;
}

.sc-cmds .sc-cmd-card ul + h3 {
	border-top: 1px solid #000;
}

.sc-cmds .sc-cmd-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sc-cmds .sc-cmd-card li {
	padding: 6px 10px;
	border-top: 1px solid #252525;
	border-bottom: 1px solid #000;
}

.sc-cmds .sc-cmd-card li:first-child {
	border-top: 0;
}

.sc-cmds .sc-cmd-card li:last-child {
	border-bottom: 0;
}

.sc-cmds code {
	font-family: Consolas, Monaco, "Courier New", monospace;
	font-size: 12px;
	color: #C2A36B;
	background: #0b0b0b;
	border: 1px solid #2e2e2e;
	border-radius: 2px;
	padding: 1px 5px;
}

.sc-cmds li > code {
	display: inline-block;
}

.sc-cmds li > span {
	display: block;
	margin-top: 3px;
	font-size: 11px;
	color: #877B69;
}

.sc-cmds li > span code {
	font-size: 10px;
	padding: 0 3px;
}

/* VIP card stands out */
.sc-cmds .sc-cmd-vip {
	grid-column: 1 / -1;
}

.sc-cmds .sc-cmd-vip ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sc-cmds .sc-cmd-vip li:first-child {
	border-top: 1px solid #252525;
}

.sc-cmds .sc-cmd-vip li:last-child {
	border-bottom: 1px solid #000;
}

.sc-cmds .sc-cmd-vip h3 {
	color: #F3E6D0;
}

.sc-cmds .sc-cmd-card li:not(:has(> code)):not(.sc-note) {
	position: relative;
	padding-left: 24px;
}

.sc-cmds .sc-cmd-card li:not(:has(> code)):not(.sc-note)::before {
	content: "\203A";
	position: absolute;
	left: 11px;
	top: 4px;
	color: #C2A36B;
	font-size: 14px;
	font-weight: bold;
}

@media (max-width: 700px) {
	.sc-cmds .sc-cmd-grid,
	.sc-cmds .sc-cmd-vip ul {
		grid-template-columns: minmax(0, 1fr);
	}

	.sc-cmds .sc-cmd-intro {
		flex-direction: column;
		align-items: flex-start;
	}
}

#container #item_space {
	width: auto;
	max-width: 450px;
}

#container #item_space .item_bg {
	max-width: calc(100% - 80px);
	box-sizing: border-box;
}

.sc-reg-info {
	margin: 4px 10px 20px;
	text-align: center;
	line-height: 1.8;
}

.sc-reg-info p {
	margin: 0;
}

.sc-reg-info b {
	color: #F3E6D0;
}

#container .sidebox_info .sc-rank-vip {
	color: #f8b700;
}

#container .sidebox_info .sc-rank-staff {
	color: #00C0FF;
}

#container .sidebox_info a.sc-rank-regular {
	color: #F3E6D0;
}

#container .sidebox_info a.sc-rank-regular:hover {
	color: #f8b700;
}

#container #ucp_info .sc-rank-vip {
	color: #f8b700;
}

#container #ucp_info .sc-rank-staff {
	color: #00C0FF;
}

#container #ucp_info a.sc-rank-regular {
	color: #F3E6D0;
}

#container #ucp_info a.sc-rank-regular:hover {
	color: #f8b700;
}

.pbw-page-inner img,
#content_ajax img {
	max-width: 100%;
	height: auto;
}

@media (max-width: 600px) {
	#container #ucp_top {
		flex-direction: column;
		align-items: center;
	}

	#container #ucp_avatar {
		margin: 0 0 12px;
	}

	#container #ucp_avatar img {
		width: 110px;
		height: auto;
	}

	#container #ucp_info {
		width: 100%;
	}

	#container #ucp_info aside {
		flex: 1 1 100%;
	}

	#container #ucp_info aside + aside {
		border-left: 0;
		padding-left: 0 !important;
		border-top: 1px solid #444;
		margin-top: 6px !important;
		padding-top: 6px !important;
	}

	#container #sc_ucp_buttons {
		grid-template-columns: 1fr;
	}
}

#armory_stats #sc_pvp_box {
	display: block !important;
	padding: 16px;
	text-align: center;
}

#sc_pvp_box .sc-pvp-title {
	font: bold 18px Arial, Helvetica, sans-serif;
	color: #f8b700;
	margin-bottom: 10px;
}

#sc_pvp_box .sc-pvp-row {
	font-size: 14px;
	color: #ddd;
	margin: 6px 0;
}

#sc_pvp_box .sc-pvp-row b {
	color: #ffac04;
}

#sc_pvp_box .sc-pvp-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 12px;
	color: #f0c060;
}

@media (max-width: 600px) {
	#container .statistics_top_hk tr td:nth-child(3) {
		display: none !important;
	}

	#container .statistics_top_hk td {
		padding: 8px 4px !important;
		font-size: 13px !important;
	}

	#container .statistics_top_hk td:nth-child(2) {
		width: auto !important;
	}
}

@media (max-width: 700px) { #container #armory { zoom: .79; } }
@media (max-width: 640px) { #container #armory { zoom: .76; } }
@media (max-width: 600px) { #container #armory { zoom: .71; } }
@media (max-width: 560px) { #container #armory { zoom: .65; } }
@media (max-width: 520px) { #container #armory { zoom: .6; } }
@media (max-width: 480px) { #container #armory { zoom: .55; } }
@media (max-width: 440px) { #container #armory { zoom: .47; } }
@media (max-width: 400px) { #container #armory { zoom: .44; } }
@media (max-width: 370px) { #container #armory { zoom: .42; } }
@media (max-width: 340px) { #container #armory { zoom: .38; } }

@media (max-width: 600px) {
	#container #armory {
		margin-left: -30px;
	}
}