/* ==========================================================
   Cancionero — Juguito de Maracuyá
   Basado en la landing de "Canto" (maracsoft.pe/canto):
   cerros al ocaso, cielo naranja, poncho rojo y cera de vela.
   ========================================================== */

:root {
  --ocaso: #2a2146;        /* fondo: violeta de los cerros al anochecer */
  --cerro: #463a73;        /* violeta medio */
  --nube: #b3a6d8;         /* lavanda de las nubes: texto secundario */
  --cielo: #f6a065;        /* naranja del cielo */
  --poncho: #b4321f;       /* rojo del poncho */
  --poncho-oscuro: #8a2214;
  --vela: #fbeedb;         /* cera de vela: texto principal */

  --linea-clara: rgba(251, 238, 219, 0.18);
  --linea-oscura: rgba(42, 33, 70, 0.25);

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --margen: clamp(1.25rem, 4vw, 4rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--vela);
  background-color: var(--ocaso);
  -webkit-font-smoothing: antialiased;
}

/* Fondo: la portada con un desenfoque fuerte para teñir la página con sus colores.
   Va en una capa fija (no background-attachment: fixed) porque iOS no lo soporta.
   La imagen llega por la variable --fondo, definida en el <body> de cada vista. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background: var(--fondo, none) center / cover no-repeat, linear-gradient(160deg, var(--cerro) 0%, var(--ocaso) 60%);
  filter: blur(28px) saturate(1.2);
  transform: scale(1.15);
}

body::after {
  background: linear-gradient(180deg, rgba(42, 33, 70, 0.35) 0%, rgba(42, 33, 70, 0.6) 100%);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--cielo);
  outline-offset: 3px;
}

.visualmente-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ----------------------------------------------------------
   Barra superior
   ---------------------------------------------------------- */

.barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem var(--margen) 0;
}

.barra__marca {
  font-family: var(--serif);
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--vela);
}

.barra__enlace {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--nube);
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Flecha hacia la izquierda */
.barra__enlace::before {
  content: "";
  width: 0.5em;
  height: 0.5em;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.barra__enlace:focus-visible,
.barra__enlace:active {
  color: var(--cielo);
}

@media (hover: hover) {
  .barra__enlace:hover {
    color: var(--cielo);
  }
}

/* Aviso para el administrador cuando ve una canción oculta */
.aviso-previa {
  margin: 0;
  padding: 0.6rem var(--margen);
  font-size: 0.9375rem;
  font-weight: 700;
  text-align: center;
  color: var(--ocaso);
  background-color: var(--cielo);
}

/* ----------------------------------------------------------
   Etiquetas: Inédita / Publicada
   ---------------------------------------------------------- */

.etiqueta {
  display: inline-block;
  padding: 0.15em 0.7em;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.6;
}

.etiqueta--inedita {
  color: var(--vela);
  background-color: var(--poncho);
}

.etiqueta--publicada {
  color: var(--ocaso);
  background-color: var(--cielo);
}

.etiqueta--chica {
  padding: 0.1em 0.6em;
  font-size: 0.6875rem;
}

/* ==========================================================
   LISTADO DE CANCIONES
   ========================================================== */

.portada-listado {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--margen) clamp(2rem, 5vw, 3.5rem);
}

/* Foto del artista: a la derecha del título en escritorio */
.portada-listado__foto {
  order: 2;
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 480px;
}

.portada-listado__foto img {
  width: 100%;
  aspect-ratio: 817 / 791;
  object-fit: cover;
  border-radius: 3px;
  box-shadow:
    0 2px 0 rgba(251, 238, 219, 0.06),
    0 40px 90px -30px rgba(12, 6, 32, 0.85);
}

.portada-listado__artista {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cielo);
}

.portada-listado__titulo {
  margin: 0.25rem 0 0.75rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  line-height: 1.05;
}

.portada-listado__texto {
  max-width: 36rem;
  color: var(--nube);
}

.buscador {
  position: relative;
  max-width: 26rem;
  margin-top: 1.75rem;
}

.buscador input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.6rem 1.25rem 0.6rem 2.9rem;
  border: 1px solid rgba(251, 238, 219, 0.28);
  border-radius: 999px;
  font: inherit;
  color: var(--vela);
  background-color: rgba(251, 238, 219, 0.06);
  -webkit-appearance: none;
  appearance: none;
}

.buscador input::placeholder {
  color: var(--nube);
}

.buscador input:focus {
  outline: none;
  border-color: var(--cielo);
}

