.headerTop {
    display: flex;
    align-items: center;
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    margin-left: calc(-1 * var(--detailDataPaddingLeft));
    padding: 0 30px;
    justify-content: flex-end;

    &.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;

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

    .listImg {
        margin-left: 16px;
    }

    .title {
        width: 210px;
        margin-left: 10px;
        position: relative;

        .symbolNote {
            max-width: calc(216px + 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;
    }
}

.headRight {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 9;
    padding-top: 13px;
    .btn {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        margin-right: 24px;

        &:last-child {
            margin-right: 0;
        }

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

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

        &:active {
            >span {
                color: #04C8BB
            }

            ;
        }

        &.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: #04C8BB
            }
        }

        &.speed:active {
            opacity: 0.8;
        }

        &.isSpeed {
            >span {
                color: #04C8BB
            }

            ;
        }

        &.settingMode:active {
            opacity: 0.8;
        }

        &.isSettingMode {
            >span {
                color: #04C8BB
            }
        }

        &.musicSheet:active {
            opacity: 0.8;
        }

        &.isMusicSheet {
            >span {
                color: #04C8BB
            }
        }
    }

    .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: #ffffff;
                line-height: 16px;
            }
        }
    }
}

.disabled {
    pointer-events: none;
    opacity: .8;
}

.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: 38px;
        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;

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

    .back {
        position: absolute;
        width: 32px;
        height: 32px;
        left: 30px;
        top: 20px;
        cursor: pointer;
    }
    .modeBox {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 100px;
        position: relative;
        top: 50%;
        transform: translateY(-50%);

        &.twoModeBox {
            justify-content: center;

            >.modeImg+.modeImg {
                margin-left: 150px;
            }
        }
        > .modeImg {
            cursor: pointer;
            width: calc((100% - 2*32px)/3);
            max-width: 220px;
        }
    }
}

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

.socketErrorStatus {
    top: 20vh;
}
