/*
 * Portada gamer (16-oct-2026). Solo para la portada pública (inicio.ejs).
 *
 * Mobile-first: lo de arriba es el celular; los @media agregan el computador.
 * Sin librerías. Todo movimiento se apaga con "reducir movimiento" (al final).
 * Las animaciones mueven solo transform y opacity (las mueve la tarjeta de
 * video, sin repintar la página).
 *
 * La idea (docs/07, "Portada gamer"): la guarida del dragón. El dragón y su
 * tesoro son lo memorable; el resto, tranquilo. Dos materiales: el morado de
 * la marca y el oro del tesoro (solo en monedas, medallas y el contador).
 */

/* ------------------------------------------------------------- tokens */

:root {
  --pt-placa: #FFFFFF;
  --pt-placa-suave: rgba(255, 255, 255, .78);
  --pt-borde-suave: #DCD3F0;
  --pt-borde-fuerte: #BBA9E6;
  --pt-marco: linear-gradient(135deg, #B48CFF, #E9DFFF 40%, #F2C66A 100%);
  --pt-titulo: linear-gradient(180deg, #24123F 10%, #5B2AB8 100%);
  --pt-oro: #F5B73B;
  --pt-oro-texto: #9A5700;   /* el oro como texto sobre claro: 5,1:1 */
  --pt-medalla: linear-gradient(160deg, #FFF3D6, #FBE3A8);
  --pt-franja: linear-gradient(90deg, #EFE6FF, #E3D2FF 50%, #EFE6FF);
  --pt-franja-texto: #3B1C7A;
  --pt-resplandor: rgba(140, 63, 245, .22);
  --pt-sello-texto: #5B2AB8;
  --pt-sombra: rgba(60, 30, 120, .30);
  --pt-barra-fondo: rgba(255, 255, 255, .78);
  --pt-barra-sombra: rgba(40, 20, 80, .10);
  --pt-punto: #7A2FE6;          /* el punto activo del carrusel (celular) */
  --pt-punto-apagado: #9278D2;  /* los demás */
  --pt-escamas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M0 14a14 14 0 0 1 28 0M-14 28a14 14 0 0 1 28 0M14 28a14 14 0 0 1 28 0' fill='none' stroke='%235B2AB8' stroke-opacity='.07'/%3E%3C/svg%3E");
}

html.dark {
  --pt-placa: linear-gradient(180deg, #1B1432, #120D22);
  --pt-placa-suave: rgba(22, 16, 38, .82);
  --pt-borde-suave: #2F2749;
  --pt-borde-fuerte: #4A3C72;
  --pt-marco: linear-gradient(135deg, #A469F7, #3B2A66 45%, #F5B73B 100%);
  --pt-titulo: linear-gradient(180deg, #FFFFFF 15%, #DCCBFF 60%, #B794FF 100%);
  --pt-oro-texto: #F5B73B;
  --pt-medalla: linear-gradient(160deg, #3A2A12, #241A0B);
  --pt-franja: linear-gradient(90deg, rgba(140, 63, 245, .18), rgba(140, 63, 245, .38) 50%, rgba(140, 63, 245, .18));
  --pt-franja-texto: #EDE4FF;
  --pt-resplandor: rgba(140, 63, 245, .45);
  --pt-sello-texto: #DCCBFF;
  --pt-sombra: rgba(4, 2, 12, .72);
  --pt-barra-fondo: rgba(12, 9, 22, .72);
  --pt-barra-sombra: rgba(0, 0, 0, .35);
  --pt-punto: #A469F7;
  --pt-punto-apagado: #7B65B5;
  --pt-escamas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Cpath d='M0 14a14 14 0 0 1 28 0M-14 28a14 14 0 0 1 28 0M14 28a14 14 0 0 1 28 0' fill='none' stroke='%23ffffff' stroke-opacity='.045'/%3E%3C/svg%3E");
}

.pt-tesoro-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Imagen diferida (partials/portada-dragon): sin JavaScript, la del <noscript>.
   Con JavaScript, aparece con un fundido cuando termina de llegar. */
html:not(.js) .pt-diferida { display: none; }
.pt-diferida { opacity: 0; transition: opacity .45s ease; }
.pt-diferida.is-lista { opacity: 1; }

.pt { position: relative; isolation: isolate; overflow-x: clip; --pt-ancho: 1080px; }
.pt > :not(.pt-fondo) { position: relative; z-index: 1; }
/* Los saltos a una sección (#tutoriales, #juegos) no quedan debajo de la cabeza fija. */
.pt [id] { scroll-margin-top: 108px; }
/* UN ancho para todo (17-oct-2026): la barra, los bloques y el pie se alinean
   entre sí. En pantallas grandes se ensancha: en 1920 px el contenido ocupaba
   ~1050 y sobraba aire a los lados. */
.pt-barra > header { max-width: var(--pt-ancho) !important; }
.pt .pie { max-width: var(--pt-ancho); }

.pt-objeto-svg { display: block; width: 100%; height: 100%; }
/* El zafiro, cuando hay imagen de la gema: la misma, teñida de azul. */
.pt-objeto--azul { filter: hue-rotate(-62deg) saturate(1.2); }

/* ------------------------------------------------- 2. la franja de soporte */

.pt-franja {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  background: var(--pt-franja); color: var(--pt-franja-texto);
  border-bottom: 1px solid var(--pt-borde-suave);
  font-size: 14px; font-weight: 600; text-decoration: none; text-align: center;
}
.pt-franja:hover .pt-franja-texto { text-decoration: underline; text-underline-offset: 3px; }
.pt-franja:focus-visible { outline-offset: -3px; }
.pt-franja svg { flex: 0 0 auto; }
.pt-franja-texto--largo { display: none; }
.pt-franja { font-size: 13.5px; }

/* ---------------------------------------------------------- la barra fija */

/* Arriba y fijas al bajar (17-oct-2026): la barra del logo y, debajo, la
   franja de WhatsApp (.pt-cabeza, inicio.ejs). Al bajar llevan fondo borroso
   (/js/portada.js pone .is-pegada).
   - Celular: la barra en 52 px y la franja en 44, con el texto corto: 96 px
     entre las dos, el tope pedido. 44 es el mínimo para tocar (docs/07): por
     eso la barra queda en 52 y no la franja en 40. "Iniciar sesión" sigue
     midiendo 44.
   - Computador: la barra en 76 px arriba y 64 al bajar (56 se veía endeble);
     la franja, 40 px. */
.pt > .pt-cabeza { position: sticky; top: 0; z-index: 30; transition: background-color .25s ease, box-shadow .25s ease; }
.pt-cabeza.is-pegada {
  background: var(--pt-barra-fondo);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 12px 28px var(--pt-barra-sombra);
}
.pt-barra > header { min-height: 52px !important; transition: min-height .25s ease; }
.pt-barra > header > div { padding: 4px 0 !important; transition: padding .25s ease; }
.pt-barra .logo-cabecera svg { transition: transform .25s ease; transform-origin: left center; }

/* ------------------------------------------------------------- contenido */

.pt-main {
  max-width: var(--pt-ancho); margin: 0 auto; padding: 12px 16px 64px;
  display: flex; flex-direction: column; gap: 52px;
}

.pt-titulo-seccion {
  margin: 0 0 8px; font-family: 'Chakra Petch', sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem); line-height: 1.1; letter-spacing: -.01em;
  text-wrap: balance;
}

.pt-boton {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px; border: 0;
  background: var(--primary); color: var(--on-primary);
  box-shadow: var(--glow-primary), inset 0 1px 0 rgba(255, 255, 255, .28);
  font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.pt-boton:hover { transform: translateY(-1px); }
.pt-boton:active { transform: translateY(1px); }
.pt-boton:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
/* Un brillo que cruza el botón cada tanto: el único movimiento en un botón. */
.pt-boton--brillo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .5) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: pt-brillo 5s ease-in-out 1.5s infinite;
}
@keyframes pt-brillo { 0%, 62% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }

.pt-boton--secundario {
  background: transparent; color: var(--text); box-shadow: none;
  border: 1px solid var(--pt-borde-fuerte);
}
.pt-boton--secundario:hover { background: var(--surface-2); }

/* ---------------------------------------------------- 3. los avisos */

.pt-avisos { display: grid; gap: 12px; }

.pt-escenario { position: relative; --c: 16px; }
/* El marco: esquinas cortadas (como una placa de juego) con un borde que va
   del morado al oro. Va detrás; la pista se recorta un pelo más adentro. */
.pt-escenario::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: var(--pt-marco);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.pt-escenario::after {
  content: ''; position: absolute; inset: 12% 8% -6%; z-index: -1;
  background: radial-gradient(closest-side, var(--pt-resplandor), transparent);
}

.pt-pista {
  position: relative; z-index: 1; margin: 1.5px;
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  background: var(--pt-escamas) 0 0 / 28px 28px, var(--pt-placa);
  clip-path: polygon(calc(var(--c) - 1px) 0, 100% 0, 100% calc(100% - var(--c) + 1px), calc(100% - var(--c) + 1px) 100%, 0 100%, 0 calc(var(--c) - 1px));
}
.pt-pista::-webkit-scrollbar { display: none; }
.pt-pista:focus-visible { outline: 3px solid var(--text); outline-offset: -3px; }

.pt-aviso {
  flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start;
  padding: 14px 20px 26px;
}

.pt-aviso-visual {
  --alto: 250px; position: relative; display: grid; place-items: center; height: var(--alto); margin-bottom: 8px;
  grid-template-rows: var(--alto); grid-template-columns: minmax(0, 1fr); /* una celda fija: lo que se apila no la estira */
}
/* Todo en la misma celda, uno encima de otro: resplandor, portal, sombra y dragón. */
.pt-aviso-visual > :not(.pt-orbita) { grid-area: 1 / 1; }

/* Apoyado, no pegado (16-oct-2026): resplandor detrás y sombra ovalada debajo. */
.pt-halo { width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--pt-resplandor), transparent 72%); }
.pt-sombra { align-self: end; width: 64%; height: 15%; margin-bottom: -3%; border-radius: 50%; background: radial-gradient(closest-side, var(--pt-sombra), transparent); }

/* El dragón no flota: respira, apenas, desde los pies. */
.pt-respira { position: relative; display: block; height: var(--alto); transform-origin: 50% 94%; animation: pt-respira 5.2s ease-in-out infinite; }
@keyframes pt-respira { 50% { transform: scale(1.01, 1.022); } }
.pt-aviso-dragon {
  position: relative; display: block; height: var(--alto); width: auto; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(10, 4, 24, .35));
}

/* El cofre: la luz que sale de adentro late. */
.pt-cofre { position: relative; display: block; width: min(230px, 72%); align-self: end; margin-bottom: 4%; }
.pt-aviso-cofre { position: relative; display: block; width: 100%; height: auto; }
.pt-cofre-luz {
  position: absolute; z-index: 1; left: 10%; right: 10%; top: -16%; height: 64%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 231, 160, .95), rgba(197, 139, 255, .45) 55%, transparent);
  mix-blend-mode: screen; animation: pt-latir 2.8s ease-in-out infinite;
}
@keyframes pt-latir { 0%, 100% { opacity: .5; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }

/* El montón del dragón principal: una moneda que gira y dos gemas que se mecen. */
.pt-orbita { position: absolute; width: 34px; height: 34px; perspective: 260px; animation: pt-flotar 5.5s ease-in-out infinite alternate; }
.pt-orbita--1 { left: 8%; top: 20%; --d: .4s; }
.pt-orbita--2 { --giro: 14deg; right: 9%; top: 10%; width: 30px; height: 30px; animation-delay: 1.2s; }
.pt-orbita--3 { --giro: -6deg; right: 4%; bottom: 16%; width: 26px; height: 26px; animation-delay: 2.1s; }

.pt-aviso-texto { display: flex; flex-direction: column; min-width: 0; }
.pt-aviso-texto .pt-boton { align-self: flex-start; }
.pt-aviso-titulo {
  margin: 4px 0 0; font-family: 'Chakra Petch', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem); line-height: 1.04; letter-spacing: -.015em;
  color: var(--text); text-wrap: balance;
}
/* Metal grabado: el degradado va POR LÍNEA (box-decoration-break), así cada
   renglón brilla igual; si fuera del título entero, el segundo renglón saldría
   de otro color, como si se resaltara media frase. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .pt-metal {
    background: var(--pt-titulo); -webkit-background-clip: text; background-clip: text; color: transparent;
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
  }
}
.pt-aviso-bajada { margin: 12px 0 20px; max-width: 46ch; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
/* La etiqueta corta sobre el título: solo en el celular (abajo). */
.pt-aviso-etiqueta { display: none; }

/* La escena a sangre (17-oct-2026, partials/portada-escena): una imagen que
   llena la tarjeta y el texto encima. Un objeto recortado sobre un fondo liso
   siempre se ve pegado; la escena trae su propio fondo con profundidad. Las
   hizo Neimar en 16:9, con el lado izquierdo oscuro y libre para el texto.
   Celular: la escena arriba (4:3, recortada del lado del dragón: --foco) y
   el texto debajo, entrando sobre su final; lo de abajo lo llena la misma
   imagen, desenfocada y oscura. Computador: la escena cubre la tarjeta.
   El degradado oscuro va en el bloque del texto: cubre justo la letra.
   En la escena siempre es de noche: el texto es claro en los dos temas. */
.pt-aviso--escena {
  position: relative; isolation: isolate; overflow: hidden;
  grid-template-rows: minmax(0, 1fr); align-content: end; padding: 0;
  background: #0D0918;
  --text: #FFFFFF; --text-muted: #E6DDF7;
  --pt-titulo: linear-gradient(180deg, #FFFFFF 20%, #F1EAFF 65%, #DFD0FF 100%);
  --pt-velo: 9, 6, 19;
}
.pt-escena { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.pt-escena img { position: absolute; display: block; max-width: none; object-fit: cover; }
.pt-escena-velo { left: -8%; top: 0; width: 116%; height: 100%; object-position: var(--foco, 100%) 50%; filter: blur(24px) brightness(.45) saturate(1.2); }
.pt-escena-img {
  left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: var(--foco, 100%) 40%;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  /* Mientras se ve, se desplaza despacio y se acerca apenas: la escena vive. */
  transform: scale(1.06); animation: pt-escena-viaje 16s ease-in-out infinite alternate;
}
@keyframes pt-escena-viaje {
  from { transform: scale(1.06) translate3d(1.4%, .8%, 0); }
  to { transform: scale(1.1) translate3d(-1.4%, -.8%, 0); }
}
.pt-aviso--escena .pt-aviso-texto {
  margin-top: calc(75% - 96px); padding: 64px 20px 24px; justify-content: flex-end; /* si la tarjeta es más alta, sobra arriba: más escena */
  background: linear-gradient(180deg, rgba(var(--pt-velo), 0) 0, rgba(var(--pt-velo), .86) 64px, rgba(var(--pt-velo), .92) 100%);
}

/* Con JavaScript (portada.js pone is-apilada) los avisos se apilan en la
   misma celda y uno da paso al otro con un fundido: la escena que entra se
   asienta (viene un poco más cerca) y su texto sube en cascada. Sin
   JavaScript siguen en fila, para deslizar con el dedo. Con "reducir
   movimiento", el cambio es inmediato (abajo, todo quieto). */
.pt-avisos.is-apilada .pt-pista { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; scroll-snap-type: none; touch-action: pan-y; }
/* El que sale se queda entero debajo hasta que el nuevo terminó de aparecer
   encima (si los dos se desvanecieran a la vez, a mitad la tarjeta se
   oscurecería); su texto sí se va enseguida. */
.pt-avisos.is-apilada .pt-aviso { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0s linear .9s, visibility 0s linear .9s; }
.pt-avisos.is-apilada .pt-aviso.is-activo { z-index: 1; opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.pt-avisos.is-apilada .pt-escena { transform: scale(1.08); transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.pt-avisos.is-apilada .is-activo .pt-escena { transform: none; }
.pt-avisos.is-apilada .pt-aviso:not(.is-activo) .pt-escena-img { animation-play-state: paused; }

/* La escena viva (23-oct-2026; los cinco avisos desde el 24-oct-2026,
   partials/portada-escena-vida): partículas y un resplandor que late,
   dibujados encima de la imagen, donde ella ya brilla.
   .pt-vida tiene la misma caja que .pt-escena-img en cada ancho y su misma
   animación (el viaje lento). Adentro, el lienzo mide y se ubica igual que la
   imagen DIBUJADA, como object-fit: cover: tan ancho como la caja o como su
   alto por la proporción de la imagen (--r), lo que sea mayor, y corrido
   según el object-position de la imagen (--fx, --fy: en el celular, el foco
   de cada aviso y 30 %; en el computador, 100 % y 50 %). Así las posiciones
   van en porcentaje de la imagen y caen en el mismo lugar en cualquier ancho.
   Queda DEBAJO del degradado del texto (no le resta contraste) y no se toca. */
.pt-vida {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; container-type: size;
  --fx: var(--foco-n, 1); --fy: .3;
  transform: scale(1.06); animation: pt-escena-viaje 16s ease-in-out infinite alternate;
}
.pt-vida-lienzo {
  --ancho: max(100cqw, 100cqh * var(--r, 1.7778));
  position: absolute; width: var(--ancho); height: calc(var(--ancho) / var(--r, 1.7778));
  left: calc((100cqw - var(--ancho)) * var(--fx)); top: calc((100cqh - var(--ancho) / var(--r, 1.7778)) * var(--fy));
  container-type: size;
}
.pt-vida-lienzo > * { position: absolute; left: var(--x); top: var(--y); }
.pt-vida--pc { display: none; }
/* Los colores (cada tipo trae el suyo; color: en la escena lo cambia). */
.pt-vida-lienzo > * { --v-nucleo: #FFF6DC; --v-halo: rgba(255, 200, 100, .85); --v-halo2: rgba(255, 150, 40, .35); --v-estrella: #FFE3A0; }
.pt-vida-lienzo > .pt-vida--morado { --v-nucleo: #F5EBFF; --v-halo: rgba(200, 150, 255, .9); --v-halo2: rgba(140, 63, 245, .45); --v-estrella: #D9B8FF; }
.pt-vida-lienzo > .pt-vida-mota { --v-nucleo: rgba(246, 238, 255, 1); --v-halo: rgba(196, 150, 255, .55); }
.pt-vida-lienzo > .pt-vida-mota.pt-vida--oro { --v-nucleo: rgba(255, 240, 196, 1); --v-halo: rgba(255, 190, 80, .6); }
/* El resplandor que late, sobre la zona que ya brilla. */
.pt-vida-brillo {
  width: var(--w); height: var(--h); translate: -50% -50%; border-radius: 50%;
  opacity: .3; animation: pt-vida-late var(--t, 3.6s) ease-in-out infinite alternate;
}
.pt-vida-brillo.pt-vida--oro { background: radial-gradient(closest-side, rgba(255, 196, 92, .45), rgba(255, 160, 40, .14) 55%, transparent); }
.pt-vida-brillo.pt-vida--morado { background: radial-gradient(closest-side, rgba(190, 130, 255, .42), rgba(140, 63, 245, .13) 55%, transparent); }
@keyframes pt-vida-late {
  from { opacity: .2; scale: .92; }
  to { opacity: .8; scale: 1.06; }
}
/* La chispa: un punto con su halo, que sube (o cae, con sube negativo). */
.pt-vida-chispa {
  width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%;
  background: var(--v-nucleo); box-shadow: 0 0 6px 2px var(--v-halo), 0 0 14px 4px var(--v-halo2);
  opacity: 0; animation: pt-vida-sube var(--t, 3.6s) cubic-bezier(.25, .6, .4, 1) var(--d, 0s) infinite;
}
@keyframes pt-vida-sube {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  14% { opacity: .95; }
  65% { opacity: .7; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0) * 1cqw), calc(var(--sube, 20) * -1cqh)) scale(1); }
}
/* El destello: una estrella de cuatro puntas que titila; con dx y sube,
   además se desplaza (los del portal caen girando). */
.pt-vida-destello {
  width: calc(var(--l, 12) * 1px); height: calc(var(--l, 12) * 1px); margin: calc(var(--l, 12) * -.5px) 0 0 calc(var(--l, 12) * -.5px);
  background: radial-gradient(closest-side, #FFFFFF, var(--v-estrella) 45%, transparent);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  opacity: 0; animation: pt-vida-destello var(--t, 4s) ease-in-out var(--d, 0s) infinite;
}
@keyframes pt-vida-destello {
  0% { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0deg); }
  40% { opacity: .9; transform: translate(calc(var(--dx, 0) * .5cqw), calc(var(--sube, 0) * -.5cqh)) scale(1) rotate(60deg); }
  75%, 100% { opacity: 0; transform: translate(calc(var(--dx, 0) * 1cqw), calc(var(--sube, 0) * -1cqh)) scale(.4) rotate(120deg); }
}
/* La mota: un punto de luz suave, sin borde, que flota despacio y se va. */
.pt-vida-mota {
  width: calc(var(--l, 11) * 1px); height: calc(var(--l, 11) * 1px); margin: calc(var(--l, 11) * -.5px) 0 0 calc(var(--l, 11) * -.5px);
  border-radius: 50%; text-decoration: none;
  background: radial-gradient(closest-side, var(--v-nucleo) 0 20%, var(--v-halo) 50%, transparent);
  opacity: 0; animation: pt-vida-flota var(--t, 7s) ease-in-out var(--d, 0s) infinite;
}
@keyframes pt-vida-flota {
  0% { opacity: 0; transform: translate(0, 0) scale(.7); }
  30% { opacity: .95; }
  70% { opacity: .6; }
  100% { opacity: 0; transform: translate(calc(var(--dx, 0) * 1cqw), calc(var(--sube, 4) * -1cqh)) scale(1.1); }
}
/* Quieta mientras su aviso no se ve o el carrusel está fuera de la pantalla;
   y sin nada con "reducir movimiento" (ni siquiera quieta). */
.pt-avisos.is-apilada .pt-aviso:not(.is-activo) .pt-vida,
.pt-avisos.is-apilada .pt-aviso:not(.is-activo) .pt-vida-lienzo > *,
.pt-avisos.is-fuera .pt-vida,
.pt-avisos.is-fuera .pt-vida-lienzo > * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .pt-vida { display: none; }
}
.pt-avisos.is-apilada .pt-aviso-texto > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .75, .25, 1); }
.pt-avisos.is-apilada .is-activo .pt-aviso-texto > * { opacity: 1; transform: none; }
.pt-avisos.is-apilada .is-activo .pt-aviso-etiqueta { transition-delay: .18s; }
.pt-avisos.is-apilada .is-activo .pt-aviso-titulo { transition-delay: .25s; }
.pt-avisos.is-apilada .is-activo .pt-aviso-bajada { transition-delay: .38s; }
.pt-avisos.is-apilada .is-activo .pt-aviso-texto > .pt-boton { transition-delay: .5s; }
/* Al armarse (portada.js), los avisos se apilan de golpe: sin esto, los que
   no se ven tardaban .9 s en esconderse, y un cambio en ese rato no fundía. */
.pt-avisos.is-armando .pt-aviso, .pt-avisos.is-armando .pt-aviso * { transition: none !important; }

.pt-flecha {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pt-placa-suave); color: var(--text); border: 1px solid var(--pt-borde-fuerte); cursor: pointer;
}
.pt-flecha:hover { border-color: var(--primary); color: var(--primary); }
.pt-flecha--antes { left: 12px; }
.pt-flecha--despues { right: 12px; }
.pt-flecha, .pt-flecha[hidden] { display: none; }

