﻿.box-right > .aplayer {
    background: transparent !important;
    width: 100%;
    height: 500px;
    display: flex !important;
    align-items: center !important;
    flex-direction: row-reverse !important;
    box-shadow: none !important;
    overflow: visible !important;
    max-width: 64rem !important;
    justify-content: center !important;
    position: absolute !important;
    margin-top: 1rem !important;
}
.box-right > .aplayer .aplayer-body{
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: absolute !important;
}
.box-right > .aplayer-bar-wrap{
    cursor:none !important;
    width: 70% !important;
    margin: 0 !important;
    display: none !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-time{
    display: flex;
    align-items: center !important;
    height: 30px !important;
    padding: 0 !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner{
    font-size: 21px !important;
    line-height: 1 !important;
    font-family: 'PT Mono';
}
.box-right > .aplayer.aplayer-withlist .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu{
    height: 30px !important;
    width: 30px !important;
    margin-left: 10px !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{
    height: 25px !important;
    width: 25px !important;
    display: block !important;
    margin: 0 !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar,.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded,.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{
    height: 5px !important;
}

.box-right > .aplayer.aplayer-withlrc .aplayer-pic {
    display: flex;
    height: 15rem !important;
    width: 15rem !important;
    border-radius: 50%;
    border: 50px solid #1f1f1f;
    box-shadow: inset 0 0 0 4px #ffffff;
    margin: 10px;
    background-color: #808080 !important;
    z-index: 2;
    position: relative;
}

.box-right > .aplayer.aplayer-withlrc .aplayer-pic:after {
    content:"";
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 390px;
    height: 390px;
    background-size: cover !important;
    background-position: center;
    transform: translate(-50%, -50%);
    z-index: -1;
    background: url(../images/default/changpian.webp);
}

.box-right > .aplayer.aplayer-withlrc .aplayer-info {
    margin-left: 0px !important;
}

.box-right > .aplayer.aplayer-withlrc .aplayer-info {
    background-color: #ffffff00;
    border-radius: 6px;
}

/*歌曲名称*/
.box-right > .aplayer .aplayer-info .aplayer-music .aplayer-title {
    font-size: 30px !important;
}
.box-right > .aplayer .aplayer-info .aplayer-music .aplayer-author{
    display: none !important;
}

.box-right > .aplayer svg{
    fill:#e4e4e7;
}
.box-right .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap {
    display: none;
}
.main-inner .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{
    display: unset;
}

/*音乐列表*/

.aplayer-list{
    width: 80% !important;
}
.box-right > .aplayer.aplayer-withlist .aplayer-list {
    height: 40% !important;
    margin: 0 0 8rem;
    overflow: scroll !important;
    background: #00000030 !important;
    border-radius: 10px !important;
    line-height: 60px !important;
    box-shadow: 0 0 15px #00000090;
    z-index: 0;
    transition: all 1s ease;
    filter: blur(0px);
}
.box-right > .aplayer.aplayer-withlist .aplayer-list.aplayer-list-hide{
    filter: blur(5px) !important;
}
.box-right > .aplayer .aplayer-list ol{
    max-height: 100% !important;
    padding: 20px !important;
}

.box-right > .aplayer .aplayer-list ol li.aplayer-list-light {
    background: #55555550 !important;
    border-radius: 6px !important;
    transform: scale(1.02);
    height: 60px !important;
    font-size: 18px !important;
    line-height: 60px !important;
}
.box-right > .aplayer .aplayer-list ol li .aplayer-list-cur{
    display: none !important;
}

.box-right > .aplayer .aplayer-list ol li:hover {
    background: #ffffff26 !important;
    border-radius: 6px !important;
}

.box-right > .aplayer .aplayer-list ol li {
    border-top: 1px solid transparent !important;
}

.aplayer.aplayer-withlist .aplayer-info {
    border-bottom: 1px solid transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 150% !important;
    height: 120px !important;
    font-family: 'ZCOOL XiaoWei';
}
.box-right > .aplayer .aplayer-info .aplayer-music{
    margin:0 !important;
    overflow: visible !important;
    height: 30px !important;
    margin-bottom: 1rem !important; 
} 

.box-right > .aplayer-list-cur {
    background-color: #eeeeee !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap{
    display: none !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon{
    transition:all .5s ease !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover{
    transform:scale(1.2) !important;
}
.box-right > .aplayer.aplayer-arrow .aplayer-icon-order{
    display: block !important;
    margin: 0 10px !important;
    height: 25px !important;
    width: 25px !important;
}
.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover path{
    fill:#fff;
}

/*歌词间距*/
.box-right > .aplayer .aplayer-lrc {
    margin: 0 !important;
    top:5px !important;
    display: none !important;
}
.box-right > .aplayer .aplayer-info .aplayer-controller{
    bottom: -45% !important;
}

/*歌词大小*/
.box-right > .aplayer .aplayer-lrc p.aplayer-lrc-current {
    font-size: 18px !important;
}

/*全局字体颜色*/
.aplayer .aplayer-info .aplayer-music .aplayer-title,
.aplayer .aplayer-info .aplayer-music .aplayer-author,
.aplayer .aplayer-lrc p,
span.aplayer-list-title,
span.aplayer-list-author,
span.aplayer-list-index {
    color: white !important;
}

/*全局背景*/
.aplayer .aplayer-lrc:after,
.aplayer .aplayer-lrc:before {
    background: transparent !important;
}
.entry-content .aplayer-withlrc{
    box-shadow: 0 5px 10px #00000060 !important;
    margin: 0 !important;
    width: 100% !important; 
}
.entry-content .aplayer-body{
    backdrop-filter: blur(5px) !important;
}
.box-right > .aplayer .aplayer-pic .aplayer-button{
    transform: scale(1.5) !important;
    transition: transform .5s ease;
}
.box-right > .aplayer .aplayer-pic:hover .aplayer-button{
    transform: scale(2) !important;
}
.box-right > .aplayer .aplayer-pic .aplayer-button.aplayer-pause{
    display: none !important;
}


/*Aplayer结束*/


#music-open{
    font-size: 1.875rem;
    margin-right: 0.5rem;
    animation: fadeInTop 1s;
    transition:transform .3s;
    display: flex;
}
#music-open:hover{
    transform:scale(1.2);
}
#music {
    display: flex;
}

.music {
    width: 100%;
    background: rgb(0 0 0 / 25%);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 6px;
    height: 165px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    animation: fade;
    -webkit-animation: fade 0.3s;
    -moz-animation: fade 0.3s;
    -o-animation: fade 0.3s;
    -ms-animation: fade 0.3s;
}

.music-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    width: 100%;
    margin-top: 5rem;
}

.music-button {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.music-control {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 500px;
}

.music-menu {
    height: 26px;
    display: flex;
    align-items: center;
}

.fa-solid.fa-play,
.fa-solid.fa-pause {
    padding: 4px;
    font-size: 2.25rem;
}

#play {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    padding: 6px 6px;
    transition:transform .3s ease;
}

#play:hover {
    background: rgb(255 255 255 / 20%);
    transform:scale(1.2)
}

#last,#next {
    font-size: 1.75rem;
    border-radius: 6px;
    padding: 6px 10px;
    transition:transform .3s ease;
}

