/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 
 * Author Lautaro Angelico (https://lautaroangelico.com/)
 * Copyright (c) 2013-2022 Lautaro Angelico, All Rights Reserved
 
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 
 =========================================================
 
*/
html {
	min-width: 1040px;
	height: 100%;
}

body {
	background: #000000 url('../img/background.jpg') no-repeat top center;
	color: #333;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	font-size: 14px;
	margin: 0;
	height: 100%;
}

@media only screen and (min-width: 2000px) {
	body {
		background: #000000 url('../img/background-2600.jpg') no-repeat top center !important;
	}
}

a {
	color: var(--ColorTemplate);
	text-decoration: none;
	-moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

a:hover {
	color: #ffda8a;
}

img {
	border: 0px;
}

input[type=text], input[type=password], input[type=number] {
	background: #fafafa;
	border: 1px solid #e3e3e3;
	color: #666;
}
input[type=text]:focus, input[type=password]:focus, input[type=number]:focus {
	border: 1px solid #ccc;
}

#header {
	width: 100%;
	margin: 0px auto;
	padding: 70px 0px 50px 0px;
	text-align: center;
	color: #fff;
}

#container {
	background: #eeeeee;
	width: 1040px;
	height: auto;
	margin: 0px auto;
	padding: 20px 0px;
	-webkit-border-radius: 5px 5px 0px 0px;
	-moz-border-radius: 5px 5px 0px 0px;
	border-radius: 5px 5px 0px 0px;
	-khtml-border-radius: 5px 5px 0px 0px;
}

#content {
	width: 100%;
	overflow: auto;
	min-height: 500px;
	padding: 10px 20px 0px 20px;
}

.footer {
	background: #f7f7f7;
	font-family: 'Segoe UI', 'Lucida Sans Unicode', 'Lucida Grande', 'Tahoma', 'Arial', 'sans-serif';
	width: 1040px;
	font-size: 12px;
	color: #666666;
	overflow: auto;
	margin: 0px auto 100px auto;
	border-top: 3px solid var(--ColorTemplate);
	-webkit-border-radius: 0px 0px 5px 5px;
	-moz-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
	-khtml-border-radius: 0px 0px 5px 5px;
}
	.footer > .footer-container {
		width: 100%;
		margin: 0px auto;
	}
		.footer > .footer-container a:hover {
			text-decoration: underline !important;
		}
	.footer .footer-social-link {
		filter: grayscale(100%);
		transition: all .3s ease;
	}
	.footer .footer-social-link:hover {
		filter: grayscale(0%);
	}

#navbar {
	width: 100%;
	backdrop-filter: blur(5px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#navbar ul{
	text-align: center;
	margin: 0px;
	-webkit-padding-start: 0px;
}

#navbar ul li {
	list-style-type: none;
	display: inline-block;
	font-size: 16px;
}

#navbar ul li a {
	display: inline-block;
	color: #cccccc !important;
	text-decoration: none;
	padding: 20px 30px;
	transition: all .3s ease;
	text-transform: uppercase;
}

#navbar ul li a:active, #navbar ul li a:focus, #navbar ul li a:hover {
	color: #ffffff !important;
	text-decoration: none;
}

.admincp-button {
	position: absolute;
	top: 0px;
	right: 10px;
	font-size: 10px;
	background: var(--ColorTemplate) !important;
	border: 2px solid #000000 !important;
	color: var(--bs-light) !important;
	font-weight: bold !important;
}

.page-title {
	color: var(--ColorTemplate);
	font-family: 'Roboto', sans-serif;
	font-size: 32px;
	margin-bottom: 10px;
	font-weight: 500;
}

/* NEWS MODULE */
.panel-news {
	margin-bottom: 30px;
	color: #333;
	border: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-moz-box-shadow: 0 0 0px #e3e3e3;
	-webkit-box-shadow: 0 0 0px #e3e3e3;
	box-shadow: 0 0 0px #e3e3e3;
}
.panel-news .panel-heading {
	padding: 0.5rem 1rem;
	background-color: var(--ColorTemplate);
	border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
	border-bottom-left-radius: unset;
	border-bottom-right-radius: unset;
}

.panel-news .panel-heading a{
	color: #f1f1f1;
}
.panel-news .panel-heading a:hover{
	color: #f1f1f1cc;
}

.panel-news .panel-title {
	color: #000000;
    font-size: 17px;
    font-weight: bold;
    padding-top: 5px;
}
.panel-news .panel-body {
	padding: 1rem 1rem;
	background: #fff;
	border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
	border-top-left-radius: unset;
	border-top-right-radius: unset;
}
.panel-news .panel-footer {
    background: #f7f7f7;
	padding: 1rem 1rem;
    font-style: italic;
    font-size: 16px;
    color: #212529;
	border: 1px solid rgba(0,0,0,.125);
	border-top: 3px solid var(--ColorTemplate);
    border-radius: 0.25rem;
	border-top-left-radius: unset;
	border-top-right-radius: unset;
}

/* RANKINGS MODULE */
.rankings-table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	padding: 1rem 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
}

