/* Snowtrace 音乐页样式（黑胶唱片 + 播放联动效果） */

.music-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 24px;
}

/* 背景光斑：让亚克力磨砂效果有内容可透 */
.music-stage::before,
.music-stage::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(36px);
  pointer-events: none;
}

.music-stage::before {
  width: 240px;
  height: 240px;
  background: rgba(126, 200, 247, 0.55);
  top: 60px;
  left: 2%;
}

.music-stage::after {
  width: 220px;
  height: 220px;
  background: rgba(247, 184, 216, 0.5);
  top: 190px;
  right: 2%;
}

.music-stage > * {
  position: relative;
  z-index: 1;
}

.vinyl {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-radial-gradient(circle at 50% 50%, #161616 0 2px, #0d0d0d 2px 4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  animation: vinyl-spin 18s linear infinite;
  animation-play-state: paused;
  transition: box-shadow 0.4s ease;
}

/* 播放时：唱片旋转 + 蓝色光晕 */
.vinyl.playing {
  animation-play-state: running;
  box-shadow: 0 0 42px rgba(73, 177, 245, 0.5);
}

.vinyl::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8e8e8;
}

.vinyl-inner {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  background: #1d1d1d;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.vinyl-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes vinyl-spin {
  to {
    transform: rotate(360deg);
  }
}

#music-player {
  width: min(640px, 100%);
}

/* 播放器卡片：圆角 + 亚克力磨砂玻璃 */
#music-player .aplayer {
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(238, 247, 255, 0.66) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(64, 128, 180, 0.16);
}

/* 正在播放栏：更亮的玻璃高光，与歌单和背景拉开层次 */
#music-player .aplayer .aplayer-body {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.06) 100%);
}

/* 歌曲封面小图：圆角 + 轻微浮起 */
#music-player .aplayer .aplayer-pic {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* 歌单面板：同样亚克力 */
#music-player .aplayer .aplayer-list {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
}

#music-player .aplayer .aplayer-list li:hover {
  background: rgba(73, 177, 245, 0.14);
}

#music-player .aplayer .aplayer-list li.aplayer-list-light {
  background: rgba(73, 177, 245, 0.12);
}

/* 歌单与正在播放的信息之间留出间距 */
#music-player .aplayer .aplayer-list ol {
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
