/* SNARL'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 rosin, the strings' amber, the keys' warm white,
   the snarl's red-orange. */

/* 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 a glow (a piece of assets/lights.png, light as alpha) in its own colour over the face's bare FR4, at the engine's
   level; neighbours add as light does. The engine's levels never strobe, and a short ease here takes the last edge off a frame's step */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 2; mix-blend-mode: screen; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: opacity 40ms linear; }
@media (prefers-reduced-motion: reduce) { .p2-win { transition: opacity 400ms linear; } }
.p2 { z-index: 4; }
.p2-button:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; border-radius: 50%; }

/* beside the panel: what it's doing in plain words, the last eight seconds of the wheel's speed and the snarls, the tone itself */
#scope { display: block; width: 100%; height: 160px; }
.status { min-height: 2.8em; }
.readout { min-height: 3em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 9.5em; }
@media (max-width: 720px) { #patch-note { min-height: 12.5em; } }
