/* MediaPlayer.css - 精简版 */
.audio-player {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  font-family: Arial, sans-serif;
}
.player-circle {
  width: 50px;
  height: 50px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
}
.player-circle.playing {
  animation: rotate 3s linear infinite;
}
.player-circle svg {
  width: 24px;
  height: 24px;
  fill: white;
}
.player-panel {
  position: absolute;
  left: 60px;
  top: 0;
  background: white;
  border-radius: 25px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  height: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.player-panel.open {
  opacity: 1;
  width: 300px;
  padding: 0 15px;
}
.controls {
  display: flex;
  align-items: center;
  width: 100%;
}
.play-btn, .mute-btn {
  background: none;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn svg, .mute-btn svg {
  width: 20px;
  height: 20px;
  fill: #4a6ee0;
}
.progress-container {
  flex: 1;
  height: 5px;
  background: #e0e0e0;
  border-radius: 5px;
  margin: 0 10px;
  cursor: pointer;
  position: relative;
}
.progress-bar {
  height: 100%;
  background: #4a6ee0;
  border-radius: 5px;
  width: 0%;
}
.time-display {
  font-size: 12px;
  color: #666;
  min-width: 100px;
  text-align: center;
}
.volume-container {
  display: flex;
  align-items: center;
  margin-left: 10px;
}
.volume-slider {
  width: 80px;
  margin: 0 5px;
}
.netease-player {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
}
.netease-toggle {
  width: 50px;
  height: 50px;
  background: #007bff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  position: relative;
}
.netease-toggle svg {
  width: 24px;
  height: 24px;
  fill: white;
}
.netease-iframe {
  position: absolute;
  left: 60px;
  top: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.netease-iframe.open {
  opacity: 1;
  width: 330px;
  height: 86px;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}