/*!
 * WebEngine CMS â€” template_modern
 * Modern dark gaming UI (frontend only)
 */
:root {
	--we-bg: #071019;
	--we-bg-elevated: #111d28;
	--we-bg-glass: rgba(12, 24, 36, 0.88);
	--we-border: rgba(65, 215, 240, 0.16);
	--we-border-glow: rgba(65, 215, 240, 0.48);
	--we-text: #E8F8FC;
	--we-text-muted: rgba(232, 248, 252, 0.74);
	--we-text-dim: rgba(232, 248, 252, 0.48);
	--we-primary: #41d7f0;
	--we-primary-light: #8fefff;
	--we-primary-dark: #1677cc;
	--we-accent: #bf3b4a;
	--we-success: #22c55e;
	--we-danger: #bf3b4a;
	--we-warning: #bf3b4a;
	--we-glow: 0 0 26px rgba(65, 215, 240, 0.46), 0 0 46px rgba(191, 59, 74, 0.16);
	--we-glow-sm: 0 0 13px rgba(65, 215, 240, 0.34);
	--we-radius: 12px;
	--we-radius-sm: 8px;
	--we-radius-lg: 16px;
	--we-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
	--we-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--we-font-display: 'Poppins', 'Inter', sans-serif;
	--we-container: 1280px;
	--we-nav-height: 72px;
	--we-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--we-scrollbar-size: 11px;
	--we-scrollbar-track: rgba(7, 16, 25, 0.96);
	--we-scrollbar-thumb: linear-gradient(180deg, #8fefff 0%, #41d7f0 48%, #1677cc 100%);
	--we-scrollbar-thumb-hover: linear-gradient(180deg, #bf3b4a 0%, #41d7f0 58%, #1677cc 100%);
	--we-btn-bg: linear-gradient(135deg, #41d7f0 0%, #1677cc 100%);
	--we-btn-bg-hover: linear-gradient(135deg, #8fefff 0%, #41d7f0 52%, #bf3b4a 100%);
	--we-btn-radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

/* â”€â”€â”€ Scrollbars (tema MU â€” visibles arriba/abajo) â”€â”€â”€ */
html {
	scrollbar-width: thin;
	scrollbar-color: #41d7f0 var(--we-scrollbar-track);
}
.we-body,
.we-body * {
	scrollbar-width: thin;
	scrollbar-color: #41d7f0 rgba(5, 7, 11, 0.95);
}
html::-webkit-scrollbar,
.we-body::-webkit-scrollbar,
.we-body *::-webkit-scrollbar {
	width: var(--we-scrollbar-size);
	height: var(--we-scrollbar-size);
}
html::-webkit-scrollbar-track,
.we-body::-webkit-scrollbar-track,
.we-body *::-webkit-scrollbar-track {
	background: var(--we-scrollbar-track);
	border-radius: 100px;
	border: 1px solid rgba(65, 215, 240, 0.22);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.45);
}
html::-webkit-scrollbar-thumb,
.we-body::-webkit-scrollbar-thumb,
.we-body *::-webkit-scrollbar-thumb {
	background: var(--we-scrollbar-thumb);
	border-radius: 100px;
	border: 2px solid rgba(5, 7, 11, 0.9);
	min-height: 48px;
	box-shadow: 0 0 10px rgba(65, 215, 240, 0.35);
}
/* Flechas arriba / abajo (Chrome, Edge, Safari) */
html::-webkit-scrollbar-button,
.we-body::-webkit-scrollbar-button,
.we-body *::-webkit-scrollbar-button {
	display: block;
	width: var(--we-scrollbar-size);
	height: 14px;
	background-color: rgba(10, 18, 28, 0.98);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 8px 8px;
	border: 1px solid rgba(65, 215, 240, 0.25);
}
html::-webkit-scrollbar-corner,
.we-body *::-webkit-scrollbar-corner {
	background: var(--we-scrollbar-track);
}
/* Rankings, eventos y paneles con scroll */
.we-home-widgets .panel-body,
.we-ranking-body,
.we-events-body,
.we-sidebar .panel-body,
.rankings-table,
.table-responsive,
.we-content,
#content {
	scrollbar-width: thin;
	scrollbar-color: #8fefff rgba(5, 7, 11, 0.95);
}

html {
	min-height: 100%;
	scroll-behavior: smooth;
}

body.we-body {
	background: var(--we-bg);
	color: var(--we-text);
	font-family: var(--we-font);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	min-height: 100vh;
	overflow-x: hidden;
}

body.we-body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 50% -20%, rgba(65, 215, 240, 0.15), transparent),
		radial-gradient(ellipse 60% 40% at 100% 50%, rgba(65, 215, 240, 0.06), transparent);
	pointer-events: none;
	z-index: 0;
}

.we-body > * { position: relative; z-index: 1; }

a {
	color: var(--we-primary-light);
	text-decoration: none;
	transition: color var(--we-transition), opacity var(--we-transition);
}
a:hover, a:focus { color: var(--we-accent); text-decoration: none; }

img { max-width: 100%; height: auto; border: 0; }

.we-container {
	width: 100%;
	max-width: var(--we-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* Hide legacy floating AdminCP (integrated in navbar) */
.admincp-button { display: none !important; }

/* Footer language */
.we-lang-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 12px;
}
.we-lang-footer-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--we-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.we-lang-footer-links { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.we-lang-link {
	padding: 4px 10px;
	border-radius: 6px;
	color: var(--we-text-muted) !important;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 11px;
}
.we-lang-link:hover { color: var(--we-text) !important; border-color: var(--we-border); }
.we-lang-link.we-lang-active {
	color: var(--we-primary-light) !important;
	border-color: var(--we-border-glow);
	background: rgba(65, 215, 240, 0.15);
}

/* â”€â”€â”€ Navbar â”€â”€â”€ */
.we-navbar.we-navbar-scrolled {
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 1px rgba(65, 215, 240, 0.3);
}

.we-navbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(5, 7, 11, 0.92);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--we-border);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.we-navbar-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--we-nav-height);
}

.we-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	color: var(--we-text) !important;
}
.we-brand:hover { opacity: 0.9; color: var(--we-text) !important; }
.we-brand-logo {
	height: 44px;
	width: auto;
	filter: drop-shadow(var(--we-glow-sm));
}
.we-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.we-brand-name {
	font-family: var(--we-font-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
}
.we-brand-version {
	font-size: 10px;
	color: var(--we-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.we-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.we-nav-menu { width: 100%; }

#navbar ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
}
#navbar ul li { display: inline-block; }
#navbar ul li a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	color: var(--we-text-muted) !important;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: var(--we-radius-sm);
	transition: all var(--we-transition);
	position: relative;
}
#navbar ul li a .we-icon-nav {
	color: var(--we-primary-light);
	opacity: 0.65;
	flex-shrink: 0;
}
#navbar ul li a:hover .we-icon-nav { opacity: 1; color: var(--we-accent); }
#navbar ul li a:hover,
#navbar ul li a:focus {
	color: var(--we-text) !important;
	background: rgba(65, 215, 240, 0.12);
}
#navbar ul li a::after {
	content: '';
	position: absolute;
	bottom: 4px;
	left: 50%;
	transform: translateX(-50%) scaleX(0);
	width: 60%;
	height: 2px;
	background: linear-gradient(90deg, var(--we-primary), var(--we-accent));
	border-radius: 2px;
	transition: transform var(--we-transition);
}
#navbar ul li a:hover::after { transform: translateX(-50%) scaleX(1); }

.we-navbar-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.we-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	padding: 8px;
	background: rgba(65, 215, 240, 0.15);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius-sm);
	cursor: pointer;
}
.we-nav-toggle span {
	display: block;
	height: 2px;
	background: var(--we-text);
	border-radius: 1px;
	transition: var(--we-transition);
}

/* Buttons */
.we-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	font-family: var(--we-font);
	font-weight: 600;
	font-size: 13px;
	border-radius: var(--we-radius-sm);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all var(--we-transition);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.we-btn-sm { padding: 8px 14px; font-size: 11px; }
.we-btn-lg { padding: 14px 28px; font-size: 14px; }
.we-btn-primary {
	background: var(--we-btn-bg, linear-gradient(135deg, var(--we-primary), var(--we-primary-dark)));
	color: #fff !important;
	border-color: rgba(143, 239, 255, 0.4);
	border-radius: var(--we-btn-radius, var(--we-radius-sm));
	box-shadow: var(--we-glow-sm);
}
.we-btn-primary:hover {
	background: var(--we-btn-bg-hover, linear-gradient(135deg, var(--we-primary-light), var(--we-primary)));
	box-shadow: var(--we-glow);
	transform: translateY(-1px);
	color: #fff !important;
}
.we-btn-outline {
	background: transparent;
	color: var(--we-text) !important;
	border-color: var(--we-border);
}
.we-btn-outline:hover {
	border-color: var(--we-primary-light);
	background: rgba(65, 215, 240, 0.1);
	color: var(--we-text) !important;
}
.we-btn-ghost {
	background: transparent;
	color: var(--we-text-muted) !important;
}
.we-btn-ghost:hover { color: var(--we-text) !important; background: rgba(255,255,255,0.05); }

.we-btn-admin {
	background: linear-gradient(135deg, #1e293b, #0f172a) !important;
	border: 1px solid rgba(65, 215, 240, 0.4) !important;
	color: var(--we-accent) !important;
	box-shadow: 0 0 16px rgba(65, 215, 240, 0.2);
}
.we-btn-admin:hover {
	background: linear-gradient(135deg, #334155, #1e293b) !important;
	border-color: var(--we-accent) !important;
	color: #fff !important;
	box-shadow: 0 0 24px rgba(65, 215, 240, 0.35);
}
.we-btn-glow {
	animation: weBtnPulse 3s ease-in-out infinite;
}
@keyframes weBtnPulse {
	0%, 100% { box-shadow: var(--we-glow-sm); }
	50% { box-shadow: var(--we-glow); }
}

/* â”€â”€â”€ Hero magical â”€â”€â”€ */
.we-hero-magic {
	position: relative;
	min-height: clamp(480px, 72vh, 720px);
	overflow: hidden;
	display: flex;
	align-items: stretch;
	margin-bottom: 0;
}
.we-hero-bg {
	position: absolute;
	inset: -5%;
	background-size: cover;
	background-position: 58% 22%;
	background-repeat: no-repeat;
	animation: weHeroKenBurns 24s ease-in-out infinite alternate;
	z-index: 0;
}
@keyframes weHeroKenBurns {
	0% { transform: scale(1) translate(0, 0); }
	100% { transform: scale(1.08) translate(-1%, -1%); }
}
.we-hero-fx {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}
.we-hero-particles {
	position: absolute;
	inset: 0;
}
.we-hero-particle {
	position: absolute;
	width: 3px;
	height: 3px;
	background: var(--we-accent);
	border-radius: 50%;
	opacity: 0;
	animation: weParticleFloat linear infinite;
	box-shadow: 0 0 6px var(--we-accent), 0 0 12px var(--we-primary-light);
}
@keyframes weParticleFloat {
	0% { opacity: 0; transform: translateY(100vh) scale(0); }
	10% { opacity: 0.8; }
	90% { opacity: 0.6; }
	100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}
.we-hero-shimmer {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		transparent 40%,
		rgba(65, 215, 240, 0.06) 45%,
		rgba(65, 215, 240, 0.08) 50%,
		rgba(65, 215, 240, 0.06) 55%,
		transparent 60%
	);
	background-size: 200% 100%;
	animation: weShimmer 8s ease-in-out infinite;
}
@keyframes weShimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}
.we-hero-glow-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.5;
	animation: weOrbDrift 12s ease-in-out infinite alternate;
}
.we-hero-glow-orb--1 {
	width: 300px; height: 300px;
	background: var(--we-primary);
	top: 10%; left: 5%;
}
.we-hero-glow-orb--2 {
	width: 200px; height: 200px;
	background: var(--we-accent);
	bottom: 20%; right: 15%;
	animation-delay: -6s;
}
@keyframes weOrbDrift {
	0% { transform: translate(0, 0); opacity: 0.35; }
	100% { transform: translate(30px, -20px); opacity: 0.55; }
}
.we-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background:
		linear-gradient(180deg, rgba(5, 7, 11, 0.15) 0%, rgba(5, 7, 11, 0.45) 55%, rgba(5, 7, 11, 0.92) 100%),
		linear-gradient(90deg, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.45) 32%, rgba(5, 7, 11, 0.08) 52%, transparent 68%),
		radial-gradient(ellipse 50% 70% at 72% 35%, rgba(65, 215, 240, 0.12), transparent 65%);
}
.we-hero-bottom-fade {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 120px;
	z-index: 3;
	background: linear-gradient(to top, var(--we-bg), transparent);
	pointer-events: none;
}
.we-hero-layout {
	position: relative;
	z-index: 4;
	display: block;
	padding: 100px 20px 140px;
	width: 100%;
	max-width: var(--we-container);
	margin: 0 auto;
}
.we-hero-rune {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.2em;
	color: var(--we-accent);
	margin-bottom: 20px;
	text-shadow: 0 0 20px var(--we-accent);
	animation: weRuneGlow 2s ease-in-out infinite alternate;
}
@keyframes weRuneGlow {
	0% { opacity: 0.7; }
	100% { opacity: 1; }
}
.we-hero-title {
	margin: 0 0 16px;
	font-family: var(--we-font-display);
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 800;
	line-height: 1.05;
}
.we-hero-title-line {
	display: block;
	background: linear-gradient(135deg, #fff 0%, #d9ecff 40%, var(--we-accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	filter: drop-shadow(0 0 30px rgba(65, 215, 240, 0.4));
}
.we-hero-subtitle {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(232, 234, 239, 0.75);
	max-width: 480px;
	margin: 0 0 32px;
}
.we-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero status HUD */
.we-hero-status-hud {
	position: absolute;
	left: 50%;
	bottom: 24px;
	z-index: 6;
	width: min(760px, calc(100% - 40px));
	transform: translateX(-50%);
	pointer-events: auto;
}

.we-hero-status-card {
	display: grid;
	grid-template-columns: minmax(250px, 0.9fr) minmax(280px, 1.1fr);
	gap: 10px;
	align-items: stretch;
	padding: 10px;
	border: 1px solid rgba(65, 215, 240, 0.22);
	border-radius: 10px;
	background:
		linear-gradient(135deg, rgba(7, 16, 25, 0.88), rgba(3, 8, 13, 0.94)),
		radial-gradient(circle at 20% 0%, rgba(65, 215, 240, 0.14), transparent 40%);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), 0 0 24px rgba(65, 215, 240, 0.12);
}

