/* CERNUNNOS's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's CERNUNNOS's
   own. The page is gold like every module's; only the panel's own lights keep their colour: the antlers' blood red and
   SHED's cap. */

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

/* the antlers' lights blend into the face and nothing else */
.panel2d { isolation: isolate; }

/* a tine's light: its picture's top half multiplied over the face (the bone fading), its bottom half screened (the
   light), each at the engine's level (js/panel2d.js) */
.p2-tine { position: absolute; pointer-events: none; z-index: 1; opacity: 0; background-size: 100% 200%; background-repeat: no-repeat; }
.p2-tine-m { mix-blend-mode: multiply; }
.p2-tine-s { mix-blend-mode: screen; }
.p2 { z-index: 3; }

/* SHED: the bezel and cap, pressed in while held, and its light over them */
.p2-button svg { filter: drop-shadow(0.04em 0.08em 0.08em rgba(0, 0, 0, 0.6)); }
.p2-shedcap { transition: transform 60ms; transform-origin: 0 0; }
.p2-button.held .p2-shedcap { transform: scale(0.93); filter: brightness(0.85); }
.p2-shedlit { position: absolute; pointer-events: none; z-index: 4; opacity: 0; background: center / 100% 100% no-repeat; }
@media (prefers-reduced-motion: reduce) { .p2-shedcap { transition: none; } }

/* beside the panel: the antlers the last hit grew, the status, the quiet line */
#scope { display: block; width: 100%; height: 150px; }
.readout { min-height: 2.8em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 6.2em; }
