/* Estudio Coral · Misa de Raíz. Los colores y tipografías se pueden cambiar desde data/sitio.json ("tema"). */
:root {
  --verde: #2B6B5E; --verde-osc: #1F4F45; --verde-rep: #245B50; --verde-linea: #4C8577; --verde-linea2: #3E7669;
  --oro: #C69A4A; --tinta: #2A241D; --texto: #4A4036; --cafe: #6E5035; --crema: #F5EFE3; --crema2: #EFE7D6;
  --linea: #E6DED0; --arena: #E9DDBF; --blanco: #FFFFFF;
  --f-titulos: "Cormorant Garamond", Georgia, serif; --f-texto: "Montserrat", Arial, sans-serif;
  --escala: 1;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanco); color: var(--texto); font-family: var(--f-texto); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--verde); }
a:hover { color: var(--verde-osc); }
button { font-family: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cont { max-width: 1240px; margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cafe); line-height: 1.4; }
h1, h2, h3 { font-family: var(--f-titulos); color: var(--tinta); margin: 0; font-weight: 500; font-variant-numeric: lining-nums; -webkit-font-feature-settings: "lnum"; font-feature-settings: "lnum"; }

/* Cabecera */
.cab { background: #fff; border-bottom: 1px solid var(--linea); }
.cab .cont { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.cab-marca { display: flex; align-items: center; text-decoration: none; min-height: 44px; }
.cab-marca img { display: block; width: 150px; height: auto; }
.cab-marca span { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--linea); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cafe); }
.cab-nav { display: flex; align-items: center; }
.cab-nav a { display: flex; align-items: center; height: 44px; padding: 0 14px; font-size: 14px; font-weight: 600; color: var(--tinta); text-decoration: none; }
.cab-nav a.btn-linea { margin-left: 8px; }
.btn-linea { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 1.5px solid var(--cafe); border-radius: 999px; background: #fff; color: var(--tinta); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-linea:hover { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.btn-linea[disabled], .btn-linea.is-off { border-color: #D9CDB0; color: #9A8F80; background: transparent; cursor: default; pointer-events: none; }
.btn-verde { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--verde); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-verde:hover { background: var(--verde-osc); color: #fff; }
.btn-verde svg, .btn-linea svg { flex: 0 0 auto; }
.btn-verde svg { margin-right: 8px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Aviso de error o carga */
.aviso { max-width: 640px; margin: 80px auto; padding: 0 24px; text-align: center; }
.aviso h1 { font-size: 36px; margin-bottom: 12px; }

/* Repertorio */
.rp-portada { background: var(--crema); }
.rp-portada .cont { display: flex; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.rp-txt { flex: 1 1 0; min-width: 0; padding-right: 56px; }
.rp-txt h1 { font-size: 56px; line-height: 1.02; margin: 12px 0 18px; }
.rp-txt p { margin: 0 0 12px; font-size: 17px; max-width: 560px; white-space: pre-line; }
.rp-plat { display: flex; flex-wrap: wrap; margin-top: 20px; }
.rp-plat a { height: 40px; margin: 0 8px 8px 0; padding: 0 16px; font-size: 13.5px; }
.rp-canc { display: flex; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.rp-canc a { margin: 0 14px 8px 0; }
.rp-canc span { margin-bottom: 8px; font-size: 13px; color: var(--cafe); }
.rp-img { flex: 0 0 380px; }
.rp-img img { display: block; width: 100%; height: auto; border-radius: 18px; }
.rp-lista { padding-top: 56px; padding-bottom: 72px; }
.rp-grid { display: flex; flex-wrap: wrap; margin: 0 -9px; }
.rp-card { width: 25%; padding: 9px; display: flex; }
.rp-card a { flex: 1 1 auto; display: flex; flex-direction: column; padding: 22px 22px 20px; border: 1px solid var(--linea); border-radius: 14px; background: #fff; color: var(--texto); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.rp-card a:hover { border-color: var(--oro); box-shadow: 0 6px 22px rgba(42,36,29,.07); }
.rp-num { font-family: var(--f-titulos); font-size: 20px; font-weight: 600; color: #9A7434; line-height: 1; font-variant-numeric: lining-nums; -webkit-font-feature-settings: "lnum"; font-feature-settings: "lnum"; }
.rp-card h2 { font-size: 25px; font-weight: 600; line-height: 1.12; margin: 8px 0 8px; }
.rp-meta { font-size: 13.5px; line-height: 1.45; color: var(--cafe); }
.rp-meta strong { color: var(--verde); font-weight: 600; }
.rp-pie { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--cafe); }
.rp-pie b { font-weight: 600; color: var(--verde); }

/* Página de un canto */
.ct-cab { background: var(--crema); }
.ct-cab .cont { padding-top: 16px; padding-bottom: 34px; }
.ct-volver { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--verde); text-decoration: none; }
.ct-volver svg { margin-right: 6px; }
.ct-fila { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 10px; }
.ct-tit { min-width: 0; padding-right: 32px; }
.ct-tit h1 { font-size: 60px; line-height: 1.02; margin: 10px 0 12px; }
.ct-datos { font-size: 15px; color: var(--texto); }
.ct-datos span { display: inline-block; margin-right: 22px; }
.ct-datos .ritmo { font-weight: 600; color: var(--verde); }
.ct-nav { display: flex; flex: 0 0 auto; }
.ct-nav .btn-linea { height: 48px; }
.ct-nav .btn-linea + .btn-linea { margin-left: 12px; }
.ct-nav svg { margin: 0 6px; }
.ct-main .cont { display: flex; align-items: flex-start; padding-top: 40px; padding-bottom: 56px; }
.ct-lado { flex: 0 0 420px; width: 420px; position: -webkit-sticky; position: sticky; top: 20px; }
.ct-cuerpo { flex: 1 1 0; min-width: 0; margin-left: 40px; }

/* Reproductor */
.rep { padding: 24px 26px 22px; border-radius: 18px; background: var(--verde-rep); border: 1px solid var(--verde-linea); color: #F6EFE0; box-shadow: 0 20px 50px rgba(42,36,29,.16); }
.rep-top { display: flex; align-items: baseline; justify-content: space-between; }
.rep-top .kicker { color: var(--arena); font-size: 12px; }
.rep-top small { font-size: 13px; color: var(--arena); }
.rep-ctl { display: flex; align-items: center; margin-top: 16px; }
.rep-play { flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--verde-osc); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rep-play svg { width: 28px; height: 28px; fill: currentColor; }
.rep-play .i-pausa, .rep-play .i-carga { display: none; }
.rep.is-sonando .rep-play .i-play, .rep.is-cargando .rep-play .i-play { display: none; }
.rep.is-sonando .rep-play .i-pausa { display: block; }
.rep.is-cargando .rep-play .i-carga { display: block; width: 26px; height: 26px; border: 3px solid rgba(31,79,69,.25); border-top-color: var(--verde-osc); border-radius: 50%; -webkit-animation: giro .9s linear infinite; animation: giro .9s linear infinite; }
@-webkit-keyframes giro { to { -webkit-transform: rotate(360deg); } }
@keyframes giro { to { transform: rotate(360deg); } }
.rep-ini { flex: 0 0 44px; width: 44px; height: 44px; margin-left: 12px; padding: 0; border: 1.5px solid #7FA79D; border-radius: 50%; background: transparent; color: #F6EFE0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rep-tiempo { margin-left: auto; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; -webkit-font-feature-settings: "lnum", "tnum"; font-feature-settings: "lnum", "tnum"; }
.rep-tiempo b { font-family: var(--f-titulos); font-size: 36px; font-weight: 600; line-height: 1; color: #fff; }
.rep-tiempo span { font-size: 14px; color: var(--arena); margin-left: 6px; }
.rep-pistasbtn { display: none; }
.rep-estado { min-height: 20px; margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--arena); }
.rep-estado.is-error { color: #FFD9C7; }
.rep-barra { margin-top: 6px; }
.rep-carga { height: 6px; margin: 11px 0; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.rep-carga i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--oro); transition: width .2s; }
.rng { -webkit-appearance: none; -moz-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; padding: 0; background: transparent; cursor: pointer; }
.rng:disabled { opacity: .5; cursor: default; }
.rng::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); background: linear-gradient(to right, var(--oro) 0, var(--oro) var(--p, 0%), rgba(255,255,255,.22) var(--p, 0%), rgba(255,255,255,.22) 100%); }
.rng::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.rng::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,.22); }
.rng::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--oro); }
.rng::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.rep-pistas { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--verde-linea); }
.rep-pistas-cab { display: flex; align-items: center; justify-content: space-between; }
.rep-pistas-cab h2 { font-size: 26px; font-weight: 600; color: #fff; line-height: 1.1; }
.rep-reset { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--arena); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pista { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--verde-linea2); }
.pista-n { flex: 0 0 108px; font-size: 15px; font-weight: 600; color: #fff; }
.pista.is-callada .pista-n { color: #B7CFC7; }
.pista-b { flex: 0 0 44px; width: 44px; height: 44px; margin-right: 8px; padding: 0; border: 1.5px solid #7FA79D; border-radius: 10px; background: transparent; color: #F6EFE0; font-size: 14px; font-weight: 600; cursor: pointer; }
.pista-b.m[aria-pressed="true"] { background: var(--oro); border-color: var(--oro); color: var(--tinta); }
.pista-b.s[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--verde-osc); }
.pista .rng { flex: 1 1 0; min-width: 0; margin-left: 4px; }
.rep-nota { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--arena); }
.rep-nota b { font-weight: 600; color: #fff; }

/* Pestañas */
.tabs { display: flex; border-bottom: 1px solid var(--linea); }
.tab { display: inline-flex; align-items: center; min-height: 52px; margin: 0 4px -1px 0; padding: 0 20px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--cafe); font-size: 16px; font-weight: 600; cursor: pointer; }
.tab[aria-selected="true"] { color: var(--tinta); border-bottom-color: var(--oro); }
.tab i { margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--crema); font-style: normal; font-size: 11.5px; color: var(--cafe); }
.panel { margin-top: 20px; border: 1px solid var(--linea); border-radius: 16px; background: #fff; overflow: hidden; }
.barra { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid var(--linea); background: #fff; }
.barra-g { display: flex; align-items: center; margin: 2px 0; }
.barra-t { padding: 0 8px; font-size: 14px; font-weight: 600; color: var(--tinta); white-space: nowrap; font-variant-numeric: lining-nums; -webkit-font-feature-settings: "lnum"; font-feature-settings: "lnum"; }
.barra-sep { width: 1px; height: 24px; margin: 0 8px; background: var(--linea); }
.bi { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 2px; padding: 0; border: 1px solid var(--linea); border-radius: 10px; background: #fff; color: var(--tinta); font-size: 15px; font-weight: 600; cursor: pointer; }
.bi:disabled { color: #B8AD9C; cursor: default; }
.barra .btn-verde { margin-left: 8px; }

/* Partitura */
.vis-lienzo { position: relative; height: 72vh; min-height: 420px; max-height: 900px; overflow: auto; -webkit-overflow-scrolling: touch; padding: 24px; background: var(--crema2); }
.vis-pag { display: block; margin: 0 auto 18px; background: #fff; box-shadow: 0 8px 28px rgba(42,36,29,.16); }
.vis-pag img { display: block; width: 100%; height: auto; }
.vis-pdf { display: block; width: 100%; height: 72vh; min-height: 420px; border: 0; background: var(--crema2); }
.vis-msg { padding: 40px 24px; text-align: center; background: var(--crema2); }
.vis-msg p { margin: 0 0 16px; }
.panel.is-completa { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; margin: 0; border: 0; border-radius: 0; display: flex; flex-direction: column; }
.panel.is-completa .vis-lienzo { flex: 1 1 auto; height: auto; max-height: none; }
body.sin-scroll { overflow: hidden; }

/* Letra y acordes */
.letra { padding: 30px 36px 38px; -webkit-columns: 270px 2; columns: 270px 2; -webkit-column-gap: 48px; column-gap: 48px; font-size: 17px; line-height: 1.6; color: var(--tinta); }
.letra p { margin: 0 0 1.15em; -webkit-column-break-inside: avoid; break-inside: avoid; }
.letra strong { font-weight: 600; color: var(--verde); }
.letra .mdr-ly-note { display: inline-block; padding: 6px 12px; border-radius: 8px; background: var(--crema); font-size: .8em; line-height: 1.4; color: var(--cafe); }
.letra.ac-mono { -webkit-columns: auto; columns: auto; }
.letra.ac-mono { white-space: pre; overflow-x: auto; -webkit-overflow-scrolling: touch; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace; line-height: 1.5; }
.letra.ac-mono p { margin-bottom: 1.4em; }
.letra.ac-sobre p.con { line-height: 2.75; margin-bottom: .55em; }
.pal { white-space: nowrap; }
.seg { position: relative; display: inline-block; line-height: 1.25; }
.letra .seg b, .letra .ac-en { font-size: .82em; font-weight: 600; color: var(--acorde, #8F6A2A); white-space: nowrap; }
.letra .seg b { position: absolute; left: 0; bottom: 100%; line-height: 1.15; }
.letra .ac-en { margin-right: .7em; }
.letra .ac-gap { display: inline-block; text-align: center; font-style: normal; }
.ac-une { white-space: nowrap; }
/* Acordes del canto o acordes simples (con cejillo) */
.ac-elige { padding: 3px; border: 1px solid var(--linea); border-radius: 12px; background: var(--crema); }
.ac-op { min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: none; color: var(--cafe); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ac-op[aria-pressed="true"] { background: #fff; color: var(--tinta); box-shadow: 0 1px 3px rgba(42,36,29,.16); }
.ac-cejillo { margin: 0; padding: 11px 36px; border-bottom: 1px solid var(--linea); background: #EEF5F2; font-size: 14px; color: var(--verde-osc, #1F4F45); }
.ac-cejillo b { font-weight: 600; }
/* Posturas de guitarra */
.pos-tira { padding: 18px 20px 12px; border-bottom: 1px solid var(--linea); background: #FBF8F2; }
.pos-tira p { margin: 2px 0 0; font-size: 12.5px; color: var(--cafe); }
.pos-fila { display: flex; overflow-x: auto; padding: 12px 0 8px; -webkit-overflow-scrolling: touch; }
.pos { flex: 0 0 auto; width: 88px; margin: 0 12px 0 0; padding: 0; text-align: center; }
.pos figcaption { font-size: 14.5px; font-weight: 600; line-height: 1.3; color: var(--acorde, #8F6A2A); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos svg { display: block; width: 100%; height: auto; }
.pos small { display: block; font-size: 11px; line-height: 1.3; color: var(--cafe); }
.pos-no span { display: block; padding: 22px 4px; font-size: 11.5px; line-height: 1.35; color: var(--cafe); }
.pos-fila .pos[data-total="2"], .pos-fila .pos[data-total="3"] { cursor: pointer; }
.pos-flot { position: absolute; z-index: 70; width: 148px; padding: 10px 14px 8px; border: 1px solid var(--linea); border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(42,36,29,.2); pointer-events: none; }
.pos-flot .pos { width: auto; margin: 0; }
.pos-flot .pos figcaption { font-size: 19px; }
.ac-pt { cursor: pointer; }
/* Video tutorial */
.tut { padding: 20px; }
.tut p { margin: 14px 0 0; font-size: 14.5px; color: var(--cafe); }
.tut-marco { position: relative; padding-top: 56.25%; border-radius: 12px; background: #1B1713; overflow: hidden; }
.tut-marco iframe, .tut-play { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.tut-play { display: flex; align-items: center; justify-content: center; padding: 0; background-color: #1B1713; background-position: center; background-size: cover; cursor: pointer; }
.tut-play span { display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--verde); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.tut-play:hover span { background: var(--verde-osc); }
.tut-play svg { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.vacio { padding: 56px 32px; text-align: center; background: #FBF8F2; }
.vacio h2 { font-size: 30px; margin: 10px 0; }
.vacio p { max-width: 420px; margin: 0 auto; font-size: 15px; }
.vacio svg { width: 36px; height: 36px; stroke: var(--cafe); stroke-width: 1.6; }

/* Reseña del ritmo */
.rt { background: var(--crema); }
.rt .cont { padding-top: 56px; padding-bottom: 44px; }
.rt-cols { display: flex; }
.rt-col { flex: 1 1 0; min-width: 0; padding-right: 48px; }
.rt-col:last-child { padding-right: 0; }
.rt-col h2 { font-size: 46px; line-height: 1.04; margin: 10px 0; }
.rt-col h3 { font-family: var(--f-texto); font-size: 14px; font-weight: 600; color: var(--verde); margin: 0 0 8px; }
.rt-col p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; }
.rt-ficha { margin-top: 20px; padding-top: 20px; border-top: 1px solid #D9CDB0; font-size: 14px; }
.rt-ficha span { display: inline-block; margin: 4px 32px 4px 0; }
.rt-ficha b { font-weight: 600; color: var(--tinta); }
.rt-ficha a { display: inline-block; margin-right: 14px; font-weight: 600; white-space: nowrap; }
.rt-ficha .rt-plat { display: block; margin-right: 0; line-height: 1.9; }
.rt-ficha .rt-plat b { margin-right: 10px; }

/* Siguiente canto y pie */
.sg .cont { display: flex; align-items: center; justify-content: space-between; padding-top: 40px; padding-bottom: 48px; }
.sg-card { display: flex; align-items: center; justify-content: space-between; width: 460px; max-width: 100%; padding: 20px 26px; border: 1px solid var(--linea); border-radius: 14px; background: #fff; text-decoration: none; color: var(--texto); }
.sg-card:hover { border-color: var(--oro); }
.sg-card .sg-t { display: block; margin: 4px 0; font-family: var(--f-titulos); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--tinta); }
.sg-card small { font-size: 14px; }
.sg-card small strong { font-weight: 600; color: var(--verde); }
.sg-card svg { width: 26px; height: 26px; flex: 0 0 auto; margin-left: 20px; color: var(--verde); }
.pie { background: var(--tinta); color: #CBBFA6; font-size: 13.5px; }
.pie .cont { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.pie a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 24px; color: #F1E7D1; text-decoration: none; }
.pie a:hover { color: #fff; }

/* Tablet y celular */
@media (max-width: 1100px) {
  .rp-card { width: 33.333%; }
  .ct-lado { flex-basis: 380px; width: 380px; }
  .ct-tit h1 { font-size: 50px; }
}
@media (max-width: 959px) {
  .cont { padding-left: 20px; padding-right: 20px; }
  .cab-marca img { width: 118px; }
  .cab-marca span { display: none; }
  .cab-nav a { padding: 0 10px; }
  .cab-nav a.btn-linea { display: none; }
  .rp-portada .cont { display: block; padding-top: 36px; padding-bottom: 36px; }
  .rp-txt { padding-right: 0; }
  .rp-txt h1 { font-size: 40px; }
  .rp-img { margin-top: 24px; max-width: 300px; }
  .rp-lista { padding-top: 32px; padding-bottom: 48px; }
  .rp-card { width: 50%; }
  .ct-cab .cont { padding-top: 6px; padding-bottom: 18px; }
  .ct-fila { display: block; margin-top: 2px; }
  .ct-tit { padding-right: 0; }
  .ct-tit h1 { font-size: 34px; margin: 6px 0 8px; }
  .ct-datos { font-size: 13.5px; }
  .ct-datos span { margin-right: 14px; }
  .ct-nav { margin-top: 14px; }
  .ct-nav .btn-linea { flex: 1 1 0; min-width: 0; height: 44px; padding: 0 10px; }
  .ct-nav .btn-linea span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .ct-main .cont { display: block; padding: 0 0 32px; }
  .ct-cuerpo { margin-left: 0; }
  .tabs { position: -webkit-sticky; position: sticky; top: 0; z-index: 20; background: #fff; }
  .tab { flex: 1 1 0; justify-content: center; min-height: 48px; margin: 0 0 -1px; padding: 0 6px; font-size: 14.5px; }
  .panel { margin-top: 0; border: 0; border-radius: 0; }
  .barra .btn-verde { margin-left: 4px; padding: 0 14px; font-size: 13.5px; }
  .barra-zoom { display: none; }
  .vis-lienzo { height: auto; min-height: 0; max-height: none; overflow: visible; padding: 12px; }
  .panel.is-completa .vis-lienzo { overflow: auto; }
  .vis-pag { margin-bottom: 12px; }
  .letra { padding: 18px 20px 24px; -webkit-column-gap: 32px; column-gap: 32px; }
  .ac-cejillo { padding: 10px 20px; }
  .ac-op { padding: 0 13px; }
  .vacio { padding: 36px 24px; }
  .rt .cont { padding-top: 36px; padding-bottom: 28px; }
  .rt-cols { display: block; }
  .rt-col { padding-right: 0; }
  .rt-col h2 { font-size: 36px; }
  .sg .cont { display: block; padding-top: 28px; padding-bottom: 32px; }
  .sg-card { margin-top: 12px; width: 100%; }
  .sg-card .sg-t { font-size: 26px; }
  .pie .cont { display: block; }
  .pie a { margin: 0 20px 0 0; }
  /* El reproductor queda fijo abajo y las pistas se despliegan */
  body.pg-canto { padding-bottom: 150px; }
  .ct-lado { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 60; width: auto; }
  .rep { padding: 12px 20px 14px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); border: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -10px 30px rgba(42,36,29,.22); max-height: 88vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .rep-top { display: none; }
  .rep-ctl { margin-top: 0; }
  .rep-play { flex-basis: 56px; width: 56px; height: 56px; }
  .rep-tiempo { margin-left: 12px; }
  .rep-tiempo b { font-size: 30px; }
  .rep-tiempo span { font-size: 13px; }
  .rep-pistasbtn { display: inline-flex; align-items: center; height: 44px; margin-left: auto; padding: 0 14px; border: 1.5px solid #7FA79D; border-radius: 999px; background: transparent; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
  .rep-pistasbtn svg { margin-left: 6px; width: 16px; height: 16px; }
  .rep.is-abierto .rep-pistasbtn svg { -webkit-transform: rotate(180deg); transform: rotate(180deg); }
  .rep-estado { margin-top: 6px; min-height: 0; }
  .rep-barra { margin-top: 2px; }
  .rng { height: 34px; }
  .rep-pistas, .rep-nota { display: none; }
  .rep.is-abierto .rep-pistas, .rep.is-abierto .rep-nota { display: block; }
  .rep-pistas { margin-top: 4px; padding-top: 4px; }
  .rep-pistas-cab h2 { font-size: 22px; }
  .pista { padding: 4px 0; }
  .pista-n { flex-basis: 106px; font-size: 14px; }
  .rep-nota { font-size: 12.5px; margin-top: 8px; }
}
@media (max-width: 400px) {
  .rep-ini { display: none; }
}
@media (max-width: 560px) {
  .rp-card { width: 100%; }
  .rp-card { padding: 6px 9px; }
  .barra-t { padding: 0 4px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .cab, .ct-lado, .tabs, .barra, .sg, .pie, .ct-nav { display: none !important; } }