.we-hero-online {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas:
		"mark main meta"
		"bar bar bar";
	gap: 8px 12px;
	align-items: center;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(74, 222, 128, 0.34);
	border-radius: 8px;
	background:
		radial-gradient(circle at 16% 0%, rgba(74, 222, 128, 0.2), transparent 42%),
		linear-gradient(135deg, rgba(34, 197, 94, 0.13), rgba(65, 215, 240, 0.06));
	box-shadow: inset 3px 0 0 rgba(74, 222, 128, 0.72);
}

.we-hero-online-mark {
	grid-area: mark;
	position: relative;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
}

.we-hero-online-ring {
	position: absolute;
	inset: 0;
	border: 2px solid rgba(74, 222, 128, 0.18);
	border-top-color: #4ade80;
	border-radius: 50%;
	animation: weOrbSpin 3s linear infinite;
}

.we-hero-online-dot,
.we-hero-live-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 14px rgba(74, 222, 128, 0.8);
}

.we-hero-online-main {
	grid-area: main;
	min-width: 0;
}

.we-hero-online-label,
.we-hero-time-label,
.we-hero-live {
	display: block;
	color: rgba(232, 248, 252, 0.68);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.11em;
	line-height: 1;
	text-transform: uppercase;
}

.we-hero-online-value {
	display: block;
	margin-top: 4px;
	color: #4ade80 !important;
	font-family: 'Orbitron', var(--we-font-display), sans-serif;
	font-size: 34px;
	font-weight: 900;
	line-height: 0.95;
	text-shadow: 0 0 18px rgba(74, 222, 128, 0.38);
}

.we-hero-online-meta {
	grid-area: meta;
	display: grid;
	justify-items: end;
	gap: 6px;
}

.we-hero-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #4ade80;
}

.we-hero-capacity-text {
	color: rgba(232, 248, 252, 0.58);
	font-family: 'Orbitron', monospace;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
}

.we-hero-capacity {
	grid-area: bar;
	height: 4px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
}

.we-hero-capacity-fill {
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #41d7f0, #4ade80);
	box-shadow: 0 0 12px rgba(74, 222, 128, 0.42);
}

.we-hero-times {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	min-width: 0;
}

.we-hero-time {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"icon label"
		"icon value"
		"icon date";
	column-gap: 8px;
	align-content: center;
	min-width: 0;
	padding: 10px 11px;
	border: 1px solid rgba(65, 215, 240, 0.13);
	border-radius: 8px;
	background: rgba(65, 215, 240, 0.045);
}

.we-hero-time svg {
	grid-area: icon;
	align-self: center;
	color: rgba(143, 239, 255, 0.55);
}

.we-hero-time-label {
	grid-area: label;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.we-hero-time-value {
	grid-area: value;
	margin-top: 4px;
	color: rgba(232, 248, 252, 0.9);
	font-family: 'Orbitron', monospace;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
}

.we-hero-time-date {
	grid-area: date;
	margin-top: 3px;
	overflow: hidden;
	color: rgba(232, 248, 252, 0.42);
	font-size: 10px;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* HUD â€” panel online flotante (estilo original, compacto, centrado) */
.we-hud-float-online {
	position: absolute;
	left: 50%;
	bottom: 74px;
	transform: translateX(-50%);
	z-index: 6;
	pointer-events: auto;
}
.we-hud-panel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background:
		radial-gradient(circle at 18% 0%, rgba(74, 222, 128, 0.22), transparent 42%),
		linear-gradient(135deg, rgba(12, 24, 36, 0.9), rgba(3, 8, 13, 0.94));
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(74, 222, 128, 0.44);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: inset 4px 0 0 rgba(74, 222, 128, 0.85), 0 18px 42px rgba(0, 0, 0, 0.48), 0 0 32px rgba(34, 197, 94, 0.17);
	transition: border-color var(--we-transition), transform var(--we-transition);
}
.we-hud-panel:hover {
	border-color: rgba(143, 239, 255, 0.58);
	transform: translateY(-2px);
}
.we-hud-panel-compact {
	width: 328px;
	max-width: calc(100vw - 32px);
	transform: none;
	transform-origin: center bottom;
}
.we-hud-panel-compact:hover {
	transform: translateY(-2px);
}
.we-hud-panel-glow {
	position: absolute;
	top: -50%; left: -50%;
	width: 200%; height: 200%;
	background: conic-gradient(from 0deg, transparent, rgba(65, 215, 240, 0.1), transparent, rgba(65, 215, 240, 0.08), transparent);
	animation: weHudRotate 12s linear infinite;
	pointer-events: none;
}
@keyframes weHudRotate {
	to { transform: rotate(360deg); }
}
.we-hud-orb-md { width: 48px; height: 48px; }
.we-hud-float-online .we-hud-value {
	font-size: 44px;
	font-weight: 900;
	letter-spacing: 0;
}
.we-hud-float-online .we-hud-orb-core {
	width: 16px;
	height: 16px;
}
/* PosiciÃ³n online segÃºn personalizador */
.we-layout-hero-hud-bottom .we-hud-float-online {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
}
.we-layout-hero-hud-left .we-hud-float-online {
	left: 20px;
	transform: none;
}
.we-layout-hero-hud-right .we-hud-float-online {
	left: auto;
	right: 20px;
	transform: none;
}

/* HUD â€” barra arcana MU (solo relojes abajo) */
.we-hud-arcane {
	position: absolute;
	left: auto;
	right: 20px;
	bottom: 18px;
	width: min(520px, calc(100% - 40px));
	z-index: 6;
	pointer-events: none;
}
.we-hud-arcane .we-container {
	pointer-events: auto;
	max-width: none;
	padding: 0;
}
.we-hud-arcane-frame {
	position: relative;
	padding: 0;
	background: transparent;
	border-radius: 8px;
	box-shadow:
		0 12px 28px rgba(0, 0, 0, 0.34);
}
.we-hud-arcane-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 50% 0%, rgba(65, 215, 240, 0.25), transparent 70%);
	pointer-events: none;
	animation: weArcanePulse 4s ease-in-out infinite alternate;
}
@keyframes weArcanePulse {
	0% { opacity: 0.5; }
	100% { opacity: 1; }
}
.we-rune-corner {
	display: none;
}
.we-rune-tl { top: 6px; left: 10px; }
.we-rune-tr { top: 6px; right: 10px; }
.we-rune-bl { bottom: 6px; left: 10px; }
.we-rune-br { bottom: 6px; right: 10px; }
@keyframes weRuneCorner {
	0% { opacity: 0.65; transform: scale(1); }
	100% { opacity: 1; transform: scale(1.15); }
}
.we-hud-arcane-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	background:
		linear-gradient(180deg, rgba(5, 12, 18, 0.76), rgba(3, 8, 13, 0.82));
	border: 1px solid rgba(65, 215, 240, 0.14);
	border-radius: 8px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.we-hud-segment {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	flex: 1;
	min-width: 0;
}
.we-hud-arcane-inner--time { justify-content: center; }
.we-hud-segment-time { flex: 1 1 100%; max-width: 100%; justify-content: center; }
.we-hud-segment-body { flex: 1; min-width: 0; }
.we-hud-rune-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	color: #8fefff;
	font-size: 10px;
	text-shadow: 0 0 10px rgba(143, 239, 255, 0.8);
	opacity: 0.85;
	flex-shrink: 0;
}
.we-hud-online-row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
}
.we-hud-clocks-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: nowrap;
}
.we-hud-clock-sep {
	width: 1px;
	height: 28px;
	overflow: hidden;
	color: transparent;
	background: rgba(65, 215, 240, 0.16);
	text-shadow: none;
	flex-shrink: 0;
}
.we-hud-orb-wrap { flex-shrink: 0; }
.we-hud-orb {
	position: relative;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.we-hud-orb-sm { width: 44px; height: 44px; }
.we-hud-orb-ring {
	position: absolute;
	inset: 0;
	border: 2px solid transparent;
	border-top-color: var(--we-success);
	border-radius: 50%;
	animation: weOrbSpin 3s linear infinite;
}
.we-hud-orb-ring--2 {
	inset: 6px;
	border-top-color: var(--we-accent);
	animation-duration: 5s;
	animation-direction: reverse;
}
@keyframes weOrbSpin { to { transform: rotate(360deg); } }
.we-hud-orb-core {
	width: 16px;
	height: 16px;
	background: var(--we-success);
	border-radius: 50%;
	box-shadow: 0 0 20px var(--we-success), 0 0 40px rgba(34, 197, 94, 0.5);
	animation: weCorePulse 2s ease-in-out infinite;
}
@keyframes weCorePulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.2); opacity: 0.85; }
}
.we-hud-body { flex: 1; position: relative; z-index: 1; }
.we-hud-label {
	display: block;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--we-text-muted);
	margin-bottom: 2px;
}
.we-hud-value {
	display: block;
	font-family: 'Orbitron', var(--we-font-display), sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-shadow: 0 0 24px rgba(34, 197, 94, 0.6);
}
.we-hud-float-online .we-hud-status { margin-top: 6px; }
.we-hud-value-online { color: #4ade80; }
.we-hud-capacity { margin-top: 10px; }
.we-hud-capacity-track {
	height: 4px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 100px;
	overflow: hidden;
}
.we-hud-capacity-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--we-primary), var(--we-success), var(--we-accent));
	border-radius: 100px;
	box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
	transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
