/* HYPERSPACE's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's
   HYPERSPACE's own. The page is gold like every module's; only the panel's own lights keep their colour: the radar's
   and the button's cold white. */

/* 20 HP at the line's scale */
.stage { --panel-ratio: 101.3 / 128.5; --panel-max: 560px; --panel-max-narrow: 520px; }
.stage:focus { outline: none; }

/* the radar's dots: the dot's sprite (assets/win-dot.png, light as alpha) masks the colour the engine gives each,
   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; }
.p2-win { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 2; }

/* the button: it sinks a little while it's held; its light blooms round it */
.p2-button svg { filter: drop-shadow(0.06em 0.16em 0.14em rgba(0, 0, 0, 0.75)); }
.p2-button .hs-cap { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 40ms; }
.p2-button.held .hs-cap { transform: scale(0.965); }
.p2-glow {
  position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 1; opacity: 0;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 230, 255, 0.55), rgba(214, 230, 255, 0.18) 62%, rgba(214, 230, 255, 0) 100%);
}

/* beside the panel: the scope, square */
#scope { display: block; width: 100%; max-width: 380px; aspect-ratio: 1; margin: 0 auto; background: #000; }
.status { min-height: 1.4em; }
.readout { min-height: 1.4em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 4.4em; }
