.boombox-wrapper {
  text-align: center;
  margin: 40px auto;
}

#openBoombox {
  width: 200px;
  cursor: pointer;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000; /* siempre arriba de otros elementos */
  width: 150px; /* tamaño opcional, puedes cambiarlo */
  height: auto;
}

#boombox {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  background: #c0c0c0;
  border: 2px solid #000;
  width: 600px;
  z-index: 1000;
  font-size: 12px;
}
img{
  image-rendering: pixelated;    /* fuerza que se vean los píxeles grandes */
  image-rendering: crisp-edges;  /* en algunos navegadores funciona mejor */
      
}

.popup-header {
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000080;
  color: #fff;
  padding: 2px 5px;
  border-bottom: 2px solid #000;
  font-weight: bold;
}

.closeBtn {
  background: #c0c0c0;
  border: 1px solid #000;
  padding: 0 5px;
  cursor: pointer;
}
.closeBtn:hover { background: #fff; }

.cassette-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.cassette {
  width: 100px;
  height: 60px;
  border: 1px solid #000;
  cursor: pointer;
}
.cassette:hover {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}
.cassette.active { border: 2px solid #ff0; }

#cassetteAnimation {
  display: none;
  width: 200px;
  margin: 10px auto;
}

#progressContainer {
  margin: 5px auto;
  width: 80%;
  height: 8px;
  background: #808080;
}
#progressBar {
  width: 0%;
  height: 100%;
  background: #ff0;
}
