/* JANKEN's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's JANKEN's
   own. The page is gold like every module's; only the panel's own lights keep their colours (the hands' warm lamps,
   READ's cold ball and rings) and the cables theirs. */

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

/* the windows: each window's sprite (assets/win-<shape>.png, light as alpha, the hand's shadow left out) masks the
   colour the engine gives it, 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; }
.p2-cables { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* THROW's button: the same hover as the knobs; the cap sinks while held */
.p2-button .jk-cap { transform: scale(1); transition: transform 60ms; }
.p2-button.held .jk-cap { transform: scale(0.92); }

/* beside the panel: the contest's triangle and the strip of turns, the last thing that happened, who has the stage */
#scope { display: block; width: 100%; height: 236px; }
.status { min-height: 1.4em; }
.readout { min-height: 1.4em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 7.4em; }
