.skeleton {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    padding: 20px 30px;
    background-color: #fff;
    z-index: 1000;
    --van-skeleton-paragraph-height: .8rem;
}

:global {

    // .headHeight>.driver-active-element,
    // #noticeBarRollDom>.driver-active-element,
    // :not(body):has(>.headHeight),
    // :not(body):has(>#noticeBarRollDom),
    body .headeTopTitleBtn,
    body #noticeBarRollDom {
        overflow: initial !important;
    }


}

.detail {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    --header-height: 60px;
    --pc-header-height: 72px;
    background: #fff;
    // &.practise{
    //     background: url("./images/bg1.png") no-repeat;
    //     background-size: 100% 100%;
    // }    
    // &.follow{
    //     background: url("./images/bg3.png") no-repeat;
    //     background-size: 100% 100%;
    // }    
    // &.evaluating{
    //     background: rgba(255, 255, 255, 0.2) url("./images/bg2.png") no-repeat;
    //     background-size: 100% 100%;
    // }
    .pageBg {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 保持宽高比 */
    }

    .headHeight {
        position: absolute;
        top: 0;
        width: 100%;
        height: var(--header-height);
        transition: all .3s;
        z-index: 99;

        &.headHide {
            margin-top: calc(0Px - var(--header-height));

            :global {
                .practiseModeWarn {
                    opacity: 1;

                    img {
                        opacity: 0.7;
                    }
                }
            }
        }

    }

    .container {
        position: sticky;
        top: 0;
        height: 100vh;
        border-radius: 10px;
        transition: height .2s;
        transition: padding-bottom .2s;
        overflow: hidden;

        :global {
            #musicAndSelection {
                --musicAndSelectionTop: 60px;
                padding-top: var(--musicAndSelectionTop);
            }
        }
    }

    .pcContainer {
        // height: calc(100vh - var(--header-height) - var(--pc-header-height));
    }

    .fingeringCon {
        transition: scale 0.2s;
    }
}


:global {
    #cursorImg-0 {
        width: 2PX !important;
        min-height: 58PX;
        height: 58PX;
        content: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
        margin-top: -13PX;
        border-radius: 4Px;
        background-color: rgba(45, 199, 170, 1);
        // opacity: var(--corsor-opacity);
        //transform: translateX(10PX);
        z-index: 1 !important;
        opacity: 0 !important; // 新版小酷AI不显示光标指针
    }

    .staff {
        #cursorImg-0 {
            width: 14Px;
            transform: translateX(11Px);
        }
    }

    .jianpuTone {
        #cursorImg-0 {
            width: 18Px;
            transform: translateX(6.3Px);
        }
    }

    .eyeProtection {
        #cursorImg-0 {
            background-color: rgb(255, 159, 88);
        }
    }

    #osmdCanvasPage1 {
        //padding-bottom: 60px;
    }
}

.xiaomi {
    :global {
        #cursorImg-0 {
            height: 58PX !important;
            min-height: auto !important;
        }
    }
}

.PC {
    :global {
        #cursorImg-0 {
            margin-top: -18PX;
            min-height: 94Px;
            border-radius: 10Px;
        }

        .staff {
            #cursorImg-0 {
                width: 35Px;
                transform: translateX(21Px) !important;
            }
        }

        .jianpuTone {
            #cursorImg-0 {
                width: 29Px;
                transform: translateX(13Px) !important;
            }
        }

        .headTopBackBtn {
            // display: none;
        }

        .pcTitle {
            position: absolute;
            left: 20%;
            top: 50%;
            transform: translate(-50%, -50%);

            .van-notice-bar__wrap {
                justify-content: center;
            }
        }
    }

    .headHeight.headHide {
        // margin-top: 0 !important;
    }
}


.preViewDetail {
    background: #fff !important;

    >.pageBg {
        display: none;
    }

    .headHeight {
        background: #fff !important;
    }

    .container {
        height: 100%;
        padding-bottom: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    :global {
        .authorName {
            display: none !important;
        }
        #musicAndSelection{
            padding-top: 0 !important;
        }
        #osmdCanvasPage1 {
            padding-bottom: 0 !important;
        }

        #cursorImg-0 {
            opacity: 0 !important;
        }

        .noteActive {
            path {
                fill: #000000;
                stroke: #000000;
            }

            rect {
                stroke: #000000;
            }
        }
        .lyricActive {
            text {
                fill: #000000;
                stroke: #000000;
            }
        }
        .voiceActive {
            rect {
                fill: #000000;
                stroke: #000000;
            }
        }
        .rectActive {
            fill: #000000;
            stroke: #000000;
        }
    }
}

.cbsViewDetail {
    background: #fff !important;

    >.pageBg {
        display: none;
    }

    .headHeight {
        // background: #fff !important;
    }

    :global {
        // #cursorImg-0 {
        //     opacity: 0 !important;
        // }
        .noteActive {
            path {
                fill: #0097FF;
                stroke: #0097FF;
            }

            rect {
                stroke: #0097FF;
            }
        }
        .lyricActive {
            text {
                fill: #0097FF;
                stroke: #0097FF;
            }
        }
        .voiceActive {
            rect {
                fill: #0097FF;
                stroke: #0097FF;
            }
        }
        .rectActive {
            fill: #0097FF;
            stroke: #0097FF;
        }
        #selectionBgBox {
            display: none;
        }
        .vf-numbered_note_lines {
            rect {
                fill: #000;
                stroke: #000;
            }
        }
    }
}

.preJson {
    width: 1px;
    height: 1px;
    visibility: hidden;
    background: transparent;
    opacity: 0;
}

@keyframes headerDown {
    100% {
        transform: translateY(0%);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    90% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.loadingPop {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-width: 100vw;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    background: rgba(0, 0, 0, .6);

    &.isPreView {
        background: transparent;

        .loadingTip {
            color: #999;
        }
    }
    .loadingCssBox{
        width: 27px;
        height: 27px;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-content: space-between;
        margin-bottom: 24px;
        animation: rotate 1.5s ease-in-out infinite;
        .loadingCssItem{
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background: #06E7BE;
            opacity: 0.5;
            &:nth-child(2){
                opacity:1;
            }
        }
    }
    .loadingTip {
        font-size: 14px;
        color: #fff;
    }
}