/* =========================================================================
   ONITAL RING — The MMO Network · Diseño 2 (blanco, editorial)
   Tipografía: Cinzel (titulares) + Manrope (texto e interfaz)
   Base sólida en blanco + capa sutil de degradados "aurora" y cristal
   (ver la sección "Capa de degradados y cristal" al final).
   ========================================================================= */

/* Fuentes: se cargan con <link> en el <head> (más rápido que @import) */

:root {
  /* Superficies */
  --paper: #FFFFFF;
  --paper-2: #F6F5F1;
  --paper-3: #EEECE6;
  --ink: #111113;
  --ink-soft: #1C1C1F;

  /* Texto */
  --text: #111113;
  --text-2: #3E3F44;
  --text-3: #6C6D73;
  --text-inv: #FFFFFF;
  --text-inv-2: #B9B9BE;

  /* Líneas */
  --line: #E5E3DD;
  --line-2: #D3D0C8;
  --line-inv: #2C2C31;

  /* Acento (bronce Tamriel) y estados */
  --accent: #8B6B3D;
  --accent-ink: #6E5330;
  --live: #1E8A4F;
  --wait: #B26B12;
  --beta: #2F5FD0;

  /* Marcas */
  --yt: #FF0033;
  --twitch: #9146FF;
  --tiktok: #111113;
  --discord: #5865F2;

  /* Tipografía */
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --sans: 'Manrope', 'Neue Montreal', 'Helvetica Neue', Arial, system-ui, sans-serif;

  /* Ritmo */
  --container: 1200px;
  --gutter: 32px;
  --section: 120px;
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 76px;

  /* Movimiento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 700; }
em { font-style: italic; }
h1, h2, h3, h4, h5 { color: var(--text); margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; font-size: 14px; transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Tipografía ---------- */
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 .accent { font-weight: 700; display: inline; }
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  line-height: 1.12;
  text-wrap: balance;
}
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.4; letter-spacing: -0.005em; }
h5 { font-family: var(--sans); font-weight: 700; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); flex: none; }
.eyebrow .idx { color: var(--accent); font-variant-numeric: tabular-nums; }

.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; color: var(--text-2); max-width: 62ch; }
.text-body { font-size: 15.5px; color: var(--text-2); }

/* ---------- Botones ---------- */
.btn {
  --btn-h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding: 0 24px;
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  border-radius: var(--radius); border: 1px solid transparent;
  white-space: nowrap; cursor: pointer; user-select: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { background: var(--paper); color: var(--text); border-color: var(--line-2); }
.btn-outline-gold { background: var(--paper); color: var(--accent-ink); border-color: var(--accent); }
.btn-inverse { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-inverse-ghost { background: var(--ink); color: var(--paper); border-color: #4A4A50; }
.btn-sm { --btn-h: 42px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #2B2B30; border-color: #2B2B30; }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn-outline-gold:hover { background: var(--accent); color: var(--paper); }
  .btn-inverse:hover { background: var(--paper-3); border-color: var(--paper-3); }
  .btn-inverse-ghost:hover { border-color: var(--paper); }
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }

/* Enlace de fuente */
.source-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--text);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: border-color 180ms ease, color 180ms ease;
}
.source-link svg { width: 14px; height: 14px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .source-link:hover { border-color: var(--ink); }
  .source-link:hover svg { transform: translate(2px, -2px); }
}

/* ---------- Cabecera ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); flex: none; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; filter: invert(1); }
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.1em; color: var(--text);
}
.brand-text small {
  font-family: var(--sans); font-weight: 600; font-size: 9.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--text-3); margin-top: 6px;
}
.nav-right { display: flex; align-items: center; gap: 28px; min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.nav-cta) {
  position: relative; font-size: 14px; font-weight: 600; color: var(--text-3);
  padding: 8px 0; transition: color 180ms ease;
}
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 240ms var(--ease-out);
}
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:not(.nav-cta):hover { color: var(--text); }
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  background: var(--ink); color: var(--paper); border-radius: var(--radius);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}
.nav-cta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--twitch); flex: none; }
.nav-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .nav-cta:hover { background: #2B2B30; } }

/* Reproductor de música */
.nav-music { display: flex; flex-direction: column; gap: 6px; padding-left: 24px; border-left: 1px solid var(--line); }
.nav-music-title { font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-3); line-height: 1; white-space: nowrap; }
.nav-music-row { display: flex; align-items: center; gap: 10px; }
.music-btn {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--text); cursor: pointer; padding: 0;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.music-btn svg { width: 12px; height: 12px; }
.music-btn:active { transform: scale(0.94); }
.music-btn .icon-pause { display: none; }
.music-btn.is-playing { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.music-btn.is-playing .icon-play { display: none; }
.music-btn.is-playing .icon-pause { display: block; }
@media (hover: hover) and (pointer: fine) { .music-btn:hover { border-color: var(--ink); } }
.music-volume {
  -webkit-appearance: none; appearance: none; width: 76px; height: 16px; background: transparent; cursor: pointer; margin: 0;
}
.music-volume::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--vol, 15%) 100% no-repeat, var(--line-2); border-radius: 2px; }
.music-volume::-moz-range-track { height: 2px; background: var(--line-2); border-radius: 2px; }
.music-volume::-moz-range-progress { height: 2px; background: var(--ink); }
.music-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.music-volume::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--paper); color: var(--text); cursor: pointer; padding: 0;
  place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-menu { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }

/* Navegación lateral (inicio) */
.page-nav {
  position: fixed; right: 32px; top: 50%; transform: translateY(-50%); z-index: 50;
  display: none; flex-direction: column; gap: 20px; align-items: flex-end;
}
.page-nav a {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 13px; letter-spacing: 0.04em; color: var(--text-3);
  transition: color 200ms ease;
}
.page-nav a::after { content: ""; width: 12px; height: 1px; background: var(--line-2); transition: width 240ms var(--ease-out), background-color 200ms ease; }
.page-nav a.is-active { color: var(--text); }
.page-nav a.is-active::after { width: 28px; background: var(--ink); }
@media (hover: hover) and (pointer: fine) { .page-nav a:hover { color: var(--text); } }
@media (min-width: 1480px) { .page-nav { display: flex; } }

/* ---------- Secciones ---------- */
main { display: block; }
section { padding: var(--section) 0; }
.section-alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding-top: 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 + p, .section-head .eso-heading-row + p { margin-top: 20px; font-size: 17px; color: var(--text-2); max-width: 62ch; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.divider { display: flex; align-items: center; gap: 16px; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.divider span { flex: 1; height: 1px; background: var(--line); }
.divider i { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); flex: none; }

/* Tarjeta base */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { a.card:hover, .card.is-hoverable:hover { border-color: var(--ink); } }

.tag {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper);
  font-size: 12.5px; font-weight: 600; color: var(--text-2); white-space: nowrap;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
  border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--text-2); white-space: nowrap;
}
.pill .dot, .live-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.status-live .dot { background: var(--live); }
.status-wait .dot { background: var(--wait); }
.status-beta .dot { background: var(--beta); }
.status-live { color: var(--live); }
.status-wait { color: var(--wait); }
.status-beta { color: var(--beta); }

/* Losa de logo (fondo sólido para logos pensados sobre oscuro) */
.logo-tile {
  width: 56px; height: 56px; flex: none; border-radius: var(--radius-lg);
  background: var(--ink); display: grid; place-items: center; overflow: hidden; position: relative;
}
.logo-tile img { width: 72%; height: 72%; object-fit: contain; }
.logo-tile.cover img { width: 100%; height: 100%; object-fit: cover; }
.logo-tile .logo-fallback, .logo-tile .game-logo-text {
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; color: var(--paper);
}
.logo-tile .logo-fallback { display: none; }
.logo-tile.is-empty img { display: none; }
.logo-tile.is-empty .logo-fallback { display: block; }

.external-note { margin-top: 40px; font-size: 13.5px; color: var(--text-3); line-height: 1.7; max-width: 80ch; }
.external-note .source-link { font-size: 13.5px; }

/* ---------- Hero (inicio) ---------- */
.hero { padding: 96px 0 112px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 56px; }
.hero-action { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-live-stat { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); padding-left: 2px; }
.hero-live-stat strong { font-variant-numeric: tabular-nums; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.live-yt .live-dot { background: var(--yt); }
.live-twitch .live-dot { background: var(--twitch); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hero-stats > div { padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.hero-stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-stats strong { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.02em; line-height: 1.3; }
.hero-stats span { font-size: 13px; color: var(--text-3); }
.hero-emblem {
  position: relative; aspect-ratio: 4 / 5; background: var(--ink); border-radius: var(--radius-lg);
  display: grid; place-items: center; overflow: hidden;
}
.hero-emblem::before { content: ""; position: absolute; inset: 20px; border: 1px solid var(--line-inv); border-radius: 4px; pointer-events: none; }
.hero-emblem img { width: 62%; height: auto; }
.hero-emblem-caption {
  position: absolute; left: 36px; right: 36px; bottom: 36px; display: flex; justify-content: space-between; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-inv-2);
}

/* ---------- Sobre ---------- */
.sobre-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.sobre-text .section-head { margin-bottom: 40px; }
.quote-card { border: 0; border-left: 2px solid var(--ink); border-radius: 0; padding: 4px 0 4px 28px; background: transparent; }
.quote-card p { font-family: var(--display); font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--text); margin: 0; }
.sobre-art { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 32px 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; aspect-ratio: 4 / 5; }
.sobre-art img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }

/* ---------- Redes ---------- */
.social-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.social-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.social-card > p { font-size: 14.5px; color: var(--text-2); flex: 1; margin: 0; }
.platform { display: flex; align-items: center; gap: 14px; }
.platform-icon { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); flex: none; }
.platform-icon svg { width: 22px; height: 22px; }
.platform strong { display: block; font-size: 16px; line-height: 1.2; }
.platform span { display: block; font-size: 13px; color: var(--text-3); }
.social-card.youtube .platform-icon { color: var(--yt); }
.social-card.twitch .platform-icon { color: var(--twitch); }
.social-card.twitch .platform-icon svg path + path { fill: var(--paper-2); }
.social-card.tiktok .platform-icon { color: var(--tiktok); }
.social-card.discord .platform-icon { color: var(--discord); }
@media (hover: hover) and (pointer: fine) {
  .social-card.youtube:hover { border-color: var(--yt); }
  .social-card.twitch:hover { border-color: var(--twitch); }
  .social-card.tiktok:hover { border-color: var(--ink); }
  .social-card.discord:hover { border-color: var(--discord); }
}

/* ---------- Vídeos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.video-frame { padding: 0; overflow: hidden; }
.video-frame-head { padding: 24px 28px; border-bottom: 1px solid var(--line); }
.video-frame-head .eyebrow { margin-bottom: 8px; font-size: 11px; }
.video-frame-head h3 { font-size: 1.0625rem; }
.frame-inner { aspect-ratio: 16 / 9; background: var(--ink); }
.frame-inner iframe { width: 100%; height: 100%; border: 0; }
.video-frame-featured .video-frame-head { padding: 28px 32px; }
.video-frame-featured .video-frame-head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.125rem, 1.8vw, 1.45rem); letter-spacing: 0.01em; }

/* ---------- Twitch ---------- */
.twitch-panel { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
#twitch-embed { aspect-ratio: 16 / 9; background: var(--ink); position: relative; }
#twitch-embed iframe { width: 100%; height: 100%; border: 0; }
.twitch-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--text-inv-2); font-size: 14px; }
.twitch-fallback a { color: var(--paper); border-bottom: 1px solid #55555B; }
.twitch-side { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-left: 1px solid var(--line); border-top: 3px solid var(--twitch); }
.twitch-side .text-body { font-size: 14.5px; margin-bottom: 8px; }
.twitch-side .btn { width: 100%; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--text); }
.live-tag .dot { background: var(--twitch); }

/* ---------- ESO ---------- */
.eso-heading-row { display: flex; align-items: center; gap: 20px; }
.eso-heading-row .logo-tile { width: 64px; height: 64px; }
.eso-spotlight { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px; }
.eso-spotlight-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.eso-spotlight-top p { max-width: 62ch; margin: 18px 0 0; font-size: 15.5px; }
.eso-badge {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 2px;
  background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.season-block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.season-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; background: var(--paper-3); }
.season-banner img { width: 100%; }
.season-block-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.season-block h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.2; margin-bottom: 20px; max-width: 30ch; }
.season-block p { font-size: 15.5px; max-width: 72ch; }
.eso-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 40px 0; border-bottom: 1px solid var(--line); }
.eso-feature { display: flex; flex-direction: column; gap: 14px; padding-right: 24px; }
.eso-feature + .eso-feature { padding-left: 24px; border-left: 1px solid var(--line); }
.eso-feature .num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); letter-spacing: 0.06em; }
.eso-feature h4 { margin-bottom: 6px; }
.eso-feature p { font-size: 14px; color: var(--text-3); margin: 0; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 40px; position: relative; }
.timeline-item { position: relative; padding: 28px 24px 0 0; }
.timeline-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-2); }
.timeline-item::after { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline-item:first-child::after { background: var(--ink); }
.timeline-date { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.timeline-body h4 { margin-bottom: 6px; }
.timeline-body p { font-size: 14px; color: var(--text-3); margin: 0; }
.eso-spotlight .external-note { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Red (inicio) ---------- */
.network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.network-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; min-height: 280px; }
.network-card .network-top { display: flex; justify-content: space-between; align-items: center; }
.network-card .network-num { font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 15px; }
.network-card h3 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.2; margin-top: 12px; }
.network-card p { font-size: 14.5px; color: var(--text-2); flex: 1; margin: 0; }
.network-card .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text); }
.network-card .go svg { transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .network-card:hover .go svg { transform: translateX(4px); } }

/* ---------- Cabecera de páginas internas ---------- */
.page-header { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); margin-bottom: 24px; }
.page-header .lede { margin-bottom: 0; }
.page-header .btn { margin-top: 36px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); margin-bottom: 40px; }
.breadcrumb a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.breadcrumb a:hover { border-color: var(--ink); }
.breadcrumb span:not(:last-child) { color: var(--line-2); }
.page-header-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-weight: 700; font-size: 14px; color: var(--text); }
.page-header-logo .logo-tile { width: 48px; height: 48px; }

