/* ========================================================
   PIANISTA LECTOR - PLAY ESCOLA DE MÚSICA
   ======================================================== */

:root {
  /* Movimiento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 140ms;
  --dur-ui: 240ms;
  /* Tonos para texto o fondos con texto blanco: cumplen contraste WCAG AA (4.5:1) */
  --orange-ink: #bf5520;
  --theme-ink: #bf5520;
  --ok-ink: #15803d;
  --correct-ink: #15803d;
  --orange: #d8682a;
  --orange-dark: #a84a18;
  --orange-soft: #fbeee6;
  --ink: #1d1410;
  --muted: #6a564c;
  --line: #ecdcd2;
  --ok: #16a34a;
  --ok-soft: #e7f6ec;
  --ko: #dc2626;
  --ko-soft: #fdecec;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shadow: 0 10px 30px rgba(120, 50, 10, 0.12);
  --shadow-sm: 0 3px 10px rgba(120, 50, 10, 0.12);
  --font: "Outfit", "Outfit Local", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  overflow: hidden;
  background: var(--orange);
  color: #ffffff;
  font-family: var(--font);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

button {
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  outline: none;
}

button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }

.icon {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}

.app { position: relative; width: 100vw; height: 100vh; height: 100dvh; overflow: hidden; }

/* ---------- Pantallas ---------- */
.screen {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: scale(0.985);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s linear 0.25s;
}

.screen.active {
  opacity: 1; visibility: visible; pointer-events: auto; transform: scale(1);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0s;
}

/* ---------- Botones ---------- */
.btn {
  min-height: 58px; padding: 0 24px; border-radius: 16px;
  font-size: clamp(17px, 2vw, 21px); font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.12s, filter 0.2s, opacity 0.2s;
}

