/* ============================================================
   PIEZAS DE PAPEL RECORTADO de este juego (estilo «recortes»).
   Va después de ../recortes.css. Las sombras son copias oscuras
   del mismo recorte (sin filtros en lo que se mueve).
   Los cortes (--pj-*) son siluetas SVG hechas a tijera.
   ============================================================ */
:root {
  --pj-heart-o0: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M50.1 31.3 L50.5 29.0 L51.0 28.1 L52.5 23.4 L55.1 20.6 L55.1 20.6 L60.8 15.0 L63.9 13.5 L67.9 12.7 L71.7 11.8 L76.3 11.0 L82.5 13.6 L87.8 15.4 L88.8 16.3 L91.3 21.0 L96.0 27.6 L96.8 27.6 L95.8 31.6 L96.8 38.2 L96.3 41.1 L92.6 46.1 L88.8 54.4 L83.3 58.5 L76.0 65.7 L70.0 71.0 L66.0 75.3 L63.5 76.7 L57.9 83.9 L54.4 86.4 L52.3 91.2 L50.3 93.5 L50.0 95.1 L49.5 95.9 L49.9 96.2 L49.1 95.1 L48.9 93.8 L47.4 91.3 L46.6 88.0 L45.6 86.3 L39.3 80.4 L36.8 76.6 L36.0 77.2 L28.3 70.2 L23.5 66.3 L23.6 66.1 L17.2 59.3 L12.8 54.5 L11.9 53.8 L7.9 48.3 L4.2 42.7 L3.6 41.0 L4.5 36.2 L3.6 27.4 L6.0 24.0 L10.9 17.7 L11.4 16.4 L19.4 12.6 L23.8 10.5 L31.0 11.5 L36.5 12.5 L41.1 16.5 L45.4 20.0 L48.1 24.1 L49.2 27.9 L49.6 29.7 L50.3 30.7Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-heart-i0: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M50.6 34.7 L50.2 32.6 L51.1 31.3 L50.6 30.8 L52.9 27.8 L55.2 23.4 L55.7 22.8 L60.6 21.3 L66.2 18.7 L73.7 20.0 L78.3 21.2 L84.8 27.7 L87.1 30.7 L87.0 36.4 L86.8 41.9 L86.5 43.3 L82.4 49.9 L78.8 56.0 L69.7 63.1 L66.3 66.6 L62.0 70.1 L56.2 76.4 L53.7 80.4 L50.5 83.6 L50.2 85.7 L50.4 86.4 L49.8 84.1 L48.9 83.8 L46.3 79.5 L44.1 76.1 L37.8 69.6 L33.5 66.7 L23.9 58.2 L21.1 55.9 L18.8 51.2 L15.6 45.7 L13.9 43.4 L13.7 37.8 L13.8 31.7 L13.4 30.7 L17.7 25.6 L21.5 20.8 L26.6 20.4 L33.9 17.9 L39.8 21.7 L44.0 23.3 L46.5 27.4 L49.2 30.9 L50.0 33.4Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-heart-o1: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M50.0 31.3 L50.9 29.5 L50.9 28.1 L52.9 23.3 L55.0 20.5 L57.7 17.0 L64.1 13.4 L63.8 13.0 L67.7 12.9 L74.0 12.0 L76.1 11.5 L80.5 13.2 L85.3 14.7 L88.9 16.2 L92.2 21.6 L95.0 27.1 L96.8 27.6 L96.0 33.5 L95.7 40.7 L92.8 46.9 L88.4 53.1 L88.6 54.2 L82.7 59.6 L78.7 63.9 L75.9 65.6 L70.9 71.0 L64.5 75.8 L64.2 77.4 L57.3 83.2 L54.4 86.4 L51.4 90.9 L50.4 93.5 L49.8 94.2 L50.7 96.3 L50.2 96.1 L49.4 94.6 L49.4 93.5 L47.2 91.0 L46.5 88.0 L44.8 87.0 L39.8 81.2 L36.6 76.8 L36.6 76.6 L30.6 71.6 L23.6 66.1 L15.0 58.6 L11.3 54.2 L6.6 46.1 L3.5 41.0 L3.5 36.9 L3.3 28.6 L3.5 27.3 L6.6 23.9 L11.3 16.2 L18.4 14.0 L23.7 11.2 L29.5 12.1 L33.9 13.1 L36.5 12.6 L42.2 17.9 L45.2 20.1 L47.4 24.6 L49.9 27.6 L49.1 28.0 L49.3 29.6 L50.3 31.1Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-heart-i1: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M50.5 34.7 L49.9 32.7 L51.2 31.2 L54.6 25.3 L56.0 23.4 L63.3 20.3 L66.4 18.0 L75.7 20.8 L78.9 20.7 L81.4 25.5 L84.8 28.8 L87.1 30.7 L86.9 39.8 L86.9 43.6 L82.7 48.8 L79.0 55.7 L78.4 55.6 L71.9 61.8 L67.3 65.9 L66.2 66.4 L62.1 69.6 L56.4 76.5 L52.3 82.3 L50.9 83.7 L50.7 85.2 L50.0 86.5 L49.2 84.5 L49.6 83.3 L45.1 77.9 L44.2 76.1 L36.2 68.8 L34.0 66.2 L28.8 62.5 L23.4 57.7 L21.2 55.9 L16.1 46.5 L14.0 43.4 L13.2 34.9 L13.7 31.0 L19.3 22.8 L21.6 21.1 L25.8 19.7 L33.2 19.0 L33.7 18.4 L41.5 21.7 L44.5 22.9 L45.7 26.4 L48.9 31.0 L49.7 33.4Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-star-o: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M50.2 2.9 L58.4 19.1 L64.0 34.5 L83.6 35.6 L94.8 37.3 L97.7 37.7 L88.2 45.6 L75.0 57.5 L73.1 60.4 L75.5 70.2 L78.1 82.2 L78.9 94.3 L64.9 84.7 L50.5 77.8 L38.4 83.2 L28.0 88.3 L21.6 93.6 L23.6 80.3 L26.5 65.6 L27.8 59.8 L19.2 53.8 L11.6 46.8 L2.6 38.5 L14.2 35.2 L31.8 33.2 L36.2 33.7 L44.1 17.6Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-star-i: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M50.5 12.8 L55.3 26.2 L60.9 38.1 L74.0 38.8 L88.3 40.9 L77.3 50.6 L68.1 58.6 L71.7 75.5 L73.9 84.7 L58.7 76.5 L50.1 71.7 L34.0 81.1 L26.7 85.4 L30.4 67.5 L32.0 59.1 L25.2 52.0 L15.6 44.1 L12.0 40.6 L27.8 39.5 L39.7 38.3 L45.9 21.5Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-disc0: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M98.4 50.0 L94.5 62.6 L92.5 69.0 L85.7 80.3 L83.7 87.3 L74.9 91.8 L64.7 96.0 L49.6 98.6 L44.7 98.7 L34.4 94.5 L26.0 93.2 L15.3 81.7 L11.9 78.5 L5.8 66.8 L1.6 60.1 L0.7 47.1 L0.8 39.8 L5.4 31.9 L9.8 24.2 L11.3 22.8 L18.1 13.8 L24.9 8.1 L39.1 4.2 L44.8 1.5 L57.5 2.3 L65.7 4.0 L75.6 10.0 L82.9 13.5 L89.9 25.8 L92.8 30.3 L96.6 40.7Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-disc1: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M97.7 49.9 L97.2 58.5 L95.3 68.3 L88.2 80.0 L86.1 83.1 L74.4 90.9 L71.4 92.2 L61.7 97.0 L54.6 98.2 L40.6 97.9 L36.6 96.9 L26.6 92.9 L19.7 89.0 L14.0 79.5 L10.4 74.6 L5.7 65.6 L0.9 58.8 L2.2 50.4 L1.4 42.5 L1.3 40.7 L7.3 27.1 L9.6 24.1 L18.2 13.2 L21.5 10.7 L30.9 6.3 L36.6 4.6 L48.0 2.8 L54.5 1.2 L65.5 3.4 L70.9 6.6 L77.8 10.8 L84.5 17.1 L92.5 29.3 L96.1 32.0 L98.2 42.7Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-disc2: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M99.9 50.2 L96.4 60.7 L96.2 65.9 L89.9 77.0 L88.9 80.3 L81.6 84.6 L76.8 89.2 L66.2 94.0 L62.0 96.8 L52.0 97.8 L46.3 97.6 L37.0 94.9 L30.8 94.1 L21.7 88.3 L16.6 86.0 L12.3 78.0 L8.7 72.9 L4.4 65.2 L0.9 57.8 L0.4 50.5 L1.5 42.0 L6.5 31.6 L7.2 27.0 L12.7 19.3 L16.8 15.3 L27.6 8.7 L30.9 6.4 L41.3 2.7 L45.9 2.2 L52.7 1.7 L60.2 1.9 L61.8 3.0 L72.4 7.7 L77.0 8.0 L84.6 17.6 L88.7 19.7 L91.9 26.8 L96.6 33.3 L97.6 34.0 L98.6 45.5Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-cloud0: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M95.9 60.0 L97.4 66.3 L98.0 67.6 L96.7 72.5 L96.7 75.4 L92.4 79.4 L91.4 81.3 L87.7 84.2 L85.0 85.5 L81.6 89.3 L80.8 90.7 L77.5 92.2 L74.5 94.2 L69.4 92.8 L66.8 92.7 L62.3 92.4 L60.6 92.8 L57.1 94.0 L55.6 95.4 L50.6 95.8 L49.9 96.5 L45.4 95.9 L44.4 95.2 L40.3 93.7 L39.3 93.2 L35.6 93.8 L32.8 93.7 L28.6 93.0 L25.5 93.8 L21.9 90.4 L20.2 89.8 L17.5 86.0 L15.9 84.8 L11.3 81.9 L10.3 80.2 L8.0 77.0 L6.9 74.1 L6.2 68.7 L6.4 66.9 L8.5 61.1 L9.5 60.0 L13.5 56.8 L16.5 54.8 L16.9 51.4 L16.6 49.2 L17.9 46.4 L18.7 44.1 L19.7 41.2 L21.0 39.0 L22.9 36.3 L24.7 34.7 L27.3 33.1 L29.6 32.1 L33.1 30.2 L34.5 29.7 L38.0 29.1 L39.9 28.9 L44.1 29.1 L44.8 28.0 L48.3 25.9 L49.8 24.5 L53.1 24.0 L55.9 22.6 L61.6 22.3 L62.4 21.9 L65.9 22.0 L69.1 22.5 L72.0 24.8 L75.2 25.4 L79.8 28.5 L80.8 29.3 L83.7 32.9 L84.5 34.9 L87.1 39.9 L86.6 41.2 L87.9 46.2 L87.4 47.8 L88.3 51.6 L89.6 53.5 L93.1 57.4Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-cloud1: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M98.1 60.0 L97.3 66.7 L97.5 67.5 L96.4 71.7 L94.3 74.2 L90.7 78.5 L88.5 79.4 L86.1 82.3 L84.2 84.8 L81.9 88.5 L80.7 90.6 L76.4 93.8 L75.4 95.0 L71.8 95.1 L68.1 96.3 L61.8 92.7 L60.4 92.1 L56.4 93.6 L55.5 94.5 L52.3 94.5 L50.0 96.1 L46.0 95.5 L44.4 95.5 L41.0 94.8 L39.3 93.8 L34.1 95.2 L32.0 95.8 L27.3 95.2 L24.5 95.1 L21.4 93.3 L18.8 91.1 L14.4 87.6 L13.0 86.8 L7.6 83.2 L6.6 82.1 L5.1 77.0 L4.0 74.9 L5.4 68.2 L6.0 67.1 L13.6 62.5 L17.0 60.0 L16.3 55.8 L15.5 54.5 L16.8 50.7 L16.7 49.1 L19.1 45.1 L19.4 44.3 L22.9 41.7 L23.3 40.7 L26.9 38.8 L27.5 37.4 L31.3 35.2 L31.6 34.7 L33.6 29.9 L34.3 29.1 L36.3 26.2 L38.1 23.8 L43.0 20.4 L43.7 20.0 L47.5 18.4 L50.0 17.1 L56.0 16.5 L56.9 16.6 L61.5 16.9 L64.2 16.3 L69.0 18.8 L70.6 19.4 L75.8 22.0 L76.9 23.0 L79.8 27.7 L81.2 28.7 L84.3 33.5 L84.0 35.0 L85.7 39.9 L86.3 41.6 L86.6 45.3 L87.9 47.5 L92.8 52.5 L94.2 53.0 L95.7 57.0Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-ground: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.0 100.0 L0.0 16.0 L0.9 7.5 L1.5 16.6 L2.7 10.0 L3.5 5.0 L4.2 16.4 L4.7 4.4 L6.2 4.4 L7.4 6.7 L8.8 12.5 L10.2 9.1 L11.5 15.2 L12.8 14.8 L14.2 12.9 L14.8 25.6 L16.1 17.9 L16.9 7.7 L18.2 16.9 L18.8 5.3 L20.2 7.4 L20.8 6.8 L22.2 5.2 L22.9 14.7 L24.1 5.0 L25.0 7.1 L25.9 12.3 L26.6 19.2 L28.1 21.6 L28.9 16.6 L29.3 8.4 L30.0 9.2 L30.5 5.6 L31.8 12.4 L33.0 4.7 L34.0 13.4 L34.6 12.3 L35.5 11.6 L36.5 12.9 L37.2 17.8 L38.6 16.6 L40.1 12.8 L40.8 7.9 L41.8 16.1 L42.6 17.5 L43.8 6.9 L44.4 13.9 L45.7 11.2 L47.0 10.1 L48.2 16.0 L49.2 7.5 L49.7 5.9 L50.2 16.6 L51.1 6.3 L52.0 7.5 L53.3 10.0 L54.3 15.3 L54.9 7.6 L55.5 8.3 L56.2 12.6 L57.5 8.2 L58.6 21.8 L59.6 18.0 L60.4 11.3 L61.1 4.7 L62.1 9.8 L62.9 8.4 L63.9 11.9 L65.1 15.4 L66.2 14.0 L66.8 11.5 L68.3 16.2 L69.7 14.8 L70.4 21.0 L71.0 7.4 L71.8 7.8 L72.9 13.4 L74.0 14.1 L74.4 5.9 L75.7 4.2 L77.2 16.2 L78.6 5.7 L79.8 5.6 L80.3 10.3 L80.8 10.1 L81.9 4.8 L82.9 7.0 L83.8 23.4 L85.1 13.3 L86.4 19.1 L87.3 11.1 L88.4 10.4 L89.9 17.2 L91.0 6.4 L92.0 10.4 L92.6 14.4 L93.9 18.8 L94.3 11.6 L95.6 11.9 L96.7 19.2 L98.0 18.5 L99.2 12.3 L100.0 100.0Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-strip0: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M2.7 100.0 L1.5 97.9 L1.7 96.4 L2.5 93.9 L2.0 93.0 L0.2 90.8 L1.8 89.3 L2.5 86.9 L1.5 86.1 L2.8 84.9 L2.8 84.1 L0.2 81.3 L0.9 79.6 L1.7 77.3 L2.6 75.8 L2.2 74.3 L1.9 71.7 L1.8 69.0 L1.5 67.5 L0.8 64.8 L2.7 62.6 L2.6 61.0 L1.5 58.7 L0.0 57.6 L1.2 56.2 L2.4 54.2 L2.1 52.6 L2.2 50.5 L1.7 49.4 L1.8 47.8 L0.3 45.6 L2.8 43.4 L3.0 41.8 L1.8 39.1 L2.8 37.9 L0.7 36.4 L2.4 35.3 L1.6 33.6 L1.8 32.7 L1.5 30.6 L0.6 28.9 L2.2 27.1 L2.1 25.0 L2.8 23.4 L1.2 21.2 L1.1 19.7 L1.7 18.3 L2.6 15.9 L1.8 14.7 L2.8 12.9 L2.0 11.4 L2.6 9.0 L1.9 8.1 L2.4 5.7 L0.8 4.8 L1.9 3.5 L1.1 2.0 L1.1 0.6 L3.0 3.9 L12.3 3.5 L17.5 2.4 L25.1 3.0 L28.6 2.1 L33.0 3.2 L36.0 2.9 L44.2 3.9 L52.2 1.6 L59.5 2.9 L62.0 2.0 L70.5 3.5 L74.1 1.3 L82.0 1.7 L83.5 1.4 L98.7 0.0 L98.7 2.8 L97.8 3.9 L97.2 4.7 L98.3 5.9 L98.3 7.1 L97.6 9.3 L99.4 10.5 L98.3 12.5 L98.9 13.6 L97.6 16.2 L98.3 17.7 L97.8 19.1 L97.2 21.7 L97.7 24.4 L97.9 25.6 L98.0 28.1 L98.7 30.2 L98.8 31.9 L98.4 33.6 L97.9 35.6 L97.5 37.4 L98.0 38.4 L97.6 41.0 L98.7 43.0 L99.1 44.4 L97.5 46.9 L98.7 48.9 L98.5 49.7 L99.0 51.4 L99.1 53.2 L98.4 54.9 L97.1 57.6 L98.4 58.7 L97.4 59.8 L98.1 61.9 L98.9 63.1 L97.9 64.7 L98.3 66.1 L98.1 67.1 L97.2 69.0 L97.8 70.7 L98.3 73.0 L97.1 75.0 L97.7 75.8 L97.4 77.9 L97.1 78.7 L97.8 80.3 L98.1 81.3 L97.0 83.8 L99.1 85.5 L98.4 87.2 L97.4 89.5 L98.1 90.4 L98.9 92.8 L98.5 95.5 L97.5 97.8 L93.1 96.7 L81.9 96.4 L81.9 97.9 L72.5 97.2 L70.5 97.7 L63.9 96.0 L61.6 96.7 L48.8 98.1 L46.6 98.3 L38.8 96.4 L33.5 97.4 L27.6 97.6 L20.8 97.8 L19.0 96.2 L10.5 97.5Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-strip1: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M2.9 100.0 L2.5 97.8 L1.4 95.3 L2.4 92.9 L1.5 91.3 L0.9 90.1 L0.9 89.1 L2.3 87.3 L2.1 84.5 L0.7 82.2 L2.3 80.5 L0.5 79.0 L2.6 77.7 L2.9 75.1 L2.4 73.9 L1.2 72.2 L0.7 70.4 L1.3 68.4 L2.0 66.2 L0.6 63.8 L2.1 62.1 L1.1 60.9 L2.5 58.4 L1.8 56.5 L0.2 55.6 L0.8 54.5 L1.8 53.7 L2.7 52.2 L2.4 50.1 L1.3 48.4 L0.6 46.3 L1.6 44.9 L1.1 43.8 L2.7 42.2 L0.8 40.6 L2.1 38.8 L2.3 37.5 L2.9 35.4 L2.9 32.7 L1.4 30.0 L1.5 27.5 L2.5 26.2 L2.8 23.9 L1.7 21.5 L0.6 20.4 L2.1 18.3 L2.4 16.9 L1.7 15.5 L2.6 12.8 L2.5 11.7 L1.4 9.8 L2.7 7.6 L1.5 5.0 L2.0 2.8 L0.8 1.1 L9.3 3.6 L19.6 1.8 L22.9 1.8 L31.4 1.9 L33.0 3.6 L42.6 2.3 L43.8 3.3 L50.6 2.8 L59.2 3.8 L62.0 3.1 L66.7 2.0 L72.7 2.3 L78.1 3.1 L83.4 3.0 L88.9 3.3 L97.0 1.5 L98.1 0.0 L97.6 1.6 L97.9 3.9 L97.6 5.5 L97.6 7.0 L98.8 7.8 L97.8 9.6 L99.7 11.1 L97.7 13.5 L98.3 14.4 L99.4 15.9 L98.8 17.0 L99.1 18.4 L98.3 19.7 L98.1 21.4 L97.9 23.9 L99.0 26.0 L98.0 28.3 L100.0 30.0 L98.1 31.2 L97.4 32.5 L97.5 34.3 L98.2 35.1 L99.1 37.4 L98.0 38.9 L97.3 40.2 L97.9 41.3 L97.2 43.4 L98.7 44.8 L97.8 46.8 L98.9 49.2 L98.4 50.1 L97.5 52.8 L98.1 53.9 L98.2 55.3 L98.6 57.2 L97.3 58.2 L97.5 60.1 L97.5 61.6 L97.9 64.2 L98.5 65.3 L99.1 68.1 L98.2 69.1 L98.1 70.3 L97.9 71.8 L97.3 73.9 L98.1 75.9 L97.2 77.7 L99.2 79.1 L97.3 80.4 L97.8 81.7 L97.8 82.8 L98.0 84.2 L97.7 86.8 L97.5 89.2 L97.3 90.0 L98.4 91.2 L98.1 92.1 L98.3 94.6 L97.9 96.1 L98.4 98.7 L98.2 99.9 L87.9 96.5 L80.7 97.1 L74.3 96.2 L67.7 96.3 L62.6 96.6 L56.8 96.5 L48.9 96.1 L45.9 97.0 L37.0 97.9 L35.8 98.6 L26.8 98.2 L19.5 98.1 L12.4 96.8 L10.7 98.5Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-strip2: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M2.0 100.0 L1.3 98.1 L1.1 95.3 L1.6 93.4 L1.6 90.6 L0.8 89.7 L2.6 87.6 L2.7 85.6 L0.9 83.3 L0.3 81.2 L2.5 80.2 L1.8 77.6 L2.4 76.5 L3.0 74.7 L2.1 73.3 L0.4 70.7 L2.9 68.8 L1.2 66.8 L0.5 65.8 L2.1 63.3 L2.7 61.9 L0.0 60.0 L2.3 58.2 L2.8 57.4 L0.5 55.4 L0.3 53.0 L1.7 50.4 L2.9 48.1 L1.7 46.4 L2.5 44.0 L2.2 42.1 L1.0 39.7 L1.3 37.0 L1.8 35.9 L2.6 33.8 L1.9 31.4 L2.6 30.5 L0.7 27.9 L2.3 26.0 L1.6 25.1 L2.5 22.8 L2.0 21.2 L2.3 20.3 L3.0 18.5 L1.9 17.0 L2.5 15.7 L2.8 13.1 L2.4 10.4 L1.1 8.2 L1.3 6.5 L2.8 4.8 L1.5 3.4 L1.2 0.9 L3.0 3.9 L9.3 3.3 L11.3 2.4 L20.5 2.8 L21.9 2.6 L28.9 2.8 L33.6 3.8 L40.9 1.8 L47.1 2.9 L51.4 3.5 L58.2 2.9 L66.3 2.2 L66.9 3.7 L77.5 2.6 L77.6 3.2 L89.5 2.1 L89.5 3.5 L97.6 0.0 L99.4 1.5 L97.8 3.5 L98.6 6.1 L98.1 7.0 L97.5 9.5 L97.7 10.8 L97.5 13.3 L98.1 14.2 L98.6 15.1 L98.6 17.2 L97.3 19.9 L97.8 21.9 L98.0 22.9 L100.0 23.9 L97.0 25.1 L98.0 26.8 L99.2 29.4 L98.5 30.3 L98.6 31.2 L98.1 33.2 L98.1 35.5 L98.1 37.9 L98.7 40.4 L97.7 41.6 L99.6 43.4 L97.5 45.4 L97.7 47.9 L97.1 49.3 L98.1 52.0 L97.8 54.5 L98.7 56.1 L98.5 57.2 L98.1 58.9 L97.4 61.5 L98.7 63.9 L98.4 65.3 L98.2 67.9 L97.3 69.2 L98.7 71.3 L97.1 72.3 L97.2 73.8 L98.1 75.7 L97.2 78.2 L99.3 79.5 L97.5 80.6 L97.9 81.4 L99.5 83.3 L98.0 85.9 L99.8 88.2 L97.6 90.8 L98.7 92.7 L100.0 94.4 L99.1 96.9 L97.4 98.6 L97.0 97.0 L91.2 97.6 L84.0 97.6 L82.4 96.7 L74.3 98.0 L69.7 96.3 L62.3 96.8 L58.4 96.9 L47.3 97.3 L44.3 97.2 L35.3 97.6 L33.8 98.5 L27.0 97.2 L19.0 97.2 L14.1 96.8 L3.0 98.0Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-key0: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5 0.2 L25.3 0.1 L37.6 0.3 L51.9 0.0 L78.9 0.5 L93.1 0.1 L99.6 0.0 L100.0 17.0 L99.8 43.0 L98.5 60.7 L99.3 81.7 L99.4 94.0 L99.0 100.0 L86.1 99.7 L71.7 99.4 L58.5 98.7 L50.0 98.1 L41.3 97.7 L34.1 96.3 L23.2 95.5 L15.9 96.1 L1.2 94.4 L0.4 94.3 L1.0 82.7 L0.7 56.6 L1.1 32.3 L1.0 6.9Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-key1: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5 0.0 L12.8 0.0 L36.3 0.0 L62.4 0.0 L86.9 0.0 L99.7 0.0 L98.9 28.6 L99.4 52.3 L99.1 77.1 L98.6 91.3 L98.9 99.8 L92.5 99.4 L84.4 99.5 L71.3 99.0 L61.0 99.2 L50.0 99.7 L35.6 97.7 L26.8 96.7 L17.8 96.1 L3.2 95.2 L0.5 94.4 L1.3 73.9 L0.3 62.1 L0.6 41.1 L1.0 21.1Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-key2: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5 0.1 L24.9 0.6 L39.6 0.6 L69.1 0.0 L83.4 0.6 L96.5 0.0 L98.9 0.0 L99.3 17.3 L99.3 38.2 L98.4 59.3 L99.3 84.7 L98.6 96.0 L86.9 95.6 L78.9 97.3 L65.9 97.6 L56.8 98.8 L50.0 98.8 L41.8 98.3 L28.8 98.0 L17.1 98.3 L2.4 98.3 L0.7 98.6 L1.0 77.0 L1.0 63.2 L1.3 35.5 L0.9 21.9 L0.0 6.5Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-key3: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0.5 0.5 L12.7 0.1 L30.1 0.2 L45.9 0.2 L66.1 0.0 L90.1 0.0 L99.8 0.0 L99.2 15.7 L98.9 33.8 L99.0 46.3 L99.1 59.9 L98.1 89.0 L98.4 99.0 L90.9 98.8 L79.9 99.2 L66.5 98.9 L52.0 98.4 L50.0 98.8 L39.7 97.7 L32.0 96.3 L21.7 96.6 L12.2 95.7 L2.7 95.0 L1.6 94.5 L1.5 72.5 L0.9 55.4 L0.9 31.6 L0.8 3.2Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-pointer: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M14.0 5.8 L35.6 7.6 L66.4 8.7 L85.7 10.0 L83.5 23.4 L82.7 39.7 L82.0 46.5 L88.5 44.9 L94.2 47.0 L96.6 46.5 L70.0 75.8 L55.8 91.7 L50.1 96.9 L33.4 76.3 L10.0 51.3 L5.0 43.2 L10.9 44.1 L17.8 43.6 L16.9 44.1 L16.2 21.2 L15.2 7.3Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-tape: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M3.0 0.0 L7.0 12.5 L3.0 25.0 L7.0 37.5 L3.0 50.0 L7.0 62.5 L3.0 75.0 L7.0 87.5 L3.0 100.0 L97.0 100.0 L93.0 87.5 L97.0 75.0 L93.0 62.5 L97.0 50.0 L93.0 37.5 L97.0 25.0 L93.0 12.5 L97.0 0.0Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
  --pj-burst: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M49.8 3.2 L57.4 12.0 L58.6 13.4 L67.8 9.0 L72.3 7.8 L74.7 19.1 L74.9 21.3 L83.8 22.2 L88.5 21.7 L86.6 33.9 L86.3 35.1 L95.3 41.0 L98.8 41.9 L92.8 50.7 L90.5 52.6 L95.6 60.7 L98.6 63.8 L88.2 69.9 L86.4 70.3 L87.3 78.7 L89.1 83.5 L80.4 84.1 L74.4 84.1 L73.0 93.6 L71.8 97.8 L62.6 93.5 L59.3 92.4 L53.3 98.8 L50.6 100.0 L45.1 97.6 L41.0 91.7 L33.6 96.0 L27.8 98.2 L25.6 88.1 L25.1 83.6 L17.5 85.0 L10.7 84.1 L13.4 74.1 L13.8 70.6 L4.5 66.4 L1.6 64.4 L8.1 54.2 L9.7 53.3 L3.0 43.1 L1.6 42.5 L8.3 38.3 L13.2 35.8 L10.8 24.5 L10.9 21.9 L18.8 21.0 L25.4 21.8 L27.0 12.4 L28.5 7.5 L36.8 12.3 L40.9 13.9 L49.2 4.9Z%22 fill=%22%23000%22/%3E%3C/svg%3E");
}