/* Lupa dibujada con CSS */
.buscador::before,
.buscador::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.buscador::before {
  left: 1.2rem;
  top: 50%;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: -0.55rem;
  border: 2px solid var(--nube);
  border-radius: 50%;
}

.buscador::after {
  left: 1.95rem;
  top: 50%;
  width: 0.45rem;
  height: 2px;
  margin-top: 0.3rem;
  background-color: var(--nube);
  transform: rotate(45deg);
}

.canciones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--margen) clamp(3rem, 8vw, 6rem);
  list-style: none;
}

.tarjeta {
  display: block;
  height: 100%;
  text-decoration: none;
  border-radius: 6px;
  -webkit-tap-highlight-color: transparent;
}

.tarjeta__portada {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  background: linear-gradient(150deg, var(--cerro), var(--ocaso));
  box-shadow: 0 30px 60px -30px rgba(12, 6, 32, 0.85);
}

.tarjeta__portada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Sin portada: la inicial del título sobre el degradado */
.tarjeta__inicial {
  display: grid;
  place-items: center;
  height: 100%;
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--cielo);
}

.tarjeta__portada .etiqueta {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.tarjeta__titulo {
  margin: 0.85rem 0 0.1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.375rem;
  line-height: 1.2;
}

.tarjeta__datos {
  font-size: 0.9375rem;
  color: var(--nube);
}

.tarjeta:focus-visible {
  outline-offset: 6px;
}

@media (hover: hover) {
  .tarjeta:hover .tarjeta__portada img {
    transform: scale(1.04);
  }

  .tarjeta:hover .tarjeta__titulo {
    color: var(--cielo);
  }
}

.sin-resultados {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--margen) 4rem;
  color: var(--nube);
}

@media (max-width: 560px) {
  .canciones {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tarjeta__titulo {
    font-size: 1.125rem;
  }

  .tarjeta__portada .etiqueta {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.6875rem;
  }
}

@media (max-width: 760px) {
  .portada-listado {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .portada-listado__foto {
    order: 0;
    justify-self: center;
    max-width: 22rem;
  }
}

/* Sobre el proyecto: franja naranja, como "Sobre la canción" */
.proyecto {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 1fr);
  column-gap: clamp(2.5rem, 6vw, 6rem);
  row-gap: 2rem;
  align-items: start;
  padding: clamp(3.5rem, 8vw, 6rem) max(var(--margen), (100% - 1100px) / 2);
  background-color: var(--cielo);
  color: var(--ocaso);
}

.proyecto__titulo {
  margin: 0 0 0.75em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.proyecto__contenido {
  max-width: 38rem;
  font-size: 1.125rem;
}

.proyecto__contenido p + p {
  margin-top: 1em;
}

.proyecto__entrada {
  font-size: 1.3125rem;
  line-height: 1.45;
}

.proyecto a {
  color: var(--poncho-oscuro);
  font-weight: 700;
  text-underline-offset: 0.15em;
}

.proyecto__foto {
  margin: 0 0 1.75rem;
}

.proyecto__foto img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 30px 60px -35px rgba(42, 33, 70, 0.7);
}

.proyecto__datos {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linea-oscura);
}

.proyecto__datos li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--linea-oscura);
  font-weight: 500;
}

.proyecto__datos span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--poncho-oscuro);
}

