/* eboke.es — hoja de estilo de la web pública (diseño «Neo-Cyber Arcade») */
:root {
  --fondo: #0b0f19;
  --fondo-2: #0f131d;
  --sup-baja: #111827;
  --sup: #171b26;
  --sup-alta: #1e293b;
  --sup-max: #262a35;
  --borde: rgba(255, 255, 255, .08);
  --borde-2: rgba(255, 255, 255, .14);
  --texto: #f8fafc;
  --texto-2: #cbd5e1;
  --texto-3: #94a3b8;
  --cian: #00f0ff;
  --cian-2: #00a3ff;
  --magenta: #ff2a85;
  --violeta: #a855f7;
  --rojo: #ef4444;
  --verde: #4ade80;
  --radio: .5rem;
  --radio-md: .75rem;
  --radio-lg: 1rem;
  --radio-xl: 1.5rem;
  --cont: 1360px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --cuerpo: "Plus Jakarta Sans", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font-family: var(--cuerpo); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; font-size: 20px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; vertical-align: -.22em; font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; }
.cont { width: 100%; max-width: var(--cont); margin: 0 auto; padding: 0 2rem; }
@media (max-width: 1199px) { .cont { padding: 0 1.5rem; } }
@media (max-width: 767px) { .cont { padding: 0 1rem; } }

/* fondo ambiental */
.fondo { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(255, 42, 133, .10), transparent 50%),
    radial-gradient(ellipse at 10% 20%, rgba(0, 240, 255, .08), transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, .08), transparent 50%),
    var(--fondo); }

