:root{--bg:#0d0e10;--panel-a:#2a2d32;--panel-b:#1c1e22;--steel-hi:#f4f6f8;--steel-mid:#a9afb6;--steel-lo:#5d636a;--groove:#0a0b0c;--led-off:#2a1d14;--led-on:#ffb54a;--led-glow:#ffaa3c8c;--ink:#ffffff47;--mark:#ffffff2e}*{box-sizing:border-box;margin:0;padding:0}html,body{background:var(--bg);height:100%;color:var(--ink)}body{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:none;overscroll-behavior:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0}:focus-visible{outline-offset:4px;outline:1px solid #ffb54a99}.stage{background:radial-gradient(ellipse at 50% 40%,#16181b 0%,var(--bg)70%);place-items:center;height:100dvh;padding:16px;display:grid}.hud{letter-spacing:.2em;justify-content:space-between;font-size:11px;display:flex;position:fixed;top:14px;left:16px;right:16px}.mute{opacity:.6;letter-spacing:.2em;font-size:11px}.mute:hover{opacity:1}.panel{background:repeating-linear-gradient(90deg,#ffffff05 0 1px,transparent 1px 3px),linear-gradient(160deg,var(--panel-a),var(--panel-b));border-radius:14px;width:min(100%,560px);padding:40px 28px;transition:transform .4s cubic-bezier(.2,.8,.2,1),opacity .4s;position:relative;box-shadow:inset 0 1px #ffffff14,inset 0 -1px #00000080,0 30px 60px -20px #000c,0 2px 6px #00000080}.panel.in{opacity:0;transform:translateY(16px)scale(.98)}.panel.out{opacity:0;transform:translateY(-16px)scale(.98)}.panel.done .led.on{animation:.25s 3 alternate flash}@keyframes flash{to{box-shadow:0 0 18px 4px var(--led-glow);background:#fff3d6}}.screw{background:radial-gradient(circle at 35% 30%,#c8cdd2,#50555b 70%);border-radius:50%;width:10px;height:10px;position:absolute;box-shadow:inset 0 0 0 1px #0006,0 1px #ffffff0f}.screw:after{content:"";height:2px;transform:rotate(var(--r,30deg));background:#0000008c;position:absolute;top:4px;left:1px;right:1px}.screw.tl{--r:20deg;top:12px;left:12px}.screw.tr{--r:-40deg;top:12px;right:12px}.screw.bl{--r:75deg;bottom:12px;left:12px}.screw.br{--r:5deg;bottom:12px;right:12px}.grid{grid-template-columns:repeat(auto-fit,minmax(96px,120px));grid-auto-flow:dense;justify-content:center;justify-items:center;gap:22px 12px;display:grid}.module{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex}.module.wide{grid-column:span 2}.control{place-items:center;height:96px;display:grid}.led{background:var(--led-off);border-radius:50%;width:8px;height:8px;transition:background .12s,box-shadow .2s;box-shadow:inset 0 1px 1px #0009,0 1px #ffffff0d}.led.on{background:radial-gradient(circle at 40% 35%,#fff1d0,var(--led-on)60%);box-shadow:0 0 10px 2px var(--led-glow)}.push{touch-action:none;background:linear-gradient(#0b0c0d,#2a2d31);border-radius:50%;place-items:center;width:66px;height:66px;display:grid;box-shadow:inset 0 2px 4px #000000e6,0 1px #ffffff12}.push .cap{background:repeating-radial-gradient(circle at 50% 50%,#ffffff12 0 1px,#0000000d 1px 2px),radial-gradient(circle at 38% 30%,var(--steel-hi),var(--steel-mid)45%,var(--steel-lo)100%);border-radius:50%;width:54px;height:54px;transition:transform 40ms,box-shadow 40ms,filter 40ms;transform:translateY(-3px);box-shadow:inset 0 1px 1px #fffc,inset 0 -2px 3px #00000059,0 4px #3e4247,0 6px 8px #0009}.push.down .cap{filter:brightness(.9);transform:translateY(1px);box-shadow:inset 0 1px 1px #ffffff80,inset 0 -1px 2px #00000059,0 0 #3e4247,0 1px 2px #0009}.pips{flex-wrap:wrap;justify-content:center;gap:4px;max-width:90px;height:4px;margin-top:12px;display:flex}.pips i{background:#ffffff1f;border-radius:50%;width:4px;height:4px;transition:background .1s}.pips i.on{background:var(--led-on);box-shadow:0 0 4px var(--led-glow)}.control:has(.pips){grid-template-rows:auto auto;align-content:center}.toggle-wrap{position:relative}.mark{background:var(--mark);border-radius:1px;width:10px;height:2px;margin-left:-5px;position:absolute;left:50%}.mark.top{top:-10px}.mark.bottom{bottom:-10px}.toggle{background:linear-gradient(#08090a,#1d1f22);border-radius:10px;width:38px;height:72px;position:relative;box-shadow:inset 0 2px 5px #000000e6,0 1px #ffffff12}.lever{background:repeating-linear-gradient(180deg,#0000001f 0 1px,transparent 1px 4px)0 50%/100% 40% no-repeat,linear-gradient(90deg,var(--steel-lo),var(--steel-hi)30%,var(--steel-mid)55%,var(--steel-lo));border-radius:7px;height:34px;transition:top 70ms cubic-bezier(.5,0,.5,1.6);position:absolute;top:34px;left:4px;right:4px;box-shadow:inset 0 1px #ffffffb3,inset 0 -1px #0006,0 3px 5px #000000b3}.toggle.on .lever{top:4px}.slider{touch-action:none;width:100%;max-width:230px;height:96px;position:relative}.slider .track{background:var(--groove);border-radius:4px;height:8px;margin-top:-4px;position:absolute;top:50%;left:14px;right:14px;box-shadow:inset 0 2px 3px #000000e6,0 1px #ffffff12}.slider .tick{background:var(--mark);width:1px;height:8px;margin-left:-.5px;position:absolute;top:calc(50% + 14px)}.slider .tick.target{background:#ffffff8c;width:2px;height:12px;margin-left:-1px}.slider .thumb{background:linear-gradient(90deg,transparent 45%,#00000073 45% 55%,transparent 55%),linear-gradient(90deg,var(--steel-lo),var(--steel-hi)35%,var(--steel-mid)65%,var(--steel-lo));cursor:grab;border-radius:4px;width:22px;height:40px;margin:-20px 0 0 -11px;transition:left 60ms ease-out;position:absolute;top:50%;box-shadow:inset 0 1px #fffc,0 4px 8px #000000b3}.slider .thumb:active{cursor:grabbing}.knob-wrap{cursor:grab;touch-action:none;place-items:center;width:92px;height:92px;display:grid;position:relative}.ktick{background:var(--mark);transform-origin:50% 46px;width:1px;height:6px;margin-left:-.5px;position:absolute;top:0;left:50%}.ktick.target{background:#ffffff8c;width:2px;height:9px;margin-left:-1px}.knob{background:radial-gradient(circle,transparent 62%,#00000040 63%,transparent 66%),conic-gradient(var(--steel-mid),var(--steel-hi)10%,var(--steel-mid)22%,var(--steel-lo)36%,var(--steel-mid)50%,var(--steel-hi)60%,var(--steel-mid)72%,var(--steel-lo)86%,var(--steel-mid));border-radius:50%;width:64px;height:64px;transition:transform 70ms ease-out;position:relative;box-shadow:inset 0 0 0 1px #ffffff26,0 0 0 3px #15171a,0 0 0 4px #ffffff0d,0 8px 14px #000000b3}.pointer{background:#1a1b1d;border-radius:2px;width:3px;height:14px;margin-left:-1.5px;position:absolute;top:5px;left:50%;box-shadow:0 1px #fff6}@media (max-width:420px){.panel{padding:36px 14px}.grid{grid-template-columns:repeat(auto-fit,minmax(88px,100px));gap:18px 6px}}@media (prefers-reduced-motion:reduce){.panel,.lever,.thumb,.knob{transition:none}}
