/* Nexora V6 Custom — tema oscuro MU / WebEngine */

:root {
	/* Base — mismo mood que logo MU NEXORA (oro bronceado + magia púrpura / fuego) */
	--nex-bg-deep: #06050a;
	--nex-bg-panel: rgba(20, 12, 28, 0.84);
	--nex-bg-panel2: rgba(10, 7, 14, 0.94);
	/* Acentos principales */
	--nex-gold: #d4b378;
	--nex-gold-bright: #e8cf9e;
	--nex-gold-dim: #8c6640;
	--nex-bronze: #9a6840;
	--nex-fire: #d04a28;
	--nex-orange: #c95c32;
	--nex-purple: #c084fc;
	--nex-purple-mid: #a855f7;
	--nex-purple-deep: #5c1f7a;
	--nex-text: #ebe6f4;
	--nex-muted: #9a92ac;
	--nex-line: rgba(200, 165, 110, 0.28);
	--nex-glow: 0 0 38px rgba(140, 70, 210, 0.14), 0 0 22px rgba(180, 120, 72, 0.16);
	/* Botón “primario” (UserCP / myaccount / CTAs dorados — metálico oscuro, no amarillo) */
	--nex-btn-metal-top: #b8874e;
	--nex-btn-metal-mid: #7f5a32;
	--nex-btn-metal-bot: #583d22;
	--nex-btn-metal-text: #faf4ec;
	--nex-btn-metal-border: rgba(185, 130, 255, 0.28);
	--nex-btn-metal-shadow:
		0 2px 16px rgba(75, 32, 110, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	--nex-radius: 14px;
	--nex-font: "DM Sans", system-ui, sans-serif;
	--nex-display: "Cinzel", Georgia, serif;
}

/* =========================================================
   BENEFICIOS NEXORA — rewards, seasonal and WC promotions
   ========================================================= */
.nex-nav-link--featured {
  position: relative;
  padding: 10px 16px !important;
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700 !important;
  letter-spacing: .11em;
  color: #ffe6a5 !important;
  border: 1px solid rgba(244, 174, 48, .72);
  border-radius: 8px;
  background: linear-gradient(115deg, rgba(83, 35, 5, .92), rgba(43, 11, 64, .92));
  box-shadow: 0 0 10px rgba(255, 137, 15, .58), 0 0 24px rgba(151, 55, 255, .36), inset 0 0 14px rgba(255, 189, 68, .13);
  text-shadow: 0 0 7px rgba(255, 190, 76, .9);
  animation: nexBenefitsNavGlow 2.8s ease-in-out infinite;
}
.nex-nav-link--featured::before {
  content: ""; position: absolute; inset: -2px; border-radius: 10px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 224, 145, .78), transparent);
  opacity: 0; transform: translateX(-35%); animation: nexBenefitsSweep 3.2s ease-in-out infinite;
}
.nex-nav-link--featured:hover { color: #fff8df !important; transform: translateY(-1px); }
@keyframes nexBenefitsNavGlow { 0%,100% { box-shadow:0 0 9px rgba(255,137,15,.5),0 0 20px rgba(151,55,255,.28); } 50% { box-shadow:0 0 16px rgba(255,165,38,.85),0 0 34px rgba(166,66,255,.58); } }
@keyframes nexBenefitsSweep { 0%,55% { opacity:0; transform:translateX(-45%); } 70% { opacity:.45; } 90%,100% { opacity:0; transform:translateX(45%); } }

.nex-body--benefits .nex-main { background: radial-gradient(circle at 18% 8%, rgba(223,112,10,.12), transparent 34%), radial-gradient(circle at 82% 12%, rgba(118,30,196,.16), transparent 35%); }
.nex-body--benefits .nex-page-layout { display:block; }
.nex-body--benefits .nex-page-main { padding:0; overflow:visible; background:transparent; border:0; box-shadow:none; }
.nex-benefits { --gold:#efa93d; --violet:#a65bff; padding:28px 0 72px; color:#ece7f2; }
.nex-benefits-hero { position:relative; overflow:hidden; padding:58px 30px 52px; text-align:center; border:1px solid rgba(238,165,55,.34); border-radius:18px; background:linear-gradient(125deg,rgba(31,13,8,.96),rgba(12,10,22,.97) 48%,rgba(35,10,49,.95)); box-shadow:0 22px 65px rgba(0,0,0,.44), inset 0 0 55px rgba(169,65,19,.08); }
.nex-benefits-hero::before,.nex-benefits-hero::after { content:""; position:absolute; top:0; bottom:0; width:1px; background:linear-gradient(transparent,var(--gold),transparent); opacity:.55; }
.nex-benefits-hero::before { left:8%; }.nex-benefits-hero::after { right:8%; background:linear-gradient(transparent,var(--violet),transparent); }
.nex-benefits-hero__flare { position:absolute; inset:-70% 18% auto; height:290px; background:radial-gradient(ellipse,rgba(255,151,32,.22),rgba(137,39,235,.11) 48%,transparent 72%); filter:blur(12px); }
.nex-benefits-kicker { position:relative; display:block; color:#d5b879; font-size:11px; font-weight:700; letter-spacing:.34em; }
.nex-benefits-hero h1 { position:relative; margin:10px 0 12px; font-family:"Cinzel",Georgia,serif; font-size:clamp(42px,7vw,78px); font-weight:700; letter-spacing:.06em; line-height:1; color:#ffe8af; text-transform:uppercase; text-shadow:0 0 11px rgba(250,165,43,.72),0 0 34px rgba(150,48,231,.42); }
.nex-benefits-hero>p { position:relative; max-width:760px; margin:0 auto; color:#c8c0ce; font-size:16px; line-height:1.75; }
.nex-benefits-realm { position:relative; display:inline-flex; gap:10px; align-items:center; margin-top:24px; padding:8px 14px; border:1px solid rgba(174,93,255,.42); border-radius:999px; background:rgba(11,8,18,.62); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.nex-benefits-realm strong { color:#e3b6ff; font-family:"Cinzel",serif; }
.nex-benefits-commerce { margin-top:32px; padding:30px; border:1px solid rgba(233,164,58,.28); border-radius:17px; background:linear-gradient(145deg,rgba(24,15,13,.96),rgba(12,9,19,.97)); box-shadow:0 20px 55px rgba(0,0,0,.35); }
.nex-benefits-commerce__head { display:flex; justify-content:space-between; align-items:center; gap:28px; }
.nex-benefits-commerce__head>div>span { color:#d0a758; font-size:10px; font-weight:700; letter-spacing:.2em; }
.nex-benefits-commerce__head h2 { margin:7px 0; color:#f0d18d; font-family:"Cinzel",serif; font-size:30px; }
.nex-benefits-commerce__head p { margin:0; color:#aaa2b2; }
.nex-wc-rate { flex:0 0 auto; display:grid; grid-template-columns:auto auto auto; align-items:center; gap:9px; padding:16px 20px; border:1px solid rgba(177,87,255,.4); border-radius:12px; background:rgba(75,24,105,.17); box-shadow:0 0 24px rgba(147,53,224,.14); }
.nex-wc-rate small { grid-column:1/-1; color:#a99fb2; font-size:9px; letter-spacing:.16em; text-align:center; text-transform:uppercase; }.nex-wc-rate strong { color:#ffe0a0; font-family:"Cinzel",serif; font-size:18px; }.nex-wc-rate i { color:#a86aff; font-style:normal; }
.nex-direct-promo { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:22px; margin-top:24px; padding:20px; border:1px solid rgba(151,221,128,.3); border-radius:13px; background:linear-gradient(110deg,rgba(34,78,42,.25),rgba(50,20,68,.22)); }
.nex-direct-promo__bonus { display:flex; flex-direction:column; align-items:center; min-width:102px; padding:13px; border:1px solid rgba(106,223,137,.44); border-radius:10px; background:rgba(16,54,26,.45); box-shadow:0 0 20px rgba(75,208,112,.14); }.nex-direct-promo__bonus strong { color:#88ec9f; font-family:"Cinzel",serif; font-size:28px; }.nex-direct-promo__bonus span { color:#b8d5be; font-size:9px; letter-spacing:.13em; }
.nex-direct-promo>div:nth-child(2)>span { color:#ba7aff; font-size:9px; font-weight:700; letter-spacing:.16em; }.nex-direct-promo h3 { margin:5px 0; color:#f1d594; font-family:"Cinzel",serif; font-size:20px; }.nex-direct-promo p { margin:0; color:#b5adbb; }
.nex-direct-promo>a,.nex-wc-package>a { display:inline-flex; justify-content:center; padding:11px 15px; border:1px solid rgba(77,214,113,.55); border-radius:7px; color:#d9ffe3; font-size:10px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; background:rgba(30,112,52,.35); box-shadow:0 0 18px rgba(54,206,96,.12); }
.nex-wc-packages { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:22px; }
.nex-wc-package { position:relative; padding:22px; border:1px solid rgba(255,255,255,.09); border-radius:13px; background:rgba(8,7,12,.68); }.nex-wc-package.is-featured { border-color:rgba(235,165,54,.55); box-shadow:0 0 28px rgba(217,126,26,.14),inset 0 0 28px rgba(154,52,217,.06); }
.nex-wc-package__featured { position:absolute; top:0; right:16px; transform:translateY(-50%); padding:5px 8px; border-radius:4px; color:#1b1005; background:#e7ad4f; font-size:8px; font-weight:800; letter-spacing:.12em; }.nex-wc-package>small { color:#a980cc; font-size:9px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }.nex-wc-package h3 { margin:7px 0 15px; color:#ead193; font-family:"Cinzel",serif; font-size:19px; }
.nex-wc-package__price { display:flex; align-items:baseline; gap:6px; }.nex-wc-package__price strong { color:#fff0bd; font-family:"Cinzel",serif; font-size:31px; }.nex-wc-package__price span { color:#877f8e; font-size:10px; }
.nex-wc-package dl { margin:16px 0; }.nex-wc-package dl>div { display:flex; justify-content:space-between; padding:7px 0; border-bottom:1px solid rgba(255,255,255,.06); }.nex-wc-package dt { color:#88818e; font-weight:400; }.nex-wc-package dd { margin:0; color:#d9cedf; font-weight:700; }.nex-wc-package__total { display:flex; justify-content:space-between; align-items:center; margin:0 0 17px; padding:11px; border-radius:7px; background:rgba(150,55,218,.13); }.nex-wc-package__total span { color:#aaa0b0; font-size:10px; text-transform:uppercase; }.nex-wc-package__total strong { color:#dca8ff; font-family:"Cinzel",serif; }
.nex-benefits-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; margin-top:32px; }
.nex-benefit-card { position:relative; overflow:hidden; border:1px solid rgba(211,153,56,.27); border-radius:16px; background:linear-gradient(150deg,rgba(30,20,17,.97),rgba(12,10,19,.98)); box-shadow:0 18px 45px rgba(0,0,0,.36); transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.nex-benefit-card:hover { transform:translateY(-4px); border-color:rgba(239,169,61,.6); box-shadow:0 22px 58px rgba(0,0,0,.5),0 0 24px rgba(131,43,215,.16); }
.nex-benefit-card.is-featured { grid-column:1/-1; display:grid; grid-template-columns:minmax(360px,1.15fr) minmax(300px,.85fr); }
.nex-benefit-card__visual { position:relative; display:block; width:100%; padding:0; border:0; overflow:hidden; cursor:zoom-in; background:#09070c; }
.nex-benefit-card__visual img { display:block; width:100%; height:100%; min-height:340px; object-fit:cover; transition:transform .45s ease,filter .45s ease; }
.nex-benefit-card__visual span { position:absolute; right:16px; bottom:16px; padding:8px 12px; border:1px solid rgba(255,222,154,.35); border-radius:7px; color:#fff0c8; background:rgba(8,6,12,.8); font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; opacity:0; transform:translateY(5px); transition:.25s ease; }
.nex-benefit-card__visual:hover img { transform:scale(1.025); filter:brightness(1.08); }.nex-benefit-card__visual:hover span { opacity:1; transform:none; }
.nex-benefit-card__body { padding:30px; align-self:center; }
.nex-benefit-card__meta { display:flex; justify-content:space-between; gap:12px; align-items:center; color:#8f8797; font-size:10px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; }
.nex-benefit-badge { padding:7px 10px; border:1px solid rgba(178,91,255,.5); border-radius:5px; color:#e0b7ff; background:rgba(98,30,144,.18); box-shadow:0 0 15px rgba(155,64,232,.15); }
.nex-benefit-card h2 { margin:18px 0 10px; font-family:"Cinzel",Georgia,serif; color:#f2cc7b; font-size:28px; line-height:1.18; text-shadow:0 0 12px rgba(226,137,25,.24); }
.nex-benefit-card__body>p { color:#bdb6c5; line-height:1.65; }
.nex-benefit-card ul { display:grid; gap:8px; margin:20px 0 0; padding:0; list-style:none; }
.nex-benefit-card li { position:relative; padding-left:18px; color:#e5d9c4; }.nex-benefit-card li::before { content:"◆"; position:absolute; left:0; top:2px; color:var(--gold); font-size:9px; text-shadow:0 0 7px var(--gold); }
.nex-benefit-card__footer { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-top:26px; padding-top:18px; border-top:1px solid rgba(255,255,255,.08); color:#8e8796; font-size:12px; }
.nex-benefit-card__footer strong { color:#79dd9b; text-transform:uppercase; }
.nex-benefit-card__footer a,.nex-benefits-main-cta { padding:11px 16px; border:1px solid #b36d29; border-radius:7px; color:#ffe0a0; font-family:"Cinzel",serif; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; background:linear-gradient(120deg,rgba(111,48,10,.8),rgba(62,19,83,.9)); box-shadow:0 0 18px rgba(224,117,25,.17); }
.nex-benefits-trust { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:30px; padding:24px 28px; border:1px solid rgba(255,255,255,.09); border-radius:13px; background:rgba(10,8,15,.86); }
.nex-benefits-trust span { color:#d2a956; font-size:10px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }.nex-benefits-trust p { margin:5px 0 0; color:#9f98a7; }
.nex-benefits-empty { margin-top:30px; padding:50px 28px; text-align:center; border:1px dashed rgba(224,169,75,.3); border-radius:14px; background:rgba(12,9,17,.82); }.nex-benefits-empty h2 { font-family:"Cinzel",serif;color:#e8c778; }
.nex-benefit-lightbox[aria-hidden="true"] { display:none; }.nex-benefit-lightbox { position:fixed; z-index:10050; inset:0; display:grid; place-items:center; padding:24px; }.nex-benefit-lightbox__backdrop { position:absolute; inset:0; border:0; background:rgba(2,1,5,.92); backdrop-filter:blur(8px); }.nex-benefit-lightbox__panel { position:relative; z-index:1; max-width:min(1050px,94vw); max-height:92vh; padding:44px 12px 12px; border:1px solid rgba(238,165,55,.48); border-radius:13px; background:#08060c; box-shadow:0 0 45px rgba(152,56,239,.3); }.nex-benefit-lightbox__panel>button { position:absolute; right:12px; top:8px; border:0; color:#fff; background:transparent; font-size:30px; }.nex-benefit-lightbox__panel>strong { position:absolute; left:16px; top:15px; max-width:80%; color:#f0cf83; font-family:"Cinzel",serif; }.nex-benefit-lightbox__panel img { display:block; max-width:100%; max-height:calc(92vh - 58px); object-fit:contain; }
body.nex-modal-open { overflow:hidden; }
@media(max-width:900px){.nex-benefit-card.is-featured{grid-template-columns:1fr}.nex-benefits-grid{grid-template-columns:1fr}.nex-benefit-card.is-featured{grid-column:auto}.nex-benefit-card__visual img{min-height:0}.nex-benefits-trust{align-items:flex-start;flex-direction:column}.nex-wc-packages{grid-template-columns:repeat(2,minmax(0,1fr))}.nex-direct-promo{grid-template-columns:auto 1fr}.nex-direct-promo>a{grid-column:1/-1}.nex-benefits-commerce__head{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.nex-benefits{padding-top:12px}.nex-benefits-hero{padding:42px 18px}.nex-benefits-hero h1{font-size:38px}.nex-benefit-card__body{padding:22px}.nex-benefit-card h2{font-size:23px}.nex-benefit-card__footer{align-items:flex-start;flex-direction:column}.nex-nav-link--featured{display:block;text-align:center}.nex-benefits-commerce{padding:20px 15px}.nex-wc-packages{grid-template-columns:1fr}.nex-direct-promo{grid-template-columns:1fr}.nex-direct-promo__bonus{justify-self:start}.nex-wc-rate{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.nex-nav-link--featured,.nex-nav-link--featured::before{animation:none}.nex-benefit-card,.nex-benefit-card__visual img{transition:none}}

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

html {
	scroll-behavior: smooth;
}

body.nex-body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--nex-font);
	color: var(--nex-text);
	background-color: var(--nex-bg-deep);
	/* Velo sobre la imagen animada (capa ::before) */
	background-image: linear-gradient(
		180deg,
		rgba(5, 4, 12, 0.82) 0%,
		rgba(7, 6, 14, 0.72) 38%,
		rgba(3, 2, 8, 0.88) 100%
	);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: scroll;
}

/*
 * Imagen full viewport: usa cover para ancho/alto sin bandas (recorta sólo donde haga falta, sin deformar).
 */
body.nex-body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: url("../img/background.webp") center center / cover no-repeat;
}

body.nex-body a {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s, filter 0.2s;
}

body.nex-body a:hover {
	color: var(--nex-gold-bright);
	filter: brightness(1.06);
}

.nex-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.nex-skip {
	position: absolute;
	left: -999px;
	top: 8px;
	z-index: 99999;
	padding: 0.6rem 1rem;
	background: var(--nex-orange);
	color: #1a0500 !important;
	font-weight: 700;
	border-radius: 8px;
}

.nex-skip:focus {
	left: 12px;
}

.nex-bg-orbs {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 1;
	overflow: hidden;
}

.nex-bg-orbs span {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.22;
	animation: nex-float 18s ease-in-out infinite;
}

.nex-bg-orbs span:nth-child(1) {
	width: 420px;
	height: 420px;
	background: #6b21a8;
	top: -120px;
	right: -80px;
	animation-delay: 0s;
}

.nex-bg-orbs span:nth-child(2) {
	width: 360px;
	height: 360px;
	background: #c2410c;
	bottom: 10%;
	left: -100px;
	animation-delay: -6s;
}

.nex-bg-orbs span:nth-child(3) {
	width: 280px;
	height: 280px;
	background: #d97706;
	top: 40%;
	left: 40%;
	animation-delay: -12s;
}

/* Brasas / partículas sutiles (encima del fondo, bajo el contenido) */
.nex-bg-orbs .nex-bg-ember {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: radial-gradient(
		circle at 30% 30%,
		rgba(255, 210, 140, 0.95) 0%,
		rgba(255, 100, 40, 0.35) 45%,
		transparent 70%
	);
	filter: blur(1.6px);
	opacity: 0.55;
	animation: nex-bg-ember-rise 18s linear infinite;
}

.nex-bg-orbs .nex-bg-ember:nth-child(4) {
	left: 12%;
	bottom: 6%;
	animation-duration: 21s;
	animation-delay: 0s;
}
.nex-bg-orbs .nex-bg-ember:nth-child(5) {
	left: 38%;
	bottom: 4%;
	width: 7px;
	height: 7px;
	animation-duration: 25s;
	animation-delay: -4s;
}
.nex-bg-orbs .nex-bg-ember:nth-child(6) {
	right: 18%;
	bottom: 10%;
	animation-duration: 19s;
	animation-delay: -9s;
}
.nex-bg-orbs .nex-bg-ember:nth-child(7) {
	right: 42%;
	bottom: 7%;
	width: 6px;
	height: 6px;
	opacity: 0.4;
	animation-duration: 23s;
	animation-delay: -14s;
}

@keyframes nex-bg-ember-rise {
	0% {
		transform: translate3d(0, 0, 0) scale(0.85);
		opacity: 0;
	}
	12% {
		opacity: 0.55;
	}
	88% {
		opacity: 0.45;
	}
	100% {
		transform: translate3d(12px, -100vh, 0) scale(1.1);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.nex-body::before {
		inset: 0;
	}
	.nex-hero-video {
		display: none;
	}
	.nex-bg-orbs span,
	.nex-bg-orbs .nex-bg-ember {
		animation: none !important;
	}
}

@keyframes nex-float {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(30px, -20px) scale(1.05);
	}
}

.nex-container {
	width: min(1180px, 100% - 32px);
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 2;
}

/* Top bar — idioma | navegación | cuenta */
.nex-topbar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: linear-gradient(180deg, rgba(6, 5, 10, 0.97), rgba(6, 5, 10, 0.78));
	border-bottom: 1px solid var(--nex-line);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nex-topbar-inner {
	display: flex;
	align-items: center;
	height: 80px;
	padding-block: 10px;
	gap: 12px;
	flex-wrap: nowrap;
}

.nex-topbar-start {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.nex-topbar-nav {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 6px;
}

.nex-topbar-nav .nex-nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 4px 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.nex-topbar-nav .nex-nav-links .nex-nav-link {
	display: block;
	padding: 8px 10px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(210, 205, 225, 0.85) !important;
	border-radius: 8px;
	transition: background 0.2s, color 0.2s;
	white-space: nowrap;
}

.nex-topbar-nav .nex-nav-links .nex-nav-link:hover {
	color: var(--nex-gold) !important;
	background: rgba(196, 152, 88, 0.08);
}

.nex-topbar-account {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-left: auto;
}

/* Navbar: login.webp — escala proporcional (sin height fijo enorme que deforme el arte) */
.nex-nav-img-btn {
	--nex-login-img-h: clamp(58px, 7.8vmin, 82px);
	position: relative;
	display: inline-block;
	flex-shrink: 0;
	line-height: 0;
	text-decoration: none !important;
	vertical-align: middle;
	transition:
		filter 0.2s ease,
		transform 0.18s ease;
	filter:
		drop-shadow(0 8px 22px rgba(0, 0, 0, 0.48))
		drop-shadow(0 0 28px rgba(130, 70, 200, 0.22));
	-webkit-tap-highlight-color: transparent;
}

.nex-nav-img-btn:hover {
	filter:
		drop-shadow(0 12px 28px rgba(0, 0, 0, 0.52))
		drop-shadow(0 0 34px rgba(168, 85, 247, 0.28));
	transform: translateY(-2px) scale(1.03);
}

.nex-nav-img-btn:active {
	transform: translateY(0) scale(1.01);
	filter:
		drop-shadow(0 5px 14px rgba(0, 0, 0, 0.4))
		drop-shadow(0 0 20px rgba(130, 70, 200, 0.18));
}

.nex-nav-img-btn:focus {
	outline: none;
}

.nex-nav-img-btn:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 3px;
	border-radius: 6px;
}

.nex-nav-img-btn__media {
    display: block;
    width: 180px;
    height: 120px;
    user-select: none;
    pointer-events: none;
}

.nex-nav-img-btn__label {
	position: absolute;
	left: 28%;
	right: 7%;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--nex-display);
	font-size: clamp(11px, 1.45vw, 15px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	pointer-events: none;
	white-space: nowrap;
	overflow: visible;
	text-overflow: clip;
	background: linear-gradient(
		180deg,
		#fff9e8 0%,
		#f5e6b8 28%,
		#d4af37 58%,
		#8a6424 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95));
}

@supports not (background-clip: text) {
	.nex-nav-img-btn__label {
		color: var(--nex-gold-bright);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow:
			0 1px 2px rgba(0, 0, 0, 0.95),
			0 0 12px rgba(212, 175, 88, 0.35);
	}
}

@media (max-width: 520px) {
	.nex-nav-img-btn {
		--nex-login-img-h: clamp(50px, 12vmin, 68px);
	}
	.nex-nav-img-btn__media {
		max-width: min(400px, 96vw);
	}
	.nex-nav-img-btn__label {
		left: 26%;
		right: 6%;
		font-size: clamp(10px, 3.4vw, 13px);
		letter-spacing: 0.05em;
	}
}

.nex-lang {
	position: relative;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	z-index: 120;
}

.nex-lang-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 12px 5px 8px;
	border: 1px solid var(--nex-line);
	border-radius: 999px;
	color: var(--nex-gold);
	background: rgba(0, 0, 0, 0.35);
	cursor: pointer;
	font: inherit;
}

.nex-lang:hover .nex-lang-menu,
.nex-lang:focus-within .nex-lang-menu,
.nex-lang.is-open .nex-lang-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.nex-lang-menu {
	position: absolute;
	top: 100%;
	left: 0;
	margin: 6px 0 0;
	padding: 6px 0;
	min-width: 200px;
	max-height: 70vh;
	overflow-y: auto;
	list-style: none;
	background: var(--nex-bg-panel2);
	border: 1px solid var(--nex-line);
	border-radius: 10px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.2s, transform 0.2s;
	z-index: 50;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.nex-lang-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	color: var(--nex-text) !important;
}

.nex-lang-menu a:hover {
	background: rgba(196, 152, 88, 0.08);
}

.nex-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 18px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 13px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
	text-decoration: none !important;
	color: var(--nex-text) !important;
}

.nex-btn:hover {
	transform: translateY(-1px);
}

/* Glassmorphism (botones principales) */
.nex-btn--primary {
	background: linear-gradient(
		135deg,
		rgba(234, 88, 12, 0.42),
		rgba(194, 65, 12, 0.32)
	);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-color: rgba(255, 200, 120, 0.38);
	box-shadow:
		0 4px 24px rgba(234, 88, 12, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nex-btn--primary:hover {
	background: linear-gradient(
		135deg,
		rgba(234, 88, 12, 0.55),
		rgba(194, 65, 12, 0.42)
	);
	box-shadow:
		0 8px 28px rgba(234, 88, 12, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nex-btn--ghost {
	background: rgba(8, 6, 16, 0.35);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-color: rgba(255, 255, 255, 0.14);
	color: var(--nex-muted) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nex-btn--ghost:hover {
	background: rgba(196, 152, 88, 0.08);
	border-color: rgba(196, 152, 88, 0.22);
	color: var(--nex-gold) !important;
}

.nex-link {
	font-size: 13px;
	color: var(--nex-muted) !important;
}

.nex-link:hover {
	color: var(--nex-gold) !important;
}

/* Hero */
.nex-hero-wrap {
	position: relative;
	z-index: 3;
	min-height: min(65vh, 680px);
	display: grid;
	align-items: end;
	padding-bottom: 28px;
	overflow: hidden;
	background: transparent;
}

/* Video MP4 exclusivo del hero. El poster mantiene el fondo si el video tarda en cargar. */
.nex-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
	pointer-events: none;
	background: var(--nex-bg-deep);
}

.nex-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center top;
	filter: saturate(1.05);
}

.nex-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(7, 6, 12, 0.20) 0%,
		rgba(7, 6, 12, 0.40) 45%,
		var(--nex-bg-deep) 100%
	);
}

.nex-hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding-top: 48px;
}

.nex-hero-logo img {
	max-width: min(420px, 88vw);
	height: auto;
	filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.65));
	animation: nex-logo-in 1s ease-out both;
}

@keyframes nex-logo-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nex-hero-sub {
	max-width: 640px;
	margin: 16px auto 28px;
	color: var(--nex-muted);
	font-size: 15px;
	line-height: 1.55;
}

.nex-hero-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

/* Hero: el PNG es el botón completo; el texto va superpuesto en la zona central-derecha del arte */
.nex-hero-banner {
	position: relative;
	display: inline-block;
	max-width: min(390px, 94vw);
	height: 180px;
	line-height: 0;
	text-decoration: none !important;
	vertical-align: middle;
	transition:
		filter 0.2s ease,
		transform 0.15s ease;
	filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.42));
	-webkit-tap-highlight-color: transparent;
}

.nex-hero-banner:focus {
	outline: none;
}

.nex-hero-banner:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 6px;
	border-radius: 4px;
}

.nex-hero-banner:hover {
	filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.48)) brightness(1.06);
	transform: translateY(-2px);
}

.nex-hero-banner:active {
	transform: translateY(0);
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.4)) brightness(1.02);
}

.nex-hero-banner__media {
	display: block;
	width: 100%;
	height: 220px;
	vertical-align: bottom;
	user-select: none;
	pointer-events: none;
}

.nex-hero-banner__text {
	position: absolute;
	left: 34%;
	right: 11%;
	top: 58%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
	text-align: center;
	pointer-events: none;
	box-sizing: border-box;
}

.nex-hero-banner__title {
	display: block;
	font-family: var(--nex-display);
	font-size: clamp(14px, 2.8vw, 20px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
	background: linear-gradient(
		180deg,
		#fff9e8 0%,
		#f4e4ac 22%,
		#e8cf9e 45%,
		#d4af37 68%,
		#7d5a18 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.92))
		drop-shadow(0 0 14px rgba(200, 155, 72, 0.28));
}

.nex-hero-banner__sub {
	display: block;
	font-family: var(--nex-font);
	font-size: clamp(10px, 2vw, 13px);
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	text-transform: none;
	background: linear-gradient(
		180deg,
		#faf4e4 0%,
		#e8d49a 45%,
		#b88938 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

@supports not (background-clip: text) {
	.nex-hero-banner__title {
		color: var(--nex-gold-bright);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow:
			0 2px 6px rgba(0, 0, 0, 0.92),
			0 0 16px rgba(180, 130, 60, 0.35);
	}
	.nex-hero-banner__sub {
		color: var(--nex-gold);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow: 0 1px 4px rgba(0, 0, 0, 0.88);
	}
}

.nex-hero-banner__text::after {
	content: "";
	display: block;
	width: min(9rem, 78%);
	height: 2px;
	margin-top: 6px;
	border-radius: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 190, 120, 0.75) 35%,
		rgba(255, 248, 230, 0.95) 50%,
		rgba(255, 190, 120, 0.75) 65%,
		transparent
	);
	box-shadow: 0 0 10px rgba(255, 180, 90, 0.35);
	opacity: 0.95;
}

.nex-hero-banner--downloads .nex-hero-banner__text::after {
	background: linear-gradient(
		90deg,
		transparent,
		rgba(180, 120, 255, 0.55) 35%,
		rgba(245, 235, 255, 0.95) 50%,
		rgba(180, 120, 255, 0.55) 65%,
		transparent
	);
	box-shadow: 0 0 12px rgba(168, 85, 247, 0.38);
}

@media (max-width: 520px) {
	.nex-hero-banner__text {
		left: 32%;
		right: 9%;
		gap: 3px;
	}
	.nex-hero-banner__text::after {
		display: none;
	}
}

.nex-btn--lg {
	padding: 14px 26px;
	border-radius: 14px;
	min-width: 220px;
	text-align: left;
	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nex-btn--lg span small {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.78);
	margin-top: 4px;
}

.nex-btn--gold {
	background: linear-gradient(
		145deg,
		rgba(124, 45, 18, 0.45),
		rgba(67, 20, 7, 0.38)
	);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-color: rgba(185, 130, 255, 0.22);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nex-btn--gold:hover {
	background: linear-gradient(
		145deg,
		rgba(124, 45, 18, 0.58),
		rgba(67, 20, 7, 0.48)
	);
}

.nex-btn--purple {
	background: linear-gradient(
		145deg,
		rgba(107, 33, 168, 0.45),
		rgba(59, 7, 100, 0.4)
	);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-color: rgba(168, 85, 247, 0.42);
	box-shadow:
		0 8px 32px rgba(88, 28, 135, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nex-btn--purple:hover {
	background: linear-gradient(
		145deg,
		rgba(107, 33, 168, 0.58),
		rgba(59, 7, 100, 0.52)
	);
}

.nex-btn-ico {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	flex-shrink: 0;
}

.nex-ico-reg {
	background: rgba(196, 152, 88, 0.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c9975a' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E")
		center/22px no-repeat;
}

.nex-ico-dl {
	background: rgba(168, 85, 247, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23e9d5ff' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E")
		center/22px no-repeat;
}

/* Nav móvil — drawer + toggle en topbar */
.nex-nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 10px;
	list-style: none;
	margin: 0;
	padding: 0 8px;
	max-width: 100%;
}

.nex-nav-links .nex-nav-link {
	display: block;
	padding: 10px 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted) !important;
	border-radius: 10px;
	transition: background 0.2s, color 0.2s;
}

.nex-nav-links .nex-nav-link:hover {
	color: var(--nex-gold) !important;
	background: rgba(196, 152, 88, 0.06);
}

.nex-nav-toggle {
	display: none;
	position: relative;
	z-index: 110;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--nex-line);
	background: rgba(0, 0, 0, 0.35);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.nex-nav-toggle span:not(.nex-sr) {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--nex-gold);
	border-radius: 2px;
	transition: transform 0.25s, opacity 0.2s;
}

.nex-nav-toggle.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nex-nav-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.nex-nav-toggle.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.nex-nav-drawer {
	position: fixed;
	inset: 0;
	top: 0;
	background: rgba(4, 3, 8, 0.72);
	backdrop-filter: blur(8px);
	z-index: 200;
	padding: 96px 20px 24px;
}

.nex-nav-drawer[hidden] {
	display: none !important;
}

.nex-nav-drawer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	background: var(--nex-bg-panel2);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	overflow: hidden;
}

.nex-nav-drawer-list .nex-nav-link {
	display: block;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text) !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 13px;
}

.nex-nav-drawer-list li:last-child .nex-nav-link {
	border-bottom: 0;
}

@media (max-width: 960px) {
	.nex-nav-toggle {
		display: inline-flex;
	}

	.nex-topbar-nav {
		display: none;
	}

	.nex-hero-wrap {
		min-height: 420px;
	}
}

/* Main */
.nex-main {
	position: relative;
	z-index: 2;
	padding: 36px 0 80px;
}

.nex-home-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.65fr;
	gap: 28px;
	align-items: start;
}

@media (max-width: 960px) {
	.nex-home-grid {
		grid-template-columns: 1fr;
	}
}

.nex-panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--nex-line);
}

.nex-panel-head h2 {
	margin: 0;
	font-family: var(--nex-display);
	font-size: 22px;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-more {
	font-size: 13px;
	color: var(--nex-purple) !important;
	font-weight: 600;
}

.nex-home-news {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	padding: 22px 22px 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.nex-home-news-body {
	padding-top: 8px;
}

.nex-news-row {
	display: grid;
	grid-template-columns: 100px 1fr 100px;
	gap: 10px 16px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 14px;
}

.nex-home-news-body > .nex-news-row:last-of-type {
	border-bottom: 0;
}

.nex-news-pagination {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-news-pagination-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 18px;
}

.nex-news-page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	color: var(--nex-text) !important;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.nex-news-page-btn:hover:not(.nex-news-page-btn--disabled) {
	background: rgba(168, 85, 247, 0.15);
	border-color: rgba(168, 85, 247, 0.35);
	transform: translateY(-1px);
}

.nex-news-page-btn--disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.nex-news-page-info {
	font-size: 13px;
	color: var(--nex-muted);
}

.nex-news-page-info strong {
	color: var(--nex-gold);
	font-weight: 700;
}

/* Paginación rankings (page_num GET) */
.nex-rank-pagination {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	width: 100%;
}

.nex-rank-pagination-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 20px;
}

.nex-rank-pagination-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
	color: var(--nex-text) !important;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nex-rank-pagination-btn:hover:not(.nex-rank-pagination-btn--disabled) {
	background: rgba(196, 152, 88, 0.12);
	border-color: var(--nex-line);
	transform: translateY(-1px);
}

.nex-rank-pagination-btn--disabled {
	opacity: 0.4;
	cursor: not-allowed;
	pointer-events: none;
}

.nex-rank-pagination-info {
	font-size: 13px;
	color: var(--nex-muted);
}

.nex-rank-pagination-info strong {
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-news-type {
	color: var(--nex-muted);
	font-size: 12px;
}

.nex-news-title a {
	color: var(--nex-text) !important;
	font-weight: 600;
}

.nex-news-date {
	text-align: right;
	color: var(--nex-muted);
	font-size: 12px;
}

@media (max-width: 640px) {
	.nex-news-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
	.nex-news-date {
		text-align: left;
	}
}

.nex-home-side {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.nex-widget {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	padding: 18px 18px 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.nex-widget h3 {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: 15px;
	color: var(--nex-gold);
	letter-spacing: 0.05em;
}

.nex-widget-online .nex-big-num {
	display: block;
	font-family: var(--nex-display);
	font-size: 38px;
	line-height: 1;
	color: #86efac;
	text-shadow: 0 0 20px rgba(74, 222, 128, 0.35);
}

.nex-progress {
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
	margin: 10px 0 6px;
}

.nex-progress span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, #16a34a, #86efac);
	box-shadow: 0 0 16px rgba(74, 222, 128, 0.35);
	transition: width 0.6s ease;
}

.nex-times {
	margin-top: 12px;
	font-size: 12px;
	color: var(--nex-muted);
	display: grid;
	gap: 6px;
}

.nex-times time,
.nex-times span {
	color: var(--nex-gold);
	font-weight: 600;
}

.nex-widget--cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	padding: 14px;
}

/* Sidebar home: Donar / Votar — PNG completo + texto dorado superpuesto (uno debajo del otro) */
.nex-sidebar-banner {
	position: relative;
	display: block;
	width: 100%;
	line-height: 0;
	text-decoration: none !important;
	transition:
		filter 0.2s ease,
		transform 0.15s ease;
	filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.38));
	height: 150px;
	margin-top: -15%;
	-webkit-tap-highlight-color: transparent;
}

.nex-sidebar-banner:focus {
	outline: none;
}

.nex-sidebar-banner:hover {
	filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45)) brightness(1.06);
	transform: translateY(-2px);
}

.nex-sidebar-banner:active {
	transform: translateY(0);
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35)) brightness(1.02);
}

.nex-sidebar-banner:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 4px;
	border-radius: 10px;
}

.nex-sidebar-banner__media {
	display: block;
	width: 100%;
	height: auto;
	user-select: none;
	pointer-events: none;
}

.nex-sidebar-banner__label {
	position: absolute;
	left: 28%;
	right: 8%;
	top: 72%;
	transform: translateY(-50%);
	font-family: var(--nex-display);
	font-size: clamp(11px, 2.8vw, 14px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	pointer-events: none;
	white-space: nowrap;
	overflow: visible;
	background: linear-gradient(
		180deg,
		#fff9e8 0%,
		#f4e4ac 28%,
		#d4af37 62%,
		#7d5a18 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.9))
		drop-shadow(0 0 12px rgba(200, 150, 70, 0.25));
}

.nex-sidebar-banner--voting .nex-sidebar-banner__label {
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.9))
		drop-shadow(0 0 14px rgba(168, 85, 247, 0.22));
}

@supports not (background-clip: text) {
	.nex-sidebar-banner__label {
		color: var(--nex-gold-bright);
		background: none;
		-webkit-text-fill-color: unset;
		filter: none;
		text-shadow:
			0 2px 4px rgba(0, 0, 0, 0.92),
			0 0 14px rgba(180, 130, 60, 0.35);
	}
}

/* Character slider */
.nex-char-section {
	margin-top: 48px;
	padding: 36px 0 56px;
	position: relative;
}

.nex-char-heading-wrap {
	text-align: center;
	margin-bottom: 28px;
	position: relative;
}

.nex-ember {
	display: block;
	width: 48px;
	height: 4px;
	margin: 0 auto 14px;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, var(--nex-orange), transparent);
	box-shadow: 0 0 20px rgba(255, 122, 61, 0.45);
}

.nex-section-title {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(22px, 4vw, 32px);
	letter-spacing: 0.12em;
	color: var(--nex-gold);
	text-transform: uppercase;
}

.nex-char-tagline {
	margin: 10px 0 0;
	color: var(--nex-muted);
	font-size: 15px;
}

.nex-char-slider-stack {
	background: linear-gradient(180deg, rgba(18, 14, 28, 0.35), rgba(8, 6, 14, 0.95));
	border: 1px solid var(--nex-line);
	border-radius: calc(var(--nex-radius) + 4px);
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.nex-char-swiper {
	width: 100%;
}

.nex-char-slide {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	min-height: 360px;
}

@media (max-width: 900px) {
	.nex-char-slide {
		grid-template-columns: 1fr;
		min-height: 0;
	}
}

.nex-char-visual {
	position: relative;
	overflow: hidden;
	background: #0c0a12;
}

.nex-char-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.nex-char-vignette {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 30%, rgba(7, 6, 12, 0.85) 100%);
	pointer-events: none;
}

@media (max-width: 900px) {
	.nex-char-vignette {
		background: linear-gradient(180deg, transparent 40%, rgba(7, 6, 12, 0.92) 100%);
	}
}

.nex-char-info {
	padding: 28px 28px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	background: radial-gradient(120% 80% at 100% 0%, rgba(107, 33, 168, 0.18), transparent 55%), var(--nex-bg-panel2);
}

.nex-char-badge img {
	width: 52px;
	height: 52px;
	object-fit: contain;
	filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
}

.nex-char-name {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(24px, 4vw, 34px);
	color: #c4b5fd;
	letter-spacing: 0.04em;
}

.nex-char-sub {
	margin: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--nex-gold-dim);
}

.nex-char-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--nex-muted);
}

.nex-stat-bars {
	display: grid;
	gap: 8px;
	margin-top: 8px;
}

.nex-bar {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.nex-bar span {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #22c55e, #86efac);
	box-shadow: 0 0 14px rgba(74, 222, 128, 0.35);
	transition: width 0.8s ease;
}

.nex-bar--mid span {
	background: linear-gradient(90deg, #f97316, #fdba74);
	box-shadow: 0 0 14px rgba(249, 115, 22, 0.35);
}

.nex-bar--def span {
	background: linear-gradient(90deg, #3b82f6, #93c5fd);
	box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

.nex-bar small {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 9px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	z-index: 1;
}

.nex-char-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(4, 3, 8, 0.65);
}

.swiper-nav-btn {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--nex-line);
	background: rgba(196, 152, 88, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23c9975a' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E")
		center/22px no-repeat;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s;
}

.swiper-nav-btn:hover {
	background-color: rgba(196, 152, 88, 0.18);
	transform: scale(1.05);
}

.nex-char-next {
	transform: scaleX(-1);
}

.nex-thumb-swiper {
	flex: 1;
	min-width: 0;
}

.nex-thumb-swiper .swiper-slide {
	width: auto;
}

.nex-thumb {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.12);
	background: radial-gradient(circle at 30% 20%, #2a2238, #0f0c18);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.15s;
}

.nex-thumb img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.nex-thumb:hover {
	transform: translateY(-2px);
	border-color: rgba(196, 152, 88, 0.45);
}

.swiper-slide-thumb-active .nex-thumb,
.nex-thumb:focus-visible {
	border-color: var(--nex-gold);
	box-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	outline: none;
}

/* Inner pages */
.nex-page-layout {
	display: grid;
	gap: 24px;
}

.nex-page-layout--sidebar {
	grid-template-columns: 1fr 320px;
	align-items: start;
}

@media (max-width: 960px) {
	.nex-page-layout--sidebar {
		grid-template-columns: 1fr;
	}
}

.nex-page-main {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	padding: 22px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

/* Módulos internos (rankings, etc.): no usar .nex-reveal aquí — opacity:0 hasta scroll ocultaba todo el contenido. */

.nex-page-main .page-title {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--nex-line);
	font-family: var(--nex-display);
	font-size: clamp(20px, 2.8vw, 26px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-page-main .page-title span {
	display: inline-block;
}

.nex-page-main .rankings-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.22);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-page-main .rankings-table td {
	padding: 11px 12px;
	vertical-align: middle;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text) !important;
	background: transparent !important;
}

.nex-page-main .rankings-table tr:first-child td {
	border-top: 0;
	background: rgba(0, 0, 0, 0.35) !important;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold) !important;
}

.nex-page-main .rankings-table tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.03) !important;
}

.nex-page-main .rankings-update-time {
	margin-top: 14px;
	font-size: 13px;
	color: var(--nex-muted);
}

.nex-page-main .rankings-class-image {
	max-height: 36px;
	width: auto;
	vertical-align: middle;
}

.nex-page-main .alert {
	border-radius: 12px;
	border-width: 1px;
}

.nex-page-main .rankings_menu {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-page-main .rankings_menu a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted) !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.28);
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nex-page-main .rankings_menu a:hover {
	color: var(--nex-text) !important;
	border-color: rgba(168, 85, 247, 0.45);
}

.nex-page-main .rankings-class-filter-wrap {
	margin-bottom: 16px;
}

.nex-page-main .rankings-class-filter-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 14px;
}

.nex-page-main .rankings-class-filter-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted);
}

.nex-page-main .rankings-class-filter-select {
	min-width: 200px;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.35);
	color: var(--nex-text);
	font-size: 14px;
}

.nex-page-main .panel {
	background: rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 255, 255, 0.08);
}

.nex-page-main .panel-heading {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.08);
	color: var(--nex-gold);
}

.nex-page-aside .nex-widget {
	margin-bottom: 16px;
}

.nex-form input[type="text"],
.nex-form input[type="password"] {
	width: 100%;
	margin-bottom: 10px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--nex-line);
	background: rgba(0, 0, 0, 0.35);
	color: var(--nex-text);
}

.nex-btn--block {
	width: 100%;
}

.nex-inline-link {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
}

.nex-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nex-table td {
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-muted);
}