.we-hud-capacity-text {
	display: block;
	font-size: 11px;
	color: var(--we-text-dim);
	margin-top: 6px;
	font-family: 'Orbitron', monospace;
}
.we-hud-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--we-success);
}
.we-hud-status-dot {
	width: 6px; height: 6px;
	background: var(--we-success);
	border-radius: 50%;
	animation: weLiveBlink 1.5s ease-in-out infinite;
}
@keyframes weLiveBlink {
	0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--we-success); }
	50% { opacity: 0.4; }
}
.we-hud-time-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: #8fefff;
	opacity: 0.5;
}
.we-hud-time-icon-sm { width: 20px; height: 20px; }
.we-hud-time-icon svg { width: 100%; height: 100%; filter: none; }
.we-hud-clock { padding: 0; flex: 0 1 auto; min-width: 0; }
.we-hud-clock-divider {
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--we-border), transparent);
	margin: 8px 0;
}
.we-hud-clock-value {
	display: block;
	font-family: 'Orbitron', monospace;
	font-size: 13px;
	font-weight: 600;
	color: rgba(232, 248, 252, 0.82);
	letter-spacing: 0.05em;
	text-shadow: none;
}
/* Layout customizer: HUD izquierda / derecha = esquina inferior */
.we-layout-hero-hud-left .we-hud-arcane { left: auto; right: 20px; width: min(520px, calc(100% - 40px)); }
.we-layout-hero-hud-right .we-hud-arcane { left: 20px; right: auto; width: min(520px, calc(100% - 40px)); }
.we-layout-hero-hud-bottom .we-hud-arcane { left: auto; right: 20px; width: min(520px, calc(100% - 40px)); }
.we-hud-clock-date {
	display: block;
	max-width: 170px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 9px;
	color: rgba(232, 248, 252, 0.38);
}

/* Page bar magical */
.we-page-bar-magic {
	background:
		linear-gradient(90deg, rgba(34, 197, 94, 0.11), transparent 34%),
		linear-gradient(180deg, rgba(5, 7, 11, 0.88), rgba(3, 8, 13, 0.96));
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--we-border);
	padding: 8px 0;
}
.we-page-bar-inner {
	display: grid;
	grid-template-columns: minmax(260px, auto) minmax(0, 1fr) auto;
	gap: 6px;
	align-items: center;
}
.we-page-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 0;
	padding: 4px 8px;
	background: transparent;
	border: 0;
	border-radius: 0;
	font-size: 10px;
}
.we-page-pill svg {
	width: 13px;
	height: 13px;
	color: var(--we-primary-light);
	opacity: 0.56;
}
.we-page-pill-label {
	color: var(--we-text-dim);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 9px;
	font-weight: 700;
}
.we-page-pill-value {
	font-family: 'Orbitron', monospace;
	font-weight: 600;
	color: rgba(232, 248, 252, 0.62);
}
.we-page-pill-online {
	justify-self: start;
	display: grid;
	grid-template-columns: auto auto 1fr;
	grid-template-areas:
		"icon value label"
		"dot value label";
	column-gap: 10px;
	row-gap: 1px;
	min-width: 250px;
	padding: 10px 18px 10px 14px;
	background:
		radial-gradient(circle at 18% 0%, rgba(74, 222, 128, 0.28), transparent 42%),
		linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(65, 215, 240, 0.08)),
		rgba(0, 0, 0, 0.32);
	border: 1px solid rgba(74, 222, 128, 0.44);
	border-radius: 10px;
	box-shadow: 0 0 30px rgba(34, 197, 94, 0.16), inset 3px 0 0 rgba(74, 222, 128, 0.8);
}
.we-page-pill-online svg {
	grid-area: icon;
	width: 16px;
	height: 16px;
	color: #4ade80;
	opacity: 0.95;
}
.we-page-pill-online .we-page-pill-label {
	grid-area: label;
	align-self: center;
	color: rgba(232, 248, 252, 0.74);
	font-size: 10px;
	line-height: 1.1;
}
.we-page-pill-online .we-page-pill-value {
	grid-area: value;
	align-self: center;
	font-size: 30px;
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 0 14px rgba(74, 222, 128, 0.45);
}
.we-page-pill-dot {
	grid-area: dot;
	align-self: end;
	width: 8px; height: 8px;
	background: var(--we-success);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--we-success);
	animation: weLiveBlink 1.5s infinite;
}
.online-count { color: #4ade80 !important; }

.we-page-pill:not(.we-page-pill-online) {
	justify-self: end;
	opacity: 0.48;
	padding: 3px 7px;
}

.we-page-pill:not(.we-page-pill-online):hover {
	opacity: 0.85;
	background: rgba(65, 215, 240, 0.045);
	border-radius: 6px;
}

.we-page-pill:not(.we-page-pill-online) .we-page-pill-label {
	max-width: 72px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 780px) {
	.we-page-bar-inner {
		grid-template-columns: 1fr auto auto;
	}

	.we-page-pill-online {
		grid-column: 1 / -1;
		justify-self: stretch;
	}

	.we-page-pill:not(.we-page-pill-online) {
		justify-self: stretch;
	}
}

@media (max-width: 480px) {
	.we-page-bar-inner {
		grid-template-columns: 1fr 1fr;
	}

	.we-page-pill:not(.we-page-pill-online) .we-page-pill-label,
	.we-page-pill:not(.we-page-pill-online) svg {
		display: none;
	}

	.we-page-pill-online {
		min-width: 0;
	}

	.we-page-pill-online .we-page-pill-value {
		font-size: 26px;
	}
}

/* â”€â”€â”€ Main content â”€â”€â”€ */
.we-main {
	padding: 32px 0 48px;
	min-height: 50vh;
}
.we-body-home .we-main { padding-top: 24px; }

#container, .we-main { background: transparent !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding-bottom: 0; border-radius: 0 !important; }

#content, .we-content {
	width: 100%;
	overflow: visible;
	min-height: 300px;
	padding: 0;
}

/* Glass panels (Bootstrap 3 compatibility) */
.panel,
.panel-sidebar,
.panel-general,
.panel-news,
.panel-addstats,
.panel-downloads,
.panel-usercp,
.castle-owner-widget,
.panel.panel-sidebar-events {
	background: var(--we-bg-glass) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--we-border) !important;
	border-radius: var(--we-radius) !important;
	box-shadow: var(--we-shadow) !important;
	color: var(--we-text) !important;
	margin-bottom: 24px;
	overflow: hidden;
	transition: border-color var(--we-transition), box-shadow var(--we-transition);
}
.panel:hover {
	border-color: var(--we-border-glow) !important;
	box-shadow: var(--we-shadow), var(--we-glow-sm) !important;
}

.panel-heading {
	background: rgba(65, 215, 240, 0.08) !important;
	border-bottom: 1px solid var(--we-border) !important;
	border-radius: 0 !important;
	padding: 14px 18px !important;
}
.panel-title {
	color: var(--we-text) !important;
	font-family: var(--we-font-display) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	margin: 0 !important;
}
.panel-body {
	padding: 18px !important;
	color: var(--we-text) !important;
	background: transparent !important;
}
.panel-footer {
	background: rgba(0, 0, 0, 0.2) !important;
	border-top: 1px solid var(--we-border) !important;
	color: var(--we-text-muted) !important;
}

.panel-usercp {
	background: linear-gradient(135deg, rgba(65, 215, 240, 0.12), rgba(5, 7, 11, 0.9)), url('../img/usercp_bg.jpg') no-repeat top center !important;
	background-size: cover !important;
}
.panel-usercp ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.panel-usercp ul li {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	border-radius: var(--we-radius-sm);
	margin-bottom: 4px;
	transition: background var(--we-transition);
}
.panel-usercp ul li:hover { background: rgba(65, 215, 240, 0.15); }
.panel-usercp ul li .we-usercp-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-right: 12px;
	border-radius: 10px;
	background: rgba(65, 215, 240, 0.2);
	border: 1px solid var(--we-border-glow);
	flex-shrink: 0;
}
.panel-usercp ul li .we-usercp-icon .we-icon {
	color: var(--we-accent);
}
.panel-usercp ul li a {
	display: flex;
	align-items: center;
	color: var(--we-text) !important;
	font-weight: 500;
	flex: 1;
	gap: 8px;
}
.panel-usercp ul li a .we-icon-chevron {
	color: var(--we-text-dim);
	opacity: 0;
	margin-left: auto;
	transition: opacity var(--we-transition), transform var(--we-transition);
}
.panel-usercp ul li:hover .we-icon-chevron {
	opacity: 1;
	transform: translateX(2px);
}
.panel-usercp ul li a:hover { color: var(--we-primary-light) !important; }

/* Tables */
.table {
	color: var(--we-text);
	background: transparent;
}
.table > thead > tr > th {
	border-bottom: 1px solid var(--we-border) !important;
	color: var(--we-text-muted);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
	background: rgba(0, 0, 0, 0.2);
}
.table > tbody > tr > td {
	border-top: 1px solid var(--we-border) !important;
	padding: 12px 10px !important;
	vertical-align: middle !important;
}
.table > tbody > tr:hover > td {
	background: rgba(65, 215, 240, 0.06);
}
.table-condensed > tbody > tr > td { padding: 8px !important; }

/* Fix Bootstrap striped rows (white on white text) */
.we-content .table-striped > tbody > tr:nth-of-type(odd) > td,
.we-content .table-striped > tbody > tr:nth-child(odd) > td {
	background: rgba(65, 215, 240, 0.08) !important;
	color: var(--we-text) !important;
}
.we-content .table-striped > tbody > tr:nth-of-type(even) > td,
.we-content .table-striped > tbody > tr:nth-child(even) > td {
	background: rgba(0, 0, 0, 0.25) !important;
	color: var(--we-text) !important;
}
.we-content .table-bordered {
	border-color: var(--we-border) !important;
}
.we-content .table-bordered > thead > tr > th,
.we-content .table-bordered > tbody > tr > td {
	border-color: var(--we-border) !important;
}

/* Forms */
.form-control {
	background: rgba(0, 0, 0, 0.35) !important;
	border: 1px solid var(--we-border) !important;
	color: var(--we-text) !important;
	border-radius: var(--we-radius-sm) !important;
	padding: 10px 14px !important;
	height: auto !important;
	transition: border-color var(--we-transition), box-shadow var(--we-transition);
}
.form-control:focus {
	border-color: var(--we-primary-light) !important;
	box-shadow: 0 0 0 3px rgba(65, 215, 240, 0.2) !important;
	outline: none;
}
input[type=text], input[type=password], input[type=number], input[type=email] {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--we-border);
	color: var(--we-text);
	border-radius: var(--we-radius-sm);
}

/* Bootstrap buttons â†’ modern */
.btn {
	border-radius: var(--we-radius-sm) !important;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.04em;
	transition: all var(--we-transition) !important;
}
.btn-primary {
	color: #fff !important;
	background: var(--we-btn-bg, linear-gradient(135deg, var(--we-primary), var(--we-primary-dark))) !important;
	border-color: rgba(143, 239, 255, 0.5) !important;
	border-radius: var(--we-btn-radius, var(--we-radius-sm)) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
	background: var(--we-btn-bg-hover, linear-gradient(135deg, var(--we-primary-light), var(--we-primary))) !important;
	border-color: var(--we-primary-light) !important;
	box-shadow: var(--we-glow-sm) !important;
	color: #fff !important;
}
.btn-default, .btn-xs.btn-default {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: var(--we-border) !important;
	color: var(--we-text-muted) !important;
}
.btn-default:hover { background: rgba(65, 215, 240, 0.15) !important; color: var(--we-text) !important; }
.btn-castlewidget { background: rgba(65, 215, 240, 0.3) !important; color: #fff !important; border: 1px solid var(--we-border-glow) !important; }

.page-title, h1.page-header, .page-header {
	font-family: var(--we-font-display);
	color: var(--we-text) !important;
	font-size: clamp(22px, 4vw, 32px);
	font-weight: 700;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--we-border);
}

