/* BEARING'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 rose'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; }

/* the windows: each window's light (a piece of assets/lights.png, light as alpha) masks the colour the engine gives it,
   over the face's bare FR4, at the engine's level by opacity; the left half's are their mirror images, flipped */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 1; }
.p2-win { -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 2; }

/* the object over the rose: the needle's shadow, the needle, the glass in its frame; turned by the engine */
.obj { position: absolute; pointer-events: none; z-index: 1; display: block; max-width: none; user-select: none; }
.obj-needle, .obj-shadow { transform-origin: 50% 50%; will-change: transform; }
.p2-needle { position: absolute; z-index: 2; border-radius: 50%; cursor: grab; touch-action: none; }
.p2-needle.held { cursor: grabbing; }
.p2-needle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* beside the panel: the dial and the heading; turning the case */
#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); }
.case-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.4rem 0 0; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
.case-row button { font: inherit; color: var(--gold); background: none; border: 1px solid var(--gold); border-radius: 3px; padding: 0.15rem 0.5rem; cursor: pointer; }
.case-row button:hover { background: rgba(212, 175, 55, 0.12); }
#patch-note { min-height: 7.2em; }
