/* ============================================
   VARIABLES
   ============================================ */
:root {
  --negro: #08090b;
  --negro-medio: #111318;
  --negro-claro: #191d24;
  --negro-borde: #2a3039;
  --rojo: #d71920;
  --rojo-hover: #ef2d34;
  --blanco: #f5f1ea;
  --gris: #6f7682;
  --gris-claro: #adb3bd;
  --verde-spotify: #1db954;
  --ambar: #f2b84b;

  --fuente-titulo: 'Oswald', sans-serif;
  --fuente-texto: 'Inter', sans-serif;
  --radio: 8px;
  --radio-sm: 5px;
  --sombra-panel: 0 24px 70px rgba(0, 0, 0, 0.35);
  --alto-control: 48px;
}

/* ============================================
   RESET Y BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.14) 0%, rgba(215, 25, 32, 0) 34%),
    linear-gradient(180deg, #101116 0%, var(--negro) 42%, #050506 100%);
  background-attachment: fixed;
  color: var(--blanco);
  font-family: var(--fuente-texto);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 78%);
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--rojo) 24%, #ffb24a 50%, var(--rojo) 76%, transparent 100%);
  pointer-events: none;
  z-index: 1000;
}

::selection {
  background-color: rgba(215, 25, 32, 0.72);
  color: var(--blanco);
}

/* ============================================
   HEADER
   ============================================ */
header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.header-logo {
  grid-column: 2;
  display: block;
  width: auto;
  height: clamp(92px, 12vw, 148px);
  max-width: 100%;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
}

/* ============================================
   SELECTOR DE IDIOMA
   ============================================ */
.lang-selector {
  grid-column: 3;
  justify-self: end;
  position: relative;
}

.lang-trigger {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radio-sm);
  background: rgba(255, 255, 255, 0.045);
  color: var(--gris-claro);
  cursor: pointer;
  font-family: var(--fuente-texto);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.lang-trigger:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.075);
  color: var(--blanco);
}

.lang-flag,
.lang-option-flag {
  font-size: 16px;
  line-height: 1;
}

.lang-chevron {
  color: currentColor;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.lang-selector.abierto .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  list-style: none;
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  min-width: 150px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radio);
  background: rgba(20, 23, 29, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 200;
}

.lang-selector.abierto .lang-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: var(--gris-claro);
  cursor: pointer;
  font-size: 13px;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.lang-option:hover,
.lang-option.lang-active {
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--blanco);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  color: var(--gris-claro);
  font-size: 12px;
}

footer a {
  color: var(--gris-claro);
  text-decoration: none;
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--blanco);
}

/* ============================================
   LAYOUT
   ============================================ */
main {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 215px);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 20px;
  align-items: start;
}

#columna-izquierda {
  display: grid;
  gap: 18px;
  min-width: 0;
}

section {
  min-width: 0;
}

#columna-izquierda > section,
#seccion-setlist {
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: var(--radio);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(14, 16, 20, 0.88);
  box-shadow: var(--sombra-panel);
}

#columna-izquierda > section {
  padding: clamp(20px, 3vw, 30px);
}

#seccion-setlist {
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(215, 25, 32, 0.14), rgba(255, 255, 255, 0.025) 24%),
    rgba(12, 13, 17, 0.94);
}

/* ============================================
   TITULOS
   ============================================ */
h2 {
  position: relative;
  margin-bottom: 20px;
  color: var(--gris-claro);
  font-family: var(--fuente-titulo);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

h2::after {
  content: '';
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rojo), var(--ambar));
}

/* ============================================
   FORMULARIOS
   ============================================ */
.campos-fila {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.campo {
  min-width: 0;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--gris-claro);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  line-height: 1.2;
  text-transform: uppercase;
}

input[type="text"],
input[type="date"],
input[type="number"] {
  width: 100%;
  min-height: var(--alto-control);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radio-sm);
  background: rgba(5, 6, 8, 0.72);
  color: var(--blanco);
  font-family: var(--fuente-texto);
  font-size: 15px;
  line-height: 1.2;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