/* ---------- Noticias MMO ---------- */
.game-list { display: flex; flex-direction: column; gap: 40px; }
.game-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); }
.game-media { position: relative; aspect-ratio: 4 / 1; background: var(--paper-3); overflow: hidden; }
.game-media img { width: 100%; height: 100%; object-fit: cover; }
.game-media.is-empty img, .season-banner.is-empty img { visibility: hidden; }
.game-media--gw3 img { object-position: center 40%; }
.game-media-credit {
  position: absolute; left: 16px; bottom: 16px; background: var(--paper); color: var(--text-2);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px;
}
.game-card-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px 40px; border-bottom: 1px solid var(--line); }
.game-title-row { display: flex; align-items: center; gap: 18px; min-width: 0; }
.game-title-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.game-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.game-card-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 16px 56px; padding: 36px 40px 40px; }
.game-card-body > p { font-size: 15.5px; grid-column: 1; }
.fact-list { grid-column: 2; grid-row: 1 / span 2; counter-reset: fact; }
.fact-list li { counter-increment: fact; position: relative; padding: 14px 0 14px 40px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.fact-list li:last-child { border-bottom: 1px solid var(--line); }
.fact-list li::before { content: counter(fact, decimal-leading-zero); position: absolute; left: 0; top: 15px; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--accent); }
.game-card-body > .source-link { grid-column: 1; align-self: start; justify-self: start; margin-top: 8px; }

/* ---------- Guías ESO ---------- */
.source-list { display: flex; flex-direction: column; gap: 24px; }
.source-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; background: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.source-card-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.source-title-row { display: flex; align-items: center; gap: 18px; }
.source-title-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.source-domain { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.source-card > p { font-size: 15.5px; max-width: 78ch; margin: 0; }
.patch-note {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); font-weight: 500;
}
.patch-note::before { content: ""; width: 7px; height: 7px; margin-top: 8px; background: var(--accent); transform: rotate(45deg); flex: none; }

/* ---------- ESO Hub ---------- */
.news-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.news-feature-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 16px; background: var(--paper); transition: border-color 200ms ease; }
.news-feature-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.25; }
.news-feature-card p { font-size: 15px; flex: 1; margin: 0; }
.news-feature-card .source-link { align-self: flex-start; }
.news-date { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .news-feature-card:hover { border-color: var(--ink); } }
.section-grid-2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.section-grid-2 .card { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; }
.card-icon { width: 44px; height: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper-2); display: grid; place-items: center; color: var(--text); margin-bottom: 8px; }
.card-icon svg { width: 20px; height: 20px; }
.section-grid-2 .card p { font-size: 14.5px; color: var(--text-3); margin: 0; }

/* ---------- Banda CTA ---------- */
.cta-band { background: var(--ink); color: var(--text-inv-2); border-radius: var(--radius-lg); padding: 80px 48px; text-align: center; }
.cta-band h2 { color: var(--paper); margin: 0 auto 16px; max-width: 24ch; }
.cta-band p { max-width: 56ch; margin: 0 auto 32px; font-size: 16px; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn-ghost { background: var(--ink); color: var(--paper); border-color: #4A4A50; }
@media (hover: hover) and (pointer: fine) {
  .cta-band .btn-primary:hover { background: var(--paper-3); border-color: var(--paper-3); }
  .cta-band .btn-ghost:hover { border-color: var(--paper); }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 80px 0 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-brand p { margin: 20px 0 24px; font-size: 14.5px; max-width: 42ch; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius); border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--text); background: var(--paper); transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease; }
.footer-social svg { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) { .footer-social a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); } }
.footer-col h5 { margin-bottom: 20px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: 14.5px; color: var(--text-2); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: var(--text); } }
.footer-bottom { display: flex; justify-content: space-between; gap: 32px; padding-top: 28px; font-size: 12.5px; color: var(--text-3); }
.footer-bottom .disclaimer { max-width: 70ch; text-align: right; }

/* ---------- Movimiento: aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity 460ms var(--ease-out), transform 520ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-enter], .js .page-header [data-enter] { opacity: 0; transform: translateY(14px); animation: enter 560ms var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes enter { to { opacity: 1; transform: none; } }
.js .hero-emblem[data-enter] { transform: none; clip-path: inset(0 0 100% 0); opacity: 1; animation: emblem 800ms var(--ease-out) forwards; animation-delay: 80ms; }
@keyframes emblem { to { clip-path: inset(0 0 0 0); } }
main.is-leaving { opacity: 0; transition: opacity 140ms ease; }
main.is-entering { animation: page-in 220ms var(--ease-out); }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js .hero [data-enter], .js .page-header [data-enter], .js .hero-emblem[data-enter] {
    opacity: 1; transform: none; clip-path: none; animation: none; transition: opacity 200ms ease;
  }
  main.is-entering { animation: none; }
  .btn:active, .nav-cta:active, .music-btn:active { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-music-title { display: none; }
  .nav-links { gap: 22px; }
  .nav-right { gap: 20px; }
  .nav-music { padding-left: 20px; }
}
@media (max-width: 1060px) {
  :root { --section: 96px; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    visibility: hidden; opacity: 0; transform: translateY(-6px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .site-header.nav-open .nav-links { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-links a:not(.nav-cta) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 20px; height: 48px; justify-content: center; font-size: 14px; }
  .nav-music { border-left: 0; padding-left: 0; }
  .hero-grid, .sobre-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-emblem { aspect-ratio: 16 / 10; max-width: 100%; }
  .hero-emblem img { width: 30%; max-width: 240px; }
  .sobre-art { aspect-ratio: 16 / 12; max-width: 560px; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twitch-panel { grid-template-columns: 1fr; }
  .twitch-side { border-left: 0; }
  .eso-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .eso-feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .network-grid { grid-template-columns: 1fr; }
  .network-card { min-height: 0; }
  .game-card-body { grid-template-columns: 1fr; }
  .fact-list, .game-card-body > p, .game-card-body > .source-link { grid-column: 1; grid-row: auto; }
  .section-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --section: 72px; --header-h: 64px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-text { font-size: 15px; }
  .brand-text small { font-size: 8.5px; margin-top: 5px; }
  .music-volume { display: none; }
  .nav-right { gap: 12px; }
  .hero { padding: 56px 0 72px; }
  .hero-actions { flex-direction: column; }
  .hero-action, .hero-action .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div, .hero-stats > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero-emblem { aspect-ratio: 1 / 1; }
  .hero-emblem img { width: 46%; margin-top: -8%; }
  .hero-emblem-caption { left: 28px; right: 28px; bottom: 28px; font-size: 9px; letter-spacing: 0.2em; }
  .hero-emblem::before { inset: 12px; }
  .section-head { margin-bottom: 40px; }
  .card { padding: 24px; }
  .social-grid, .video-grid, .news-feature, .section-grid-2 { grid-template-columns: 1fr; }
  .video-frame-head { padding: 20px; }
  .twitch-side { padding: 24px; }
  .eso-spotlight { padding: 24px; }
  .eso-spotlight-top { flex-direction: column; }
  .eso-feature-grid { grid-template-columns: 1fr; gap: 0; }
  .eso-feature, .eso-feature + .eso-feature { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .eso-feature:first-child { border-top: 0; padding-top: 0; }
  .eso-heading-row { gap: 14px; }
  .eso-heading-row .logo-tile { width: 48px; height: 48px; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; padding-top: 32px; }
  .timeline-item { padding: 0 0 28px 28px; }
  .timeline-item::before { top: 6px; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .timeline-item:last-child::before { display: none; }
  .timeline-item::after { top: 2px; }
  .page-header { padding: 48px 0 48px; }
  .breadcrumb { margin-bottom: 28px; }
  .game-media { aspect-ratio: 2.4 / 1; }
  .game-card-head, .game-card-body { padding: 24px 20px; }
  .source-card { padding: 24px 20px; }
  .source-card-head .btn { width: 100%; }
  .logo-tile { width: 48px; height: 48px; }
  .news-feature-card { padding: 24px; }
  .section-grid-2 .card { padding: 28px 24px; }
  .cta-band { padding: 56px 24px; }
  .cta-band .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom .disclaimer { text-align: left; }
}

/* =========================================================================
   Capa de degradados y cristal
   Degradados "aurora" muy suaves (violeta de Season One + bronce Tamriel)
   y superficies de cristal esmerilado en cabecera, tarjetas y chips.
   ========================================================================= */
:root {
  --violet: #6E4FD0;
  --violet-soft: #B8A6F5;
  --gold-soft: #E3C58F;
  --sky-soft: #A9D6F2;

  --grad-accent: linear-gradient(100deg, #8B6B3D 0%, #6E4FD0 100%);
  --grad-ink: linear-gradient(180deg, #2A2A31 0%, #111113 100%);
  --grad-ink-hover: linear-gradient(180deg, #3A3A43 0%, #1B1B20 100%);
  --aurora:
    radial-gradient(52% 60% at 8% 0%, rgba(184, 166, 245, 0.30) 0%, rgba(184, 166, 245, 0) 70%),
    radial-gradient(42% 52% at 96% 6%, rgba(227, 197, 143, 0.28) 0%, rgba(227, 197, 143, 0) 70%),
    radial-gradient(40% 48% at 70% 100%, rgba(169, 214, 242, 0.20) 0%, rgba(169, 214, 242, 0) 70%);

  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-line: rgba(255, 255, 255, 0.9);
  --glass-edge: rgba(17, 17, 19, 0.07);
  --glass-blur: saturate(170%) blur(18px);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(17, 17, 19, 0.04), 0 16px 40px -20px rgba(40, 28, 90, 0.22);
}

/* Barra de progreso con degradado de acento */
.scroll-progress { background: var(--grad-accent); }

/* Línea del eyebrow en degradado */
.eyebrow::before { background: var(--grad-accent); }
.eyebrow .idx { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Titular: "ONITAL RING" con un degradado tinta → amatista muy sutil */
h1 .accent {
  background: linear-gradient(100deg, #111113 15%, #3B2A78 60%, #6E4FD0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Cristal: cabecera ---------- */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    border-bottom-color: rgba(17, 17, 19, 0.08);
  }
}

/* Botones: tinta con degradado vertical y brillo superior */
.btn-primary, .nav-cta {
  background: var(--grad-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 16px -8px rgba(17, 17, 19, 0.45);
}
.btn-ghost {
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover, .nav-cta:hover { background: var(--grad-ink-hover); }
}
.music-btn.is-playing { background: var(--grad-ink); }
.music-volume::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, #8B6B3D, #6E4FD0) 0 / var(--vol, 15%) 100% no-repeat, var(--line-2);
}
.music-volume::-moz-range-progress { background: var(--grad-accent); }

/* ---------- Fondos aurora ---------- */
.hero, .page-header { position: relative; isolation: isolate; }
.hero::before, .page-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--aurora);
}
.hero::after {
  /* retícula muy tenue que se desvanece hacia abajo */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(17, 17, 19, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 19, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 70% at 50% 0%, #000 0%, transparent 75%);
}
.section-alt {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, #F7F6F2 0%, #F3F1EC 100%);
}
.section-alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 0% 20%, rgba(184, 166, 245, 0.22) 0%, rgba(184, 166, 245, 0) 70%),
    radial-gradient(38% 46% at 100% 80%, rgba(227, 197, 143, 0.22) 0%, rgba(227, 197, 143, 0) 70%);
}

/* ---------- Cristal: tarjetas sobre fondos aurora ---------- */
.section-alt .card, .section-alt .eso-spotlight, .section-alt .section-grid-2 {
  background: var(--glass);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-color: var(--glass-line);
  box-shadow: var(--glass-shadow);
}
.section-alt .section-grid-2 { border: 1px solid var(--glass-line); border-radius: var(--radius-lg); overflow: hidden; }
.section-alt .section-grid-2 .card { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: rgba(17, 17, 19, 0.06); }
.section-alt .platform-icon, .section-alt .card-icon { background: rgba(255, 255, 255, 0.8); border-color: var(--glass-line); }
.section-alt .social-card.twitch .platform-icon svg path + path { fill: #FFFFFF; }
.section-alt .eso-spotlight-top, .section-alt .season-block, .section-alt .eso-feature-grid,
.section-alt .eso-feature + .eso-feature, .section-alt .eso-spotlight .external-note { border-color: rgba(17, 17, 19, 0.08); }

/* ---------- Hero: panel del emblema ---------- */
.hero-emblem {
  background:
    radial-gradient(70% 55% at 50% 108%, rgba(110, 79, 208, 0.55) 0%, rgba(110, 79, 208, 0) 70%),
    radial-gradient(60% 45% at 50% -8%, rgba(227, 197, 143, 0.20) 0%, rgba(227, 197, 143, 0) 70%),
    linear-gradient(180deg, #17161C 0%, #0D0D10 100%);
  box-shadow: 0 30px 60px -30px rgba(40, 28, 90, 0.55);
}
.hero-emblem::before { border-color: rgba(255, 255, 255, 0.1); }
.hero-emblem img { filter: drop-shadow(0 0 28px rgba(184, 166, 245, 0.35)); }
.hero-emblem-caption {
  left: 32px; right: 32px; bottom: 32px; padding: 12px 16px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #D9D6E6;
}

/* ---------- Sobre el creador ---------- */
.sobre-art {
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(184, 166, 245, 0.35) 0%, rgba(184, 166, 245, 0) 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(227, 197, 143, 0.25) 0%, rgba(227, 197, 143, 0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F2FA 100%);
  border-color: rgba(17, 17, 19, 0.07);
  padding: 40px 32px 0;
}
.sobre-art img { filter: drop-shadow(0 24px 30px rgba(40, 28, 90, 0.18)); }
.quote-card { border-left: 0; position: relative; }
.quote-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad-accent); }

/* ---------- ESO ---------- */
.eso-heading-row .eso-logo { height: 84px; width: auto; flex: none; }
.eso-badge { background: var(--grad-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.season-banner { position: relative; box-shadow: 0 24px 50px -28px rgba(40, 28, 90, 0.5); }
.timeline-item::before { background: linear-gradient(90deg, rgba(139, 107, 61, 0.55), rgba(110, 79, 208, 0.35)); }
.timeline-item:first-child::after { background: var(--grad-accent); border-color: transparent; }
.eso-feature .num, .network-card .network-num, .fact-list li::before {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Losas de logo con degradado tinta */
.logo-tile { background: linear-gradient(160deg, #26252D 0%, #0D0D10 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }

/* ---------- Twitch ---------- */
.twitch-side { border-top: 0; position: relative; }
.twitch-side::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #9146FF, #6E4FD0 60%, #B8A6F5); }
.twitch-panel { box-shadow: 0 24px 50px -30px rgba(145, 70, 255, 0.35); }

/* ---------- Red: barra de degradado al pasar el cursor ---------- */
.network-card { position: relative; overflow: hidden; }
.network-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad-accent);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 320ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .network-card:hover::before { transform: scaleX(1); } }

/* ---------- Noticias: crédito de imagen en cristal ---------- */
.game-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 13, 16, 0) 0%, rgba(13, 13, 16, 0.35) 100%);
}
.game-media-credit {
  z-index: 1;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-radius: 4px; color: var(--text);
}
.patch-note {
  background: linear-gradient(90deg, rgba(227, 197, 143, 0.16) 0%, rgba(184, 166, 245, 0.12) 100%), var(--paper);
  border-color: rgba(139, 107, 61, 0.18);
}
.patch-note::before { background: var(--grad-accent); }

/* ---------- Banda CTA: tinta con aurora y botones de cristal ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 80% at 0% 0%, rgba(110, 79, 208, 0.45) 0%, rgba(110, 79, 208, 0) 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(201, 162, 106, 0.30) 0%, rgba(201, 162, 106, 0) 70%),
    linear-gradient(180deg, #17161C 0%, #0D0D10 100%);
  box-shadow: 0 30px 60px -32px rgba(40, 28, 90, 0.6);
}
.cta-band .btn-primary { background: linear-gradient(180deg, #FFFFFF 0%, #ECEAF4 100%); color: var(--ink); border-color: transparent; }
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.08); color: var(--paper); border-color: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
@media (hover: hover) and (pointer: fine) {
  .cta-band .btn-primary:hover { background: #FFFFFF; }
  .cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }
}

/* ---------- Navegación lateral en cristal ---------- */
.page-nav {
  padding: 22px 20px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.6); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.page-nav a.is-active::after { background: var(--grad-accent); }

/* ---------- Pie ---------- */
.site-footer { position: relative; isolation: isolate; background: linear-gradient(180deg, #F7F6F2 0%, #F1EFEA 100%); }
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 60% at 100% 0%, rgba(184, 166, 245, 0.18) 0%, rgba(184, 166, 245, 0) 70%);
}

/* Menú móvil en cristal */
@media (max-width: 1060px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav-links { background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: 0 24px 40px -24px rgba(40, 28, 90, 0.25); }
  }
}
@media (max-width: 720px) {
  .eso-heading-row .eso-logo { height: 56px; }
  .hero-emblem-caption { left: 20px; right: 20px; bottom: 20px; padding: 10px 12px; }
}