/* ---------- Pentagramas: la clave y las notas son pegatinas recortadas ----------
   Cada símbolo lleva una copia blanca más gruesa (el margen que deja la tijera)
   y otra oscura desplazada (la sombra del papel levantado). Sin filtros. */
.recortes .staff .cut-sh { opacity: 0.26; transform: translate(1.1px, 1.8px); }
.recortes .staff .cut-sh .clef path, .recortes .staff .cut-m .clef path { stroke-width: 6.4px !important; }
.recortes .staff .cut-sh .clef path, .recortes .staff .cut-sh .sharp line { stroke: #2b1206 !important; }
.recortes .staff .cut-sh :is(.clef circle, .head, .hole) { fill: #2b1206 !important; stroke: #2b1206 !important; stroke-width: 3.4px; }
.recortes .staff .cut-m .clef path, .recortes .staff .cut-m .sharp line { stroke: #fffdf7 !important; }
.recortes .staff .cut-m :is(.clef circle, .head, .hole) { fill: #fffdf7 !important; stroke: #fffdf7 !important; stroke-width: 3.4px; }
.recortes .staff :is(.cut-sh, .cut-m) .sharp line { stroke-width: 4.6px !important; }
.recortes .staff .hole { fill: #fffdf7; }

/* ---------- Tira de pentagrama pegada con celo (pantalla de lectura) ---------- */
.recortes .staff-box.pj-strip, .recortes .pj-strip {
  position: relative; isolation: isolate;
  filter: drop-shadow(1px 3px 1.5px rgba(50, 20, 5, 0.3));   /* quieta: solo cambia al pasar de nota */
}
.recortes .pj-strip::before {
  content: ""; position: absolute; inset: -6% -4%; z-index: -1;
  background: #fbf8f0 url("../papel/grano.png") 0 0 / 200px 200px;
  -webkit-mask: var(--pj-strip1) 0 0 / 100% 100% no-repeat; mask: var(--pj-strip1) 0 0 / 100% 100% no-repeat;
  pointer-events: none;
}
/* dos trozos de celo, uno en cada punta */
.recortes .pj-strip::after {
  content: ""; position: absolute; top: -12%; left: -7%; right: -7%; height: 24px; z-index: 2;
  background: rgba(255, 244, 206, 0.66) url("../papel/grano.png") 0 0 / 128px 128px;
  -webkit-mask: var(--pj-tape) 0 0 / 16% 100% no-repeat, var(--pj-tape) 100% 0 / 16% 100% no-repeat;
  mask: var(--pj-tape) 0 0 / 16% 100% no-repeat, var(--pj-tape) 100% 0 / 16% 100% no-repeat;
  rotate: -4deg; pointer-events: none;
}

/* ---------- Estrellas de cartulina dorada (resultados) ---------- */
.recortes .stars { gap: 4px; }
.recortes .star {
  position: relative; display: block; isolation: isolate;
  width: 54px; height: 54px; fill: none;
}
.recortes .star.s0 { rotate: -9deg; translate: 0 4px; }
.recortes .star.s1 { rotate: 4deg; translate: 0 -3px; }
.recortes .star.s2 { rotate: 12deg; translate: 0 5px; }
.recortes .star::before, .recortes .star::after, .recortes .star > i {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--pj-star-o) 0 0 / 100% 100% no-repeat; mask: var(--pj-star-o) 0 0 / 100% 100% no-repeat;
}
.recortes .star::after { z-index: -2; background: rgba(45, 18, 4, 0.34); translate: 1.5px 3px; }
.recortes .star::before { z-index: -1; background: #fffdf7 url("../papel/grano.png") 0 0 / 120px 120px; }
.recortes .star > i {
  background: #e3dccd url("../papel/grano.png") 0 0 / 120px 120px;
  -webkit-mask-image: var(--pj-star-i); mask-image: var(--pj-star-i);
}
.recortes .star:not(.on) { opacity: 0.6; }
.recortes .star.on > i { background: #e7a91c url("../papel/cart-mostaza.jpg") 0 0 / 160px 160px; }
.recortes .results-modal.active .star.on { animation: pj-stick 420ms steps(4, end) both; }
.recortes .results-modal.active .star.s1 { animation-delay: 140ms; }
.recortes .results-modal.active .star.s2 { animation-delay: 280ms; }
@keyframes pj-stick {
  0% { opacity: 0; transform: translateY(-16px) rotate(-14deg) scale(1.3); }
  60% { opacity: 1; transform: translateY(2px) rotate(4deg) scale(0.96); }
  100% { opacity: 1; transform: none; }
}

/* ---------- Halloween: el papel se queda, la noche manda ---------- */
html.halloween .recortes .pj-strip::before, html.halloween.recortes .pj-strip::before { background-color: #f4efff; }

/* ---------- Imprimir: piezas limpias, sin texturas ni sombras ---------- */
@media print {
  .recortes *, .recortes *::before, .recortes *::after { background-image: none !important; filter: none !important; animation: none !important; }
  .recortes .staff .cut-sh { display: none; }
}
/* ---------- Reducir movimiento: el papel se queda quieto ---------- */
@media (prefers-reduced-motion: reduce) {
  .recortes .star { animation: none !important; }
}

/* =================== SIMÓN MUSICAL =================== */

/* ---------- Botones: cartulinas de color recortadas ---------- */
.recortes .pads { gap: 20px; padding: 8px; }
.recortes .pad-btn {
  position: relative; isolation: isolate; overflow: visible;
  background: none !important; box-shadow: none !important; filter: none !important;
  outline: none; border-radius: 0;
  --pc: color-mix(in srgb, var(--c) 58%, #ffffff);
  --pm: var(--rc-cut0);
  transition: transform 80ms steps(2, end);
}
.recortes .pad-btn:focus-visible { outline: 3px solid #1d1410; outline-offset: 4px; }
.recortes .pad-btn:nth-child(2) { --pm: var(--rc-cut1); rotate: 1.2deg; }
.recortes .pad-btn:nth-child(3) { --pm: var(--rc-cut2); rotate: 0.8deg; }
.recortes .pad-btn:nth-child(4) { --pm: var(--rc-cut3); rotate: -1.4deg; }
.recortes .pad-btn:nth-child(5) { --pm: var(--rc-cut4); rotate: -0.6deg; }
.recortes .pad-btn:nth-child(6) { --pm: var(--rc-cut5); rotate: 1.6deg; }
.recortes .pad-btn:nth-child(1) { rotate: -1deg; }
.recortes .pad-btn::before, .recortes .pad-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--pm) 0 0 / 100% 100% no-repeat; mask: var(--pm) 0 0 / 100% 100% no-repeat;
}
.recortes .pad-btn::before {
  z-index: -1;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.06)), url("../papel/grano.png") 0 0 / 200px 200px, var(--pc);
  border: 3px solid color-mix(in srgb, var(--c) 25%, #ffffff);
}
.recortes .pad-btn::after { z-index: -2; background: rgba(35, 12, 2, 0.42); translate: 4px 8px; }
/* iluminado: la cartulina se levanta, se aviva y asoma un estallido de papel detrás */
.recortes .pad-btn.lit {
  --pc: var(--c);
  transform: translateY(-6px) rotate(-1.5deg) scale(1.02);
  filter: none !important; box-shadow: none !important;
}
.recortes .pad-btn.lit::after { translate: 8px 16px; background: rgba(35, 12, 2, 0.32); }
.recortes .pad-burst {
  position: absolute; inset: -16px; z-index: -3; pointer-events: none;
  background: #fff3b8 url("../papel/grano.png") 0 0 / 120px 120px;
  -webkit-mask: var(--pj-burst) 0 0 / 100% 100% no-repeat; mask: var(--pj-burst) 0 0 / 100% 100% no-repeat;
  opacity: 0;
}
.recortes .pad-btn.lit .pad-burst { opacity: 1; animation: pj-burst 400ms steps(2, end) infinite; }
@keyframes pj-burst { 0% { rotate: 0deg; } 50% { rotate: 7deg; } }
/* pista tras un fallo: el botón correcto da saltitos */
.recortes .pad-btn.hint { animation: pj-pad-hint 0.5s steps(2, end) 3; }
.recortes .pad-btn.hint .pad-burst { opacity: 1; background-color: #ffffff; }
@keyframes pj-pad-hint { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-8px) rotate(2deg); } }

/* el mensaje: tira de papel teñida (verde si va bien, roja si falla) */
.recortes .status.rc-strip.ok { --rc-strip: #cfeed4; }
.recortes .status.rc-strip.ko { --rc-strip: #f6cfc8; }

/* ---------- La nota: trozo de pentagrama pegado con celo ---------- */
.recortes .pad-staff {
  position: relative; isolation: isolate;
  background: none; border-radius: 0;
  rotate: -2deg;
  padding: 4% 6%;
  width: 86%; height: 70%;
}
@media (orientation: portrait) { .recortes .pad-staff { height: 56%; } }
.recortes .pad-btn:nth-child(even) .pad-staff { rotate: 2.5deg; }
.recortes .pad-staff::before, .recortes .pad-staff::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--pj-strip0) 0 0 / 100% 100% no-repeat; mask: var(--pj-strip0) 0 0 / 100% 100% no-repeat;
}
.recortes .pad-btn:nth-child(3n + 2) .pad-staff::before, .recortes .pad-btn:nth-child(3n + 2) .pad-staff::after { -webkit-mask-image: var(--pj-strip2); mask-image: var(--pj-strip2); }
.recortes .pad-staff::before { z-index: -1; background: #fbf8f0 url("../papel/grano.png") 0 0 / 200px 200px; }
.recortes .pad-staff::after { z-index: -2; background: rgba(35, 12, 2, 0.3); translate: 2px 4px; }
.recortes .pad-tape {
  position: absolute; top: -9px; left: 50%; width: 30%; max-width: 70px; height: 20px; z-index: 3;
  transform: translateX(-50%) rotate(-6deg);
  background: rgba(255, 244, 206, 0.62) url("../papel/grano.png") 0 0 / 128px 128px;
  -webkit-mask: var(--pj-tape) 0 0 / 100% 100% no-repeat; mask: var(--pj-tape) 0 0 / 100% 100% no-repeat;
}
.recortes .pad-btn:nth-child(even) .pad-tape { transform: translateX(-30%) rotate(5deg); }
@media (max-width: 600px) {
  .recortes .pads { gap: 16px; padding: 4px; }
  .recortes .pad-tape { height: 16px; top: -7px; }
}

@media (prefers-reduced-motion: reduce) {
  .recortes .pad-btn, .recortes .pad-burst { animation: none !important; }
  .recortes .pad-btn.lit { transform: none; }
}

/* Revisión de pantallas (16/10): en la pizarra grande (2560×1440, 4K) la pantalla de juego crece igual que el menú */
@media (min-width: 2200px) and (min-height: 1250px) {
  .recortes .screen-play { zoom: var(--pcz, 1); width: calc(100vw / var(--pcz, 1)); height: calc(100vh / var(--pcz, 1)); right: auto; bottom: auto; }
  .recortes .screen-play :is(.play-bar, .top-bar, .bottom-bar, .menu-link, .voice-toggle, .modal-card) { zoom: 1; }
}
