/* TWO THREE SIX'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 rose'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 stick: a hand takes hold anywhere over the ball's reach; the page mustn't scroll under a thumb that's on it */
.p2-stick { border-radius: 50%; touch-action: none; cursor: grab; z-index: 3; }
.p2-stick.held { cursor: grabbing; }
.p2-stick:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: -2px; }
.ball, .ball-shadow, .ball-pip { position: absolute; pointer-events: none; user-select: none; -webkit-user-drag: none; will-change: transform; }
.ball { max-width: none; }
.ball-shadow { border-radius: 50%; background: rgba(0, 0, 0, 0.62); filter: blur(0.5em); }
.ball-pip { border-radius: 50%; background: radial-gradient(circle at 38% 34%, #f0d878, #caa84e 70%); }

/* beside the panel: what your hand did */
#scope { display: block; width: 100%; height: 232px; }
.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; }
.moves { font: 400 0.92rem/1.5 "Space Mono", ui-monospace, monospace; }
