/* ROOST'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 white of its rungs, its hens' heads and the
   light through its roof. */

/* 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 cell's glow (a piece of assets/lights.png, light as alpha) over the face's window, at its level (cellsOf) */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 2; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
/* one room a hen (panel r0.10): her body's and head's light, each over her whole room, added in a layer of their own (js/panel2d.js
   roomOf()), the layer over the face as one light */
.p2-room { position: absolute; inset: 0; pointer-events: none; z-index: 2; isolation: isolate; }
.p2-room .p2-win { mix-blend-mode: plus-lighter; }
.p2 { z-index: 4; }
/* the hens are TOP's buttons (js/tap.js): a layer over the panel that takes a tap on a hen (and a hold: her mute), under the
   knobs and jacks; a button a hen over her head for the keyboard, which the pointer passes through */
.p2-tap { position: absolute; inset: 0; z-index: 3; -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-touch-callout: none; }
.p2-hen { position: absolute; z-index: 3; margin: 0; padding: 0; border: 0; background: none; border-radius: 40%; pointer-events: none; }
.p2-hen:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; }

/* beside the panel: the roost, a hen a row, the top rung first */
#scope { display: block; width: 100%; height: 232px; }
.status { min-height: 2.8em; }
.readout { min-height: 1.6em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 8.6em; }
.song a { color: var(--gold); }
