:root {
    --bg-image: linear-gradient(to bottom, #ffc8c8, #ff8383);
    --lrc-HL: #c20c0c;
}

#lrc1,#lrc2{
    color: var(--lrc-HL) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: rgb(50, 50, 50);
    margin: 0;
    margin-bottom: 5px;
}

h5,
h6 {
    color: rgb(96, 96, 96);
}

p {
    margin: 0;
}

body {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-image: var(--bg-image);
}

.lrc {
    color: #696969;
    padding-top: 15px;
    transition-duration: 100ms;
}

.clear {
    color: #686868;
}

#lrc_p p {
    margin: 7px 0;
}

img {
    border-radius: 5px;
}

.img {
    float: left;
}

.musicserchlist {
    background-color: #f5f5f5;
}

.musicserchlist table {
    border: none;
    padding: 0px;
    margin: 0px;
    width: 100%;
    background: rgb(255, 255, 255);
    cursor: default;
    border-spacing: 0px;
}

.music_box {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 5px;
    box-shadow: 0 0 5px rgba(82, 82, 82, 0.5);
}

.lrc_box {
    width: calc(100% - 88px);
    padding-bottom: 10px;
    background-color: rgba(188, 249, 179, 0);
    text-align: center;
    margin-left: 88px;
    border-radius: 10px;
    height: 58px;
}

.song {
    font-size: 0.85rem;
    color: #232323;
    border-radius: 5px;
    text-align: center;
    width: calc(100% - 88px);
    margin-left: 88px;
    height: 20px;
    background-color: rgba(215, 246, 212, 0);
}

#singerName {
    font-size: 0.8rem;
    color: #747474;
}

.plyr__controls__item.plyr__volume,
.plyr__controls__item.plyr__menu {
    display: none;
}

/*搜索建议sug*/
td {
    color: #676767;
}

td:hover {
    background-color: #e3e5e7;
    color: rgb(0, 0, 0);
}

/*搜索框与搜索按钮父级div*/
.search {
    padding-bottom: 10px;
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    width: 100%;
}

/*搜索框div*/
.search_box {
    flex: 9;
    margin-left: 1%;
}

/*搜索框样式*/
#search_box {
    background-color: rgba(255, 255, 255, 0.6);
    color: #282828;
    font-size: 13px;
    padding-right: 0px;
    outline: 0;
    width: 95%;
    height: 40px;
    border-radius: 10px;
    border-width: 0px;
    padding-left: 10px;
    border-color: #000000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition-duration: 200ms;
}

/*搜索框聚焦*/
#search_box:focus {
    background-color: rgba(255, 255, 255, 0.9);
}

/*搜索按钮div*/
.search_btn {
    flex: 1;
}

/*搜索按钮样式*/
#search_btn,
.menu button {
    width: 60px;
    height: 42px;
    border-width: 0;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    color: #3880c3;
    font-size: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition-duration: 200ms;
}

/*搜索按钮点击*/
#search_btn:active,
.menu button:active {
    background-color: rgba(0, 179, 255, 0.8);
    border-color: #000000;
    color: #d4edff;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.5);
    transition-duration: 200ms;
}

/*列表总div*/
.searchORlist {
    box-shadow: 0 0 6px rgba(59, 59, 59, 0.5);
    padding-top: 5px;
    background-color: rgba(255, 255, 255, 0.585);
    width: 100%;
    height: calc(100vh - 305px);
    min-height: 380px;
    border-radius: 10px;
    margin-top: 20px;
}

/*按钮盒子*/
.btn_box {
    position: relative;
    padding: 2px;
    background-color: #ffffff97;
    left: calc(50% - 306.17px / 2);
    width: max-content;
    height: 30px;
    border-radius: 20px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

/*搜索与列表选择按钮*/
#listBtn,
#resultBtn,
#boxBtn,
#setBtn {
    background-color: #00000000;
    border: 0px;
    border-radius: 20px;
    width: 72px;
    height: 30px;
    outline: none;
    transition-duration: 50ms;
}


/*歌曲列表div*/
.songList {
    background-color: rgba(234, 255, 255, 0);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    margin: 0px;
    padding-top: 5px;
}

#songList {
    background-color: #ffffff00;
    width: 100%;
    height: 20px;
    margin-left: 3%;
    margin-right: 3%;
    padding-top: 10px;
}

.iframe {
    width: 100%;
    height: calc(100% - 45px);
    border-radius: 10px;
    border-width: 0px;
    padding: 0px;
}

.footnote {
    background-color: rgba(255, 255, 255, 0.784);
    font-size: 14px;
    height: 60px;
    text-align: center;
    color: #636363;
    margin-top: 10px;
    border-radius: 5px;
}

a {
    color: #3980b2;
    text-decoration: none;
}

.playBtn {
    width: 30px;
    height: 28px;
    border: 0;
    outline: 0;
    font-size: 16px;
    background: rgba(0, 0, 0, 0);
    border-radius: 3px;
    color: rgba(74, 84, 100, 0.9);
}

.playBtn:active {
    background-color: rgba(0, 179, 255, 0.6);
    color: #ffffff;
}

.likeBtn {
    display: inline;
}

/* 侧边栏按钮 */
.menu button {
    position: relative;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    transition-duration: 50ms;
    background-color: rgba(255, 255, 255, 0.6);
    /* border-radius: 100%; */
    border-width: 0;
    outline: 0;
    padding: 0;
    z-index: 999;
}

.menu button:active {
    color: #ffffff;
}

