/* TOTALITY'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: 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 white, 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; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 4; }

/* the moon: a real thing over the lights, so what it hides is hidden; a thumb on it mustn't scroll the page */
.p2-shadow { position: absolute; z-index: 2; pointer-events: none; border-radius: 50%; will-change: transform;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.62) 0, rgba(0, 0, 0, 0.62) 86%, rgba(0, 0, 0, 0) 100%); }
.p2-moon { position: absolute; z-index: 3; border-radius: 50%; touch-action: none; cursor: grab; will-change: transform;
  background-size: 100% 100%; background-repeat: no-repeat; }
.p2-hub { touch-action: none; cursor: grab; }
.p2-moon.held, .p2-hub.held { cursor: grabbing; }
.p2-hub:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; border-radius: 50%; }
.p2-bead { position: absolute; z-index: 3; width: 7%; aspect-ratio: 1; margin: -3.5% 0 0 -3.5%; opacity: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 252, 240, 1) 0, rgba(255, 252, 240, 0.75) 14%, rgba(255, 246, 220, 0.2) 45%, rgba(255, 246, 220, 0) 100%); }

/* beside the panel: what the moon leaves of the sun */
#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; }