input[type="text"]:hover,
input[type="date"]:hover,
input[type="number"]:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="number"]:focus {
  outline: none;
  border-color: rgba(239, 45, 52, 0.9);
  background: rgba(7, 8, 11, 0.92);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.18);
}

input::placeholder {
  color: rgba(173, 179, 189, 0.42);
}

input[type="date"] {
  color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.68;
}

button:focus-visible,
.boton-subir-logo:focus-visible {
  outline: 2px solid var(--rojo-hover);
  outline-offset: 3px;
}

.campo-con-boton {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.inputs-duracion {
  min-height: var(--alto-control);
  display: grid;
  grid-template-columns: 64px auto 64px;
  gap: 6px;
  align-items: center;
}

.inputs-duracion input {
  min-height: var(--alto-control);
  padding: 0 8px;
  text-align: center;
}

.inputs-duracion span {
  color: var(--gris-claro);
  font-size: 18px;
}

/* ============================================
   BOTONES
   ============================================ */
button,
.boton-subir-logo {
  min-height: var(--alto-control);
  border-radius: var(--radio-sm);
}

#boton-anadir,
#boton-exportar,
#boton-conectar-spotify,
#boton-buscar-spotify,
#boton-imprimir,
#resultados-spotify li button,
.boton-subir-logo {
  cursor: pointer;
  font-family: var(--fuente-titulo);
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

#boton-anadir,
#boton-exportar {
  width: 100%;
  border: 0;
  background: linear-gradient(135deg, var(--rojo), #a80f16);
  color: var(--blanco);
  font-size: 12px;
  padding: 0 20px;
  box-shadow: 0 14px 32px rgba(215, 25, 32, 0.24);
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

#boton-anadir::before {
  content: '+';
  margin-right: 8px;
  font-size: 16px;
  font-weight: 300;
}

#boton-anadir:hover,
#boton-exportar:hover {
  filter: brightness(1.08);
  box-shadow: 0 18px 38px rgba(215, 25, 32, 0.3);
  transform: translateY(-1px);
}

#boton-buscar-spotify,
#boton-imprimir {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--gris-claro);
  font-size: 11px;
  padding: 0 17px;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease, transform 0.16s ease;
}

#boton-buscar-spotify:hover,
#boton-imprimir:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.075);
  color: var(--blanco);
  transform: translateY(-1px);
}

#boton-conectar-spotify {
  width: 100%;
  border: 1px solid rgba(29, 185, 84, 0.72);
  background: rgba(29, 185, 84, 0.09);
  color: #73e39b;
  font-size: 12px;
  padding: 0 18px;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

#boton-conectar-spotify:hover {
  border-color: var(--verde-spotify);
  background: var(--verde-spotify);
  color: #061009;
  transform: translateY(-1px);
}

#boton-anadir:active,
#boton-exportar:active,
#boton-conectar-spotify:active,
#boton-buscar-spotify:active,
#boton-imprimir:active {
  transform: translateY(0);
}

/* ============================================
   LOGO
   ============================================ */
input[type="file"] {
  display: none;
}

.campo-logo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.boton-subir-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  padding: 0 16px;
  border: 1px solid rgba(239, 45, 52, 0.75);
  background: rgba(215, 25, 32, 0.08);
  color: #ff6b70;
  font-size: 11px;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

.boton-subir-logo:hover {
  border-color: var(--rojo-hover);
  background: var(--rojo);
  color: var(--blanco);
}

#nombre-archivo {
  min-width: 0;
  overflow: hidden;
  color: var(--gris);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#preview-logo {
  display: none;
  max-width: min(220px, 100%);
  max-height: 68px;
  margin-top: 14px;
  border-radius: var(--radio-sm);
  opacity: 0.9;
}

/* ============================================
   SPOTIFY
   ============================================ */
.spotify-descripcion {
  max-width: 62ch;
  margin-bottom: 16px;
  color: var(--gris-claro);
  font-size: 13px;
  line-height: 1.6;
}

#spotify-conectado {
  display: none;
}

#resultados-spotify {
  list-style: none;
  margin-top: 13px;
}

#resultados-spotify li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--gris-claro);
  font-size: 13px;
}

#resultados-spotify li:last-child {
  border-bottom: 0;
}