/* ───── cabecera ───── */
.cab { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 25, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--borde); }
.cab-int { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.marca { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.marca img { width: 36px; height: 36px; border-radius: .4rem; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0, 240, 255, .35)); }
.marca em { font-style: normal; color: var(--cian); }
.nav { display: flex; gap: .25rem; margin-left: .5rem; }
.nav a { padding: .45rem .8rem; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--texto-2); transition: .15s; }
.nav a:hover { color: var(--texto); background: rgba(255, 255, 255, .05); }
.nav a[aria-current="page"] { color: var(--cian); background: rgba(0, 240, 255, .08); }
.cab-der { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.menu-btn { display: none; }
.menu-movil { display: none; flex-direction: column; padding: .5rem 1rem 1rem; border-top: 1px solid var(--borde); }
.menu-movil a { padding: .7rem .5rem; border-bottom: 1px solid var(--borde); display: flex; gap: .6rem; align-items: center; }
.menu-movil:not([hidden]) { display: flex; }
@media (max-width: 1023px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 600px) { .cab-der .btn-fantasma { display: none; } }

/* ───── botones y chips ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .7rem 1.3rem; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .9rem; letter-spacing: .01em; border: 1.5px solid transparent; transition: .18s; white-space: nowrap; }
.btn .ms { font-size: 18px; }
.btn-sm { padding: .45rem .95rem; font-size: .82rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1rem; }
.btn-bloque { width: 100%; margin-top: .9rem; }
.btn-primario { background: linear-gradient(135deg, var(--cian) 0%, var(--cian-2) 100%); color: #050811; }
.btn-primario:hover { box-shadow: 0 0 22px rgba(0, 240, 255, .45); transform: translateY(-1px); }
.btn-secundario { background: rgba(255, 42, 133, .1); border-color: var(--magenta); color: var(--texto); }
.btn-secundario:hover { background: rgba(255, 42, 133, .22); box-shadow: 0 0 20px rgba(255, 42, 133, .25); }
.btn-fantasma { border-color: rgba(255, 255, 255, .14); color: var(--texto); background: rgba(255, 255, 255, .02); }
.btn-fantasma:hover { border-color: var(--cian); color: var(--cian); }
.btn-icono { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--borde); color: var(--texto-2); transition: .15s; }
.btn-icono:hover { color: var(--cian); border-color: var(--cian); }
.botones { display: flex; flex-wrap: wrap; gap: .7rem; }
.botones.centrado { justify-content: center; }
.enlace { color: var(--cian); font-family: var(--display); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .25rem; }
.enlace:hover { text-decoration: underline; }

.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: .3rem; font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid transparent; }
.chip-cian { background: rgba(0, 240, 255, .12); border-color: rgba(0, 240, 255, .5); color: var(--cian); }
.chip-magenta { background: rgba(255, 42, 133, .18); border-color: var(--magenta); color: #ffb1c5; }
.chip-violeta { background: rgba(168, 85, 247, .18); border-color: var(--violeta); color: #ddb7ff; }
.chip-rojo { background: rgba(239, 68, 68, .18); border-color: var(--rojo); color: #fca5a5; }
.chip-oscuro { background: rgba(10, 14, 24, .85); border-color: var(--borde-2); color: var(--texto-2); }
.chip-tiempo { background: rgba(10, 14, 24, .85); color: var(--texto-2); text-transform: none; letter-spacing: 0; font-size: .72rem; }
.chip-tiempo .ms { font-size: 14px; }
.chip-dur { background: rgba(0, 0, 0, .8); color: #fff; text-transform: none; letter-spacing: 0; }
.chip-mini { font-size: .6rem; padding: .15rem .4rem; }
.chip-esq { position: absolute; top: .75rem; left: .75rem; }
.chip-abajo { position: absolute; bottom: .75rem; right: .75rem; }
.tarj-img .chip-tiempo, .tarj-img .chip-dur { position: absolute; bottom: .6rem; right: .6rem; }

.pill-directo { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 42, 133, .15); border: 1px solid var(--magenta); color: #ffd9e1; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.pill-directo .punto { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 0 rgba(255, 42, 133, .7); animation: pulso 1.6s infinite; }
.pill-directo.apagado { background: rgba(255, 255, 255, .04); border-color: var(--borde-2); color: var(--texto-3); }
.pill-directo.apagado .punto { background: var(--texto-3); animation: none; box-shadow: none; }
.pill-grande { font-size: .78rem; padding: .45rem 1rem; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(255, 42, 133, .7); } 70% { box-shadow: 0 0 0 8px rgba(255, 42, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 42, 133, 0); } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 1.75rem; }
.chip-filtro { padding: .4rem .95rem; border-radius: 999px; background: var(--sup); border: 1px solid var(--borde); font-family: var(--display); font-weight: 600; font-size: .8rem; color: var(--texto-2); transition: .15s; }
.chip-filtro:hover { border-color: var(--borde-2); color: var(--texto); }
.chip-filtro.activo { background: rgba(0, 240, 255, .12); border-color: rgba(0, 240, 255, .5); color: var(--cian); }
.sin-resultados { color: var(--texto-3); padding: 2rem 0; text-align: center; }

/* ───── secciones ───── */
.sec { padding: 3rem 0 1rem; }
.sec-primera { padding-top: 2rem; }
.sec-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.sec-cab h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 700; margin-top: .5rem; }
.sec-cab p { color: var(--texto-3); max-width: 60ch; margin-top: .5rem; font-size: 1.02rem; }
.sec-cab-der { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.etq-sec { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cian); }
.etq-sec .ms { font-size: 18px; }
.etq-sec-magenta { color: var(--magenta); }
.etq-sec-violeta { color: var(--violeta); }
.etq-sec-rojo { color: var(--rojo); }
.acento-cian { color: var(--cian); }
.acento-magenta { color: var(--magenta); }
.acento-violeta { color: var(--violeta); }
.acento-rojo { color: var(--rojo); }
.contador { font-family: var(--display); font-size: .8rem; color: var(--texto-3); font-weight: 600; }
.sub-cab { display: flex; align-items: center; justify-content: space-between; margin: 2.25rem 0 1rem; }
.sub-cab h3 { font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; }
.sub-cab h3 .ms { color: var(--cian); }
.meta-fila { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; font-size: .78rem; color: var(--texto-3); }
.meta { color: var(--texto-3); font-size: .78rem; display: inline-flex; align-items: center; gap: .25rem; }
.meta .ms { font-size: 15px; }
.etq { font-family: var(--display); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--cian); }
.etq-rojo { color: #fca5a5; }
.etq-violeta { color: #ddb7ff; }

/* ───── barra de directo ───── */
.barra-directo { margin-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .75rem 1rem; border-radius: var(--radio-md); background: rgba(17, 24, 39, .75); border: 1px solid var(--borde); backdrop-filter: blur(16px); }
.bd-izq { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; min-width: 0; }
.bd-canal { font-family: var(--display); font-weight: 700; color: var(--cian); }
.bd-titulo { color: var(--texto-2); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; }
.bd-esp { font-size: .78rem; color: var(--texto-3); }
.bd-der { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ───── rejillas y tarjetas ───── */
.rejilla { display: grid; gap: 1.5rem; }
.rejilla-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rejilla-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .rejilla-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rejilla-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rejilla-4, .rejilla-3 { grid-template-columns: 1fr; } .rejilla { gap: 1rem; } }

.tarj { position: relative; display: flex; flex-direction: column; border-radius: var(--radio-lg); background: rgba(17, 24, 39, .75); border: 1px solid var(--borde); backdrop-filter: blur(16px); overflow: hidden; transition: .2s; height: 100%; }
.tarj:hover { border-color: rgba(0, 240, 255, .35); box-shadow: 0 10px 30px -10px rgba(0, 240, 255, .25); transform: translateY(-2px); }
.tarj-img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sup-baja); display: block; }
.tarj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tarj:hover .tarj-img img { transform: scale(1.05); }
.tarj-cuerpo { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tarj-cuerpo h3 { font-size: 1.1rem; font-weight: 600; }
.tarj-cuerpo h3 a:hover { color: var(--cian); }
.tarj-cuerpo p { color: var(--texto-3); font-size: .9rem; }
.tarj-pie { margin-top: auto; padding-top: .5rem; display: flex; justify-content: flex-end; }
.tarj-juego .tarj-cuerpo { gap: .4rem; }
.tarj-mod .botones { margin-top: auto; padding-top: .75rem; }
.tarj-mod .botones .btn { flex: 1; padding: .6rem .8rem; font-size: .82rem; }
.img-vacia { width: 100%; height: 100%; min-height: 160px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(0, 240, 255, .08), rgba(255, 42, 133, .08)); color: rgba(0, 240, 255, .5); }
.img-vacia .ms { font-size: 48px; }
.img-vacia-violeta { background: linear-gradient(135deg, rgba(168, 85, 247, .12), rgba(0, 240, 255, .06)); color: rgba(168, 85, 247, .6); }

