/* 歌词样式 */
.lyrics-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 60px; /* 显示在播放栏上方 */
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-end; /* 从底部对齐 */
    justify-content: center;
    padding-bottom: 20px;
    z-index: 2000; /* 确保在播放栏上方，但低于其他模态框 */
    overflow-y: auto;
}

.lyrics-content {
    background-color: #fff;
    border-radius: 12px 12px 0 0; /* 顶部圆角 */
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: calc(100vh - 100px); /* 减去播放栏高度和padding */
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.lyrics-content h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    text-align: center;
}

.lyrics-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
}

.lyrics-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.lyrics-container {
    max-height: 60vh;
    overflow-y: auto;
    padding: 20px 0;
    text-align: center;
}

.lyric-line {
    padding: 8px 0;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
    line-height: 1.8;
}

.lyric-line.active {
    color: #c62f2f;
    font-size: 18px;
    font-weight: bold;
}

.lyrics-container::-webkit-scrollbar {
    width: 6px;
}

.lyrics-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.lyrics-container::-webkit-scrollbar-thumb {
    background: #c62f2f;
    border-radius: 3px;
}

.lyrics-container::-webkit-scrollbar-thumb:hover {
    background: #d43f3f;
}

/* 歌词控制栏 */
.lyrics-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    gap: 20px;
    flex-wrap: wrap;
}

.lyrics-speed-control,
.lyrics-progress-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lyrics-speed-control label,
.lyrics-progress-control label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.lyrics-speed-control select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    outline: none;
}

.lyrics-speed-control select:hover {
    border-color: #c62f2f;
}

.lyrics-progress-control {
    flex: 1;
    min-width: 200px;
}

.lyrics-progress-control input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.lyrics-progress-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c62f2f;
    cursor: pointer;
}

.lyrics-progress-control input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c62f2f;
    cursor: pointer;
    border: none;
}

#lyrics-progress-time {
    font-size: 12px;
    color: #999;
    min-width: 100px;
    text-align: right;
}

/* 歌词渐变效果 */
.lyric-line {
    padding: 8px 0;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
    line-height: 1.8;
    opacity: 0.6;
    transform: scale(0.95);
}

.lyric-line.active {
    color: #c62f2f;
    font-size: 20px;
    font-weight: bold;
    opacity: 1;
    transform: scale(1);
    text-shadow: 0 0 10px rgba(198, 47, 47, 0.3);
}

/* 歌词行渐变过渡 */
.lyric-line.prev-active {
    opacity: 0.8;
    transform: scale(0.98);
    color: #999;
}

.lyric-line.next-active {
    opacity: 0.7;
    transform: scale(0.97);
}