@media (max-width: 960px) {
  .proyecto {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* En vivo: galería de fotos en columnas, sin recortar */
.en-vivo {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--margen) clamp(2rem, 5vw, 3rem);
}

.en-vivo__titulo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.en-vivo__texto {
  margin: 0.4rem 0 2rem;
  color: var(--nube);
}

.galeria {
  columns: 3 16rem;
  column-gap: clamp(0.75rem, 1.5vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.galeria li {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.galeria img {
  width: 100%;
  border-radius: 3px;
  box-shadow: 0 30px 60px -30px rgba(12, 6, 32, 0.85);
}

/* ==========================================================
   FICHA DE UNA CANCIÓN
   ========================================================== */

.lanzamiento {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 4rem);
  min-height: calc(100svh - 4rem);
  padding: var(--margen);
  max-width: 1400px;
  margin: 0 auto;
}

.portada {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: min(520px, calc(100svh - 2 * var(--margen)));
}

.portada img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  box-shadow:
    0 2px 0 rgba(251, 238, 219, 0.06),
    0 40px 90px -30px rgba(12, 6, 32, 0.85);
}

.escuchar {
  max-width: 30rem;
}

/* Canción sin portada: una sola columna, centrada */
.lanzamiento--sin-portada {
  grid-template-columns: minmax(0, 30rem);
  justify-content: center;
}

/* En escritorio, sin portada el reproductor ocupa el ancho que ella dejaría libre */
@media (min-width: 961px) {
  .lanzamiento--sin-portada {
    grid-template-columns: minmax(0, 56rem);
  }

  .lanzamiento--sin-portada .escuchar {
    max-width: none;
  }

  .lanzamiento--sin-portada .titulo-cancion,
  .lanzamiento--sin-portada .cabecera-datos,
  .lanzamiento--sin-portada .ir-abajo {
    justify-content: center;
    text-align: center;
  }

  .lanzamiento--sin-portada .titulo-cancion {
    font-size: clamp(2.75rem, 5vw, 4.25rem);
  }

  .lanzamiento--sin-portada .ir-abajo {
    display: flex;
  }

  .lanzamiento--sin-portada .reproductor {
    padding: 1.75rem 2rem 1.5rem;
    border-radius: 1.5rem;
  }

  .lanzamiento--sin-portada .mando--con-onda .mando__pista {
    height: 7rem;
  }

  /* Botones al centro y volumen a la derecha, en la misma fila */
  .lanzamiento--sin-portada .mando {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .lanzamiento--sin-portada .mando[hidden] {
    display: none;
  }

  .lanzamiento--sin-portada .mando__pista,
  .lanzamiento--sin-portada .mando__tiempos {
    grid-column: 1 / -1;
  }

  .lanzamiento--sin-portada .mando__botones {
    grid-column: 2;
  }

  .lanzamiento--sin-portada .mando__play {
    width: 5.5rem;
    height: 5.5rem;
  }

  .lanzamiento--sin-portada .mando__play svg {
    width: 2.4rem;
    height: 2.4rem;
  }

  .lanzamiento--sin-portada .volumen {
    grid-column: 3;
    justify-self: end;
    width: 100%;
    margin: 0;
  }
}

.artista {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--cielo);
}

.titulo-cancion {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.cabecera-datos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--nube);
}

/* Reproductor */

/* Tarjeta del reproductor: es lo protagonista de la ficha */
.reproductor {
  position: relative;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.4rem 1.1rem;
  border: 1px solid rgba(251, 238, 219, 0.16);
  border-radius: 1.25rem;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(246, 160, 101, 0.16), transparent 60%),
    rgba(42, 33, 70, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(251, 238, 219, 0.08),
    0 30px 70px -30px rgba(12, 6, 32, 0.9);
}

/* Fila de arriba de la tarjeta: "Suena: …" a la izquierda, Inédita/Publicada a la derecha */
.reproductor__fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.reproductor__fila .reproductor__ahora {
  min-width: 0;
  margin-bottom: 0;
}

.reproductor__fila .etiqueta {
  flex-shrink: 0;
}

/* Sin la fila de datos bajo el título, el reproductor necesita su propio respiro */
.titulo-cancion + .reproductor {
  margin-top: 1.25rem;
}

.reproductor__ahora {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--nube);
}

.reproductor__ahora strong {
  color: var(--vela);
  font-weight: 700;
}

.reproductor audio {
  display: block;
  width: 100%;
  height: 3rem;
  border-radius: 999px;
  color-scheme: dark;
}

/* Ecualizador: barras que bailan mientras suena */
.ecualizador {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 0.9rem;
}

.js .ecualizador {
  display: inline-flex;
}

.ecualizador span {
  width: 3px;
  height: 30%;
  border-radius: 1px;
  background: var(--cielo);
  transition: height 0.3s ease;
}

.reproductor[data-estado="sonando"] .ecualizador span {
  height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  .reproductor[data-estado="sonando"] .ecualizador span {
    animation: ecualizar 0.9s ease-in-out infinite alternate;
    transform-origin: bottom;
  }

  .reproductor[data-estado="sonando"] .ecualizador span:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
  .reproductor[data-estado="sonando"] .ecualizador span:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }
  .reproductor[data-estado="sonando"] .ecualizador span:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.15s; }

  @keyframes ecualizar {
    from { transform: scaleY(0.25); }
    to { transform: scaleY(1); }
  }
}

/* Mando: barra de progreso, tiempos y botones */
.mando[hidden] {
  display: none;
}

.mando__barra {
  --progreso: 0%;
  --cargado: 0%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 1.75rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mando__barra::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right,
      var(--cielo) var(--progreso),
      rgba(251, 238, 219, 0.32) var(--progreso),
      rgba(251, 238, 219, 0.32) var(--cargado),
      rgba(251, 238, 219, 0.14) var(--cargado));
  transition: height 0.15s ease;
}