/* â”€â”€â”€ Home dashboard â”€â”€â”€ */
.we-home-dashboard { margin-top: 0; }
.we-home-news {
	background: var(--we-bg-glass);
	backdrop-filter: blur(12px);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius-lg);
	padding: 24px;
	margin-bottom: 24px;
}
.we-home-news-header {
	margin-bottom: 20px;
	align-items: center;
}
.we-home-news-header h2 {
	font-family: var(--we-font-display);
	color: var(--we-text);
	font-size: 22px;
	font-weight: 700;
	margin: 0;
}
.we-link-more {
	color: var(--we-primary-light) !important;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.we-link-more:hover { color: var(--we-accent) !important; }

.we-news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}
.we-news-card {
	display: flex;
	flex-direction: column;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius);
	overflow: hidden;
	transition: transform var(--we-transition), border-color var(--we-transition), box-shadow var(--we-transition);
}
.we-news-card:hover {
	transform: translateY(-4px);
	border-color: var(--we-border-glow);
	box-shadow: var(--we-glow-sm);
}
.we-news-card-thumb {
	display: block;
	height: 120px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.we-news-card-thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(5, 7, 11, 0.9) 100%);
}
.we-news-card-body {
	padding: 14px 16px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.we-news-card-tag {
	display: inline-block;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 100px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.we-tag-update { background: rgba(65, 215, 240, 0.35); color: #8fefff; }
.we-tag-event { background: rgba(65, 215, 240, 0.2); color: #8fefff; }
.we-tag-news { background: rgba(245, 158, 11, 0.2); color: #8fefff; }

.we-news-card-title {
	margin: 0;
	font-family: var(--we-font-display);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}
.we-news-card-title a {
	color: var(--we-text) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.we-news-card-title a:hover { color: var(--we-primary-light) !important; }
.we-news-card-date {
	font-size: 11px;
	color: var(--we-text-dim);
	margin-top: auto;
}

.we-home-sidebar { margin-bottom: 24px; }
.we-home-widgets { margin-top: 8px; }
.we-home-widgets .panel-body,
.we-ranking-body,
.we-events-body {
	min-height: auto !important;
	max-height: 420px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 4px !important;
}
.we-ranking-panel .panel-body,
.we-events-panel .panel-body {
	scrollbar-gutter: stable;
}
.we-btn-more {
	width: 28px !important;
	text-align: center;
	padding: 2px 0 !important;
	border-radius: 6px !important;
}

/* Ranking medals (home top 3) */
.we-rank-medal {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 800;
	margin-right: 4px;
	vertical-align: middle;
}
.we-rank-gold { background: linear-gradient(135deg, #41d7f0, #1677cc); color: #1a1a1a; box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.we-rank-silver { background: linear-gradient(135deg, #e5e7eb, #9ca3af); color: #1a1a1a; }
.we-rank-bronze { background: linear-gradient(135deg, #1677cc, #92400e); color: #fff; }
.we-rank-row-1 td { color: #8fefff !important; font-weight: 600; }
.we-rank-row-2 td { color: #d1d5db !important; }
.we-rank-row-3 td { color: #1677cc !important; }
.we-rank-level { color: var(--we-primary-light) !important; font-weight: 700; }

/* Events list (home) */
.we-events-list { display: flex; flex-direction: column; gap: 4px; }
.we-event-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--we-radius-sm);
	border: 1px solid transparent;
	transition: background var(--we-transition), border-color var(--we-transition);
}
.we-event-item:hover {
	background: rgba(65, 215, 240, 0.1);
	border-color: var(--we-border);
}
.we-event-name { display: block; font-weight: 600; color: var(--we-text); font-size: 13px; }
.we-event-countdown { display: block; font-weight: 700; color: var(--we-primary-light); font-size: 13px; }
.we-events-body .smalltext { color: var(--we-text-dim) !important; font-size: 10px; }

/* Legacy home news (fallback) */
.home-news-block {
	background: var(--we-bg-glass);
	backdrop-filter: blur(12px);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius);
	padding: 20px;
	margin-bottom: 24px;
}
.home-news-block-header h2 {
	font-family: var(--we-font-display);
	color: var(--we-text);
	font-size: 20px;
	margin: 0;
}
.home-news-block-header a { color: var(--we-primary-light); font-size: 13px; }
.home-news-block-article-type {
	display: inline-block;
	padding: 4px 10px;
	background: rgba(65, 215, 240, 0.25);
	border-radius: 100px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--we-primary-light);
}
.home-news-block-article-title a { color: var(--we-text); font-weight: 500; }
.home-news-block-article-title a:hover { color: var(--we-primary-light); }
.home-news-block-article-date { color: var(--we-text-dim); font-size: 12px; }

/* Rankings */
.rankings-table tr td {
	border-bottom: 1px solid var(--we-border) !important;
	color: var(--we-text) !important;
	font-size: 14px !important;
}

.rankings-table tr:first-child td {
	color: var(--we-primary-light) !important;
	border-bottom: 2px solid var(--we-primary) !important;
	font-weight: 600;
}
.rankings-table-place { color: var(--we-text-muted) !important; }
.rankings_menu a {
	background: rgba(0, 0, 0, 0.3) !important;
	border-color: var(--we-border) !important;
	color: var(--we-text-muted) !important;
	border-radius: var(--we-radius-sm) !important;
}
.rankings_menu a.active {
	color: var(--we-text) !important;
	border-color: var(--we-primary) !important;
	background: rgba(65, 215, 240, 0.2) !important;
}
.rankings-class-image {
	box-shadow: 0 0 12px rgba(65, 215, 240, 0.4) !important;
	border-radius: var(--we-radius-sm) !important;
}
.rankings-class-filter-grayscale { filter: grayscale(1) opacity(0.5); }
.rankings-update-time { color: var(--we-text-dim) !important; }

.rankings-class-filter {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	list-style-type: none !important;
}

.rankings-class-filter li {
	display: inline-flex !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style-type: none !important;
}

.rankings-class-filter-selection {
	display: inline-flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	width: 70px;
	min-height: 74px;
	padding: 8px 6px;
	background: rgba(0, 0, 0, 0.3) !important;
	border: 1px solid var(--we-border) !important;
	border-radius: var(--we-radius-sm) !important;
	color: var(--we-text-muted) !important;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	text-decoration: none !important;
	line-height: 1.2;
	cursor: pointer;
}

.rankings-class-filter-selection:hover,
.rankings-class-filter-selection.active {
	color: var(--we-text) !important;
	border-color: var(--we-primary) !important;
	background: rgba(65, 215, 240, 0.2) !important;
}

.rankings-class-filter-image {
	max-width: 38px;
	max-height: 38px;
	margin-bottom: 5px;
	object-fit: contain;
}

.rankings_menu {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
}

.rankings_menu a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 34px !important;
	padding: 8px 14px !important;
	background: rgba(0, 0, 0, 0.35) !important;
	border: 1px solid var(--we-border) !important;
	border-radius: var(--we-radius-sm) !important;
	color: var(--we-text-muted) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-decoration: none !important;
}

.rankings_menu a:hover,
.rankings_menu a.active {
	color: var(--we-text) !important;
	border-color: var(--we-primary) !important;
	background: rgba(65, 215, 240, 0.2) !important;
}
/* My account */
.myaccount-table, .general-table-ui {
	background: rgba(0, 0, 0, 0.25) !important;
	border: 1px solid var(--we-border) !important;
	border-radius: var(--we-radius-sm);
	color: var(--we-text);
}
.myaccount-table tr td:first-child, .general-table-ui tr:first-child td {
	color: var(--we-text-muted) !important;
}
.myaccount-table tr td, .general-table-ui tr td {
	border-bottom: 1px solid var(--we-border) !important;
}
.general-table-ui tr:nth-child(2n+2) td { background: rgba(65, 215, 240, 0.05); }

/* News module */
.panel-news .panel-title { color: var(--we-text) !important; font-size: 20px !important; }
.panel-news .panel-footer { color: var(--we-text-muted) !important; }

/* Sidebar banners */
.sidebar-banner { margin: 16px 0; border-radius: var(--we-radius); overflow: hidden; }
.sidebar-banner img {
	border-radius: var(--we-radius);
	border: 1px solid var(--we-border);
	transition: transform var(--we-transition), box-shadow var(--we-transition);
}
.sidebar-banner-join a {
	display: block;
	line-height: 0;
}
.sidebar-banner-join img {
	width: 100%;
	height: auto;
	min-height: 88px;
	max-height: 140px;
	object-fit: cover;
	object-position: 28% center;
	border: 1px solid rgba(65, 215, 240, 0.35);
	box-shadow: 0 4px 24px rgba(22, 119, 204, 0.25);
}
.sidebar-banner a:hover img {
	transform: scale(1.02);
	box-shadow: var(--we-glow);
}
.sidebar-banner-join a:hover img {
	box-shadow: 0 6px 28px rgba(65, 215, 240, 0.45);
}

.we-sidebar .panel { margin-bottom: 16px; }

.we-status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 6px;
	vertical-align: middle;
}
.we-status-online {
	background: var(--we-success);
	box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

/* Castle widget sidebar */
.castle-owner-widget .panel-body { color: var(--we-text); }
.castle-owner-widget .alt { color: var(--we-text-muted); font-size: 11px; text-transform: uppercase; }

/* PayPal / donation */
.paypal-gateway-container {
	width: min(720px, 100%);
	margin: 0 auto 28px;
}

.paypal-gateway-content {
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 0%, rgba(65, 215, 240, 0.12), transparent 38%),
		linear-gradient(180deg, rgba(12, 24, 36, 0.94), rgba(5, 10, 16, 0.98)) !important;
	border: 1px solid rgba(65, 215, 240, 0.24) !important;
	color: var(--we-text) !important;
	border-radius: var(--we-radius) !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46), 0 0 28px rgba(65, 215, 240, 0.12);
}

.paypal-gateway-logo {
	height: 76px !important;
	margin: 0 !important;
	background:
		linear-gradient(135deg, rgba(65, 215, 240, 0.14), rgba(191, 59, 74, 0.06)),
		rgba(0, 0, 0, 0.24) url('../img/paypal-logo-200-68.png') no-repeat center !important;
	background-size: 160px auto !important;
	border-bottom: 1px solid rgba(65, 215, 240, 0.16);
}

.paypal-gateway-logo img {
	display: block;
	width: auto;
	max-width: 190px;
	max-height: 42px;
	margin: 17px auto 0;
}

.paypal-gateway-form {
	display: block !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
}

.paypal-gateway-box {
	display: grid;
	gap: 16px;
	padding: 22px;
}

.paypal-gateway-header {
	display: grid;
	gap: 5px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(65, 215, 240, 0.14);
}

.paypal-gateway-header h3 {
	margin: 0;
	color: #fff;
	font-family: var(--we-font-display);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}

.paypal-gateway-header p {
	margin: 0;
	color: var(--we-text-muted);
	font-size: 13px;
}

.paypal-gateway-amount {
	display: grid;
	gap: 8px;
}

.paypal-gateway-amount label,
.paypal-gateway-result span {
	color: rgba(232, 248, 252, 0.68);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.paypal-gateway-amount-input {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid rgba(65, 215, 240, 0.22);
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.28);
}

.paypal-gateway-amount-input span,
.paypal-gateway-amount-input strong {
	color: var(--we-primary-light);
	font-family: 'Orbitron', monospace;
	font-size: 13px;
	font-weight: 800;
}

.paypal-gateway-amount-input input[type="text"] {
	width: 100% !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	color: #fff !important;
	font-family: 'Orbitron', monospace;
	font-size: 28px !important;
	font-weight: 800;
	line-height: 1.1;
	text-align: center;
	box-shadow: none !important;
}

.paypal-gateway-result {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 10px;
	padding: 13px 14px;
	border: 1px solid rgba(74, 222, 128, 0.22);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(34, 197, 94, 0.11), rgba(65, 215, 240, 0.055)),
		rgba(0, 0, 0, 0.22);
}

.paypal-gateway-result strong {
	color: #4ade80;
	font-family: 'Orbitron', monospace;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
	text-shadow: 0 0 14px rgba(74, 222, 128, 0.36);
}

.paypal-gateway-continue {
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
}

.paypal-gateway-continue input[type="submit"] {
	width: 100% !important;
	height: auto !important;
	min-height: 46px;
	padding: 13px 18px !important;
	border: 1px solid rgba(143, 239, 255, 0.62) !important;
	border-radius: var(--we-btn-radius) !important;
	background: var(--we-btn-bg) !important;
	color: #fff !important;
	font-size: 12px !important;
	font-weight: 900 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: var(--we-glow-sm) !important;
	cursor: pointer;
}

.paypal-gateway-continue input[type="submit"]:hover {
	background: var(--we-btn-bg-hover) !important;
	border-color: var(--we-primary-light) !important;
	box-shadow: var(--we-glow) !important;
}
.paypal-gateway-conversion-rate { color: var(--we-text) !important; }

.mercadopago-gateway-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(135deg, rgba(65, 215, 240, 0.16), rgba(191, 59, 74, 0.08)),
		rgba(0, 0, 0, 0.24) !important;
}

.mercadopago-gateway-logo span {
	color: #fff;
	font-family: var(--we-font-display);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.mercadopago-packages {
	display: grid;
	gap: 12px;
}

.mercadopago-package-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 188px;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(65, 215, 240, 0.16);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(65, 215, 240, 0.08), rgba(191, 59, 74, 0.04)),
		rgba(0, 0, 0, 0.22);
}

.mercadopago-package-meta {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mercadopago-package-credits {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
}

.mercadopago-package-price {
	color: var(--we-primary-light);
	font-family: 'Orbitron', monospace;
	font-size: 22px;
	font-weight: 900;
	line-height: 1;
}

.mercadopago-gateway-continue {
	width: 100%;
}

.mercadopago-gateway-continue input[type="submit"] {
	width: 100% !important;
}

@media (max-width: 560px) {
	.paypal-gateway-box {
		padding: 16px;
	}

	.paypal-gateway-result {
		grid-template-columns: 1fr;
	}

	.mercadopago-package-row {
		grid-template-columns: 1fr;
	}
}

/* Misc module elements */
.smalltext, .alt { color: var(--we-text-muted) !important; }
.online-status-indicator { color: var(--we-success); }
.webengine-online-bar, .webengine-online-bar-progress { display: none; }
/* admincp-button hidden at top of file */

.thumbnail {
	background: rgba(0, 0, 0, 0.3) !important;
	border-color: var(--we-border) !important;
	border-radius: var(--we-radius-sm) !important;
}
a.thumbnail:hover { border-color: var(--we-primary) !important; }

.alert { border-radius: var(--we-radius-sm); border: 1px solid; }
.alert-success { background: rgba(34, 197, 94, 0.15); border-color: rgba(34, 197, 94, 0.3); color: #86efac; }
.alert-danger { background: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.alert-warning { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.3); color: #8fefff; }
.alert-info { background: rgba(65, 215, 240, 0.15); border-color: var(--we-border-glow); color: var(--we-primary-light); }

.well {
	background: rgba(0, 0, 0, 0.3) !important;
	border-color: var(--we-border) !important;
	color: var(--we-text);
	border-radius: var(--we-radius-sm) !important;
}

.pagination > li > a, .pagination > li > span {
	background: rgba(0, 0, 0, 0.3) !important;
	border-color: var(--we-border) !important;
	color: var(--we-text-muted) !important;
}
.pagination > .active > a { background: var(--we-primary) !important; border-color: var(--we-primary) !important; color: #fff !important; }

.breadcrumb { background: transparent; padding: 0; }
.breadcrumb > li + li:before { color: var(--we-text-dim); }

hr { border-color: var(--we-border); }

/* Footer */
.we-footer.footer {
	background: rgba(5, 7, 12, 0.95) !important;
	border-top: 1px solid var(--we-border);
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 40px 0 !important;
	border-radius: 0 !important;
	color: var(--we-text-muted) !important;
	font-size: 13px;
}
.we-footer .footer-container { max-width: var(--we-container); margin: 0 auto; padding: 0 20px; }
.we-footer a { color: var(--we-text-muted) !important; transition: color var(--we-transition); }
.we-footer a:hover { color: var(--we-primary-light) !important; }
.we-footer hr { border-color: var(--we-border); margin: 24px 0; }
.we-footer .footer-social-link {
	filter: brightness(0.8);
	opacity: 0.7;
	transition: all var(--we-transition);
	display: inline-block;
}
.we-footer .footer-social-link:hover {
	filter: none;
	opacity: 1;
	transform: translateY(-2px);
}
.we-footer .footer-social-link img { width: 36px; height: auto; }
.we-social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(65, 215, 240, 0.12);
	border: 1px solid var(--we-border);
	transition: all var(--we-transition);
}
.we-social-btn:hover {
	background: rgba(65, 215, 240, 0.28);
	border-color: var(--we-border-glow);
	box-shadow: var(--we-glow-sm);
}
.we-icon-social { color: var(--we-text); }
.we-social-btn:hover .we-icon-social { color: var(--we-accent); }
.webengine-powered { color: var(--we-text-dim) !important; }
.webengine-powered:hover { color: var(--we-danger) !important; }

.we-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	justify-content: center;
	margin-bottom: 8px;
}
.we-footer-grid {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: start;
}
.we-footer-social {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

/* Usercp layout */
.we-layout-usercp { margin: 0 -10px; }
.we-module-col, .we-sidebar-col { padding: 0 10px; }

/* Language flags + dropdown (navbar) */
.we-lang-flag {
	display: block;
	width: 24px;
	height: 16px;
	object-fit: cover;
	border-radius: 3px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	flex-shrink: 0;
}
.we-lang-flag-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--we-border);
	flex-shrink: 0;
}
.we-lang-dropdown {
	position: relative;
	display: inline-flex;
	z-index: 2100;
}
.we-lang-dropdown-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 12px 6px 8px;
	background: rgba(65, 215, 240, 0.12);
	border: 1px solid var(--we-border);
	border-radius: 100px;
	color: var(--we-text);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color var(--we-transition), background var(--we-transition), box-shadow var(--we-transition);
}
.we-lang-dropdown-toggle:hover,
.we-lang-dropdown.we-lang-open .we-lang-dropdown-toggle {
	background: rgba(65, 215, 240, 0.22);
	border-color: var(--we-border-glow);
	box-shadow: var(--we-glow-sm);
}
.we-lang-dropdown-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
	text-align: left;
}
.we-lang-dropdown-label {
	color: var(--we-text);
	font-size: 13px;
	font-weight: 600;
	max-width: 110px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.we-lang-dropdown-code {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--we-accent);
	text-transform: uppercase;
}
.we-lang-chevron {
	color: var(--we-primary-light);
	transition: transform var(--we-transition);
	flex-shrink: 0;
}
.we-lang-dropdown.we-lang-open .we-lang-chevron {
	transform: rotate(180deg);
}
.we-lang-dropdown-menu {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	list-style-type: none !important;
	background: rgba(10, 18, 28, 0.98);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--we-border-glow);
	border-radius: var(--we-radius);
	box-shadow: var(--we-shadow), 0 0 32px rgba(65, 215, 240, 0.2);
	z-index: 2101;
}
.we-lang-dropdown-menu li {
	list-style-type: none !important;
	margin: 0;
	padding: 0;
}
.we-lang-dropdown.we-lang-open .we-lang-dropdown-menu {
	display: block;
	animation: weLangDropIn 0.2s ease;
}
@keyframes weLangDropIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}
.we-lang-dropdown-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: var(--we-radius-sm);
	color: var(--we-text-muted) !important;
	font-size: 13px;
	text-decoration: none !important;
	transition: background var(--we-transition), color var(--we-transition);
}
.we-lang-dropdown-option:hover {
	background: rgba(65, 215, 240, 0.18);
	color: var(--we-text) !important;
}
.we-lang-dropdown-option.we-lang-option-active {
	background: rgba(65, 215, 240, 0.25);
	color: var(--we-text) !important;
	border: 1px solid rgba(65, 215, 240, 0.35);
}
.we-lang-option-text {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
	line-height: 1.25;
}
.we-lang-option-name {
	font-weight: 600;
	color: inherit;
}
.we-lang-option-code {
	font-size: 10px;
	letter-spacing: 0.06em;
	color: var(--we-text-dim);
	text-transform: uppercase;
}
.we-lang-check {
	color: var(--we-accent);
	opacity: 0.9;
}
.we-lang-footer-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}
.we-lang-footer-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 100px;
	border: 1px solid var(--we-border);
	background: rgba(65, 215, 240, 0.08);
	color: var(--we-text-muted) !important;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color var(--we-transition), background var(--we-transition), color var(--we-transition);
}
.we-lang-footer-chip:hover {
	border-color: var(--we-border-glow);
	color: var(--we-text) !important;
	background: rgba(65, 215, 240, 0.18);
}
.we-lang-footer-chip.we-lang-active {
	border-color: var(--we-accent);
	background: rgba(65, 215, 240, 0.12);
	color: var(--we-text) !important;
}

