/* FLATLINE's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's FLATLINE's
   own. The page is gold like every module's; only the panel's own lights keep their colour: the monitor's green trace,
   its ghosts' cold blue, the shock's white, flat's red and fibrillation's amber, and SHOCK's red and white. */

/* 12 HP at the line's scale: as tall as a 20 HP panel in the same column */
.stage { --panel-ratio: 60.66 / 128.5; --panel-max: 335px; --panel-max-narrow: 311px; }
.stage:focus { outline: none; }

/* the monitor's windows: the sprite (assets/win-cell.png, light as alpha) masks the colour the engine gives each, 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; }
.p2-win { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 2; }

/* SHOCK's button: the cap sinks while it's held; lit, its light spills round it */
.p2-button .fl-cap { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 40ms; }
.p2-button.held .fl-cap { transform: scale(0.92); }
.p2-button.fl-on svg { filter: drop-shadow(0 0 0.5em var(--glow)) drop-shadow(0.06em 0.12em 0.12em rgba(0, 0, 0, 0.7)); }

/* beside the panel: OUT scrolling with its spikes marked, the last thing that happened, the rate and the state */
#scope { display: block; width: 100%; height: 190px; }
.status { min-height: 2.8em; }
.readout { min-height: 1.4em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 6.2em; }
