/* 完全隐藏所有音乐播放器元素 */

/* 禁用所有音乐播放器相关元素 */
.aplayer, 
#aplayer,
#fallback-music-player,
#fallback-player,
#direct-aplayer,
.aplayer-fixed,
.aplayer-narrow,
.aplayer-withlist,
.aplayer-wrap,
.aplayer *,
.aplayer-container *,
.meting-js,
#meting-js,
div[class*="aplayer"],
div[id*="aplayer"],
div[class*="meting"],
span[class*="aplayer"],
button[class*="aplayer"],
.aplayer-list,
.aplayer-list-light,
.aplayer-lrc,
.aplayer-pic,
.aplayer-info,
.aplayer-music,
.aplayer-miniswitcher,
.aplayer-time,
.aplayer-header,
.aplayer-controller,
.aplayer-author,
.aplayer-title,
.metingjs,
.aplayer-body,
.aplayer-body * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  overflow: hidden !important;
  transform: scale(0) !important;
  clip: rect(0, 0, 0, 0) !important;
}

/* 全局选择器，防止内联样式 */
[class*="aplayer"],
[id*="aplayer"],
[class*="player"],
[id*="player"],
[class*="meting"],
[id*="meting"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  left: -9999px !important;
}

/* 允许左下角显示音乐播放器，但隐藏其他位置的播放器 */

/* 仅保留左下角固定播放器 */
.aplayer-fixed {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  position: fixed !important;
  z-index: 999 !important;
  transform: none !important;
  pointer-events: auto !important;
  overflow: visible !important;
  left: 20px !important; /* 左下角定位 */
  right: auto !important;
  bottom: 20px !important;
  top: auto !important;
  border-radius: 12px !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  max-width: 300px !important;
  margin: 0 !important;
}

/* 确保固定播放器内部元素可见 */
.aplayer-fixed .aplayer-body,
.aplayer-fixed .aplayer-list,
.aplayer-fixed .aplayer-info,
.aplayer-fixed .aplayer-controller,
.aplayer-fixed .aplayer-pic,
.aplayer-fixed .aplayer-miniswitcher,
.aplayer-fixed button,
.aplayer-fixed * {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  z-index: auto !important;
}

/* 美化播放器样式 */
.aplayer-fixed .aplayer-body {
  padding: 0 !important;
  background-color: transparent !important;
}

.aplayer-fixed .aplayer-miniswitcher {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.aplayer-fixed .aplayer-info {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.aplayer-fixed .aplayer-info .aplayer-music .aplayer-title,
.aplayer-fixed .aplayer-info .aplayer-music .aplayer-author {
  color: #333 !important;
}

.aplayer-fixed .aplayer-list ol li:hover,
.aplayer-fixed .aplayer-list ol li.aplayer-list-light {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.aplayer-fixed .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played,
.aplayer-fixed .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-thumb {
  background-color: #3498db !important;
}

/* 隐藏音乐播放器的所有提示和欢迎组件 */
.music-welcome-tip,
.music-welcome-tip.show,
div[class*="music-tip"],
div[class*="welcome-tip"],
.aplayer-notice,
#aplayer-notice {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: scale(0) !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: -9999 !important;
}

/* 音乐卡片相关元素 */
.meting-js:not(.aplayer-fixed *),
.meting-js:not(.aplayer-fixed *) audio,
.meting-js:not(.aplayer-fixed *) div,
.meting-js:not(.aplayer-fixed *) span,
.meting-js:not(.aplayer-fixed *) button,
div[class*="meting"]:not(.aplayer-fixed *) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important; 
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* 阻止音乐相关动画元素 */
.anime-music-btn,
div[class*="anime-music"]:not(.aplayer-fixed *),
button[class*="music-btn"]:not(.aplayer-fixed *),
.music-popup,
div[class*="music-popup"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 左下角播放器样式优化 */
.aplayer-fixed {
  border-radius: 12px !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  max-width: 300px !important;
  margin: 0 !important;
}

.aplayer-fixed .aplayer-body {
  padding: 0 !important;
  background-color: transparent !important;
}

.aplayer-fixed .aplayer-miniswitcher {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.aplayer-fixed .aplayer-info {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.aplayer-fixed .aplayer-info .aplayer-music .aplayer-title,
.aplayer-fixed .aplayer-info .aplayer-music .aplayer-author {
  color: #333 !important;
}

.aplayer-fixed .aplayer-list ol li:hover,
.aplayer-fixed .aplayer-list ol li.aplayer-list-light {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.aplayer-fixed .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played,
.aplayer-fixed .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-thumb {
  background-color: #3498db !important;
}

/* 最严格的全局选择器 (慎用) */
[class*="aplayer"],
[id*="aplayer"],
[class*="meting"],
[id*="meting"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 禁用音乐播放器相关颜色 */
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played,
.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-thumb,
.aplayer .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume,
.aplayer-body, 
.aplayer-miniswitcher,
.aplayer .aplayer-list ol li:hover,
.aplayer .aplayer-list ol li.aplayer-list-light,
.aplayer .aplayer-lrc .aplayer-lrc-contents .aplayer-lrc-current {
  background-color: transparent !important;
  color: transparent !important;
  border-color: transparent !important;
  fill: transparent !important;
  stroke: transparent !important;
} 