/* MANIFEST's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's MANIFEST's
   own. The page is gold like every module's; only the panel's own lights keep their colour: her face's pale
   green-white and the FEED key's green. And the paper, which is paper. */

/* 20 HP at the line's scale */
.stage { --panel-ratio: 101.3 / 128.5; --panel-max: 560px; --panel-max-narrow: 520px; overflow-x: clip; }

/* the paper hangs on past the panel's foot (js/paper.js), so the panel lets it out, and the hint keeps below it
   (--hang: js/stage.js, the hang's height at the panel's scale) */
.panel2d { overflow: visible; }
.panel-face { border-radius: 3px; }
.stage-hint { margin-top: calc(var(--hang, 0px) + 0.8rem); }

/* her face's light: its lit picture (assets/lit.png, light as alpha) through her LEDs' mask, over the bare FR4 */
.p2-face-light { position: absolute; pointer-events: none; z-index: 1; }
.p2 { z-index: 3; }

/* the paper, and the hand's way in to it (pull down or click: it tears) */
.p2-paper { position: absolute; pointer-events: none; z-index: 2; }
.p2-paperhit { position: absolute; z-index: 4; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.p2-paperhit:active { cursor: grabbing; }
.p2-paperhit:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* the printer's FEED key: only its light and its press are drawn over the face */
.p2-feed { z-index: 4; }
.p2-feed svg { filter: none; }
.p2-feed:hover svg, .p2-feed.held svg { filter: drop-shadow(0 0 0.35em rgba(212, 175, 55, 0.75)); }

/* beside the panel: the line being printed, the printer's status, how much of her and how much paper */
#scope { display: block; width: 100%; height: 96px; }
.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.4em; }
