/* Guías Juegos — sistema de diseño del portal (heredado de la familia de guías de la red): tokens --gj-*, componentes de
   wiki y pie. Solo tema oscuro; contraste de texto ≥ 4.5:1 (WCAG AA). Móvil primero. La capa visual propia del portal
   va en gj-atlas.css (se carga después). */
:root {
	/* Tinta casi negra y superficies de papel quemado, un poco más claras. */
	--gj-bg: #0b0b0b;
	--gj-bg-2: #11141c;
	--gj-bg-3: #161a24;
	--gj-bg-4: #1c2130;
	--gj-line: #2e2a24;
	--gj-line-2: #3a352d;
	--gj-line-3: #554d40;
	/* Papel de arroz (texto) */
	--gj-t0: #f4efe6;
	--gj-t1: #e9ecf2;
	--gj-t2: #d3cbbd;
	--gj-t3: #b8b0a2; /* ≥ 7.5:1 sobre --gj-bg-4 */
	--gj-t4: #9a9284; /* solo texto secundario: ≥ 5.2:1 sobre #0b0b0b–#1c2130 */
	--gj-red: #8c6420; /* bermellón: líneas, bordes y sellos (no para texto: 2.9:1) */
	--gj-red-bg: #8c6420; /* bermellón como fondo de texto blanco o papel (6.7:1 / 5.8:1) */
	--gj-red-h: #6f4e17; /* hover de fondos con texto claro (9.1:1) */
	--gj-red-d: #3e2c0d; /* sombras, bordes oscuros y degradados */
	--gj-red-t: #e8c47e; /* bermellón legible como texto: ≥ 4.8:1 sobre #1c2130, 6.2:1 sobre #0b0b0b */
	--gj-oro: #d9b46c; /* oro viejo para acentos pequeños (≥ 7.2:1 sobre todos los fondos) */
	--gj-glow: 0 0 18px rgba(217, 180, 108, .32);
	/* Títulos en Saira y texto en Inter (latín autoalojado, css/fonts.css); en chino y coreano, fuentes CJK del sistema. */
	--gj-head: "Saira", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--gj-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--gj-r: 2px;
	/* Esquinas cortadas, como el borde de un sello */
	--gj-cut: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
	/* Papel y tinta: aguadas grises sueltas, grano fino de papel de arroz y una mancha de bermellón muy tenue abajo,
	   con viñeta (CSS puro, sin imágenes). Mismo nombre de variable que las «brasas» de LOTF2 para no tocar los componentes. */
	--gj-ash: radial-gradient(38% 26% at 14% 22%, rgba(233, 236, 242, .05), transparent 70%),
		radial-gradient(30% 40% at 86% 30%, rgba(233, 236, 242, .04), transparent 72%),
		radial-gradient(46% 30% at 60% 88%, rgba(0, 0, 0, .35), transparent 70%),
		repeating-linear-gradient(97deg, rgba(233, 236, 242, .018) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(7deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 4px),
		radial-gradient(120% 70% at 50% 118%, rgba(217, 180, 108, .12), transparent 60%),
		radial-gradient(140% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .5));
	--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-red);
	color-scheme: dark;
}
/* Inter tiene buen ojo: la raíz se queda en 16px (LOTF2 subía a 17px por Cormorant Garamond). */
html { font-size: 100%; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.gj {
	background: var(--gj-bg);
	color: var(--gj-t1);
	font-family: var(--gj-body);
	font-size: 18px;
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
@supports (overflow: clip) { body.gj { overflow-x: clip; } }
.gj ::selection { background: var(--gj-red-bg); color: #fff; }
.gj a { color: var(--gj-t0); text-decoration: underline; text-decoration-color: var(--gj-red); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
.gj a:hover, .gj a:focus { color: var(--gj-red-t); text-decoration-color: var(--gj-red-h); }
.gj :focus-visible { outline: 2px solid var(--gj-red); outline-offset: 3px; }
.gj h1, .gj h2, .gj h3, .gj h4, .gj .entry-title, .gj .page-title {
	font-family: var(--gj-head);
	color: var(--gj-t0);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .02em;
}
.gj h1, .gj .entry-title { font-size: clamp(1.9rem, 5vw, 3.1rem); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.gj .entry-content h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); margin: 2.2em 0 .7em; padding-bottom: .4em; position: relative; text-transform: uppercase; letter-spacing: .04em; }
.gj .entry-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: min(220px, 60%); height: 1px; background: linear-gradient(90deg, var(--gj-red) 0 45%, rgba(217, 180, 108, .35) 75%, transparent); box-shadow: 0 0 10px rgba(217, 180, 108, .45); }
.gj .entry-content h2::before { content: ""; position: absolute; left: 0; bottom: -3px; width: 7px; height: 7px; background: var(--gj-red-bg); transform: rotate(45deg); box-shadow: var(--gj-glow); }
.gj .entry-content h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 1.8em 0 .5em; }
.gj .entry-content h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gj-t2); }
.gj .entry-content p, .gj .entry-content li { color: var(--gj-t1); }
.gj .entry-content strong { color: var(--gj-t0); font-weight: 600; }
/* Separador ornamental: línea fina con rombo central encendido. */
.gj hr, .gj-orn { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gj-line-3) 20%, var(--gj-red-d) 50%, var(--gj-line-3) 80%, transparent); margin: 2.5em 0; position: relative; overflow: visible; }
.gj hr::after, .gj-orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--gj-bg); border: 1px solid var(--gj-red); transform: rotate(45deg); box-shadow: var(--gj-glow); }
.gj .entry-content img { border-radius: var(--gj-r); max-width: 100%; height: auto; }
.gj figure figcaption, .gj .wp-caption-text { color: var(--gj-t3); font-size: .85rem; text-align: center; margin-top: .5em; }
.gj .entry-content ul li::marker { color: var(--gj-red-t); }
.gj .entry-content ol li::marker { color: var(--gj-red-t); font-family: var(--gj-head); font-weight: 700; }
.gj small { color: var(--gj-t3); }
.gj iframe, .gj video, .gj embed { max-width: 100%; }

/* Chino tradicional y coreano: títulos en serif CJK del sistema (Ming/Song/Myeongjo, más cerca del pincel) y texto en
   sans CJK del sistema (más legible en pantalla). Saira y Inter solo se autoalojan en latín. */
