.launchpad-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 3px;
    background: url(/zb_users/plugin/xc_toolbox/style/img/heibg.png) repeat;
}

.launchpad-container.web-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    border-radius: 0;
    border: none;
}

.launchpaddiv {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    background-color: #000;
    backdrop-filter: blur(8px);
    border-radius: 3px;
    padding: 0.5rem;
    border: 1px solid rgb(39 39 45);
}

.button-bardiv {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.button-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem;
}

.button-bar>div,
#full,
#waptips {
    background: rgba(25, 25, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    padding: 0.2rem 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
    color: #aaa;
    font-size: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(4px);
}

.panel-container {
    background: rgb(15 15 22);
    border-radius: 3px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    position: relative
}

.panel-container.active {
    display: block
}

.panel-title {
    color: #aaa;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    padding-left: 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #27272d;
    padding-bottom: 0.5rem
}

.panel-title::before {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 100%;
    position: absolute;
    background-color: #0275ff;
    overflow: hidden;
    left: 0;
    top: calc(50% - 0.25rem);
    transform: translateY(-50%)
}

.panel-close {
    cursor: pointer;
    font-size: 1rem;
    color: #aaa;
    line-height: 1;
    font-weight: bold
}

.panel-close:hover {
    color: #ff0040
}

.shell {
    border-radius: 3px;
    padding: 0.5rem;
    border: 1px solid #27272d
}

.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    width: 100%;
    aspect-ratio: 1/1
}

.pad {
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: filter 0.04s, transform 0.04s;
    border: 2px solid transparent;
    outline: none;
    --glow: hsl(0, 100%, 50%);
    touch-action: manipulation
}

.pad:active,
.pad.on {
    transform: scale(0.93);
    filter: brightness(2.8);
    box-shadow: 0 0 12px var(--glow), 0 0 28px var(--glow)
}

.pad .label {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 7px;
    color: rgba(255, 255, 255, 0.25);
    pointer-events: none;
    z-index: 1
}

.seq-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.25rem;
    margin: 0.6rem 0 0 0;
}

.seq-step {
    width: 1.5rem;
    height: 1.5rem;
    background: #2a2a36;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    color: #ccc;
    border: 1px solid #4a4a56;
    transition: 0.1s;
    position: relative;
    touch-action: manipulation;
    display: flex;
    justify-content: center;
    align-items: center
}

.seq-step.playing {
    border: 2px solid white;
    box-shadow: 0 0 12px cyan;
    transform: scale(0.98)
}

.fx-slider-row {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.fx-slider-row:last-child {
    margin-bottom: 0
}

.fx-slider-row label {
    width: 2rem;
    color: #ccc;
    font-size: 0.5rem;
}

.fx-slider-row input {
    flex: 1;
    min-width: 150px;
}

.fx-slider-row span {
    width: 3rem;
    font-size: 0.5rem;
    color: #ccc;
}

.bmps label {
    width: 1rem;
}

.bmps span {
    width: 1rem;
}

hr {
    margin: 0.6rem 0;
    border-color: #27272d
}

.sample-info {
    background: #2a2a36;
    padding: 8px;
    border-radius: 3px;
    margin: 0.5rem 0;
    font-size: 0.6rem;
}

.rec-controls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
    background-color: #101018;
    border: 1px solid #27272d;
    padding: 0.25rem;
    border-radius: 3px
}

.rec-btn {
    background: #2a2a36;
    border: none;
    height: 1.2rem;
    border-radius: 3px;
    padding: 0px 0.4rem;
    color: #eee;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: 0.1s;
    touch-action: manipulation;
    font-size: 0.5rem
}

.rec-btn.ons {
    background: #795548
}

.event-count {
    background-color: #101018;
    border: 1px solid #27272d;
    padding: 0.4rem 0.25rem 0.4rem 0.5rem;
    border-radius: 3px;
    color: #9292ad;
    margin-top: 0.5rem
}

.panesetup {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    background-color: #101018;
    border: 1px solid #27272d;
    padding: 0.25rem;
    border-radius: 3px
}

.panel-container.active {
    display: block
}

.param-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 10px
}

.param-row label {
    width: 2rem;
    color: #aaa;
    font-size: 0.5rem;
}

.param-row input[type="range"] {
    flex: 1
}

.param-row span {
    width: 3rem;
    color: #fff;
    font-size: 0.5rem;
    text-align: right;
}

@media(max-width:520px) {
    .seq-step {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 12px
    }
}

.yisealert {
    padding: 10px
}

.yisealert button {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    height: 1.4rem;
    line-height: 1;
    border: 0;
    border-radius: 6px;
    color: #e8e8f0;
    cursor: pointer;
    background-color: #16baaa;
}

.yisealert button:last-child {
    margin-bottom: 0;
}

.pad.config-selected {
    border: 2px solid #00ffff !important;
    box-shadow: 0 0 10px #00ffff, 0 0 20px rgba(0, 255, 255, 0.3) !important
}

.selectdivs {
    flex: 1;
    background: #2a2a36;
    color: #fff;
    border: 1px solid #4a4a56;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 12px;
    outline: none;
}

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

#btnPadConfig,
#btnSampler {
    background-color: #2c2c42;
}

.param-row input[type="checkbox"]{
    vertical-align: middle;
}

@media screen and (max-width: 680px) {
    .launchpad-container {
        padding: 0.25rem;
    }
}