#last:hover,#next:hover {
    background: rgb(255 255 255 / 20%);
    transform:scale(1.2)
}

#play:active,#last:active,#next:active {
    transform: scale(0.95);
}

.music-text {
    margin-top: 6px;
    font-size: 1.10rem;
    text-overflow: ellipsis;
    max-width: 220px;
    overflow-x: hidden;
    white-space: nowrap;
    animation: fade;
}

.music-volume {
    display: flex;
    margin-top: 30px;
    align-items: center;
}
@media (max-width:768px){
    .music-volume{
        display: none;
    }
    .box-right > .aplayer.aplayer-withlist .aplayer-info{
        width: 120% !important;
    }
}
@media (max-width:900px){
    .box-right > .aplayer.aplayer-withlist .aplayer-list{
        display: none !important;
    }
    .box-right > .aplayer.aplayer-withlist .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu{
        display: none !important;
    }
}

#volume-ico {
    padding-top: 2px;
    margin-right: 10px;
}

.music-volume i {
    font-size: 1.25rem;
}

.box-right {
    display: flex;
    flex-direction: column;
    justify-items: center;
    position: inherit;
    align-items: center;
    padding: 1rem;
    width: 100%;
    height: 100%;
}

.box {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1996;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    display: none;  
    opacity: 0;  
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease; 
    flex-direction: column-reverse;
}
.box.show {
    opacity: 1;    
}
.closebox {
    font-size: 2.5rem;
    transition:transform .3s ease;
    position: fixed;
    top: 1rem;
    right: 1rem;
    animation: main 1s ease;
}

