/* /juego/: las cinco etapas como postales. Cada una lleva su fondo (WebP) y un panel con el texto encima. */
.jp-mundos{display:grid;gap:24px;list-style:none;margin:0;padding:0}
.jp-mundo{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:16px;align-items:end;min-height:340px;
  padding:24px;border-radius:24px;overflow:hidden;border:2px solid var(--ink);isolation:isolate;background:var(--wall-2)}
.jp-mundo__fondo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
.jp-mundo--primaria .jp-mundo__fondo{object-position:50% 56%}
.jp-mundo--eso .jp-mundo__fondo{object-position:50% 41%}
.jp-mundo--bachillerato .jp-mundo__fondo{object-position:50% 27%}
.jp-mundo--carnet .jp-mundo__fondo{object-position:50% 56%}
.jp-mundo--idiomas .jp-mundo__fondo{object-position:50% 56%}
.jp-mundo__texto{max-width:46ch;padding:16px;border-radius:16px;background:color-mix(in oklab,var(--wall) 90%,transparent);
  color:var(--ink);backdrop-filter:blur(12px) saturate(1.3);-webkit-backdrop-filter:blur(12px) saturate(1.3)}
.p26 .jp-mundo__texto h3{font-size:1.6rem;margin:0 0 8px}
.p26 .jp-mundo__texto p{margin:0 0 8px;font-size:1.02rem;line-height:1.45}
.p26 .jp-mundo__texto .jp-mundo__pie{margin:0;font-size:.92rem;color:var(--ink-2)}
.jp-mundo__otro{width:120px;height:auto;aspect-ratio:9/12;object-fit:cover;object-position:50% 55%;border-radius:14px;border:3px solid #fff;
  box-shadow:0 8px 20px rgba(0,0,0,.35);transform:rotate(4deg);justify-self:end}
.jp-mundo:nth-child(even){grid-template-columns:120px minmax(0,1fr)}
.jp-mundo:nth-child(even) .jp-mundo__texto{order:2;justify-self:end}
.jp-mundo:nth-child(even) .jp-mundo__otro{order:1;justify-self:start;transform:rotate(-4deg)}

@media (max-width:640px){
  .jp-mundo,.jp-mundo:nth-child(even){grid-template-columns:minmax(0,1fr);min-height:0;padding:16px;padding-top:150px}
  .jp-mundo__texto,.jp-mundo:nth-child(even) .jp-mundo__texto{order:0;justify-self:stretch;max-width:none}
  .jp-mundo__otro{display:none}
}
