/* Página de entrada (propuesta). Paleta del juego, sin bordes redondeados, sin degradés y sin sombras difusas:
   las esquinas se cortan con clip-path y los botones son paralelogramos planos. */
:root {
  --rojo: #c8402d;
  --rojo-osc: #9c2315;
  --sangre: #5e130d;
  --brasa: #ff8d71;
  --rosa: #e0b2b2;
  --hueso: #f2ecec;
  --fondo: #111111;
  --oro: #ffd98a;
  --corte: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --corte-chico: polygon(
    8px 0,
    100% 0,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    0 100%,
    0 8px
  );
  --para: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  --lado: max(16px, 4vw);
}
@font-face {
  font-family: "Eromash Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fuentes/EromashText-Regular.woff2?v=04") format("woff2");
}
@font-face {
  font-family: "Eromash Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fuentes/EromashText-Medium.woff2?v=04") format("woff2");
}
@font-face {
  font-family: "Eromash Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fuentes/EromashDisplay-SemiBold.woff2?v=04") format("woff2");
}
@font-face {
  font-family: "Eromash Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fuentes/EromashDisplay-Bold.woff2?v=04") format("woff2");
}
html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
html,
body {
  margin: 0;
  background: var(--fondo);
  color: var(--hueso);
  font-family: "Eromash Text", sans-serif;
  font-synthesis: none;
}
h1,
h2,
h3,
.marca {
  font-family: "Eromash Display", sans-serif;
  font-synthesis: none;
}
h1,
.marca {
  font-weight: 700;
}
h2,
h3 {
  font-weight: 600;
}
body {
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

.ancho {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--lado);
}
.tit {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.sub {
  margin: 0 0 32px;
  color: var(--rosa);
  font-size: 18px;
  line-height: 1.55;
  max-width: 44em;
}
.eti {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brasa);
}
section {
  padding-block: 72px;
}

.saltar {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  background: var(--rojo-osc);
  padding: 12px 16px;
  font-weight: 700;
  text-decoration: none;
}
.saltar:focus {
  top: 12px;
}

/* botones */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  background: var(--rojo-osc);
  color: var(--hueso);
  border: 0;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  clip-path: var(--para);
  transition:
    background 0.15s,
    color 0.15s;
}
.boton:hover {
  background: var(--rojo);
}
.boton.secundario {
  background: var(--sangre);
  color: var(--rosa);
}
.boton.secundario:hover {
  background: var(--rojo-osc);
  color: var(--hueso);
}
.boton.grande {
  min-height: 64px;
  padding: 0 44px;
  font-size: 20px;
}
.boton.apagado {
  background: #2a1f1f;
  color: var(--rosa);
  cursor: default;
}
.boton.ancho-total {
  width: 100%;
}
.enlace {
  background: none;
  border: 0;
  padding: 8px 0;
  color: var(--rosa);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
}
.enlace:hover {
  color: var(--hueso);
}
.flecha {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--sangre);
  color: var(--hueso);
  border: 0;
  clip-path: var(--corte-chico);
}
.flecha:hover {
  background: var(--rojo-osc);
}
.flecha svg {
  width: 20px;
  height: 20px;
}

/* barra */
.barra {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 8px var(--lado);
  background: var(--fondo);
  border-bottom: 2px solid var(--sangre);
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 18px;
}
.marca svg {
  width: 30px;
  height: auto;
  flex: none;
  max-width: none;
  min-width: 30px;
}
.secciones {
  display: flex;
  gap: 20px;
  margin-left: 12px;
}
.secciones a {
  text-decoration: none;
  color: var(--rosa);
  font-weight: 700;
  font-size: 15px;
  padding-block: 10px;
}
.secciones a[href="#inversores"] {
  white-space: nowrap;
  flex: none;
}
.secciones a:hover {
  color: var(--hueso);
}
.redes-barra {
  margin-left: auto;
}
.idioma {
  background: none;
  border: 0;
  color: var(--rosa);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 4px;
  min-height: 44px;
}
.idioma:hover {
  color: var(--hueso);
}
.quieto-btn {
  background: none;
  border: 0;
  color: var(--rosa);
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 4px;
  min-height: 44px;
  line-height: 1.15;
  text-align: end;
  cursor: pointer;
}
.quieto-btn:hover {
  color: var(--hueso);
}
html.quieto .quieto-btn {
  color: var(--oro);
}
.barra .boton {
  min-height: 42px;
  padding: 0 22px;
  font-size: 15px;
}
@media (max-width: 1100px) {
  .secciones {
    display: none;
  }
}
@media (max-width: 640px) {
  .redes-barra {
    display: none;
  }
  .quieto-btn {
    margin-left: auto;
    max-width: 8.5em;
  }
  .marca span {
    display: none;
  }
}
html.quieto,
html.quieto *,
html.quieto *::before,
html.quieto *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* redes */
.redes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.red {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--sangre);
  color: var(--hueso);
  text-decoration: none;
  clip-path: var(--corte-chico);
}
.red:hover {
  background: var(--rojo-osc);
}
.red svg {
  width: 20px;
  height: 20px;
}
/* sin link todavía: queda marcado hasta que Alejandro pase la dirección */
.red.falta {
  background: none;
  outline: 2px dashed var(--sangre);
  outline-offset: -2px;
  color: var(--rosa);
  clip-path: none;
  cursor: help;
}
.redes-grandes {
  gap: 10px;
}
.redes-grandes .red {
  width: auto;
  height: 56px;
  padding: 0 20px;
  gap: 10px;
  display: flex;
  align-items: center;
  font-weight: 700;
}
.redes-grandes .red svg {
  width: 24px;
  height: 24px;
}

