/* QPlayer2 浮动底部歌词条 - 新增功能（不修改原有样式） */
#QPlayer-lyrics-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: rgba(0, 0, 0, .55);
    pointer-events: none;
    z-index: 9998;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#QPlayer-lyrics-bar-text {
    display: inline-block;
    max-width: 82%;
    padding: 0 16px;
    font-size: 18px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 0 8px rgba(0, 0, 0, .5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transition: opacity .4s ease, transform .4s ease;
    -webkit-transition: opacity .4s ease, -webkit-transform .4s ease;
    will-change: opacity, transform;
}

#QPlayer-lyrics-bar-text.QPlayer-lyrics-bar-show {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
}

/* 关闭按钮 */
#QPlayer-lyrics-bar-close {
    position: absolute;
    right: 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    pointer-events: auto;
    border-radius: 50%;
    transition: color .2s, background .2s;
}
#QPlayer-lyrics-bar-close:hover {
    color: #fff;
    background: rgba(255, 255, 255, .15);
}

/* 关闭状态：隐藏整个歌词条 */
#QPlayer-lyrics-bar.QPlayer-lyrics-bar-hidden {
    display: none !important;
}

/* 移动端适配 */
@media (max-width: 768px) {
    /* 播放器和歌词条整体上移 58px */
    #QPlayer {
        bottom: 106px;
    }
    #QPlayer-lyrics-bar {
        /*bottom: 58px;*/
        height: 32px;
        line-height: 32px;
    }
    #QPlayer-lyrics-bar-text {
        font-size: 17px;
        max-width: 78%;
        padding: 0 10px;
    }
    #QPlayer-lyrics-bar-close {
        right: 6px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
    }
}

/* 打印时隐藏 */
@media print {
    #QPlayer-lyrics-bar { display: none !important; }
}
