/* 音乐按钮容器 */
#music-btn {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1000;
    width: 50px; /* 稍微加宽以容纳文字 */
    height: 50px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--zen-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column; /* 垂直排列图标和文字 */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* 音乐图标 */
.music-icon {
    width: 18px;
    height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%238e2323"><path d="M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 2px;
}

/* 状态文字 */
#music-status {
    font-size: 9px;
    color: var(--zen-red);
    font-weight: bold;
    transform: scale(0.8); /* 让文字更小巧 */
}

/* 播放时的旋转动画 */
.music-icon.playing {
    animation: rotation 3s linear infinite;
}

/* 暂停时的半透明 */
.music-icon.paused {
    opacity: 0.4;
}

/* 悬停效果 */
#music-btn:hover {
    background: #fff;
    border-color: var(--zen-red);
}

@media (max-width: 600px) {
    #music-btn { top: 10px; right: 10px; width: 44px; height: 44px; }
}