.rejilla-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 1.5rem; }
@media (max-width: 1023px) { .rejilla-hero { grid-template-columns: 1fr; } }
.hero-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radio-xl); background: rgba(17, 24, 39, .75); border: 1px solid var(--borde); overflow: hidden; backdrop-filter: blur(16px); }
.hero-img { position: relative; aspect-ratio: 16 / 9; display: block; background: var(--sup-baja); overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-chips { position: absolute; top: 1rem; left: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.hero-cuerpo { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.hero-cuerpo h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 700; }
.hero-cuerpo h3 a:hover { color: var(--cian); }
.hero-cuerpo p { color: var(--texto-2); }
.laterales { display: flex; flex-direction: column; gap: .9rem; }
.tarj-lat { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: .9rem; padding: .7rem; border-radius: var(--radio-md); background: rgba(17, 24, 39, .6); border: 1px solid var(--borde); transition: .18s; }
.tarj-lat:hover { border-color: rgba(0, 240, 255, .35); background: rgba(30, 41, 59, .7); }
.tarj-lat-img { position: relative; aspect-ratio: 16 / 10; border-radius: .5rem; overflow: hidden; background: var(--sup-baja); }
.tarj-lat-img img { width: 100%; height: 100%; object-fit: cover; }
.tarj-lat-img .chip-mini { position: absolute; bottom: .35rem; left: .35rem; }
.tarj-lat-img .chip-dur { position: absolute; bottom: .35rem; right: .35rem; font-size: .62rem; padding: .12rem .35rem; }
.tarj-lat-txt { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.tarj-lat-txt h3 { font-size: .98rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tarj-lat:hover h3 { color: var(--cian); }
.tarj-lat-txt p { font-size: .8rem; color: var(--texto-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 480px) { .tarj-lat { grid-template-columns: 100px 1fr; } .tarj-lat-txt p { display: none; } }
.play-mini, .play-grande { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.play-mini .ms, .play-grande .ms { background: rgba(255, 42, 133, .9); color: #fff; border-radius: 50%; padding: .35rem; font-size: 22px; box-shadow: 0 0 20px rgba(255, 42, 133, .5); font-variation-settings: "FILL" 1; }
.play-grande .ms { font-size: 40px; padding: .6rem; }
.video-card .hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 15, 25, .5), transparent 50%); }

.paginacion { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2.5rem 0 1rem; flex-wrap: wrap; }
.pag-nums { display: flex; gap: .4rem; }
.pag-num { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radio-md); background: var(--sup); border: 1px solid var(--borde); font-family: var(--display); font-weight: 600; }
.pag-num.activo { background: var(--cian); color: #050811; border-color: var(--cian); }

/* ───── vacíos ───── */
.vacio { text-align: center; padding: 3.5rem 1.5rem; border-radius: var(--radio-xl); border: 1px dashed var(--borde-2); background: rgba(17, 24, 39, .5); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.vacio > .ms { font-size: 56px; color: var(--cian); opacity: .8; }
.vacio h3, .vacio h1 { font-size: 1.4rem; }
.vacio p { color: var(--texto-3); max-width: 48ch; }
.vacio-peq { padding: 1.5rem; flex: 1; justify-content: center; }
.vacio-peq .ms { font-size: 32px; }
.vacio-404 { padding: 5rem 1.5rem; }
.cod-404 { font-family: var(--display); font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--cian), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───── comunidad ───── */
.comunidad-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2.5rem; border-radius: var(--radio-xl); border: 1px solid var(--borde); background: linear-gradient(110deg, rgba(30, 41, 59, .85), rgba(17, 24, 39, .85)); }
.comunidad-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 90% 50%, rgba(0, 240, 255, .14), transparent 55%); pointer-events: none; }
.cc-txt { position: relative; display: flex; flex-direction: column; gap: .9rem; }
.cc-txt h2, .cc-txt h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cc-txt p { color: var(--texto-2); max-width: 56ch; }
.cc-cifra { color: var(--texto-3); font-size: .78rem; font-family: var(--display); font-weight: 600; }
.cc-img { position: relative; display: flex; align-items: center; justify-content: center; }
.cc-img img { max-height: 240px; border-radius: var(--radio-lg); }
.cc-img .cc-logo { width: 160px; filter: drop-shadow(0 0 30px rgba(0, 240, 255, .45)); animation: flotar 6s ease-in-out infinite; }
@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .comunidad-cta { grid-template-columns: 1fr; padding: 1.75rem; } .cc-img { order: -1; } .cc-img .cc-logo { width: 110px; } }
.redes-grandes { margin-top: 1.5rem; }
.tarj-red { padding: 1.5rem; gap: .5rem; align-items: flex-start; }
.tarj-red h3 { font-size: 1.15rem; }
.tarj-red p { color: var(--texto-3); font-size: .9rem; }
.red-ico { font-size: 36px; color: var(--cian); }
.red-magenta { color: var(--magenta); } .red-rojo { color: var(--rojo); } .red-violeta { color: var(--violeta); }

/* ───── artículo ───── */
.migas { display: flex; align-items: center; gap: .3rem; font-size: .82rem; color: var(--texto-3); margin: 1.5rem 0; flex-wrap: wrap; }
.migas a:hover { color: var(--cian); }
.migas .ms { font-size: 16px; }
.articulo { max-width: 860px; margin: 0 auto; }
.art-cab { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.art-cab h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; }
.art-resumen { font-size: 1.15rem; color: var(--texto-2); }
.art-img { margin: 0 0 2rem; border-radius: var(--radio-lg); overflow: hidden; border: 1px solid var(--borde); }
.prosa { font-size: 1.05rem; line-height: 1.75; color: var(--texto-2); }
.prosa h1, .prosa h2, .prosa h3 { color: var(--texto); margin: 1.8em 0 .6em; }
.prosa h2 { font-size: 1.5rem; display: flex; align-items: center; gap: .5rem; } .prosa h2 .ms { color: var(--cian); }
.prosa h3 { font-size: 1.2rem; }
.prosa p, .prosa ul, .prosa ol { margin: 0 0 1.1em; }
.prosa a { color: var(--cian); text-decoration: underline; text-underline-offset: 3px; }
.prosa img { border-radius: var(--radio-md); margin: 1.5em 0; }
.prosa pre { background: #0a0e18; border: 1px solid var(--borde); border-radius: var(--radio); padding: 1rem; overflow: auto; font-size: .9rem; }
.prosa code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; background: rgba(0, 240, 255, .08); padding: .1em .35em; border-radius: .25rem; color: #7df4ff; }
.prosa pre code { background: none; padding: 0; color: inherit; }
.prosa blockquote { margin: 1.5em 0; padding: .5em 1.2em; border-left: 3px solid var(--magenta); color: var(--texto-2); background: rgba(255, 42, 133, .05); border-radius: 0 var(--radio) var(--radio) 0; }
.prosa table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: .95rem; }
.prosa th, .prosa td { border: 1px solid var(--borde-2); padding: .5rem .75rem; text-align: left; }
.prosa th { background: var(--sup); }
.prosa hr { border: 0; border-top: 1px solid var(--borde-2); margin: 2em 0; }
.prosa-caja { margin-top: 2rem; padding: 1.5rem 2rem; border-radius: var(--radio-lg); background: rgba(17, 24, 39, .6); border: 1px solid var(--borde); }
.prosa-caja h2:first-child { margin-top: 0; }
.art-pie { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--borde); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.compartir { display: flex; align-items: center; gap: .5rem; }

/* ───── juego ───── */
.juego-cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.juego-cab h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: .5rem; }
.juego-desc { color: var(--texto-2); max-width: 70ch; margin-top: .5rem; }
.arcade { --ratio: 16 / 9; }
.arcade-marco { position: relative; width: 100%; aspect-ratio: var(--ratio); max-height: min(82vh, 900px); margin: 0 auto; border-radius: var(--radio-lg); overflow: hidden; background: #000; border: 1px solid rgba(0, 240, 255, .35); box-shadow: 0 0 40px -10px rgba(0, 240, 255, .35), 0 20px 50px rgba(0, 0, 0, .6); }
.arcade-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.arcade-marco iframe[hidden] { display: none; }
.arcade-carga { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.arcade-carga > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px); }
.arcade-carga-txt { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.5rem; }
.arcade-carga-txt > .ms { font-size: 56px; color: var(--cian); filter: drop-shadow(0 0 16px rgba(0, 240, 255, .6)); }
.arcade-carga-txt h3 { font-size: 1.6rem; }
.arcade-carga-txt p { color: var(--texto-2); }
.arcade-cargando { display: inline-flex; align-items: center; gap: .5rem; }
.girando { animation: girar 1s linear infinite; } @keyframes girar { to { transform: rotate(360deg); } }
.arcade { scroll-margin-top: 72px; }
/* vertical: marco alto y estrecho, centrado */
.arcade-vertical .arcade-marco { aspect-ratio: 9 / 16; width: min(100%, calc(min(85vh, 900px) * 9 / 16)); max-height: none; }
/* altura automática: el juego avisa de su alto por postMessage y el marco crece */
.arcade-auto { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.arcade-auto .arcade-marco { aspect-ratio: auto; height: var(--alto-juego, 50vh); max-height: none; transition: height .2s; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.arcade-auto .arcade-marco iframe { background: transparent; }
.arcade-auto .arcade-carga { background: var(--sup, #0b0f19); }
/* página entera: ocupa el alto de la ventana y el juego se desplaza por dentro */
.arcade-completo .arcade-marco { aspect-ratio: auto; height: calc(100svh - 80px); min-height: 480px; max-height: none; }
.arcade-completo .arcade-marco iframe { overflow: auto; }
@media (max-width: 767px) {
  .arcade { scroll-margin-top: 64px; }
  .arcade-completo .arcade-marco { height: calc(100svh - 64px); min-height: 420px; border-radius: var(--radio-md); }
  .arcade-vertical .arcade-marco { width: 100%; aspect-ratio: auto; height: calc(100svh - 64px); min-height: 420px; }
}
.arcade-cerrar { display: none; position: absolute; top: .5rem; right: .5rem; z-index: 3; background: rgba(0,0,0,.6); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.arcade.pantalla-completa .arcade-marco { position: fixed; inset: 0; z-index: 200; width: 100vw; height: 100dvh; aspect-ratio: auto; max-height: none; border-radius: 0; border: 0; }
.arcade.pantalla-completa .arcade-cerrar { display: inline-flex; }
body.sin-scroll { overflow: hidden; }
.arcade-marco:fullscreen { aspect-ratio: auto; max-height: none; border-radius: 0; border: 0; }
.arcade-marco:fullscreen iframe { width: 100vw; height: 100vh; }

/* ───── mod ───── */
.mod-detalle { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .mod-detalle { grid-template-columns: 1fr; } }
.mod-img { border-radius: var(--radio-lg); overflow: hidden; border: 1px solid var(--borde); aspect-ratio: 16 / 10; background: var(--sup-baja); }
.mod-img img { width: 100%; height: 100%; object-fit: cover; }
.mod-info { display: flex; flex-direction: column; gap: 1rem; }
.mod-info h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.mod-desc { color: var(--texto-2); font-size: 1.05rem; }
.ficha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; margin: 0; padding: 1rem 1.2rem; border-radius: var(--radio-md); background: rgba(17, 24, 39, .6); border: 1px solid var(--borde); }
.ficha div { display: flex; flex-direction: column; min-width: 0; }
.ficha dt { font-family: var(--display); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--texto-3); }
.ficha dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* ───── directos ───── */
.directo-estado { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .5rem 0 1.25rem; }
.twitch-marco { aspect-ratio: 16 / 9; border-radius: var(--radio-lg); overflow: hidden; border: 1px solid rgba(255, 42, 133, .4); background: #000; box-shadow: 0 0 40px -10px rgba(255, 42, 133, .35); }
.twitch-marco iframe { width: 100%; height: 100%; border: 0; }
.tarj-video-peq .tarj-cuerpo h3 { font-size: .98rem; }

/* ───── pie ───── */
.pie { margin-top: 4rem; border-top: 1px solid var(--borde); background: rgba(10, 14, 24, .7); }
.pie-int { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 2.5rem; padding: 3rem 2rem 2rem; }
@media (max-width: 1199px) { .pie-int { padding: 2.5rem 1.5rem 1.5rem; } }
@media (max-width: 860px) { .pie-int { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1rem 1rem; } }
.pie-col h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); margin-bottom: .9rem; }
.pie-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .45rem; }
.pie-col ul a { color: var(--texto-2); font-size: .92rem; } .pie-col ul a:hover { color: var(--cian); }
.pie-marca p { color: var(--texto-3); font-size: .92rem; margin: .9rem 0; max-width: 42ch; }
.redes { display: flex; gap: .5rem; flex-wrap: wrap; }
.redes a { width: 38px; height: 38px; border-radius: 50%; background: var(--sup); border: 1px solid var(--borde); display: inline-flex; align-items: center; justify-content: center; color: var(--texto-2); transition: .15s; }
.redes a:hover { color: var(--cian); border-color: var(--cian); box-shadow: 0 0 14px rgba(0, 240, 255, .3); }
.pie-boletin p { color: var(--texto-3); font-size: .9rem; margin-bottom: .8rem; }
.boletin { display: flex; gap: .5rem; flex-wrap: wrap; }
.boletin input { flex: 1; min-width: 180px; padding: .6rem .9rem; border-radius: var(--radio); background: #0f172a; border: 1px solid #334155; color: var(--texto); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); }
.boletin input::placeholder { color: #64748b; }
.boletin input:focus { outline: none; box-shadow: 0 0 0 2px var(--cian); border-color: transparent; }
.boletin-msg { width: 100%; font-size: .85rem; color: var(--cian); min-height: 1.2em; }
.boletin-msg.error { color: #fca5a5; }
.pie-bajo { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--borde); font-size: .82rem; color: var(--texto-3); }
@media (max-width: 767px) { .pie-bajo { padding: 1rem 1rem 1.5rem; } }
.pie-der a:hover { color: var(--cian); }
.estado-ok { color: var(--verde); display: inline-flex; align-items: center; gap: .35rem; }
.estado-ok .punto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 8px var(--verde); display: inline-block; }

/* aviso emergente */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(20px); opacity: 0; padding: .7rem 1.2rem; border-radius: 999px; background: var(--sup-alta); border: 1px solid rgba(0, 240, 255, .4); color: var(--texto); font-size: .9rem; z-index: 100; transition: .25s; pointer-events: none; }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ───── páginas de detalle (noticia, juego, mod, vídeo) ───── */
.pie-nuvola img { height: 22px; width: auto; opacity: .85; transition: .15s; }
.pie-nuvola:hover img { opacity: 1; }
.marca img { width: 44px; height: 44px; border-radius: 0; filter: drop-shadow(0 0 10px rgba(0, 240, 255, .35)); }
.detalle { padding-top: .5rem; }
.migas-actual { color: var(--texto-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.det-cab { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; max-width: 1000px; }
.det-cab h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; letter-spacing: -.03em; }
.det-resumen { font-size: 1.15rem; line-height: 1.6; color: var(--texto-2); max-width: 70ch; }
.autor-fila { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .5rem; }
.autor-izq { display: flex; align-items: center; gap: .9rem; }
.avatar-wrap { position: relative; flex-shrink: 0; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--sup-alta); box-shadow: 0 0 16px rgba(0, 240, 255, .4); }
.avatar-peq { width: 32px; height: 32px; box-shadow: none; }
.avatar-grande .avatar { width: 80px; height: 80px; box-shadow: 0 0 24px rgba(0, 240, 255, .4); }
.verificado { position: absolute; right: -4px; bottom: -4px; font-size: 16px; color: var(--cian); background: var(--fondo); border-radius: 50%; padding: 2px; font-variation-settings: "FILL" 1; }
.avatar-grande .verificado { font-size: 20px; color: var(--magenta); }
.autor-txt { display: flex; flex-direction: column; gap: .2rem; }
.autor-nombre { font-family: var(--display); font-weight: 700; display: flex; align-items: center; gap: .5rem; }
.autor-meta { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .8rem; color: var(--texto-3); }
.autor-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.autor-meta .ms { font-size: 15px; }
.compartir { display: flex; align-items: center; gap: .5rem; }
.det-hero { position: relative; margin: 0 0 2rem; aspect-ratio: 21 / 9; min-height: 220px; max-height: 560px; border-radius: var(--radio-xl); overflow: hidden; border: 1px solid var(--borde); background: var(--sup-baja); }
.det-hero img { width: 100%; height: 100%; object-fit: cover; }
.det-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 15, 25, .7), transparent 40%); pointer-events: none; }
.det-hero-chips { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap; z-index: 1; }
.det-hero-chips .chip { backdrop-filter: blur(8px); }
.chip-stack { letter-spacing: .12em; }
.det-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 1023px) { .det-cols { grid-template-columns: 1fr; } .det-lat { position: static !important; } }
.det-main { display: flex; flex-direction: column; gap: 2rem; min-width: 0; }
.det-lat { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1rem; }
.lat-card { padding: 1.1rem 1.2rem; border-radius: var(--radio-lg); background: rgba(17, 24, 39, .75); border: 1px solid var(--borde); backdrop-filter: blur(16px); display: flex; flex-direction: column; gap: .7rem; }
.lat-card-cab { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-family: var(--display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cian); }
.lat-card-cab .ms { font-size: 18px; margin-right: .3rem; }
.lat-card h4 { font-size: 1.05rem; }
.lat-card p { font-size: .88rem; color: var(--texto-3); }
.lat-card-magenta { border-color: rgba(255, 42, 133, .35); box-shadow: 0 0 30px -12px rgba(255, 42, 133, .5); }
.lat-fecha { color: var(--texto-3); letter-spacing: 0; text-transform: none; font-weight: 500; }
.indice { margin: 0; padding: 0; list-style: none; counter-reset: idx; display: flex; flex-direction: column; gap: .15rem; }
.indice li { counter-increment: idx; }
.indice a { display: flex; gap: .6rem; padding: .4rem .5rem; border-radius: .4rem; font-size: .88rem; color: var(--texto-2); border-left: 2px solid transparent; }
.indice a::before { content: counter(idx, decimal-leading-zero) "."; font-family: var(--display); color: var(--cian); font-weight: 700; }
.indice a:hover, .indice a.activo { background: rgba(0, 240, 255, .07); color: var(--texto); border-left-color: var(--cian); }
.etiquetas { display: flex; flex-wrap: wrap; gap: .4rem; }
.ficha-lat { grid-template-columns: 1fr; padding: 0; background: none; border: 0; gap: .5rem; }
.ficha-lat div { flex-direction: row; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--borde); padding-bottom: .4rem; }
.ficha-lat div:last-child { border-bottom: 0; }
.ficha-lat dd { text-align: right; font-size: .9rem; }
.lat-card-descarga .btn-lg { padding: .9rem 1rem; }
.lat-fichero { overflow-wrap: anywhere; font-size: .75rem; }
.boletin-lat { flex-direction: column; }
.boletin-lat input { width: 100%; min-width: 0; }
.prosa-articulo { font-size: 1.08rem; }
.prosa-articulo h2 { counter-increment: sec; font-size: 1.6rem; margin-top: 2.2em; scroll-margin-top: 90px; }
.prosa-articulo h2::before { content: counter(sec, decimal-leading-zero) "."; color: var(--cian); font-weight: 700; margin-right: .2em; }
.prosa-articulo { counter-reset: sec; }
.prosa-articulo h2:first-child { margin-top: 0; }
.prosa-articulo h2 .ms + *, .prosa-caja h2 { counter-increment: none; }
.prosa-caja.prosa-articulo h2::before { content: none; }
.prosa-articulo h3 { scroll-margin-top: 90px; }
.prosa-articulo pre { position: relative; padding-top: 2.4rem; }
.prosa-articulo pre::before { content: attr(data-lang); position: absolute; top: .6rem; left: 1rem; font-family: var(--display); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.btn-copiar-codigo { position: absolute; top: .45rem; right: .6rem; padding: .25rem .6rem; border-radius: .3rem; background: var(--sup-alta); border: 1px solid var(--borde-2); color: var(--texto-2); font-family: var(--display); font-size: .7rem; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }
.btn-copiar-codigo:hover { color: var(--cian); border-color: var(--cian); }
.btn-copiar-codigo .ms { font-size: 14px; }
.prosa-articulo blockquote { border-left: 3px solid var(--magenta); font-family: var(--display); font-size: 1.15rem; font-style: italic; color: var(--texto); padding: 1rem 1.4rem; }
.prosa-articulo blockquote p { margin: 0; }
.prosa-articulo img { width: 100%; border: 1px solid var(--borde); }
.prosa-articulo .aviso-dev { display: flex; gap: .9rem; padding: 1rem 1.2rem; border-radius: var(--radio-md); background: rgba(0, 240, 255, .06); border: 1px solid rgba(0, 240, 255, .25); margin: 1.5em 0; }

/* reacciones */
.reacciones { padding: 1.5rem; border-radius: var(--radio-lg); background: rgba(17, 24, 39, .75); border: 1px solid var(--borde); display: flex; flex-direction: column; gap: 1rem; }
.reac-cab { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.reac-cab h3 { font-size: 1.4rem; margin-top: .3rem; }
.reac-cab p { color: var(--texto-3); font-size: .9rem; }
.reac-total { font-size: .8rem; color: var(--texto-3); } .reac-total b { color: var(--texto); }
.reac-botones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 640px) { .reac-botones { grid-template-columns: repeat(2, 1fr); } .reac-btn:last-child { grid-column: span 2; } }
.reac-btn { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .8rem .5rem; border-radius: var(--radio-md); background: var(--sup); border: 1px solid var(--borde); transition: .15s; }
.reac-btn:hover { border-color: rgba(0, 240, 255, .4); transform: translateY(-2px); }
.reac-btn.activo { border-color: var(--magenta); background: rgba(255, 42, 133, .12); box-shadow: 0 0 16px rgba(255, 42, 133, .25); }
.reac-emoji { font-size: 1.6rem; line-height: 1; }
.reac-txt { font-family: var(--display); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-3); }
.reac-n { font-family: var(--display); font-weight: 700; font-size: .95rem; }

