@charset "UTF-8";

/* =========================================================
   0. FUENTES
   ========================================================= */

/* Bergen Mono para texto de canción (acordes, letra, resumen) */
@font-face {
  font-family: 'Bergen Mono';
  src: url('../fonts/BergenMono-Regular.otf') format('opentype');
  font-display: swap;
}

/* Se asume que Montserrat ya está cargada globalmente
   (por el tema o por Google Fonts). */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
  color-scheme: dark;

  --wz-bg: #0f1518;
  --wz-accent: #f7bd00;
  --wz-text-main: #e4e6ea;
  --wz-text-muted: #e4e6ea;

  --wz-card-bg: #131b1f;
  --wz-card-border: #131b1f;

  --wz-tools-btn: #2e3137;

  --wz-bar-bg: #2c2c2c65;
  --wz-bar-border: 1.5px solid rgba(125, 125, 125, 0.3);
  --wz-bar-filter: blur(px);

  --wz-section-border-I: #98f25b;
  --wz-section-border-E: #0fbef6;
  --wz-section-border-C: #fe5926;
  --wz-section-border-F: #e21c36;
  --wz-section-border-Pr: #f9bb1c;
  --wz-section-border-It: #098959;
  --wz-section-border-P: #7545e3;
  --wz-section-border-In: #dd0e6e;
  --wz-section-border-S: #ffa5a6;
  --wz-section-border-R: #f0bb7b;
  --wz-section-border-T: #709d22;
  --wz-section-border-ST: #9b59d0;
  --wz-section-border-BT: #9b59d0;

  --wz-section-border-width: 5px;
  --wz-index-border-width: 5px;
}


/* =========================================================
   2. CONTENEDOR PRINCIPAL
   ========================================================= */

body {
  background: var(--wz-bg) !important;
}

.wz-song-viewer {
  --wz-font-size: 16px;
  /* base, modificable con A-/A+ */
  max-width: 500px;
  margin: 0 auto;
  padding: 12px;
  color: var(--wz-text-muted);
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  font-weight: 200;
  letter-spacing: -1px;
  background-color: transparent;
  position: relative;
}

.wz-song-error {
  max-width: 520px;
  margin: 1rem auto;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #3b1c1c;
  color: #ffd2d2;
}

/* Texto de la canción: acordes + letra (fuente Bergen Mono por defecto) */
.wz-song-viewer .wz-line--lyrics,
.wz-song-viewer .wz-line--chords,
.wz-song-viewer .wz-chords-only-row,
.wz-song-viewer .wz-tone {
  font-family: 'Bergen Mono', monospace;
  letter-spacing: -1.3px;
}

/* En modo LETRA, la letra usa Montserrat */
.wz-song-viewer[data-mode='lyrics'] .wz-line--lyrics {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
}


/* =========================================================
   3. CABECERA: TOGGLE + HERRAMIENTAS + BARRA DE TONOS
   ========================================================= */

.wz-song-header {
  position: sticky;
  position: -webkit-sticky;
  /* Safari */
  top: 0;
  z-index: 20;
  background: var(--wz-bg);
  padding-bottom: 15px;
  padding-top: 10px;
}

.wz-song-main {
  padding-top: 2px;
}

/* Mobile-specific: ensure header works correctly */
@media (max-width: 768px) {
  .wz-song-header {
    /* Asegurar que el sticky funcione en móviles */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;

    /* Prevenir problemas de rendering en móviles */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }

  /* Ensure body doesn't have overflow issues */
  body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  /* Fix para el contenedor principal en móviles */
  .wz-song-viewer {
    position: relative;
    overflow: visible;
  }
}

/* =========================================================
   3.1. INFORMACIÓN DE LA CANCIÓN (AUTOR Y TÍTULO)
   ========================================================= */

.wz-song-info {
  margin-bottom: 20px;
  text-align: left;
}

