/* ARMONICA'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: the white of its glass and CHORD's dots. */

/* 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 lights: each one's glow (a piece of assets/lights.png, light as alpha) over the face's glass dots, at the engine's level */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 2; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 4; }
.p2-switch:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; border-radius: 50%; }

/* the glass: the hand's control, over the bowls (under the knobs and jacks) */
.p2-glass { position: absolute; z-index: 3; cursor: grab; touch-action: none; border-radius: 40% 40% 12% 12% / 30% 30% 8% 8%; }
.p2-glass.held { cursor: grabbing; }
.p2-glass:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; }

/* beside the panel: the four fingers on the bowls */
#scope { display: block; width: 100%; height: 260px; }
.status { min-height: 2.8em; }
.readout { min-height: 1.6em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 8.6em; }