.rankings-class-image-sidebar {
	width: 18px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.rankings-class-image {
	width: 40px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.rankings-table tr td {
	border-bottom: 1px solid #e3e3e3;
	padding: 10px;
	font-size: 18px;
	vertical-align: middle !important;
	text-align: center;
}
.rankings-table-place {
	color: var(--ColorTemplate);
	font-weight: bold;
	/*font-size: 24px;*/
	text-align: center;
}

.default-char-offline {
    border: 3px solid #D0D0D0;
    vertical-align: middle;
}

.default-char-online {
    border: 3px solid #a5d72c;
    vertical-align: middle;
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--bs-light) !important;
    background-color: var(--ColorTemplate);
    border-color: var(--ColorTemplate);
}

.rankings-table tr:first-child td {
	color: var(--bs-light);
	border-bottom: 3px solid var(--ColorTemplate);
	background: var(--ColorTemplate);
}
.rankings-update-time {
	text-align: right;
	font-size: 11px;
	color: #ccc;
	padding: 10px 0px;
}
.rankings_menu {
	width: 100%;
	overflow: auto;
	text-align: center;
	margin-bottom: 10px;
}
.rankings_menu span {
	width: 100%;
	display: inline-block;
	padding: 10px 0px;
	color: #ccc;
	font-size: 24px;
}
.rankings_menu a {
	display: inline-block;
	width: 160px;
	border: 1px solid var(--ColorTemplate);
	border-left: 7px solid var(--ColorTemplate);
	text-align: center;
	padding: 2px 0px;
	margin: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: var(--ColorTemplate);
	background: linear-gradient(to left, transparent 50%, var(--ColorTemplate) 50%);
	background-size: 200%;
	background-position: right;
	transition: background-position 0.5s;
}
.rankings_menu a.active {
	color: #f1f1f1;
	border: 1px solid var(--ColorTemplate);
	border-left: 7px solid var(--ColorTemplate);
	background: var(--ColorTemplate);
}

.rankings_menu a:hover {
	color: var(--bs-light) !important;
    text-decoration: none !important;
	background-position: left;
}

.rankings_guild_logo tr td {
	border: 0px !important;
	padding: 0px !important;
	margin: 0px !important;
}
.rankings-gens-img {
	width: auto !important;
	height: 30px !important;
	border: 0 !important;
	-moz-box-shadow: 0 0 0px #000 !important;
	-webkit-box-shadow: 0 0 0px #000 !important;
	box-shadow: 0 0 0px #000 !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
}

/* MY ACCOUNT MODULE */
.myaccount-table {
	width: 100%;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
}
.myaccount-table tr td:first-child {
	color: #666;
	font-weight: bold;
}
.myaccount-table tr td {
	border-bottom: 1px solid #e3e3e3;
	padding: 15px !important;
}
.myaccount-table tr:last-child td {
	border: 0px;
}

/* GENERAL TABLE UI */
.general-table-ui {
	width: 100%;
	table-layout: fixed;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	padding: 10px;
	margin: 10px 0px;
}
.general-table-ui tr td {
	padding: 5px;
	vertical-align: middle !important;
}
.general-table-ui tr:first-child td {
	color: var(--ColorTemplate);;
}
.general-table-ui tr:nth-child(2n+2) td {
	background: #fafafa;
}
.general-table-ui tr td {
	text-align: center;
}
.general-table-ui img {
	width: 50px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

/* TERMS OF SERVICE PAGE */
.tos_list li {
	color: var(--ColorTemplate);;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 40px;
}
.tos_list li p {
	color: #444;
	text-align: justify;
	text-justify: inter-word;
	text-transform: none;
	padding-right: 35px;
	font-size: 14px;
	font-weight: normal;
}

/* PAYPAL */
.paypal-gateway-container {
	width: 100%;
}

.paypal-gateway-content {
	background: #fef2da;
	border: 3px solid #f79433;
	padding: 15px;
	overflow: auto;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-weight: bold;
}

.paypal-gateway-logo {
	width: 100%;
	height: 100px;
	background: #fff9ec url('../img/paypal-logo-200-68.png') no-repeat center;
	background-size: contain;
	margin-bottom: 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

.paypal-gateway-conversion-rate {
	margin: 0px auto;
	text-align: center;
	color: #000;
	font-size: 18px;
	padding: 10px 0px;
}

.paypal-gateway-form {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}

.paypal-gateway-form div {
	display: inline-block;
	padding: 0px 10px;
	color: #000;
	font-size: 24px;
}

.paypal-gateway-form input[type=text] {
	width: 60px;
	font-size: 24px;
	border: 3px solid #f79433;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #f79433;
}

.paypal-gateway-continue {
	margin: 0px auto;
	text-align: center;
}

.paypal-gateway-continue input[type=submit] {
	background: url('../img/paypal-submit.jpg') no-repeat;
	width: 200px;
	height: 40px;
	border: 0px;
}

.module-requirements {
	font-size: 12px;
	margin-top: 20px;
}

/* SIDEBAR */
.panel-sidebar {
	background: #f1f1f1;
    border: 1px solid;
    border-color: rgba(0,0,0,0.125);
    -moz-border-radius: 0.375rem;
    border-radius: 0.375rem;
    -moz-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
    -webkit-box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
    box-shadow: 0 7px 14px 0 rgb(65 69 88 / 10%), 0 3px 6px 0 rgb(0 0 0 / 7%);
}

.panel-sidebar > .panel-heading {
	background: #fff;
	color: var(--ColorTemplate);;
	font-family: 'Roboto', sans-serif;
	font-weight: 500;
	border: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	border-bottom: 3px solid var(--ColorTemplate);;
	padding: 15px;
    font-size: 1px;
    text-align: center;
}
.panel-usercp ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

.panel-usercp ul li {
	display: table;
	width: 100%;
	vertical-align: middle;
	line-height: 30px;
}

.panel-usercp ul li a {
	color: #444 !important;
	font-weight: bold;
}
.panel-usercp ul li a:active, .panel-usercp ul li a:hover {
	color: var(--ColorTemplate) !important;
}

.panel-usercp ul li img {
	position: relative;
	top: -2px;
	padding-right: 10px;
}

.sidebar-banner {
	margin: 20px 0px;
	border: 0px;
}

.sidebar-banner img {
	-moz-box-shadow: 0 0 10px #e3e3e3;
	-webkit-box-shadow: 0 0 10px #e3e3e3;
	box-shadow: 0 0 10px #e3e3e3;
	border: 0px;
	-moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
	border: 2px solid var(--ColorTemplate);
	border-left: 7px solid var(--ColorTemplate);
}

/* GENERAL PANEL STYLING */
.panel-general {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}

.panel-body{
	padding: 10px;
}

.panel-body .panel-title {
	color: #666;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 20px !important;
	font-weight: 500;
}

/* ADD STATS MODULE */
.panel-addstats {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}
.panel-addstats .character-avatar img {
	width: 100px;
	height: auto;
	-moz-box-shadow: 0 0 5px #666;
	-webkit-box-shadow: 0 0 5px #666;
	box-shadow: 0 0 5px #666;
	-moz-border-radius: 0px;
	border-radius: 0px;
}
.panel-addstats .character-name {
	color: #666;
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
	border-bottom: 1px solid #e3e3e3;
	padding: 20px 0px;
	margin-bottom: 20px !important;
	font-weight: 500;
}

/* DOWNLOADS */
.panel-downloads {
	margin-bottom: 30px;
	background: #f1f1f1;
	border: 1px solid #e3e3e3;
	-moz-border-radius: 0px;
	border-radius: 0px;
	color: #333;
}
	.download-description {
		font-size: 11px;
		position: relative;
		top: -7px;
		color: #777;
	}

.online-status-indicator {
	margin-left: 5px;
}

/* WEBENGINE CMS */
.webengine-powered { color: var(--ColorTemplate) !important; text-transform: uppercase;}
.webengine-powered:active, .webengine-powered:hover { color: var(--ColorTemplate) !important; }

/* GLOBAL TOP BAR */
.global-top-bar {
	width: 100%;
	background: #101010;
	color: #777777;
	padding: 7px 0px 2px 0px;
	text-transform: uppercase;
	font-size: 12px;
}
	.global-top-bar .global-top-bar-content {
		width: 1040px;
		margin: 0px auto;
	}
		.global-top-bar .global-top-bar-content .row {
			margin: 0px;
			padding: 0px;
		}
	.global-top-bar a.logout {
		color: var(--ColorTemplate) !important;
	}
	.global-top-bar a {
		color: #999999 !important;
	}
	.global-top-bar a:hover {
		color: #ffffff !important;
	}
.global-top-bar-nopadding {
	padding: 0px !important;
}
.global-top-bar-separator {
	padding: 0px 5px;
}

/* LANGUAGE PICKER */
.webengine-language-switcher {
	display: inline-block;
	list-style: none;
	padding: 0px !important;
	margin: 0px !important;
	width: 46px;
	height: 19px;
	overflow: hidden;
	transition: all .3s ease;
}
.webengine-language-switcher:hover {
	width: 400px;
}
	.webengine-language-switcher li {
		display: inline-block;
		list-style-type: none;
		background: #333333;
		padding: 0px 5px 2px 5px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
		-khtml-border-radius: 3px;
		transition: all .3s ease;
	}
	.webengine-language-switcher li:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}
	.webengine-language-switcher li a {
		color: #999999;
	}
	.webengine-language-switcher li a:hover {
		color: #ffffff !important;
	}

/* WEBSITE LOGO */
.webengine-mu-logo {
	transition: all .3s ease;
}
	.webengine-mu-logo:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}
	
	.webengine-mu-logo {
    position: relative;
    top: 40px;
    left: 0px;   
    right: 30px;
	}

/* HEADER INFO */
.header-info-container {
	width: 1040px;
	margin: 0px auto;
	text-align: right;
}
	.header-info-container .header-info {
		display: inline-block;
		width: 100%;
		background: rgba(0, 0, 0, 0.3);
		backdrop-filter: blur(5px);
		margin: 0px;
		padding: 20px;
		overflow: auto;
		-moz-box-shadow: 0 0 15px rgba(0,0,0,0.7);
		-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.7);
		box-shadow: 0 0 15px rgba(0,0,0,0.7);
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-khtml-border-radius: 5px;
		text-shadow: 1px 1px 3px #000000;
		color: #ffffff;
		border: 1px solid rgba(255,255,255,0.1);
		font-size: 12px;
	}
		.header-info-container .header-info .header-info-block {
			padding: 0px;
			color: #aaaaaa;
		}
		.header-info-container .header-info .header-info-block #tServerTime, .header-info-container .header-info .header-info-block #tLocalTime {
			color: #ffffff;
		}
		.header-info-container .header-info .header-info-block #tServerDate, .header-info-container .header-info .header-info-block #tLocalDate {
			color: #cccccc;
		}
		.header-info-container .header-info .header-info-block .online-count {
			color: #00ff00;
		}
	.header-info ul {
		text-align: center;
		margin: 0px;
		-webkit-padding-start: 0px;
	}
	.header-info ul li {
		list-style-type: none;
		display: inline-block;
		font-size: 16px;
	}
	.header-info ul li a {
		display: inline-block;
		color: #cccccc !important;
		text-decoration: none;
		padding: 1px 30px;
		transition: all .3s ease;
		text-transform: uppercase;
	}
