/* BUCKETS'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. */

/* 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 treads' light; the chips over it */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; z-index: 1; display: block; }
.p2 { z-index: 3; }
.p2-plug { z-index: 4; touch-action: none; }
.p2-plug.lifted { z-index: 6; }
.p2-hole { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; user-select: none; }
.p2-head { position: absolute; inset: 0; border-radius: 50%; cursor: grab; touch-action: none; transform-origin: 50% 50%; will-change: transform; filter: drop-shadow(0.5px 1px 1.2px rgba(0, 0, 0, 0.7)); }
.p2-head img { display: block; width: 100%; height: 100%; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.p2-head.held { cursor: grabbing; }
.p2-head.off { filter: drop-shadow(3px 6px 5px rgba(0, 0, 0, 0.75)); }
.p2-head:focus { outline: none; }
.p2-head:focus-visible { outline: 1.5px solid rgba(212, 175, 55, 0.8); outline-offset: 1px; }

/* beside the panel: what it's doing */
#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: 9em; }