.nex-table td:last-child {
	text-align: right;
	color: var(--nex-text);
	font-weight: 600;
}

.nex-online-cell {
	color: #86efac !important;
}

.nex-widget--castle .nex-castle-grid {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 14px;
	align-items: start;
	margin-bottom: 12px;
}

.nex-castle-emblem {
	display: flex;
	align-items: center;
	justify-content: center;
}

.nex-castle-meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.nex-castle-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 12px;
	font-size: 13px;
	line-height: 1.35;
}

.nex-castle-meta-lbl {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-muted);
}

.nex-castle-meta-val {
	text-align: right;
	color: var(--nex-text);
	font-weight: 600;
	min-width: 0;
	word-break: break-word;
}

.nex-castle-meta-val a {
	color: var(--nex-gold) !important;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(196, 152, 88, 0.35);
	transition: color 0.2s, border-color 0.2s;
}

.nex-castle-meta-val a:hover {
	color: #fff8e7 !important;
	border-bottom-color: rgba(200, 152, 88, 0.55);
}

.nex-widget--castle .nex-castle-stage {
	margin: 12px 0 14px;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: rgba(232, 228, 240, 0.92);
}

.nex-widget--castle .nex-castle-more {
	display: flex;
	width: 100%;
	justify-content: center;
}

/* Footer — mismo cristal oscuro que la topbar */
.nex-footer {
	position: relative;
	z-index: 2;
	padding: 48px 0 28px;
	border-top: 1px solid var(--nex-line);
	background: linear-gradient(180deg, rgba(6, 5, 10, 0.72), rgba(6, 5, 10, 0.94));
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 -10px 36px rgba(0, 0, 0, 0.4);
}

.nex-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 28px;
	margin-bottom: 32px;
}

@media (max-width: 900px) {
	.nex-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 520px) {
	.nex-footer-grid {
		grid-template-columns: 1fr;
	}
}

.nex-footer-logo img {
	max-width: 200px;
	height: auto;
	opacity: 0.92;
}

.nex-footer-tagline {
	font-size: 13px;
	color: var(--nex-muted);
	line-height: 1.55;
	margin-top: 12px;
}

.nex-footer-title {
	font-family: var(--nex-display);
	font-size: 14px;
	color: var(--nex-gold);
	margin: 0 0 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nex-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 14px;
}

.nex-footer-links a {
	color: var(--nex-muted) !important;
}

.nex-footer-links a:hover {
	color: #fff !important;
}

.nex-social {
	display: flex;
	gap: 10px;
}

.nex-soc {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--nex-line);
	background: rgba(255, 255, 255, 0.05);
	display: grid;
	place-items: center;
	transition: transform 0.15s, border-color 0.2s;
}

.nex-soc:hover {
	transform: translateY(-2px);
	border-color: rgba(196, 152, 88, 0.45);
}

.nex-soc span {
	width: 20px;
	height: 20px;
	background-size: contain;
	opacity: 0.85;
}

.nex-soc--dc span {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23a5b4fc' viewBox='0 0 24 24'%3E%3Cpath d='M20.32 4.37A19.8 19.8 0 0 0 15.44 2.9c-.21.38-.46.9-.63 1.3a18.4 18.4 0 0 0-5.6 0 13.5 13.5 0 0 0-.64-1.3 19.7 19.7 0 0 0-4.88 1.48C.6 8.96-.24 13.43.18 17.84a19.9 19.9 0 0 0 5.98 3.02c.48-.66.91-1.36 1.29-2.1a12.9 12.9 0 0 1-2.03-.98c.17-.13.33-.26.49-.39 3.91 1.8 8.15 1.8 12.02 0 .16.13.32.27.49.39-.65.38-1.33.7-2.04.98.38.74.81 1.44 1.29 2.1a19.8 19.8 0 0 0 5.98-3.02c.5-5.11-.85-9.54-3.33-13.47ZM8.02 15.12c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.41 2.15-2.41 1.21 0 2.17 1.09 2.15 2.41 0 1.32-.95 2.4-2.15 2.4Zm7.96 0c-1.18 0-2.15-1.08-2.15-2.4 0-1.33.95-2.41 2.15-2.41 1.21 0 2.17 1.09 2.15 2.41 0 1.32-.94 2.4-2.15 2.4Z'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

.nex-soc--fb span {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2393c5fd' viewBox='0 0 24 24'%3E%3Cpath d='M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

.nex-soc--yt span {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fca5a5' viewBox='0 0 24 24'%3E%3Cpath d='M21.6 7.2s-.2-1.4-.8-2c-.7-.8-1.5-.8-1.9-.9C16.6 4 12 4 12 4s-4.6 0-7.9.3c-.4 0-1.2.1-1.9.9-.6.6-.8 2-.8 2S1 8.9 1 10.7v2.6c0 1.8.2 3.5.2 3.5s.2 1.4.8 2c.7.8 1.6.8 2 .9 1.6.2 6.7.3 6.7.3s4.6 0 7.9-.3c.4 0 1.2-.1 1.9-.9.6-.6.8-2 .8-2s.2-1.7.2-3.5v-2.6c0-1.8-.2-3.5-.2-3.5zM10 14.1V9.9l5 2.1-5 2.1z'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

.nex-soc--ig span {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23f0abfc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E")
		center/contain no-repeat;
}

.nex-footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 12px;
	color: var(--nex-muted);
}

.nex-footer-bar .webengine-powered {
	color: var(--nex-muted) !important;
	font-size: 12px;
}

/* Crédito desarrollo */
.nex-footer-credit {
	margin: 1px 0 0;
	padding: 0;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.38);
	letter-spacing: 0.04em;
}

.nex-footer-credit-link {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s ease, filter 0.2s ease;
}

.nex-footer-credit-link:hover {
	color: #f5e6b8;
	filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

/* Home: Countdown / Realm Status v2 */
.nex-realm-modules {
	--nex-realm-module-gap: 16px;
}

.nex-realm-modules--hero {
	position: absolute;
	inset: 0;
	z-index: 4;
	pointer-events: none;
}

.nex-realm-modules__stage {
	height: 100%;
}

.nex-realm-modules--hero .nex-realm-module {
	position: absolute;
	pointer-events: auto;
}

.nex-realm-module {
	--nex-realm-accent: #d99024;
	--nex-realm-highlight: #ffc45d;
	--nex-realm-rgb: 217, 144, 36;
	--nex-module-alpha: .72;
	--nex-module-blur: 14px;
	--nex-module-x: 0px;
	--nex-module-y: 0px;
	--nex-module-glow: .2;
	position: relative;
	width: min(390px, calc(100vw - 32px));
	max-width: 100%;
	padding: 14px 16px 13px;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid rgba(var(--nex-realm-rgb), .42);
	border-radius: 15px;
	background:
		linear-gradient(145deg, rgba(var(--nex-realm-rgb), .12), transparent 46%),
		rgba(9, 7, 15, var(--nex-module-alpha));
	backdrop-filter: blur(var(--nex-module-blur));
	-webkit-backdrop-filter: blur(var(--nex-module-blur));
	box-shadow:
		0 18px 48px rgba(0, 0, 0, .46),
		0 0 34px rgba(var(--nex-realm-rgb), var(--nex-module-glow)),
		inset 0 0 0 1px rgba(255, 255, 255, .025);
	color: #fff;
	text-align: left;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.nex-realm-module--seasonal {
	--nex-realm-accent: #b56cff;
	--nex-realm-highlight: #d89aff;
	--nex-realm-rgb: 181, 108, 255;
}

.nex-realm-module--compact { width: min(330px, calc(100vw - 32px)); }
.nex-realm-module--wide { width: min(500px, calc(100vw - 32px)); }
.nex-realm-module--glow-off { --nex-module-glow: 0; }
.nex-realm-module--glow-low { --nex-module-glow: .1; }
.nex-realm-module--glow-medium { --nex-module-glow: .2; }
.nex-realm-module--glow-high { --nex-module-glow: .34; }

.nex-realm-module:hover {
	border-color: rgba(var(--nex-realm-rgb), .62);
	box-shadow:
		0 22px 56px rgba(0, 0, 0, .5),
		0 0 42px rgba(var(--nex-realm-rgb), var(--nex-module-glow)),
		inset 0 0 0 1px rgba(255, 255, 255, .04);
}

.nex-realm-module__accent {
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	z-index: 2;
	background: linear-gradient(90deg, transparent, var(--nex-realm-accent) 22%, var(--nex-realm-highlight) 50%, var(--nex-realm-accent) 78%, transparent);
	box-shadow: 0 0 18px rgba(var(--nex-realm-rgb), .48);
	pointer-events: none;
}

.nex-realm-module::after {
	content: "";
	position: absolute;
	top: -76px;
	right: -82px;
	width: 190px;
	height: 190px;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--nex-realm-rgb), .16), transparent 68%);
	pointer-events: none;
}

.nex-realm-module__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 11px;
	padding-bottom: 9px;
	border-bottom: 1px solid rgba(var(--nex-realm-rgb), .2);
}

.nex-realm-module__head > div {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.nex-realm-module__realm {
	font-family: var(--nex-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--nex-realm-highlight);
	text-shadow: 0 0 18px rgba(var(--nex-realm-rgb), .22);
}

.nex-realm-module__head small {
	overflow: hidden;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: rgba(255, 255, 255, .46);
}

.nex-realm-module__sigil {
	position: relative;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	transform: rotate(45deg);
	border: 1px solid rgba(var(--nex-realm-rgb), .7);
	box-shadow: inset 0 0 12px rgba(var(--nex-realm-rgb), .16), 0 0 14px rgba(var(--nex-realm-rgb), .18);
}

.nex-realm-module__sigil::after {
	content: "";
	position: absolute;
	inset: 5px;
	background: var(--nex-realm-accent);
	box-shadow: 0 0 9px rgba(var(--nex-realm-rgb), .5);
}

.nex-realm-module__countdown {
	text-align: center;
}

.nex-realm-module__title,
.nex-realm-module__state-title {
	display: block;
	font-family: var(--nex-display);
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgba(255, 249, 237, .97);
}

.nex-realm-module__title {
	font-size: 12px;
	line-height: 1.35;
}

.nex-realm-module__message {
	margin: 7px 0 0;
	font-size: 11px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .62);
}

.nex-realm-module__message--countdown {
	max-width: 330px;
	margin-inline: auto;
}

.nex-realm-module__grid {
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 7px;
	margin-top: 11px;
}

.nex-realm-module__cell {
	display: flex;
	flex: 1 1 0;
	min-width: 0;
	max-width: 76px;
	min-height: 58px;
	padding: 7px 6px 6px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(var(--nex-realm-rgb), .17);
	border-radius: 10px;
	background: rgba(0, 0, 0, .3);
	box-shadow: inset 0 0 18px rgba(var(--nex-realm-rgb), .035);
}

.nex-realm-module__cell span {
	order: 1;
	margin-bottom: 3px;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .44);
}

.nex-realm-module__cell strong {
	order: 2;
	font-family: var(--nex-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: #fff;
	text-shadow: 0 0 15px rgba(var(--nex-realm-rgb), .2);
}

.nex-realm-module__foot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 18px;
	margin-top: 10px;
}

.nex-realm-module__timezone {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 9px;
	color: rgba(255, 255, 255, .4);
}