/* hero */
/* ---- Hero de Eromash ---- */
.eh {
  --eh-alto: calc(100vh - 72px);
  position: relative;
  height: var(--eh-alto);
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
  background: #0c0909;
  color: #f2ecec;
  font-family: "Eromash Text", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.eh *,
.eh *::before,
.eh *::after {
  box-sizing: border-box;
}
.eh-escena {
  position: absolute;
  inset: 0;
}
.eh-escena svg,
.eh-escena canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
}
.eh-velo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(12, 9, 9, 0.6) 0%, rgba(12, 9, 9, 0) 26%),
    linear-gradient(90deg, rgba(12, 9, 9, 0.94) 0%, rgba(12, 9, 9, 0.74) 27%, rgba(12, 9, 9, 0) 58%);
}
.eh-cortina {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: none;
}
.eh-cortina i {
  position: absolute;
  top: -3%;
  bottom: -3%;
  left: -30%;
  width: 160%;
  transform: translateX(130%) skewX(-16deg);
}
.eh-cortina i:nth-child(1) {
  background: #5e130d;
}
.eh-cortina i:nth-child(2) {
  background: #9c2315;
}
.eh-cortina i:nth-child(3) {
  background: #0c0909;
}
.eh-texto {
  position: absolute;
  z-index: 3;
  left: clamp(20px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  width: min(34vw, 500px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.eh-texto h1 {
  margin: 0;
  font-family: "Eromash Display", "DM Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(46px, 6.6vw, 96px);
  line-height: 0.95;
  letter-spacing: 0;
  color: #f2ecec;
}
.eh-leyenda {
  margin: 0;
  min-height: 2.4em;
  font-family: "Eromash Display", "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 2vw, 29px);
  line-height: 1.2;
  color: #ffd98a;
  text-wrap: balance;
}
.eh-leyenda.eh-entra {
  animation: eh-entra 0.26s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.eh-leyenda.eh-sale {
  opacity: 0;
  transition: opacity 0.12s;
}
@keyframes eh-entra {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.eh-desc {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.2vw, 18px);
  color: #e0b2b2;
}
.eh-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.eh-btn {
  font-family: "Eromash Display", "DM Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: #f2ecec;
  background: transparent;
  cursor: pointer;
  border: 1px solid #e0b2b2;
  border-radius: 999px;
  padding: 10px 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.eh-btn:hover {
  border-color: #f2ecec;
}
.eh-btn.eh-pri {
  background: #9c2315;
  border-color: #9c2315;
}
.eh-btn.eh-pri:hover {
  background: #c8402d;
  border-color: #c8402d;
}
.eh :focus-visible {
  outline: 2px solid #ffd98a;
  outline-offset: 3px;
}
/* flechas: el escudo del vikingo con su espada apuntando */
.eh-nav {
  position: absolute;
  z-index: 3;
  right: clamp(16px, 3vw, 40px);
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.eh-flecha {
  position: relative;
  width: 84px;
  height: 64px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}
.eh-escudo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 4px solid #c9a45a;
  background: linear-gradient(90deg, #9c2315 50%, #c8402d 50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s;
}
.eh-flecha svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84px;
  height: 28px;
  transform: translate(-50%, -50%);
  transition: transform 0.18s cubic-bezier(0.3, 1.6, 0.5, 1);
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45));
}
.eh-ant svg {
  transform: translate(-50%, -50%) scaleX(-1);
}
.eh-sig:hover svg,
.eh-sig:focus-visible svg {
  transform: translate(calc(-50% + 8px), -50%);
}
.eh-ant:hover svg,
.eh-ant:focus-visible svg {
  transform: translate(calc(-50% - 8px), -50%) scaleX(-1);
}
.eh-flecha:hover .eh-escudo {
  transform: scale(1.05);
}
.eh-flecha:active .eh-escudo {
  transform: scale(0.95);
}
/* runas: una por ilustración */
.eh-runas {
  display: flex;
  align-items: center;
}
.eh-runa {
  width: 24px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.eh-runa::before {
  content: "";
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: #e0b2b2;
  opacity: 0.5;
  transition: all 0.2s;
}
.eh-runa:hover::before {
  opacity: 0.9;
}
.eh-runa[aria-current="true"]::before {
  width: 13px;
  height: 13px;
  background: #ffd98a;
  opacity: 1;
  box-shadow: 0 0 12px rgba(255, 217, 138, 0.75);
}
/* bajar: la espada que se clava */
.eh-bajar {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 10px;
  width: 48px;
  height: 86px;
  margin-left: -24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.eh-bajar svg {
  position: absolute;
  left: 50%;
  top: 34px;
  width: 72px;
  height: 24px;
  margin: -12px 0 0 -36px;
  transform: rotate(90deg);
  animation: eh-clavar 1.9s ease-in-out infinite;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45));
}
.eh-bajar::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 4px;
  border-radius: 2px;
  background: #c9a45a;
}
@keyframes eh-clavar {
  0%,
  55%,
  100% {
    transform: translateY(-7px) rotate(90deg);
  }
  72% {
    transform: translateY(5px) rotate(90deg);
  }
  80% {
    transform: translateY(3px) rotate(90deg);
  }
}
.eh.eh-una .eh-nav {
  display: none;
}
.eh.eh-medio .eh-bajar {
  left: clamp(20px, 6vw, 96px);
  margin-left: 0;
  bottom: 6px;
  width: 44px;
  height: 66px;
}
.eh.eh-medio .eh-bajar svg {
  top: 24px;
  width: 52px;
  height: 18px;
  margin: -9px 0 0 -26px;
}
/* angosto: la ilustración arriba y el texto abajo */
.eh.eh-movil {
  --eh-alto: calc(100svh - 72px);
}
.eh.eh-movil .eh-velo {
  background: linear-gradient(
    0deg,
    rgba(12, 9, 9, 0.97) 0%,
    rgba(12, 9, 9, 0.82) 32%,
    rgba(12, 9, 9, 0) 62%
  );
}
.eh.eh-movil .eh-texto {
  left: 20px;
  right: 20px;
  top: auto;
  bottom: 24px;
  transform: none;
  width: auto;
  gap: 9px;
}
.eh.eh-movil .eh-leyenda {
  min-height: 0;
}
.eh.eh-movil .eh-acciones {
  margin-right: 56px;
}
.eh.eh-movil .eh-nav {
  left: 4px;
  right: 4px;
  top: 8px;
  bottom: auto;
  justify-content: space-between;
}
.eh.eh-movil .eh-flecha {
  width: 64px;
  height: 52px;
}
.eh.eh-movil .eh-escudo {
  width: 44px;
  height: 44px;
  border-width: 3px;
}
.eh.eh-movil .eh-flecha svg {
  width: 64px;
  height: 21px;
}
.eh.eh-movil .eh-runa {
  width: 18px;
}
.eh.eh-movil .eh-bajar {
  left: auto;
  right: 14px;
  bottom: 18px;
  margin: 0;
  width: 44px;
  height: 70px;
}
.eh.eh-movil .eh-bajar svg {
  top: 26px;
  width: 56px;
  height: 19px;
  margin: -9px 0 0 -28px;
}
@media (prefers-reduced-motion: reduce) {
  .eh-bajar svg,
  .eh-leyenda.eh-entra {
    animation: none;
  }
  .eh-flecha svg,
  .eh-escudo {
    transition: none;
  }
}
.eh-leyenda {
  white-space: pre-line;
}

/* modal de redes */
.modal-redes {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(12, 9, 9, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal-redes[hidden] {
  display: none !important;
}
.modal-redes-caja {
  width: min(520px, 100%);
  background: #0c0909;
  color: #f2ecec;
  padding: 28px 24px 24px;
  position: relative;
  clip-path: var(--corte);
}
.modal-redes-caja h2 {
  margin: 0 0 18px;
  font-family: "Eromash Display", "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 28px;
}
.modal-cerrar {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #e0b2b2;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.modal-redes .redes-grandes {
  margin-top: 0;
}

/* ficha estilo tienda */
.ficha {
  background: #0c0909;
  border-block: 2px solid var(--sangre);
  padding-block: 16px;
}
.ficha-grilla {
  display: grid;
  gap: 24px;
  width: 100%;
  padding-inline: clamp(44px, 4vw, 72px);
  box-sizing: border-box;
}
@media (min-width: 980px) {
  .ficha-grilla {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    align-items: start;
  }
}
.visor {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0707;
  clip-path: var(--corte);
  overflow: hidden;
  cursor: zoom-in;
}
.visor button,
.visor a,
.visor input,
.visor select {
  cursor: pointer;
}
body.visor-abierto {
  overflow: hidden;
}
.visor:fullscreen,
.visor:-webkit-full-screen,
.visor.ampliado {
  position: fixed;
  inset: 0;
  z-index: 10000;
  clip-path: none;
  background: #000;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  cursor: zoom-out;
}
.visor:fullscreen canvas,
.visor:fullscreen img,
.visor:fullscreen .visor-svg,
.visor:fullscreen .visor-arbol,
.visor:fullscreen .visor-inv,
.visor:-webkit-full-screen canvas,
.visor:-webkit-full-screen img,
.visor:-webkit-full-screen .visor-svg,
.visor:-webkit-full-screen .visor-arbol,
.visor:-webkit-full-screen .visor-inv,
.visor.ampliado canvas,
.visor.ampliado img,
.visor.ampliado .visor-svg,
.visor.ampliado .visor-arbol,
.visor.ampliado .visor-inv {
  width: min(100vw, calc(100vh * 16 / 9));
  height: min(100vh, calc(100vw * 9 / 16));
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.visor canvas,
.visor img,
.visor-svg,
.visor-svg svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.visor img {
  object-fit: cover;
  image-rendering: auto;
}
.visor-svg .hit {
  fill: none;
}
.visor-pie {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 10px 16px;
  background: rgba(10, 7, 7, 0.86);
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  max-width: calc(100% - 112px);
  font-size: 14px;
}
.visor.audio-abierto .visor-pie {
  max-width: calc(100% - 236px);
}
/* el árbol de habilidades, la misma ventana del juego, metida en el visor */
.visor-arbol {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #110d0d;
}
.visor-arbol .emi {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  background: #110d0d;
  animation: none;
  font-family: "Eromash Text", sans-serif;
}
.visor-arbol .emi-v {
  width: 100%;
  height: 100%;
  clip-path: none;
  background: #110d0d;
  padding: 0;
  gap: 0;
}
.visor-arbol .emi-cab,
.visor-arbol .emi-tabs,
.visor-arbol .emi-pie,
.visor-arbol .emi-hd {
  display: none;
}
.visor-arbol .emi-panel {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #110d0d;
}
.visor-arbol .emi-ha {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: #110d0d;
}
.visor-arbol .emi-ha > * {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
}
.visor-arbol .emi-ramas.emi-diag {
  height: 100%;
}
.visor-arbol .emi-grande {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 8px 14px 48px;
  overflow: hidden;
}
.visor-arbol .emi-vista {
  width: 100%;
  max-width: 100%;
  height: auto;
  flex: 1 1 0;
  min-height: 0;
}
.visor-arbol .emi-fondo {
  padding: 8px 0 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}
.visor-arbol .emi-grande .emi-vista .emi-lienzo {
  width: 100% !important;
  max-width: none;
  margin: 0;
  --fila-v: 64px;
  --banda: 34px;
}
.visor-arbol .emi-lienzo .runa-g {
  stroke: #6a5854;
}
.visor-arbol .emi-carta .tx b,
.visor-arbol .emi-carta .tx small {
  white-space: normal;
}
.visor-arbol .emi-carta .pie {
  display: none;
}
.visor-arbol .emi-carta.r1 .cabeza {
  left: 58%;
  top: 18%;
  max-width: 40%;
}
/* inventario: la misma ventana del juego, solo la pestaña de equipo.
   Se arma a 960×540 y portada.js la escala para que entre en el recuadro. */
.visor-inv {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #141111;
  overflow: hidden;
}
.visor-inv > .emi {
  position: absolute;
  inset: auto;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 960px;
  height: 540px;
  padding: 0 !important;
  background: #141111;
  animation: none;
  font-family: "Eromash Text", sans-serif;
  transform-origin: top left;
}
.visor-inv .emi-v {
  width: 100%;
  height: 100%;
  max-height: none;
  clip-path: none;
  display: flex;
  flex-direction: column;
  background: #3a2e2c;
  padding: 0;
  gap: 0;
}
.visor-inv .emi-cab,
.visor-inv .emi-tabs,
.visor-inv .emi-pie {
  display: none;
}
.visor-inv .emi-panel {
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: #141111;
}
.visor-inv .emi-eq {
  height: 100%;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) max-content minmax(280px, 320px);
}
.visor-inv .emi-eq > * {
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
.visor-inv .emi-mun {
  grid-column: auto;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: 1fr;
  padding: 12px 10px;
  gap: 8px;
}
.visor-inv .emi-tot {
  display: none;
}
.visor-inv .emi-fig svg {
  width: 100%;
  max-width: 210px;
  height: auto;
  max-height: 100%;
}
.visor-inv .emi-moch {
  width: max-content;
  max-width: none;
  padding: 12px 14px;
}
.visor-inv .emi-ords {
  flex-wrap: wrap;
}
.visor-inv .emi-det {
  padding: 12px 14px;
  overflow: hidden;
}
.visor-inv .emi-det-ic {
  width: 84px;
}
.visor-inv .emi-acc {
  margin-top: 8px;
}
.visor-inv .emi-filtro,
.visor-inv .emi-ord {
  font-size: 12px;
  padding: 5px 9px;
}
.visor-inv .brasa {
  animation: inv-sube 1.5s linear infinite;
}
.visor-inv .brasa.b {
  animation-delay: 0.25s;
}
.visor-inv .brasa.c {
  animation-delay: 0.5s;
}
.visor-inv .titila,
.visor-inv .twinkle,
.visor-inv .pulse,
.visor-inv .late {
  animation: inv-titila 1.2s ease-in-out infinite;
}
.visor-inv .flota,
.visor-inv .pulso,
.visor-inv .chispa,
.visor-inv .gira,
.visor-inv .gota {
  animation-timing-function: linear;
}
@keyframes inv-sube {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-28px);
    opacity: 0;
  }
}
@keyframes inv-titila {
  50% {
    opacity: 0.25;
  }
}
@media (prefers-reduced-motion: reduce) {
  .visor-inv .brasa,
  .visor-inv .titila,
  .visor-inv .twinkle,
  .visor-inv .pulse,
  .visor-inv .late,
  .visor-inv .flota,
  .visor-inv .pulso,
  .visor-inv .chispa,
  .visor-inv .gira,
  .visor-inv .gota {
    animation: none;
  }
}
.visor-pie b {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brasa);
}
.visor-boton {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(10, 7, 7, 0.86);
  border: 0;
  color: var(--hueso);
  cursor: pointer;
}
.visor-boton svg {
  width: 18px;
  height: 18px;
}
.visor-audio {
  position: absolute;
  right: 56px;
  bottom: 8px;
  z-index: 4;
  display: flex;
  align-items: stretch;
}
.visor-audio .visor-sonido {
  position: static;
}
.visor-sonido[aria-pressed="true"] {
  color: var(--oro);
}
.visor-volumen {
  display: none;
  align-items: center;
  height: 40px;
  padding: 0 12px 0 14px;
  background: rgba(10, 7, 7, 0.86);
}
.visor-audio.abierto .visor-volumen {
  display: flex;
}
.visor-volumen input {
  width: 112px;
  margin: 0;
  accent-color: var(--oro);
  cursor: pointer;
}
.tira {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.miniaturas {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  flex: 1;
  padding-block: 4px;
}
.miniaturas::-webkit-scrollbar {
  display: none;
}
.miniaturas > .mini {
  flex: 0 0 128px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #0a0707;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  opacity: 0.55;
  transition: opacity 0.15s;
}
.mini-ui {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.miniaturas > .mini > .vivo {
  z-index: 1;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: var(--rojo);
}
.miniaturas > .mini > img,
.miniaturas > .mini > canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.miniaturas > .mini[aria-selected="true"] {
  opacity: 1;
  outline: 3px solid var(--rojo);
  outline-offset: -3px;
}
.miniaturas > .mini:hover {
  opacity: 0.9;
}
.datos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.capsula {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(96px, 32%) minmax(0, 1fr);
  align-items: center;
  gap: 3%;
  width: 100%;
  aspect-ratio: 1200 / 630;
  box-sizing: border-box;
  padding: 6% 5% 6% 3%;
  background: transparent;
}
.capsula img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.capsula h2 {
  margin: 0;
  font-size: clamp(22px, 6.6cqi, 42px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.95;
  color: #f4f0ee;
}
.capsula h2::after {
  content: "";
  display: block;
  width: 2.2em;
  height: 3px;
  margin-top: 0.42em;
  background: #c8402d;
}
.capsula p {
  margin: 0.65em 0 0;
  font-size: clamp(13px, 3.2cqi, 18px);
  font-weight: 500;
  line-height: 1.35;
  color: #f2ecec;
}
.capsula .capsula-oro {
  margin-top: 0.75em;
  color: #e2c56a;
}
@container (max-width: 420px) {
  .capsula {
    aspect-ratio: auto;
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 0;
    gap: 12px;
  }
  .capsula h2 {
    font-size: 20px;
    letter-spacing: 0.08em;
  }
  .capsula p {
    font-size: 13px;
  }
}
.datos dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin: 4px 0;
  font-size: 14px;
}
.datos dt {
  color: var(--rosa);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding-top: 2px;
}
.datos dd {
  margin: 0;
}
.ficha-bloque {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rotulo {
  margin: 0;
  color: var(--rosa);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.etiquetas {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.etiquetas li {
  background: var(--sangre);
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  clip-path: var(--para);
}

/* ediciones */
.tres {
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) {
  .tres {
    grid-template-columns: repeat(3, 1fr);
  }
}
.edicion {
  background: #1a1414;
  padding: 0;
  clip-path: var(--corte);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--sangre);
  overflow: hidden;
}
.edicion.activa {
  border-top-color: var(--rojo);
}
.ed-escena {
  background: #0c0909;
  overflow: hidden;
  aspect-ratio: 1254 / 930;
}
.ed-escena img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ed-texto {
  padding: 18px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.edicion h3 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.edicion p {
  margin: 0;
  color: var(--rosa);
  line-height: 1.55;
}
.edicion p.eti {
  color: var(--brasa);
}
.ed-texto .boton {
  margin-top: auto;
  align-self: flex-start;
}

/* acerca */
.acerca {
  background: #0c0909;
}
.acerca-grilla {
  display: grid;
  gap: 40px;
}
@media (min-width: 980px) {
  .acerca-grilla {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}
.acerca p {
  color: var(--rosa);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 42em;
}
.acerca {
  position: relative;
  overflow: visible;
  padding-bottom: 0;
  border-bottom: 14px solid var(--fondo);
}
.ver-mas {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  background: none;
}
.ver-mas span {
  color: var(--rosa);
  font-size: 14px;
  font-weight: 500;
}
.ver-mas .fl {
  --fl: #ffd98a;
  --fl-2: #c9a45a;
  --giro: 90deg;
  width: 72px;
  height: 72px;
  max-width: none;
  margin-bottom: -46px;
  overflow: visible;
  transform: rotate(var(--giro));
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.ver-mas .fl-arriba {
  --giro: 270deg;
}
.ver-mas .fl .t {
  fill: none;
  stroke: var(--fl);
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ver-mas .fl .t.tenue {
  stroke: var(--fl-2);
}
.ver-mas:hover .fl,
.ver-mas:focus-visible .fl {
  transform: rotate(var(--giro)) translateX(6px);
}
@media (prefers-reduced-motion: no-preference) {
  .ver-mas .fl .p1 {
    animation: fl-prende 2.4s ease-in-out infinite;
  }
  .ver-mas .fl .p2 {
    animation: fl-prende 2.4s ease-in-out 0.3s infinite;
  }
  .ver-mas .fl .p3 {
    animation: fl-prende 2.4s ease-in-out 0.6s infinite;
  }
}
@keyframes fl-prende {
  0%,
  100% {
    opacity: 0.4;
  }
  40% {
    opacity: 1;
  }
}
.mas-juego-dentro {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
@media (prefers-reduced-motion: reduce) {
  .mas-juego-dentro {
    transition: none;
  }
  .ver-mas .fl {
    transition: none;
  }
}
.cifras {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-content: start;
}
.cifras li {
  background: #1a1414;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cifras b {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cifras b.oro {
  color: var(--oro);
}
.cifras span {
  color: var(--rosa);
  font-size: 14px;
}

/* zonas: cada fila es el mapa vacío. Cerrada se ve el nombre; al abrirse crece el mapa y salen los jefes. */
.zonas {
  display: flex;
  flex-direction: column;
  gap: 8px;
  --zona-alto: 124px;
  --zona-abierta: 360px;
  --zona-t: 0.7s;
  --zona-curva: cubic-bezier(0.32, 0.08, 0.12, 1);
  --zona-paso: min(80px, (max(0px, (100vw - 1200px) / 2) + var(--lado, 16px)) * 0.78);
}
.zonas .zona {
  --corr: 0;
  position: relative;
  height: var(--zona-alto);
  overflow: hidden;
  background: #1a1414;
  cursor: pointer;
  margin-left: calc(var(--corr) * var(--zona-paso));
  margin-right: calc(var(--corr) * var(--zona-paso) * -1);
  contain: layout paint;
  will-change: transform;
  transition:
    height var(--zona-t) var(--zona-curva),
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.zonas .zona:nth-child(1) {
  --corr: -1;
}
.zonas .zona:nth-child(3) {
  --corr: -0.55;
}
.zonas .zona:nth-child(5) {
  --corr: -0.8;
}
.zona::before,
.zona::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 0;
  height: 0;
  border: 0 solid transparent;
  pointer-events: none;
}
.zona::before {
  left: 0;
  top: 0;
  border-top: 14px solid var(--zona-fondo, var(--fondo));
  border-right-width: 14px;
}
.zona::after {
  right: 0;
  bottom: 0;
  border-bottom: 14px solid var(--zona-fondo, var(--fondo));
  border-left-width: 14px;
}
.zona-foto {
  position: absolute;
  inset: 0;
}
.zona canvas {
  position: absolute;
  left: 0;
  top: calc(var(--foco, 0.3) * (100% - var(--zona-abierta)));
  width: 100%;
  height: var(--zona-abierta);
  max-width: none;
}
.zona-cuerpo {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: min(46%, 470px);
  min-height: 50%;
  min-width: 0;
  padding: 10px 28px 10px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translate(0, 0);
  transition:
    transform var(--zona-t) var(--zona-curva),
    left var(--zona-t) var(--zona-curva),
    bottom var(--zona-t) var(--zona-curva),
    width var(--zona-t) var(--zona-curva);
}
.zona-cuerpo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 -90px;
  background: rgba(94, 19, 13, 0.84);
  transform: skewX(-16deg);
  transform-origin: bottom left;
  transition: background-color var(--zona-t) ease;
}
.zona h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}
.zona-datos {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--zona-t) var(--zona-curva);
}
.zona-dentro {
  min-height: 0;
  overflow: hidden;
}
.zona-dentro > * {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}
.zona .num {
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--oro);
  text-transform: uppercase;
}
.zona dl {
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
}
.zona dt {
  font-size: 11px;
  color: var(--oro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.zona dd {
  margin: 0;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.25;
}
.zona dd small {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.35;
  color: var(--rosa);
}
@media (hover: none) {
  .zonas .zona.abierta,
  .zonas .zona:focus-visible {
    height: var(--zona-abierta);
  }
  .zona.abierta .zona-cuerpo,
  .zona:focus-visible .zona-cuerpo {
    left: 50%;
    bottom: 50%;
    width: min(62%, 560px);
    transform: translate(-50%, 50%);
  }
  .zona.abierta .zona-cuerpo::before,
  .zona:focus-visible .zona-cuerpo::before {
    background: rgba(94, 19, 13, 0.93);
  }
  .zona.abierta .zona-datos,
  .zona:focus-visible .zona-datos {
    grid-template-rows: 1fr;
  }
  .zona.abierta .zona-dentro > *,
  .zona:focus-visible .zona-dentro > * {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.4s ease 0.16s,
      transform 0.6s var(--zona-curva) 0.1s;
  }
  .zona.abierta .zona-dentro > :nth-child(2),
  .zona:focus-visible .zona-dentro > :nth-child(2) {
    transition-delay: 0.26s, 0.2s;
  }
}
@media (hover: hover) {
  .zonas .zona:hover {
    height: var(--zona-abierta);
  }
  .zona:hover .zona-cuerpo {
    left: 50%;
    bottom: 50%;
    width: min(62%, 560px);
    transform: translate(-50%, 50%);
  }
  .zona:hover .zona-cuerpo::before {
    background: rgba(94, 19, 13, 0.93);
  }
  .zona:hover .zona-datos {
    grid-template-rows: 1fr;
  }
  .zona:hover .zona-dentro > * {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.4s ease 0.16s,
      transform 0.6s var(--zona-curva) 0.1s;
  }
  .zona:hover .zona-dentro > :nth-child(2) {
    transition-delay: 0.26s, 0.2s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zonas .zona,
  .zona-cuerpo,
  .zona-cuerpo::before,
  .zona-datos,
  .zona .zona-dentro > * {
    transition: none !important;
  }
}
@media (max-width: 640px) {
  .zonas {
    --zona-alto: 104px;
    --zona-abierta: 420px;
  }
  .zona-cuerpo {
    width: 72%;
    padding: 8px 22px 8px 16px;
    transition: width var(--zona-t) var(--zona-curva);
  }
  .zona h3 {
    font-size: 20px;
  }
  .zona dl {
    grid-template-columns: 1fr;
  }
  .zona dd {
    font-size: 16px;
  }
  .zona dd small {
    font-size: 12.5px;
  }
}
@media (max-width: 640px) and (hover: none) {
  .zona.abierta .zona-cuerpo,
  .zona:focus-visible .zona-cuerpo {
    width: min(88%, 420px);
  }
}
@media (max-width: 640px) and (hover: hover) {
  .zona:hover .zona-cuerpo {
    width: min(88%, 420px);
  }
}
.zona-foto {
  cursor: pointer;
}

/* presentación de un jefe: el final primero, el subjefe en la otra solapa */
.modal-jefe {
  position: fixed;
  inset: 0;
  z-index: 48;
  background: rgba(12, 9, 9, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: 28px;
}
.modal-jefe[hidden] {
  display: none !important;
}
.modal-jefe-banda {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  width: min(1040px, 100%);
  height: min(78vh, 620px);
  background: #0c0909;
  overflow: hidden;
}
.modal-jefe-foto {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #0a0707;
  overflow: hidden;
}
.modal-jefe-foto canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
}
.modal-jefe-texto {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 36px 56px 32px 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--rojo) #0c0909;
}
.modal-jefe-solapas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}
.modal-jefe-solapas button {
  background: #1a1414;
  border: 0;
  padding: 0 14px;
  min-height: 40px;
  font-weight: 700;
  font-size: 14px;
  color: var(--rosa);
  clip-path: var(--para);
}
.modal-jefe-solapas button[aria-selected="true"] {
  background: var(--rojo-osc);
  color: var(--hueso);
}
.modal-jefe-rol {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oro);
}
.modal-jefe-tit {
  margin: 0 0 12px;
  color: #f2ecec;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.modal-jefe-sub {
  margin: 0 0 18px;
  color: var(--rosa);
  line-height: 1.5;
  font-size: 16px;
}
.modal-jefe-texto .rotulo {
  margin-bottom: 8px;
}
.modal-jefe-ataques {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.modal-jefe-ataques li {
  position: relative;
  display: grid;
  gap: 2px;
  padding-left: 16px;
  color: var(--hueso);
  line-height: 1.35;
}
.modal-jefe-ataques strong {
  font-weight: 700;
}
.modal-jefe-ataques span {
  color: var(--rosa);
  font-size: 13px;
}
.modal-jefe-ataques li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  background: var(--rojo);
  transform: rotate(45deg);
}
.modal-jefe .modal-cerrar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  color: #f2ecec;
}
@media (max-width: 760px) {
  .modal-jefe {
    padding: 16px;
  }
  .modal-jefe-banda {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
    height: min(92vh, 820px);
  }
  .modal-jefe-foto {
    height: min(46vw, 240px);
  }
}

/* árbol: la misma ventana del juego, grande, recorriendo las tres ramas sola */
.arbol {
  background: #0c0909;
}
.arbol-vivo {
  position: relative;
  height: min(72vh, 680px);
  min-height: 460px;
  background: #110d0d;
  overflow: hidden;
  clip-path: var(--corte);
}
.arbol-vivo .emi {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  padding: 0;
  background: #110d0d;
  animation: none;
  font-family: "Eromash Text", sans-serif;
}
.arbol-vivo .emi-v {
  width: 100%;
  height: 100%;
  clip-path: none;
  background: #110d0d;
  padding: 0;
  gap: 0;
}
.arbol-vivo .emi-cab,
.arbol-vivo .emi-tabs,
.arbol-vivo .emi-pie,
.arbol-vivo .emi-hd {
  display: none;
}
.arbol-vivo .emi-panel {
  flex: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #110d0d;
}
.arbol-vivo .emi-ha {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: #110d0d;
}
.arbol-vivo .emi-ha > * {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
}
.arbol-vivo .emi-ramas.emi-diag {
  height: 100%;
}
.arbol-vivo .emi-grande {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 8px 14px 48px;
  overflow: hidden;
}
.arbol-vivo .emi-vista {
  width: 100%;
  max-width: 100%;
  height: auto;
  flex: 1 1 0;
  min-height: 0;
}
.arbol-vivo .emi-fondo {
  padding: 8px 0 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}
.arbol-vivo .emi-grande .emi-vista .emi-lienzo {
  width: 100% !important;
  max-width: none;
  margin: 0;
  --fila-v: 64px;
  --banda: 34px;
}
.arbol-vivo .emi-lienzo .runa-g {
  stroke: #6a5854;
}
.arbol-vivo .emi-carta .tx b,
.arbol-vivo .emi-carta .tx small {
  white-space: normal;
}
.arbol-vivo .emi-carta .pie {
  display: none;
}
.arbol-vivo .emi-carta.r1 .cabeza {
  left: 58%;
  top: 18%;
  max-width: 40%;
}
@media (max-width: 640px) {
  .arbol-vivo {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .arbol-vivo .emi {
    position: relative;
    inset: auto;
  }
  .arbol-vivo .emi-v,
  .arbol-vivo .emi-panel,
  .arbol-vivo .emi-ha,
  .arbol-vivo .emi-ha > *,
  .arbol-vivo .emi-ramas.emi-diag,
  .arbol-vivo .emi-grande {
    height: auto;
  }
}

/* legendarias */
.pestanas {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.pestanas button {
  background: #1a1414;
  border: 0;
  padding: 0 24px;
  min-height: 46px;
  font-weight: 800;
  color: var(--rosa);
  clip-path: var(--para);
}
.pestanas button[aria-selected="true"] {
  background: var(--rojo-osc);
  color: var(--hueso);
}
.vitrina {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.leg {
  background: #1a1414;
  clip-path: var(--corte);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 3px solid var(--oro);
}
.leg .arte {
  height: 190px;
  display: grid;
  place-items: center;
  background: #0c0909;
}
.leg .arte svg {
  height: 170px;
  width: auto;
  max-width: 100%;
}
.leg.escudo .arte svg {
  height: 150px;
}
.leg .rar {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oro);
}
.leg h3 {
  margin: 0;
  font-size: 18px;
  color: var(--oro);
}
.leg .fl {
  margin: 0;
  font-style: italic;
  color: var(--rosa);
  font-size: 14px;
  line-height: 1.45;
}
.leg .fx {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
.leg.maldita {
  border-top-color: var(--rojo);
  grid-column: span 2;
}
.leg.maldita .rar,
.leg.maldita h3 {
  color: var(--brasa);
}
@media (max-width: 520px) {
  .leg.maldita {
    grid-column: auto;
  }
}

/* banner de fondo: el horizonte de noche, apenas, detrás del texto */
.conocer {
  position: relative;
  overflow: hidden;
  background: #0c0909;
}
.conocer-fondo {
  position: absolute;
  inset: -24px;
  opacity: 0.18;
  filter: blur(6px);
  pointer-events: none;
  overflow: hidden;
}
.conocer-fondo img {
  width: 100%;
  height: 100%;
  max-width: none;
}
.conocer-defs {
  position: absolute;
}
.conocer-ir {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: clamp(16px, 3vw, 40px);
  color: inherit;
  text-decoration: none;
}
.conocer-ir:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: -6px;
}
.conocer-texto .tit {
  transition: color 0.18s;
  text-wrap: balance;
}
.conocer .sub {
  margin-bottom: 0;
}
.conocer-ir:hover .tit,
.conocer-ir:focus-visible .tit {
  color: var(--oro);
}
/* escena: el hito de misión, el cofre y el guerrero de guardia (catálogo de adornos D8, D2 y M5) */
.conocer {
  padding-block: 44px;
}
.conocer-escena {
  display: flex;
  align-items: flex-end;
  height: 128px;
}
.conocer-escena svg {
  position: static;
  display: block;
  height: 100%;
  width: auto;
  overflow: visible;
  flex: none;
}
.conocer-escena .ce-hito {
  height: 62%;
  margin-right: -22px;
}
.conocer-escena .ce-cofre {
  height: 74%;
  margin-right: -6px;
}
.conocer-escena .ce-guardia {
  height: 118%;
}
.conocer-escena .destello {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}
/* flecha: un paralelogramo que avisa que se abre otra pestaña */
.conocer-flecha {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.cf-caja {
  display: grid;
  place-items: center;
  width: 108px;
  height: 68px;
  background: var(--rojo-osc);
  color: var(--hueso);
  clip-path: var(--para);
  transition: background-color 0.18s;
}
.cf-caja svg {
  width: 48px;
  height: 32px;
  display: block;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.conocer-ir:hover .cf-caja,
.conocer-ir:focus-visible .cf-caja {
  background: var(--rojo);
}
.conocer-ir:hover .cf-caja svg,
.conocer-ir:focus-visible .cf-caja svg {
  transform: translateX(8px);
}
.cf-nota {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--rosa);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.cf-nota svg {
  width: 13px;
  height: 13px;
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .conocer-escena .mf {
    animation: cn-flota 3.6s ease-in-out infinite;
  }
  .conocer-escena .mf.m2 {
    animation-duration: 3s;
    animation-delay: -1.2s;
  }
  .conocer-escena .mf.m3 {
    animation-duration: 2.7s;
    animation-delay: -0.5s;
  }
  .conocer-escena .flota {
    animation: cn-sube 3s ease-in-out infinite;
  }
  .conocer-escena .pulso {
    animation: cn-pulso 2.3s ease-in-out infinite;
  }
  .conocer-escena .runa {
    animation: cn-prende 2.4s ease-in-out infinite;
  }
  .conocer-escena .destello {
    animation: cn-destello 2.6s ease-in-out infinite;
  }
}
@keyframes cn-flota {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes cn-sube {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes cn-pulso {
  0%,
  100% {
    opacity: 1;
  }
  35% {
    opacity: 0.78;
  }
  60% {
    opacity: 0.93;
  }
  80% {
    opacity: 0.7;
  }
}
@keyframes cn-prende {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
@keyframes cn-destello {
  0%,
  100% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
@media (max-width: 860px) {
  .conocer-ir {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 14px;
  }
  .conocer-texto {
    grid-column: 1 / -1;
  }
  .conocer-escena {
    height: 96px;
    justify-self: start;
  }
  .cf-caja {
    width: 88px;
    height: 56px;
  }
}
@media (max-width: 420px) {
  .conocer-escena .ce-hito {
    display: none;
  }
  .cf-nota {
    white-space: normal;
    max-width: 9em;
    text-align: center;
  }
}

/* cascos: el mostrador */
.cuenta {
  margin: -16px 0 22px;
  font-weight: 700;
  color: var(--rosa);
}
.mostrador {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.casco {
  background: #1a1414;
  clip-path: var(--corte);
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 3px solid var(--r, var(--rosa));
}
.casco .arriba {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.casco .num {
  color: var(--rosa);
}
.casco .rar {
  color: var(--r, var(--rosa));
}
.casco .arte {
  aspect-ratio: 1 / 1;
  background: #0c0909;
  display: grid;
  place-items: center;
  padding: 10%;
}
.casco .arte img,
.casco .arte svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.casco h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}
.casco .fl {
  margin: 0;
  font-size: 12px;
  color: var(--rosa);
  font-style: italic;
  line-height: 1.4;
}
.casco .grupo {
  font-size: 11px;
  color: var(--rosa);
}
/* los que no se muestran: silueta borrosa, sin nombre */
.casco.oculto .arte svg {
  filter: blur(6px);
  opacity: 0.7;
}
.casco.oculto h3 {
  color: var(--rosa);
  filter: blur(3.5px);
  user-select: none;
}
.casco.oculto .fl {
  font-style: normal;
}

/* ranking */
.ranking {
  background: #0c0909;
}
.rank-grilla {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 900px) {
  .rank-combate .rank-grilla {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    grid-template-areas: "texto ranking" "premio ranking";
  }
  .rank-combate .rank-copy {
    grid-area: texto;
  }
  .rank-combate .premio-marco {
    grid-area: premio;
    justify-self: end;
    width: min(420px, 100%);
  }
  .rank-combate .rank-grilla > .pj {
    grid-area: ranking;
  }
}
@media (min-width: 1240px) {
  .rank-combate .rank-grilla {
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 380px) minmax(280px, 420px);
    grid-template-areas: "texto premio ranking";
  }
  .rank-combate .premio-marco {
    justify-self: stretch;
    width: auto;
  }
}
.ranking p {
  color: var(--rosa);
  line-height: 1.6;
  max-width: 40em;
}
.modos {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.modos li {
  background: var(--sangre);
  padding: 8px 16px;
  font-weight: 700;
  clip-path: var(--para);
}
.dif {
  font-size: 14px;
  margin-bottom: 22px !important;
}
.premio {
  background: #1a1414;
  clip-path: var(--corte);
  padding: 22px 20px 24px;
  border-top: 4px solid var(--oro);
}
.premio-cabeza {
  display: flex;
  align-items: center;
  gap: 12px;
}
.premio-cabeza svg {
  width: 40px;
  height: 40px;
  flex: none;
}
.premio h3 {
  margin: 0;
  font-size: 22px;
  color: var(--oro);
}
.premio-filtros {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
}
.premio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.premio-tabs button {
  border: 0;
  background: #2a2020;
  color: var(--rosa);
  min-height: 32px;
  padding: 4px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  clip-path: var(--para);
}
.premio-tabs button[aria-selected="true"] {
  background: var(--rojo-osc);
  color: var(--hueso);
}
.premio-tabs button:hover,
.premio-tabs button:focus-visible {
  color: var(--hueso);
}
.premio-top,
.premio-lista li:not(.premio-vacio),
.premio-miembro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, 2.6em);
  column-gap: 8px;
  align-items: center;
}
.premio-top {
  margin: 12px 0 4px;
  padding-left: 28px;
  color: var(--rosa);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.premio-top span:not(:first-child) {
  text-align: center;
}
.premio-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: puesto;
}
.premio-lista li:not(.premio-vacio) {
  counter-increment: puesto;
  position: relative;
  padding: 7px 6px 7px 28px;
  background: #111111;
}
.premio-lista li:not(.premio-vacio)::before {
  content: counter(puesto);
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #111111;
  background: #6e5a5a;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.premio-lista li:nth-child(1)::before {
  background: #ffd98a;
}
.premio-lista li:nth-child(2)::before {
  background: #e0b2b2;
}
.premio-lista li:nth-child(3)::before {
  background: #ff8d71;
}
.premio-lista li:nth-child(1) {
  background: #2a2117;
}
.premio-nombre {
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.premio-nums {
  display: contents;
}
.premio-nums span,
.premio-top span:not(:first-child) {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.premio-nums span {
  font-weight: 700;
  font-size: 13px;
  color: var(--oro);
}
.premio-lista li.premio-equipo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
}
.premio-j {
  display: inline-block;
  min-width: 1.7em;
  margin-right: 4px;
  font-size: 0.78em;
  font-weight: 900;
  color: var(--rosa);
}
.premio-vacio {
  color: var(--rosa);
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 0;
}
.premio-nota {
  margin: 14px 0 0;
  font-size: 14px;
}

/* próximamente */
.cabeza {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.cabeza .tit {
  margin: 0;
}
.flechas {
  display: flex;
  gap: 6px;
}
.riel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 18px 8px 22px;
  margin-block: -10px;
}
.riel::-webkit-scrollbar {
  display: none;
}
.prox {
  flex: 0 0 min(82vw, 360px);
  scroll-snap-align: start;
  background: #1a1414;
  clip-path: var(--corte);
  padding: 0 0 22px;
  display: flex;
  flex-direction: column;
}
.prox-arte {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0c0909;
  margin-bottom: 16px;
  overflow: hidden;
}
.prox-arte svg,
.prox-arte img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prox .eti,
.prox h3,
.prox p {
  padding-inline: 22px;
}
.prox h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.prox p:not(.eti) {
  margin: 0;
  color: var(--rosa);
  line-height: 1.5;
  font-size: 15px;
}
.riel .prox-abre {
  cursor: pointer;
  transition: transform 0.18s ease;
}
.riel .prox-abre:hover,
.riel .prox-abre:focus-visible {
  transform: scale(1.06);
  z-index: 2;
  position: relative;
}
.modal-mapa {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(12, 9, 9, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: grid;
  place-items: center;
  padding: 28px;
}
.modal-mapa[hidden] {
  display: none !important;
}
.modal-mapa-banda {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  width: min(1120px, 100%);
  height: min(78vh, 640px);
  background: #0c0909;
  overflow: hidden;
}
.modal-mapa-foto {
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #0a0707;
  overflow: hidden;
}
.modal-mapa-pasar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.modal-mapa-pasar[hidden] {
  display: none !important;
}
.modal-mapa-cuenta {
  margin: 0;
  padding: 6px 12px;
  background: #0c0909;
  color: var(--hueso);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  clip-path: var(--corte-chico);
}
.modal-mapa-arte {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
}
.modal-mapa-arte svg,
.modal-mapa-arte img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-mapa-texto {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 36px 56px 32px 32px;
  scrollbar-width: thin;
  scrollbar-color: var(--rojo) #0c0909;
}
.modal-mapa-tit {
  margin: 0 0 16px;
  color: #f2ecec;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.modal-mapa-cuerpo p {
  margin: 0 0 14px;
  color: var(--rosa);
  line-height: 1.55;
  font-size: 16px;
}
.modal-mapa-cuerpo ul {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.modal-mapa-cuerpo li {
  position: relative;
  padding-left: 16px;
  color: var(--hueso);
  line-height: 1.4;
}
.modal-mapa-cuerpo li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  background: var(--rojo);
  transform: rotate(45deg);
}
.modal-mapa .modal-cerrar {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  color: #f2ecec;
}
@media (max-width: 760px) {
  .modal-mapa {
    padding: 16px;
  }
  .modal-mapa-banda {
    grid-template-columns: 1fr;
    width: min(520px, 100%);
    height: min(92vh, 820px);
  }
  .modal-mapa-foto {
    height: min(42vw, 220px);
  }
}

/* notas y trucos */
.notas-grilla {
  display: grid;
  gap: 48px;
}
@media (min-width: 1000px) {
  .notas-grilla {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
}
.versiones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.versiones button {
  background: #1a1414;
  border: 0;
  padding: 0 14px;
  min-height: 40px;
  font-weight: 700;
  font-size: 14px;
  color: var(--rosa);
  clip-path: var(--para);
}
.versiones button[aria-selected="true"] {
  background: var(--rojo-osc);
  color: var(--hueso);
}
.nota-cuerpo {
  background: #1a1414;
  clip-path: var(--corte);
  padding: 24px 26px;
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rojo) #0c0909;
}
.nota-cuerpo h3 {
  margin: 0 0 4px;
  font-size: 22px;
}
.nota-cuerpo .fecha {
  margin: 0 0 14px;
  color: var(--rosa);
  font-size: 14px;
}
.nota-cuerpo h4 {
  margin: 18px 0 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brasa);
}
.nota-cuerpo ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}
.nota-cuerpo li {
  color: var(--rosa);
  line-height: 1.55;
  font-size: 15px;
}
.nota-cuerpo li b {
  color: var(--hueso);
}
.trucos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: truco;
}
.trucos li {
  background: #1a1414;
  padding: 16px 18px 16px 62px;
  position: relative;
  counter-increment: truco;
}
.trucos li::before {
  content: counter(truco, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 16px;
  font-weight: 800;
  color: var(--rojo);
  font-size: 18px;
}
.trucos b {
  display: block;
  margin-bottom: 4px;
}
.trucos span {
  color: var(--rosa);
  font-size: 14px;
  line-height: 1.5;
}

/* seguir */
.seguir {
  background: var(--sangre);
}
.seguir-grilla {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .seguir-grilla {
    grid-template-columns: 1fr auto;
  }
}
.seguir p {
  margin: 0;
  color: var(--rosa);
  max-width: 36em;
  line-height: 1.55;
}
.seguir .red {
  background: var(--fondo);
}
.seguir .red:hover {
  background: var(--rojo-osc);
}
.seguir .red.falta {
  background: none;
  outline-color: var(--rosa);
}

/* inversores */
.inv-grilla {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
@media (min-width: 900px) {
  .inv-grilla {
    grid-template-columns: 1fr 1fr;
  }
}
.inv-caja {
  background: #1a1414;
  clip-path: var(--corte);
  padding: 26px;
}
.inv-caja h3 {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brasa);
}
.hechos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.hechos li {
  font-weight: 700;
  padding-left: 18px;
  position: relative;
  line-height: 1.35;
}
.hechos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--rojo);
  transform: rotate(45deg);
}
.ruta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.ruta li {
  display: grid;
  gap: 4px;
  padding-left: 16px;
  border-left: 3px solid var(--sangre);
}
.ruta li.hoy {
  border-left-color: var(--rojo);
}
.ruta b {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ruta span {
  color: var(--rosa);
  line-height: 1.5;
}
.contacto {
  position: relative;
  background: var(--rojo-osc);
  clip-path: var(--corte);
  padding: 44px 32px 30px;
  display: grid;
  gap: 28px;
  align-items: start;
  overflow: hidden;
}
.contacto > * {
  position: relative;
  z-index: 1;
}
.contacto p {
  margin: 0;
  color: var(--hueso);
}
.contacto .enlace {
  color: var(--hueso);
}
.contacto-cab {
  max-width: 720px;
}
.contacto h3 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 20px;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.contacto h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 132px;
  height: 8px;
  background: var(--oro);
  clip-path: var(--para);
  transform-origin: left center;
  animation: parte-barra 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.contacto-cab p {
  font-size: 18px;
  line-height: 1.5;
}
.contacto-marca {
  position: absolute;
  z-index: 0;
  right: -30px;
  top: -46px;
  width: clamp(240px, 30vw, 380px);
  pointer-events: none;
  animation: parte-flotar 9s ease-in-out infinite;
}
.rutas-com {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .rutas-com {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.rutas-com article {
  position: relative;
  background: var(--fondo);
  display: flex;
  flex-direction: column;
  clip-path: var(--corte-chico);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ruta-img {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #0c0909;
}
.ruta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: parte-paneo 16s ease-in-out infinite alternate;
  transition: filter 0.3s ease;
  filter: saturate(0.85) brightness(0.82);
}
.rutas-com article:nth-child(2) .ruta-img img {
  animation-delay: -5s;
}
.rutas-com article:nth-child(3) .ruta-img img {
  animation-delay: -10s;
}
.ruta-img::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--oro);
  transform: scaleX(0.16);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ruta-texto {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.rutas-com h4 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.rutas-com p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--rosa);
}
.contacto .boton {
  align-self: flex-start;
  margin-top: auto;
  background: var(--rojo-osc);
  text-align: left;
  line-height: 1.25;
  padding: 10px 22px 10px 26px;
  gap: 14px;
}
.rutas-com .boton {
  margin-top: 12px;
}
.rutas-com .ruta-texto > p {
  margin-bottom: auto;
}
.contacto .boton::after {
  content: "";
  flex: none;
  width: 9px;
  height: 14px;
  background: var(--oro);
  clip-path: polygon(0 0, 100% 50%, 0 100%, 0 72%, 44% 50%, 0 28%);
  animation: parte-flecha 4.8s ease-in-out infinite;
}
.rutas-com article:nth-child(2) .boton::after {
  animation-delay: 0.35s;
}
.rutas-com article:nth-child(3) .boton::after {
  animation-delay: 0.7s;
}
.contacto .boton:hover,
.contacto .boton:focus-visible {
  background: var(--rojo);
}
.rutas-com article:hover,
.rutas-com article:focus-within {
  transform: translateY(-4px);
}
.rutas-com article:hover .ruta-img img,
.rutas-com article:focus-within .ruta-img img {
  filter: none;
}
.rutas-com article:hover .ruta-img::after,
.rutas-com article:focus-within .ruta-img::after {
  transform: scaleX(1);
}
.rutas-com article:hover .boton::after,
.rutas-com article:focus-within .boton::after {
  animation: parte-flecha-ya 0.7s ease-in-out infinite;
}
.rutas-otras {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin: 0;
}
.rutas-otras a,
.rutas-otras .enlace {
  color: var(--hueso);
  font-weight: 700;
}
@keyframes parte-barra {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes parte-flotar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
@keyframes parte-paneo {
  from {
    transform: scale(1.02) translateX(-1%);
  }
  to {
    transform: scale(1.1) translateX(1.5%);
  }
}
@keyframes parte-flecha {
  0%,
  78%,
  100% {
    transform: translateX(0);
  }
  86% {
    transform: translateX(7px);
  }
  93% {
    transform: translateX(0);
  }
}
@keyframes parte-flecha-ya {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}
@media (max-width: 720px) {
  .contacto {
    padding: 30px 18px 22px;
    gap: 22px;
  }
  .contacto-marca {
    width: 200px;
    right: -50px;
    top: -30px;
  }
  .ruta-img {
    aspect-ratio: 24 / 9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contacto *,
  .contacto *::before,
  .contacto *::after {
    animation: none !important;
    transition: none !important;
  }
}
.motivos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.mail {
  margin-top: 14px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  font-size: 18px;
  word-break: break-all;
}
.copiar {
  background: var(--fondo);
  border: 0;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  clip-path: var(--para);
  min-height: 36px;
}

/* pie */
.pie {
  border-top: 2px solid var(--sangre);
  padding-block: 32px 44px;
}
.pie-grilla {
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .pie-grilla {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }
}
.pie p {
  margin: 0;
  color: var(--rosa);
  line-height: 1.5;
  max-width: 40em;
  font-size: 14px;
}
.pie nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}
.pie nav a {
  color: var(--hueso);
  font-weight: 700;
  text-decoration: none;
  padding-block: 10px;
}

@media (prefers-reduced-motion: no-preference) {
  .aparece {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.5s ease,
      transform 0.5s cubic-bezier(0.22, 0.8, 0.2, 1);
  }
  .aparece.visto {
    opacity: 1;
    transform: none;
  }
}

/* ================= LO NUEVO: ranking con temática de combate (se agrega al final de portada.css) ================= */
.rank-combate {
  padding-bottom: 0;
  overflow: hidden;
}
.rank-combate .rank-grilla {
  position: relative;
  z-index: 1;
  align-items: start;
  margin-bottom: 44px;
}
.rank-combate .ancho.rank-grilla {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: max(32px, 5vw);
}
@media (min-width: 900px) {
  .rank-combate .rank-grilla > .pj {
    justify-self: end;
    width: min(420px, 100%);
  }
}

/* los modos, con sus cascos; las dificultades, con las espadas cruzadas */
.rank-combate .modos li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-left: 14px;
}
.rk-cascos {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.rk-cascos.junto .rk-mini + .rk-mini {
  margin-left: -6px;
}
.rk-mini {
  width: 21px;
  height: 22px;
  flex: none;
}
.rk-puntos {
  width: 18px;
  height: 7px;
  flex: none;
}
.rank-combate .dif {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rk-espadas {
  width: 26px;
  height: 26px;
  flex: none;
}

/* el botón de entrar, con la flecha rúnica (R2) */
.rk-entrar::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='11,10 25,24 11,38' stroke='%23C9A45A'/%3E%3Cpolyline points='23,10 37,24 23,38' stroke='%23FFD98A'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: transform 0.25s cubic-bezier(0.22, 0.8, 0.2, 1);
}
.rk-entrar:hover::after,
.rk-entrar:focus-visible::after {
  transform: translateX(5px);
}

/* cuadro de recompensas, entre el texto de la arena y el ranking */
.premio-marco {
  --pr-oro: #ffd98a;
  --pr-rosa: #e0b2b2;
  position: relative;
  padding-top: 15.5%;
}
.premio-marco .premio {
  background: #1a1414;
  clip-path: var(--corte);
  padding: calc(33.2% + 22px) 32px 32px;
  border-top: 4px solid var(--pr-oro);
}
.premio-marco .premio h3 {
  margin: 16px 0 8px;
  font-size: 24px;
  line-height: 1.2;
  color: var(--pr-oro);
}
.premio-marco .premio p {
  margin: 0;
  max-width: none;
  color: var(--pr-rosa);
  line-height: 1.6;
}
.pr-arte {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  pointer-events: none;
}
.pr-arte svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.pr-pulso {
  animation: pr-pulso 2.3s ease-in-out infinite;
}
@keyframes pr-pulso {
  0%,
  100% {
    opacity: 1;
  }
  35% {
    opacity: 0.78;
  }
  60% {
    opacity: 0.93;
  }
  80% {
    opacity: 0.7;
  }
}
.pr-gira {
  animation: pr-gira 80s linear infinite;
}
@keyframes pr-gira {
  to {
    transform: rotate(360deg);
  }
}
.pr-salta-x {
  opacity: 0;
  animation: pr-salta-x 4.4s linear infinite;
}
.pr-salta-y {
  animation: pr-salta-y 4.4s linear infinite;
  animation-delay: var(--ret, 0s);
}
@keyframes pr-salta-x {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  6%,
  34% {
    opacity: 1;
  }
  40%,
  100% {
    transform: translateX(var(--sx));
    opacity: 0;
  }
}
@keyframes pr-salta-y {
  0% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0.2, 0.7, 0.5, 1);
  }
  16% {
    transform: translateY(-74px);
    animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.5);
  }
  40%,
  100% {
    transform: translateY(var(--sy));
  }
}
.pr-destello {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: pr-destello 2.6s ease-in-out infinite;
}
@keyframes pr-destello {
  0%,
  100% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
}
.pr-sube {
  transform: translate(188px, 130px);
  animation: pr-sube 7s cubic-bezier(0.4, 0, 0.3, 1) infinite;
}
@keyframes pr-sube {
  0% {
    transform: translate(64px, 198px);
    opacity: 0;
  }
  5%,
  14% {
    transform: translate(64px, 198px);
    opacity: 1;
  }
  19% {
    transform: translate(92px, 158px);
  }
  24%,
  34% {
    transform: translate(120px, 174px);
  }
  39% {
    transform: translate(136px, 136px);
  }
  44%,
  54% {
    transform: translate(152px, 152px);
  }
  59% {
    transform: translate(170px, 114px);
  }
  64% {
    transform: translate(188px, 130px);
  }
  70% {
    transform: translate(188px, 120px);
  }
  76% {
    transform: translate(188px, 130px);
  }
  82% {
    transform: translate(188px, 120px);
  }
  88%,
  94% {
    transform: translate(188px, 130px);
    opacity: 1;
  }
  100% {
    transform: translate(188px, 130px);
    opacity: 0;
  }
}
.pr-ojos {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: pr-parpadeo 5.2s infinite;
}
@keyframes pr-parpadeo {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
html.quieto .pr-arte * {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .pr-arte * {
    animation: none !important;
  }
}

/* la arena, al pie de la sección */
.rank-arena {
  position: relative;
}
.rank-arena svg {
  display: block;
  width: 100%;
  height: 260px;
}
@media (max-width: 700px) {
  .rank-arena svg {
    height: 210px;
  }
}

/* el combate: todo va al compás de un mismo golpe de 2,4 s */
.rk-hincha {
  animation: rk-hincha 0.9s ease-in-out infinite;
}
.rk-hincha.b {
  animation-delay: -0.45s;
}
@keyframes rk-hincha {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
.rk-tajo {
  transform: rotate(8deg);
  animation: rk-tajo 2.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes rk-tajo {
  0%,
  100% {
    transform: rotate(8deg);
  }
  30% {
    transform: rotate(-28deg);
  }
  42% {
    transform: rotate(74deg);
  }
  52% {
    transform: rotate(66deg);
  }
  70% {
    transform: rotate(8deg);
  }
}
.rk-embiste {
  animation: rk-embiste 2.4s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes rk-embiste {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-6px);
  }
  42% {
    transform: translateX(14px);
  }
  60% {
    transform: translateX(6px);
  }
}
.rk-recibe {
  animation: rk-recibe 2.4s cubic-bezier(0.3, 0, 0.3, 1) infinite;
}
@keyframes rk-recibe {
  0%,
  38%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  44% {
    transform: translate(16px, -4px) rotate(7deg);
  }
  62% {
    transform: translate(8px, 0) rotate(2deg);
  }
  80% {
    transform: translate(0, 0) rotate(0deg);
  }
}
.rk-chispazo {
  opacity: 0;
  animation: rk-chispazo 2.4s linear infinite;
}
@keyframes rk-chispazo {
  0%,
  41% {
    opacity: 0;
    transform: translate(0, 0);
  }
  43% {
    opacity: 1;
  }
  62%,
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy));
  }
}
.rk-destello {
  opacity: 0;
  animation: rk-destello 2.4s linear infinite;
}
@keyframes rk-destello {
  0%,
  40% {
    opacity: 0;
    transform: scale(0.2) rotate(0deg);
  }
  43% {
    opacity: 1;
    transform: scale(1) rotate(20deg);
  }
  52%,
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(45deg);
  }
}
.rk-avanza {
  animation: rk-avanza 2.4s ease-in-out infinite;
}
.rk-avanza.b {
  animation-delay: -0.3s;
}
.rk-avanza.c {
  animation-delay: -0.6s;
}
@keyframes rk-avanza {
  0%,
  100% {
    transform: translate(0, 0);
  }
  45% {
    transform: translate(7px, -3px);
  }
}
.rk-bota {
  animation: rk-bota 1.2s ease-in-out infinite;
}
.rk-bota.b {
  animation-delay: -0.4s;
}
.rk-bota.c {
  animation-delay: -0.8s;
}
@keyframes rk-bota {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-4px, -3px);
  }
}
.rk-polvo {
  opacity: 0;
  animation: rk-polvo 2.4s ease-out infinite;
}
.rk-polvo.b {
  animation-delay: 0.06s;
}
@keyframes rk-polvo {
  0%,
  41% {
    opacity: 0;
    transform: scale(0.4);
  }
  46% {
    opacity: 0.7;
  }
  70%,
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(1.7);
  }
}
/* movimiento que ya usan los adornos */
.rank-combate .ojos {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: rk-parpadeo 5.2s infinite;
}
@keyframes rk-parpadeo {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
.rank-combate .ll {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: rk-llama 1.1s ease-in-out infinite;
}
.rank-combate .ll.b {
  animation-duration: 0.85s;
  animation-delay: -0.2s;
}
.rank-combate .ll.c {
  animation-duration: 0.7s;
  animation-delay: -0.35s;
}
@keyframes rk-llama {
  0%,
  100% {
    transform: scale(1, 1) skewX(0deg);
  }
  30% {
    transform: scale(0.92, 1.1) skewX(-3deg);
  }
  65% {
    transform: scale(1.05, 0.93) skewX(3deg);
  }
}
.rank-combate .pulso {
  animation: rk-pulso 2.3s ease-in-out infinite;
}
@keyframes rk-pulso {
  0%,
  100% {
    opacity: 1;
  }
  35% {
    opacity: 0.78;
  }
  60% {
    opacity: 0.93;
  }
  80% {
    opacity: 0.7;
  }
}
.rank-combate .chispa {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  opacity: 0;
  animation: rk-ascua 2.6s linear infinite;
}
@keyframes rk-ascua {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 0.9;
  }
  100% {
    transform: translate(var(--dx, 10px), var(--dy, -80px)) scale(0.3) rotate(220deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rank-combate * {
    animation: none !important;
  }
}
/* ================= fin de lo nuevo ================= */

/* el mismo cartel de ranking que el menú del juego */
.pj {
  --pj-hoja: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  --pj-hex: polygon(9px 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 9px 100%, 0 50%);
  --pj-rombo: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  --pj-filo: polygon(
    18px 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%,
    0 18px
  );
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 18px 22px;
  background: linear-gradient(158deg, #1f1717 0 34%, #191212 34% 71%, #151010 71%);
  clip-path: var(--pj-filo);
  color: var(--hueso);
}
.pj::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  z-index: 2;
  pointer-events: none;
  background: #ffd98a;
  clip-path: polygon(18px 0, 28px 0, 0 28px, 0 18px);
}
.pj::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 0;
  width: 4px;
  z-index: 1;
  pointer-events: none;
  background: #9c2315;
}
.pj-duelo {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0d0b0b;
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
}
.pj h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-bottom: 12px;
  position: relative;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--hueso);
}
.pj h3::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: #ffd98a;
  clip-path: var(--pj-rombo);
}
.pj h3::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #c8402d 0 64px, #3a2e2c 64px 70px, #2a2020 70px);
  clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
.pj-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #0e0a0a;
  clip-path: var(--pj-hex);
}
.pj-tabs.pj-chica {
  align-self: flex-start;
  width: auto;
}
.pj-tabs button {
  border: 0;
  background: transparent;
  color: #b8a6a4;
  clip-path: var(--pj-hoja);
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  min-height: 36px;
  padding: 6px 8px;
  cursor: pointer;
  flex: 1;
}
.pj-tabs.pj-chica button {
  flex: none;
  font-size: 12px;
  min-height: 28px;
  padding: 3px 16px;
}
.pj-tabs.pj-dif button {
  font-size: 12px;
  min-height: 30px;
}
.pj-tabs button[aria-selected="true"] {
  background: #9c2315;
  color: #f2ecec;
}
.pj-tabs.pj-chica button[aria-selected="true"],
.pj-tabs.pj-dif button[aria-selected="true"] {
  background: #5e130d;
  color: #ffd98a;
}
.pj-tabs.pj-chica button[aria-selected="true"] {
  color: #f2ecec;
}
.pj-tabs button:hover,
.pj-tabs button:focus-visible {
  background: #2a2020;
  color: #f2ecec;
}
.pj-top,
.pj-lista li:not(.pj-vacio),
.pj-miembro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  column-gap: 10px;
  align-items: center;
}
.pj-top {
  padding: 0 6px 0 32px;
}
.pj-ico {
  margin: 0;
  display: flex;
  justify-content: center;
  min-width: 2.6em;
}
.pj-ico svg {
  width: 28px;
  height: 28px;
}
.pj-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: puesto;
}
.pj-lista li:not(.pj-vacio) {
  counter-increment: puesto;
  position: relative;
  padding: 7px 6px 7px 32px;
  background: #1c1515;
  clip-path: var(--pj-hoja);
}
.pj-lista li:not(.pj-vacio)::before {
  content: counter(puesto);
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  color: #111111;
  background: #6e5a5a;
  clip-path: var(--pj-rombo);
}
.pj-lista li:nth-child(1)::before {
  background: #ffd98a;
}
.pj-lista li:nth-child(2)::before {
  background: #e0b2b2;
}
.pj-lista li:nth-child(3)::before {
  background: #ff8d71;
}
.pj-lista li:nth-child(1) {
  background: #2a2117;
}
.pj-nombre {
  font-weight: 700;
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.pj-nums {
  display: contents;
}
.pj-nums span {
  min-width: 2.6em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 15px;
  color: #ffd98a;
}
.pj-lista li.pj-equipo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
}
.pj-j {
  display: inline-block;
  min-width: 1.9em;
  margin-right: 4px;
  font-size: 0.78em;
  font-weight: 900;
  color: #e0b2b2;
}
.pj-vacio {
  color: #e0b2b2;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px 0;
}
.pj-nota {
  margin: 0;
  max-width: none;
  color: #e0b2b2;
  font-size: 14px;
  line-height: 1.45;
}
.ranking .pj p {
  max-width: none;
}

