/* TUMBLER'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 wheel's 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) masks the colour the engine gives it,
   over the face's bare FR4, at the engine's level by opacity; the left half's are their mirror images', flipped */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 1; }
.p2-win { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 2; }

/* the dial: a finger takes hold anywhere over it and its ring; the page mustn't scroll under a thumb that's turning it */
.p2-dial { border-radius: 50%; touch-action: none; cursor: grab; }
.p2-dial.held { cursor: grabbing; }
.p2-dial:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: -2px; }
.dial-pic { position: absolute; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.dial-pic:first-child { filter: drop-shadow(0.25em 0.45em 0.5em rgba(0, 0, 0, 0.75)); }

/* beside the panel: the dial as your fingers read it */
#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: 7.2em; }
