.headerTop {
    display: flex;
    align-items: center;
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    margin-left: calc(-1 * var(--detailDataPaddingLeft));
    padding: 0 30px;
    // background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 100%);
    // background: transparent;
    background: rgba(255, 255, 255, 0.7);

    &.headerTopRight {
        justify-content: flex-end;
    }
}
.headerMid {
    background: transparent;
    width: 40%;
    height: 100%;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-40%);
}
.botton-tips {
    position: absolute;
    left: -35PX;
    bottom: -35PX;
    background: rgba(33, 33, 33, 0.56);
    font-size: 12PX;
    font-weight: 500;
    color: #FFFFFF;
    padding: 2PX 9PX;
    word-break: keep-all;
    z-index: 1;
    border-radius: 20PX;
    &::before {
      content: "";
      position: absolute;
      left: 65PX;
      top: -8PX;
      width: 0;
      height: 0;
      border-bottom: 8PX solid rgba(33, 33, 33, 0.56);
      border-right: 8PX solid transparent;
      border-left: 8PX solid transparent;      
    }
}
.tipSpec {
    left: -18PX;
    &::before {
        left: 48PX;
    }
}
.modeWarn{
    position: fixed;
    left: 30px;
    bottom: 20px;
    border-radius: 16px;
    background-color: rgba(12, 51, 107, 0.61);
    padding: 6px 11px;
    align-items: center;
    display: flex;
    opacity: 0;
    transition: all .3s ease-in;

    &>div {
        margin-left: 4px;
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: rgba(255, 255, 255, 0.7);
    }

    &>img {
        width: 18px;
        height: 18px;
    }

    &.modeWarnRight {
        left: inherit;
        right: 30px;
    }
}

.headTopLeftBox {
    position: fixed;
    top: 20px;
    left: 30px;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    &.headTopLeftHide{
        margin-top: -54px;
    }

    .img {
        width: 32px;
        height: 32px;
    }

    .listImg {
        margin-left: 16px;
    }

    .title {
        width: 210px;
        margin-left: 10px;
        position: relative;
        &.isIpad{
            width: 138px;
            .symbolNote{
                max-width: calc(146px + 16px);
            }
        }

        .symbolNote {
            max-width: calc(212px + 16px);
            position: absolute;
            top: 0;
            left: 0;
            content: "";
            width: calc(var(--noticeBarWidth, 100%) + 16px);
            height: 100%;
            background: url("./image/sj.png") no-repeat;
            background-size: 9px 6px;
            background-position: center right;
        }

        :global {
            .van-notice-bar {
                height: 30px;
                line-height: 30px;
                padding: 0;
                font-weight: 600;
                font-size: 18px;
                color: #131415;
            }
        }
    }
    
    .blackTitle {
        :global{
            .van-notice-bar{
                color: #000 !important;
            }
        }
    }

    .hidenBack {
        opacity: 0;
        pointer-events: none;
    }
}

.modeChangeBox{
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 30px;
    height: 32px;
    background: #C2F0E8;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 10px;

    .img {
        width: 18px;
        height: 18px;
    }

    .title {
        margin-left: 6px;
        font-weight: 500;
        font-size: 14px;
        color: #131415;
    }
}

