/* LAMENT'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 tiles' white. */

/* 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 board: the floor's light under the tiles; the tiles; a place to take hold of them on top */
.panel2d { isolation: isolate; }
.p2-floor { position: absolute; pointer-events: none; opacity: 0; z-index: 1; background: #fff7e6; }
.p2-floor { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2-tile { position: absolute; pointer-events: none; z-index: 2; background-repeat: no-repeat; will-change: transform; }
.p2-tile-lit { position: absolute; inset: 0; background: #fff7e6; opacity: 0; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2-board { position: absolute; z-index: 3; touch-action: none; cursor: grab; }
.p2-board.held { cursor: grabbing; }
.p2-board:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 1px; }
.p2 { z-index: 4; }

/* beside the panel: the read of the board, and how near it's been */
#scope { display: block; width: 100%; height: 190px; }
.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.2em; }
