/* 整体音乐播放器样式 */
.yyMusic {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0;
}

/* 滚动条样式 */
.yyMusic ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.yyMusic ::-webkit-scrollbar-track {
    background-color: transparent;
}

.yyMusic ::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
}

.yyMusic ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.yyMusic ::-webkit-scrollbar-thumb:active {
    background-color: rgba(0, 0, 0, 0.3);
}

/* 歌词区域样式 */
.yyMusicLrc {
    background-color: #f7f7f7;
}

.yyMusicLrc .lrcText {
    min-height: 90px;
    height: 90px;
    width: 100% !important;
    padding: 0 5px;
    overflow-y: auto;
    resize: auto;
}

.yyMusicLrc .lrcText .loadLrc {
    margin: 0;
    padding: 30px 0;
}

.yyMusicLrc .lrcText .loadLrc li {
    list-style-type: none;
    text-align: center;
    font-size: 12px !important;
    line-height: 30px;
    color: #bfbfbf;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.5s linear;
}

.yyMusicLrc .lrcText .loadLrc li.currline {
    color: #e67cff;
    font-size: 16px !important;
    text-shadow: 0px 0px 10px rgba(255, 0, 82, 0.4);
}

.yyMusicLrc .lrcText .defaultLrc {
    text-align: center;
    padding: 30px;
    line-height: 30px;
    color: #ffffff;
    /* text-shadow:2px 2px 4px rgba(0, 0, 0, 0.8); */
}

/* 去除列表样式和设置基本盒模型 */
.yyMusic * {
    list-style-type: none !important;
    padding: 0;
    border: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none !important;
}

/* 播放控制区域样式 */
.yyMusicView {
    display: flex;
    padding: 15px;
    align-items: center;
    background-color: white;
    color: black;
    position: relative;
    z-index: 100;
}

.yyMusicView * {
    z-index: inherit;
}

/* 进度条背景样式 */
.yyMusicView .progress-bg {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    cursor: pointer;
}

/* 进度条样式 */
.yyMusicView .progress {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 173, 255, 0.2);
    z-index: 1;
    background: linear-gradient(20deg, #fbcaca, #ffecb8, #9bc3ff);
    width: 0; /* 初始宽度为 0 */
}

/* 播放按钮样式 */
.yyMusicView .playbtn>a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: black !important;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.yyMusicView .playbtn>a:hover {
    color: unset;
    text-decoration: none !important;
}

.yyMusicView .playbtn>a i {
    font-size: 16px;
    text-align: center;
}

/* 歌曲名称样式 */
.yyMusicView .songname {
    flex: 1;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 音频时间显示样式 */
.yyMusicView .audioTime {
    padding: 0 10px;
    font-size: 12px;
}

/* 音乐列表样式 */
.yyMusic .yyMusicList {
    display: block;
    width: 100% !important;
}

.yyMusic .yyMusicList .list_scroll {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100px;
    background-color: #f3f3f3;
}

.yyMusic .yyMusicList .list_scroll .list_data {
    padding: 10px 0;
}

.yyMusic .yyMusicList .list_scroll .list_data .list_item {
    color: #636363;
    padding: 0 12px;
    line-height: 30px;
    position: relative;
}

.yyMusic .yyMusicList .list_scroll .list_data .list_item:hover {
    color: #fe5dff;
}

.yyMusic .yyMusicList .list_scroll .list_data .list_item+li {
    margin-top: 3px;
}

.yyMusic .yyMusicList .list_scroll .list_data .list_item.curr {
    color: #fe5dff;
    background-color: #e7e7e7;
}

.yyMusic .yyMusicList .list_scroll .list_data .list_item.curr:before {
    content: "";
    border-left: 3px solid #fe5dff;
    position: absolute;
    left: 0;
    height: 100%;
    width: 0;
}

.yyMusic .yyMusicList .list_scroll .list_data .list_item a {
    display: block;
    color: inherit;
    cursor: pointer;
}