/* 现代风格的定位按钮 */
.netease-locate-btn {
    position: fixed;
    right: 20px;
    bottom: 120px;
    width: 42px;
    height: 42px;
    background-color: transparent !important; /* 透明背景 */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: none;
    z-index: 9999;
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 0.3s, transform 0.3s;
    border: none;
    will-change: transform, opacity;
}

.netease-locate-btn:hover {
    transform: scale(1.1) translateX(0);
    opacity: 1;
    box-shadow: none;
    background-color: transparent !important;
}

.netease-locate-btn .locate-crosshair {
    width: 22px;
    height: 22px;
    display: block;
    transition: transform 0.2s;
}

.netease-locate-btn.active .locate-crosshair {
    transform: scale(1.4);
    color: #31c27c !important;
}

/* 定位时的歌曲高亮效果 */
@keyframes highlightSong {
    0% { background-color: rgba(194, 12, 12, 0.1); }
    50% { background-color: rgba(194, 12, 12, 0.2); }
    100% { background-color: rgba(194, 12, 12, 0.1); }
}

.song-highlight {
    animation: highlightSong 0.8s 3;
    position: relative;
}

.song-highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #C20C0C;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .netease-locate-btn {
        width: 36px;
        height: 36px;
        bottom: 80px;
        right: 15px;
    }
    
    .netease-locate-btn i {
        font-size: 18px;
    }
}
