#app {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0.5rem;
    background-color: #000;
    border-radius: 6px;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

::-webkit-scrollbar-track {
    background: #0a0a14
}

::-webkit-scrollbar-thumb {
    background: #262650;
    border-radius: 3px
}

.ctprndiv {
    background: #08080e;
    color: #e8e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 3px;
    background: url(/zb_users/plugin/xc_toolbox/style/img/heibg.png) repeat;
    overflow: auto;
}

.ctprndiv.web-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: auto;
}

.bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bp {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    transition: .15s
}

.bp.go {
    background: #7c5cfc;
    color: #fff
}

.bp.go:hover {
    background: #6848e0
}

.bp.go.on {
    background: #e84057
}

.bp.st {
    background: #1a1a38;
    color: #6a6a90;
    border: 1px solid #262650
}

.bp.st:hover {
    background: #2c2c54;
    color: #e0e0f0
}

.tool-btn {
    background: transparent;
    border: 0;
    color: #e0e0f0;
    cursor: pointer;
    display: flex;
    color: #FF9800;
}

.tool-btn i{
    font-weight: bold;
}

.mtr {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 100%;
    background: #69f0ae;
    transition: opacity 0.1s;
    opacity: 0.3;
}

.mtr.breathing {
    animation: breathe 1.2s infinite ease-in-out;
}

@keyframes breathe {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1)
    }

    50% {
        opacity: 1;
        transform: scale(1.1)
    }
}

.vol-ctrl {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px
}

.bc {
    background: 0 0;
    border: 1px solid #252535;
    color: #6a6a90;
    border-radius: 3px;
    cursor: pointer;
    transition: .12s;
    white-space: nowrap;
    width: calc(50% - 0.2rem);
    height: calc(50% - 0.2rem);
}

.bc:hover {
    border-color: #e84057;
    color: #e84057
}

.nbar {
    background: #111118;
    border: 1px solid #252535;
    padding: 0.25rem;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
    transition: box-shadow 0.2s;
}

.nbar.nbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border-radius: 0 0 3px 3px;
    z-index: 1000;
    background: #111118;
}

.nbardivs {
    display: flex;
    gap: 0.5rem;
}

.mg {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 1px 3px;
    border-radius: 3px;
    border: 1px solid #252535;
    transition: all .15s;
    opacity: .4;
    cursor: pointer;
}

.mg.mg-on {
    opacity: 1;
    border-color: #7c5cfc;
    background: rgba(124, 92, 252, 0.08)
}

.mb {
    padding: 3px 9px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    background: #1a1a38;
    color: #6a6a90;
}

.mg.mg-on .mb {
    background: #7c5cfc;
    color: #fff
}

.mg select {
    background: #1a1a38;
    border: 1px solid #262650;
    border-radius: 3px;
    color: #e0e0f0;
    padding: 1px 3px;
    cursor: pointer;
}

.npv {
    background: #7c5cfc;
    color: #fff;
    padding: 3px 5px;
    border-radius: 4px;
    min-width: 38px;
    text-align: center;
    cursor: pointer;
    transition: 0.15s;
}

.dsb {
    padding: 3px 5px;
    border-radius: 4px;
    border: 2px solid transparent;
    font-size: 11px;
    cursor: pointer;
    opacity: .5;
    color: #fff;
    background: #1a1a38
}

.dsb:hover {
    opacity: .75
}

.mg.mg-on .dsb.ds-on {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.75)
}

.seq {
    margin-top: 0.5rem;
}

.gw {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

.gl {
    width: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    left: 0;
    z-index: 5;
    background: #111118;
    border: 1px solid #252535;
    padding: 0 0.3rem;
}

.gl::after{
    content: '';
    height: 0.5rem;
    background-color: #191830;
}

.gl-h {
    height: 70px;
    flex-shrink: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 4px;
    padding: 0.2rem 0;
    position: relative;
}

.gl-t {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
    padding: 0 5px;
    margin-bottom: 4px;
    justify-content: center;
    position: relative;
    border: 1px solid #222;
}

.gl-t .track-color {
    width: 4px;
    height: 4px;
    border-radius: 2px;
    flex-shrink: 0;
}

.gl-t .track-name {
    font-size: 10px;
    height: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 40px;
    flex-shrink: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    border: 1px solid #252535;
    background: #252525;
    color: #a9a9b1;
}

.gl-t .track-btn {
    width: 18px;
    height: 18px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6b6b80;
    background: #1a1a24;
    border: 1px solid #252535;
}

.gl-t .track-btn:hover {
    background: #222;
    color: #fff;
}

.gl-t .track-btn.mute {
    color: #fff;
    background-color: #e84057;
}

.gl-t .track-btn.solo {
    color: #fff;
    background-color: #40c4ff;
}

.gl-t .track-cfg,
.gl-t .track-del {
    width: 18px;
    height: 18px;
    background: 0 0;
    color: #6a6a90;
    cursor: pointer;
    border-radius: 3px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.gl-t .track-cfg:hover {
    background: #1a1a38;
    color: #7c5cfc
}

.gl-t .track-del {
    color: #6a6a90
}

.gl-t .track-del:hover {
    color: #e84057 !important;
    background: rgba(232, 64, 87, 0.08) !important
}

.gm {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 1;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
    padding: 0.2rem;
    background: #111118;
    border: 1px solid #252535;
}

.gm:active {
    cursor: grabbing;
}

.gmls {
    width: max-content;
    min-width: 100%;
}

.gm-h {
    display: flex;
    gap: 3px;
    position: relative;
    margin-bottom: 4px;
    min-width: max-content
}

.col-item {
    flex: 1 0 30px;
    min-width: 30px;
    max-width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2px 0;
    border-radius: 4px;
}

.col-actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 2px
}

.col-btn {
    width: 20px;
    height: 18px;
    border: none;
    font-size: 8px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.1s;
    color: #6b6b80;
    background: #1a1a24;
    border: 1px solid #252535;
}

.col-num {
    width: 20px;
    height: 18px;
    color: #fff;
    background-color: #607D8B;
    font-size: 8px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.1s;
}

.gm-t {
    display: flex;
    gap: 3px;
    margin-bottom: 4px;
    position: relative;
    min-width: max-content
}

.cell {
    flex: 1 0 30px;
    min-width: 30px;
    max-width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: #fff;
    transition: background .06s, transform .06s;
    user-select: none;
    position: relative;
    border: 1px solid #252535;
    background: #111118;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.cell:hover {
    background: #2c2c54
}

.cell.pop {
    transform: scale(.85)
}

.cell.drag-ok {
    outline: 2px solid #7c5cfc;
    outline-offset: -2px;
    background: rgba(124, 92, 252, 0.18) !important
}

.drop-in {
    animation: dropIn .18s ease
}

@keyframes dropIn {
    0% {
        transform: scale(1.25)
    }

    100% {
        transform: scale(1)
    }
}

.scanline-container {
    display: flex;
    gap: 3px;
    margin-top: 4px;
    min-width: max-content;
    height: 0.5rem;
    position: relative;
}

.scan-zone {
    flex: 1 0 30px;
    min-width: 30px;
    max-width: 30px;
    height: 100%;
    cursor: pointer;
    position: relative;
    background-color: #191831;
}

.scan-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 0.5rem;
    background: #7c5cfc;
    box-shadow: 0 0 8px #7c5cfc;
    border-radius: 2px;
    width: 30px;
    transition: left 0.06s linear, width 0.06s linear;
    pointer-events: none;
    z-index: 3;
}