#resultados-spotify li button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: transparent;
  color: var(--gris-claro);
  font-size: 10px;
  padding: 0 12px;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

#resultados-spotify li button:hover {
  border-color: rgba(239, 45, 52, 0.76);
  background: rgba(215, 25, 32, 0.1);
  color: #ff777b;
}

.sin-resultados,
.buscando {
  color: var(--gris) !important;
  font-style: italic;
}

/* ============================================
   SETLIST
   ============================================ */
#seccion-setlist h2 {
  margin-bottom: 24px;
}

#info-concierto {
  flex-shrink: 0;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.095);
  text-align: center;
}

#logo-preview-setlist {
  display: block;
  max-width: 100%;
  max-height: 116px;
  margin: 0 auto 16px;
  opacity: 0.92;
}

#info-concierto p:first-of-type {
  color: var(--blanco);
  font-family: var(--fuente-titulo);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 1.8px;
  line-height: 1.06;
  text-transform: uppercase;
  text-shadow: 0 0 34px rgba(215, 25, 32, 0.26);
  word-break: break-word;
}

#info-concierto p:last-of-type {
  margin-top: 8px;
  color: var(--gris-claro);
  font-size: 11px;
  letter-spacing: 1.1px;
}

#estado-vacio {
  padding: 42px 0 32px;
  color: var(--gris);
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
}

#estado-vacio::before {
  content: 'SET';
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--fuente-titulo);
  font-size: 18px;
  letter-spacing: 1px;
}

#guia-orden {
  margin-bottom: 12px;
  color: var(--gris);
  font-size: 11px;
  letter-spacing: 1px;
  text-align: center;
}

#lista-canciones {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  list-style: none;
  padding-right: 2px;
}

#lista-canciones li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 34px;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  cursor: grab;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#lista-canciones li:hover {
  background: rgba(255, 255, 255, 0.035);
}

#lista-canciones li:active {
  cursor: grabbing;
}

#lista-canciones li:last-child {
  border-bottom: 0;
}

#lista-canciones li.arrastrando {
  opacity: 0.35;
}

#lista-canciones li.drag-encima {
  border-top: 2px solid var(--rojo);
  background-color: rgba(215, 25, 32, 0.08);
}

#lista-canciones li .numero {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--gris-claro);
  font-family: var(--fuente-titulo);
  font-size: 12px;
  letter-spacing: 0.8px;
}

#lista-canciones li .nombre {
  min-width: 0;
  color: var(--blanco);
  font-family: var(--fuente-titulo);
  font-size: clamp(19px, 2.2vw, 25px);
  letter-spacing: 0.8px;
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

#lista-canciones li .duracion {
  color: var(--gris-claro);
  font-size: 13px;
  letter-spacing: 1.3px;
  white-space: nowrap;
}

.boton-eliminar {
  min-width: 34px;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--gris);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.boton-eliminar:hover {
  background: rgba(215, 25, 32, 0.1);
  color: var(--rojo-hover);
}

#pie-setlist {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.095);
}

#tiempo-total {
  display: flex;
  gap: 14px;
  align-items: baseline;
  justify-content: space-between;
  color: var(--gris-claro);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

#duracion-total {
  color: var(--blanco);
  font-family: var(--fuente-titulo);
  font-size: 25px;
  letter-spacing: 0.8px;
  text-shadow: 0 0 22px rgba(215, 25, 32, 0.34);
  white-space: nowrap;
}

#consejo-exportar {
  padding: 12px 13px;
  border-left: 2px solid var(--rojo);
  border-radius: 0 var(--radio-sm) var(--radio-sm) 0;
  background: rgba(215, 25, 32, 0.065);
  color: var(--gris-claro);
  font-size: 12px;
  line-height: 1.55;
}

#indicador-margen {
  display: none;
  margin-top: 4px;
  padding: 9px 12px;
  border-radius: var(--radio-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

#indicador-margen.verde {
  border: 1px solid rgba(68, 198, 111, 0.32);
  background-color: rgba(68, 198, 111, 0.12);
  color: #64d68e;
}