.wz-song-author {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--wz-text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.wz-song-title {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--wz-text-main);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

/* =========================================================
   3.2. CONTENEDOR COLAPSABLE DEL HEADER
   ========================================================= */

.wz-header-collapsible {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 1000px;
  /* Altura suficiente para todo el contenido */
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
}

.wz-header-collapsible.is-hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.wz-header-collapsible.is-hidden~.wz-key-bar {
  margin-top: 0;
}


/* Placeholder cuando en modo LETRA no hay texto en la sección */
.wz-lyrics-placeholder {
  display: none;
  color: var(--c2, #a8a8a8);
  font-style: italic;
  padding: 0.5rem 0 0.75rem;
  text-align: center;
}

/* Solo mostrar en modo LETRA y en secciones sin letra real */
.wz-song-viewer[data-mode='lyrics'] .section-block[data-has-lyrics='0'] .wz-lyrics-placeholder {
  display: block;
}

/* ---- modo solo acordes / notas ---- */

.wz-chords-only {
  display: none;
  margin-top: 4px;
}

.wz-chords-only-row {
  white-space: pre-wrap;
}

/* En modo NOTAS, usamos sólo wz-chords-only */
.wz-song-viewer[data-mode='chords-only'] .wz-chords-only {
  display: block;
}

.wz-song-viewer[data-mode='chords-only'] .wz-line--lyrics,
.wz-song-viewer[data-mode='chords-only'] .wz-line--chords {
  display: none;
}

/* superíndices de acordes (#, b, sus4...) */

.wz-tone {
  font-weight: 400;
  display: inline-flex;
  align-items: flex-end;
  color: var(--wz-accent);
  line-height: 1;
  margin-right: 0px;
}

.wz-tone-root {
  font-size: 1em;
}

.wz-tone-ext {
  font-size: 0.8em;
  position: relative;
  top: -0.40em;
  margin-left: 1px;
  font-weight: 400;
  /* sus4, maj7, etc. */
}



/* =========================================================
   4. TOGGLE MODO + HERRAMIENTAS + BARRA DE TONOS
   ========================================================= */

/* --- TOGGLE COMPLETO / ACORDES / LETRA --- */

.wz-mode-toggle {
  display: flex;
  width: 100%;
  margin-bottom: 15px;
  border-radius: 999px;
  overflow: hidden;
  border: var(--wz-bar-border);
}

.wz-mode-button {
  flex: 1 1 50%;
  border: none;
  background: transparent;
  color: var(--wz-text-main);
  padding: 8px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 999px;
  font-family: inherit;
  /* Montserrat */
}

.wz-mode-button:hover {
  background: transparent !important;
  color: var(--wz-text-main) !important;
}

.wz-mode-button.is-active {
  background: var(--wz-text-main);
  color: var(--wz-bg);
}

/* --- HERRAMIENTAS (A-/A+ y #/b) --- */

.wz-tools {
  display: flex;
  gap: 8px;

  /* Transición para ocultar/mostrar al hacer scroll */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 60px;
  /* Altura suficiente para los botones */
  opacity: 1;
  transform: translateY(0);
}

/* Mobile-only: hide toolbar on scroll - DEPRECATED, now using header-collapsible */
@media (max-width: 768px) {
  .wz-tools.is-hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .wz-tools.is-hidden~.wz-key-bar {
    margin-top: 0;
  }
}

.wz-tool-btn {
  flex: 0 0 auto;
  min-width: 40px;
  padding: 6px 12px;
  border-radius: 12px;
  border: var(--wz-bar-border);
  background: var(--wz-tools-btn);
  color: var(--wz-text-main);
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  /* Montserrat */
}

.wz-tool-btn:hover,
.wz-tool-btn:focus {
  background: var(--wz-tools-btn) !important;
  color: var(--wz-text-main) !important;
}

.wz-tool-btn.is-active {
  background: var(--wz-text-main);
  color: #000;
}

.is-active:focus,
.is-active:hover {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

/* --- TOGGLE ORIGINAL / RESUMEN (inline en wz-tools) --- */

.wz-structure-toggle-inline {
  display: flex;
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
  border: var(--wz-bar-border);
}

.wz-structure-toggle-inline .wz-structure-button {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  color: var(--wz-text-main);
  padding: 6px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border-radius: 999px;
  font-family: inherit;
  white-space: nowrap;
  /* Montserrat */
}

.wz-structure-toggle-inline .wz-structure-button:hover {
  background: transparent !important;
  color: var(--wz-text-main) !important;
}

.wz-structure-toggle-inline .wz-structure-button.is-active {
  background: var(--wz-text-main);
  color: #000;
}

.wz-structure-toggle-inline .wz-structure-button.is-active:hover,
.wz-structure-toggle-inline .wz-structure-button.is-active:focus {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

/* --- Barra de tonos --- */

.wz-key-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
  border: var(--wz-bar-border);
  margin-top: 15px;
  transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wz-key-bar::-webkit-scrollbar {
  display: none;
}

.wz-key-button {
  flex: 1 1 auto;
  min-width: 28px;
  border: none;
  border-radius: 999px;
  padding: 6px 6px;
  background: transparent;
  color: var(--wz-text-main);
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wz-key-button:hover,
.wz-key-button:focus {
  background: transparent !important;
  color: var(--wz-text-main) !important;
}

.wz-key-button.is-active {
  background: var(--wz-text-main);
  color: #000;
}

.wz-key-button.is-active:hover,
.wz-key-button.is-active:focus {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}


/* =========================================================
   5. CUERPO: SECCIONES Y LÍNEAS
   ========================================================= */

.wz-song-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Cada bloque de sección (Intro, Coro, etc.) */
.section-block {
  margin: 0;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--wz-card-border);
  background-color: var(--wz-card-bg);
  font-size: var(--wz-font-size);
  color: var(--wz-text-muted);
}

/* título de la sección */
.section-block .name-block {
  display: flex;
  justify-content: left;
  width: 100%;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  color: var(--wz-text-main);
  font-family: inherit;
  /* Montserrat */
}

/* Cada línea dentro de la sección */
.section-block .wz-line {
  white-space: pre-wrap;
  /* respeta espacios para alinear acordes */
}

/* líneas de acordes vs letras */

.wz-line--lyrics {
  color: var(--wz-text-muted);
}

/* En modo LETRA ocultamos las líneas de acordes */
.wz-song-viewer[data-mode='lyrics'] .wz-line--chords {
  display: none;
}

/* En modo LETRA puedes personalizar aún más la letra */
.wz-song-viewer[data-mode='lyrics'] .wz-line--lyrics {
  line-height: 1.6;
  color: var(--wz-text-muted);
  letter-spacing: normal;
}

/* bordes de color según tipo de sección */
.section-block.I {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-I);
}

.section-block.E {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-E);
}

.section-block.C {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-C);
}

.section-block.F {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-F);
}

