@charset "utf-8";
/*
Theme ID: jipumi.com
Author: 天下
Author QQ：640661
Author Email：640661@qq.com
Author URL: http://www.jipumi.com/
*/

.music-player-container {
    width: 100%;
    max-width: 1000px;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.container-header {
    background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
    color: white;
    padding: 24px 30px;
    text-align: center;
    position: relative;
}

.container-header h1 {
    font-size: 1.9rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.container-header p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 播放器样式 */
.player-section {
    padding: 25px 30px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    display: none;
}

.player-wrapper {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 25px;
}

.album-art {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #3494E6, #EC6EAD);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5.8rem;
    padding-right: 5px;
}

.player-controls {
    flex: 1;
}

.song-info {
    margin-bottom: 20px;
}

.song-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.song-artist {
    font-size: 1rem;
    color: #666;
}

.progress-area {
    margin-bottom: 15px;
    padding-left: 10px;    
}

.progress-bar {
    height: 6px;
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 5px;
    overflow: hidden;
    cursor: pointer;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3494E6, #EC6EAD);
    border-radius: 10px;
    transition: width 0.1s linear;
}

.timer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.control-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #4776E6;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background-color: rgba(71, 118, 230, 0.1);
    transform: scale(1.1);
}

.control-btn.play-pause {
    background: linear-gradient(135deg, #4776E6, #8E54E9);
    color: white;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    padding-left: 6px;
}

.control-btn.play-pause:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(71, 118, 230, 0.3);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 150px;
}

.volume-control i {
    color: #666;
    font-size: 1.5rem;
}

.volume-slider {
    flex: 1;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    margin-left: 5px;
}

.volume-progress {
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, #4776E6, #8E54E9);
    border-radius: 10px;
}

.lyrics-split-view {
    display: flex;
    min-height: 400px;
}

.lyrics-panel {
    flex: 1;
    padding: 0;
    position: relative;
    transition: all 0.3s ease;
}

.lyrics-panel.active {
    flex: 1;
}

.panel-header {
    padding: 20px 25px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lrc-header {
    background: linear-gradient(90deg, #3494E6 0%, #EC6EAD 100%);
}

.text-header {
    background: linear-gradient(90deg, #EC6EAD 0%, #3494E6 100%);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 600;
}
.panel-title span{
    padding-left: 10px;
    font-size: 1.8rem;
}
.panel-icon {
    font-size: 1.4rem;
    background-color: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-indicator {
    font-size: 0.85rem;
    background-color: rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 50px;
}

.panel-content {
    padding: 25px;
    height: calc(100% - 70px);
    overflow-y: auto;
}

.lyrics-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.lyrics-text ul {
    list-style-type: none;
}

.lyrics-text li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 1.5rem;
}

.lyrics-text li:last-child {
    border-bottom: none;
}

.lrc-line {
    margin: 8px 0;
    padding-left: 10px;
    border-left: 3px solid #3494E6;
}

.time-stamp {
    color: #3494E6;
    font-weight: 500;
    font-size: 0.9rem;
    margin-right: 10px;
}

.divider {
    width: 2px;
    background: linear-gradient(to bottom, #3494E6, #EC6EAD);
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    border: 2px solid #EC6EAD;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.divider::after {
    content: "⇄";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: bold;
    color: #4776E6;
}

.switch-tabs {
    display: none;
}

.footer-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    padding: 20px 30px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-note i {
    color: #8E54E9;
}

@media (max-width: 900px) {
    .lyrics-split-view {
        flex-direction: column;
    }
    
    .lyrics-panel {
        width: 100%;
    }
    
    .divider {
        display: none;
    }
    
    .player-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .album-art {
        width: 120px;
        height: 120px;
    }
    
    .player-controls {
        width: 100%;
    }
    
    .switch-tabs {
        display: flex;
        background-color: #f0f0f0;
        padding: 0;
        margin: 0;
    }
    
    .tab-button {
        flex: 1;
        padding: 18px 20px;
        text-align: center;
        background-color: transparent;
        border: none;
        font-size: 1.1rem;
        font-weight: 600;
        color: #666;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .tab-button.active {
        background-color: white;
        color: #4776E6;
        box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05);
    }
    
    .lyrics-panel {
        display: none;
    }
    
    .lyrics-panel.active {
        display: block;
    }
}

@media (max-width: 600px) {
    .container-header {
        padding: 20px;
    }
    
    .container-header h1 {
        font-size: 1.5rem;
    }
    
    .player-section {
        padding: 20px;
    }
    
    .panel-header {
        padding: 15px 20px;
    }
    
    .panel-title {
        font-size: 1.1rem;
    }
    
    .panel-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    
    .panel-content {
        padding: 20px;
    }
    
    .lyrics-text {
        font-size: 1rem;
    }
    
    .footer-note {
        padding: 15px 20px;
        flex-direction: column;
        gap: 5px;
    }
    
    .volume-control {
        width: 120px;
    }
}

/* 滚动条样式 */
.panel-content::-webkit-scrollbar {
    width: 6px;
}

.panel-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.panel-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3494E6, #EC6EAD);
    border-radius: 10px;
}

.panel-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #2a7bc8, #d45c99);
}