.mando__barra::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right,
      var(--cielo) var(--progreso),
      rgba(251, 238, 219, 0.32) var(--progreso),
      rgba(251, 238, 219, 0.32) var(--cargado),
      rgba(251, 238, 219, 0.14) var(--cargado));
}

.mando__barra::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: calc(3px - 0.525rem);
  border: 0;
  border-radius: 50%;
  background: var(--vela);
  box-shadow: 0 0 0 4px rgba(246, 160, 101, 0.35), 0 2px 6px rgba(12, 6, 32, 0.6);
  transition: transform 0.15s ease;
}

.mando__barra::-moz-range-thumb {
  width: 1.05rem;
  height: 1.05rem;
  border: 0;
  border-radius: 50%;
  background: var(--vela);
  box-shadow: 0 0 0 4px rgba(246, 160, 101, 0.35), 0 2px 6px rgba(12, 6, 32, 0.6);
}

.mando__barra:active::-webkit-slider-thumb {
  transform: scale(1.2);
}

.mando__barra:focus-visible {
  outline: 2px solid var(--cielo);
  outline-offset: 2px;
  border-radius: 999px;
}

/* Con forma de onda: el lienzo va detrás y la barra encima, transparente;
   el "thumb" de la barra se vuelve el cabezal vertical, como en un DAW */
.mando__pista {
  position: relative;
}

.mando__onda,
.mando__puntero {
  display: none;
}

.mando--con-onda .mando__pista {
  height: 4.5rem;
  margin: 0.25rem 0 0.15rem;
}

.mando--con-onda .mando__onda {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mando--con-onda .mando__barra {
  position: absolute;
  inset: 0;
  height: 100%;
}

.mando--con-onda .mando__barra::-webkit-slider-runnable-track {
  height: 100%;
  background: transparent;
}

.mando--con-onda .mando__barra::-moz-range-track {
  height: 100%;
  background: transparent;
}

.mando--con-onda .mando__barra::-webkit-slider-thumb {
  width: 2px;
  height: 100%;
  margin-top: 0;
  border-radius: 1px;
  background: var(--vela);
  box-shadow: 0 0 8px rgba(246, 160, 101, 0.8);
}

.mando--con-onda .mando__barra::-moz-range-thumb {
  width: 2px;
  height: 100%;
  border-radius: 1px;
  background: var(--vela);
  box-shadow: 0 0 8px rgba(246, 160, 101, 0.8);
}

.mando--con-onda .mando__barra:active::-webkit-slider-thumb {
  transform: none;
}

@media (hover: hover) {
  .mando--con-onda .mando__barra:hover::-webkit-slider-runnable-track {
    height: 100%;
  }

  .mando--con-onda .mando__barra:hover::-webkit-slider-thumb {
    margin-top: 0;
  }
}

.mando--con-onda .mando__barra:focus-visible {
  border-radius: 6px;
}

/* Tiempo bajo el mouse, sobre la onda */
.mando--con-onda .mando__puntero {
  display: block;
  position: absolute;
  top: -1.6rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--ocaso);
  background: var(--vela);
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.mando--con-onda .mando__puntero.es-visible {
  opacity: 1;
}

.mando__tiempos {
  display: flex;
  justify-content: space-between;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: var(--nube);
}

.mando__botones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 5vw, 2.25rem);
  margin-top: 0.4rem;
}

