/* POKE's page: the shared skin is ../module.css (site/public/module.css), which lays out the stage and draws its parts
   as every module page has them; this is only what's POKE's own: the panel's size, CLOCK's toggle, and the four
   channel lights, which keep the cyan they are on the panel. The page round them is gold, as every page is. */

/* ---------- the stage: the panel (20 HP, 101.3 mm), playable ---------- */
.stage { --panel-ratio: 101.3 / 128.5; --panel-max: 560px; --panel-max-narrow: 520px; }
.p2-toggle { cursor: pointer; touch-action: manipulation; }
.readout { min-height: 2.8em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 6.6em; }

/* the channel lights: a lit lens over the face's dark one, and a glow screened round it, both by opacity */
.p2-light { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 2; }
.p2-lens {
  position: absolute; inset: 0; border-radius: 7%; opacity: 0;
  background: radial-gradient(circle at 50% 50%, #f2ffff 0%, #9ff3ff 30%, #2ee6ff 70%, #12b9d4 100%);
}
.p2-glow {
  position: absolute; inset: -160%; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(46, 230, 255, 0.5) 0%, rgba(46, 230, 255, 0.18) 28%, rgba(46, 230, 255, 0) 62%);
}
