/* WHO GOES THERE's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's WHO
   GOES THERE's own. The page is gold like every module's; only the panel's own lights keep their colour: the notes'
   cold white, the channels' white and a jump's red (on the panel and in the readout). */

/* 16 HP at the line's scale (as tall as a 20 HP panel in the same column) */
.stage { --panel-ratio: 80.98 / 128.5; --panel-max: 447.5px; --panel-max-narrow: 415.5px; }
.stage:focus { outline: none; }

/* the ring's lights: each light's sprite (assets/win-<shape>.png, light as alpha) masks the colour the engine gives
   it, over the face's bare FR4, at the engine's level by opacity */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 1; }
.p2-win { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 2; }

/* TEST's button: the cap sinks while it's held */
.p2-button .wg-cap { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 40ms; }
.p2-button.held .wg-cap { transform: scale(0.92); }

/* beside the panel: the twelve notes in a ring, the last thing that happened, the notes taken on and each channel's */
#scope { display: block; width: 100%; height: 280px; }
.status { min-height: 2.8em; }
.readout { min-height: 2.8em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 6em; }