/* 侧边栏 */
.sidebar,
.sidebar2 {
    box-shadow: 0 0 10px rgba(59, 59, 59, 0.5);
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 55px;
    left: -100%;
    background-color: rgba(252, 252, 252, 1);
    height: 78%;
    width: 80%;
    transition-duration: 100ms;
    border-radius: 10px;
    z-index: 999;
    padding: 10px;
}

/* 侧边栏内歌词盒子 */
#sidebarLrc {
    text-align: center;
    /*   width: calc(100% - 20px);
    top: calc(36vh - 10px); */
    /* position: absolute; */
    overflow-y: scroll;
    /* height: 30vh; */
    background-color: #3880c300;
    scroll-behavior: smooth;
    z-index: -1;
}

/* 隐藏歌词盒子滚动条 */
#sidebarLrc::-webkit-scrollbar {
    width: 0;
    background-color: #F5F5F5;
}

/* 侧边栏歌词元素 */
#sidebarLrc p {
    color: #6e6e6e;
    font-size: 1rem;
}

/* #sidebarLrc>div:nth-child(2) {
  position: absolute;
  height: 10px;
  width: 100%;
  top: 0;
} */

/* 侧边栏歌词高亮 */
.lrcHL {
    color: var(--lrc-HL) !important;
    font-size: 1.1rem !important;
    font-weight: bold;
}

/* 音乐控件 */
.PlayControlBtn {
    text-align: center;
    color: #4f4f4f;
    border-radius: 100%;
    font-size: 1.2rem;
    padding: 0px;
    width: 50px;
    height: 50px;
    border-width: 0;
    outline: 0;
    background-color: #fefeff;
    box-shadow: 3px 5px 5px rgba(77, 77, 77, 0.3), -3px -5px 10px rgba(137, 208, 255, 0.078);
    margin: 5px;
}

.PlayControlBtn:active {
    box-shadow: unset;
}

#PlayControl {
    display: flex;
}

#PlayControl > div:nth-child(1) {
    position: relative;
    flex: 1;
}

#PlayControl > div:nth-child(2) {
    position: relative;
    flex: 2;
}

#PlayControl > div:nth-child(3) > button {
    width: 60px;
    height: 60px;
}

#PlayControl > div:nth-child(3) {
    flex: 2;
}

#PlayControl > div:nth-child(4) {
    position: relative;
    flex: 2;
}

#PlayControl > div:nth-child(5) {
    position: relative;
    flex: 1;
}

/* 滚动条 */
#progressBar {
    position: relative;
    /* bottom: 90px; */
    width: calc(98% - 110px);
    height: 10px;
    background-color: lightgray;
    border-radius: 20px;
    /* cursor: pointer; */
    left: calc(5% + 40px);
}

#progressBar .progress {
    position: relative;
    /* bottom: 21.5px; */
    height: 100%;
    background-color: #0095ff;
    width: 0;
    border-radius: 20px;
    transition-duration: 200ms;
}

#time-label {
    color: #4f4f4f;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: -5px;
    left: -50px;
}

#duration {
    color: #4f4f4f;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: -5px;
    right: -50px;
}

/* 侧边栏子容器 */
body > div.sidebar > div:nth-child(1) {
    flex: 0.3;
    position: relative;
}

body > div.sidebar > div:nth-child(2) {
    flex: 0.8;
    position: relative;
}

body > div.sidebar > div:nth-child(3) {
    flex: 2;
    position: relative;
}

body > div.sidebar > div:nth-child(4) {
    flex: 0.2;
    position: relative;
    top: 1%
}

body > div.sidebar > div:nth-child(5) {
    flex: 0.4;
    position: relative;
    align-items: center;
}


/*响应式媒体查询*/
@media screen and (min-width: 960px) {
    .music_box {
        width: calc(40% - 10px);
        margin-left: 30%;
    }

    #search_box {
        width: calc(100% - 20px);
    }

    .search {
        width: 40%;
        height: 40px;
        padding-left: calc(30% - 5px);
        padding-bottom: 20px;
    }

    #search_btn:hover,
    .menu button:hover {
        background-color: rgba(255, 255, 255, 0.8);
    }

    #search_btn:active,
    .menu button:active {
        background-color: rgba(0, 179, 255, 0.9);
    }

    #search_box:hover {
        background-color: rgba(255, 255, 255, 0.8);
    }

    #search_box:focus {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .searchORlist {
        width: 40%;
        margin-left: 30%;
    }

    .footnote {
        width: 40%;
        margin-left: 30%;
    }

    .playBtn:hover {
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
        background-color: rgba(0, 179, 255, 0.8);
        transition-duration: 0.3s;
    }

    .playBtn:active {
        background-color: rgba(0, 179, 255, 0.8);
        color: #ffffff;
    }

    .likeBtn {
        display: inline;
    }

    #loopBtn:hover {
        color: #ffffff;
    }

    .menu button {
        margin-left: 5px;
    }

    .sidebar,
    .sidebar2 {
        width: 25%;
        top: 0;
        left: -30%;
        height: 97%;
    }

    .sidebar2 {
        position: absolute;
        left: unset;
        top: -9999px;
        bottom: 100px;
    }

    #progressBar {
        cursor: pointer;
    }

    body > div.sidebar > div:nth-child(2) {
        flex: 0.5;
        position: relative;
    }

    body > div.sidebar > div:nth-child(5) {
        bottom: 10px;
    }

    #lrc_p p p {
        margin: 10px 0;
    }

    .lrcHL {
        color: var(--lrc-HL) !important;
        font-size: 1.2rem !important;
        font-weight: bold;
    }
}


#passwd {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 1009;
    display: none;
}

#passwdbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#passwdbox button {
    margin-top: 10px;
}