/* ================= LO NUEVO: el ranking reordenado (se agrega al final de portada.css) ================= */
/* La sección vuelve a los márgenes de la página. El texto se queda adentro; los dos cuadros se salen:
   el ranking hacia la derecha y las recompensas hacia la izquierda. */
.rank-orden {
  position: relative;
  isolation: isolate;
  padding-block: 88px 150px;
  overflow: hidden;
}
.rank-orden .ancho.rank-grilla {
  --sale: 0px;
  max-width: 1200px;
  width: auto;
  margin: 0 auto;
  padding-inline: var(--lado);
  position: relative;
  z-index: 1;
  gap: 40px 48px;
  align-items: start;
}

/* el fondo: la arena, fundida con el color de la sección */
.rank-fondo {
  position: absolute;
  inset: auto 0 0 0;
  height: clamp(320px, 80%, 660px);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 46%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 46%);
}
.rank-fondo img {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 900px) {
  .rank-orden .rank-grilla {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    grid-template-areas: "texto ranking" "premio ranking";
  }
  .rank-orden .rank-copy {
    grid-area: texto;
  }
  .rank-orden .premio-marco {
    grid-area: premio;
    justify-self: start;
    width: min(420px, 100%);
  }
  .rank-orden .rank-grilla > .pj {
    grid-area: ranking;
    justify-self: end;
    width: min(420px, 100%);
  }
}