.ga {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background: #111118;
    border: 1px solid #252535;
    width: 30px;
    padding: 0 0.5rem;
    color: #6a6a90;
    justify-content: center;
    cursor: pointer;
}

.atr {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0;
    border: 1px solid #252535;
    background: #111118;
    color: #6a6a90;
    cursor: pointer;
    border-radius: 3px;
}

.pal {
    margin-top: 0.5rem;
    border-radius: 3px;
    padding: 0.5rem;
    background: #111118;
    border: 1px solid #252535;
}

.pal.pal-on {
    opacity: 1;
    border-color: #7c5cfc
}

.pal-hd {
    font-size: 11px;
    color: #6a6a90;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.pal-rows {
    overflow-x: auto;
    padding: 0.2rem;
}

.pal-oct {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    gap: 2px
}

.pal-oct:last-child {
    margin-bottom: 0px;
}

.pal-ns {
    display: flex;
    gap: 2px;
    flex: 1
}

.pn {
    flex: 1;
    height: 1.5rem;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all .08s;
}

.pn.w {
    background: #1e1e3c;
    color: #e0e0f0;
}

.pn.b {
    background: #0a0a14;
    color: #6a6a90;
    border: 1px solid #262650;
}

.pn.sel {
    box-shadow: 0 0 0 1px #7c5cfc, 0 0 12px rgba(124, 92, 252, 0.3) !important;
    background: rgba(124, 92, 252, 0.25) !important;
    color: #fff !important;
}

.pn.drag-src {
    opacity: .35
}

.cfgd {
    padding: 0.5rem;
    background-color: #444;
    margin: 0.5rem;
    border-radius: 3px;
}

.csec {
    margin-bottom: 0.5rem;
    background-color: #242424;
    padding: 0.5rem;
    border-radius: 3px;
}

.cst {
    font-size: 10px;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #5e5e5e;
}

.crw {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    gap: 7px
}

.crw:last-child {
    margin-bottom: 0;
}

.crl {
    width: 25px;
    font-size: 10px;
    color: #ddd;
}

.crv {
    width: 45px;
    font-size: 10px;
    text-align: right;
    color: #ddd;
}

.crw input[type=range] {
    flex: 1;
    accent-color: #7c5cfc
}

.crw select {
    background: #0a0810;
    border: 1px solid #444;
    border-radius: 3px;
    color: #e0e0f0;
    padding: 3px 5px;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
}

.cab {
    display: flex;
    gap: 7px;
    justify-content: flex-end;
}

.ca {
    padding: 5px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700
}

.ca.rs {
    background: #1a1a38;
    color: #6a6a90
}

.ca.ap {
    background: #7c5cfc;
    color: #fff
}

.beatalert .layui-layer-title {
    height: 1.8rem;
    line-height: 1.8rem;
    font-size: 0.6rem;
}

.beatalert .layui-layer-setwin {
    top: 0.5rem;
}

.beatalert .layui-layer-content {
    color: #34495e;
}

.night .beatalert .layui-layer-content {
    color: #ddd;
}

.headbutss{
    display: flex;
    gap: 8px;
}

#fulls {
    background-color: transparent;
    border: 0;
    color: #69698e;
    font-weight: bold;
    cursor: pointer;
}

#mianban {
    background-color: transparent;
    border: 0;
    color: #69698e;
    font-weight: bold;
    cursor: pointer;
}

@keyframes tin {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }
}

@media screen and (max-width: 480px){
    .nbardivs {
        display: flex;
        gap: 0.25rem;
        flex-direction: column;
    }
    .pal-hd{
        display: none;
    }
}