/* PLANCHETTE's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's
   PLANCHETTE's own. The page is gold like every module's; only the panel's own lights keep their colour: the board's
   candlelight and SUMMON's lit 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 board's light (screened over the bare FR4), the knobs, jacks and button
   (parts.js), the cables, and the bloom round the light screened over everything (the mockup's: 1.4 mm at 0.7 and
   5 mm at 0.9; js/panel2d.js sets the blurs) */
.panel2d { isolation: isolate; }
.p2-light, .p2-bloom, .p2-cables { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.p2-light { z-index: 1; mix-blend-mode: screen; }
.p2 { z-index: 2; }
.p2-cables { z-index: 3; }
.p2-bloom { z-index: 4; mix-blend-mode: screen; }

/* SUMMON's button: the same hover as the knobs; the cap sinks while held */
.p2-button .pl-cap { transform: scale(1); transition: transform 60ms; }
.p2-button.held .pl-cap { transform: scale(0.93); }

/* beside the panel: LETTER over time, the last thing that happened, what's been spelled */
#scope { display: block; width: 100%; height: 150px; }
.status { min-height: 1.4em; }
.readout { min-height: 1.4em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); white-space: pre-wrap; }
#patch-note { min-height: 7.4em; }
