html,body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.music-box {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.music-box-background {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.music-box-background .music-box-bg {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, #ffffff , #9d9d9d);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(20px) brightness(.8);
    transform: scale(1.2);
}
.music-box-bg-screen {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, .5);
}
.music-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .5);
    z-index: 998;
    display: none;
}
.music-menu {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    display: none;
    z-index: 999;
    overflow: hidden;
}
.music-menu .music-menu-nav {
    height: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    border-bottom: 1px inset #efefef;
    background-color: #222;
    color: #fff;
}
.music-menu .music-menu-nav .nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-right: 1px inset #555;
    text-align: center;
}
.music-menu .music-menu-nav .nav-list:last-child {
    border-right: none;
}
.music-menu .music-list-box {
    height: calc(100% - 35px);
}
.music-menu .music-list,.music-menu .music-hot,.music-menu .music-search,.music-menu .music-collect {
    height: 100%;
    /*display: none;*/
}
.music-menu .music-list ul,.music-menu .music-hot ul {
    height: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow-y: scroll;
}
.music-menu ul li {
    border-bottom: 1px inset #efefef;
    display: -moz-box;
    display: -webkit-box;
    justify-items: start;
    align-items: center;
    padding: 10px 5px;
}
.music-menu ul li .music-menu-info-name {
    margin-bottom: 5px;
}
.music-menu ul li .music-menu-info-singer {
    display: -webkit-box;
    display: -moz-box;
    flex-direction: row;
}
.music-menu ul li img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
}
.music-menu .music-menu-cover {
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 80px;
}
.music-menu .music-menu-info {
    width: 80%;
}
.music-menu ul li span {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 1px 5px;
    margin-right: 5px;
    background-color: #333;
    color: #fff;
    font-size: 12px;
    display: inline-block;
}
.music-menu .music-search {
    display: none;
    height: 100%;
    width: 100%;
}
.music-menu .music-search .search-controller {
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.music-menu .music-search .search-controller input {
    width: 70%;
}
.music-menu .music-search .search-controller button {
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}
.music-menu .music-search ul {
    height: calc(100% - 50px);
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow-y: scroll;
}

.music-menu .music-collect ul {
    height: calc(100% - 50px);
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow-y: scroll;
}

.music-box .music-cover {
    width: 100%;
    height: 30%;
}
.music-box .control-panel {
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 5%;
    width: 100%;
}
.music-box .control-panel .control-panel-menu {
    width: 22px;
    height: 22px;
    border-style: double;
    border-width: 12px 0 0 0;
    border-color: #fff;
}
.music-box .control-panel .control-panel-menu .control-panel-line {
    width: 100%;
    height: 4px;
    margin-top: 4px;
    background-color: #fff;
}
.music-box .control-panel .control-panel-prev {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border-style: solid;
    border-width: 11px 15px 11px 0;
    border-color: transparent #fff transparent transparent;
    position: relative;
}
.music-box .control-panel .control-panel-prev .control-panel-line {
    width: 3px;
    height: 22px;
    top: -11px;
    right: 0;
    background-color: #fff;
    position: absolute;
}
.music-box .control-panel .control-panel-button {
    display: flex;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    background-color: rgba(0, 0, 0, .5);
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-top: -20px;
}
.music-box .control-panel .control-panel-paused {
    animation: tada 1s;
    box-sizing: border-box;
    width: 25px;
    height: 30px;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}
.music-box .control-panel .control-panel-play {
    animation: tada 1s;
    width: 17px;
    height: 22px;
    border-style: double;
    border-width: 0 0 0 17px;
    margin-left: 0;
    border-color: #fff;
}
@keyframes tada {
    from {
        transform: scale3d(1, 1, 1)
    }
    10%, 20% {
        transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg)
    }
    30%, 50%, 70%, 90% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)
    }
    40%, 60%, 80% {
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}
.music-box .control-panel  .control-panel-next {
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    border-style: solid;
    border-width: 11px 0 11px 15px;
    border-color: transparent transparent transparent #fff;
    position: relative;
}
.music-box .control-panel .control-panel-next .control-panel-line {
    width: 3px;
    height: 22px;
    top: -11px;
    background-color: #fff;
    position: absolute;
}
/*.music-box .control-panel .control-panel-timing {*/
/*    width: 22px;*/
/*    height: 22px;*/
/*    border-style: solid;*/
/*    border-color: transparent #fff transparent transparent;*/
/*    border-width: 11px 0 11px 11px;*/
/*    border-left: 11px solid #fff;*/
/*    border-radius: 22px;*/
/*    border-bottom-style: inset;*/
/*    border-bottom-width: 1px;*/
/*    background-color: rgba(0, 0, 0, .1);*/
/*    outline: 1px solid #fff;*/
/*    position: relative;*/
/*}*/
/*.music-box .control-panel .control-panel-timing .control-panel-timing-select {*/
/*    display: none;*/
/*    position: absolute;*/
/*    width: 70px;*/
/*    top: -230px;*/
/*    left: -40px;*/
/*    background: #000;*/
/*    text-align: center;*/
/*    border-radius: 10px;*/
/*    border: 1px solid #555;*/
/*    color: #fff;*/
/*}*/
/*.music-box .control-panel .control-panel-timing .control-panel-timing-select div {*/
/*    height: 30px;*/
/*    line-height: 30px;*/
/*    border-bottom: 1px inset #888;*/
/*}*/
/*.music-box .control-panel .control-panel-timing .control-panel-timing-select div:last-child {*/
/*    border-bottom: 0;*/
/*}*/
.music-box .music-cover {
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.music-box .music-cover img {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 1px 1px seashell;
}
.music-progress-bar {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
}
.music-progress-bar .progress-bar-left {
    width: 10%;
}
.music-progress-bar .progress-bar-center {
    width: 80%;
}
.music-progress-bar .progress-bar-center .progress-bar-total {
    width: 100%;
    height: 2px;
    background-color: #999;
}
.music-progress-bar .progress-bar-center .progress-bar-complete {
    width: 0;
    height: 2px;
    background-color: #fff;
}
.music-progress-bar .progress-bar-center .progress-bar-play-time {
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 5px;
}

.music-progress-bar .progress-bar-right {
    width: 10%;
}

.music-message {
    padding: 4px 10px;
    background-color: rgba(0, 0, 0, .8);
    position: absolute;
    top: 10%;
    color: #fff;
    font-size: 12px;
    border-radius: 0 5px 5px 0;
    z-index: 1000;
    display: none;
}
.music-countdown {
    display: none;
    width: 50px;
    height: 25px;
    line-height: 25px;
    border-radius: 5px;
    background-color: #000;
    box-shadow: 0 0 0 1px #555;
    text-align: center;
    position: absolute;
    top: 9%;
    right: 10px;
    z-index: 1000;
    color: #fff;
    font-size: 12px;
}
.music-controller-menu {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.music-controller {
    width: 27px;
    text-align: center;
}
.music-controller-playbackRate {
    color: #fff;
    position: relative;
}
.music-controller-playbackRate .speed-option {
    display: none;
    position: absolute;
    width: 70px;
    top: -248px;
    left: -20px;
    background: #000;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #555;
    color: #fff;
}
.music-controller-playbackRate .speed-option div {
    height: 30px;
    line-height: 30px;
    border-bottom: 1px inset #888;
}
.music-controller-playbackRate .speed-option div:last-child {
    border-bottom: 0;
}
.music-controller-playbackRate .music-current-speed {
    font-size: 20px;
    font-weight: bold;
}
.music-controller-playbackRate .music-current-unit {
    font-size: 12px;
    font-weight: 500;
}
.music-controller-menu .music-controller-search {
    position: relative;
}
.music-controller-menu .controller-music-search {
    width: 27px;
    height: 27px;
    border-radius: 27px;
    border: 3px solid white;
}
.music-controller-menu .controller-music-search:after {
    content: "";
    width: 5px;
    height: 3px;
    background-color: white;
    right: -2px;
    bottom: 2px;
    position: absolute;
    transform: rotate(35deg);
    border-radius: 1px;
}

.music-controller-menu .music-controller-collect {

}
.music-controller-menu .music-controller-collect .music-heart {
    position: relative;
    width: 18px;
    height: 18px;
    background-color: white;
    transform: rotate(-45deg);
}
.music-heart:after {
    content: "";
    position: absolute;
    top: -9px;
    left: 0;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-color: white;
}
.music-heart:before {
    content: "";
    position: absolute;
    top: 0;
    left: 9px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    background-color: white;
}
.music-controller-menu .music-controller-collect .music-heart-active {
    background-color: tomato;
}
.music-controller-menu .music-controller-collect .music-heart-active:after {
    background-color: tomato;
}
.music-controller-menu .music-controller-collect .music-heart-active:before {
    background-color: tomato;
}

.control-panel-timing {
    position: relative;
    display: inline-block;
}

/* 圆形按钮容器 */
.timing-circle-btn {
    position: relative;
    width: 22px;
    height: 22px;
}

/* 倒计时圆环 */
.timing-ring {
    position: absolute;
    top: 0; left: 0;
    width: 22px; height: 22px;
    transform: rotate(-90deg);
}

/* 圆形按钮 */
.circle-btn {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    color: #fff;
    cursor: pointer;
    outline: none;
    /*left: 6px;*/
    /*top: 6px;*/
    font-size: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 滚轮选择器 iOS 风格 */
.timing-wheel {
    display: none;
    position: absolute;
    bottom: 45px;           /* 改成底部距离按钮 50px */
    left: 30%;
    transform: translateX(-50%);
    width: 80px;
    max-height: 80px;
    overflow-y: scroll;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    scrollbar-width: none;
    z-index: 10;
}
.timing-wheel::-webkit-scrollbar {
    display: none;
}

.wheel-item {
    padding: 12px 0;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.wheel-item:hover, .wheel-item.active {
    background: #007aff;
    color: #fff;
}

/* 点击反馈缩放 */
.feedback {
    transform: scale(0.9);
    transition: transform 0.1s;
}