.nex-realm-module__timezone svg {
	width: 12px;
	height: 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nex-realm-module__state {
	display: grid;
	gap: 8px;
	padding: 5px 1px 2px;
}

.nex-realm-module__state-line {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: max-content;
	max-width: 100%;
	padding: 5px 9px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 999px;
	background: rgba(0, 0, 0, .22);
}

.nex-realm-module__status-dot {
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #93a0b4;
	box-shadow: 0 0 12px rgba(147, 160, 180, .5);
}

.nex-realm-module__status-label {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
}

.nex-realm-module__state-title {
	font-size: 18px;
	line-height: 1.2;
	color: var(--nex-realm-highlight);
}

.nex-realm-module__state--online .nex-realm-module__status-dot {
	background: #55d98a;
	box-shadow: 0 0 0 0 rgba(85, 217, 138, .45);
	animation: nex-realm-module-pulse-green 2.4s ease-out infinite;
}

.nex-realm-module__state--maintenance .nex-realm-module__status-dot {
	background: #ffb84a;
	box-shadow: 0 0 12px rgba(255, 184, 74, .55);
}

.nex-realm-module__state--offline .nex-realm-module__status-dot {
	background: #ff6670;
	box-shadow: 0 0 12px rgba(255, 102, 112, .5);
}

.nex-realm-module__state--event .nex-realm-module__status-dot {
	background: var(--nex-realm-highlight);
	box-shadow: 0 0 14px rgba(var(--nex-realm-rgb), .58);
}

.nex-realm-module__state--notice .nex-realm-module__status-dot {
	background: #72b8ff;
	box-shadow: 0 0 12px rgba(114, 184, 255, .48);
}

@keyframes nex-realm-module-pulse-green {
	0% { box-shadow: 0 0 0 0 rgba(85, 217, 138, .44); }
	70%, 100% { box-shadow: 0 0 0 8px rgba(85, 217, 138, 0); }
}

.nex-realm-module__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: max-content;
	max-width: 100%;
	min-height: 31px;
	padding: 6px 11px;
	border: 1px solid rgba(var(--nex-realm-rgb), .4);
	border-radius: 9px;
	background: rgba(var(--nex-realm-rgb), .1);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--nex-realm-highlight) !important;
	text-decoration: none !important;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.nex-realm-module__cta:hover {
	border-color: rgba(var(--nex-realm-rgb), .7);
	background: rgba(var(--nex-realm-rgb), .18);
	transform: translateY(-1px);
}

.nex-realm-module__cta--small {
	min-height: 25px;
	padding: 4px 8px;
	font-size: 8px;
}

/* Posiciones del Hero. Los offsets del AdminCP se suman a estos anclajes. */
.nex-realm-modules--hero [data-placement="hero-left"] {
	top: 16px;
	left: 16px;
	transform: translate(var(--nex-module-x), var(--nex-module-y));
}

.nex-realm-modules--hero [data-placement="hero-center"] {
	top: 16px;
	left: 50%;
	transform: translate(calc(-50% + var(--nex-module-x)), var(--nex-module-y));
}

.nex-realm-modules--hero [data-placement="hero-right"] {
	top: 16px;
	right: 16px;
	transform: translate(var(--nex-module-x), var(--nex-module-y));
}

.nex-realm-modules--hero [data-placement="hero-bottom-left"] {
	bottom: 165px;
	left: 16px;
	transform: translate(var(--nex-module-x), var(--nex-module-y));
}

.nex-realm-modules--hero [data-placement="hero-bottom-center"] {
	bottom: 165px;
	left: 50%;
	transform: translate(calc(-50% + var(--nex-module-x)), var(--nex-module-y));
}

.nex-realm-modules--hero [data-placement="hero-bottom-right"] {
	bottom: 165px;
	right: 16px;
	transform: translate(var(--nex-module-x), var(--nex-module-y));
}

/* Slot normal justo despues del Hero. */
.nex-realm-modules--after-hero {
	position: relative;
	z-index: 5;
	padding: 18px 0 4px;
}

.nex-realm-modules--after-hero .nex-realm-modules__stage {
	display: flex;
	height: auto;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--nex-realm-module-gap);
}

.nex-realm-modules--after-hero .nex-realm-module {
	transform: translate(var(--nex-module-x), var(--nex-module-y));
}

/* Tarjetas flotantes. Se mantienen sobre el contenido pero por debajo de los docks sociales. */
.nex-realm-modules--floating {
	position: static;
}

.nex-realm-modules--floating .nex-realm-modules__stage {
	height: 0;
}

.nex-realm-modules--floating [data-placement="floating-left"] {
	position: fixed;
	left: max(18px, env(safe-area-inset-left));
	bottom: max(150px, calc(150px + env(safe-area-inset-bottom)));
	z-index: 99970;
	transform: translate(var(--nex-module-x), var(--nex-module-y));
}

.nex-realm-modules--floating [data-placement="floating-right"] {
	position: fixed;
	right: max(18px, env(safe-area-inset-right));
	bottom: max(150px, calc(150px + env(safe-area-inset-bottom)));
	z-index: 99970;
	transform: translate(var(--nex-module-x), var(--nex-module-y));
}

/* Transicion countdown -> estado. */
.nex-realm-module.is-post-state .nex-realm-module__head {
	border-bottom-color: rgba(var(--nex-realm-rgb), .3);
}

@media (max-width: 900px) {
	.nex-realm-module--wide { width: min(420px, calc(100vw - 32px)); }
}

@media (max-width: 760px) {
	/* En movil el Hero deja de usar coordenadas absolutas para no tapar logo/CTA. */
	.nex-realm-modules--hero {
		position: relative;
		inset: auto;
		z-index: 4;
		width: 100%;
		margin: 12px 0 3px;
		pointer-events: auto;
	}

	.nex-realm-modules--hero .nex-realm-modules__stage,
	.nex-realm-modules--after-hero .nex-realm-modules__stage {
		height: auto;
	}

	.nex-realm-modules--hero .nex-realm-module,
	.nex-realm-modules--after-hero .nex-realm-module {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		transform: none;
	}

	.nex-realm-modules--mobile-swipe.nex-realm-modules--hero .nex-realm-modules__stage,
	.nex-realm-modules--mobile-swipe.nex-realm-modules--after-hero .nex-realm-modules__stage {
		display: flex;
		align-items: stretch;
		justify-content: flex-start;
		flex-wrap: nowrap;
		gap: 11px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 13px;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.nex-realm-modules--mobile-swipe.nex-realm-modules--hero .nex-realm-modules__stage::-webkit-scrollbar,
	.nex-realm-modules--mobile-swipe.nex-realm-modules--after-hero .nex-realm-modules__stage::-webkit-scrollbar {
		display: none;
	}

	.nex-realm-modules--mobile-swipe .nex-realm-module {
		flex: 0 0 min(86vw, 360px);
		width: min(86vw, 360px);
		scroll-snap-align: center;
	}

	.nex-realm-modules--mobile-stack.nex-realm-modules--hero .nex-realm-modules__stage,
	.nex-realm-modules--mobile-stack.nex-realm-modules--after-hero .nex-realm-modules__stage {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 11px;
	}

	.nex-realm-modules--floating .nex-realm-module {
		width: min(330px, calc(100vw - 28px));
	}
}

@media (max-width: 520px) {
	.nex-realm-module {
		padding: 12px 13px 11px;
		border-radius: 13px;
	}

	.nex-realm-module__head {
		margin-bottom: 9px;
		padding-bottom: 8px;
	}

	.nex-realm-module__realm { font-size: 13px; }
	.nex-realm-module__title { font-size: 11px; }
	.nex-realm-module__state-title { font-size: 16px; }
	.nex-realm-module__message { font-size: 10px; }
	.nex-realm-module__grid { gap: 5px; }
	.nex-realm-module__cell { min-height: 52px; padding-inline: 4px; }
	.nex-realm-module__cell strong { font-size: 18px; }
	.nex-realm-module__cell span { font-size: 7px; }

	.nex-realm-modules--floating [data-placement="floating-left"],
	.nex-realm-modules--floating [data-placement="floating-right"] {
		left: 14px;
		right: 14px;
		bottom: 92px;
		transform: translateY(var(--nex-module-y));
	}
}

/* Twitch / TikTok dock */
.nex-stream-dock {
	position: fixed;
	right: 0;
	bottom: clamp(72px, 14vmin, 124px);
	z-index: 99990;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	pointer-events: none;
}

.nex-stream-dock__rail {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 0 0 6px;
	pointer-events: auto;
	position: relative;
	z-index: 99992;
}

.nex-stream-dock__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-right: 0;
	border-radius: 12px 0 0 12px;
	background: rgba(14, 10, 22, 0.88);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: rgba(255, 255, 255, 0.92);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition:
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		transform 0.18s ease,
		box-shadow 0.2s ease;
	box-shadow: -6px 8px 28px rgba(0, 0, 0, 0.38);
	-webkit-tap-highlight-color: transparent;
}

.nex-stream-dock__btn:focus {
	outline: none;
}

.nex-stream-dock__btn:focus-visible {
	outline: 2px solid var(--nex-purple-mid);
	outline-offset: 2px;
}

.nex-stream-dock__btn:hover {
	background: rgba(40, 28, 62, 0.92);
	border-color: rgba(212, 175, 55, 0.35);
	color: var(--nex-gold-bright);
	transform: translateX(-2px);
}

.nex-stream-dock__btn--twitch:hover {
	color: #c4a6ff;
	border-color: rgba(145, 70, 255, 0.45);
}

.nex-stream-dock__btn--tiktok:hover {
	color: #7af4ff;
	border-color: rgba(0, 242, 234, 0.35);
}

.nex-stream-dock__btn svg {
	flex-shrink: 0;
}

.nex-stream-dock__btn span {
	white-space: nowrap;
}

.nex-stream-dock__panel {
	position: fixed;
	right: 0;
	bottom: clamp(72px, 14vmin, 124px);
	width: min(400px, calc(100vw - 52px));
	height: min(288px, 42vh);
	border-radius: 14px 0 0 14px;
	background: rgba(12, 8, 18, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-right: 0;
	box-shadow: -12px 16px 48px rgba(0, 0, 0, 0.55);
	z-index: 99991;
	transform: translateX(105%);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	pointer-events: auto;
}

.nex-stream-dock__panel.is-open {
	transform: translateX(0);
}

.nex-stream-dock__panel-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	flex-shrink: 0;
}

.nex-stream-dock__panel-title {
	font-family: var(--nex-display);
	font-size: 13px;
	font-weight: 700;
	color: var(--nex-gold-bright);
	letter-spacing: 0.06em;
}

.nex-stream-dock__panel-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.45);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 2px 6px;
	transition: color 0.2s ease;
	border-radius: 6px;
}

.nex-stream-dock__panel-close:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.nex-stream-dock__panel-body {
	flex: 1;
	min-height: 0;
	position: relative;
	background: #000;
}

.nex-stream-dock__panel-body iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: none;
}

@media (max-width: 520px) {
	.nex-stream-dock__btn span {
		display: none;
	}

	.nex-stream-dock__btn {
		padding: 12px;
	}

	.nex-stream-dock__panel {
		width: 100%;
		max-width: 100%;
		height: min(260px, 46vh);
		border-radius: 12px 0 0 12px;
	}
}

/* Reveal on scroll */
.nex-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.nex-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Rankings home */
.nex-rankings-section {
	margin-top: 36px;
	margin-bottom: 8px;
}

.nex-section-title--left {
	text-align: left;
	margin-bottom: 18px;
	font-family: var(--nex-display);
	font-size: clamp(20px, 3vw, 28px);
	color: var(--nex-gold);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nex-rankings-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
	align-items: start;
}

.nex-rankings-grid--with-events {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
	.nex-rankings-grid--with-events {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nex-rankings-grid--with-events .nex-rank-card--events {
		grid-column: 1 / -1;
		max-width: 560px;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
	}
}

@media (max-width: 900px) {
	.nex-rankings-grid {
		grid-template-columns: 1fr;
	}

	.nex-rankings-grid--with-events .nex-rank-card--events {
		grid-column: auto;
		max-width: none;
	}
}

.nex-rank-card {
	background: var(--nex-bg-panel);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	overflow: hidden;
	box-shadow: 0 14px 44px rgba(0, 0, 0, 0.35);
}

.nex-rank-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(196, 152, 88, 0.15);
	font-family: var(--nex-display);
	font-size: 15px;
	color: var(--nex-text);
	letter-spacing: 0.06em;
}

.nex-rank-more {
	font-size: 12px;
	font-family: var(--nex-font);
	font-weight: 600;
	color: var(--nex-purple) !important;
	text-transform: none;
	letter-spacing: 0;
}

.nex-rank-table-wrap {
	padding: 8px 12px 14px;
	height: 340px;
	overflow: auto;
}

.nex-rank-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nex-rank-table th {
	text-align: left;
	padding: 8px 10px;
	color: var(--nex-muted);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-rank-table td {
	padding: 9px 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	vertical-align: middle;
	color: var(--nex-muted);
}

.nex-rank-table tbody tr:hover td {
	background: rgba(196, 152, 88, 0.04);
	color: var(--nex-text);
}

.nex-rank-pos {
	width: 36px;
	font-family: var(--nex-display);
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-rank-class {
	text-align: center;
	vertical-align: middle;
	width: 52px;
	padding-left: 6px !important;
	padding-right: 6px !important;
}

.nex-rank-class-image,
.nex-rank-class .rankings-class-image {
	display: inline-block;
	max-width: 38px;
	max-height: 42px;
	width: auto;
	height: auto;
	vertical-align: middle;
	object-fit: contain;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.nex-rank-name {
	color: var(--nex-text) !important;
}

.nex-rank-name a {
	color: inherit !important;
}

.nex-rank-num {
	text-align: right;
	font-weight: 700;
	color: #c4b5fd;
}

.nex-rank-icon {
	text-align: center;
}

/* Event schedule card (home rankings grid — api/events.php + events.js) */
.nex-rank-card--events .nex-events-schedule-wrap {
	padding: 8px 12px 14px;
	max-height: 340px;
	overflow-y: auto;
}

.nex-events-schedule-table td {
	text-align: left !important;
	vertical-align: top;
	padding: 10px 8px;
	font-size: 13px;
}

.nex-events-schedule-table .nex-events-schedule-time {
	text-align: right !important;
}

.nex-events-schedule-table thead th {
	text-align: left;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nex-muted);
}

.nex-events-schedule-table thead th.nex-events-schedule-time {
	text-align: right;
}

.nex-events-schedule-table tbody tr {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-events-schedule-table tbody tr:last-child {
	border-bottom: 0;
}

.nex-events-schedule-table td span[id$="_name"] {
	font-weight: 600;
	color: var(--nex-text);
}

.nex-events-schedule-table td span[id$="_next"] {
	font-size: 12px;
	color: var(--nex-muted);
}

.nex-events-schedule-label {
	font-size: 11px;
	color: var(--nex-muted);
}

.nex-events-schedule-table .nex-events-schedule-label[id] {
	font-family: ui-monospace, monospace;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	font-size: 14px;
	color: #c4b5fd;
	letter-spacing: 0.04em;
}

.nex-events-schedule-table .event-schedule-open {
	color: #4ade80;
	font-weight: 700;
}

.nex-events-schedule-table .event-schedule-inprogress {
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-rank-map {
	font-size: 12px;
	max-width: 130px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.nex-rank-master {
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Home comparativo: Legado + Seasonal */
.nex-dual-rankings {
	position: relative;
	margin-top: 44px;
}

.nex-dual-rankings__intro {
	max-width: 850px;
	margin: 0 0 22px;
}

.nex-dual-rankings__eyebrow {
	display: block;
	margin-bottom: 7px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--nex-gold);
}

.nex-dual-rankings__intro h2 {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(24px, 3.4vw, 38px);
	line-height: 1.12;
	letter-spacing: 0.035em;
	color: var(--nex-text);
}

.nex-dual-rankings__intro p {
	max-width: 760px;
	margin: 11px 0 0;
	font-size: 14px;
	line-height: 1.7;
	color: var(--nex-muted);
}

.nex-dual-rankings__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

.nex-dual-rank-card {
	--nex-realm-accent: #d99024;
	--nex-realm-rgb: 217, 144, 36;
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 22px;
	border: 1px solid rgba(var(--nex-realm-rgb), 0.42);
	border-radius: calc(var(--nex-radius) + 5px);
	background:
		linear-gradient(145deg, rgba(var(--nex-realm-rgb), 0.1), transparent 38%),
		linear-gradient(180deg, rgba(18, 15, 20, 0.97), rgba(9, 8, 14, 0.98));
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
	isolation: isolate;
}

.nex-dual-rank-card--seasonal {
	--nex-realm-accent: #b56cff;
	--nex-realm-rgb: 181, 108, 255;
}

.nex-dual-rank-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-realm-accent), transparent);
	z-index: 2;
}

.nex-dual-rank-card__glow {
	position: absolute;
	top: -120px;
	right: -95px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--nex-realm-rgb), 0.2), transparent 67%);
	pointer-events: none;
	z-index: -1;
}

.nex-dual-rank-card__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.nex-dual-rank-card__identity {
	min-width: 0;
}

.nex-dual-rank-card__type {
	display: block;
	margin-bottom: 4px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--nex-muted);
}

.nex-dual-rank-card__identity h3 {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(26px, 3vw, 35px);
	line-height: 1;
	letter-spacing: 0.05em;
	color: var(--nex-realm-accent);
	text-shadow: 0 0 24px rgba(var(--nex-realm-rgb), 0.24);
}

.nex-dual-rank-card__activity {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	padding: 7px 10px;
	border: 1px solid rgba(var(--nex-realm-rgb), 0.24);
	border-radius: 999px;
	background: rgba(var(--nex-realm-rgb), 0.08);
	font-size: 11px;
	font-weight: 700;
	color: var(--nex-text);
}

.nex-dual-rank-card__activity i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--nex-realm-accent);
	box-shadow: 0 0 0 0 rgba(var(--nex-realm-rgb), 0.45);
	animation: nex-realm-activity-pulse 2.4s ease-out infinite;
}

@keyframes nex-realm-activity-pulse {
	0% { box-shadow: 0 0 0 0 rgba(var(--nex-realm-rgb), 0.48); }
	65%, 100% { box-shadow: 0 0 0 8px rgba(var(--nex-realm-rgb), 0); }
}

.nex-dual-rank-card__narrative {
	min-height: 48px;
	margin: 15px 0 18px;
	font-size: 13px;
	line-height: 1.62;
	color: var(--nex-muted);
}

.nex-dual-rank-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-bottom: 20px;
}

.nex-dual-rank-metrics > div {
	min-width: 0;
	padding: 12px 9px 11px;
	border: 1px solid rgba(255, 255, 255, 0.065);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.025);
	text-align: center;
}

.nex-dual-rank-metrics strong,
.nex-dual-rank-metrics span {
	display: block;
}

.nex-dual-rank-metrics strong {
	overflow: hidden;
	font-family: var(--nex-display);
	font-size: clamp(17px, 2.1vw, 23px);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	text-overflow: ellipsis;
	color: var(--nex-text);
}

.nex-dual-rank-metrics span {
	margin-top: 5px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--nex-muted);
}

.nex-dual-rank-card__table-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 9px;
	border-bottom: 1px solid rgba(var(--nex-realm-rgb), 0.2);
}

.nex-dual-rank-card__table-head strong {
	font-family: var(--nex-display);
	font-size: 14px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--nex-text);
}

.nex-dual-rank-card__table-head span {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nex-realm-accent);
}

.nex-dual-rank-table-wrap {
	min-height: 268px;
	overflow-x: auto;
}

.nex-dual-rank-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 12px;
}

.nex-dual-rank-table th {
	padding: 9px 7px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: left;
	text-transform: uppercase;
	color: var(--nex-muted);
}

.nex-dual-rank-table th:first-child,
.nex-dual-rank-table td:first-child {
	width: 34px;
}

.nex-dual-rank-table th:nth-child(3),
.nex-dual-rank-table td:nth-child(3) {
	width: 50px;
	text-align: center;
}

.nex-dual-rank-table th:nth-child(4),
.nex-dual-rank-table td:nth-child(4),
.nex-dual-rank-table th:nth-child(5),
.nex-dual-rank-table td:nth-child(5) {
	width: 62px;
	text-align: right;
}

.nex-dual-rank-table td {
	height: 46px;
	padding: 7px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	vertical-align: middle;
	color: var(--nex-muted);
}

.nex-dual-rank-table tbody tr {
	transition: background 0.2s ease;
}

.nex-dual-rank-table tbody tr:hover {
	background: rgba(var(--nex-realm-rgb), 0.055);
}

.nex-dual-rank-pos {
	font-family: var(--nex-display);
	font-weight: 800;
	color: var(--nex-muted) !important;
}

.nex-dual-rank-pos.is-podium {
	color: var(--nex-realm-accent) !important;
}

.nex-dual-rank-player {
	overflow: hidden;
	font-weight: 700;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: var(--nex-text) !important;
}

.nex-dual-rank-class-image,
.nex-dual-rank-class .rankings-class-image {
	display: inline-block;
	width: auto;
	max-width: 34px;
	height: auto;
	max-height: 36px;
	vertical-align: middle;
	object-fit: contain;
	filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.5));
}

.nex-dual-rank-value {
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	color: #d8d2e3 !important;
}

.nex-dual-rank-empty {
	display: grid;
	min-height: 268px;
	place-items: center;
	padding: 25px;
	font-size: 12px;
	line-height: 1.6;
	text-align: center;
	color: var(--nex-muted);
}

.nex-dual-rank-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.055);
	font-size: 10px;
	color: var(--nex-muted);
}

.nex-dual-rank-card__foot a {
	font-weight: 800;
	color: var(--nex-realm-accent) !important;
}

.nex-dual-rank-card__foot a:hover {
	color: var(--nex-text) !important;
}

.nex-dual-rank-card__scope {
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--nex-realm-accent);
}

.nex-dual-rankings__events {
	margin-top: 22px;
}

.nex-dual-rankings__events .nex-rank-card--events {
	border-color: rgba(196, 152, 88, 0.22);
}

.nex-dual-rankings__events .nex-events-schedule-wrap {
	height: auto;
	max-height: 340px;
}

@media (max-width: 980px) {
	.nex-dual-rankings__grid {
		grid-template-columns: 1fr;
	}

	.nex-dual-rank-card__narrative {
		min-height: 0;
	}
}

@media (max-width: 620px) {
	.nex-dual-rankings {
		margin-top: 34px;
	}

	.nex-dual-rankings__intro {
		margin-bottom: 17px;
	}

	.nex-dual-rank-card {
		padding: 17px 14px;
		border-radius: var(--nex-radius);
	}

	.nex-dual-rank-card__head {
		align-items: flex-start;
		flex-direction: column;
		gap: 11px;
	}

	.nex-dual-rank-card__activity {
		padding: 6px 9px;
	}

	.nex-dual-rank-metrics > div {
		padding: 10px 5px;
	}

	.nex-dual-rank-table th:nth-child(3),
	.nex-dual-rank-table td:nth-child(3) {
		display: none;
	}

	.nex-dual-rank-table th:nth-child(4),
	.nex-dual-rank-table td:nth-child(4),
	.nex-dual-rank-table th:nth-child(5),
	.nex-dual-rank-table td:nth-child(5) {
		width: 54px;
	}

	.nex-dual-rank-card__foot {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nex-dual-rank-card__activity i {
		animation: none;
	}
}

/* Castle Siege épico */
.nex-castle-epic {
	position: relative;
	margin-top: 36px;
	margin-bottom: 12px;
	padding: 3px;
	border-radius: calc(var(--nex-radius) + 6px);
	background: linear-gradient(
		135deg,
		rgba(249, 115, 22, 0.72),
		rgba(168, 85, 247, 0.5),
		rgba(56, 189, 248, 0.58)
	);
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.55),
		0 0 60px rgba(249, 115, 22, 0.08);
	overflow: hidden;
}

.nex-castle-epic-shine {
	position: absolute;
	inset: -50%;
	background: conic-gradient(
		from 200deg at 50% 50%,
		rgba(249, 115, 22, 0.18),
		transparent 35%,
		rgba(168, 85, 247, 0.14),
		transparent 65%,
		rgba(56, 189, 248, 0.12),
		transparent 88%
	);
	animation: nex-cs-shine 22s linear infinite;
	pointer-events: none;
	opacity: 0.85;
}

@keyframes nex-cs-shine {
	to {
		transform: rotate(360deg);
	}
}

.nex-castle-epic-panel {
	position: relative;
	border-radius: var(--nex-radius);
	background: linear-gradient(165deg, rgba(10, 8, 18, 0.96), rgba(4, 3, 10, 0.98));
	border: 1px solid rgba(255, 255, 255, 0.07);
	overflow: hidden;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nex-castle-epic--bg .nex-castle-epic-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--nex-cs-bg);
	background-size: cover;
	background-position: center;
	opacity: 0.16;
	filter: grayscale(0.35) contrast(1.08);
	pointer-events: none;
}

.nex-castle-epic-head {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 22px 20px 6px;
}

.nex-castle-epic-tag {
	margin: 0 0 10px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: #c4b5fd;
	text-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.nex-castle-epic-title {
	margin: 0;
	font-family: var(--nex-display);
	font-size: clamp(20px, 2.8vw, 28px);
	letter-spacing: 0.16em;
	color: #fff;
	text-transform: uppercase;
	text-shadow:
		0 0 32px rgba(196, 152, 88, 0.35),
		0 2px 0 rgba(0, 0, 0, 0.45);
}

.nex-castle-epic-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(140px, 200px) 1fr;
	gap: 0;
	align-items: stretch;
}

@media (max-width: 768px) {
	.nex-castle-epic-layout {
		grid-template-columns: 1fr;
	}
}

.nex-castle-epic-aside {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 18px 20px 26px;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

@media (max-width: 768px) {
	.nex-castle-epic-aside {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
		padding-bottom: 20px;
	}
}

.nex-castle-epic-emblem {
	position: relative;
}

.nex-castle-epic-emblem::after {
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: 14px;
	border: 1px solid rgba(249, 115, 22, 0.35);
	box-shadow:
		0 0 28px rgba(249, 115, 22, 0.15),
		inset 0 0 20px rgba(168, 85, 247, 0.08);
	pointer-events: none;
}

.nex-castle-epic-emblem img {
	display: block;
	max-width: 112px;
	height: auto;
	filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}

.nex-castle-epic-rows {
	padding: 18px 22px 24px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nex-castle-row {
	display: grid;
	grid-template-columns: minmax(100px, 150px) 1fr;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	align-items: baseline;
	font-size: 14px;
}

@media (max-width: 520px) {
	.nex-castle-row {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

.nex-castle-row:last-of-type {
	border-bottom: 0;
	padding-bottom: 0;
}

.nex-castle-row--highlight {
	margin-top: 8px;
	padding: 14px 16px !important;
	border-radius: 12px;
	border: 1px solid rgba(249, 115, 22, 0.28);
	background: linear-gradient(
		95deg,
		rgba(249, 115, 22, 0.12),
		rgba(168, 85, 247, 0.1),
		rgba(56, 189, 248, 0.08)
	);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.nex-castle-lbl {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-gold);
	font-weight: 700;
}

.nex-castle-val {
	color: var(--nex-text);
	word-break: break-word;
}

.nex-castle-val a {
	color: var(--nex-text) !important;
}

.nex-castle-countdown {
	font-variant-numeric: tabular-nums;
	font-weight: 800;
	font-size: clamp(15px, 2.2vw, 19px);
	letter-spacing: 0.04em;
	background: linear-gradient(90deg, #fdba74, #e9d5ff 45%, #7dd3fc);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	animation: nex-cs-count 2.8s ease-in-out infinite;
}

@keyframes nex-cs-count {
	0%,
	100% {
		filter: brightness(1);
	}
	50% {
		filter: brightness(1.2);
	}
}

.nex-castle-epic-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 220px;
	padding: 11px 22px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(0, 0, 0, 0.45);
	color: #fff !important;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.nex-castle-epic-btn:hover {
	background: rgba(196, 152, 88, 0.14);
	border-color: rgba(196, 152, 88, 0.55);
	box-shadow: 0 8px 28px rgba(249, 115, 22, 0.2);
	transform: translateY(-2px);
}

/* ——— Info module (server rates, chaos, party, commands) ——— */

.nex-glass-panel {
	background: linear-gradient(
		155deg,
		rgba(22, 18, 34, 0.72) 0%,
		rgba(12, 10, 22, 0.58) 45%,
		rgba(18, 14, 28, 0.65) 100%
	);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.nex-info {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin: 0 auto;
	padding-bottom: 28px;
}

.nex-info-head {
	padding: 26px 26px 22px;
	margin-bottom: 22px;
}

.nex-info-eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--nex-purple);
}

.nex-info-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 3.5vw, 30px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-info-lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--nex-muted);
}

.nex-info-section {
	margin-bottom: 22px;
}

.nex-info-section-title {
	margin: 0 0 16px;
	font-family: var(--nex-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-text);
	letter-spacing: 0.04em;
}

.nex-info-stats {
	padding: 22px 22px 18px;
}

.nex-info-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.nex-info-stats-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.nex-info-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 14px 12px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 100%;
}