.btn:not(:disabled):active { transform: scale(0.97); }
.btn-primary { background: var(--orange-ink); color: #ffffff; box-shadow: var(--shadow-sm); }
.btn-secondary { background: #ffffff; color: var(--orange-dark); box-shadow: inset 0 0 0 2.5px var(--orange); }
.btn-dark { background: var(--ink); color: #ffffff; box-shadow: var(--shadow-sm); }

.pill, .pill-btn {
  height: 38px; padding: 0 14px; border-radius: 19px;
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  color: #ffffff; font-variant-numeric: tabular-nums;
}

.pill { background: rgba(0, 0, 0, 0.18); }
.pill-btn { background: rgba(0, 0, 0, 0.2); border: 1.5px solid rgba(255, 255, 255, 0.55); }
.pill-btn:active { transform: scale(0.95); }
.score-ok { background: var(--ok-ink); }
.score-ko { background: var(--ko); }

.menu-link {
  position: absolute; top: calc(14px + var(--safe-top)); left: 16px;
  height: 38px; padding: 0 14px; border-radius: 19px;
  display: inline-flex; align-items: center; gap: 6px;
  color: #ffffff; font-size: 14px; font-weight: 700; text-decoration: none;
  background: rgba(0, 0, 0, 0.2); border: 1.5px solid rgba(255, 255, 255, 0.55);
  z-index: 5;
}

/* ---------- Pantalla 1: preparar ---------- */
.screen-setup {
  justify-content: safe center;
  gap: clamp(14px, 3vh, 26px);
  padding: calc(20px + var(--safe-top)) 16px calc(24px + var(--safe-bottom));
  overflow-y: auto;
}

.brand-bar { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.brand-logo { width: clamp(150px, 22vw, 230px); height: auto; display: block; }
.brand-title { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -1px; line-height: 1; }

.setup-card {
  width: 100%; max-width: 640px;
  background: #ffffff; color: var(--ink);
  border-radius: 24px; padding: clamp(18px, 3vw, 30px);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px; flex: none;
}

.setup-row { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.setup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.label { font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 0.2px; }
.note { font-size: 14px; font-weight: 600; color: var(--muted); line-height: 1.4; }

.segmented {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px;
  border-radius: 16px; background: var(--orange-soft);
}

.segmented.seg-3 { grid-template-columns: repeat(3, 1fr); }

.seg-btn {
  min-height: 50px; padding: 4px 6px; border-radius: 12px;
  font-size: 17px; font-weight: 800; color: var(--orange-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  line-height: 1.1; text-align: center;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.seg-btn small { font-size: 12px; font-weight: 600; opacity: 0.8; }
.seg-btn.seg-big { font-size: 22px; font-variant-numeric: tabular-nums; }
.seg-btn.on { background: #ffffff; color: var(--orange-ink); box-shadow: var(--shadow-sm); }

#btn-start { margin-top: 4px; }

/* ---------- Comunes de juego ---------- */
.intro { font-size: 17px; font-weight: 700; line-height: 1.35; }
.best { min-height: 1.2em; font-size: 15px; font-weight: 800; color: var(--orange-dark); }
.best:empty { display: none; }

.screen-play { padding: var(--safe-top) 0 var(--safe-bottom); }

.play-bar {
  width: 100%; height: 64px; padding: 0 16px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; flex: none;
}

.bar-left { display: flex; justify-content: flex-start; }
.bar-right { display: flex; justify-content: flex-end; gap: 6px; }
.score-pill { font-size: 20px; font-weight: 900; padding: 0 18px; }
.score-pill small { font-size: 13px; font-weight: 700; opacity: 0.85; }

.panel {
  background: #ffffff; color: var(--ink);
  border-radius: 24px; box-shadow: var(--shadow);
}

.staff { display: block; width: 100%; height: auto; }
.staff .lines line { stroke: currentColor; stroke-width: 1.4; }
.staff .lines .bar { stroke-width: 1.8; }
.staff .clef circle { fill: currentColor; }
.staff .clef path { stroke: currentColor; }
.staff .head { fill: currentColor; }
.staff .hole { fill: #ffffff; }
.staff .sharp line { stroke: currentColor; stroke-width: 1.4; }
.staff .sharp .thick { stroke-width: 3; }

.feedback { min-height: 1.3em; font-size: clamp(16px, 1.9vw, 21px); font-weight: 800; color: var(--muted); }
.feedback.ok { color: var(--ok-ink); }
.feedback.ko { color: var(--ko); }

@media (max-width: 600px) {
  .pill, .pill-btn { height: 34px; padding: 0 10px; font-size: 13px; }
  .score-pill { font-size: 17px; }
}

/* ---------- Pantalla 3: resultados ---------- */
.results-modal {
  background: rgba(40, 15, 0, 0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  justify-content: center; padding: 16px; z-index: 100;
}

.results-card {
  width: 100%; max-width: 460px;
  background: #ffffff; color: var(--ink);
  border-radius: 24px; padding: 30px 26px 24px;
  text-align: center; box-shadow: 0 20px 50px rgba(40, 15, 0, 0.35);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}

.stars { display: flex; gap: 8px; margin-bottom: 4px; }
.star { width: 52px; height: 52px; fill: var(--line); }
.star.on { fill: #f5b301; }
.results-title { font-size: 32px; font-weight: 900; letter-spacing: -0.5px; color: var(--orange-ink); }
.results-score { font-size: 56px; font-weight: 900; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.results-score small { font-size: 18px; color: var(--muted); }
.results-best { font-size: 16px; font-weight: 800; color: var(--muted); }
.results-best.is-record { color: var(--ok-ink); font-size: 20px; }
.results-sub { font-size: 18px; font-weight: 600; color: var(--muted); }
.results-actions { width: 100%; display: grid; gap: 10px; margin-top: 12px; }


/* ---------- Pianista lector ---------- */
.play-body {
  flex: 1; min-height: 0; width: 100%; max-width: 1200px;
  padding: 0 16px 16px;
  display: flex; flex-direction: column; gap: 14px;
}

.read-panel {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px;
}

.staff-box { width: min(100%, 520px); color: var(--ink); transition: color 0.2s; }
.staff-box.ok { color: var(--ok-ink); }
.staff-box .staff { max-height: 32vh; width: auto; max-width: 100%; margin: 0 auto; }
.staff-box.ok .staff .head { fill: var(--ok); }

.piano-wrap {
  flex: none;
  height: clamp(150px, 34vh, 280px);
  padding: 10px 10px 12px;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.keyboard {
  --whites: 8;
  --bw: calc(100% / var(--whites) * 0.62);
  position: relative;
  height: 100%;
  display: flex;
  gap: 3px;
}

.key { position: relative; border: none; touch-action: pan-x; }

.key.white {
  flex: 1;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#ffffff 80%, #f1e7e0);
  color: #5a4a42;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 10px;
}

.key.black {
  position: absolute; top: 0; z-index: 2;
  width: var(--bw); height: 60%;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(#3a2a22, #120a07);
  color: rgba(255, 255, 255, 0.75);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 8px;
  box-shadow: 0 3px 0 #000;
}

.key-label { font-size: clamp(12px, 1.6vw, 17px); font-weight: 800; pointer-events: none; }
.key.black .key-label { font-size: clamp(12px, 1.2vw, 14px); }
.keyboard.no-labels .key-label { display: none; }

.key.white.central::after {
  content: ""; position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--orange);
}

.keyboard.no-labels .key.white.central::after { bottom: 14px; }

.key.down.white { background: #f3e5da; }
.key.down.black { background: #5a4438; }
.key.ok, .key.lit { background: var(--ok-ink) !important; color: #ffffff; }
.key.ko { background: var(--ko) !important; color: #ffffff; }
.key.hint { animation: hint 0.9s var(--ease-in-out) infinite; }

@keyframes hint {
  0%, 100% { box-shadow: inset 0 0 0 0 var(--orange); }
  50% { box-shadow: inset 0 0 0 6px var(--orange); }
}

.results-best { font-size: 16px; font-weight: 800; color: var(--ok-ink); }

@media (max-width: 600px) {
  .piano-wrap { padding: 6px; border-radius: 14px; }
  .keyboard { gap: 2px; }
  .key.white { border-radius: 0 0 6px 6px; padding-bottom: 6px; }
  .key.white.central::after { bottom: 26px; width: 6px; height: 6px; }
}

/* ---------- Revisión de accesibilidad ---------- */
/* Zonas táctiles de al menos 44 × 44 px */
.pill-btn, .menu-link { min-height: 44px; }
.step-btn { min-width: 44px; min-height: 44px; }
/* Foco visible también en enlaces */
a:focus-visible { outline: 3px solid #1d1410; outline-offset: 3px; }
.pill .icon-inline { width: 1em; height: 1em; }

/* Pantallas estrechas: las teclas nunca bajan de 44 px; si no caben, el teclado se desliza */
.piano-wrap { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.keyboard { min-width: calc(var(--whites) * 46px); }
.scroll-hint { display: none; font-size: 14px; font-weight: 700; color: var(--muted); }
.piano-wrap.scrolls + .scroll-hint { display: block; text-align: center; color: #ffffff; margin-top: -6px; }

/* ---------- Movimiento ----------
   Criterios: solo transform y opacity, curvas ease-out fuertes, interfaz por debajo de 300 ms,
   las salidas más rápidas que las entradas y escalonados de 40 ms en grupos. */
.screen {
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.screen.active {
  transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out), visibility 0s;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes correct-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.035); }
  100% { transform: scale(1); }
}

@keyframes wrong-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

/* Entrada de la tarjeta de opciones al abrir cada pantalla */
.screen.active .setup-card > * { animation: rise 280ms var(--ease-out) both; }
.screen.active .setup-card > :nth-child(2) { animation-delay: 40ms; }
.screen.active .setup-card > :nth-child(3) { animation-delay: 80ms; }
.screen.active .setup-card > :nth-child(4) { animation-delay: 120ms; }
.screen.active .setup-card > :nth-child(5) { animation-delay: 160ms; }
.screen.active .setup-card > :nth-child(n+6) { animation-delay: 200ms; }

/* Opciones de respuesta: aparecen escalonadas en cada pregunta */
.options > *, .options-grid > *, .def-answers > .action-btn {
  animation: rise 260ms var(--ease-out) both;
}
.options > :nth-child(2), .options-grid > :nth-child(2) { animation-delay: 40ms; }
.options > :nth-child(3), .options-grid > :nth-child(3) { animation-delay: 80ms; }
.options > :nth-child(4), .options-grid > :nth-child(4), .def-answers > .action-btn { animation-delay: 120ms; }

/* Respuesta correcta o incorrecta: respuesta breve y física */
.option.is-correct, .option-btn.is-correct, .choice.is-correct { animation: correct-pop 260ms var(--ease-out); }
.option.is-wrong, .option-btn.is-wrong, .choice.is-wrong { animation: wrong-shake 300ms var(--ease-in-out); }

/* Ventanas y resultados */
.results-modal.active .results-card, .modal:not([hidden]) .modal-card { animation: card-in 280ms var(--ease-out) both; }

/* Pulsación: respuesta inmediata al tocar */
.btn, .seg-btn, .chip, .pill-btn, .listen-btn, .reveal-btn, .step-btn, .menu-link {
  transition-property: transform, background-color, color, box-shadow, opacity, filter, border-color;
  transition-duration: var(--dur-press);
  transition-timing-function: var(--ease-out);
}
.btn:not(:disabled):active, .seg-btn:not(:disabled):active, .chip:not(:disabled):active,
.pill-btn:not(:disabled):active, .listen-btn:not(:disabled):active, .reveal-btn:active,
.step-btn:not(:disabled):active, .menu-link:active { transform: scale(0.97); }

/* Accesibilidad: con «reducir movimiento» se quitan desplazamientos y se mantienen los fundidos */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .screen, .screen.active { transform: none !important; }
}

/* Móvil tumbado: el examen es largo, así que aquí la pantalla crece y se puede bajar */
@media (orientation: landscape) and (max-height: 450px) {
  .recortes .screen-play.active { bottom: auto; height: auto; min-height: 100%; }
  .recortes :has(> .screen-play.active) { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
}
/* ============================================================
   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; }
}

/* =================== PIANISTA LECTOR =================== */

/* ---------- El pentagrama de la tarjeta: tira de papel pegada con celo ---------- */
.recortes .read-panel .staff-box { width: min(92%, 520px); padding: 1.5% 3%; rotate: -0.8deg; margin: 10px 0 4px; }
.recortes .staff-box.ok::before { background-color: #dcf1df; }
.recortes .staff-box.ok .staff .head { fill: #15803d; }
.recortes .read-panel .feedback { padding: 2px 10px; }

/* ---------- El piano: tapa de cartón negro con teclas de cartulina ---------- */
.recortes .piano-case {
  flex: none; position: relative; isolation: isolate;
  height: clamp(150px, 34vh, 280px);
  padding: 14px 12px 14px;
  rotate: 0.3deg;
}
.recortes .piano-case::before, .recortes .piano-case::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--rc-cut4) 0 0 / 100% 100% no-repeat; mask: var(--rc-cut4) 0 0 / 100% 100% no-repeat;
}
.recortes .piano-case::before { z-index: -1; background: #2a1c16 url("../papel/grano.png") 0 0 / 200px 200px; border: 3px solid #5a463b; }
.recortes .piano-case::after { z-index: -2; background: rgba(30, 10, 2, 0.45); translate: 3px 7px; }
.recortes .piano-wrap {
  height: 100%; padding: 0 0 6px; border-radius: 0;
  background: none; box-shadow: none;
}
.recortes .piano-case.scrolls + .scroll-hint { display: block; text-align: center; color: #ffffff; margin-top: -6px; }

.recortes .keyboard { gap: 4px; }
.recortes .key {
  background: none !important; box-shadow: none !important; border-radius: 0 !important;
  isolation: isolate;
  transition: transform 80ms steps(2, end);
  --kp: #fbf8f0;
  --km: var(--pj-key0);
}
.recortes .key.white:nth-child(4n + 1) { --km: var(--pj-key1); }
.recortes .key.white:nth-child(4n + 2) { --km: var(--pj-key2); }
.recortes .key.white:nth-child(4n + 3) { --km: var(--pj-key3); }
.recortes .key::before, .recortes .key::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--km) 0 0 / 100% 100% no-repeat; mask: var(--km) 0 0 / 100% 100% no-repeat;
}
.recortes .key::before { z-index: -1; background: var(--kp) url("../papel/grano.png") 0 0 / 160px 160px; }
.recortes .key.white::before { border-bottom: 3px solid rgba(120, 90, 60, 0.14); }
.recortes .key::after { z-index: -2; background: rgba(0, 0, 0, 0.55); translate: 2px 5px; }
/* teclas negras: cartulina negra, más cortas y con el canto algo más claro */
.recortes .key.black { --kp: #1b1210; --km: var(--pj-key2); z-index: 3; }
.recortes .key.black:nth-child(4n) { --km: var(--pj-key1); }
.recortes .key.black::before { border: 2px solid #4a3a31; border-top: 0; }
.recortes .key.black::after { background: rgba(0, 0, 0, 0.5); translate: 3px 6px; }
.recortes .key.white .key-label { color: #5a4a42; }
.recortes .key.black .key-label { color: rgba(255, 255, 255, 0.85); }
/* pulsada: la cartulina baja y la sombra casi desaparece */
.recortes .key.down { transform: translateY(3px); }
.recortes .key.down::after { translate: 1px 1px; }
.recortes .key.white.down { --kp: #efe5d6; }
.recortes .key.black.down { --kp: #3a2a22; }
/* acierto y fallo: la tecla es de papel verde o rojo */
.recortes .keyboard .key.ok.ok { --kp: #2f9e55; color: #fff; }
.recortes .keyboard .key.ko.ko { --kp: #d9443a; color: #fff; }
.recortes .keyboard .key.lit.lit { --kp: #2f9e55; color: #fff; }
.recortes .keyboard .key.lit .key-label { color: #fff; }
.recortes .key.ok .key-label, .recortes .key.ko .key-label { color: #fff; }
/* pista: papel naranja que salta a saltitos */
.recortes .key.hint { --kp: #f4b47f; animation: pj-key-hint 0.8s steps(2, end) infinite; }
.recortes .key.black.hint { --kp: #c2561f; }
@keyframes pj-key-hint { 0% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* el Do central: pegatina naranja */
.recortes .keyboard .key.white.central::after { inset: 0; width: auto; height: auto; transform: none; border-radius: 0; background: rgba(0, 0, 0, 0.55); }
.recortes .keyboard .key.white.central.down::after { translate: 1px 1px; }
.recortes .key-dot {
  position: absolute; left: 50%; bottom: 38px; width: 13px; height: 13px; margin-left: -6.5px;
  background: #d8682a url("../papel/grano.png") 0 0 / 60px 60px;
  -webkit-mask: var(--pj-disc1) 0 0 / 100% 100% no-repeat; mask: var(--pj-disc1) 0 0 / 100% 100% no-repeat;
  pointer-events: none; rotate: 20deg;
}
.recortes .keyboard.no-labels .key-dot { bottom: 16px; }
@media (max-width: 600px) {
  .recortes .piano-case { padding: 10px 8px; }
  .recortes .keyboard { gap: 3px; }
  .recortes .key-dot { bottom: 28px; width: 10px; height: 10px; margin-left: -5px; }
}

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  .recortes .key.hint { animation: none !important; transform: translateY(-3px); }
}

/* ============================================================
   ESCALERA AL CASTILLO: la escena de papel
   Todo lo que se mueve (Notín, la bandera, el marcador) usa
   solo transform/opacity; las sombras son copias quietas.
   ============================================================ */
.play-body { gap: 10px; }
.scene {
  position: relative; flex: 1; min-height: 210px; width: 100%;
  overflow: hidden; isolation: isolate;
  border-radius: 18px;
  background: #cfe7f1 url("../papel/cart-azul.jpg") 0 0 / 260px 260px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55), 0 6px 0 rgba(40, 14, 2, 0.28);
  --wk: 56px;
}
.scene-sky, .scene-sky > i { position: absolute; pointer-events: none; }
.scene-sky { inset: 0; z-index: 0; }
.scene-sky .sun {
  top: 14%; left: 64%; width: min(9%, 16%); aspect-ratio: 1;
  background: #e7a91c url("../papel/cart-mostaza.jpg") 0 0 / 160px 160px;
  -webkit-mask: var(--pj-burst) 0 0 / 100% 100% no-repeat; mask: var(--pj-burst) 0 0 / 100% 100% no-repeat;
  animation: esc-sun 2.4s steps(2, end) infinite;
}
@keyframes esc-sun { 50% { transform: rotate(8deg); } }
.scene-sky .hill {
  bottom: 6%; height: 34%; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #9fcf8f url("../papel/cart-verde.jpg") 0 0 / 220px 220px;
}
.scene-sky .h1 { left: -12%; width: 62%; opacity: 0.75; }
.scene-sky .h2 { left: 30%; width: 70%; height: 26%; opacity: 0.6; }
/* la roca donde está el castillo y el jardín de abajo: trozos de papel pegados (escena.js) */
.scene-sky .cliff { position: absolute; right: -1%; bottom: 5%; width: 26%; height: 60%; }
.scene-sky .garden { position: absolute; left: 0; bottom: 4%; width: 19%; height: 40%; z-index: 1; }
.scene-sky .cliff svg, .scene-sky .garden svg { display: block; width: 100%; height: 100%; overflow: visible; }
.scene-sky .ground {
  left: -1%; right: -1%; bottom: 0; height: 9%;
  background: #6fae5f url("../papel/cart-verde.jpg") 0 0 / 220px 220px;
  -webkit-mask: var(--pj-ground) 0 0 / 100% 100% no-repeat; mask: var(--pj-ground) 0 0 / 100% 100% no-repeat;
}

/* ---------- Peldaños ---------- */
.stairs {
  position: absolute; z-index: 2; left: 19%; right: 26%; bottom: 7%; top: 36%;
  --card: 80px; --n: 8;
}
.step {
  position: absolute; bottom: 0;
  left: calc(var(--i) * 100% / var(--n)); width: calc(100% / var(--n));
  height: calc(var(--card) + (100% - var(--card)) * var(--i) / (var(--n) - 1));
  display: flex; flex-direction: column;
}
.step-rise {
  flex: 1; margin: 0 1px;
  background: #b48a5e url("../papel/kraft.jpg") 0 0 / 200px 200px;
  box-shadow: inset 4px 0 0 rgba(255, 255, 255, 0.18), inset -5px 0 0 rgba(40, 14, 2, 0.2);
}
.step:nth-child(odd) .step-rise { background-position: 60px 30px; }
.step-top {
  position: relative; height: var(--card); flex: none;
  display: grid; place-items: center;
  background: #fbf8f0 url("../papel/grano.png") 0 0 / 200px 200px;
  border-radius: 3px;
  box-shadow: 0 3px 0 rgba(40, 14, 2, 0.3);
  rotate: -1.2deg; color: var(--ink);
}
.step:nth-child(3n + 2) .step-top { rotate: 1.4deg; }
.step:nth-child(3n) .step-top { rotate: -0.4deg; }
.step-staff { display: block; height: 100%; width: 100%; padding: 4% 3%; }
.step-staff .staff { display: block; width: 100%; height: 100%; }
.step-name {
  position: absolute; left: 50%; bottom: -0.55em; translate: -50% 0; z-index: 1;
  padding: 1px 7px; border-radius: 4px;
  font-size: clamp(12px, calc(var(--card) * 0.2), 18px); font-weight: 900; line-height: 1.25;
  background: #e7a91c url("../papel/cart-mostaza.jpg") 0 0 / 120px 120px; color: #2a1c16;
  box-shadow: 0 2px 0 rgba(40, 14, 2, 0.35);
  white-space: nowrap;
}
.stairs.tiny .step-staff { display: none; }
.stairs.tiny .step-name { bottom: auto; top: 50%; translate: -50% -50%; padding: 1px 3px; font-size: 12px; }

/* el peldaño que toca: brilla y tiene una flecha de papel encima */
.step.is-target .step-top { background-color: #fff1dc; box-shadow: 0 0 0 3px var(--orange-ink), 0 3px 0 rgba(40, 14, 2, 0.3); }
.step.is-target::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 3;
  width: min(34px, 60%); aspect-ratio: 1; margin-left: max(-17px, -30%);
  background: #d8682a url("../papel/cart-rosa.jpg") 0 0 / 120px 120px;
  background-blend-mode: multiply;
  -webkit-mask: var(--pj-pointer) 0 0 / 100% 100% no-repeat; mask: var(--pj-pointer) 0 0 / 100% 100% no-repeat;
  animation: esc-bob 0.9s steps(2, end) infinite;
}
@keyframes esc-bob { 50% { transform: translateY(-5px); } }
/* acertado: el peldaño se queda de papel y enseña su nota (sin pintarse de verde) */
.step-name.oculto { display: none; }
.step.done .step-name.oculto { display: block; animation: esc-nombre 260ms steps(3, end) both; }
@keyframes esc-nombre { from { scale: 1.6; opacity: 0; } to { scale: 1; opacity: 1; } }
.step.is-wrong .step-top { animation: esc-shake 420ms steps(6, end); }
@keyframes esc-shake { 20% { transform: translateX(-4px); } 40% { transform: translateX(4px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* ---------- La nota que hay que tocar, en grande ---------- */
.target-card {
  position: absolute; z-index: 3; left: 3%; top: 5%;
  height: min(40%, 220px); max-width: 44%; aspect-ratio: 1.2 / 1;
  display: grid; place-items: center; color: var(--ink);
}
.target-card .staff { width: 100%; height: 100%; display: block; }
.target-card .target-name {
  position: absolute; right: -6%; bottom: -8%; z-index: 3;
  padding: 2px 9px; border-radius: 5px; rotate: 5deg;
  font-size: clamp(15px, 2.4vw, 22px); font-weight: 900;
  background: #e7a91c url("../papel/cart-mostaza.jpg") 0 0 / 120px 120px; color: #2a1c16;
  box-shadow: 0 2px 0 rgba(40, 14, 2, 0.35);
}
.target-card.pop { animation: esc-pop 300ms steps(3, end); }
@keyframes esc-pop { 0% { transform: scale(0.82) rotate(-4deg); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
.target-card.ok .staff .head { fill: #15803d; }

/* ---------- El castillo ---------- */
.castle {
  position: absolute; z-index: 1; right: 0.5%; bottom: 63.5%;
  width: 25%; height: 34%;
}
.castle-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.c-flag { transform: translateY(16px); transition: transform 600ms steps(5, end); }
.castle.won .c-flag { transform: none; animation: esc-flag 0.8s steps(2, end) 600ms infinite; }
@keyframes esc-flag { 50% { transform: skewY(-6deg); } }
.c-lit { opacity: 0; transition: opacity 300ms steps(2, end); }
.castle.won .c-lit { opacity: 1; }

/* ---------- Notín ---------- */
.walker {
  position: absolute; left: 0; top: 0; z-index: 4; width: var(--wk);
  pointer-events: none;
  transition: transform 380ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.walker.no-anim { transition: none; }
.walker-body { translate: -50% -100%; transform-origin: 50% 100%; }
.walker-svg { display: block; width: 100%; height: auto; overflow: visible; animation: esc-idle 1.4s steps(2, end) infinite; }
@keyframes esc-idle { 50% { transform: translateY(-3%); } }
.walker-body.hop { animation: esc-hop 380ms steps(6, end); }
@keyframes esc-hop { 0% { transform: scale(1.08, 0.9); } 45% { transform: translateY(-38%) scale(0.95, 1.06); } 85% { transform: scale(1.06, 0.94); } 100% { transform: none; } }
.walker-body.trip { animation: esc-trip 500ms steps(6, end); }
@keyframes esc-trip { 20% { transform: rotate(-16deg); } 45% { transform: rotate(12deg); } 70% { transform: rotate(-7deg); } 100% { transform: none; } }
.w-legs path { fill: none; stroke: #2a1c16; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.w-sh { fill: rgba(40, 14, 2, 0.32); stroke: rgba(40, 14, 2, 0.32); stroke-width: 6; }
.w-stem { stroke: #2a1c16; stroke-width: 6; stroke-linecap: round; }
.w-flag, .w-head { fill: #2a1c16; stroke: #fffdf7; stroke-width: 3; paint-order: stroke; }
.w-eye { fill: #fffdf7; }
.w-pupil { fill: #2a1c16; }
.w-smile { fill: none; stroke: #fffdf7; stroke-width: 2.6; stroke-linecap: round; }
.w-cheek { fill: #f08a7a; opacity: 0.85; }

.scene-feedback { text-align: center; padding: 0 12px; text-wrap: balance; }
html.recortes .scene-feedback { color: #fffdf7; }
html.recortes .scene-feedback.ok { color: #dcf1df; }
html.recortes .scene-feedback.ko { color: #ffe1d6; }

/* ---------- Halloween: castillo encantado de noche ---------- */
html.halloween .scene { background: #2a2140 url("../papel/hw-noche.jpg") 0 0 / 300px 300px; }
html.halloween .scene-sky .sun { background: #f4efff url("../papel/grano.png") 0 0 / 120px 120px; -webkit-mask-image: var(--pj-disc0); mask-image: var(--pj-disc0); }
html.halloween .scene-sky .hill { background: #3d3157 url("../papel/hw-morado.jpg") 0 0 / 220px 220px; }
html.halloween .scene-sky .ground { background: #2f3a26 url("../papel/hw-musgo.jpg") 0 0 / 220px 220px; }
html.halloween .step-rise { background: #4a3b2e url("../papel/hw-noche-marron.jpg") 0 0 / 200px 200px; }

@media (prefers-reduced-motion: reduce) {
  .walker { transition: none; }
  .walker-svg, .scene-sky .sun, .step.is-target::before, .castle.won .c-flag { animation: none; }
  .walker-body.hop, .walker-body.trip, .target-card.pop, .step.is-wrong .step-top { animation: none; }
  .c-flag { transition: none; }
}

/* ---------- Difícil: elegir la escala ---------- */
.segmented.tonics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.segmented.tonics .seg-btn { min-height: 54px; padding: 6px 2px; font-size: 16px; line-height: 1.15; }
.segmented.tonics .seg-btn small { display: block; margin-top: 2px; font-size: 12px; font-weight: 700; opacity: .8; }
#minor-group { margin-top: 8px; }
.staff .dsharp line { stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.recortes .staff .cut-sh .dsharp line { stroke: #2b1206 !important; stroke-width: 5.4px !important; }
.recortes .staff .cut-m .dsharp line { stroke: #fffdf7 !important; stroke-width: 5.4px !important; }
@media (max-width: 520px) { .segmented.tonics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* nombre de la escala en la escena, en una tira de papel */
.scale-tag {
  position: absolute; z-index: 3; left: 50%; top: 4%; translate: -50% 0; rotate: -1.5deg;
  margin: 0; padding: 4px 14px; white-space: nowrap;
  font-size: clamp(14px, 2.2vw, 20px); font-weight: 900; color: #2a1c16;
  background: #fbf8f0 url("../papel/grano.png") 0 0 / 160px 160px;
  box-shadow: 2px 3px 0 rgba(40, 14, 2, 0.32);
  clip-path: polygon(0 6%, 4% 0, 30% 5%, 62% 0, 96% 4%, 100% 40%, 98% 100%, 70% 95%, 38% 100%, 3% 96%);
}
/* qué mano toca (Difícil) */
.target-card .target-hand {
  position: absolute; left: -4%; bottom: -10%; z-index: 3; rotate: -4deg;
  padding: 2px 9px; border-radius: 5px; white-space: nowrap;
  font-size: clamp(13px, 1.9vw, 17px); font-weight: 900; color: #fff;
  background: #2f7a3b url("../papel/cart-verde.jpg") 0 0 / 120px 120px; background-blend-mode: multiply;
  box-shadow: 0 2px 0 rgba(40, 14, 2, 0.35);
}
.staff .flat line, .staff .flat path { stroke: currentColor; stroke-width: 1.6; }
.staff .flat .thick { stroke-width: 2.6; }
.recortes .staff .cut-sh .flat :is(line, path) { stroke: #2b1206 !important; stroke-width: 4.6px !important; }
.recortes .staff .cut-m .flat :is(line, path) { stroke: #fffdf7 !important; stroke-width: 4.6px !important; }

/* Difícil: los peldaños de cada mano tienen su color (izquierda azul, derecha amarilla) */
.step.hand-izquierda .step-top { background-color: #e1ecfb; }
.step.hand-derecha .step-top { background-color: #fdf1cf; }
@media (max-width: 640px) {
  .scale-tag { top: 2.5%; font-size: 14px; padding: 3px 10px; }
  .target-card { top: 11%; }
}

/* al final, los peldaños «cantan» uno a uno con la escala */
.step.sing .step-top { animation: esc-sing 420ms steps(3, end); background-color: #ffe08a; }
@keyframes esc-sing { 30% { transform: translateY(-8px) rotate(-2deg); } 70% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .step.sing .step-top { animation: none; } }

/* ---------- Al final: la escala entera ---------- */
.results-card:has(.results-scale svg) { max-width: 760px; }
.results-score-box { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.results-scale-title { font-size: 15px; font-weight: 900; color: var(--orange-ink); text-transform: uppercase; letter-spacing: .5px; }
.results-scale {
  width: 100%; overflow-x: auto; padding: 10px 8px 4px;
  background: #fbf8f0 url("../papel/grano.png") 0 0 / 200px 200px; border-radius: 4px; rotate: -0.6deg;
  box-shadow: 0 3px 0 rgba(40, 14, 2, 0.25);
}
.results-scale .score { display: block; width: 100%; height: auto; max-height: 34vh; margin: 0 auto; }
.results-scale .sn .head { transition: fill 120ms; }
.results-scale .sn.on .head { fill: var(--orange); }
.results-scale .sn.on { animation: esc-nota 300ms steps(3, end); transform-box: fill-box; transform-origin: center; }
@keyframes esc-nota { 50% { transform: translateY(-4px) scale(1.15); } }
.results-scale .sn-name { font: 900 13px Outfit, "Outfit Local", sans-serif; fill: #8a6a55; }
.results-scale .sn-name.on { fill: var(--orange-ink); }
.btn-listen { min-height: 46px; font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .results-scale .sn.on { animation: none; } }

/* =========================================================
   TALLER DE INTERVALOS
   ========================================================= */
.screen-play .play-body.iv-body {
  width: 100%; max-width: 1180px; flex: 1; min-height: 0; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: clamp(10px, 2.2vh, 22px);
  padding: 4px 16px calc(14px + var(--safe-bottom));
}

/* ---------- Mapa de niveles ---------- */
.mapa-card { max-width: 860px; }
.mundos { display: flex; flex-direction: column; gap: 18px; }
.mundo { display: flex; flex-direction: column; gap: 8px; }
.mundo-titulo { font-size: clamp(18px, 2.4vw, 23px); font-weight: 900; line-height: 1.15; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mundo-titulo small { font-size: 14px; font-weight: 700; color: var(--muted); }
.mundo-num {
  font-size: 13px; font-weight: 900; color: #fff; padding: 3px 10px 4px; border-radius: 4px; rotate: -2deg; display: inline-block;
  background: var(--orange-ink) url("../papel/grano.png") 0 0 / 120px 120px;
}
.mundo-2 .mundo-num { background-color: #6f3f1f; }
.mundo-3 .mundo-num { background-color: #161211; }
.niveles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.nivel-btn {
  position: relative; min-height: 96px; padding: 10px 10px 8px; border-radius: 6px; text-align: left;
  display: flex; flex-direction: column; gap: 4px; color: var(--ink);
  background: #fbf8f0 url("../papel/grano.png") 0 0 / 160px 160px;
  box-shadow: 0 3px 0 rgba(40, 14, 2, .28), 0 0 0 1.5px #e8dccb inset;
  transition: transform 140ms var(--ease-out);
}
.nivel-btn:nth-child(odd) { rotate: -0.8deg; }
.nivel-btn:nth-child(even) { rotate: 0.7deg; }
@media (hover: hover) { .nivel-btn:not(:disabled):hover { transform: translateY(-2px); } }
.nivel-btn:not(:disabled):active { transform: scale(.97); }
.nv-num { font-size: 15px; font-weight: 900; color: var(--orange-ink); }
.mundo-2 .nv-num { color: #6f3f1f; }
.mundo-3 .nv-num { color: #161211; }
.nv-nombre { font-size: 15px; font-weight: 800; line-height: 1.15; flex: 1; }
.nv-estrellas { font-size: 18px; letter-spacing: 1px; color: #d8cbb8; }
.nv-estrellas .on { color: #e7a91c; text-shadow: 0 1px 0 rgba(80, 40, 0, .3); }
.nivel-btn.cerrado { opacity: .5; background-color: #ede5d6; }
.nivel-btn.toca { box-shadow: 0 3px 0 rgba(40, 14, 2, .28), 0 0 0 3px var(--orange) inset; }
.nivel-btn.toca::after {
  content: "¡Aquí!"; position: absolute; top: -10px; right: -6px; padding: 2px 8px; font-size: 12px; font-weight: 900;
  background: #e7a91c url("../papel/cart-mostaza.jpg") 0 0 / 120px 120px; color: #2a1c16; rotate: 6deg;
  box-shadow: 0 2px 0 rgba(40, 14, 2, .3); animation: iv-salta 1.2s steps(2, end) infinite;
}
@keyframes iv-salta { 50% { transform: translateY(-3px); } }
.profe-row { display: flex; justify-content: center; }
.profe-btn { color: var(--muted); background: transparent; border-color: #e3d6c5; }
.profe-form { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.profe-form input { width: 110px; height: 44px; border-radius: 10px; border: 2px solid #e3d6c5; font: 800 20px var(--font); text-align: center; letter-spacing: 3px; color: var(--ink); background: #fff; user-select: text; -webkit-user-select: text; }
.profe-form .btn { min-height: 44px; }
.profe-msg { width: 100%; text-align: center; color: var(--ko); }

/* ---------- Lección ---------- */
.screen-lesson { justify-content: safe center; padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom)); overflow-y: auto; }
.lesson-card { max-width: 760px; gap: 12px; }
.lesson-tag { font-size: 13px; font-weight: 900; color: var(--orange-ink); text-transform: uppercase; letter-spacing: .4px; }
.lesson-title { font-size: clamp(26px, 4vw, 36px); font-weight: 900; line-height: 1.05; }
.lesson-text { display: flex; flex-direction: column; gap: 8px; font-size: clamp(16px, 1.9vw, 19px); font-weight: 600; line-height: 1.4; }
.lesson-text b { font-weight: 900; color: var(--orange-ink); }
.lesson-ej { display: flex; flex-direction: column; gap: 8px; align-items: center; padding: 10px; background: #f6efe2; border-radius: 6px; }
.lesson-ej:empty { display: none; }
.lesson-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.ej-fila { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.ej-staff { width: auto; height: 120px; color: var(--ink); }
.ej-par { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 15px; font-weight: 700; }
.ej-par b { color: var(--orange-ink); }

/* ---------- Juego ---------- */
.iv-pregunta { max-width: 940px; text-align: center; font-size: clamp(18px, 2.5vw, 26px); font-weight: 900; line-height: 1.2; padding: 8px 18px; }
.iv-mesa { width: 100%; display: flex; gap: clamp(10px, 2vw, 22px); align-items: stretch; justify-content: center; flex-wrap: wrap; }
.iv-pentagrama { flex: none; display: grid; place-items: center; padding: 10px 14px; color: var(--ink); border-radius: 6px; }
.iv-staff { width: auto; height: clamp(130px, 27vh, 250px); }
.iv-staff .sn-name { font: 900 16px var(--font); fill: #6a564c; }
.staff .sn-marca.es-linea { fill: #1f6fb2; }
.staff .sn-marca.es-espacio { fill: #b2591f; }
.ej-staff .sn-name { font: 900 15px var(--font); fill: #6a564c; }
.iv-trabajo { flex: 1 1 420px; min-width: 0; max-width: 820px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.iv-trabajo:empty { display: none; }
.iv-respuestas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; }
.ans-btn {
  min-height: clamp(56px, 8.5vh, 76px); min-width: clamp(64px, 8vw, 92px); padding: 6px 18px; border-radius: 8px;
  font-size: clamp(19px, 2.6vw, 27px); font-weight: 900; color: var(--ink); background: #fffaf0;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 3px 0 rgba(40, 14, 2, .3);
}
.ans-btn small { font-size: 13px; font-weight: 700; color: var(--muted); }
.ans-btn.rec { flex-direction: column; gap: 4px; min-width: 120px; }
.ans-btn.is-correct { background: #2f9e55; color: #fff; }
.ans-btn.is-correct small { color: #e7f6ec; }
.ans-btn.is-wrong { background: #d9443a; color: #fff; animation: esc-shake 420ms steps(6, end); }
.ans-btn.is-dimmed { opacity: .45; }
.ans-btn:disabled { cursor: default; }
.iv-explica { max-width: 900px; min-height: 1.3em; text-align: center; font-size: clamp(16px, 2.2vw, 22px); font-weight: 700; line-height: 1.35; color: #fff; }
.iv-explica b { font-weight: 900; }
.iv-explica.ok b { color: #b7f0c6; }
.iv-explica.ko b { color: #ffd1c9; }
.iv-acciones { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }

/* cadena de nombres para contar */
.cadena { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.chip-n {
  position: relative; min-width: clamp(54px, 6.5vw, 76px); height: clamp(50px, 8vh, 70px); padding: 0 10px; border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: clamp(18px, 2.3vw, 24px); font-weight: 900; color: var(--ink); background: #fffaf0; box-shadow: 0 3px 0 rgba(40, 14, 2, .3);
}
.chip-n b {
  position: absolute; top: -10px; left: -6px; min-width: 22px; height: 22px; border-radius: 50%; display: none; place-items: center;
  font-size: 13px; color: #fff; background: var(--orange-ink);
}
.chip-n.contado { background: #ffe7a3; }
.chip-n.contado b { display: grid; }
.chip-n.sobra { opacity: .35; }
.chip-n.mal { animation: esc-shake 420ms steps(6, end); }
.cadena.pista .chip-n { background: #fff3d6; }
.pista-txt { text-align: center; font-weight: 800; color: #fff; }

/* el piano de cartulina con los bloques de construcción encima */
.camino.piano { --nw: 8; position: relative; width: 100%; padding-top: clamp(40px, 6vh, 54px); }
.teclado {
  position: relative; padding: 6px 6px 8px; border-radius: 6px;
  background: #2a1c16 url("../papel/grano.png") 0 0 / 200px 200px; box-shadow: 0 0 0 3px #5a463b inset, 3px 6px 0 rgba(30, 10, 2, .4);
}
.blancas { display: flex; gap: 3px; }
.bal { font-family: inherit; cursor: pointer; padding: 0; border: 0; }
.bal.blanca {
  position: relative; flex: 1; height: clamp(86px, 17vh, 150px); border-radius: 0 0 5px 5px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 6px;
  font-size: clamp(11px, 1.5vw, 16px); font-weight: 900; color: #3a2a20;
  background: #fbf8f0 url("../papel/grano.png") 0 0 / 160px 160px; box-shadow: 0 3px 0 rgba(40, 14, 2, .35);
}
.bal.negra {
  position: absolute; top: 6px; z-index: 2; width: calc((100% - 12px) / var(--nw) * 0.58); height: 58%; translate: -50% 0;
  margin-left: 3px; border-radius: 0 0 4px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 4px;
  background: #1d1410 url("../papel/grano.png") 0 0 / 120px 120px; box-shadow: 0 0 0 1.5px #5a463b, 0 3px 0 rgba(0, 0, 0, .5);
}
.bal.marca-a, .bal.marca-b { background-color: #ffc56b; }
.bal.negra.marca-a, .bal.negra.marca-b { background-color: #c2561f; }
.bal.contada { background-color: #ffe7a3; }
.bal.negra.contada { background-color: #8a5a2a; }
.bal.brilla { animation: iv-brilla 0.9s steps(2, end) infinite; }
.bal.mal { animation: esc-shake 420ms steps(6, end); }
@keyframes iv-brilla { 50% { background-color: #f5b301; } }
.k-num {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 11px; margin-bottom: 4px;
  font-size: 13px; font-weight: 900; color: #fff; background: var(--orange-ink); box-shadow: 0 0 0 2px #fffaf0;
}
.cuenta-semis { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; color: #fff; min-height: 1.3em; }

/* bloques de construcción: tacos arriba (uno por semitono) */
.bloques { position: absolute; left: 6px; right: 6px; top: 0; height: clamp(40px, 6vh, 54px); }
.blq {
  position: absolute; bottom: 4px; height: 62%; margin-left: 2px; translate: 0 0; border-radius: 3px; display: flex; justify-content: space-evenly; align-items: flex-start;
  box-shadow: inset 0 -5px 0 rgba(60, 20, 0, .22), 0 0 0 2px #fffaf0, 1px 3px 0 2px rgba(40, 14, 2, .3);
}
.blq i, .rb b {
  position: relative; top: -7px; width: clamp(10px, 1.4vw, 16px); height: 8px; border-radius: 4px 4px 1px 1px;
  background: inherit; box-shadow: inset 0 -2px 0 rgba(60, 20, 0, .2), 0 0 0 1.5px #fffaf0;
}
.blq.g, .rb.g { background: #e0702e url("../papel/cartulina.jpg") 0 0 / 120px 120px; }
.blq.p, .rb.p { background: #f2c94c url("../papel/cart-mostaza.jpg") 0 0 / 120px 120px; }
.blq.nuevo { animation: iv-pon 260ms steps(3, end) both; }
@keyframes iv-pon { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.camino.is-correct .teclado { box-shadow: 0 0 0 3px #5a463b inset, 0 0 0 4px #2f9e55, 3px 6px 0 rgba(30, 10, 2, .4); }
.leyenda { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; font-size: clamp(13px, 1.6vw, 16px); font-weight: 800; color: #fff; }
.lesson-ej .leyenda { color: var(--muted); }
.leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.rb { display: inline-flex; justify-content: space-evenly; align-items: flex-start; vertical-align: middle; height: 16px; margin-top: 6px; border-radius: 2px; box-shadow: inset 0 -3px 0 rgba(60, 20, 0, .2), 0 0 0 1.5px #fffaf0, 1px 2px 0 1.5px rgba(40, 14, 2, .25); }
.rb b { top: -5px; width: 8px; height: 5px; }
.rb.g { width: 34px; }
.rb.p { width: 17px; }
.receta { display: inline-flex; gap: 4px; align-items: center; }
.recetas-ref, .recetas-ej { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tarjeta-receta {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 4px;
  background: #fffaf0; color: var(--ink); font-size: 14px; box-shadow: 0 2px 0 rgba(40, 14, 2, .25);
}
.tarjeta-receta b { font-weight: 900; }
.ans-btn.rec .receta { min-height: 18px; }

@media (max-width: 600px) {
  .iv-staff { height: 104px; }
  .chip-n { min-width: 44px; height: 44px; font-size: 16px; padding: 0 6px; }
  .ans-btn { min-height: 50px; min-width: 56px; padding: 4px 12px; }
  .niveles { grid-template-columns: repeat(2, 1fr); }
  .bal.blanca { font-size: 10px; }
  .k-num { min-width: 18px; height: 18px; font-size: 11px; }
  .rb.g { width: 26px; } .rb.p { width: 13px; }
}
@media (prefers-reduced-motion: reduce) { .nivel-btn.toca::after, .bal.brilla, .blq.nuevo { animation: none; } }
/* respuestas de papel: verde o roja al contestar */
.recortes .ans-btn.rc-btn { --rc-btn: #fffaf0; color: var(--ink); }
.recortes .ans-btn.rc-btn.is-correct { --rc-btn: #2f9e55; color: #fff; }
.recortes .ans-btn.rc-btn.is-wrong { --rc-btn: #d9443a; color: #fff; }
.recortes .ans-btn.rc-btn.is-correct small, .recortes .ans-btn.rc-btn.is-wrong small { color: #fff; }

/* 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; }
}

/* idiomas (i18n.js pone lang en <html>) */
html[lang="en"] .nivel-btn.toca::after { content: "Here!"; }
html[lang="ja"] .nivel-btn.toca::after { content: "ここ！"; }

/* ===== Adivina qué suena (calle, casa, granja, naturaleza, transporte, instrumentos) ===== */
.ad-body { align-items: center; justify-content: center; gap: 18px; }
.ad-pregunta { font-size: clamp(22px, 4vw, 34px); font-weight: 900; text-align: center; }
.ad-opciones { width: 100%; max-width: 900px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ad-op { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 130px; padding: 12px 8px; border-radius: 20px; background: #fff; color: var(--ink); font-size: 20px; font-weight: 800; box-shadow: var(--shadow-sm); cursor: pointer; }
.ad-op .ad-emoji { font-size: clamp(48px, 9vw, 72px); line-height: 1; }
.ad-op:active { transform: scale(0.97); }
.ad-op.correct { background: var(--ok-soft); box-shadow: inset 0 0 0 4px var(--ok); }
.ad-op.is-wrong { background: var(--ko-soft); box-shadow: inset 0 0 0 4px var(--ko); animation: ad-no 300ms; }
.ad-op:disabled { opacity: 0.55; cursor: default; }
.ad-op.correct:disabled { opacity: 1; }
@keyframes ad-no { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .ad-op.is-wrong { animation: none; } }

/* letras grandes y en mayúsculas */
.ad-body, .ad-fin, .results-title { text-transform: uppercase; letter-spacing: 0.02em; }
.ad-pregunta { font-size: clamp(30px, 6vw, 52px); }
.ad-op { font-size: clamp(22px, 3.6vw, 32px); }
.ad-fin { font-size: clamp(24px, 4.5vw, 36px); min-height: 72px; font-weight: 900; }
.results-title { font-size: clamp(36px, 7vw, 56px); }

.ad-opciones { max-width: 760px; }
.ad-op { min-height: clamp(180px, 34vh, 300px); }
.ad-op .ad-emoji { font-size: clamp(80px, 16vw, 140px); }

.ad-op .ad-img { width: clamp(110px, 24vw, 200px); height: clamp(110px, 24vw, 200px); object-fit: contain; pointer-events: none; }
.ad-credito { font-size: 12px; font-weight: 600; opacity: .75; margin-top: 4px; }

/* Dibujos animados mientras suena (7/11): cada dibujo se mueve a su manera y de los instrumentos salen corcheas.
   Se mueven los dos dibujos por igual, así no se delata la respuesta. */
.ad-op { overflow: visible; }
.ad-dibujo { position: relative; display: inline-block; line-height: 0; }
.ad-pieza { position: relative; display: block; transform-origin: 50% 85%; }
.ad-pieza .ad-img { display: block; }
.ad-capa { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ad-dibujo.suena .ad-pieza { animation: ad-mece 1.3s ease-in-out infinite alternate; }
.ad-dibujo.suena[data-mueve="late"] .ad-pieza { animation: ad-late 0.65s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="sopla"] .ad-pieza { transform-origin: 50% 50%; animation: ad-sopla 1.3s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="arco"] .ad-pieza { animation: ad-mece-poco 2.6s ease-in-out infinite alternate; }
.ad-op:nth-child(2) .ad-dibujo.suena .ad-pieza { animation-delay: -0.4s; }
/* el arco va y viene a lo largo de sí mismo; el del violonchelo se coloca primero sobre las cuerdas */
.ad-dibujo[data-id="violin"] .ad-capa { --va: translate(-4.4%, 4.45%); --viene: translate(4.4%, -4.45%); }
.ad-dibujo[data-id="violonchelo"] .ad-capa { transform-origin: 81.6% 74.4%; --sitio: translate(-30.6%, -25%) rotate(-71deg); --va: translate(-6.3%, -10.2%); --viene: translate(6.3%, 10.2%); transform: var(--sitio); }
.ad-dibujo.suena .ad-capa { animation: ad-arco 1.3s ease-in-out infinite alternate; }
@keyframes ad-arco { from { transform: var(--sitio, translate(0)) var(--va); } to { transform: var(--sitio, translate(0)) var(--viene); } }
/* medios de transporte: traquetean y dejan rayas de velocidad detrás; el barco flota, el avión vuela, el helicóptero
   mueve la pala, la bici gira las ruedas y la ambulancia enciende la luz */
.ad-dibujo.suena:is([data-mueve="conduce"], [data-mueve="pedalea"]) .ad-pieza { transform-origin: 50% 100%; animation: ad-traqueteo 0.36s ease-in-out infinite alternate; }
.ad-dibujo.suena[data-mueve="pedalea"] .ad-pieza { animation-duration: 0.6s; }
.ad-dibujo.suena:is([data-mueve="conduce"], [data-mueve="pedalea"])::before {
  content: ""; position: absolute; left: -16%; top: 38%; width: 26%; height: 34%; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Cg stroke='%23222' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M18 6h40M4 20h50M22 34h34'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  animation: ad-rayas 0.6s linear infinite;
}
.ad-dibujo.suena[data-mueve="flota"] .ad-pieza { transform-origin: 50% 75%; animation: ad-flota 2.4s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="flota"] .ad-fondo { animation: ad-ola 2.4s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="vuela"] .ad-pieza { transform-origin: 50% 50%; animation: ad-vuela 2.2s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="helice"] .ad-pieza { transform-origin: 50% 50%; animation: ad-helice 1.6s ease-in-out infinite; }
.ad-dibujo[data-id="helicoptero"] .ad-capa-pala { transform-origin: 53.3% 24.5%; }
.ad-dibujo.suena[data-id="helicoptero"] .ad-capa-pala { animation: ad-pala 0.32s linear infinite; }
.ad-dibujo[data-id="bici"] .ad-capa-rueda1 { transform-origin: 20.9% 56.9%; }
.ad-dibujo[data-id="bici"] .ad-capa-rueda2 { transform-origin: 78.4% 59%; }
.ad-dibujo.suena[data-id="bici"] :is(.ad-capa-rueda1, .ad-capa-rueda2) { animation: ad-gira 1.1s linear infinite; }
.ad-dibujo.suena[data-id="ambulancia"] .ad-capa-luz { animation: ad-luz 0.5s steps(1) infinite; }
@keyframes ad-traqueteo { from { transform: translateY(0) rotate(0); } to { transform: translateY(-4px) rotate(-1deg); } }
@keyframes ad-rayas { from { transform: translateX(10%); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(-35%); opacity: 0; } }
@keyframes ad-flota { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(5px) rotate(3deg); } }
@keyframes ad-ola { 0%, 100% { transform: translateX(-5%); } 50% { transform: translateX(5%); } }
@keyframes ad-vuela { 0%, 100% { transform: translate(-3%, -3%) rotate(-2deg); } 50% { transform: translate(3%, 3%) rotate(2deg); } }
@keyframes ad-helice { 0%, 100% { transform: translateY(-4px) rotate(-1.5deg); } 50% { transform: translateY(4px) rotate(1.5deg); } }
@keyframes ad-pala { 0% { transform: scaleX(1); } 50% { transform: scaleX(-1); } 100% { transform: scaleX(1); } }
@keyframes ad-gira { to { transform: rotate(360deg); } }
@keyframes ad-luz { 50% { opacity: 0.1; } }
/* animales: andan o picotean, mueven la cola y les salen ondas de la boca */
.ad-dibujo.suena[data-mueve="anda"] .ad-pieza { transform-origin: 50% 100%; animation: ad-anda 0.9s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="picotea"] .ad-pieza { transform-origin: 45% 95%; animation: ad-picotea 1.2s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="canta"] .ad-pieza { transform-origin: 45% 95%; animation: ad-canta 1.3s ease-in-out infinite; }
.ad-dibujo[data-id="perro"] .ad-capa-cola { transform-origin: 17.2% 41.9%; }
.ad-dibujo[data-id="gato"] .ad-capa-cola { transform-origin: 25.9% 38.1%; }
.ad-dibujo[data-id="caballo"] .ad-capa-cola { transform-origin: 14.4% 38.4%; }
.ad-dibujo.suena .ad-capa-cola { animation: ad-cola 0.9s ease-in-out infinite alternate; }
.ad-dibujo.suena[data-id="perro"] .ad-capa-cola { animation-duration: 0.25s; }
.ad-onda { position: absolute; width: 40px; height: 64px; margin: -32px 0 0 -6px; pointer-events: none; z-index: 2; opacity: 0; animation: ad-onda 1.3s ease-out forwards;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 64'%3E%3Cg fill='none' stroke='%23222' stroke-width='4.5' stroke-linecap='round'%3E%3Cpath d='M6 22q6 10 0 20'/%3E%3Cpath d='M17 13q11 19 0 38'/%3E%3Cpath d='M28 4q16 28 0 56'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes ad-anda { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-4px) rotate(-1deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-4px) rotate(1deg); } }
@keyframes ad-picotea { 0%, 60%, 100% { transform: rotate(0); } 75% { transform: rotate(7deg); } 85% { transform: rotate(2deg); } }
@keyframes ad-canta { 0%, 100% { transform: rotate(0) scale(1); } 40%, 60% { transform: rotate(-5deg) scale(1.03); } }
@keyframes ad-cola { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes ad-onda { 0% { opacity: 0; transform: translateX(0) scale(0.6); } 20% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translateX(34px) scale(1.25); } }
/* naturaleza: la lluvia cae, el trueno da fogonazos, el árbol se dobla con el viento, el fuego tiembla y el agua corre */
.ad-dibujo.suena[data-id="lluvia"] .ad-capa-gotas { animation: ad-gotas 0.9s linear infinite; }
.ad-dibujo.suena[data-id="lluvia"] .ad-pieza { animation: ad-nube 3s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="truena"] .ad-pieza { animation: ad-fogonazo 2.2s linear infinite; }
.ad-dibujo.suena[data-mueve="truena"] .ad-capa-texto { animation: ad-retumba 2.2s linear infinite; }
.ad-dibujo.suena[data-mueve="sopla-viento"] .ad-pieza { transform-origin: 45% 98%; animation: ad-dobla 1.6s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="sopla-viento"] .ad-fondo { animation: ad-aire 1.6s ease-in infinite; }
.ad-dibujo.suena[data-mueve="llama"] .ad-pieza { transform-origin: 50% 95%; animation: ad-llama 0.7s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="salta"] .ad-pieza { transform-origin: 50% 100%; animation: ad-salta 1.6s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="vibra"] .ad-pieza { animation: ad-vibra 0.12s linear infinite; }
.ad-dibujo.suena[data-mueve="agua"] .ad-pieza { animation: none; }
.ad-dibujo[data-id="cisterna"] .ad-pieza::before, .ad-dibujo[data-mueve="agua"] .ad-pieza::before, .ad-dibujo[data-mueve="agua"] .ad-pieza::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.ad-dibujo.suena[data-id="cisterna"] .ad-pieza::before, .ad-dibujo.suena[data-mueve="agua"] .ad-pieza::before, .ad-dibujo.suena[data-mueve="agua"] .ad-pieza::after { opacity: 1; }
.ad-dibujo[data-id="mar"] .ad-pieza::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' opacity='.9'%3E%3Cpath d='M6 12q5-5 10 0t10 0'/%3E%3Cpath d='M46 32q5-5 10 0t10 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 34% auto repeat; clip-path: inset(31% 0 14% 0); }
.ad-dibujo.suena[data-id="mar"] .ad-pieza::before { animation: ad-olas-mar 2.4s linear infinite; }
.ad-dibujo[data-id="rio"] .ad-pieza::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' opacity='.9'%3E%3Cpath d='M6 12q5-5 10 0t10 0'/%3E%3Cpath d='M46 32q5-5 10 0t10 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 26% auto repeat; clip-path: polygon(56% 36%, 70% 33%, 72% 40%, 62% 52%, 60% 68%, 58% 100%, 22% 100%, 30% 86%, 40% 70%, 47% 55%, 53% 45%); }
.ad-dibujo.suena[data-id="rio"] .ad-pieza::before { animation: ad-corre-rio 2s linear infinite; }
.ad-dibujo[data-id="cascada"] .ad-pieza::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 60'%3E%3Cg stroke='%23fff' stroke-width='2.4' stroke-linecap='round' opacity='.95'%3E%3Cpath d='M6 4v16M20 30v18'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 12% auto repeat; clip-path: polygon(48% 12%, 70% 8%, 66% 30%, 62% 86%, 40% 86%, 44% 40%); }
.ad-dibujo.suena[data-id="cascada"] .ad-pieza::before { animation: ad-cae-agua 0.7s linear infinite; }
.ad-dibujo[data-id="cascada"] .ad-pieza::after { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' opacity='.9'%3E%3Cpath d='M6 12q5-5 10 0t10 0'/%3E%3Cpath d='M46 32q5-5 10 0t10 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 30% auto repeat; clip-path: inset(84% 0 0 0); }
.ad-dibujo.suena[data-id="cascada"] .ad-pieza::after { animation: ad-olas-mar 2.4s linear infinite; }
@keyframes ad-gotas { 0% { transform: translateY(-8%); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(12%); opacity: 0; } }
@keyframes ad-nube { 0%, 100% { transform: translateX(-2%); } 50% { transform: translateX(2%); } }
@keyframes ad-fogonazo { 0%, 70%, 76%, 82%, 100% { filter: none; transform: none; } 72%, 80% { filter: brightness(1.25) drop-shadow(0 0 10px #ffd84d); transform: translateX(-2px); } 74%, 78% { transform: translateX(2px); } }
@keyframes ad-retumba { 0%, 70%, 86%, 100% { transform: none; } 72%, 78%, 84% { transform: translate(-3px, 2px) rotate(-2deg); } 75%, 81% { transform: translate(3px, -2px) rotate(2deg); } }
@keyframes ad-dobla { 0%, 100% { transform: skewX(0) rotate(0); } 50% { transform: skewX(4deg) rotate(-5deg); } }
@keyframes ad-aire { 0% { transform: translateX(12%); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(-18%); opacity: 0; } }
@keyframes ad-llama { 0%, 100% { transform: scale(1, 1) skewX(0); } 25% { transform: scale(0.97, 1.05) skewX(2deg); } 50% { transform: scale(1.02, 0.97) skewX(-1deg); } 75% { transform: scale(0.98, 1.04) skewX(-2deg); } }
@keyframes ad-salta { 0%, 50%, 100% { transform: translateY(0) scale(1, 1); } 58% { transform: translateY(0) scale(1.05, 0.92); } 70% { transform: translateY(-14%) scale(0.96, 1.06); } 82% { transform: translateY(0) scale(1.04, 0.95); } 90% { transform: translateY(0) scale(1, 1); } }
@keyframes ad-vibra { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(1px, -1px); } 50% { transform: translate(-1px, 1px); } 75% { transform: translate(1px, 1px); } }
@keyframes ad-olas-mar { to { background-position: 34% 0; } }
@keyframes ad-corre-rio { to { background-position: -26% 52%; } }
@keyframes ad-cae-agua { to { background-position: 0 24%; } }
/* calle: la campana se balancea, las manos aplauden, el obrero trabaja, el que pasea anda y el semáforo cambia de luz */
.ad-dibujo.suena[data-mueve="campana"] .ad-pieza { transform-origin: 50% 6%; animation: ad-campana 1.1s ease-in-out infinite alternate; }
.ad-dibujo.suena[data-mueve="aplaude"] .ad-pieza { transform-origin: 80% 90%; animation: ad-aplaude 0.32s ease-in-out infinite alternate; }
.ad-dibujo.suena[data-mueve="martillea"] .ad-pieza { transform-origin: 50% 100%; animation: ad-martillea 0.45s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="camina"] .ad-pieza { transform-origin: 50% 100%; animation: ad-camina 1.2s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="respira"] .ad-pieza { animation: ad-respira 2s ease-in-out infinite; }
.ad-dibujo[data-mueve="semaforo"] .ad-pieza::before, .ad-dibujo[data-mueve="semaforo"] .ad-pieza::after { content: ""; position: absolute; left: 41.5%; width: 15%; height: 15%; margin-top: -7.5%; border-radius: 50%; background: rgba(20, 20, 20, 0.62); pointer-events: none; display: none; }
.ad-dibujo.suena[data-mueve="semaforo"] .ad-pieza { animation: none; }
.ad-dibujo.suena[data-mueve="semaforo"] .ad-pieza::before { display: block; animation: ad-semaforo-1 4.5s steps(1) infinite; }
.ad-dibujo.suena[data-mueve="semaforo"] .ad-pieza::after { display: block; animation: ad-semaforo-2 4.5s steps(1) infinite; }
@keyframes ad-campana { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
@keyframes ad-aplaude { from { transform: rotate(-5deg) scale(1); } to { transform: rotate(4deg) scale(0.97); } }
@keyframes ad-martillea { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-2deg) translateY(-2px); } 45% { transform: rotate(1.5deg) translateY(1px); } }
@keyframes ad-camina { 0%, 100% { transform: translateX(-5%) translateY(0); } 25%, 75% { transform: translateY(-3px); } 50% { transform: translateX(5%) translateY(0); } }
@keyframes ad-respira { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes ad-semaforo-1 { 0% { top: 35%; } 40% { top: 19%; } 70% { top: 19%; } }
@keyframes ad-semaforo-2 { 0% { top: 52%; } 40% { top: 35%; } 70% { top: 52%; } }
/* casa: el timbre, el teléfono y el despertador suenan con ondas, el reloj hace tictac, el grifo gotea, el hervidor echa
   vapor, la lavadora gira el tambor, la puerta se abre y los aparatos vibran */
.ad-dibujo.suena[data-mueve="tiembla"] .ad-pieza { animation: ad-tiembla 0.9s linear infinite; }
.ad-dibujo.suena[data-mueve="tictac"] .ad-pieza { transform-origin: 50% 50%; animation: ad-tictac 1s steps(1) infinite; }
.ad-dibujo.suena[data-mueve="aspira"] .ad-pieza { transform-origin: 50% 100%; animation: ad-aspira 1.4s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="pulsa"] .ad-pieza { animation: ad-pulsa 0.9s ease-in-out infinite; }
.ad-dibujo.suena[data-mueve="teclea"] .ad-pieza { animation: ad-teclea 0.18s ease-in-out infinite alternate; }
.ad-dibujo.suena[data-mueve="abre"] { perspective: 600px; }
.ad-dibujo.suena[data-mueve="abre"] .ad-pieza { transform-origin: 18% 50%; animation: ad-abre 2.4s ease-in-out infinite; }
.ad-dibujo[data-id="lavadora"] .ad-capa-tambor { transform-origin: 50% 50.2%; }
.ad-dibujo.suena[data-id="lavadora"] .ad-capa-tambor { animation: ad-gira 0.8s linear infinite; }
.ad-dibujo[data-id="cisterna"] .ad-pieza::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' opacity='.9'%3E%3Cpath d='M6 12q5-5 10 0t10 0'/%3E%3Cpath d='M46 32q5-5 10 0t10 0'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 14% auto repeat; clip-path: ellipse(16% 5% at 62% 52%); }
.ad-dibujo.suena[data-id="cisterna"] .ad-pieza::before { animation: ad-olas-cisterna 1s linear infinite; }
.ad-vapor, .ad-gota { position: absolute; pointer-events: none; z-index: 2; opacity: 0; }
.ad-vapor { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M12 30a8 8 0 0 1 2-15 10 10 0 0 1 18 3 7 7 0 0 1-2 12z' fill='%23ececec' stroke='%23555' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat; animation: ad-vapor 1.8s ease-out forwards; }
.ad-gota { width: 16px; height: 22px; margin: 0 0 0 -8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 28'%3E%3Cpath d='M10 2C7 9 3 13 3 18a7 7 0 0 0 14 0c0-5-4-9-7-16z' fill='%2387cdea' stroke='%23222' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; animation: ad-gota 0.9s ease-in forwards; }
@keyframes ad-tiembla { 0%, 50%, 100% { transform: none; } 5%, 15%, 25%, 35%, 45% { transform: translateX(-2px) rotate(-2deg); } 10%, 20%, 30%, 40% { transform: translateX(2px) rotate(2deg); } }
@keyframes ad-tictac { 0% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes ad-aspira { 0%, 100% { transform: translateX(-6%); } 50% { transform: translateX(6%); } }
@keyframes ad-pulsa { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(0.93); } }
@keyframes ad-teclea { from { transform: translateY(0); } to { transform: translateY(2px) scale(1, 0.99); } }
@keyframes ad-abre { 0%, 15%, 100% { transform: rotateY(0); } 45%, 70% { transform: rotateY(-50deg); } }
@keyframes ad-olas-cisterna { to { background-position: 14% 0; } }
@keyframes ad-vapor { 0% { opacity: 0; transform: translate(0, 0) scale(0.4); } 20% { opacity: 1; } 100% { opacity: 0; transform: translate(16px, -46px) scale(1.5); } }
@keyframes ad-gota { 0% { opacity: 0; transform: translateY(0) scale(0.6); } 15% { opacity: 1; transform: translateY(0) scale(1); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(48px); } }
@keyframes ad-mece-poco { from { transform: rotate(-1.5deg); } to { transform: rotate(1.5deg); } }
@keyframes ad-mece { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes ad-late { 0%, 100% { transform: translateY(0) scale(1); } 30% { transform: translateY(-6px) scale(1.03, 0.98); } 55% { transform: translateY(0) scale(0.98, 1.02); } }
@keyframes ad-sopla { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.06) rotate(2deg); } }
.ad-corchea { position: absolute; width: 36px; height: 48px; margin: -24px 0 0 -18px; color: var(--ink); fill: currentColor; pointer-events: none; z-index: 2; opacity: 0; animation: ad-corchea 2.6s cubic-bezier(.3, .6, .4, 1) forwards; }
.ad-corchea svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ad-corchea:has(svg[viewBox^="0 0 40"]) { width: 52px; margin-left: -26px; }
@keyframes ad-corchea {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4) rotate(0); }
  12% { opacity: 1; }
  35% { transform: translate(calc(var(--dx) * 0.45), calc(var(--dy) * 0.35)) scale(1) rotate(calc(var(--gira) * -0.6)); }
  65% { opacity: 1; transform: translate(calc(var(--dx) * 0.75), calc(var(--dy) * 0.7)) scale(1.05) rotate(var(--gira)); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.9) rotate(calc(var(--gira) * -0.3)); }
}
@media (prefers-reduced-motion: reduce) { .ad-dibujo.suena :is(.ad-pieza, .ad-capa) { animation: none; } .ad-dibujo.suena::before, .ad-dibujo.suena[data-mueve="agua"] .ad-pieza::before, .ad-dibujo.suena[data-mueve="agua"] .ad-pieza::after { display: none; } }
