/* 像素画风格弹窗样式 */
.pixel-popup {
  position: fixed;
  top: 42%;
  left: 200px;
  width: 300px;
  height: 200px;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 4px solid #fff;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 0 0 4px #000, 0 0 0 8px #fff;
  display: none;
  font-family: 'Courier New', monospace;
  color: #fff;
  text-align: center;
  min-width: 200px;
}

/* 弹窗标题 */
.pixel-popup-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

/* 弹窗内容 */
.pixel-popup-content {
  font-size: 14px;
  margin-bottom: 15px;
  color: #fff;
}

/* 弹窗关闭按钮 */
.popup-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  font-size: 28px;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 弹窗显示 */
.pixel-popup.show {
  display: block;
}

/* 像素风格音乐播放器 */
.pixel-music-player {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 300px;
  background-color: #000;
  border: 4px solid #fff;
  padding: 15px;
  z-index: 1000;
  box-shadow: 0 0 0 4px #000, 0 0 0 8px #fff;
  font-family: 'Courier New', monospace;
  color: #fff;
  display: none;
}

/* 播放器显示 */
.pixel-music-player.show {
  display: block;
}

/* 播放器标题 */
.player-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
}

/* 音乐信息 */
.music-info {
  font-size: 12px;
  margin-bottom: 15px;
  text-align: center;
  color: #fff;
}

/* 进度条容器 */
.progress-container {
  width: 100%;
  height: 20px;
  background-color: #333;
  margin-bottom: 15px;
  border: 2px solid #fff;
  position: relative;
}

/* 进度条 */
.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #fff;
  transition: width 0.1s linear;
}

/* 控制按钮容器 */
.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* 控制按钮 */
.control-btn {
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

/* 关闭按钮 */
.player-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  font-size: 28px;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}