.nex-info-stat__lbl {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted);
	font-weight: 600;
}

.nex-info-stat__val {
	font-size: 17px;
	font-weight: 700;
	color: var(--nex-text);
	word-break: break-word;
}

.nex-info-card {
	padding: 22px 20px 20px;
	position: relative;
	overflow: hidden;
}

.nex-info-card--accent-purple::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-purple), rgba(168, 85, 247, 0.25));
}

.nex-info-card--accent-orange::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-orange), rgba(255, 122, 61, 0.25));
}

.nex-info-card--accent-gold::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-gold), rgba(196, 152, 88, 0.25));
}

.nex-info-matrix {
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	background: rgba(0, 0, 0, 0.22);
}

.nex-info-matrix-head {
	display: grid;
	grid-template-columns: minmax(120px, 1.35fr) 1fr 1fr;
	grid-template-rows: auto auto;
	gap: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.35);
}

.nex-info-matrix-corner {
	grid-row: 1 / span 2;
	grid-column: 1;
	align-self: center;
	padding: 14px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-info-matrix-banner {
	grid-column: 2 / span 2;
	grid-row: 1;
	padding: 10px 12px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--nex-muted);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-info-matrix-sub {
	padding: 10px 12px;
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-text);
	background: rgba(255, 255, 255, 0.04);
}

.nex-info-matrix-sub--a {
	grid-column: 2;
	grid-row: 2;
	border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-info-matrix-sub--b {
	grid-column: 3;
	grid-row: 2;
}

.nex-info-matrix-row {
	display: grid;
	grid-template-columns: minmax(120px, 1.35fr) 1fr 1fr;
	align-items: center;
	gap: 0;
	padding: 11px 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 14px;
	color: var(--nex-text);
}

.nex-info-matrix-row:nth-child(even) {
	background: rgba(255, 255, 255, 0.04);
}

.nex-info-matrix-row:nth-child(odd) {
	background: rgba(0, 0, 0, 0.22);
}

.nex-info-matrix-name {
	padding-right: 8px;
	line-height: 1.35;
}

.nex-info-matrix-val {
	text-align: center;
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	color: var(--nex-text);
}

.nex-info-matrix-val--gold {
	color: #fde68a;
}

.nex-info-matrix-val--muted {
	color: rgba(232, 228, 240, 0.88);
	font-weight: 500;
}

.nex-info-cmd-list {
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
	background: rgba(0, 0, 0, 0.2);
}

.nex-info-cmd {
	display: grid;
	grid-template-columns: minmax(120px, 34%) 1fr;
	gap: 14px 18px;
	align-items: baseline;
	padding: 12px 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-info-cmd:first-child {
	border-top: 0;
}

.nex-info-cmd:nth-child(even) {
	background: rgba(255, 255, 255, 0.03);
}

.nex-info-cmd-kbd {
	margin: 0;
	padding: 4px 10px;
	border-radius: 8px;
	font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
	font-size: 13px;
	font-weight: 600;
	color: #fde68a;
	background: rgba(168, 85, 247, 0.12);
	border: 1px solid rgba(168, 85, 247, 0.35);
	word-break: break-all;
}

.nex-info-cmd-desc {
	font-size: 14px;
	line-height: 1.45;
	color: rgba(232, 228, 240, 0.92);
}

.nex-info-section--video .nex-info-card {
	padding-bottom: 22px;
}

.nex-info-video-wrap {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nex-info-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.nex-info-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 560px) {
	.nex-info-matrix-head,
	.nex-info-matrix-row {
		grid-template-columns: 1fr;
	}

	.nex-info-matrix-corner {
		grid-row: auto;
		grid-column: 1;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		text-align: center;
	}

	.nex-info-matrix-banner {
		grid-column: 1;
		grid-row: auto;
	}

	.nex-info-matrix-sub--a,
	.nex-info-matrix-sub--b {
		grid-column: 1;
		grid-row: auto;
	}

	.nex-info-matrix-row {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 6px;
		padding: 14px 12px;
	}

	.nex-info-matrix-name {
		font-weight: 700;
		padding-right: 0;
	}

	.nex-info-matrix-val {
		padding: 4px 0;
	}

	.nex-info-cmd {
		grid-template-columns: 1fr;
	}

	.nex-info-stats-grid {
		grid-template-columns: 1fr;
	}
}

/* ——— Downloads module ——— */

.nex-dl {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin: 0 auto;
	padding-bottom: 28px;
}

.nex-dl-head {
	padding: 26px 26px 22px;
	margin-bottom: 20px;
}

.nex-dl-eyebrow {
	margin: 0 0 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--nex-orange);
}

.nex-dl-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 3.5vw, 30px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nex-dl-lead {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--nex-muted);
}

.nex-dl-empty {
	margin: 0;
	padding: 22px;
	text-align: center;
	border-radius: var(--nex-radius);
	border: 1px dashed rgba(255, 255, 255, 0.18);
	color: var(--nex-muted);
	background: rgba(0, 0, 0, 0.2);
}

.nex-dl-section {
	padding: 0 0 18px;
	margin-bottom: 20px;
	overflow: hidden;
}

.nex-dl-section-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 18px;
	padding: 18px 20px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-dl-section-title {
	margin: 0;
	font-family: var(--nex-display);
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-text);
	letter-spacing: 0.04em;
}

.nex-dl-badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #e9d5ff;
	background: rgba(168, 85, 247, 0.18);
	border: 1px solid rgba(168, 85, 247, 0.45);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nex-dl-badge--patch {
	color: #ffedd5;
	background: rgba(255, 122, 61, 0.15);
	border-color: rgba(255, 122, 61, 0.42);
}

.nex-dl-badge--tool {
	color: #fff8e7;
	background: rgba(196, 152, 88, 0.12);
	border-color: rgba(196, 152, 88, 0.38);
}

.nex-dl-section--client::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-purple), rgba(168, 85, 247, 0.2));
	pointer-events: none;
	z-index: 0;
}

.nex-dl-section--patch::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-orange), rgba(255, 122, 61, 0.2));
	pointer-events: none;
	z-index: 0;
}

.nex-dl-section--tool::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	bottom: 10px;
	width: 3px;
	border-radius: 3px;
	background: linear-gradient(180deg, var(--nex-gold), rgba(196, 152, 88, 0.22));
	pointer-events: none;
	z-index: 0;
}

.nex-dl-section.nex-glass-panel {
	position: relative;
	padding-bottom: 6px;
}

.nex-dl-list {
	list-style: none;
	margin: 0;
	padding: 6px 0 8px;
}

.nex-dl-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(88px, 120px) auto;
	align-items: center;
	gap: 14px 20px;
	padding: 14px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-dl-row:first-child {
	border-top: 0;
}

.nex-dl-row:nth-child(even) {
	background: rgba(255, 255, 255, 0.025);
}

.nex-dl-main {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.nex-dl-name {
	font-size: 15px;
	font-weight: 700;
	color: var(--nex-text);
	line-height: 1.35;
	word-break: break-word;
}

.nex-dl-desc {
	font-size: 13px;
	line-height: 1.45;
	color: var(--nex-muted);
}

.nex-dl-size {
	font-size: 14px;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	color: rgba(232, 228, 240, 0.88);
	text-align: center;
	white-space: nowrap;
}

.nex-dl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	padding: 10px 18px;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #faf5ff !important;
	background: linear-gradient(
		135deg,
		rgba(168, 85, 247, 0.35) 0%,
		rgba(91, 33, 182, 0.45) 50%,
		rgba(168, 85, 247, 0.28) 100%
	);
	border: 1px solid rgba(196, 152, 88, 0.35);
	box-shadow:
		0 4px 18px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}

.nex-dl-btn:hover {
	color: #fff !important;
	border-color: rgba(200, 152, 88, 0.55);
	box-shadow:
		0 8px 26px rgba(168, 85, 247, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.nex-dl-btn--accent {
	color: #fff7ed !important;
	background: linear-gradient(
		135deg,
		rgba(255, 122, 61, 0.42) 0%,
		rgba(180, 70, 30, 0.45) 55%,
		rgba(255, 122, 61, 0.32) 100%
	);
	border-color: rgba(255, 180, 120, 0.45);
}

.nex-dl-btn--accent:hover {
	border-color: rgba(212, 175, 120, 0.55);
	box-shadow:
		0 8px 26px rgba(249, 115, 22, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.nex-dl-btn--gold {
	color: var(--nex-btn-metal-text) !important;
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	box-shadow: var(--nex-btn-metal-shadow);
}

.nex-dl-btn--gold:hover {
	color: #fffefc !important;
	border-color: rgba(192, 132, 255, 0.42);
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		0 0 0 1px rgba(212, 168, 120, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	filter: brightness(1.06);
}

@media (max-width: 720px) {
	.nex-dl-row {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 16px 18px;
	}

	.nex-dl-size {
		text-align: center;
	}

	.nex-dl-btn {
		width: 100%;
		min-width: 0;
		justify-self: center;
		max-width: 280px;
	}
}

/* ——— Login / Register (auth) ——— */

.nex-page-main:has(.nex-auth) {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	padding: 16px 12px 56px;
	background: transparent;
	border: none;
	box-shadow: none;
}

.nex-auth {
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
}

.nex-auth--register {
	max-width: 540px;
}

.nex-auth-card {
	position: relative;
	padding: 28px 26px 22px;
	overflow: hidden;
}

.nex-auth-card::before {
	content: "";
	position: absolute;
	left: -20%;
	right: -20%;
	top: -55%;
	height: 220px;
	background: radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.22), transparent 62%);
	pointer-events: none;
}

.nex-auth--login .nex-auth-card::before {
	background: radial-gradient(ellipse at 50% 100%, rgba(255, 122, 61, 0.18), transparent 62%);
}

.nex-auth--forgot .nex-auth-card::before {
	background: radial-gradient(
		ellipse at 50% 100%,
		rgba(56, 189, 248, 0.14) 0%,
		rgba(168, 85, 247, 0.12) 45%,
		transparent 62%
	);
}

.nex-auth--forgot .nex-auth-eyebrow {
	color: #7dd3fc;
	letter-spacing: 0.2em;
}

.nex-auth-head {
	position: relative;
	z-index: 1;
	text-align: center;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-auth-eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.24em;
	color: var(--nex-purple);
}

.nex-auth--login .nex-auth-eyebrow {
	color: var(--nex-orange);
}

.nex-auth-title {
	margin: 0 0 8px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 4vw, 30px);
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.nex-auth-sub {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--nex-muted);
}

.nex-auth-form {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.nex-auth-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nex-auth-label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(232, 228, 240, 0.94);
}

.nex-auth-input {
	width: 100%;
	padding: 13px 16px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.42);
	color: var(--nex-text);
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nex-auth-input:hover {
	border-color: rgba(196, 152, 88, 0.35);
}

.nex-auth-input:focus {
	outline: none;
	border-color: rgba(168, 85, 247, 0.55);
	box-shadow:
		0 0 0 3px rgba(168, 85, 247, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
	background: rgba(0, 0, 0, 0.52);
}

.nex-auth-help {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
	color: var(--nex-muted);
}

.nex-auth-help--link {
	margin-top: 4px;
}

.nex-auth-help--link a {
	color: var(--nex-gold) !important;
	font-weight: 600;
	font-size: 13px;
}

.nex-auth-help--link a:hover {
	color: #fff8e7 !important;
}

.nex-auth-recaptcha {
	align-items: center;
	padding-top: 4px;
}

.nex-auth-recaptcha > div {
	display: flex;
	justify-content: center;
}

.nex-auth-terms {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.55;
	color: var(--nex-muted);
	text-align: center;
}

.nex-auth-terms a {
	color: var(--nex-orange) !important;
	font-weight: 600;
}

.nex-auth-terms a:hover {
	color: #fdba74 !important;
}

.nex-auth-actions {
	margin-top: 6px;
}

.nex-auth-submit.nex-btn {
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.nex-auth-switch {
	position: relative;
	z-index: 1;
	margin: 22px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
	font-size: 14px;
	color: var(--nex-muted);
}

.nex-auth-switch a {
	color: var(--nex-gold) !important;
	font-weight: 700;
	margin-left: 6px;
}

.nex-auth-switch a:hover {
	color: #fff !important;
}

.nex-page-main:has(.nex-auth) > .alert {
	border-radius: 12px;
	margin-bottom: 16px;
}

@media (max-width: 480px) {
	.nex-auth-card {
		padding: 22px 18px 18px;
	}

	.nex-page-main:has(.nex-auth) {
		padding-left: 8px;
		padding-right: 8px;
	}
}

/* ——— UserCP sidebar nav + módulos My Account / resets / vote / donación / zen ——— */

.nex-widget--usercp {
	padding: 14px 12px 14px;
	background: linear-gradient(
		165deg,
		rgba(22, 18, 34, 0.72) 0%,
		rgba(10, 8, 16, 0.85) 100%
	);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.nex-widget--usercp > h3 {
	font-size: 13px;
	letter-spacing: 0.14em;
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nex-usercp-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.nex-usercp-nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 12px;
	text-decoration: none !important;
	color: rgba(232, 228, 240, 0.92) !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	border: 1px solid transparent;
	background: rgba(0, 0, 0, 0.18);
	transition:
		background 0.2s,
		border-color 0.2s,
		box-shadow 0.2s,
		transform 0.15s;
}

.nex-usercp-nav-link:hover {
	background: rgba(168, 85, 247, 0.12);
	border-color: rgba(168, 85, 247, 0.28);
	color: #fff !important;
	transform: translateX(2px);
}

.nex-usercp-nav-link.is-active {
	background: linear-gradient(
		135deg,
		rgba(196, 152, 88, 0.14),
		rgba(168, 85, 247, 0.12)
	);
	border-color: rgba(196, 152, 88, 0.45);
	box-shadow:
		0 0 0 1px rgba(196, 152, 88, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	color: #fff8e7 !important;
}

.nex-usercp-nav-ico {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.nex-usercp-nav-link.is-active .nex-usercp-nav-ico {
	border-color: rgba(196, 152, 88, 0.35);
	box-shadow: 0 0 14px rgba(196, 152, 88, 0.12);
}

.nex-usercp-nav-ico img {
	display: block;
	object-fit: contain;
}

.nex-usercp-nav-txt {
	flex: 1;
	min-width: 0;
}

.nex-page-main--ucp-modules {
	overflow-x: auto;
}

.nex-page-main--ucp-modules .page-title {
	margin-top: 0;
	margin-bottom: 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nex-page-main--ucp-modules .page-title span {
	font-family: var(--nex-display);
	font-size: clamp(18px, 2.6vw, 22px);
	color: var(--nex-gold);
	letter-spacing: 0.08em;
}

.nex-page-main--ucp-modules table.table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	margin-bottom: 18px;
}

.nex-page-main--ucp-modules table.table > tbody > tr:first-child > td,
.nex-page-main--ucp-modules table.table > thead > tr:first-child > td,
.nex-page-main--ucp-modules table.table tr:first-child td {
	background: rgba(0, 0, 0, 0.45) !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold) !important;
	padding: 12px 10px !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.nex-page-main--ucp-modules table.table tbody tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.025) !important;
}

.nex-page-main--ucp-modules table.table td {
	padding: 11px 10px !important;
	vertical-align: middle !important;
	border-color: rgba(255, 255, 255, 0.06) !important;
	color: var(--nex-text) !important;
}

.nex-page-main--ucp-modules table.table img {
	vertical-align: middle;
	border-radius: 8px;
}

.nex-page-main--ucp-modules .btn.btn-primary,
.nex-page-main--ucp-modules .btn.btn-xs.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: 1px solid rgba(200, 152, 88, 0.35) !important;
	background: linear-gradient(
		135deg,
		rgba(168, 85, 247, 0.42) 0%,
		rgba(91, 33, 182, 0.38) 100%
	) !important;
	color: #faf5ff !important;
	box-shadow:
		0 4px 16px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition:
		transform 0.15s,
		filter 0.2s,
		border-color 0.2s;
}

.nex-page-main--ucp-modules .btn.btn-primary:hover,
.nex-page-main--ucp-modules .btn.btn-xs.btn-primary:hover {
	filter: brightness(1.08);
	border-color: rgba(200, 152, 88, 0.55) !important;
	transform: translateY(-1px);
	color: #fff !important;
}

.nex-page-main--ucp-modules .module-requirements {
	margin-top: 18px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid rgba(196, 152, 88, 0.18);
	background: rgba(0, 0, 0, 0.35);
	font-size: 13px;
	line-height: 1.65;
	color: var(--nex-muted);
}

.nex-page-main--ucp-modules .module-requirements p {
	margin: 6px 0;
}

.nex-page-main--ucp-modules .label {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	vertical-align: middle;
}

.nex-page-main--ucp-modules .label-success {
	background: rgba(34, 197, 94, 0.22);
	color: #86efac !important;
	border: 1px solid rgba(74, 222, 128, 0.35);
}

.nex-page-main--ucp-modules .label-danger {
	background: rgba(239, 68, 68, 0.18);
	color: #fca5a5 !important;
	border: 1px solid rgba(248, 113, 113, 0.35);
}

.nex-page-main--ucp-modules .label-default {
	background: rgba(255, 255, 255, 0.08);
	color: var(--nex-text) !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.nex-page-main--ucp-modules .myaccount-table + .page-title {
	margin-top: 28px;
}

.nex-page-main--ucp-modules .text-center.row {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
	gap: 14px;
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: center;
}

.nex-page-main--ucp-modules .text-center.row > [class*="col-"] {
	width: 100% !important;
	float: none !important;
	padding: 12px 10px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.28);
}

.nex-page-main--ucp-modules .myaccount-character-name {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
}

.nex-page-main--ucp-modules .myaccount-character-name a {
	color: var(--nex-gold) !important;
}

.nex-page-main--ucp-modules .myaccount-character-block img {
	max-width: 72px;
	height: auto;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.nex-page-main--ucp-modules .myaccount-character-block-location {
	font-size: 11px;
	color: var(--nex-muted);
	margin-top: 6px;
	line-height: 1.35;
}

.nex-page-main--ucp-modules .myaccount-character-block-level {
	display: inline-block;
	margin-top: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	color: #fde68a;
	background: rgba(168, 85, 247, 0.15);
	border: 1px solid rgba(168, 85, 247, 0.35);
}

.nex-page-main--ucp-modules .panel.panel-general {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 14px;
	box-shadow: none;
	margin-bottom: 0;
}

.nex-page-main--ucp-modules .panel.panel-general .panel-body {
	padding: 18px 14px;
}

.nex-page-main--ucp-modules .panel.panel-general .form-control,
.nex-page-main--ucp-modules select.form-control {
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.45);
	color: var(--nex-text);
	padding: 10px 12px;
	height: auto;
	margin-bottom: 0;
}

.nex-page-main--ucp-modules .donation-hub {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 14px;
	margin-top: 8px;
}

.nex-page-main--ucp-modules .donation-hub-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 18px;
	border-radius: 14px;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(0, 0, 0, 0.35);
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
	transition:
		transform 0.2s,
		border-color 0.2s,
		box-shadow 0.2s;
}

.nex-page-main--ucp-modules .donation-hub-card:hover {
	transform: translateY(-3px);
	border-color: rgba(196, 152, 88, 0.45);
	box-shadow: 0 16px 44px rgba(168, 85, 247, 0.15);
}

.nex-page-main--ucp-modules .donation-hub-card__title {
	font-family: var(--nex-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--nex-gold);
}

.nex-page-main--ucp-modules .donation-hub-card__hint {
	font-size: 13px;
	line-height: 1.45;
	color: var(--nex-muted);
}

.nex-body--ucp .nex-page-layout--sidebar {
	align-items: start;
}

@media (max-width: 960px) {
	.nex-usercp-nav-link {
		padding: 12px 10px;
	}
}

/* --- Feedback localizado de formularios --- */

.nex-auth-form.is-processing .nex-auth-submit,
.nex-auth-submit.is-processing {
	cursor: progress;
	opacity: 0.86;
	pointer-events: none;
}

/* ——— Castle Siege (página módulo) ——— */

.nex-cs-page {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
	padding: 0 0 8px;
	animation: nex-cs-fade-in 0.45s ease-out;
}

@keyframes nex-cs-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.nex-cs-header {
	text-align: center;
	margin-bottom: 28px;
}

.nex-cs-eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--nex-muted);
}

.nex-cs-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: clamp(22px, 3.2vw, 30px);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold);
	text-shadow: var(--nex-glow);
}

.nex-cs-line {
	display: block;
	width: 72px;
	height: 3px;
	margin: 0 auto;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	opacity: 0.9;
}

.nex-cs-card {
	position: relative;
	margin-bottom: 22px;
	padding: 22px 22px 24px;
	border-radius: calc(var(--nex-radius) + 2px);
	border: 1px solid var(--nex-line);
	background: linear-gradient(
		165deg,
		rgba(22, 18, 36, 0.92) 0%,
		rgba(10, 8, 16, 0.96) 100%
	);
	box-shadow:
		0 16px 48px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.nex-cs-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(196, 152, 88, 0.35),
		transparent
	);
	pointer-events: none;
}

.nex-cs-card:last-child {
	margin-bottom: 0;
}

.nex-cs-card-title {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--nex-text);
}

/* Owner */
.nex-cs-owner-layout {
	display: grid;
	gap: 24px;
	align-items: start;
}

.nex-cs-owner-layout--split {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

@media (max-width: 760px) {
	.nex-cs-owner-layout--split {
		grid-template-columns: 1fr;
	}
}

.nex-cs-owner-layout:not(.nex-cs-owner-layout--split) .nex-cs-owner-primary {
	max-width: 440px;
	margin: 0 auto;
}

.nex-cs-owner-primary {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px 22px;
	align-items: center;
}

@media (max-width: 480px) {
	.nex-cs-owner-primary {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
	}
}

.nex-cs-owner-logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
}

.nex-cs-owner-logo {
	position: relative;
	padding: 10px;
	border-radius: 16px;
	background: radial-gradient(
		circle at 50% 30%,
		rgba(196, 152, 88, 0.12),
		rgba(0, 0, 0, 0.45)
	);
	border: 1px solid rgba(196, 152, 88, 0.22);
	box-shadow:
		0 12px 36px rgba(0, 0, 0, 0.5),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nex-cs-owner-logo img {
	display: block;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}

.nex-cs-owner-text {
	min-width: 0;
}

.nex-cs-owner-name {
	display: block;
	font-family: var(--nex-display);
	font-size: clamp(18px, 2.4vw, 22px);
	font-weight: 700;
	color: var(--nex-gold);
	margin-bottom: 10px;
}

.nex-cs-owner-name a {
	color: inherit;
	text-decoration: none;
}

.nex-cs-owner-name a:hover {
	filter: brightness(1.08);
	text-decoration: underline;
}

.nex-cs-owner-master-label {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
}

.nex-cs-owner-master {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--nex-text);
}

.nex-cs-owner-master a {
	color: var(--nex-text);
	text-decoration: none;
}

.nex-cs-owner-master a:hover {
	color: var(--nex-gold);
}

.nex-cs-alliance {
	padding: 16px 16px 4px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-cs-alliance-title {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-muted);
	text-align: center;
}

.nex-cs-alliance-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nex-cs-alliance-row {
	display: grid;
	grid-template-columns: 40px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-cs-alliance-logo img {
	display: block;
	vertical-align: middle;
}

.nex-cs-alliance-name a,
.nex-cs-alliance-master a {
	color: var(--nex-text);
	text-decoration: none;
}

.nex-cs-alliance-name a:hover,
.nex-cs-alliance-master a:hover {
	color: var(--nex-gold);
}

@media (max-width: 520px) {
	.nex-cs-alliance-row {
		grid-template-columns: 32px 1fr;
		grid-template-rows: auto auto;
	}
	.nex-cs-alliance-master {
		grid-column: 2;
	}
	.nex-cs-alliance-logo {
		grid-row: 1 / span 2;
	}
}

/* Battle countdown */
.nex-cs-card--battle {
	text-align: center;
}

.nex-cs-timer-ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 96px;
	padding: 18px 28px;
	border-radius: 20px;
	border: 1px solid rgba(196, 152, 88, 0.25);
	background: radial-gradient(
		ellipse at 50% 0%,
		rgba(168, 85, 247, 0.18),
		rgba(0, 0, 0, 0.35)
	);
	box-shadow:
		0 0 40px rgba(196, 152, 88, 0.08),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.nex-cs-timer {
	min-height: 52px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 8px;
	font-family: var(--nex-display);
	font-size: clamp(26px, 5vw, 36px);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--nex-gold);
	text-shadow: var(--nex-glow);
}

.nex-cs-timer span {
	font-family: var(--nex-font);
	font-size: 0.42em;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--nex-muted);
	vertical-align: middle;
}

/* Info rows */
.nex-cs-info-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nex-cs-info-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(0, 0, 0, 0.22);
	transition:
		background 0.2s ease,
		border-color 0.2s ease;
}

.nex-cs-info-row:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(196, 152, 88, 0.18);
}

.nex-cs-info-label {
	flex: 0 1 42%;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nex-muted);
	line-height: 1.35;
}

.nex-cs-info-value {
	flex: 1;
	text-align: right;
	font-size: 14px;
	font-weight: 600;
	color: var(--nex-text);
	line-height: 1.4;
}

@media (max-width: 520px) {
	.nex-cs-info-row {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.nex-cs-info-value {
		text-align: left;
	}
}

/* Tables */
.nex-cs-table-wrap {
	overflow-x: auto;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.25);
}

.nex-cs-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	color: var(--nex-text);
}

.nex-cs-table thead {
	background: rgba(196, 152, 88, 0.08);
}

.nex-cs-table th {
	padding: 12px 14px;
	text-align: left;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	white-space: nowrap;
}

.nex-cs-table td {
	padding: 12px 14px;
	vertical-align: middle;
	color: var(--nex-text) !important;
	background: transparent !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nex-cs-table tbody tr:nth-child(even) td {
	background: rgba(255, 255, 255, 0.03) !important;
}

.nex-cs-table tbody tr:hover td {
	background: rgba(168, 85, 247, 0.08) !important;
}

.nex-cs-table tbody tr:last-child td {
	border-bottom: 0;
}

.nex-cs-table td a {
	color: var(--nex-gold);
	text-decoration: none;
}

.nex-cs-table td a:hover {
	color: var(--nex-gold-bright);
	text-decoration: underline;
}

.nex-cs-table td img {
	display: inline-block;
	vertical-align: middle;
}

.nex-cs-table--guilds th,
.nex-cs-table--guilds td {
	text-align: center;
}

.nex-cs-table--guilds th:first-child,
.nex-cs-table--guilds td:first-child {
	width: 56px;
}

.nex-cs-table--schedule td:first-child {
	font-weight: 600;
	color: var(--nex-gold) !important;
	max-width: 220px;
}

.nex-cs-table--schedule td:nth-child(2),
.nex-cs-table--schedule td:nth-child(3) {
	font-size: 12px;
	color: rgba(232, 228, 240, 0.92) !important;
	white-space: nowrap;
}

@media (max-width: 720px) {
	.nex-cs-table--schedule td:nth-child(2),
	.nex-cs-table--schedule td:nth-child(3) {
		white-space: normal;
	}
}

/* ========== Perfiles (guild & player) ========== */
.nexora-profile-page {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 0 48px;
	animation: nex-profile-in 0.45s ease-out;
}

@keyframes nex-profile-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nexora-profile-page-header {
	text-align: center;
	margin-bottom: 28px;
}

.nexora-profile-page-title {
	margin: 0 0 8px;
	font-family: var(--nex-display);
	font-size: clamp(1.35rem, 3vw, 1.65rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold);
	text-shadow: var(--nex-glow);
}

.nexora-profile-page-line {
	display: block;
	width: 64px;
	height: 3px;
	margin: 0 auto;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	border-radius: 2px;
}

.nexora-guild-card,
.nexora-player-card {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: var(--nex-radius);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), var(--nex-glow);
	padding: 28px 24px;
	overflow: hidden;
	animation: nex-profile-card-in 0.5s ease-out;
}

