/* WORMSIGN's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's WORMSIGN's
   own. The page is gold like every module's; only the panel's own light keeps its colour (the sand's cold blue, a
   hit's pale ring, the wake's orange and white, HOOK's cap), and the cables theirs. */

/* 20 HP at the line's scale */
.stage { --panel-ratio: 101.3 / 128.5; --panel-max: 560px; --panel-max-narrow: 520px; }

/* the panel's layers over the face: the sand's light, the knobs, jacks and HOOK (parts.js and panel2d.js), HOOK's
   glow, the cables, and the bloom round the light screened over everything (the mockup's: a 1.4 mm blur at 0.6;
   js/panel2d.js sets the blur) */
.panel2d { isolation: isolate; }
.p2-sandlight, .p2-bloom, .p2-cables { position: absolute; pointer-events: none; }
.p2-sandlight { z-index: 1; }
.p2 { z-index: 2; }
.p2-glow { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 3; opacity: 0; mix-blend-mode: screen; border-radius: 50%; }
.p2-cables { z-index: 4; left: 0; top: 0; width: 100%; height: 100%; }
.p2-bloom { z-index: 5; mix-blend-mode: screen; opacity: 0.6; }

/* HOOK, WORMSIGN's own part: the same hover as the knobs; the cap sinks while it's held */
.p2-button .ws-cap { transform: scale(1); transition: transform 60ms; }
.p2-button.held .ws-cap { transform: scale(0.93); }

/* beside the panel: the bars of hits and the strip, the last thing that happened, how steady and how far */
#scope { display: block; width: 100%; height: 176px; }
.status { min-height: 1.4em; }
.readout { min-height: 2.8em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 7.4em; }
