/* THAW'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 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: 2; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 4; }

/* the plate: the ink over the face, the place a thumb goes. A finger on it mustn't scroll the page */
.p2-ink { position: absolute; pointer-events: none; z-index: 1; }
.p2.p2-plate { position: absolute; z-index: 3; transform: none; touch-action: none; cursor: pointer; border-radius: 12% / 4%; -webkit-user-select: none; user-select: none; }
.p2-plate:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; }
.p2-thumb { position: absolute; width: 18.5%; aspect-ratio: 18 / 25; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: 0; z-index: 2; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.12) 72%, rgba(0, 0, 0, 0)); transition: opacity 0.18s; }

/* beside the panel: the plate over time */
#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; }
