/* VOIGHT-KAMPFF's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's
   VOIGHT-KAMPFF's own. The page is gold like every module's; only the panel's own lights keep their colour: the
   amber of the iris, the drop and the key. */

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

/* the panel's layers over the face: the windows' light, the parts (parts.js, and the key), the key's glow, the
   cables */
.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; }
.p2-cables { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }

/* the key: the cap sinks a little while it's held; its light glows round it, screened over the panel */
.p2-key .vk-cap { transform: scale(1); transition: transform 50ms; }
.p2-key.held .vk-cap { transform: scale(0.955); }
.p2-glow {
  position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; z-index: 3; opacity: 0;
  mix-blend-mode: screen; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 150, 40, 0.5) 0%, rgba(255, 128, 24, 0.3) 52%, rgba(255, 110, 16, 0.08) 68%, rgba(255, 110, 16, 0) 80%);
}

/* beside the panel: the strip, the last thing that happened, the taps' numbers */
#scope { display: block; width: 100%; height: 150px; }
.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: 7.4em; }