.mando__play,
.mando__salto {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  font: inherit;
  color: var(--vela);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mando__play {
  position: relative;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: var(--poncho);
  box-shadow:
    inset 0 1px 0 rgba(251, 238, 219, 0.25),
    0 12px 30px -8px rgba(180, 50, 31, 0.75);
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.mando__play svg {
  grid-area: 1 / 1;
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.mando__icono-pausa,
.reproductor[data-estado="sonando"] .mando__icono-play {
  display: none;
}

.reproductor[data-estado="sonando"] .mando__icono-pausa {
  display: block;
}

/* Anillo que gira mientras carga */
.mando__girando {
  position: absolute;
  inset: -5px;
  border: 3px solid transparent;
  border-top-color: var(--cielo);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.reproductor[data-estado="cargando"] .mando__girando {
  opacity: 1;
  animation: girar 0.9s linear infinite;
}

@keyframes girar {
  to { transform: rotate(360deg); }
}

.mando__play:active {
  transform: scale(0.94);
}

.mando__salto {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mando__salto svg {
  grid-area: 1 / 1;
  width: 2.1rem;
  height: 2.1rem;
  fill: currentColor;
}

.mando__salto span {
  grid-area: 1 / 1;
  margin-top: 0.3rem;
  font-size: 0.625rem;
  font-weight: 700;
}

.mando__play:focus-visible,
.mando__salto:focus-visible {
  outline: 2px solid var(--cielo);
  outline-offset: 3px;
}

@media (hover: hover) {
  .mando__play:hover {
    background-color: var(--poncho-oscuro);
    transform: scale(1.04);
  }

  .mando__salto:hover {
    color: var(--cielo);
    background-color: rgba(251, 238, 219, 0.08);
  }

  .mando__barra:hover::-webkit-slider-runnable-track {
    height: 8px;
  }

  .mando__barra:hover::-webkit-slider-thumb {
    margin-top: calc(4px - 0.525rem);
  }
}

/* Volumen: parlante + barra + porcentaje, bajo los botones */
.volumen {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 15rem;
  margin: 0.6rem auto 0;
}

.volumen[hidden] {
  display: none;
}

.volumen__boton {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--nube);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.volumen__boton svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.volumen__boton svg path:first-child {
  fill: currentColor;
}

/* El parlante muestra una, dos o ninguna onda según el nivel */
.volumen__tachado,
.volumen[data-nivel="mudo"] .volumen__onda1,
.volumen[data-nivel="mudo"] .volumen__onda2,
.volumen[data-nivel="bajo"] .volumen__onda2 {
  display: none;
}

.volumen[data-nivel="mudo"] .volumen__tachado {
  display: inline;
}

.volumen__boton:focus-visible {
  outline: 2px solid var(--cielo);
  outline-offset: 2px;
}

.volumen__barra {
  --volumen: 100%;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  min-width: 0;
  height: 1.5rem;
  margin: 0;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.volumen__barra::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--vela) var(--volumen), rgba(251, 238, 219, 0.18) var(--volumen));
}

.volumen__barra::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--vela) var(--volumen), rgba(251, 238, 219, 0.18) var(--volumen));
}

.volumen__barra::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0.85rem;
  height: 0.85rem;
  margin-top: calc(2px - 0.425rem);
  border: 0;
  border-radius: 50%;
  background: var(--vela);
  box-shadow: 0 1px 4px rgba(12, 6, 32, 0.6);
}

.volumen__barra::-moz-range-thumb {
  width: 0.85rem;
  height: 0.85rem;
  border: 0;
  border-radius: 50%;
  background: var(--vela);
  box-shadow: 0 1px 4px rgba(12, 6, 32, 0.6);
}

.volumen__barra:focus-visible {
  outline: 2px solid var(--cielo);
  outline-offset: 2px;
  border-radius: 999px;
}

.volumen__valor {
  flex-shrink: 0;
  width: 2.6rem;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--nube);
}

@media (hover: hover) {
  .volumen__boton:hover {
    color: var(--cielo);
    background-color: rgba(251, 238, 219, 0.08);
  }

  .volumen__barra:hover::-webkit-slider-runnable-track {
    background: linear-gradient(to right, var(--cielo) var(--volumen), rgba(251, 238, 219, 0.18) var(--volumen));
  }
}

/* Dentro de la tarjeta, la lista de versiones y la descarga van más discretas */
.reproductor .versiones {
  margin-top: 1.1rem;
}

/* Lista de versiones */

.versiones {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--linea-clara);
}

.versiones li {
  border-bottom: 1px solid var(--linea-clara);
}

.version {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.6rem 0.5rem;
  border: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

/* Triángulo de "play"; en la versión que suena se vuelve dos barras */
.version__icono {
  justify-self: center;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.45em 0 0.45em 0.75em;
  border-color: transparent transparent transparent var(--cielo);
}

.version[aria-pressed="true"] .version__icono {
  width: 0.75em;
  height: 0.9em;
  border: 0;
  border-left: 0.25em solid var(--cielo);
  border-right: 0.25em solid var(--cielo);
}

.version__nombre {
  display: block;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.25;
}

.version__descripcion {
  display: block;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--nube);
}

.version__meta {
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--nube);
  text-align: right;
}

.version[aria-pressed="true"] {
  background-color: rgba(251, 238, 219, 0.08);
}

.version[aria-pressed="true"] .version__nombre {
  color: var(--cielo);
}

.version:focus-visible {
  outline-offset: 0;
}

@media (hover: hover) {
  .version:hover {
    background-color: rgba(251, 238, 219, 0.08);
  }
}