/* ONLINE BAR */
.webengine-online-bar {
	width: 100%;
	background: #000000;
	border: 1px solid #555555;
	height: 8px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0px;
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -khtml-border-radius: 4px;
	overflow: hidden;
	transition: all .3s ease;
}
	.webengine-online-bar .webengine-online-bar-progress {
		height: 8px;
		background: #00ff00 url('../img/online_progress_bar.jpg') no-repeat left center;
		-webkit-border-radius: 0px 1px 1px 0px;
		-moz-border-radius: 0px 1px 1px 0px;
		-khtml-border-radius: 0px 1px 1px 0px;
		border-radius: 0px 1px 1px 0px;
	}
	.webengine-online-bar:hover {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

/* MY ACCOUNT CHARACTER LIST */
.myaccount-character-block {
	background: #333;
	border: 1px solid #666;
	padding: 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	display: inline-block;
	margin: 0px auto;
	-moz-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.5);
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
	.myaccount-character-block img {
		width: 100px;
		height: auto;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
		-moz-box-shadow: 0 0 5px #000;
		-webkit-box-shadow: 0 0 5px #000;
		box-shadow: 0 0 5px #000;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
	}
		.myaccount-character-block img:hover {
			-webkit-filter: brightness(120%);
			filter: brightness(120%);
		}
.myaccount-character-block-location {
	font-size: 12px;
	color: #000;
	margin-bottom: 20px;
	margin-top: 2px;
	line-height: 1.2;
}
.myaccount-character-block-level {
	position: relative;
	top: -77px;
	display: inline-block;
	background: rgba(0,0,0,0.5);
	padding: 0px 5px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	font-size: 10px;
}
.myaccount-character-name a {
	font-weight: bold;
	color: #000;
	font-size: 16px;
}

/* RANKINGS FILTER BY CLASS */

.rankings-class-filter {
	display: inline-block;
	list-style-type: none;
	margin: 20px auto;
	padding: 10px 20px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	-khtml-border-radius: 10px;
}

	.rankings-class-filter li {
		display: inline-block;
		-moz-transition: all 0.3s ease;
		-o-transition: all 0.3s ease;
		-webkit-transition: all 0.3s ease;
		transition: all 0.3s ease;
		margin-bottom: 10px;
	}

.rankings-class-filter-selection {
	display: inline-block;
	text-align: center;
	color: #000000;
	font-size: 11px;
	cursor: pointer;
}

	.rankings-class-filter-selection:hover {
		color: #000000 !important;
	}

	.rankings-class-filter-selection:hover img {
		-webkit-filter: brightness(120%);
		filter: brightness(120%);
	}

.rankings-class-filter-selection img {
	width: 80px;
	height: auto;
	-moz-border-radius: 5%;
	-webkit-border-radius: 5%;
	border-radius: 5%;
	-khtml-border-radius: 5%;
	margin-bottom: 5px;
	-moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.45);
}