@keyframes nex-profile-card-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.nexora-guild-hero {
	text-align: center;
	margin-bottom: 24px;
}

.nexora-guild-logo-wrap {
	display: inline-block;
	margin-bottom: 12px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
	border: 1px solid var(--nex-line);
}

.nexora-guild-logo-wrap img {
	display: block;
	vertical-align: middle;
}

.nexora-guild-name {
	margin: 0;
	font-family: var(--nex-display);
	font-size: 1.35rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--nex-gold);
}

.nexora-guild-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 26px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-guild-stat {
	text-align: center;
	padding: 14px 10px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: border-color 0.2s ease, background 0.2s ease;
}

.nexora-guild-stat:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(196, 152, 88, 0.35);
}

.nexora-guild-stat-label {
	display: block;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
	margin-bottom: 6px;
}

.nexora-guild-stat-value {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--nex-gold);
}

.nexora-guild-stat-value a {
	color: inherit;
	text-decoration: none;
}

.nexora-guild-stat-value a:hover {
	text-decoration: underline;
}

.nexora-guild-members-section {
	text-align: center;
}

.nexora-guild-members-title {
	margin: 0 0 14px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
}

.nexora-guild-members-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: 10px;
}

.nexora-guild-member-item a {
	display: block;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--nex-text);
	text-decoration: none;
	font-size: 0.82rem;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nexora-guild-member-item a:hover {
	background: rgba(196, 152, 88, 0.12);
	border-color: rgba(196, 152, 88, 0.35);
	color: var(--nex-gold);
}

/* Player profile — layout */
.nexora-profile-player {
	max-width: 1040px;
}

.nexora-player-layout {
	display: grid;
	grid-template-columns: minmax(260px, 320px) 1fr;
	gap: 24px;
	align-items: start;
}

.nexora-player-hero {
	position: relative;
	text-align: center;
	padding: 28px 18px 22px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 18px;
	background:
		linear-gradient(180deg, rgba(8, 6, 14, 0.35) 0%, rgba(12, 10, 20, 0.92) 100%),
		var(--nex-bg-panel2);
	border: 1px solid var(--nex-line);
}

.nexora-player-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--nex-player-banner);
	background-size: cover;
	background-position: center top;
	opacity: 0.45;
	z-index: 0;
}

.nexora-player-hero-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 152, 88, 0.18), transparent 70%);
	z-index: 1;
	pointer-events: none;
}

.nexora-player-hero > *:not(.nexora-player-hero-glow) {
	position: relative;
	z-index: 2;
}

.nexora-player-avatar {
	width: 88px;
	height: 88px;
	margin: 0 auto 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(145deg, rgba(196, 152, 88, 0.25), rgba(107, 33, 168, 0.35));
	border: 2px solid rgba(196, 152, 88, 0.45);
	box-shadow: 0 0 24px rgba(196, 152, 88, 0.2);
}

.nexora-player-avatar-letter {
	font-family: var(--nex-display);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--nex-gold);
	letter-spacing: 0.06em;
}

.nexora-player-name {
	margin: 0 0 4px;
	font-family: var(--nex-display);
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.nexora-player-class {
	margin: 0 0 12px;
	font-size: 0.8rem;
	color: var(--nex-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nexora-player-status {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.nexora-player-status.is-online {
	background: rgba(76, 175, 80, 0.2);
	border: 1px solid rgba(76, 175, 80, 0.5);
	color: #81c784;
}

.nexora-player-status.is-offline {
	background: rgba(158, 158, 158, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--nex-muted);
}

.nexora-player-highlights {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-bottom: 14px;
}

.nexora-player-highlight {
	text-align: center;
	padding: 12px 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 10px;
}

.nexora-player-highlight-label {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-muted);
	margin-bottom: 4px;
}

.nexora-player-highlight-value {
	font-family: var(--nex-display);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--nex-gold);
}

.nexora-player-guild-strip,
.nexora-player-zen-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);
	margin-bottom: 10px;
	font-size: 0.82rem;
}

.nexora-player-guild-label,
.nexora-player-zen-label {
	color: var(--nex-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.68rem;
}

.nexora-player-guild-value,
.nexora-player-zen-value {
	font-weight: 600;
	color: var(--nex-gold);
}

.nexora-player-guild-value a {
	color: inherit;
}

.nexora-player-section {
	margin-bottom: 22px;
}

.nexora-player-section-title {
	margin: 0 0 12px;
	font-family: var(--nex-display);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--nex-gold);
	padding-bottom: 8px;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-player-stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.nexora-player-stat {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.04);
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition: border-color 0.2s ease;
}

.nexora-player-stat:hover {
	border-color: rgba(196, 152, 88, 0.28);
}

.nexora-player-stat-label {
	font-size: 0.72rem;
	color: var(--nex-muted);
}

.nexora-player-stat-value {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--nex-text);
}

.nexora-player-stat-value a {
	color: var(--nex-gold);
}

.nexora-player-attr-bars {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
	margin-bottom: 12px;
}

.nexora-player-attr-bar {
	display: block;
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	overflow: hidden;
}

.nexora-player-attr-bar i {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--nex-bar, var(--nex-gold));
	box-shadow: 0 0 10px var(--nex-bar, var(--nex-gold));
}

@media (max-width: 860px) {
	.nexora-player-layout {
		grid-template-columns: 1fr;
	}

	.nexora-guild-stats {
		grid-template-columns: 1fr;
	}

	.nexora-player-stats {
		grid-template-columns: 1fr;
	}
}
\n\n/* ========== Módulos (rankings, usercp hub/sub, donación) — Nexora vars ========== */\n@keyframes nexora-info-title-in {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========== Módulos Rankings (Top Level, Guilds, Resets, etc.) ========== */
.nex-page-main .nexora-rankings-wrap {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 0 24px;
}

/* Título de página rankings (cuando existe .rankings_menu) */
.nex-page-main:has(.rankings_menu) .page-title {
	text-align: center;
	margin-bottom: 8px;
}

.nex-page-main:has(.rankings_menu) .page-title span {
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	display: inline-block;
	position: relative;
	padding-bottom: 12px;
}

.nex-page-main:has(.rankings_menu) .page-title span::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

/* Menú de pestañas (Top Level, Top Resets, etc.) */
.nex-page-main .rankings_menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 12px;
	margin-bottom: 24px;
	padding: 0;
	overflow: visible;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nex-line);
	border-radius: 12px;
	padding: 14px 16px;
}

.nex-page-main .rankings_menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 10px 16px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: var(--nex-muted);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nex-page-main .rankings_menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(164, 112, 70, 0.3);
	color: var(--nex-text);
}

.nex-page-main .rankings_menu a.active {
	background: linear-gradient(135deg, rgba(164, 112, 70, 0.25), rgba(184, 146, 63, 0.2));
	border-color: var(--nex-gold);
	color: var(--nex-gold);
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
	box-shadow: 0 0 0 1px rgba(164, 112, 70, 0.2);
}

/* Filtro por clase (All, Wizards, Knights, etc.) */
.nex-page-main .rankings-class-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 16px;
	list-style: none;
	margin: 0 0 20px;
	padding: 16px 20px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
}

.nex-page-main .rankings-class-filter li {
	margin: 0;
	padding: 0;
}

.nex-page-main .rankings-class-filter-selection {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	color: var(--nex-muted);
	font-size: 12px;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	cursor: pointer;
}

.nex-page-main .rankings-class-filter-selection:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(164, 112, 70, 0.25);
	color: var(--nex-text);
}

.nex-page-main .rankings-class-filter-image {
	width: 40px;
	height: auto;
	display: block;
	border-radius: 6px;
}

.nex-page-main .rankings-class-filter-selection.rankings-class-filter-grayscale .rankings-class-filter-image {
	filter: grayscale(0.7);
	opacity: 0.9;
}

.nex-page-main .rankings-class-filter-selection:hover .rankings-class-filter-image {
	filter: grayscale(0);
	opacity: 1;
}

.nex-page-main .rankings-class-filter-wrap {
	margin: 0 0 20px;
}

.nex-page-main .rankings-class-filter-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	padding: 14px 18px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
}

.nex-page-main .rankings-class-filter-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--nex-muted);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.nex-page-main .rankings-class-filter-select {
	min-width: min(100%, 280px);
	max-width: 100%;
	padding: 10px 36px 10px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.35)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4a84b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
		no-repeat right 12px center;
	border: 1px solid rgba(164, 112, 70, 0.35);
	border-radius: 10px;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nex-page-main .rankings-class-filter-select:focus {
	outline: none;
	border-color: rgba(164, 112, 70, 0.55);
	box-shadow: 0 0 0 2px rgba(164, 112, 70, 0.15);
}

.nex-page-main .rankings-class-filter-select option {
	background: #141820;
	color: var(--nex-text);
}

/* Tabla de rankings */
.nex-page-main .rankings-table,
.nex-page-main .table.rankings-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.nex-page-main .rankings-table tr:first-child td,
.nex-page-main .table.rankings-table tr:first-child td {
	background: rgba(0, 0, 0, 0.4);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 14px 16px;
	border-bottom: 1px solid var(--nex-line);
	font-size: 12px;
}

.nex-page-main .rankings-table tr td,
.nex-page-main .table.rankings-table tr td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 12px 16px;
	color: var(--nex-text);
	vertical-align: middle !important;
	background: transparent !important;
}

.nex-page-main .rankings-table tbody tr:hover td,
.nex-page-main .table.rankings-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.04) !important;
}

.nex-page-main .rankings-table-place {
	color: var(--nex-gold);
	font-weight: 700;
	font-size: 16px;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nex-page-main .rankings-class-image {
	width: 36px;
	height: auto;
	border-radius: 6px;
	display: block;
}

.nex-page-main .rankings-table a,
.nex-page-main .table.rankings-table a {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nex-page-main .rankings-table a:hover,
.nex-page-main .table.rankings-table a:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nex-page-main .online-status-indicator {
	margin-left: 6px;
	vertical-align: middle;
}

/* Fecha de actualización */
.nex-page-main .rankings-update-time {
	text-align: right;
	font-size: 12px;
	color: var(--nex-muted);
	padding: 16px 0 0;
	margin: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: 16px;
}

/* ========== Página User CP (inc/modules/usercp.php) ========== */
.nexora-usercp {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 0 32px;
}

.nexora-usercp-header {
	text-align: center;
	margin-bottom: 28px;
}

.nexora-usercp-title {
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	margin: 0 0 8px;
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
}

.nexora-usercp-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

.nexora-usercp-subtitle {
	font-size: 14px;
	color: var(--nex-muted);
	margin: 0;
}

.nexora-usercp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 16px;
}

.nexora-usercp-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px 16px;
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 12px;
	text-decoration: none;
	color: var(--nex-text);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
	text-align: center;
}

.nexora-usercp-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(164, 112, 70, 0.2);
	border-color: rgba(164, 112, 70, 0.4);
	background: rgba(255, 255, 255, 0.04);
	color: var(--nex-gold);
}

.nexora-usercp-item-icon {
	display: block;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
}

.nexora-usercp-item-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.nexora-usercp-item-title {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

@media (max-width: 480px) {
	.nexora-usercp-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.nexora-usercp-item {
		padding: 18px 12px;
	}
	.nexora-usercp-item-icon {
		width: 48px;
		height: 48px;
	}
	.nexora-usercp-item-icon img {
		width: 48px;
		height: 48px;
	}
}

/* ========== My Account (inc/modules/usercp/myaccount.php) ========== */
.nexora-myaccount {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 0 0 40px;
}

.nexora-myaccount-header {
	text-align: center;
	margin-bottom: 32px;
}

.nexora-myaccount-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
	animation: nexora-info-title-in 0.6s ease-out;
}

.nexora-myaccount-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

.nexora-myaccount-subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--nex-muted);
}

.nexora-myaccount-section {
	margin-bottom: 28px;
}

.nexora-myaccount-panel {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.nexora-myaccount-panel-head {
	padding: 14px 20px;
	background: rgba(0, 0, 0, 0.35);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nexora-myaccount-panel-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nex-gold);
}

.nexora-myaccount-panel-body {
	padding: 20px;
}

.nexora-myaccount-rows {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.nexora-myaccount-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
}

.nexora-myaccount-row:last-child {
	border-bottom: none;
}

.nexora-myaccount-label {
	font-size: 13px;
	color: var(--nex-muted);
	font-weight: 500;
}

.nexora-myaccount-value {
	font-size: 14px;
	color: var(--nex-text);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.nexora-myaccount-value-number {
	color: var(--nex-gold);
	font-weight: 600;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nexora-myaccount-btn {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
	border-radius: 8px;
	color: var(--nex-btn-metal-text);
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	box-shadow: var(--nex-btn-metal-shadow);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.nexora-myaccount-btn:hover {
	transform: translateY(-2px);
	color: #fffefc;
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	border-color: rgba(192, 132, 255, 0.42);
	filter: brightness(1.06);
}

.nexora-myaccount-badge {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 6px;
}

.nexora-myaccount-badge-success {
	background: rgba(60, 160, 80, 0.3);
	border: 1px solid rgba(60, 160, 80, 0.5);
	color: #7ed;
}

.nexora-myaccount-badge-danger {
	background: rgba(180, 60, 60, 0.3);
	border: 1px solid rgba(180, 60, 60, 0.5);
	color: #e88;
}

.nexora-myaccount-badge-default {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--nex-muted);
}

/* Sección personajes */
.nexora-myaccount-section-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--nex-gold);
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
}

.nexora-myaccount-characters {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 20px;
}

.nexora-myaccount-character-card {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	padding: 20px;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nexora-myaccount-character-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(164, 112, 70, 0.2);
	border-color: rgba(164, 112, 70, 0.35);
}

.nexora-myaccount-character-name {
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--nex-text);
}

.nexora-myaccount-character-name a {
	color: var(--nex-gold);
	text-decoration: none;
	transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nexora-myaccount-character-name a:hover {
	color: #fff;
	text-shadow: 0 0 10px rgba(196, 152, 88, 0.35);
}

.nexora-myaccount-char-status {
	width: 10px;
	height: 10px;
	margin-left: 6px;
	vertical-align: middle;
}

.nexora-myaccount-character-avatar {
	margin-bottom: 12px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.25);
}

.nexora-myaccount-character-avatar a {
	display: block;
	line-height: 0;
}

.nexora-myaccount-character-avatar img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.nexora-myaccount-character-location {
	font-size: 12px;
	color: var(--nex-muted);
	line-height: 1.4;
	margin-bottom: 8px;
}

.nexora-myaccount-character-level {
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-gold);
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
}

/* Tabla historial de conexión */
.nexora-myaccount-table-wrap {
	overflow-x: auto;
	border-radius: 10px;
}

.nexora-myaccount-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nexora-myaccount-table thead th {
	padding: 12px 14px;
	text-align: left;
	background: rgba(0, 0, 0, 0.35);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-myaccount-table tbody tr {
	transition: background 0.2s ease;
}

.nexora-myaccount-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.nexora-myaccount-table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
}

.nexora-myaccount-table tbody tr:last-child td {
	border-bottom: none;
}

@media (max-width: 640px) {
	.nexora-myaccount-characters {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
	.nexora-myaccount-character-card {
		padding: 16px;
	}
}

/* ========== Páginas UserCP (addstats, buyzen, clearpk, myemail, etc.) ========== */
.nexora-usercp-page {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 0 0 40px;
}

.nexora-usercp-page-header {
	text-align: center;
	margin-bottom: 28px;
}

.nexora-usercp-page-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	position: relative;
	display: inline-block;
	padding-bottom: 12px;
	animation: nexora-info-title-in 0.6s ease-out;
}

.nexora-usercp-page-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
	border-radius: 2px;
}

.nexora-usercp-page-subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--nex-muted);
}

.nexora-usercp-panel {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	margin-bottom: 24px;
}

.nexora-usercp-panel-body {
	padding: 20px;
}

.nexora-usercp-form .nexora-usercp-field {
	margin-bottom: 16px;
}

.nexora-usercp-form .nexora-usercp-field:last-of-type {
	margin-bottom: 0;
}

.nexora-usercp-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--nex-muted);
	margin-bottom: 6px;
}

.nexora-usercp-input,
.nexora-usercp-select {
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.nexora-usercp-input:focus,
.nexora-usercp-select:focus {
	outline: none;
	border-color: rgba(164, 112, 70, 0.5);
	background: rgba(0, 0, 0, 0.45);
}

.nexora-usercp-input::placeholder {
	color: var(--nex-muted);
}

.nexora-usercp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	text-decoration: none;
	color: var(--nex-btn-metal-text);
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	border-radius: 10px;
	box-shadow: var(--nex-btn-metal-shadow);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.nexora-usercp-btn:hover {
	transform: translateY(-2px);
	color: #fffefc;
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	border-color: rgba(192, 132, 255, 0.42);
	filter: brightness(1.06);
}

.nexora-usercp-table-wrap {
	overflow-x: auto;
	border-radius: 10px;
}

.nexora-usercp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.nexora-usercp-table thead th {
	padding: 12px 14px;
	text-align: left;
	background: rgba(0, 0, 0, 0.4);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--nex-line);
}

.nexora-usercp-table tbody tr {
	transition: background 0.2s ease;
}

.nexora-usercp-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

.nexora-usercp-table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
	vertical-align: middle;
}

.nexora-usercp-table tbody tr:last-child td {
	border-bottom: none;
}

.nexora-usercp-table .nexora-usercp-char-avatar img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	border-radius: 8px;
	display: block;
}

.nexora-usercp-requirements {
	margin-top: 20px;
	padding: 16px 20px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 12px;
	text-align: center;
	font-size: 13px;
	color: var(--nex-muted);
}

.nexora-usercp-requirements p {
	margin: 0 0 6px;
}

.nexora-usercp-requirements p:last-child {
	margin-bottom: 0;
}

/* Add Stats: tarjeta por personaje */
.nexora-usercp-card {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	margin-bottom: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.nexora-usercp-card-avatar {
	flex: 0 0 140px;
	padding: 20px;
	text-align: center;
	background: rgba(0, 0, 0, 0.2);
}

.nexora-usercp-card-avatar img {
	max-width: 100px;
	height: auto;
	border-radius: 10px;
	display: block;
	margin: 0 auto;
}

.nexora-usercp-card-body {
	flex: 1 1 280px;
	padding: 20px;
	min-width: 0;
}

.nexora-usercp-card-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--nex-gold);
	margin-bottom: 16px;
	text-shadow: 0 0 12px rgba(196, 152, 88, 0.35);
}

.nexora-usercp-card-form .nexora-usercp-field {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	margin-bottom: 12px;
}

.nexora-usercp-card-form .nexora-usercp-field .nexora-usercp-label {
	margin-bottom: 0;
	flex: 0 0 140px;
}

.nexora-usercp-card-form .nexora-usercp-input {
	max-width: 120px;
}

/* Buy Zen: fila con selects y botón */
.nexora-usercp-inline-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 24px;
	padding: 24px 20px;
}

.nexora-usercp-inline-form .nexora-usercp-select {
	min-width: 180px;
	max-width: 240px;
}

@media (max-width: 640px) {
	.nexora-usercp-card {
		flex-direction: column;
	}
	.nexora-usercp-card-avatar {
		flex: 0 0 auto;
	}
	.nexora-usercp-inline-form {
		flex-direction: column;
	}
	.nexora-usercp-inline-form .nexora-usercp-select {
		width: 100%;
		max-width: none;
	}
}

/* Buy Zen page */
.nexora-buyzen-page .nexora-usercp-page-subtitle {
	margin-top: 6px;
	font-size: 14px;
	color: var(--nex-muted);
	font-weight: 400;
}
.nexora-buyzen-panel {
	overflow: visible;
}
.nexora-buyzen-panel .nexora-usercp-panel-body {
	padding: 24px 28px;
}
.nexora-buyzen-intro {
	font-size: 13px;
	color: var(--nex-muted);
	margin-bottom: 18px;
}
.nexora-buyzen-row {
	display: grid;
	grid-template-columns: 1fr 1.4fr auto;
	align-items: end;
	gap: 20px 24px;
}
.nexora-buyzen-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nexora-buyzen-field.nexora-buyzen-amount .nexora-buyzen-select {
	min-width: 200px;
}
.nexora-buyzen-select {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	font-size: 14px;
}
.nexora-buyzen-submit {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.nexora-buyzen-label-hidden {
	visibility: hidden;
	height: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.nexora-buyzen-btn {
	min-width: 120px;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	background: linear-gradient(135deg, #d4a84b 0%, #b8923a 100%);
	box-shadow: 0 4px 16px rgba(164, 112, 70, 0.35);
}
.nexora-buyzen-btn:hover {
	background: linear-gradient(135deg, #e0b85a 0%, #c49d42 100%);
	box-shadow: 0 6px 22px rgba(164, 112, 70, 0.5);
}
@media (max-width: 768px) {
	.nexora-buyzen-row {
		grid-template-columns: 1fr;
	}
	.nexora-buyzen-field.nexora-buyzen-amount .nexora-buyzen-select {
		min-width: 0;
	}
	.nexora-buyzen-btn {
		min-width: 100%;
	}
}

/* UserCP: plugin output wrapped by template (Rename Character, Change Class, Transfer Character) */
.nexora-usercp-plugin-panel {
	overflow: visible;
}
.nexora-usercp-plugin-wrap .nexora-usercp-panel-body {
	padding: 24px 28px;
}
/* Ocultar título del plugin: usamos la cabecera nexora del template */
.nexora-usercp-plugin-wrap .nexora-usercp-panel-body > .page-title:first-child {
	display: none;
}
.nexora-usercp-plugin-wrap .row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0 0 16px;
}
.nexora-usercp-plugin-wrap [class*="col-"] {
	flex: 1 1 auto;
	min-width: 0;
}
.nexora-usercp-plugin-wrap form {
	margin: 0 0 20px;
}
.nexora-usercp-plugin-wrap label,
.nexora-usercp-plugin-wrap .field-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--nex-muted);
	margin-bottom: 6px;
}
.nexora-usercp-plugin-wrap input[type="text"],
.nexora-usercp-plugin-wrap input[type="password"],
.nexora-usercp-plugin-wrap input[type="number"],
.nexora-usercp-plugin-wrap input[type="email"],
.nexora-usercp-plugin-wrap select,
.nexora-usercp-plugin-wrap textarea,
.nexora-usercp-plugin-wrap .form-control,
.nexora-usercp-plugin-wrap .field-input {
	width: 100%;
	max-width: 100%;
	padding: 6px 14px;
	font-size: 14px;
	color: var(--nex-text);
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	box-sizing: border-box;
	transition: border-color 0.2s ease, background 0.2s ease;
}
.nexora-usercp-plugin-wrap input:focus,
.nexora-usercp-plugin-wrap select:focus,
.nexora-usercp-plugin-wrap textarea:focus {
	outline: none;
	border-color: rgba(164, 112, 70, 0.5);
	background: rgba(0, 0, 0, 0.45);
}
.nexora-usercp-plugin-wrap button,
.nexora-usercp-plugin-wrap input[type="submit"],
.nexora-usercp-plugin-wrap .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	min-width: 160px;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	cursor: pointer;
	color: var(--nex-btn-metal-text);
	background: linear-gradient(
		175deg,
		var(--nex-btn-metal-top),
		var(--nex-btn-metal-mid) 48%,
		var(--nex-btn-metal-bot)
	);
	border: 1px solid var(--nex-btn-metal-border);
	border-radius: 10px;
	box-shadow: var(--nex-btn-metal-shadow);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}
.nexora-usercp-plugin-wrap button:hover,
.nexora-usercp-plugin-wrap input[type="submit"]:hover,
.nexora-usercp-plugin-wrap .btn:hover {
	transform: translateY(-2px);
	color: #fffefc;
	box-shadow:
		0 6px 22px rgba(75, 32, 110, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);
	border-color: rgba(192, 132, 255, 0.42);
	filter: brightness(1.06);
}
.nexora-usercp-plugin-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-bottom: 16px;
}
.nexora-usercp-plugin-wrap table thead th {
	padding: 12px 14px;
	text-align: left;
	background: rgba(0, 0, 0, 0.4);
	color: var(--nex-gold);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: 1px solid var(--nex-line);
}
.nexora-usercp-plugin-wrap table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--nex-text);
}
.nexora-usercp-plugin-wrap table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}
.nexora-usercp-plugin-wrap .thumbnail {
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nex-line);
	border-radius: 10px;
	padding: 12px;
}
.nexora-usercp-plugin-wrap .thumbnail img {
	max-width: 100%;
	height: auto;
}
.nexora-usercp-plugin-wrap p,
.nexora-usercp-plugin-wrap .field-hint {
	font-size: 13px;
	color: var(--nex-muted);
	margin: 0 0 8px;
}
/* Donation page */
.nexora-donation-page {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 0 0 40px;
}
.nexora-donation-header {
	text-align: center;
	margin-bottom: 28px;
}
.nexora-donation-title {
	margin: 0 0 8px;
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--nex-gold);
	text-shadow: 0 0 20px rgba(196, 152, 88, 0.35);
	position: relative;
	padding-bottom: 14px;
}
.nexora-donation-title::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--nex-gold), transparent);
	transform: translateX(-50%);
}
.nexora-donation-subtitle {
	margin: 0;
	font-size: 14px;
	color: var(--nex-muted);
}
.nexora-donation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}
.nexora-donation-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	padding: 24px;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}
.nexora-donation-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	border-color: rgba(164, 112, 70, 0.4);
}
.nexora-donation-card-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--nex-gold);
	margin-bottom: 12px;
}
.nexora-donation-card-img {
	max-width: 100%;
	height: auto;
	max-height: 56px;
	object-fit: contain;
}
.nexora-donation-panel {
	background: var(--nex-bg-panel);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--nex-line);
	border-radius: 14px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
	padding: 28px 32px;
}
.nexora-paypal-panel {
	overflow: visible;
}
.nexora-paypal-logo {
	text-align: center;
	margin-bottom: 24px;
}
.nexora-paypal-logo img {
	max-width: 200px;
	height: auto;
	max-height: 68px;
	object-fit: contain;
}
.nexora-paypal-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.nexora-paypal-amount-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.nexora-paypal-amount-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.nexora-paypal-currency {
	font-size: 16px;
	color: var(--nex-muted);
}
.nexora-paypal-amount-input {
	width: 80px;
	text-align: center;
	font-size: 18px;
}
.nexora-paypal-result {
	margin: 0;
	font-size: 15px;
	color: var(--nex-gold);
	font-weight: 600;
}
.nexora-paypal-result span {
	font-weight: 700;
}
.nexora-paypal-btn {
	align-self: center;
	min-width: 200px;
	padding: 14px 28px;
	font-size: 14px;
}
@media (max-width: 640px) {
	.nexora-donation-grid {
		grid-template-columns: 1fr;
	}
	.nexora-paypal-panel {
		padding: 20px 20px;
	}
}

.nexora-donation-card-desc {
	font-size: 13px;
	line-height: 1.45;
	color: var(--nex-muted);
	text-align: center;
	margin-top: 4px;
}