.section-block.Pr {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-Pr);
}

.section-block.It {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-It);
}

.section-block.P {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-P);
}

.section-block.In {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-In);
}

.section-block.S {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-S);
}

.section-block.R {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-R);
}

.section-block.T {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-T);
}

.section-block.ST {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-ST);
}

.section-block.BT {
  border-right: var(--wz-section-border-width) solid var(--wz-section-border-BT);
}

.section-block.is-highlighted {
  box-shadow: 0 0 0 2px var(--wz-accent);
  transition: box-shadow 0.25s ease;
}


/* =========================================================
   6. PIE: ÍNDICE DE BLOQUES (PANEL DESLIZANTE)
   ========================================================= */

.wz-song-footer {
  position: sticky;
  bottom: 0;
  z-index: 40;
  padding-top: 15px;
}

/* Contenedor general anclado abajo a la derecha */
.wz-section-index-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 0 8px 8px;
}

/* Panel que pasa de círculo (cerrado) a pastilla 100% ancho (abierto) */
.wz-section-index-panel {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 56px;
  margin-left: auto;
  border-radius: 999px;
  background: #2c2c2c65;
  backdrop-filter: blur(9px);
  border: 1.5px solid rgba(125, 125, 125, 0.3);
  overflow: hidden;

  /* Estado base: cerrado → sólo un círculo a la derecha */
  width: 56px;
  padding: 0;
  justify-content: center;

  transition:
    width 1.2s ease,
    border-radius 1.2s ease,
    padding 1.2s ease,
    box-shadow 0.3s ease;
}