/* Fila de versión: escuchar + descargar */
.versiones__fila {
  display: flex;
  align-items: stretch;
}

.versiones__fila .version {
  flex: 1;
  min-width: 0;
}

.version__descarga {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3rem;
  color: var(--nube);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.version__descarga:focus-visible,
.version__descarga:active {
  color: var(--cielo);
  outline-offset: -3px;
}

@media (hover: hover) {
  .version__descarga:hover {
    color: var(--cielo);
    background-color: rgba(251, 238, 219, 0.08);
  }
}

/* Flecha de descarga dibujada con CSS: flecha hacia abajo sobre una bandeja */
.icono-descarga {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1.1em;
  flex-shrink: 0;
  /* el palo de la flecha */
  background: linear-gradient(currentColor, currentColor) center 0 / 2px 0.7em no-repeat;
}

.icono-descarga::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.5em;
  height: 0.5em;
  margin-left: -0.25em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(0.15em) rotate(45deg);
}

.icono-descarga::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.35em;
  border: 2px solid currentColor;
  border-top: 0;
}

/* Botón principal de descarga, bajo el reproductor */
.descargar {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  min-height: 2.75rem;
  margin-top: 1rem;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(251, 238, 219, 0.28);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--vela);
  text-decoration: none;
  background-color: rgba(251, 238, 219, 0.06);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.descargar .icono-descarga {
  color: var(--cielo);
}

.descargar__detalle {
  font-weight: 400;
  color: var(--nube);
}

.descargar:focus-visible,
.descargar:active {
  border-color: var(--poncho);
  background-color: var(--poncho);
}

@media (hover: hover) {
  .descargar:hover {
    border-color: var(--poncho);
    background-color: var(--poncho);
  }

  .descargar:hover .descargar__detalle,
  .descargar:hover .icono-descarga {
    color: var(--vela);
  }
}

/* Lista de plataformas (igual que la landing) */

.plataformas {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--linea-clara);
}

.plataformas li {
  border-bottom: 1px solid var(--linea-clara);
}

.plataforma {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease, padding 0.2s ease;
}

.plataforma__nombre {
  font-family: var(--serif);
  font-size: 1.4375rem;
  line-height: 1.2;
  text-align: left;
}

.plataforma__accion {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  flex-shrink: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cielo);
  transition: color 0.2s ease;
}

.plataforma__accion::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.4em 0 0.4em 0.65em;
  border-color: transparent transparent transparent currentColor;
}

.plataforma:focus-visible,
.plataforma:active {
  background-color: var(--poncho);
  padding-left: 1rem;
  padding-right: 1rem;
}

.plataforma:focus-visible .plataforma__accion,
.plataforma:active .plataforma__accion {
  color: var(--vela);
}

@media (hover: hover) {
  .plataforma:hover {
    background-color: var(--poncho);
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .plataforma:hover .plataforma__accion {
    color: var(--vela);
  }
}

.plataforma:focus-visible {
  outline-offset: 0;
}

/* Botón que baja a la sección de abajo */
.ir-abajo {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  font-weight: 700;
  color: var(--nube);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}

.ir-abajo::after {
  content: "";
  width: 0.5em;
  height: 0.5em;
  margin-top: -0.25em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.ir-abajo:focus-visible,
.ir-abajo:active {
  color: var(--cielo);
}

@media (hover: hover) {
  .ir-abajo:hover {
    color: var(--cielo);
  }
}

/* ----------------------------------------------------------
   Sección naranja: pestañas Sobre la canción / Letra / Acordes
   ---------------------------------------------------------- */

.cancionero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr);
  column-gap: clamp(2.5rem, 6vw, 6rem);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(3.5rem, 8vw, 7rem) max(var(--margen), (100% - 1100px) / 2);
  background-color: var(--cielo);
  color: var(--ocaso);
}

.pestanas {
  display: flex;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  border-bottom: 1px solid var(--linea-oscura);
}

.pestana {
  position: relative;
  min-height: 3rem;
  padding: 0.5rem 0;
  border: 0;
  font-family: var(--serif);
  font-size: 1.3125rem;
  color: var(--ocaso);
  background: none;
  cursor: pointer;
  opacity: 0.6;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
}

.pestana[aria-selected="true"] {
  opacity: 1;
}

.pestana[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background-color: var(--poncho);
}

.pestana:focus-visible {
  outline-color: var(--ocaso);
}

@media (hover: hover) {
  .pestana:hover {
    opacity: 1;
  }
}

/* Sin JS se ven todos los paneles, uno debajo de otro */
.js .panel[hidden] {
  display: none;
}