.headRight {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 9;
    .btn {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        margin-right: 30px;
        // &.modeType{
        //     margin-right: 14px;
        // }
        &:last-child {
            margin-right: 0;
        }

        .iconBtn {
            width: 24px;
            height: 24px;
        }

        span {
            margin-top: 3px;
            font-weight: 500;
            font-size: 12px;
            color: #333333;
            line-height: 17px;
        }

        &:active {
            >span {
                color: #14B698
            }

            ;
        }

        &.playType:active {
            >img:nth-child(1) {
                content: url("./image/performAct.png");
            }

            >img:nth-child(2) {
                content: url("./image/singAct.png");
            }
        }

        &.playSource:active {
            opacity: 0.8;
        }

        &.songSource:active {
            >img:nth-child(1) {
                content: url("./image/music1Act.png");
            }

            >img:nth-child(2) {
                content: url("./image/background1Act.png");
            }

            >img:nth-child(3) {
                content: url("./image/mingsongAct.png");
            }
        }

        &.section:active {
            opacity: 0.8;  
        }

        &.isSection {
            >span {
                color: #14B698
            }
        }

        &.speed:active {
            >img:nth-child(1) {
                content: url("./image/tickonAct.png");
            }

            >img:nth-child(2) {
                content: url("./image/tickoffAct.png");
            }
        }

        &.isSpeed {
            >img:nth-child(1) {
                content: url("./image/tickonAct.png");
            }

            >img:nth-child(2) {
                content: url("./image/tickoffAct.png");
            }

            >span {
                color: #14B698
            }

            ;
        }

        &.cxSetBtn:active {
            >img {
                content: url("./image/resetAct.png");
            }
        }

        &.backgroundSongAct:active {
            >img {
                content: url("./image/backgroundAct.png");
            }
        }

        &.musicSongAct:active {
            >img {
                content: url("./image/musicAct.png");
            }
        }

        &.settingMode:active {
            >img {
                content: url("./image/icon_menuAct.png");
            }
        }

        &.isSettingMode {
            >img {
                content: url("./image/icon_menuAct.png");
            }

            >span {
                color: #14B698
            }
        }

        &.musicSheet:active {
            // opacity: 0.8;
            >img {
                content: url("./image/shengguiAct.png");
            }
        }

        &.isMusicSheet {
            >img {
                content: url("./image/shengguiAct.png");
            }

            >span {
                color: #14B698
            }
        }
    }

    .metronomeBtn {
        position: relative;
        .speedCon {
            transform: scale(0.83);
            transform-origin: left bottom;
            padding: 2px;
            position: absolute;
            left: 14px;
            top: -9px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #FFC121;
            border-radius: 120px 120px 120px 1px;
            border: 1px solid #FFFFFF;

            >img {
                width: 15px;
                height: 11px;
            }

            >div {
                margin-left: 1px;
                font-weight: 600;
                font-size: 12px;
                color: #333333;
                line-height: 16px;
            }
        }
    }
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}
.disabled2 {
    pointer-events: none;
    opacity: 0;
}

.playBtn {
    cursor: pointer;
    position: fixed;
    right: 30px;
    bottom: 12px;
    transition: bottom .2s ease;

    .btnWrap {
        width: 50px;
        height: 50px;

        .iconBtn {
            display: block;
            width: 100%;
            height: 100%;
        }
    }

    &.playLeftButton {
        left: 30px !important;
        right: auto !important;
        bottom: 12px !important;
    }

    &.playRightButton {
        right: 30px !important;
        left: auto !important;
        bottom: 12px !important;
    }

    .progress {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 36px; // 宽给小一点，底部不会切边
        height: 38px;
    }
}

.resetBtn {
    cursor: pointer;
    position: fixed;
    right: 100px;
    bottom: 12px;
    transition: bottom .2s ease;

    .iconBtn {
        display: block;
        width: 50px;
        height: 50px;
    }

    &.pauseLeftButton {
        left: 102px !important;
        right: auto !important;
        bottom: 12px !important;
    }

    &.pauseRightButton {
        right: 102px !important;
        left: auto !important;
        bottom: 12px !important;
    }
}

:global {
    .var-popup {
        overflow: hidden;
        pointer-events: none;

        .var-popup__overlay,
        .var-popup__content {
            pointer-events: auto;
        }
    }
}

.pcTransPop {
    z-index: 999 !important;
}

.modeView {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url(./image/bg.png) no-repeat;
    background-size: cover;
    transition: all .3s;
    &.isiPad{
        .modeBox {
            padding: 0 40px;
        }
        .modeTitle {
            top: 5px !important;
            height: 75px !important;
            transform: translateX(-50%) scale(1.3) !important;
        }        
    }


    &.hidden {
        opacity: 0;
        transform: translateY(100%);
        pointer-events: none;
    }

    .back {
        position: absolute;
        width: 32px;
        height: 32px;
        left: 30px;
        top: 20px;
        cursor: pointer;
    }

    .modeTitle {
        width: auto;
        height: 55px;
        position: absolute;
        left: 50%;
        top: 10px;
        transform: translateX(-50%) scale(1.1);
    }

    .modeBox {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 80px;
        position: relative;
        top: 50%;
        transform: translateY(-42%);
        &.twoModeBox {
            justify-content: center;
            >.modeItem+.modeItem {
                margin-left: 150px;
            }
        }
        .modeItem {
            position: relative;
            cursor: pointer;
            width: calc((100% - 2*32px)/3);
            max-width: 220px;
            height: intrinsic;
        }
        .modeImg {
            width: 100%;
        }
        .vipIcon {
            position: absolute;
            left: 26px;
            top: 12px;
            width: 55px;
            height: 21px;
        }
        .svipIcon {
            position: absolute;
            left: 26px;
            top: 12px;
            width: 63px;
            height: 21px;
        }
    }
}

.hiddenPop {
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.socketErrorStatus {
    top: 20vh;
}