/* User CP dashboard (modern) */
.we-usercp-page { max-width: 1100px; margin: 0 auto; }
.we-usercp-hero {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding: 28px 32px;
	margin-bottom: 32px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(65, 215, 240, 0.2) 0%, rgba(5, 7, 11, 0.95) 45%, rgba(65, 215, 240, 0.08) 100%);
	border: 1px solid var(--we-border-glow);
	border-radius: var(--we-radius-lg);
	box-shadow: var(--we-shadow), 0 0 40px rgba(65, 215, 240, 0.15);
}
.we-usercp-hero-glow {
	position: absolute;
	inset: -40% auto auto -20%;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(65, 215, 240, 0.35), transparent 70%);
	pointer-events: none;
}
.we-usercp-hero-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: linear-gradient(145deg, rgba(65, 215, 240, 0.5), rgba(65, 215, 240, 0.2));
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
	flex-shrink: 0;
}
.we-usercp-hero-emoji {
	position: absolute;
	top: -8px;
	right: -8px;
	font-size: 22px;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.we-usercp-hero-avatar .we-icon { color: #fff; width: 32px; height: 32px; }
.we-usercp-hero-text { flex: 1; min-width: 180px; z-index: 1; }
.we-usercp-title {
	margin: 0 0 6px;
	font-family: var(--we-font-display);
	font-size: clamp(24px, 4vw, 32px);
	font-weight: 800;
	color: var(--we-text);
	text-shadow: 0 0 24px rgba(65, 215, 240, 0.35);
}
.we-usercp-subtitle {
	margin: 0;
	color: var(--we-text-muted);
	font-size: 14px;
}
.we-usercp-subtitle strong { color: var(--we-accent); }
.we-usercp-logout { margin-left: auto; z-index: 1; }
.we-usercp-section { margin-bottom: 36px; }
.we-usercp-section-banner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
	padding: 16px 20px;
	border-radius: var(--we-radius);
	background: rgba(18, 20, 28, 0.8);
	border: 1px solid var(--we-border);
	overflow: hidden;
}
.we-usercp-section-emoji {
	font-size: 42px;
	line-height: 1;
	filter: drop-shadow(0 4px 12px rgba(65, 215, 240, 0.4));
	flex-shrink: 0;
}
.we-usercp-section-account .we-usercp-section-banner {
	background: linear-gradient(90deg, rgba(96, 165, 250, 0.12), rgba(18, 20, 28, 0.9));
}
.we-usercp-section-character .we-usercp-section-banner {
	background: linear-gradient(90deg, rgba(52, 211, 153, 0.12), rgba(18, 20, 28, 0.9));
}
.we-usercp-section-store .we-usercp-section-banner {
	background: linear-gradient(90deg, rgba(251, 191, 36, 0.12), rgba(18, 20, 28, 0.9));
}
.we-usercp-section-head {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
}
.we-usercp-section-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(65, 215, 240, 0.2);
	border: 1px solid var(--we-border);
}
.we-usercp-section-account .we-usercp-section-icon .we-icon { color: #60a5fa; }
.we-usercp-section-character .we-usercp-section-icon .we-icon { color: #34d399; }
.we-usercp-section-store .we-usercp-section-icon .we-icon { color: #41d7f0; }
.we-usercp-section-title {
	margin: 0 0 2px;
	font-size: 18px;
	font-weight: 700;
	color: var(--we-text);
}
.we-usercp-section-desc {
	margin: 0;
	font-size: 12px;
	color: var(--we-text-dim);
}
.we-usercp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.we-usercp-grid-featured {
	grid-template-columns: 1fr;
	max-width: 520px;
}
.we-usercp-card {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: var(--we-bg-glass);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius);
	color: var(--we-text) !important;
	text-decoration: none !important;
	overflow: hidden;
	transition: border-color var(--we-transition), transform var(--we-transition), box-shadow var(--we-transition), background var(--we-transition);
}
.we-usercp-card-glow {
	position: absolute;
	inset: 0;
	opacity: 0;
	background: radial-gradient(circle at 20% 50%, rgba(65, 215, 240, 0.2), transparent 60%);
	transition: opacity var(--we-transition);
	pointer-events: none;
}
.we-usercp-card:hover .we-usercp-card-glow { opacity: 1; }
.we-usercp-card:hover {
	border-color: var(--we-border-glow);
	background: rgba(65, 215, 240, 0.12);
	transform: translateY(-3px);
	box-shadow: var(--we-glow-sm), 0 12px 28px rgba(0, 0, 0, 0.35);
	color: var(--we-text) !important;
}
.we-usercp-card-featured {
	padding: 24px 26px;
}
.we-usercp-card-featured .we-usercp-card-icon {
	width: 64px;
	height: 64px;
}
.we-usercp-card-featured .we-usercp-card-icon .we-icon {
	width: 32px;
	height: 32px;
}
.we-usercp-card-featured .we-usercp-card-title {
	font-size: 18px;
}
.we-usercp-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 1;
}
.we-usercp-card-accent-blue .we-usercp-card-icon { background: linear-gradient(135deg, rgba(96, 165, 250, 0.35), rgba(30, 58, 138, 0.4)); }
.we-usercp-card-accent-violet .we-usercp-card-icon { background: linear-gradient(135deg, rgba(143, 239, 255, 0.35), rgba(31, 111, 189, 0.4)); }
.we-usercp-card-accent-cyan .we-usercp-card-icon { background: linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(14, 116, 144, 0.4)); }
.we-usercp-card-accent-green .we-usercp-card-icon,
.we-usercp-card-accent-lime .we-usercp-card-icon { background: linear-gradient(135deg, rgba(74, 222, 128, 0.35), rgba(21, 128, 61, 0.4)); }
.we-usercp-card-accent-red .we-usercp-card-icon { background: linear-gradient(135deg, rgba(248, 113, 113, 0.35), rgba(127, 29, 29, 0.4)); }
.we-usercp-card-accent-amber .we-usercp-card-icon,
.we-usercp-card-accent-gold .we-usercp-card-icon { background: linear-gradient(135deg, rgba(251, 191, 36, 0.35), rgba(180, 83, 9, 0.4)); }
.we-usercp-card-accent-pink .we-usercp-card-icon { background: linear-gradient(135deg, rgba(244, 114, 182, 0.35), rgba(157, 23, 77, 0.4)); }
.we-usercp-card-icon .we-icon {
	width: 28px;
	height: 28px;
	color: #fff;
}
.we-usercp-card-body { flex: 1; min-width: 0; z-index: 1; }
.we-usercp-card-title {
	display: block;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	color: var(--we-text);
	margin-bottom: 4px;
}
.we-usercp-card-desc {
	display: block;
	font-size: 12px;
	line-height: 1.45;
	color: var(--we-text-dim);
}
.we-usercp-card-arrow {
	color: var(--we-primary-light);
	opacity: 0.4;
	transform: translateX(-4px);
	transition: opacity var(--we-transition), transform var(--we-transition);
	z-index: 1;
}
.we-usercp-card:hover .we-usercp-card-arrow {
	opacity: 1;
	transform: translateX(0);
}
.we-page-usercp-main .page-title { display: none; }

