/* Composición de teléfono. El escritorio conserva sus reglas originales. */
@media (max-width: 700px) {
 html, body { height: auto; min-height: 100%; }
 body { overflow-x: hidden; overflow-y: auto; }
 .canvas { width: 100%; min-height: 100svh; }
 .character { width: 38px; max-height: none; height: 54px; right: 20px; bottom: 22px; }
 .back { right: 76px; bottom: 30px; width: 68px; height: 44px; line-height: 36px; }
 .back svg { top: 7px; height: 28px; }
 .motivo-title { top: 27px; left: 24px; font-size: 24px; }
 .motivo-title span { width: 66px; height: 27px; }
 /* Inicio: fotografía arriba, recortes de papel en el margen blanco. */
 .canvas:not(.music):not(.motivo) { height: max(100svh, 720px); }
 .canvas:not(.music):not(.motivo) .photograph { height: 77%; object-fit: cover; object-position: 47% bottom; }
 .canvas:not(.music):not(.motivo) h1 span { font-size: clamp(25px,7vw,34px); }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(1) { left: 12%; top: 7%; }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(2) { left: 45%; top: 18%; }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(3) { left: 16%; top: 30%; }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(4) { left: 48%; top: 41%; }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(5) { left: 27%; top: 52%; }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(6) { left: 67%; top: 61%; }
 nav button { min-height: 48px; min-width: 48px; padding: 4px; }
 nav button img { width: calc(var(--frame-width) * .72px); min-width: 0; }
 nav button[data-section="motivo"] { left: 19%; top: 81%; }
 nav button[data-section="musica"] { left: 49%; top: 77%; }
 nav button[data-section="video"] { left: 43%; top: 89%; }
 nav button[data-section="fotos"] { left: 73%; top: 86%; }
 nav button[data-section="memoria"] { left: 85%; top: 74%; }
 /* Motivo: texto escalonado de tamaño constante, con lectura vertical. */
 .motivo { height: auto; min-height: 100svh; padding: 105px 0 120px; }
 .motivo-photo { position: fixed; height: 100lvh; object-position: 58% bottom; }
 .motivo-copy { position: relative; font-size: 22px; line-height: 1.08; padding: 0 20px; }
 .motivo-copy .line { display: table; position: relative; top: auto; left: auto; margin-left: calc((var(--x) - 1417) * .18px); min-height: 24px; }
 .motivo-copy .blank { width: 12px; height: 20px; min-height: 20px; }
 /* Carrusel: portada grande, siguiente visible, texto debajo. */
 .music { --u: 3vw; height: auto; min-height: 100svh; padding: calc(70vw + 295px) 0 122px; }
 .music-background { position: fixed; width: 100%; height: 100lvh; object-fit: cover; }
 .albums { left: 0; top: 100px; width: 100%; height: calc(70vw + 100px); }
 .album { width: 54.375vw; }
 .album.active { width: 70vw; }
 .album strong { font-size: 17px; line-height: 1.15; margin: 12px 0 6px; }
 .album small { font-size: 13px; line-height: 1.25; margin: 0; }
 .album.active strong { font-size: 22px; }
 .album.active small { font-size: 15px; }
 .album-arrow { top: calc(70vw + 200px); min-width: 48px; min-height: 48px; font-size: 30px; }
 .previous { left: 10%; } .next { left: 66%; }
 .listen { top: calc(70vw + 194px); left: 40%; width: 60px; height: 60px; }
 .listen-message { top: calc(70vw + 262px); left: 7%; width: 86%; font-size: 16px; }
 .music .story-frame { position: relative; left: auto; top: auto; width: 84%; height: auto; margin: 0 auto; }
 .story { font-size: 20px; line-height: 1.25; max-height: 48svh; height: auto; min-height: 70px; padding: 0 5px 8px 0; }
 .story p { margin: 0 0 1em; }
 .story p:last-child { margin-bottom: 0; }
 .album, .listen, .album-arrow, nav button, .back { -webkit-tap-highlight-color: transparent; }
}
@media (max-width:700px) {
 .canvas:not(.music):not(.motivo) h1 span:nth-child(4) { left: 39%; top: 34%; }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(5) { left: 14%; top: 42%; }
 .canvas:not(.music):not(.motivo) h1 span:nth-child(6) { left: 69%; top: 47%; }
}
@media (max-width:700px) {
 nav button img { width: calc(var(--frame-width, 120) * .72px); }
 nav button[data-section="memoria"] { left: 81%; }
}