/* Colores Market Char */
.RazaSM{
	background-color: rgba(47, 125, 204, 0.1);
	border: 1px solid #2f7dcc;
}
.RazaDK{
	background-color: rgba(204, 47, 47, 0.1);
	border: 1px solid #cc2f2f;
}
.RazaELF{
	background-color: rgba(51, 204, 47, 0.1);
	border: 1px solid #33cc2f;
}
.RazaMG{
	background-color: rgba(113, 47, 204, 0.1);
	border: 1px solid #712fcc;
}
.RazaDL{
	background-color: rgba(204, 158, 47, 0.1);
	border: 1px solid #cc9e2f;
}
.RazaSUM{
	background-color: rgba(191, 47, 204, 0.1);
	border: 1px solid #bf2fcc;
}
.RazaRF{
	background-color: rgba(204, 84, 47, 0.1);
	border: 1px solid #cc542f;
}

.BtnSM{
	background-color: #2f7dcc;
	color: #f1f1f1;
	border: 1px solid #2f7dcc;
}
.BtnSM:hover{
	background-color: rgba(47, 125, 204, 0.1);
	color: #2f7dcc;
	border: 1px solid #2f7dcc;
}

.BtnDK{
	background-color: #cc2f2f;
	color: #f1f1f1;
	border: 1px solid #cc2f2f;
}
.BtnDK:hover{
	background-color: rgba(204, 47, 47, 0.1);
	color: #cc2f2f;
	border: 1px solid #cc2f2f;
}

.BtnELF{
	background-color: #33cc2f;
	color: #f1f1f1;
	border: 1px solid #33cc2f;
}
.BtnELF:hover{
	background-color: rgba(51, 204, 47, 0.1);
	color: #33cc2f;
	border: 1px solid #33cc2f;
}

.BtnMG{
	background-color: #712fcc;
	color: #f1f1f1;
	border: 1px solid #712fcc;
}
.BtnMG:hover{
	background-color: rgba(113, 47, 204, 0.1);
	color: #712fcc;
	border: 1px solid #712fcc;
}

.BtnDL{
	background-color: #cc9e2f;
	color: #f1f1f1;
	border: 1px solid #cc9e2f;
}
.BtnDL:hover{
	background-color: rgba(204, 158, 47, 0.1);
	color: #cc9e2f;
	border: 1px solid #cc9e2f;
}

.BtnSUM{
	background-color: #bf2fcc;
	color: #f1f1f1;
	border: 1px solid #bf2fcc;
}
.BtnSUM:hover{
	background-color: rgba(191, 47, 204, 0.1);
	color: #bf2fcc;
	border: 1px solid #bf2fcc;
}

.BtnRF{
	background-color: #cc542f;
	color: #f1f1f1;
	border: 1px solid #cc542f;
}
.BtnRF:hover{
	background-color: rgba(204, 84, 47, 0.1);
	color: #cc542f;
	border: 1px solid #cc542f;
}

div.dataTables_wrapper div.dataTables_filter label {
	display: block;
  }
   
  div.dataTables_wrapper div.dataTables_filter input {
	width: 100%;
	margin: 0;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link {
	color: var(--ColorTemplate) !important;
  }
  div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-item.active .page-link {
	color: var(--bs-light) !important;
  }

#FBSlideLikeBox_left {background: url(../img/iconds.png) 365px 0 no-repeat; float: left; height: 42px; position: fixed; left: -365px; padding-right: 63px; top: 15%; width: 428px; z-index: 2000;}
#FBSlideLikeBox_left #FBSlideLikeBox3_left {height: 690px; right: 0; position: absolute; border: 3px solid #597bca; width: 400px; background: #f8f8f8;}
#FBSlideLikeBox_right {background: url(../img/iconds.png) 0 0 no-repeat; float: right; height: 42px; position: fixed; right: -400px; padding-left: 42px; top: 15%; width: 400px; z-index: 2000;}
#FBSlideLikeBox_right #FBSlideLikeBox3_right {height: 690px; left: 0; position: absolute; border: 3px solid #3B5998; width: 400px; background: #f8f8f8;}
#FBSlideLikeBox_left #FBSlideLikeBox2_left {position: relative; clear: both; width: auto;}

.castle-siege-buttons a{
	color: unset !important;
}

.banners-sidebar img{
	border: 1px solid var(--ColorTemplate);
}

.btn-primary {
	color: #fff;
	background-color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
  }
  .btn-primary:hover {
	color: #fff;
	background-color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
  }
  .btn-check:focus + .btn-primary, .btn-primary:focus {
	color: #fff;
	background-color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
	box-shadow: 0 0 0 0.25rem var(--ColorTemplateAlpha);
  }
  .btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
	color: #fff;
	background-color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
  }
  .btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 0.25rem var(--ColorTemplateAlpha);
  }
  .btn-primary:disabled, .btn-primary.disabled {
	color: #fff;
	background-color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
  }

  .btn-outline-primary {
	color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
  }
  .btn-outline-primary:hover {
	color: #fff;
	background-color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
  }
  .btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
	box-shadow: 0 0 0 0.25rem var(--ColorTemplateAlpha);
  }
  .btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
	color: #fff;
	background-color: var(--ColorTemplate);
	border-color: var(--ColorTemplate);
  }
  .btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
	box-shadow: 0 0 0 0.25rem var(--ColorTemplateAlpha);
  }
  .btn-outline-primary:disabled, .btn-outline-primary.disabled {
	color: var(--ColorTemplate);
	background-color: transparent;
  }

  .text-primary {
	color: var(--ColorTemplate) !important;
  }

  .bg-primary {
	background-color: var(--ColorTemplate) !important;
  }

  .border-primary {
	border-color: var(--ColorTemplate) !important;
  }

  .table-guild{
	color: #f1f1f1;
  }
  
