/* =====================================================================================================================
   EntrenaMENTE Arena · sistema visual (v50.2)
   Un único videojuego: azul marino profundo, azul real, oro y blanco, igual que el arte del paquete
   (assets/entrena/game/). Componentes reutilizables con prefijos propios para no chocar con el panel:
     ga-  avatar sin marco (disco y escenario)        go-  objeto de colección (insignia, poder, cofre)
     gl-  escudo de liga                            gi   ícono del sistema (moneda, XP, racha, trofeo…)
     g-rar rareza (Común · Raro · Épico · Legendario · Especial)
     ar-  piezas de pantalla (tarjetas, botones, chips, barras, diálogos, navegación)
     aj-  reproductor de preguntas (modos, duelos y salas en vivo)
   Reglas: un solo CTA dominante por pantalla (oro); verde y rojo solo para correcto/incorrecto (siempre con ícono);
   animaciones de 200–450 ms y celebraciones ≤ 2 s; prefers-reduced-motion las apaga.
   ===================================================================================================================== */
:root {
  --g-navy: #0b1846; --g-navy2: #142a78; --g-royal: #1f57e0; --g-royal-d: #1640b0; --g-sky: #3aa6ff;
  --g-gold: #ffc21a; --g-gold2: #ffe08a; --g-gold-d: #d18f00; --g-ink: #13204a; --g-ink2: #3d4a75; --g-muted: #6b7799;
  --g-line: #dbe3f4; --g-bg: #eef3fc; --g-card: #fff; --g-soft: #f4f7fe;
  --g-ok: #1fa95b; --g-ok-bg: #e8f8ee; --g-no: #e2364b; --g-no-bg: #fdecef; --g-violet: #6d4ce8; --g-teal: #0aa6a0;
  --g-r: 20px; --g-r-sm: 14px;
  --g-sh: 0 1px 0 rgba(11, 24, 70, .04), 0 8px 24px rgba(11, 24, 70, .07);
  --g-sh-hi: 0 2px 0 rgba(11, 24, 70, .05), 0 14px 34px rgba(11, 24, 70, .14);
  --g-gold-grad: linear-gradient(180deg, #ffe27a 0%, #ffc21a 55%, #f2a900 100%);
  --g-navy-grad: linear-gradient(135deg, #0b1846 0%, #142a78 55%, #1f3fa8 100%);
  --ar-rail: 236px; --ar-top: 64px; --ar-bottom: 70px; --ar-safe-b: env(safe-area-inset-bottom, 0px);
  /* compatibilidad con nombres de la v50 */
  --ar-ink: var(--g-ink); --ar-ink2: var(--g-ink2); --ar-muted: var(--g-muted); --ar-line: var(--g-line); --ar-bg: var(--g-bg);
  --ar-verde: var(--g-ok); --ar-verde-d: #16804a; --ar-azul: var(--g-royal); --ar-azul-d: var(--g-royal-d); --ar-naranja: var(--g-gold); --ar-naranja-d: var(--g-gold-d);
  --ar-rojo: var(--g-no); --ar-rojo-d: #b8263a; --ar-morado: var(--g-violet); --ar-morado-d: #5536c9; --ar-amarillo: var(--g-gold); --ar-amarillo-d: var(--g-gold-d);
  --ar-indigo: var(--g-navy); --ar-r: var(--g-r); --ar-r-sm: var(--g-r-sm); --ar-sombra: var(--g-sh);
}

/* ------------------------------------------------------------------ base */
body.arena { margin: 0; font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-weight: 700; color: var(--g-ink); background: var(--g-bg);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; line-height: 1.45; -webkit-tap-highlight-color: transparent; min-height: 100vh; }
/* escena de la pantalla: el mundo de la Arena detrás, muy suave (las tarjetas siempre se leen) */
body.arena::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(238, 243, 252, .80), rgba(238, 243, 252, .94) 45%, var(--g-bg) 80%), var(--ar-bgimg, none) center top / cover no-repeat; }
body.arena *, body.arena *::before, body.arena *::after { box-sizing: border-box; }
body.arena a { color: var(--g-royal); }
body.arena h1, body.arena h2, body.arena h3 { font-weight: 900; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; color: var(--g-ink); }
body.arena h1 { font-size: clamp(24px, 4.2vw, 34px); }
body.arena h2 { font-size: 19px; }
body.arena h3 { font-size: 16px; }
body.arena p { margin: 0 0 .7em; }
body.arena button, body.arena input, body.arena select { font: inherit; touch-action: manipulation; }
body.arena input, body.arena select, body.arena textarea { font-size: 16px; }
body.arena .muted { color: var(--g-muted); }
body.arena .hint { font-size: 13px; margin-top: 10px; }
body.arena .kick { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--g-muted); margin: 0 0 4px; }
body.arena .lead { font-size: 18px; }
body.arena .sube { color: var(--g-ok); font-weight: 900; }
body.arena .baja { color: var(--g-no); font-weight: 900; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ar-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 900; }
.ar-skip:focus { left: 8px; }
body.arena :focus-visible { outline: 3px solid var(--g-sky); outline-offset: 2px; border-radius: 10px; }
body.arena .alert { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--g-r-sm); background: #fff6e0; color: #7a4f00; font-weight: 800; margin-bottom: 12px; border: 1px solid #ffe3a0; }
body.arena .alert.error { background: var(--g-no-bg); color: #9b1c2e; border-color: #f7c3cb; }
body.arena .alert.ok { background: var(--g-ok-bg); color: #156b3c; border-color: #bfe9cf; }
body.arena .alert svg { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------------ íconos del sistema y rarezas */
.gi { display: inline-block; flex: none; object-fit: contain; vertical-align: middle; }
.gi-emoji { font-size: calc(var(--px, 24px) * .8); line-height: 1; width: var(--px, 24px); text-align: center; }
.g-rar { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; line-height: 1.6; }
.g-rar::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); border-radius: 2px; background: currentColor; }
.g-rar-comun { background: #eef1f7; color: #5f6c8f; }
.g-rar-raro { background: #e4f1ff; color: #1767d1; }
.g-rar-epico { background: #efe9ff; color: #5b37d6; }
.g-rar-legendario { background: #fff3cf; color: #a46a00; }
.g-rar-especial { background: #dff7f5; color: #087a75; }

/* ------------------------------------------------------------------ barra superior (HUD) */
.ar-top { position: sticky; top: 0; z-index: 40; height: var(--ar-top); display: flex; align-items: center; gap: 12px; padding: 0 16px; padding-top: env(safe-area-inset-top, 0);
  background: var(--g-navy-grad); color: #fff; box-shadow: 0 2px 0 rgba(255, 194, 26, .55), 0 6px 18px rgba(11, 24, 70, .25); }
.ar-brand { display: flex; align-items: center; gap: 10px; color: #fff !important; text-decoration: none; min-width: 0; }
.ar-brand img { border-radius: 10px; background: #fff; }
.ar-brand span { display: flex; flex-direction: column; line-height: 1; }
.ar-brand b { font-size: 17px; font-weight: 900; }
.ar-brand small { font-size: 11px; font-weight: 900; color: var(--g-gold); letter-spacing: .18em; text-transform: uppercase; margin-top: 3px; }
.ar-hud { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
.ar-hud-av { position: relative; display: block; text-decoration: none; }
.ar-lvl { position: absolute; right: -6px; bottom: -4px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--g-gold-grad); color: var(--g-navy); font-size: 12px; font-weight: 900; display: grid; place-items: center; border: 2px solid var(--g-navy); }
.ar-xp { display: flex; flex-direction: column; gap: 3px; width: 150px; }
.ar-xp small { font-size: 11px; opacity: .9; }
.ar-xp-bar { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .18); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25); }
.ar-xp-bar i { display: block; height: 100%; border-radius: 6px; background: var(--g-gold-grad); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.ar-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); font-weight: 900; font-size: 15px; white-space: nowrap; }
.ar-chip i { font-style: normal; }
.ar-chip .gi, .ar-hud-icon { width: 24px; height: 24px; }
.ar-chip.racha:not(.on) .gi { filter: grayscale(1) opacity(.6); }
.ar-chip.liga { padding: 2px 10px 2px 2px; }
.ar-chip.liga .gl img { width: 30px; height: 30px; }
.ar-chip.liga .gl b { color: #fff; font-size: 13px; }
.ar-bell { position: relative; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.ar-bell svg { width: 22px; height: 22px; }
.ar-bell em { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--g-no); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--g-navy); }

/* ------------------------------------------------------------------ navegación */
.ar-rail { position: fixed; z-index: 30; top: var(--ar-top); left: 0; bottom: 0; width: var(--ar-rail); padding: 18px 12px; background: rgba(255, 255, 255, .96); border-right: 1px solid var(--g-line); display: flex; flex-direction: column; gap: 3px; overflow-y: auto; }
.ar-rail a { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; color: var(--g-ink2); text-decoration: none; font-weight: 900; font-size: 15px; }
.ar-rail a svg { width: 22px; height: 22px; flex: none; }
.ar-rail a:hover { background: var(--g-soft); color: var(--g-ink); }
.ar-rail a.on { background: var(--g-navy-grad); color: #fff; box-shadow: 0 6px 16px rgba(20, 42, 120, .25); }
.ar-rail a.on::before { content: ''; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 5px; border-radius: 0 4px 4px 0; background: var(--g-gold); }
.ar-rail a.salir { margin-top: auto; color: var(--g-muted); }
.ar-bottom { display: none; }
.ar-main { margin-left: var(--ar-rail); padding: 22px clamp(16px, 3vw, 36px) 60px; max-width: calc(1220px + var(--ar-rail)); }
.ar-main:focus { outline: none; }
@media (min-width: 1700px) { .ar-main { margin-left: calc(var(--ar-rail) + (100vw - var(--ar-rail) - 1260px) / 2); } }
@media (max-width: 900px) {
  :root { --ar-top: 58px; }
  .ar-rail { display: none; }
  .ar-main { margin-left: 0; padding: 14px 16px calc(var(--ar-bottom) + 30px + var(--ar-safe-b)); }
  .ar-xp { display: none; }
  .ar-chip.liga { display: none; }
  .ar-brand b { font-size: 15px; }
  .ar-brand img { width: 30px; height: 30px; }
  .ar-chip { padding: 3px 9px 3px 5px; font-size: 14px; }
  .ar-chip .gi { width: 22px; height: 22px; }
  .ar-bottom { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: calc(var(--ar-bottom) + var(--ar-safe-b));
    padding-bottom: var(--ar-safe-b); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--g-line); box-shadow: 0 -6px 20px rgba(11, 24, 70, .08); }
  .ar-bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--g-muted); text-decoration: none; font-size: 11px; font-weight: 900; min-width: 0; min-height: 48px; }
  .ar-bottom a .ic { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 12px; transition: background .2s; }
  .ar-bottom a svg { width: 23px; height: 23px; }
  .ar-bottom a.on { color: var(--g-navy); }
  .ar-bottom a.on .ic { background: #e4ecff; color: var(--g-royal); }
  .ar-bottom a.jugar .ic { width: 60px; height: 60px; margin-top: -28px; border-radius: 50%; background: var(--g-gold-grad); color: var(--g-navy); box-shadow: 0 4px 0 var(--g-gold-d), 0 8px 18px rgba(209, 143, 0, .35); border: 4px solid #fff; }
  .ar-bottom a.jugar .ic svg { width: 28px; height: 28px; }
  .ar-bottom a.jugar { color: var(--g-navy); }
}
@media (max-width: 420px) { .ar-brand span { display: none; } .ar-hud { gap: 6px; } }

/* ------------------------------------------------------------------ botones */
.ar-btn { --b: var(--g-royal); --bd: var(--g-royal-d); --t: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border: 0; border-radius: 14px; background: var(--b); color: var(--t) !important; font-weight: 900; font-size: 15px; text-decoration: none; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 4px 0 var(--bd); transform: translateY(0); transition: transform .08s, box-shadow .08s, filter .15s; user-select: none; position: relative; line-height: 1.15; text-align: center; }
.ar-btn svg, .ar-btn .gi { width: 20px; height: 20px; flex: none; }
.ar-btn:hover { filter: brightness(1.06); }
.ar-btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 var(--bd); }
.ar-btn:disabled, .ar-btn[aria-disabled="true"] { --b: #e6eaf3; --bd: #cfd6e6; --t: #96a0bb; cursor: not-allowed; filter: none; background: var(--b) !important; }
/* oro = acción principal (CTA dominante) */
.ar-btn.verde, .ar-btn.amarillo, .ar-btn.naranja, .ar-btn.oro { --b: var(--g-gold); --bd: var(--g-gold-d); --t: var(--g-navy); background: var(--g-gold-grad); }
.ar-btn.azul { --b: var(--g-royal); --bd: var(--g-royal-d); }
.ar-btn.morado { --b: var(--g-violet); --bd: #4a2fb5; }
.ar-btn.rojo { --b: var(--g-no); --bd: #ac2234; }
.ar-btn.gris, .ar-btn.claro { --b: #fff; --bd: #cfd8ec; --t: var(--g-ink2); border: 1px solid #cfd8ec; box-shadow: 0 3px 0 #cfd8ec; }
.ar-btn.sm { min-height: 36px; padding: 6px 13px; font-size: 13px; border-radius: 11px; box-shadow: 0 3px 0 var(--bd); }
.ar-btn.grande { min-height: 52px; padding: 12px 24px; font-size: 17px; }
.ar-btn.mega { min-height: 62px; padding: 14px 30px; font-size: 19px; border-radius: 18px; box-shadow: 0 6px 0 var(--bd), 0 12px 26px rgba(209, 143, 0, .28); text-transform: uppercase; letter-spacing: .04em; }
.ar-btn.mega:active:not(:disabled) { transform: translateY(6px); }
.ar-btn.ancho { width: 100%; }
.ar-btn.cargando { color: transparent !important; pointer-events: none; }
.ar-btn.cargando::after { content: ''; position: absolute; width: 36px; height: 8px; background-image: radial-gradient(circle, var(--t) 3px, transparent 3.5px); background-size: 12px 8px; background-repeat: repeat-x; animation: ar-puntos .8s steps(3) infinite; }
@keyframes ar-puntos { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -10% 0 0); } }
@keyframes ar-gira { to { transform: rotate(360deg); } }
.ar-link { font-weight: 900; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.ar-x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--g-soft); font-size: 24px; line-height: 1; cursor: pointer; color: var(--g-ink2); }
.ar-ok { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; }
.ar-ok .gi { width: 34px; height: 34px; }
.ar-premio { font-size: 13px; font-weight: 900; color: var(--g-gold-d); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.badge { font-style: normal; display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--g-gold-grad); color: var(--g-navy); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 2px 6px rgba(209, 143, 0, .25); }

/* ------------------------------------------------------------------ cargador de la Arena (sin spinners del navegador) */
.ar-loader { display: inline-block; position: relative; width: 56px; height: 56px; }
.ar-loader::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 5px solid rgba(31, 87, 224, .12); border-top-color: var(--g-gold); border-right-color: var(--g-royal); animation: ar-gira .9s linear infinite; }
.ar-loader::after { content: '★'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--g-gold); font-size: 20px; animation: ar-late2 .9s ease-in-out infinite alternate; }
.aj-cargando, .ar-cargando-pag { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 48px 16px; color: var(--g-ink2); font-weight: 900; }

/* ------------------------------------------------------------------ tarjetas y rejillas */
.ar-card { background: var(--g-card); border: 1px solid var(--g-line); border-radius: var(--g-r); padding: 18px; box-shadow: var(--g-sh); margin-bottom: 16px; min-width: 0; }
.ar-card.destacada { border-color: #ffd977; background: linear-gradient(180deg, #fff9e6, #fff 60%); }
.ar-card.empty, .ar-vacio { text-align: center; padding: 26px 18px; }
.ar-vacio .gi { display: block; margin: 0 auto 8px; }
.ar-vacio b { display: block; font-size: 17px; margin-bottom: 4px; }
.ar-vacio p { color: var(--g-muted); }
.ar-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.ar-card-top h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.ar-card-top h2 .gi { width: 30px; height: 30px; }
.ar-card-top a { font-weight: 900; text-decoration: none; font-size: 14px; }
.ar-grid { display: grid; gap: 16px; }
.ar-grid > .ar-card { margin-bottom: 0; }
.ar-grid.dos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ar-grid.tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ar-grid.tres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .ar-grid.dos, .ar-grid.tres { grid-template-columns: minmax(0, 1fr); } }
.ar-h2 { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px !important; font-size: 21px !important; }
.ar-h2::after { content: ''; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 194, 26, .7), transparent 60%); }
.ar-h2 .gi { width: 30px; height: 30px; }
.ar-h3 { margin: 16px 0 8px !important; font-size: 15px !important; color: var(--g-ink2) !important; }
.ar-pag-cab { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ar-pag-cab > img, .ar-pag-cab > .gi { flex: none; width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(11, 24, 70, .18)); }
.ar-pag-cab h1 { margin: 0 0 4px; }
.ar-pag-cab p { margin: 0; color: var(--g-ink2); }
@media (max-width: 560px) { .ar-pag-cab > img, .ar-pag-cab > .gi { width: 56px; height: 56px; } }
.ar-aviso { padding: 12px 16px; border-radius: var(--g-r-sm); background: #e8f1ff; color: #133e8f; font-weight: 800; border: 1px solid #c9dcff; }
.ar-input { width: 100%; padding: 12px 14px; border: 1px solid var(--g-line); border-radius: 14px; background: #fff; font-weight: 800; margin-bottom: 10px; }
.ar-input:focus { border-color: var(--g-royal); outline: none; box-shadow: 0 0 0 3px rgba(31, 87, 224, .15); }
.ar-barra { --c: var(--g-royal); height: 12px; border-radius: 8px; background: #e3eaf8; overflow: hidden; margin: 6px 0 4px; box-shadow: inset 0 1px 2px rgba(11, 24, 70, .08); }
.ar-barra i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 75%, #fff), var(--c)); transition: width .45s cubic-bezier(.2, .8, .2, 1); min-width: 3px; }
.ar-barra.oro i { background: var(--g-gold-grad); }
.ar-barra.roja i { background: linear-gradient(90deg, #ff7a88, var(--g-no)); }
.ar-pn { display: inline-flex; gap: 3px; }
.ar-pn i { width: 12px; height: 12px; border-radius: 3px; background: #dde4f3; }
.ar-pn i.on { background: linear-gradient(180deg, #ffe08a, var(--g-gold)); box-shadow: 0 1px 0 var(--g-gold-d); }
.ar-stars i { font-style: normal; color: #d7deee; font-size: 18px; }
.ar-stars i.on { color: var(--g-gold); text-shadow: 0 2px 0 var(--g-gold-d); }

/* ------------------------------------------------------------------ AVATAR (componente único, v50.3: sin marco, sin capas extra) */
.ga-avatar { --s: 64px; --av: #1f57e0; position: relative; display: inline-block; width: var(--s); height: var(--s); flex: none; vertical-align: middle; isolation: isolate; }
.ga-disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; z-index: 0;
  background: radial-gradient(circle at 50% 30%, #ffffff 0, color-mix(in srgb, var(--av) 22%, #fff) 40%, color-mix(in srgb, var(--av) 70%, #0b1846) 100%);
  box-shadow: inset 0 -6px 12px rgba(11, 24, 70, .2), 0 0 0 calc(var(--s) * .04 + 1px) #fff, 0 calc(var(--s) * .05) calc(var(--s) * .14) rgba(11, 24, 70, .28); }
.ga-char { position: absolute; max-width: none; width: 200%; height: auto; left: -50%; top: -14%; }
.ga-emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: calc(var(--s) * .56); line-height: 1; }
.ga-xs { --s: 32px; } .ga-sm { --s: 44px; } .ga-md { --s: 64px; } .ga-lg { --s: 96px; } .ga-xl { --s: 140px; }
.ga-xs .ga-disc { box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(11, 24, 70, .25); }
/* escenario (héroe): el personaje completo de pie sobre un halo de luz, sin recortes */
.ga-hero { --s: 300px; width: var(--s); height: calc(var(--s) * 1.12); }
.ga-halo { position: absolute; z-index: 0; left: 6%; right: 6%; top: 4%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .55) 0, rgba(255, 226, 122, .35) 38%, rgba(58, 166, 255, .18) 62%, transparent 71%); }
.ga-hero .ga-char { width: 104%; left: -2%; top: 8%; z-index: 2; filter: drop-shadow(0 14px 18px rgba(11, 24, 70, .35)); }
.ga-hero .ga-emoji { font-size: calc(var(--s) * .4); z-index: 2; }
.ga-pedestal { position: absolute; z-index: 1; left: 14%; right: 14%; bottom: 0; height: 16%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 226, 122, .85) 0, rgba(58, 166, 255, .45) 45%, transparent 72%); }
@media (max-width: 680px) { .ga-hero { --s: 210px; } }
@media (max-width: 360px) { .ga-hero { --s: 180px; } }

/* objetos de colección */
.go { --c: #1f57e0; --s: 56px; position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: none; font-size: calc(var(--s) * .52); }
.go:not(.con-arte) { border-radius: 16px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 25%, #fff), color-mix(in srgb, var(--c) 60%, #fff)); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08); }
.go img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(11, 24, 70, .16)); }
.go-sm { --s: 40px; } .go-lg { --s: 78px; } .go-xl { --s: 160px; }
.go.bloq img { filter: brightness(0) saturate(0) opacity(.18); }
.go.bloq:not(.con-arte) { filter: grayscale(1); opacity: .4; }
.go-lock { position: absolute; right: -4px; bottom: -4px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(11, 24, 70, .2); }
.go-lock .gi { width: 22px; height: 22px; }
.go-sm .go-lock { width: 20px; height: 20px; } .go-sm .go-lock .gi { width: 16px; height: 16px; }
/* liga */
.gl { --c: #1f57e0; display: inline-flex; align-items: center; gap: 6px; font-weight: 900; color: var(--g-ink); vertical-align: middle; }
.gl img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(11, 24, 70, .18)); }
.gl i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: color-mix(in srgb, var(--c) 18%, #fff); font-style: normal; font-size: 16px; }
/* fondos (respaldo si faltara la imagen) */
[class*="gf-"] { background-color: var(--g-navy2); background-image: var(--g-navy-grad); background-size: cover; background-position: center; }

/* ------------------------------------------------------------------ PAEE (viernes): sobrio, concentrado, mismo universo */
body.modo-paee::before { background: linear-gradient(180deg, #eaf1fe, var(--g-bg)); }
.ar-paee { position: relative; border-radius: 28px; padding: clamp(22px, 4vw, 44px); background: radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .14), transparent 40%), var(--g-navy-grad); color: #fff; box-shadow: var(--g-sh-hi); overflow: hidden; }
.ar-paee::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--g-gold-grad); }
.ar-paee-in { display: flex; gap: clamp(16px, 4vw, 40px); align-items: center; }
.ar-paee .masc { flex: none; width: clamp(110px, 18vw, 170px); height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .3)); }
.ar-paee h1 { font-size: clamp(30px, 6vw, 52px); letter-spacing: .03em; margin-bottom: 8px; color: #fff; }
body.arena .ar-paee .kick { color: var(--g-gold2); }
.ar-paee .lead { color: #dbe7ff; }
.ar-paee-reglas { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ar-paee-reglas li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; }
.ar-paee-reglas li::before { content: '✓ '; color: var(--g-gold2); }
@media (max-width: 640px) { .ar-paee-in { flex-direction: column; text-align: center; } .ar-paee-reglas { justify-content: center; } .ar-paee .ar-btn.mega { width: 100%; font-size: 17px; } }
.ar-paee-banda { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; margin-bottom: 16px; border-radius: 16px; background: var(--g-navy-grad); color: #fff; font-weight: 800; box-shadow: var(--g-sh); }
.ar-paee-banda > span { font-size: 22px; }
.ar-paee-banda .ar-btn { margin-left: auto; }
.ar-paee-hecho { display: flex; gap: 14px; align-items: center; padding: 14px 18px; margin-bottom: 16px; border-radius: 18px; background: #fff; border: 1px solid #bfe9cf; color: #155b35; font-weight: 800; box-shadow: var(--g-sh); }
.ar-paee-hecho .gi { width: 40px; height: 40px; }
.ar-semana { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.ar-semana-nota { display: grid; place-items: center; width: 118px; height: 118px; border-radius: 50%; background: conic-gradient(var(--g-gold) calc(var(--p) * 1%), #e3eaf8 0); position: relative; }
.ar-semana-nota::before { content: ''; position: absolute; inset: 10px; border-radius: 50%; background: #fff; }
.ar-semana-nota b { position: relative; font-size: 28px; }
.ar-semana-nota small { position: absolute; bottom: 26px; font-size: 11px; color: var(--g-muted); }
.ar-semana-dims { display: grid; gap: 6px; }
.ar-semana-dims div { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; font-size: 14px; }
@media (max-width: 560px) { .ar-semana { grid-template-columns: 1fr; justify-items: center; } .ar-semana-dims { width: 100%; } }

/* ------------------------------------------------------------------ INICIO: héroe del jugador */
.ar-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(10px, 3vw, 34px); align-items: center; padding: clamp(18px, 3vw, 30px) clamp(18px, 3vw, 36px);
  border-radius: 28px; color: #fff; overflow: hidden; isolation: isolate; box-shadow: var(--g-sh-hi); min-height: 360px; background-size: cover; background-position: center; }
.ar-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 24, 70, .10) 0%, rgba(11, 24, 70, .55) 42%, rgba(11, 24, 70, .86) 100%); }
.ar-hero-av { position: relative; justify-self: center; }
.ar-hero-lvl { position: absolute; z-index: 3; left: 50%; bottom: 6%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px 4px 6px; border-radius: 999px;
  background: var(--g-gold-grad); color: var(--g-navy); font-size: 14px; font-weight: 900; white-space: nowrap; box-shadow: 0 4px 0 var(--g-gold-d), 0 8px 18px rgba(0, 0, 0, .25); }
.ar-hero-lvl .gi { width: 30px; height: 30px; }
.ar-hero-lvl b { font-size: 20px; }
.ar-hero-txt { min-width: 0; padding: clamp(16px, 2.4vw, 26px); border-radius: 24px; background: rgba(11, 24, 70, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); }
body.arena .ar-hero-txt .kick { color: var(--g-gold2); display: flex; align-items: center; gap: 6px; }
.ar-hero h1 { color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); margin-bottom: 6px; }
.ar-titulo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 194, 26, .18); color: var(--g-gold2); border: 1px solid rgba(255, 194, 26, .35); font-weight: 900; font-size: 13px; margin: 0 0 8px; }
.ar-hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.ar-hero-stats > span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--g-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.ar-hero-stats .gi { width: 28px; height: 28px; }
.ar-hero-stats .gl img { width: 30px; height: 30px; }
.ar-hero-stats .st b { font-size: 18px; }
.ar-hero-stats .st small { color: var(--g-muted); font-size: 12px; }
.ar-hero-xp { max-width: 460px; margin-bottom: 18px; }
.ar-hero-xp .ar-barra { height: 14px; background: rgba(255, 255, 255, .2); box-shadow: none; }
.ar-hero-xp small { color: #e4ecff; }
.ar-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ar-cta-sub { display: block; color: #e4ecff; font-weight: 800; font-size: 14px; }
.ar-hero-premio { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px 6px 6px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px dashed rgba(255, 226, 122, .5); color: #fff !important; font-size: 13px; text-decoration: none; }
.ar-hero-premio .gi { width: 30px; height: 30px; }
@keyframes ar-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ar-hero-av .ga-char { animation: ar-flota 5s ease-in-out infinite; }
@media (max-width: 900px) { .ar-hero { grid-template-columns: 1fr; text-align: center; padding-top: 10px; min-height: 0; } .ar-hero::after { background: linear-gradient(180deg, rgba(11, 24, 70, .05) 0%, rgba(11, 24, 70, .55) 40%, rgba(11, 24, 70, .88) 100%); }
  .ar-hero-stats, .ar-hero-cta { justify-content: center; } .ar-hero-xp { margin-left: auto; margin-right: auto; } .ar-hero-txt { margin-top: -6px; } .ar-hero-cta .ar-btn.mega { width: 100%; } }
@media (max-width: 420px) { .ar-hero { padding: 6px 12px 14px; border-radius: 22px; } .ar-hero-txt { padding: 16px 14px; } .ar-hero h1 { font-size: 26px; } }

/* misión mental, misiones, retos */
.ar-mental { background: linear-gradient(180deg, #f3f0ff, #fff 55%); }
.ar-mental h2 { color: #4a2fb5; display: flex; align-items: center; gap: 8px; }
.ar-mental-niv { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; color: var(--g-ink2); }
.ar-misiones { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.ar-misiones li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--g-line); background: #fff; }
.ar-misiones li > .gi { width: 38px; height: 38px; }
.ar-misiones li > div { flex: 1; min-width: 0; }
.ar-misiones li b { display: block; }
.ar-misiones li small { display: block; color: var(--g-ink2); font-size: 13px; }
.ar-misiones li.ok { border-color: #bfe9cf; background: linear-gradient(90deg, #f1fbf5, #fff); }
.ar-misiones li.reclamar { border-color: #ffd977; background: linear-gradient(90deg, #fff8e0, #fff); box-shadow: 0 0 0 3px rgba(255, 194, 26, .15); }
.ar-mision-pie { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--g-muted); }
.ar-recomp { display: inline-flex; align-items: center; gap: 10px; }
.ar-recomp span { display: inline-flex; align-items: center; gap: 3px; font-weight: 900; color: var(--g-ink); }
.ar-recomp .gi { width: 20px; height: 20px; }
.ar-grupo { color: var(--g-muted) !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: .07em; font-weight: 900; }
.ar-proxima { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: linear-gradient(90deg, #fff7da, #fffdf6); border: 1px dashed #f4c64e; }
.ar-proxima .gi { width: 46px; height: 46px; }
.ar-proxima b { display: block; }
.ar-retos-mini { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.ar-retos-mini a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--g-soft); text-decoration: none; color: var(--g-ink); border: 1px solid var(--g-line); }
.ar-retos-mini .gi { width: 32px; height: 32px; }
.ar-retos-mini small { display: block; color: var(--g-muted); }
.ar-online { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; color: var(--g-ink2); }
.pt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--g-ok); box-shadow: 0 0 0 3px rgba(31, 169, 91, .25); }
.ar-online-av { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
/* evento y metas */
.ar-evento { --c: var(--g-royal); position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--g-r); color: #fff; overflow: hidden; margin-bottom: 16px; isolation: isolate;
  background: radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .22), transparent 45%), linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, #0b1846), #0b1846); box-shadow: var(--g-sh); }
.ar-evento .em { font-size: 40px; line-height: 1; flex: none; }
.ar-evento .gi { width: 56px; height: 56px; }
body.arena .ar-evento .kick { color: var(--g-gold2); }
.ar-evento h2, .ar-evento h3 { color: #fff; margin-bottom: 4px; }
.ar-evento p { color: #dfe8ff; }
.ar-evento .ar-barra { background: rgba(255, 255, 255, .2); box-shadow: none; }
.ar-evento .ar-barra i { background: var(--g-gold-grad); }
.ar-evento.chico { padding: 12px 16px; align-items: center; }
.ar-evento.chico small { display: block; opacity: .9; }
.ar-eventos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ar-metas .ar-meta { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--g-line); }
.ar-metas .ar-meta:last-child { border-bottom: 0; }
.ar-meta .em { font-size: 28px; flex: none; width: 40px; text-align: center; }
.ar-meta .gi, .ar-meta .gl img { width: 40px; height: 40px; }
.ar-meta > div { flex: 1; min-width: 0; }
.ar-meta small { display: block; color: var(--g-ink2); font-size: 13px; }
/* viaje anual (Inicio) */
.ar-viaje-lista { list-style: none; margin: 0; padding: 4px 2px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(122px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ar-viaje-lista li { scroll-snap-align: start; }
.ar-viaje-lista a { --c: #1f57e0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px 16px; border-radius: 16px; text-decoration: none; color: var(--g-ink);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); overflow: hidden; text-align: center; min-height: 116px; }
.ar-viaje-lista .em { font-size: 30px; }
.ar-viaje-lista .gi { width: 30px; height: 30px; }
.ar-viaje-lista b { font-size: 13px; line-height: 1.15; }
.ar-viaje-lista small { color: var(--g-muted); font-size: 12px; }
.ar-viaje-lista i { position: absolute; left: 0; bottom: 0; height: 5px; background: var(--g-gold-grad); }
.ar-viaje-lista li.actual a { border: 2px solid var(--g-gold); box-shadow: 0 0 0 4px rgba(255, 194, 26, .2); }
.ar-viaje-lista li.actual a::before { content: 'Ahora'; position: absolute; top: 6px; left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--g-gold); color: var(--g-navy); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ar-viaje-lista li.proximo a { filter: grayscale(.85); opacity: .6; pointer-events: none; }
.ar-viaje-lista li.completo a::after { content: '✓'; position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--g-ok); color: #fff; font-size: 12px; display: grid; place-items: center; }
/* poderes del pensamiento (Inicio) */
.ar-poderes { display: grid; gap: 8px; }
.ar-poderes.mini { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ar-poder { border: 1px solid var(--g-line); border-radius: 14px; background: #fff; }
.ar-poder summary, .ar-poderes.mini .ar-poder { display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer; list-style: none; min-height: 48px; }
.ar-poder summary::-webkit-details-marker { display: none; }
.ar-poder summary b { flex: 1; min-width: 0; }
.ar-poder .em { font-size: 22px; width: 28px; text-align: center; }
.ar-poder p { padding: 0 14px; font-size: 14px; }
.ar-poder.prio { border-color: #ccb9ff; background: #f8f5ff; }
.ar-area, .ar-area-card { --c: var(--g-royal); display: flex; gap: 12px; align-items: center; padding: 10px 12px; margin-bottom: 8px; border-radius: 14px; background: color-mix(in srgb, var(--c) 7%, #fff); border-left: 5px solid var(--c); }
.ar-area { justify-content: space-between; }
.ar-area-card .gi { width: 48px; height: 48px; }
.ar-area-card b, .ar-area-card small { display: block; }
.ar-insignias { display: flex; flex-wrap: wrap; gap: 14px; }
.ar-insignias > div, .ar-insignias > a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; text-align: center; font-size: 12px; color: var(--g-ink); text-decoration: none; }

/* ------------------------------------------------------------------ JUGAR */
.ar-reco { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 26px; border-radius: 26px; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 12% 30%, rgba(255, 226, 122, .25), transparent 40%), var(--g-navy-grad); box-shadow: var(--g-sh-hi); margin-bottom: 8px; }
.ar-reco::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ar-bgimg, none) right center / cover; opacity: .25; }
.ar-reco .gi { width: 112px; height: 112px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .3)); }
body.arena .ar-reco .kick { color: var(--g-gold2); }
.ar-reco h2 { color: #fff; font-size: 26px; margin-bottom: 4px; }
.ar-reco p { color: #dfe8ff; margin: 0; }
@media (max-width: 760px) { .ar-reco { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 18px; } .ar-reco .gi { width: 90px; height: 90px; } .ar-reco .ar-btn { width: 100%; } }
.ar-modos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.ar-modos.areas { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.ar-modo { --c: var(--g-royal); position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 14px 14px 16px; min-height: 186px; border: 1px solid var(--g-line); border-radius: 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, #fff) 0%, #fff 55%); color: var(--g-ink); cursor: pointer; box-shadow: 0 4px 0 #d6def0, var(--g-sh); transition: transform .15s, box-shadow .15s, border-color .15s; font-weight: 800; font-family: inherit; }
.ar-modo:hover:not(:disabled) { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, #fff); box-shadow: 0 7px 0 #d6def0, var(--g-sh-hi); }
.ar-modo:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #d6def0; }
.ar-modo .em { font-size: 44px; line-height: 1; margin: 10px 0 6px; }
.ar-modo-img, .ar-modo .gi { width: 84px; height: 84px; object-fit: contain; display: block; margin: 0 auto 4px; filter: drop-shadow(0 6px 10px rgba(11, 24, 70, .18)); transition: transform .2s ease; }
.ar-modo:hover .ar-modo-img, .ar-modo:hover .gi { transform: translateY(-2px) scale(1.05); }
.ar-modo b { font-size: 16px; font-weight: 900; color: var(--g-ink); line-height: 1.2; }
.ar-modo small { color: var(--g-ink2); font-size: 13px; line-height: 1.3; }
.ar-modo .badge { position: absolute; top: 10px; right: 10px; }
.ar-modo .ar-modo-poder { margin-top: auto; padding-top: 6px; font-size: 12px; font-weight: 900; color: color-mix(in srgb, var(--c) 80%, #000); }
.ar-modo.destacado { background: var(--g-navy-grad); color: #fff; border-color: transparent; }
.ar-modo.destacado b, .ar-modo.destacado small { color: #fff; }
.ar-modo.horizontal { flex-direction: row; text-align: left; min-height: 0; padding: 14px 16px; gap: 14px; }
.ar-modo.horizontal .ar-modo-img, .ar-modo.horizontal .gi { width: 70px; height: 70px; margin: 0; }
.ar-modo.horizontal > span:not(.badge) { display: flex; flex-direction: column; gap: 2px; }
.ar-modo.ancho { width: 100%; min-height: 0; flex-direction: row; text-align: left; padding: 12px 14px; gap: 12px; }
.ar-modo.ancho .ar-modo-img, .ar-modo.ancho .gi { width: 46px; height: 46px; margin: 0; }
.ar-modo.ancho .em { margin: 0; font-size: 28px; }
.ar-modo.ancho small { display: none; }
.ar-modo:disabled { filter: grayscale(.85); opacity: .5; cursor: not-allowed; }
.ar-modo.cargando { opacity: .7; pointer-events: none; }
@media (max-width: 520px) { .ar-modos { grid-template-columns: 1fr 1fr; gap: 10px; } .ar-modos.areas { grid-template-columns: 1fr; } .ar-modo { min-height: 168px; padding: 12px 10px 14px; } .ar-modo-img, .ar-modo .gi { width: 70px; height: 70px; } .ar-modo b { font-size: 15px; } }
/* ruleta (en diálogo) */
.ar-ruleta-dlg .ar-dlg-in { padding-top: 30px; }
.ar-ruleta-wrap { position: relative; width: min(280px, 70vw); margin: 10px auto 16px; }
.ar-ruleta { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#1f57e0 0 45deg, #ffc21a 45deg 90deg, #6d4ce8 90deg 135deg, #0aa6a0 135deg 180deg, #1640b0 180deg 225deg, #f2a900 225deg 270deg, #3aa6ff 270deg 315deg, #142a78 315deg 360deg);
  border: 8px solid #fff; box-shadow: 0 0 0 5px var(--g-gold), 0 14px 30px rgba(11, 24, 70, .3); }
.ar-ruleta > span:not(.ar-ruleta-c) { position: absolute; left: 50%; top: 50%; font-size: 22px; transform: rotate(var(--a)) translateY(-72%) rotate(calc(-1 * var(--a))); transform-origin: 0 0; margin: -12px 0 0 -12px; }
.ar-ruleta-c { position: absolute; inset: 33%; display: grid; place-items: center; }
.ar-ruleta-c .gi { width: 100%; height: 100%; }
.ar-ruleta-flecha { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); z-index: 2; width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 28px solid var(--g-no); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.ar-guardian { --c: #142a78; display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 22px; color: #fff !important; text-decoration: none; isolation: isolate; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(11, 24, 70, .92), rgba(11, 24, 70, .55)), var(--ar-bgcamino, none) center / cover, var(--g-navy-grad); box-shadow: var(--g-sh-hi); }
.ar-guardian .gi { width: 64px; height: 64px; }
.ar-guardian .em { font-size: 40px; }
.ar-guardian > div { flex: 1; }
.ar-guardian b { color: #fff; font-size: 17px; }
.ar-guardian small { display: block; color: #dfe8ff; }
.ar-guardian svg { width: 26px; height: 26px; color: var(--g-gold); }
.ar-vivo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ar-vivo-grid > .ar-card { margin: 0; display: flex; flex-direction: column; }
.ar-vivo-grid > .ar-card h3 { display: flex; align-items: center; gap: 8px; }
.ar-vivo-grid > .ar-card h3 .gi { width: 34px; height: 34px; }
.ar-vivo-grid > .ar-card > .ar-btn:last-child, .ar-vivo-grid > .ar-card > form { margin-top: auto; }
@media (max-width: 980px) { .ar-vivo-grid { grid-template-columns: minmax(0, 1fr); } }
.ar-seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.ar-seg label, .ar-seg a { position: relative; padding: 8px 13px; border-radius: 12px; border: 1px solid var(--g-line); background: #fff; cursor: pointer; font-weight: 900; font-size: 14px; color: var(--g-ink2); text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.ar-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ar-seg label:has(input:checked), .ar-seg a.on { border-color: var(--g-royal); background: #e8efff; color: var(--g-royal-d); box-shadow: inset 0 0 0 1px var(--g-royal); }
.ar-seg label:has(input:focus-visible) { outline: 3px solid var(--g-sky); }
.ar-seg.chico { margin-bottom: 14px; }
.ar-buscando { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
body.arena [hidden] { display: none !important; }
.ar-radar { width: 26px; height: 26px; border-radius: 50%; background: var(--g-royal); box-shadow: 0 0 0 0 rgba(31, 87, 224, .5); animation: ar-radar 1.4s infinite; }
.ar-radar.grande { width: 60px; height: 60px; margin: 18px auto; }
@keyframes ar-radar { to { box-shadow: 0 0 0 22px rgba(31, 87, 224, 0); } }
.ar-codigo { display: flex; gap: 8px; }
.ar-codigo input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--g-line); border-radius: 14px; font-weight: 900; font-size: 20px; letter-spacing: .25em; text-transform: uppercase; text-align: center; }
.ar-poderes-inv { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ar-poderes-inv > div { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid var(--g-line); }
.ar-poderes-inv .go { grid-row: span 2; }
.ar-poderes-inv small { color: var(--g-ink2); font-size: 12px; }
.ar-poderes-inv em { position: absolute; top: 8px; right: 10px; font-style: normal; font-weight: 900; color: var(--g-royal); background: #e8efff; padding: 0 8px; border-radius: 999px; }
.ar-poderes-inv .cero em { color: var(--g-muted); background: var(--g-soft); }

/* ------------------------------------------------------------------ REPRODUCTOR (modos, duelos) */
body.en-juego .ar-main, body.reto .ar-main { max-width: calc(900px + var(--ar-rail)); }
.ar-juego, .ar-duelo { --c: var(--g-royal); position: relative; max-width: 840px; margin: 0 auto; }
.aj-top { position: sticky; top: calc(var(--ar-top) + 6px); z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 12px; border-radius: 18px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border: 1px solid var(--g-line); box-shadow: var(--g-sh); }
.aj-x { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--g-muted); flex: none; }
.aj-x svg { width: 24px; height: 24px; }
.aj-titulo { display: flex; align-items: center; gap: 6px; flex: none; font-size: 15px; }
.aj-titulo span { font-size: 22px; }
.aj-prog { flex: 1; height: 14px; border-radius: 10px; background: #e3eaf8; overflow: hidden; min-width: 60px; }
.aj-prog i { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--g-gold-grad); transition: width .45s cubic-bezier(.2, .8, .2, 1); }
.ar-duelo > .aj-prog { margin: 0 0 14px; }
.aj-pts { flex: none; font-weight: 900; color: var(--g-ink); display: inline-flex; align-items: center; gap: 4px; }
.aj-pts b { font-size: 18px; }
@media (max-width: 560px) { .aj-titulo b { display: none; } .aj-top { top: calc(var(--ar-top) + 4px); } }
.aj-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.aj-extra:empty, .aj-extra[hidden] { display: none; }
.aj-main { min-height: 40vh; padding-bottom: 8px; }
.aj-foot { position: sticky; bottom: 0; z-index: 15; padding: 12px 0 14px; background: linear-gradient(180deg, rgba(238, 243, 252, 0), var(--g-bg) 38%); }
@media (max-width: 900px) { .aj-foot { bottom: calc(var(--ar-bottom) + var(--ar-safe-b)); } }
.aj-foot-2 { display: flex; gap: 10px; margin-top: 10px; }
.aj-foot-2 .ar-btn { flex: 1; }
.aj-preg { background: #fff; border: 1px solid var(--g-line); border-radius: 24px; padding: clamp(16px, 3vw, 28px); box-shadow: var(--g-sh); }
.aj-meta-q { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--g-muted); font-size: 13px; font-weight: 900; }
.aj-tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #efeaff; color: #4a2fb5; font-size: 12px; font-weight: 900; }
.aj-tag.lento { background: #fff3d6; color: #8a5a00; }
.aj-estimulo { padding: 14px 16px; margin: 8px 0 12px; border-radius: 16px; background: var(--g-soft); border-left: 5px solid var(--g-royal); font-size: 16px; font-weight: 700; color: var(--g-ink2); max-height: 46vh; overflow: auto; }
.aj-img { display: block; max-width: 100%; height: auto; max-height: 300px; margin: 0 auto 12px; border-radius: 12px; }
.aj-q { font-size: clamp(18px, 3vw, 22px) !important; margin: 8px 0 14px !important; color: var(--g-ink); }
.aj-ops { display: grid; gap: 10px; }
.aj-op { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; border: 2px solid var(--g-line); border-radius: 16px; background: #fff; text-align: left; font-weight: 800; font-size: 16px; color: var(--g-ink); cursor: pointer; font-family: inherit;
  box-shadow: 0 3px 0 var(--g-line); transition: transform .08s, box-shadow .08s, border-color .15s, background .15s; min-height: 58px; }
.aj-op kbd { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--g-line); font: inherit; font-weight: 900; color: var(--g-muted); background: #fff; position: relative; }
.aj-op:hover:not(:disabled) { border-color: #a9c2f7; background: #f7faff; }
.aj-op:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 0 0 var(--g-line); }
.aj-op.sel { border-color: var(--g-royal); background: #edf3ff; box-shadow: 0 3px 0 #a9c2f7; }
.aj-op.sel kbd { border-color: var(--g-royal); background: var(--g-royal); color: #fff; }
.aj-op.bien { border-color: var(--g-ok); background: var(--g-ok-bg); box-shadow: 0 3px 0 #9fdcb8; animation: ar-pop .3s; }
.aj-op.bien kbd { background: var(--g-ok); border-color: var(--g-ok); color: transparent; }
.aj-op.bien kbd::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.aj-op.mal { border-color: var(--g-no); background: var(--g-no-bg); box-shadow: 0 3px 0 #f2b3bd; }
.aj-op.mal kbd { background: var(--g-no); border-color: var(--g-no); color: transparent; }
.aj-op.mal kbd::after { content: '✕'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.aj-op.desc { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.aj-op.apagada { opacity: .45; }
.aj-op.bloq, .aj-op:disabled { cursor: default; }
.aj-op.poof { animation: ar-poof .35s; }
.aj-op.temblor { animation: ar-temblor .35s; }
@keyframes ar-pop { 40% { transform: scale(1.02); } }
@keyframes ar-poof { 40% { transform: scale(.97); filter: blur(1px); } }
@keyframes ar-temblor { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.aj-chips { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aj-chips legend { width: 100%; margin-bottom: 6px; font-weight: 900; font-size: 14px; color: var(--g-ink2); }
.aj-chips button { padding: 9px 13px; border-radius: 12px; border: 1px solid var(--g-line); background: #fff; font-weight: 800; font-size: 14px; cursor: pointer; color: var(--g-ink2); min-height: 42px; font-family: inherit; }
.aj-chips button.sel { border-color: var(--g-violet); background: #f1edff; color: #4a2fb5; box-shadow: inset 0 0 0 1px var(--g-violet); }
.aj-chips button:disabled { cursor: default; }
.aj-chips.conf button.sel { border-color: var(--g-gold-d); background: #fff6d8; color: #7a4f00; box-shadow: inset 0 0 0 1px var(--g-gold-d); }
.aj-pista-box { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fff8e1; border: 1px solid #ffe08a; color: #6d4c00; }
.aj-pista-box small { display: block; margin-top: 4px; font-weight: 900; }
.aj-pasos { margin: 8px 0 0 18px; padding: 0; font-weight: 700; }
.aj-pasos li { margin: 2px 0; }
.aj-fb { margin-top: 14px; padding: 16px; border-radius: 20px; border: 1px solid; animation: ar-sube .3s cubic-bezier(.2, .8, .2, 1); }
.aj-fb.ok { background: var(--g-ok-bg); border-color: #bfe9cf; color: #11502d; }
.aj-fb.no { background: #fff7e6; border-color: #ffdd99; color: #5e3d00; }
.aj-fb-cab { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.aj-fb.enviada { background: #eef4ff; border-color: #c9dcff; color: #14306b; }
.aj-fb.enviada .aj-fb-cab small { display: block; font-weight: 600; opacity: .85; }
.aj-repaso { margin: 16px auto; max-width: 720px; text-align: left; }
.aj-repaso h3 { margin: 0 0 8px; }
.aj-repaso details { margin: 8px 0; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #dfe6f3; color: #14306b; }
.aj-repaso summary { cursor: pointer; font-weight: 800; min-height: 32px; }
.aj-repaso p { margin: 6px 0; }
.aj-fb-cab img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.aj-fb-cab b { display: block; font-size: 20px; font-weight: 900; }
.aj-fb-cab small { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; opacity: .9; }
.aj-fund { margin-top: 8px; background: rgba(255, 255, 255, .8); border-radius: 12px; padding: 8px 12px; color: var(--g-ink); }
.aj-fund summary { cursor: pointer; font-weight: 900; min-height: 32px; display: flex; align-items: center; }
.aj-fund p { margin: 8px 0 0; font-weight: 700; }
.aj-idea { margin-top: 8px !important; padding: 8px 10px; border-radius: 10px; background: #fff6d8; color: #5d4600; }
.aj-poder-usado { margin: 8px 0 0 !important; font-size: 13px; }
.aj-just { margin-top: 10px; padding: 12px; border-radius: 14px; background: #fff; color: var(--g-ink); }
.aj-just-ops { display: grid; gap: 8px; margin-top: 8px; }
.aj-just-ops button { padding: 10px 12px; border-radius: 12px; border: 2px solid var(--g-line); background: #fff; text-align: left; font-weight: 700; font-size: 14px; cursor: pointer; color: var(--g-ink); font-family: inherit; }
.aj-just-ops button.bien { border-color: var(--g-ok); background: var(--g-ok-bg); }
.aj-just-ops button.mal { border-color: var(--g-no); background: var(--g-no-bg); }
.aj-just-r { font-weight: 900; margin-top: 10px !important; }
@keyframes ar-sube { from { transform: translateY(10px); opacity: 0; } }
.aj-flota { position: absolute; z-index: 30; right: 18px; top: 70px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; font-weight: 900; font-size: 17px; pointer-events: none; animation: ar-flota-arriba 1.3s ease-out forwards; box-shadow: var(--g-sh); }
.aj-flota .gi { width: 22px; height: 22px; }
.aj-flota.pts { background: var(--g-navy); color: #fff; }
.aj-flota.xp { background: var(--g-gold-grad); color: var(--g-navy); right: 120px; }
@keyframes ar-flota-arriba { 0% { transform: translateY(10px) scale(.85); opacity: 0; } 15% { transform: translateY(0) scale(1.05); opacity: 1; } 100% { transform: translateY(-50px); opacity: 0; } }
.aj-reloj { position: relative; display: grid; place-items: center; width: 54px; height: 54px; flex: none; }
.aj-reloj svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.aj-reloj circle { fill: #fff; stroke: #e3eaf8; stroke-width: 4; }
.aj-reloj circle.v { fill: none; stroke: var(--g-royal); stroke-dasharray: 100.5; stroke-dashoffset: 0; stroke-linecap: round; transition: stroke-dashoffset .25s linear, stroke .3s; }
.aj-reloj b { position: relative; font-size: 18px; font-weight: 900; }
.aj-reloj.poco circle.v { stroke: var(--g-no); }
.aj-reloj.poco b { color: var(--g-no); }
.aj-reloj.grande { width: 64px; height: 64px; }
.aj-reloj.chico { width: auto; height: auto; display: inline-flex; gap: 4px; padding: 6px 12px; border-radius: 999px; background: #e8efff; }
@keyframes ar-late2 { to { transform: scale(1.12); } }
.aj-lupa { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 14px; border: 1px solid #ffe08a; background: #fff8e1; font-weight: 900; cursor: pointer; font-size: 16px; box-shadow: 0 3px 0 #ffe08a; min-height: 44px; font-family: inherit; }
.aj-lupa small { font-size: 12px; color: var(--g-muted); }
.aj-lupa:disabled { opacity: .5; cursor: not-allowed; }
.aj-poderes { display: flex; gap: 8px; margin-left: auto; }
.aj-poder { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; border: 1px solid var(--g-line); background: #fff; cursor: pointer; box-shadow: 0 3px 0 var(--g-line); padding: 3px; }
.aj-poder img { width: 100%; height: 100%; object-fit: contain; }
.aj-poder em { position: absolute; right: -6px; bottom: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--g-navy); color: #fff; font-style: normal; font-size: 11px; font-weight: 900; display: grid; place-items: center; padding: 0 4px; }
.aj-poder:disabled { filter: grayscale(1); opacity: .45; cursor: not-allowed; }
.aj-doble { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--g-gold-grad); color: var(--g-navy); font-weight: 900; font-size: 13px; }
.aj-pista { position: relative; flex: 1; min-width: 240px; display: grid; gap: 6px; padding: 10px 44px 10px 10px; border-radius: 16px; background: repeating-linear-gradient(90deg, #f1f5fd 0 18px, #fff 18px 36px); border: 1px solid var(--g-line); }
.aj-carril { position: relative; height: 44px; border-bottom: 2px dashed var(--g-line); }
.aj-carril em { position: absolute; left: 0; bottom: -1px; font-style: normal; font-size: 11px; font-weight: 900; color: var(--g-muted); }
.aj-corredor { position: absolute; top: 0; left: calc(var(--p) - (var(--p) / 100 * 40px)); transition: left .6s cubic-bezier(.2, .8, .2, 1); }
.aj-corredor .ga-avatar { --s: 36px; }
.aj-fantasma { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ece7ff; font-size: 22px; opacity: .85; }
.aj-meta { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.aj-meta .gi { width: 34px; height: 34px; }
.aj-boss { flex: 1; display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 16px; background: var(--g-navy-grad); color: #fff; }
.aj-boss .em { font-size: 36px; }
.aj-boss .gi { width: 46px; height: 46px; }
.aj-boss > div { flex: 1; }
.aj-boss .ar-barra { background: rgba(255, 255, 255, .2); height: 14px; box-shadow: none; }
.aj-intro { text-align: center; padding: clamp(24px, 5vw, 44px) 18px; background: #fff; border: 1px solid var(--g-line); border-radius: 26px; box-shadow: var(--g-sh); }
.aj-intro-em { display: inline-grid; place-items: center; width: 120px; height: 120px; margin-bottom: 12px; font-size: 64px; }
.aj-intro-em .gi { width: 120px; height: 120px; filter: drop-shadow(0 10px 16px rgba(11, 24, 70, .2)); }
.aj-regla { display: inline-block; padding: 10px 14px; border-radius: 14px; background: var(--g-soft); font-weight: 800; max-width: 560px; border: 1px solid var(--g-line); }
.aj-nota { color: #8a5a00; font-size: 14px; }
.aj-n { color: var(--g-muted); font-weight: 900; }
.aj-cat { --c: var(--g-violet); display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--c); color: #fff; font-weight: 900; font-size: 17px; }
.aj-plan { max-width: 440px; margin: 10px auto; text-align: left; padding: 12px 16px; border-radius: 16px; background: #f3f0ff; }
.aj-plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; }
.aj-plan li { display: flex; gap: 8px; align-items: center; }
.aj-plan li em { font-style: normal; display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 8px; background: var(--g-violet); color: #fff; font-weight: 900; font-size: 13px; }
.aj-espera { text-align: center; padding: 34px 16px; background: #fff; border-radius: 24px; border: 1px solid var(--g-line); box-shadow: var(--g-sh); }

/* ------------------------------------------------------------------ RESULTADO (partidas y retos) */
.aj-fin, .ar-final { text-align: center; background: #fff; border: 1px solid var(--g-line); border-radius: 28px; padding: 0 clamp(16px, 4vw, 34px) 26px; overflow: hidden; box-shadow: var(--g-sh-hi); }
.ar-final { max-width: 780px; margin: 0 auto; }
.aj-fin-top, .ar-final-top { position: relative; height: 200px; display: grid; place-items: end center; margin: 0 calc(-1 * clamp(16px, 4vw, 34px)) 12px; overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 24, 70, .1), rgba(255, 255, 255, 0) 55%, #fff), var(--ar-bgres, none) center / cover, var(--g-navy-grad); }
.aj-fin-top > img, .ar-final-top > img { position: relative; z-index: 1; animation: ar-sube .45s cubic-bezier(.2, .8, .2, 1); }
.aj-fin-top .ga-avatar, .ar-final-top .ga-avatar { position: relative; z-index: 1; }
.ar-rayos { position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; background: repeating-conic-gradient(rgba(255, 226, 122, .22) 0 10deg, transparent 10deg 20deg); animation: ar-gira 24s linear infinite; pointer-events: none; }
.aj-fin h1, .ar-final h1 { margin-top: 4px; }
.aj-estrellas { display: flex; justify-content: center; gap: 10px; margin: 6px 0 14px; }
.aj-estrellas i { font-style: normal; font-size: 46px; color: #dfe5f2; transform: scale(.6); opacity: 0; animation: ar-estrella .35s cubic-bezier(.2, 1.5, .4, 1) forwards; animation-delay: calc(var(--i) * .18s + .2s); }
.aj-estrellas i.on { color: var(--g-gold); text-shadow: 0 4px 0 var(--g-gold-d); }
@keyframes ar-estrella { to { transform: scale(1); opacity: 1; } }
.aj-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 auto 14px; max-width: 540px; }
.aj-stats > div { padding: 12px 6px; border-radius: 18px; border: 1px solid var(--g-line); background: var(--g-soft); display: grid; justify-items: center; gap: 2px; animation: ar-sube .35s both; }
.aj-stats > div:nth-child(2) { animation-delay: .15s; } .aj-stats > div:nth-child(3) { animation-delay: .3s; } .aj-stats > div:nth-child(4) { animation-delay: .45s; }
.aj-stats .gi { width: 30px; height: 30px; }
.aj-stats b { display: block; font-size: 26px; font-weight: 900; color: var(--g-ink); line-height: 1.1; }
.aj-stats small { color: var(--g-muted); font-weight: 900; text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.aj-stats.cuatro { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
@media (max-width: 560px) { .aj-stats.cuatro { grid-template-columns: repeat(2, 1fr); } }
.aj-vs { font-size: 18px; }
.aj-nodo { margin: 10px auto; max-width: 540px; padding: 10px 14px; border-radius: 14px; background: #e9f6ff; color: #0f4a86; border: 1px solid #c4e2ff; }
.aj-premios, .aj-logros { list-style: none; padding: 0; margin: 10px auto; max-width: 540px; display: grid; gap: 8px; text-align: left; }
.aj-premios li, .aj-logros li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--g-soft); font-weight: 800; border: 1px solid var(--g-line); animation: ar-sube .35s both; animation-delay: calc(.5s + var(--i, 0) * .15s); }
.aj-logros li .gi { width: 40px; height: 40px; }
.aj-logros li .go { --s: 40px; }
.aj-logros li.lo { background: #fff8e0; border-color: #ffe08a; }
.aj-logros li.mis { background: #eef3ff; }
.aj-logros li.nivel { background: var(--g-navy-grad); color: #fff; border-color: transparent; }
.aj-logros li small { display: block; color: var(--g-muted); font-weight: 700; }
.aj-logros li.nivel small { color: #dfe8ff; }
.aj-aprende { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 640px; margin: 14px auto; text-align: left; }
.aj-aprende > div { padding: 12px 14px; border-radius: 16px; background: var(--g-ok-bg); border: 1px solid #c9ecd7; }
.aj-aprende > div:last-child { background: #f3f0ff; border-color: #e0d7ff; }
.aj-aprende p { margin: 4px 0 0; font-weight: 700; }
.aj-dims { max-width: 640px; margin: 12px auto; text-align: left; }
.aj-dims h3 { text-align: center; }
.aj-dims ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.aj-dims li { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--g-soft); }
.aj-dims li .em { font-size: 22px; text-align: center; }
.aj-dims li em { font-style: normal; font-weight: 900; font-size: 20px; width: 26px; text-align: center; }
.aj-dims li em.sube { color: var(--g-ok); } .aj-dims li em.igual { color: var(--g-royal); } .aj-dims li em.reforzar { color: #b07800; }
.aj-dims li small { color: var(--g-muted); font-weight: 800; }
.aj-sig { display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 14px auto 0; padding: 14px 16px; border-radius: 18px; background: var(--g-navy-grad); color: #fff; text-align: left; }
.aj-sig .gi { width: 58px; height: 58px; }
.aj-sig div { flex: 1; }
body.arena .aj-sig .kick { color: var(--g-gold2); margin: 0; }
.aj-sig b { font-size: 17px; }
@media (max-width: 560px) { .aj-aprende { grid-template-columns: 1fr; } .aj-estrellas i { font-size: 38px; } .aj-stats b { font-size: 22px; } .aj-sig { flex-wrap: wrap; justify-content: center; text-align: center; } .aj-sig .ar-btn { width: 100%; } }

/* ------------------------------------------------------------------ RETOS y DUELO */
.ar-reto-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ar-reto-fila { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 16px; border: 1px solid var(--g-line); background: #fff; }
.ar-reto-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: var(--g-ink); }
.ar-reto-em { font-size: 26px; flex: none; }
.ar-reto-em .gi { width: 34px; height: 34px; }
.ar-reto-av { display: flex; flex: none; }
.ar-reto-av .ga-avatar { --s: 36px; margin: 0 -8px 0 0; }
.ar-reto-txt { min-width: 0; margin-left: 10px; }
.ar-reto-txt b, .ar-reto-txt small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-reto-txt small { color: var(--g-muted); }
.ar-reto-acc { display: flex; gap: 6px; flex: none; }
.ar-copa .gi { width: 30px; height: 30px; }
@media (max-width: 520px) { .ar-reto-fila { flex-wrap: wrap; } .ar-reto-acc { width: 100%; } .ar-reto-acc .ar-btn { flex: 1; } }
.ar-nuevo fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.ar-nuevo legend { font-weight: 900; margin-bottom: 8px; font-size: 16px; }
.ar-nuevo legend small { font-weight: 800; color: var(--g-muted); margin-left: 6px; }
.ar-tipos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.ar-tipo { position: relative; cursor: pointer; }
.ar-tipo input { position: absolute; opacity: 0; }
.ar-tipo > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px; border-radius: 16px; border: 1px solid var(--g-line); background: #fff; box-shadow: 0 3px 0 var(--g-line); }
.ar-tipo i { font-style: normal; font-size: 26px; }
.ar-tipo small { color: var(--g-ink2); font-size: 12px; }
.ar-tipo input:checked + span { border-color: var(--g-royal); background: #edf3ff; box-shadow: 0 3px 0 #a9c2f7, inset 0 0 0 1px var(--g-royal); }
.ar-tipo input:focus-visible + span { outline: 3px solid var(--g-sky); }
.ar-comps { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 380px; overflow: auto; padding: 2px; }
.ar-comp { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 16px; border: 1px solid var(--g-line); background: #fff; cursor: pointer; text-align: center; font-weight: 800; color: var(--g-ink); font-family: inherit; }
.ar-comp small { color: var(--g-muted); font-size: 12px; display: flex; align-items: center; gap: 5px; }
.ar-comp em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 11px; font-weight: 900; color: #fff; background: var(--g-royal); border-radius: 999px; padding: 1px 7px; }
.ar-comp em:empty { display: none; }
.ar-comp.sel { border-color: var(--g-royal); background: #edf3ff; box-shadow: inset 0 0 0 1px var(--g-royal); }
.ar-nuevo-pie { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ar-nuevo-pie .hint { flex: 1; min-width: 220px; margin: 0; }
.ar-torneos { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ar-torneos li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--g-soft); }
.ar-torneos li > div { flex: 1; }
.ar-torneos .gi { width: 40px; height: 40px; }
.ar-torneos small { display: block; color: var(--g-muted); }
/* VS: los dos jugadores con el mismo peso visual */
.ar-vsbar { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; padding: 12px 16px 14px; border-radius: 24px; color: #fff; overflow: hidden; isolation: isolate; margin-bottom: 14px;
  background: linear-gradient(180deg, rgba(11, 24, 70, .45), rgba(11, 24, 70, .85)), var(--ar-bgduelo, none) center / cover, var(--g-navy-grad); box-shadow: var(--g-sh-hi); }
.ar-vsbar .lado { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; text-align: center; }
.ar-vsbar .lado b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; color: #fff; }
.ar-vsbar .lado small { color: #cfdcff; font-size: 12px; }
.ar-vsbar .lado .marcador { margin-top: 2px; padding: 2px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-weight: 900; font-size: 15px; }
.ar-vsbar .lado.yo .marcador { background: var(--g-gold-grad); color: var(--g-navy); }
.ar-vsbar .vs .gi { width: 78px; height: 78px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
.ar-vsbar .estado { grid-column: 1 / -1; text-align: center; font-size: 13px; color: #dfe8ff; }
@media (max-width: 520px) { .ar-vsbar { padding: 10px 8px; gap: 4px; } .ar-vsbar .vs .gi { width: 50px; height: 50px; } .ar-vsbar .lado b { font-size: 14px; } .ar-vsbar .ga-lg { --s: 72px; } }
.ar-vsbar.multi { grid-template-columns: 1fr; }
.ar-vsbar.multi .lados { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.ar-invita { text-align: center; max-width: 640px; margin: 10px auto; padding: 0 0 26px; overflow: hidden; }
.ar-invita .ar-vsbar { border-radius: 0; margin: 0 0 16px; }
.ar-invita h1 { margin-top: 6px; }
.ar-invita-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 16px; }
.ar-vs-fila { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 14px 0; }
.ar-vs-fila > span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ar-vs-fila small { color: var(--g-muted); }
.ar-duelo-cab { text-align: center; margin-bottom: 12px; }
.ar-tabla { list-style: none; padding: 0; margin: 14px auto; max-width: 580px; display: grid; gap: 8px; text-align: left; }
.ar-tabla li, .ar-rank li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--g-line); min-height: 60px; }
.ar-tabla li.yo, .ar-rank li.yo { border-color: var(--g-gold); background: linear-gradient(90deg, #fff8e0, #fff); box-shadow: 0 0 0 3px rgba(255, 194, 26, .18); }
.ar-tabla .pos, .ar-rank .pos { min-width: 34px; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: var(--g-muted); }
.ar-tabla .pos .gi, .ar-rank .pos .gi { width: 30px; height: 30px; }
.ar-tabla b, .ar-rank b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ar-tabla b small, .ar-rank b small { display: block; color: var(--g-muted); font-size: 12px; font-weight: 800; }
.ar-tabla .pts { font-weight: 900; color: var(--g-ink); white-space: nowrap; }
.ar-final-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
/* sala en vivo */
.ar-vivo-cab { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 12px; border-radius: 18px; background: var(--g-navy-grad); color: #fff; box-shadow: var(--g-sh); }
.ar-vivo-cab .em { font-size: 28px; }
.ar-vivo-cab .gi { width: 40px; height: 40px; }
.ar-vivo-cab > div { flex: 1; min-width: 0; }
.ar-vivo-cab b { color: #fff; }
.ar-vivo-cab small { display: block; color: #cfdcff; }
.ar-vivo-cab .en-vivo { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: var(--g-no); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; margin-left: 6px; }
.ar-vivo-cab .en-vivo::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ar-late2 .8s infinite alternate; }
.ar-red { position: fixed; z-index: 85; left: 50%; top: calc(var(--ar-top) + 12px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--g-navy); color: #fff; font-weight: 900; box-shadow: var(--g-sh-hi); }
.ar-red .ar-loader { width: 24px; height: 24px; }
.ar-red .ar-loader::before { border-width: 3px; }
.ar-red .ar-loader::after { display: none; }
.ar-red button { border: 0; border-radius: 999px; padding: 6px 14px; background: var(--g-gold); color: var(--g-navy); font-weight: 900; cursor: pointer; font-family: inherit; }
.ar-red.ok { background: var(--g-ok); }
.ar-vivo-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 14px; align-items: start; }
@media (max-width: 900px) { .ar-vivo-grid2 { grid-template-columns: minmax(0, 1fr); } .ar-vivo-lado { order: 2; position: static !important; } }
.ar-vivo-lado { background: #fff; border: 1px solid var(--g-line); border-radius: 20px; padding: 14px; position: sticky; top: calc(var(--ar-top) + 12px); box-shadow: var(--g-sh); }
.ar-vivo-lado h2 { font-size: 16px; }
.ar-vivo-jug, .ar-sala-rank { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.ar-vivo-jug li, .ar-sala-rank li { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 12px; background: var(--g-soft); border: 1px solid transparent; transition: background .25s; min-height: 48px; }
.ar-vivo-jug li .ga-avatar, .ar-sala-rank li .ga-avatar { --s: 34px; }
.ar-vivo-jug b, .ar-sala-rank b { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-vivo-jug b small { display: block; font-size: 11px; color: var(--g-muted); }
.ar-vivo-jug em, .ar-sala-rank em { font-style: normal; font-weight: 900; color: var(--g-ink); }
.ar-vivo-jug .pos, .ar-sala-rank .pos { min-width: 18px; font-weight: 900; color: var(--g-muted); font-size: 13px; }
.ar-vivo-jug li.yo { border-color: var(--g-gold); background: #fff8e0; }
.ar-vivo-jug li.off, .ar-sala-rank li.off { opacity: .55; }
.ar-vivo-jug li.ok { background: var(--g-ok-bg); }
.ar-vivo-jug li.no { background: #fff4f5; }
.ar-vivo-jug li.eq1 { box-shadow: inset 4px 0 0 var(--g-royal); }
.ar-vivo-jug li.eq2 { box-shadow: inset 4px 0 0 var(--g-gold); }
/* estados del jugador: punto/ícono + texto (no solo color ni emoji) */
.ar-estado { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; white-space: nowrap; font-style: normal; }
.ar-estado::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.ar-estado.conectado { background: #e3f7ea; color: #13804a; }
.ar-estado.listo { background: var(--g-gold); color: var(--g-navy); }
.ar-estado.listo::before { content: '✓'; width: auto; height: auto; background: none; font-size: 11px; }
.ar-estado.esperando { background: #eef1f7; color: #5f6c8f; }
.ar-estado.esperando::before { border: 2px solid currentColor; border-top-color: transparent; background: none; width: 9px; height: 9px; animation: ar-gira 1s linear infinite; }
.ar-estado.desconectado { background: #fdecef; color: #9b1c2e; }
.ar-burbuja { position: absolute; left: 22px; top: -14px; width: 30px; height: 30px; animation: ar-burbuja 1.4s ease-out forwards; pointer-events: none; }
.ar-burbuja img { width: 100%; height: 100%; object-fit: contain; }
.ar-burbuja.fija { animation: none; opacity: .9; }
@keyframes ar-burbuja { 0% { transform: translateY(8px) scale(.5); opacity: 0; } 25% { transform: translateY(0) scale(1.2); opacity: 1; } 100% { transform: translateY(-12px) scale(1); opacity: .9; } }
.ar-mini-pista { display: block; width: 70px; height: 8px; border-radius: 4px; background: #dde4f3; overflow: hidden; }
.ar-mini-pista i { display: block; height: 100%; background: var(--g-gold-grad); transition: width .5s; }
.ar-reacciones { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-reacciones button { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--g-line); background: #fff; cursor: pointer; padding: 4px; font-size: 20px; }
.ar-reacciones button img { width: 100%; height: 100%; object-fit: contain; }
.ar-reacciones button:active { transform: scale(.92); }
.ar-reacciones button:disabled { opacity: .4; }
.ar-lobby { text-align: center; padding: 22px 16px 26px; background: #fff; border: 1px solid var(--g-line); border-radius: 24px; box-shadow: var(--g-sh); }
.ar-lobby h1 { font-size: 26px; }
.ar-lobby-jug { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 10px 0 16px; }
.ar-lobby-jug > div { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 110px; }
.ar-lobby-jug b { font-size: 14px; }
.ar-cuenta { display: grid; place-items: center; min-height: 320px; text-align: center; }
.ar-cuenta b { font-size: clamp(96px, 20vw, 150px); font-weight: 900; line-height: 1; background: var(--g-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 rgba(11, 24, 70, .2)); }
.ar-cuenta b.tic { animation: ar-cuenta .5s ease-out; }
.ar-cuenta small { display: block; font-size: 20px; color: var(--g-ink2); }
@keyframes ar-cuenta { 0% { transform: scale(1.3); opacity: .3; } 100% { transform: scale(1); opacity: 1; } }
.ar-vivo-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ar-vivo-estado { margin: 12px 0 0 !important; text-align: center; font-weight: 900; color: var(--g-ink2); }
.ar-vivo-estado small { display: block; color: var(--g-muted); font-weight: 800; }
.ar-torre-meta { margin-bottom: 12px; padding: 10px 14px; border-radius: 14px; background: #fff8e0; }

/* ------------------------------------------------------------------ RANKING */
.ar-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 14px; scrollbar-width: thin; }
.ar-tabs a, .ar-tabs button { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 14px; border: 1px solid var(--g-line); background: #fff; color: var(--g-ink2); text-decoration: none; font-weight: 900; font-size: 14px; white-space: nowrap; cursor: pointer; min-height: 42px; font-family: inherit; }
.ar-tabs a.on, .ar-tabs button.on, .ar-tabs button[aria-selected="true"] { background: var(--g-navy-grad); border-color: var(--g-navy); color: #fff; box-shadow: 0 4px 12px rgba(20, 42, 120, .25); }
.ar-tabs .gi { width: 22px; height: 22px; }
.ar-tabs em { font-style: normal; padding: 0 7px; border-radius: 999px; background: var(--g-gold); color: var(--g-navy); font-size: 12px; }
.ar-tabs.ancla { position: sticky; top: var(--ar-top); z-index: 10; background: rgba(238, 243, 252, .96); backdrop-filter: blur(6px); padding-top: 8px; }
.ar-rank { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.ar-rank li em { font-style: normal; font-weight: 900; font-size: 17px; color: var(--g-ink); min-width: 48px; text-align: right; }
.ar-rank li em small { display: block; font-size: 10px; color: var(--g-muted); text-transform: uppercase; }
.ar-rank li.zona { border-color: #bfe9cf; }
.ar-rank li.zona .pos::after { content: '▲'; display: block; font-size: 10px; color: var(--g-ok); line-height: 1; }
.ar-rank li.sep { justify-content: center; border: 0; background: none; color: var(--g-muted); min-height: 0; }
.ar-rank li.yo-no { font-weight: 800; justify-content: center; text-align: center; }
.ar-rank .gl img { width: 30px; height: 30px; }
.ar-rank li.mio { position: sticky; bottom: 12px; z-index: 5; }
@media (max-width: 900px) { .ar-rank li.mio { bottom: calc(var(--ar-bottom) + var(--ar-safe-b) + 10px); } }
.ar-rank.copa li { flex-wrap: wrap; }
.ar-copa-det { display: flex; gap: 8px; }
.ar-copa-det small { padding: 2px 8px; border-radius: 999px; background: var(--g-soft); font-size: 12px; }
.ar-podio { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 10px; max-width: 600px; margin: 48px auto 18px; text-align: center; }
.ar-podio > div { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 0; min-width: 0; }
.ar-podio > div b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-podio > div small { font-weight: 900; color: var(--g-ink2); }
.ar-podio .peldano { width: 100%; margin-top: 6px; border-radius: 16px 16px 6px 6px; display: grid; place-items: center; font-size: 26px; font-weight: 900; color: #fff; box-shadow: var(--g-sh); }
.ar-podio .p1 .peldano { height: 92px; background: var(--g-gold-grad); color: var(--g-navy); }
.ar-podio .p2 .peldano { height: 68px; background: linear-gradient(180deg, #e7ecf6, #b8c3d9); color: var(--g-ink); }
.ar-podio .p3 .peldano { height: 52px; background: linear-gradient(180deg, #f3cfa9, #c98a4d); }
.ar-podio .corona { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); z-index: 3; }
.ar-podio .corona .gi { width: 48px; height: 48px; filter: drop-shadow(0 4px 6px rgba(209, 143, 0, .4)); }
.ar-podio .yo b { color: var(--g-royal); }
@media (max-width: 420px) { .ar-podio { gap: 4px; } .ar-podio .ga-lg { --s: 60px; } .ar-podio .ga-md { --s: 48px; } }
.ar-liga-cab { --c: var(--g-royal); display: flex; gap: 18px; align-items: center; padding: 18px 20px; margin-bottom: 16px; border-radius: 24px; color: #fff; isolation: isolate; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(11, 24, 70, .92), rgba(11, 24, 70, .6)), var(--ar-bgimg, none) center / cover, var(--g-navy-grad); box-shadow: var(--g-sh-hi); }
.ar-liga-cab .gl img { width: 104px; height: 104px; }
body.arena .ar-liga-cab .kick { color: var(--g-gold2); }
.ar-liga-cab h2 { color: #fff; font-size: 24px; }
.ar-liga-cab p { color: #dfe8ff; }
.ar-ligas-esc { display: flex; gap: 6px; flex-wrap: wrap; }
.ar-ligas-esc span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); opacity: .5; }
.ar-ligas-esc span img { width: 38px; height: 38px; object-fit: contain; }
.ar-ligas-esc span.pasada { opacity: .85; }
.ar-ligas-esc span.on { opacity: 1; background: rgba(255, 255, 255, .2); box-shadow: 0 0 0 2px var(--g-gold); }
@media (max-width: 560px) { .ar-liga-cab { flex-direction: column; text-align: center; } .ar-ligas-esc { justify-content: center; } }

/* ------------------------------------------------------------------ COLECCIÓN */
.ar-cofres { display: flex; gap: 14px; flex-wrap: wrap; }
.ar-cofre { --c: var(--g-gold); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; width: 180px; border-radius: 22px; background: radial-gradient(circle at 50% 30%, #fff 0, color-mix(in srgb, var(--c) 18%, #fff) 70%); border: 1px solid color-mix(in srgb, var(--c) 40%, #fff); text-align: center; box-shadow: var(--g-sh); }
.ar-cofre .go { --s: 110px; }
.ar-cofre.abriendo .go { animation: ar-temblor .25s infinite; }
.ar-cofre.abierto .go { transform: scale(1.1); }
.ar-objs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ar-obj { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px 14px; border-radius: 20px; border: 1px solid var(--g-line); background: #fff; text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s; box-shadow: var(--g-sh); font: inherit; color: var(--g-ink); width: 100%; height: 100%; }
.ar-obj:hover { transform: translateY(-2px); box-shadow: var(--g-sh-hi); }
.ar-obj-vista { position: relative; display: grid; place-items: center; height: 136px; width: 100%; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #fff, #e9effb); overflow: hidden; }
.ar-obj-vista > img { max-height: 124px; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(11, 24, 70, .2)); }
.ar-obj-vista .ar-fondo-mini { position: absolute; inset: 0; border-radius: 0; }
.ar-obj b { font-size: 14px; line-height: 1.2; }
.ar-obj small { color: var(--g-muted); font-size: 12px; line-height: 1.25; }
.ar-obj.r-raro { border-color: #b9d6ff; } .ar-obj.r-epico { border-color: #d6c9ff; } .ar-obj.r-legendario { border-color: #ffd977; background: linear-gradient(180deg, #fffaea, #fff); } .ar-obj.r-especial { border-color: #a9e7e2; }
.ar-obj.equipado { border: 2px solid var(--g-gold); box-shadow: 0 0 0 4px rgba(255, 194, 26, .2), var(--g-sh); }
.ar-obj.equipado::before { content: 'En uso'; position: absolute; top: 8px; left: 8px; z-index: 2; padding: 1px 8px; border-radius: 999px; background: var(--g-gold); color: var(--g-navy); font-size: 11px; font-weight: 900; }
.ar-obj.bloq .ar-obj-vista > img { filter: brightness(0) saturate(0) opacity(.22); }
.ar-obj.bloq .ar-fondo-mini { filter: blur(6px) grayscale(.8) brightness(.8); }
.ar-obj-lock { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--g-sh); z-index: 2; }
.ar-obj-lock .gi { width: 34px; height: 34px; }
.ar-obj-est { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 900; color: var(--g-ink2); padding: 5px 10px; border-radius: 10px; background: var(--g-soft); margin-top: auto; }
.ar-obj-est .gi { width: 18px; height: 18px; }
.ar-obj-est.precio { background: #fff6d8; color: #6a4500; }
.ar-obj-est.puede { background: var(--g-gold-grad); color: var(--g-navy); }
.ar-obj.proximamente { cursor: default; border-style: dashed; }
.ar-obj.proximamente .ar-obj-vista { background: repeating-linear-gradient(45deg, #f4f7fe 0 12px, #eaf0fc 12px 24px); }
.ar-obj.proximamente .ar-obj-vista b { font-size: 44px; color: #c3cde3; }
.ar-fondo-mini { display: block; width: 100%; height: 100%; border-radius: 12px; background-size: cover; background-position: center; }
.ar-titulo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--g-navy-grad); color: #fff; font-weight: 900; font-size: 13px; }
.ar-titulo-chip::before { content: ''; width: 9px; height: 9px; transform: rotate(45deg); background: var(--g-gold); border-radius: 2px; }
.ar-obj.bloq .ar-titulo-chip { background: #dfe5f2; color: #8a94ad; }
.ar-insignias-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px; }
.ar-insignias-grid li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 12px 8px; border-radius: 18px; background: #fff; border: 1px solid var(--g-line); }
.ar-insignias-grid small { color: var(--g-muted); font-size: 12px; }
.ar-insignias-grid li.bloq b { color: var(--g-muted); }
.ar-insignias-grid li.tiene { background: linear-gradient(180deg, #fffaea, #fff); border-color: #ffe08a; }
/* vista previa */
.ar-prev .ar-dlg-in { padding: 0 0 22px; }
.ar-prev-vista { position: relative; height: 300px; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 62%), var(--g-navy-grad); background-size: cover; background-position: center; margin-bottom: 12px; overflow: hidden; }
.ar-prev-vista > img { max-height: 270px; max-width: 86%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .3)); }
.ar-prev-vista.bloq > img { filter: brightness(0) saturate(0) opacity(.35); }
.ar-prev-vista.fondo > img { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; filter: none; }
.ar-prev-vista.fondo.bloq > img { filter: blur(8px) grayscale(.8); }
.ar-prev h2 { margin: 6px 0 4px !important; }
.ar-prev p { padding: 0 22px; color: var(--g-ink2); }
.ar-prev .ar-prev-btns { display: flex; gap: 10px; justify-content: center; padding: 0 22px; flex-wrap: wrap; }
.ar-premios { list-style: none; padding: 0; margin: 14px 0; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ar-premios li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 130px; animation: ar-premio .45s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--i) * .25s); }
.ar-premios .em { --c: var(--g-gold); display: grid; place-items: center; width: 92px; height: 92px; border-radius: 26px; font-size: 48px; background: radial-gradient(circle at 30% 25%, #fff, color-mix(in srgb, var(--c) 40%, #fff)); }
.ar-premios .em img { width: 100%; height: 100%; object-fit: contain; }
@keyframes ar-premio { from { transform: scale(0) rotate(-15deg); opacity: 0; } }

/* ------------------------------------------------------------------ PERFIL */
.ar-perfil-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(12px, 3vw, 34px); align-items: center; padding: clamp(14px, 3vw, 28px) clamp(18px, 3vw, 34px); border-radius: 28px; color: #fff; overflow: hidden; isolation: isolate; margin-bottom: 16px; box-shadow: var(--g-sh-hi); background-size: cover; background-position: center; }
.ar-perfil-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 24, 70, .1), rgba(11, 24, 70, .6) 45%, rgba(11, 24, 70, .88)); }
.ar-perfil-av { position: relative; justify-self: center; }
.ar-perfil-txt { min-width: 0; padding: clamp(16px, 2.4vw, 24px); border-radius: 24px; background: rgba(11, 24, 70, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .14); }
.ar-perfil-txt h1 { color: #fff; }
.ar-perfil-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; color: #dfe8ff; }
.ar-perfil-sub .gl { background: rgba(255, 255, 255, .95); padding: 3px 10px 3px 4px; border-radius: 12px; color: var(--g-ink); }
.ar-perfil-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 900px) { .ar-perfil-card { grid-template-columns: 1fr; text-align: center; } .ar-perfil-card::after { background: linear-gradient(180deg, rgba(11, 24, 70, .05), rgba(11, 24, 70, .6) 40%, rgba(11, 24, 70, .9)); } .ar-perfil-sub, .ar-perfil-btns { justify-content: center; } .ar-perfil-card .ar-hero-xp { margin: 0 auto 6px; } }
.ar-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.ar-stats-grid > div { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--g-line); box-shadow: var(--g-sh); }
.ar-stats-grid .gi, .ar-stats-grid .em { grid-row: span 2; width: 40px; height: 40px; font-size: 28px; text-align: center; line-height: 40px; }
.ar-stats-grid b { font-size: 22px; font-weight: 900; line-height: 1.1; }
.ar-stats-grid small { color: var(--g-muted); font-size: 12px; font-weight: 900; }
@media (max-width: 760px) { .ar-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ar-leyenda-dims { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; font-size: 13px; color: var(--g-ink2); font-weight: 800; }
.ar-leyenda-dims span { display: inline-flex; align-items: center; gap: 6px; }
.ar-leyenda-dims i { width: 22px; height: 10px; border-radius: 5px; }
.ar-leyenda-dims .ent i { background: linear-gradient(90deg, #7fb0ff, var(--g-royal)); }
.ar-leyenda-dims .vie i { background: var(--g-gold-grad); }
.ar-poderes-det { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.ar-pd { padding: 14px; border-radius: 18px; border: 1px solid var(--g-line); background: #fff; }
.ar-pd.prio { border-color: #ffd977; background: linear-gradient(180deg, #fffaea, #fff); }
.ar-pd header { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.ar-pd header .em { font-size: 28px; width: 36px; text-align: center; }
.ar-pd header > div { flex: 1; min-width: 0; }
.ar-pd h3 { margin: 0 !important; font-size: 16px !important; }
.ar-pd header small { color: var(--g-muted); }
.ar-pd p { font-size: 14px; color: var(--g-ink2); }
.ar-pd-barras { display: grid; gap: 6px; }
.ar-pd-barra { display: grid; grid-template-columns: 96px 1fr 58px; gap: 8px; align-items: center; font-size: 12px; font-weight: 900; color: var(--g-ink2); }
.ar-pd-barra .ar-barra { margin: 0; height: 10px; }
.ar-pd-barra.ent .ar-barra i { background: linear-gradient(90deg, #7fb0ff, var(--g-royal)); }
.ar-pd-barra.vie .ar-barra i { background: var(--g-gold-grad); }
.ar-pd-barra b { text-align: right; color: var(--g-ink); }
.ar-pd-barra b.sin { color: var(--g-muted); font-size: 11px; }
.ar-pd-pie { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--g-muted); font-weight: 800; flex-wrap: wrap; }
.ar-pd-meta { margin: 8px 0 0; font-size: 13px; color: var(--g-ink, #243055); }
.ar-transfer { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--g-ok-bg); color: #11502d; font-weight: 800; }
.ar-hist { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ar-hist li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--g-soft); }
.ar-hist li > div { flex: 1; min-width: 0; }
.ar-hist small { display: block; color: var(--g-muted); }
.ar-hist .em { font-size: 24px; }
.ar-hist .gi { width: 36px; height: 36px; }
.ar-temps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ar-temps li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; border-radius: 14px; background: var(--g-soft); }
.ar-temps b { font-size: 20px; }
.ar-equipado { display: flex; gap: 12px; flex-wrap: wrap; }
.ar-equipado a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border-radius: 16px; border: 1px solid var(--g-line); text-decoration: none; color: var(--g-ink); width: 124px; text-align: center; font-size: 12px; background: #fff; }
.ar-equipado .ar-eq-v { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 12px; overflow: hidden; background: var(--g-soft); background-size: cover; background-position: center; }
.ar-equipado .ar-eq-v img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ar-equipado small { color: var(--g-muted); font-weight: 900; text-transform: uppercase; font-size: 10px; }

/* ------------------------------------------------------------------ MUNDO (mapa de aventura) */
.ar-mundo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ar-isla { --c: var(--g-royal); position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 176px; padding: 16px; border-radius: 22px; color: #fff !important; text-decoration: none; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(11, 24, 70, .0), rgba(11, 24, 70, .8)), linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #fff), color-mix(in srgb, var(--c) 45%, #0b1846)); box-shadow: var(--g-sh); transition: transform .15s; }
a.ar-isla:hover { transform: translateY(-3px); }
.ar-isla .em { font-size: 46px; line-height: 1; }
.ar-isla small { color: #e4ecff; font-weight: 800; }
.ar-isla b { font-size: 18px; line-height: 1.15; color: #fff; }
.ar-isla .ar-mini-pista { width: 100%; height: 8px; margin-top: auto; background: rgba(255, 255, 255, .25); }
.ar-isla .estado { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; }
.ar-isla.actual { outline: 4px solid var(--g-gold); outline-offset: 3px; }
.ar-isla.actual .ahora { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 999px; background: var(--g-gold); color: var(--g-navy); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.ar-isla.proximo { filter: grayscale(.9); opacity: .6; }
.ar-cap-cab { --c: var(--g-royal); position: relative; padding: clamp(18px, 3vw, 30px); border-radius: 26px; color: #fff; background: linear-gradient(90deg, rgba(11, 24, 70, .9), rgba(11, 24, 70, .5)), var(--ar-bgcamino, none) center / cover, var(--g-navy-grad); box-shadow: var(--g-sh-hi); }
.ar-cap-cab h1 { color: #fff; }
body.arena .ar-cap-cab .kick { color: var(--g-gold2); }
.ar-cap-cab p { color: #dfe8ff; max-width: 560px; }
.ar-cap-cab .ar-barra { background: rgba(255, 255, 255, .2); max-width: 460px; box-shadow: none; }
.ar-cap-cab .ar-barra i { background: var(--g-gold-grad); }
.ar-cap-cab small { color: #dfe8ff; }
.ar-cap-em { position: absolute; right: clamp(14px, 4vw, 34px); top: 50%; transform: translateY(-50%); font-size: clamp(56px, 11vw, 100px); opacity: .95; }
.ar-volver { color: #fff !important; font-weight: 900; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; min-height: 36px; }
@media (max-width: 560px) { .ar-cap-em { position: static; transform: none; display: block; font-size: 52px; } }
/* el mapa: un camino serpenteante sobre el mundo, de arriba (inicio) hacia abajo (guardián y cofre) */
.ar-mapa { position: relative; margin: 16px auto 0; max-width: 820px; border-radius: 28px; overflow: hidden; box-shadow: var(--g-sh-hi);
  background: linear-gradient(180deg, rgba(11, 24, 70, .3), rgba(11, 24, 70, .08) 30%, rgba(11, 24, 70, .35)), var(--ar-bgcamino, none) center / cover, #13306e; }
.ar-mapa-camino { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ar-mapa-camino path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ar-mapa-camino path.sombra { stroke: rgba(11, 24, 70, .35); stroke-width: 16; }
.ar-mapa-camino path.base { stroke: rgba(255, 255, 255, .92); stroke-width: 9; }
.ar-mapa-camino path.puntos { stroke: rgba(11, 24, 70, .35); stroke-width: 3; stroke-dasharray: 2 14; }
.ar-mapa-camino path.hecho { stroke: var(--g-gold); stroke-width: 9; }
.ar-mapa ol { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.ar-mapa li { position: absolute; width: 0; height: 0; }
.ar-nodo { --m: var(--g-royal); position: absolute; left: 0; top: 0; transform: translate(-50%, -48px); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: #fff; width: 176px; }
.ar-nodo-ic { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; flex: none; border: 4px solid #fff;
  background: radial-gradient(circle at 50% 35%, #fff, #e8efff 55%, #bccdf3); box-shadow: 0 6px 0 rgba(11, 24, 70, .45), 0 10px 22px rgba(11, 24, 70, .35); transition: transform .15s; }
.ar-nodo-ic .gi { width: 58px; height: 58px; }
.ar-nodo:hover:not(:disabled) .ar-nodo-ic { transform: translateY(-3px); }
.ar-nodo:active:not(:disabled) .ar-nodo-ic { transform: translateY(4px); box-shadow: 0 2px 0 rgba(11, 24, 70, .45); }
.ar-nodo-txt { display: flex; flex-direction: column; align-items: center; padding: 4px 12px 6px; border-radius: 14px; background: rgba(11, 24, 70, .82); backdrop-filter: blur(4px); text-align: center; max-width: 176px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.ar-nodo-txt b { font-size: 13px; line-height: 1.2; color: #fff; }
.ar-nodo-txt small { font-size: 11px; color: #cfdcff; }
.ar-nodo-txt .ar-stars i { font-size: 13px; }
.ar-nodo .estado { position: absolute; right: -6px; bottom: -6px; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ar-nodo .estado .gi { width: 26px; height: 26px; }
.ar-mapa li.hecho .ar-nodo-ic { background: radial-gradient(circle at 50% 35%, #fff6cf, var(--g-gold) 75%); border-color: #fff3c4; }
.ar-mapa li.cerrado .ar-nodo { cursor: not-allowed; }
.ar-mapa li.cerrado .ar-nodo-ic { background: radial-gradient(circle at 50% 35%, #eef1f7, #b9c2d6); }
.ar-mapa li.cerrado .ar-nodo-ic > .gi { opacity: .35; filter: grayscale(1); }
.ar-mapa li.siguiente .ar-nodo-ic { border-color: var(--g-gold); box-shadow: 0 0 0 6px rgba(255, 194, 26, .4), 0 6px 0 rgba(11, 24, 70, .45), 0 10px 22px rgba(11, 24, 70, .35); animation: ar-pulso 1.8s ease-in-out infinite; }
@keyframes ar-pulso { 50% { box-shadow: 0 0 0 14px rgba(255, 194, 26, .14), 0 6px 0 rgba(11, 24, 70, .45), 0 10px 22px rgba(11, 24, 70, .35); } }
.ar-mapa li.jefe .ar-nodo { transform: translate(-50%, -62px); }
.ar-mapa li.jefe .ar-nodo-ic { width: 116px; height: 116px; border-color: var(--g-gold); background: radial-gradient(circle at 50% 35%, #3a5ad6, var(--g-navy)); }
.ar-mapa li.jefe .ar-nodo-ic .gi { width: 82px; height: 82px; }
.ar-mapa li.cofre .ar-nodo-ic { background: none; border: 0; box-shadow: none; width: 104px; height: 104px; }
.ar-mapa li.cofre .ar-nodo-ic .gi { width: 104px; height: 104px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); opacity: 1; }
.ar-mapa li.cofre:not(.hecho) .ar-nodo-ic .gi { filter: grayscale(.4) brightness(.85) drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }
.ar-aqui { position: absolute; z-index: 3; left: 50%; top: -60px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; animation: ar-flota 2.2s ease-in-out infinite; pointer-events: none; }
.ar-aqui .ga-avatar { --s: 46px; }
.ar-aqui em { margin-top: 2px; font-style: normal; padding: 1px 8px; border-radius: 999px; background: var(--g-gold); color: var(--g-navy); font-size: 11px; font-weight: 900; text-transform: uppercase; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ar-boss-info { display: flex; gap: 16px; align-items: center; max-width: 820px; margin: 16px auto 0; }
.ar-boss-info .em { font-size: 60px; }
.ar-boss-info .gi { width: 72px; height: 72px; }
.ar-mapa-leyenda { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; max-width: 820px; margin: 12px auto 0; font-size: 13px; color: var(--g-ink2); font-weight: 800; }
.ar-mapa-leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.ar-mapa-leyenda .gi { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ MISIONES */
.ar-mis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.ar-mis { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--g-line); box-shadow: var(--g-sh); align-content: start; }
.ar-mis > .gi { grid-row: span 3; width: 54px; height: 54px; }
.ar-mis b { font-size: 16px; }
.ar-mis p { margin: 0; color: var(--g-ink2); font-size: 14px; }
.ar-mis .ar-barra { margin: 4px 0 0; }
.ar-mis-pie { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ar-mis-pie .prog { font-weight: 900; color: var(--g-ink2); font-size: 13px; }
.ar-mis.ok { border-color: #bfe9cf; }
.ar-mis.reclamar { border-color: #ffd977; box-shadow: 0 0 0 3px rgba(255, 194, 26, .18), var(--g-sh); }
.ar-mis-estado { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 900; color: var(--g-ok); }
.ar-mis-estado .gi { width: 24px; height: 24px; }
.ar-cofre-prog { display: inline-flex; align-items: center; gap: 4px; }
.ar-cofre-prog i { width: 18px; height: 8px; border-radius: 4px; background: #dde4f3; }
.ar-cofre-prog i.on { background: var(--g-gold-grad); }
.ar-cofre-prog .gi { width: 34px; height: 34px; margin-left: 4px; }
.ar-panel[hidden] { display: none !important; }

/* ------------------------------------------------------------------ diálogos, avisos, confeti, onboarding */
.ar-dlg { border: 0; padding: 0; border-radius: 26px; max-width: min(520px, calc(100vw - 24px)); width: 100%; box-shadow: 0 24px 70px rgba(11, 24, 70, .35); color: var(--g-ink); max-height: calc(100dvh - 30px); overflow: auto; }
.ar-dlg::backdrop { background: rgba(11, 24, 70, .55); backdrop-filter: blur(3px); }
.ar-dlg[open] { animation: ar-dlg .25s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes ar-dlg { from { transform: scale(.94); opacity: 0; } }
.ar-dlg-in { position: relative; padding: 22px; overflow: hidden; text-align: center; }
.ar-dlg-in header { display: flex; justify-content: space-between; align-items: center; text-align: left; }
.ar-dlg-cerrar { position: absolute; top: 10px; right: 10px; z-index: 3; }
.ar-nivel .ar-dlg-in, .ar-premio-dlg .ar-dlg-in { background: linear-gradient(180deg, #fff6d6, #fff 60%); }
.ar-nivel h2 { font-size: 34px !important; }
.ar-nivel h2 b { color: var(--g-gold-d); }
.ar-levelup-img { width: min(170px, 46vw); height: auto; display: block; margin: 0 auto 4px; position: relative; }
.ar-notifs .ar-dlg-in { text-align: left; }
.ar-notif-l { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; max-height: 60vh; overflow: auto; }
.ar-notif-l li > a, .ar-notif-l li > div { display: block; padding: 10px 12px; border-radius: 12px; background: var(--g-soft); text-decoration: none; color: var(--g-ink); }
.ar-notif-l li.nueva > a, .ar-notif-l li.nueva > div { background: #e8efff; }
.ar-notif-l small, .ar-notif-l time { display: block; font-size: 12px; color: var(--g-muted); }
.ar-toasts { position: fixed; z-index: 90; left: 50%; transform: translateX(-50%); top: calc(var(--ar-top) + 10px); display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); pointer-events: none; }
.ar-toast { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--g-line); box-shadow: var(--g-sh-hi); pointer-events: auto; animation: ar-toast .3s cubic-bezier(.2, 1.2, .4, 1); transition: opacity .3s, transform .3s; }
.ar-toast .em { font-size: 26px; }
.ar-toast .gi { width: 34px; height: 34px; }
.ar-toast b, .ar-toast small { display: block; }
.ar-toast small { color: var(--g-muted); }
.ar-toast.ok { border-color: #ffd977; }
.ar-toast.error { border-color: #f7c3cb; background: #fff8f9; }
.ar-toast.inv { border-color: #a9c2f7; }
.ar-toast.fuera { opacity: 0; transform: translateY(-10px); }
.ar-toast-btns { display: flex; gap: 6px; margin-top: 6px; }
@keyframes ar-toast { from { transform: translateY(-16px) scale(.96); opacity: 0; } }
.ar-confeti { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.ar-confeti i { position: absolute; top: -20px; left: calc(var(--x) * 1%); width: 9px; height: 13px; background: var(--c); border-radius: 3px; transform: rotate(var(--r)); animation: ar-cae 1.8s cubic-bezier(.25, .6, .4, 1) var(--d) forwards; }
@keyframes ar-cae { to { transform: translateY(105vh) rotate(calc(var(--r) + 540deg)); } }
.ar-onb .ar-dlg-in { padding: 26px 22px 18px; }
.ar-onb-paso img { display: block; margin: 0 auto 10px; }
.ar-onb-avs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 12px 0 16px; max-height: 46vh; overflow: auto; padding: 4px; }
.ar-onb-avs button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 16px; border: 1px solid var(--g-line); background: #fff; cursor: pointer; font-weight: 800; font-family: inherit; }
.ar-onb-avs button.sel { border-color: var(--g-gold); background: #fff8e0; box-shadow: inset 0 0 0 1px var(--g-gold); }
.ar-onb-avs small { font-size: 11px; }
.ar-onb-poderes { list-style: none; padding: 0; margin: 12px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; text-align: left; }
.ar-onb-poderes li { display: flex; gap: 6px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #f3f0ff; font-size: 14px; }
.ar-onb-quiz { display: grid; gap: 8px; margin: 12px 0; }
.ar-onb-quiz button { padding: 12px; border-radius: 14px; border: 2px solid var(--g-line); background: #fff; font-weight: 900; cursor: pointer; font-size: 16px; min-height: 48px; font-family: inherit; }
.ar-onb-quiz button.bien { border-color: var(--g-ok); background: var(--g-ok-bg); }
.ar-onb-quiz button.mal { border-color: var(--g-no); background: var(--g-no-bg); }
.ar-onb-fb { padding: 10px 12px; border-radius: 12px; background: #fff6d8; }
.ar-onb-mundo { font-size: 80px; display: block; }
.ar-onb-puntos { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.ar-onb-puntos i { width: 10px; height: 10px; border-radius: 50%; background: #dde4f3; transition: background .2s, width .2s; }
.ar-onb-puntos i.on { background: var(--g-gold); width: 22px; border-radius: 5px; }

/* ------------------------------------------------------------------ personal: sala en vivo, proyector, torneos, cobertura, ajustes */
.ar-sala-cab { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.ar-sala-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ar-codigo-g { font-family: 'Nunito', monospace; font-weight: 900; letter-spacing: .2em; color: var(--g-navy); background: #eef3ff; padding: 2px 12px; border-radius: 12px; }
.ar-sala-lobby { text-align: center; padding: 20px; }
.ar-sala-lobby .ar-codigo-g { font-size: clamp(36px, 8vw, 72px); display: inline-block; margin: 10px 0; }
.ar-sala-pie { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-weight: 900; }
.ar-sala-anal { display: grid; gap: 6px; }
.ar-anal-f { display: grid; grid-template-columns: 34px 1fr 48px 28px; align-items: center; gap: 8px; font-size: 13px; }
.ar-anal-f .ar-barra { margin: 0; height: 10px; }
.ar-anal-f small { color: var(--g-muted); }
.ar-sala-final { text-align: center; padding: 10px; }
body.proyector { min-height: 100vh; background: var(--g-navy-grad); color: #fff; padding: 20px; font-family: 'Nunito', system-ui, sans-serif; margin: 0; }
.ar-sala.proy { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; max-width: 1500px; margin: 0 auto; }
.ar-proy-cab { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 22px; }
.ar-proy-cab .ar-codigo-g { font-size: 34px; background: #fff; }
.ar-sala.proy [data-s-main] { background: #fff; color: var(--g-ink); border-radius: 28px; padding: 28px; min-height: 60vh; }
.ar-sala.proy .aj-q { font-size: clamp(26px, 3vw, 40px) !important; }
.ar-sala.proy .aj-op { font-size: clamp(20px, 2vw, 28px); min-height: 72px; }
.ar-sala.proy .aj-op kbd { width: 46px; height: 46px; }
.ar-sala.proy .aj-estimulo { font-size: clamp(18px, 1.6vw, 24px); max-height: none; }
.ar-proy-rank { list-style: none; padding: 16px; margin: 0; background: rgba(255, 255, 255, .12); border-radius: 24px; display: grid; gap: 8px; align-content: start; }
.ar-proy-rank li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: var(--g-ink); font-size: 18px; position: relative; }
.ar-proy-rank li b { flex: 1; }
.ar-proy-rank li em { font-style: normal; font-weight: 900; }
.ar-proy-n { font-weight: 900; color: var(--g-muted); font-size: 20px; }
@media (max-width: 1000px) { .ar-sala.proy { grid-template-columns: 1fr; } }
.ar-llave { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.ar-llave-r { flex: none; min-width: 220px; display: flex; flex-direction: column; justify-content: space-around; gap: 10px; }
.ar-llave-r h3 { text-align: center; margin: 0; }
.ar-llave-p { display: grid; gap: 2px; padding: 8px 10px; border-radius: 12px; border: 1px solid #dbe3f4; background: #fff; }
.ar-llave-p span { padding: 4px 6px; border-radius: 8px; font-weight: 800; }
.ar-llave-p span.gana { background: #e8f8ee; color: #156b3c; }
.ar-part { display: flex; flex-wrap: wrap; gap: 6px; }
.ar-part > span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #f4f7fe; font-weight: 800; font-size: 14px; }
.ar-x-mini { border: 0; background: none; color: #9b1c2e; font-size: 18px; cursor: pointer; padding: 0 2px; line-height: 1; }
.ar-campeon { font-size: 20px; padding: 10px 14px; border-radius: 14px; background: #fff6d8; display: inline-block; }
.ar-cob th small { font-weight: 800; font-size: 11px; }
.ar-cob tr.sel td { background: #f2f7ff; }
.ar-matriz td.ar-mcell { white-space: nowrap; }
.ar-matriz td.ar-mcell small { color: #6b7799; font-size: 11px; margin-right: 4px; }
.ar-matriz td.ar-mcell .tag { display: inline-block; min-width: 46px; margin: 1px 0; }
.ar-toggle { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1px solid #dbe3f4; cursor: pointer; }
.ar-toggle input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: #1f57e0; }
.ar-toggle b, .ar-toggle small { display: block; }
.ar-toggle small { color: #6b7799; font-weight: 700; }
.ar-motor { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ar-motor label { display: flex; flex-direction: column; gap: 4px; font-weight: 800; font-size: 13px; }
.ar-motor input { max-width: 90px; display: inline-block; }
.ar-seg-staff { display: grid; gap: 8px; }
.ar-seg-staff label, .ar-chk { display: flex; gap: 8px; align-items: center; font-weight: 800; cursor: pointer; }
.ar-seg-staff small { color: #6b7799; font-weight: 700; }
.ar-chk input, .ar-seg-staff input { width: 20px; height: 20px; accent-color: #1f57e0; flex: none; }
.ent-ops-rev { margin: 6px 0 10px; padding-left: 24px; }
.ent-ops-rev li { margin: 3px 0; }
.ent-ops-rev li.ok { color: #156b3c; font-weight: 900; }
.ar-dir-arena { border: 1px solid #c9d8ff; background: linear-gradient(90deg, #f3f6ff, #fff); color: inherit; }
.ar-fam-sem { padding: 10px 12px; border-radius: 12px; background: #f3f0ff; font-weight: 800; }


/* ------------------------------------------------------------------ v50.2: títulos claros sobre paneles oscuros */
body.arena :is(.ar-hero, .ar-evento, .ar-reco, .ar-liga-cab, .ar-cap-cab, .ar-perfil-card, .ar-paee, .aj-sig, .ar-guardian, .ar-vivo-cab, .ar-vsbar, .ar-isla, .aj-boss) :is(h1, h2, h3) { color: #fff; }
.ar-grid > .ar-evento { margin: 0; align-self: start; }
.ar-hero-premio span { display: flex; flex-direction: column; text-align: left; line-height: 1.25; font-weight: 900; }
.ar-hero-premio small { font-size: 11px; color: var(--g-gold2); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 520px) { .ar-btn.mega { font-size: 17px; padding: 12px 18px; letter-spacing: .02em; } }
.ar-retos-mini a > span { display: flex; flex-direction: column; min-width: 0; }
.ar-cofre-prog small { margin-left: 2px; }
/* resultado semanal del viernes */
.ar-semana-card.hoy { border: 2px solid #bfe9cf; background: linear-gradient(180deg, #f1fbf5, #fff 55%); }
.ar-semana-card { margin-top: 18px; }
.ar-semana-card.hoy { margin-top: 0; }
.ar-semana-comp { font-size: 16px; }
.ar-semana-dims div { grid-template-columns: 26px 1fr auto; }
.ar-semana-dims em { font-style: normal; font-weight: 900; white-space: nowrap; }
.ar-semana-dims em.sube { color: var(--g-ok); } .ar-semana-dims em.igual { color: var(--g-royal); } .ar-semana-dims em.reforzar { color: #a46a00; }
.ar-semana-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--g-line); }
.ar-semana-pie p { flex: 1 1 100%; margin: 0; font-size: 13px; }
.ar-semana-pie .ar-modo.ancho { width: auto; flex: 1; min-width: 220px; }
.ar-paee-pausa h2 { font-size: 17px; }

.ar-ruleta-res { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: #fff6d8; border: 1px solid #ffe08a; }
.ar-ruleta-res b { font-size: 20px; }
.ar-reco .ar-btn.mega { white-space: nowrap; }
.ar-modo.horizontal small { display: block; }

.ar-poderes-inv > div { padding-right: 48px; }
.ar-poderes-inv b { line-height: 1.2; }

/* mapa v50.2: posiciones desde el servidor; marcador «¡Aquí!» encima del nodo actual */
.ar-mapa li { list-style: none; }
.ar-mapa .ar-nodo .estado .gi { width: 26px !important; height: 26px !important; filter: none !important; opacity: 1 !important; }
.ar-mapa .ar-aqui { top: -128px; }
.ar-nodo-txt small.est { font-weight: 900; color: var(--g-gold2); }
.ar-mapa li.cerrado .ar-nodo-txt { opacity: .85; }
.ar-mapa li.cerrado small.est { color: #cfdcff; }
.ar-mapa li.cofre .ar-nodo { cursor: default; }
.ar-ley-sig { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--g-gold); box-shadow: 0 0 0 3px rgba(255, 194, 26, .3); }
.ar-isla .estado { position: absolute; top: 12px; right: 12px; }
.ar-isla.proximo { cursor: default; }
@media (max-width: 560px) { .ar-nodo { width: 140px; } .ar-nodo-txt { max-width: 140px; padding: 3px 8px 5px; } .ar-nodo-ic { width: 72px; height: 72px; } .ar-nodo-ic .gi { width: 50px; height: 50px; } .ar-mapa li.jefe .ar-nodo-ic { width: 96px; height: 96px; } .ar-mapa li.jefe .ar-nodo-ic .gi { width: 66px; height: 66px; } }

/* duelo, sala y resultado (v50.2) */
.ar-lobby-jug .ga-avatar { --s: 76px; }
.ar-lobby-jug > div { padding: 12px 10px; border-radius: 18px; background: var(--g-soft); border: 1px solid var(--g-line); }
.ar-lobby-jug > div.yo { border-color: var(--g-gold); background: #fff8e0; }
.ar-lobby-jug.vs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; max-width: 520px; margin-left: auto; margin-right: auto; }
.ar-lobby-jug.vs > div { min-width: 0; }
.ar-lobby-vs img { width: 64px; height: 64px; filter: drop-shadow(0 6px 10px rgba(11, 24, 70, .3)); }
.ar-final-top .ar-final-ic { width: 120px; height: 120px; position: relative; z-index: 1; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)); margin-bottom: 18px; }
.ar-final .ar-vsbar { margin: 10px auto 14px; max-width: 560px; }
.ar-final .aj-sig { margin-bottom: 4px; }
.aj-fin-top .ga-avatar { margin-bottom: 22px; }
.aj-logros li > div { flex: 1; min-width: 0; }
.aj-logros li .go img { width: 100%; height: 100%; }
.aj-dims li b { min-width: 0; }
.ar-invita .ar-vsbar { margin: 0 0 14px; }
.ar-red [hidden] { display: none !important; }
.ar-duelo-cab .ar-vsbar { margin-bottom: 10px; }
.ar-vivo-cab .gi { width: 40px; height: 40px; }
@media (max-width: 520px) { .ar-lobby-jug .ga-avatar { --s: 60px; } .ar-lobby-vs img { width: 44px; height: 44px; } }

/* ranking (v50.2) */
.ar-liga-cab .ar-ligas-esc .gl img { width: 38px; height: 38px; }
.ar-tabs a .gl img { width: 24px; height: 24px; }
.ar-podio .peldano { font-size: 30px; }
.ar-rank li.mio { box-shadow: 0 0 0 3px rgba(255, 194, 26, .25), var(--g-sh-hi); }

/* misiones (v50.2) */
.ar-mis > .gi { grid-row: span 3; }
.ar-mis .ar-grupo { margin: 0; }
.ar-mis-pie .ar-barra { margin: 0 0 2px; }
.ar-mis-estado.curso { color: var(--g-royal); }
.ar-mis-estado.reclamar { color: #a46a00; }
.ar-mis-estado.cerrado { color: var(--g-muted); }
.ar-mis.cerrado { opacity: .75; }
.ar-mis.cerrado > .gi { filter: grayscale(.6); }
.ar-proxima > div { flex: 1; min-width: 0; }
.ar-proxima small { display: block; color: var(--g-ink2); }
.ar-proxima .ar-cofre-prog { margin: 4px 0; }

/* colección (v50.2) */
.ar-objs > li { list-style: none; min-width: 0; }
.ar-obj .g-rar { margin-top: -2px; }
.ar-obj-vista > img { width: auto; height: 124px; }
.ar-objs.titulos .ar-obj-vista { height: 84px; }
.ar-objs.fondos .ar-obj-vista { height: 120px; }
.ar-obj.bloq .ar-obj-vista .ga-char { filter: brightness(0) saturate(0) opacity(.22); }
.ar-obj.bloq .ar-titulo-chip { background: #dfe5f2; color: #8a94ad; }
.ar-obj.bloq > b { color: var(--g-ink2); }
.ar-cofre .gi { width: 110px; height: 110px; filter: drop-shadow(0 10px 14px rgba(11, 24, 70, .25)); }
.ar-cofre.abriendo .gi { animation: ar-temblor .25s infinite; }
.ar-prev-vista .ar-obj-lock { width: 60px; height: 60px; }
.ar-prev-vista .ar-titulo-chip.grande { font-size: 22px; padding: 12px 22px; }
.ar-prev .g-rar { margin-top: 4px; }
.ar-premios .em img { width: 92px; height: 92px; }
@media (max-width: 520px) { .ar-objs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .ar-obj-vista { height: 116px; } .ar-obj-vista > img { height: 104px; } .ar-prev-vista { height: 240px; } .ar-prev-vista > img { max-height: 220px; } }

/* perfil (v50.2) */
.ar-equipado b { font-size: 12px; line-height: 1.2; }
.ar-eq-v .ar-titulo-chip { font-size: 11px; padding: 6px 9px; }
.ar-perfil-card .ga-hero { --s: 260px; }
@media (max-width: 680px) { .ar-perfil-card .ga-hero { --s: 200px; } .ar-equipado { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .ar-equipado a { width: auto; } }
.ar-pd-barra > span { white-space: nowrap; }

.ar-reto-lista > li, .ar-misiones > li { min-width: 0; }

.ar-obj.vendible .ar-obj-vista { background: radial-gradient(circle at 50% 40%, #fffdf3, #fff1c7); }
.ar-obj.vendible .ar-obj-vista > img, .ar-obj.vendible .ga-avatar { filter: saturate(.85); }

.ar-barra i[style="width:0%"] { min-width: 0; }
.ar-equipado { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.ar-equipado a { width: auto; }
.ar-equipado .ar-eq-v { width: 100%; max-width: 96px; }

.ar-semana-dims { max-width: 560px; }

@media (max-width: 520px) { .ar-final-btns .ar-btn.mega { width: 100%; } }

@media (min-width: 901px) and (max-width: 1180px) { .ar-hero .ga-hero, .ar-perfil-card .ga-hero { --s: 230px; } }

/* ------------------------------------------------------------------ menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ar-rayos, .ar-confeti, .ar-pedestal { display: none !important; }
  .aj-estrellas i, .aj-stats > div, .aj-logros li, .aj-premios li { opacity: 1; transform: none; }
  .ar-hero-av .ga-char, .ar-aqui { animation: none !important; }
  .ga-halo { display: none; }
}
@media print { .ar-top, .ar-rail, .ar-bottom, .ar-toasts { display: none !important; } .ar-main { margin: 0; } body.arena::before { display: none; } }

/* v52.3 · Confirmación del reto al elegir compañeros: «Enviar reto» o «Elegir a otro» */
.ar-reto-conf .ar-dlg-in { background: linear-gradient(180deg, #eef4ff, #fff 58%); }
.ar-reto-conf h2 { margin: 2px 0 14px; font-size: clamp(20px, 5vw, 24px); line-height: 1.2; }
.ar-rc-vs { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 4px 0 12px; }
.ar-rc-lado, .ar-rc-ellos { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 8px; min-width: 0; }
.ar-rc-lado { flex: 0 1 auto; }
.ar-rc-ellos[data-rc-rivales] { flex: 0 1 auto; max-width: 62%; }
.ar-rc-yo, .ar-rc-uno { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; }
.ar-rc-yo b, .ar-rc-uno b { font-size: 13.5px; font-weight: 900; line-height: 1.15; color: var(--g-ink); max-width: 100%; overflow-wrap: anywhere; }
.ar-rc-x { flex: none; }
.ar-rc-x { display: grid; place-items: center; }
.ar-rc-acc { display: grid; gap: 10px; margin-top: 16px; }
.ar-rc-acc .ar-btn { width: 100%; }
.ar-rc-uno small { margin-top: -4px; font-size: 11px; font-weight: 900; color: var(--g-royal); text-transform: uppercase; letter-spacing: .04em; }
[data-rc-pareja]:empty { display: none; }

/* v52.5 · «Más» en el celular: las opciones que no caben en la barra inferior */
.ar-mas-btn { display: none; }
@media (max-width: 900px) { .ar-mas-btn { display: grid; } }
.ar-mas-lista { display: grid; gap: 6px; margin-top: 12px; text-align: left; }
.ar-mas-lista a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--g-line); background: #fff; color: var(--g-ink); text-decoration: none; font-weight: 900; font-size: 16px; }
.ar-mas-lista a svg { width: 22px; height: 22px; color: var(--g-royal); flex: none; }
.ar-mas-lista a.on { background: var(--g-navy-grad); color: #fff; border-color: var(--g-navy); }
.ar-mas-lista a.on svg { color: var(--g-gold); }
.ar-mas-lista a.salir { color: var(--g-muted); }
