/* HALLWAY'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 room's and the strip's 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; }
.panel2d { isolation: isolate; }
.p2 { z-index: 2; }

/* the room in its window: a small lit picture scaled up smooth, over the face's hole */
.p2-room { position: absolute; display: block; z-index: 1; pointer-events: none; }

/* the strip: the rail's light through bare FR4 */
.p2-cell { position: absolute; background: #fff6e4; opacity: 0; z-index: 1; pointer-events: none; border-radius: 0.1em; }

/* the end wall's puck and the doors' levers: a finger takes hold; the page mustn't scroll under a thumb that's moving them */
.p2-puck { z-index: 3; touch-action: none; cursor: grab; border-radius: 50%; }
.p2-puck.held { cursor: grabbing; }
.p2-puck img { display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; -webkit-user-drag: none; filter: drop-shadow(0.1em 0.2em 0.2em rgba(0, 0, 0, 0.7)); }
.p2-lever { z-index: 3; touch-action: none; cursor: grab; border-radius: 50%; }
.p2-lever.held { cursor: grabbing; }
.p2-puck:focus-visible, .p2-lever:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: -2px; }

/* what's in the hall */
.things { margin-top: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--dim); }
.things button { font: inherit; color: var(--dim); background: none; border: 1px solid rgba(212, 175, 55, 0.35); border-radius: 0.25rem; padding: 0.2rem 0.6rem; cursor: pointer; }
.things button:hover { border-color: var(--gold); color: var(--ink); }
.things button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); }

/* beside the panel: the echogram */
#scope { display: block; width: 100%; height: 200px; }
.status { min-height: 1.5em; }
.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; }
