/* ------------------------------------------------------------------
 * ✦ Atlas de mundos · sistema visual de Guías Juegos (guiasjuegos.quest, 18-11-2026). Se carga después de gj.css.
 * Idea: el portal es la sala de mapas de la red. Noche obsidiana, curvas de nivel en oro (Subtle Patterns «Cartographer»),
 * rejilla hexagonal de mapa de juego («Hexellence») en los paneles, triángulos («Dark Geometric») en el pie; brújula dorada
 * del logo y una gema de color por mundo/guía: Zhong Kui bermellón, Blood Rain rosa neón, LOTF2 turquesa umbral, PBZ jade.
 * Patrones: Subtle Patterns (Toptal), CC BY-SA 3.0 — crédito en el aviso del pie. Resto: CSS + SVG generado (gj-atlas.js).
 * Rendimiento: animaciones solo con transform/opacity; capas de fondo fijas. Movimiento reducido: todo quieto (al final).
 * Contraste: texto ≥ 4.5:1 (WCAG AA) sobre --gj-bg … --gj-bg-4.
 * ------------------------------------------------------------------ */
:root {
	--gj-bg: #0b0d12;
	--gj-bg-2: #11141c;
	--gj-bg-3: #161a24;
	--gj-bg-4: #1c2130;
	--gj-line: #262c3b;
	--gj-line-2: #313849;
	--gj-line-3: #4a5266;
	--gj-t0: #f6f7fa;
	--gj-t1: #e9ecf2;
	--gj-t2: #cdd2dd;
	--gj-t3: #aab1c0;   /* ≥ 7:1 sobre --gj-bg-4 */
	--gj-t4: #8d95a6;   /* texto secundario: ≥ 5:1 sobre --gj-bg */
	/* Acento principal = oro de brújula. Las variables «red» se heredan de la familia (eran el bermellón de ZK). */
	--gj-red: #d9b46c;      /* líneas, bordes, iconos */
	--gj-red-bg: #8c6420;   /* fondo de botones con texto blanco (5.1:1) */
	--gj-red-h: #6f4e17;    /* hover */
	--gj-red-d: #3e2c0d;
	--gj-red-t: #e8c47e;    /* oro legible como texto: 9.6:1 sobre --gj-bg */
	--gj-oro: #d9b46c;
	--gj-oro-c: #f3d894;
	--gj-glow: 0 0 22px rgba(217, 180, 108, .28);
	--gj-hilo: rgba(217, 180, 108, .26);
	/* Mundos (gemas del logo) */
	--gj-m-zhongkui: #e0503d;
	--gj-m-bloodrain: #ff4f8b;
	--gj-m-lotf2: #4fd0d8;
	--gj-m-pbz: #45cf98;
	--mundo: var(--gj-oro);
	--gj-head: "Saira", "Segoe UI", system-ui, sans-serif;
	--gj-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--gj-r: 6px;
	--gj-cut: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
	--gj-ash: radial-gradient(60% 50% at 80% 10%, rgba(217, 180, 108, .07), transparent 70%),
		radial-gradient(50% 50% at 10% 90%, rgba(79, 208, 216, .05), transparent 70%);
	--gj-panel: linear-gradient(160deg, rgba(28, 33, 48, .92), rgba(13, 16, 23, .96));
	--base: var(--gj-bg); --base-2: var(--gj-bg-2); --base-3: var(--gj-bg-3);
	--contrast: var(--gj-t1); --contrast-2: var(--gj-t2); --contrast-3: var(--gj-t3); --accent: var(--gj-oro);
	color-scheme: dark;
}
/* Una gema por mundo: cualquier elemento con data-mundo o clase --<clave> toma su color en --mundo. */
[data-mundo="zhongkui"], [data-mundo="wukong"], .gj-red__c--zhongkui, .gj-mundo--zhongkui { --mundo: var(--gj-m-zhongkui); }
[data-mundo="bloodrain"], [data-mundo="stellarblade"], .gj-red__c--bloodrain, .gj-mundo--bloodrain { --mundo: var(--gj-m-bloodrain); }
[data-mundo="lotf2"], [data-mundo="lotf2023"], .gj-red__c--lotf2, .gj-mundo--lotf2 { --mundo: var(--gj-m-lotf2); }
[data-mundo="pbz"], .gj-red__c--pbz, .gj-mundo--pbz { --mundo: var(--gj-m-pbz); }