#indicador-margen.naranja {
  border: 1px solid rgba(242, 184, 75, 0.34);
  background-color: rgba(242, 184, 75, 0.12);
  color: #f7c868;
}

#indicador-margen.rojo {
  border: 1px solid rgba(239, 45, 52, 0.36);
  background-color: rgba(239, 45, 52, 0.12);
  color: #ff777b;
}

/* ============================================
   SCROLLBARS Y ESTADOS
   ============================================ */
#seccion-setlist::-webkit-scrollbar,
#lista-canciones::-webkit-scrollbar {
  width: 5px;
}

#seccion-setlist::-webkit-scrollbar-track,
#lista-canciones::-webkit-scrollbar-track {
  background: transparent;
}

#seccion-setlist::-webkit-scrollbar-thumb,
#lista-canciones::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.campo-requerido {
  border-color: var(--rojo) !important;
  animation: shake 0.4s ease;
}

/* ============================================
   IMPRESION
   ============================================ */
@media print {
  header,
  #columna-izquierda,
  footer {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  body::before,
  body::after {
    display: none;
  }

  main {
    display: block;
    width: 100%;
    margin: 0;
  }

  #seccion-setlist {
    position: static;
    height: auto;
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 0;
    border: none;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  .boton-eliminar,
  #lista-canciones .numero,
  #lista-canciones .duracion,
  #guia-orden,
  #pie-setlist,
  #consejo-exportar,
  h2 {
    display: none !important;
  }

  #info-concierto {
    border-bottom: 1px solid #ccc;
    text-align: center;
    margin-bottom: 12pt;
    padding-bottom: 10pt;
  }

  #info-concierto p:first-of-type {
    color: black;
    font-size: 20pt;
    text-shadow: none;
  }

  #info-concierto p:last-of-type {
    color: #555;
    font-size: 11pt;
  }

  #logo-preview-setlist {
    max-height: 60pt;
  }

  #lista-canciones li {
    display: flex !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 0 !important;
    justify-content: center !important;
  }

  #lista-canciones .nombre {
    display: block !important;
    color: black !important;
    font-size: 32pt !important;
    line-height: 1.15 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  main {
    grid-template-columns: 1fr;
  }

  #seccion-setlist {
    position: static;
    order: -1;
    height: auto;
    max-height: none;
  }

  #lista-canciones {
    overflow: visible;
  }
}

@media (max-width: 680px) {
  header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  header {
    grid-template-columns: 1fr auto;
    padding-top: 18px;
  }

  .header-logo {
    grid-column: 1;
    justify-self: start;
    height: clamp(74px, 20vw, 98px);
  }

  .lang-selector {
    grid-column: 2;
  }

  main {
    gap: 14px;
    margin-bottom: 18px;
  }

  #columna-izquierda {
    gap: 14px;
  }

  #columna-izquierda > section,
  #seccion-setlist {
    padding: 18px;
  }

  .campos-fila,
  .campo-con-boton {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  #boton-buscar-spotify {
    width: 100%;
  }

  .campo-logo {
    grid-template-columns: 1fr;
  }

  .boton-subir-logo {
    width: 100%;
  }

  #lista-canciones li {
    grid-template-columns: 32px minmax(0, 1fr) auto;
    grid-template-areas:
      "num name del"
      "num time del";
    gap: 3px 10px;
    min-height: 70px;
    padding: 11px 0;
  }

  #lista-canciones li .numero {
    grid-area: num;
  }

  #lista-canciones li .nombre {
    grid-area: name;
    font-size: 21px;
  }

  #lista-canciones li .duracion {
    grid-area: time;
  }

  .boton-eliminar {
    grid-area: del;
  }

  #tiempo-total {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  footer {
    flex-direction: column;
    gap: 2px;
    padding: 18px 0 24px;
  }
}

@media (max-width: 420px) {
  header,
  main,
  footer {
    width: min(100% - 20px, 1180px);
  }

  #columna-izquierda > section,
  #seccion-setlist {
    padding: 16px;
  }

  h2 {
    font-size: 11px;
    letter-spacing: 2.6px;
  }

  #lista-canciones li .nombre {
    font-size: 19px;
  }

  #duracion-total {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
