@charset "UTF-8";

.repro-global {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1500;
  height: 72px;
  background: rgba(22,21,20,0.97);
  border-top: 1px solid rgba(191,182,165,0.12);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1),
              background 0.6s ease;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.45);
}
.repro-global.visible {
  transform: translateY(0);
}

/*Info de pista izquierda*/
.rg-track {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  max-width: 280px;
}
.rg-cover {
  width: 44px; height: 44px;
  border-radius: 6px;
  background: rgba(92,92,84,0.35);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(191,182,165,0.4);
  font-size: 1.1rem;
  overflow: hidden;
}
.rg-cover img {
  width: 100%; height: 100%; object-fit: cover;
}
.rg-info {
  min-width: 0;
}
.rg-titulo {
  font-family: var(--font-title, 'Josefin Sans', sans-serif);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rg-album {
  font-size: 0.72rem;
  color: rgba(191,182,165,0.5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-top: 2px;
}

/* Controles centrales  */
.rg-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 2;
  max-width: 480px;
}
.rg-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rg-btn {
  background: transparent;
  border: none;
  color: rgba(191,182,165,0.65);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.rg-btn:hover { color: #fff; background: rgba(191,182,165,0.1); }
.rg-btn.rg-play {
  width: 40px; height: 40px;
  background: rgba(191,182,165,0.15);
  border: 1px solid rgba(191,182,165,0.25);
  color: #fff;
  font-size: 1.2rem;
}
.rg-btn.rg-play:hover { background: rgba(191,182,165,0.25); }

/* Barra de progreso */
.rg-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.rg-time {
  font-size: 0.68rem;
  color: rgba(191,182,165,0.4);
  font-family: monospace;
  min-width: 30px;
  text-align: center;
}
.rg-bar {
  flex: 1;
  height: 3px;
  background: rgba(191,182,165,0.15);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}
.rg-bar:hover { height: 5px; }
.rg-bar-fill {
  height: 100%;
  background: var(--beige, #BFB6A5);
  border-radius: 3px;
  width: 0%;
  pointer-events: none;
  transition: width 0.1s linear;
}
.rg-bar-thumb {
  position: absolute;
  top: 50%; transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  left: 0%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.rg-bar:hover .rg-bar-thumb { opacity: 1; }

/* Volumen  cerrar derecha*/
.rg-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  max-width: 200px;
}
.rg-vol {
  -webkit-appearance: none;
  appearance: none;
  width: 80px; height: 3px;
  border-radius: 3px;
  background: rgba(191,182,165,0.2);
  cursor: pointer;
  outline: none;
}
.rg-vol::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--beige, #BFB6A5);
  cursor: pointer;
}
.rg-vol::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--beige, #BFB6A5);
  border: none;
  cursor: pointer;
}
/* Boton ir a discografia */
.rg-btn-disc {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(191,182,165,0.1);
  border: 1px solid rgba(191,182,165,0.18);
  color: rgba(191,182,165,0.55);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.rg-btn-disc:hover { color: #fff; background: rgba(191,182,165,0.2); }

.rg-btn-close {
  color: rgba(191,182,165,0.35);
  font-size: 1rem;
}
.rg-btn-close:hover { color: rgba(191,182,165,0.75); background: transparent; }


body.repro-activo {
  padding-bottom: 72px;
}

/* Responsive */
@media (max-width: 680px) {
  .rg-track    { max-width: 140px; }
  .rg-right    { max-width: 80px; }
  .rg-vol      { display: none; }
  .rg-btn-disc { display: none; }
  .rg-time     { display: none; }
  .rg-center   { max-width: none; flex: 2; }
}
@media (max-width: 400px) {
  .repro-global { padding: 0 0.75rem; gap: 0.5rem; }
  .rg-cover     { width: 36px; height: 36px; }
  .rg-track     { max-width: 100px; }
}
