/* POLYALLOY's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's its own. The page is
   gold like every module's; only the panel's own lights keep their colour. */

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

/* the glass: the liquid's own canvas, and over it the ground a magnet in your hand works on. A finger drawn on it doesn't scroll the page */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; z-index: 1; display: block; }
.p2-glass { position: absolute; z-index: 2; touch-action: none; cursor: grab; border-radius: 6%/1.4%; }
.p2-glass.held { cursor: grabbing; }
.p2-glass:focus { outline: none; }
.p2-glass:focus-visible { outline: 1.5px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; }
.p2 { z-index: 3; }

/* beside the panel: what it's doing */
#scope { display: block; width: 100%; height: 190px; }
.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: 9em; }