.closebox:hover {
    transform: scale(1.2) rotateZ(180deg);
}
.box-wrapper {
    position: initial;
    z-index: 1997;
    width: 80%;
    height: 70%;
    background: transparent;
    border-radius: 6px;
    animation: fade .3s;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: main 1s ease;
}
.row {
    align-items: center;
    width: 100%;
    height: 90px;
    border-radius: 7px;
    margin-top: 35rem;
}
.volumerange {
    width: 300px;
}
@media (max-width: 768px){
    .box-wrapper{
    width: 400px;
    flex-direction:column-reverse !important;
    padding: 0 40px;
    z-index: 0;
    margin-top: -5rem;
    }
    .box-right{
        width: 370px;
    }
    .box-right > .aplayer{
        width: 370px;
    }
    .volumerange {
        width: 200px;
    }
    .music-control {
        width: 400px;
    }
    .closebox {
        position: unset;
        z-index: 1;
    }
}
/* 添加到你的样式文件中或通过 JS 注入 */
@keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
.box-right > .aplayer.aplayer-withlrc .aplayer-pic.picrotating {
    animation: spin 15s linear infinite;
  }

@keyframes rotateBack {
    from {
        transform: rotate(var(--current-angle, 0deg));
    }
    to {
        transform: rotate(0deg);
    }
}

.box-right > .aplayer.aplayer-withlrc .aplayer-pic.picback {
    animation: rotateBack .2s ease-out forwards;
}
meting-js > .aplayer{
    border-radius: 10px !important;
    background: none !important;
}
meting-js .aplayer-info{
    background: #00000070 !important;
}
meting-js .aplayer-info .aplayer-music{
    text-align: center !important;
}

.musicarm{
    position: absolute;
    z-index: 3;
    transform-origin: 13px 12px;
    margin-left: 10rem;
    margin-top: -2rem;
    transition: transform .3s ease;
}
.musicarm.play{
    transform: rotate(30deg);
}

#lrc {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    display: flex;
    justify-content: center;
    height: 2.5rem;
    background: #12141861;
    backdrop-filter: blur(10px);
    align-items: center;
    box-shadow: 0 -5px 10px #00000050;
    font-family: 'ZCOOL XiaoWei';
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    animation: fadeOut2 .5s ease forwards;
}
#lrc2 {
    display: flex;
    justify-content: center;
    font-family: 'ZCOOL XiaoWei';
    margin-top: -7rem;
    font-size: 1.3rem;
}

#lrc.show {
    animation: fadeIn .5s ease forwards;
}
#lrc2 .lrc-show {
    white-space: nowrap;
}


.lrc-box {
    display: flex;
    justify-content: center;
}

#next2 {
    display: none;
    transition: all .5s ease;
    padding: 0 45px 0 35%;
    filter: blur(5px);
    animation: fadeIn2 3s ease;
    transform-origin: right;
    line-height: 2.5rem;
}

#last2 {
    display: none;
    transition: all .5s ease;
    padding: 0 35% 0 45px;
    filter: blur(5px);
    animation: fadeIn2 3s ease;
    transform-origin: left;
    line-height: 2.5rem;
}

#last2:hover,
#next2:hover {
    transform: scale(1.2);
    color: #ffffff;
    filter: blur(0px) !important;
    text-shadow: 0 0 10px #00000090;
}

#last2:active,
#next2:active {
    transform: scale(1);
    color: #ffffff;
}

#music-controlbottom {
    display: flex;
    position: fixed;
    bottom: 0px;
    z-index: 6;
    width: 95%;
    justify-content: space-between;
    font-size: 1rem;
    color: #ffffff20;
    animation: fadeOut2 .5s ease forwards;
    pointer-events: none;
    height: 2.5em;
    align-items: center;
}

#music-controlbottom.show {
    animation: fadeIn .5s ease;
    pointer-events: all;
}