/* =========================================================================
   Botón de tema claro / oscuro
   ========================================================================= */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; flex: none;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--text); cursor: pointer; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out);
}
.theme-toggle:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .theme-toggle:hover { border-color: var(--text); } }
.theme-toggle svg { width: 17px; height: 17px; transition: transform 320ms var(--ease-out), opacity 200ms ease; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .t-light { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .t-dark { display: none; }
[data-theme="dark"] .theme-toggle .t-light { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  .theme-toggle svg { animation: icon-in 360ms var(--ease-out); }
  @keyframes icon-in { from { opacity: 0; transform: rotate(-60deg) scale(0.8); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1180px) { .theme-toggle-label { display: none; } .theme-toggle { width: 36px; padding: 0; justify-content: center; } }

/* Transiciones del cambio de tema */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-switching, .theme-switching *, .theme-switching *::before, .theme-switching *::after {
  transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease, fill 320ms ease !important;
}

/* =========================================================================
   Tema oscuro (textos blancos)
   ========================================================================= */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0E0E12;
  --paper-2: #15151B;
  --paper-3: #1E1E26;
  --ink: #F3F2F8;
  --ink-soft: #E4E3EC;
  --text: #F5F4FA;
  --text-2: #C6C5D0;
  --text-3: #8F8E9B;
  --text-inv: #0E0E12;
  --line: #25252D;
  --line-2: #393943;
  --accent: #CDA96F;
  --accent-ink: #DDBD84;
  --live: #43C57E;
  --wait: #E4A450;
  --beta: #8AA6FF;
  --tiktok: #F3F2F8;

  --grad-accent: linear-gradient(100deg, #D6B37A 0%, #A08AF5 100%);
  --grad-ink: linear-gradient(180deg, #FFFFFF 0%, #E3E1EC 100%);
  --grad-ink-hover: linear-gradient(180deg, #FFFFFF 0%, #F1EFF7 100%);
  --aurora:
    radial-gradient(52% 60% at 8% 0%, rgba(110, 79, 208, 0.28) 0%, rgba(110, 79, 208, 0) 70%),
    radial-gradient(42% 52% at 96% 6%, rgba(201, 162, 106, 0.16) 0%, rgba(201, 162, 106, 0) 70%),
    radial-gradient(40% 48% at 70% 100%, rgba(80, 140, 200, 0.12) 0%, rgba(80, 140, 200, 0) 70%);
  --glass: rgba(26, 26, 33, 0.55);
  --glass-strong: rgba(30, 30, 38, 0.72);
  --glass-line: rgba(255, 255, 255, 0.08);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 44px -22px rgba(0, 0, 0, 0.7);
}
[data-theme="dark"] body { background: var(--paper); }
[data-theme="dark"] .brand-mark { filter: none; }
[data-theme="dark"] .site-header { background: var(--paper); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  [data-theme="dark"] .site-header { background: rgba(14, 14, 18, 0.72); border-bottom-color: rgba(255, 255, 255, 0.07); }
}
[data-theme="dark"] .theme-toggle, [data-theme="dark"] .btn-ghost { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
[data-theme="dark"] .btn-primary, [data-theme="dark"] .nav-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 22px -10px rgba(160, 138, 245, 0.35); }
[data-theme="dark"] h1 .accent { background-image: linear-gradient(100deg, #FFFFFF 10%, #D9CCFF 55%, #A08AF5 100%); }
[data-theme="dark"] .hero::after {
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
[data-theme="dark"] .section-alt { background: linear-gradient(180deg, #121217 0%, #15151B 100%); }
[data-theme="dark"] .section-alt::before {
  background:
    radial-gradient(40% 50% at 0% 20%, rgba(110, 79, 208, 0.20) 0%, rgba(110, 79, 208, 0) 70%),
    radial-gradient(38% 46% at 100% 80%, rgba(201, 162, 106, 0.12) 0%, rgba(201, 162, 106, 0) 70%);
}
[data-theme="dark"] .section-alt .platform-icon, [data-theme="dark"] .section-alt .card-icon { background: rgba(255, 255, 255, 0.05); }
[data-theme="dark"] .section-alt .social-card.twitch .platform-icon svg path + path,
[data-theme="dark"] .social-card.twitch .platform-icon svg path + path { fill: #1B1B22; }
[data-theme="dark"] .section-alt .eso-spotlight-top, [data-theme="dark"] .section-alt .season-block,
[data-theme="dark"] .section-alt .eso-feature-grid, [data-theme="dark"] .section-alt .eso-feature + .eso-feature,
[data-theme="dark"] .section-alt .eso-spotlight .external-note,
[data-theme="dark"] .section-alt .section-grid-2 .card { border-color: rgba(255, 255, 255, 0.07); }
[data-theme="dark"] .hero-emblem { border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 30px 70px -30px rgba(110, 79, 208, 0.45); }
[data-theme="dark"] .sobre-art {
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(110, 79, 208, 0.38) 0%, rgba(110, 79, 208, 0) 70%),
    radial-gradient(60% 40% at 50% 100%, rgba(201, 162, 106, 0.18) 0%, rgba(201, 162, 106, 0) 70%),
    linear-gradient(180deg, #17161D 0%, #111116 100%);
  border-color: rgba(255, 255, 255, 0.07);
}
[data-theme="dark"] .sobre-art img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.35)) drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5)); }
[data-theme="dark"] .logo-tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .frame-inner, [data-theme="dark"] #twitch-embed { background: #000; }
[data-theme="dark"] .twitch-fallback a { color: #FFFFFF; }
[data-theme="dark"] .game-media-credit { background: rgba(14, 14, 18, 0.7); border-color: rgba(255, 255, 255, 0.12); }
[data-theme="dark"] .patch-note {
  background: linear-gradient(90deg, rgba(201, 162, 106, 0.12) 0%, rgba(110, 79, 208, 0.12) 100%), var(--paper-2);
  border-color: rgba(205, 169, 111, 0.2);
}
[data-theme="dark"] .cta-band { border: 1px solid rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .cta-band h2 { color: #FFFFFF; }
[data-theme="dark"] .cta-band .btn-primary { color: #0E0E12; }
[data-theme="dark"] .cta-band .btn-ghost { color: #FFFFFF; }
[data-theme="dark"] .page-nav { background: rgba(20, 20, 26, 0.6); }
[data-theme="dark"] .site-footer { background: linear-gradient(180deg, #121217 0%, #0E0E12 100%); }
[data-theme="dark"] .site-footer::before { background: radial-gradient(45% 60% at 100% 0%, rgba(110, 79, 208, 0.18) 0%, rgba(110, 79, 208, 0) 70%); }
[data-theme="dark"] .season-banner, [data-theme="dark"] .twitch-panel { box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.8); }
[data-theme="dark"] .eso-logo { filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.25)); }
@media (max-width: 1060px) {
  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    [data-theme="dark"] .nav-links { background: rgba(14, 14, 18, 0.9); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.7); }
  }
}

/* =========================================================================
   Ajustes del inicio: emblema y personaje sin marco + flotación
   ========================================================================= */

/* --- Emblema (tema claro): logo negro, sin panel morado; se conservan la
       línea interior del marco y la placa con la información --- */
.hero-emblem {
  background: transparent;
  box-shadow: none;
  border: 0;
  overflow: visible;
}
.hero-emblem::before { border-color: var(--line-2); }
.hero-emblem img { filter: invert(1); }
.hero-emblem-caption {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
  color: var(--text-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* --- Personaje (ambos temas): sin marco, solo el degradado de fondo --- */
.sobre-art {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background:
    radial-gradient(46% 42% at 50% 38%, rgba(184, 166, 245, 0.42) 0%, rgba(184, 166, 245, 0) 100%),
    radial-gradient(40% 24% at 50% 96%, rgba(227, 197, 143, 0.30) 0%, rgba(227, 197, 143, 0) 100%);
}

/* Flotación suave arriba / abajo */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@media (prefers-reduced-motion: no-preference) {
  .sobre-art img { animation: float-y 6s cubic-bezier(0.45, 0, 0.55, 1) infinite; will-change: transform; }
}

/* --- Tema oscuro --- */
[data-theme="dark"] .sobre-art {
  border: 0;
  background:
    radial-gradient(46% 42% at 50% 38%, rgba(110, 79, 208, 0.45) 0%, rgba(110, 79, 208, 0) 100%),
    radial-gradient(40% 24% at 50% 96%, rgba(201, 162, 106, 0.22) 0%, rgba(201, 162, 106, 0) 100%);
}
/* Emblema oscuro: sin marco (ni caja ni línea), brillo difuminado sin bordes
   y se conserva la placa de cristal con la información */
[data-theme="dark"] .hero-emblem {
  border: 0;
  box-shadow: none;
  background:
    radial-gradient(48% 40% at 50% 72%, rgba(110, 79, 208, 0.42) 0%, rgba(110, 79, 208, 0) 100%),
    radial-gradient(40% 30% at 50% 22%, rgba(227, 197, 143, 0.14) 0%, rgba(227, 197, 143, 0) 100%);
}
[data-theme="dark"] .hero-emblem::before { display: none; }
[data-theme="dark"] .hero-emblem img { filter: drop-shadow(0 0 28px rgba(184, 166, 245, 0.35)); }
[data-theme="dark"] .hero-emblem-caption {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #D9D6E6;
  box-shadow: none;
}

/* Halos difuminados sin bordes: el degradado vive en un pseudo-elemento más
   grande que la caja, así nunca se corta en línea recta */
.nav-links a { white-space: nowrap; }
@media (max-width: 1320px) {
  .theme-toggle-label { display: none; }
  .theme-toggle { width: 36px; padding: 0; justify-content: center; }
}
.sobre-art, [data-theme="dark"] .sobre-art { position: relative; isolation: isolate; background: none; }
.sobre-art::before {
  content: ""; position: absolute; inset: -14% -10%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 34% at 50% 40%, rgba(184, 166, 245, 0.45) 0%, rgba(184, 166, 245, 0) 100%),
    radial-gradient(30% 16% at 50% 82%, rgba(227, 197, 143, 0.32) 0%, rgba(227, 197, 143, 0) 100%);
}
[data-theme="dark"] .sobre-art::before {
  background:
    radial-gradient(38% 34% at 50% 40%, rgba(110, 79, 208, 0.48) 0%, rgba(110, 79, 208, 0) 100%),
    radial-gradient(30% 16% at 50% 82%, rgba(201, 162, 106, 0.22) 0%, rgba(201, 162, 106, 0) 100%);
}
.hero-emblem, [data-theme="dark"] .hero-emblem { isolation: isolate; background: none; }
[data-theme="dark"] .hero-emblem::after {
  content: ""; position: absolute; inset: -16%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34% 32% at 50% 56%, rgba(110, 79, 208, 0.45) 0%, rgba(110, 79, 208, 0) 100%),
    radial-gradient(28% 22% at 50% 30%, rgba(227, 197, 143, 0.12) 0%, rgba(227, 197, 143, 0) 100%);
}

/* El fondo aurora de la portada se desvanece abajo (sin corte recto) */
.hero::before, .page-header::before {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}

/* =========================================================================
   Ajustes v5: personaje alineado, iconos de redes, temporada a lo ancho,
   indicador de fecha en la línea de tiempo y brillos suaves en oscuro
   ========================================================================= */

/* --- Personaje: el halo vive en la misma caja que la imagen y se centra
       sobre el cuerpo (no sobre el contenedor) --- */
.sobre-art, [data-theme="dark"] .sobre-art { padding: 24px 0 0; align-items: flex-end; justify-content: center; }
.sobre-art::before, [data-theme="dark"] .sobre-art::before { content: none; }
.sobre-figure {
  position: relative; isolation: isolate;
  height: 100%; aspect-ratio: 710 / 1394; max-width: 100%;
  /* el cuerpo está al 66 % del ancho de la imagen: se recentra la figura */
  transform: translateX(-16%);
}
.sobre-figure img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.sobre-figure::before, .sobre-figure::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
/* halo del cuerpo, centrado en el torso */
.sobre-figure::before {
  left: 66%; top: 40%; width: 170%; height: 90%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(184, 166, 245, 0.55) 0%, rgba(184, 166, 245, 0.18) 55%, rgba(184, 166, 245, 0) 100%);
}
/* luz de suelo bajo los pies */
.sobre-figure::after {
  left: 68.5%; top: 97%; width: 110%; height: 16%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(227, 197, 143, 0.55) 0%, rgba(227, 197, 143, 0) 100%);
}
@keyframes ground-breathe {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scaleX(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scaleX(0.84); }
}
@media (prefers-reduced-motion: no-preference) {
  .sobre-figure::after { animation: ground-breathe 6s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
}
[data-theme="dark"] .sobre-figure::before {
  background: radial-gradient(closest-side, rgba(126, 100, 214, 0.20) 0%, rgba(126, 100, 214, 0.07) 55%, rgba(126, 100, 214, 0) 100%);
}
[data-theme="dark"] .sobre-figure::after {
  background: radial-gradient(closest-side, rgba(201, 162, 106, 0.18) 0%, rgba(201, 162, 106, 0) 100%);
}
[data-theme="dark"] .sobre-art img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.25)) drop-shadow(0 20px 24px rgba(0, 0, 0, 0.45)); }

/* --- Emblema en oscuro: brillo mucho más discreto --- */
[data-theme="dark"] .hero-emblem::after {
  background: radial-gradient(34% 30% at 50% 52%, rgba(126, 100, 214, 0.16) 0%, rgba(126, 100, 214, 0) 100%);
}
[data-theme="dark"] .hero-emblem img { filter: drop-shadow(0 0 10px rgba(200, 190, 240, 0.14)); }

/* --- Iconos de redes: centrados y más grandes ---
   (.platform span tenía display:block y anulaba el grid del icono) */
.platform { gap: 16px; }
.platform .platform-icon {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 12px; line-height: 0;
}
.platform .platform-icon svg { width: 28px; height: 28px; display: block; margin: 0; }
.platform strong { font-size: 17px; }

/* --- Temporada: bloque a todo lo ancho --- */
.eso-spotlight-top > div { flex: 1; min-width: 0; }
.eso-spotlight-top p { max-width: none; }
.season-block h3 { max-width: none; }
.season-block p { max-width: none; }
.season-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.season-text p { margin: 0; }
@media (max-width: 900px) { .season-text { grid-template-columns: 1fr; gap: 16px; } }

/* --- Línea de tiempo con indicador de "hoy" --- */
.timeline { --tl-progress: 0%; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 40px; left: 0; height: 1px; pointer-events: none; }
.timeline::before { right: 0; background: var(--line-2); }
.timeline::after { width: var(--tl-progress); background: var(--grad-accent); height: 2px; top: 39.5px; transition: width 560ms var(--ease-out); }
.timeline-item::before { display: none; }
.timeline-item::after { display: none; }
.timeline-item { padding-top: 28px; }
.timeline-marker {
  position: absolute; top: -5px; left: 0; z-index: 1;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-2);
  transition: background-color 300ms ease, border-color 300ms ease;
}
.timeline-item.is-past .timeline-marker { background: var(--accent); border-color: var(--accent); }
.timeline-item.is-past .timeline-date { color: var(--text-3); }
.timeline-item.is-current .timeline-marker {
  border: 0; width: 13px; height: 13px; top: -6px; left: -1px;
  background: var(--grad-accent);
  box-shadow: 0 0 0 4px var(--paper);
}
.timeline-item.is-current .timeline-marker::before,
.timeline-item.is-current .timeline-marker::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid #8E6FE0; opacity: 0;
}
@keyframes now-ripple {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(3.4); opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .timeline-item.is-current .timeline-marker::before { animation: now-ripple 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; }
  .timeline-item.is-current .timeline-marker::after { animation: now-ripple 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) 1.4s infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline-item.is-current .timeline-marker::before { opacity: 0.35; transform: scale(2); }
}
.timeline-now {
  position: absolute; top: -34px; left: -6px;
  display: none; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: #5B3FC4; background: rgba(110, 79, 208, 0.08); border: 1px solid rgba(110, 79, 208, 0.22);
}
.timeline-item.is-current .timeline-now { display: inline-flex; }
.timeline-item.is-current .timeline-date { color: var(--text); }
.timeline-item.is-current h4 { color: var(--text); }
.timeline { padding-top: 64px; }
.timeline::before, .timeline::after { top: 64px; }
.timeline::after { top: 63.5px; }
[data-theme="dark"] .timeline-item.is-current .timeline-marker::before,
[data-theme="dark"] .timeline-item.is-current .timeline-marker::after { border-color: #B6A4F7; }
[data-theme="dark"] .timeline-now { color: #CDBFFF; background: rgba(160, 138, 245, 0.10); border-color: rgba(160, 138, 245, 0.28); }

@media (max-width: 720px) {
  .timeline { padding-top: 40px; }
  .timeline::before, .timeline::after { top: 40px; bottom: 28px; left: 5px; right: auto; width: 1px; height: auto; }
  .timeline::after { width: 2px; left: 4.5px; height: var(--tl-progress-v, 0px); bottom: auto; transition: height 560ms var(--ease-out); }
  .timeline-item { padding: 0 0 32px 32px; }
  .timeline-marker { top: 3px; }
  .timeline-item.is-current .timeline-marker { top: 2px; }
  .timeline-now { position: static; margin-bottom: 8px; }
}
/* v5: luz de suelo más fina y nota de fuentes a todo lo ancho */
.sobre-figure::after { height: 9%; width: 90%; background: radial-gradient(closest-side, rgba(227, 197, 143, 0.42) 0%, rgba(227, 197, 143, 0) 100%); }
[data-theme="dark"] .sobre-figure::after { background: radial-gradient(closest-side, rgba(201, 162, 106, 0.16) 0%, rgba(201, 162, 106, 0) 100%); }
.eso-spotlight .external-note { max-width: none; }

/* =========================================================================
   Sombras en botones (solo tema claro)
   ========================================================================= */
:root {
  --btn-shadow: 0 1px 2px rgba(17, 17, 19, 0.06), 0 4px 12px -4px rgba(40, 28, 90, 0.16);
  --btn-shadow-hover: 0 2px 4px rgba(17, 17, 19, 0.06), 0 10px 22px -8px rgba(40, 28, 90, 0.28);
  --btn-shadow-dark: 0 1px 2px rgba(17, 17, 19, 0.18), 0 8px 18px -8px rgba(17, 17, 19, 0.55);
}
/* Botones de redes (Ver canal, Ir al canal, Ver TikTok, Unirse al Discord) y
   demás botones secundarios */
.btn-ghost,
.section-alt .btn-ghost {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--btn-shadow);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease,
              box-shadow 220ms ease, transform 160ms var(--ease-out);
}
.social-card .btn-ghost { background: #FFFFFF; }
/* Botones principales, "Sitio oficial de ESO", tema y reproductor */
.btn-primary, .nav-cta { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), var(--btn-shadow-dark); transition: background-color 180ms ease, box-shadow 220ms ease, transform 160ms var(--ease-out); }
.btn-outline-gold { box-shadow: var(--btn-shadow); transition: background-color 180ms ease, color 180ms ease, box-shadow 220ms ease, transform 160ms var(--ease-out); }
.theme-toggle, .music-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--btn-shadow); }
.footer-social a { box-shadow: var(--btn-shadow); }
@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover, .btn-outline-gold:hover, .footer-social a:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--btn-shadow-hover); }
  .btn-primary:hover, .nav-cta:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 2px 4px rgba(17, 17, 19, 0.2), 0 12px 24px -10px rgba(17, 17, 19, 0.6); }
}
.btn:active { box-shadow: 0 1px 2px rgba(17, 17, 19, 0.08); }
/* En la banda oscura (CTA) los botones van sin sombra, como en el tema oscuro */
.cta-band .btn-ghost, .cta-band .btn-primary { box-shadow: none; }