.contenedor {
    background-color: #FFCCCC;  /* Rojo claro */
    width: 100%;                 /* El div ocupa todo el ancho disponible */
    padding: 10px 20px;          /* Espaciado interior */
    display: flex;               /* Usamos flexbox para centrar el contenido */
    justify-content: center;     /* Centra el contenido horizontalmente */
    align-items: center;         /* Centra el contenido verticalmente */
    font-size: 16px;             /* Tamaño de la fuente */
    font-weight: normal;         /* Fuente normal */
    border-radius: 8px;          /* Bordes redondeados */
    text-align: center;          /* Centra el texto dentro del contenedor */
    line-height: 1.6;           /* Aumenta el interlineado para mejorar la legibilidad */

}
.contenedor1 {
    background-color: #A8E6CF;  /* Rojo claro */
    width: 100%;                 /* El div ocupa todo el ancho disponible */
    padding: 10px 20px;          /* Espaciado interior */
    display: flex;               /* Usamos flexbox para centrar el contenido */
    justify-content: center;     /* Centra el contenido horizontalmente */
    align-items: center;         /* Centra el contenido verticalmente */
    font-size: 16px;             /* Tamaño de la fuente */
    font-weight: normal;         /* Fuente normal */
    border-radius: 8px;          /* Bordes redondeados */
    text-align: center;          /* Centra el texto dentro del contenedor */
    line-height: 1.6;           /* Aumenta el interlineado para mejorar la legibilidad */

}

a {
    text-decoration: none;       /* Quitar subrayado */
}

