* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
    color: #e0e0e0;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.playlist_box {
    position: absolute;
    left: 0;
    width: 20%;
    height: 100%;
    background: rgba(35, 35, 35, 0.8);
    border-right: 1px solid rgba(118, 118, 118, 0.3);
    z-index: 1;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

/* 搜索框样式 */
.search-container {
    padding: 20px;
    border-bottom: 1px solid rgba(118, 118, 118, 0.2);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(58, 58, 58, 0.6);
    border-radius: 20px;
    padding: 8px 15px;
    border: 1px solid rgba(118, 118, 118, 0.3);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #6a9eff;
    box-shadow: 0 0 0 2px rgba(106, 158, 255, 0.2);
}

.search-icon {
    color: #888;
    margin-right: 8px;
    flex-shrink: 0;
}

.search-input {
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 14px;
    flex: 1;
    outline: none;
}

.search-input::placeholder {
    color: #888;
}

.search-clear {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

/* 搜索结果样式 */
.search-results-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(118, 118, 118, 0.2);
    font-size: 14px;
    color: #6a9eff;
    font-weight: 600;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(118, 118, 118, 0.1);
}

.search-result-item:hover {
    background: rgba(106, 158, 255, 0.1);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-artist {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-album {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

.search-result-play {
    width: 30px;
    height: 30px;
    background: rgba(106, 158, 255, 0.2);
    border: 1px solid rgba(106, 158, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.search-result-item:hover .search-result-play {
    opacity: 1;
}

.search-result-play:hover {
    background: rgba(106, 158, 255, 0.3);
    transform: scale(1.1);
}

/* 用户信息容器 */
.user-info-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 5;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(58, 58, 58, 0.9);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(118, 118, 118, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-info:hover {
    background: rgba(70, 70, 70, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6a9eff;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 2px;
}

.user-status {
    font-size: 12px;
    color: #6a9eff;
}

.login-prompt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(58, 58, 58, 0.9);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(118, 118, 118, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.login-prompt:hover {
    background: rgba(70, 70, 70, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.login-text {
    font-size: 14px;
    font-weight: 600;
    color: #e0e0e0;
}

.login-icon {
    width: 20px;
    height: 20px;
    color: #6a9eff;
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(58, 58, 58, 0.95);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 150px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(118, 118, 118, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: none;
}

.user-menu.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #e0e0e0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-item:hover {
    background: rgba(106, 158, 255, 0.2);
}

.menu-item.logout {
    color: #ff6b6b;
    border-top: 1px solid rgba(118, 118, 118, 0.3);
}

.menu-item.logout:hover {
    background: rgba(255, 107, 107, 0.2);
}

.login-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.login-box {
    background: linear-gradient(145deg, #3a3a3a, #4a4a4a);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 380px;
    padding: 30px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-header {
    margin-bottom: 25px;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #6a9eff, #a174fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    font-size: 14px;
    color: #aaa;
}

.qrcode-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.qrcode-placeholder {
    width: 180px;
    height: 180px;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    position: relative;
}

.qrcode-placeholder::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background:
            linear-gradient(90deg, transparent 49%, #e0e0e0 49%, #e0e0e0 51%, transparent 51%),
            linear-gradient(transparent 49%, #e0e0e0 49%, #e0e0e0 51%, transparent 51%);
    background-size: 20px 20px;
}

.qrcode-placeholder::after {
    content: "请使用网易云App扫描二维码";
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.qrcode-refresh {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(108, 108, 108, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.qrcode-refresh:hover {
    background: rgba(138, 138, 138, 0.9);
    transform: rotate(90deg);
}

.login-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #6a9eff, #a174fb);
    color: white;
    flex: 1;
    margin-right: 10px;
}

.btn-secondary {
    background: rgba(108, 108, 108, 0.5);
    color: #e0e0e0;
    flex: 1;
    margin-left: 10px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.login-footer {
    margin-top: 25px;
    font-size: 13px;
    color: #888;
}

.login-footer a {
    color: #6a9eff;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.status-message {
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.status-success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    display: block;
}

.status-error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
    display: block;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #fff;
}

/* 优化每日推荐样式 */
.today-recommend {
    position: relative;
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(118, 118, 118, 0.2);
    background: linear-gradient(135deg, rgba(106, 158, 255, 0.1) 0%, rgba(161, 116, 251, 0.1) 100%);
    overflow: hidden;
}

.today-recommend::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 158, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.today-recommend:hover::before {
    left: 100%;
}

.today-recommend:hover {
    background: linear-gradient(135deg, rgba(106, 158, 255, 0.2) 0%, rgba(161, 116, 251, 0.2) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(106, 158, 255, 0.3);
}

.today-recommend.active {
    background: linear-gradient(135deg, rgba(106, 158, 255, 0.25) 0%, rgba(161, 116, 251, 0.25) 100%);
    border-left: 4px solid #6a9eff;
    transform: translateX(8px);
}

.today-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6a9eff, #a174fb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(106, 158, 255, 0.4);
}

.today-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.today-content {
    flex: 1;
}

.today-title {
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 4px;
}

.today-subtitle {
    font-size: 12px;
    color: #6a9eff;
    opacity: 0.8;
}

.today-badge {
    background: linear-gradient(135deg, #ff6b6b, #ffa36b);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 10px;
}

/* 歌单列表样式 */
.playlist-header {
    padding: 20px;
    border-bottom: 1px solid rgba(118, 118, 118, 0.3);
}

.playlist-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0;
}

.playlist-list {
    padding: 10px 0;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(118, 118, 118, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.5s ease both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.playlist-item::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(106, 158, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.playlist-item:hover::before {
    left: 100%;
}

.playlist-item.active {
    background: rgba(106, 158, 255, 0.15);
    border-left: 4px solid #6a9eff;
    transform: translateX(5px);
}

.playlist-item.active .playlist-active-indicator {
    opacity: 1;
    transform: scale(1);
}

.playlist-active-indicator {
    position: absolute;
    right: 15px;
    width: 8px;
    height: 8px;
    background: #6a9eff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.playlist-cover {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    flex-shrink: 0;
}

.playlist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-play-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-item:hover .playlist-play-btn {
    opacity: 1;
}

.playlist-info {
    flex: 1;
    min-width: 0;
}

.playlist-name {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #888;
}

.playlist-creator {
    color: #6a9eff;
}

.songlist_box{
    position: absolute;
    left: 20%;
    top: 0;
    width: 80%;
    height: calc(100% - 80px);
    overflow-y: auto;
    padding: 20px;
    background: rgba(30, 30, 30, 0.5);
}

/* 歌曲列表优化 */
.song {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(118, 118, 118, 0.2);
    margin-bottom: 8px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 15px;
    background: rgba(58, 58, 58, 0.5);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.5s ease both;
}

.song:hover {
    background: rgba(106, 158, 255, 0.1);
    transform: translateX(8px);
    border-color: rgba(106, 158, 255, 0.5);
    box-shadow: 0 4px 15px rgba(106, 158, 255, 0.2);
}

.song.active {
    background: rgba(106, 158, 255, 0.15);
    border-left: 4px solid #6a9eff;
    transform: translateX(8px);
}

.song.active .song-index {
    color: #6a9eff;
    font-weight: bold;
}

.song-index {
    width: 25px;
    font-size: 13px;
    color: #888;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.song-info {
    flex: 1;
    min-width: 0;
}

.song-name {
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.song-artist {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-duration {
    font-size: 12px;
    color: #888;
    margin-left: 10px;
    flex-shrink: 0;
}

.song-album {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
}

/* 修复控制栏样式 */
.player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(35, 35, 35, 0.95);
    border-top: 1px solid rgba(85, 85, 85, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 100;
    backdrop-filter: blur(15px);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    background: rgba(106, 158, 255, 0.1);
    border: 1px solid rgba(106, 158, 255, 0.3);
    color: #e0e0e0;
    font-size: 16px;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(106, 158, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(106, 158, 255, 0.3);
}

.control-btn:active {
    transform: scale(0.95);
}

#playBtn {
    background: rgba(106, 158, 255, 0.2);
    border: 2px solid #6a9eff;
    padding: 14px;
}

#playBtn:hover {
    background: rgba(106, 158, 255, 0.3);
    box-shadow: 0 6px 20px rgba(106, 158, 255, 0.4);
}

.progress-container {
    width: 400px;
    height: 6px;
    background: #555;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
    margin: 0 15px;
}

.progress-container:hover {
    height: 8px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6a9eff, #a174fb);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

/* 时间显示样式 */
.progress-time-display {
    position: absolute;
    top: -20px;
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.current-time {
    left: 0;
}

.duration-time {
    right: 0;
}

.progress-container:hover .progress-time-display {
    opacity: 1;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.volume-control input[type="range"] {
    width: 100px;
    height: 4px;
    background: #555;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #6a9eff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-control input[type="range"]::-webkit-slider-thumb:hover {
    background: #5a8eff;
    transform: scale(1.2);
}

.now-playing {
    color: #e0e0e0;
    font-size: 14px;
    text-align: right;
    flex: 1;
    margin-left: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(45, 45, 45, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6a9eff, #a174fb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a8eff, #9164fa);
}

/* 加载动画 */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .playlist_box {
        width: 100%;
        height: auto;
        position: relative;
    }

    .songlist_box {
        left: 0;
        width: 100%;
        height: calc(100% - 180px);
    }

    .player-container {
        padding: 0 15px;
    }

    .player-controls {
        gap: 10px;
    }

    .progress-container {
        width: 200px;
    }

    .volume-control {
        display: none;
    }
}
/* 歌词显示样式 */
.lyrics-container {
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
    height: calc(100% - 80px);
    background: rgba(30, 30, 30, 0.9);
    border-left: 1px solid rgba(118, 118, 118, 0.3);
    padding: 20px;
    overflow-y: auto;
    backdrop-filter: blur(15px);
    z-index: 2;
    transition: transform 0.3s ease;
}

.lyrics-container.hidden {
    transform: translateX(100%);
}

.lyrics-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(118, 118, 118, 0.3);
}

.lyrics-title {
    font-size: 18px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 8px;
}

.lyrics-song-info {
    font-size: 14px;
    color: #888;
}

.lyrics-content {
    text-align: center;
    line-height: 1.6;
}

.lyrics-line {
    font-size: 16px;
    color: #666;
    margin: 15px 0;
    transition: all 0.3s ease;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: default;
    min-height: 24px;
}

.lyrics-line.active {
    color: #6a9eff;
    font-size: 18px;
    font-weight: 600;
    transform: scale(1.05);
    background: rgba(106, 158, 255, 0.15);
    text-shadow: 0 0 10px rgba(106, 158, 255, 0.5);
}

.lyrics-line.past {
    color: #888;
}

.lyrics-line.future {
    color: #555;
}

/* 优化翻译歌词样式 */
.lyrics-translation {
    font-size: 14px;
    color: #a174fb;
    margin-top: 8px;
    font-style: italic;
    line-height: 1.4;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.lyrics-line.active .lyrics-translation {
    color: #b18cff;
    font-size: 15px;
    font-weight: 500;
    opacity: 1;
    text-shadow: 0 0 8px rgba(161, 116, 251, 0.3);
}

.no-lyrics {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 50px;
    line-height: 1.6;
}

.lyrics-loading {
    text-align: center;
    color: #6a9eff;
    font-size: 14px;
    margin-top: 50px;
}

/* 调整歌曲列表宽度以适应歌词显示 */
.songlist_box {
    position: absolute;
    left: 20%;
    top: 0;
    width: 50%;
    height: calc(100% - 80px);
    overflow-y: auto;
    padding: 20px;
    background: rgba(30, 30, 30, 0.5);
    transition: width 0.3s ease;
}

.songlist_box.full-width {
    width: 80%;
}

/* 修复控制栏样式 - 添加歌词控制按钮 */
.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: rgba(106, 158, 255, 0.1);
    border: 1px solid rgba(106, 158, 255, 0.3);
    color: #e0e0e0;
    font-size: 16px;
    cursor: pointer;
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(106, 158, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(106, 158, 255, 0.3);
}

.control-btn:active {
    transform: scale(0.95);
}

#playBtn {
    background: rgba(106, 158, 255, 0.2);
    border: 2px solid #6a9eff;
    padding: 14px;
}

#playBtn:hover {
    background: rgba(106, 158, 255, 0.3);
    box-shadow: 0 6px 20px rgba(106, 158, 255, 0.4);
}

/* 歌词控制按钮 */
#lyricsToggle {
    background: rgba(161, 116, 251, 0.1);
    border: 1px solid rgba(161, 116, 251, 0.3);
    color: #a174fb;
}

#lyricsToggle:hover {
    background: rgba(161, 116, 251, 0.2);
    box-shadow: 0 4px 12px rgba(161, 116, 251, 0.3);
}

#lyricsToggle.active {
    background: rgba(161, 116, 251, 0.25);
    border: 2px solid #a174fb;
}

.progress-container {
    width: 300px;
    height: 6px;
    background: #555;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.progress-container:hover {
    height: 8px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6a9eff, #a174fb);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.volume-control input[type="range"] {
    width: 80px;
    height: 4px;
    background: #555;
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: #6a9eff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-control input[type="range"]::-webkit-slider-thumb:hover {
    background: #5a8eff;
    transform: scale(1.2);
}

.now-playing {
    color: #e0e0e0;
    font-size: 14px;
    text-align: right;
    flex: 1;
    margin-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 歌词滚动效果 */
.lyrics-scroll-container {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .lyrics-container {
        width: 35%;
    }

    .songlist_box {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .lyrics-container {
        width: 100%;
        transform: translateX(100%);
    }

    .lyrics-container.show-mobile {
        transform: translateX(0);
    }

    .songlist_box {
        width: 100%;
        left: 0;
    }

    .progress-container {
        width: 150px;
    }

    .volume-control {
        display: none;
    }

    #lyricsToggle {
        display: none;
    }
}