.gj :lang(zh-Hant), .gj :lang(zh-hant), .gj:lang(zh-Hant) { --gj-head: "Saira", "Noto Serif CJK TC", "Source Han Serif TC", "PMingLiU", "Songti TC", serif; --gj-body: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif; }
.gj :lang(ko), .gj:lang(ko) { --gj-head: "Noto Serif KR", "Noto Serif CJK KR", "Source Han Serif K", "Batang", "AppleMyungjo", serif; --gj-body: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
html:lang(zh-Hant) body.gj, html:lang(zh-hant) body.gj { font-family: "Noto Sans TC", "Noto Sans KR", "Malgun Gothic", "Microsoft JhengHei", sans-serif; }
html:lang(ko) body.gj { font-family: "Noto Sans KR", "Noto Sans TC", "Malgun Gothic", "Microsoft JhengHei", sans-serif; }
html:lang(zh-Hant) .gj h1, html:lang(zh-hant) .gj h1, html:lang(ko) .gj h1, html:lang(zh-Hant) .gj .entry-content h2, html:lang(ko) .gj .entry-content h2 { text-transform: none; letter-spacing: 0; }

/* ---------- GeneratePress: estructura ---------- */
.gj .site, .gj .site-content, .gj .inside-article, .gj .one-container .site-content,
.gj .separate-containers .inside-article, .gj .widget-area .widget, .gj .comments-area, .gj .page-header {
	background: transparent;
	color: var(--gj-t1);
}
.gj .one-container .site-content { padding: 18px 16px 40px; }
.gj:not(.gj-full) .site-main > article { background: var(--gj-bg-2); border: 1px solid var(--gj-line); border-radius: var(--gj-r); }
.gj:not(.gj-full) .inside-article { padding: 22px 16px 30px; }
.gj .entry-meta, .gj .entry-meta a { color: var(--gj-t3); font-size: .88rem; }
.gj .site-main, .gj .content-area, .gj .widget-area { min-width: 0; }
@media (min-width: 769px) {
	body.gj { font-size: 18px; }
	.gj .one-container .site-content { padding: 32px 32px 56px; }
	.gj:not(.gj-full) .inside-article { padding: 32px 36px 42px; }
}

/* Cabecera */
.gj .site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(11, 11, 11, .92);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--gj-line);
}
.gj .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--gj-red) 30%, var(--gj-red) 70%, transparent); opacity: .6; }
.admin-bar.gj .site-header { top: 0; }
@media (min-width: 783px) { .admin-bar.gj .site-header { top: 32px; } }
.gj .inside-header { padding: 10px 16px; }
.gj .site-logo img, .gj .header-image { width: 160px; max-width: 46vw; height: auto; }
.gj .main-title a { font-family: var(--gj-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; text-decoration: none; }
.gj .site-description { color: var(--gj-t3); }
.gj .main-navigation, .gj .main-navigation ul ul { background: transparent; }
.gj .main-navigation .main-nav ul li a {
	font-family: var(--gj-head);
	font-weight: 600; font-size: .9rem;
	text-transform: uppercase; letter-spacing: .06em;
	color: var(--gj-t1);
	text-decoration: none;
	position: relative;
}
.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, .gj .main-navigation .main-nav ul li.current-page-ancestor > a { color: #fff; background: transparent; }
.gj .main-navigation ul ul { background: var(--gj-bg-2); border: 1px solid var(--gj-line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.gj .main-navigation .main-nav ul ul li a { font-size: .9rem; letter-spacing: .03em; text-transform: none; font-family: var(--gj-body); font-weight: 500; }
.gj .menu-toggle, .gj .menu-bar-item > a { color: #fff; background: transparent; font-family: var(--gj-head); text-transform: uppercase; letter-spacing: .06em; }
.gj .menu-toggle:hover, .gj .menu-toggle:focus { color: #fff; background: transparent; }
/* Menú móvil (hamburguesa de GeneratePress) */
@media (max-width: 768px) {
	.gj .main-navigation.toggled .main-nav > ul { background: var(--gj-bg); border-top: 1px solid var(--gj-line); }
	.gj .main-navigation.toggled .main-nav ul li a { padding-left: 16px; border-bottom: 1px solid var(--gj-line); }
	.gj .main-navigation.toggled .main-nav ul ul { background: var(--gj-bg-2); border: 0; box-shadow: none; }
	.gj .main-navigation.toggled .main-nav ul li.current-menu-item > a { box-shadow: inset 3px 0 0 var(--gj-red); }
}
@media (min-width: 769px) {
	.gj .inside-header { padding: 12px 28px; }
	.gj .site-logo img, .gj .header-image { width: 190px; }
	.gj .main-navigation .main-nav > ul > li > a::after {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 12px; height: 2px;
		background: var(--gj-red-bg); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
	}
	.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); }
	.gj .main-navigation ul ul { width: 260px; padding: 6px 0; border-top: 2px solid var(--gj-red); }
	.gj .main-navigation .main-nav ul ul li a { padding: 10px 16px; line-height: 1.35; white-space: normal; color: var(--gj-t1); }
	.gj .main-navigation .main-nav ul ul li a:hover { color: #fff; background: var(--gj-bg-3); }
	.gj .main-navigation .main-nav > ul > li.gj-lang > ul { width: 200px; right: 0; left: auto; }
}
@media (min-width: 1025px) {
	.gj .main-navigation .main-nav > ul > li > a { font-size: .86rem; padding-left: 12px; padding-right: 12px; white-space: nowrap; }
}
/* Buscador de la cabecera: oculto hasta pulsar la lupa */
.gj .navigation-search:not(.nav-search-active) { display: none !important; }
.gj .navigation-search.nav-search-active input { background: var(--gj-bg-2); color: #fff; border: 1px solid var(--gj-red); }

/* Migas */
.gj-migas { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .84rem; color: var(--gj-t3); margin: 0 0 16px; padding: 8px 12px; border: 1px solid var(--gj-line); border-left: 3px solid var(--gj-red); border-radius: var(--gj-r); background: var(--gj-bg-2); grid-column: 1 / -1; min-width: 0; }
.gj-migas__sep { color: var(--gj-red-t); margin: 0 2px; }
.gj-migas span[aria-current] { color: var(--gj-t1); max-width: 22ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 769px) { .gj-migas span[aria-current] { max-width: 46ch; } }
.gj-migas a { color: var(--gj-t2); text-decoration: none; }
.gj-migas a:hover { color: #fff; }

/* ---------- Componentes ---------- */
/* Botones: rectángulo con esquinas cortadas (sello), Saira en mayúsculas. --oro = acción principal (bermellón, nombre heredado de los generadores). */
.gj-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	font-family: var(--gj-head); font-weight: 700; font-size: .95rem;
	text-transform: uppercase; letter-spacing: .06em; text-decoration: none !important;
	color: var(--gj-bg) !important; background: #fff; border: 0;
	padding: .85em 1.6em; min-height: 44px;
	clip-path: var(--gj-cut);
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.gj-btn:hover, .gj-btn:focus-visible { background: var(--gj-t1); transform: translateY(-1px); }
.gj-btn--oro, .gj-btn--sangre { background: linear-gradient(180deg, var(--gj-red-bg), #6f4e17); color: #fff !important; box-shadow: var(--gj-glow); }
.gj-btn--oro:hover, .gj-btn--sangre:hover, .gj-btn--oro:focus-visible { background: var(--gj-red-h); color: #fff !important; }
.gj-btn--linea { background: transparent; color: #fff !important; clip-path: none; border: 1px solid var(--gj-line-3); border-radius: var(--gj-r); }
.gj-btn--linea:hover, .gj-btn--linea:focus-visible { background: transparent; border-color: var(--gj-red); color: #fff !important; }
.gj-btn--sm { padding: 8px 14px !important; font-size: .8rem !important; min-height: 36px; margin-bottom: 8px; }

.gj-kicker { font-family: var(--gj-head); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; color: var(--gj-red-t); display: inline-flex; align-items: center; gap: .7em; }
.gj-kicker::before { content: ""; width: 26px; height: 2px; background: var(--gj-red-bg); }

/* Respuesta rápida (AEO) y respuesta directa bajo un H2 */
.gj-resp { border: 1px solid var(--gj-line-2); border-left: 4px solid var(--gj-red); background: linear-gradient(135deg, rgba(217, 180, 108, .12), rgba(255, 255, 255, .02) 60%); border-radius: var(--gj-r); padding: 16px 18px; margin: 0 0 26px; }
.gj-resp p { margin: 0; color: var(--gj-t0); }
.gj-resp__k { display: block; font-family: var(--gj-head); font-size: .74rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--gj-red-t); margin-bottom: 6px; }
.gj-directa { border-left: 3px solid var(--gj-red); padding: 8px 0 8px 14px; margin: 0 0 1em; background: linear-gradient(90deg, rgba(217, 180, 108, .08), transparent 70%); }
.gj-directa strong { color: #fff; }

/* Avisos */
.gj-aviso { border-left: 3px solid var(--gj-line-3); background: var(--gj-bg-3); padding: 14px 16px; border-radius: 0 var(--gj-r) var(--gj-r) 0; margin: 1.4em 0; }
.gj-aviso p:last-child { margin-bottom: 0; }
.gj-aviso--peligro { border-color: var(--gj-red); background: rgba(217, 180, 108, .10); }
.gj-aviso--tip { border-color: #4fae74; }
.gj-aviso__t { font-family: var(--gj-head); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; display: block; margin-bottom: 4px; color: var(--gj-t0); }
.gj-aviso--peligro .gj-aviso__t { color: var(--gj-red-t); }
.gj-aviso--tip .gj-aviso__t { color: #7ad39b; }

/* Ficha (infobox) */
.gj-ficha { width: 100%; margin: 0 0 22px; border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); background: var(--gj-bg-3); overflow: hidden; font-size: .94rem; }
.gj-ficha__t { font-family: var(--gj-head); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; text-align: center; padding: 12px 14px; margin: 0; background: linear-gradient(180deg, rgba(217, 180, 108, .35), rgba(217, 180, 108, .06)); border-bottom: 1px solid var(--gj-line-2); }
.gj-ficha img { width: 100%; height: auto; display: block; border-radius: 0 !important; }
.gj-ficha dl { margin: 0; padding: 6px 14px 12px; display: grid; grid-template-columns: 42% 58%; }
.gj-ficha dt, .gj-ficha dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--gj-line); min-width: 0; }
.gj-ficha dt { color: var(--gj-t3); font-weight: 600; text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; padding-top: 11px; }
@media (min-width: 769px) { .gj-ficha { float: right; width: 320px; margin: 0 0 24px 26px; } }

/* Tablas */
.gj .entry-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.8em; font-size: .94rem; border: 1px solid var(--gj-line-2); background: var(--gj-bg-2); }
.gj .entry-content th { background: var(--gj-bg-3); color: #fff; font-family: var(--gj-head); text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; font-weight: 700; text-align: left; padding: 11px 12px; border-bottom: 2px solid var(--gj-red); }
.gj .entry-content td { padding: 10px 12px; border-top: 1px solid var(--gj-line); vertical-align: top; color: var(--gj-t1); }
.gj .entry-content tbody tr:hover td { background: rgba(255, 255, 255, .03); }
.gj-tabla { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.2em 0 1.8em; max-width: 100%; }
.gj-tabla table { margin: 0 !important; min-width: 520px; }

/* Tarjetas */
.gj-cards { display: grid; gap: 16px; margin: 1.4em 0 2em; grid-template-columns: minmax(0, 1fr); }
.gj-card { position: relative; display: flex; flex-direction: column; text-decoration: none !important; color: var(--gj-t1) !important; background: var(--gj-bg-2); border: 1px solid var(--gj-line); border-radius: var(--gj-r); overflow: hidden; transition: transform .25s ease, border-color .25s, box-shadow .25s; isolation: isolate; min-width: 0; }
.gj-card:hover, .gj-card:focus-visible { transform: translateY(-3px); border-color: var(--gj-red); box-shadow: 0 16px 36px rgba(0, 0, 0, .55); }
.gj-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.gj-card__media img, .gj-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; border-radius: 0 !important; }
.gj-card:hover .gj-card__media img { transform: scale(1.05); }
.gj-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.gj-card__t { font-family: var(--gj-head); font-size: 1.12rem; font-weight: 700; color: #fff; line-height: 1.2; }
.gj-card__d { color: var(--gj-t2); font-size: .92rem; line-height: 1.5; flex: 1; }
.gj-card__go { font-family: var(--gj-head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gj-red-t); margin-top: 6px; }
.gj-card__go::after { content: " →"; }
.gj-card__tag { position: absolute; top: 10px; left: 10px; z-index: 3; font-family: var(--gj-head); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--gj-red-bg); color: #fff; padding: 4px 9px; }
.gj-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gj-card__links a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--gj-line-3); background: rgba(0, 0, 0, .45); color: #fff !important; font-size: .85rem; font-weight: 600; text-decoration: none; }
.gj-card__links a:hover, .gj-card__links a:focus-visible { background: var(--gj-red-bg); border-color: var(--gj-red); }
@media (min-width: 600px) { .gj-cards, .gj-cards--3, .gj-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .gj-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gj-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Mosaico de secciones (bento) */
.gj-bento { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(220px, auto); gap: 14px; }
.gj-bento .gj-card .gj-card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.gj-bento .gj-card .gj-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .4) 55%, rgba(0, 0, 0, .05) 100%); }
.gj-bento .gj-card__body { position: relative; z-index: 1; justify-content: flex-end; }
.gj-bento .gj-card__d { flex: 0; }
.gj-bento .gj-card--inicio { background: var(--gj-ash), var(--gj-bg-3); cursor: default; }
.gj-bento .gj-card--inicio:hover { transform: none; }
@media (min-width: 600px) {
	.gj-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gj-bento .gj-card--big { grid-column: span 2; }
	.gj-bento .gj-card--inicio.gj-r2-0 { grid-column: span 2; }
}
@media (min-width: 1025px) {
	.gj-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 210px; }
	.gj-bento .gj-card--big { grid-column: span 2; grid-row: span 2; }
	.gj-bento .gj-card--big .gj-card__t { font-size: 1.8rem; }
	.gj-bento .gj-card--wide { grid-column: span 2; }
	.gj-bento .gj-card--inicio.gj-r2-0 { grid-column: auto; }
	.gj-bento .gj-card--inicio.gj-r4-0 { display: none; }
	.gj-bento .gj-card--inicio.gj-r4-2 { grid-column: span 2; }
	.gj-bento .gj-card--inicio.gj-r4-3 { grid-column: span 3; }
}

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

/* Pasos */
.gj-pasos { counter-reset: paso; list-style: none; padding: 0; margin: 1.4em 0; }
.gj-pasos > li { counter-increment: paso; position: relative; padding: 2px 0 20px 40px; margin: 0 0 0 18px; border-left: 1px dashed var(--gj-line-3); }
.gj-pasos > li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: -19px; top: 0; width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--gj-head); font-weight: 700; font-size: .95rem; color: #fff; background: var(--gj-red-bg); clip-path: var(--gj-cut); }
.gj-pasos > li:last-child { border-left-color: transparent; }
.gj-pasos > li > strong:first-child { display: block; font-family: var(--gj-head); font-size: 1.08rem; color: #fff; margin-bottom: 2px; }

/* KPIs */
.gj-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1.4em 0 2em; }
.gj-kpi { border: 1px solid var(--gj-line); background: var(--gj-bg-2); border-radius: var(--gj-r); padding: 14px; text-align: center; min-width: 0; }
.gj-kpi b { display: block; font-family: var(--gj-head); font-size: 2rem; line-height: 1; color: #fff; }
.gj-kpi span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gj-t3); font-weight: 600; }
@media (min-width: 769px) { .gj-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Video con fachada */
.gj-video { margin: 0 0 1.6em; }
.gj-video__play { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.gj-video__play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .5s; border-radius: 0 !important; }
.gj-video__play:hover img, .gj-video__play:focus-visible img { opacity: 1; transform: scale(1.02); }
.gj-video__btn { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); background: var(--gj-red-bg); clip-path: var(--gj-cut); box-shadow: 0 0 40px rgba(217, 180, 108, .6); }
.gj-video__btn::after { content: ""; position: absolute; left: 29px; top: 22px; border-left: 20px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.gj-video__play:hover .gj-video__btn { background: var(--gj-red-h); }
.gj-video iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--gj-r); display: block; }

/* FAQ */
.gj-faq { margin: 1em 0 2em; }
.gj-faq__i { border: 1px solid var(--gj-line); border-radius: var(--gj-r); margin: 0 0 10px; background: var(--gj-bg-2); }
.gj-faq__i summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 16px; font-family: var(--gj-head); font-weight: 600; font-size: 1.04rem; color: #fff; position: relative; line-height: 1.35; }
.gj-faq__i summary::-webkit-details-marker { display: none; }
.gj-faq__i summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gj-red-t); transition: transform .2s; }
.gj-faq__i[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.gj-faq__i[open] { border-color: var(--gj-line-3); border-left: 3px solid var(--gj-red); }
.gj-faq__a { padding: 0 16px 14px; color: var(--gj-t1); }
.gj-faq__a p:last-child { margin-bottom: 0; }
@media (min-width: 1000px) { .gj-faq--2 { columns: 2; column-gap: 20px; } .gj-faq--2 .gj-faq__i { break-inside: avoid; } }

/* GEO Content Anchor en tema oscuro */
.gj .gca-anchor { --gca-border: var(--gj-line-3); --gca-bg: var(--gj-bg-2); --gca-accent: var(--gj-red-t); color: var(--gj-t1); margin: 2.2em auto; border-radius: var(--gj-r); border-left: 3px solid var(--gj-red); }
.gj .gca-anchor__heading { font-family: var(--gj-head); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.gj .gca-anchor__fact dt { color: #fff; }
.gj .gca-anchor a { color: #fff; }

/* Easy Table of Contents */
.gj #ez-toc-container { background: var(--gj-bg-3) !important; border: 1px solid var(--gj-line-2) !important; border-radius: var(--gj-r); padding: 12px 16px; box-shadow: none; width: 100%; max-width: 100%; margin: 0 0 26px; }
.gj #ez-toc-container .ez-toc-title { font-family: var(--gj-head); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: #fff !important; }
.gj #ez-toc-container a { color: var(--gj-t2) !important; text-decoration: none; }
.gj #ez-toc-container a:hover { color: #fff !important; }
.gj #ez-toc-container .ez-toc-js-icon-con, .gj #ez-toc-container .ez-toc-toggle svg { color: var(--gj-t1); fill: var(--gj-t1); border-color: var(--gj-line-3) !important; background: transparent; }

/* Cinta de novedades */
.gj-ticker { display: flex; align-items: center; border-top: 1px solid var(--gj-line); border-bottom: 1px solid var(--gj-line); background: var(--gj-bg-2); overflow: hidden; max-width: 100%; }
.gj-ticker__k { flex: none; background: var(--gj-red-bg); color: #fff; font-family: var(--gj-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; padding: 13px 18px; }
.gj-ticker__track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gj-ticker__run { display: inline-flex; white-space: nowrap; animation: gj-run 60s linear infinite; }
.gj-ticker__run a { color: var(--gj-t1); text-decoration: none; padding: 12px 22px; font-family: var(--gj-head); font-size: .95rem; font-weight: 600; }
.gj-ticker__run a::before { content: "/"; color: var(--gj-red-t); margin-right: 12px; }
.gj-ticker__run a:hover { color: #fff; }
.gj-ticker:hover .gj-ticker__run, .gj-ticker:focus-within .gj-ticker__run { animation-play-state: paused; }
@keyframes gj-run { to { transform: translateX(-50%); } }

/* ---------- Portada y páginas a ancho completo ---------- */
.gj-full .site.grid-container, .gj-full .site-content, .gj-full .grid-container.container { max-width: none; }
.gj-full .one-container .site-content, .gj-full .site-content { padding: 0 !important; }
.gj-full .inside-article { padding: 0 !important; }
.gj-full .site-main { margin: 0 !important; }
.gj-full .entry-content { margin: 0; }
.gj-full .entry-content > * { margin-top: 0; }
.gj-full .featured-image, .gj-full .page-header-image, .gj-full .page-header-image-single { display: none !important; }
.gj-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.gj-wrap-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.gj-sec { position: relative; padding: 56px 0; }
.gj-sec--alt { background: var(--gj-bg-2); border-top: 1px solid var(--gj-line); border-bottom: 1px solid var(--gj-line); }
.gj-sec--corte { background: var(--gj-ash), var(--gj-bg-3); clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); padding: 80px 0; }
.gj-sec__h { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 28px; flex-wrap: wrap; }
.gj-sec__h h2 { margin: .25em 0 0 !important; font-size: clamp(1.6rem, 4.2vw, 2.8rem) !important; text-transform: uppercase; }
.gj-sec__h h2::after { display: none; }
.gj-sec__h p { color: var(--gj-t2); max-width: 560px; margin: 0; }
.gj-full .gj-sec .gj-faq { margin-top: 22px; }
@media (min-width: 769px) { .gj-wrap { padding: 0 28px; } .gj-sec { padding: 88px 0; } .gj-sec--corte { padding: 120px 0; } }

/* Héroe (con brasas que suben despacio y viñeta) */
.gj-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.gj-hero__bg { position: absolute; inset: 0; z-index: -3; }
.gj-hero__bg img, .gj-hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; border-radius: 0 !important; }
.gj-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, var(--gj-bg) 6%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .25)); }
.gj-hero::after { content: ""; position: absolute; inset: 0 0 -20%; z-index: -1; background: var(--gj-ash); opacity: .9; animation: gj-brasas 18s ease-in-out infinite alternate; pointer-events: none; }
.gj-hero__in { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 120px 16px 56px; }
.gj-hero h1 { font-size: clamp(2.2rem, 7vw, 5.2rem); line-height: .98; margin: .25em 0 .3em; max-width: 14ch; text-shadow: 0 6px 40px rgba(0, 0, 0, .7); }
.gj-hero h1 em { font-style: normal; color: var(--gj-red-t); }
.gj-hero__lead { font-size: clamp(1rem, 1.6vw, 1.22rem); color: var(--gj-t1); max-width: 600px; margin-bottom: 26px; }
.gj-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.gj-hero__meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 36px; color: var(--gj-t2); font-size: .9rem; }
.gj-hero__meta b { display: block; font-family: var(--gj-head); font-size: 1.6rem; color: #fff; line-height: 1; }
.gj-hero__buscar { max-width: 620px; margin: 20px 0; }
@keyframes gj-brasas { from { transform: translateY(0); opacity: .65; } to { transform: translateY(-14%); opacity: 1; } }
@media (min-width: 769px) {
	.gj-hero::before { background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .5) 45%, rgba(0, 0, 0, .1) 75%), linear-gradient(0deg, var(--gj-bg) 0%, transparent 40%); }
	.gj-hero__in { padding: 160px 28px 88px; }
}
.gj.home .site-header { transition: background-color .3s; }

/* Banda destacada */
.gj-banda { position: relative; overflow: hidden; border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); display: grid; grid-template-columns: minmax(0, 1fr); background: var(--gj-bg-2); }
.gj-banda__txt { padding: 24px 18px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.gj-banda__txt h2 { margin: 0 !important; font-size: clamp(1.6rem, 3.4vw, 2.5rem) !important; text-transform: uppercase; }
.gj-banda__txt h2::after { display: none; }
.gj-banda__img { position: relative; min-height: 220px; order: -1; }
.gj-banda__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; mask-image: linear-gradient(0deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(0deg, transparent, #000 40%); }
@media (min-width: 1025px) {
	.gj-banda { grid-template-columns: 1.1fr .9fr; min-height: 360px; }
	.gj-banda__txt { padding: 44px; }
	.gj-banda__img { order: 0; }
	.gj-banda__img img { mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
}

/* ---------- Infografías HTML/CSS ---------- */
.gj-ig { border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); background: linear-gradient(160deg, rgba(217, 180, 108, .10), var(--gj-bg-2) 45%); padding: 18px 16px 14px; margin: 1.6em 0 2em; position: relative; overflow: hidden; clear: both; }
.gj-ig::before { content: ""; position: absolute; inset: 0; background: var(--gj-ash); opacity: .5; pointer-events: none; }
.gj-ig > * { position: relative; }
.gj-ig__t { font-family: var(--gj-head); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin: 0 0 4px !important; }
.gj-ig__s { font-size: .84rem; color: var(--gj-t3) !important; margin: 0 0 16px !important; }
.gj-ig__note { font-size: .8rem; color: var(--gj-t3) !important; margin: 12px 0 0 !important; }
.gj-ig__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 769px) { .gj-ig { padding: 22px 22px 18px; } .gj-ig__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Barras */
.gj-bars { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gj-bar { display: grid; grid-template-columns: minmax(80px, 36%) minmax(0, 1fr) auto; align-items: center; gap: 8px; margin: 0 !important; }
.gj-bar::marker { content: none; }
.gj-bar__l { font-size: .88rem; color: var(--gj-t2); line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.gj-bar__t { height: 12px; background: var(--gj-bg-3); border: 1px solid var(--gj-line); overflow: hidden; }
.gj-bar__t i { display: block; height: 100%; width: var(--v); background: linear-gradient(90deg, var(--gj-red-d), var(--gj-red)); transform-origin: left; animation: gj-grow 1s cubic-bezier(.2, .7, .2, 1) both; }
.gj-bar--rojo .gj-bar__t i { background: linear-gradient(90deg, var(--gj-red-d), var(--gj-red-t)); }
.gj-bar__n { font-family: var(--gj-head); font-weight: 700; font-size: 1rem; color: #fff; min-width: 3em; text-align: right; }
@keyframes gj-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 769px) { .gj-bar { grid-template-columns: minmax(90px, 32%) minmax(0, 1fr) auto; gap: 12px; } }
/* Anillo */
.gj-donut { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gj-donut__c { width: 150px; height: 150px; border-radius: 50%; flex: none; position: relative; }
.gj-donut__c::after { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: var(--gj-bg-2); box-shadow: inset 0 0 0 1px var(--gj-line); }
.gj-donut__v { position: absolute; inset: 22px; padding: 0 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1; text-align: center; font-family: var(--gj-head); font-weight: 700; font-size: 1.6rem; color: #fff; line-height: 1; }
.gj-donut__v small { display: block; max-width: 92px; font-family: var(--gj-body); font-size: .62rem; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; color: var(--gj-t3); font-weight: 600; margin-top: 5px; overflow-wrap: anywhere; }
.gj-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.gj-legend li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem; color: var(--gj-t1); }
.gj-legend li::marker { content: none; }
.gj-legend b { font-family: var(--gj-head); font-size: 1.05rem; color: #fff; min-width: 2em; }
.gj-sw { width: 12px; height: 12px; border-radius: 2px; flex: none; display: inline-block; }
/* Chips */
.gj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gj-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid var(--gj-line-3); background: var(--gj-bg-3); color: var(--gj-t1); text-decoration: none; }
.gj-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gj-red-t); }
.gj-chip--fuego::before { background: #e2603a; } .gj-chip--fuego { border-color: #7a3a26; }
.gj-chip--rayo::before { background: #e8d24a; } .gj-chip--rayo { border-color: #6e6428; }
.gj-chip--hielo::before { background: #7cc8f0; } .gj-chip--hielo { border-color: #36586a; }
.gj-chip--veneno::before { background: #8bd16a; } .gj-chip--veneno { border-color: #3f5e31; }
.gj-chip--agua::before { background: #4b8fe0; } .gj-chip--agua { border-color: #2c4c75; }
.gj-chip--sangrado::before, .gj-chip--perdida::before { background: var(--gj-red-h); } .gj-chip--sangrado, .gj-chip--perdida { border-color: var(--gj-red-d); }
.gj-chip--ninguna { color: var(--gj-t3); } .gj-chip--ninguna::before { background: var(--gj-t4); }
/* Flujo de pasos */
.gj-flow { display: flex; gap: 0; overflow-x: auto; padding: 6px 2px 10px; list-style: none; margin: 0 0 14px; counter-reset: fl; -webkit-overflow-scrolling: touch; max-width: 100%; }
.gj-flow li { counter-increment: fl; flex: 1 0 112px; position: relative; padding: 38px 8px 0; margin: 0; text-align: center; font-size: .82rem; color: var(--gj-t2); line-height: 1.3; }
.gj-flow li::marker { content: none; }
.gj-flow li::before { content: counter(fl); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; display: grid; place-items: center; background: var(--gj-bg); border: 2px solid var(--gj-line-3); color: #fff; font-family: var(--gj-head); font-weight: 700; font-size: .8rem; z-index: 1; clip-path: var(--gj-cut); }
.gj-flow li::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 2px; background: var(--gj-line-3); }
.gj-flow li:last-child::after { display: none; }
.gj-flow li.is-on::before { background: var(--gj-red-bg); border-color: var(--gj-red); }
.gj-flow li.is-alerta::before { border-color: var(--gj-red-t); color: var(--gj-red-t); }
.gj-flow li strong { display: block; color: #fff; font-size: .88rem; }
/* Comparación */
.gj-vs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 1em 0; }
.gj-vs > div { border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); padding: 14px 16px; background: var(--gj-bg-3); min-width: 0; }
.gj-vs__t { font-family: var(--gj-head); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px !important; color: #7ad39b; }
.gj-vs > div:last-child .gj-vs__t { color: var(--gj-red-t); }
.gj-vs ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
@media (min-width: 769px) { .gj-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Cifras */
.gj-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
.gj-tile { border: 1px solid var(--gj-line-2); border-top: 2px solid var(--gj-red); border-radius: var(--gj-r); padding: 12px 14px; background: var(--gj-bg-3); container-type: inline-size; min-width: 0; overflow: hidden; }
.gj-tile b { display: block; font-family: var(--gj-head); font-weight: 700; font-size: 1.6rem; font-size: clamp(.95rem, 14cqi, 1.6rem); line-height: 1.1; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gj-tile span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gj-t3); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .gj-bar__t i { animation: none; } }

/* ---------- Hubs de categoría y archivos ---------- */
.gj .page-header { padding: 0 0 6px; margin: 0; border: 0; }
.gj .page-header .page-title { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; text-transform: uppercase; }
.gj .page-header .page-title::before { content: "Guías Juegos"; display: block; font-family: var(--gj-head); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gj-red-t); margin-bottom: 8px; }
.gj-hubtop { margin: 8px 0 24px; }
.gj-hubtop__img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--gj-r); border: 1px solid var(--gj-line-2); margin-bottom: 20px; position: relative; }
.gj-hubtop__img::after { content: ""; position: absolute; inset: 0; background: var(--gj-ash), linear-gradient(0deg, rgba(11, 11, 11, .8), transparent 55%); }
.gj-hubtop__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.gj-hubtop__lead { font-size: 1.1rem; color: var(--gj-t1); max-width: 820px; }
.gj-hubtop__h { font-size: clamp(1.3rem, 2.8vw, 1.8rem); margin: 30px 0 6px; text-transform: uppercase; }
.gj-hubfaq { margin-top: 36px; clear: both; }
@media (min-width: 769px) { .gj-hubtop__img { aspect-ratio: 21 / 8; } }
.gj.archive .site-main, .gj.search .site-main, .gj.blog .site-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.gj.archive .site-main > *:not(article), .gj.search .site-main > *:not(article), .gj.blog .site-main > *:not(article) { grid-column: 1 / -1; }
.gj.archive .site-main > article, .gj.search .site-main > article, .gj.blog .site-main > article { margin: 0 !important; background: var(--gj-bg-2); border: 1px solid var(--gj-line); border-radius: var(--gj-r); overflow: hidden; transition: transform .25s, border-color .25s; display: flex; min-width: 0; }
.gj.archive .site-main > article:hover, .gj.search .site-main > article:hover { transform: translateY(-3px); border-color: var(--gj-red); }
.gj.archive .inside-article, .gj.search .inside-article, .gj.blog .inside-article { padding: 0 0 16px !important; display: flex; flex-direction: column; width: 100%; background: transparent !important; border: 0 !important; }
.gj.archive .post-image, .gj.search .post-image, .gj.blog .post-image { order: -1; margin: 0 0 14px !important; aspect-ratio: 16 / 9; overflow: hidden; }
.gj.archive .post-image img, .gj.search .post-image img, .gj.blog .post-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
.gj.archive .entry-header, .gj.archive .entry-summary, .gj.archive footer.entry-meta,
.gj.search .entry-header, .gj.search .entry-summary, .gj.blog .entry-header, .gj.blog .entry-summary { padding: 0 16px; }
.gj.archive .entry-title, .gj.search .entry-title, .gj.blog .entry-title { font-size: 1.12rem; margin: 0 0 8px; text-transform: none; letter-spacing: .01em; font-weight: 700; }
.gj.archive .entry-title a, .gj.search .entry-title a, .gj.blog .entry-title a { color: #fff; text-decoration: none; }
.gj.archive .entry-summary p, .gj.search .entry-summary p { font-size: .92rem; color: var(--gj-t2); margin: 0; }
.gj.archive .entry-meta, .gj.search .entry-meta { display: none; }
.gj .paging-navigation, .gj .nav-links { grid-column: 1 / -1; }
.gj .nav-links .page-numbers { display: inline-block; min-width: 44px; padding: 9px 12px; border: 1px solid var(--gj-line-2); color: var(--gj-t1); text-align: center; text-decoration: none; margin: 0 4px 4px 0; font-family: var(--gj-head); }
.gj .nav-links .page-numbers.current, .gj .nav-links a.page-numbers:hover { border-color: var(--gj-red); background: var(--gj-red-bg); color: #fff; }
@media (min-width: 600px) { .gj.archive .site-main, .gj.search .site-main, .gj.blog .site-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .gj.archive.no-sidebar .site-main, .gj.search .site-main, .gj.blog .site-main { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Entradas: imagen destacada y navegación */
.gj.single .featured-image, .gj.single .page-header-image-single { margin: 0 0 20px; border-radius: var(--gj-r); overflow: hidden; border: 1px solid var(--gj-line-2); }
.gj.single .featured-image img, .gj.single .page-header-image-single img { width: 100%; border-radius: 0 !important; }
.gj .post-navigation, .gj .nav-previous, .gj .nav-next { font-size: .94rem; }
.gj .cat-links a, .gj .tags-links a { color: var(--gj-t1); }

/* Actualizado / Última verificación */
.gj-fechas { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 14px; font-size: .88rem; color: var(--gj-t3); }
.gj-fechas strong { color: var(--gj-t1); font-weight: 600; }

/* ---------- Barra lateral ---------- */
.gj .widget-area .widget { padding: 0; margin-bottom: 22px; }
.gj-side { border: 1px solid var(--gj-line); border-radius: var(--gj-r); background: var(--gj-bg-2); padding: 16px 16px 8px !important; position: relative; overflow: hidden; }
.gj-side::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 40px; background: var(--gj-red-bg); }
.gj-side__t { font-family: var(--gj-head); font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin: 0 0 8px; }
.gj-side__t a { color: #fff; text-decoration: none; }
.gj-side__t small { font-family: var(--gj-body); font-size: .74rem; text-transform: none; letter-spacing: 0; color: var(--gj-t3); margin-left: 4px; }
.gj-side__p { margin: 0 0 12px; font-size: .9rem; color: var(--gj-t2); line-height: 1.5; }
.gj-side ul, .gj-side ol { margin: 0 0 10px; padding: 0; list-style: none; }
.gj-side li { margin: 0; padding: 7px 0; border-bottom: 1px solid var(--gj-line); font-size: .9rem; color: var(--gj-t2); }
.gj-side li:last-child { border-bottom: 0; }
.gj-side li a { color: var(--gj-t1); text-decoration: none; display: block; }
.gj-side li a:hover { color: #fff; }
.gj-side__list { max-height: 420px; overflow: auto; }
.gj-side__list a[aria-current] { color: #fff; font-weight: 600; box-shadow: inset 2px 0 0 var(--gj-red); padding-left: 8px; }
.gj-side__news time { display: block; font-family: var(--gj-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gj-red-t); }
.gj-side__secs { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; }
.gj-side__secs a { padding: 4px 10px; border: 1px solid var(--gj-line-2); border-radius: 999px; font-size: .82rem; color: var(--gj-t1); text-decoration: none; }
.gj-side__secs a:hover, .gj-side__secs a[aria-current] { border-color: var(--gj-red); background: var(--gj-red-bg); color: #fff; }
.gj-side--alerta { border-color: var(--gj-red-d); background: linear-gradient(135deg, rgba(217, 180, 108, .1), var(--gj-bg-2)); }
@media (min-width: 1025px) { .gj .inside-right-sidebar { position: sticky; top: 90px; } }

/* ---------- Buscador ---------- */
.gj-search { position: relative; display: flex; align-items: stretch; margin: 0; width: 100%; }
.gj-search input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--gj-line-3); border-right: 0; border-radius: var(--gj-r) 0 0 var(--gj-r); background: var(--gj-bg); color: #fff; font-size: 1rem; }
.gj-search input[type="search"]::placeholder { color: var(--gj-t4); }
.gj-search input[type="search"]:focus { outline: none; border-color: var(--gj-red); box-shadow: 0 0 0 3px rgba(217, 180, 108, .25); }
.gj-search button { flex: none; width: 50px; border: 0; border-radius: 0 var(--gj-r) var(--gj-r) 0; background: var(--gj-red-bg); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.gj-search button:hover, .gj-search button:focus-visible { background: var(--gj-red-h); }
.gj-search--xl input[type="search"] { height: 56px; font-size: 1.05rem; padding: 0 18px; }
.gj-search--xl button { width: 60px; }
.gj-search__res { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); max-height: 360px; overflow: auto; border: 1px solid var(--gj-line-3); border-radius: var(--gj-r); background: var(--gj-bg-2); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85); padding: 6px; text-align: left; }
.gj-search__res a { display: block; padding: 9px 10px; color: var(--gj-t1); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.gj-search__res a:hover, .gj-search__res a:focus { background: var(--gj-bg-3); color: #fff; outline: none; box-shadow: inset 2px 0 0 var(--gj-red); }
.gj-search__res .gj-search__all { margin-top: 4px; border-top: 1px solid var(--gj-line); color: var(--gj-red-t); font-weight: 600; }
.gj-search__nada { margin: 0; padding: 10px; color: var(--gj-t3); font-size: .9rem; }
.gj-search__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 0; font-size: .8rem; color: var(--gj-t3); letter-spacing: .06em; text-transform: uppercase; font-family: var(--gj-head); }
.gj-search__tags a { padding: 4px 12px; border: 1px solid var(--gj-line-3); border-radius: 999px; color: var(--gj-t1); text-decoration: none; text-transform: none; letter-spacing: 0; font-size: .86rem; font-family: var(--gj-body); }
.gj-search__tags a:hover { border-color: var(--gj-red); background: var(--gj-red-bg); color: #fff; }
.gj .search-field, .gj input[type="search"], .gj input[type="text"], .gj input[type="email"], .gj textarea, .gj select { background: var(--gj-bg); border: 1px solid var(--gj-line-3); color: #fff; border-radius: var(--gj-r); }
.gj button, .gj input[type="submit"] { font-family: var(--gj-head); }

/* ---------- Rastreador de trofeos ---------- */
.gj-trofeos tbody tr { cursor: pointer; }
.gj-trofeos td:first-child { width: 46px; text-align: center; }
.gj-check { width: 20px; height: 20px; border: 1.5px solid var(--gj-line-3); display: inline-block; transform: rotate(45deg); transition: all .2s; margin-top: 4px; }
.gj-trofeos tr.is-hecho .gj-check { background: var(--gj-red-bg); border-color: var(--gj-red); box-shadow: 0 0 12px rgba(217, 180, 108, .6); }
.gj-trofeos tr.is-hecho td:not(:first-child) { opacity: .55; }
.gj-trofeos tr.is-hecho strong { text-decoration: line-through; text-decoration-color: var(--gj-red); }
.gj-progreso { position: sticky; top: 72px; z-index: 5; background: rgba(11, 11, 11, .94); border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); padding: 10px 14px; margin: 1em 0; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.gj-progreso__bar { flex: 1; min-width: 140px; height: 8px; background: var(--gj-bg-3); overflow: hidden; }
.gj-progreso__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gj-red-d), var(--gj-red)); transition: width .4s ease; }
.gj-progreso__n { font-family: var(--gj-head); font-weight: 700; font-size: 1.2rem; color: #fff; }
.gj-progreso button { background: transparent; border: 1px solid var(--gj-line-3); color: var(--gj-t1); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; border-radius: var(--gj-r); cursor: pointer; min-height: 36px; }
.gj-filtros { display: flex; gap: 8px; flex-wrap: wrap; margin: .5em 0 1em; }
.gj-filtros button { background: var(--gj-bg-3); border: 1px solid var(--gj-line-2); color: var(--gj-t1); border-radius: 999px; padding: 7px 14px; font-size: .84rem; cursor: pointer; min-height: 36px; }
.gj-filtros button[aria-pressed="true"] { border-color: var(--gj-red); background: var(--gj-red-bg); color: #fff; }
.gj-perdible { color: var(--gj-red-t); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Pie ---------- */
.gj-foot { position: relative; overflow: hidden; color: var(--gj-t2); background: var(--gj-ash), linear-gradient(180deg, var(--gj-bg-3), var(--gj-bg)); border-top: 1px solid var(--gj-line); }
.gj-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gj-red-d) 15%, var(--gj-red) 50%, var(--gj-red-d) 85%, transparent); }
.gj-foot__in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.gj-foot__top { border-bottom: 1px solid var(--gj-line); background: rgba(0, 0, 0, .4); }
.gj-foot__in--top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.gj-foot__qt { margin: 0; font-family: var(--gj-head); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; line-height: 1.15; }
.gj-foot__qs { margin: 4px 0 0; font-size: .9rem; color: var(--gj-t3); }
.gj-foot__ficha { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; row-gap: 10px; }
.gj-foot__ficha li { margin: 0; padding: 0 14px; border-left: 1px solid var(--gj-line-3); font-size: .92rem; color: #fff; }
.gj-foot__ficha li:first-child { padding-left: 0; border-left: 0; }
.gj-foot__ficha b { display: block; font-family: var(--gj-head); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gj-red-t); }
.gj-foot__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 36px; padding-bottom: 36px; }
.gj-foot__logo { text-decoration: none !important; display: inline-block; }
.gj-foot__logo img { width: 200px; max-width: 100%; height: auto; display: block; }
.gj-foot__marca { font-family: var(--gj-head); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.gj-foot__claim { margin: 14px 0 8px; font-family: var(--gj-head); font-size: 1.1rem; font-weight: 700; color: #fff; line-height: 1.3; }
.gj-foot__txt { margin: 0 0 14px; font-size: .92rem; line-height: 1.65; color: var(--gj-t2); max-width: 440px; }
.gj-foot__pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gj-foot__pills li { margin: 0; padding: 5px 12px; border: 1px solid var(--gj-line-3); border-radius: 999px; font-family: var(--gj-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gj-t1); }
.gj-foot__social { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.gj-foot__social a { color: var(--gj-t1); font-size: .9rem; }
.gj-foot__t { position: relative; margin: 0 0 14px; padding-left: 14px; font-family: var(--gj-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.gj-foot__t::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--gj-red-bg); transform: rotate(45deg); }
.gj-foot__list, .gj-foot__news { list-style: none; margin: 0; padding: 0; }
.gj-foot__list li, .gj-foot__news li { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--gj-line); }
.gj-foot__list--2 { columns: 2; column-gap: 20px; }
.gj-foot__list--2 li { break-inside: avoid; }
.gj-foot__list a { color: var(--gj-t1); text-decoration: none; font-size: .94rem; }
.gj-foot__list a:hover, .gj-foot__list a:focus-visible { color: #fff; text-decoration: underline; text-decoration-color: var(--gj-red); }
.gj-foot__news a { display: block; text-decoration: none; color: var(--gj-t1); font-size: .92rem; font-weight: 500; line-height: 1.35; }
.gj-foot__news a:hover { color: #fff; }
.gj-foot__news time { display: block; font-family: var(--gj-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gj-red-t); margin-bottom: 2px; }
.gj-foot__todas { display: inline-block; margin: 12px 0 0; font-family: var(--gj-head); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff !important; }
.gj-foot__autor { display: flex; gap: 12px; align-items: center; margin: 20px 0 10px; padding: 12px; max-width: 440px; border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); background: rgba(255, 255, 255, .03); text-decoration: none !important; color: var(--gj-t2) !important; transition: border-color .2s ease; }
.gj-foot__autor:hover, .gj-foot__autor:focus-visible { border-color: var(--gj-red); }
.gj-foot__autor img { width: 56px; height: 56px; flex: none; border-radius: 50% !important; object-fit: cover; object-position: 50% 20%; border: 2px solid var(--gj-red); }
.gj-foot__autor strong { display: block; color: #fff; font-family: var(--gj-head); font-size: 1.05rem; line-height: 1.15; }
.gj-foot__autor em { display: block; font-style: normal; font-size: .82rem; line-height: 1.4; color: var(--gj-t3); }
.gj-foot__k { display: block; font-family: var(--gj-head); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gj-red-t); margin-bottom: 2px; }
.gj-foot__mas { display: block; margin-top: 3px; font-size: .82rem; font-weight: 600; color: var(--gj-t1); }
.gj-foot__idiomas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.gj-foot__idiomas span { font-family: var(--gj-head); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gj-t3); margin-right: 4px; }
.gj-foot__idiomas a { padding: 5px 11px; border: 1px solid var(--gj-line-3); border-radius: 999px; font-size: .82rem; color: var(--gj-t1) !important; text-decoration: none; }
.gj-foot__idiomas a[aria-current] { border-color: var(--gj-red); background: var(--gj-red-bg); color: #fff !important; }
.gj-foot .gj-search { margin: 0; }
@media (min-width: 700px) { .gj-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gj-foot__brand { grid-column: 1 / -1; } }
@media (min-width: 1025px) {
	.gj-foot__in { padding: 0 28px; }
	.gj-foot__in--top { grid-template-columns: auto minmax(260px, 1fr) auto; gap: 24px 32px; }
	.gj-foot__grid { grid-template-columns: 1.4fr 1.1fr .9fr 1fr; gap: 38px; padding-top: 48px; padding-bottom: 42px; }
	.gj-foot__brand { grid-column: auto; }
}
.gj .site-footer .site-info { background: var(--gj-bg); color: var(--gj-t3); border-top: 1px solid var(--gj-line); font-size: .84rem; }
.gj .site-footer .site-info a { color: var(--gj-t1); }
.gj .site-footer .inside-site-info { padding: 18px 16px; }
.gj .copyright-bar { width: 100%; text-align: center; }
.gj-legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 10px; }
.gj-legal-nav a { text-decoration: none; font-family: var(--gj-head); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 0; }
.gj-legal-nav a:hover { color: #fff !important; text-decoration: underline; text-decoration-color: var(--gj-red); }
.gj-legal { margin: 0 auto; max-width: 860px; line-height: 1.6; color: var(--gj-t3); }

/* ---------- Autor ---------- */
.gj-autor-landing .page-header { display: none; }
.gj-al { margin: 0 0 10px; }
.gj-al__hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; justify-items: center; text-align: center; padding: 22px 16px; border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); background: var(--gj-ash), linear-gradient(135deg, rgba(217, 180, 108, .14), var(--gj-bg-2) 60%); position: relative; overflow: hidden; }
.gj-al__av { width: 150px; height: 150px; padding: 4px; background: var(--gj-red-bg); clip-path: var(--gj-cut); }
.gj-al__av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; background: var(--gj-bg); display: block; clip-path: var(--gj-cut); border-radius: 0 !important; }
.gj-al__n { font-size: clamp(2rem, 6vw, 3.6rem) !important; margin: .2em 0 .25em !important; }
.gj-al__lead { font-size: 1.05rem; color: var(--gj-t1); max-width: 720px; }
.gj-al .gj-chips { justify-content: center; }
.gj-al__cta { margin: 16px 0 0; }
.gj-al__tiles { margin: 18px 0 8px; }
.gj-al__bio { margin: 24px 0 10px; }
.gj-al__h { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 32px 0 14px; text-transform: uppercase; }
.gj-autor-pag { color: var(--gj-t2); }
@media (min-width: 769px) {
	.gj-al__hero { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 32px; text-align: left; justify-items: start; align-items: center; }
	.gj-al__av { width: 200px; height: 200px; }
	.gj-al .gj-chips { justify-content: flex-start; }
}
/* Firma y ficha en páginas firmadas por otro autor */
.gj-firma { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--gj-t3); }
.gj-firma img { border-radius: 50%; }
.gj-ficha-autor { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin: 2.4em 0 0; padding: 18px; border: 1px solid var(--gj-line-2); border-left: 3px solid var(--gj-red); border-radius: var(--gj-r); background: var(--gj-bg-3); }
.gj-ficha-autor > div { flex: 1 1 220px; min-width: 0; }
.gj-ficha-autor img { border-radius: 50%; flex: none; }
.gj-ficha-autor__n { margin: 4px 0; font-family: var(--gj-head); font-size: 1.2rem; font-weight: 700; }
.gj-ficha-autor__n a { text-decoration: none; }
.gj-ficha-autor__bio { font-size: .92rem; color: var(--gj-t2); }
/* Simple Author Box adaptado al tema oscuro */
.gj .saboxplugin-wrap { border: 1px solid var(--gj-line-2) !important; border-left: 3px solid var(--gj-red) !important; border-radius: var(--gj-r); background: var(--gj-bg-3) !important; margin-top: 2.4em; clear: both; }
.gj .saboxplugin-wrap .saboxplugin-gravatar img { border-radius: 50% !important; border: 2px solid var(--gj-red); object-fit: cover; object-position: 50% 20%; }
.gj .saboxplugin-wrap .saboxplugin-authorname a, .gj .saboxplugin-wrap .saboxplugin-authorname { font-family: var(--gj-head) !important; font-size: 1.3rem !important; color: #fff !important; }
.gj .saboxplugin-wrap .saboxplugin-desc, .gj .saboxplugin-wrap .saboxplugin-desc p { color: var(--gj-t2) !important; font-size: .94rem !important; line-height: 1.6; }
.gj .saboxplugin-wrap .saboxplugin-socials, .gj .saboxplugin-wrap .saboxplugin-web { background: transparent !important; border-top: 1px solid var(--gj-line) !important; }
.gj .saboxplugin-wrap .saboxplugin-web a { color: #fff !important; }

/* ---------- Formulario de contacto ---------- */
.gj-form { border: 1px solid var(--gj-line-2); background: var(--gj-bg-3); border-radius: var(--gj-r); padding: 18px; margin: 1.5em 0; position: relative; }
.gj-form label { display: block; font-family: var(--gj-head); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gj-t1); margin-bottom: 6px; }
.gj-form input[type="text"], .gj-form input[type="email"], .gj-form select, .gj-form textarea { width: 100%; background: var(--gj-bg); border: 1px solid var(--gj-line-3); color: #fff; border-radius: var(--gj-r); padding: 12px 14px; font: inherit; font-size: 1rem; }
.gj-form input:focus, .gj-form select:focus, .gj-form textarea:focus { border-color: var(--gj-red); outline: none; box-shadow: 0 0 0 3px rgba(217, 180, 108, .25); }
.gj-form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.gj-form__legal label { text-transform: none; letter-spacing: 0; font-family: var(--gj-body); font-weight: 500; font-size: .94rem; display: flex; gap: 10px; align-items: flex-start; }
.gj-form__legal input { margin-top: 5px; accent-color: var(--gj-red); width: 18px; height: 18px; flex: none; }
.gj-form__info { font-size: .82rem; color: var(--gj-t3); line-height: 1.5; }
.gj-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gj-form__ok, .gj-form__err { padding: 14px 16px; border-radius: var(--gj-r); font-weight: 600; color: #fff; }
.gj-form__ok { background: rgba(79, 174, 116, .14); border: 1px solid rgba(79, 174, 116, .6); }
.gj-form__err { background: rgba(217, 180, 108, .14); border: 1px solid var(--gj-red); }
@media (min-width: 641px) { .gj-form { padding: 26px; } .gj-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* ---------- Selector de idioma (último elemento del menú principal) ---------- */
.gj .main-navigation .main-nav ul li.gj-lang > a { display: flex; align-items: center; gap: 6px; }
.gj .main-navigation .main-nav ul li.gj-lang > a::after { display: none; }
.gj-lang__g { flex: none; color: var(--gj-red-t); }
.gj-lang > a > .gj-lang__c { font-weight: 700; letter-spacing: .08em; }
.gj .main-navigation .main-nav ul ul li.gj-lang__i a { display: flex; justify-content: flex-start; gap: 12px; }
.gj-lang__i .gj-lang__c { min-width: 2em; font-family: var(--gj-head); font-weight: 700; color: var(--gj-red-t); letter-spacing: .06em; }

/* ---------- Botón fijo «volver arriba» ---------- */
.gj .gj-top {
	position: fixed; right: 16px; bottom: calc(16px + var(--gj-cookie-h, 0px)); z-index: 999;
	width: 46px; height: 46px; padding: 0; display: grid; place-items: center;
	background: var(--gj-red-bg); color: #fff; border: 0; clip-path: var(--gj-cut);
	cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s, bottom .2s ease, background-color .15s;
}
.gj .gj-top.is-on { opacity: 1; visibility: visible; transform: none; }
.gj .gj-top:hover, .gj .gj-top:focus-visible { background: var(--gj-red-h); }
.gj.cookies-not-set .gj-top { bottom: calc(16px + var(--gj-cookie-h, 96px)); }

/* ---------- Aviso de cookies compacto ---------- */
.gj #cookie-notice { background: var(--gj-bg-2) !important; border-top: 2px solid var(--gj-red); font-family: var(--gj-body); }
.gj #cookie-notice .cn-text-container { color: var(--gj-t1); }
.gj #cookie-notice .cn-button { background: var(--gj-red-bg) !important; color: #fff !important; border-radius: 0; font-family: var(--gj-head); text-transform: uppercase; letter-spacing: .06em; }
.gj-cn-mas { color: #fff !important; margin-right: 12px; }

/* ---------- Bloques auxiliares ---------- */
.gj-auto-links { columns: 2; column-gap: 20px; }
@media (max-width: 600px) { .gj-auto-links { columns: 1; } }
.gj-ig__grid > *, .gj-tiles > *, .gj-cards > *, .gj-bento > * { min-width: 0; }
.gj .entry-content pre, .gj .entry-content code { white-space: pre-wrap; overflow-wrap: anywhere; }
.gj .wp-block-image, .gj .wp-block-embed { max-width: 100%; }

/* ---------- Herramientas de la superguía ([gj_herramientas]) ---------- */
.gj-tools__h { text-transform: uppercase; }
.gj-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin: 1.4em 0 2em; }
.gj-tool { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 16px; min-width: 0; text-decoration: none !important; color: var(--gj-t1) !important; background: var(--gj-ash), linear-gradient(160deg, var(--gj-bg-4), var(--gj-bg-2) 70%); border: 1px solid var(--gj-line-2); border-radius: var(--gj-r); overflow: hidden; transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.gj-tool::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gj-red) 50%, transparent); opacity: .7; }
a.gj-tool:hover, a.gj-tool:focus-visible { transform: translateY(-3px); border-color: var(--gj-red); box-shadow: 0 16px 36px rgba(0, 0, 0, .55), var(--gj-glow); }
.gj-tool__ico { flex: none; width: 52px; height: 52px; display: grid; place-items: center; color: var(--gj-red-t); border: 1px solid var(--gj-red-d); background: rgba(217, 180, 108, .08); clip-path: var(--gj-cut); }
.gj-tool__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gj-tool__t { font-family: var(--gj-head); font-size: 1.08rem; font-weight: 700; color: var(--gj-t0); line-height: 1.2; }
.gj-tool__d { font-size: 1rem; line-height: 1.45; color: var(--gj-t2); }
.gj-tool__go { font-family: var(--gj-head); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gj-red-t); margin-top: 6px; }
a.gj-tool .gj-tool__go::after { content: " →"; }
.gj-tool--pronto { opacity: .7; cursor: default; }
.gj-tool--pronto .gj-tool__go { color: var(--gj-t3); }
@media (min-width: 600px) { .gj-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .gj-tools--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gj-tools--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gj-full .gj-tools--2 { max-width: 980px; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.gj *, .gj *::before, .gj *::after { animation: none !important; transition: none !important; }
	.gj-js .gj-rev { opacity: 1; transform: none; }
}


/* ------------------------------------------------------------------
 * Tinta y papel (Guías Juegos, 18-11-2026): capa final sobre el diseño heredado de Guía LOTF2.
 * Títulos sin mayúsculas forzadas (los caracteres de pincel no las necesitan), trazo de pincel bajo los H2,
 * sellos de bermellón cuadrados en lugar de rombos y grano de papel de arroz en el fondo.
 * ------------------------------------------------------------------ */
body.gj {
	background-color: var(--gj-bg);
	background-image: repeating-linear-gradient(97deg, rgba(233, 236, 242, .012) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(7deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 4px);
}
.gj h1, .gj .entry-title, .gj .entry-content h2, .gj .page-header .page-title { text-transform: none; letter-spacing: .02em; }
.gj h1, .gj .entry-title { font-weight: 800; }
/* Trazo de pincel: grueso al principio y deshilachado al final. */
.gj .entry-content h2::after {
	height: 3px; border-radius: 3px 1px 1px 3px; box-shadow: none;
	background: linear-gradient(90deg, var(--gj-red) 0 22%, rgba(217, 180, 108, .7) 40%, rgba(217, 180, 108, .35) 62%, rgba(217, 180, 108, .12) 82%, transparent);
}
/* Sello de bermellón (cuadrado, sin rotar) al inicio del trazo. */
.gj .entry-content h2::before { width: 9px; height: 9px; bottom: -3px; transform: none; border-radius: 1px; box-shadow: none; }
.gj hr::after, .gj-orn::after { transform: none; border-radius: 1px; background: var(--gj-red-bg); border-color: var(--gj-red-bg); box-shadow: none; }
.gj-foot__t::before { transform: none !important; }
/* Pequeños acentos de oro viejo. */
.gj .entry-content ul li::marker { color: var(--gj-oro); }
.gj-kicker { color: var(--gj-oro); }
.gj-hubtop__lead, .gj-al__lead { border-left-color: var(--gj-oro); }
/* Foco visible con bermellón legible (≥ 3:1 sobre la tinta). */
.gj :focus-visible { outline-color: var(--gj-red-t); }
/* Chino tradicional y coreano: títulos en serif CJK (Ming/Song, más cerca del pincel), texto en sans del sistema. */
html:lang(zh-Hant) .gj h1, html:lang(zh-hant) .gj h1, html:lang(zh-Hant) .gj .entry-content h2, html:lang(zh-hant) .gj .entry-content h2 { letter-spacing: .06em; }

/* ------------------------------------------------------------------
 * Etiquetas de fiabilidad de cada dato (gj-et): oficial / prensa / tentativo (sin confirmar) / rumor.
 * Las usan [gj_calendario] y las guías. Base del fork; gj-atlas.css puede redefinirlas.
 * ------------------------------------------------------------------ */
.gj-et { display: inline-block; vertical-align: .1em; margin: 0 .35em 0 .1em; padding: .12em .5em .1em; font-family: var(--gj-head, sans-serif);
	font-size: .66em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; border: 1px solid; white-space: nowrap; }
.gj-et--oficial { color: #ece6da; background: #8a1612; border-color: #b3201b; }
.gj-et--prensa { color: #e0d3b4; background: rgba(201, 169, 106, .1); border-color: rgba(201, 169, 106, .55); }
.gj-et--tentativo { color: #e8c98a; background: rgba(232, 201, 138, .08); border-color: rgba(232, 201, 138, .5); border-style: dashed; }
.gj-et--rumor { color: #eb655b; background: transparent; border-color: rgba(235, 101, 91, .6); border-style: dotted; }