@media (max-width: 767px) {
	.we-lang-dropdown-text { display: none; }
	.we-lang-dropdown-toggle { padding: 6px 10px 6px 8px; }
	.we-usercp-hero { padding: 20px; }
	.we-usercp-logout { margin-left: 0; width: 100%; justify-content: center; }
	.we-usercp-grid { grid-template-columns: 1fr; }
	.we-usercp-section-emoji { font-size: 32px; }
}

/* Responsive */
@media (max-width: 991px) {
	.we-hero-layout { padding: 80px 16px 178px; }
	.we-hero-status-hud {
		bottom: 18px;
		width: min(720px, calc(100% - 24px));
	}

	.we-hero-status-card {
		grid-template-columns: 1fr;
	}

	.we-hero-times {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.we-hud-arcane {
		left: 12px;
		right: 12px;
		bottom: 12px;
		width: auto;
	}
	.we-hud-float-online {
		bottom: 72px;
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
	.we-layout-hero-hud-left .we-hud-float-online,
	.we-layout-hero-hud-right .we-hud-float-online {
		left: 50%;
		right: auto;
		transform: translateX(-50%);
	}
	.we-hud-segment-time { min-width: 100%; }
	.we-nav-toggle { display: flex; }
	.we-nav {
		position: fixed;
		top: var(--we-nav-height);
		left: 0;
		right: 0;
		background: rgba(5, 7, 11, 0.98);
		border-bottom: 1px solid var(--we-border);
		padding: 16px;
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		transition: all var(--we-transition);
		max-height: calc(100vh - var(--we-nav-height));
		overflow-y: auto;
	}
	.we-nav.we-nav-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}
	#navbar ul { flex-direction: column; align-items: stretch; }
	#navbar ul li a { text-align: center; padding: 14px; }
	.we-brand-text { display: none; }
	.we-footer-grid { grid-template-columns: 1fr; text-align: center; }
	.we-footer-social { justify-content: center; }
}

@media (max-width: 767px) {
	.we-topbar-inner { flex-direction: column; gap: 6px; padding: 6px 0; }
	.we-navbar-inner { flex-wrap: wrap; }
	.we-navbar-actions { width: 100%; justify-content: center; padding-bottom: 8px; }
	.we-news-grid { grid-template-columns: 1fr; }
	.we-hero-magic { min-height: auto; }
	.we-hero-layout { padding: 72px 16px 190px; }
	.we-hero-status-hud {
		bottom: 14px;
		width: calc(100% - 20px);
	}

	.we-hero-status-card {
		padding: 8px;
		gap: 8px;
	}

	.we-hero-online {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"mark main"
			"meta meta"
			"bar bar";
		padding: 10px 12px;
	}

	.we-hero-online-value {
		font-size: 28px;
	}

	.we-hero-online-meta {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.we-hero-times {
		grid-template-columns: 1fr 1fr;
	}

	.we-hero-time {
		padding: 8px;
	}

	.we-hero-time-date {
		display: none;
	}

	.we-hero-time-value {
		font-size: 13px;
	}

	.we-hud-float-online { bottom: 74px; max-width: calc(100% - 24px); }
	.we-hud-panel-compact {
		width: min(328px, calc(100vw - 24px));
		max-width: calc(100vw - 24px);
		transform: none;
	}
	.we-hud-float-online .we-hud-value { font-size: 36px; }
	.we-hud-clocks-row { flex-direction: row; align-items: center; gap: 8px; }
	.we-hud-clock-sep { display: block; }
	.we-hud-clock-date { display: none; }
	.we-home-news { padding: 16px; }
}

/* â”€â”€â”€ Modern icon system â”€â”€â”€ */
.we-icon {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}
.we-icon-lg { width: 32px !important; height: 32px !important; }
.we-icon-hud { color: var(--we-accent); opacity: 0.85; }
.we-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.we-btn .we-icon { flex-shrink: 0; }
.we-page-pill .we-icon { color: var(--we-primary-light); opacity: 0.8; }
.we-panel-title .we-icon { vertical-align: -3px; margin-right: 6px; color: var(--we-accent); }

/* â”€â”€â”€ Server Information (modern) â”€â”€â”€ */
.we-info-page { max-width: 100%; }
.we-info-hero {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 28px;
	margin-bottom: 28px;
	background: var(--we-bg-glass);
	backdrop-filter: blur(12px);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius-lg);
	box-shadow: var(--we-shadow);
}
.we-info-hero-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(65, 215, 240, 0.35), rgba(65, 215, 240, 0.15));
	border: 1px solid var(--we-border-glow);
	flex-shrink: 0;
}
.we-info-hero-icon .we-icon { color: var(--we-accent); width: 32px; height: 32px; }
.we-info-title {
	font-family: var(--we-font-display);
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 800;
	margin: 0 0 8px;
	color: var(--we-text);
	background: linear-gradient(135deg, #fff, var(--we-primary-light));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.we-info-subtitle {
	margin: 0;
	color: var(--we-text-muted);
	font-size: 14px;
	line-height: 1.5;
}
.we-info-section { margin-bottom: 32px; }
.we-info-section-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--we-font-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--we-text);
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--we-border);
}
.we-info-section-title .we-icon { color: var(--we-primary-light); }
.we-info-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}
.we-info-stat-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px;
	background: var(--we-bg-glass);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius);
	transition: border-color var(--we-transition), box-shadow var(--we-transition);
}
.we-info-stat-card:hover {
	border-color: var(--we-border-glow);
	box-shadow: var(--we-glow-sm);
}
.we-info-stat-icon .we-icon { color: var(--we-accent); }
.we-info-stat-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--we-text-muted);
	font-weight: 600;
}
.we-info-stat-value {
	font-family: 'Orbitron', var(--we-font-display), sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: var(--we-text);
}
.we-info-table-wrap {
	background: var(--we-bg-glass);
	backdrop-filter: blur(12px);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius-lg);
	overflow: hidden;
	box-shadow: var(--we-shadow);
}
.we-info-table {
	margin: 0 !important;
	border: none !important;
}
.we-info-table thead tr {
	background: rgba(65, 215, 240, 0.15) !important;
}
.we-info-table thead th {
	border: none !important;
	color: var(--we-text) !important;
	font-size: 12px;
	padding: 14px 16px !important;
}
.we-info-th-sub { color: var(--we-text-muted) !important; font-size: 11px !important; }
.we-info-th-gold { color: #41d7f0 !important; }
.we-info-table tbody tr:nth-child(odd) td {
	background: rgba(0, 0, 0, 0.2) !important;
	color: var(--we-text) !important;
}
.we-info-table tbody tr:nth-child(even) td {
	background: rgba(65, 215, 240, 0.06) !important;
	color: var(--we-text) !important;
}
.we-info-table tbody tr:hover td {
	background: rgba(65, 215, 240, 0.14) !important;
}
.we-info-table tbody td {
	border-top: 1px solid var(--we-border) !important;
	padding: 12px 16px !important;
}
.we-info-th-combo { vertical-align: middle !important; font-weight: 600; }
.we-info-commands {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.we-info-cmd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	padding: 14px 18px;
	background: var(--we-bg-glass);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius-sm);
	transition: border-color var(--we-transition);
}
.we-info-cmd:hover {
	border-color: var(--we-border-glow);
	background: rgba(65, 215, 240, 0.08);
}
.we-info-cmd-code {
	font-family: 'Orbitron', ui-monospace, monospace;
	font-size: 13px;
	color: var(--we-accent);
	background: rgba(65, 215, 240, 0.1);
	padding: 4px 10px;
	border-radius: 6px;
	border: 1px solid rgba(65, 215, 240, 0.25);
}
.we-info-cmd-desc { color: var(--we-text-muted); font-size: 14px; }
.we-info-video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	border-radius: var(--we-radius-lg);
	overflow: hidden;
	border: 1px solid var(--we-border);
	box-shadow: var(--we-shadow);
}
.we-info-video iframe {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	border: 0;
}
.we-page-info .page-title { display: none; }

