/* Audios y reproductor */
.tarjeta.destacada { padding: 1.75rem 1.5rem; }
.tarjeta.destacada h2 { margin-bottom: .5rem; }
.tarjeta.destacada .boton { margin-top: .5rem; }
.reproductor {
  position: fixed; left: 0; right: 0; bottom: calc(3.6rem + env(safe-area-inset-bottom)); z-index: 6;
  background: var(--papel); border-top: 1px solid var(--mineral); box-shadow: 0 -6px 24px rgba(43, 42, 39, .06);
}
.reproductor[hidden] { display: none; }
.reproductor-dentro { position: relative; max-width: var(--ancho); margin: 0 auto; padding: .75rem 1.25rem .6rem; }
.reproductor-titulo { font-family: var(--serifa); font-size: 1.15rem; margin: 0 4.5rem .25rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reproductor input[type=range] { width: 100%; accent-color: var(--verde); min-height: 28px; margin: 0; }
.reproductor-controles { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.reproductor-tiempo { font-size: .85rem; color: var(--texto-secundario); min-width: 3.2rem; font-variant-numeric: tabular-nums; }
.reproductor-tiempo:last-child { text-align: right; }
.rep-boton { min-width: 48px; min-height: 44px; border: 1px solid var(--mineral); background: transparent; border-radius: 999px; font: 600 .9rem var(--sans); color: var(--tinta); cursor: pointer; padding: 0 .8rem; }
.rep-principal { background: var(--verde); color: #fff; border-color: var(--verde); min-width: 6.5rem; }
.rep-cerrar { position: absolute; top: .55rem; right: 1.25rem; background: none; border: 0; color: var(--texto-secundario); font: .85rem var(--sans); text-decoration: underline; cursor: pointer; min-height: 32px; }
body.con-reproductor main { padding-bottom: 13rem; }
body.con-reproductor .pie { padding-bottom: 13rem; }

/* ESPIRA */
.tarjeta.accion h3 { font-size: 1.5rem; }
.movimientos { list-style: none; display: flex; gap: .4rem; padding: 0; margin: 0 0 2rem; }
.movimientos li { flex: 1; font-size: .72rem; letter-spacing: .12em; text-align: center; color: var(--texto-secundario); border-top: 2px solid var(--mineral); padding-top: .45rem; }
.movimientos li.actual { color: var(--verde); border-top-color: var(--ocre); font-weight: 600; }
.pregunta { font-size: 1.9rem; line-height: 1.25; margin: 1rem 0 1.5rem; }
.situacion-recuerdo { border-left: 2px solid var(--mineral); padding-left: .8rem; }
.bifurcacion { margin-bottom: .5rem; }
.navegacion-recorrido { justify-content: space-between; }
details.anterior, details.vuelta { margin-top: .75rem; }
details summary { cursor: pointer; color: var(--verde); min-height: 44px; display: flex; align-items: center; }
.movimiento-resumen { margin: 0 0 2rem; }
.movimiento-resumen h3 { font-size: 1.2rem; }
.respuesta-resumen { border-top: 1px solid var(--mineral); padding: .9rem 0; }
.pregunta-resumen { font-family: var(--serifa); font-size: 1.15rem; margin-bottom: .4rem; }

/* Recursos */
.encuentro { border-top: 1px solid var(--mineral); padding: 1rem 0 .25rem; }
.encuentro:last-child { border-bottom: 1px solid var(--mineral); }
.encuentro-fecha { font-family: var(--serifa); font-size: 1.4rem; margin: 0; }
.encuentro .botones { margin: .75rem 0; }
.enlaces-material { margin: .35rem 0 0; }
.enlaces-material a { display: inline-block; padding: .4rem 0; }

/* Comunidad */
.chat-caja { height: min(60vh, 34rem); overflow-y: auto; border: 1px solid var(--mineral); border-radius: var(--radio); background: var(--papel); padding: .75rem 1rem; }
.chat-lista { list-style: none; margin: 0; padding: 0; }
.mensaje-chat { padding: .6rem 0; border-bottom: 1px solid var(--mineral); }
.mensaje-chat:last-child { border-bottom: 0; }
.mensaje-chat.mio .autora { color: var(--verde); }
.mensaje-cabecera { margin: 0; font-size: .9rem; }
.autora { font-weight: 600; }
.mensaje-texto { margin: .15rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.mensaje-acciones { margin: 0; font-size: .85rem; }
.mensaje-acciones .enlace-boton, .publicacion-acciones .enlace-boton { color: var(--texto-secundario); margin-right: .9rem; font-size: .9rem; }
.chat-form { display: flex; gap: .6rem; align-items: flex-end; margin-top: .75rem; }
.chat-form textarea { min-height: 48px; height: 3.2rem; }
.publicacion { border-top: 1px solid var(--mineral); padding: 1.25rem 0; }
.publicacion-texto { margin: .4rem 0; overflow-wrap: anywhere; }
.publicacion-imagen { border-radius: var(--radio); margin: .75rem 0; max-height: 70vh; width: auto; }
.publicacion-acciones { display: flex; flex-wrap: wrap; }
.publicacion-acciones [aria-pressed="true"] { color: var(--verde); font-weight: 600; }
.comentarios { margin: .5rem 0 0 1rem; padding-left: 1rem; border-left: 2px solid var(--mineral); }
.lista-comentarios { list-style: none; padding: 0; margin: 0 0 .75rem; }
.lista-comentarios li { padding: .5rem 0; }
.comentar textarea { min-height: 4rem; margin-bottom: .5rem; }