/* cuando hay lugar a los costados, los cuadros se salen de los márgenes */
@media (min-width: 1500px) {
  .rank-orden .ancho.rank-grilla {
    --sale: clamp(0px, calc((100vw - 1200px) / 2 - 36px), 190px);
  }
  /* el ranking, hacia la derecha */
  .rank-orden .rank-grilla > .pj {
    margin-right: calc(var(--sale) * -1);
  }
  /* las recompensas, hacia la izquierda y apaisadas: el cofre queda del lado de afuera y el texto, adentro del margen */
  .rank-orden .premio-marco {
    justify-self: stretch;
    width: auto;
    margin-left: calc(var(--sale) * -1);
    padding-top: 0;
    margin-top: 26px;
  }
  /* el texto de la arena empieza en el mismo borde que el cuadro */
  .rank-orden .rank-copy {
    margin-left: calc(var(--sale) * -1);
    justify-self: stretch;
    width: auto;
  }
  .rank-orden .pr-arte {
    left: 4px;
    right: auto;
    top: auto;
    bottom: 8px;
    width: 390px;
  }
  .rank-orden .premio-marco .premio {
    min-height: 178px;
    padding: 26px 34px 28px 410px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .rank-orden .premio-marco .premio h3 {
    margin-top: 0;
  }
}
/* ================= fin de lo nuevo ================= */