a:hover {
    text-decoration: underline;  /* Subraya el enlace cuando se pasa el cursor */
}
/* ===== Top Guilds (versi���n final) ===== */
.top-guilds table{
  width:100%;
  table-layout:auto;                 /* sin "fixed" para que respete los widths */
  border-collapse: separate;         /* evita artefactos grises en los bordes */
  border-spacing: 0;
}
.top-guilds thead th,
.top-guilds tbody td{
  vertical-align: middle !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* --- Columnas y alineaciones --- */
.top-guilds th:nth-child(1), .top-guilds td:nth-child(1){ width:58%; }  /* Guild */
.top-guilds th:nth-child(2), .top-guilds td:nth-child(2){ width:22%; }  /* Master */
.top-guilds th:nth-child(3), .top-guilds td:nth-child(3){ width:20%; }  /* Puntuaci���n */

.top-guilds thead th{ white-space:nowrap; }
.top-guilds td:nth-child(3){ white-space:nowrap; text-align:right; }    /* n���meros prolijos */

/* --- Columna 1: icono + nombre con ellipsis --- */
.top-guilds .guild-cell{
  display:flex; align-items:center; gap:8px;
  min-width:0;                           /* necesario para que ellipsis funcione */
}
.top-guilds .guild-cell img{
  width:26px; height:26px; flex:0 0 26px; display:block;
}
.top-guilds .guild-cell a{
  display:block; min-width:0;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* --- Columna 2: Master en 1 l���nea + ellipsis --- */
.top-guilds .master-name{
  display:block; max-width:100%;
}
.top-guilds .master-name a,
.top-guilds .master-name span{
  display:inline-block;
  max-width:100%;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  word-break:keep-all !important;     /* no cortar en _ ni - */
}

/* elimina ��barras��/artefactos en los extremos de la tabla */
.top-guilds .table.table-striped tbody tr > *{
  background-clip: padding-box;
}

/* --- Responsive: si el espacio aprieta, acortamos el header 3 --- */
@media (max-width:480px){
  .top-guilds th:nth-child(1), .top-guilds td:nth-child(1){ width:62%; }
  .top-guilds th:nth-child(2), .top-guilds td:nth-child(2){ width:20%; }
  .top-guilds th:nth-child(3), .top-guilds td:nth-child(3){ width:18%; }

  /* Cambiar "Puntuaci���n" por "Score" solo en mobile para evitar saltos */
  .top-guilds thead th:nth-child(3){ font-size:0; }
  .top-guilds thead th:nth-child(3)::before{ content:"Score"; font-size:inherit; }
}
/* --- Compactar Top Guilds --- */
.top-guilds .table{
  font-size: clamp(12px, 1.25vw, 14px);   /* reduce tipograf���a y la hace adaptable */
  line-height: 1.15;
}
.top-guilds thead th{
  padding: 6px 8px !important;            /* menos alto en cabecera */
  font-weight: 700;
}
.top-guilds tbody td{
  padding: 6px 8px !important;            /* filas m���s compactas */
}

/* Icono m���s chico para ganar ancho a la izquierda */
.top-guilds .guild-cell img{
  width: 22px; height: 22px; flex: 0 0 22px;
}

/* Textos de nombre y master un pel���n m���s chicos que el resto */
.top-guilds .guild-cell a,
.top-guilds .master-name a,
.top-guilds .master-name span{
  font-size: .95em;
  line-height: 1.1;
}

/* Columna de puntuaci���n ligeramente m���s angosta y n���meros alineados */
.top-guilds th:nth-child(1), .top-guilds td:nth-child(1){ width:55%; }
.top-guilds th:nth-child(2), .top-guilds td:nth-child(2){ width:25%; text-align:center; }
.top-guilds th:nth-child(3), .top-guilds td:nth-child(3){
  width:20%; text-align:right; white-space:nowrap;
  font-variant-numeric: tabular-nums;       /* columnas de n���meros prolijas */
}

/* En pantallas bien chicas, reduce un poco m���s */
@media (max-width:480px){
  .top-guilds .table{ font-size: 12px; }
  .top-guilds thead th, .top-guilds tbody td{ padding: 5px 6px !important; }
  .top-guilds .guild-cell img{ width:20px; height:20px; flex-basis:20px; }
}

  /* ...lo que ya ten���as... */

  /* Celdas de Clase: no wrap + truncado centrado */
  .mini-ranking .cell-class { white-space: nowrap; }
  .mini-ranking .cell-class .class-truncate{
    max-width: 110px;     /* ajusta si tu sidebar es m���s angosto/ancho */
    display:inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }

/* ===== Fix columnas mini-ranking (sidebar) ===== */

/* Usamos layout AUTO para que respete los anchos de columnas */
.mini-ranking.table { table-layout: auto !important; width: 100%; }

/* Reparto de anchos (sobrescribe los inline de sidebar con !important) */
.mini-ranking thead th:nth-child(1) { width: 50% !important; } /* Personaje */
.mini-ranking thead th:nth-child(2) { width: 28% !important; } /* Clase   */
.mini-ranking thead th:nth-child(3) { width: 22% !important; } /* Victorias */ 
/* Celdas del body: por defecto permiten wrap; controlamos el nowrap solo en spans */
.mini-ranking.table tbody td { white-space: normal !important; }

/* Columna Clase: centra, recorta con ellipsis y deja un peque���o colch���n a la derecha */
.mini-ranking .cell-class { text-align: center; }
.mini-ranking .cell-class .class-truncate{
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: .35rem;           /* separa del n���mero de la ���ltima columna */
  vertical-align: middle;
}

/* Columna Personaje: que el nombre no empuje al resto */
.mini-ranking .cell-name { min-width: 0; }   /* necesario para que funcione el ellipsis en flex */
.mini-ranking .cell-name .name-truncate{
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ���ltima columna (n���mero): siempre alineada a la derecha, en una sola l���nea */
.mini-ranking tbody td:nth-child(3){
  text-align: right !important;
  white-space: nowrap !important;
}

/* Evita ��pisadas�� visuales cuando el espacio es muy justo */
.mini-ranking.table th,
.mini-ranking.table td{ box-sizing: border-box; }

/* El contenedor que envuelve la tabla recorta cualquier sobrante de filas */
.mini-ranking-wrap{
  overflow: hidden;
  border-bottom-left-radius: .375rem;
  border-bottom-right-radius: .375rem;
}

/* Que el texto del th no se desborde visualmente */
.mini-ranking.table thead th{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: .40rem .45rem; /* un pel���n menos de padding lateral */
}

/* === Centrar la ���ltima columna (Kills / Wins) en mini-ranking === */
.mini-ranking thead th:nth-child(3){ 
  text-align: center !important;
}
.mini-ranking tbody td:nth-child(3){ 
  text-align: center !important;      /* antes la hab���amos puesto a la derecha */
  white-space: nowrap !important;      /* evita salto de l���nea en n���meros */
}
/* ===== Castle Siege Widget — tema + detalles finos ===== */

/* Usa el color del sitio como acento (falla a #1170ff si no existe) */
:root{
  --accent: var(--ColorTemplate, #1170ff);
}

/* Marco con contraste y ligera “línea” de acento */
.footer-csw{
  width: min(1100px, 100%);
  margin: 0 auto 18px;
  background: linear-gradient(180deg,#1b1f26 0%, #171a20 100%);
  color:#e7ecf4;
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
  position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
.footer-csw::before{
  content:'';
  position:absolute;
  left:14px; right:14px; top:7px;
  height:2px; border-radius:2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity:.38;
}
.footer-csw:hover{
  transform: translateY(-1px);
  box-shadow:0 16px 42px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.07);
}

/* Layout y centrado real del bloque de dueño */
.footer-csw-row{
  display:grid;
  grid-template-columns: 78px 1fr auto;   /* medalla + centro + botón */
  gap: 22px;
  align-items: center;
  padding: 18px 22px;
}
.footer-csw-row > div:nth-child(2){
  justify-self: center;
  text-align: center;
  min-width:0;
  max-width: 580px;
}

/* Medalla más grande, con anillo de acento y corona más nítida */
.footer-csw-badge{
  display:grid; place-items:center;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: radial-gradient(120% 110% at 65% 20%, #2e323a 0, #1c2026 60%, #191c22 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.35);
  position: relative;
  font-size:12px; line-height:1.05;
}
.footer-csw-badge::before{
  /* anillo “semicromático” usando el color del tema */
  content:'';
  position:absolute; inset:-2px; border-radius:50%;
  padding:2px;
  background:
    conic-gradient(from 90deg,
      transparent 0 26%,
      color-mix(in srgb,var(--accent) 85%, white 5%) 26% 74%,
      transparent 74% 100%);
  -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 2px), #000 0);
          mask: radial-gradient(farthest-side,#0000 calc(100% - 2px), #000 0);
  opacity:.6;
}
.footer-csw-badge::after{
  content:''; position:absolute; inset:7px; border-radius:50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.footer-csw-badge i{
  display:block;
  margin-bottom:6px;
  font-size:22px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px color-mix(in srgb,var(--accent) 65%, transparent));
}

/* Logo 48px para que armonice con la medalla */
.footer-csw-logo{
  width:48px; height:48px;
  border-radius:9px; overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 2px 6px rgba(0,0,0,.35);
}

/* Tipografías con pequeño realce y acento */
.footer-csw-tag{ color:#9aa7b5; margin-bottom:2px; font-size:12px; }
.footer-csw-name{
  margin:0; font-size:20px; font-weight:800; color:#fff;
  letter-spacing:.2px; text-shadow:0 1px 0 rgba(0,0,0,.35);
}
.footer-csw-master{ margin-top:2px; font-size:13px; color:#9aa7b5; }
.footer-csw-master a{ color: color-mix(in srgb,var(--accent) 85%, #9ec5ff 15%); }

/* Botón con el acento del sitio y sombra acorde */
.footer-csw-cta .btn{
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  background: var(--accent);
  color:#fff;
  border:1px solid color-mix(in srgb,var(--accent) 60%, #000 40%);
  box-shadow:0 8px 22px color-mix(in srgb,var(--accent) 40%, transparent);
  transition: transform .15s ease, filter .15s ease;
}
.footer-csw-cta .btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Responsivo */
@media (max-width: 992px){
  .footer-csw-row{ grid-template-columns: 74px 1fr auto; gap:16px; padding:16px 18px; }
  .footer-csw-name{ font-size:18px; }
}
@media (max-width: 576px){
  .footer-csw-row{ grid-template-columns: 1fr; text-align:center; }
  .footer-csw-row > div:nth-child(2){ justify-self:center; }
  .footer-csw-cta{ margin-top:8px; }
}
/* === Castle Siege Widget: quita la línea superior y añade hover pro === */

/* 1) Elimina la línea-acento del tope */
.footer-csw::before{
  display: none !important;
}

/* 2) Efecto hover: brillo sutil + más saturación/profundidad */
.footer-csw{
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.footer-csw::after{
  /* “sheen” suave que aparece al pasar el mouse */
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(120% 90% at 50% -40%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,0) 35%);
  opacity:0;
  pointer-events:none;
  transition: opacity .25s ease;
}

.footer-csw:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 16px 42px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.07);
}
.footer-csw:hover::after{ opacity: 1; }

/* 3) La medalla de la corona gana un pelín de “punch” en hover */
.footer-csw-badge{
  transition: transform .22s ease, box-shadow .22s ease;
}
.footer-csw:hover .footer-csw-badge{
  transform: scale(1.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 22px rgba(0,0,0,.45);
}

/* Quita el pseudo-acento del widget (por si quedó en otra parte del CSS) */
.footer-csw::before{ display:none !important; }

/* Hover sutil: brillo + saturación + profundidad */
.footer-csw{
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.footer-csw::after{
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(120% 90% at 50% -40%, rgba(255,255,255,.08), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,0) 35%);
  opacity:0; pointer-events:none; transition: opacity .25s ease;
}
.footer-csw:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 16px 42px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.07);
}
.footer-csw:hover::after{ opacity: 1; }
.footer-csw-badge{ transition: transform .22s ease, box-shadow .22s ease; }
.footer-csw:hover .footer-csw-badge{
  transform: scale(1.03);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 22px rgba(0,0,0,.45);
}

.footer-csw{
  width: min(1100px, 100%);
  margin: 12px auto 18px;      /* antes: 0 auto 18px */
  /* ...el resto tal cual... */
}

/* === Hover con transparencia sutil (solo el fondo) === */
.footer-csw{
  /* opacidad base del fondo */
  --bgAlpha: .95;
  background: linear-gradient(
    180deg,
    rgba(27,31,38,var(--bgAlpha)) 0%,
    rgba(23,26,32,var(--bgAlpha)) 100%
  );
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, /* ya lo tenías */
              --bgAlpha .22s ease; /* animar la transparencia */
}

.footer-csw:hover{
  /* hace el fondo un poco más transparente */
  --bgAlpha: .88;            /* ajusta a tu gusto: .90, .85, etc. */
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow: 0 16px 42px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.07);
}

/* === 1) Medalla: centrar perfectamente icono + texto === */
.footer-csw-badge{
  display: grid;
  place-items: center;
  grid-template-rows: auto auto;  /* corona arriba, texto abajo */
  row-gap: 4px;                   /* separación pareja */
  width: 74px; height: 74px;
  border-radius: 50%;
  background: radial-gradient(120% 110% at 65% 20%, #2e323a 0, #1c2026 60%, #191c22 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.35);
  text-align: center;
  font-size: 10px;
  line-height: 1.05;              /* texto compacto */
}
.footer-csw-badge i{
  margin: 0;                      /* quita empuje hacia abajo */
  font-size: 25px;
}
.footer-csw-badge span{
  display: block;
  line-height: 1.05;
  transform: translateY(-10px);     /* microajuste óptico vertical */
}

/* === 2) Guild Mark: caja limpia y contenido perfectamente centrado === */
.footer-csw-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;      /* tamaño fijo, cuadrado */
  border-radius: 9px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
  overflow: hidden;               /* recorta cualquier sobrante del .png */
  padding: 2px;                   /* pequeño colchón para que no “pegue” al borde */
}

/* Fuerza al logo a encajar prolijo (sin estirar) */
.footer-csw-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;            /* respeta proporciones */
  image-rendering: pixelated;     /* para sprites/escudos pixel art */
  display: block;
}
/* ---------- Castle Siege (vista elegante) ---------- */
.cs-wrap{ max-width:1040px; margin:0 auto; }

/* HERO */
.cs-hero{ overflow:hidden; border:0; }
.cs-hero .card-header{ display:none; }
.cs-hero__inner{
  display:grid;
  grid-template-columns: 90px 1fr auto;
  align-items:center;
  gap:22px;
  padding:20px 22px;
  background:
    radial-gradient(180% 150% at 50% 0, rgba(255,255,255,.06), transparent 40%),
    linear-gradient(180deg,#1b1f26 0%, #171a20 100%);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Badge izquierda */
.cs-hero__badge{
  display:grid; place-items:center;
  width:74px;height:74px;border-radius:50%;
  background: radial-gradient(120% 110% at 65% 20%, #2e323a 0, #1c2026 60%, #191c22 100%);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.35);
  text-align:center; font-size:12px; line-height:1.05;
}
.cs-hero__badge i{ font-size:22px; margin-bottom:6px; color: var(--ColorTemplate,#1170ff); }

/* Centro */
.cs-hero__center{
  display:flex; align-items:center; gap:16px; min-width:0; justify-self:center;
}
.cs-hero__logo{
  display:flex; align-items:center; justify-content:center;
  width:72px;height:72px;border-radius:12px; overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 2px 6px rgba(0,0,0,.35); background: rgba(255,255,255,.03);
  padding:3px;
}
.cs-hero__logo img{ width:100%; height:100%; object-fit:contain; image-rendering:pixelated; display:block; }

.cs-hero__text{ min-width:0; text-align:left; }
.cs-hero__tag{ display:block; color:#9aa7b5; margin-bottom:2px; }
.cs-hero__name{ margin:0; font-size:24px; font-weight:800; color:#fff; }
.cs-hero__master{ margin-top:2px; font-size:13px; color:#9aa7b5; }

/* Botón */
.cs-hero__cta .btn{
  border-radius:12px; padding:10px 14px; font-weight:700;
  box-shadow:0 8px 22px rgba(17,112,255,.30);
}

/* Chips de info rápida */
.cs-chips{ border:0; }
.cs-chips__row{ display:flex; flex-wrap:wrap; gap:10px; padding:10px 0; }
.cs-chip{
  background:#0f1216; color:#e7ecf4;
  border:1px solid rgba(255,255,255,.07);
  box-shadow:0 2px 8px rgba(0,0,0,.25);
  border-radius:10px; padding:10px 12px; min-width:220px;
}
.cs-chip__label{ font-size:12px; color:#9aa7b5; margin-bottom:2px; }
.cs-chip__value{ font-weight:700; }

/* Tablas compactas y centradas */
.cs-table thead th{ white-space:nowrap; }
.cs-table td, .cs-table th{ vertical-align:middle !important; }
.cs-table tbody td:first-child{ font-weight:600; width:45%; }

/* Responsive */
@media(max-width:768px){
  .cs-hero__inner{ grid-template-columns: 1fr; text-align:center; }
  .cs-hero__center{ justify-self:center; }
  .cs-hero__text{ text-align:center; }
  .cs-hero__cta{ margin-top:6px; }
}
/* ===== CHIPS alineados, fondo limpio ===== */
.cs-chips--no-bg{ border:0; background: transparent; }
.cs-chips__row{ display:flex; flex-wrap:wrap; gap:12px; }
.cs-chips__row--3 > .cs-chip{ flex:1 1 300px; }
.cs-chip{ background:#0f1216; color:#e7ecf4;
  border:1px solid rgba(255,255,255,.08); border-radius:12px;
  padding:12px 14px; box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.cs-chip--flat{ background:#151a21; }
.cs-chip__label{ font-size:12px; color:#9aa7b5; margin-bottom:4px; }
.cs-chip__value{ font-weight:700; font-size:14px; }

/* ===== Header oscuro para guilds registradas ===== */
.cs-guilds-header{
  background: linear-gradient(180deg,#1b1f26 0%, #171a20 100%) !important;
  color:#e7ecf4 !important;
  border:1px solid rgba(255,255,255,.06);
  border-top-left-radius: .25rem; border-top-right-radius: .25rem;
}

/* ===== Tabla de guilds con toques del hero ===== */
.cs-table--guilds thead th{
  background:#0f1216; color:#9fb3d1; border-bottom:1px solid rgba(255,255,255,.06);
}
.cs-table--guilds tbody tr:hover td{
  background: rgba(255,255,255,.025);
}
.cs-glogo{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px;height:42px; border-radius:9px; background:#0f1216;
  border:1px solid rgba(255,255,255,.12); box-shadow:0 1px 4px rgba(0,0,0,.35);
  padding:3px;
}
.cs-glogo img{ width:100%; height:100%; object-fit:contain; image-rendering:pixelated; display:block; }

/* Ajustes de tabla general en esta página */
.cs-table td, .cs-table th{ vertical-align: middle !important; }
.cs-table tbody td:first-child{ font-weight:600; }

/* Responsive chips */
@media (max-width:768px){
  .cs-chips__row--3 > .cs-chip{ flex:1 1 100%; }
}

/* ===== Castle Siege: centrado de chips + headers unificados ===== */

/* Fila de 3 chips iguales, centrados */
.cs-chips__row {
  display: grid;
  gap: 16px;
  align-items: stretch;
}
.cs-chips__row--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Chip plano, con texto centrado */
.cs-chip {
  background: #14181f;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 14px;
  text-align: center;          /* centrado */
  box-shadow: 0 2px 10px rgba(0,0,0,.18) inset;
}
.cs-chip__label {
  color: #aeb6c3;
  font-weight: 700;
  margin-bottom: 6px;
}
.cs-chip__value {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Header unificado (mismo look que el widget) */
.cs-section-header{
  background: linear-gradient(180deg, #1f2937, #111827) !important;
  color: #e7ecf4 !important;
  text-align: center;          /* centrado del título */
  font-weight: 800;
  letter-spacing: .2px;
  border: 1px solid rgba(255,255,255,.06);
  border-bottom: 0;
}

/* Tabla de Guilds/Alianza con cabecera oscura al tono */
.cs-table thead th{
  background: #111827;
  color: #9ec5ff;
  border-color: rgba(255,255,255,.06) !important;
  text-align: center;
}
.cs-table tbody td{
  vertical-align: middle !important;
}

/* Logo en tabla (centro y proporción) */
.cs-glogo > img{
  display: inline-block;
  vertical-align: middle;
}

/* Card del listado (suave) */
.panel-news.card .card-body{
  background: #0f1218;
}
/* === Volver a claro SOLO el contenido de las tarjetas === */
.panel-news.card .card-body{
  background: #ffffff !important;   /* cuerpo blanco */
  color: #212529;                   /* texto normal */
}

/* Tablas claras dentro de esas tarjetas */
.cs-table{
  background: #fff;                 /* fondo tabla */
}
.cs-table thead th{
  background: linear-gradient(180deg, #1f2937, #111827) !important; /* header azul-negro */
  color: #9ec5ff !important;
  border-color: rgba(0,0,0,.15) !important;
}
.cs-table tbody td{
  background: #ffffff !important; 
  color: #212529 !important;
  border-color: rgba(0,0,0,.1) !important;
}
/* Rayado suave “zebra” */
.cs-table tbody tr:nth-child(2n) td{
  background: #f7f8fb !important;
}

/* Mantener SOLO el encabezado de cada sección con el look oscuro */
.cs-section-header{
  background: linear-gradient(180deg, #1f2937, #111827) !important;
  color: #e7ecf4 !important;
  border: 1px solid rgba(0,0,0,.2);
  border-bottom: 0;
  text-align: center;
  font-weight: 800;
}

/* (Opcional) Si los chips también te quedaron oscuros y quieres claro: */
/*
.cs-chip{
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: none;
}
.cs-chip__label{ color:#495057; }
.cs-chip__value{ color:#212529; }
*/
<style>
/* ====== Override solo para el login del SIDEBAR ====== */
#sbLoginBox{
  background: linear-gradient(180deg,#0f1320 0%, #0b1428 100%) !important;
  border: 1px solid rgba(59,130,246,.35) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow:
    0 0 0 2px rgba(59,130,246,.28) inset,
    0 10px 24px rgba(0,0,0,.25),
    0 0 16px rgba(0,229,255,.18) !important;
  color: #eaf2ff !important;
}

/* Título */
#sbLoginBox .sb-title{ color:#eaf2ff !important; font-weight:800 !important; }

/* Inputs */
#sbLoginBox .neon-input{
  background:#0b1323 !important;
  color:#eaf2ff !important;
  border:1px solid #213458 !important;
  border-radius:12px !important;
}
#sbLoginBox .neon-input::placeholder{ color:#8aa4d4 !important; }
#sbLoginBox .neon-input:focus{
  border-color:#46d3ff !important;
  box-shadow:0 0 0 2px rgba(70,211,255,.25), 0 0 10px rgba(70,211,255,.18) !important;
  background:#0a1222 !important;
}

/* Botones del login (mismo look que “Información del Servidor”) */
#sbLoginBox .neon-btn{
  background: linear-gradient(180deg,#0f2342,#0b1830) !important;
  border:1px solid #2a4a7a !important;
  color:#eaf2ff !important;
  font-weight:800 !important;
  border-radius:12px !important;
  box-shadow:0 0 12px rgba(0,229,255,.18) !important;
}
#sbLoginBox .neon-btn:hover{
  border-color:#46d3ff !important;
  filter: brightness(1.06) !important;
  box-shadow:0 0 14px rgba(0,229,255,.24) !important;
}

/* Grilla de acciones */
#sbLoginBox .sb-actions{ display:grid !important; grid-template-columns:1fr 1fr; gap:8px; }
</style>

