/* Ayuda compartida de las canciones: ocho dedos, A S D F / G H J K. */
.to-abrir { margin-left:auto; flex:none; display:flex; align-items:center; gap:7px; padding:4px 10px; border:1px solid #c9d6ef; border-radius:14px; background:#eef2fa; color:#24517c; font:700 12px Arial,sans-serif; cursor:pointer; touch-action:manipulation; }
.to-abrir svg { width:21px; height:18px; }
.to-abrir:hover { background:#dce8fa; }
.to-modal[hidden] { display:none; }
.to-modal { position:absolute; inset:0; z-index:80; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(30,26,38,.65); touch-action:manipulation; }
.to-card { width:716px; max-width:100%; max-height:100%; overflow-y:auto; overscroll-behavior:contain; padding:20px 24px; border-radius:22px; background:#faf8f5; color:#2a2018; box-shadow:0 12px 48px #0005; text-align:center; }
.to-cabecera { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.to-cabecera h2 { margin:0; font:700 23px/1.2 Arial,sans-serif; text-align:left; }
.to-cerrar { flex:none; border:0; border-radius:50%; width:36px; height:36px; background:#ece5dc; color:#514338; font:24px Arial,sans-serif; cursor:pointer; }
.to-card p { margin:10px 0 0; font:15px/1.4 Arial,sans-serif; color:#6b6055; }
.to-escena { display:block; width:100%; height:auto; margin:4px auto 0; overflow:visible; }
.to-tecla rect { fill:#fff; stroke:#46403d; stroke-width:1.6; }
.to-tecla text { fill:#514338; font:700 22px Arial,sans-serif; text-anchor:middle; }
.to-etiqueta { opacity:.32; }
.to-etiqueta rect { fill:var(--nota); }
.to-etiqueta text { fill:#fff; font:700 20px Arial,sans-serif; text-anchor:middle; }
.to-etiqueta.clara text { fill:#2a2018; }
.to-tecla.activa rect { fill:var(--nota); stroke:#2a2018; stroke-width:3; }
.to-tecla.activa text { fill:#fff; }
.to-etiqueta.activa { opacity:1; }
.to-manos { fill:#ffc5ac; stroke:#302924; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.to-dedo { transition:transform .12s ease; }
.to-dedo.activo { transform:translateY(8px); fill:#ffac8c; }
.to-una { fill:#ffe4d5; stroke-width:1.2; }
.to-pliegue { fill:none; stroke:#b97058; stroke-width:1.2; }
.to-manga { fill:#89c9e8; }
.to-manga.derecha { fill:#b8d783; }
.to-estado { min-height:28px; margin-top:8px; font:700 19px/1.4 Arial,sans-serif; color:#24517c; }
.to-acciones { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:10px; }
.to-repetir { border:0; border-radius:22px; padding:11px 22px; background:#3b6fd4; color:#fff; font:700 15px Arial,sans-serif; cursor:pointer; }
.to-card .to-probar { font-size:13px; }
.to-abrir:focus-visible, .to-card button:focus-visible { outline:3px solid #8e24aa; outline-offset:3px; }
body.vertical .to-abrir span { display:none; }
body.vertical .to-abrir { padding:5px 8px; margin-right:6px; }
body.vertical #top-logo { max-width:132px; height:auto; }
@media (max-width:500px) {
  .to-abrir span { display:none; }
  .to-card { padding:16px 12px; border-radius:16px; }
  .to-cabecera h2 { font-size:19px; }
  .to-card p { font-size:13px; }
  .to-estado { font-size:16px; }
  .to-modal { padding:10px; }
}
@media (prefers-reduced-motion:reduce) { .to-dedo { transition:none; } }