/* Estado abierto: ocupa todo el ancho del visor */
.wz-section-index-wrapper[data-state='open'] .wz-section-index-panel {
  width: 100%;
  padding-left: 6px;
  padding-right: 6px;
  justify-content: flex-start;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* Zona donde viven los botones circulares (índice real) */
.wz-section-index-panel .wz-section-index {
  flex: 1 1 auto;
  display: flex;
  gap: 8px;
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
  opacity: 0;
  transition: opacity 0.6s ease 0.2s;
}

.wz-section-index-panel .wz-section-index::-webkit-scrollbar {
  display: none;
}

/* Cuando está abierto mostramos los círculos */
.wz-section-index-wrapper[data-state='open'] .wz-section-index-panel .wz-section-index {
  opacity: 1;
}

/* Botón de toggle (siempre visible, pero cambia dimensión abierto/cerrado) */
/* Botón de toggle (siempre visible, pero cambia dimensión abierto/cerrado) */
.wz-section-index-toggle {
  border: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;

  /* Estado base: cerrado → ocupa TODO el círculo */
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-left: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(32deg, #f7bd00 0%, #ce270a 100%);
  color: white;

  /* Quitar highlight en móviles */
  -webkit-tap-highlight-color: transparent;
}

/* Sin aro blanco en ningún estado de foco */
.wz-section-index-toggle:focus,
.wz-section-index-toggle:focus-visible,
.wz-section-index-toggle:active {
  outline: none !important;
  box-shadow: none !important;
}

/* Hover sólo cambia el color, sin outline */
.wz-section-index-toggle:hover {
  background: linear-gradient(32deg, #f7bd00 0%, #ce270a 100%);
  color: white !important;
}


/* En abierto, el botón vuelve a 44px y se pega a la derecha */
.wz-section-index-wrapper[data-state='open'] .wz-section-index-toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  margin-left: 6px;
}

.wz-icon-blocks,
.wz-icon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Usamos el SVG como <img> */
.wz-icon-blocks img {
  width: 24px;
  /* ajusta al tamaño que quieras */
  height: auto;
  display: block;
}


/* Flecha hacia la izquierda para cerrar */
.wz-icon-arrow::before {
  content: "\2192";
  font-size: 20px;
  color: white !important;
}

/* En cerrado: sólo se ve el icono de bloques */
.wz-section-index-wrapper[data-state='closed'] .wz-icon-blocks {
  display: inline-block;
}

.wz-section-index-wrapper[data-state='closed'] .wz-icon-arrow {
  display: none;
}

/* En abierto: sólo se ve la flecha */
.wz-section-index-wrapper[data-state='open'] .wz-icon-blocks {
  display: none;
}

.wz-section-index-wrapper[data-state='open'] .wz-icon-arrow {
  display: inline-block;
}

/* Botones circulares del índice */
.wz-index-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  border: 1px solid #666;
  background: transparent;
  color: var(--wz-text-main);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wz-index-button:hover,
.wz-index-button:focus {
  background: transparent !important;
  color: var(--wz-text-main) !important;

}

/* mismo código de color que los bordes de sección */
.wz-index-button.I {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-I);
}

.wz-index-button.E {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-E);
}