/* PayPal — lista de paquetes (custom router) */
.nex-paypal-gateway {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
}
.nex-paypal-gateway-inner {
	padding: 24px 28px;
}
.nex-paypal-brand {
	text-align: center;
	margin-bottom: 20px;
}
.nex-paypal-brand img {
	max-width: 200px;
	height: auto;
	max-height: 68px;
	object-fit: contain;
}
.nex-paypal-pack-heading {
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--nex-gold);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.nex-paypal-pack-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.nex-paypal-pack-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--nex-radius);
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.28);
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}
.nex-paypal-pack-item:hover {
	transform: translateY(-1px);
	border-color: rgba(196, 152, 88, 0.35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.nex-paypal-pack-item input[type="radio"] {
	flex-shrink: 0;
	transform: scale(1.08);
	cursor: pointer;
	accent-color: var(--nex-gold);
}
.nex-paypal-pack-text {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--nex-text);
}
.nex-paypal-pack-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	flex-shrink: 0;
	max-width: 46%;
}
.nex-paypal-badge {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
}
.nex-paypal-badge--usd {
	background: rgba(96, 165, 250, 0.2);
	border: 1px solid rgba(96, 165, 250, 0.35);
	color: #93c5fd;
}
.nex-paypal-badge--total {
	background: rgba(196, 152, 88, 0.15);
	border: 1px solid rgba(196, 152, 88, 0.35);
	color: var(--nex-gold);
}
.nex-paypal-summary {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: var(--nex-radius);
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid var(--nex-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.nex-paypal-summary-copy {
	font-size: 13px;
	color: var(--nex-text);
	line-height: 1.45;
}
.nex-paypal-muted {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	color: var(--nex-muted);
}
.nex-paypal-submit {
	flex-shrink: 0;
	min-width: 200px;
}
@media (max-width: 640px) {
	.nex-paypal-pack-badges {
		max-width: 100%;
		justify-content: flex-start;
	}
	.nex-paypal-summary {
		flex-direction: column;
		align-items: stretch;
	}
	.nex-paypal-submit {
		width: 100%;
		min-width: 0;
	}
}

/* ================================================================
   Nexora Legado + Seasonal — contexto de reino
   ================================================================ */
.nex-topbar-start {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nex-realm-switcher {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 999px;
	background: rgba(4, 3, 10, .72);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}

.nex-realm-pill {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 5px 12px;
	border-radius: 999px;
	color: rgba(255, 255, 255, .7);
	font: 700 11px/1 "DM Sans", sans-serif;
	letter-spacing: .04em;
	text-decoration: none;
	transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nex-realm-pill:hover,
.nex-realm-pill:focus {
	color: #fff;
	text-decoration: none;
}

.nex-realm-pill--legacy.is-active {
	color: #fff6df;
	background: linear-gradient(135deg, rgba(255, 139, 18, .42), rgba(255, 190, 62, .2));
	box-shadow: inset 0 0 0 1px rgba(255, 182, 64, .42), 0 0 16px rgba(255, 116, 0, .18);
}

.nex-realm-pill--seasonal.is-active {
	color: #f9efff;
	background: linear-gradient(135deg, rgba(123, 46, 225, .54), rgba(207, 75, 255, .2));
	box-shadow: inset 0 0 0 1px rgba(197, 103, 255, .4), 0 0 16px rgba(139, 55, 255, .22);
}

.nex-realm-switcher.is-locked .nex-realm-pill {
	cursor: default;
}

.nex-realm-context {
	display: grid;
	grid-template-columns: auto auto;
	align-items: baseline;
	gap: 3px 10px;
	max-width: 620px;
	margin: 2px auto 22px;
	padding: 11px 18px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 14px;
	background: rgba(5, 3, 12, .72);
	backdrop-filter: blur(12px);
	text-align: left;
}

.nex-realm-context-kicker {
	grid-column: 1 / -1;
	color: rgba(255, 255, 255, .58);
	font: 700 10px/1 "DM Sans", sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.nex-realm-context strong {
	font: 700 19px/1.2 "Cinzel", serif;
}

.nex-realm-context > span:last-child {
	color: rgba(255, 255, 255, .72);
	font-size: 13px;
}

.nex-realm-context--legacy {
	border-color: rgba(255, 159, 39, .42);
	box-shadow: inset 3px 0 0 #ff9c27, 0 14px 34px rgba(255, 102, 0, .08);
}

.nex-realm-context--legacy strong { color: #ffc45d; }

.nex-realm-context--seasonal {
	border-color: rgba(181, 83, 255, .44);
	box-shadow: inset 3px 0 0 #a94eff, 0 14px 34px rgba(118, 33, 255, .1);
}

.nex-realm-context--seasonal strong { color: #d89aff; }

.nex-dual-registration {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 13px;
	margin: 0 0 20px;
	padding: 13px 14px;
	border: 1px solid rgba(214, 139, 255, .34);
	border-radius: 14px;
	background:
		linear-gradient(115deg, rgba(255, 147, 31, .12), rgba(120, 46, 222, .13)),
		rgba(255, 255, 255, .025);
	box-shadow: inset 3px 0 0 #ee9b2d, inset -3px 0 0 #a758e8, 0 12px 30px rgba(49, 16, 75, .16);
}

.nex-dual-registration__marks {
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

.nex-dual-registration__marks b {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 194, 94, .5);
	border-radius: 50%;
	background: rgba(255, 137, 26, .13);
	color: #ffc66c;
	font: 800 14px/1 "Cinzel", serif;
	box-shadow: 0 0 17px rgba(255, 134, 28, .15);
}

.nex-dual-registration__marks b:last-child {
	border-color: rgba(204, 123, 255, .52);
	background: rgba(151, 69, 225, .16);
	color: #dda0ff;
	box-shadow: 0 0 17px rgba(174, 73, 255, .17);
}

.nex-dual-registration__marks i {
	color: rgba(255, 255, 255, .62);
	font-style: normal;
	font-weight: 800;
}

.nex-dual-registration__copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.nex-dual-registration__copy strong {
	color: #fff2d6;
	font: 700 14px/1.3 "Cinzel", serif;
}

.nex-dual-registration__copy small {
	color: rgba(255, 255, 255, .66);
	font: 500 11px/1.45 "DM Sans", sans-serif;
}

.nex-realm-fieldset {
	min-width: 0;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.nex-realm-fieldset legend {
	float: none;
	width: auto;
	margin-bottom: 9px;
	border: 0;
}

.nex-realm-auth-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.nex-realm-card {
	position: relative;
	display: block;
	margin: 0;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 13px;
	background: rgba(255, 255, 255, .035);
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.nex-realm-card:hover { transform: translateY(-1px); }

.nex-realm-card input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.nex-realm-card-copy {
	display: grid;
	gap: 3px;
	pointer-events: none;
}

.nex-realm-card-copy strong {
	font: 700 15px/1.2 "Cinzel", serif;
	color: #fff;
}

.nex-realm-card-copy small {
	color: rgba(255, 255, 255, .58);
	font: 600 11px/1.35 "DM Sans", sans-serif;
}

.nex-realm-card--legacy:has(input:checked),
.nex-realm-card--legacy:focus-within {
	border-color: rgba(255, 174, 55, .75);
	background: linear-gradient(145deg, rgba(255, 130, 14, .22), rgba(255, 195, 73, .07));
	box-shadow: 0 0 0 2px rgba(255, 145, 28, .1), 0 12px 28px rgba(255, 95, 0, .12);
}

.nex-realm-card--seasonal:has(input:checked),
.nex-realm-card--seasonal:focus-within {
	border-color: rgba(192, 102, 255, .76);
	background: linear-gradient(145deg, rgba(120, 46, 222, .26), rgba(211, 91, 255, .08));
	box-shadow: 0 0 0 2px rgba(154, 66, 255, .1), 0 12px 28px rgba(104, 33, 255, .14);
}

@media (max-width: 900px) {
	.nex-realm-switcher { order: 2; }
	.nex-realm-pill { padding-inline: 9px; }
}

@media (max-width: 560px) {
	.nex-realm-switcher { gap: 2px; }
	.nex-realm-pill { min-height: 27px; padding: 4px 7px; font-size: 9px; }
	.nex-realm-switcher.is-locked .nex-realm-pill { max-width: 145px; white-space: normal; text-align: center; }
	.nex-realm-context { grid-template-columns: 1fr; margin-inline: 12px; }
	.nex-realm-context-kicker { grid-column: auto; }
	.nex-realm-auth-grid { grid-template-columns: 1fr; }
	.nex-dual-registration { grid-template-columns: 1fr; }
}

/* ================================================================
   Responsive móvil Android / iPhone + acceso comunitario WhatsApp
   Build: responsive-20260811-v1
   ================================================================ */

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.nex-body {
	min-height: 100svh;
	overflow-x: hidden;
}

body.nex-nav-open {
	overflow: hidden;
}

img,
svg,
video,
canvas {
	max-width: 100%;
}

.nex-container {
	width: 100%;
	max-width: 1212px;
	padding-left: max(16px, env(safe-area-inset-left));
	padding-right: max(16px, env(safe-area-inset-right));
}

.nex-topbar {
	padding-top: env(safe-area-inset-top);
}

.nex-home-grid > *,
.nex-dual-rankings__grid > *,
.nex-page-layout > *,
.nex-char-slide > * {
	min-width: 0;
}

.nex-nav-mobile-account {
	display: none;
}

.nex-whatsapp-cta {
	position: fixed;
	left: max(18px, env(safe-area-inset-left));
	bottom: max(18px, env(safe-area-inset-bottom));
	z-index: 99989;
	display: inline-flex;
	align-items: center;
	gap: 11px;
	min-height: 58px;
	padding: 8px 16px 8px 9px;
	border: 1px solid rgba(141, 255, 183, 0.48);
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(18, 164, 83, 0.97), rgba(9, 112, 57, 0.97));
	box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), 0 0 28px rgba(37, 211, 102, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	color: #fff !important;
	text-decoration: none !important;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nex-whatsapp-cta::before {
	content: "";
	position: absolute;
	inset: -5px;
	z-index: -1;
	border: 1px solid rgba(87, 255, 149, 0.34);
	border-radius: inherit;
	opacity: 0;
	animation: nex-whatsapp-pulse 3s ease-out infinite;
}

.nex-whatsapp-cta:hover {
	color: #fff !important;
	filter: brightness(1.08);
	transform: translateY(-2px);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.54), 0 0 34px rgba(37, 211, 102, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nex-whatsapp-cta:active {
	transform: translateY(0) scale(0.98);
}

.nex-whatsapp-cta:focus-visible {
	outline: 3px solid #d9ffe7;
	outline-offset: 3px;
}

.nex-whatsapp-cta__icon {
	display: grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.nex-whatsapp-cta__icon svg {
	display: block;
	width: 25px;
	height: 25px;
	fill: currentColor;
}

.nex-whatsapp-cta__copy {
	display: grid;
	gap: 2px;
	line-height: 1.05;
}

.nex-whatsapp-cta__copy small {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.76);
}

.nex-whatsapp-cta__copy strong {
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	color: #fff;
}

@keyframes nex-whatsapp-pulse {
	0%, 35% { opacity: 0; transform: scale(0.96); }
	45% { opacity: 0.75; }
	85%, 100% { opacity: 0; transform: scale(1.12); }
}

@media (max-width: 960px) {
	.nex-topbar-inner {
		height: 72px;
		min-height: 72px;
		padding-block: 7px;
		gap: 8px;
	}

	.nex-topbar-start {
		flex: 1 1 auto;
		min-width: 0;
		gap: 8px;
	}

	.nex-topbar-account {
		flex: 0 0 auto;
		gap: 7px;
	}

	.nex-nav-img-btn__media {
		width: 96px;
		height: 64px;
		object-fit: contain;
	}

	.nex-nav-img-btn__label {
		font-size: 10px;
	}

	.nex-nav-drawer {
		padding: calc(88px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(20px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.nex-nav-drawer-inner {
		min-height: 100%;
	}

	.nex-nav-mobile-account {
		display: list-item;
	}

	.nex-nav-mobile-account .nex-nav-link {
		color: var(--nex-gold) !important;
		background: rgba(196, 152, 88, 0.055);
	}

	.nex-hero-wrap {
		min-height: 390px;
	}

	.nex-char-visual {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.nex-char-visual img {
		height: 100%;
	}

	.nex-page-main .table-responsive,
	.nex-page-main .nex-rank-table-wrap,
	.nex-page-main .nex-table-scroll {
		max-width: 100%;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}

@media (max-width: 640px) {
	.nex-container {
		padding-left: max(13px, env(safe-area-inset-left));
		padding-right: max(13px, env(safe-area-inset-right));
	}

	.nex-topbar-inner {
		height: 64px;
		min-height: 64px;
		gap: 6px;
	}

	.nex-topbar-start {
		gap: 5px;
	}

	.nex-lang-trigger {
		gap: 5px;
		padding: 5px 7px;
	}

	.nex-realm-switcher {
		gap: 1px;
		padding: 3px;
	}

	.nex-realm-pill {
		min-height: 28px;
		padding: 4px 7px;
		font-size: 9px;
	}

	.nex-realm-switcher.is-locked .nex-realm-pill {
		max-width: 106px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.nex-nav-toggle {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}

	body[data-nex-logged-in="0"] .nex-topbar-account > .nex-link,
	body[data-nex-logged-in="1"] .nex-topbar-account > .nex-btn {
		display: none;
	}

	.nex-topbar-account > .nex-link {
		display: block;
		max-width: 82px;
		overflow: hidden;
		font-size: 10px;
		font-weight: 700;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.nex-nav-img-btn {
		min-width: 76px;
		min-height: 40px;
		border: 1px solid rgba(196, 152, 88, 0.38);
		border-radius: 999px;
		background: linear-gradient(135deg, rgba(99, 38, 14, 0.78), rgba(44, 10, 38, 0.86));
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 6px 18px rgba(0, 0, 0, 0.35);
		filter: none;
	}

	.nex-nav-img-btn__media {
		display: none;
	}

	.nex-nav-img-btn__label {
		position: static;
		padding: 0 10px;
		font-size: 10px;
		line-height: 40px;
		transform: none;
	}

	.nex-nav-drawer {
		padding-top: calc(76px + env(safe-area-inset-top));
	}

	.nex-nav-drawer-list .nex-nav-link {
		min-height: 48px;
		padding: 14px 18px;
	}

	.nex-hero-wrap {
		min-height: 0;
		padding-bottom: 20px;
	}

	.nex-hero-content {
		padding-top: 26px;
	}

	.nex-hero-logo img {
		max-width: min(290px, 82vw);
	}

	.nex-realm-context {
		margin: 4px auto 13px;
		padding: 9px 13px;
	}

	.nex-hero-cta {
		gap: 2px;
	}

	.nex-hero-banner {
		width: min(340px, 100%);
		max-width: 100%;
		height: auto;
	}

	.nex-hero-banner__media {
		height: auto;
	}

	.nex-main {
		padding: 24px 0 72px;
	}

	.nex-home-grid {
		gap: 16px;
	}

	.nex-home-news,
	.nex-widget,
	.nex-page-main {
		padding-left: 14px;
		padding-right: 14px;
	}

	.nex-panel-head {
		gap: 10px;
	}

	.nex-panel-head h2 {
		font-size: 19px;
	}

	.nex-widget--cta {
		gap: 4px;
		padding: 10px;
	}

	.nex-sidebar-banner {
		height: auto;
		margin: 0 auto;
		max-width: 360px;
	}

	.nex-dual-rankings {
		margin-top: 28px;
	}

	.nex-dual-rankings__intro h2 {
		font-size: 25px;
	}

	.nex-dual-rankings__intro p {
		font-size: 13px;
		line-height: 1.55;
	}

	.nex-dual-rankings__grid {
		gap: 16px;
	}

	.nex-dual-rank-metrics {
		gap: 5px;
		margin-bottom: 16px;
	}

	.nex-dual-rank-table-wrap {
		min-height: 246px;
		-webkit-overflow-scrolling: touch;
	}

	.nex-dual-rank-table td {
		height: 43px;
		padding-inline: 5px;
	}

	.nex-dual-rank-card__table-head {
		align-items: flex-start;
		flex-direction: column;
		gap: 4px;
	}

	.nex-dual-rankings__events .nex-events-schedule-wrap {
		max-height: none;
	}

	.nex-castle-epic {
		margin-top: 28px;
	}

	.nex-castle-epic-head {
		padding: 18px 13px 5px;
	}

	.nex-castle-epic-title {
		font-size: 19px;
		line-height: 1.35;
		letter-spacing: 0.1em;
	}

	.nex-castle-epic-aside,
	.nex-castle-epic-rows {
		padding-left: 15px;
		padding-right: 15px;
	}

	.nex-char-section {
		margin-top: 34px;
		padding: 28px 0 40px;
	}

	.nex-char-heading-wrap {
		margin-bottom: 19px;
	}

	.nex-char-tagline {
		font-size: 13px;
	}

	.nex-char-visual {
		aspect-ratio: 16 / 10;
	}

	.nex-char-info {
		padding: 21px 17px 24px;
	}

	.nex-char-nav {
		gap: 7px;
		padding: 11px 10px 14px;
	}

	.swiper-nav-btn {
		width: 40px;
		height: 40px;
		border-radius: 10px;
	}

	.nex-thumb {
		width: 48px;
		height: 48px;
	}

	.nex-thumb img {
		width: 35px;
		height: 35px;
	}

	.nex-footer {
		padding: 38px 0 calc(96px + env(safe-area-inset-bottom));
	}

	.nex-footer-grid {
		gap: 22px;
	}

	.nex-footer-bar {
		align-items: flex-start;
		flex-direction: column;
	}

	.nex-stream-dock {
		bottom: calc(78px + env(safe-area-inset-bottom));
	}

	.nex-stream-dock__panel {
		bottom: calc(78px + env(safe-area-inset-bottom));
		height: min(260px, 42dvh);
	}

	.nex-whatsapp-cta {
		left: max(11px, env(safe-area-inset-left));
		bottom: max(11px, env(safe-area-inset-bottom));
		min-height: 54px;
		padding: 7px 13px 7px 7px;
		gap: 9px;
	}

	.nex-whatsapp-cta__icon {
		flex-basis: 40px;
		width: 40px;
		height: 40px;
	}

	.nex-whatsapp-cta__copy small {
		display: none;
	}

	.nex-whatsapp-cta__copy strong {
		font-size: 12px;
	}

	input:not([type="checkbox"]):not([type="radio"]),
	select,
	textarea {
		font-size: 16px !important;
	}
}

@media (max-width: 370px) {
	.nex-container {
		padding-left: max(10px, env(safe-area-inset-left));
		padding-right: max(10px, env(safe-area-inset-right));
	}

	.nex-lang-trigger span {
		display: none;
	}

	.nex-realm-pill {
		padding-inline: 6px;
		font-size: 8px;
	}

	.nex-topbar-account > .nex-link {
		max-width: 68px;
	}

	.nex-nav-img-btn {
		min-width: 68px;
	}

	.nex-dual-rank-card {
		padding-inline: 11px;
	}

	.nex-dual-rank-metrics span {
		font-size: 8px;
		letter-spacing: 0.045em;
	}

	.nex-whatsapp-cta__copy strong {
		font-size: 11px;
	}
}

@media (max-height: 520px) and (orientation: landscape) {
	.nex-nav-drawer {
		padding-top: calc(72px + env(safe-area-inset-top));
	}

	.nex-stream-dock,
	.nex-stream-dock__panel {
		bottom: calc(62px + env(safe-area-inset-bottom));
	}

	.nex-whatsapp-cta {
		min-height: 48px;
	}

	.nex-whatsapp-cta__icon {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nex-whatsapp-cta,
	.nex-whatsapp-cta::before {
		animation: none !important;
		transition: none !important;
	}
}

@media print {
	.nex-whatsapp-cta,
	.nex-stream-dock,
	.nex-nav-toggle,
	.nex-nav-drawer {
		display: none !important;
	}
}

/* ================================================================
   Home — acceso destacado al centro de Guías Nexora
   ================================================================ */

.nex-guides-feature {
	--nex-guides-gold: 220, 164, 62;
	--nex-guides-purple: 174, 83, 255;
	position: relative;
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	min-width: 0;
	margin-top: 24px;
	padding: 21px 23px;
	overflow: hidden;
	border: 1px solid rgba(var(--nex-guides-gold), 0.38);
	border-radius: calc(var(--nex-radius) + 5px);
	background:
		radial-gradient(circle at 8% 50%, rgba(var(--nex-guides-gold), 0.16), transparent 26%),
		radial-gradient(circle at 92% 22%, rgba(var(--nex-guides-purple), 0.18), transparent 28%),
		linear-gradient(112deg, rgba(23, 15, 12, 0.97), rgba(12, 8, 21, 0.98) 55%, rgba(20, 9, 30, 0.98));
	box-shadow:
		0 20px 58px rgba(0, 0, 0, 0.46),
		0 0 38px rgba(var(--nex-guides-purple), 0.07),
		inset 0 1px 0 rgba(255, 255, 255, 0.075);
	color: var(--nex-text) !important;
	text-decoration: none !important;
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	transition:
		border-color 0.28s ease,
		box-shadow 0.28s ease,
		transform 0.22s ease,
		filter 0.28s ease;
}

.nex-guides-feature::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: linear-gradient(90deg, transparent 2%, rgba(var(--nex-guides-gold), 0.9) 34%, rgba(255, 239, 189, 0.95) 50%, rgba(var(--nex-guides-purple), 0.88) 68%, transparent 98%);
	box-shadow: 0 0 18px rgba(var(--nex-guides-gold), 0.24), 0 0 24px rgba(var(--nex-guides-purple), 0.2);
}

.nex-guides-feature::after {
	content: "";
	position: absolute;
	right: -70px;
	top: 50%;
	z-index: -1;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(var(--nex-guides-purple), 0.16);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--nex-guides-purple), 0.11), transparent 65%);
	transform: translateY(-50%);
	animation: nex-guides-aura 5.5s ease-in-out infinite;
}

.nex-guides-feature:hover {
	border-color: rgba(var(--nex-guides-gold), 0.62);
	box-shadow:
		0 24px 68px rgba(0, 0, 0, 0.52),
		0 0 40px rgba(var(--nex-guides-gold), 0.11),
		0 0 46px rgba(var(--nex-guides-purple), 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	color: var(--nex-text) !important;
	filter: none;
	transform: translateY(-3px);
}

.nex-guides-feature:active {
	transform: translateY(-1px) scale(0.995);
}

.nex-guides-feature:focus-visible {
	outline: 3px solid rgba(224, 190, 115, 0.95);
	outline-offset: 4px;
}

.nex-guides-feature__beam {
	position: absolute;
	top: -45%;
	bottom: -45%;
	left: -26%;
	width: 15%;
	background: linear-gradient(90deg, transparent, rgba(255, 240, 204, 0.11), transparent);
	transform: rotate(17deg);
	animation: nex-guides-beam 8s cubic-bezier(0.55, 0.08, 0.35, 0.95) infinite;
	pointer-events: none;
}

.nex-guides-feature__sigil {
	position: relative;
	display: grid;
	width: 70px;
	height: 70px;
	place-items: center;
	border: 1px solid rgba(var(--nex-guides-gold), 0.32);
	border-radius: 19px;
	background:
		radial-gradient(circle at 30% 20%, rgba(var(--nex-guides-gold), 0.22), transparent 46%),
		linear-gradient(145deg, rgba(73, 39, 13, 0.62), rgba(34, 12, 50, 0.72));
	box-shadow:
		0 10px 26px rgba(0, 0, 0, 0.38),
		0 0 24px rgba(var(--nex-guides-gold), 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.11);
	animation: nex-guides-float 4.4s ease-in-out infinite;
}

.nex-guides-feature__sigil::after {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(var(--nex-guides-purple), 0.2);
	border-radius: 14px;
	transform: rotate(45deg);
	transition: border-color 0.25s ease, transform 0.45s ease;
}

.nex-guides-feature:hover .nex-guides-feature__sigil::after {
	border-color: rgba(var(--nex-guides-purple), 0.48);
	transform: rotate(135deg);
}

.nex-guides-feature__sigil svg {
	position: relative;
	z-index: 1;
	width: 52px;
	height: 52px;
	overflow: visible;
}

.nex-guides-feature__ring,
.nex-guides-feature__book,
.nex-guides-feature__spark {
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nex-guides-feature__ring {
	stroke: rgba(216, 165, 78, 0.55);
	stroke-width: 1.3;
}

.nex-guides-feature__book {
	stroke: #f2d894;
	stroke-width: 2.2;
	filter: drop-shadow(0 0 5px rgba(var(--nex-guides-gold), 0.35));
}

.nex-guides-feature__spark {
	fill: #c48aff;
	stroke: #e7c8ff;
	stroke-width: 0.9;
	filter: drop-shadow(0 0 7px rgba(var(--nex-guides-purple), 0.78));
}

.nex-guides-feature__copy {
	display: grid;
	min-width: 0;
	gap: 4px;
}

.nex-guides-feature__copy > small {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: #d9ae62;
}

.nex-guides-feature__copy > strong {
	font-family: var(--nex-display);
	font-size: clamp(22px, 2.6vw, 31px);
	line-height: 1.1;
	letter-spacing: 0.045em;
	color: #f4e2ba;
	text-shadow: 0 0 24px rgba(var(--nex-guides-gold), 0.16);
}

.nex-guides-feature__copy > span {
	display: block;
	max-width: 670px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--nex-muted);
}

.nex-guides-feature__action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	min-width: 216px;
	min-height: 58px;
	padding: 10px 15px 10px 18px;
	border: 1px solid rgba(var(--nex-guides-purple), 0.42);
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(91, 34, 143, 0.46), rgba(49, 17, 71, 0.62)),
		rgba(8, 5, 14, 0.55);
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.35),
		0 0 24px rgba(var(--nex-guides-purple), 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.09);
	transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nex-guides-feature__action > span {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.nex-guides-feature__action small {
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(232, 218, 247, 0.58);
}

.nex-guides-feature__action strong {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	white-space: nowrap;
	color: #f7e9ff;
}

.nex-guides-feature__action svg {
	flex: 0 0 23px;
	width: 23px;
	height: 23px;
	fill: none;
	stroke: #dca9ff;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	filter: drop-shadow(0 0 6px rgba(var(--nex-guides-purple), 0.5));
	transition: transform 0.25s ease, stroke 0.25s ease;
}

.nex-guides-feature:hover .nex-guides-feature__action {
	border-color: rgba(var(--nex-guides-purple), 0.68);
	background:
		linear-gradient(135deg, rgba(116, 46, 177, 0.58), rgba(65, 21, 93, 0.7)),
		rgba(8, 5, 14, 0.62);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.42), 0 0 30px rgba(var(--nex-guides-purple), 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nex-guides-feature:hover .nex-guides-feature__action svg {
	stroke: #f0d8ff;
	transform: translateX(4px);
}

@keyframes nex-guides-float {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-4px) rotate(1deg); }
}

@keyframes nex-guides-aura {
	0%, 100% { opacity: 0.48; transform: translateY(-50%) scale(0.94); }
	50% { opacity: 0.92; transform: translateY(-50%) scale(1.08); }
}

@keyframes nex-guides-beam {
	0%, 18% { left: -26%; opacity: 0; }
	25% { opacity: 0.75; }
	55%, 100% { left: 115%; opacity: 0; }
}

@media (max-width: 760px) {
	.nex-guides-feature {
		grid-template-columns: 62px minmax(0, 1fr);
		gap: 14px;
		padding: 18px;
	}

	.nex-guides-feature__sigil {
		width: 60px;
		height: 60px;
		border-radius: 16px;
	}

	.nex-guides-feature__sigil svg {
		width: 46px;
		height: 46px;
	}

	.nex-guides-feature__action {
		grid-column: 1 / -1;
		justify-content: space-between;
		width: 100%;
		min-width: 0;
		min-height: 52px;
	}
}

@media (max-width: 430px) {
	.nex-guides-feature {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 12px;
		margin-top: 18px;
		padding: 15px 14px;
		border-radius: var(--nex-radius);
	}

	.nex-guides-feature__sigil {
		width: 52px;
		height: 52px;
		border-radius: 14px;
	}

	.nex-guides-feature__sigil svg {
		width: 40px;
		height: 40px;
	}

	.nex-guides-feature__copy > small {
		font-size: 8px;
		letter-spacing: 0.13em;
	}

	.nex-guides-feature__copy > strong {
		font-size: 21px;
	}

	.nex-guides-feature__copy > span {
		grid-column: 1 / -1;
		margin-top: 3px;
		font-size: 12px;
		line-height: 1.48;
	}

	.nex-guides-feature__action {
		padding-inline: 15px;
	}

	.nex-guides-feature__action small {
		font-size: 7px;
		letter-spacing: 0.045em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nex-guides-feature,
	.nex-guides-feature::after,
	.nex-guides-feature__beam,
	.nex-guides-feature__sigil,
	.nex-guides-feature__sigil::after,
	.nex-guides-feature__action svg {
		animation: none !important;
		transition: none !important;
	}
}

@media print {
	.nex-guides-feature {
		display: none !important;
	}
}

/* ——— Registro: aceptación expresa de Términos Nexora ——— */
.nex-auth-consent {
	position: relative;
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin: 2px 0 0;
	padding: 14px 15px;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 13px;
	background: linear-gradient(145deg, rgba(20, 15, 30, 0.7), rgba(8, 7, 13, 0.78));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nex-auth-consent:hover {
	border-color: rgba(196, 152, 88, 0.32);
	background: linear-gradient(145deg, rgba(25, 18, 35, 0.78), rgba(10, 8, 16, 0.84));
}

.nex-auth-consent > input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.nex-auth-consent__box {
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 7px;
	border: 1px solid rgba(196, 152, 88, 0.5);
	background: rgba(0, 0, 0, 0.38);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: 0.2s ease;
}

.nex-auth-consent > input:focus-visible + .nex-auth-consent__box {
	outline: 2px solid rgba(168, 85, 247, 0.75);
	outline-offset: 3px;
}

.nex-auth-consent > input:checked + .nex-auth-consent__box {
	border-color: rgba(224, 178, 99, 0.9);
	background: linear-gradient(145deg, rgba(224, 148, 52, 0.94), rgba(152, 83, 27, 0.96));
	box-shadow: 0 0 16px rgba(224, 148, 52, 0.24);
}

.nex-auth-consent > input:checked + .nex-auth-consent__box::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: solid #fff7e8;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.nex-auth-consent__copy {
	display: block;
	font-size: 12.5px;
	line-height: 1.55;
	color: rgba(232, 228, 240, 0.83);
}

.nex-auth-consent__copy a {
	color: var(--nex-gold) !important;
	font-weight: 700;
	text-decoration: none;
}

.nex-auth-consent__copy a:hover {
	color: #fff3cf !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nex-auth-consent__copy small {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	line-height: 1.4;
	color: rgba(192, 185, 203, 0.68);
}

/* ——— Términos y Condiciones Nexora ——— */
.nex-page-main:has(.nex-legal) {
	width: 100%;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.nex-legal {
	width: 100%;
	color: var(--nex-text);
}

.nex-legal-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(26px, 4vw, 44px);
	margin-bottom: 22px;
	background:
		radial-gradient(circle at 15% 10%, rgba(219, 139, 45, 0.12), transparent 34%),
		radial-gradient(circle at 88% 5%, rgba(168, 85, 247, 0.15), transparent 31%),
		linear-gradient(145deg, rgba(19, 14, 28, 0.92), rgba(8, 7, 13, 0.94));
}

.nex-legal-hero__glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(110deg, rgba(224, 148, 52, 0.05), transparent 35%, rgba(168, 85, 247, 0.05));
}

.nex-legal-kicker {
	position: relative;
	z-index: 1;
	margin: 0 0 9px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--nex-orange);
}

.nex-legal-hero h1 {
	position: relative;
	z-index: 1;
	margin: 0;
	max-width: 900px;
	font-family: var(--nex-display);
	font-size: clamp(27px, 5vw, 46px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0.025em;
	color: #f2d79f;
}

.nex-legal-lead {
	position: relative;
	z-index: 1;
	max-width: 880px;
	margin: 16px 0 0;
	font-size: clamp(14px, 2vw, 16px);
	line-height: 1.75;
	color: rgba(231, 226, 238, 0.82);
}

.nex-legal-meta {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 20px;
	padding-top: 17px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	font-size: 12px;
	line-height: 1.5;
	color: rgba(195, 188, 207, 0.76);
}

.nex-legal-meta span {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nex-legal-meta strong {
	color: rgba(242, 215, 159, 0.92);
	font-weight: 700;
}

.nex-legal-principles {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.nex-legal-principles span {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 7px 11px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.24);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.025em;
	color: rgba(230, 225, 238, 0.78);
}

.nex-legal-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.nex-legal-nav {
	position: sticky;
	top: 84px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 16px;
	background: rgba(12, 9, 18, 0.84);
}

.nex-legal-nav__title {
	margin: 2px 8px 10px;
	font-family: var(--nex-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--nex-gold);
}

.nex-legal-nav a {
	display: block;
	padding: 8px 9px;
	border-radius: 9px;
	font-size: 12px;
	line-height: 1.35;
	color: rgba(208, 201, 218, 0.76) !important;
	text-decoration: none;
	transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.nex-legal-nav a:hover {
	color: #fff3cf !important;
	background: rgba(196, 152, 88, 0.09);
	transform: translateX(2px);
}

.nex-legal-nav .nex-legal-nav__back {
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0;
	color: var(--nex-orange) !important;
	font-weight: 700;
}

.nex-legal-content {
	padding: clamp(18px, 3vw, 32px);
	background: linear-gradient(160deg, rgba(18, 14, 26, 0.9), rgba(9, 8, 14, 0.94));
}

.nex-legal-section {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 16px;
	padding: 25px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.075);
	scroll-margin-top: 90px;
}

.nex-legal-section:first-child {
	padding-top: 2px;
}

.nex-legal-section:last-child {
	padding-bottom: 4px;
	border-bottom: 0;
}

.nex-legal-section__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(196, 152, 88, 0.28);
	border-radius: 11px;
	background: rgba(196, 152, 88, 0.06);
	font-family: var(--nex-display);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--nex-orange);
}

.nex-legal-section h2 {
	margin: 1px 0 10px;
	font-family: var(--nex-display);
	font-size: clamp(17px, 2.5vw, 21px);
	line-height: 1.35;
	font-weight: 700;
	color: #ead7b4;
}

.nex-legal-section p {
	margin: 0 0 11px;
	font-size: 14px;
	line-height: 1.78;
	color: rgba(218, 212, 227, 0.79);
}

.nex-legal-section p:last-child {
	margin-bottom: 0;
}

.nex-legal-section--final {
	margin-top: 4px;
}

.nex-legal-final-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.nex-legal-final-actions .nex-btn {
	min-width: 150px;
	justify-content: center;
}

.nex-legal-note {
	max-width: 850px;
	margin: 18px auto 0;
	padding: 0 14px;
	text-align: center;
	font-size: 11px;
	line-height: 1.6;
	color: rgba(174, 166, 187, 0.6);
}

@media (max-width: 900px) {
	.nex-legal-layout {
		grid-template-columns: 1fr;
	}

	.nex-legal-nav {
		position: relative;
		top: auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.nex-legal-nav__title,
	.nex-legal-nav .nex-legal-nav__back {
		grid-column: 1 / -1;
	}
}

@media (max-width: 560px) {
	.nex-page-main:has(.nex-legal) {
		padding-left: 0;
		padding-right: 0;
	}

	.nex-legal-hero {
		padding: 24px 18px;
	}

	.nex-legal-meta {
		flex-direction: column;
		gap: 7px;
	}

	.nex-legal-nav {
		grid-template-columns: 1fr;
		padding: 12px;
	}

	.nex-legal-nav__title,
	.nex-legal-nav .nex-legal-nav__back {
		grid-column: auto;
	}

	.nex-legal-content {
		padding: 17px;
	}

	.nex-legal-section {
		grid-template-columns: 1fr;
		gap: 9px;
		padding: 22px 0;
	}

	.nex-legal-section__num {
		width: 34px;
		height: 34px;
		border-radius: 9px;
	}

	.nex-legal-section p {
		font-size: 13.5px;
		line-height: 1.72;
	}

	.nex-legal-final-actions {
		flex-direction: column;
	}

	.nex-legal-final-actions .nex-btn {
		width: 100%;
	}
}

/* =========================================================
   Nexora Content Hub - admin managed guides/community media
   ========================================================= */
.nex-content-hub {
	margin-top: 48px;
	padding: 34px 0 58px;
	position: relative;
}

.nex-content-hub__heading {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 26px;
}

.nex-content-hub__eyebrow {
	margin: 0 0 7px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--nex-gold-dim);
}

.nex-content-hub__subtitle {
	margin: 11px auto 0;
	max-width: 680px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--nex-muted);
}

.nex-content-hub__shell {
	position: relative;
	border: 1px solid rgba(196, 152, 88, .28);
	border-radius: calc(var(--nex-radius) + 5px);
	background:
		radial-gradient(circle at 10% 20%, rgba(255, 118, 42, .08), transparent 28%),
		radial-gradient(circle at 92% 12%, rgba(132, 63, 207, .13), transparent 30%),
		linear-gradient(180deg, rgba(15, 11, 23, .94), rgba(5, 4, 9, .98));
	overflow: hidden;
	box-shadow: 0 28px 90px rgba(0, 0, 0, .52);
}

.nex-content-swiper {
	width: 100%;
}

.nex-content-card {
	display: grid;
	grid-template-columns: minmax(360px, .88fr) minmax(360px, 1.12fr);
	min-height: 560px;
}

.nex-content-card__visual {
	padding: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(90deg, rgba(4, 3, 8, .95), rgba(8, 6, 13, .65)),
		radial-gradient(circle at 50% 50%, rgba(196, 152, 88, .12), transparent 58%);
	border-right: 1px solid rgba(255, 255, 255, .06);
}

.nex-content-card__image-frame {
	position: relative;
	width: min(100%, 410px);
	aspect-ratio: 3 / 4.35;
	border-radius: 12px;
	background: #050409;
	border: 1px solid rgba(196, 152, 88, .32);
	overflow: hidden;
	box-shadow: 0 25px 70px rgba(0, 0, 0, .6), 0 0 34px rgba(132, 63, 207, .08);
}

.nex-content-card__image {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	object-position: center;
	background: #050409;
	transition: opacity .18s ease, transform .32s ease;
}

.nex-content-card__image.is-loading {
	opacity: .48;
}

.nex-content-card__image-frame:hover .nex-content-card__image {
	transform: scale(1.012);
}

.nex-content-card__image-glow {
	position: absolute;
	inset: -20%;
	z-index: 0;
	background: radial-gradient(circle, rgba(150, 79, 221, .16), transparent 58%);
	filter: blur(24px);
	pointer-events: none;
}

.nex-content-card__open {
	position: absolute;
	z-index: 4;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, .15);
	background: rgba(5, 4, 9, .82);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	cursor: pointer;
	backdrop-filter: blur(8px);
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.nex-content-card__open:hover {
	border-color: rgba(196, 152, 88, .65);
	background: rgba(20, 14, 29, .94);
	transform: translateY(-1px);
}

.nex-content-card__page-counter {
	position: absolute;
	z-index: 4;
	right: 14px;
	bottom: 14px;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(5, 4, 9, .82);
	border: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .82);
	font-size: 11px;
	font-variant-numeric: tabular-nums;
	backdrop-filter: blur(8px);
}

.nex-content-card__page-arrow,
.nex-content-lightbox__arrow {
	position: absolute;
	z-index: 5;
	top: 50%;
	width: 42px;
	height: 48px;
	margin-top: -24px;
	border: 1px solid rgba(196, 152, 88, .34);
	border-radius: 10px;
	background: rgba(5, 4, 9, .78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d2aa72' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E") center/22px no-repeat;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.nex-content-card__page-arrow:hover,
.nex-content-lightbox__arrow:hover {
	background-color: rgba(28, 18, 38, .92);
	border-color: rgba(196, 152, 88, .68);
}

.nex-content-card__page-arrow--prev { left: 12px; }
.nex-content-card__page-arrow--next { right: 12px; transform: scaleX(-1); }
.nex-content-card__page-arrow--next:hover { transform: scaleX(-1) scale(1.04); }

.nex-content-card__info {
	padding: clamp(34px, 5vw, 58px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	background: linear-gradient(135deg, rgba(15, 11, 24, .8), rgba(7, 5, 12, .95));
}

.nex-content-card__category {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	border: 1px solid rgba(196, 152, 88, .32);
	background: rgba(196, 152, 88, .08);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--nex-gold);
}

.nex-content-card__info h3 {
	margin: 18px 0 10px;
	font-family: var(--nex-display);
	font-size: clamp(27px, 4.2vw, 42px);
	line-height: 1.08;
	letter-spacing: .035em;
	color: #d7c1f5;
	text-shadow: 0 0 28px rgba(148, 84, 214, .13);
}

.nex-content-card__description {
	margin: 0;
	max-width: 620px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--nex-muted);
}

.nex-content-card__credit {
	margin: 18px 0 0;
	font-size: 12px;
	color: rgba(255, 255, 255, .74);
}

.nex-content-card__credit span {
	margin-right: 8px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--nex-gold-dim);
}

.nex-content-card__page-meta {
	width: 100%;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .07);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-size: 11px;
	color: rgba(255, 255, 255, .52);
}

.nex-content-card__page-meta strong {
	color: var(--nex-gold);
}

.nex-content-card__page-meta [data-nex-page-caption] {
	text-align: right;
	color: rgba(255, 255, 255, .7);
}

.nex-content-card__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.nex-content-card__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	cursor: pointer;
	transition: width .2s ease, background .2s ease, box-shadow .2s ease;
}

.nex-content-card__dot.is-active {
	width: 24px;
	background: var(--nex-gold);
	box-shadow: 0 0 14px rgba(196, 152, 88, .35);
}

.nex-content-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.nex-content-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 10px 15px;
	border: 1px solid rgba(255, 255, 255, .13);
	border-radius: 10px;
	background: rgba(255, 255, 255, .035);
	color: rgba(255, 255, 255, .86);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.nex-content-action:hover {
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	border-color: rgba(196, 152, 88, .48);
	background: rgba(196, 152, 88, .08);
}

.nex-content-action--primary {
	border-color: rgba(132, 63, 207, .52);
	background: linear-gradient(135deg, rgba(132, 63, 207, .18), rgba(196, 152, 88, .1));
}

.nex-content-hub__guide-nav {
	display: flex;
	align-items: stretch;
	gap: 10px;
	padding: 13px 14px 15px;
	border-top: 1px solid rgba(255, 255, 255, .06);
	background: rgba(3, 3, 7, .78);
}

.nex-content-guide-prev,
.nex-content-guide-next {
	align-self: center;
}

.nex-content-guide-next { transform: scaleX(-1); }
.nex-content-guide-next:hover { transform: scaleX(-1) scale(1.05); }

.nex-content-hub__tabs {
	flex: 1;
	min-width: 0;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 2px 2px 5px;
	scrollbar-width: thin;
	scrollbar-color: rgba(196, 152, 88, .38) transparent;
}

.nex-content-tab {
	flex: 0 0 auto;
	min-width: 145px;
	max-width: 210px;
	padding: 9px 12px;
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 10px;
	background: rgba(255, 255, 255, .025);
	color: rgba(255, 255, 255, .65);
	text-align: left;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.nex-content-tab small,
.nex-content-tab span {
	display: block;
}

.nex-content-tab small {
	font-size: 8px;
	font-weight: 800;
	letter-spacing: .11em;
	text-transform: uppercase;
	color: var(--nex-gold-dim);
}

.nex-content-tab span {
	margin-top: 3px;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nex-content-tab:hover,
.nex-content-tab.is-active {
	color: #fff;
	border-color: rgba(196, 152, 88, .42);
	background: linear-gradient(135deg, rgba(196, 152, 88, .11), rgba(132, 63, 207, .09));
}

.nex-content-tab.is-active {
	box-shadow: inset 0 -2px 0 rgba(196, 152, 88, .72);
}

body.nex-content-lightbox-open {
	overflow: hidden;
}

.nex-content-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	padding: 18px;
	align-items: center;
	justify-content: center;
}

.nex-content-lightbox.is-open { display: flex; }

.nex-content-lightbox__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(2, 2, 5, .92);
	backdrop-filter: blur(10px);
	cursor: zoom-out;
}

.nex-content-lightbox__panel {
	position: relative;
	z-index: 2;
	width: min(96vw, 1180px);
	height: min(94vh, 920px);
	display: grid;
	grid-template-rows: auto 1fr auto;
	border: 1px solid rgba(196, 152, 88, .35);
	border-radius: 14px;
	background: #07060b;
	overflow: hidden;
	box-shadow: 0 35px 120px rgba(0, 0, 0, .75);
}

.nex-content-lightbox__topbar,
.nex-content-lightbox__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 16px;
	background: rgba(12, 9, 18, .96);
}

.nex-content-lightbox__topbar {
	border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.nex-content-lightbox__topbar small,
.nex-content-lightbox__topbar strong {
	display: block;
}

.nex-content-lightbox__topbar small {
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: .13em;
	color: var(--nex-gold-dim);
}

.nex-content-lightbox__topbar strong {
	margin-top: 2px;
	font-family: var(--nex-display);
	font-size: 17px;
	color: #d8c3f7;
}

.nex-content-lightbox__close {
	width: 38px;
	height: 38px;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .04);
	color: #fff;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.nex-content-lightbox__stage {
	position: relative;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 64px;
	background: radial-gradient(circle at 50% 45%, rgba(86, 44, 125, .12), transparent 50%), #040307;
}

.nex-content-lightbox__stage img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 18px 70px rgba(0, 0, 0, .48);
}

.nex-content-lightbox__arrow--prev { left: 12px; }
.nex-content-lightbox__arrow--next { right: 12px; transform: scaleX(-1); }
.nex-content-lightbox__arrow--next:hover { transform: scaleX(-1) scale(1.04); }

.nex-content-lightbox__footer {
	border-top: 1px solid rgba(255, 255, 255, .07);
	font-size: 11px;
	color: rgba(255, 255, 255, .64);
}

.nex-content-lightbox__footer strong {
	color: var(--nex-gold);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
	.nex-content-card {
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.nex-content-card__visual {
		padding: 18px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, .06);
	}
	.nex-content-card__image-frame {
		width: min(88vw, 430px);
		max-height: 68vh;
	}
	.nex-content-card__info {
		padding: 28px 22px 32px;
	}
	.nex-content-card__info h3 {
		font-size: clamp(25px, 7vw, 35px);
	}
}

@media (max-width: 640px) {
	.nex-content-hub {
		margin-top: 34px;
		padding-bottom: 40px;
	}
	.nex-content-hub__shell {
		border-radius: 12px;
	}
	.nex-content-card__visual {
		padding: 12px;
	}
	.nex-content-card__image-frame {
		width: 100%;
		aspect-ratio: 3 / 4.45;
	}
	.nex-content-card__page-arrow {
		width: 36px;
		height: 44px;
	}
	.nex-content-card__info {
		padding: 24px 18px 28px;
	}
	.nex-content-card__page-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}
	.nex-content-card__page-meta [data-nex-page-caption] { text-align: left; }
	.nex-content-hub__guide-nav { padding: 10px; }
	.nex-content-guide-prev,
	.nex-content-guide-next {
		width: 38px;
		height: 42px;
	}
	.nex-content-tab {
		min-width: 132px;
	}
	.nex-content-lightbox { padding: 7px; }
	.nex-content-lightbox__panel {
		width: 100%;
		height: 96vh;
		border-radius: 10px;
	}
	.nex-content-lightbox__stage { padding: 8px 42px; }
	.nex-content-lightbox__arrow {
		width: 34px;
		height: 44px;
	}
	.nex-content-lightbox__arrow--prev { left: 4px; }
	.nex-content-lightbox__arrow--next { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	.nex-content-card__image,
	.nex-content-card__dot,
	.nex-content-tab,
	.nex-content-action,
	.nex-content-card__open {
		transition: none !important;
	}
}

/* Release transformed containing block after reveal so the full-screen viewer stays viewport-fixed. */
.nex-content-hub.nex-reveal.is-visible {
	transform: none;
}

/* News Studio público */
.nex-news-studio-page { max-width:1180px; margin:0 auto; padding:24px 0 50px; }
.nex-news-public-hero { padding:30px 34px; margin-bottom:20px; border:1px solid rgba(216,153,47,.3); border-radius:18px; background:linear-gradient(115deg,rgba(17,13,19,.96),rgba(35,14,45,.86)); box-shadow:0 18px 55px rgba(0,0,0,.35); }
.nex-news-public-hero span,.nex-news-public-tags span { font-size:11px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.nex-news-public-hero span { color:#e7ad49; }
.nex-news-public-hero h1 { margin:7px 0; color:#f5d487; font-family:Cinzel,serif; font-size:clamp(30px,4vw,48px); }
.nex-news-public-hero p { margin:0; color:#bcb5c3; }
.nex-news-public-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.nex-news-public-card,.nex-news-public-article { overflow:hidden; border:1px solid rgba(164,82,217,.24); border-radius:17px; background:rgba(12,10,17,.94); box-shadow:0 16px 44px rgba(0,0,0,.32); }
.nex-news-public-card.is-featured { border-color:rgba(230,158,43,.62); box-shadow:0 0 28px rgba(213,118,30,.15),0 16px 44px rgba(0,0,0,.36); }
.nex-news-public-card__cover { display:block; height:220px; overflow:hidden; }
.nex-news-public-card__cover img,.nex-news-public-article__cover img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.nex-news-public-card:hover .nex-news-public-card__cover img { transform:scale(1.035); }
.nex-news-public-card__body { padding:24px; }
.nex-news-public-tags { display:flex; gap:8px; flex-wrap:wrap; }
.nex-news-public-tags span { padding:6px 9px; color:#bdaeca; border:1px solid rgba(255,255,255,.1); border-radius:999px; }
.nex-news-public-tags .is-type { color:#ffc766; border-color:rgba(230,158,43,.38); background:rgba(161,82,15,.16); }
.nex-news-public-card h2,.nex-news-public-article h2 { font-family:Cinzel,serif; color:#f0d18a; }
.nex-news-public-card h2 { margin:16px 0 10px; font-size:23px; }
.nex-news-public-card h2 a { color:inherit; }
.nex-news-public-card p { min-height:48px; color:#aaa3b1; line-height:1.65; }
.nex-news-public-card footer { display:flex; justify-content:space-between; gap:15px; padding-top:15px; border-top:1px solid rgba(255,255,255,.07); color:#777180; }
.nex-news-public-card footer a,.nex-news-public-back { color:#d89f3f; font-weight:700; }
.nex-news-public-article__cover { height:min(520px,52vw); }
.nex-news-public-article__body { padding:clamp(25px,5vw,56px); }
.nex-news-public-article h2 { margin:18px 0 8px; font-size:clamp(28px,4vw,46px); }
.nex-news-public-meta { color:#8d8593; }
.nex-news-public-content { margin:28px 0; color:#c7c1cb; font-size:16px; line-height:1.8; }
.nex-news-public-content img { max-width:100%; height:auto; border-radius:12px; }
.nex-news-public-back { display:inline-flex; margin-top:12px; }
@media (max-width:760px) { .nex-news-public-grid{grid-template-columns:1fr}.nex-news-public-hero{padding:24px 20px}.nex-news-public-card__cover{height:190px}.nex-news-public-article__cover{height:52vw} }

/* Ambientación musical Nexora */
.nex-music{position:fixed;left:18px;bottom:86px;z-index:1100;width:min(390px,calc(100vw - 36px));font-family:"DM Sans",sans-serif;color:#eee}
.nex-music__activate,.nex-music__panel{border:1px solid rgba(226,157,49,.48);background:linear-gradient(125deg,rgba(18,12,10,.97),rgba(20,10,29,.97));box-shadow:0 16px 45px rgba(0,0,0,.52),0 0 24px rgba(151,61,225,.12)}
.nex-music__activate{display:grid;grid-template-columns:36px 1fr;gap:0 10px;width:100%;padding:12px 16px;border-radius:14px;color:#f3d28b;text-align:left}.nex-music__activate span{grid-row:1/3;align-self:center;font-size:28px;color:#c37aff;text-shadow:0 0 14px #7b28bf}.nex-music__activate strong{font-family:Cinzel,serif;font-size:13px}.nex-music__activate small{color:#98909f}
.nex-music__panel{display:none;padding:12px;border-radius:15px}.nex-music.is-activated .nex-music__activate{display:none}.nex-music.is-activated .nex-music__panel{display:block}
.nex-music__brand{display:flex;align-items:center;gap:11px;padding:2px 4px 11px}.nex-music__sigil{display:grid;place-items:center;width:36px;height:36px;border:1px solid #9a58c5;border-radius:50%;font-family:Cinzel,serif;color:#ffc969;box-shadow:inset 0 0 13px rgba(157,60,213,.3)}.nex-music__brand>span:last-child{min-width:0}.nex-music__brand small,.nex-music__brand strong,.nex-music__brand em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nex-music__brand small{color:#8f8795;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.nex-music__brand strong{color:#efd18f;font-family:Cinzel,serif;font-size:12px}.nex-music__brand em{color:#9f98a5;font-size:10px;font-style:normal}
.nex-music__controls{display:flex;align-items:center;gap:7px}.nex-music__controls button{width:31px;height:31px;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:rgba(255,255,255,.045);color:#d7cbdc}.nex-music__controls button:hover{border-color:#b173d8;color:#fff}.nex-music__controls .is-main{border-color:#b77a2e;background:linear-gradient(135deg,#864013,#66237e);color:#ffe3a5}.nex-music__controls input{flex:1;min-width:55px;accent-color:#b66ddd}.nex-music.is-playing .nex-music__sigil{animation:nexMusicPulse 1.8s ease-in-out infinite}.nex-music.is-minimized{width:auto}.nex-music.is-minimized .nex-music__brand,.nex-music.is-minimized .nex-music__controls>*:not(.is-main):not([data-music-minimize]){display:none}.nex-music.is-minimized .nex-music__panel{padding:7px}.nex-music.is-minimized .nex-music__controls{gap:5px}@keyframes nexMusicPulse{50%{box-shadow:inset 0 0 15px rgba(157,60,213,.55),0 0 18px rgba(222,145,42,.35)}}
.nex-music__youtube{display:none;width:100%;height:200px;margin:0 0 10px;overflow:hidden;border-radius:9px;background:#07060a}.nex-music.is-activated[data-mode="youtube"] .nex-music__youtube,.nex-music.is-activated[data-mode="hybrid"] .nex-music__youtube{display:block}.nex-music__youtube iframe{display:block;width:100%!important;height:200px!important}.nex-music.is-minimized .nex-music__youtube{display:none!important}
.nex-music__consent{display:none;grid-template-columns:46px 1fr;gap:10px 13px;padding:18px;border:1px solid rgba(231,161,52,.55);border-radius:16px;background:linear-gradient(125deg,rgba(19,12,10,.98),rgba(23,10,33,.98));box-shadow:0 20px 55px rgba(0,0,0,.58),0 0 30px rgba(143,53,211,.17);animation:nexMusicConsentIn .55s cubic-bezier(.2,.75,.25,1) both}.nex-music.is-prompting .nex-music__consent{display:grid}.nex-music__consent-sigil{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(191,112,230,.72);border-radius:50%;font:700 19px Cinzel,serif;color:#ffd17a;box-shadow:inset 0 0 15px rgba(157,60,213,.32),0 0 16px rgba(214,130,37,.16)}.nex-music__consent-copy small{display:block;color:#c59f57;font-size:9px;font-weight:800;letter-spacing:.17em}.nex-music__consent-copy strong{display:block;margin:3px 0 4px;color:#f2d69a;font:700 15px Cinzel,serif}.nex-music__consent-copy p{margin:0;color:#aaa2b0;font-size:12px;line-height:1.5}.nex-music__consent-actions{grid-column:1/-1;display:flex;gap:8px;padding-top:3px}.nex-music__consent-actions button{flex:1;padding:9px 12px;border:1px solid rgba(255,255,255,.13);border-radius:8px;background:rgba(255,255,255,.045);color:#bdb5c3;font-weight:700}.nex-music__consent-actions button.is-primary{border-color:#b8732b;background:linear-gradient(130deg,#844112,#68247c);color:#ffe1a0;box-shadow:0 0 18px rgba(213,119,29,.18)}.nex-music__reopen{display:none;width:46px;height:46px;border:1px solid #a867cf;border-radius:50%;background:linear-gradient(135deg,#633078,#7d3d15);color:#ffe0a0;font-size:20px;box-shadow:0 8px 28px rgba(0,0,0,.48),0 0 18px rgba(156,70,216,.25)}.nex-music.is-declined .nex-music__reopen{display:block}@keyframes nexMusicConsentIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:600px){.nex-music{left:10px;bottom:82px;width:calc(100vw - 20px)}.nex-music__controls{gap:5px}.nex-music__controls button{width:29px;height:29px}}

/* ========== Perfil avanzado: portrait + equipamiento (V4) ========== */
.nexora-player-avatar {
	overflow: hidden;
}

.nexora-player-avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.nexora-equipment-section {
	margin-top: 30px;
	margin-bottom: 0;
	padding-top: 24px;
	border-top: 1px solid var(--nex-line);
}

.nexora-equipment-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.nexora-equipment-heading .nexora-player-section-title {
	margin-bottom: 4px;
	min-width: 180px;
}

.nexora-equipment-source,
.nexora-equipment-note {
	margin: 0;
	font-size: 0.7rem;
	line-height: 1.5;
	color: var(--nex-muted);
}

.nexora-equipment-refresh {
	flex: 0 0 auto;
	min-width: 142px;
	padding: 9px 14px;
	border: 1px solid rgba(196, 152, 88, 0.38);
	border-radius: 9px;
	background: rgba(196, 152, 88, 0.09);
	color: var(--nex-gold);
	font: inherit;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.nexora-equipment-refresh:hover:not(:disabled),
.nexora-equipment-refresh:focus-visible {
	background: rgba(196, 152, 88, 0.17);
	border-color: rgba(196, 152, 88, 0.7);
	outline: none;
}

.nexora-equipment-refresh:disabled {
	cursor: wait;
	opacity: 0.58;
}

.nexora-equipment-message {
	margin: 0 0 16px;
	padding: 10px 12px;
	border: 1px solid rgba(245, 158, 50, 0.28);
	border-radius: 9px;
	background: rgba(245, 158, 50, 0.08);
	color: #efc785;
	font-size: 0.72rem;
}

.nexora-equipment-message.is-hidden {
	display: none;
}

.nexora-equipment-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(84px, 1fr));
	grid-template-rows: repeat(4, minmax(96px, auto));
	grid-template-areas:
		". . helm . ."
		"wings armor center pants pet"
		"weapon1 gloves center boots weapon2"
		". ring1 pendant ring2 .";
	gap: 12px;
	align-items: center;
	justify-items: center;
	padding: 22px;
	margin-bottom: 13px;
	border: 1px solid rgba(255, 255, 255, 0.065);
	border-radius: 14px;
	background:
		radial-gradient(circle at 50% 44%, rgba(196, 152, 88, 0.08), transparent 30%),
		linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
}

.nexora-equipment-center {
	grid-area: center;
	position: relative;
	align-self: stretch;
	justify-self: stretch;
	min-height: 206px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	border: 1px solid rgba(196, 152, 88, 0.16);
	border-radius: 60px 60px 18px 18px;
	background: linear-gradient(180deg, rgba(196,152,88,0.07), rgba(42,20,60,0.08));
	overflow: hidden;
}

.nexora-equipment-center::after {
	content: "";
	position: absolute;
	inset: auto 15% 10px;
	height: 18px;
	border-radius: 50%;
	background: rgba(196, 152, 88, 0.13);
	filter: blur(9px);
}

.nexora-equipment-center img {
	display: block;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	border: 1px solid rgba(196,152,88,0.4);
	box-shadow: 0 0 24px rgba(196,152,88,0.13);
}

.nexora-equipment-center span {
	position: relative;
	z-index: 2;
	font-family: var(--nex-display);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	color: var(--nex-gold);
}

.nexora-equipment-slot {
	position: relative;
	width: 100%;
	max-width: 104px;
	min-width: 78px;
	height: 94px;
	padding: 5px;
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 11px;
	background: rgba(8,7,13,0.66);
	color: var(--nex-text);
	font: inherit;
	cursor: default;
	box-shadow: inset 0 0 18px rgba(0,0,0,0.16);
	transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
	z-index: 2;
}

.nexora-equipment-slot.is-occupied {
	cursor: help;
}

.nexora-equipment-slot.is-occupied:hover,
.nexora-equipment-slot.is-occupied:focus-visible,
.nexora-equipment-slot.is-open {
	transform: translateY(-2px);
	border-color: rgba(196,152,88,0.52);
	box-shadow: 0 8px 22px rgba(0,0,0,0.34), 0 0 15px rgba(196,152,88,0.08);
	outline: none;
	z-index: 20;
}

.nexora-equipment-slot.rarity-excellent {
	border-color: rgba(71, 215, 111, 0.42);
	box-shadow: inset 0 0 18px rgba(71,215,111,0.055);
}

.nexora-equipment-slot.rarity-ancient {
	border-color: rgba(104, 207, 255, 0.48);
	box-shadow: inset 0 0 18px rgba(104,207,255,0.06);
}

.nexora-equipment-slot.rarity-socket {
	border-color: rgba(191, 111, 255, 0.46);
	box-shadow: inset 0 0 18px rgba(191,111,255,0.06);
}

.nexora-equipment-slot.rarity-harmony {
	border-color: rgba(242, 201, 76, 0.44);
}

.nexora-equipment-slot-label {
	position: absolute;
	left: 5px;
	right: 5px;
	bottom: 4px;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 0.54rem;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.47);
}

.nexora-equipment-slot-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 68px;
}

.nexora-equipment-slot-visual img {
	display: block;
	max-width: 62px;
	max-height: 60px;
	width: auto;
	height: auto;
	filter: drop-shadow(0 4px 7px rgba(0,0,0,0.5));
}

.nexora-equipment-item-code {
	font-size: 0.68rem;
	font-weight: 700;
	color: var(--nex-gold);
}

.nexora-equipment-empty-mark {
	font-family: var(--nex-display);
	font-size: 1.1rem;
	font-weight: 400;
	color: rgba(255,255,255,0.17);
}

.nexora-equipment-slot--weapon1 { grid-area: weapon1; }
.nexora-equipment-slot--weapon2 { grid-area: weapon2; }
.nexora-equipment-slot--helm { grid-area: helm; }
.nexora-equipment-slot--armor { grid-area: armor; }
.nexora-equipment-slot--pants { grid-area: pants; }
.nexora-equipment-slot--gloves { grid-area: gloves; }
.nexora-equipment-slot--boots { grid-area: boots; }
.nexora-equipment-slot--wings { grid-area: wings; }
.nexora-equipment-slot--pet { grid-area: pet; }
.nexora-equipment-slot--pendant { grid-area: pendant; }
.nexora-equipment-slot--ring1 { grid-area: ring1; }
.nexora-equipment-slot--ring2 { grid-area: ring2; }

.nexora-equipment-tooltip {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 9px);
	width: 230px;
	max-width: min(230px, 78vw);
	padding: 11px 12px;
	transform: translate(-50%, 6px);
	border: 1px solid rgba(196,152,88,0.35);
	border-radius: 10px;
	background: rgba(9,7,14,0.97);
	box-shadow: 0 14px 32px rgba(0,0,0,0.48);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
	text-align: left;
	z-index: 50;
}

.nexora-equipment-slot--weapon1 .nexora-equipment-tooltip,
.nexora-equipment-slot--wings .nexora-equipment-tooltip {
	left: 0;
	transform: translate(0, 6px);
}

.nexora-equipment-slot--weapon2 .nexora-equipment-tooltip,
.nexora-equipment-slot--pet .nexora-equipment-tooltip {
	left: auto;
	right: 0;
	transform: translate(0, 6px);
}

.nexora-equipment-slot.is-occupied:hover .nexora-equipment-tooltip,
.nexora-equipment-slot.is-occupied:focus-visible .nexora-equipment-tooltip,
.nexora-equipment-slot.is-open .nexora-equipment-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.nexora-equipment-slot--weapon1:hover .nexora-equipment-tooltip,
.nexora-equipment-slot--weapon1:focus-visible .nexora-equipment-tooltip,
.nexora-equipment-slot--weapon1.is-open .nexora-equipment-tooltip,
.nexora-equipment-slot--wings:hover .nexora-equipment-tooltip,
.nexora-equipment-slot--wings:focus-visible .nexora-equipment-tooltip,
.nexora-equipment-slot--wings.is-open .nexora-equipment-tooltip,
.nexora-equipment-slot--weapon2:hover .nexora-equipment-tooltip,
.nexora-equipment-slot--weapon2:focus-visible .nexora-equipment-tooltip,
.nexora-equipment-slot--weapon2.is-open .nexora-equipment-tooltip,
.nexora-equipment-slot--pet:hover .nexora-equipment-tooltip,
.nexora-equipment-slot--pet:focus-visible .nexora-equipment-tooltip,
.nexora-equipment-slot--pet.is-open .nexora-equipment-tooltip {
	transform: translate(0, 0);
}

.nexora-equipment-tooltip-name {
	display: block;
	margin-bottom: 3px;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--nex-gold);
}

.nexora-equipment-tooltip-level {
	display: block;
	margin-bottom: 7px;
	font-size: 0.67rem;
	font-weight: 700;
	color: #fff;
}

.nexora-equipment-tooltip-details {
	display: grid;
	gap: 3px;
	font-size: 0.66rem;
	line-height: 1.4;
	color: rgba(255,255,255,0.72);
}

.nexora-equipment-note {
	text-align: center;
}

@media (max-width: 720px) {
	.nexora-equipment-heading {
		align-items: stretch;
		flex-direction: column;
	}

	.nexora-equipment-refresh {
		align-self: flex-start;
	}

	.nexora-equipment-grid {
		grid-template-columns: repeat(3, minmax(74px, 1fr));
		grid-template-rows: repeat(6, minmax(92px, auto));
		grid-template-areas:
			". helm ."
			"wings center pet"
			"weapon1 center weapon2"
			"armor pants gloves"
			"boots pendant ring1"
			". ring2 .";
		gap: 9px;
		padding: 15px 10px;
	}

	.nexora-equipment-center {
		min-height: 188px;
	}

	.nexora-equipment-center img {
		width: 82px;
		height: 82px;
	}

	.nexora-equipment-slot {
		min-width: 0;
		max-width: 98px;
		height: 88px;
	}

	.nexora-equipment-slot-visual {
		height: 62px;
	}

	.nexora-equipment-slot-visual img {
		max-width: 56px;
		max-height: 54px;
	}

	.nexora-equipment-tooltip,
	.nexora-equipment-slot--weapon1 .nexora-equipment-tooltip,
	.nexora-equipment-slot--weapon2 .nexora-equipment-tooltip,
	.nexora-equipment-slot--wings .nexora-equipment-tooltip,
	.nexora-equipment-slot--pet .nexora-equipment-tooltip {
		position: fixed;
		left: 50%;
		right: auto;
		bottom: 18px;
		width: min(340px, calc(100vw - 28px));
		max-width: none;
		transform: translate(-50%, 8px);
		z-index: 10000;
	}

	.nexora-equipment-slot.is-open .nexora-equipment-tooltip,
	.nexora-equipment-slot--weapon1.is-open .nexora-equipment-tooltip,
	.nexora-equipment-slot--weapon2.is-open .nexora-equipment-tooltip,
	.nexora-equipment-slot--wings.is-open .nexora-equipment-tooltip,
	.nexora-equipment-slot--pet.is-open .nexora-equipment-tooltip {
		transform: translate(-50%, 0);
	}
}

/* Topbar hierarchy: Benefits as a utility action + framed Registration CTA */
.nex-topbar-benefits,
.nex-register-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 8px 13px;
	border-radius: 9px;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	white-space: nowrap;
	text-decoration: none !important;
	transition: transform .18s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.nex-topbar-benefits {
	gap: 7px;
	color: #decda9 !important;
	border: 1px solid rgba(210, 176, 113, 0.32);
	background: rgba(18, 12, 25, 0.58);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.nex-topbar-benefits span {
	font-size: 8px;
	color: #c084fc;
	filter: drop-shadow(0 0 6px rgba(168,85,247,.6));
}

.nex-topbar-benefits:hover {
	color: #f3e4c1 !important;
	border-color: rgba(210, 176, 113, 0.55);
	background: rgba(45, 27, 57, 0.72);
	box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 18px rgba(168,85,247,.10);
	transform: translateY(-1px);
}

.nex-register-btn {
	color: #c8f6d5 !important;
	border: 1px solid rgba(92, 225, 132, 0.66);
	background: linear-gradient(135deg, rgba(20, 92, 48, 0.22), rgba(9, 44, 26, 0.38));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 16px rgba(55, 190, 101, .10);
}

.nex-register-btn:hover {
	color: #effff3 !important;
	border-color: rgba(112, 255, 157, 0.92);
	background: linear-gradient(135deg, rgba(27, 122, 63, 0.34), rgba(12, 61, 34, 0.48));
	box-shadow: 0 8px 22px rgba(0,0,0,.30), 0 0 22px rgba(65, 220, 116, .18), inset 0 1px 0 rgba(255,255,255,.10);
	transform: translateY(-1px);
}

.nex-topbar-benefits:focus-visible,
.nex-register-btn:focus-visible {
	outline: 2px solid rgba(151, 238, 179, .9);
	outline-offset: 3px;
}

@media (max-width: 1100px) {
	.nex-topbar-benefits {
		display: none;
	}
}

@media (max-width: 640px) {
	body[data-nex-logged-in="0"] .nex-topbar-account > .nex-register-btn {
		display: none;
	}
}


/* ================================================================
   Arsenal V2 Fase 6 — navegación comercial / economía del reino
   ================================================================ */
.nex-commerce-switch {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	min-height: 42px;
	border: 1px solid rgba(220, 165, 74, .46);
	border-radius: 11px;
	background: linear-gradient(135deg, rgba(69, 33, 9, .72), rgba(36, 13, 52, .76));
	box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 8px 24px rgba(0,0,0,.28), 0 0 20px rgba(168,85,247,.08);
	isolation: isolate;
}
.nex-commerce-switch::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: radial-gradient(circle at 18% 50%, rgba(240,171,57,.14), transparent 45%), radial-gradient(circle at 86% 18%, rgba(168,85,247,.16), transparent 45%);
	pointer-events: none;
}
.nex-commerce-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 126px;
	padding: 7px 11px 7px 10px;
	color: #f2deb1 !important;
	text-decoration: none !important;
	border-radius: 10px 0 0 10px;
	transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.nex-commerce-primary:hover,
.nex-commerce-primary.is-active {
	color: #fff4d8 !important;
	background: linear-gradient(135deg, rgba(164,91,19,.28), rgba(109,42,161,.22));
	box-shadow: inset 0 0 22px rgba(235,164,54,.09);
}
.nex-commerce-mark {
	display: grid;
	place-items: center;
	flex: 0 0 26px;
	width: 26px;
	height: 26px;
	border: 1px solid rgba(235,183,92,.48);
	border-radius: 7px;
	color: #efbd63;
	background: rgba(11,7,16,.56);
	font-size: 17px;
	line-height: 1;
	box-shadow: inset 0 0 10px rgba(234,157,46,.08), 0 0 12px rgba(168,85,247,.08);
}
.nex-commerce-primary__copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}
.nex-commerce-primary__copy small {
	color: rgba(201,190,211,.68);
	font-size: 7px;
	font-weight: 800;
	letter-spacing: .10em;
	line-height: 1;
	text-transform: uppercase;
}
.nex-commerce-primary__copy strong {
	font-family: var(--nex-display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .09em;
	line-height: 1;
	text-transform: uppercase;
}
.nex-commerce-more {
	position: relative;
	border-left: 1px solid rgba(255,255,255,.08);
}
.nex-commerce-more > summary {
	display: grid;
	place-items: center;
	width: 34px;
	height: 100%;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border-radius: 0 10px 10px 0;
	color: #c9b893;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: color .18s ease, background .18s ease;
}
.nex-commerce-more > summary::-webkit-details-marker { display: none; }
.nex-commerce-more > summary:hover,
.nex-commerce-more[open] > summary { color: #fff1cd; background: rgba(255,255,255,.055); }
.nex-commerce-more > summary span { display:block; transform: translateY(-1px); transition: transform .18s ease; }
.nex-commerce-more[open] > summary span { transform: translateY(1px) rotate(180deg); }
.nex-commerce-panel {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 500;
	width: min(326px, calc(100vw - 28px));
	padding: 10px;
	border: 1px solid rgba(212,179,120,.32);
	border-radius: 14px;
	background: linear-gradient(155deg, rgba(10,7,14,.985), rgba(22,10,31,.985));
	box-shadow: 0 24px 70px rgba(0,0,0,.62), 0 0 34px rgba(168,85,247,.12), inset 0 1px 0 rgba(255,255,255,.06);
}
.nex-commerce-panel::before {
	content: "";
	position: absolute;
	top: -7px;
	right: 12px;
	width: 12px;
	height: 12px;
	border-top: 1px solid rgba(212,179,120,.32);
	border-left: 1px solid rgba(212,179,120,.32);
	background: #140a1d;
	transform: rotate(45deg);
}
.nex-commerce-panel header {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
	padding: 7px 8px 10px;
	border-bottom:1px solid rgba(255,255,255,.07);
}
.nex-commerce-panel header span { color:#8f8799; font-size:8px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.nex-commerce-panel header strong { color:#ddc487; font-size:9px; letter-spacing:.08em; text-transform:uppercase; }
.nex-commerce-panel__item {
	display:grid;
	grid-template-columns:34px minmax(0,1fr);
	align-items:center;
	gap:10px;
	margin-top:5px;
	padding:10px;
	border:1px solid transparent;
	border-radius:10px;
	color:#ddd5e5 !important;
	text-decoration:none !important;
	transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.nex-commerce-panel__item:hover,
.nex-commerce-panel__item.is-active { border-color:rgba(207,163,87,.25); background:rgba(255,255,255,.045); transform:translateX(2px); }
.nex-commerce-panel__item--primary { border-color:rgba(230,166,59,.20); background:linear-gradient(120deg,rgba(101,49,11,.20),rgba(88,28,132,.16)); }
.nex-commerce-panel__icon { display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.045);color:#d9ae63;font-size:15px; }
.nex-commerce-panel__item span:last-child { display:grid; gap:3px; }
.nex-commerce-panel__item strong { color:#f0e7d3; font-size:10px; letter-spacing:.07em; text-transform:uppercase; }
.nex-commerce-panel__item small { color:#8f8998; font-size:9px; line-height:1.25; }
.nex-commerce-panel footer { margin-top:7px; padding:9px 8px 4px; border-top:1px solid rgba(255,255,255,.07); color:#706b77; font-size:8px; line-height:1.4; }
.nex-commerce-primary:focus-visible,
.nex-commerce-more > summary:focus-visible,
.nex-commerce-panel__item:focus-visible { outline:2px solid rgba(222,174,90,.76); outline-offset:2px; }

.nex-commerce-mobile { display:none; }

.nex-home-commerce {
	display:grid;
	gap:8px;
	width:100%;
}
.nex-home-commerce__primary {
	position:relative;
	display:grid;
	grid-template-columns:44px minmax(0,1fr) auto;
	align-items:center;
	gap:11px;
	min-height:88px;
	padding:14px;
	overflow:hidden;
	border:1px solid rgba(226,166,65,.39);
	border-radius:13px;
	background:radial-gradient(circle at 8% 50%,rgba(230,156,47,.14),transparent 34%),radial-gradient(circle at 92% 10%,rgba(168,85,247,.16),transparent 42%),linear-gradient(125deg,rgba(38,21,9,.92),rgba(20,9,29,.95));
	box-shadow:0 14px 35px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.07);
	color:#eee7f4 !important;
	text-decoration:none !important;
	transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.nex-home-commerce__primary::before { content:""; position:absolute; inset:0 0 auto; height:1px; background:linear-gradient(90deg,transparent,#e0a446,rgba(183,94,255,.8),transparent); opacity:.72; }
.nex-home-commerce__primary:hover { transform:translateY(-2px); border-color:rgba(236,183,91,.62); box-shadow:0 18px 42px rgba(0,0,0,.40),0 0 28px rgba(168,85,247,.09),inset 0 1px 0 rgba(255,255,255,.08); }
.nex-home-commerce__sigil { display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(231,181,92,.44);border-radius:11px;background:rgba(5,4,8,.46);color:#e8b65f;font-size:25px;box-shadow:inset 0 0 16px rgba(234,157,46,.08); }
.nex-home-commerce__copy { display:grid; gap:3px; min-width:0; }
.nex-home-commerce__copy small { color:#a795b3;font-size:8px;font-weight:800;letter-spacing:.11em;text-transform:uppercase; }
.nex-home-commerce__copy strong { color:#f1d79d;font-family:var(--nex-display);font-size:17px;letter-spacing:.08em;text-transform:uppercase; }
.nex-home-commerce__copy em { color:#918998;font-size:9px;font-style:normal;line-height:1.35; }
.nex-home-commerce__primary > b { color:#d8b975;font-size:19px;font-weight:400; }
.nex-home-commerce__rail { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px; }
.nex-home-commerce__rail a { display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 10px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(9,7,13,.63);color:#bcb3c6 !important;text-decoration:none !important;font-size:9px;letter-spacing:.07em;text-transform:uppercase;transition:border-color .18s ease,background .18s ease,color .18s ease; }
.nex-home-commerce__rail a span { color:#c9954d; }
.nex-home-commerce__rail a:hover { color:#e9ddc8 !important;border-color:rgba(211,165,91,.28);background:rgba(46,25,50,.58); }
.nex-widget--commerce { display:grid; gap:10px; }
.nex-widget--commerce .nex-sidebar-banner--voting { margin-top:0; }

@media (max-width: 960px) {
	.nex-commerce-switch { display:none; }
	.nex-commerce-mobile {
		display:block;
		padding:12px;
		border-bottom:1px solid rgba(255,255,255,.08);
		background:linear-gradient(145deg,rgba(48,27,10,.46),rgba(44,15,63,.38));
	}
	.nex-commerce-mobile__head { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 9px;color:#8d8495;font-size:8px;font-weight:800;letter-spacing:.13em;text-transform:uppercase; }
	.nex-commerce-mobile__head strong { color:#d3b46f;font-size:8px; }
	.nex-commerce-mobile__primary { display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid rgba(222,165,66,.32);border-radius:10px;background:linear-gradient(125deg,rgba(91,48,11,.30),rgba(85,26,128,.24));color:#efe5d0 !important;text-decoration:none !important; }
	.nex-commerce-mobile__primary .nex-commerce-mark { width:34px;height:34px; }
	.nex-commerce-mobile__primary > span:nth-child(2) { display:grid;gap:3px; }
	.nex-commerce-mobile__primary strong { color:#f1d79d;font-family:var(--nex-display);font-size:13px;letter-spacing:.08em;text-transform:uppercase; }
	.nex-commerce-mobile__primary small { color:#9b92a2;font-size:9px; }
	.nex-commerce-mobile__primary > b { color:#d7b971;font-size:17px;font-weight:400; }
	.nex-commerce-mobile__primary.is-active { border-color:rgba(239,190,102,.65);box-shadow:inset 0 0 20px rgba(230,154,45,.08); }
	.nex-commerce-mobile__links { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:7px; }
	.nex-commerce-mobile__links a { display:grid;gap:2px;padding:9px;border:1px solid rgba(255,255,255,.075);border-radius:8px;background:rgba(8,6,12,.55);color:#d0c7d8 !important;text-decoration:none !important; }
	.nex-commerce-mobile__links a.is-active { border-color:rgba(203,160,83,.35);background:rgba(73,38,71,.42); }
	.nex-commerce-mobile__links strong { font-size:9px;letter-spacing:.07em;text-transform:uppercase; }
	.nex-commerce-mobile__links small { color:#77717e;font-size:8px; }
	.nex-commerce-mobile > p { margin:9px 2px 1px;color:#6e6874;font-size:8px;line-height:1.4; }
}
@media (max-width: 640px) {
	.nex-home-commerce__primary { min-height:82px;padding:12px; }
	.nex-home-commerce__copy strong { font-size:15px; }
	.nex-home-commerce__copy em { font-size:8px; }
}
@media (prefers-reduced-motion: reduce) {
	.nex-commerce-primary,.nex-commerce-panel__item,.nex-home-commerce__primary,.nex-home-commerce__rail a { transition:none !important; }
}

/* ============================================================
 * Nexora Speed V4 — compositor, paint y navegación
 * Mantiene identidad visual eliminando trabajo continuo de GPU.
 * ============================================================ */
body.nex-body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse at 93% 8%, rgba(107, 33, 168, .12), transparent 34%),
		radial-gradient(ellipse at 5% 72%, rgba(194, 65, 12, .09), transparent 32%),
		radial-gradient(ellipse at 48% 47%, rgba(217, 119, 6, .045), transparent 25%);
}

body.nex-body a {
	transition-property: color, opacity;
	transition-duration: .18s;
}
body.nex-body a:hover {
	filter: none;
}

/* Los cristales permanentes pasan a superficies opacas/semitransparentes.
 * Se reserva el blur para overlays que existen solo mientras están abiertos. */
.nex-topbar,
.nex-btn--primary,
.nex-btn--ghost,
.nex-btn--gold,
.nex-btn--purple,
.nex-btn-ico,
.nex-nav-drawer,
.nex-footer,
.nex-realm-module,
.nex-stream-dock__btn,
.nex-stream-dock__panel,
.nex-glass-panel,
.nex-dl-btn,
.nex-widget--usercp,
.nex-page-main--ucp-modules .btn.btn-primary,
.nex-page-main--ucp-modules .btn.btn-xs.btn-primary,
.nexora-guild-card,
.nexora-player-card,
.nex-page-main .rankings-table,
.nex-page-main .table.rankings-table,
.nexora-usercp-item,
.nexora-myaccount-panel,
.nexora-myaccount-character-card,
.nexora-usercp-panel,
.nexora-usercp-card,
.nexora-donation-card,
.nexora-donation-panel,
.nex-realm-context,
.nex-content-card__open,
.nex-content-card__page-counter {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

.nex-topbar {
	background: rgba(6, 5, 10, .965);
	box-shadow: 0 5px 20px rgba(0, 0, 0, .28);
}
.nex-footer {
	background: linear-gradient(180deg, rgba(6, 5, 10, .93), rgba(6, 5, 10, .985));
}
.nex-nav-drawer {
	background: rgba(4, 3, 8, .94);
}
.nex-realm-module {
	--nex-module-alpha: .9;
	--nex-module-blur: 0px;
}
.nex-stream-dock__btn { background: rgba(14, 10, 22, .97); }
.nex-stream-dock__panel { background: rgba(12, 8, 18, .985); }
.nex-glass-panel { background: linear-gradient(155deg, rgba(22,18,34,.93), rgba(12,10,22,.92) 45%, rgba(18,14,28,.94)); }
.nex-realm-context { background: rgba(5, 3, 12, .91); }
.nex-content-card__open,
.nex-content-card__page-counter { background: rgba(5, 4, 9, .94); }

/* El dock no crea contexto de terceros hasta interacción. */
.nex-stream-dock__mount {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: #050309;
}
.nex-stream-dock__mount iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.nex-stream-dock__loading {
	max-width: 250px;
	padding: 12px 16px;
	color: rgba(255,255,255,.55);
	font-size: 11px;
	line-height: 1.45;
	text-align: center;
}

/* Decoración constante => estado estático. Las microinteracciones hover se conservan. */
.nex-castle-epic-shine,
.nex-castle-countdown,
.nex-guides-feature::after,
.nex-guides-feature__beam,
.nex-guides-feature__sigil,
.nex-whatsapp-cta::before,
.nex-realm-module__state--online .nex-realm-module__status-dot,
.nex-dual-rank-card__activity i {
	animation: none !important;
}
.nex-guides-feature::after { opacity: .72; }
.nex-guides-feature__beam { opacity: .28; transform: translateX(410%) rotate(17deg); }
.nex-whatsapp-cta::before { opacity: .18; }

/* Evita blur rasterizado grande en contenido visual del Home. */
.nex-content-card__image-glow {
	filter: none;
	opacity: .55;
}

/* El navegador puede saltarse layout/paint de bloques home fuera de viewport. */
.nex-body--home .nex-rankings-section,
.nex-body--home .nex-castle-epic,
.nex-footer {
	content-visibility: auto;
	contain-intrinsic-size: auto 620px;
}
.nex-footer { contain-intrinsic-size: auto 380px; }

@media (max-width: 760px) {
	body.nex-body::after {
		background:
			radial-gradient(ellipse at 92% 10%, rgba(107,33,168,.09), transparent 36%),
			radial-gradient(ellipse at 8% 78%, rgba(194,65,12,.07), transparent 34%);
	}
}

/* Swiper se descarga solo cuando sus secciones se aproximan al viewport. */
.nex-content-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child),
.nex-char-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
	display: none;
}
.nex-thumb-swiper:not(.swiper-initialized) .swiper-wrapper {
	display: flex;
	gap: 10px;
	overflow: hidden;
}
.nex-thumb-swiper:not(.swiper-initialized) .swiper-slide {
	flex: 0 0 auto;
}

/* Reveal mas corto y anticipado: conserva profundidad sin frenar la lectura. */
.nex-reveal {
	transform: translateY(10px);
	transition: opacity .32s ease, transform .32s ease;
}
.nex-news-page-btn,
.nex-rank-pagination-btn {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	background: rgba(20, 16, 29, .88);
}
.nex-nav-link--featured,
.nex-nav-link--featured::before {
	animation: none !important;
}