/* Tema oscuro: sin sombras en los botones */
[data-theme="dark"] .btn-ghost, [data-theme="dark"] .section-alt .btn-ghost,
[data-theme="dark"] .btn-primary, [data-theme="dark"] .nav-cta,
[data-theme="dark"] .btn-outline-gold, [data-theme="dark"] .theme-toggle,
[data-theme="dark"] .music-btn, [data-theme="dark"] .footer-social a,
[data-theme="dark"] .btn:active { box-shadow: none; }
[data-theme="dark"] .social-card .btn-ghost { background: var(--glass-strong); }
@media (hover: hover) and (pointer: fine) {
  [data-theme="dark"] .btn-ghost:hover, [data-theme="dark"] .btn-outline-gold:hover,
  [data-theme="dark"] .footer-social a:hover, [data-theme="dark"] .btn-primary:hover,
  [data-theme="dark"] .nav-cta:hover { box-shadow: none; }
}

/* =========================================================================
   Noticias MMO: orden de lanzamientos, noticias en vivo, fuentes y
   línea de tiempo mensual de eventos/drops de AION 2
   ========================================================================= */
[hidden] { display: none !important; }

/* Orden de lanzamientos */
.launch-order {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 0 48px; padding: 0; list-style: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--glass-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.launch-order li + li { border-left: 1px solid var(--line); }
.launch-order a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; height: 100%; transition: background-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .launch-order a:hover { background: var(--paper-2); } }
.lo-num { font-family: var(--display); font-weight: 700; font-size: 13px; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lo-name { font-weight: 800; font-size: 15px; color: var(--text); line-height: 1.3; }
.lo-when { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.lo-when .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); flex: none; }
.lo-when.status-live .dot { background: var(--live); }
.lo-when.status-wait .dot { background: var(--wait); }
.lo-when.status-beta .dot { background: var(--beta); }
@media (max-width: 1060px) {
  .launch-order { grid-template-columns: 1fr; }
  .launch-order li + li { border-left: 0; border-top: 1px solid var(--line); }
  .launch-order a { flex-direction: row; align-items: center; gap: 14px; padding: 14px 18px; }
  .lo-when { margin-left: auto; text-align: right; }
}
@media (max-width: 520px) { .launch-order a { flex-wrap: wrap; } .lo-when { margin-left: 30px; } }