.wz-index-button.C {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-C);
}

.wz-index-button.F {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-F);
}

.wz-index-button.Pr {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-Pr);
}

.wz-index-button.It {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-It);
}

.wz-index-button.P {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-P);
}

.wz-index-button.In {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-In);
}

.wz-index-button.S {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-S);
}

.wz-index-button.R {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-R);
}

.wz-index-button.T {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-T);
}

.wz-index-button.ST {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-ST);
}

.wz-index-button.BT {
  border-width: var(--wz-index-border-width);
  border-color: var(--wz-section-border-BT);
}


/* =========================================================
   FORCE BUTTON STYLES - OVERRIDE ELEMENTOR/THEME CSS
   ========================================================= */

/* High specificity overrides to prevent Elementor and other theme CSS from interfering */
.wz-song-viewer .wz-mode-button,
.wz-song-viewer button.wz-mode-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-mode-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-mode-button {
  flex: 1 1 50% !important;
  border: none !important;
  background: transparent !important;
  color: var(--wz-text-main) !important;
  padding: 8px 0 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  cursor: pointer !important;
  border-radius: 999px !important;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 200 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all 0.2s ease !important;
}

.wz-song-viewer .wz-mode-button:hover,
.wz-song-viewer button.wz-mode-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-mode-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-mode-button:hover {
  background: transparent !important;
  color: var(--wz-text-main) !important;
  box-shadow: none !important;
  transform: none !important;
}

.wz-song-viewer .wz-mode-button.is-active,
.wz-song-viewer button.wz-mode-button.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-mode-button.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-mode-button.is-active {
  background: var(--wz-text-main) !important;
  color: var(--wz-bg) !important;
}