/* 1. Fondo: obsidiana + curvas de nivel doradas (fijas) + brillo de brújula arriba y viñeta. */
html { font-size: 100%; }
body.gj {
	background-color: var(--gj-bg);
	background-image: radial-gradient(70% 45% at 78% -8%, rgba(217, 180, 108, .1), transparent 70%),
		radial-gradient(60% 40% at 0% 100%, rgba(79, 208, 216, .05), transparent 70%),
		url(../img/patrones/gj-pat-mapa.png);
	background-size: 100% 100%, 100% 100%, 500px 499px;
	background-attachment: fixed, fixed, fixed;
	font-family: var(--gj-body);
	color: var(--gj-t1);
}
body.gj::after {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(140% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55));
}
@media (max-width: 768px) { body.gj { background-attachment: scroll, scroll, scroll; } }

/* 2. Tipografía: Saira ancha y tensa en títulos, Inter para leer. */
.gj h1, .gj h2, .gj h3, .gj h4, .gj .entry-title, .gj .main-navigation, .gj .gj-btn, .gj .gj-kicker, .gj th {
	font-family: var(--gj-head); font-stretch: 108%;
}
.gj h1, .gj .entry-title { font-weight: 800; letter-spacing: .005em; line-height: 1.08; }
.gj h2 { font-weight: 700; letter-spacing: .01em; }
.gj h3 { font-weight: 650; }
.gj .entry-content p, .gj .entry-content li { line-height: 1.72; }
.gj a { text-underline-offset: .18em; }
.gj .entry-content a:not(.gj-btn):not(.gj-card):not([class*="gj-red"]) { color: var(--gj-red-t); text-decoration-color: rgba(232, 196, 126, .45); }
.gj .entry-content a:not(.gj-btn):hover { text-decoration-color: currentColor; }
/* Caracteres chinos y coreanos: Saira no los tiene; sans del sistema. */
:lang(zh-Hant) .gj, .gj :lang(zh-Hant) { --gj-head: "Saira", "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif; --gj-body: "Inter", "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif; }
:lang(ko) .gj, .gj :lang(ko) { --gj-head: "Saira", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; --gj-body: "Inter", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }

/* 3. H2: línea de rumbo dorada que se apaga + rombo de brújula. */
.gj .entry-content h2, .gj-sec__h h2 { position: relative; padding-bottom: .6em; }
.gj .entry-content h2::after, .gj-sec__h h2::after {
	content: ""; display: block !important; position: absolute; left: 0; bottom: 0; width: min(260px, 70%); height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, var(--gj-oro), rgba(217, 180, 108, .35) 60%, transparent); box-shadow: none; clip-path: none;
}
.gj .entry-content h2::before, .gj-sec__h h2::before {
	content: ""; position: absolute; left: min(266px, calc(70% + 6px)); bottom: -4px; width: 10px; height: 10px; transform: rotate(45deg);
	background: var(--mundo); box-shadow: 0 0 10px var(--mundo); clip-path: none; border-radius: 1px;
}
.gj hr, .gj-orn {
	height: 14px; border: 0; margin: 2.6em auto; position: relative; overflow: visible;
	background: linear-gradient(90deg, transparent, var(--gj-hilo) 20%, var(--gj-hilo) 80%, transparent) center / 100% 1px no-repeat;
}
.gj hr::after, .gj-orn::after {
	content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 12px;
	color: var(--gj-oro); background: var(--gj-bg); font-size: 14px; line-height: 1;
}

