body {
    background: #000000;
    color: #e0e0e0;
    font-family: monospace;
}


p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 14px 0;
}

.left {
    float: none;
    width: 130px;
    display: inline-block;
    color: #9a6bff;
}


span {
    background: transparent;
    transition: all 0.2s ease;
}

span.grid {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

span.grid.current {
    background: #2b174f;
    box-shadow: 0 0 12px #9a6bff;
    border-color: #9a6bff;
}

span.grid input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 34px;
    height: 34px;
    margin: 0;
    background: #181818;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
}

span.grid input[type="checkbox"]:checked {
    background: #ff2e63;
    border-color: #ff2e63;
    box-shadow:
            0 0 10px #ff2e63,
            0 0 20px #ff2e63,
            0 0 30px #ff2e63;
}
span.grid:nth-child(4n+6) {
    border-left: 1px solid #2a2a2a;
}

select,
input[type="number"] {
    background: #111;
    color: #e0e0e0;
    border: 1px solid #333;
    padding: 4px;
}

input[type="range"] {
    accent-color: #9a6bff;
}

button {
    background: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid #333;
    padding: 4px 8px;
    margin: 2px;
    cursor: pointer;
}

button:hover {
    background: #2a2a2a;
    border-color: #9a6bff;
}

.narrow {
    width: 60px;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
}

#dialog {
    background-color: rgba(10,10,10,0.95);
    color: #fff;
    border: 1px solid #9a6bff;
}

.knob-container {
    display: inline-block;
    text-align: center;
    margin: 10px;
}

.knob {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(#222, #111);
    border: 2px solid #444;
    position: relative;
    cursor: pointer;
}

.knob::after {
    content: '';
    width: 4px;
    height: 20px;
    background: #9a6bff;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.knob-label {
    font-size: 12px;
    color: #aaa;
    margin-top: 5px;
}