/* app.css — Ajedrez con Jax. Móvil vertical primero; botones enormes. */
:root {
  --fondo: #FFF4DE;
  --tinta: #3B2F4A;
  --clara: #FCEFD4;
  --oscura: #D7AE7E;
  --verde: #4CC26B;
  --amarillo: #FFCB3D;
  --rojo: #FF5A5A;
  --azul: #4AA3F0;
  --sombra: 0 5px 0 rgba(59, 47, 74, .18);
  --radio: 22px;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Trebuchet MS", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--fondo); color: var(--tinta); }
body {
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
  touch-action: manipulation; overscroll-behavior: none;
  background: radial-gradient(circle at 20% 10%, #fff8ea 0, transparent 45%), radial-gradient(circle at 90% 80%, rgba(255,255,255,.6) 0, transparent 40%), var(--fondo);
  transition: background-color .4s;
}
button { font: inherit; color: inherit; border: none; background: none; padding: 0; cursor: pointer; touch-action: manipulation; }
svg { display: block; width: 100%; height: 100%; overflow: visible; }

#app { height: 100dvh; max-width: 760px; margin: 0 auto; position: relative; }
.pantalla { position: absolute; inset: 0; display: flex; flex-direction: column; animation: entraPantalla .35s ease-out; }
@keyframes entraPantalla { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- cabecera y botones ---------- */
.cabecera { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 12px 6px; min-height: 76px; }
.cabecera .centro { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; }
.titulo { font-size: 24px; font-weight: 800; letter-spacing: .3px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titulo-icono { width: 46px; height: 46px; flex: 0 0 auto; }
.redondo {
  width: 62px; height: 62px; flex: 0 0 auto; border-radius: 50%; background: #fff; box-shadow: var(--sombra);
  display: grid; place-items: center; color: var(--tinta); transition: transform .08s;
}
.redondo .icono { width: 34px; height: 34px; }
.redondo:active, .grande:active, .tarjeta:active, .nodo:active, .burbuja-nivel:active { transform: translateY(4px) scale(.97); box-shadow: 0 1px 0 rgba(59,47,74,.18); }
.grande {
  min-width: 84px; height: 84px; border-radius: 28px; background: #fff; box-shadow: var(--sombra);
  display: grid; place-items: center; padding: 10px; transition: transform .08s;
}
.grande .icono { width: 52px; height: 52px; }
.grande.pista { background: #FFF3B0; box-shadow: 0 5px 0 #E3B800; }
.grande.pista.brilla { animation: brillaBoton 1.6s ease-in-out infinite; }
@keyframes brillaBoton { 50% { box-shadow: 0 5px 0 #E3B800, 0 0 0 10px rgba(255, 203, 61, .35); } }
.grande.verde { background: var(--verde); color: #fff; box-shadow: 0 5px 0 #2E8B47; }
.grande.ancho { min-width: 150px; }
.mudo-on { background: #FFE1E1; }

/* ---------- pie con Jax ---------- */
.pie { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 8px; padding: 4px 12px max(12px, env(safe-area-inset-bottom)); min-height: 104px; }
.jax { width: 92px; height: 92px; flex: 0 0 auto; cursor: pointer; animation: respira 3.2s ease-in-out infinite; transform-origin: bottom center; }
@keyframes respira { 50% { transform: scale(1.03) translateY(-2px); } }
.jax.habla { animation: ladra .35s ease-in-out infinite alternate; }
@keyframes ladra { from { transform: rotate(-3deg); } to { transform: rotate(3deg) translateY(-3px); } }
.jax .lengua { transform-box: fill-box; transform-origin: top center; transform: scaleY(.5); transition: transform .15s; }
.jax.habla .lengua { animation: lengua .22s ease-in-out infinite alternate; }
@keyframes lengua { from { transform: scaleY(.3); } to { transform: scaleY(1); } }
.jax .oreja-i, .jax .oreja-d { transform-box: fill-box; transform-origin: top center; }
.jax.habla .oreja-i { animation: oreja .4s ease-in-out infinite alternate; }
.jax.habla .oreja-d { animation: oreja .4s ease-in-out infinite alternate-reverse; }
@keyframes oreja { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
.bocadillo {
  flex: 1; min-height: 58px; max-height: 150px; overflow: hidden; background: #fff; border-radius: 20px; padding: 10px 14px; margin-bottom: 18px;
  font-size: 17px; line-height: 1.25; font-weight: 700; box-shadow: var(--sombra); position: relative; opacity: 0; transform: scale(.9); transform-origin: left bottom; transition: opacity .25s, transform .25s;
}
.bocadillo.visible { opacity: 1; transform: none; }
.bocadillo.largo { font-size: 15px; line-height: 1.22; }
.bocadillo::before { content: ''; position: absolute; left: -10px; bottom: 16px; border: 10px solid transparent; border-right-color: #fff; border-left: 0; }

/* ---------- ojos que parpadean ---------- */
.ojo { transform-box: fill-box; transform-origin: center; animation: parpadeo 5.5s infinite; }
.pieza:nth-child(3n) .ojo { animation-delay: 1.7s; }
.pieza:nth-child(3n+1) .ojo { animation-delay: 3.1s; }
@keyframes parpadeo { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }

/* ---------- inicio ---------- */
.inicio { align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 20px; }
.inicio h1 { margin: 0; font-size: 46px; line-height: 1; letter-spacing: .5px; color: var(--tinta); text-shadow: 0 4px 0 rgba(255,255,255,.9); }
.inicio h1 span { display: block; font-size: 30px; color: #E8743B; }
.desfile { display: flex; gap: 6px; align-items: flex-end; height: 150px; }
.desfile .p { width: 54px; height: 54px; animation: bota 1.4s ease-in-out infinite; }
.desfile .p:nth-child(2) { animation-delay: .15s; width: 66px; height: 66px; }
.desfile .p:nth-child(3) { animation-delay: .3s; width: 136px; height: 136px; margin: 0 -14px; }
.desfile .p:nth-child(4) { animation-delay: .45s; width: 66px; height: 66px; }
.desfile .p:nth-child(5) { animation-delay: .6s; width: 54px; height: 54px; }
@keyframes bota { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-18px) rotate(-4deg); } 60% { transform: translateY(-10px) rotate(3deg); } }
.boton-jugar {
  width: 150px; height: 150px; border-radius: 50%; background: var(--verde); color: #fff; box-shadow: 0 8px 0 #2E8B47, 0 0 0 12px rgba(76, 194, 107, .25);
  display: grid; place-items: center; animation: late 1.4s ease-in-out infinite;
}
.boton-jugar .icono { width: 70px; height: 70px; margin-left: 10px; }
@keyframes late { 50% { transform: scale(1.07); box-shadow: 0 8px 0 #2E8B47, 0 0 0 22px rgba(76, 194, 107, .18); } }

/* ---------- perfiles ---------- */
.perfiles { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 10px 16px; }
.perfiles > :first-child { margin-top: auto; }
.perfiles > :last-child { margin-bottom: auto; }
/* Tres perfiles: en el móvil, Max y Ethan arriba y Jo debajo, en el centro; en tableta, los tres en fila. */
.perfiles .fila { display: flex; gap: 18px 14px; width: 100%; justify-content: center; flex-wrap: wrap; }
.tarjeta {
  width: min(42vw, 230px); border-radius: 30px; background: #fff; box-shadow: 0 7px 0 rgba(59,47,74,.18); padding: 16px 12px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .08s;
}
.tarjeta .avatar { width: 100%; aspect-ratio: 1; max-width: 170px; }
.tarjeta .nombre { font-size: 32px; font-weight: 900; }
.mini-estrellas { display: flex; align-items: center; gap: 4px; font-size: 20px; font-weight: 800; color: #B98A00; }
.mini-estrellas .icono { width: 24px; height: 24px; color: var(--amarillo); }
.tarjeta.max { background: #E6F3FD; } .tarjeta.ethan { background: #FFF0D9; } .tarjeta.jo { background: #F1E8FC; }
.boton-papa { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 48px; height: 48px; opacity: .55; }
.boton-papa .icono { width: 26px; height: 26px; }

/* ---------- mapa ---------- */
.mapa { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 0 30px; position: relative; }
.camino { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 6px; }
.sendero { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; }
.nodo-fila { width: 100%; display: flex; justify-content: center; position: relative; z-index: 1; }
.nodo { display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .08s; }
.nodo .circulo {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; position: relative;
  box-shadow: 0 7px 0 rgba(59,47,74,.22), inset 0 -8px 0 rgba(0,0,0,.08); border: 5px solid #fff;
}
.nodo .circulo .pieza-svg { width: 78px; height: 78px; }
.nodo .etiqueta { font-size: 15px; font-weight: 800; background: rgba(255,255,255,.85); padding: 2px 10px; border-radius: 10px; }
.nodo .progreso { display: flex; align-items: center; gap: 3px; font-size: 15px; font-weight: 800; color: #9A7400; }
.nodo .progreso .icono { width: 18px; height: 18px; color: var(--amarillo); }
.nodo.sacude .circulo { animation: sacude .45s ease-in-out; }
.nodo.cerrado .circulo { filter: grayscale(.85) brightness(1.05); opacity: .7; }
.nodo .candado { position: absolute; right: -6px; bottom: -6px; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: #8E8E93; box-shadow: var(--sombra); }
.nodo .candado .icono { width: 24px; height: 24px; }
.nodo.actual .circulo { animation: llamaAtencion 1.3s ease-in-out infinite; }
@keyframes llamaAtencion { 50% { transform: translateY(-8px) scale(1.06); } }
.nodo .completo { position: absolute; left: -8px; top: -8px; width: 40px; height: 40px; color: var(--amarillo); filter: drop-shadow(0 2px 0 #C98A00); }
.puntos { width: 6px; height: 26px; background: repeating-linear-gradient(to bottom, rgba(59,47,74,.25) 0 6px, transparent 6px 12px); border-radius: 3px; }

/* ---------- mundo ---------- */
.mundo-cuerpo { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 14px 10px; }
.mundo-cuerpo > :first-child { margin-top: auto; }
.mundo-cuerpo > :last-child { margin-bottom: auto; }
.escenario { width: 100%; max-width: 440px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.escenario .protagonista { width: 130px; height: 130px; flex: 0 0 auto; animation: bota 1.8s ease-in-out infinite; cursor: pointer; }
.demo { width: 190px; height: 190px; flex: 0 0 auto; }
.demo .tablero { box-shadow: 0 5px 0 rgba(59,47,74,.18); }
.niveles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 14px; width: 100%; max-width: 420px; }
.burbuja-nivel {
  aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 6px 0 rgba(59,47,74,.2); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 900; position: relative; transition: transform .08s; border: 5px solid transparent;
}
.burbuja-nivel .estrellas-nivel { display: flex; gap: 2px; height: 22px; }
.burbuja-nivel .estrellas-nivel .icono { width: 22px; height: 22px; color: #E3DCCF; }
.burbuja-nivel .estrellas-nivel .icono.on { color: var(--amarillo); filter: drop-shadow(0 1px 0 #C98A00); }
.burbuja-nivel.cerrado { opacity: .5; }
.burbuja-nivel.cerrado .candado-mini { position: absolute; width: 30px; height: 30px; right: 4px; top: 4px; color: #8E8E93; }
.burbuja-nivel.siguiente { border-color: var(--verde); animation: llamaAtencion 1.3s ease-in-out infinite; }

/* ---------- nivel / partida ---------- */
.zona-tablero { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 4px 10px; }
.acciones { flex: 0 0 auto; display: flex; justify-content: center; gap: 16px; padding: 6px 12px 2px; }
.marcador { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.85); border-radius: 22px; padding: 6px 12px; box-shadow: var(--sombra); }
.medidor { display: flex; gap: 2px; }
.medidor .icono { width: 30px; height: 30px; color: var(--amarillo); filter: drop-shadow(0 2px 0 #C98A00); transition: color .3s, filter .3s, transform .3s; }
.medidor .icono.off { color: #E3DCCF; filter: none; transform: scale(.85); }
.pasos { display: flex; align-items: center; gap: 4px; font-size: 26px; font-weight: 900; min-width: 54px; }
.pasos .icono { width: 26px; height: 26px; color: #A58B6F; }
.bandeja { flex: 0 0 auto; height: 34px; display: flex; align-items: center; justify-content: center; gap: 0; padding: 0 12px; }
.bandeja .mini { width: 30px; height: 30px; margin-left: -6px; animation: pop .3s ease-out; }
.robot-cabecera { width: 52px; height: 52px; }
.robot-cabecera.pensando { animation: piensa .5s ease-in-out infinite alternate; }
@keyframes piensa { from { transform: rotate(-8deg); } to { transform: rotate(8deg) translateY(-4px); } }

/* ---------- tablero ---------- */
.tablero {
  position: relative; border-radius: 16px; overflow: visible; touch-action: none;
  box-shadow: 0 0 0 6px #8D6E4C, 0 0 0 10px #6E5136, 0 12px 0 10px rgba(59,47,74,.22);
}
.capa-casillas { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--w), 1fr); grid-template-rows: repeat(var(--h), 1fr); border-radius: 12px; overflow: hidden; }
.casilla { position: relative; }
.casilla.clara { background: var(--clara); }
.casilla.oscura { background: var(--oscura); }
.casilla::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.casilla.ultimo::after { background: rgba(255, 220, 70, .45); }
.casilla.seleccion::after { background: rgba(255, 215, 0, .6); box-shadow: inset 0 0 0 4px #F5B700; }
.casilla.peligro { background-image: repeating-linear-gradient(45deg, rgba(255, 70, 70, .32) 0 8px, rgba(255, 70, 70, .2) 8px 16px); }
.casilla.peligro.oscura { background-color: #D99A86; }
.casilla.peligro.clara { background-color: #FBD9CF; }
.casilla.destino::before { content: ''; position: absolute; left: 32%; top: 32%; width: 36%; height: 36%; border-radius: 50%; background: rgba(46, 160, 67, .62); box-shadow: 0 2px 0 rgba(0,0,0,.15); animation: punto 1s ease-in-out infinite alternate; z-index: 1; }
@keyframes punto { to { transform: scale(1.18); } }
.casilla.captura::before { content: ''; position: absolute; inset: 6%; border-radius: 50%; border: 5px solid rgba(255, 112, 67, .85); animation: punto 1s ease-in-out infinite alternate; z-index: 1; }
.casilla.bajo-dedo::after { background: rgba(255,255,255,.45); box-shadow: inset 0 0 0 4px #fff; }
.casilla.jaque::after { background: radial-gradient(circle, rgba(255, 40, 40, .85) 0, rgba(255, 40, 40, .45) 45%, transparent 75%); animation: punto .6s ease-in-out infinite alternate; }
.casilla.pista-destino::after { box-shadow: inset 0 0 0 6px #FFC400, inset 0 0 22px rgba(255, 196, 0, .9); animation: brillo 0.8s ease-in-out infinite alternate; }
@keyframes brillo { from { opacity: .45; } to { opacity: 1; } }
.casilla.amenaza::after { box-shadow: inset 0 0 0 4px rgba(255, 120, 40, .9); animation: brillo .9s ease-in-out infinite alternate; }
.meta { position: absolute; inset: 8%; animation: ondea 1.6s ease-in-out infinite; transform-origin: 30% 90%; }
@keyframes ondea { 50% { transform: rotate(-4deg) scale(1.04); } }

.capa-piezas, .capa-efectos { position: absolute; inset: 0; pointer-events: none; }
.pieza { position: absolute; left: 0; top: 0; width: calc(100% / var(--w)); height: calc(100% / var(--h)); transition: transform .3s cubic-bezier(.3, 1.3, .5, 1); will-change: transform; z-index: 2; }
.pieza .cuerpo { width: 100%; height: 100%; padding: 2%; transform-origin: 50% 90%; }
.pieza[data-t="x"] .cuerpo { padding: 16%; animation: flota 2.2s ease-in-out infinite; }
.pieza[data-t="o"] .cuerpo { padding: 8%; }
@keyframes flota { 50% { transform: translateY(-6%) rotate(4deg); } }
.pieza.entrando .cuerpo { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: inherit; }
.pieza.entrando[data-t="x"] .cuerpo { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) both, flota 2.2s ease-in-out .5s infinite; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.pieza.saliendo { transition: opacity .35s, transform .3s; opacity: 0; z-index: 1; }
.pieza.saliendo .cuerpo { animation: comida .4s ease-in forwards; }
@keyframes comida { to { transform: scale(1.5) rotate(25deg); } }
.pieza.arrastrada { transition: none; z-index: 10; filter: drop-shadow(0 10px 6px rgba(0,0,0,.25)); }
.pieza.elegida .cuerpo { animation: salta .7s ease-in-out infinite; }
@keyframes salta { 0%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-14%) scale(1.06, .96); } 55% { transform: translateY(0) scale(1.08, .9); } }
.pieza.salta .cuerpo { animation: salta .5s ease-in-out 1; }
.pieza.sacude .cuerpo { animation: sacude .45s ease-in-out; }
@keyframes sacude { 20%, 60% { transform: translateX(-9%) rotate(-6deg); } 40%, 80% { transform: translateX(9%) rotate(6deg); } }
.pieza.pista-pieza .cuerpo { animation: parpadeaPista .55s ease-in-out infinite alternate; }
@keyframes parpadeaPista { from { transform: scale(1); filter: drop-shadow(0 0 0 #FFC400); } to { transform: scale(1.14); filter: drop-shadow(0 0 7px #FFC400) brightness(1.15); } }
.pieza.transforma .cuerpo { animation: transforma .6s ease-out; }
@keyframes transforma { 0% { transform: scale(.2) rotate(-180deg); filter: brightness(2); } 100% { transform: none; } }
.chispa { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; animation: chispa .75s ease-out forwards; clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); }
@keyframes chispa { to { transform: translate(var(--dx), var(--dy)) scale(.3) rotate(180deg); opacity: 0; } }

/* ---------- capas encima ---------- */
.velo { position: absolute; inset: 0; background: rgba(59, 47, 74, .45); display: grid; place-items: center; z-index: 50; animation: aparece .25s ease-out; padding: 16px; }
@keyframes aparece { from { opacity: 0; } }
.caja { background: #fff; border-radius: 32px; padding: 22px 18px; width: min(92vw, 420px); box-shadow: 0 10px 0 rgba(0,0,0,.18); display: flex; flex-direction: column; align-items: center; gap: 16px; animation: rebota .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes rebota { from { transform: scale(.6); opacity: 0; } }
.caja .fila { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.estrellas-grandes { display: flex; gap: 6px; align-items: flex-end; height: 110px; }
.estrellas-grandes .icono { width: 86px; height: 86px; color: #E3DCCF; transform: scale(0); }
.estrellas-grandes .icono:nth-child(2) { width: 104px; height: 104px; }
.estrellas-grandes .icono.on { color: var(--amarillo); filter: drop-shadow(0 4px 0 #C98A00); }
.estrellas-grandes .icono.ver { animation: estrellaPop .5s cubic-bezier(.3, 1.8, .5, 1) forwards; }
@keyframes estrellaPop { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(0); } }
.trofeo { width: 140px; height: 140px; animation: bota 1.4s ease-in-out infinite; }
.elige-pieza { width: 88px; height: 88px; border-radius: 24px; background: var(--clara); box-shadow: var(--sombra); padding: 6px; }
.robots { display: flex; flex-direction: column; gap: 18px; align-items: center; flex: 1; justify-content: center; padding: 10px 16px; }
.tarjeta-robot { width: min(86vw, 380px); display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 30px; padding: 14px 18px; box-shadow: 0 7px 0 rgba(59,47,74,.18); transition: transform .08s; }
.tarjeta-robot:active { transform: translateY(4px) scale(.98); }
.tarjeta-robot .robot { width: 110px; height: 110px; flex: 0 0 auto; }
.tarjeta-robot .nombre { font-size: 34px; font-weight: 900; }
.tarjeta-robot .dificultad { display: flex; gap: 4px; }
.tarjeta-robot .dificultad .icono { width: 34px; height: 34px; color: #E3DCCF; }
.tarjeta-robot .dificultad .icono.on { color: #FF7A45; }
.tarjeta-robot .ganadas { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 18px; color: #9A7400; margin-top: 4px; }
.tarjeta-robot .ganadas .icono { width: 26px; height: 26px; }
.texto-papa { font-size: 17px; line-height: 1.35; text-align: center; font-weight: 700; }
.teclado { display: grid; grid-template-columns: repeat(3, 70px); gap: 10px; }
.teclado button { height: 62px; border-radius: 18px; background: #F2ECE2; font-size: 28px; font-weight: 800; box-shadow: var(--sombra); }
.pantalla-num { font-size: 36px; font-weight: 900; min-height: 44px; letter-spacing: 4px; }
.panel-papa { width: 100%; display: flex; flex-direction: column; gap: 10px; max-height: 70vh; overflow-y: auto; }
.panel-papa h3 { margin: 6px 0 0; font-size: 19px; }
.opcion { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #F7F2EA; border-radius: 16px; padding: 10px 14px; font-weight: 700; font-size: 16px; }
.opcion button { background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--sombra); font-weight: 800; }
.opcion button.on { background: var(--verde); color: #fff; }
.opcion button.peligroso { background: #FFE1E1; color: #B71C1C; }
#confeti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.oculto { display: none !important; }

@media (min-height: 900px) { .pie { min-height: 120px; } .jax { width: 110px; height: 110px; } }
@media (max-height: 700px) { .cabecera { min-height: 64px; } .redondo { width: 52px; height: 52px; } .grande { height: 70px; min-width: 70px; } .pie { min-height: 86px; } .jax { width: 76px; height: 76px; } .nodo .circulo { width: 96px; height: 96px; } .perfiles { gap: 12px; } .tarjeta { padding: 12px 10px 10px; gap: 4px; } .tarjeta .avatar { max-width: 112px; } .tarjeta .nombre { font-size: 26px; } }
@media (min-width: 700px) and (min-height: 800px) { .bocadillo { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