/* 4. Kickers y etiquetas: rombo de gema. */
.gj-kicker { letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gj-red-t); }
.gj-kicker::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .6em; transform: rotate(45deg); background: var(--mundo); box-shadow: 0 0 8px var(--mundo); clip-path: none; border-radius: 1px; }
.gj-et { display: inline-block; vertical-align: .1em; margin: 0 .35em 0 .1em; padding: .14em .55em .12em; font-family: var(--gj-head);
	font-size: .66em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; border: 1px solid; border-radius: 3px; white-space: nowrap; }
.gj-et--oficial { color: #0b0d12; background: var(--gj-oro); border-color: var(--gj-oro-c); }
.gj-et--prensa { color: #d6dbe6; background: rgba(205, 210, 221, .08); border-color: rgba(205, 210, 221, .45); }
.gj-et--tentativo { color: #f0d08c; background: rgba(240, 208, 140, .07); border-color: rgba(240, 208, 140, .5); border-style: dashed; }
.gj-et--rumor { color: #ff8fb3; background: transparent; border-color: rgba(255, 143, 179, .55); border-style: dotted; }

/* 5. Paneles HUD: rejilla hexagonal + esquinas de mira doradas. */
.gj-card, .gj-tool, .gj-resp, .gj-ig, .gj-tabla, .widget {
	background-image: url(../img/patrones/gj-pat-hex.png), var(--gj-panel);
	background-size: 150px 173px, auto;
	border: 1px solid var(--gj-hilo);
	border-radius: var(--gj-r);
}
.gj-card, .gj-tool, .gj-resp, .gj-ig { position: relative; isolation: isolate; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 34px rgba(0, 0, 0, .4); }
.gj-card::after, .gj-tool::after, .gj-resp::after, .gj-ig::after {
	content: ""; position: absolute; inset: -1px; z-index: 2; pointer-events: none; border-radius: inherit;
	background:
		linear-gradient(var(--mundo), var(--mundo)) 0 0 / 14px 2px no-repeat, linear-gradient(var(--mundo), var(--mundo)) 0 0 / 2px 14px no-repeat,
		linear-gradient(var(--mundo), var(--mundo)) 100% 0 / 14px 2px no-repeat, linear-gradient(var(--mundo), var(--mundo)) 100% 0 / 2px 14px no-repeat,
		linear-gradient(var(--mundo), var(--mundo)) 0 100% / 14px 2px no-repeat, linear-gradient(var(--mundo), var(--mundo)) 0 100% / 2px 14px no-repeat,
		linear-gradient(var(--mundo), var(--mundo)) 100% 100% / 14px 2px no-repeat, linear-gradient(var(--mundo), var(--mundo)) 100% 100% / 2px 14px no-repeat;
	opacity: .85; clip-path: none; width: auto; height: auto; top: -1px; right: -1px;
}
.gj-card { overflow: hidden; transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .35s; }
.gj-card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(70% 60% at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--mundo) 22%, transparent), transparent 70%);
	transform: none; left: 0; right: 0; bottom: 0; height: auto;
}
.gj-card:hover, .gj-card:focus-visible { border-color: color-mix(in srgb, var(--mundo) 65%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mundo) 30%, transparent), 0 22px 46px rgba(0, 0, 0, .55), 0 0 30px color-mix(in srgb, var(--mundo) 18%, transparent); transform: translateY(-3px); }
.gj-card:hover::before, .gj-card:focus-visible::before { opacity: 1; }

