/* WOUND'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: white. */

/* 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 windows: each window's light (a piece of assets/lights.png, light as alpha) 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; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 4; }

/* the crank: a real thing over the lights, so its arm really hides them. The bridge and pawl stay put; a thumb on it mustn't scroll the page */
.p2-crank-shadow, .p2-bridge, .p2-arm { position: absolute; pointer-events: none; background-size: 100% 100%; background-repeat: no-repeat; }
.p2-crank-shadow { z-index: 2; opacity: 0.62; will-change: transform; }
.p2-bridge { z-index: 2; }
.p2-arm { z-index: 3; will-change: transform; }
.p2.p2-crank { position: absolute; z-index: 3; border-radius: 50%; touch-action: none; cursor: grab; }
.p2-crank.held { cursor: grabbing; }
.p2-crank:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; }

/* beside the panel: how fast it has run */
#scope { display: block; width: 100%; height: 210px; }
.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: 8.6em; }