/* El índice (17-oct-2026): la miniatura de cada escena en vez del número
   (el número queda para los lectores de pantalla: "Aviso 2: …"). En el
   celular, una fila de miniaturas; en el computador, la lista al lado, con
   el título de cada aviso, repartida a lo alto de la tarjeta. */
.pt-indice { display: flex; }
.pt-indice-lista { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; gap: 8px; width: 100%; }
.pt-indice-item {
  position: relative; overflow: hidden;
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0; border-radius: 12px;
  background: var(--pt-placa-suave); border: 1px solid var(--pt-borde-suave);
  color: var(--text-muted); text-decoration: none;
}
.pt-indice-mini {
  display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit;
  background: linear-gradient(135deg, #2A1B4D, #120C22);
  filter: saturate(.55) brightness(.7); transition: filter .3s ease;
}
.pt-indice-item:hover .pt-indice-mini { filter: saturate(.85) brightness(.9); }
.pt-indice-item[aria-current="true"] { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), var(--glow-primary); }
.pt-indice-item[aria-current="true"] .pt-indice-mini { filter: none; }
.pt-indice-item:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.pt-indice-texto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-indice-barra {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--pt-oro); transform: scaleX(0); transform-origin: left;
}
/* Solo con JavaScript corre la barrita, y al terminar pasa al siguiente. */
.pt-avisos.is-rota .pt-indice-item[aria-current="true"] .pt-indice-barra { animation: pt-avance 7s linear forwards; }
.pt-avisos.is-pausa .pt-indice-barra,
.pt-avisos.is-quieta .pt-indice-barra,
.pt-avisos.is-fuera .pt-indice-barra { animation-play-state: paused !important; }
@media (hover: hover) { .pt-avisos:hover .pt-indice-barra { animation-play-state: paused !important; } }
@keyframes pt-avance { to { transform: scaleX(1); } }