/* Respuesta rápida: brújula en la esquina. */
.gj-resp { padding: 20px 64px 20px 20px; background-image: url(../img/patrones/gj-pat-hex.png), linear-gradient(135deg, rgba(217, 180, 108, .12), rgba(17, 20, 28, .95) 55%); }
.gj-resp__k { display: inline-block; margin-bottom: 10px; padding: 4px 10px 3px; border-radius: 3px; background: var(--gj-oro); color: #0b0d12; font-family: var(--gj-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; clip-path: none; }
.gj-resp::before {
	content: ""; position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; opacity: .9;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Ccircle r='44' fill='none' stroke='%23d9b46c' stroke-width='4'/%3E%3Cpath d='M0-40L9 0 0 40-9 0z' fill='%23f3d894'/%3E%3Cpath d='M-40 0L0-7 40 0 0 7z' fill='%23a87b34'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 6. Infografía y tablas */
.gj-ig { padding: clamp(18px, 3vw, 28px); background-image: url(../img/patrones/gj-pat-hex.png), linear-gradient(160deg, rgba(217, 180, 108, .09), var(--gj-bg-2) 45%); }
.gj-ig__t { font-family: var(--gj-head); font-weight: 800; font-size: 1.25rem; color: var(--gj-t0); }
.gj-flow li.is-on strong, .gj-flow li::before { color: var(--gj-oro); border-color: var(--gj-oro); }
.gj-tile { border: 1px solid var(--gj-line-2); border-radius: 4px; background: rgba(11, 13, 18, .55); }
.gj-tile b { font-family: var(--gj-head); color: var(--gj-oro-c); }
.gj-tabla { overflow-x: auto; padding: 0; }
.gj-tabla table { border-collapse: collapse; width: 100%; margin: 0; }
.gj-tabla th { background: rgba(217, 180, 108, .1); color: var(--gj-oro-c); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; border-bottom: 2px solid var(--gj-oro); }
.gj-tabla td, .gj-tabla th { border-color: var(--gj-line) !important; padding: 10px 14px; }
.gj-tabla tbody tr:hover td { background: rgba(217, 180, 108, .05); }

/* 7. Botones: placa de oro con destello que cruza al pasar. */
.gj-btn { position: relative; overflow: hidden; isolation: isolate; border-radius: 4px; letter-spacing: .06em; }
.gj-btn--oro, .gj-btn--sangre { background: linear-gradient(180deg, #a87a2c, var(--gj-red-bg)); color: #fff; border: 1px solid rgba(243, 216, 148, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 18px rgba(140, 100, 32, .35); }
.gj-btn--oro:hover, .gj-btn--sangre:hover { background: linear-gradient(180deg, #b98a36, var(--gj-red-h)); color: #fff; }
.gj-btn::after {
	content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg) translateX(0);
	transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.gj-btn:hover::after, .gj-btn:focus-visible::after { transform: skewX(-18deg) translateX(420%); }
.gj-onda { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transform: scale(0);
	background: radial-gradient(circle, rgba(243, 216, 148, .4), rgba(243, 216, 148, .12) 40%, transparent 66%); animation: gj-onda .75s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes gj-onda { to { transform: scale(1); opacity: 0; } }

/* 8. Cabecera del sitio: cristal oscuro con hilo de oro. */
.gj .site-header { background: rgba(11, 13, 18, .82); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid var(--gj-hilo); }
.gj .main-navigation .main-nav ul li a { font-weight: 600; letter-spacing: .04em; }
.gj .main-navigation .main-nav ul li:hover > a, .gj .main-navigation .main-nav ul li.current-menu-item > a, .gj .main-navigation .main-nav ul li.current-menu-ancestor > a { color: var(--gj-oro-c); }
.gj .main-navigation .main-nav > ul > li > a { position: relative; }
.gj .main-navigation .main-nav > ul > li > a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 10px; height: 2px; background: var(--gj-oro); transform: scaleX(0); transition: transform .3s; }
.gj .main-navigation .main-nav > ul > li:hover > a::after, .gj .main-navigation .main-nav > ul > li.current-menu-item > a::after, .gj .main-navigation .main-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }

/* 9. Pie y secciones alternas: triángulos dorados. */
.gj .site-footer, .gj-sec--alt {
	background-image: linear-gradient(rgba(11, 13, 18, .82), rgba(11, 13, 18, .92)), url(../img/patrones/gj-pat-tri.png);
	background-size: auto, 70px 70px; background-repeat: repeat;
}
.gj .site-footer { border-top: 1px solid var(--gj-hilo); }

/* 10. Cabecera de portada / hubs: mapa estelar generado (gj-atlas.js) */
.gj-hero { position: relative; isolation: isolate; overflow: hidden; }
.gj-hero::after { background: radial-gradient(55% 60% at 25% 60%, rgba(11, 13, 18, .8), transparent 75%), var(--gj-ash); }
.gj-atlas { position: absolute !important; inset: 0; z-index: -1 !important; pointer-events: none; overflow: hidden; }
.gj-atlas svg { position: absolute; inset: -4%; width: 108%; height: 108%; }
.gj-atlas__estrellas { transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.gj-atlas__rutas path { stroke-dasharray: 3 9; animation: gj-ruta 6s linear infinite; }
@keyframes gj-ruta { to { stroke-dashoffset: -120; } }
.gj-atlas__nodo { transform-box: fill-box; transform-origin: center; animation: gj-latido 3.2s ease-in-out infinite; }
.gj-atlas__nodo:nth-child(2) { animation-delay: -.8s; } .gj-atlas__nodo:nth-child(3) { animation-delay: -1.6s; } .gj-atlas__nodo:nth-child(4) { animation-delay: -2.4s; }
@keyframes gj-latido { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.18); opacity: 1; } }
.gj-atlas__brujula { transform-box: fill-box; transform-origin: center; animation: gj-giro 120s linear infinite; }
.gj-atlas__brujula--inv { animation-duration: 80s; animation-direction: reverse; }
@keyframes gj-giro { to { transform: rotate(360deg); } }
.gj-atlas__aguja { transform-box: fill-box; transform-origin: center; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.gj-hero__in h1, .gj-hero__in p, .gj-hero__in .gj-kicker { text-shadow: 0 2px 16px rgba(11, 13, 18, .9); }

/* 11. Revelado al hacer scroll (gj-atlas.js pone .gj-rev / .is-in) */
.gj-js .gj-rev { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.gj-js .gj-rev.is-in { opacity: 1; transform: none; }

@media (max-width: 768px) {
	.gj-hero .gj-atlas { opacity: .4; }
	.gj-atlas text { display: none; }
	.gj-resp { padding-right: 52px; }
	.gj .entry-content h2::before, .gj-sec__h h2::before { display: none; }
}
/* Movimiento reducido: nada se mueve; todo visible. */
@media (prefers-reduced-motion: reduce) {
	.gj-atlas__rutas path, .gj-atlas__nodo, .gj-atlas__brujula { animation: none !important; }
	.gj-js .gj-rev { opacity: 1 !important; transform: none !important; transition: none !important; }
	.gj-card, .gj-btn::after, .gj-atlas__estrellas, .gj-atlas__aguja { transition: none !important; }
	.gj-card:hover { transform: none; }
	.gj-onda { display: none !important; }
}

/* ------------------------------------------------------------------
 * 12. Componentes del portal (portal.php): [gj_red], [gj_noticias_red], [gj_calendario]
 * ------------------------------------------------------------------ */
/* [gj_red] Las guías de la red: cartas de mundo con gema, juegos cubiertos y botón. */
.gj-red { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; }
.gj-red--uno { grid-template-columns: minmax(0, 560px); }
.gj-red__c {
	--mundo: var(--gj-oro); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
	padding: 64px 22px 22px; border: 1px solid var(--gj-hilo); border-radius: var(--gj-r);
	background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--mundo) 20%, transparent), transparent 70%), url(../img/patrones/gj-pat-hex.png) 0 0 / 150px 173px, var(--gj-panel);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 34px rgba(0, 0, 0, .4);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .35s;
}
.gj-red__c::before { /* gema */
	content: ""; position: absolute; top: 22px; left: 22px; width: 20px; height: 28px; z-index: 1;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(135deg, #fff 0%, var(--mundo) 38%, color-mix(in srgb, var(--mundo) 55%, #000) 100%);
	filter: drop-shadow(0 0 10px var(--mundo));
}
.gj-red__c::after { /* línea de rumbo superior */
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--mundo), transparent); opacity: .9;
}
.gj-red__c:hover, .gj-red__c:focus-within { transform: translateY(-4px); border-color: color-mix(in srgb, var(--mundo) 65%, transparent);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--mundo) 30%, transparent), 0 24px 50px rgba(0, 0, 0, .55), 0 0 36px color-mix(in srgb, var(--mundo) 20%, transparent); }
.gj-red__t { margin: 0; font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.gj-red__t a { color: var(--gj-t0); text-decoration: none; }
.gj-red__t a::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* toda la carta es clicable */
.gj-red__juegos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gj-red__juego { font-size: .76rem; font-weight: 600; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; color: var(--gj-t2); border: 1px solid var(--gj-line-2); background: rgba(11, 13, 18, .5); }
.gj-red__juego--principal { color: #0b0d12; background: var(--mundo); border-color: var(--mundo); }
.gj-red__d { margin: 0; color: var(--gj-t3); font-size: .95rem; line-height: 1.6; flex: 1; }
.gj-red__cta { position: relative; z-index: 1; align-self: flex-start; margin-top: 4px; padding: 10px 18px; font-weight: 700; color: #0b0d12 !important; background: var(--mundo); border: 0; text-decoration: none; }
.gj-red__cta:hover { filter: brightness(1.12); }

/* [gj_noticias_red] Novedades de las guías: tarjetas con imagen, guía de origen y fecha. */
.gj-nr__h { margin: 0 0 14px; }
.gj-nr__lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.gj-nr__c { --mundo: var(--gj-oro); position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--gj-hilo); border-radius: var(--gj-r); background: var(--gj-panel);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .25s, box-shadow .35s; }
.gj-nr__c--zhongkui { --mundo: var(--gj-m-zhongkui); } .gj-nr__c--bloodrain { --mundo: var(--gj-m-bloodrain); }
.gj-nr__c--lotf2 { --mundo: var(--gj-m-lotf2); } .gj-nr__c--pbz { --mundo: var(--gj-m-pbz); }
.gj-nr__c:hover, .gj-nr__c:focus-within { transform: translateY(-3px); border-color: color-mix(in srgb, var(--mundo) 60%, transparent); box-shadow: 0 20px 44px rgba(0, 0, 0, .5), 0 0 28px color-mix(in srgb, var(--mundo) 16%, transparent); }
.gj-nr__a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.gj-nr__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--mundo) 30%, #0b0d12), #0b0d12); }
.gj-nr__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--mundo); }
.gj-nr__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gj-nr__c:hover .gj-nr__img { transform: scale(1.05); }
.gj-nr__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.gj-nr__guia { font-family: var(--gj-head); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mundo); }
.gj-nr__guia::before { content: ""; display: inline-block; width: .55em; height: .55em; margin-right: .5em; transform: rotate(45deg); background: var(--mundo); }
.gj-nr__f { font-size: .8rem; color: var(--gj-t4); }
.gj-nr__t { margin: 0; font-family: var(--gj-head); font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--gj-t0); }
.gj-nr__d { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--gj-t3); }
.gj-nr__pie { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.gj-nr__mas { color: var(--gj-red-t); font-weight: 600; text-decoration: none; }

/* [gj_calendario] Línea de lanzamientos: barra del color de cada mundo y estado en placa. */
.gj-cal { margin: 0 0 1.5em; }
.gj-cal__tabla { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin: 0; }
.gj-cal__cap { caption-side: top; text-align: left; color: var(--gj-t3); font-size: .9rem; padding-bottom: 6px; }
.gj-cal__tabla thead th { text-align: left; font-family: var(--gj-head); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gj-oro-c); padding: 4px 14px; border: 0; background: none; }
.gj-cal__fila { --mundo: var(--gj-oro); }
.gj-cal__fila--zhongkui, .gj-cal__fila--wukong { --mundo: var(--gj-m-zhongkui); } .gj-cal__fila--bloodrain, .gj-cal__fila--stellarblade { --mundo: var(--gj-m-bloodrain); }
.gj-cal__fila--lotf2, .gj-cal__fila--lotf2023 { --mundo: var(--gj-m-lotf2); } .gj-cal__fila--pbz { --mundo: var(--gj-m-pbz); }
.gj-cal__fila > td, .gj-cal__fila > th { padding: 12px 14px; background: var(--gj-panel); border-top: 1px solid var(--gj-line); border-bottom: 1px solid var(--gj-line); vertical-align: middle; }
.gj-cal__fila > :first-child { border-left: 4px solid var(--mundo); border-radius: var(--gj-r) 0 0 var(--gj-r); }
.gj-cal__fila > :last-child { border-right: 1px solid var(--gj-line); border-radius: 0 var(--gj-r) var(--gj-r) 0; }
.gj-cal__juego { font-family: var(--gj-head); font-weight: 700; color: var(--gj-t0); }
.gj-cal__fecha { font-variant-numeric: tabular-nums; white-space: nowrap; }
.gj-cal__estado-v { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; }
.gj-cal__estado-v--salido { color: #0b0d12; background: var(--gj-m-pbz); }
.gj-cal__estado-v--con-fecha { color: #0b0d12; background: var(--gj-oro); }
.gj-cal__estado-v--anunciado { color: var(--gj-t2); border: 1px dashed var(--gj-line-3); }
.gj-cal__plat { color: var(--gj-t3); font-size: .9rem; }
.gj-cal__plat-g { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 7px; border: 1px solid var(--gj-line-2); border-radius: 4px; font-size: .78rem; }
.gj-cal__guia a { color: var(--mundo); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) {
	.gj-cal__tabla thead { display: none; }
	.gj-cal__tabla, .gj-cal__tabla tbody, .gj-cal__fila, .gj-cal__fila > td, .gj-cal__fila > th { display: block; width: auto; }
	.gj-cal__fila { margin-bottom: 10px; border-left: 4px solid var(--mundo); border-radius: var(--gj-r); overflow: hidden; }
	.gj-cal__fila > td, .gj-cal__fila > th { border: 0 !important; border-radius: 0 !important; padding: 6px 14px; }
	.gj-cal__fila > :first-child { padding-top: 12px; } .gj-cal__fila > :last-child { padding-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { .gj-red__c, .gj-nr__c, .gj-nr__img { transition: none !important; } .gj-red__c:hover, .gj-nr__c:hover { transform: none; } }

/* Ajustes tras revisar la portada publicada (18-11-2026) */
.gj-red__c.gj-red__c--zhongkui { --mundo: var(--gj-m-zhongkui); }
.gj-red__c.gj-red__c--bloodrain { --mundo: var(--gj-m-bloodrain); }
.gj-red__c.gj-red__c--lotf2 { --mundo: var(--gj-m-lotf2); }
.gj-red__c.gj-red__c--pbz { --mundo: var(--gj-m-pbz); }
.gj .entry-content a.gj-nr__a, .gj a.gj-nr__a, .gj .entry-content .gj-red__t a { color: inherit; text-decoration: none; }
.gj .entry-content a.gj-nr__a:hover .gj-nr__t { color: var(--gj-oro-c); }
.gj .entry-content a.gj-nr__mas { text-decoration: none; }
.gj-nr__media--vacia { display: grid; place-items: center; background: radial-gradient(60% 70% at 50% 50%, color-mix(in srgb, var(--mundo) 26%, transparent), transparent 70%), url(../img/patrones/gj-pat-hex.png) 0 0 / 150px 173px, #0d1018; }
.gj-nr__media--vacia::before { content: ""; width: 26px; height: 36px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: linear-gradient(135deg, #fff, var(--mundo) 40%, color-mix(in srgb, var(--mundo) 55%, #000)); filter: drop-shadow(0 0 12px var(--mundo)); }
.gj-cal__fila > th.gj-cal__juego, .gj-cal__fila > .gj-cal__juego { font-family: var(--gj-head); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--gj-t0); font-weight: 700; border-bottom: 1px solid var(--gj-line); }
/* Fichas de «Las guías de la red» con imagen de fondo (pedido de Carlos, 18-11-2026): imagen oficial de cada juego (la misma que
   usa su guía; créditos en el aviso de la portada), degradado oscuro para leer el texto y la iluminación del color del mundo encima. */
.gj-red__c { --gj-red-img: none; padding-top: 200px; background:
	radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--mundo) 34%, transparent), transparent 72%),
	radial-gradient(70% 40% at 50% 100%, color-mix(in srgb, var(--mundo) 18%, transparent), transparent 75%),
	linear-gradient(180deg, rgba(11, 13, 18, .15) 0%, rgba(11, 13, 18, .55) 26%, rgba(11, 13, 18, .94) 48%, #0d1018 100%),
	var(--gj-red-img) center top / cover no-repeat, #0d1018; }
.gj-red__c.gj-red__c--zhongkui { --gj-red-img: url(/wp-content/uploads/2026/11/gj-red-zhongkui.webp); }
.gj-red__c.gj-red__c--bloodrain { --gj-red-img: url(/wp-content/uploads/2026/11/gj-red-bloodrain.webp); }
.gj-red__c.gj-red__c--lotf2 { --gj-red-img: url(/wp-content/uploads/2026/11/gj-red-lotf2.webp); }
.gj-red__c.gj-red__c--pbz { --gj-red-img: url(/wp-content/uploads/2026/11/gj-red-pbz.webp); }
.gj-red__c::before { top: 176px; }
.gj-red__c { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mundo) 22%, transparent), 0 14px 34px rgba(0, 0, 0, .45), 0 0 26px color-mix(in srgb, var(--mundo) 12%, transparent); }
.gj-red__c:hover, .gj-red__c:focus-within { background-size: auto, auto, auto, 108% auto, auto; }
.gj-red__t a { text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
/* Encuadre por imagen: la escena de Zhong Kui está abajo; brillo superior algo más suave para que se vea la foto. */
.gj-red__c { background-image:
	radial-gradient(90% 55% at 50% 0%, color-mix(in srgb, var(--mundo) 22%, transparent), transparent 72%),
	radial-gradient(70% 40% at 50% 100%, color-mix(in srgb, var(--mundo) 18%, transparent), transparent 75%),
	linear-gradient(180deg, rgba(11, 13, 18, 0) 0%, rgba(11, 13, 18, .45) 28%, rgba(11, 13, 18, .94) 50%, #0d1018 100%),
	var(--gj-red-img); background-position: 0 0, 0 0, 0 0, var(--gj-red-pos, center top); background-size: auto, auto, auto, cover; background-repeat: no-repeat; }
.gj-red__c.gj-red__c--zhongkui { --gj-red-pos: 30% 88%; }
.gj-red__c.gj-red__c--pbz { --gj-red-pos: 20% 40%; }
/* Franja «¿Buscas algo concreto?» sobre el pie: más aire vertical (pedido de Carlos, 18-11-2026). */
.gj-foot__in--top { padding-top: 64px; padding-bottom: 64px; gap: 26px; }
.gj-foot__qt { margin: 0 0 8px; font-size: 1.35rem; }
.gj-foot__qs { margin: 0; }
@media (min-width: 769px) { .gj-foot__in--top { padding-top: 80px; padding-bottom: 80px; gap: 28px 44px; } }
/* Zhong Kui: arte a tinta de criaturas (Game Science), más luminoso que el fotograma del duelo. */
.gj-red__c.gj-red__c--zhongkui { --gj-red-img: url(/wp-content/uploads/2026/11/gj-red-zhongkui-2.webp); --gj-red-pos: center top; }