.we-profile-player {
	max-width: 820px;
	margin: 0 auto 30px;
	padding: 22px;
	background: rgba(10, 18, 28, 0.92);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius);
	box-shadow: var(--we-shadow), 0 0 30px rgba(65, 215, 240, 0.15);
}

.we-profile-header {
	display: flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--we-border);
}

.we-profile-avatar {
	width: 86px;
	height: 86px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius-sm);
}

.we-profile-class-image {
	max-width: 72px;
	max-height: 72px;
	object-fit: contain;
}

.we-profile-title {
	flex: 1;
	min-width: 0;
}

.we-profile-title h2 {
	margin: 0 0 6px;
	color: var(--we-text);
	font-size: 28px;
	font-weight: 700;
}

.we-profile-title span {
	color: var(--we-primary-light);
	font-size: 14px;
	font-weight: 600;
}

.we-profile-status {
	padding: 7px 12px;
	border-radius: var(--we-radius-sm);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.we-profile-status.isonline {
	color: #4ade80;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.35);
}

.we-profile-status.isoffline {
	color: #f87171;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.35);
}

.we-profile-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.we-profile-stat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--we-border);
	border-radius: var(--we-radius-sm);
}

.we-profile-stat span {
	color: var(--we-text-muted);
	font-size: 13px;
}

.we-profile-stat strong {
	color: var(--we-text);
	font-size: 14px;
	font-weight: 700;
	text-align: right;
}

.we-profile-stat-wide {
	grid-column: 1 / -1;
}

@media (max-width: 600px) {
	.we-profile-header {
		flex-direction: column;
		text-align: center;
	}

	.we-profile-stats {
		grid-template-columns: 1fr;
	}

	.we-profile-stat {
		flex-direction: column;
		align-items: flex-start;
	}

	.we-profile-stat strong {
		text-align: left;
	}
}

.we-hero-brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 18px;
}

.we-hero-logo {
	display: block;
	width: min(420px, 90vw);
	max-height: 250px;
	object-fit: contain;
	filter: drop-shadow(0 0 28px rgba(65, 215, 240, 0.45));
}

.we-layout-hero-align-center .we-hero-brand {
	justify-content: center;
}

.we-brand-wordmark {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
}

