/* clase-de-musica/diapositiva.css — 800×600 (JUEGOS-ESTANDARES § 8) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: #f0ece6; overflow: hidden; font-family: Arial, sans-serif; color: #2a2018; }

#app { position: absolute; top: 50%; left: 50%; width: 800px; height: 600px; background: #faf8f5; overflow: hidden; transform: translate(-50%, -50%); transform-origin: center center; }
#app > *, .pane > * { position: absolute; }
.pane { left: 0; top: 0; width: 800px; height: 600px; background: #faf8f5; overflow: hidden; }

#top-bar { left: 0; top: 0; width: 800px; height: 35px; background: #fff; display: flex; align-items: center; padding: 0 10px; }
#top-logo { height: 30px; display: block; }

#title-bar { left: 0; top: 35px; width: 800px; height: 65px; color: #fff; }
#titulo { position: absolute; left: 100px; right: 100px; top: 0; line-height: 65px; font-size: 30px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.flecha { position: absolute; top: 8px; width: 49px; height: 49px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 28px; line-height: 47px; text-align: center; text-decoration: none; }
.flecha.izq { left: 30px; }
/* Triángulos macizos: el texto de la flecha (← →) queda oculto y se dibuja con bordes; el aria-label sigue leyéndose. */
.flecha { font-size: 0; color: transparent; }
.flecha::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.flecha.izq::before { border-right: 19px solid #fff; transform: translate(-50%, -50%) translateX(-2px); }
.flecha.der::before { border-left: 19px solid #fff; transform: translate(-50%, -50%) translateX(2px); }
.flecha.der { right: 14px; }
a.flecha:hover, a.flecha:focus-visible { background: rgba(255,255,255,.4); outline: none; }
.flecha.off { opacity: .25; }

#zona-anim { left: 0; top: 100px; width: 800px; height: 240px; background: #f7f3ee; border-bottom: 1px solid #e5dfd7; }
#zona-anim canvas { display: block; width: 800px; height: 240px; }
#botones-anim { position: absolute; left: 14px; top: 12px; z-index: 2; display: flex; gap: 8px; }
.btn-anim { border: 0; border-radius: 999px; padding: 8px 18px; background: #ff6b35; color: #fff; font: 700 15px Arial, sans-serif; cursor: pointer; }
.btn-anim.activo { background: #3b6fd4; }

#texto { left: 40px; top: 352px; width: 720px; height: 112px; }
.frase { font-size: 26px; line-height: 1.3; font-weight: 700; }
.frase2 { margin-top: 8px; font-size: 20px; line-height: 1.3; color: #5a4d40; }

#practica { left: 0; top: 470px; width: 800px; height: 130px; padding: 0 20px; display: flex; align-items: flex-start; gap: 24px; }
.grupo { flex: none; }
.grupo-rotulo { height: 28px; font-size: 15px; font-weight: 700; color: #5a4d40; text-transform: uppercase; letter-spacing: .04em; }
.grupo-tarjetas { display: flex; gap: 16px; }
.juego { flex: none; width: 240px; height: 80px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e5dfd7; border-radius: 14px; padding: 6px; text-decoration: none; color: #2a2018; font-size: 14px; font-weight: 700; line-height: 1.2; }
.juego:hover, .juego:focus-visible { border-color: #ff6b35; outline: none; }
.juego img { width: 99px; height: 66px; object-fit: cover; border-radius: 8px; flex: none; }

#contador { right: 16px; bottom: 6px; font-size: 13px; color: #8a7d70; }

#btn-mapa { left: 16px; bottom: 6px; font-size: 13px; font-weight: 700; color: #5a4d40; text-decoration: none; }
#btn-mapa:hover, #btn-mapa:focus-visible { color: #ff6b35; outline: none; }
