/* Vivid FX Lite (on top of site.css) */
body.lite { background: var(--bg); color: var(--fg); margin: 0; }
.lite [hidden] { display: none !important; }
.lite .wrap { max-width: 1240px; margin: 0 auto; padding: 20px 20px 40px; }
.lite .top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lite .brand { font-family: Michroma, sans-serif; letter-spacing: 3px; color: #c9cdf5; text-decoration: none; font-size: 15px; }
.lite .brand b { color: var(--orange); font-family: Orbitron, sans-serif; letter-spacing: 1px; }
.lite .tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.lite .spacer { flex: 1; }
.lite .pill { font-size: 11.5px; color: var(--muted); }
.lite .pill.bad { color: var(--pink); }
.lite .pill.ok { color: var(--teal); }
.lite .card { gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; }
.lite h2, .lite h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: #c9cdf5; display: flex; align-items: center; gap: 10px; text-align: left; }
.lite #setup { max-width: 920px; margin: 0 auto 14px; }
.lite .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 8px 0; }
.lite .src { display: block; flex: 1 1 320px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.lite .src:has(input:checked) { border-color: var(--blue); background: rgba(137, 180, 250, .07); }
.lite .src small { display: block; color: var(--muted); margin-left: 22px; }
.lite label { font-size: 13px; }
.lite select { background: #0e0e1c; color: var(--fg); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; max-width: 360px; font: inherit; }
.lite .hint { font-size: 12px; color: var(--muted); }
.lite .btn { font: inherit; font-weight: 600; color: var(--fg); background: #1b1b2e; border: 1px solid var(--line); border-radius: 8px; padding: 7px 16px; cursor: pointer; }
.lite .btn.primary { background: var(--orange); color: #140b00; border-color: var(--orange); }
.lite .btn:disabled { opacity: .45; cursor: default; }
.lite .btn.small { padding: 4px 12px; font-size: 12px; font-weight: 500; }
.lite .btn.stop { color: #ff9db0; border-color: #6a2a3c; background: #1f1220; }
.lite .status { font-size: 13px; color: var(--muted); }
.lite .status.bad { color: var(--pink); }
.lite .status.ok { color: var(--teal); }

/* running bar */
.lite .runbar { display: flex; align-items: center; gap: 12px; padding: 8px 14px; margin-bottom: 14px; border: 1px solid #1f5a49; border-radius: 12px; background: linear-gradient(90deg, rgba(40, 160, 120, .12), rgba(40, 160, 120, .03)); }
.lite .runbar .dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 8px #3ddc97; flex: none; }
.lite .runbar .msg { flex: 1; min-width: 0; font-size: 13px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lite .runbar .msg b { color: var(--fg); }
.lite .runbar .msg i { font-style: normal; color: var(--muted); }

/* deck */
.lite .deck { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.lite .deck { padding: 0; margin: 0; }
.lite .left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lite .ttl { margin: 0 0 8px; }
.lite .kill { margin-left: auto; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.lite .wavebox { position: relative; height: 64px; border-radius: 8px; background: #0d0d18; overflow: hidden; margin-bottom: 8px; }
.lite .wavebox canvas, .lite .specbox canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lite .livetag { position: absolute; left: 8px; top: 6px; z-index: 1; font: 700 9px/1 -apple-system, sans-serif; letter-spacing: 1.2px; color: #9aa0c8; }
.lite .specbox { position: relative; height: 128px; border-radius: 8px; background: #0d0d18; overflow: hidden; }
.lite .knobs { display: flex; justify-content: space-around; padding-top: 10px; }

/* knobs */
.lite .knob { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: ns-resize; touch-action: none; user-select: none; outline: none; border-radius: 12px; }
.lite .knob:focus-visible { box-shadow: 0 0 0 2px var(--blue); }
.lite .knob svg { display: block; overflow: visible; }
.lite .knob .kl { font: 700 11px -apple-system, sans-serif; letter-spacing: 1.2px; }
.lite .knob .ks { font: 700 12px -apple-system, sans-serif; letter-spacing: .5px; }

/* filter + level */
.lite .fltcard { display: flex; flex-direction: row; align-items: stretch; padding: 14px 16px; }
.lite .fbox { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lite .chips { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.lite .chip { font: 700 12px -apple-system, sans-serif; padding: 4px 11px; border-radius: 7px; border: 1px solid #44467a; color: #b7bbe8; background: #14152a; }
.lite .chip small { font-size: 9px; opacity: .8; }
.lite .chip.on { background: #bfe4ff; color: #0b1730; border-color: #bfe4ff; box-shadow: 0 0 10px rgba(150, 200, 255, .45); }
.lite .chip.off { opacity: .6; cursor: not-allowed; }
.lite .fbody { display: flex; align-items: center; justify-content: space-between; flex: 1; }
.lite .fkw { display: flex; justify-content: center; flex: 1; }
.lite .lphp { display: flex; justify-content: space-between; font: 600 11px -apple-system, sans-serif; color: #9bb4ff; margin-top: 4px; letter-spacing: .5px; }
.lite .lphp .mid { color: #6b7099; }
.lite .vdiv { width: 1px; background: var(--line); margin: 0 14px; }
.lite .lbox { display: flex; flex-direction: column; }
.lite .lhead { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 8px; }
.lite .gainwrap { display: flex; align-items: center; gap: 8px; margin-top: -6px; }
.lite .gl { font: 700 11px/1.5 -apple-system, sans-serif; letter-spacing: 1px; color: #9aa0c8; }
.lite .gl b { display: block; color: #cfd3ea; font-size: 12px; letter-spacing: .3px; }
.lite .lvl { display: flex; gap: 12px; }
.lite .lvl .col { display: flex; flex-direction: column; align-items: center; }
.lite .mrow { display: flex; gap: 6px; }
.lite .meter { display: flex; flex-direction: column; gap: 3px; }
.lite .meter i { display: block; width: 20px; height: 11px; border-radius: 3px; background: #25253a; }
.lite .meter.thin i { width: 6px; }
.lite .scale { position: relative; width: 30px; }
.lite .scale span { position: absolute; right: 2px; font: 600 11px -apple-system, sans-serif; color: #8a8fb3; transform: translateY(-50%); }
.lite .cap { font: 700 11px -apple-system, sans-serif; letter-spacing: 1.2px; color: #8a8fb3; margin-top: 8px; }
.lite .fader { position: relative; width: 84px; touch-action: none; cursor: ns-resize; outline: none; user-select: none; }
.lite .fader:focus-visible .handle { box-shadow: 0 0 0 2px var(--blue); }
.lite .fader .track { position: absolute; left: 16px; width: 4px; top: 0; bottom: 0; border-radius: 2px; background: #252a4c; }
.lite .fader .glow { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 2px; background: linear-gradient(to top, #4d7dff, #8fb4ff); box-shadow: 0 0 10px #6a8fff; }
.lite .fader .handle { position: absolute; left: -8px; width: 46px; height: 24px; border-radius: 7px; background: #0c0d1c; border: 2px solid #bcd0ff; box-shadow: 0 0 12px rgba(120, 160, 255, .8), inset 0 0 8px rgba(120, 160, 255, .35); }
.lite .fader .handle::after { content: ""; position: absolute; left: 11px; right: 11px; top: 9px; height: 4px; border-radius: 2px; background: #cfe0ff; }
.lite .fader .ticks i { position: absolute; left: 46px; height: 2px; border-radius: 1px; }
.lite .fader .fl { position: absolute; left: 62px; font: 600 10px -apple-system, sans-serif; color: #8a8fb3; }

/* VX */
.lite .vx { padding: 0; position: relative; overflow: hidden; min-height: 460px; }
.lite .vxwrap { position: absolute; inset: 0; background: #000; }
.lite .vxwrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lite .vxwrap:fullscreen { background: #000; }
.lite .vxwrap.immersive { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 1000; border-radius: 0; }
.lite .picker { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 12px; background: rgba(12, 12, 24, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .08); opacity: 1; flex-wrap: wrap; }
.lite .vxlogo { position: absolute; right: 14px; top: 14px; padding: 10px 16px; border-radius: 14px; background: rgba(11, 11, 22, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; transition: opacity .4s; }
.lite .vxlogo img { display: block; height: 40px; width: auto; }
.lite .picker, .lite .vxlogo { transition: opacity .4s; }
.lite .vxwrap.idle { cursor: none; }
.lite .vxwrap.idle .picker, .lite .vxwrap.idle .vxlogo { opacity: 0; pointer-events: none; }
.lite .secin { width: 58px; font: inherit; font-size: 12px; background: #0e0e1c; color: var(--fg); border: 1px solid #333660; border-radius: 7px; padding: 3px 6px; }
.lite .sec { font-size: 11px; color: var(--muted); }
.lite #autoBtn.on { border-color: #ff9a4a; color: #ffb36b; background: #2a1a10; }
.lite .picker select { flex: 1 1 140px; min-width: 0; font-size: 12px; padding: 4px 6px; max-width: none; }
.lite .picker .auto { font: 700 10px -apple-system, sans-serif; letter-spacing: 1px; color: #8a8fb3; margin-left: 4px; }
.lite .pb { font: 600 12px -apple-system, sans-serif; color: #c4c8e8; background: #1b1b2e; border: 1px solid #333660; border-radius: 7px; padding: 4px 9px; cursor: pointer; }
.lite .pb.on { border-color: #ff9a4a; color: #ffb36b; background: #2a1a10; }
.lite .vxmsg { position: absolute; inset: 0; margin: 0; display: none; align-items: center; justify-content: center; text-align: center; padding: 16px; color: var(--muted); font-size: 13px; }
.lite .vxmsg.show { display: flex; }

.lite .line { margin: 10px 2px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lite .log { margin-top: 14px; }
.lite .log summary { cursor: pointer; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.lite .log pre { margin: 8px 0 0; font: 11.5px/1.5 ui-monospace, Menlo, monospace; color: var(--text); white-space: pre-wrap; max-height: 220px; overflow: auto; }
.lite .log #copyLog { float: right; margin-top: -22px; }
.lite .fine { font-size: 12px; color: var(--muted); }
.lite .fine a { color: var(--blue); }

@media (max-width: 980px) {
  .lite .deck { grid-template-columns: 1fr; }
  .lite .vx { min-height: 360px; }
}

/* the Mac-app sign-up and the two-minute nudge */
.lite .getapp { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 18px; }
.lite .getapp .pitch { flex: 1 1 340px; }
.lite .getapp h2 { margin: 0 0 6px; font-size: 19px; }
.lite .getapp p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.lite .getapp p b { color: var(--fg); }
.lite .getapp .signup { flex: 1 1 340px; justify-content: flex-start; max-width: none; }
.lite .getapp .signup input { height: 44px; font-size: 15px; background: var(--bg); }
.lite .getapp .signup .btn { height: 44px; }
.lite .getapp .signup .msg { font-size: 13px; min-height: 1.3em; }
.lite .nudge { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-radius: 14px; border: 1px solid #3a3a64; background: rgba(18, 18, 42, .96); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); font-size: 13.5px; color: var(--fg); }
.lite .nudge[hidden] { display: none; }
.lite .top .btn.small { height: auto; min-height: 0; padding: 5px 12px; line-height: 1.3; }
.lite .getapp.first { margin: 0 0 14px; border-color: var(--orange); }
.lite .democap { font-size: 13px; font-weight: 600; color: var(--orange); white-space: nowrap; }
.lite .knob.demoing, .lite .demoing .knob { filter: drop-shadow(0 0 12px rgba(255, 150, 60, .75)); }