.panel + .panel {
  margin-top: 3rem;
}

.js .con-pestanas .panel + .panel {
  margin-top: 0;
}

.panel__titulo {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.15;
}

.js .con-pestanas .panel__titulo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Sobre la canción */

.sobre {
  max-width: 36rem;
  font-size: 1.125rem;
}

.sobre p + p {
  margin-top: 1em;
}

.sobre__entrada {
  font-size: 1.3125rem;
  line-height: 1.45;
}

.sobre__subtitulo {
  margin: 2.25em 0 0.7em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3125rem;
  line-height: 1.25;
  color: var(--poncho-oscuro);
}

.temas {
  margin: 0;
  padding: 0;
  list-style: none;
}

.temas li {
  position: relative;
  padding-left: 1.4em;
}

.temas li + li {
  margin-top: 0.6em;
}

/* Pequeña llama de vela como viñeta */
.temas li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.5em;
  width: 0.45em;
  height: 0.65em;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background-color: var(--poncho);
}

/* Letra */

.letra__texto {
  font-size: 1.125rem;
  line-height: 1.6;
}

.letra__texto p {
  margin: 0 0 1.5em;
}

.acordes .acorde {
  font-weight: 700;
  color: var(--poncho-oscuro);
}

/* Controles de la letra: interruptor "Ver acordes" y tonalidad */
.letra__controles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.5rem;
}

.letra__tono {
  margin: 0 0 1rem;
  font-weight: 700;
}

.letra__controles .letra__tono {
  margin: 0;
}

.interruptor {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  min-height: 2.75rem;
  padding: 0.35rem 1.1rem 0.35rem 0.5rem;
  border: 1px solid var(--linea-oscura);
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  color: var(--ocaso);
  background-color: rgba(251, 238, 219, 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease;
}

.interruptor__pista {
  position: relative;
  width: 2.5rem;
  height: 1.4rem;
  border-radius: 999px;
  background-color: rgba(42, 33, 70, 0.3);
  transition: background-color 0.2s ease;
}

.interruptor__pista::after {
  content: "";
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--vela);
  box-shadow: 0 1px 3px rgba(42, 33, 70, 0.35);
  transition: transform 0.2s ease;
}

.interruptor[aria-pressed="true"] .interruptor__pista {
  background-color: var(--poncho);
}

.interruptor[aria-pressed="true"] .interruptor__pista::after {
  transform: translateX(1.1rem);
}

.interruptor:focus-visible {
  outline-color: var(--ocaso);
}

@media (hover: hover) {
  .interruptor:hover {
    background-color: rgba(251, 238, 219, 0.6);
  }
}

/* Sin JS se ven letra y acordes, uno tras otro */
.letra__texto + .acordes {
  margin-top: 2rem;
}

.js .letra__texto[hidden],
.js .acordes[hidden] {
  display: none;
}

/* Acordes: monoespaciado y sin partir líneas, para que el acorde quede sobre su sílaba.
   En celular se desplaza de lado. */
.acordes {
  margin: 0;
  padding: 1.25rem 1.25rem 1.5rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.9375rem;
  line-height: 1.5;
  white-space: pre;
  color: var(--ocaso);
  background-color: rgba(251, 238, 219, 0.45);
  border-radius: 4px;
  -webkit-overflow-scrolling: touch;
  tab-size: 4;
}

.acordes__tono {
  margin-bottom: 0.85rem;
  font-weight: 700;
}

.panel__vacio {
  color: var(--poncho-oscuro);
}

/* Ficha lateral: cita + créditos */

.ficha {
  position: sticky;
  top: 2rem;
}

.cita {
  margin: 0 0 2rem;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--poncho);
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1.4;
}

.ficha__datos {
  margin: 0;
  border-top: 1px solid var(--linea-oscura);
}

.ficha__datos > div {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--linea-oscura);
}

.ficha__datos dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--poncho-oscuro);
}

.ficha__datos dd {
  margin: 0.1rem 0 0;
  font-weight: 500;
}

/* ----------------------------------------------------------
   Pie
   ---------------------------------------------------------- */

.pie {
  padding: 2rem var(--margen);
  font-size: 0.9375rem;
  color: var(--nube);
  text-align: center;
}

.pie .contacto {
  margin-bottom: 0.4rem;
  color: var(--vela);
}

.pie .contacto a {
  color: var(--cielo);
  text-decoration: none;
}

.pie .contacto a:hover,
.pie .contacto a:focus-visible {
  text-decoration: underline;
}

