html, body {
  margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden;
  background: #05070d; color: #eef2f7;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
#pane { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }

.ui { position: absolute; inset: 0; --u: 1; }
.ui [hidden] { display: none !important; }

/* everything on the glass fades away after a few seconds; .awake brings it back */
.round, .card { transition: opacity 0.6s ease, transform 0.6s ease; }
.ui:not(.awake) .round, .ui:not(.awake) .card { opacity: 0; pointer-events: none; transform: translateY(6px); }

.round {
  position: absolute; width: calc(76px * var(--u)); height: calc(76px * var(--u));
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.22);
  background: rgba(10,14,24,0.55); backdrop-filter: blur(8px);
  color: #eef2f7; padding: 0; cursor: pointer; display: grid; place-items: center;
}
.round svg { width: 46%; height: 46%; fill: currentColor; stroke: none; }
.round svg .w, .hint svg .w { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.round .i-off, .round .i-mix { display: none; }
.ui.muted .round .i-on { display: none; }
.ui.muted .round .i-off { display: block; }
.ui.big .round .i-on, .ui.big .round .i-off { display: none; }
.ui.big .round .i-mix { display: block; }

.hint {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 14px 24px 14px 18px; border-radius: 999px;
  background: rgba(8,12,20,0.72); border: 1px solid rgba(255,255,255,0.35);
  font-size: calc(24px * var(--u)); font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  box-shadow: 0 6px 30px rgba(0,0,0,0.45);
  animation: breathe 2.6s ease-in-out infinite;
}
.hint svg { width: calc(30px * var(--u)); height: calc(30px * var(--u)); fill: currentColor; flex: none; }
@keyframes breathe { 0%, 100% { opacity: 0.78; } 50% { opacity: 1; } }

.card {
  position: absolute; box-sizing: border-box; width: calc(620px * var(--u));
  padding: 14px 18px 16px; border-radius: 18px;
  background: rgba(8,12,22,0.72); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 12px 50px rgba(0,0,0,0.5);
  font-size: calc(18px * var(--u));
}
.row { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.row + .row { margin-top: 6px; }
.row.head { margin-bottom: 4px; }
.lab { flex: none; width: 5.2em; opacity: 0.72; white-space: nowrap; }
.val { flex: 1 1 auto; opacity: 0.75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chips { display: flex; flex-wrap: nowrap; gap: 6px; flex: 1 1 auto; min-width: 0; }
.chip, .pill {
  font: inherit; color: inherit; cursor: pointer; white-space: nowrap;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06);
  min-height: 44px; padding: 0 12px;
}
.chip { flex: 1 1 0; min-width: 0; padding: 0 6px; font-size: 0.92em; }
.chip.on { background: rgba(140,190,255,0.28); border-color: rgba(170,210,255,0.7); }
.pill.main { padding: 0 20px; font-weight: 600; background: rgba(140,190,255,0.22); border-color: rgba(170,210,255,0.6); }
.ui.muted .pill.main { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.25); }
.pill.ghost { flex: none; }

.slide:disabled { opacity: 0.35; }
.slide { flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; }
.slide::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.22); }
.slide::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px;
  border-radius: 50%; background: #dfe9f7; border: 0; box-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* mixer 2026-11-26 */
.row.sec { align-items: flex-start; border-top: 1px solid rgba(255,255,255,0.09); padding-top: 8px; margin-top: 8px; }
.row.sec > .lab { line-height: 44px; }
.row.sec > .slide { margin-top: 0; }
.body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.body > .slide { width: 100%; flex: none; }
.lab { opacity: 0.62; font-size: 0.92em; }
.pill.main { display: inline-flex; align-items: center; gap: 8px; min-width: 7.2em; justify-content: center; }
.pill.main svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.pill.main svg .w { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pill.main .p-on { display: none; }
.ui.muted .pill.main .p-on { display: block; }
.ui.muted .pill.main .p-off { display: none; }
.pill.ghost { padding: 0 18px; }
.chip.on { font-weight: 600; }