.we-brand-wordmark .we-brand-name {
	font-family: 'Cinzel', 'Poppins', serif;
	font-size: 32px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
	color: #d9e7ee;
	background: linear-gradient(180deg, #ffffff 0%, #b8c8d0 42%, #6f8794 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.35),
		0 3px 8px rgba(0, 0, 0, 0.75),
		0 0 14px rgba(65, 215, 240, 0.22);
}

.we-brand-wordmark:hover .we-brand-name {
	background: linear-gradient(180deg, #ffffff 0%, #d7eef5 45%, #8aa5b2 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.4),
		0 3px 8px rgba(0, 0, 0, 0.8),
		0 0 18px rgba(65, 215, 240, 0.32);
}

@media (max-width: 768px) {
	.we-hero-brand {
		justify-content: center;
	}

	.we-hero-logo {
		width: min(320px, 86vw);
		max-height: 140px;
	}
}
@media (max-width: 767px) {
	.we-info-hero { flex-direction: column; padding: 20px; }
	.we-info-stats-grid { grid-template-columns: 1fr 1fr; }
}
/* BEGIN MuLycan final palette override */
/* MuLycan final palette - dark blue/red */
:root,
html body {
	--we-bg: #071019 !important;
	--we-bg-elevated: #111d28 !important;
	--we-bg-glass: rgba(12, 24, 36, 0.88) !important;
	--we-border: rgba(65, 215, 240, 0.16) !important;
	--we-border-glow: rgba(65, 215, 240, 0.48) !important;
	--we-text: #e8f8fc !important;
	--we-text-muted: rgba(232, 248, 252, 0.72) !important;
	--we-text-dim: rgba(232, 248, 252, 0.48) !important;
	--we-primary: #41d7f0 !important;
	--we-primary-light: #8fefff !important;
	--we-primary-dark: #1677cc !important;
	--we-accent: #bf3b4a !important;
	--we-danger: #bf3b4a !important;
	--we-warning: #bf3b4a !important;
	--we-glow: 0 0 26px rgba(65, 215, 240, 0.46), 0 0 46px rgba(191, 59, 74, 0.16) !important;
	--we-glow-sm: 0 0 13px rgba(65, 215, 240, 0.34) !important;
	--we-scrollbar-track: rgba(7, 16, 25, 0.96) !important;
	--we-scrollbar-thumb: linear-gradient(180deg, #8fefff 0%, #41d7f0 46%, #1677cc 100%) !important;
	--we-scrollbar-thumb-hover: linear-gradient(180deg, #bf3b4a 0%, #41d7f0 58%, #1677cc 100%) !important;
	--we-btn-bg: linear-gradient(135deg, #41d7f0 0%, #1677cc 100%) !important;
	--we-btn-bg-hover: linear-gradient(135deg, #8fefff 0%, #41d7f0 52%, #bf3b4a 100%) !important;
}

body,
body.we-body {
	background-color: #071019 !important;
	color: #e8f8fc !important;
}

a,
.text-primary {
	color: #8fefff !important;
}

a:hover,
a:focus {
	color: #41d7f0 !important;
}

.we-navbar,
.we-navbar.we-navbar-scrolled,
.navbar,
.navbar-default {
	background: rgba(7, 16, 25, 0.94) !important;
	border-color: rgba(65, 215, 240, 0.2) !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.58), 0 0 24px rgba(65, 215, 240, 0.13) !important;
}

.panel,
.panel-sidebar,
.we-panel-glass,
.we-home-news,
.we-ranking-panel,
.profiles_player_card,
.profiles_guild_card,
.webshop,
.webshop-wrapper,
.castle-siege-widget,
.nexar-lottery,
.rankings-table,
.table {
	background-color: rgba(12, 24, 36, 0.86) !important;
	border-color: rgba(65, 215, 240, 0.24) !important;
	box-shadow: 0 8px 36px rgba(0, 0, 0, 0.58), 0 0 28px rgba(65, 215, 240, 0.12) !important;
}

.panel-heading,
.panel-title,
.page-title span,
.we-brand-name,
.we-hero-title-line,
.guild_name,
.guild_members,
.cname {
	color: #e8f8fc !important;
	text-shadow: 0 0 16px rgba(65, 215, 240, 0.46), 0 0 28px rgba(191, 59, 74, 0.15) !important;
}

.we-btn-primary,
.we-btn-glow,
.btn-primary,
button.btn-primary,
input[type="submit"],
input[type="button"] {
	background: var(--we-btn-bg) !important;
	border-color: rgba(143, 239, 255, 0.65) !important;
	color: #fff !important;
	box-shadow: var(--we-glow-sm) !important;
}

.we-btn-primary:hover,
.we-btn-glow:hover,
.btn-primary:hover,
.btn-primary:focus,
button.btn-primary:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
	background: var(--we-btn-bg-hover) !important;
	border-color: #8fefff !important;
	color: #fff !important;
	box-shadow: var(--we-glow) !important;
}

.we-btn-outline,
.btn-default,
.btn-info {
	background: rgba(12, 24, 36, 0.48) !important;
	border-color: rgba(65, 215, 240, 0.42) !important;
	color: #e8f8fc !important;
}

.we-btn-outline:hover,
.btn-default:hover,
.btn-info:hover {
	background: rgba(65, 215, 240, 0.14) !important;
	border-color: #41d7f0 !important;
	color: #fff !important;
}

.table > thead > tr > th,
.table > tbody > tr > td,
.rankings-table tr td {
	border-color: rgba(65, 215, 240, 0.16) !important;
	color: #e8f8fc !important;
}

.table > tbody > tr:hover > td,
.rankings-table tr:hover td,
.general-table-ui tr:nth-child(2n+2) td {
	background: rgba(65, 215, 240, 0.075) !important;
}

.rankings-table tr:first-child td,
.rankings-table thead th {
	color: #8fefff !important;
	border-bottom-color: #41d7f0 !important;
}

.rankings_menu a,
.rankings-class-filter-selection,
.we-lang-dropdown-toggle,
.dropdown-menu {
	background: rgba(12, 24, 36, 0.72) !important;
	border-color: rgba(65, 215, 240, 0.18) !important;
	color: rgba(232, 248, 252, 0.74) !important;
}

.rankings_menu a:hover,
.rankings_menu a.active,
.rankings-class-filter-selection:hover,
.we-lang-dropdown.we-lang-open .we-lang-dropdown-toggle,
.dropdown-menu > li > a:hover {
	background: rgba(65, 215, 240, 0.14) !important;
	border-color: #41d7f0 !important;
	color: #fff !important;
}

.alert-info,
.label-info,
.badge-info {
	background: rgba(65, 215, 240, 0.13) !important;
	border-color: rgba(65, 215, 240, 0.34) !important;
	color: #8fefff !important;
}

.alert-danger,
.alert-warning,
.label-danger,
.label-warning,
.badge-danger,
.badge-warning {
	background: rgba(191, 59, 74, 0.16) !important;
	border-color: rgba(191, 59, 74, 0.42) !important;
	color: #ffd9de !important;
}

.we-tag-news,
.we-tag-event,
.we-tag-update,
.we-rank-gold,
.we-rank-silver,
.we-rank-bronze {
	background: linear-gradient(135deg, #41d7f0 0%, #1677cc 58%, #bf3b4a 100%) !important;
	color: #fff !important;
	box-shadow: 0 0 14px rgba(65, 215, 240, 0.32) !important;
}

.we-rank-row-1 td,
.we-rank-row-2 td,
.we-rank-row-3 td {
	color: #8fefff !important;
}

.isonline,
.online-count,
.we-hud-value-online {
	color: #41d7f0 !important;
}

.isoffline,
.text-danger {
	color: #bf3b4a !important;
}
/* END MuLycan final palette override */

/* BEGIN MuLycan Bootstrap 5 compatibility + portal home */
.row {
	--bs-gutter-x: 20px;
}

.col-xs-12,
.col-xs-8,
.col-xs-4,
.col-sm-6,
.col-sm-12,
.col-md-4,
.col-md-8,
.col-lg-4,
.col-lg-8 {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: calc(var(--bs-gutter-x) * .5);
	padding-left: calc(var(--bs-gutter-x) * .5);
}

.col-xs-12 { flex: 0 0 auto; width: 100%; }
.col-xs-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-xs-4 { flex: 0 0 auto; width: 33.33333333%; }

@media (min-width: 768px) {
	.col-sm-6 { flex: 0 0 auto; width: 50%; }
	.col-sm-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 992px) {
	.col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
	.col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
}

@media (min-width: 1200px) {
	.col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
	.col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
}

.pull-right { float: right !important; }
.pull-left { float: left !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.hidden { display: none !important; }
.btn-block { display: block; width: 100%; }
.btn-xs {
	padding: 3px 8px !important;
	font-size: 11px !important;
	line-height: 1.4 !important;
	border-radius: 6px !important;
}
.table-condensed > :not(caption) > * > * {
	padding: 6px 8px !important;
}
.form-group {
	margin-bottom: 14px;
}
.panel {
	--bs-card-spacer-y: 0;
	--bs-card-spacer-x: 0;
}
.panel-heading::after,
.panel-body::after {
	content: "";
	display: table;
	clear: both;
}
.panel-title {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
}

body.we-body::before {
	background:
		linear-gradient(180deg, rgba(7, 16, 25, 0.35), rgba(7, 16, 25, 0.92)),
		radial-gradient(ellipse 80% 42% at 50% -20%, rgba(65, 215, 240, 0.13), transparent 68%),
		radial-gradient(ellipse 54% 34% at 100% 42%, rgba(191, 59, 74, 0.075), transparent 68%),
		linear-gradient(135deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 100%);
	background-size: auto, auto, auto, 46px 46px;
}

.we-hero-glow-orb {
	display: none;
}

.we-home-portal {
	margin-top: 0;
}

.we-layout-home {
	align-items: flex-start;
}

.we-home-shell {
	display: grid;
	grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.we-home-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.we-home-main > .we-home-dashboard {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.we-home-main .we-home-news { order: 1; }
.we-home-main .we-home-castle-section { order: 2; }
.we-home-main .we-home-rankings-section { order: 3; }

.we-home-sidebar {
	min-width: 0;
}

@media (min-width: 1100px) {
	.we-home-sidebar {
		position: sticky;
		top: calc(var(--we-nav-height) + 18px);
	}
}

.we-home-section {
	width: 100%;
}

.we-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(65, 215, 240, 0.18);
}

.we-section-heading h2 {
	margin: 0;
	color: var(--we-text);
	font-family: var(--we-font-display);
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 800;
	line-height: 1.15;
	text-shadow: 0 0 18px rgba(65, 215, 240, 0.2);
}

.we-section-kicker {
	display: block;
	margin-bottom: 4px;
	color: var(--we-primary-light);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.we-home-news {
	position: relative;
	padding: 24px;
	background:
		linear-gradient(180deg, rgba(15, 29, 41, 0.92), rgba(7, 16, 25, 0.9)),
		linear-gradient(135deg, rgba(255,255,255,0.055), transparent 44%);
	border: 1px solid rgba(65, 215, 240, 0.22);
	box-shadow: 0 16px 42px rgba(0,0,0,.46), 0 0 30px rgba(65, 215, 240, .1);
}

.we-news-grid-portal {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.we-news-grid-portal .we-news-card:first-child {
	grid-column: span 2;
}

.we-news-grid-portal .we-news-card:first-child .we-news-card-thumb {
	height: 180px;
}

.we-news-card {
	border-color: rgba(65, 215, 240, 0.2);
	background:
		linear-gradient(180deg, rgba(15, 28, 39, 0.94), rgba(4, 9, 14, 0.96)),
		linear-gradient(135deg, rgba(143, 239, 255, 0.06), transparent 45%);
}

.we-news-card:hover {
	border-color: rgba(143, 239, 255, 0.54);
	box-shadow: 0 12px 30px rgba(0,0,0,.38), 0 0 22px rgba(65,215,240,.2);
}

.we-castle-home-wrap .castle-owner-widget.panel {
	margin-bottom: 0;
	background:
		linear-gradient(135deg, rgba(8, 14, 21, 0.96), rgba(16, 30, 42, 0.92)),
		url('../img/castle_owner_bg.jpg') center/cover;
	background-blend-mode: multiply;
	border-color: rgba(191, 59, 74, 0.28) !important;
	box-shadow: 0 18px 44px rgba(0,0,0,.48), 0 0 30px rgba(191, 59, 74, .1) !important;
}

.we-castle-home-wrap .castle-owner-widget .panel-heading {
	display: none !important;
}

.we-castle-home-wrap .castle-owner-widget .panel-body {
	padding: 20px 22px !important;
}

.we-castle-home-grid {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas:
		"mark info action"
		"mark stage action";
	gap: 14px 18px;
	align-items: center;
	width: 100%;
}

.we-castle-home-mark {
	grid-area: mark;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 118px;
	min-height: 128px;
	border-right: 1px solid rgba(65, 215, 240, 0.16);
	padding-right: 18px;
}

.we-castle-home-info,
.we-castle-home-stage {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.we-castle-home-info {
	grid-area: info;
}

.we-castle-home-stage {
	grid-area: stage;
}

.we-castle-stat {
	min-width: 0;
	min-height: 74px;
	padding: 13px 15px;
	border: 1px solid rgba(65, 215, 240, 0.16);
	border-radius: var(--we-radius-sm);
	background: rgba(0, 0, 0, 0.22);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.we-castle-stat .alt {
	display: block;
	margin-bottom: 5px;
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.we-castle-stat strong {
	display: block;
	color: var(--we-text);
	font-size: 14px;
	line-height: 1.32;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	overflow-wrap: anywhere;
}

.we-castle-home-action {
	grid-area: action;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 118px;
}

.we-home-rankings-section {
	padding: 0;
}

.we-rankings-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.we-ranking-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(65, 215, 240, 0.22);
	border-radius: var(--we-radius);
	background:
		linear-gradient(180deg, rgba(12, 24, 36, 0.94), rgba(5, 10, 16, 0.96)),
		linear-gradient(135deg, rgba(255,255,255,0.04), transparent 42%);
	box-shadow: 0 12px 32px rgba(0,0,0,.38), 0 0 24px rgba(65,215,240,.08);
	transition: border-color var(--we-transition), box-shadow var(--we-transition), transform var(--we-transition);
}

.we-ranking-card:hover {
	transform: translateY(-2px);
	border-color: rgba(143, 239, 255, 0.5);
	box-shadow: 0 16px 38px rgba(0,0,0,.48), 0 0 26px rgba(65,215,240,.18);
}

.we-ranking-card-master-reset {
	border-color: rgba(143, 239, 255, 0.34);
}

.we-ranking-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid rgba(65, 215, 240, 0.16);
	background:
		linear-gradient(90deg, rgba(65, 215, 240, 0.1), rgba(191, 59, 74, 0.06)),
		rgba(0,0,0,.18);
}

.we-ranking-card-title {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--we-text);
	font-family: var(--we-font-display);
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
}

.we-ranking-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(65, 215, 240, 0.13);
	border: 1px solid rgba(65, 215, 240, 0.28);
	color: var(--we-primary-light);
	flex-shrink: 0;
}

.we-ranking-card-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	border: 1px solid rgba(65, 215, 240, 0.35);
	color: var(--we-primary-light) !important;
	background: rgba(65, 215, 240, 0.08);
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.we-ranking-card-more:hover {
	color: #fff !important;
	border-color: rgba(143, 239, 255, 0.72);
	background: rgba(65, 215, 240, 0.18);
}

.we-ranking-card-body {
	padding: 8px 10px 10px;
}

.we-ranking-table-compact {
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

.we-ranking-table-compact thead th {
	padding: 8px 6px !important;
	border-bottom: 1px solid rgba(65, 215, 240, 0.16) !important;
	color: rgba(232,248,252,.56) !important;
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.we-ranking-table-compact tbody td {
	padding: 8px 6px !important;
	vertical-align: middle;
	font-size: 12px;
	border-top: 1px solid rgba(65, 215, 240, 0.08) !important;
}

.we-rank-name {
	min-width: 0;
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.we-rank-name a {
	color: var(--we-text) !important;
	font-weight: 700;
}

.we-rank-class {
	color: var(--we-text-muted) !important;
	font-size: 11px !important;
}

.we-rank-place {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 1px solid rgba(65, 215, 240, 0.24);
	color: rgba(232,248,252,.7);
	font-size: 10px;
	font-weight: 800;
}

.we-empty-state {
	grid-column: 1 / -1;
	padding: 18px;
	border: 1px solid rgba(65, 215, 240, 0.18);
	border-radius: var(--we-radius-sm);
	background: rgba(0, 0, 0, 0.22);
	color: var(--we-text-muted);
	text-align: center;
}

/* VIP module */
.vip-page {
	display: grid;
	gap: 20px;
}

.vip-type-card.panel-vip {
	background:
		linear-gradient(180deg, rgba(12, 24, 36, 0.94), rgba(5, 10, 16, 0.96)),
		linear-gradient(135deg, rgba(65, 215, 240, 0.08), rgba(191, 59, 74, 0.045));
	border-color: rgba(65, 215, 240, 0.24) !important;
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48), 0 0 28px rgba(65, 215, 240, 0.1) !important;
}

.vip-type-card .panel-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background:
		linear-gradient(90deg, rgba(65, 215, 240, 0.12), rgba(191, 59, 74, 0.065)),
		rgba(0, 0, 0, 0.2) !important;
}

.vip-type-card .panel-title {
	font-family: var(--we-font-display);
	font-size: 18px;
	font-weight: 800;
}

.vip-type-kicker {
	color: var(--we-primary-light);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.vip-packages-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.vip-package-card {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	min-height: 154px;
	padding: 16px;
	border: 1px solid rgba(65, 215, 240, 0.18);
	border-radius: var(--we-radius);
	background:
		radial-gradient(circle at 90% 0%, rgba(65, 215, 240, 0.12), transparent 34%),
		rgba(0, 0, 0, 0.26);
	transition: border-color var(--we-transition), box-shadow var(--we-transition), transform var(--we-transition);
}

.vip-package-card:hover {
	transform: translateY(-2px);
	border-color: rgba(143, 239, 255, 0.52);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36), 0 0 24px rgba(65, 215, 240, 0.16);
}

.vip-package-days {
	display: block;
	color: var(--we-text);
	font-family: var(--we-font-display);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.vip-package-price {
	display: block;
	color: var(--we-primary-light);
	font-size: 15px;
	font-weight: 800;
}

.vip-package-action {
	align-self: end;
}

.btn-vip {
	width: 100%;
	padding: 9px 14px !important;
	background: var(--we-btn-bg) !important;
	border: 1px solid rgba(143, 239, 255, 0.58) !important;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: var(--we-glow-sm);
}

.btn-vip:hover {
	background: var(--we-btn-bg-hover) !important;
	border-color: var(--we-primary-light) !important;
	box-shadow: var(--we-glow);
	color: #fff !important;
}

@media (max-width: 991px) {
	.vip-packages-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.vip-packages-grid {
		grid-template-columns: 1fr;
	}
}

.we-home-sidebar .panel,
.we-home-sidebar .sidebar-banner {
	margin-bottom: 16px;
}

.we-home-sidebar .panel-heading {
	padding: 12px 14px !important;
}

.we-home-sidebar .panel-body {
	padding: 14px !important;
}

.we-home-sidebar .we-server-info {
	border-color: rgba(143, 239, 255, 0.3) !important;
}

.we-home-sidebar .we-events-panel {
	border-color: rgba(191, 59, 74, 0.22) !important;
}

.we-sidebar .sidebar-banner img {
	display: block;
	width: 100%;
}

.we-layout-usercp.we-layout-sidebar-left {
	align-items: flex-start;
}

.we-layout-home .we-sidebar-col,
.we-layout-home .we-module-col {
	padding: 0 10px;
}

@media (max-width: 1199px) {
	.we-news-grid-portal {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.we-castle-home-grid {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"mark info"
			"mark stage"
			"mark action";
	}

	.we-castle-home-stage,
	.we-castle-home-action {
		grid-column: auto;
	}

	.we-rankings-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.we-layout-home {
		gap: 18px;
	}

	.we-home-shell {
		grid-template-columns: 1fr;
	}

	.we-home-sidebar {
		position: static;
		order: 1;
	}

	.we-home-main {
		order: 2;
	}

	.we-rankings-grid {
		grid-template-columns: 1fr;
	}

	.we-castle-home-grid {
		grid-template-columns: 1fr;
		grid-template-areas:
			"mark"
			"info"
			"stage"
			"action";
	}

	.we-castle-home-mark,
	.we-castle-home-stage,
	.we-castle-home-action {
		grid-column: auto;
	}

	.we-castle-home-mark {
		width: 100%;
		border-right: 0;
		border-bottom: 1px solid rgba(65, 215, 240, 0.16);
		padding: 0 0 14px;
	}

	.we-castle-home-action {
		justify-content: stretch;
	}

	.we-castle-home-action .btn {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.we-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.we-home-news {
		padding: 16px;
	}

	.we-news-grid-portal {
		grid-template-columns: 1fr;
	}

	.we-news-grid-portal .we-news-card:first-child {
		grid-column: auto;
	}

	.we-news-grid-portal .we-news-card:first-child .we-news-card-thumb,
	.we-news-card-thumb {
		height: 140px;
	}

	.we-rank-name {
		max-width: 150px;
	}

	.we-castle-home-info,
	.we-castle-home-stage {
		grid-template-columns: 1fr;
	}
}
/* END MuLycan Bootstrap 5 compatibility + portal home */

