/* 麦克风专用 EQ 页面：独立样式，不影响原有耳机 eqSetting */
body.mic-eq-mode .collapsed-logo,
body.mic-eq-mode .logodiv,
body.mic-eq-mode .expansionField,
body.mic-eq-mode #flexBtn,
body.mic-eq-mode #footmenu,
body.mic-eq-mode #home,
body.mic-eq-mode .nav_popup,
body.mic-eq-mode #eqSetting,
body.mic-eq-mode #chijiPage,
body.mic-eq-mode #sharelib {
    display: none !important;
}

body.mic-eq-mode .container {
    overflow: hidden;
}

.mic-eq-container {
    width: 100%;
    height: 100vh;
    margin-left: 0;
    background: linear-gradient(90deg, rgba(43, 44, 50, .92) 0%, rgba(32, 33, 39, .94) 46%, rgba(27, 28, 34, .96) 100%);
    color: rgba(255, 255, 255, .96);
    box-sizing: border-box;
    overflow: hidden;
}

.mic-eq-window {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, rgba(255, 255, 255, .02) 0%, rgba(255, 255, 255, 0) 55%);
}

.mic-eq-topbar {
    height: 82px;
    flex: 0 0 82px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.mic-eq-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .2px;
}

.mic-eq-content {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 82px 36px 46px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.mic-eq-panel {
    background: rgba(10, 11, 14, .96);
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
    padding: 38px 40px 34px 34px;
    display: flex;
    gap: 8px;
    overflow: visible;
}

.mic-eq-db-axis {
    width: 96px;
    flex: 0 0 96px;
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    box-sizing: border-box;
}

.mic-eq-axis-scale {
    position: relative;
    width: 70px;
    height: 280px;
    margin-top: 60px;
}

.mic-eq-axis-group {
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

.mic-eq-axis-label {
    min-width: 42px;
    text-align: right;
    font-size: 16px;
    color: rgba(255, 255, 255, .72);
}

.mic-eq-axis-line {
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, .16);
    border-radius: 999px;
}

.mic-eq-bands {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(14, minmax(54px, 1fr));
    gap: 0;
    align-items: start;
}

.mic-eq-band {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mic-eq-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.mic-eq-adjust-btn {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #242628;
    color: rgba(255, 255, 255, .92);
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    transition: background-color .16s ease, transform .12s ease;
}

.mic-eq-adjust-btn:hover {
    background: #2f3235;
}

.mic-eq-adjust-btn:active {
    transform: scale(.96);
}

.mic-eq-slider-wrap {
    position: relative;
    width: 48px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.mic-eq-track {
    position: relative;
    width: 7px;
    height: 280px;
    border-radius: 999px;
    background: #303133;
    touch-action: none;
    cursor: pointer;
}

.mic-eq-fill {
    position: absolute;
    left: 0;
    width: 100%;
    border-radius: 999px;
    background: #376BED;
    pointer-events: none;
}

.mic-eq-thumb {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #376BED;
    box-shadow: 0 0 0 3px #fff, 0 3px 10px rgba(0, 0, 0, .32);
    transform: translate(-50%, -50%);
    cursor: grab;
    pointer-events: none;
}

.mic-eq-track.dragging .mic-eq-thumb {
    cursor: grabbing;
}

.mic-eq-live-tip {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -100%);
    background: rgba(37, 41, 51, .98);
    color: rgba(255, 255, 255, .96);
    border-radius: 5px;
    min-width: 40px;
    height: 26px;
    padding: 0 9px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    z-index: 90;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 6px 16px rgba(0, 0, 0, .24);
}

.mic-eq-live-tip::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 8px;
    height: 8px;
    background: rgba(37, 41, 51, .98);
    transform: translateX(-50%) rotate(45deg);
    border-radius: 1px;
}

.mic-eq-band.tip-visible .mic-eq-live-tip,
.mic-eq-band.tip-dragging .mic-eq-live-tip {
    display: flex;
}

.mic-eq-freq {
    width: 58px;
    text-align: center;
    margin-top: 18px;
    font-size: 16px;
    color: rgba(255, 255, 255, .66);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

.mic-eq-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 64px;
}

.mic-eq-save-btn {
    min-width: 112px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #3f4044;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    cursor: pointer;
    transition: .16s ease;
}

.mic-eq-save-btn:hover:not(:disabled) {
    background: #4b4c50;
}

.mic-eq-save-btn:disabled {
    background: rgba(255, 255, 255, .03);
    color: rgba(255, 255, 255, .28);
    border-color: rgba(255, 255, 255, .08);
    cursor: not-allowed;
}

@media (max-width: 1400px) {
    .mic-eq-topbar {
        height: 76px;
        flex-basis: 76px;
        padding: 0 28px;
    }

    .mic-eq-title {
        font-size: 20px;
    }

    .mic-eq-content {
        max-width: 1460px;
        padding: 58px 22px 32px;
    }

    .mic-eq-panel {
        padding: 30px 22px 26px 20px;
        gap: 4px;
    }

    .mic-eq-db-axis {
        width: 84px;
        flex-basis: 84px;
        padding-right: 8px;
    }

    .mic-eq-axis-scale {
        width: 62px;
        height: 232px;
        margin-top: 54px;
    }

    .mic-eq-axis-label {
        font-size: 14px;
        min-width: 36px;
    }

    .mic-eq-axis-line {
        width: 18px;
    }

    .mic-eq-bands {
        grid-template-columns: repeat(14, minmax(46px, 1fr));
    }

    .mic-eq-control {
        gap: 12px;
    }

    .mic-eq-adjust-btn {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 28px;
    }

    .mic-eq-slider-wrap {
        width: 38px;
        height: 232px;
    }

    .mic-eq-track {
        width: 6px;
        height: 232px;
    }

    .mic-eq-thumb {
        width: 18px;
        height: 18px;
        box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(0, 0, 0, .32);
    }

    .mic-eq-live-tip {
        min-width: 38px;
        height: 26px;
        font-size: 12px;
    }

    .mic-eq-freq {
        width: 52px;
        font-size: 13px;
        margin-top: 14px;
    }

    .mic-eq-footer {
        padding-top: 52px;
    }

    .mic-eq-save-btn {
        min-width: 96px;
        height: 40px;
        font-size: 14px;
    }
}