/* ----------------------------------------------------------
   Entrada animada: la portada se descubre como una pincelada
   y luego aparece el texto (solo con JS y si se permite movimiento)
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .js .portada img {
    clip-path: inset(0 100% 0 0);
  }

  .js .escuchar > * {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  .js.is-listo .portada img {
    clip-path: inset(0 0 0 0);
    transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  }

  .js.is-listo .escuchar > * {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .js.is-listo .escuchar > :nth-child(1) { transition-delay: 0.5s; }
  .js.is-listo .escuchar > :nth-child(2) { transition-delay: 0.58s; }
  .js.is-listo .escuchar > :nth-child(3) { transition-delay: 0.66s; }
  .js.is-listo .escuchar > :nth-child(4) { transition-delay: 0.76s; }
  .js.is-listo .escuchar > :nth-child(5) { transition-delay: 0.86s; }
  .js.is-listo .escuchar > :nth-child(6) { transition-delay: 0.96s; }
  .js.is-listo .escuchar > :nth-child(7) { transition-delay: 1.04s; }

  html {
    scroll-behavior: smooth;
  }

  .ir-abajo::after {
    animation: rebote 1.8s ease-in-out 2s infinite;
  }

  @keyframes rebote {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 0.25em; }
  }
}

/* ----------------------------------------------------------
   Tablet y móvil
   ---------------------------------------------------------- */

@media (max-width: 960px) {
  .lanzamiento {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 1.5rem;
    /* Ocupa justo la pantalla bajo el header: la sección naranja empieza al hacer scroll */
    min-height: calc(100vh - 4rem);
    min-height: calc(100svh - 4rem);
    padding: 1rem var(--margen) max(2rem, env(safe-area-inset-bottom));
  }

  /* La portada toma solo el alto que sobra, para que el reproductor y el enlace
     a la letra entren en la primera pantalla. --resto-ficha ≈ alto de todo lo demás */
  .portada {
    --resto-ficha: 38rem;
    justify-self: center;
    width: clamp(5rem, calc(100svh - var(--resto-ficha)), min(56vw, 20rem));
  }

  .lanzamiento {
    gap: 1rem;
    padding-top: 0.5rem;
  }

  .reproductor {
    padding: 1rem 1.1rem 0.9rem;
  }

  .mando--con-onda .mando__pista {
    height: 3.5rem;
  }

  .mando__play {
    width: 4.25rem;
    height: 4.25rem;
  }

  .mando__botones {
    margin-top: 0.2rem;
  }

  .volumen {
    margin-top: 0.3rem;
  }

  .portada img {
    border-radius: 6px;
  }

  .escuchar {
    max-width: 30rem;
    width: 100%;
    margin: 0 auto;
  }

  .artista,
  .titulo-cancion {
    text-align: center;
  }

  .artista {
    font-size: 1.0625rem;
  }

  .cabecera-datos {
    justify-content: center;
  }

  .ir-abajo {
    display: flex;
    justify-content: center;
  }

  /* Enlaces como botones grandes, fáciles de tocar con el pulgar */
  .plataformas {
    display: grid;
    gap: 0.6rem;
    border-top: 0;
  }

  .plataformas li {
    border-bottom: 0;
  }

  .plataforma {
    min-height: 3.5rem;
    padding: 0.6rem 1.25rem;
    border: 1px solid rgba(251, 238, 219, 0.28);
    border-radius: 999px;
    background-color: rgba(251, 238, 219, 0.06);
    -webkit-tap-highlight-color: transparent;
  }

  .plataforma:focus-visible,
  .plataforma:active {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    border-color: var(--poncho);
  }

  .plataforma__nombre {
    font-size: 1.3125rem;
  }

  .cancionero {
    grid-template-columns: minmax(0, 1fr);
  }

  .ficha {
    position: static;
  }

  .acordes {
    margin-left: calc(-1 * var(--margen));
    margin-right: calc(-1 * var(--margen));
    border-radius: 0;
    font-size: 0.875rem;
  }
}

/* En celulares el volumen se maneja con los botones del equipo: la barra sobra
   y ese espacio se le da a la portada */
@media (max-width: 960px) and (pointer: coarse) {
  .volumen {
    display: none;
  }

  .portada {
    --resto-ficha: 37rem;
  }
}

@media (max-width: 420px) {
  .plataforma__nombre {
    font-size: 1.25rem;
  }

  .pestanas {
    gap: 0.25rem 1.25rem;
  }

  .pestana {
    font-size: 1.1875rem;
  }
}
