.mixx-controls {
    position: fixed;
    top: 13.25rem;
    left: .75rem;
    z-index: 2500;
    width: min(24rem, calc(100vw - 1.5rem));
    font-family: 'Open Sans', Arial, sans-serif;
    color: #ffffff;
    pointer-events: none;
    transform: none;
}

.mixx-controls * {
    box-sizing: border-box;
}

.mixx-toggle,
.mixx-toggle-main,
.mixx-drag-handle,
.mixx-panel,
.mixx-asset,
.mixx-close,
.mixx-reset,
.mixx-inspect-button,
.mixx-runtime-slider input,
.mixx-inspector-panel,
.mixx-inspector-panel button {
    pointer-events: auto;
}

.mixx-toggle {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 100%;
    min-height: 3.05rem;
    padding: .45rem .52rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(14px);
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .25);
}

.mixx-drag-handle {
    display: grid;
    place-items: center;
    flex: 0 0 2.15rem;
    width: 2.15rem;
    height: 2.15rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 50%;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .1);
    cursor: grab;
    touch-action: none;
}

.mixx-controls.is-dragging .mixx-drag-handle {
    cursor: grabbing;
}

.mixx-toggle-main {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: .65rem;
    min-height: 2.15rem;
    padding: 0 0 0 .25rem;
    border: 0;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
}

.mixx-toggle-main strong {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    font-size: .86rem;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mixx-toggle-main b {
    display: grid;
    place-items: center;
    flex: 0 0 2.15rem;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}

.mixx-panel {
    display: none;
    width: 100%;
    margin-top: .45rem;
    padding: .7rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1.15rem;
    background: rgba(7, 8, 14, .88);
    backdrop-filter: blur(20px);
    box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, .38);
}

.mixx-controls.is-open .mixx-panel {
    display: block;
}

.mixx-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .7rem;
    margin-bottom: .55rem;
}

.mixx-panel h2,
.mixx-panel h3,
.mixx-panel p {
    margin: 0;
}

.mixx-panel h2 {
    font-size: 1rem;
    line-height: 1.1;
}

.mixx-panel small,
.mixx-actions span {
    color: rgba(255, 255, 255, .58);
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mixx-close {
    width: 1.85rem;
    height: 1.85rem;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.mixx-group {
    padding: .58rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.mixx-asset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
    justify-items: stretch;
}

.mixx-asset {
    display: grid;
    place-items: center;
    min-height: 2.18rem;
    padding: .38rem .35rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: .85rem;
    color: #ffffff;
    background: rgba(255, 255, 255, .07);
    cursor: pointer;
    text-align: center;
}

.mixx-asset.is-active {
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .18);
}

.mixx-asset strong {
    max-width: 100%;
    overflow: hidden;
    font-size: .72rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mixx-runtime-controls {
    display: grid;
    gap: .38rem;
    padding: .58rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.mixx-runtime-slider {
    display: grid;
    gap: .22rem;
    color: rgba(255, 255, 255, .86);
    font-size: .72rem;
}

.mixx-runtime-slider span {
    display: flex;
    justify-content: space-between;
    gap: .65rem;
}

.mixx-runtime-slider b {
    color: rgba(255, 255, 255, .62);
    font-weight: 600;
}

.mixx-runtime-slider input {
    width: 100%;
    accent-color: #ffffff;
}

.mixx-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding-top: .55rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.mixx-reset,
.mixx-inspect-button {
    padding: .5rem .75rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, .08);
    cursor: pointer;
    font-size: .75rem;
}

.mixx-inspector-panel {
    position: fixed;
    right: .75rem;
    bottom: .75rem;
    z-index: 6500;
    width: min(28rem, calc(100vw - 1.5rem));
    max-height: min(42vh, 22rem);
    overflow: auto;
    padding: .75rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1rem;
    color: #ffffff;
    background: rgba(5, 7, 12, .92);
    backdrop-filter: blur(18px);
    font-family: 'Open Sans', Arial, sans-serif;
    box-shadow: 0 1.25rem 4rem rgba(0, 0, 0, .45);
}

.mixx-inspector-panel[hidden] {
    display: none;
}

.mixx-inspector-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .45rem;
}

.mixx-inspector-head button {
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
}

.mixx-inspector-meta {
    margin-bottom: .5rem;
    color: rgba(255, 255, 255, .62);
    font-size: .75rem;
}

.mixx-inspector-list {
    display: grid;
    gap: .4rem;
}

.mixx-inspector-row {
    display: grid;
    gap: .12rem;
    padding: .48rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: .7rem;
    background: rgba(255, 255, 255, .05);
}

.mixx-inspector-row b {
    font-size: .78rem;
}

.mixx-inspector-row span,
.mixx-inspector-row small,
.mixx-inspector-row em {
    overflow-wrap: anywhere;
    color: rgba(255, 255, 255, .66);
    font-size: .68rem;
    font-style: normal;
}

@media (max-width: 720px) {
    .mixx-controls {
        top: 13.25rem;
        left: .65rem;
        width: min(22rem, calc(100vw - 1.3rem));
    }

    .mixx-panel {
        padding: .65rem;
    }

    .mixx-asset-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mixx-inspector-panel {
        right: .55rem;
        bottom: .55rem;
        width: calc(100vw - 1.1rem);
        max-height: 38vh;
    }
}
