/* =====================================================================
   v55.0 · Experiencia de bienvenida «¿Qué preparación deseas para tu hijo?»
   Mismo lenguaje visual que app.css (botones sticker, burbujas de Jesús, colores del colegio).
   ===================================================================== */
.exp-v { display: none; padding: 10px 20px 30px; }
.exp-v.is-on { display: block; animation: slideIn .38s cubic-bezier(.2,.8,.2,1); }
.exp-v.is-on.atras { animation-name: slideBack; }
.exp-top { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 10px; margin: -10px -20px 10px; padding: 14px 20px 10px; padding-top: max(14px, env(safe-area-inset-top)); background: rgba(255,255,255,.96); backdrop-filter: blur(6px); }
.exp-top > b { font-size: 17px; font-weight: 900; color: var(--ink); flex: 1; min-width: 0; }
.exp-top .btn-back { flex: none; }

/* ---------- Inicio ---------- */
.exp-hero img { max-height: min(38vh, 320px); }
.exp-pregunta { text-align: center; margin: 4px 0 18px; }
.exp-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.exp-opc { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 132px; padding: 14px 10px 12px; border: 0; border-radius: 20px; color: #fff; cursor: pointer; font: inherit; text-align: center; transition: transform .08s, box-shadow .08s, filter .15s; }
.exp-opc:hover { filter: brightness(1.05); }
.exp-opc:active { transform: translateY(3px); }
.exp-opc.vida { background: var(--pri); box-shadow: 0 5px 0 var(--pri-dark); }
.exp-opc.eternidad { background: linear-gradient(160deg, #f5b301, #e08a00); box-shadow: 0 5px 0 #b46d00; }
.exp-opc:active { box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.exp-opc-ic { font-size: 34px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.15)); }
.exp-opc b { font-size: 18px; font-weight: 900; line-height: 1.1; }
.exp-opc small { font-size: 12.5px; font-weight: 700; opacity: .92; line-height: 1.2; }
.exp-saltar { display: block; margin: 22px auto 0; background: none; border: 0; color: var(--pri); font: 800 15px var(--font); cursor: pointer; padding: 8px; }

/* ---------- Jesús que habla ---------- */
.exp-bocadillo { margin: 4px 0 0; font-size: 16px; }
.exp-bocadillo::before { left: 50%; top: -10px; margin: 0 0 0 -9px; border-width: 0 9px 11px; border-color: transparent transparent var(--pri-soft); }
.exp-v .mascot-hero img { max-height: min(28vh, 220px); }
.exp-guia { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: center; margin-bottom: 12px; }
.exp-guia img { width: 78px; height: 92px; object-fit: cover; object-position: top; animation: floaty 4s ease-in-out infinite; }
.exp-guia .bubble { font-size: 15px; }

/* ---------- Láminas «Para la eternidad» ---------- */
.exp-puntos { display: flex; gap: 5px; }
.exp-puntos i { width: 8px; height: 8px; border-radius: 50%; background: #d7e0ee; transition: background .2s, width .2s; }
.exp-puntos i.on { background: var(--pri); width: 18px; border-radius: 99px; }
.exp-lamina { display: none; }
.exp-lamina.is-on { display: block; animation: slideIn .38s cubic-bezier(.2,.8,.2,1); }
.exp-lamina.is-on.atras { animation-name: slideBack; }
.exp-img { margin: 0; border-radius: 22px; overflow: hidden; background: #f3f7fd; box-shadow: 0 10px 30px rgba(15,45,110,.12); }
.exp-img img { width: 100%; height: auto; max-height: 62vh; object-fit: contain; margin: 0 auto; }
/* v55.3 · La lámina ocupa exactamente la pantalla del celular: Jesús arriba, la imagen completa al medio (se achica
   lo necesario, nunca se recorta) y «Siguiente» abajo, sin taparla en ningún tamaño de pantalla */
@supports (height: 100svh) {
  .exp-v[data-v="eternidad"].is-on { display: flex; flex-direction: column; height: 100svh; padding-bottom: 0; }
  .exp-laminas { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .exp-lamina.is-on { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
  .exp-lamina-fin.is-on { display: block; overflow: auto; }
  .exp-img { flex: 1 1 auto; min-height: 0; background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .exp-img img { width: 100%; height: 100%; max-height: none; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(15,45,110,.16)); }
  .exp-pie { position: static; }
}
.exp-lamina-fin { text-align: center; padding-top: 6px; }
.exp-lamina-fin .h1 { margin: 12px 0 18px; }
.exp-pie { position: sticky; bottom: 0; padding: 14px 0 4px; padding-bottom: max(4px, env(safe-area-inset-bottom)); background: linear-gradient(to top, #fff 70%, rgba(255,255,255,0)); }

/* ---------- Tarjetas de pruebas (PAEE, PISA, Universidad) ---------- */
.exp-pruebas { display: grid; gap: 12px; }
.exp-prueba { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 2px solid var(--line); border-radius: 18px; background: #fff; cursor: pointer; font: inherit; text-align: left; color: var(--ink); box-shadow: 0 4px 0 var(--line); transition: transform .08s, box-shadow .08s; }
.exp-prueba:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.exp-prueba-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--pri-soft); }
.exp-prueba.t-pisa .exp-prueba-ic { background: #e9f8ee; }
.exp-prueba.t-universidad .exp-prueba-ic { background: #fff4d9; }
.exp-prueba b { display: block; font-size: 18px; font-weight: 900; }
.exp-prueba small { display: block; font-size: 13.5px; color: var(--text); font-weight: 700; line-height: 1.25; margin-top: 2px; }
.exp-prueba-est { font-size: 13px; font-weight: 900; border-radius: 99px; padding: 6px 10px; background: var(--pri); color: #fff; white-space: nowrap; }
.exp-prueba.hecha { border-color: #bfe8cb; box-shadow: 0 4px 0 #bfe8cb; background: #f6fcf8; }
.exp-prueba.hecha .exp-prueba-est { background: var(--sec); }
.exp-matricula { margin-top: 18px; }
.exp-mat-txt { text-align: center; }
.exp-practica { text-align: center; }
.exp-practica p { margin: 0 0 10px; color: var(--text); font-size: 14.5px; line-height: 1.35; }

/* ---------- Universidad ---------- */
.exp-buscar { margin-top: 6px; }
.exp-ciudades { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.exp-ciudades::-webkit-scrollbar { display: none; }
.exp-ciudades button { flex: none; border: 2px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 99px; padding: 8px 14px; font: 800 14px var(--font); cursor: pointer; }
.exp-ciudades button.on { background: var(--pri); border-color: var(--pri); color: #fff; }
.exp-unis { display: grid; gap: 10px; }
.exp-uni-ciu { font-size: 13px; font-weight: 900; color: var(--muted, #7b879e); text-transform: uppercase; letter-spacing: .04em; margin: 8px 2px 0; }
.exp-uni { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; width: 100%; padding: 12px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.exp-uni:hover, .exp-uni:focus-visible { border-color: var(--pri); }
.exp-uni-sig { width: 48px; height: 48px; border-radius: 14px; background: var(--pri-soft); color: var(--pri); display: grid; place-items: center; font-size: 12px; font-weight: 900; text-align: center; line-height: 1.05; padding: 2px; overflow: hidden; }
.exp-uni b { display: block; font-size: 15.5px; font-weight: 900; line-height: 1.2; }
.exp-uni small { display: block; font-size: 13px; color: var(--text); font-weight: 700; margin-top: 2px; }
.exp-uni-bien { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; background: linear-gradient(135deg, var(--pri-soft), #fff); border-radius: 20px; padding: 10px 12px; }
.exp-uni-bien > img { width: 92px; height: 110px; object-fit: cover; object-position: top; }
/* v55.4 · Logos oficiales: recuadro blanco, logo completo (contain), nunca deformado */
.exp-uni-sig.logo { background: #fff; border: 1.5px solid var(--line); padding: 4px; }
.exp-uni-sig.logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.exp-uni-logo { display: block; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 14px; padding: 5px; margin: 6px 0 2px; box-shadow: 0 2px 8px rgba(15,45,110,.10); }
.exp-marca { margin: 16px 2px 0; font-size: 12px; line-height: 1.35; color: var(--muted, #7b879e); text-align: center; }
.exp-uni-bien small { font-weight: 900; color: var(--sec-dark); font-size: 13px; }
.exp-uni-bien .h1 { font-size: 22px; margin: 4px 0; }
.exp-uni-bien .muted { margin: 0; font-size: 13.5px; color: var(--text); }
.exp-carreras { display: grid; gap: 8px; }
.exp-carrera { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: 800 15.5px var(--font); color: var(--ink); text-align: left; cursor: pointer; }
.exp-carrera:hover, .exp-carrera:focus-visible { border-color: var(--pri); background: var(--pri-soft); }
.exp-carrera i { font-style: normal; color: var(--pri); }
/* v56.1 · UPeU u otras universidades (logos oficiales entregados, nunca dibujados) */
.exp-uni-jesus { display: grid; grid-template-columns: 88px 1fr; gap: 8px; align-items: center; margin: 4px 0 14px; }
.exp-uni-jesus > img { width: 88px; height: 88px; object-fit: cover; object-position: top; }
.exp-uni-jesus .bubble { margin: 0; }
.exp-uni-tipos { display: grid; gap: 12px; }
.exp-uni-tipo { position: relative; display: grid; gap: 4px; width: 100%; padding: 14px 40px 14px 14px; border: 2px solid var(--line); border-radius: 18px; background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--ink); box-shadow: 0 4px 14px rgba(15,45,110,.06); transition: border-color .15s, transform .15s; }
@media (hover: hover) { .exp-uni-tipo:hover { border-color: var(--pri); transform: translateY(-2px); } }
.exp-uni-tipo:focus-visible, .exp-uni-tipo:active { border-color: var(--pri); }
.exp-uni-tipo-img { display: flex; align-items: center; height: 64px; margin-bottom: 6px; }
.exp-uni-tipo-img img { max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.exp-uni-tipo.upeu .exp-uni-tipo-img img { max-height: 52px; }
.exp-uni-tipo b { font-size: 17px; font-weight: 900; line-height: 1.2; }
.exp-uni-tipo small { font-size: 13.5px; font-weight: 700; color: var(--text); }
.exp-uni-tipo i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 22px; color: var(--pri); }
.exp-uni-logo.ancho { width: auto; max-width: 100%; height: 48px; padding: 6px 10px; }
.exp-car-grupo { margin: 12px 2px 2px; display: grid; gap: 1px; }
.exp-car-grupo:first-child { margin-top: 0; }
.exp-car-grupo b { font-size: 15px; font-weight: 900; color: var(--ink); }
.exp-car-grupo small { font-size: 12.5px; font-weight: 700; color: var(--muted, #7b879e); }

/* ---------- Datos del alumno ---------- */
.exp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-chips button { border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 11px 14px; font: 800 15px var(--font); color: var(--ink-2); cursor: pointer; box-shadow: 0 3px 0 var(--line); }
.exp-chips button.on { background: var(--pri); border-color: var(--pri); color: #fff; box-shadow: 0 3px 0 var(--pri-dark); }
.exp-chips.grados button { min-width: 64px; }

/* ---------- Cuenta regresiva ---------- */
.exp-cuenta { text-align: center; padding-top: 22px; }
.exp-banner { background: linear-gradient(135deg, var(--pri), var(--pri-dark)); color: #fff; border-radius: 18px; padding: 14px 16px; font-size: 15.5px; line-height: 1.35; font-weight: 800; margin: 0 0 18px; box-shadow: 0 8px 24px rgba(15,45,110,.18); }
.exp-cuenta-para { color: var(--text); font-size: 16px; margin: 0; }
.exp-num { font-size: 130px; font-weight: 900; line-height: 1; color: var(--pri); margin: 18px 0 8px; text-shadow: 0 6px 0 var(--pri-soft); }
.exp-num.late { animation: expLate .9s cubic-bezier(.3,1.6,.5,1); }
@keyframes expLate { 0% { transform: scale(.4); opacity: 0; } 40% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.exp-cuenta-j { width: 150px; margin: 0 auto; animation: floaty 4s ease-in-out infinite; }

/* ---------- Preguntas ---------- */
.exp-q-prog { font-size: 14px; font-weight: 900; color: var(--muted, #7b879e); }
.exp-q-barra { margin: 0 0 12px; }
.exp-q-area { display: inline-block; margin: 6px 0 8px; font-size: 13px; font-weight: 900; color: var(--pri); background: var(--pri-soft); border-radius: 99px; padding: 4px 12px; }
.exp-q-area:empty { display: none; }
.exp-q-x { background: #fffaf0; border: 1.5px solid #f6e3b8; border-radius: 14px; padding: 12px 14px; color: #5c4a1e; font-size: 15px; line-height: 1.45; margin-bottom: 10px; white-space: pre-line; }
.exp-q { font-size: 21px; line-height: 1.25; font-weight: 900; color: var(--ink); margin: 6px 0 14px; white-space: pre-line; }
.exp-ops { display: grid; gap: 10px; }
.exp-op { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; font: 800 16px/1.3 var(--font); color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 4px 0 var(--line); transition: transform .08s, box-shadow .08s; }
.exp-op:not([disabled]):active { transform: translateY(3px); box-shadow: 0 1px 0 var(--line); }
.exp-op .l { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--line); display: grid; place-items: center; font-weight: 900; color: var(--muted, #7b879e); }
.exp-op[disabled] { cursor: default; }
.exp-op.ok { border-color: var(--sec); background: var(--sec-soft); box-shadow: 0 4px 0 #bfe8cb; }
.exp-op.ok .l { background: var(--sec); border-color: var(--sec); color: #fff; }
.exp-op.mal { border-color: #ff8a8a; background: #fff1f1; box-shadow: 0 4px 0 #ffd0d0; }
.exp-op.mal .l { background: #ff5b5b; border-color: #ff5b5b; color: #fff; }
.exp-op.apagada { opacity: .55; }
.exp-res { margin-top: 16px; }
.exp-res-j { display: grid; grid-template-columns: 84px 1fr; gap: 10px; align-items: center; }
.exp-res-j img { width: 84px; height: 100px; object-fit: cover; object-position: top; }
.exp-res.bien .bubble { background: var(--sec-soft); color: #176c32; }
.exp-res.bien .bubble::before { border-right-color: var(--sec-soft); }
.exp-consejo { margin: 12px 0 4px; background: #fff8e1; border: 1.5px solid #ffe08a; border-radius: 16px; padding: 13px 15px; font-size: 15px; line-height: 1.45; color: #5c4400; font-weight: 700; animation: bubbleIn .4s cubic-bezier(.3,1.6,.5,1) both; }
.exp-consejo b { display: block; color: #8a5a00; margin-bottom: 4px; }
.exp-res .btn { margin-top: 12px; }

/* ---------- Fin ---------- */
.exp-fin-tit { text-align: center; margin-top: 10px; }
.exp-score { text-align: center; font-size: 17px; font-weight: 900; color: var(--sec-dark); margin: 0 0 14px; }

@media (max-width: 360px) {
  .exp-opc { min-height: 120px; } .exp-opc b { font-size: 16px; }
  .exp-q { font-size: 19px; } .exp-num { font-size: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .exp-v.is-on, .exp-lamina.is-on, .exp-num.late, .exp-guia img, .exp-cuenta-j { animation: none; }
}

/* v58.1 · Casita «Nuestra red»: lleva al mapa mundial de la red sin volver a pedir datos (texto solo en computadora) */
.exp-casa { flex: none; display: inline-flex; align-items: center; gap: 7px; margin-left: auto; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; color: var(--pri); background: linear-gradient(180deg, #fff, #eef4ff); border: 1.5px solid rgba(26,111,242,.22); box-shadow: 0 4px 12px rgba(26,111,242,.14); font: 900 14px var(--font); text-decoration: none; justify-content: center; transition: transform .18s, box-shadow .18s; }
.exp-casa .ico { width: 20px; height: 20px; }
.exp-casa span { display: none; }
.exp-casa:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(26,111,242,.22); }
.exp-casa:active { transform: scale(.95); }
.exp-casa-flot { display: flex; justify-content: flex-end; margin: 0 0 -6px; }
@media (min-width: 600px) { .exp-casa { padding: 0 14px 0 12px; } .exp-casa span { display: inline; } }

/* v58.2 · «Ir a la página del colegio» con protagonismo (botón ancho, 3D, ícono y flecha que invita) */
.exp-colegio { display: flex; align-items: center; gap: 12px; width: 100%; margin: 18px 0 0; padding: 14px 16px; border: 0; border-radius: 20px; cursor: pointer; text-align: left; font: inherit; color: #fff;
  background: linear-gradient(135deg, #0b1846 0%, #142a78 55%, #1f3fa8 100%); box-shadow: 0 5px 0 #08113a, 0 12px 26px rgba(11, 24, 70, .28); position: relative; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.exp-colegio::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 48%, transparent 66%); transform: translateX(-100%); animation: expBrillo 3.6s ease-in-out 1.2s infinite; }
.exp-colegio:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #08113a, 0 16px 30px rgba(11, 24, 70, .32); }
.exp-colegio:active { transform: translateY(4px); box-shadow: 0 1px 0 #08113a; }
.exp-colegio-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(180deg, #ffe27a 0%, #ffc21a 55%, #f2a900 100%); color: #0b1846; box-shadow: 0 3px 0 #d18f00; }
.exp-colegio-ic .ico { width: 26px; height: 26px; }
.exp-colegio-tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.exp-colegio-tx b { font-size: 17px; font-weight: 900; line-height: 1.15; }
.exp-colegio-tx small { font-size: 12.5px; font-weight: 700; color: #ffe08a; line-height: 1.25; }
.exp-colegio-fl { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); animation: expFlecha 1.6s ease-in-out infinite; }
.exp-colegio-fl .ico { width: 20px; height: 20px; }
@keyframes expBrillo { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes expFlecha { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* v58.2 · reloj de 20 s por pregunta */
.exp-crono { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 8px 12px; border-radius: 14px; background: #eef4ff; border: 1.5px solid #d6e3ff; color: #1a3f9c; transition: background .3s, border-color .3s, color .3s; }
.exp-crono-ic { font-size: 18px; line-height: 1; }
.exp-crono-bar { flex: 1; height: 10px; border-radius: 99px; background: #d6e3ff; overflow: hidden; }
.exp-crono-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #1a6ff2, #3aa6ff); transition: width .1s linear, background .3s; }
.exp-crono-n { min-width: 30px; text-align: right; font-size: 24px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.exp-crono small { font-weight: 900; font-size: 13px; margin-left: -6px; }
.exp-crono-n.tic { animation: expTic .3s ease-out; }
.exp-crono.alerta { background: #fff8e1; border-color: #ffe08a; color: #8a5a00; }
.exp-crono.alerta .exp-crono-bar i { background: linear-gradient(90deg, #ffb300, #ffc21a); }
.exp-crono.urgente { background: #fff1f1; border-color: #ffc2c2; color: #c62828; animation: expLatido .6s ease-in-out infinite; }
.exp-crono.urgente .exp-crono-bar i { background: linear-gradient(90deg, #e53935, #ff6b6b); }
.exp-crono.parado { animation: none; opacity: .7; }
@keyframes expTic { from { transform: scale(1.25); } to { transform: none; } }
@keyframes expLatido { 0%, 100% { transform: none; } 50% { transform: scale(1.02); } }

/* v58.2 · acierto: la pantalla se pone de fiesta y pasa sola */
.exp-v[data-v="quiz"] { position: relative; }
.exp-v[data-v="quiz"].fiesta::before { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(34, 177, 76, .32) 88%, rgba(255, 194, 26, .38) 100%); animation: expFiestaFondo 1.8s ease-out both; }
.exp-v[data-v="quiz"].fiesta .exp-op.ok { animation: expSalto .55s cubic-bezier(.3, 1.6, .5, 1); box-shadow: 0 0 0 4px rgba(34, 177, 76, .25), 0 4px 0 #bfe8cb; }
.exp-fest { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: center; margin-top: 14px; animation: expFestIn .45s cubic-bezier(.3, 1.5, .5, 1) both; }
.exp-fest img { width: 96px; height: 116px; object-fit: cover; object-position: top; animation: expBaile .8s ease-in-out infinite alternate; }
.exp-fest .bubble { background: var(--sec-soft, #e6f7eb); color: #176c32; font-size: 18px; font-weight: 900; }
.exp-fest .bubble::before { border-right-color: var(--sec-soft, #e6f7eb); }
.exp-confeti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.exp-confeti i { position: absolute; top: -14px; left: calc(var(--x) * 1%); width: 9px; height: 15px; border-radius: 3px; background: var(--c); animation: expCae 1.9s cubic-bezier(.25, .6, .4, 1) var(--d) both; }
@keyframes expCae { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(105vh) rotate(var(--r)); opacity: .9; } }
@keyframes expFiestaFondo { 0% { opacity: 0; } 20% { opacity: 1; } 100% { opacity: 0; } }
@keyframes expSalto { 0% { transform: scale(1); } 40% { transform: scale(1.04) translateY(-3px); } 100% { transform: none; } }
@keyframes expFestIn { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes expBaile { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(4deg) translateY(-4px); } }

/* v58.2 · no acertó: ventana animada con el consejo */
dialog.exp-pop { width: min(440px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 0 0 18px; border: 0; border-radius: 26px; background: #fff; color: var(--ink, #13204a); box-shadow: 0 30px 80px rgba(11, 24, 70, .38); font-family: var(--font); }
dialog.exp-pop[open] { animation: expPopIn .45s cubic-bezier(.25, 1.4, .45, 1) both; }
dialog.exp-pop::backdrop { background: rgba(11, 24, 70, .5); backdrop-filter: blur(3px); animation: expFade .3s ease both; }
.exp-pop-cab { position: relative; display: flex; align-items: flex-end; gap: 12px; padding: 16px 20px 0; background: linear-gradient(135deg, #0b1846 0%, #142a78 55%, #1f3fa8 100%); color: #fff; overflow: hidden; }
.exp-pop-cab::after { content: ''; position: absolute; right: -40px; top: -50px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 26, .38), transparent 70%); }
.exp-pop-cab img { position: relative; z-index: 1; width: 92px; height: auto; flex: none; margin-bottom: -6px; animation: expFlota 3.5s ease-in-out infinite; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25)); }
.exp-pop-cab h2 { position: relative; z-index: 1; margin: 0 0 16px; color: #fff; font-size: 22px; font-weight: 900; line-height: 1.15; }
.exp-pop-sub { margin: 14px 20px 0; font-weight: 800; color: var(--ink-2, #3d4a75); font-size: 15px; }
dialog.exp-pop .exp-consejo { margin: 10px 20px 0; animation: expFestIn .5s .25s both; }
dialog.exp-pop .btn { display: flex; width: calc(100% - 40px); margin: 16px 20px 0; justify-content: center; }
@keyframes expPopIn { 0% { opacity: 0; transform: translateY(40px) scale(.9); } 100% { opacity: 1; transform: none; } }
@keyframes expFade { from { opacity: 0; } }
@keyframes expFlota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* v58.2 · fin de la prueba Universidad */
.exp-fin-uni { margin: 10px auto 4px; max-width: 420px; padding: 12px 16px; border-radius: 18px; background: linear-gradient(135deg, #fff8e1, #fff1c2); border: 1.5px solid #ffe08a; color: #5c4400; font-size: 16px; font-weight: 800; line-height: 1.4; text-align: center; animation: expFestIn .5s .3s both; }
.exp-fin-uni b { color: #0b1846; }

@media (prefers-reduced-motion: reduce) {
  .exp-colegio::after, .exp-colegio-fl, .exp-crono.urgente, .exp-fest img, .exp-pop-cab img, dialog.exp-pop[open], .exp-v[data-v="quiz"].fiesta .exp-op.ok { animation: none !important; }
}