.game-launch { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.game-card { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Pie de cada ficha: noticias en vivo + fuentes */
.game-card-foot, .events-foot {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px 48px;
  padding: 32px 40px 36px; border-top: 1px solid var(--line); background: var(--paper-2);
}
.events-foot { margin: 32px -40px -40px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.live-feed-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-bottom: 14px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #B4232A; background: rgba(229, 57, 53, 0.08); border: 1px solid rgba(229, 57, 53, 0.22);
}
.live-pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #E53935; }
.live-pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #E53935; opacity: 0; }
@keyframes live-ping { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: no-preference) { .live-pulse::after { animation: live-ping 2s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; } }
.live-feed-title { font-weight: 800; font-size: 14.5px; color: var(--text); }
.live-feed-updated { font-size: 12.5px; color: var(--text-3); margin-left: auto; }
.live-feed-list, .events-auto-list { list-style: none; margin: 0; padding: 0; }
.live-feed-list li + li, .events-auto-list li + li { border-top: 1px solid var(--line); }
.live-item { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; }
.live-item-title { font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.45; transition: color 160ms ease; }
.live-item-meta { font-size: 12.5px; color: var(--text-3); }
@media (hover: hover) and (pointer: fine) { .live-item:hover .live-item-title { color: var(--violet); } }
.live-skeleton { padding: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.live-skeleton span { display: block; height: 10px; border-radius: 4px; background: var(--paper-3); }
.live-skeleton span:first-child { width: 85%; }
.live-skeleton span:last-child { width: 35%; }
@keyframes skel { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: no-preference) { .live-skeleton span { animation: skel 1.4s ease-in-out infinite; } }
.live-feed-error { margin: 0; font-size: 14px; color: var(--text-3); }
.game-sources h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 16px; }
.game-sources ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.game-sources li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.source-date { font-size: 12px; color: var(--text-3); }

/* Panel de eventos y drops */
.events-panel {
  position: relative; border-radius: var(--radius-lg); padding: 40px; overflow: hidden;
  border: 1px solid rgba(145, 70, 255, 0.22);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(145, 70, 255, 0.10) 0%, rgba(145, 70, 255, 0) 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(227, 197, 143, 0.14) 0%, rgba(227, 197, 143, 0) 70%),
    var(--paper);
  box-shadow: 0 24px 50px -32px rgba(145, 70, 255, 0.35);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.events-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #9146FF, #6E4FD0 60%, #B8A6F5); }
.events-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.events-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 12px; }
.events-head p { max-width: 62ch; margin: 0; font-size: 15px; }
.month-switch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.month-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--text); box-shadow: var(--btn-shadow);
  transition: border-color 180ms ease, transform 160ms var(--ease-out), opacity 160ms ease;
}
.month-btn svg { width: 18px; height: 18px; }
.month-btn:active { transform: scale(0.94); }
.month-btn:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .month-btn:not(:disabled):hover { border-color: var(--text); } }
.month-label { min-width: 150px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text); }
.month-today { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(145, 70, 255, 0.3); background: rgba(145, 70, 255, 0.06); color: #6B34D6; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.events-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.events-summary span { display: inline-flex; align-items: center; gap: 7px; }
.events-summary .dot { width: 8px; height: 8px; border-radius: 50%; }
.sum-live .dot { background: var(--live); }
.sum-soon .dot { background: #9146FF; }
.sum-claim .dot { background: var(--wait); }

.events-timeline { list-style: none; margin: 28px 0 0; padding: 0; position: relative; }
.events-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 119px; width: 1px; background: var(--line-2); }
.ev-item { display: grid; grid-template-columns: 96px 48px minmax(0, 1fr); align-items: start; padding: 0 0 28px; position: relative; }
.ev-item:last-child { padding-bottom: 0; }
.ev-when { text-align: right; padding-top: 2px; }
.ev-day { display: block; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--text); }
.ev-range { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--text-3); }
.ev-dot { justify-self: center; position: relative; z-index: 1; width: 13px; height: 13px; margin-top: 8px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); }
.ev-live .ev-dot { border: 0; background: var(--live); box-shadow: 0 0 0 4px var(--paper); }
.ev-live .ev-dot::before, .ev-live .ev-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--live); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ev-live .ev-dot::before { animation: now-ripple 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; }
  .ev-live .ev-dot::after { animation: now-ripple 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) 1.3s infinite; }
}
.ev-soon .ev-dot { border-color: #9146FF; }
.ev-claim .ev-dot { border-color: var(--wait); background: var(--wait); }
.ev-done .ev-dot { background: var(--line-2); }
.ev-done .ev-body, .ev-done .ev-when { opacity: 0.62; }
.ev-body {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04), 0 10px 24px -18px rgba(40, 28, 90, 0.22);
}
.ev-live .ev-body { border-color: rgba(30, 138, 79, 0.35); }
.ev-soon .ev-body { border-color: rgba(145, 70, 255, 0.28); }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ev-type, .ev-status { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em; }
.ev-type { background: var(--paper-2); border: 1px solid var(--line); color: var(--text-2); }
.ev-type-drops .ev-type { background: rgba(145, 70, 255, 0.08); border-color: rgba(145, 70, 255, 0.25); color: #6B34D6; }
.ev-status .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ev-status-live { color: var(--live); background: rgba(30, 138, 79, 0.08); border: 1px solid rgba(30, 138, 79, 0.25); }
.ev-status-soon { color: #6B34D6; background: rgba(145, 70, 255, 0.06); border: 1px solid rgba(145, 70, 255, 0.22); }
.ev-status-claim { color: var(--wait); background: rgba(178, 107, 18, 0.08); border: 1px solid rgba(178, 107, 18, 0.25); }
.ev-status-done { color: var(--text-3); background: var(--paper-2); border: 1px solid var(--line); }
.ev-body h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.ev-sched { margin: 0; font-size: 13px; font-weight: 600; color: var(--text-3); }
.ev-desc { margin: 10px 0 0; font-size: 14.5px; }
.ev-claim-note { margin: 10px 0 0; font-size: 13.5px; font-weight: 700; color: var(--wait); }
.ev-rewards { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.ev-rewards summary { cursor: pointer; font-size: 13.5px; font-weight: 800; color: var(--text); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.ev-rewards summary::-webkit-details-marker { display: none; }
.ev-rewards summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 200ms var(--ease-out); }
.ev-rewards[open] summary::before { transform: rotate(45deg); }
.ev-rewards ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.ev-rewards li { display: flex; gap: 12px; font-size: 13.5px; align-items: baseline; }
.rw-time { flex: none; min-width: 54px; font-weight: 800; color: #6B34D6; font-variant-numeric: tabular-nums; }
.rw-item { color: var(--text-2); }
.ev-sources { margin: 12px 0 0; font-size: 12.5px; color: var(--text-3); }
.ev-sources a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.events-empty { margin-top: 28px; padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); font-size: 14.5px; }
.events-empty p { margin: 0; }
.events-auto { margin-top: 28px; }
.events-auto h3 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }

/* Contador de suscriptores: pequeño destello al actualizarse */
@keyframes count-bump { 0% { color: var(--text-3); } 30% { color: var(--yt); } 100% { color: var(--text-3); } }
@media (prefers-reduced-motion: no-preference) { .hero-live-stat.is-bumped { animation: count-bump 1.2s ease; } }

@media (max-width: 900px) {
  .game-card-foot, .events-foot { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .game-card-foot { padding: 24px 20px; }
  .events-panel { padding: 24px 18px; }
  .events-foot { margin: 28px -18px -24px; padding: 24px 18px; }
  .events-timeline::before { left: 6px; }
  .ev-item { grid-template-columns: 14px minmax(0, 1fr); column-gap: 14px; }
  .ev-when { grid-column: 2; grid-row: 1; text-align: left; display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
  .ev-day { font-size: 20px; }
  .ev-range { margin: 0; }
  .ev-dot { grid-column: 1; grid-row: 1; margin-top: 4px; justify-self: start; }
  .ev-body { grid-column: 2; padding: 16px; }
  .ev-rewards ul { grid-template-columns: 1fr; }
  .month-label { min-width: 120px; font-size: 16px; }
  .live-feed-updated { margin-left: 0; width: 100%; }
}

/* Tema oscuro */
[data-theme="dark"] .launch-order { background: rgba(26, 26, 33, 0.55); }
[data-theme="dark"] .game-card-foot, [data-theme="dark"] .events-foot { background: #121217; }
[data-theme="dark"] .live-badge { color: #FF8A80; background: rgba(255, 82, 82, 0.10); border-color: rgba(255, 82, 82, 0.28); }
[data-theme="dark"] .live-item:hover .live-item-title { color: #C9BBFF; }
[data-theme="dark"] .events-panel {
  border-color: rgba(145, 70, 255, 0.25); box-shadow: none;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(145, 70, 255, 0.10) 0%, rgba(145, 70, 255, 0) 70%),
    var(--paper-2);
}
[data-theme="dark"] .ev-body { background: #17171E; box-shadow: none; }
[data-theme="dark"] .month-btn { background: var(--paper-2); box-shadow: none; }
[data-theme="dark"] .month-today, [data-theme="dark"] .ev-type-drops .ev-type, [data-theme="dark"] .ev-status-soon { color: #C9BBFF; }
[data-theme="dark"] .rw-time { color: #C9BBFF; }
[data-theme="dark"] .ev-live .ev-dot { box-shadow: 0 0 0 4px var(--paper-2); }

/* =========================================================================
   Línea de tiempo horizontal mensual (.htl) — calendario de ESO (inicio)
   y eventos/drops de AION 2 (Noticias)
   ========================================================================= */
.htl { --col: 288px; --gap: 16px; --mark-h: 86px; position: relative; }
.eso-spotlight .htl { padding-top: 40px; }
.htl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.htl-head > div:first-child { max-width: 66ch; }
.htl-title { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; margin-bottom: 12px; }
.htl-head p { margin: 0; font-size: 15px; }
.htl-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 24px 0 0; font-size: 13.5px; font-weight: 700; color: var(--text-2); }
.htl-summary span { display: inline-flex; align-items: center; gap: 7px; }
.htl-summary .dot { width: 8px; height: 8px; border-radius: 50%; }
.sum-tbc .dot { background: var(--text-3); }

.htl-scroll {
  margin: 20px -4px 0; padding: 0 4px 14px; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 8px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.htl-scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.htl-scroll::-webkit-scrollbar { height: 8px; }
.htl-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; }
.htl-track {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: flex; gap: var(--gap); align-items: flex-start;
  width: max-content; min-width: 100%;
  --fill: 0px;
}
/* riel y relleno hasta hoy */
.htl-track::before, .htl-track::after { content: ""; position: absolute; left: 0; top: calc(var(--mark-h) - 7px); height: 1px; pointer-events: none; }
.htl-track::before { right: 0; background: var(--line-2); }
.htl-track::after { width: var(--fill); height: 2px; top: calc(var(--mark-h) - 7.5px); background: var(--grad-accent); transition: width 560ms var(--ease-out); }
.htl-item { position: relative; scroll-snap-align: start; flex: 1 0 var(--col); width: var(--col); max-width: 420px; }
.htl-today { position: relative; flex: 0 0 auto; width: 128px; list-style: none; }
.htl-today .htl-now { display: inline-flex; }
.htl-today .htl-date { color: var(--text); }
.htl-today .htl-dot { border: 0; background: var(--grad-accent); box-shadow: 0 0 0 4px var(--paper); width: 15px; height: 15px; bottom: 0; left: -1px; }
.htl-today .htl-dot::before, .htl-today .htl-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #8E6FE0; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .htl-today .htl-dot::before { animation: now-ripple 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; }
  .htl-today .htl-dot::after { animation: now-ripple 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) 1.4s infinite; }
}
@media (prefers-reduced-motion: reduce) { .htl-today .htl-dot::before { opacity: 0.35; transform: scale(2); } }
.events-panel .htl-today .htl-dot { box-shadow: 0 0 0 4px #FFFFFF; }
[data-theme="dark"] .htl-today .htl-dot { box-shadow: 0 0 0 4px var(--paper-2); }
[data-theme="dark"] .eso-spotlight .htl-today .htl-dot { box-shadow: 0 0 0 4px #15151B; }
[data-theme="dark"] .htl-today .htl-dot::before, [data-theme="dark"] .htl-today .htl-dot::after { border-color: #B6A4F7; }
.htl-mark { position: relative; height: var(--mark-h); }
.htl-now {
  position: absolute; top: 4px; left: -4px; display: none; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  color: #5B3FC4; background: rgba(110, 79, 208, 0.08); border: 1px solid rgba(110, 79, 208, 0.22);
}
.htl-date {
  position: absolute; left: 0; top: 38px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  white-space: nowrap;
}
.htl-dot {
  position: absolute; left: 0; bottom: 1px; z-index: 1; width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line-2);
}
.htl-done .htl-dot { background: var(--accent); border-color: var(--accent); }
.htl-soon .htl-dot { border-color: #9146FF; }
.htl-claim .htl-dot { background: var(--wait); border-color: var(--wait); }
.htl-tbc .htl-dot { border-style: dashed; border-color: var(--text-3); }
.htl-live .htl-dot { border: 0; width: 15px; height: 15px; bottom: 0; left: -1px; background: var(--live); box-shadow: 0 0 0 4px var(--paper); }
.htl-item.is-here .htl-dot { background: var(--grad-accent); }
.htl-item.is-here.htl-live .htl-dot { background: var(--live); }
.htl-live .htl-dot::before, .htl-live .htl-dot::after, .htl-item.is-here .htl-dot::before, .htl-item.is-here .htl-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--live); opacity: 0;
}
.htl-item.is-here:not(.htl-live) .htl-dot::before, .htl-item.is-here:not(.htl-live) .htl-dot::after { border-color: #8E6FE0; }
@media (prefers-reduced-motion: no-preference) {
  .htl-live .htl-dot::before, .htl-item.is-here .htl-dot::before { animation: now-ripple 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite; }
  .htl-live .htl-dot::after, .htl-item.is-here .htl-dot::after { animation: now-ripple 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) 1.4s infinite; }
}
.htl-tbc .htl-date, .htl-done .htl-date { color: var(--text-3); }
.htl-item.is-here .htl-date, .htl-live .htl-date { color: var(--text); }

.htl-card {
  margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; background: var(--paper);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04), 0 10px 24px -18px rgba(40, 28, 90, 0.22);
}
.htl-live .htl-card { border-color: rgba(30, 138, 79, 0.38); }
.htl-soon .htl-card { border-color: rgba(145, 70, 255, 0.28); }
.htl-claim .htl-card { border-color: rgba(178, 107, 18, 0.3); }
.htl-tbc .htl-card { border-style: dashed; border-color: var(--line-2); }
.htl-done .htl-card { opacity: 0.66; }
.htl-card-title { font-size: 1rem; line-height: 1.35; margin: 0 0 4px; }
.htl-card .ev-tags { margin-bottom: 10px; }
.htl-card .ev-desc { font-size: 14px; }
.htl-card .ev-rewards ul { grid-template-columns: 1fr; }
.ev-status-tbc { color: var(--text-3); background: var(--paper-2); border: 1px dashed var(--line-2); }
/* colores por tipo */
.ev-type-festivo { color: #A4471C !important; background: rgba(230, 120, 40, 0.08) !important; border-color: rgba(230, 120, 40, 0.28) !important; }
.ev-type-temporada { color: #5B3FC4 !important; background: rgba(110, 79, 208, 0.08) !important; border-color: rgba(110, 79, 208, 0.25) !important; }
.ev-type-actualizacion { color: #1F5FB8 !important; background: rgba(47, 95, 208, 0.07) !important; border-color: rgba(47, 95, 208, 0.25) !important; }
.ev-type-gratis { color: #1E8A4F !important; background: rgba(30, 138, 79, 0.07) !important; border-color: rgba(30, 138, 79, 0.25) !important; }
.ev-type-stream, .ev-type-drops { color: #6B34D6 !important; background: rgba(145, 70, 255, 0.08) !important; border-color: rgba(145, 70, 255, 0.25) !important; }
.ev-type-pursuit { color: #8B6B3D !important; background: rgba(201, 162, 106, 0.12) !important; border-color: rgba(201, 162, 106, 0.35) !important; }
.ev-type-tienda, .ev-type-comunidad, .ev-type-evento { color: var(--text-2); background: var(--paper-2); border: 1px solid var(--line); }

.htl-empty { margin-top: 24px; padding: 20px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); font-size: 14.5px; }
.htl-empty p { margin: 0; }
.htl-auto { margin-top: 20px; }
.htl-auto h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.htl-auto-list { list-style: none; margin: 0; padding: 0; }
.htl-auto-list li + li { border-top: 1px solid var(--line); }

/* pie del calendario de ESO dentro del recuadro */
.eso-calendar-foot { margin: 32px 0 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 32px; }

@media (max-width: 720px) {
  .htl { --col: min(80vw, 300px); --gap: 12px; }
  .eso-calendar-foot { padding: 20px 18px; margin-left: -8px; margin-right: -8px; }
  .htl-head .month-switch { width: 100%; justify-content: space-between; }
}

/* Tema oscuro */
[data-theme="dark"] .htl-card { background: #17171E; box-shadow: none; }
[data-theme="dark"] .htl-live .htl-dot { box-shadow: 0 0 0 4px var(--paper-2); }
[data-theme="dark"] .eso-spotlight .htl-live .htl-dot { box-shadow: 0 0 0 4px #15151B; }
[data-theme="dark"] .htl-dot { background: var(--paper-2); }
[data-theme="dark"] .htl-done .htl-dot { background: var(--accent); }
[data-theme="dark"] .htl-now { color: #CDBFFF; background: rgba(160, 138, 245, 0.10); border-color: rgba(160, 138, 245, 0.28); }
[data-theme="dark"] .htl-item.is-here:not(.htl-live) .htl-dot::before, [data-theme="dark"] .htl-item.is-here:not(.htl-live) .htl-dot::after { border-color: #B6A4F7; }
[data-theme="dark"] .eso-calendar-foot { background: #121217; border-color: rgba(255, 255, 255, 0.07); }
[data-theme="dark"] .ev-type-festivo { color: #F2A36B !important; }
[data-theme="dark"] .ev-type-temporada, [data-theme="dark"] .ev-type-stream, [data-theme="dark"] .ev-type-drops { color: #C9BBFF !important; }
[data-theme="dark"] .ev-type-actualizacion { color: #8FB3FF !important; }
[data-theme="dark"] .ev-type-gratis { color: #5FD08F !important; }
[data-theme="dark"] .ev-type-pursuit { color: #E3C58F !important; }
/* puntos de la línea en tema oscuro (orden de especificidad) */
[data-theme="dark"] .htl-today .htl-dot { background: var(--grad-accent); }
[data-theme="dark"] .htl-live .htl-dot { background: var(--live); }
[data-theme="dark"] .htl-claim .htl-dot { background: var(--wait); }
[data-theme="dark"] .htl-soon .htl-dot, [data-theme="dark"] .htl-tbc .htl-dot { background: var(--paper-2); }
[data-theme="dark"] .events-panel .htl-live .htl-dot, [data-theme="dark"] .events-panel .htl-today .htl-dot { box-shadow: 0 0 0 4px #15151B; }
/* flechas y degradados de borde de la línea horizontal */
.htl-scroll-wrap { position: relative; }
.htl-scroll-wrap::before, .htl-scroll-wrap::after {
  content: ""; position: absolute; top: 20px; bottom: 14px; width: 56px; z-index: 2; pointer-events: none;
  opacity: 0; transition: opacity 200ms ease;
}
.htl-scroll-wrap::before { left: -4px; background: linear-gradient(90deg, var(--htl-bg, #FFFFFF) 10%, rgba(255, 255, 255, 0)); }
.htl-scroll-wrap::after { right: -4px; background: linear-gradient(270deg, var(--htl-bg, #FFFFFF) 10%, rgba(255, 255, 255, 0)); }
.htl-scroll-wrap.can-prev::before, .htl-scroll-wrap.can-next::after { opacity: 1; }
.eso-spotlight .htl { --htl-bg: #FBFAF7; }
.htl-arrow {
  position: absolute; top: calc(20px + var(--mark-h) + 40px); z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  display: none; place-items: center; padding: 0; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--text); box-shadow: var(--btn-shadow);
  opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 160ms var(--ease-out);
}
.htl-arrow svg { width: 18px; height: 18px; }
.htl-arrow:active { transform: scale(0.94); }
.htl-arrow-prev { left: -8px; }
.htl-arrow-next { right: -8px; }
@media (hover: hover) and (pointer: fine) {
  .htl-arrow { display: grid; }
  .htl-scroll-wrap.can-prev .htl-arrow-prev, .htl-scroll-wrap.can-next .htl-arrow-next { opacity: 1; pointer-events: auto; }
}
[data-theme="dark"] .htl { --htl-bg: #15151B; }
[data-theme="dark"] .eso-spotlight .htl { --htl-bg: #17171D; }
[data-theme="dark"] .htl-scroll-wrap::before { background: linear-gradient(90deg, var(--htl-bg) 10%, rgba(21, 21, 27, 0)); }
[data-theme="dark"] .htl-scroll-wrap::after { background: linear-gradient(270deg, var(--htl-bg) 10%, rgba(21, 21, 27, 0)); }
[data-theme="dark"] .htl-arrow { background: var(--paper-2); box-shadow: none; }

/* =========================================================================
   Noticias: redes oficiales con vista previa de la última imagen en X
   ========================================================================= */
.game-social {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 40px; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.game-social h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; }
.game-social-info p { margin: 14px 0 0; font-size: 14px; color: var(--text-2); max-width: 56ch; }
.x-account {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--paper); box-shadow: var(--btn-shadow);
  transition: border-color 180ms ease, box-shadow 220ms ease, transform 160ms var(--ease-out);
}
.x-account:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .x-account:hover { border-color: var(--ink); box-shadow: var(--btn-shadow-hover); } }
.x-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #0F1419; color: #FFFFFF; flex: none; }
.x-icon svg { width: 16px; height: 16px; }
.x-account strong { display: block; font-size: 14.5px; line-height: 1.2; color: var(--text); }
.x-account small { display: block; font-size: 12px; color: var(--text-3); }
.social-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.social-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); font-size: 12.5px; font-weight: 700; color: var(--text-2);
  transition: border-color 180ms ease, color 180ms ease;
}
.social-chip svg { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .social-chip:hover { border-color: var(--ink); color: var(--text); } }

.x-preview { min-width: 0; }
.x-preview-card {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: stretch; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04), 0 10px 24px -18px rgba(40, 28, 90, 0.25);
  transition: border-color 180ms ease;
}
@media (hover: hover) and (pointer: fine) { .x-preview-card:hover { border-color: var(--ink); } }
.x-preview-media { position: relative; aspect-ratio: 16 / 9; background: var(--paper-3); display: grid; place-items: center; overflow: hidden; }
.x-preview-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-preview-media.is-broken img { display: none; }
.x-preview-card.is-placeholder .x-preview-media { background: linear-gradient(135deg, #1A1A22, #0F1419); }
.x-preview-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 16px; min-width: 0; }
.x-preview-label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.x-preview-text { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.x-preview-meta { font-size: 12px; color: var(--text-3); }
.x-preview.is-loading .x-preview-card { opacity: 0.6; }
.x-embed-btn {
  margin-top: 10px; height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer; font-family: var(--sans); font-weight: 700; font-size: 13px;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--text); box-shadow: var(--btn-shadow);
}
.x-embed { margin-top: 12px; max-height: 460px; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); }

@media (max-width: 900px) {
  .game-social { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .x-preview-card { grid-template-columns: 1fr; }
  .x-preview-media { aspect-ratio: 16 / 7; }
}

/* Tema oscuro */
[data-theme="dark"] .x-account, [data-theme="dark"] .social-chip, [data-theme="dark"] .x-embed-btn { background: var(--paper-2); box-shadow: none; }
[data-theme="dark"] .x-icon { background: #FFFFFF; color: #0F1419; }
[data-theme="dark"] .x-preview-card { background: #17171E; box-shadow: none; }
[data-theme="dark"] .x-embed { background: #17171E; border-color: rgba(255, 255, 255, 0.07); }
[data-theme="dark"] .game-social { border-color: rgba(255, 255, 255, 0.07); }
/* barra lateral: solo cuando cabe al lado del contenido sin taparlo */
@media (min-width: 1480px) and (max-width: 1759px) { .page-nav { display: none; } }
/* vista previa de X: la imagen ocupa exactamente su columna */
.x-preview-card .x-preview-media { aspect-ratio: auto; min-height: 118px; width: 100%; }
@media (max-width: 520px) { .x-preview-card .x-preview-media { aspect-ratio: 16 / 7; min-height: 0; } }

/* =========================================================================
   Menú: desplegable de TESO
   ========================================================================= */
.nav-dd { position: relative; display: flex; align-items: center; }
.nav-links .nav-dd-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-chev { width: 14px; height: 14px; transition: transform 240ms var(--ease-out); }
.nav-dd.is-open .nav-dd-chev { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 130;
  width: 340px; padding: 10px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: 0 1px 2px rgba(17, 17, 19, 0.06), 0 24px 48px -20px rgba(40, 28, 90, 0.35);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(0.97); transform-origin: 50% 0;
  transition: opacity 180ms var(--ease-out), transform 220ms var(--ease-out), visibility 0s linear 220ms;
}
/* puente invisible para que el ratón no "caiga" entre el enlace y la pestaña */
.nav-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-dd.is-open .nav-dd-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1);
  transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s;
}
.nav-dd-kicker { margin: 4px 10px 8px; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.nav-links .nav-dd-panel a.nav-dd-item {
  display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; color: var(--text);
  transition: background-color 160ms ease;
}
.nav-links .nav-dd-panel a.nav-dd-item::after { display: none; }
.nav-dd-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--accent-ink);
}
.nav-dd-icon svg { width: 20px; height: 20px; }
.nav-dd-text strong { display: block; font-size: 14.5px; font-weight: 800; color: var(--text); line-height: 1.25; }
.nav-dd-text small { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-3); line-height: 1.4; margin-top: 2px; }
@media (hover: hover) and (pointer: fine) {
  .nav-links .nav-dd-panel a.nav-dd-item:hover { background: rgba(110, 79, 208, 0.07); }
}
.nav-links .nav-dd-panel a.nav-dd-item[aria-current="page"] { background: rgba(110, 79, 208, 0.08); }
.nav-links .nav-dd-panel a.nav-dd-item[aria-current="page"] .nav-dd-icon { background: var(--grad-accent); color: #FFFFFF; border-color: transparent; }
/* entrada escalonada de los apartados */
.nav-dd-panel .nav-dd-item { opacity: 0; transform: translateY(4px); transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), background-color 160ms ease; }
.nav-dd.is-open .nav-dd-item { opacity: 1; transform: none; }
.nav-dd.is-open .nav-dd-item:nth-of-type(1) { transition-delay: 30ms, 30ms, 0ms; }
.nav-dd.is-open .nav-dd-item:nth-of-type(2) { transition-delay: 70ms, 70ms, 0ms; }
.nav-dd.is-open .nav-dd-item:nth-of-type(3) { transition-delay: 110ms, 110ms, 0ms; }
@media (prefers-reduced-motion: reduce) {
  .nav-dd-panel, .nav-dd.is-open .nav-dd-panel { transform: translate(-50%, 0); transition: opacity 120ms ease, visibility 0s; }
  .nav-dd-panel .nav-dd-item { transform: none; transition: opacity 120ms ease; }
}
[data-theme="dark"] .nav-dd-panel { background: rgba(22, 22, 28, 0.9); border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8); }
[data-theme="dark"] .nav-dd-icon { background: var(--paper-2); border-color: rgba(255, 255, 255, 0.08); color: var(--accent); }
[data-theme="dark"] .nav-links .nav-dd-panel a.nav-dd-item:hover, [data-theme="dark"] .nav-links .nav-dd-panel a.nav-dd-item[aria-current="page"] { background: rgba(160, 138, 245, 0.1); }

/* Menú más compacto con un enlace más */
@media (max-width: 1440px) { .nav-links { gap: 22px; } .nav-right { gap: 22px; } }
@media (max-width: 1320px) and (min-width: 1061px) {
  .nav-links { gap: 16px; } .nav-right { gap: 16px; } .nav-links a:not(.nav-cta) { font-size: 13.5px; }
  .nav-music { padding-left: 16px; }
}

/* En el menú móvil la pestaña se muestra abierta, como sublista */
@media (max-width: 1060px) {
  .nav-dd { display: block; }
  .nav-links .nav-dd-trigger { width: 100%; }
  .nav-dd-chev { display: none; }
  .nav-dd-panel, .nav-dd.is-open .nav-dd-panel {
    position: static; width: auto; padding: 4px 0 10px 12px; border: 0; border-radius: 0; box-shadow: none;
    background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav-dd-panel::before, .nav-dd-kicker { display: none; }
  .nav-dd-panel .nav-dd-item { opacity: 1; transform: none; }
  .nav-links .nav-dd-panel a.nav-dd-item { padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-dd-icon { width: 32px; height: 32px; }
  .nav-dd-icon svg { width: 16px; height: 16px; }
  .nav-dd-text small { display: none; }
  .nav-links { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

/* =========================================================================
   Páginas de TESO: pestañas y gremios
   ========================================================================= */
.teso-tabs {
  position: sticky; top: var(--header-h); z-index: 60;
  background: rgba(255, 255, 255, 0.78); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.teso-tabs-inner { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.teso-tabs-inner::-webkit-scrollbar { display: none; }
.teso-tab {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; flex: none;
  font-size: 14px; font-weight: 700; color: var(--text-2); border: 1px solid transparent;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.teso-tab-icon svg { width: 17px; height: 17px; display: block; }
@media (hover: hover) and (pointer: fine) { .teso-tab:hover { color: var(--text); background: var(--paper-2); } }
.teso-tab[aria-current="page"] { color: var(--text); background: var(--paper); border-color: var(--line-2); box-shadow: var(--btn-shadow); }
.teso-tab[aria-current="page"] .teso-tab-icon { color: var(--accent); }
[data-theme="dark"] .teso-tabs { background: rgba(14, 14, 18, 0.78); border-bottom-color: rgba(255, 255, 255, 0.07); }
[data-theme="dark"] .teso-tab[aria-current="page"] { background: var(--paper-2); box-shadow: none; }
.page-header + .teso-tabs { margin-top: -1px; }

.teso-yt-row { margin-top: 32px; }
.teso-news .live-feed { max-width: 900px; }
.teso-news .live-feed-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.teso-news .live-feed-list li + li { border-top: 0; }
.teso-news .live-feed-list li { border-bottom: 1px solid var(--line); }
.teso-news .live-feed { max-width: none; }
@media (max-width: 720px) { .teso-news .live-feed-list { grid-template-columns: 1fr; } }

.guild-intro { max-width: 78ch; padding: 4px 0 4px 28px; position: relative; margin-bottom: 72px; }
.guild-intro::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad-accent); }
.guild-intro p { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.18rem); line-height: 1.75; color: var(--text-2); }
.guild-head { margin-bottom: 32px; }
.guild-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.guild-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.guild-card.is-featured { display: grid; grid-template-columns: 260px minmax(0, 1fr); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(40, 28, 90, 0.45); }
.guild-emblem {
  display: grid; place-items: center; min-height: 280px; position: relative;
  background:
    radial-gradient(60% 50% at 50% 60%, rgba(110, 79, 208, 0.45) 0%, rgba(110, 79, 208, 0) 100%),
    linear-gradient(180deg, #17161C 0%, #0D0D10 100%);
}
.guild-emblem img { width: 52%; height: auto; filter: drop-shadow(0 0 18px rgba(184, 166, 245, 0.35)); }
.guild-body { padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.guild-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.guild-body h3 { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: 0.06em; margin-top: 6px; }
.guild-sub { margin: -6px 0 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-3); }
.guild-body > p:not(.guild-sub) { margin: 0 0 8px; font-size: 15px; }
.btn-discord { background: #5865F2 !important; border-color: #5865F2 !important; color: #FFFFFF !important; box-shadow: 0 8px 20px -10px rgba(88, 101, 242, 0.7) !important; }
.btn-discord svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .btn-discord:hover { background: #4752C4 !important; border-color: #4752C4 !important; } }
.guild-card.is-soon { padding: 32px; border-style: dashed; border-color: var(--line-2); display: flex; flex-direction: column; gap: 12px; justify-content: center; background: transparent; }
.guild-soon-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--line-2); color: var(--text-3); }
.guild-soon-icon svg { width: 20px; height: 20px; }
.guild-card.is-soon h3 { font-size: 1.1rem; }
.guild-card.is-soon p { margin: 0; font-size: 14.5px; color: var(--text-3); }
.guild-card.is-soon .source-link { align-self: flex-start; }
@media (max-width: 1060px) { .guild-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .guild-card.is-featured { grid-template-columns: 1fr; }
  .guild-emblem { min-height: 200px; }
  .guild-emblem img { width: 120px; }
  .guild-body { padding: 24px 20px; }
  .guild-body .btn-row .btn { width: 100%; }
  .guild-intro { margin-bottom: 48px; padding-left: 20px; }
}
[data-theme="dark"] .guild-card { background: var(--paper-2); border-color: rgba(255, 255, 255, 0.07); }
[data-theme="dark"] .guild-card.is-featured { box-shadow: none; }
[data-theme="dark"] .guild-emblem { background: radial-gradient(60% 50% at 50% 60%, rgba(126, 100, 214, 0.22) 0%, rgba(126, 100, 214, 0) 100%), linear-gradient(180deg, #121217 0%, #0B0B0E 100%); }
[data-theme="dark"] .guild-emblem img { filter: drop-shadow(0 0 10px rgba(200, 190, 240, 0.14)); }
[data-theme="dark"] .guild-card.is-soon { background: transparent; border-color: rgba(255, 255, 255, 0.14); }
[data-theme="dark"] .btn-discord { box-shadow: none !important; }

/* Red del inicio: ahora 4 tarjetas */
.network-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .network-grid { grid-template-columns: 1fr; } }
.nav-links .nav-dd-panel a.nav-dd-item, .nav-dd-text, .nav-dd-text small { white-space: normal; }
.nav-dd-text { min-width: 0; }
@media (max-width: 1060px) {
  .nav-links { background: rgba(255, 255, 255, 0.97) !important; }
  [data-theme="dark"] .nav-links { background: rgba(14, 14, 18, 0.97) !important; }
}
@media (max-width: 1060px) {
  .site-header.nav-open { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: var(--paper) !important; }
  .nav-links { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: var(--paper) !important; }
}

/* =========================================================================
   Gremios: icono con halo neón morado y etiquetas personalizadas
   ========================================================================= */
.guild-title { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.guild-title h3 { margin: 0; }
.guild-icon { position: relative; flex: none; width: 76px; height: 76px; display: grid; place-items: center; isolation: isolate; }
.guild-icon::before {
  content: ""; position: absolute; inset: -14px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 85, 247, 0.62) 0%, rgba(124, 58, 237, 0.32) 45%, rgba(124, 58, 237, 0) 100%);
  filter: blur(2px);
}
.guild-icon::after {
  content: ""; position: absolute; inset: 6px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(216, 180, 254, 0.75), rgba(168, 85, 247, 0) 75%);
}
@keyframes neon-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.72; transform: scale(0.94); } }
@media (prefers-reduced-motion: no-preference) { .guild-icon::before { animation: neon-breathe 4s ease-in-out infinite; } }
.guild-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(91, 33, 182, 0.35)); }
[data-theme="dark"] .guild-icon::before { background: radial-gradient(closest-side, rgba(168, 85, 247, 0.7) 0%, rgba(124, 58, 237, 0.34) 45%, rgba(124, 58, 237, 0) 100%); }
[data-theme="dark"] .guild-icon::after { background: radial-gradient(closest-side, rgba(192, 132, 252, 0.55), rgba(168, 85, 247, 0) 75%); }
[data-theme="dark"] .guild-icon img { filter: drop-shadow(0 0 12px rgba(192, 132, 252, 0.45)); }

ul.guild-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gtag {
  display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--gt-b); background: var(--gt-bg); color: var(--gt-c);
}
.gtag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.gtag-home    { --gt-c: #6D28D9; --gt-bg: rgba(124, 58, 237, 0.08); --gt-b: rgba(124, 58, 237, 0.3); }
.gtag-casual  { --gt-c: #0F766E; --gt-bg: rgba(20, 184, 166, 0.08); --gt-b: rgba(20, 184, 166, 0.3); }
.gtag-pve     { --gt-c: #1D4ED8; --gt-bg: rgba(59, 130, 246, 0.08); --gt-b: rgba(59, 130, 246, 0.3); }
.gtag-trials  { --gt-c: #B91C1C; --gt-bg: rgba(239, 68, 68, 0.07); --gt-b: rgba(239, 68, 68, 0.28); }
.gtag-dungeon { --gt-c: #A16207; --gt-bg: rgba(234, 179, 8, 0.1); --gt-b: rgba(202, 138, 4, 0.32); }
.gtag-novatos { --gt-c: #15803D; --gt-bg: rgba(34, 197, 94, 0.08); --gt-b: rgba(34, 197, 94, 0.3); }
[data-theme="dark"] .gtag-home    { --gt-c: #D8B4FE; --gt-bg: rgba(168, 85, 247, 0.12); --gt-b: rgba(168, 85, 247, 0.35); }
[data-theme="dark"] .gtag-casual  { --gt-c: #5EEAD4; --gt-bg: rgba(20, 184, 166, 0.1); }
[data-theme="dark"] .gtag-pve     { --gt-c: #93C5FD; --gt-bg: rgba(59, 130, 246, 0.1); }
[data-theme="dark"] .gtag-trials  { --gt-c: #FCA5A5; --gt-bg: rgba(239, 68, 68, 0.1); }
[data-theme="dark"] .gtag-dungeon { --gt-c: #FDE047; --gt-bg: rgba(234, 179, 8, 0.1); }
[data-theme="dark"] .gtag-novatos { --gt-c: #86EFAC; --gt-bg: rgba(34, 197, 94, 0.1); }
@media (max-width: 720px) { .guild-icon { width: 60px; height: 60px; } .guild-title { gap: 14px; } }

/* ===== Gremio 2: NOCTURNAL'S COMPANY ===== */
.guild-nocturnals .guild-emblem {
  background:
    radial-gradient(46% 38% at 52% 48%, rgba(170, 160, 255, 0.95) 0%, rgba(120, 104, 236, 0.75) 38%, rgba(72, 52, 196, 0) 100%),
    linear-gradient(180deg, #2A1F8F 0%, #120C46 55%, #07051A 100%);
}
.guild-nocturnals .guild-emblem img { width: auto; height: 72%; max-height: 230px; filter: drop-shadow(0 0 14px rgba(150, 140, 255, 0.45)); }
[data-theme="dark"] .guild-nocturnals .guild-emblem {
  background:
    radial-gradient(46% 38% at 52% 48%, rgba(150, 138, 250, 0.8) 0%, rgba(100, 84, 220, 0.55) 40%, rgba(60, 44, 170, 0) 100%),
    linear-gradient(180deg, #1E1670 0%, #0D0936 55%, #06041A 100%);
}
[data-theme="dark"] .guild-nocturnals .guild-emblem img { filter: drop-shadow(0 0 12px rgba(150, 140, 255, 0.35)); }
/* Neón del libro: azul índigo (distinto del morado de ONITAL RING) */
.guild-nocturnals .guild-icon::before { background: radial-gradient(closest-side, rgba(99, 102, 241, 0.65) 0%, rgba(59, 130, 246, 0.3) 45%, rgba(59, 130, 246, 0) 100%); }
.guild-nocturnals .guild-icon::after { background: radial-gradient(closest-side, rgba(165, 180, 252, 0.8), rgba(99, 102, 241, 0) 75%); }
.guild-nocturnals .guild-icon img { filter: drop-shadow(0 6px 10px rgba(49, 46, 129, 0.4)); }
[data-theme="dark"] .guild-nocturnals .guild-icon::before { background: radial-gradient(closest-side, rgba(99, 102, 241, 0.75) 0%, rgba(56, 189, 248, 0.3) 45%, rgba(56, 189, 248, 0) 100%); }
[data-theme="dark"] .guild-nocturnals .guild-icon::after { background: radial-gradient(closest-side, rgba(129, 140, 248, 0.6), rgba(99, 102, 241, 0) 75%); }
[data-theme="dark"] .guild-nocturnals .guild-icon img { filter: drop-shadow(0 0 12px rgba(129, 140, 248, 0.5)); }
.gtag-comercio { --gt-c: #C2410C; --gt-bg: rgba(249, 115, 22, 0.08); --gt-b: rgba(249, 115, 22, 0.3); }
.gtag-eventos  { --gt-c: #BE185D; --gt-bg: rgba(236, 72, 153, 0.08); --gt-b: rgba(236, 72, 153, 0.3); }
[data-theme="dark"] .gtag-comercio { --gt-c: #FDBA74; --gt-bg: rgba(249, 115, 22, 0.1); }
[data-theme="dark"] .gtag-eventos  { --gt-c: #F9A8D4; --gt-bg: rgba(236, 72, 153, 0.1); }
.guild-nocturnals .btn-row .btn svg { flex: none; }
@media (max-width: 720px) { .guild-nocturnals .guild-emblem img { height: 170px; width: auto; } }

/* ===== Carrusel de gremios ===== */
.guild-carousel { min-width: 0; display: flex; flex-direction: column; }
.guild-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 24px; flex: 1;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 0 0 36px; margin-bottom: -36px; outline: none;
}
.guild-track::-webkit-scrollbar { display: none; }
.guild-track:focus-visible { outline: 2px solid var(--accent, #6E4FD0); outline-offset: 4px; border-radius: var(--radius-lg); }
.guild-track > .guild-card { scroll-snap-align: start; scroll-snap-stop: always; }
@media (prefers-reduced-motion: no-preference) { .guild-track { scroll-behavior: smooth; } }
.guild-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.guild-arrow {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--ink, #111);
  box-shadow: 0 8px 18px -10px rgba(40, 28, 90, 0.4);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.guild-arrow:active { transform: scale(0.94); }
.guild-arrow:focus-visible { outline: 2px solid #6E4FD0; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .guild-arrow:hover { border-color: transparent; background: var(--grad-accent); color: #fff; }
}
.guild-count { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; color: var(--text-3); min-width: 48px; text-align: center; }
.guild-count b { color: var(--text); font-weight: 800; }
[data-theme="dark"] .guild-arrow { background: var(--paper-2); border-color: rgba(255, 255, 255, 0.14); color: #F2F1F6; box-shadow: none; }


/* ===== Calendario: tarjetas detectadas automáticamente ===== */
.ev-type-comunicado { color: #9D174D !important; background: rgba(236, 72, 153, 0.08) !important; border-color: rgba(236, 72, 153, 0.3) !important; }
.ev-type-noticia { color: #374151 !important; background: rgba(107, 114, 128, 0.08) !important; border-color: rgba(107, 114, 128, 0.3) !important; }
.ev-status-aviso { color: #6D28D9; background: rgba(124, 58, 237, 0.08); border: 1px solid rgba(124, 58, 237, 0.28); }
.htl-auto-card { border-style: dashed; }
.htl-auto-card .ev-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); align-self: flex-start; }
@media (hover: hover) and (pointer: fine) { .htl-auto-card .ev-open:hover { border-color: currentColor; } }
[data-theme="dark"] .ev-type-comunicado { color: #F9A8D4 !important; background: rgba(236, 72, 153, 0.12) !important; }
[data-theme="dark"] .ev-type-noticia { color: #D1D5DB !important; background: rgba(156, 163, 175, 0.12) !important; }
[data-theme="dark"] .ev-status-aviso { color: #C4B5FD; background: rgba(139, 92, 246, 0.14); border-color: rgba(139, 92, 246, 0.35); }

/* ===== Gremios: carrusel más ancho y "Próximamente" más estrecho ===== */
@media (min-width: 1061px) {
  .guild-grid { grid-template-columns: minmax(0, 2.75fr) minmax(0, 1fr); }
  .guild-card.is-soon { padding: 26px 22px; }
}

/* ===== Gremio 3: TORRE NEGRA ===== */
.guild-torre-negra .guild-emblem {
  background:
    radial-gradient(42% 36% at 50% 52%, rgba(235, 235, 240, 0.42) 0%, rgba(160, 160, 172, 0.16) 45%, rgba(120, 120, 130, 0) 100%),
    radial-gradient(70% 30% at 50% 100%, rgba(194, 84, 24, 0.28) 0%, rgba(194, 84, 24, 0) 100%),
    linear-gradient(180deg, #2A2A31 0%, #141418 55%, #060607 100%);
}
.guild-torre-negra .guild-emblem img { width: 88%; filter: drop-shadow(0 0 16px rgba(230, 230, 240, 0.28)); }
[data-theme="dark"] .guild-torre-negra .guild-emblem {
  background:
    radial-gradient(42% 36% at 50% 52%, rgba(220, 220, 230, 0.3) 0%, rgba(150, 150, 160, 0.12) 45%, rgba(120, 120, 130, 0) 100%),
    radial-gradient(70% 30% at 50% 100%, rgba(194, 84, 24, 0.22) 0%, rgba(194, 84, 24, 0) 100%),
    linear-gradient(180deg, #1F1F25 0%, #0F0F12 55%, #050506 100%);
}
[data-theme="dark"] .guild-torre-negra .guild-emblem img { filter: drop-shadow(0 0 12px rgba(230, 230, 240, 0.2)); }
/* Neón del libro: brasa ámbar (distinto del morado de ONITAL y el índigo de Nocturnal) */
.guild-torre-negra .guild-icon::before { background: radial-gradient(closest-side, rgba(249, 115, 22, 0.55) 0%, rgba(234, 88, 12, 0.26) 45%, rgba(234, 88, 12, 0) 100%); }
.guild-torre-negra .guild-icon::after { background: radial-gradient(closest-side, rgba(253, 186, 116, 0.75), rgba(249, 115, 22, 0) 75%); }
.guild-torre-negra .guild-icon img { filter: drop-shadow(0 6px 10px rgba(124, 45, 18, 0.4)); }
[data-theme="dark"] .guild-torre-negra .guild-icon::before { background: radial-gradient(closest-side, rgba(251, 146, 60, 0.7) 0%, rgba(234, 88, 12, 0.32) 45%, rgba(234, 88, 12, 0) 100%); }
[data-theme="dark"] .guild-torre-negra .guild-icon::after { background: radial-gradient(closest-side, rgba(254, 215, 170, 0.55), rgba(249, 115, 22, 0) 75%); }
[data-theme="dark"] .guild-torre-negra .guild-icon img { filter: drop-shadow(0 0 12px rgba(251, 146, 60, 0.5)); }
.gtag-pvp        { --gt-c: #9F1239; --gt-bg: rgba(225, 29, 72, 0.08); --gt-b: rgba(225, 29, 72, 0.3); }
.gtag-trifecta   { --gt-c: #92400E; --gt-bg: rgba(217, 119, 6, 0.09); --gt-b: rgba(217, 119, 6, 0.32); }
.gtag-progresion { --gt-c: #0E7490; --gt-bg: rgba(6, 182, 212, 0.08); --gt-b: rgba(6, 182, 212, 0.3); }
[data-theme="dark"] .gtag-pvp        { --gt-c: #FDA4AF; --gt-bg: rgba(225, 29, 72, 0.12); }
[data-theme="dark"] .gtag-trifecta   { --gt-c: #FCD34D; --gt-bg: rgba(217, 119, 6, 0.12); }
[data-theme="dark"] .gtag-progresion { --gt-c: #67E8F9; --gt-bg: rgba(6, 182, 212, 0.1); }
@media (max-width: 720px) { .guild-torre-negra .guild-emblem img { width: 180px; } }

/* ===== Rendimiento y suavidad de animaciones ===== */
/* Respuesta táctil instantánea y sin retraso de 300 ms al tocar */
a, button, .btn, [role="button"] { touch-action: manipulation; }
/* Las secciones fuera de pantalla no se dibujan hasta acercarse (carga y scroll más rápidos) */
footer.site-footer { content-visibility: auto; contain-intrinsic-size: auto 480px; }
/* En móviles y pantallas táctiles, el desenfoque "glass" de las tarjetas es costoso
   al hacer scroll: se mantiene en cabecera y menús, y las tarjetas usan un fondo sólido equivalente. */
@media (hover: none), (max-width: 720px) {
  .card, .game-card, .guild-card, .live-feed, .social-card, .htl-card, .eso-spotlight, .twitch-panel {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transition: none; opacity: 1; transform: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ===== Gremio 4: BLACK DRAGONS CLAN ===== */
.guild-black-dragons .guild-emblem {
  background:
    radial-gradient(46% 38% at 50% 50%, rgba(230, 184, 92, 0.62) 0%, rgba(176, 128, 44, 0.3) 45%, rgba(120, 84, 24, 0) 100%),
    linear-gradient(180deg, #221A0E 0%, #110D07 55%, #050403 100%);
}
.guild-black-dragons .guild-emblem img { width: 80%; filter: drop-shadow(0 0 16px rgba(230, 184, 92, 0.35)); }
[data-theme="dark"] .guild-black-dragons .guild-emblem {
  background:
    radial-gradient(46% 38% at 50% 50%, rgba(230, 184, 92, 0.45) 0%, rgba(176, 128, 44, 0.22) 45%, rgba(120, 84, 24, 0) 100%),
    linear-gradient(180deg, #1B150C 0%, #0D0A06 55%, #040302 100%);
}
[data-theme="dark"] .guild-black-dragons .guild-emblem img { filter: drop-shadow(0 0 12px rgba(230, 184, 92, 0.28)); }
/* Neón del libro: rojo dragón (distinto del morado, índigo y ámbar de los otros gremios) */
.guild-black-dragons .guild-icon::before { background: radial-gradient(closest-side, rgba(239, 68, 68, 0.6) 0%, rgba(220, 38, 38, 0.28) 45%, rgba(220, 38, 38, 0) 100%); }
.guild-black-dragons .guild-icon::after { background: radial-gradient(closest-side, rgba(252, 165, 165, 0.75), rgba(239, 68, 68, 0) 75%); }
.guild-black-dragons .guild-icon img { filter: drop-shadow(0 6px 10px rgba(127, 29, 29, 0.45)); }
[data-theme="dark"] .guild-black-dragons .guild-icon::before { background: radial-gradient(closest-side, rgba(248, 113, 113, 0.72) 0%, rgba(220, 38, 38, 0.32) 45%, rgba(220, 38, 38, 0) 100%); }
[data-theme="dark"] .guild-black-dragons .guild-icon::after { background: radial-gradient(closest-side, rgba(254, 202, 202, 0.5), rgba(239, 68, 68, 0) 75%); }
[data-theme="dark"] .guild-black-dragons .guild-icon img { filter: drop-shadow(0 0 12px rgba(248, 113, 113, 0.5)); }
.gtag-social { --gt-c: #7E22CE; --gt-bg: rgba(168, 85, 247, 0.08); --gt-b: rgba(168, 85, 247, 0.3); }
.gtag-pcna   { --gt-c: #334155; --gt-bg: rgba(100, 116, 139, 0.08); --gt-b: rgba(100, 116, 139, 0.32); }
[data-theme="dark"] .gtag-social { --gt-c: #E9D5FF; --gt-bg: rgba(168, 85, 247, 0.12); }
[data-theme="dark"] .gtag-pcna   { --gt-c: #CBD5E1; --gt-bg: rgba(148, 163, 184, 0.12); --gt-b: rgba(148, 163, 184, 0.35); }
@media (max-width: 720px) { .guild-black-dragons .guild-emblem img { width: 170px; } }

/* ===== Logos de gremios: todos en la misma caja (mismo ancho y alto) ===== */
.guild-emblem img.guild-logo,
.guild-nocturnals .guild-emblem img.guild-logo,
.guild-torre-negra .guild-emblem img.guild-logo,
.guild-black-dragons .guild-emblem img.guild-logo {
  width: 190px; height: 210px; max-width: 78%; max-height: none; object-fit: contain;
}
@media (max-width: 720px) {
  .guild-emblem img.guild-logo,
  .guild-nocturnals .guild-emblem img.guild-logo,
  .guild-torre-negra .guild-emblem img.guild-logo,
  .guild-black-dragons .guild-emblem img.guild-logo { width: 150px; height: 165px; }
}

/* ===== Gremio: SÍNODO DE LA MEDIA NOCHE ===== */
.guild-sinodo .guild-emblem {
  background:
    radial-gradient(40% 34% at 50% 50%, rgba(190, 24, 93, 0.55) 0%, rgba(124, 58, 237, 0.32) 50%, rgba(76, 29, 149, 0) 100%),
    linear-gradient(180deg, #0B0A0E 0%, #060508 55%, #020203 100%);
}
.guild-sinodo .guild-emblem img { filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.4)); }
[data-theme="dark"] .guild-sinodo .guild-emblem {
  background:
    radial-gradient(40% 34% at 50% 50%, rgba(190, 24, 93, 0.42) 0%, rgba(124, 58, 237, 0.26) 50%, rgba(76, 29, 149, 0) 100%),
    linear-gradient(180deg, #09080C 0%, #050407 55%, #020203 100%);
}
/* Neón del libro: fucsia lunar (distinto del morado de ONITAL RING) */
.guild-sinodo .guild-icon::before { background: radial-gradient(closest-side, rgba(217, 70, 239, 0.6) 0%, rgba(192, 38, 211, 0.28) 45%, rgba(192, 38, 211, 0) 100%); }
.guild-sinodo .guild-icon::after { background: radial-gradient(closest-side, rgba(245, 208, 254, 0.75), rgba(217, 70, 239, 0) 75%); }
.guild-sinodo .guild-icon img { filter: drop-shadow(0 6px 10px rgba(112, 26, 117, 0.45)); }
[data-theme="dark"] .guild-sinodo .guild-icon::before { background: radial-gradient(closest-side, rgba(232, 121, 249, 0.72) 0%, rgba(192, 38, 211, 0.32) 45%, rgba(192, 38, 211, 0) 100%); }
[data-theme="dark"] .guild-sinodo .guild-icon::after { background: radial-gradient(closest-side, rgba(250, 232, 255, 0.5), rgba(217, 70, 239, 0) 75%); }
[data-theme="dark"] .guild-sinodo .guild-icon img { filter: drop-shadow(0 0 12px rgba(232, 121, 249, 0.5)); }
.gtag-roleplay { --gt-c: #A21CAF; --gt-bg: rgba(217, 70, 239, 0.08); --gt-b: rgba(217, 70, 239, 0.3); }
[data-theme="dark"] .gtag-roleplay { --gt-c: #F0ABFC; --gt-bg: rgba(217, 70, 239, 0.12); }

/* ===== Nombres de gremio: mismo tamaño para todos (pasan a 2 líneas si no caben) ===== */
.guild-track .guild-body h3 { font-size: clamp(1.3rem, 1.85vw, 1.6rem); line-height: 1.15; letter-spacing: 0.05em; text-wrap: balance; overflow-wrap: anywhere; }

/* ===== Filtros de gremios ===== */
.guild-head { margin-bottom: 20px; }
.guild-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 28px; }
.gf-head { display: contents; }
.gf-label { order: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); }
.gf-group { order: 1; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gf-title { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-right: 4px; }
.gf-group + .gf-group { padding-left: 18px; border-left: 1px solid var(--line); }
.gf-chip { cursor: pointer; font-family: inherit; height: 28px; padding: 0 11px; letter-spacing: 0.06em; transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .12s ease; }
.gf-chip:active { transform: scale(0.96); }
.gf-chip:focus-visible, .gf-reset:focus-visible { outline: 2px solid #6E4FD0; outline-offset: 2px; }
.gf-chip[aria-pressed="true"] { background: var(--gt-c); border-color: var(--gt-c); color: #fff; }
.gf-chip[aria-pressed="true"]::before { background: #fff; }
[data-theme="dark"] .gf-chip[aria-pressed="true"] { color: #0B0B0F; }
[data-theme="dark"] .gf-chip[aria-pressed="true"]::before { background: #0B0B0F; }
@media (hover: hover) and (pointer: fine) { .gf-chip[aria-pressed="false"]:hover { border-color: var(--gt-c); } }
.gf-end { order: 2; display: flex; align-items: center; gap: 12px; margin-left: auto; }
.gf-count { font-size: 12px; font-weight: 700; color: var(--text-3); white-space: nowrap; }
.gf-reset { font: inherit; font-size: 12px; font-weight: 700; color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--line-2); padding: 2px 0; cursor: pointer; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .gf-reset:hover { border-color: currentColor; } }
.gtag-xbox { --gt-c: #107C10; --gt-bg: rgba(16, 124, 16, 0.08); --gt-b: rgba(16, 124, 16, 0.3); }
.gtag-play { --gt-c: #1E3A8A; --gt-bg: rgba(30, 58, 138, 0.08); --gt-b: rgba(30, 58, 138, 0.3); }
[data-theme="dark"] .gtag-xbox { --gt-c: #86EFAC; --gt-bg: rgba(34, 197, 94, 0.12); --gt-b: rgba(34, 197, 94, 0.32); }
[data-theme="dark"] .gtag-play { --gt-c: #A5B4FC; --gt-bg: rgba(99, 102, 241, 0.14); --gt-b: rgba(99, 102, 241, 0.36); }
.guild-card[hidden] { display: none !important; }
.guild-empty { display: grid; place-items: center; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: transparent; box-shadow: none; padding: 40px 28px; }
.guild-empty-body { max-width: 46ch; display: grid; justify-items: center; gap: 12px; }
.guild-empty-body h3 { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin: 0; }
.guild-empty-body p { margin: 0; color: var(--text-2); }
.guild-nav.is-single .guild-arrow { opacity: 0.35; pointer-events: none; }
/* Pantallas medianas y celular: fila de cabecera (Filtrar + contador) y una fila por grupo
   que se desliza en horizontal, sin ocupar más altura. */
@media (max-width: 1240px) {
  .guild-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .gf-head, .gf-group { min-width: 0; }
  .gf-head { display: flex; align-items: center; justify-content: space-between; }
  .gf-end { margin-left: 0; }
  .gf-group { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; }
  .gf-group::-webkit-scrollbar { display: none; }
  .gf-group + .gf-group { padding-left: 16px; border-left: 0; }
  .gf-title { min-width: 86px; }
}
.guild-empty { min-height: 464px; }
.guild-empty .soon-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed var(--line-2); color: var(--text-3); font-size: 20px; }
@media (max-width: 720px) { .guild-empty { min-height: 360px; } }

/* ===== Gremio 6: ESCUDO DE LA PATRIA (Xbox / NA) ===== */
.guild-escudo .guild-emblem {
  background:
    radial-gradient(46% 40% at 50% 48%, rgba(214, 176, 92, 0.5) 0%, rgba(22, 101, 52, 0.38) 48%, rgba(6, 46, 24, 0) 100%),
    linear-gradient(180deg, #0F2418 0%, #08160E 55%, #030805 100%);
}
.guild-escudo .guild-emblem img { filter: drop-shadow(0 0 14px rgba(214, 176, 92, 0.35)); }
[data-theme="dark"] .guild-escudo .guild-emblem {
  background:
    radial-gradient(46% 40% at 50% 48%, rgba(214, 176, 92, 0.38) 0%, rgba(22, 101, 52, 0.3) 48%, rgba(6, 46, 24, 0) 100%),
    linear-gradient(180deg, #0C1D13 0%, #06110B 55%, #020604 100%);
}
[data-theme="dark"] .guild-escudo .guild-emblem img { filter: drop-shadow(0 0 12px rgba(214, 176, 92, 0.28)); }
/* Neón del libro: verde esmeralda */
.guild-escudo .guild-icon::before { background: radial-gradient(closest-side, rgba(16, 185, 129, 0.6) 0%, rgba(5, 150, 105, 0.28) 45%, rgba(5, 150, 105, 0) 100%); }
.guild-escudo .guild-icon::after { background: radial-gradient(closest-side, rgba(167, 243, 208, 0.75), rgba(16, 185, 129, 0) 75%); }
.guild-escudo .guild-icon img { filter: drop-shadow(0 6px 10px rgba(6, 78, 59, 0.45)); }
[data-theme="dark"] .guild-escudo .guild-icon::before { background: radial-gradient(closest-side, rgba(52, 211, 153, 0.72) 0%, rgba(5, 150, 105, 0.32) 45%, rgba(5, 150, 105, 0) 100%); }
[data-theme="dark"] .guild-escudo .guild-icon::after { background: radial-gradient(closest-side, rgba(209, 250, 229, 0.5), rgba(16, 185, 129, 0) 75%); }
[data-theme="dark"] .guild-escudo .guild-icon img { filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.5)); }
