/* 29.5.0 · NextAds Games como hub gamer. Lo compartido (portadas animadas, juego al aire, eventos, NextAds Friends y el
   cintillo de eventos) se usa también en el sitio principal (/en-vivo, perfiles y el panel); lo de body.gx es solo de Games. */

/* ---------- Portadas: imagen subida o título animado ---------- */
.gx-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; border-radius: 14px; background: #0a0f24; isolation: isolate; color: #fff; }
.gx-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gx-cover.is-small { width: 64px; flex: none; border-radius: 10px; }
.gx-anim { --c1: #7c5cff; --c2: #22d3ee; background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--c1) 70%, transparent), transparent 60%),
    radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--c2) 70%, transparent), transparent 60%), #070b1d; }
.gx-anim::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent, color-mix(in srgb, var(--c1) 45%, transparent), transparent 30%, color-mix(in srgb, var(--c2) 45%, transparent), transparent 60%);
    animation: gx-spin 9s linear infinite; }
.gx-anim::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 3px); }
.gx-anim > i { position: absolute; right: 6%; bottom: 8%; font-size: clamp(28px, 9vw, 74px); opacity: .22; transform: rotate(-12deg); }
.gx-anim b { position: relative; padding: 0 8%; text-align: center; font: 900 clamp(20px, 5.4vw, 44px)/1 "Red Hat Display", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--c2), var(--c1), #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c1) 70%, transparent)); animation: gx-shine 4s linear infinite; }
.gx-anim small { position: absolute; left: 0; right: 0; bottom: 9%; text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.gx-cover.is-small.gx-anim b { font-size: 9px; padding: 0 3px; letter-spacing: .02em; filter: none; }
.gx-cover.is-small.gx-anim > i { font-size: 18px; opacity: .3; }
/* Estilos */
.gx-anim-fuego b { animation: gx-shine 3s linear infinite, gx-flicker 2.6s steps(1) infinite; }
.gx-anim-fuego::before { background: radial-gradient(60% 50% at 50% 110%, var(--c1), transparent 70%), radial-gradient(40% 40% at 30% 100%, var(--c2), transparent 70%); animation: gx-burn 1.8s ease-in-out infinite alternate; inset: 0; }
.gx-anim-glitch b { animation: gx-shine 4s linear infinite, gx-glitch 2.4s infinite; }
.gx-anim-glitch b::before, .gx-anim-glitch b::after { content: attr(data-text); position: absolute; inset: 0; padding: 0 8%; -webkit-text-fill-color: currentColor; opacity: .7; }
.gx-anim-glitch b::before { color: var(--c1); transform: translate(2px, -1px); clip-path: inset(0 0 55% 0); animation: gx-slice 1.9s infinite steps(2); }
.gx-anim-glitch b::after { color: var(--c2); transform: translate(-2px, 1px); clip-path: inset(55% 0 0 0); animation: gx-slice 2.3s infinite reverse steps(2); }
.gx-anim-aurora::before { background: linear-gradient(120deg, transparent 20%, color-mix(in srgb, var(--c1) 60%, transparent), color-mix(in srgb, var(--c2) 60%, transparent), transparent 80%); animation: gx-wave 7s ease-in-out infinite alternate; inset: -20%; }
.gx-anim-pixel { background-image: linear-gradient(45deg, rgba(255, 255, 255, .05) 25%, transparent 25% 75%, rgba(255, 255, 255, .05) 75%), linear-gradient(45deg, rgba(255, 255, 255, .05) 25%, transparent 25% 75%, rgba(255, 255, 255, .05) 75%),
    linear-gradient(160deg, var(--c1), var(--c2)); background-size: 22px 22px, 22px 22px, 100% 100%; background-position: 0 0, 11px 11px, 0 0; }
.gx-anim-pixel b { font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; text-shadow: 3px 3px 0 rgba(0, 0, 0, .35); filter: none; background: none; color: #fff; animation: gx-bob 1.6s steps(2) infinite; }
.gx-anim-pixel::before { display: none; }
.gx-anim-galaxia { background: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 2px), radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 2px), radial-gradient(circle at 40% 80%, #fff 0 1px, transparent 2px),
    radial-gradient(circle at 85% 20%, #fff 0 1px, transparent 2px), radial-gradient(120% 120% at 50% 50%, color-mix(in srgb, var(--c1) 55%, #070b1d), #04050f); background-size: 140px 140px, 190px 190px, 230px 230px, 170px 170px, 100% 100%; animation: gx-stars 30s linear infinite; }
@keyframes gx-spin { to { transform: rotate(360deg); } }
@keyframes gx-shine { to { background-position: 300% 0; } }
@keyframes gx-flicker { 0%, 100% { opacity: 1; } 47% { opacity: .86; } 52% { opacity: 1; } 74% { opacity: .93; } }
@keyframes gx-burn { from { transform: scaleY(1); opacity: .75; } to { transform: scaleY(1.18); opacity: 1; } }
@keyframes gx-glitch { 0%, 88%, 100% { transform: none; } 90% { transform: translate(-3px, 1px) skewX(-6deg); } 94% { transform: translate(3px, -1px) skewX(4deg); } }
@keyframes gx-slice { 50% { transform: translate(-3px, 0); } }
@keyframes gx-wave { from { transform: translateX(-12%) rotate(-4deg); } to { transform: translateX(12%) rotate(4deg); } }
@keyframes gx-bob { 50% { transform: translateY(-3px); } }
@keyframes gx-stars { to { background-position: 140px 140px, -190px 190px, 230px -230px, -170px -170px, 0 0; } }
@media (prefers-reduced-motion: reduce) { .gx-anim, .gx-anim *, .gx-anim::before, .gx-anim::after { animation: none !important; } }

/* ---------- Juego al aire (tarjeta de live), eventos y NextAds Friends ---------- */
.gx-playing { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; padding: 8px; border-radius: 12px; border: 1px solid rgba(124, 92, 255, .4); background: linear-gradient(90deg, rgba(124, 92, 255, .14), rgba(34, 211, 238, .08)); }
.gx-playing > div:not(.gx-playing-actions) { display: grid; min-width: 0; flex: 1 1 120px; line-height: 1.25; }
.gx-playing small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.gx-playing-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.gx-friends[disabled] { opacity: .8; cursor: not-allowed; }
.gx-friends .badge { margin-left: 4px; }
.gx-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.gx-event { display: grid; gap: 0; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(10, 14, 34, .6); }
.gx-event.is-live { border-color: #ff3d6e; box-shadow: 0 0 0 1px #ff3d6e, 0 10px 40px rgba(255, 61, 110, .25); }
.gx-event .gx-cover { border-radius: 0; }
.gx-event-body { padding: 12px 14px 14px; display: grid; gap: 6px; justify-items: start; }
.gx-event-body h3 { margin: 0; font-size: 1.05rem; }
.gx-event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.gx-event-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); }
.gx-event-list li.is-live { border-color: #ff3d6e; background: rgba(255, 61, 110, .08); }
.gx-event-list li > div:not(.row-actions) { display: grid; gap: 2px; flex: 1 1 200px; min-width: 0; }
.gx-event-list small { opacity: .8; }
.gx-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gx-seg label { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); cursor: pointer; }
.gx-seg label.is-on, .gx-seg label:has(input:checked) { border-color: #7c5cff; background: rgba(124, 92, 255, .14); box-shadow: 0 0 0 1px #7c5cff inset; }
.gx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.gx-seg label:focus-within { outline: 2px solid #22d3ee; outline-offset: 2px; }
.gx-seg i { font-size: 20px; color: #a78bfa; }
.gx-seg span { display: grid; line-height: 1.2; }
.gx-seg small { opacity: .75; }
@media (max-width: 520px) { .gx-seg { grid-template-columns: 1fr; } }

/* ---------- Cintillo de eventos (todo el sitio y Games) ---------- */
.nx-cintillo { position: sticky; top: 0; z-index: 9999; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; padding: 8px 44px 8px 14px;
    color: #fff; font-size: 14px; text-align: center; background: linear-gradient(90deg, #ff3d6e, #7c5cff, #22a6ff, #ff3d6e); background-size: 300% 100%; animation: gx-shine 9s linear infinite; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); }
.nx-cintillo a { color: #fff; font-weight: 700; }
.nx-cintillo-live { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-weight: 800; font-size: 12px; letter-spacing: .08em; }
.nx-cintillo-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: gx-pulse 1.2s ease-in-out infinite; }
.nx-cintillo-text { min-width: 0; overflow-wrap: anywhere; }
.nx-cintillo-text em { font-style: normal; opacity: .85; }
.nx-cintillo-go { padding: 3px 12px; border-radius: 999px; background: #fff; color: #1a1033 !important; text-decoration: none; }
.nx-cintillo-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; }
@keyframes gx-pulse { 50% { opacity: .35; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .nx-cintillo, .nx-cintillo-dot { animation: none; } }

/* ================= Solo NextAds Games (body.gx) ================= */
body.gx { --bg: #05060f; --panel: rgba(14, 17, 40, .72); --line: rgba(124, 92, 255, .22); --text: #eef0ff; --muted: #a3a9d6; --accent: #22d3ee; --accent2: #7c5cff; --hot: #ff3d6e;
    background: radial-gradient(900px 520px at 85% -10%, rgba(124, 92, 255, .32), transparent 60%), radial-gradient(800px 500px at -10% 20%, rgba(34, 211, 238, .16), transparent 60%),
        radial-gradient(700px 500px at 50% 120%, rgba(255, 61, 110, .14), transparent 60%), var(--bg); background-attachment: fixed; font-family: "Red Hat Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body.gx::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background-image: linear-gradient(rgba(124, 92, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 92, 255, .07) 1px, transparent 1px); background-size: 46px 46px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
body.gx .nf-top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(5, 6, 15, .72); border-bottom-color: var(--line); }
html.has-cintillo body.gx .nf-top { top: 46px; }
body.gx .nf-brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Red Hat Display", system-ui, sans-serif; letter-spacing: .08em; }
body.gx .nf-brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 18px rgba(124, 92, 255, .6); }
body.gx .nf-brand em { padding: 2px 10px; border-radius: 999px; background: linear-gradient(90deg, var(--accent2), var(--accent)); color: #05060f; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
body.gx .ct-main { max-width: 1240px; }
body.gx .ct-card, body.gx .nf-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); max-width: none; }
body.gx .ct-card h2 i { color: var(--accent2); }
body.gx .ct-btn { border-radius: 12px; border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); transition: transform .15s, border-color .15s, box-shadow .15s; }
body.gx .ct-btn:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: 0 6px 20px rgba(34, 211, 238, .18); }
body.gx .ct-primary { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #05060f; border-color: transparent; box-shadow: 0 8px 26px rgba(124, 92, 255, .35); }
body.gx .ct-badge { border-color: rgba(255, 255, 255, .16); }

/* Héroe */
.gx-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; align-items: center; margin: 4px 0 22px; padding: clamp(20px, 4vw, 40px);
    border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(124, 92, 255, .22), rgba(34, 211, 238, .08) 55%, rgba(255, 61, 110, .14)); }
.gx-hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(circle, rgba(124, 92, 255, .45), transparent 60%); filter: blur(30px); pointer-events: none; }
.gx-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gx-title { margin: 0 0 12px; font: 900 clamp(38px, 7.5vw, 80px)/.95 "Red Hat Display", system-ui, sans-serif; letter-spacing: -.01em; text-transform: uppercase;
    background: linear-gradient(90deg, #fff 0%, #c4b5fd 30%, #22d3ee 55%, #ff3d6e 80%, #fff 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gx-shine 8s linear infinite; }
.gx-hero p { margin: 0 0 14px; max-width: 56ch; color: var(--muted); font-size: 17px; }
.gx-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.gx-hero-art { position: relative; z-index: 1; display: grid; gap: 12px; }
.gx-hero-art .gx-cover { box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08); transform: perspective(900px) rotateY(-8deg) rotateX(3deg); transition: transform .4s; }
.gx-hero-art .gx-cover:hover { transform: perspective(900px) rotateY(0) rotateX(0); }
.gx-hero-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.gx-hero-stats span { padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.gx-hero-stats b { color: #fff; }
@media (prefers-reduced-motion: reduce) { .gx-title { animation: none; } }

/* Pestañas como barra de juego */
body.gx .ct-tabs { position: sticky; top: var(--gh-h, 64px); z-index: 40; gap: 6px; padding: 6px; margin-bottom: 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 10, 26, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
html.has-cintillo body.gx .ct-tabs { top: calc(46px + var(--gh-h, 64px)); }
body.gx .ct-tabs::-webkit-scrollbar { display: none; }
body.gx .ct-tabs button { flex: 0 0 auto; border: 0; border-radius: 12px; white-space: nowrap; }
body.gx .ct-tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #05060f; box-shadow: 0 6px 20px rgba(124, 92, 255, .4); }
body.gx .ct-tabs .gx-soon-tag { padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

/* Sección en vivo de la portada */
.gx-strip-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin: 6px 0 12px; }
.gx-strip-head h2 { margin: 0; font: 800 24px/1.1 "Red Hat Display", system-ui, sans-serif; display: inline-flex; align-items: center; gap: 10px; }
.gx-strip-head a { color: var(--accent); font-weight: 600; text-decoration: none; }
.gx-live-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 14px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px; scroll-snap-type: x mandatory; }
.gx-live-card { scroll-snap-align: start; display: grid; overflow: hidden; border-radius: 16px; border: 1px solid rgba(255, 61, 110, .5); background: var(--panel); color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.gx-live-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(255, 61, 110, .25); }
.gx-live-card .gx-cover { border-radius: 0; }
.gx-live-card .gx-badge-live { position: absolute; left: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; background: var(--hot); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.gx-live-card > div { padding: 10px 12px 12px; display: grid; gap: 2px; }
.gx-live-card small { color: var(--muted); }
.gx-empty-live { padding: 18px; margin-bottom: 22px; border-radius: 16px; border: 1px dashed var(--line); color: var(--muted); }
.gx-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 61, 110, .7); animation: gx-ring 1.6s infinite; }
@keyframes gx-ring { 70% { box-shadow: 0 0 0 10px rgba(255, 61, 110, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 61, 110, 0); } }

/* Catálogo de soluciones */
body.gx .ct-games { grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.gx-game { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding: 0 !important; transition: transform .25s, box-shadow .25s, border-color .25s; }
.gx-game:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .55); box-shadow: 0 18px 50px rgba(124, 92, 255, .28); }
.gx-game .gx-cover { border-radius: 0; }
.gx-game .gx-status { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; gap: 6px; flex-wrap: wrap; }
.gx-chip { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .18); }
.gx-chip.on { background: rgba(52, 211, 153, .9); color: #032014; border-color: transparent; }
.gx-chip.beta { background: rgba(251, 191, 36, .92); color: #241800; border-color: transparent; }
.gx-chip.soon { background: rgba(124, 92, 255, .85); border-color: transparent; }
.gx-chip.dev { background: rgba(249, 115, 22, .92); color: #2a1100; border-color: transparent; } /* 30.7.0: en desarrollo */
.gx-game-body { display: grid; align-content: start; gap: 8px; padding: 16px 18px 18px; }
.gx-game-body h2 { margin: 0; font: 800 21px/1.15 "Red Hat Display", system-ui, sans-serif; }
.gx-game-body p { margin: 0; }
.gx-game-body .ct-feat { margin: 2px 0 6px; }
.gx-game-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.gx-game.is-soon .gx-cover { filter: saturate(.75); }

/* Administración del catálogo */
.gx-cat-list { display: grid; gap: 12px; }
.gx-cat-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.gx-cat-row h4 { margin: 0 0 2px; font-size: 16px; }
.gx-cat-row p { margin: 0; font-size: 13px; color: var(--muted); }
.gx-cat-row .ct-row { margin: 0; }
.gx-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 18px; align-items: start; }
.gx-editor .gx-preview { position: sticky; top: 8px; display: grid; gap: 10px; }
.gx-editor fieldset { border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 10px 12px; margin: 0; display: grid; gap: 10px; }
.gx-editor legend { padding: 0 6px; font-weight: 700; }
.gx-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.gx-colors input[type=color] { width: 54px; height: 38px; padding: 2px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; }

/* Configuración del juego (/cubo-tnt): miniatura y liga directa */
.gx-game-head { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; }
.gx-direct { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gx-direct input { flex: 1 1 240px; }

@media (max-width: 860px) {
    .gx-hero, .gx-editor, .gx-game-head { grid-template-columns: 1fr; }
    .gx-hero-art .gx-cover { transform: none; }
    .gx-cat-row { grid-template-columns: 110px minmax(0, 1fr); }
    .gx-cat-row .ct-row { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    body.gx .ct-tabs { top: 58px; }
    .gx-title { font-size: 40px; }
}

/* Los campos del editor van en columna: sin la base flexible de .ct-input (que los estiraba a 220px de alto). */
.gx-editor label > .ct-input { flex: 0 0 auto; width: 100%; }
.gx-editor textarea.ct-input { min-height: 84px; resize: vertical; }

/* Lo oculto se queda oculto aunque una regla del hub le dé display (p. ej. la pestaña Administración para creadores). */
body.gx [hidden] { display: none !important; }

/* Celular: el encabezado no se sale de la pantalla (los atajos a NextAds y En vivo quedan en el menú y el héroe). */
@media (max-width: 640px) {
    body.gx .nf-top { gap: 8px; }
    body.gx .ct-top-links { gap: 6px; flex-wrap: nowrap; min-width: 0; }
    body.gx .ct-top-links .ct-back, body.gx .ct-top-links .ct-who { display: none; }
    body.gx .ct-top-links .ct-mini { padding: 6px 10px; white-space: nowrap; }
}
@media (max-width: 400px) {
    body.gx .ct-top-links .ct-mini .fa-table-columns { display: none; }
}
@media (max-width: 640px) {
    body.gx .nf-brand { min-width: 0; flex: 0 1 auto; white-space: nowrap; }
    body.gx .ct-top-links { flex: 0 0 auto; margin-left: auto; }
}
@media (max-width: 420px) {
    body.gx .nf-brand { font-size: 0; gap: 6px; }
    body.gx .nf-brand em { font-size: 12px; }
}

/* 30.0.0: Administración por subsecciones (menú lateral en escritorio, pestañas deslizables en el celular) */
.gx-adm { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 18px; align-items: start; }
.gx-adm-nav { position: sticky; top: 128px; display: grid; gap: 4px; padding: 8px; border-radius: 16px; border: 1px solid var(--line); background: rgba(8, 10, 26, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
html.has-cintillo .gx-adm-nav { top: 174px; }
.gx-adm-nav button { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: 600 14px/1.2 "Red Hat Text", system-ui, sans-serif; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.gx-adm-nav button i { width: 18px; text-align: center; }
.gx-adm-nav button span { flex: 1 1 auto; }
.gx-adm-nav button em { font-style: normal; font-size: 12px; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); text-align: center; }
.gx-adm-nav button em:empty { display: none; }
.gx-adm-nav button:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.gx-adm-nav button[aria-selected="true"] { background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #05060f; box-shadow: 0 6px 20px rgba(124, 92, 255, .35); }
.gx-adm-nav button[aria-selected="true"] em { background: rgba(0, 0, 0, .18); }
.gx-adm-body { min-width: 0; display: grid; gap: 16px; }
.gx-adm-body > [role="tabpanel"] { display: grid; gap: 16px; min-width: 0; }
.gx-adm-body > [role="tabpanel"][hidden] { display: none; }
.gx-adm-intro { margin: 0; }
.gx-adm-shortcuts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.gx-adm-shortcut { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-decoration: none; transition: transform .15s, border-color .15s; }
.gx-adm-shortcut:hover { transform: translateY(-2px); border-color: var(--accent); }
.gx-adm-shortcut > i:first-child { font-size: 20px; color: var(--accent); width: 26px; text-align: center; }
.gx-adm-shortcut span { flex: 1 1 auto; display: grid; gap: 2px; }
.gx-adm-shortcut small { color: var(--muted); font-size: 12.5px; }
.gx-adm-shortcut > i:last-child { color: var(--muted); font-size: 12px; }
.gx-editor .ct-note.is-error { color: #ff8a8a; }
@media (max-width: 860px) {
    .gx-adm { grid-template-columns: 1fr; }
    .gx-adm-nav { top: 118px; z-index: 30; display: flex; overflow-x: auto; scrollbar-width: none; }
    html.has-cintillo .gx-adm-nav { top: 164px; }
    .gx-adm-nav::-webkit-scrollbar { display: none; }
    .gx-adm-nav button { flex: 0 0 auto; white-space: nowrap; }
}

/* 30.0.1: indicador de carga del editor de soluciones (subida con porcentaje, antivirus y preparación) */
.gx-carga { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(124, 92, 255, .45); background: linear-gradient(135deg, rgba(124, 92, 255, .16), rgba(34, 211, 238, .1)); }
.gx-carga[hidden] { display: none; }
.gx-carga > div { flex: 1 1 auto; display: grid; gap: 6px; min-width: 0; }
.gx-carga strong { font-size: 14px; }
.gx-carga small { color: var(--muted); font-size: 12.5px; }
.gx-carga-giro { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .15); border-top-color: var(--accent); border-right-color: var(--accent2); animation: gx-giro .8s linear infinite; }
.gx-carga-barra { position: relative; display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.gx-carga-barra i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent2), var(--accent)); transition: width .2s ease; }
.gx-carga.is-indeterminado .gx-carga-barra i { width: 35%; animation: gx-barra 1.1s ease-in-out infinite; }
@keyframes gx-giro { to { transform: rotate(360deg); } }
@keyframes gx-barra { 0% { left: -35%; } 100% { left: 100%; } }
.gx-editor.is-cargando [data-preview] { position: relative; }
.gx-editor.is-cargando [data-preview]::after { content: ""; position: absolute; inset: 0; border-radius: 16px; background: rgba(5, 6, 15, .45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@media (prefers-reduced-motion: reduce) { .gx-carga-giro, .gx-carga.is-indeterminado .gx-carga-barra i { animation-duration: 3s; } }

/* 30.0.2: logo oficial de NextAds Games (encabezado y título de la portada) */
body.gx .nf-brand.gx-logo { gap: 8px; line-height: 0; }
body.gx .nf-brand.gx-logo img { width: auto; height: 52px; border-radius: 0; box-shadow: none; filter: drop-shadow(0 0 10px rgba(56, 132, 255, .45)); transition: filter .2s, transform .2s; }
body.gx .nf-brand.gx-logo:hover img { filter: drop-shadow(0 0 16px rgba(56, 132, 255, .75)); transform: translateY(-1px); }
body.gx .nf-brand.gx-logo em { line-height: 1.4; }
.gx-title.gx-title-logo { margin: 0 0 14px; line-height: 0; background: none; -webkit-text-fill-color: initial; animation: none; }
.gx-title-logo img { display: block; width: 100%; max-width: 600px; height: auto; filter: drop-shadow(0 12px 34px rgba(30, 110, 255, .45)); animation: gx-logo-flota 6s ease-in-out infinite; }
@keyframes gx-logo-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .gx-title-logo img { animation: none; } }
@media (max-width: 420px) { body.gx .nf-brand.gx-logo img { height: 38px; } body.gx .nf-brand.gx-logo em { display: none; } }

/* 30.1.0: encabezado de Games igual al del panel de cada cuenta (campana, menú de cuenta y paneles) */
body.gx .nf-top.gh-top { gap: 14px; }
.gh-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gh-nav + .gh-actions { margin-left: 0; }
.gh-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 14px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .04); }
.gh-btn:hover { border-color: var(--accent); }
.gh-primary { border-color: transparent; background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #05060f; box-shadow: 0 6px 20px rgba(124, 92, 255, .35); }
.gh-item { position: relative; }
.gh-icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; text-decoration: none; }
.gh-icon:hover, .gh-item.is-open > .gh-icon { border-color: var(--accent); background: rgba(124, 92, 255, .14); }
.gh-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #ff3d6e; color: #fff; font: 800 11px/18px "Red Hat Text", system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px #05060f; }
.gh-count[hidden] { display: none; }
.gh-account-btn { display: inline-flex; align-items: center; gap: 10px; max-width: 260px; min-height: 42px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); cursor: pointer; text-align: left; }
.gh-account-btn:hover, .gh-item.is-open > .gh-account-btn { border-color: var(--accent); background: rgba(124, 92, 255, .14); }
.gh-account-btn > .fa-chevron-down { font-size: 11px; color: var(--muted); transition: transform .2s; }
.gh-item.is-open > .gh-account-btn > .fa-chevron-down { transform: rotate(180deg); }
.gh-account-text { display: grid; min-width: 0; line-height: 1.15; }
.gh-account-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-account-rank { font-size: 11.5px; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-dot { flex: 0 0 auto; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, var(--accent2), var(--accent)); color: #05060f; font: 800 13px/1 "Red Hat Display", system-ui, sans-serif; }
.gh-dot img { width: 100%; height: 100%; object-fit: cover; }
.gh-dot-lg { width: 52px; height: 52px; font-size: 18px; }
.gh-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: min(340px, calc(100vw - 24px)); padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: #0b0d1f; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); animation: gh-in .16s ease-out; }
.gh-panel[hidden] { display: none; }
@keyframes gh-in { from { opacity: 0; transform: translateY(-6px); } }
.gh-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 2px 4px 8px; }
.gh-textbtn { border: 0; background: none; color: var(--accent); font: 600 12.5px/1.2 "Red Hat Text", system-ui, sans-serif; cursor: pointer; padding: 4px; }
.gh-muted { color: var(--muted); font-size: 13px; padding: 8px 10px; margin: 0; }
.gh-bell-list { display: grid; gap: 4px; max-height: min(60vh, 420px); overflow-y: auto; }
.gh-bell-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; color: var(--text); text-decoration: none; }
.gh-bell-item:hover { background: rgba(255, 255, 255, .06); }
.gh-bell-item.is-unread { background: rgba(124, 92, 255, .12); }
.gh-bell-item small { color: var(--muted); font-size: 12.5px; }
.gh-bell-item time { color: var(--muted); font-size: 11.5px; }
.gh-card { display: flex; align-items: center; gap: 12px; padding: 8px 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.gh-card-text { flex: 1 1 auto; display: grid; gap: 4px; min-width: 0; }
.gh-card-text strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-card-text small { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gh-rank, .gh-role { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.gh-rank { background: rgba(250, 204, 21, .16); color: #facc15; }
.gh-role { background: rgba(34, 211, 238, .14); color: var(--accent); }
.gh-edit { width: 34px; height: 34px; font-size: 13px; }
.gh-viewing { margin: 0 4px 8px; padding: 8px 10px; border-radius: 10px; background: rgba(250, 204, 21, .12); color: #facc15; font-size: 12.5px; }
.gh-links { display: grid; gap: 2px; }
.gh-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: var(--text); font: 600 14px/1.2 "Red Hat Text", system-ui, sans-serif; text-decoration: none; text-align: left; cursor: pointer; }
.gh-link i { width: 18px; text-align: center; color: var(--accent); }
.gh-link:hover { background: rgba(255, 255, 255, .06); }
.gh-link[data-gh-salir] i { color: #ff8a8a; }
.gh-note { padding: 0 6px; }
/* 33.2.0 · Menú de Games por temas y subtemas (como el de nextadstechnologies.com) y barra de ubicación en cada juego */
.gh-nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; margin-right: auto; min-width: 0; }
.gh-trigger { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 14px/1.2 "Red Hat Text", system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.gh-trigger:hover, .gh-item.is-open > .gh-trigger { background: rgba(255, 255, 255, .06); color: var(--text); }
.gh-trigger > i:first-child { color: var(--accent); font-size: 13px; }
.gh-caret { font-size: 10px; opacity: .7; transition: transform .2s; }
.gh-item.is-open > .gh-trigger .gh-caret { transform: rotate(180deg); }
.gh-tema[data-current] > .gh-trigger { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 10px 10px 4px 4px; }
.gh-panel.gh-mega { left: 0; right: auto; width: min(320px, calc(100vw - 24px)); display: grid; gap: 4px 14px; padding: 12px; }
.gh-panel.gh-mega.is-wide { width: min(620px, calc(100vw - 24px)); grid-template-columns: 1fr 1fr; }
.gh-panel.gh-mega[hidden] { display: none; }
.gh-tema[data-gh-tema="admin"] .gh-panel.gh-mega, .gh-tema[data-gh-tema="creacion"] .gh-panel.gh-mega { left: auto; right: 0; }
.gh-group { display: grid; gap: 2px; align-content: start; min-width: 0; }
/* 38.1.0 · Menú Juegos: con los modos de Minecraft son más de 20 juegos. En escritorio el panel se centra a lo ancho,
   los modos van en una rejilla compacta de varias columnas y, si aun así no cabe, el panel se desplaza por dentro. */
@media (min-width: 1241px) {
    .gh-panel.gh-mega.is-juegos { position: fixed; top: calc(100% + 8px); left: 0; right: 0; margin: 0 auto; width: min(1120px, calc(100% - 24px));
        grid-template-columns: minmax(210px, 240px) minmax(0, 1fr) minmax(210px, 250px); gap: 4px 18px;
        max-height: calc(100vh - var(--gh-h, 64px) - 24px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
    .gh-panel.gh-mega.is-juegos .gh-group.is-modos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; padding: 0 16px; border-inline: 1px solid var(--line); }
}
@media (min-width: 1241px) and (max-width: 1360px) {
    .gh-panel.gh-mega.is-juegos { grid-template-columns: minmax(190px, 220px) minmax(0, 1fr) minmax(190px, 220px); }
}
.gh-group.is-modos > .gh-group-title { grid-column: 1 / -1; }
.gh-group.is-modos .gh-mlink { align-items: center; gap: 10px; padding: 7px 8px; }
.gh-group.is-modos .gh-mlink > i { flex-basis: 26px; width: 26px; height: 26px; border-radius: 8px; font-size: 12px; }
.gh-group.is-modos .gh-mlink strong { font-size: 13.5px; line-height: 1.25; }
.gh-group.is-modos .gh-mlink small:empty { display: none; }
.gh-group-title { display: flex; align-items: center; gap: 8px; margin: 2px 8px 6px; font: 800 11.5px/1.2 "Red Hat Display", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.gh-group-title i { color: var(--accent); }
.gh-mlink { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--text); text-decoration: none; }
.gh-mlink > i { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(124, 92, 255, .14); color: var(--accent); font-size: 13px; }
.gh-mlink > span { display: grid; gap: 2px; min-width: 0; }
.gh-mlink strong { font-size: 14px; font-weight: 700; }
.gh-mlink small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
a.gh-mlink:hover { background: rgba(255, 255, 255, .06); }
.gh-mlink[aria-current="page"] { background: rgba(124, 92, 255, .16); box-shadow: inset 3px 0 0 var(--accent); }
.gh-mlink.is-off { opacity: .5; cursor: default; }
.gh-soon { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: rgba(250, 204, 21, .16); color: #facc15; vertical-align: 1px; }
.gh-back { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--text); font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.gh-back:hover { border-color: var(--accent); background: rgba(124, 92, 255, .14); }
.gh-back i { color: var(--accent); }
.gh-back-menu, .gh-burger { display: none; }
.gh-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Barra de ubicación (Juegos › Regalos Craft) con las partes de la página */
/* 38.5.0 · Pie con el logo de NextAds Games */
.gh-pie { display: grid; justify-items: center; gap: 10px; margin: clamp(32px, 6vw, 64px) auto 0; padding: 28px max(18px, env(safe-area-inset-right)) max(26px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    border-top: 1px solid rgba(120, 160, 255, .16); background: linear-gradient(180deg, rgba(8, 14, 34, 0), rgba(8, 14, 34, .75)); text-align: center; }
.gh-pie-logo img { display: block; width: min(280px, 70vw); height: auto; filter: drop-shadow(0 8px 24px rgba(30, 110, 255, .4)); transition: filter .2s, transform .2s; }
.gh-pie-logo:hover img { filter: drop-shadow(0 8px 30px rgba(30, 110, 255, .7)); transform: translateY(-2px); }
.gh-pie-lema { margin: 0; color: #9fb0d9; font-size: 14px; }
.gh-pie-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.gh-pie-links a, .gh-pie small a { color: #cfe0ff; text-decoration: none; font-size: 14px; }
.gh-pie-links a:hover, .gh-pie small a:hover { color: #fff; text-decoration: underline; }
.gh-pie small { color: #7f8fb5; font-size: 12.5px; }
.gh-sub { position: sticky; top: var(--gh-h, 64px); z-index: 45; display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 8px max(18px, env(safe-area-inset-right)) 8px max(18px, env(safe-area-inset-left));
    border-bottom: 1px solid var(--line); background: rgba(8, 10, 26, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
html.has-cintillo .gh-sub { top: calc(46px + var(--gh-h, 64px)); }
.gh-crumbs { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; min-width: 0; }
.gh-crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.gh-crumbs li + li::before { content: "›"; color: var(--muted); }
.gh-crumbs a { color: var(--muted); text-decoration: none; padding: 4px 6px; border-radius: 8px; }
.gh-crumbs a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.gh-crumbs strong { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gh-parts { display: flex; gap: 4px; margin-right: auto; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.gh-parts::-webkit-scrollbar { display: none; }
.gh-parts a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid transparent; color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.gh-parts a:hover { color: var(--text); border-color: var(--line); }
.gh-parts a.is-on { color: #05060f; background: linear-gradient(135deg, var(--accent2), var(--accent)); }
.gh-parts a i { font-size: 12px; }
.gh-otros { margin-left: auto; }
.gh-otros .gh-trigger { min-height: 34px; padding: 6px 10px; font-size: 13px; }
.gh-otros .gh-panel { width: min(300px, calc(100vw - 24px)); }
#acceso, #triggers, #tikfinity, #nextadstudio { scroll-margin-top: calc(var(--gh-h, 64px) + var(--gh-sub-h, 0px) + 14px); }

@media (max-width: 1180px) { .gh-account-text { display: none; } .gh-account-btn { padding: 4px 8px 4px 4px; } .gh-trigger { padding: 8px 9px; } }
@media (max-width: 1240px) { /* 37.6.0: con «Mi espacio» el menú en línea necesita más ancho */
    /* Celular y tableta: los temas viven en el menú ☰ y cada uno se despliega como acordeón. */
    .gh-burger { display: inline-grid; }
    .gh-nav { display: none; position: fixed; z-index: 55; top: var(--gh-h, 64px); left: 0; right: 0; bottom: 0; margin: 0; padding: 12px max(14px, env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
        flex-direction: column; align-items: stretch; gap: 6px; overflow-y: auto; background: #05060f; border-top: 1px solid var(--line); }
    html.has-cintillo .gh-nav { top: calc(46px + var(--gh-h, 64px)); }
    body.gh-nav-open .gh-nav { display: flex; }
    body.gh-nav-open { overflow: hidden; }
    /* El desenfoque del encabezado encerraría el cajón fijo dentro de él: mientras está abierto, fondo sólido. */
    body.gh-nav-open .nf-top { backdrop-filter: none; -webkit-backdrop-filter: none; background: #05060f; }
    .gh-tema { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); }
    .gh-tema > .gh-trigger { width: 100%; min-height: 50px; padding: 10px 14px; font-size: 15.5px; color: var(--text); }
    .gh-tema > .gh-trigger .gh-caret { margin-left: auto; }
    .gh-tema[data-current] > .gh-trigger { box-shadow: inset 3px 0 0 var(--accent); border-radius: 14px; }
    .gh-tema .gh-panel.gh-mega, .gh-tema .gh-panel.gh-mega.is-wide { position: static; width: auto; grid-template-columns: 1fr; padding: 0 8px 10px; border: 0; background: none; box-shadow: none; animation: none; }
    .gh-group.is-modos { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 6px; } /* 38.1.0: modos en 2-3 columnas en tableta */
    .gh-back-menu { display: flex; justify-content: center; margin-top: 6px; min-height: 48px; }
    .gh-actions .gh-back span { display: none; }
    .gh-actions .gh-back { width: 40px; height: 40px; padding: 0; justify-content: center; }
}
@media (max-width: 560px) {
    body.gx .nf-top.gh-top { gap: 8px; }
    .gh-btn span { display: none; }
    .gh-actions .gh-back { display: none; }
    .gh-item:not(.gh-tema) > .gh-panel { position: fixed; top: calc(var(--gh-h, 64px) + 8px); right: 12px; left: 12px; width: auto; }
    html.has-cintillo .gh-item:not(.gh-tema) > .gh-panel { top: calc(54px + var(--gh-h, 64px)); }
    .gh-sub { padding-top: 6px; padding-bottom: 6px; gap: 6px 10px; }
    .gh-parts { order: 3; flex: 1 0 100%; }
    .gh-otros .gh-trigger span { display: none; }
}

/* 30.1.0: /nextads-games, presentación de NextAds Games en el sitio principal (invita al registro de creadores) */
.gp { --gp-a: #22d3ee; --gp-b: #7c5cff; --gp-c: #1e6eff; }
.gp-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin: clamp(12px, 3vw, 28px) auto 8px; padding: clamp(22px, 4vw, 48px); border-radius: 28px; overflow: hidden; isolation: isolate;
    color: #eef2ff; background: radial-gradient(120% 140% at 0% 0%, rgba(30, 110, 255, .35), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(124, 92, 255, .4), transparent 60%), #070a1c; border: 1px solid rgba(80, 140, 255, .35); box-shadow: 0 30px 80px rgba(10, 20, 60, .45); }
.gp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(circle at 30% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 30% 40%, #000, transparent 75%); }
.gp-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 14px; border-radius: 999px; background: rgba(34, 211, 238, .14); color: #7dd3fc; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.gp-logo { margin: 0 0 6px; line-height: 0; }
.gp-logo img { width: 100%; max-width: 560px; height: auto; filter: drop-shadow(0 12px 34px rgba(30, 110, 255, .5)); }
.gp-title { margin: 8px 0 10px; font: 800 clamp(24px, 3.4vw, 38px)/1.12 "Red Hat Display", system-ui, sans-serif; color: #fff; }
.gp-lead { margin: 0 0 18px; max-width: 56ch; color: #c7d2fe; font-size: 17px; }
.gp-actions { margin: 0 0 14px; }
.gp-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-trust span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #e0e7ff; }
.gp-hero-art .gx-cover { border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .1); transform: perspective(900px) rotateY(-7deg) rotateX(3deg); transition: transform .4s; }
.gp-hero-art .gx-cover:hover { transform: none; }
.gp-chip { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(127, 127, 160, .16); color: var(--mist, #94a3b8); }
.gp-chip.is-on { background: rgba(16, 185, 129, .18); color: #10b981; }
.gp-chip.is-beta { background: rgba(250, 204, 21, .18); color: #ca8a04; }
.gp-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gp-game { display: grid; overflow: hidden; border-radius: 18px; border: 1px solid var(--trace, rgba(127, 127, 160, .25)); background: var(--panel, #0a1838); transition: transform .2s, box-shadow .2s; }
.gp-game:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(20, 30, 80, .18); }
.gp-game .gx-cover { border-radius: 0; }
.gp-game.is-soon .gx-cover { filter: saturate(.75); }
.gp-game-body { padding: 14px 16px 16px; }
.gp-game-body h3 { margin: 6px 0 4px; font-size: 18px; }
.gp-game-body p { margin: 0; color: var(--mist, #64748b); font-size: 14px; }
.gp-game-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.gp-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gp-feature { padding: 20px; border-radius: 18px; border: 1px solid var(--trace, rgba(127, 127, 160, .25)); background: var(--panel, #0a1838); }
.gp-feature > i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--gp-c), var(--gp-b)); color: #fff; font-size: 18px; box-shadow: 0 8px 22px rgba(30, 110, 255, .35); }
.gp-feature h3 { margin: 12px 0 6px; font-size: 17px; }
.gp-feature p { margin: 0; color: var(--mist, #64748b); font-size: 14.5px; }
.gp-steps { counter-reset: gp; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gp-steps li { counter-increment: gp; position: relative; display: grid; gap: 6px; padding: 22px 20px 20px 72px; border-radius: 18px; border: 1px solid var(--trace, rgba(127, 127, 160, .25)); background: var(--panel, #0a1838); }
.gp-steps li::before { content: counter(gp); position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gp-a), var(--gp-c)); color: #fff; font: 800 17px/1 "Red Hat Display", system-ui, sans-serif; }
.gp-steps span { color: var(--mist, #64748b); font-size: 14.5px; }
.gp-faq { display: grid; gap: 10px; max-width: 820px; }
.gp-faq details { padding: 14px 18px; border-radius: 14px; border: 1px solid var(--trace, rgba(127, 127, 160, .25)); background: var(--panel, #0a1838); }
.gp-faq summary { cursor: pointer; font-weight: 700; }
.gp-faq p { margin: 8px 0 0; color: var(--mist, #64748b); }
.gp-cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: clamp(20px, 3vw, 32px); border-radius: 24px; color: #eef2ff; background: radial-gradient(120% 160% at 100% 0%, rgba(124, 92, 255, .45), transparent 60%), #0a0f2a; border: 1px solid rgba(80, 140, 255, .35); }
.gp-cta img { width: 200px; height: auto; filter: drop-shadow(0 8px 20px rgba(30, 110, 255, .45)); }
.gp-cta h2 { margin: 0 0 6px; color: #fff; }
.gp-cta p { margin: 0; color: #c7d2fe; }
.gp-cta .hero-actions { margin: 0; }
@media (max-width: 860px) {
    .gp-hero { grid-template-columns: 1fr; }
    .gp-hero-art .gx-cover { transform: none; }
    .gp-cta { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .gp-cta .hero-actions { justify-content: center; }
}
@media (max-width: 520px) { .gp-actions .btn { width: 100%; justify-content: center; } }

/* 30.5.0: tarjeta de descarga de NextAds Launcher (sitio y Games). Siempre oscura, como la marca. */
.lx-dl { margin: 0 0 22px; padding: clamp(18px, 3vw, 28px); border-radius: 22px; color: #e8eeff; background: radial-gradient(120% 160% at 0% 0%, rgba(59, 123, 255, .38), transparent 60%), #070d24; border: 1px solid rgba(80, 140, 255, .38); box-shadow: 0 18px 40px rgba(10, 30, 90, .25); }
.lx-dl h2 { margin: 0 0 4px; color: #fff; font-size: clamp(20px, 2.4vw, 26px); }
.lx-dl h3 { margin: 0 0 8px; color: #fff; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.lx-dl h3 i { color: #22d3ee; }
.lx-dl-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.lx-dl-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 28px; color: #fff; background: linear-gradient(135deg, #3b7bff, #22d3ee); box-shadow: 0 0 24px rgba(59, 123, 255, .55); }
.lx-dl-meta { margin: 0; color: #9fb0d9; font-size: 14px; }
.lx-dl-cta a { white-space: nowrap; }
.lx-dl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 12px; }
.lx-dl-cols > div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(120, 160, 255, .18); }
.lx-dl-cols ol { margin: 0; padding-left: 20px; color: #c7d2fe; font-size: 14px; line-height: 1.55; }
.lx-dl-cols strong, .lx-dl-nota strong { color: #fff; }
.lx-dl-nota { margin: 0; color: #9fb0d9; font-size: 13px; line-height: 1.5; }
.lx-dl-nota i { color: #22d3ee; }
@media (max-width: 720px) {
    .lx-dl-head { grid-template-columns: auto minmax(0, 1fr); }
    .lx-dl-cta { grid-column: 1 / -1; }
    .lx-dl-cta a { width: 100%; justify-content: center; }
    .lx-dl-cols { grid-template-columns: 1fr; }
}
.gp-dl { margin: 8px 0 0; }
.gp-dl-link { margin: 0 0 14px; font-size: 15px; }
.gp-dl-link a { font-weight: 600; }
#lx-descarga, #descargar-launcher { scroll-margin-top: 150px; }
.gp-invite { margin: 0 0 20px; } .gp-invite h2 i { color: #22d3ee; }

/* ---------- 31.0.0 · Suite de creadores en vidrio (glassmorphism) con títulos y fichas centrados ---------- */
body.gx { background:
    radial-gradient(60% 45% at 12% 0%, rgba(124, 92, 255, .22), transparent 70%),
    radial-gradient(55% 40% at 92% 18%, rgba(34, 211, 238, .14), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(255, 61, 110, .12), transparent 70%), var(--bg); background-attachment: fixed; }
body.gx .ct-card, body.gx .nf-card { position: relative; overflow: hidden; background: linear-gradient(155deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .02) 45%, rgba(124, 92, 255, .05));
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 50px rgba(0, 0, 0, .35), 0 0 0 1px rgba(124, 92, 255, .08); transition: border-color .2s, box-shadow .2s, transform .2s; }
body.gx .ct-card::before, body.gx .nf-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .55), rgba(124, 92, 255, .55), transparent); }
body.gx .ct-card:hover, body.gx .nf-card:hover { border-color: rgba(124, 92, 255, .4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 22px 60px rgba(0, 0, 0, .4), 0 0 32px rgba(124, 92, 255, .16); }
/* Títulos y encabezados centrados */
body.gx .ct-card > h2, body.gx .ct-card > h3, body.gx .ct-card > .ct-head h2, body.gx .ct-card > .ct-head h3,
body.gx .ct-tabpanel > h1, body.gx .ct-tabpanel > h2, body.gx main h1 { text-align: center; }
body.gx .ct-card > .ct-head { flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
body.gx .ct-card > p.nf-muted, body.gx .ct-card > .ct-note { max-width: 760px; margin-inline: auto; text-align: center; }
body.gx .ct-card > .ct-row { justify-content: center; }
body.gx .gx-strip-head { flex-direction: column; align-items: center; text-align: center; }
body.gx .ct-tabs { justify-content: center; }
body.gx .ct-how { max-width: 680px; margin-inline: auto; }
/* Fichas centradas: las rejillas se acomodan al centro aunque sobren huecos */
body.gx .ct-games { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 420px)); justify-content: center; }
body.gx .gx-game-body { text-align: center; } body.gx .gx-game-body .ct-row { justify-content: center; }
body.gx .ct-juegos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 16px; margin-top: 14px; }
body.gx .ct-juego { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 20px 18px; text-align: center; border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
body.gx .ct-juego > i { font-size: 30px; color: var(--accent); filter: drop-shadow(0 0 12px rgba(34, 211, 238, .45)); }
body.gx .ct-juego h3 { margin: 0; }
body.gx .ct-juego p { margin: 0; }
@media (prefers-reduced-motion: reduce) { body.gx .ct-card, body.gx .nf-card { transition: none; } }
/* 33.2.0: lo que abre el menú de Games queda debajo del encabezado y de las pestañas pegajosas, no tapado por ellos. */
body.gx [role="tabpanel"] { scroll-margin-top: calc(var(--gh-h, 64px) + 14px); }
#gx-como, #lx-descarga, #gx-en-red, #srv-launcher, #srv-juegos, #srv-family { scroll-margin-top: calc(var(--gh-h, 64px) + 18px); }

/* 33.3.0 · Descargas (games./descargas/): solo la última versión de NextAds Launcher y un panel informativo */
.dx-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(18px, 4vw, 40px); align-items: center; margin: clamp(12px, 3vw, 26px) 0 22px; padding: clamp(22px, 4vw, 44px); border-radius: 26px;
    border: 1px solid rgba(80, 140, 255, .38); background: radial-gradient(120% 160% at 0% 0%, rgba(59, 123, 255, .38), transparent 60%), radial-gradient(90% 120% at 100% 100%, rgba(124, 92, 255, .3), transparent 60%), #070d24; box-shadow: 0 18px 40px rgba(10, 30, 90, .25); }
body.gx .dx-hero-text, body.gx .dx-hero-text h1 { text-align: left; }
.dx-hero h1 { margin: 6px 0 10px; font: 900 clamp(30px, 5vw, 48px)/1.05 "Red Hat Display", system-ui, sans-serif; color: #fff; }
.dx-hero-text > p { margin: 0 0 18px; color: #c7d2fe; max-width: 620px; line-height: 1.55; }
.dx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.dx-btn { min-height: 50px; padding: 12px 22px; font-size: 16px; }
.dx-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dx-meta li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(120, 160, 255, .2); color: #c7d2fe; font-size: 13px; }
.dx-meta i { color: #22d3ee; }
.dx-meta strong { color: #fff; }
.dx-hero-card { display: grid; justify-items: center; gap: 8px; padding: 28px 18px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(120, 160, 255, .22); text-align: center; }
.dx-hero-card .lx-dl-icon { width: 84px; height: 84px; border-radius: 24px; font-size: 38px; }
.dx-hero-logo { display: block; width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 10px 28px rgba(30, 110, 255, .45)); animation: gx-logo-flota 6s ease-in-out infinite; }
.dx-aviso { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 181, 71, .12); border: 1px solid rgba(255, 181, 71, .4); color: #ffd79a; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .dx-hero-logo { animation: none; } }
.dx-hero-card strong { color: #fff; font: 800 18px/1.2 "Red Hat Display", system-ui, sans-serif; }
.dx-hero-card small { color: #9fb0d9; font-size: 13px; }
.dx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dx-grid .ct-card { margin-bottom: 0; }
.dx-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.dx-info > div { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.dx-info > div > i { color: var(--accent); font-size: 20px; }
.dx-info h3 { margin: 10px 0 6px; font-size: 15px; }
.dx-info p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.dx-fuente { text-align: center; margin-top: 18px; }
@media (max-width: 900px) { .dx-hero { grid-template-columns: 1fr; } .dx-hero-card { padding: 18px; } .dx-hero-logo { max-width: 240px; } .dx-info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dx-grid, .dx-info { grid-template-columns: 1fr; } .dx-btn { width: 100%; justify-content: center; } }

/* ---------- 37.6.0 · Portada pública (presentación de la suite) y espacio privado ---------- */
.gi-lead { max-width: 640px; }
.gi-espacios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.gi-espacio h3 { margin: 4px 0 10px; font: 800 24px/1.1 "Red Hat Display", system-ui, sans-serif; }
.gi-espacio .gx-hero-cta { margin-top: 14px; }
.gi-privado { border-color: rgba(124, 92, 255, .55); box-shadow: 0 0 0 1px rgba(124, 92, 255, .25) inset, 0 18px 40px rgba(124, 92, 255, .12); }
.gi-filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.gi-filtros [aria-pressed="true"] { background: var(--g-prim, #7c5cff); border-color: transparent; color: #fff; }
.gi-faq { display: grid; gap: 10px; margin: 0 0 28px; }
.gi-faq details { border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 12px 16px; background: rgba(255, 255, 255, .03); }
.gi-faq summary { cursor: pointer; font-weight: 700; }
.gi-faq p { margin: 8px 0 0; color: var(--muted, #b8bdd6); }
.gi-final { margin-top: 8px; grid-template-columns: 1fr; text-align: center; }
.gi-final .gx-hero-cta { justify-content: center; }
.gx-hero-panel .gx-title { font-size: clamp(32px, 5.5vw, 58px); }
.gx-claves { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 16px; }
.gx-clave h3 { margin: 0; font-size: 17px; }
.gx-claves-lista li { grid-template-columns: 110px minmax(0, 1fr) auto; }
.gx-clave-btns { display: inline-flex; gap: 4px; }
.gx-clave-hooks { margin-top: 12px; }
.gx-clave-hooks summary { cursor: pointer; font-weight: 700; }
.gx-clave-pase { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .4); }
.gx-clave-pase code { font-size: 18px; font-weight: 800; letter-spacing: .04em; color: #fff; }
.gx-clave-pase small { flex-basis: 100%; color: var(--muted, #b8bdd6); }
@media (max-width: 760px) { .gi-espacios { grid-template-columns: 1fr; } .gx-claves { grid-template-columns: 1fr; } .gx-claves-lista li { grid-template-columns: 1fr auto; } .gx-claves-lista li > span:first-child { grid-column: 1 / -1; } }

/* ---------- 37.7.0 · NextAdStudio como sección de la suite (no tarjeta de juego) ---------- */
.gi-studio { margin: 8px 0 28px; }
.gi-studio-donde { display: grid; gap: 12px; align-content: center; }
.gi-studio-donde article { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(168, 85, 247, .35); background: linear-gradient(135deg, rgba(168, 85, 247, .14), rgba(34, 211, 238, .08)); }
.gi-studio-donde i { font-size: 20px; width: 26px; text-align: center; color: #c4b5fd; margin-top: 2px; }
.gi-studio-donde b { display: block; font-size: 15px; }
.gi-studio-donde span { color: var(--muted, #b8bdd6); font-size: 13.5px; }

/* ---------- 37.7.0 · Tarjetas de juegos parejas: textos y botones a la misma altura, sin desbordarse ---------- */
body.gx .gx-game { display: flex; flex-direction: column; min-width: 0; }
body.gx .gx-game > .gx-cover { flex: none; }
body.gx .gx-game-body { display: flex; flex-direction: column; flex: 1; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
body.gx .gx-game-body h2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; min-height: 1.2em; }
body.gx .gx-free { margin: 0; min-height: 34px; display: flex; justify-content: center; align-items: center; }
body.gx .gx-free .ct-free { margin: 0; max-width: 100%; }
body.gx .gx-tag, body.gx .gx-desc { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
body.gx .gx-tag { -webkit-line-clamp: 3; line-clamp: 3; min-height: calc(3 * 1.45em); }
body.gx .gx-desc { -webkit-line-clamp: 2; line-clamp: 2; min-height: calc(2 * 1.45em); }
body.gx .gx-game-body .ct-feat { flex: 1; align-content: start; margin: 2px 0 6px; }
body.gx .gx-game-body .ct-feat li { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
body.gx .gx-game-actions { margin-top: auto; justify-content: center; }
body.gx .gx-game-actions .ct-btn { max-width: 100%; white-space: normal; text-align: center; }
/* Cierre de la portada centrado */
body.gx .gp-vitrina.gi-final { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
body.gx .gp-vitrina.gi-final > div { display: flex; flex-direction: column; align-items: center; max-width: 820px; }
body.gx .gp-vitrina.gi-final > div > p { margin-left: auto; margin-right: auto; }
body.gx .gp-vitrina.gi-final .gx-hero-cta { justify-content: center; }

/* ---------- 37.7.0 · Administración › Portada pública ---------- */
body.gx .gx-port { display: grid; gap: 12px; }
body.gx .gx-port-sec { padding: 0; overflow: hidden; }
body.gx .gx-port-sec > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
body.gx .gx-port-sec > summary::-webkit-details-marker { display: none; }
body.gx .gx-port-sec > summary::after { content: '▾'; font-size: 14px; opacity: .6; transition: transform .2s; }
body.gx .gx-port-sec[open] > summary::after { transform: rotate(180deg); }
body.gx .gx-port-sec > summary b { flex: 1; min-width: 0; }
body.gx .gx-port-ver { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
body.gx .gx-port-campos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px 14px; padding: 0 18px 16px; }
body.gx .gx-port-campo { display: grid; gap: 4px; min-width: 0; font-size: 13px; }
body.gx .gx-port-campo.ancho { grid-column: 1 / -1; }
body.gx .gx-port-campo em { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 99px; background: rgba(124, 92, 255, .18); margin-left: 4px; }
body.gx .gx-port input[type=text], body.gx .gx-port textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; }
body.gx .gx-port-faqs { display: grid; gap: 10px; padding: 0 18px 12px; }
body.gx .gx-port-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px; align-items: start; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
body.gx .gx-port-faq label { display: grid; gap: 4px; font-size: 13px; }
body.gx .gx-port-faq-btns { display: flex; gap: 4px; padding-top: 20px; }
body.gx .gx-port-sec [data-faq-nueva] { margin: 0 18px 16px; }
body.gx .gx-port-barra { position: sticky; bottom: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 0; background: linear-gradient(transparent, var(--nf-bg, #0b0b14) 30%); }
@media (max-width: 720px) {
    body.gx .gx-port-faq { grid-template-columns: minmax(0, 1fr); }
    body.gx .gx-port-faq-btns { padding-top: 0; justify-content: flex-end; }
    body.gx .gx-port-sec > summary { padding: 12px 14px; }
    body.gx .gx-port-campos, body.gx .gx-port-faqs { padding-left: 14px; padding-right: 14px; }
    body.gx .gx-port-barra .ct-btn { flex: 1 1 100%; justify-content: center; }
}
/* ---------- 37.7.0 · Celular y pantallas de cualquier tamaño ---------- */
body.gx { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.gx img, body.gx video { max-width: 100%; height: auto; }
body.gx .gx-strip-head a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
@media (max-width: 720px) {
    /* iPhone no acerca la página al tocar un campo si la letra es de 16 px o más */
    body.gx input, body.gx select, body.gx textarea { font-size: 16px; }
    body.gx .gi-filtros { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    body.gx .gi-filtros::-webkit-scrollbar { display: none; }
    body.gx .gi-filtros .ct-btn { flex: none; min-height: 40px; }
    body.gx .gx-game-actions .ct-btn { min-height: 44px; }
}
@media (min-width: 1600px) {
    body.gx .ct-main.ct-suite { max-width: 1480px; }
}
/* Rejilla de juegos: 1 columna en celular, 2 en tableta, 3 o 4 en escritorio (auto-fill no estira una tarjeta sola) */
body.gx .ct-games { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); justify-content: stretch; gap: 18px; }
@media (min-width: 1500px) { body.gx .ct-games { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
/* Botones de las tarjetas: siempre apilados y con lugar para dos, así el principal queda a la misma altura en toda la fila */
@media (min-width: 640px) {
    body.gx .ct-games .gx-game-actions { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; min-height: calc(2 * 44px + 8px); }
    body.gx .ct-games .gx-game-actions .ct-btn { min-height: 44px; justify-content: center; margin: 0; }
}
/* 38.1.0 · Un campo dentro de .ct-grow (columna flex) no debe crecer de alto: su flex-basis de 220 px se volvía altura (código Family). */
body.gx .ct-grow > .ct-input { flex: 0 0 auto; width: 100%; margin-bottom: 0; }
body.gx .ct-row:has(> .ct-grow) { align-items: flex-end; }

/* 38.1.0 · Administración › Tutoriales y ayuda */
body.gx .gu-lista { display: grid; gap: 8px; padding: 0; list-style: none; }
body.gx .gu-fila { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; }
body.gx .gu-info { display: grid; gap: 2px; min-width: 0; }
body.gx .gu-info strong { overflow-wrap: anywhere; }
body.gx .gu-editor h3 { margin: 18px 0 8px; }
body.gx .gu-paso { display: grid; gap: 10px; margin: 0 0 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); }
body.gx .gu-paso legend { padding: 2px 10px; border-radius: 999px; background: rgba(34, 211, 238, .14); font-size: 13px; }
body.gx .gu-paso label, body.gx .gu-editor > form > label { display: grid; gap: 4px; font-size: 14px; }
body.gx .gu-img { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; align-items: start; }
body.gx .gu-img img { width: 100%; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: #05060f; }
body.gx .gu-img-campos { display: grid; gap: 8px; }
body.gx .gu-subir { cursor: pointer; }
body.gx .gu-check { display: flex !important; align-items: center; gap: 8px; }
@media (max-width: 720px) {
    body.gx .gu-fila { grid-template-columns: 1fr; }
    body.gx .gu-img { grid-template-columns: 1fr; }
}

/* 38.3.0 · Serial de NextAds (uno por creador, renovable) en Servidores › NextAds Launcher */
.gx-serial { margin: 14px 0 10px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(34, 211, 255, .35);
    background: linear-gradient(135deg, rgba(59, 123, 255, .14), rgba(168, 85, 247, .10)); }
.gx-serial-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.gx-serial-label { font-weight: 700; letter-spacing: .02em; }
.gx-serial-label i { color: #22d3ff; margin-right: 6px; }
.gx-serial .ct-row { flex-wrap: wrap; gap: 8px; }
.gx-serial-valor { min-width: 0; flex: 1 1 300px; text-align: center; }
.gx-serial .ct-note { margin: 10px 0 0; }
/* 38.8.0 · Servidores rediseñado: tablero alineado a la izquierda, launcher a dos columnas, serial como credencial,
   PCs con su estado y cada servidor en bloques con estado vivo. Todo va bajo #servidores para no tocar las demás pestañas. */
#servidores .sv { display: grid; gap: clamp(16px, 2.4vw, 24px); text-align: left; }
#servidores .sv-hero { position: relative; overflow: hidden; padding: clamp(20px, 3.6vw, 36px); border-radius: 26px; border: 1px solid rgba(146, 124, 255, .32);
    background: radial-gradient(110% 150% at 0% 0%, rgba(139, 92, 255, .34), transparent 55%), radial-gradient(90% 130% at 100% 100%, rgba(34, 228, 255, .16), transparent 60%), rgba(10, 11, 32, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 18px 50px rgba(3, 4, 18, .5); }
#servidores .sv-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(255, 61, 165, .22), transparent 68%); }
#servidores .sv-hero h2 { margin: 0 0 6px; text-align: left; font: 900 italic clamp(28px, 4.4vw, 44px)/1.05 "Red Hat Display", system-ui, sans-serif;
    background: linear-gradient(90deg, #fff 30%, #b9a6ff 70%, #7ff0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
#servidores .sv-hero > p:not(.gx-kicker) { margin: 0; max-width: 62ch; color: var(--muted); font-size: 16px; }
#servidores .sv-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
#servidores .sv-stat { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .045); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#servidores .sv-stat > i { grid-row: span 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(139, 92, 255, .2); color: var(--accent); font-size: 17px; }
#servidores .sv-stat strong { font: 800 26px/1 "Red Hat Display", system-ui, sans-serif; color: #fff; }
#servidores .sv-stat strong small { margin-left: 2px; font-size: 14px; font-weight: 600; color: var(--muted); }
#servidores .sv-stat span { font-size: 13px; color: var(--muted); }
#servidores .sv-stat.on > i { background: rgba(61, 220, 132, .16); color: var(--ok); box-shadow: 0 0 20px rgba(61, 220, 132, .28); }

/* Tarjetas: en esta pestaña todo va a la izquierda (sin el centrado general de las fichas) */
#servidores .sv-card { padding: clamp(18px, 3vw, 30px); }
#servidores .sv-card > .ct-head, #servidores .sv-head { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 14px; flex-wrap: wrap; text-align: left; margin-bottom: 4px; }
#servidores .sv-card h2, #servidores .sv-card h3, #servidores .sv-card h4 { text-align: left; }
#servidores .sv-card > p.nf-muted, #servidores .sv-card > .ct-note { max-width: 72ch; margin-inline: 0; text-align: left; }
#servidores .sv-card > .ct-row { justify-content: flex-start; }
#servidores .sv-head h2 { margin: 2px 0 0; font-size: clamp(21px, 2.6vw, 27px); }
#servidores .sv-head > div { flex: 1 1 260px; min-width: 0; }
#servidores .sv-head p { margin: 6px 0 0; max-width: 68ch; }
#servidores .sv-head > .ct-badge { margin-left: auto; white-space: nowrap; }
#servidores .sv-ico { flex: none; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: var(--g-prim); color: #fff; font-size: 20px;
    box-shadow: 0 10px 28px rgba(139, 92, 255, .42), inset 0 1px 0 rgba(255, 255, 255, .35); }

/* NextAds Launcher a dos columnas */
#servidores .sv-launcher { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(18px, 3vw, 34px); align-items: start; }
#servidores .sv-pasos { list-style: none; counter-reset: paso; max-width: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
#servidores .sv-pasos li { counter-increment: paso; position: relative; margin: 0; padding: 12px 14px 12px 56px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .035); color: var(--muted); font-size: 15px; line-height: 1.45; }
#servidores .sv-pasos li strong { color: var(--text); }
#servidores .sv-pasos li::before { content: counter(paso); position: absolute; left: 13px; top: 12px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
    background: var(--g-prim); color: #fff; font: 800 14px/1 "Red Hat Display", system-ui, sans-serif; box-shadow: 0 6px 16px rgba(139, 92, 255, .4); }
#servidores .sv-descarga { align-items: center; gap: 12px; flex-wrap: wrap; }
#servidores .sv-descarga > .nf-muted { font-size: 13px; }
#servidores .sv-firma { margin: 12px 0 0; font-size: 13px; }

/* Serial como credencial */
#servidores .sv-cred { position: relative; overflow: hidden; margin: 0; padding: 20px; border-radius: 20px; border: 1px solid transparent;
    background: linear-gradient(150deg, rgba(22, 19, 58, .96), rgba(12, 22, 48, .96)) padding-box, var(--g-borde) border-box;
    box-shadow: 0 18px 46px rgba(6, 6, 30, .55), 0 0 44px rgba(34, 228, 255, .12); }
#servidores .sv-cred::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(139, 92, 255, .3), transparent 70%); }
#servidores .sv-cred > * { position: relative; z-index: 1; }
#servidores .gx-serial-valor { display: block; width: 100%; flex: none; margin: 4px 0 12px; padding: 14px 12px; border-radius: 14px; border: 1px dashed rgba(34, 228, 255, .45);
    background: rgba(3, 5, 18, .75); color: #fff; text-align: center; letter-spacing: .12em; font: 700 clamp(16px, 2.1vw, 21px)/1.2 ui-monospace, "Cascadia Code", Consolas, monospace; }
#servidores .sv-cred-acciones { gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
#servidores .sv-cred-acciones .ct-btn { flex: 1 1 auto; justify-content: center; }
#servidores .sv-cred-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
#servidores .sv-cred-meta i { margin-right: 4px; color: var(--accent); }
#servidores #lx-status:not(:empty) { display: block; margin-top: 10px; color: var(--ok); font-weight: 600; }

/* «Más información» plegable */
#servidores .sv-mas { margin-top: 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); }
#servidores .sv-mas summary { display: flex; align-items: center; gap: 8px; padding: 10px 14px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--muted); }
#servidores .sv-mas summary::-webkit-details-marker { display: none; }
#servidores .sv-mas summary::after { content: "\f078"; margin-left: auto; font: 900 11px/1 "Font Awesome 6 Free"; transition: transform .2s; }
#servidores .sv-mas[open] summary::after { transform: rotate(180deg); }
#servidores .sv-mas summary:hover { color: var(--text); }
#servidores .sv-mas summary i { color: var(--accent); }
#servidores .sv-mas-cuerpo { padding: 0 14px 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }
#servidores .sv-mas-cuerpo p { margin: 0 0 8px; }
#servidores .sv-mas-cuerpo p:last-child { margin-bottom: 0; }

/* PCs vinculadas */
#servidores .sv-sub { margin: 22px 0 10px; font: 700 13px/1.2 "Red Hat Text", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
#servidores .sv-sub i { margin-right: 6px; color: var(--accent); }
#servidores .sv-pcs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#servidores .sv-pc { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); }
#servidores .sv-pc-ico { position: relative; flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(34, 228, 255, .1); color: var(--accent); }
#servidores .sv-dot { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #5b607f; border: 2px solid #0d0f28; }
#servidores .sv-pc.on .sv-dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
#servidores .sv-pc-txt { flex: 1; min-width: 0; display: grid; }
#servidores .sv-pc-txt strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#servidores .sv-pc-txt small { color: var(--muted); }
#servidores .sv-pc.on .sv-pc-txt small { color: var(--ok); }
#servidores .sv-vacio { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .14); font-size: 14px; }
#servidores .sv-vacio i { color: var(--accent); }

/* Juegos del launcher */
#servidores .sv-juegos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); justify-content: stretch; margin-top: 18px; }
#servidores .sv-juegos .ct-juego { justify-items: start; text-align: left; padding: 18px; }
#servidores .sv-juegos .ct-juego.on { border-color: rgba(139, 92, 255, .35); }
#servidores .sv-juego-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(34, 228, 255, .1); }
#servidores .sv-juego-ico i { font-size: 22px; color: var(--accent); filter: drop-shadow(0 0 10px rgba(34, 228, 255, .45)); }
#servidores .sv-juegos .ct-btn { margin-top: auto; }

/* Crear servidor */
#servidores .sv-crear { margin-top: 16px; padding: clamp(16px, 2.6vw, 24px); border-radius: 18px; border: 1px solid rgba(139, 92, 255, .32);
    background: linear-gradient(160deg, rgba(139, 92, 255, .13), rgba(34, 228, 255, .04)); }
#servidores .sv-crear h3 { margin: 0; font-size: 18px; }
#servidores .sv-crear h3 i { margin-right: 6px; color: var(--accent); }
#servidores .sv-crear .ct-grid2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#servidores .sv-crear .sv-mas { margin-top: 0; }
#servidores .sv-sin-srv { display: grid; justify-items: center; gap: 8px; padding: 34px 20px; border-radius: 22px; border: 1px dashed rgba(146, 124, 255, .35); text-align: center; color: var(--muted); }
#servidores .sv-sin-srv i { font-size: 30px; color: var(--accent2); }
#servidores .sv-sin-srv p { margin: 0; }

/* Cada servidor */
#servidores .sv-lista { display: grid; gap: clamp(16px, 2.4vw, 24px); }
#servidores .sv-server { padding: 0; }
#servidores .sv-srv-head { position: relative; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; flex-wrap: wrap; text-align: left;
    padding: 20px clamp(16px, 3vw, 26px); border-bottom: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(100deg, rgba(139, 92, 255, .22), rgba(34, 228, 255, .06) 60%, transparent); }
#servidores .sv-server.on .sv-srv-head { background: linear-gradient(100deg, rgba(61, 220, 132, .2), rgba(34, 228, 255, .08) 60%, transparent); }
#servidores .sv-srv-icono { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--g-prim); color: #fff; font-size: 23px;
    box-shadow: 0 10px 28px rgba(139, 92, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .35); }
#servidores .sv-server.on .sv-srv-icono { background: linear-gradient(140deg, #3ddc84, #22e4ff); box-shadow: 0 10px 28px rgba(61, 220, 132, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
#servidores .sv-srv-titulo { flex: 1 1 260px; min-width: 0; }
#servidores .sv-srv-titulo h3 { margin: 0; font: 900 italic clamp(20px, 2.6vw, 26px)/1.1 "Red Hat Display", system-ui, sans-serif; overflow-wrap: anywhere; }
#servidores .sv-srv-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
#servidores .sv-srv-sub i { margin-right: 4px; color: var(--accent); }
#servidores .sv-srv-sub a { font-weight: 600; }
#servidores .sv-srv-sub a i { margin: 0 0 0 4px; color: inherit; font-size: 11px; }
#servidores .sv-estado { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; font-weight: 700; white-space: nowrap; }
#servidores .sv-pulso { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); animation: sv-pulso 1.8s ease-out infinite; }
@keyframes sv-pulso { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 70% { box-shadow: 0 0 0 10px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
#servidores .sv-cupo { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: rgba(255, 255, 255, .06); }
#servidores .sv-cupo > span { display: block; height: 100%; background: var(--g-prim); border-radius: 0 3px 3px 0; box-shadow: 0 0 12px rgba(34, 228, 255, .6); }
#servidores .sv-srv-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(16px, 3vw, 26px); }
#servidores .sv-srv-col { display: grid; gap: 16px; min-width: 0; }
#servidores .sv-blk { min-width: 0; padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(5, 7, 22, .38); }
#servidores .sv-blk h4 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; font: 800 16px/1.2 "Red Hat Display", system-ui, sans-serif; }
#servidores .sv-blk h4 > i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: rgba(34, 228, 255, .1); color: var(--accent); font-size: 14px; }
#servidores .sv-blk h4 .ct-badge { margin-left: auto; font: 600 12px/1.2 "Red Hat Text", system-ui, sans-serif; }
#servidores .sv-blk > p { margin: 0 0 10px; font-size: 14px; line-height: 1.5; }
#servidores .sv-blk .ct-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; }
#servidores .sv-blk .ct-row { gap: 8px; flex-wrap: wrap; justify-content: flex-start; margin-top: 8px; }
#servidores .sv-blk .ct-row:first-child { margin-top: 0; }
#servidores .sv-blk .ct-input { margin: 0; }
#servidores .sv-blk .ct-form { margin-top: 0; }
#servidores .sv-blk .ct-grid2 .sv-ancho { grid-column: 1 / -1; }
#servidores .sv-paso-mc { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 9px 12px; border-radius: 12px; background: rgba(34, 228, 255, .08); border: 1px solid rgba(34, 228, 255, .18); font-size: 13px; color: var(--text); }
#servidores .sv-paso-mc i { color: var(--accent); }
#servidores .sv-aviso { display: flex; align-items: flex-start; gap: 8px; }
#servidores .sv-aviso i { margin-top: 2px; }
#servidores .sv-aviso.on { color: var(--ok); }
#servidores .sv-peligro:hover { border-color: var(--hot); color: #ffd0e6; box-shadow: 0 6px 20px rgba(255, 61, 165, .2); }
#servidores .sv-planes { display: grid; gap: 8px; }
#servidores .sv-plan { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }
#servidores .sv-plan > i { margin-top: 3px; color: var(--muted); }
#servidores .sv-plan.on { border-color: rgba(61, 220, 132, .4); background: rgba(61, 220, 132, .07); }
#servidores .sv-plan.on > i { color: var(--ok); }
#servidores .sv-plan strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#servidores .sv-plan strong .ct-badge { font-size: 11px; padding: 2px 8px; }
#servidores .sv-plan small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

/* Invitados */
#servidores .sv-players { gap: 8px; margin-top: 12px; }
#servidores .sv-players .sv-player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px 12px; padding: 12px; border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); }
#servidores .sv-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; font: 800 16px/1 "Red Hat Display", system-ui, sans-serif;
    background: linear-gradient(140deg, #8b5cff, #22e4ff); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
#servidores .sv-player-bloq .sv-avatar { background: linear-gradient(140deg, #4a1d33, #ff3da5); }
#servidores .sv-player-silen .sv-avatar { background: linear-gradient(140deg, #7a5a12, #ffd23f); }
#servidores .sv-player-no .sv-avatar { background: rgba(255, 255, 255, .12); }
#servidores .sv-player-nombre { display: grid; min-width: 0; }
#servidores .sv-player-nombre strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#servidores .sv-est { font-size: 12px; color: var(--muted); }
#servidores .sv-player-ok .sv-est { color: var(--ok); }
#servidores .sv-player-silen .sv-est { color: var(--oro); }
#servidores .sv-player-bloq .sv-est { color: var(--hot); }
#servidores .sv-players .ct-mini.sv-quitar { margin: 0; width: 34px; min-height: 34px; padding: 0; justify-content: center; }
#servidores .sv-quitar:hover { border-color: var(--hot); color: var(--hot); }
#servidores .sv-toggles { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
#servidores .sv-tog { position: relative; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03);
    color: var(--muted); font-size: 13px; font-weight: 600; transition: background .15s, border-color .15s, color .15s; user-select: none; }
#servidores .sv-tog input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
#servidores .sv-tog:hover { border-color: rgba(255, 255, 255, .28); color: var(--text); }
#servidores .sv-tog:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
#servidores .sv-tog-invitado:has(input:checked) { color: var(--ok); border-color: rgba(61, 220, 132, .5); background: rgba(61, 220, 132, .12); }
#servidores .sv-tog-silenciado:has(input:checked) { color: var(--oro); border-color: rgba(255, 210, 63, .5); background: rgba(255, 210, 63, .1); }
#servidores .sv-tog-bloqueado:has(input:checked) { color: var(--hot); border-color: rgba(255, 61, 165, .55); background: rgba(255, 61, 165, .12); }
#servidores .sv-dir { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
#servidores .sv-dir > .ct-input { flex: 1 1 220px; width: auto; font: 500 13px/1.2 ui-monospace, "Cascadia Code", Consolas, monospace; color: #cfe9ff; }

@media (max-width: 1100px) {
    #servidores .sv-crear .ct-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    #servidores .sv-launcher, #servidores .sv-srv-cuerpo { grid-template-columns: minmax(0, 1fr); }
    #servidores .sv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    #servidores .sv-crear .ct-grid2, #servidores .sv-blk .ct-grid2 { grid-template-columns: minmax(0, 1fr); }
    #servidores .sv-stat { padding: 12px; column-gap: 10px; }
    #servidores .sv-stat > i { width: 36px; height: 36px; font-size: 15px; }
    #servidores .sv-stat strong { font-size: 22px; }
    #servidores .sv-head > .ct-badge { margin-left: 64px; }
    #servidores .sv-srv-head .sv-estado { margin-left: 68px; }
    #servidores .sv-blk .ct-row > .ct-btn, #servidores .sv-cred-acciones .ct-btn { flex: 1 1 auto; justify-content: center; }
    #servidores .sv-descarga .ct-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { #servidores .sv-pulso { animation: none; } }
#servidores .sv > .nf-card, #servidores .sv-lista > .nf-card { width: auto; max-width: none; margin: 0; justify-self: stretch; }
#servidores .sv-head-txt { flex: 1 1 260px; min-width: 0; }
#servidores .sv-head-fila { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; }
#servidores .sv-server h3, #servidores .sv-server h4, #servidores .sv-srv-head { text-align: left; }
#servidores .sv-srv-head { flex-direction: row; justify-content: flex-start; }
@media (max-width: 560px) {
    #servidores .sv-head-txt { flex: 1 1 0; }
    #servidores .sv-ico { width: 42px; height: 42px; border-radius: 13px; font-size: 17px; }
    #servidores .gx-serial-valor { font-size: 15px; letter-spacing: .04em; padding: 12px 8px; }
    #servidores .sv-btn-txt { display: none; }
    #servidores .sv-pc .ct-mini { width: 38px; padding: 0; justify-content: center; }
    #servidores .sv-srv-icono { width: 46px; height: 46px; font-size: 19px; }
    #servidores .sv-srv-head .sv-estado { margin-left: 60px; }
}
#servidores .sv-paso-mc { display: block; }
#servidores .sv-paso-mc i { margin-right: 6px; }
@media (max-width: 560px) { #servidores .sv-head > .sv-head-txt { flex: 1 1 0; } }

/* ---------- 39.9.15 · NextAds Live en la portada de Games (bot 100 % gratis) y aviso del catálogo ---------- */
.gi-live { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(16px, 3vw, 30px); align-items: start; margin: 8px 0 30px; padding: clamp(18px, 3vw, 30px); border-radius: 24px;
    border: 1px solid transparent; background: linear-gradient(160deg, rgba(255, 45, 85, .1), rgba(17, 19, 48, .82) 45%, rgba(34, 211, 238, .08)) padding-box, linear-gradient(140deg, rgba(255, 45, 85, .65), rgba(139, 92, 255, .35) 45%, rgba(34, 228, 255, .45)) border-box;
    box-shadow: 0 0 60px rgba(255, 45, 85, .12); }
.gi-live-texto h2 { margin: 0 0 10px; font: 900 italic clamp(28px, 4vw, 48px)/1.02 "Red Hat Display", system-ui, sans-serif; }
.gi-live-texto > p { color: var(--muted, #aab1e2); margin: 0 0 16px; max-width: 56ch; }
.gi-live-gratis { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; color: #07180f; background: linear-gradient(100deg, #3ddc84, #22e4ff); }
.gi-live-galeria { min-width: 0; grid-row: span 2; }
.gi-live-pantalla { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: #0b0d22; box-shadow: 0 24px 60px rgba(3, 4, 18, .6); }
.gi-live-pantalla img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1007; object-fit: cover; object-position: top left; }
.gi-live-pantalla figcaption { padding: 10px 14px; font-size: 14px; color: var(--muted, #aab1e2); border-top: 1px solid rgba(255, 255, 255, .08); min-height: 2.6em; }
.gi-live-miniaturas { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.gi-live-miniaturas button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; min-width: 0; padding: 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); transition: border-color .2s, transform .2s; }
.gi-live-miniaturas button:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, .55); }
.gi-live-miniaturas button:focus-visible { outline: 2px solid #22e4ff; outline-offset: 2px; }
.gi-live-miniaturas button[aria-pressed="true"] { border-color: #ff2d55; box-shadow: 0 0 0 1px #ff2d55, 0 8px 20px rgba(255, 45, 85, .25); }
.gi-live-miniaturas img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 7px; }
.gi-live-miniaturas span { font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gi-live-nota { margin: 8px 0 0; font-size: 12.5px; color: var(--muted, #aab1e2); }
.gi-live-funciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; min-width: 0; }
.gi-live-funciones article { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 45, 85, .3); background: linear-gradient(135deg, rgba(255, 45, 85, .1), rgba(139, 92, 255, .08)); min-width: 0; }
.gi-live-funciones i { font-size: 18px; width: 24px; text-align: center; color: #ff6b8a; margin-top: 2px; }
.gi-live-funciones b { display: block; font-size: 15px; }
.gi-live-funciones span { color: var(--muted, #aab1e2); font-size: 13.5px; }
.gi-live > .gx-hero-cta { grid-column: 1 / -1; margin: 0; }
.gi-catalogo-aviso { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 30px; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line, rgba(146, 124, 255, .24)); }
.gi-catalogo-aviso h2 { margin: 0 0 6px; font: 900 italic clamp(22px, 3vw, 30px)/1.1 "Red Hat Display", system-ui, sans-serif; }
.gi-catalogo-aviso p { margin: 0; color: var(--muted, #aab1e2); max-width: 64ch; }
@media (max-width: 980px) { .gi-live { grid-template-columns: 1fr; } .gi-live-galeria { grid-row: auto; } }
@media (max-width: 640px) { .gi-live-miniaturas { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gi-live-funciones { grid-template-columns: 1fr; } .gi-catalogo-aviso .ct-btn { flex: 1 1 100%; justify-content: center; } }

/* ---------- 39.9.15 · /juegos: el catálogo completo, solo para ver ---------- */
.gj-head { margin: 8px 0 18px; }
.gj-head h1 { margin: 6px 0 8px; font: 900 italic clamp(32px, 5vw, 56px)/1 "Red Hat Display", system-ui, sans-serif; }
.gj-head p { margin: 0; color: var(--muted, #aab1e2); max-width: 70ch; }
.gj-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.gj-barra .gi-filtros { margin: 0; }
.gj-buscar { flex: 1 1 240px; max-width: 360px; margin-left: auto; }
.gj-cuenta { color: var(--muted, #aab1e2); font-size: 14px; }
body.gx .gx-game.gj-vista .gx-game-body { padding-bottom: 20px; }
.gj-cierre { margin: 26px 0 30px; }

/* ---------- 39.9.15 · Vista expandida y adaptable: todas las páginas de Games usan el ancho de la ventana ----------
   Sin tope fijo de 1240–1480 px: el contenido ocupa la ventana con un margen lateral que crece con la pantalla (16 px en
   celular, hasta 72 px en monitores grandes). Las rejillas suman columnas solas y los párrafos siguen con su ancho de lectura. */
html body.gx { --gx-margen: clamp(14px, 3.6vw, 72px); }
html body.gx .ct-main, html body.gx .ct-main.ct-suite, html body.gx .nf-main { max-width: none; width: 100%; padding-left: max(var(--gx-margen), env(safe-area-inset-left)); padding-right: max(var(--gx-margen), env(safe-area-inset-right)); }
html body.gx .nf-top { padding-left: max(var(--gx-margen), env(safe-area-inset-left)); padding-right: max(var(--gx-margen), env(safe-area-inset-right)); }
html body.gx.ns .ns-main, html body.gx.ns .ns-pestanas { max-width: none; padding-left: var(--gx-margen); padding-right: var(--gx-margen); }
html body.ga .ga-main { max-width: none; padding-left: clamp(14px, 3.6vw, 72px); padding-right: clamp(14px, 3.6vw, 72px); }
@media (min-width: 2200px) { html body.gx .ct-games { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); } }
.gj-head { text-align: center; }
.gj-head p { margin-inline: auto; }

/* 39.9.15 · Degradado neón animado en el título y el borde de NextAds Live (igual que el anuncio del sitio principal) */
.gi-live { position: relative; isolation: isolate; }
.gi-live-texto h2 { text-wrap: balance; }
.gi-live-texto h2 .gp-grad { white-space: nowrap; display: inline-block; background: linear-gradient(90deg, #ff2d55, #ff3da5, #8b5cff, #22e4ff, #3ddc84, #22e4ff, #8b5cff, #ff2d55); background-size: 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding-right: .08em;
    animation: gi-neon-flujo 6s linear infinite, gi-neon-brillo 2.4s ease-in-out infinite alternate; }
.gi-live::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 2px; pointer-events: none;
    background: linear-gradient(90deg, #ff2d55, #8b5cff, #22e4ff, #3ddc84, #ff3da5, #ff2d55) 0 0 / 300% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: gi-neon-flujo 8s linear infinite; filter: drop-shadow(0 0 8px rgba(255, 45, 85, .6)); }
@keyframes gi-neon-flujo { to { background-position: 300% 0; } }
@keyframes gi-neon-brillo { from { filter: drop-shadow(0 0 6px rgba(255, 45, 85, .45)) drop-shadow(0 0 16px rgba(139, 92, 255, .3)); } to { filter: drop-shadow(0 0 12px rgba(34, 228, 255, .7)) drop-shadow(0 0 28px rgba(255, 61, 165, .45)); } }
@media (prefers-reduced-motion: reduce) { .gi-live-texto h2 .gp-grad, .gi-live::before { animation: none; } }

/* ---------- 40.0.3 · NextAds Live sin huecos: el acomodo cambia con el ancho para que texto y galería cierren parejo ---------- */
/* Mediano (1181–1799 px): texto y botones centrados junto a la galería; las 6 funciones en una fila completa abajo. */
body.gx .gi-live { grid-template-areas: ". galeria" "texto galeria" "cta galeria" ". galeria" "funciones funciones"; grid-template-rows: 1fr auto auto 1fr auto; align-items: start; row-gap: 18px; }
body.gx .gi-live-texto { grid-area: texto; }
body.gx .gi-live-galeria { grid-area: galeria; }
body.gx .gi-live > .gx-hero-cta { grid-area: cta; grid-column: auto; }
body.gx .gi-live-funciones { grid-area: funciones; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1500px) { body.gx .gi-live { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
/* Ancho (1800 px o más): las funciones vuelven junto al texto y se estiran hasta el alto de la galería. */
@media (min-width: 1800px) {
    body.gx .gi-live { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); grid-template-areas: "texto galeria" "funciones galeria" "cta galeria"; grid-template-rows: auto 1fr auto; }
    body.gx .gi-live-funciones { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; align-content: stretch; }
}
/* Angosto (1180 px o menos): una sola columna, sin huecos. */
@media (max-width: 1180px) {
    body.gx .gi-live { grid-template-columns: minmax(0, 1fr); grid-template-areas: "texto" "galeria" "funciones" "cta"; grid-template-rows: none; }
}
@media (max-width: 760px) { body.gx .gi-live-funciones { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { body.gx .gi-live-funciones { grid-template-columns: minmax(0, 1fr); } }