/* Tool buttons */
.wz-song-viewer .wz-tool-btn,
.wz-song-viewer button.wz-tool-btn,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-tool-btn,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-tool-btn {
  flex: 0 0 auto !important;
  min-width: 40px !important;
  padding: 6px 12px !important;
  border-radius: 12px !important;
  border: var(--wz-bar-border) !important;
  background: var(--wz-tools-btn) !important;
  color: var(--wz-text-main) !important;
  font-size: 11px !important;
  cursor: pointer !important;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 200 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.wz-song-viewer .wz-tool-btn:hover,
.wz-song-viewer .wz-tool-btn:focus,
.wz-song-viewer button.wz-tool-btn:hover,
.wz-song-viewer button.wz-tool-btn:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-tool-btn:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-tool-btn:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-tool-btn:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-tool-btn:focus {
  background: var(--wz-tools-btn) !important;
  color: var(--wz-text-main) !important;
  box-shadow: none !important;
  transform: none !important;
}

.wz-song-viewer .wz-tool-btn.is-active,
.wz-song-viewer button.wz-tool-btn.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-tool-btn.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-tool-btn.is-active {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

.wz-song-viewer .wz-tool-btn.is-active:focus,
.wz-song-viewer .wz-tool-btn.is-active:hover,
.wz-song-viewer button.wz-tool-btn.is-active:focus,
.wz-song-viewer button.wz-tool-btn.is-active:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-tool-btn.is-active:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-tool-btn.is-active:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-tool-btn.is-active:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-tool-btn.is-active:hover {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

/* Structure buttons (ORIGINAL/RESUMEN) */
.wz-song-viewer .wz-structure-button,
.wz-song-viewer button.wz-structure-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-structure-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-structure-button {
  flex: 1 1 auto !important;
  border: none !important;
  background: transparent !important;
  color: var(--wz-text-main) !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  cursor: pointer !important;
  border-radius: 999px !important;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 200 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

.wz-song-viewer .wz-structure-button:hover,
.wz-song-viewer button.wz-structure-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-structure-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-structure-button:hover {
  background: transparent !important;
  color: var(--wz-text-main) !important;
  box-shadow: none !important;
  transform: none !important;
}

.wz-song-viewer .wz-structure-button.is-active,
.wz-song-viewer button.wz-structure-button.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-structure-button.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-structure-button.is-active {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

.wz-song-viewer .wz-structure-button.is-active:hover,
.wz-song-viewer .wz-structure-button.is-active:focus,
.wz-song-viewer button.wz-structure-button.is-active:hover,
.wz-song-viewer button.wz-structure-button.is-active:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-structure-button.is-active:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-structure-button.is-active:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-structure-button.is-active:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-structure-button.is-active:focus {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

/* Key buttons */
.wz-song-viewer .wz-key-button,
.wz-song-viewer button.wz-key-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-key-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-key-button {
  flex: 1 1 auto !important;
  min-width: 28px !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 6px 6px !important;
  background: transparent !important;
  color: var(--wz-text-main) !important;
  font-size: 11px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-weight: 200 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.wz-song-viewer .wz-key-button:hover,
.wz-song-viewer .wz-key-button:focus,
.wz-song-viewer button.wz-key-button:hover,
.wz-song-viewer button.wz-key-button:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-key-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-key-button:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-key-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-key-button:focus {
  background: transparent !important;
  color: var(--wz-text-main) !important;
  box-shadow: none !important;
  transform: none !important;
}

.wz-song-viewer .wz-key-button.is-active,
.wz-song-viewer button.wz-key-button.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-key-button.is-active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-key-button.is-active {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

.wz-song-viewer .wz-key-button.is-active:hover,
.wz-song-viewer .wz-key-button.is-active:focus,
.wz-song-viewer button.wz-key-button.is-active:hover,
.wz-song-viewer button.wz-key-button.is-active:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-key-button.is-active:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-key-button.is-active:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-key-button.is-active:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-key-button.is-active:focus {
  background: var(--wz-text-main) !important;
  color: #000 !important;
}

/* Index buttons */
.wz-song-viewer .wz-index-button,
.wz-song-viewer button.wz-index-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-index-button,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-index-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--wz-text-main) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-shadow: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding: 0 !important;
}

.wz-song-viewer .wz-index-button:hover,
.wz-song-viewer .wz-index-button:focus,
.wz-song-viewer button.wz-index-button:hover,
.wz-song-viewer button.wz-index-button:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-index-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-index-button:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-index-button:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-index-button:focus {
  background: transparent !important;
  color: var(--wz-text-main) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Section index toggle button */
.wz-song-viewer .wz-section-index-toggle,
.wz-song-viewer button.wz-section-index-toggle,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-section-index-toggle,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-section-index-toggle {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  flex: 0 0 56px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  margin-left: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(32deg, #f7bd00 0%, #ce270a 100%) !important;
  color: white !important;
  -webkit-tap-highlight-color: transparent !important;
  text-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding: 0 !important;
}

.wz-song-viewer .wz-section-index-toggle:focus,
.wz-song-viewer .wz-section-index-toggle:focus-visible,
.wz-song-viewer .wz-section-index-toggle:active,
.wz-song-viewer button.wz-section-index-toggle:focus,
.wz-song-viewer button.wz-section-index-toggle:focus-visible,
.wz-song-viewer button.wz-section-index-toggle:active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-section-index-toggle:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-section-index-toggle:focus-visible,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-section-index-toggle:active,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-section-index-toggle:focus,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-section-index-toggle:focus-visible,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-section-index-toggle:active {
  outline: none !important;
  box-shadow: none !important;
}

.wz-song-viewer .wz-section-index-toggle:hover,
.wz-song-viewer button.wz-section-index-toggle:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer .wz-section-index-toggle:hover,
.wz-repertoire-viewer-fullscreen .wz-song-viewer button.wz-section-index-toggle:hover {
  background: linear-gradient(32deg, #f7bd00 0%, #ce270a 100%) !important;
  color: white !important;
  transform: none !important;
}

.e-con {
  overflow: visible !important;
}