/* autor */
.autor-card { display: flex; gap: 1.5rem; padding: 1.5rem; border-radius: var(--radio-lg); background: rgba(17, 24, 39, .6); border: 1px solid var(--borde); align-items: flex-start; }
@media (max-width: 640px) { .autor-card { flex-direction: column; align-items: center; text-align: center; } .autor-card-cab { flex-direction: column; align-items: center; } }
.autor-card-txt { display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.autor-card-cab { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.autor-card h4 { font-size: 1.2rem; }
.autor-rol { font-family: var(--display); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb1c5; }
.autor-card p { color: var(--texto-2); font-size: .95rem; }
.btn-discord { background: #5865F2; color: #fff; border-color: #5865F2; }
.btn-discord:hover { box-shadow: 0 0 18px rgba(88, 101, 242, .5); }

/* comentarios */
.comentarios { display: flex; flex-direction: column; gap: 1rem; scroll-margin-top: 90px; }
.com-cab { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.com-cab h3 { font-size: 1.4rem; display: flex; align-items: center; gap: .5rem; } .com-cab h3 .ms { color: var(--cian); }
.com-n { font-size: .8rem; padding: .1rem .5rem; border-radius: .3rem; background: rgba(0, 240, 255, .12); color: var(--cian); }
.com-form { display: flex; flex-direction: column; gap: .7rem; padding: 1.2rem; border-radius: var(--radio-lg); background: rgba(17, 24, 39, .75); border: 1px solid var(--borde); }
.com-form-cab { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--texto-2); }
.com-form input[type=text], .com-form textarea { width: 100%; padding: .65rem .9rem; border-radius: var(--radio); background: #0f172a; border: 1px solid #334155; color: var(--texto); font: inherit; font-size: .95rem; }
.com-form textarea { resize: vertical; }
.com-form input:focus, .com-form textarea:focus { outline: none; border-color: transparent; box-shadow: 0 0 0 2px var(--cian); }
.com-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.com-form-pie { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.com-msg { font-size: .85rem; color: var(--cian); min-height: 1.2em; } .com-msg.error { color: #fca5a5; }
.com-lista { display: flex; flex-direction: column; gap: .8rem; }
.com { padding: 1rem 1.2rem; border-radius: var(--radio-md); background: rgba(17, 24, 39, .6); border: 1px solid var(--borde); display: flex; flex-direction: column; gap: .5rem; }
.com-autor { display: flex; align-items: center; gap: .6rem; font-size: .9rem; }
.com-autor b { font-family: var(--display); }
.com-autor .meta { margin-left: auto; }
.com-txt { color: var(--texto-2); font-size: .95rem; line-height: 1.6; overflow-wrap: anywhere; }
.com-txt code { font-family: ui-monospace, Menlo, monospace; background: rgba(0, 240, 255, .08); padding: .05em .3em; border-radius: .25rem; font-size: .9em; }
.com-resp { margin-left: 1.5rem; border-left: 2px solid rgba(255, 42, 133, .4); }
.com-vacio { color: var(--texto-3); text-align: center; padding: 1.5rem; border: 1px dashed var(--borde-2); border-radius: var(--radio-md); }
.det-pie { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--borde); justify-content: space-between; }
.relacionados { margin-top: 1rem; }
.video-marco { aspect-ratio: 16 / 9; border-radius: var(--radio-lg); overflow: hidden; border: 1px solid rgba(239, 68, 68, .35); background: #000; margin-bottom: 2rem; box-shadow: 0 0 40px -10px rgba(239, 68, 68, .3); }
.video-marco iframe { width: 100%; height: 100%; border: 0; }
.juego-acciones { margin-bottom: 1rem; }
.arcade { margin-bottom: 2rem; }

.mt-rejilla { margin-top: 1.5rem; }
