/* The drawn Push 2 (push-drawing.js): a dark Push, labels lit by the buttons' LEDs.
   Shared by the website's manual and the browser demos in web/. */
.push { --off: #2c2c30;   /* labels of unlit buttons */
  --push-sans: var(--sans, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  --push-mono: var(--mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace); }
.push .body { fill: #303033; stroke: #1b1b1d; stroke-width: 2; }
.push .ctl { cursor: pointer; outline: none; }
.push .btn { fill: #0f0f11; stroke: #000; stroke-width: 0.8; }
.push .tri { stroke: none; fill: transparent; }
.push .diamond-base { pointer-events: none; }
.push .diamond-x { stroke: #303033; stroke-width: 1.4; pointer-events: none; }
.push .lab, .push .icon-line, .push .ctl g { color: var(--off); }
.push .btn-label { fill: currentColor; font: 600 7px var(--push-sans); pointer-events: none; }
.push .btn-label.mid { text-anchor: middle; font-size: 6.5px; }
.push .chevron, .push .icon-line { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.push .led { fill: #19191c; pointer-events: none; transition: fill 0.12s; }
.push .led.selected { filter: drop-shadow(0 0 2px #fff); }
.push .knob { fill: #0d0d0f; stroke: #000; stroke-width: 1; }
.push .knob-top { fill: #1d1d20; stroke: #2b2b2f; stroke-width: 0.8; pointer-events: none; }
.push .wordmark { fill: #6b6b70; font: 700 8px var(--push-mono); letter-spacing: 1px; text-anchor: middle; }
.push .strip { fill: #050506; stroke: #000; }
.push .strip-led { fill: #d8d8d8; pointer-events: none; }
.push .bezel { fill: #0b0b0c; }
.push .screen { fill: #000; }
.push .scr { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; pointer-events: none; }
.push .scr.mono { font-family: var(--push-mono); }
.push .pad { stroke: #000; stroke-width: 0.8; cursor: pointer; outline: none; transition: fill 0.1s; }
.push .btn.held { stroke: var(--hw-focus, #ffb347); stroke-width: 2; }
/* Only with a mouse: a touch screen keeps :hover on the last thing tapped, which looks held */
@media (hover: hover) {
  .push .ctl:hover .btn, .push .ctl:hover .knob, .push .ctl:hover .strip,
  .push .pad:hover { stroke: var(--hw-focus, #ffb347); stroke-width: 1.6; }
  .push .ctl:hover .tri { fill: rgb(255 179 71 / 0.12); }
}
.push .ctl:focus-visible .btn, .push .ctl:focus-visible .knob, .push .ctl:focus-visible .strip,
.push .pad:focus-visible { stroke: var(--hw-focus, #ffb347); stroke-width: 2.6; }
.push .ctl:focus-visible .tri { fill: rgb(255 179 71 / 0.25); }
.push .pad.held { stroke: var(--hw-focus, #ffb347); stroke-width: 2; }
/* Encoders turned by dragging (the demos) */
.push .knob-ctl.dragging .knob { stroke: var(--hw-focus, #ffb347); stroke-width: 2; }
/* The Push's LED animations (push-drawing.js animation()): duration set per LED */
.push .led-pulse { animation: push-led-pulse 1s ease-in-out infinite alternate; }
.push .led-blink { animation: push-led-blink 1s steps(1, end) infinite; }
@keyframes push-led-pulse { to { opacity: 0.2; } }
@keyframes push-led-blink { 50% { opacity: 0.15; } }