/* La pausa: un icono discreto en la esquina de la tarjeta, sin la palabra.
   Se queda porque es contenido en movimiento (y en el celular no hay mouse
   que lo pause); su nombre lo leen los lectores de pantalla. */
.pt-pausa {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(9, 6, 19, .5); border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer;
}
.pt-pausa > span:not([hidden]) { display: grid; place-items: center; }
.pt-pausa[hidden] { display: none; }
.pt-pausa:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .45); }
.pt-pausa:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }

/* ---------------------------------------------------- 4. el soporte */

.pt-soporte { position: relative; padding-top: 84px; }
/* El dragón de los audífonos, detrás de la placa: se asoma por el borde. */
.pt-soporte-dragon {
  position: absolute; right: 7%; top: 0; z-index: 0; width: 150px; height: auto;
  animation: pt-asomarse 6.5s ease-in-out infinite;
}
@keyframes pt-asomarse { 50% { transform: translateY(6px) rotate(-2deg); } }
/* Su resplandor detrás y la sombra donde se apoya en el borde de la placa. */
.pt-soporte-halo {
  position: absolute; right: calc(7% - 30px); top: -20px; z-index: 0; width: 210px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--pt-resplandor), transparent 72%); pointer-events: none;
}
.pt-soporte-sombra {
  position: absolute; right: calc(7% + 5px); top: 70px; z-index: 2; width: 140px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--pt-sombra), transparent); pointer-events: none;
}
.pt-soporte-placa {
  position: relative; z-index: 1;
  display: grid; gap: 18px; padding: 24px 20px;
  border-radius: 16px; border: 1px solid var(--pt-borde-suave);
  background: var(--pt-escamas) 0 0 / 28px 28px, var(--pt-placa);
}
.pt-soporte-placa::before {
  content: ''; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--pt-oro), transparent);
}
.pt-soporte-texto p { margin: 0; color: var(--text-muted); font-size: 16px; line-height: 1.55; max-width: 60ch; }
.pt-boton--whatsapp { justify-self: start; }

