/* TEMPERS's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's TEMPERS's
   own. The page is gold like every module's; only the panel's own lights keep their colour: the numerals' cold
   blue-white, the pips' and keys' cold white, the reward's warm. */

/* 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 numerals and pips: each window's sprite (assets/win-<shape>.png, light as alpha) masks the colour the engine
   gives it, 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; }
.p2-cables { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

/* the keys: 18 mm keycaps; the cap goes down a hair while it's held (by you or the rack) */
.p2-key { cursor: pointer; touch-action: none; border-radius: 8%; }
.p2-key svg { filter: drop-shadow(0.06em 0.16em 0.14em rgba(0, 0, 0, 0.75)); }
.p2-key .tp-cap { transform-box: fill-box; transform-origin: 50% 50%; transition: transform 40ms; }
.p2-key.held .tp-cap, .p2-key.down .tp-cap { transform: translateY(0.35px) scale(0.972); }
.p2-key.held svg, .p2-key.down svg { filter: drop-shadow(0.03em 0.06em 0.06em rgba(0, 0, 0, 0.8)); }
.p2-key:hover svg { filter: drop-shadow(0 0 0.35em rgba(212, 175, 55, 0.75)); }
.p2-key:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 8%; }

/* beside the panel: the number's line and the four bins, the last thing that happened, the quota and the tempo */
#scope { display: block; width: 100%; height: 196px; }
.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; }
