- EQ curve computed as complex response: PEQ biquads (now incl. all-pass), crossover filters from Butterworth/Bessel/Linkwitz-Riley prototypes - Mag/Phase switch; phase wraps at +-180 degrees like the original software - overlay any other channel of the device in the curve (e.g. sub/top crossover) - EQ Bypass (0x3C) for all PEQ bands, GEQ Bypass (0x49) for the inputs, read from the bit masks at the end of the memory image; preset import aware Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
509 lines
35 KiB
CSS
509 lines
35 KiB
CSS
:root {
|
|
--bg: #0b0c0f;
|
|
--bg2: #101216;
|
|
--panel: #15181d;
|
|
--panel2: #1c2027;
|
|
--panel3: #232831;
|
|
--line: #2a303a;
|
|
--line2: #3a4250;
|
|
--text: #e8edf3;
|
|
--dim: #8a95a3;
|
|
--dim2: #5d6773;
|
|
--accent: #38bdf8;
|
|
--accent2: #0284c7;
|
|
--ok: #22c55e;
|
|
--warn: #f59e0b;
|
|
--bad: #ef4444;
|
|
--mute: #dc2626;
|
|
--led-g: #2bff6b;
|
|
--led-o: #ffa31a;
|
|
--led-r: #ff3030;
|
|
--radius: 12px;
|
|
--hdr: 56px;
|
|
--bnav: 0px;
|
|
--sb: 70px;
|
|
color-scheme: dark;
|
|
}
|
|
* { box-sizing: border-box; }
|
|
html, body { margin: 0; background: var(--bg); color: var(--text); }
|
|
body {
|
|
font: 15px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
-webkit-tap-highlight-color: transparent;
|
|
overscroll-behavior-y: contain;
|
|
min-height: 100dvh;
|
|
}
|
|
[hidden] { display: none !important; }
|
|
button, input, select { font: inherit; color: inherit; }
|
|
button {
|
|
background: var(--panel2); border: 1px solid var(--line); border-radius: 9px;
|
|
padding: 8px 12px; min-height: 40px; cursor: pointer; touch-action: manipulation;
|
|
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
|
transition: background .12s, border-color .12s, color .12s;
|
|
}
|
|
button:hover { border-color: var(--line2); }
|
|
button:active { filter: brightness(1.25); }
|
|
button:focus-visible, select:focus-visible, input:focus-visible, .fader:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
button.on { background: var(--accent2); border-color: var(--accent); color: #fff; }
|
|
button:disabled { opacity: .45; cursor: default; }
|
|
button.danger { color: #fca5a5; }
|
|
button.danger-on { background: #991b1b; border-color: #ef4444; color: #fff; }
|
|
button.small { min-height: 32px; padding: 4px 10px; font-size: 13px; text-transform: none; letter-spacing: 0; }
|
|
button.icon { background: none; border-color: transparent; padding: 8px; min-width: 44px; }
|
|
button.icon:hover { background: var(--panel2); }
|
|
button svg, .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
|
|
select, input[type=text], input[type=number], input[type=password] {
|
|
background: var(--panel2); border: 1px solid var(--line); border-radius: 9px;
|
|
padding: 8px 10px; min-height: 40px; width: 100%; min-width: 0;
|
|
}
|
|
select { cursor: pointer; }
|
|
input.bad { border-color: var(--bad); }
|
|
label.inline { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); }
|
|
|
|
/* ------------------------------------------------------------- header */
|
|
#top {
|
|
position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px;
|
|
padding: calc(6px + env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) 6px max(8px, env(safe-area-inset-left));
|
|
background: rgba(11, 12, 15, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.brand { display: flex; flex: none; }
|
|
#devtabs { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
|
|
#devtabs::-webkit-scrollbar { display: none; }
|
|
.devtab { white-space: nowrap; flex: none; max-width: 220px; background: var(--panel); }
|
|
.devtab .dn { overflow: hidden; text-overflow: ellipsis; }
|
|
.devtab small { font-size: 11px; color: var(--dim); background: var(--panel3); border-radius: 5px; padding: 1px 5px; }
|
|
.devtab.active { background: var(--panel3); border-color: var(--accent); }
|
|
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim2); flex: none; }
|
|
.dot.online { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
|
|
.dot.connecting, .dot.loading { background: var(--warn); animation: blink 1s infinite; }
|
|
.dot.error { background: var(--bad); }
|
|
@keyframes blink { 50% { opacity: .3; } }
|
|
|
|
#viewtabs { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; padding: 3px; flex: none; }
|
|
#viewtabs button { border: 0; background: none; min-height: 36px; padding: 6px 14px; color: var(--dim); border-radius: 8px; }
|
|
#viewtabs button svg { width: 18px; height: 18px; }
|
|
#viewtabs button svg .f { fill: currentColor; stroke: none; }
|
|
#viewtabs button.active { background: var(--panel3); color: var(--accent); }
|
|
body[data-view=settings] #viewtabs button.active { background: none; color: var(--dim); }
|
|
|
|
#statusbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px max(10px, env(safe-area-inset-right)) 6px max(10px, env(safe-area-inset-left)); }
|
|
#statusbar:empty { display: none; }
|
|
#statusbar .preset { flex: 1 1 180px; min-width: 0; }
|
|
#statusbar .preset b { display: block; font-size: 18px; letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
#statusbar .preset small { color: var(--dim); font-size: 12px; }
|
|
#statusbar .presetrow { flex: 0 1 380px; display: flex; gap: 8px; min-width: 0; }
|
|
#statusbar .presetrow select { flex: 1; min-width: 0; }
|
|
#statusbar .presetrow button { flex: none; }
|
|
|
|
#main { padding: 4px max(10px, env(safe-area-inset-right)) calc(24px + var(--bnav)) max(10px, env(safe-area-inset-left)); max-width: 1500px; margin: 0 auto; }
|
|
|
|
/* phones: view switcher becomes a bottom navigation bar */
|
|
@media (max-width: 759px) {
|
|
:root { --bnav: calc(62px + env(safe-area-inset-bottom)); }
|
|
.brand { display: none; }
|
|
/* backdrop-filter would make the header the containing block of the fixed bottom bar */
|
|
#top { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
|
|
#viewtabs {
|
|
position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; border-radius: 0; border: 0; border-top: 1px solid var(--line);
|
|
padding: 4px 6px env(safe-area-inset-bottom); background: rgba(16, 18, 22, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
|
|
}
|
|
#viewtabs button { flex: 1; flex-direction: column; gap: 2px; font-size: 11px; min-height: 54px; padding: 4px; }
|
|
#viewtabs button svg { width: 22px; height: 22px; }
|
|
#toast { bottom: calc(var(--bnav) + 12px) !important; }
|
|
}
|
|
|
|
/* ------------------------------------------------------------- generic blocks */
|
|
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-width: 0; }
|
|
.card h3 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim);
|
|
display: flex; align-items: center; gap: 8px; min-height: 22px; }
|
|
.grow { flex: 1; }
|
|
.cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; margin-bottom: 10px; }
|
|
.cards .wide { grid-column: 1 / -1; }
|
|
h2.section { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 14px 2px 8px; }
|
|
.empty { color: var(--dim); text-align: center; padding: 60px 16px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
|
|
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .9s linear infinite; }
|
|
.spinner.off { display: none; }
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
|
|
.row > * { flex: 1 1 auto; }
|
|
.row > button { flex: 0 0 auto; }
|
|
.grow2 { flex: 1 1 160px !important; }
|
|
.info { font-size: 12px; color: var(--dim); margin: 8px 2px 0; }
|
|
.info.off { margin: 4px 0 6px; }
|
|
.hint { text-align: center; }
|
|
.err { color: #fca5a5; font-size: 13px; }
|
|
|
|
/* ------------------------------------------------------------- parameter rows */
|
|
.param { margin: 10px 0 4px; }
|
|
.param .lbl { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 2px; }
|
|
.valbox { display: flex; align-items: center; gap: 4px; }
|
|
.valbox .val { min-width: 104px; min-height: 32px; padding: 3px 8px; background: var(--bg2); border-color: var(--line);
|
|
font-variant-numeric: tabular-nums; font-size: 14px; color: var(--text); }
|
|
.valbox .step { width: 34px; min-width: 34px; min-height: 32px; padding: 0; font-size: 18px; line-height: 1; color: var(--dim); background: var(--panel2); }
|
|
.valbox .step:hover { color: var(--text); }
|
|
.param.atzero .val { color: var(--ok); border-color: #1f5f36; }
|
|
.rangewrap { position: relative; }
|
|
.rangewrap .zmark { position: absolute; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--line2);
|
|
left: calc(13px + (100% - 26px) * var(--f)); pointer-events: none; }
|
|
.param.atzero .zmark { background: var(--ok); }
|
|
input[type=range] { position: relative; width: 100%; height: 36px; background: transparent; -webkit-appearance: none; appearance: none; margin: 0; cursor: pointer; touch-action: pan-y; }
|
|
input[type=range]::-webkit-slider-runnable-track { height: 6px; background: var(--line); border-radius: 3px; }
|
|
input[type=range]::-moz-range-track { height: 6px; background: var(--line); border-radius: 3px; }
|
|
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
|
|
background: radial-gradient(circle at 50% 40%, #e2e8f0, #94a3b8); border: 2px solid #0b0c0f; box-shadow: 0 1px 4px #000c; }
|
|
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #e2e8f0, #94a3b8); border: 2px solid #0b0c0f; }
|
|
.param.atzero input[type=range]::-webkit-slider-thumb { box-shadow: 0 0 0 3px #22c55e55, 0 1px 4px #000c; }
|
|
|
|
/* ------------------------------------------------------------- LED meters (segment bars) */
|
|
.led { display: flex; gap: 2px; flex: none; }
|
|
.led > i { flex: 1; border-radius: 1.5px; background: var(--c); opacity: .13; }
|
|
.led > i.g { --c: var(--led-g); }
|
|
.led > i.o { --c: var(--led-o); }
|
|
.led > i.r { --c: var(--led-r); }
|
|
.led.v { flex-direction: column-reverse; width: 12px; height: 100%; padding: 12px 0; }
|
|
.led.h { flex-direction: row; height: 10px; width: 120px; }
|
|
.muted .led > i { filter: saturate(.25); }
|
|
|
|
/* ------------------------------------------------------------- fader */
|
|
/* only the cap grabs: a swipe anywhere else on the fader scrolls the page / the mixer sideways */
|
|
.fader { --tx: 50%; position: relative; touch-action: pan-x pan-y; user-select: none; -webkit-user-select: none; border-radius: 8px; }
|
|
.fader .track { position: absolute; left: var(--tx); top: 12px; bottom: 12px; width: 6px; margin-left: -3px; background: #07080a;
|
|
border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line); }
|
|
.fader .tick { position: absolute; left: calc(var(--tx) - 14px); width: 28px; height: 1px; background: var(--line2);
|
|
top: calc(12px + (100% - 24px) * (1 - var(--f))); }
|
|
.fader .tick.z { background: var(--dim); height: 2px; margin-top: -0.5px; }
|
|
.fader .tick span { position: absolute; right: calc(100% + 3px); top: -6px; font-size: 9px; line-height: 12px; color: var(--dim2); font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
.fader .tick.z span { color: var(--dim); font-weight: 600; }
|
|
.fader .cap { position: absolute; left: calc(var(--tx) - 16px); width: 32px; height: 40px; margin-top: -20px; border-radius: 5px;
|
|
top: calc(12px + (100% - 24px) * (1 - var(--f)));
|
|
background: linear-gradient(#3b4250, #262b34 45%, #1b1f26 55%, #2c323c); border: 1px solid #4a5260;
|
|
box-shadow: 0 3px 8px #000c, inset 0 1px 0 #ffffff1a; }
|
|
.fader .cap { touch-action: none; cursor: ns-resize; z-index: 1; }
|
|
.fader .cap::before { content: ""; position: absolute; inset: -10px -8px; } /* larger grip area for fingers */
|
|
.fader .cap::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; margin-top: -1px; background: #e8edf3; border-radius: 1px; }
|
|
.fader.atzero .cap::after { background: var(--ok); box-shadow: 0 0 6px var(--ok); }
|
|
.fader.grab .cap { border-color: var(--accent); }
|
|
|
|
/* ------------------------------------------------------------- mixer */
|
|
.mixer { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
|
|
.mgroup { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; }
|
|
.mgroup h4 { margin: 0 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); font-weight: 600; }
|
|
.strips { display: flex; gap: 6px; }
|
|
.strip { --cc: var(--warn); flex: none; width: 92px; background: linear-gradient(var(--panel), var(--bg2)); border: 1px solid var(--line);
|
|
border-radius: var(--radius); padding: 0 6px 8px; display: flex; flex-direction: column; align-items: stretch; gap: 8px;
|
|
scroll-snap-align: start; position: relative; overflow: hidden; }
|
|
.strip::before { content: ""; height: 3px; margin: 0 -6px; background: var(--cc); opacity: .9; }
|
|
.strip-head { flex-direction: column; gap: 0; background: none; border: 0; padding: 2px 0; min-height: 38px; border-radius: 6px; }
|
|
.strip-head:hover { background: var(--panel2); }
|
|
.strip-head .kind { font-size: 11px; color: var(--dim); letter-spacing: .04em; }
|
|
.strip-head .nm { font-weight: 650; font-size: 13px; max-width: 78px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.faderbox { display: flex; justify-content: center; gap: 4px;
|
|
height: clamp(170px, calc(100dvh - var(--hdr) - var(--sb) - var(--bnav) - 196px), 560px); }
|
|
.strip .fader { --tx: 36px; width: 56px; height: 100%; }
|
|
.strip .db { min-height: 32px; padding: 2px; font-variant-numeric: tabular-nums; font-size: 13px; background: var(--bg2); }
|
|
.strip .db.z { color: var(--ok); }
|
|
.strip button.mute { min-height: 38px; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
|
|
button.mute.on { background: var(--mute); border-color: #f87171; color: #fff; box-shadow: 0 0 10px #dc262655; }
|
|
.strip.muted { background: linear-gradient(#1f1517, var(--bg2)); }
|
|
@media (min-width: 1200px) {
|
|
.mgroup { flex-shrink: 1; flex-basis: 0; }
|
|
.strip { flex: 1 1 92px; max-width: 128px; }
|
|
}
|
|
|
|
/* ------------------------------------------------------------- channel view */
|
|
.chbar { position: sticky; top: var(--hdr); z-index: 10; display: flex; align-items: center; gap: 6px; margin: 0 -10px 10px; padding: 8px 10px;
|
|
background: rgba(11, 12, 15, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
|
|
.chbar .nav { flex: none; background: var(--panel2); border-color: var(--line); min-width: 44px; }
|
|
.chselwrap { --cc: var(--warn); flex: 1 1 auto; min-width: 0; position: relative; max-width: 420px; }
|
|
.chselwrap::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 2px; background: var(--cc); pointer-events: none; }
|
|
.chsel { font-weight: 650; font-size: 16px; padding-left: 14px; min-height: 44px; background: var(--panel2); }
|
|
.chbar .led.h { width: clamp(60px, 18vw, 200px); }
|
|
.chbar .mute { flex: none; min-width: 70px; font-weight: 700; font-size: 12px; letter-spacing: .06em; }
|
|
@media (max-width: 480px) { .chbar .led.h { display: none; } }
|
|
|
|
.sub { font-size: 13px; color: var(--text); font-weight: 600; flex: 0 0 80px !important; }
|
|
.xo + .xo { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
|
|
canvas.curve { width: 100%; height: clamp(200px, 32vw, 320px); display: block; background: #08090b; border: 1px solid var(--line); border-radius: 10px; touch-action: none; cursor: crosshair; }
|
|
.bands { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: thin; }
|
|
.band { flex: 1 0 58px; flex-direction: column; gap: 0; padding: 5px 4px; min-height: 52px; line-height: 1.15; }
|
|
.band b { font-size: 14px; }
|
|
.band small { font-size: 10.5px; color: var(--dim); font-variant-numeric: tabular-nums; }
|
|
.band.active:not(.on) { border-color: #3b6d8a; }
|
|
.band.on { background: #3a2a0d; border-color: var(--warn); color: #fff; }
|
|
.band.on small { color: #fcd9a0; }
|
|
.band.bypassed { opacity: .45; }
|
|
.band.bypassed b { text-decoration: line-through; }
|
|
.bandhead { margin-top: 8px; }
|
|
.bandhead label { flex: 1 1 200px; }
|
|
.pgrid { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
|
|
|
|
.geq { display: flex; gap: 2px; overflow-x: auto; padding-bottom: 6px; }
|
|
.gb { flex: 1 0 30px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; color: var(--dim); }
|
|
.gb .fader { width: 30px; height: 190px; }
|
|
.gb .fader .tick { left: 3px; width: 24px; }
|
|
.gb .fader .cap { left: 1px; width: 28px; height: 24px; margin-top: -12px; }
|
|
.gb .gv { font-variant-numeric: tabular-nums; }
|
|
.gb .gv.nz { color: var(--warn); }
|
|
.gb .gf { white-space: nowrap; }
|
|
|
|
.mixrow { display: grid; grid-template-columns: minmax(110px, 0.6fr) 1fr; gap: 4px 12px; align-items: center; padding: 4px 0; }
|
|
.mixrow + .mixrow { border-top: 1px solid var(--line); }
|
|
.mixrow .param { margin: 4px 0; }
|
|
.mixrow .param .lbl > span:first-child { display: none; }
|
|
.mixrow .param .lbl { justify-content: flex-end; }
|
|
.mixrow.off .param { opacity: .45; }
|
|
.src { --cc: var(--accent); justify-content: flex-start; text-align: left; min-height: 44px; }
|
|
.src .sw { width: 30px; height: 18px; border-radius: 9px; background: var(--line); position: relative; flex: none; transition: background .15s; }
|
|
.src .sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--dim); transition: transform .15s, background .15s; }
|
|
.src.on { background: var(--panel2); border-color: var(--cc); color: var(--text); }
|
|
.src.on .sw { background: var(--cc); }
|
|
.src.on .sw::after { transform: translateX(12px); background: #fff; }
|
|
@media (max-width: 420px) { .mixrow { grid-template-columns: 1fr; } }
|
|
|
|
/* ------------------------------------------------------------- routing matrix */
|
|
.routing { overflow-x: auto; }
|
|
.xmatrix { display: grid; grid-template-columns: minmax(104px, 1.1fr) repeat(var(--n), minmax(58px, 1fr)); gap: 0; min-width: min-content; }
|
|
.xcorner { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 8px 8px 2px; font-size: 11px; color: var(--dim2); }
|
|
.xin { --cc: var(--accent); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 10px; border-top: 3px solid var(--cc);
|
|
background: linear-gradient(color-mix(in srgb, var(--cc) 10%, transparent), transparent); border-radius: 6px 6px 0 0; margin: 0 3px; min-width: 0; }
|
|
.xin b { font-size: 14px; }
|
|
.xin small { font-size: 11px; color: var(--dim); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.xin .led.h { width: 80%; height: 6px; margin-top: 4px; }
|
|
.xout { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; justify-items: start; align-items: center; gap: 0 6px;
|
|
text-align: left; border-radius: 9px 0 0 9px; border: 0; border-top: 1px solid var(--line); background: none; padding: 8px; min-height: 64px; }
|
|
.xout:hover { background: var(--panel2); }
|
|
.xout.open { background: var(--panel3); }
|
|
.xo-t { display: flex; flex-direction: column; min-width: 0; }
|
|
.xo-t b { font-size: 14px; }
|
|
.xo-t small { font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
|
|
.xo-s { grid-column: 1; font-size: 11px; color: var(--accent); }
|
|
.chev { grid-column: 2; grid-row: 1 / 3; color: var(--dim); font-size: 16px; }
|
|
.xp { --cc: var(--accent); position: relative; border: 0; border-top: 1px solid var(--line); border-radius: 0; min-height: 64px; padding: 0; background:
|
|
linear-gradient(var(--line), var(--line)) center / 2px 100% no-repeat,
|
|
linear-gradient(var(--line), var(--line)) center / 100% 2px no-repeat; flex-direction: column; gap: 3px; }
|
|
.xp:hover { background-color: var(--panel2); }
|
|
.xp .node { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line2); transition: transform .12s, background .12s; }
|
|
.xp:hover .node { border-color: var(--dim); }
|
|
.xp.on { border-color: var(--line); color: var(--text); --lc: color-mix(in srgb, var(--cc) 60%, transparent); background:
|
|
linear-gradient(var(--lc), var(--lc)) center / 2px 100% no-repeat,
|
|
linear-gradient(var(--lc), var(--lc)) center / 100% 2px no-repeat; }
|
|
.xp.on .node { background: var(--cc); border-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--cc) 30%, transparent), 0 0 14px var(--cc); transform: scale(1.08); }
|
|
.xp small { position: absolute; bottom: 3px; left: 0; right: 0; font-size: 10px; color: var(--text); background: none; font-variant-numeric: tabular-nums; }
|
|
.xpanel { grid-column: 1 / -1; background: var(--panel3); border-radius: 0 0 10px 10px; padding: 6px 12px 10px; margin-bottom: 6px; }
|
|
.xpanel-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; padding: 4px 0; }
|
|
|
|
/* ------------------------------------------------------------- settings */
|
|
.devform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
|
|
.devform label { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; }
|
|
.devform label.full, .devform .err { grid-column: 1 / -1; }
|
|
.devform label.chk { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 14px; }
|
|
.devform label.chk input { width: 20px; height: 20px; }
|
|
.devform .actions { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.devform .actions button { flex: 1 1 auto; }
|
|
|
|
/* ------------------------------------------------------------- dialogs */
|
|
#modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
|
|
.backdrop { position: absolute; inset: 0; background: #000a; animation: fade .15s; }
|
|
.dialog { position: relative; width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line2); border-radius: 16px;
|
|
padding: 18px; box-shadow: 0 20px 60px #000c; animation: pop .15s ease-out; }
|
|
.dialog h2 { margin: 0 0 12px; font-size: 17px; }
|
|
.dlg-text { margin: 0 0 4px; color: var(--dim); }
|
|
.dlg-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 16px; }
|
|
.dlg-actions button { min-width: 110px; }
|
|
.dialog .row input { flex: 1 1 140px; font-size: 18px; font-variant-numeric: tabular-nums; }
|
|
.dialog .chip { flex: none; }
|
|
.form { display: flex; flex-direction: column; gap: 10px; }
|
|
.form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--dim); }
|
|
@keyframes fade { from { opacity: 0; } }
|
|
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(6px); } }
|
|
@media (max-width: 520px) {
|
|
#modal { align-items: flex-end; padding: 0; }
|
|
.dialog { width: 100%; border-radius: 18px 18px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); animation: slideup .18s ease-out; }
|
|
.dlg-actions button { flex: 1; }
|
|
}
|
|
@keyframes slideup { from { transform: translateY(40px); opacity: 0; } }
|
|
|
|
#toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%);
|
|
background: #1f2937; border: 1px solid var(--line2); padding: 10px 16px; border-radius: 10px; z-index: 120; max-width: 90vw; box-shadow: 0 8px 24px #000a; }
|
|
|
|
/* ------------------------------------------------------------- login */
|
|
#login { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; overflow-y: auto;
|
|
background: radial-gradient(ellipse at 50% 0%, #13253a 0%, var(--bg) 60%); padding: 20px; }
|
|
.loginbox { display: flex; flex-direction: column; align-items: center; width: min(320px, 100%); }
|
|
.loginbox .logo svg { width: 56px; height: 56px; }
|
|
.loginbox h1 { margin: 12px 0 2px; font-size: 22px; letter-spacing: .02em; }
|
|
.loginbox p { margin: 0 0 22px; color: var(--dim); }
|
|
.pindots { display: flex; gap: 18px; margin-bottom: 10px; }
|
|
.pindots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line2); transition: background .1s, border-color .1s, transform .1s; }
|
|
.pindots i.on { background: var(--accent); border-color: var(--accent); transform: scale(1.1); box-shadow: 0 0 10px #38bdf888; }
|
|
.pindots.shake { animation: shake .4s; }
|
|
.pindots.shake i { border-color: var(--bad); }
|
|
@keyframes shake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
|
|
.pinmsg { min-height: 20px; font-size: 13px; color: #fca5a5; margin-bottom: 14px; text-align: center; }
|
|
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 280px; }
|
|
.pinpad.locked { opacity: .35; pointer-events: none; }
|
|
.pk { aspect-ratio: 1; border-radius: 50%; font-size: 26px; font-weight: 500; background: var(--panel); border: 1px solid var(--line); min-height: 0; }
|
|
.pk:active { background: var(--accent2); border-color: var(--accent); filter: none; }
|
|
.pk.del { font-size: 22px; background: none; border-color: transparent; color: var(--dim); }
|
|
@media (max-height: 560px) { .pk { aspect-ratio: auto; height: 52px; border-radius: 14px; } .pinpad { gap: 8px; } .loginbox p { margin-bottom: 10px; } }
|
|
|
|
/* ------------------------------------------------------------- limiter calculator */
|
|
.limcard h3 .led.h { width: clamp(50px, 14vw, 110px); height: 8px; }
|
|
.lres { --c: var(--ok); border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px;
|
|
background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); }
|
|
.lres.warn { --c: var(--warn); }
|
|
.lres.bad { --c: var(--bad); }
|
|
.lres.none { --c: var(--line2); background: none; }
|
|
.lw { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
|
|
.lw small { font-size: 14px; font-weight: 500; color: var(--dim); }
|
|
.lsub { font-size: 13px; color: var(--dim); margin-top: 2px; }
|
|
.lbar { position: relative; height: 8px; border-radius: 4px; background: var(--panel3); margin: 10px 0 4px; }
|
|
.lres.none .lbar { display: none; }
|
|
.lbar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: 4px; background: var(--c); transition: width .15s; }
|
|
.lbar b, .lbar::after { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--text); left: calc(var(--a) * 100% - 1px); }
|
|
.lbar::after { content: ""; display: none; background: var(--warn); left: calc(var(--s) * 100% - 1px); }
|
|
.lbar.hasspk::after { display: block; }
|
|
.lnotes { display: grid; gap: 2px; margin-top: 6px; font-size: 12.5px; }
|
|
.lnotes .ok { color: #86efac; } .lnotes .warn { color: #fcd34d; } .lnotes .bad { color: #fca5a5; }
|
|
.lnotes div::before { content: "● "; font-size: 9px; vertical-align: 2px; }
|
|
.limgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
|
|
.limgrid label { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
|
|
.limgrid label.full { grid-column: 1 / -1; }
|
|
.target { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
|
|
.target .row input { flex: 1 1 80px; min-width: 0; }
|
|
.target .sub { flex: 0 0 auto !important; }
|
|
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
|
|
button.chip { min-height: 30px; padding: 3px 10px; font-size: 12.5px; text-transform: none; letter-spacing: 0; border-radius: 15px; }
|
|
details.more { margin-top: 8px; }
|
|
details.more summary { cursor: pointer; font-size: 13px; color: var(--dim); padding: 6px 0; user-select: none; }
|
|
.amp .ampspec { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
|
|
.amp .actions { display: flex; justify-content: flex-end; margin-top: 8px; }
|
|
.addcard { min-height: 90px; border-style: dashed; color: var(--dim); background: none; font-size: 14px; }
|
|
.addcard:hover { color: var(--accent); border-color: var(--accent); }
|
|
input.short { flex: 0 0 72px !important; width: 72px; text-align: right; }
|
|
.seg { display: flex; gap: 0; }
|
|
.seg button { flex: 1; border-radius: 0; text-transform: none; letter-spacing: 0; }
|
|
.seg button:first-child { border-radius: 8px 0 0 8px; }
|
|
.seg button:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
|
|
.ampform { grid-template-columns: repeat(3, minmax(0, 1fr)); }
|
|
.ampform .full { grid-column: 1 / -1; }
|
|
.ampform input { min-width: 0; width: 100%; }
|
|
.ampform .sub { margin-top: 4px; }
|
|
.ampform .full > label { font-size: 12px; color: var(--dim); display: flex; flex-direction: column; gap: 4px; }
|
|
.ampform label[hidden] { display: none; }
|
|
.chips.presets { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); margin: 6px 0 10px; }
|
|
button.chip.preset { flex-direction: column; align-items: flex-start; gap: 0; border-radius: 9px; padding: 5px 9px; min-height: 42px; text-align: left; }
|
|
button.chip.preset b { font-size: 13px; }
|
|
button.chip.preset small { font-size: 10.5px; color: var(--dim); font-weight: 400; }
|
|
button.chip.preset.on small { color: #e0f2fe; }
|
|
details.more summary .tag { margin-left: 8px; font-size: 11px; padding: 1px 7px; border-radius: 9px; background: var(--panel3); color: var(--accent); }
|
|
|
|
/* ------------------------------------------------------------- desktop app: remote access */
|
|
.remote-urls { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
|
|
.remote-urls code { font: 600 15px ui-monospace, Consolas, monospace; color: var(--accent); background: var(--panel2);
|
|
border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; user-select: all; }
|
|
|
|
/* ------------------------------------------------------------- device form: network / USB */
|
|
.devform .full { grid-column: 1 / -1; }
|
|
.devform [hidden] { display: none !important; }
|
|
.devform .sub { margin-top: 2px; color: var(--dim); font-weight: 500; font-size: 12px; }
|
|
.devform .row { flex-wrap: nowrap; }
|
|
.devform .row select { flex: 1 1 auto; min-width: 0; }
|
|
|
|
/* channel links */
|
|
.lnk { --lc: var(--warn); display: inline-flex; vertical-align: -2px; margin-left: 4px; color: var(--lc); }
|
|
.lnk svg, .linknote svg, .lkgroup svg, .lkmark svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
|
|
.linknote { --lc: var(--warn); color: var(--lc); margin: -4px 0 10px; }
|
|
.linknote svg { vertical-align: -2px; }
|
|
.lkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
|
|
.lkch { --lc: var(--line); position: relative; flex-direction: column; gap: 0; min-height: 58px; border-top: 3px solid var(--lc); }
|
|
.lkch small { color: var(--dim); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.lkch .lkmark { position: absolute; top: 4px; right: 5px; color: var(--lc); }
|
|
.lkch.sel { background: var(--accent2); border-color: var(--accent); color: #fff; }
|
|
.lkch.sel small { color: #dbeafe; }
|
|
.lkactions { margin-top: 10px; }
|
|
.lkgroups { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
|
|
.lkgroup { --lc: var(--warn); border-left: 3px solid var(--lc); padding: 4px 0 4px 10px; background: var(--panel2); border-radius: 6px; }
|
|
.lkgroup svg { flex: none; color: var(--lc); }
|
|
|
|
/* lock (desktop app) */
|
|
#btn-lock { display: inline-flex; align-items: center; gap: 6px; }
|
|
#btn-lock[hidden] { display: none; }
|
|
#btn-lock.on { background: #3a2a0d; border-color: var(--warn); color: #fcd9a0; padding: 8px 12px; }
|
|
#btn-lock span { font-size: 13px; font-weight: 600; }
|
|
body.locked #main :is(button, input, select, .fader, canvas):not(.chsel, .nav, .strip-head, .xout, .band, [data-view-ok]),
|
|
body.locked #statusbar :is(button, select):not([data-view-ok]) { cursor: not-allowed; }
|
|
|
|
/* limiter LED (outputs): orange bar under the channel name, lit while the DSP reports the limiter active */
|
|
.limled { flex: none; display: block; width: 34px; height: 4px; margin-top: 3px; border-radius: 1px;
|
|
background: color-mix(in srgb, var(--led-o) 16%, transparent); transition: background .08s, box-shadow .08s; }
|
|
.limled.ph { visibility: hidden; }
|
|
.limled.on { background: var(--led-o); box-shadow: 0 0 6px var(--led-o), 0 0 2px var(--led-o); }
|
|
.limled.h { width: auto; height: auto; margin: 0; padding: 2px 6px; font-size: 10px; font-weight: 700; letter-spacing: .06em;
|
|
color: color-mix(in srgb, var(--led-o) 45%, transparent); }
|
|
.limled.h.on { color: #1a1000; }
|
|
|
|
/* ---- demo mode */
|
|
.demo-badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #1a1000 !important;
|
|
background: var(--warn) !important; border-radius: 5px; padding: 1px 6px; }
|
|
.devtab.demo { border-color: var(--warn); }
|
|
.devtab.paused, .card.paused { opacity: .45; }
|
|
.devtab.paused { cursor: not-allowed; }
|
|
.card.demo-on { border-color: var(--warn); }
|
|
|
|
/* ---- device lock (hardware) */
|
|
input.code { width: 7.5em; text-align: center; font-family: ui-monospace, Menlo, Consolas, monospace;
|
|
font-size: 20px; letter-spacing: .3em; text-transform: uppercase; }
|
|
.dialog input.code { display: block; margin: 8px auto 4px; }
|
|
.lockbox .row { align-items: center; gap: 8px; margin: 6px 0; }
|
|
.lockbox .sub { margin-top: 10px; }
|
|
.dot.locked { background: var(--warn); }
|
|
.dialog label.chk { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; }
|
|
.dialog label.chk input { width: 20px; height: 20px; }
|
|
.dialog .err { text-align: center; }
|
|
.lockbox input.code { flex: none; width: 7.5em; }
|
|
|
|
/* ---- audio test */
|
|
.test-badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #fff !important;
|
|
background: var(--bad) !important; border-radius: 5px; padding: 1px 6px; }
|
|
.testbanner { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; font-weight: 600;
|
|
background: color-mix(in srgb, var(--bad) 18%, transparent); border: 1px solid var(--bad); }
|
|
.cards.testcards { grid-template-columns: minmax(0, 1fr); }
|
|
.srcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
|
|
.srcgrid .src { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; text-align: left;
|
|
text-transform: none; letter-spacing: 0; min-height: 58px; }
|
|
.srcgrid .src small { color: var(--dim); font-weight: 400; }
|
|
.srcgrid .src.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--panel)); }
|
|
.srcgrid .src.noise.on { border-color: var(--bad); background: color-mix(in srgb, var(--bad) 16%, var(--panel)); }
|
|
.sinefreq { margin-top: 12px; align-items: center; gap: 10px; }
|
|
.sinefreq.dim { opacity: .5; }
|
|
.testfader.off .tf { opacity: .35; pointer-events: none; }
|
|
.testbody { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
|
|
.tf { display: flex; flex-direction: column; align-items: center; gap: 8px; }
|
|
.tf .fader { height: 300px; }
|
|
.testval { white-space: nowrap; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
|
|
.tmeters { display: flex; gap: 6px; overflow-x: auto; min-width: 0; padding-bottom: 4px; }
|
|
.tmeter { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
|
|
.tmeter .led { height: 300px; }
|
|
.testfader h3 .info { margin-left: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; }
|
|
.tmeter small { font-size: 11px; color: var(--dim); }
|
|
button.wide { width: 100%; margin-top: 14px; }
|
|
.tmeter button.mute { padding: 6px 8px; font-size: 11px; min-width: 52px; }
|
|
.tmeter.muted .led { opacity: .35; }
|
|
|
|
/* ---- curve: phase view, overlays, master bypass */
|
|
.seg.small button { padding: 5px 10px; font-size: 12px; min-height: 0; }
|
|
.card h3 .seg.small { margin-right: 8px; }
|
|
button.bypass.on { background: #991b1b; border-color: var(--bad); color: #fff; }
|
|
.card.eq-off .bands { opacity: .45; }
|
|
.chips.overlay { margin-top: 8px; align-items: center; gap: 6px; flex-wrap: wrap; }
|
|
.chips.overlay .sub { margin-right: 4px; }
|
|
button.chip.ov { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; font-size: 12px; text-transform: none; letter-spacing: 0; }
|
|
button.chip.ov i { width: 10px; height: 10px; border-radius: 3px; border: 2px solid var(--oc); }
|
|
button.chip.ov.on { border-color: var(--oc); background: color-mix(in srgb, var(--oc) 18%, var(--panel)); }
|
|
button.chip.ov.on i { background: var(--oc); }
|
|
.geq { position: relative; }
|
|
.geq.bypassed > * { opacity: .35; }
|
|
.geq.bypassed::after { content: "BYPASS"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
|
|
font: 700 34px system-ui; color: #ef444499; pointer-events: none; }
|