/* TWO HEADS'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: the dragons' paper, the jaws' flames, the ball of flame. */

/* 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 lights: each cell a glow (a piece of assets/lights.png, light as alpha) in its own colour over the face's bare FR4, at the engine's level;
   neighbours add as light does */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 2; mix-blend-mode: screen; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2 { z-index: 4; }
.p2-button:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; border-radius: 50%; }

/* beside the panel: the state in plain words, the two heads' lanes, the drums */
#scope { display: block; width: 100%; height: 190px; }
.status { min-height: 2.8em; }
.readout { min-height: 1.6em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 11.5em; }
@media (max-width: 720px) { #patch-note { min-height: 12.07em; } }   /* round four: notes of seven lines at 390 px, so the stage keeps its height with a fourth row of patch buttons */

/* round five: the HEAR toggles (a switch each): a pointer, the gold glow on hover as the line's parts have it, the bat's throw at once */
.p2-toggle[role="switch"] { cursor: pointer; touch-action: manipulation; border-radius: 50%; }
.p2-toggle[role="switch"]:hover svg { filter: drop-shadow(0 0 0.35em rgba(212, 175, 55, 0.75)); }