/* ---------------------------------------------------- 5. los datos */

.pt-datos-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.pt-dato { display: flex; gap: 14px; align-items: flex-start; }
.pt-dato-medalla {
  flex: 0 0 auto; width: 54px; height: 54px; display: grid; place-items: center;
  color: var(--pt-oro-texto); background: var(--pt-medalla);
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%);
}
.pt-dato-cuerpo { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.pt-dato-titulo { font-family: 'Chakra Petch', sans-serif; font-size: 19px; font-weight: 700; color: var(--text); }
.pt-dato-texto { color: var(--text-muted); font-size: 15px; line-height: 1.5; }

.pt-contador { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pt-contador-cifra { font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); line-height: 1; color: var(--pt-oro-texto); }
.pt-contador-texto { color: var(--text-muted); font-size: 16px; }

/* ---------------------------------------------- 6. el botón principal */

.pt-entrar { display: grid; justify-items: center; gap: 14px; text-align: center; }
.pt-sello { width: 148px; height: 148px; overflow: visible; filter: drop-shadow(0 0 18px var(--pt-resplandor)); }
.pt-sello-borde { fill: none; stroke: var(--pt-borde-fuerte); stroke-width: 2; stroke-dasharray: 2 6; }
.pt-sello-centro { fill: var(--marca); }
.pt-sello-infinito { stroke: #FFFFFF; }
.pt-sello-texto { font: 700 15px 'Chakra Petch', sans-serif; letter-spacing: 2px; fill: var(--pt-sello-texto); }
.pt-sello-giro { transform-origin: 100px 100px; animation: pt-girar 28s linear infinite; }
.pt-entrar-texto p { margin: 0 auto 20px; max-width: 46ch; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.pt-entrar-botones { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.pt-boton--grande { min-height: 60px; padding: 0 30px; border-radius: 12px; font-size: 19px; }

/* -------------------------------------- inclinarse hacia el mouse */

/* Las placas se inclinan apenas hacia el puntero (solo con mouse; /js/portada.js
   pone --ix y --iy). Con el dedo o con "reducir movimiento", quietas. */
[data-inclina] { transform: perspective(1100px) rotateX(var(--ix, 0deg)) rotateY(var(--iy, 0deg)); transition: transform .3s ease-out; }

/* ------------------------------------- la entrada de cada bloque */

/* Cada bloque entra al llegar a la vista, una sola vez, y cada uno a su
   manera (16-oct-2026). /js/portada.js pone .pt-espera SOLO a lo que todavía
   no se ve, y la cambia por .pt-entra al llegar: sin JavaScript, o con
   "reducir movimiento", no se esconde nada. */
.pt-espera { opacity: 0; }
.pt-entra { animation: pt-entra-subir .7s cubic-bezier(.2, .75, .25, 1) var(--retraso, 0s) both; }
[data-entra="lado"].pt-entra { animation-name: pt-entra-lado; }
[data-entra="lado"].pt-entra .pt-dato-medalla { animation: pt-entra-medalla .85s cubic-bezier(.25, .8, .3, 1.25) var(--retraso, 0s) both; }
[data-entra="asoma"].pt-entra { animation-name: pt-entra-aparece; }
[data-entra="asoma"].pt-entra .pt-soporte-dragon { animation: pt-entra-asoma 1s cubic-bezier(.2, .75, .25, 1) .15s both, pt-asomarse 6.5s ease-in-out 1.15s infinite; }
[data-entra="sello"].pt-entra { animation-name: pt-entra-aparece; }
[data-entra="sello"].pt-entra .pt-sello { animation: pt-entra-sello 1.2s cubic-bezier(.2, .75, .25, 1) both; }
[data-entra="sello"].pt-entra .pt-boton--grande { animation: pt-entra-subir .7s cubic-bezier(.2, .75, .25, 1) .35s both; }
@keyframes pt-entra-subir { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pt-entra-lado { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes pt-entra-medalla { from { transform: rotate(-120deg) scale(.4); } to { transform: none; } }
@keyframes pt-entra-aparece { from { opacity: 0; } to { opacity: 1; } }
@keyframes pt-entra-asoma { from { transform: translateY(75%); } to { transform: none; } }
@keyframes pt-entra-sello { from { opacity: 0; transform: rotate(-200deg) scale(.5); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------- 7. los juegos */

/* Entrega 2 (17-oct-2026), partials/portada-juegos: Disponibles y
   Próximamente, de la base. Sin JavaScript, las dos listas una debajo de la
   otra con su título; con JavaScript, pestañas (.is-pestanas). */
.pt-juegos { display: grid; gap: 16px; }
.pt-juegos-cabeza { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.pt-juegos-cabeza .pt-titulo-seccion { margin: 0; }

.pt-pestanas {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px;
  background: var(--pt-placa-suave); border: 1px solid var(--pt-borde-suave);
}
.pt-pestanas[hidden] { display: none; }
.pt-pestana {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 9px; background: transparent; color: var(--text-muted);
  font: 600 15px Inter, system-ui, sans-serif; cursor: pointer;
}
.pt-pestana:hover { color: var(--text); }
.pt-pestana[aria-selected="true"] { background: var(--primary); color: var(--on-primary); }
.pt-pestana:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.pt-pestana-cuenta {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 700;
}
.pt-pestana[aria-selected="true"] .pt-pestana-cuenta { background: rgba(255, 255, 255, .22); color: inherit; }

.pt-juegos-panel[hidden] { display: none; }
.pt-juegos-panel:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; border-radius: 14px; }
.pt-juegos-subtitulo { margin: 4px 0 10px; font: 600 15px Inter, system-ui, sans-serif; color: var(--text-muted); }
/* Con pestañas, el título de cada lista lo dice su pestaña: queda para los lectores. */
.pt-juegos.is-pestanas .pt-juegos-subtitulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.pt-juegos-lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.pt-juegos-lista--pronto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-juego { position: relative; overflow: hidden; border-radius: 14px; }
.pt-juego-nombre { font-family: 'Chakra Petch', sans-serif; font-weight: 700; line-height: 1.12; overflow-wrap: anywhere; }

/* Disponible (23-oct-2026; compacta desde el 24-oct-2026, la tanda del
   cliente): la portada arriba (4:3), con la píldora de estado encima, y
   debajo solo el nombre. Tres por fila en el celular y cuatro en el
   computador; las columnas son fijas, así que con un solo juego la tarjeta
   queda en su tamaño, a la izquierda, sin estirarse. Las esquinas cortadas en
   diagonal y el borde del morado al oro, como las tarjetas del carrusel; al
   pasar el mouse o al enfocarla, el borde se enciende, la tarjeta sube y
   brilla en el morado de la marca. Sin ilustración, la portada es dibujada
   (el rayo en su medalla), con el mismo alto: se ve entera, no rota. El
   recorte en diagonal va en la tarjeta (clip-path); el brillo, en el li
   (drop-shadow): el recorte se comería una sombra puesta en la misma tarjeta. */
.pt-juegos-titulos { display: grid; gap: 4px; }
.pt-juegos-bajada { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.45; }
.pt-juegos-lista--disponibles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-juego--disponible { --c: 10px; overflow: visible; border-radius: 0; transition: filter .25s ease; }
.pt-juego-tarjeta {
  position: relative; display: block; height: 100%; padding: 1.5px;
  color: inherit; text-decoration: none; background: var(--pt-borde-fuerte);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
  transition: transform .25s ease;
}
/* El borde encendido, encima del apagado: aparece con un fundido. */
.pt-juego-tarjeta::before { content: ''; position: absolute; inset: 0; background: var(--pt-marco); opacity: .5; transition: opacity .25s ease; }
.pt-juego-interior {
  position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%;
  background: var(--pt-escamas) 0 0 / 28px 28px, var(--pt-placa);
  clip-path: polygon(calc(var(--c) - 1px) 0, 100% 0, 100% calc(100% - var(--c) + 1px), calc(100% - var(--c) + 1px) 100%, 0 100%, 0 calc(var(--c) - 1px));
}
.pt-juego-portada {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 58%, rgba(140, 63, 245, .55), transparent 70%),
    var(--pt-escamas) 0 0 / 28px 28px, linear-gradient(160deg, #2A1B52, #120D22);
}
.pt-juego-portada img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .45s ease; }
/* Donde termina la portada, el hilo del morado al oro. */
.pt-juego-portada::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--pt-oro), transparent);
}
/* La portada dibujada: el rayo en su medalla, con el resplandor morado. */
.pt-juego-marca {
  width: 34px; height: 34px; margin-top: 16px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(160deg, #3A2A12, #241A0B); color: #F5B73B;
  box-shadow: 0 0 0 1px rgba(245, 183, 59, .4), 0 0 24px rgba(140, 63, 245, .6);
}
.pt-juego-marca svg { width: 58%; height: 58%; }
/* La píldora va SOBRE la portada (en los dos temas): fondo oscuro propio,
   para leerse sobre cualquier ilustración. Color y palabra. */
.pt-juego-estado {
  position: absolute; left: 6px; top: 6px; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px 3px 6px; border-radius: 999px;
  font: 700 9.5px/1.2 Inter, system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: #4BE3A2; background: rgba(9, 6, 19, .8); border: 1px solid rgba(75, 227, 162, .45);
}
.pt-juego-punto { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 25%, transparent); }
.pt-juego--disponible .pt-juego-nombre { display: block; padding: 7px 6px 9px; font-size: 13px; text-align: center; color: var(--text); }
/* Encendida. El hover solo donde hay mouse (en el celular quedaría pegado). */
.pt-juego--disponible:focus-within { filter: drop-shadow(0 0 12px rgba(140, 63, 245, .55)); }
.pt-juego--disponible:focus-within .pt-juego-tarjeta { transform: translateY(-3px); }
.pt-juego--disponible:focus-within .pt-juego-tarjeta::before { opacity: 1; }
.pt-juego--disponible:focus-within .pt-juego-portada img { transform: scale(1.05); }
@media (hover: hover) {
  .pt-juego--disponible:hover { filter: drop-shadow(0 0 12px rgba(140, 63, 245, .55)); }
  .pt-juego--disponible:hover .pt-juego-tarjeta { transform: translateY(-3px); }
  .pt-juego--disponible:hover .pt-juego-tarjeta::before { opacity: 1; }
  .pt-juego--disponible:hover .pt-juego-portada img { transform: scale(1.05); }
}
/* El foco del teclado, además, con el contorno de siempre (en el li: el
   recorte en diagonal se lo comería a la tarjeta). */
.pt-juego--disponible:has(.pt-juego-tarjeta:focus-visible) { outline: 3px solid var(--text); outline-offset: 4px; }
@media (min-width: 760px) {
  .pt-juegos-lista--disponibles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .pt-juego--disponible { --c: 14px; }
  .pt-juego-marca { width: 64px; height: 64px; margin-top: 10px; border-radius: 18px; }
  .pt-juego-estado { left: 10px; top: 10px; gap: 6px; padding: 4px 9px 4px 8px; font-size: 11px; }
  .pt-juego-punto { width: 7px; height: 7px; }
  .pt-juego--disponible .pt-juego-nombre { padding: 11px 12px 13px; font-size: 17px; }
}
.pt-juegos-nota { margin: 12px 0 0; color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.pt-juegos-boton { justify-self: start; margin-top: 4px; }

/* Próximamente: oscura en los dos temas, con candado, y un brillo que la
   cruza cada tanto (cada tarjeta a su tiempo: --d). Solo el nombre. En el
   celular, compacta (candado y nombre en una línea): son muchos juegos. */
.pt-juego--pronto {
  display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 10px 12px;
  background: linear-gradient(160deg, #1D1536, #0E0A1A); border: 1px solid #33295A;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.pt-juegos-lista--pronto { gap: 8px; }
.pt-juego-candado { flex: 0 0 auto; width: 24px; height: 24px; }
.pt-juego--pronto .pt-juego-nombre { font-size: 15px; color: #E9E1FA; }
.pt-juego--pronto::after {
  content: ''; position: absolute; top: -30%; bottom: -30%; left: -60%; width: 42%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .10) 40%, rgba(221, 203, 255, .26) 50%, rgba(255, 255, 255, .10) 60%, transparent);
  transform: translateX(0) skewX(-18deg); animation: pt-brillo 7s ease-in-out var(--d, 0s) infinite;
}
@keyframes pt-brillo {
  0%, 74% { transform: translateX(0) skewX(-18deg); }
  100% { transform: translateX(420%) skewX(-18deg); }
}

@media (min-width: 760px) {
  .pt-juegos-lista--pronto { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
  .pt-juego--pronto { display: grid; align-content: space-between; justify-items: start; gap: 18px; min-height: 132px; padding: 18px; }
  .pt-juego-candado { width: 30px; height: 30px; }
  .pt-juego--pronto .pt-juego-nombre { font-size: 19px; }
}

/* ------------------------------------------------- 8. los tutoriales */

/* Entrega 3 (17-oct-2026), partials/portada-tutoriales: aquí solo la cáscara
   (pestañas, pasos en texto y el marco del celular). Las pantallas del
   celular y sus estilos (/css/tutoriales.css) llegan cuando el bloque está
   por verse (portada.js): no entran en la primera carga. Sin JavaScript, los
   cuatro tutoriales en texto, uno debajo del otro, y sin celular. */
.pt-tutoriales { display: grid; gap: 18px; }
.pt-tut-cabeza { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pt-tut-cabeza .pt-titulo-seccion { margin: 0 0 8px; }
.pt-tut-bajada { margin: 0; max-width: 56ch; color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.pt-tut-dragon { flex: 0 0 auto; width: 92px; }
.pt-tut-dragon-img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(10, 4, 24, .35)); }

.pt-tut {
  position: relative; display: grid; gap: 16px; padding: 16px; border-radius: 18px;
  background: var(--pt-escamas) 0 0 / 28px 28px, var(--pt-placa); border: 1px solid var(--pt-borde-suave);
}
.pt-tut::before {
  content: ''; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--pt-oro), transparent);
}

/* En el celular, las cuatro en dos filas (en una, la cuarta quedaba fuera de la vista). */
.pt-tut-pestanas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pt-tut-pestana {
  position: relative; overflow: hidden; flex: 0 0 auto;
  display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 8px;
  border-radius: 999px; border: 1px solid var(--pt-borde-suave); background: var(--surface-2);
  color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none;
}
.pt-tut-pestana:hover { border-color: var(--pt-borde-fuerte); }
.pt-tut-pestana:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.pt-tut-pestana-num {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--pt-borde-fuerte); font-size: 13px; font-weight: 700;
}
/* En el celular, la pestaña dice lo corto; el título completo, para los lectores. */
.pt-tut-pestana-largo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-tut-pestana.es-activa { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.pt-tut-pestana.es-activa .pt-tut-pestana-num { background: rgba(255, 255, 255, .2); border-color: transparent; color: inherit; }
/* Cuánto le falta al tutorial (--avance lo pone el motor de la maqueta). */
.pt-tut-pestana.es-activa::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--avance, 0) * 100%);
  background: var(--pt-oro); transition: width .3s ease;
}

.pt-tut-cuerpo { display: grid; gap: 16px; justify-items: center; }
.pt-tut-celular {
  width: 262px; max-width: 100%; padding: 8px; border-radius: 40px;
  background: #0B0816; border: 1px solid var(--pt-borde-fuerte);
  box-shadow: 0 18px 40px rgba(10, 4, 24, .4), inset 0 0 0 1px rgba(255, 255, 255, .04);
}
html:not(.js) .pt-tut-celular, .pt-tutoriales.is-sin-celular .pt-tut-celular { display: none; }
.pt-tut-pantalla {
  position: relative; display: flex; flex-direction: column; height: 400px; border-radius: 32px; overflow: hidden;
  background: var(--bg); color: var(--text); font-size: 13px; line-height: 1.35;
}
.pt-tut-estado { position: relative; flex: none; display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 20px; font-size: 12px; font-weight: 600; }
.pt-tut-isla { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 72px; height: 19px; border-radius: 12px; background: #0B0816; }
.pt-tut-senal { width: 18px; height: 9px; border-radius: 2px; border: 1.5px solid currentColor; opacity: .7; }
.pt-tut-escenas { position: relative; flex: 1; display: grid; min-height: 0; padding: 12px 14px 16px; }
.pt-tut-cargando { align-self: center; justify-self: center; color: var(--text-muted); font-size: 13px; }

.pt-tut-paneles { width: 100%; display: flex; flex-direction: column; gap: 12px; }
/* En el celular los botones van pegados al celular, antes de los pasos; y de
   los pasos solo se lee entero el que se muestra (el bloque no se alarga). */
.pt-tut-controles { order: -1; }
.mq--viva .pt-tut-paso:not(.es-actual) .pt-tut-paso-detalle { display: none; }
.pt-tut-panel[hidden] { display: none; }
/* Con JavaScript, mientras llega el celular, solo el primero (después las
   pestañas las maneja el motor); si no llega, los cuatro en texto. */
html.js .pt-tutoriales:not(.is-sin-celular) .pt-tut:not(.mq--viva) .pt-tut-panel:not(:first-child) { display: none; }
.pt-tut-panel-titulo { margin: 0 0 8px; font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); }
.mq--viva .pt-tut-panel-titulo { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-tut-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-tut-paso {
  width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px;
  border-radius: 12px; border: 1px solid transparent; background: none;
  color: var(--text-muted); font: inherit; text-align: left;
}
.pt-tut-paso:disabled { cursor: default; }
.pt-tut-paso-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--pt-borde-fuerte); color: var(--text);
  font-family: 'Chakra Petch', sans-serif; font-size: 14px; font-weight: 700;
}
.pt-tut-paso-texto { display: flex; flex-direction: column; gap: 2px; }
.pt-tut .mq-paso-nombre { font-size: 15px; font-weight: 700; color: var(--text); }
.pt-tut-paso-detalle { font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.pt-tut-paso.es-actual { background: var(--surface-2); border-color: var(--pt-borde-fuerte); }
.pt-tut-paso.es-actual .pt-tut-paso-num { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.mq--viva .pt-tut-paso { cursor: pointer; }
.mq--viva .pt-tut-paso:not(.es-actual):hover { background: var(--surface-2); }
.pt-tut-paso:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }
.pt-tut-controles { display: flex; justify-content: center; gap: 10px; }
.pt-tut-controles[hidden] { display: none; }
.pt-tut-control {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; padding: 0;
  border: 1px solid var(--pt-borde-fuerte); background: var(--surface-2); color: var(--text); cursor: pointer;
}
.pt-tut-control > span:not([hidden]) { display: grid; place-items: center; }
.pt-tut-control:hover { border-color: var(--primary); }
.pt-tut-control:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

@media (min-width: 760px) {
  .pt-tut-dragon { width: 132px; }
  .pt-tut { padding: 22px; }
  .pt-tut-pestanas { display: flex; flex-wrap: wrap; }
  .pt-tut-pestana-largo { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: nowrap; }
  .pt-tut-pestana-corto { display: none; }
}
@media (min-width: 960px) {
  .pt-tut { padding: 26px 28px; }
  .pt-tut-cuerpo { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; justify-items: stretch; gap: 28px; }
  .pt-tut-celular { order: 2; width: 300px; justify-self: center; }
  .pt-tut-pantalla { height: 460px; }
  /* Al lado del celular hay lugar: los pasos se leen enteros y los botones van abajo. */
  .pt-tut-controles { order: 1; }
  .mq--viva .pt-tut-paso:not(.es-actual) .pt-tut-paso-detalle { display: block; }
}

/* ---------------------------------------------- 9. el dragón de ayuda */

/* Entrega 2 (17-oct-2026), partials/portada-ayuda: abajo a la derecha, con
   el retrato. Abre un panel con WhatsApp y los tutoriales. No tapa: se
   esconde (.is-escondida, /js/portada.js) cuando quedaría encima de algo que
   se toca (los botones del pie, la pausa del carrusel, un enlace). En el
   celular, además, queda ASOMADO desde el borde (más de la mitad afuera):
   solo ocupa el margen; al tocarlo o llegarle con el teclado, sale entero.
   Sin JavaScript no aparece. */
.pt > .pt-ayuda {
  position: fixed; z-index: 35;
  right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transition: opacity .3s ease, transform .3s ease, right .3s ease, visibility 0s;
}
@media (max-width: 759.98px) {
  .pt > .pt-ayuda { right: calc(-32px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .pt > .pt-ayuda.is-abierta, .pt > .pt-ayuda:focus-within { right: calc(12px + env(safe-area-inset-right, 0px)); }
  .pt-ayuda-boton { width: 60px; height: 60px; }
}
html:not(.js) .pt-ayuda { display: none; }
.pt > .pt-ayuda.is-escondida {
  opacity: 0; transform: translateY(18px) scale(.9); visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.pt-ayuda-boton {
  position: relative; display: block; width: 58px; height: 58px; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; animation: pt-ayuda-flota 4.8s ease-in-out infinite;
}
.pt-ayuda-cara {
  position: absolute; inset: 0; overflow: hidden; border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #4A2A82, #170D2C 72%);
  border: 2px solid rgba(201, 182, 255, .6);
  box-shadow: 0 8px 22px rgba(10, 4, 24, .45), 0 0 18px rgba(140, 63, 245, .45);
}
.pt-ayuda-dragon { position: absolute; left: 6%; top: 8%; width: 88%; height: auto; max-width: none; }
/* Un halo que se abre cada tanto: se nota sin molestar. */
.pt-ayuda-halo {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(164, 105, 247, .7);
  opacity: 0; animation: pt-ayuda-halo 4.8s ease-out 1.2s infinite;
}
.pt-ayuda-boton:hover .pt-ayuda-cara { border-color: #FFFFFF; }
.pt-ayuda-boton:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.pt-ayuda-boton[aria-expanded="true"] { animation: none; }
.pt-ayuda-boton[aria-expanded="true"] .pt-ayuda-cara { border-color: var(--pt-oro); }
.pt-ayuda-boton[aria-expanded="true"] .pt-ayuda-halo { display: none; }
@keyframes pt-ayuda-flota { 50% { transform: translateY(-4px); } }
@keyframes pt-ayuda-halo { 0% { opacity: .9; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(1.45); } }

.pt-ayuda-panel {
  position: absolute; right: 0; bottom: calc(100% + 12px); width: min(290px, calc(100vw - 24px));
  padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--pt-borde-fuerte);
  box-shadow: 0 18px 44px rgba(10, 4, 24, .38); transform-origin: 90% 100%;
}
.pt-ayuda-panel[hidden] { display: none; }
.pt-ayuda-panel.is-abriendo { animation: pt-ayuda-abre .24s cubic-bezier(.2, .8, .3, 1.15) both; }
@keyframes pt-ayuda-abre { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.pt-ayuda-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pt-ayuda-titulo { margin: 0; font-family: 'Chakra Petch', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); }
.pt-ayuda-cerrar {
  width: 44px; height: 44px; margin: -10px -8px -10px 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: none; color: var(--text-muted); cursor: pointer;
}
.pt-ayuda-cerrar:hover { color: var(--text); background: var(--surface-2); }
.pt-ayuda-cerrar:focus-visible { outline: 3px solid var(--text); outline-offset: 0; }
.pt-ayuda-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-ayuda-enlace {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--pt-borde-suave); background: var(--surface-2); color: var(--text);
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.pt-ayuda-enlace:hover { border-color: var(--pt-borde-fuerte); }
.pt-ayuda-enlace--principal { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.pt-ayuda-enlace--principal:hover { border-color: transparent; filter: brightness(1.06); }
.pt-ayuda-enlace:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

@media (min-width: 760px) {
  /* 14 px: a 1366 queda entero en el margen, sin rozar el contenido. */
  .pt > .pt-ayuda { right: 14px; bottom: 22px; }
  .pt-ayuda-boton { width: 72px; height: 72px; }
}

/* ------------------------------------- celular: el carrusel apaisado */

/* Solo en el celular (17-oct-2026; el computador no cambia). Como en la
   referencia, en el celular la tarjeta no es la del computador encogida:
   lleva etiqueta, título y botón, y el párrafo queda para el computador.
   Así entra en 16:9 sin achicar la letra (título 22 px, botón de 44 px): la
   pista mide 16:9 sobre el ancho de la tarjeta y solo crece si el texto no
   cupiera (en un celular muy angosto). El texto va a la izquierda, sobre el
   lado oscuro que dejan las escenas, y el degradado tapa solo esa columna:
   el resto de la escena queda a la vista.
   Y en vez de las miniaturas (a ese tamaño no se distinguen), puntos
   morados debajo de la tarjeta: el activo es una píldora que se va llenando
   mientras dura su turno. */
@media (max-width: 959.98px) {
  /* Como mínimo 16:9 sobre el ancho de la tarjeta (cqi: el ancho del
     escenario); si el texto pide más, crece. (aspect-ratio no sirve: la
     pista recorta lo que se sale, y así no la deja crecer con el texto.) */
  .pt-escenario { container-type: inline-size; }
  .pt-pista { min-height: calc((100cqi - 3px) * 9 / 16); } /* 3 px: el borde del marco */
  .pt-aviso--escena { align-content: stretch; }
  .pt-escena-velo { display: none; }
  .pt-escena-img {
    inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: var(--foco, 100%) 30%;
    -webkit-mask-image: none; mask-image: none;
  }
  .pt-escena::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(var(--pt-velo), .86) 0, rgba(var(--pt-velo), .72) 40%, rgba(var(--pt-velo), .3) 60%, rgba(var(--pt-velo), 0) 74%);
  }
  .pt-aviso--escena .pt-aviso-texto {
    margin: 0; max-width: max(60%, 196px); padding: 10px 8px 12px 16px; justify-content: center; background: none;
  }
  .pt-aviso--escena .pt-aviso-bajada { display: none; }
  .pt-aviso--escena .pt-aviso-etiqueta {
    display: block; align-self: flex-start; margin-bottom: 5px;
    font: 700 11px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #F7C55E;
  }
  /* 22-oct-2026: con los títulos del cliente ("Precios exclusivos para usuarios
     registrados" ocupa 4 renglones a 375 px) se recortó el aire (relleno 12/14
     a 10/12, etiqueta 6 a 5, título 12 a 10) para seguir en 16:9 sin achicar la letra. */
  .pt-aviso--escena .pt-aviso-titulo { margin: 0 0 10px; font-size: 22px; line-height: 1.08; }
  .pt-aviso--escena .pt-boton { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }

  /* Los puntos: cada uno, un enlace de 44 px (el mínimo para tocar). */
  .pt-indice { justify-content: center; }
  .pt-indice-lista { width: auto; justify-content: center; gap: 0; }
  .pt-indice-item { width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; box-shadow: none; }
  .pt-indice-item[aria-current="true"] { box-shadow: none; }
  .pt-indice-mini { display: none; }
  .pt-indice-item::before {
    content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--pt-punto-apagado);
    transition: width .3s ease, background-color .3s ease;
  }
  .pt-indice-item:hover::before { background: var(--pt-punto); }
  .pt-indice-item[aria-current="true"]::before { width: 26px; background: var(--pt-punto); }
  .pt-indice-barra { left: 9px; right: 9px; top: 18px; bottom: auto; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .5); }
}

/* ------------------------------------------------------ computador */

@media (min-width: 560px) {
  .pt-entrar-botones { flex-direction: row; justify-content: center; width: auto; }
}

@media (min-width: 760px) {
  .pt-barra > header { min-height: 76px !important; }
  .pt-barra > header > div { padding: 12px 0 !important; }
  .pt-cabeza.is-pegada .pt-barra > header { min-height: 64px !important; }
  .pt-cabeza.is-pegada .pt-barra > header > div { padding: 8px 0 !important; }
  .pt-cabeza.is-pegada .logo-cabecera svg { transform: scale(.92); }
  .pt-franja { min-height: 40px; font-size: 14px; }
  .pt-franja-texto--largo { display: inline; }
  .pt-franja-texto--corto { display: none; }
  .pt [id] { scroll-margin-top: 120px; }
  .pt-main { gap: 64px; padding-top: 12px; }

  .pt-soporte { padding-top: 122px; }
  .pt-soporte-dragon { right: 5%; width: 210px; }
  .pt-soporte-halo { right: calc(5% - 40px); top: -40px; width: 290px; }
  .pt-soporte-sombra { right: calc(5% + 10px); top: 108px; width: 190px; height: 30px; }
  .pt-soporte-placa { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 30px 260px 30px 32px; }
  .pt-boton--whatsapp { grid-column: 1; }

  .pt-datos-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .pt-dato { flex-direction: column; padding: 4px 26px; }
  .pt-dato:first-child { padding-left: 0; }
  .pt-dato + .pt-dato { border-left: 1px solid var(--pt-borde-suave); }

  .pt-entrar { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; gap: 40px; text-align: left; max-width: 880px; margin: 0 auto; }
  .pt-sello { width: 196px; height: 196px; }
  .pt-entrar-texto p { margin-left: 0; }
  .pt-entrar-botones { justify-content: flex-start; }
}

@media (min-width: 960px) {
  .pt-avisos { grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; align-items: stretch; }
  .pt-escenario { --c: 22px; }
  .pt-aviso { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr; align-items: center; gap: 8px; padding: 30px 64px 30px 72px; min-height: 440px; }
  .pt-aviso-titulo { font-size: clamp(2.2rem, 1.2rem + 1.9vw, 2.75rem); }
  .pt-aviso-visual { order: 2; --alto: 390px; margin-bottom: 0; }
  .pt-orbita { width: 44px; height: 44px; }
  .pt-cofre { width: min(270px, 80%); }
  .pt-orbita--2 { width: 38px; height: 38px; }
  .pt-orbita--3 { width: 34px; height: 34px; }
  .pt-flecha:not([hidden]) { display: grid; }

  /* La escena a la derecha, a todo el alto y en su 16:9 (sin recortarle
     arriba ni abajo: a lo ancho de la tarjeta cortaba los cuernos); su lado
     izquierdo se funde con la copia desenfocada, que llena el resto. El
     texto a la izquierda, sobre el degradado, sin pisar al dragón. La
     tarjeta, más baja (17-oct-2026: 380 px; antes 440). */
  .pt-aviso--escena { grid-template-columns: minmax(0, 1fr); align-items: stretch; align-content: stretch; padding: 0; min-height: 380px; }
  .pt-escena-velo { left: 0; width: 100%; object-position: 100% 50%; }
  .pt-escena-img {
    left: auto; right: 0; width: auto; max-width: 100%; height: 100%; aspect-ratio: 16 / 9; object-position: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  }
  .pt-vida { left: auto; right: 0; width: auto; max-width: 100%; height: 100%; aspect-ratio: 16 / 9; --fx: 1; --fy: .5; }
  .pt-aviso--escena .pt-aviso-texto {
    margin: 0; max-width: 50%; justify-content: center; padding: 28px 40px 28px 72px;
    background: linear-gradient(90deg, rgba(var(--pt-velo), .84) 0, rgba(var(--pt-velo), .66) 60%, rgba(var(--pt-velo), 0) 100%);
  }
  .pt-aviso--escena .pt-aviso-titulo { font-size: clamp(2rem, .9rem + 1.6vw, 2.4rem); }
  .pt-pausa { width: 40px; height: 40px; right: 18px; bottom: 18px; }

  /* Los cinco a lo alto, repartidos: el panel mide lo mismo que la tarjeta. */
  .pt-indice { padding: 10px; border-radius: 16px; background: var(--pt-placa-suave); border: 1px solid var(--pt-borde-suave); }
  .pt-indice-lista { flex-direction: column; justify-content: stretch; gap: 6px; }
  .pt-indice-lista > li { flex: 1 1 0; display: flex; min-height: 0; }
  .pt-indice-item {
    flex: 1; display: flex; align-items: center; justify-content: flex-start; gap: 12px;
    width: auto; height: auto; padding: 6px 10px; border-radius: 12px; text-align: left;
    background: transparent; border-color: transparent;
  }
  .pt-indice-item:hover { background: var(--surface-2); }
  .pt-indice-item[aria-current="true"] { background: var(--surface-2); border-color: var(--pt-borde-fuerte); box-shadow: none; color: var(--text); }
  .pt-indice-mini { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--pt-borde-suave); }
  .pt-indice-item[aria-current="true"] .pt-indice-mini { border-color: var(--primary); box-shadow: var(--glow-primary); }
  .pt-indice-texto { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; font-size: 15px; font-weight: 600; line-height: 1.3; }
  .pt-indice-barra { left: 10px; right: 10px; }
}

/* Lo de la escena viva que nace del lado del texto, solo desde 1100 px: entre
   960 y 1100 la columna del texto llega hasta la mitad de la imagen y lo
   pisaría (medido el 24-oct-2026; desde 1100, hasta el 37 %). */
@media (min-width: 1100px) {
  .pt-vida--pc { display: block; }
}

@media (min-width: 1280px) {
  .pt { --pt-ancho: 1220px; }
  .pt-avisos { grid-template-columns: minmax(0, 1fr) 300px; }
  .pt-aviso { min-height: 500px; padding: 34px 72px 34px 84px; }
  .pt-aviso--escena { padding: 0; min-height: 420px; }
  .pt-aviso--escena .pt-aviso-texto { padding: 32px 40px 32px 76px; }
  .pt-aviso--escena .pt-aviso-titulo { font-size: 2.6rem; }
  .pt-indice-mini { width: 56px; height: 56px; }
  .pt-aviso-visual { --alto: 450px; }
  .pt-aviso-titulo { font-size: 3rem; }
  .pt-aviso-bajada { font-size: 17px; }
  .pt-entrar { max-width: 980px; }
}

@media (min-width: 1600px) {
  .pt { --pt-ancho: 1440px; }
  .pt-avisos { grid-template-columns: minmax(0, 1fr) 320px; }
  .pt-aviso { min-height: 540px; }
  .pt-aviso--escena { min-height: 460px; }
  .pt-aviso--escena .pt-aviso-titulo { font-size: 2.9rem; }
  .pt-aviso-visual { --alto: 500px; }
  .pt-aviso-titulo { font-size: 3.4rem; }
}

/* ------------------------------------------- reducir movimiento: quieto */

@media (prefers-reduced-motion: reduce) {
  .pt *, .pt *::before, .pt *::after { animation: none !important; transition: none !important; }
  .pt-chispas { display: none; }
  .pt-pista { scroll-behavior: auto; }
  /* Ni paralaje, ni inclinación, ni nada escondido esperando su entrada. */
  .pt-capa, [data-inclina] { transform: none !important; }
  .pt-espera { opacity: 1 !important; }
}
