/* WHISTLER'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 colours: the sky's dusk, the whistles' moonlight teal, the moon, the track's amber. */

/* 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 window a glow (a piece of assets/lights.png, light as alpha) in its 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: what the module is doing in a word, the note, the ladder with the two mouths on it */
#scope { display: block; width: 100%; height: 168px; }
.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: 9.5em; }
@media (max-width: 720px) { #patch-note { min-height: 12.5em; } }

/* "Try your own": a button and a drop zone; dashed, gold when a file is held over it */
.own { margin: 0.9rem 0 0.2rem; padding: 0.7rem 0.8rem; border: 1px dashed rgba(212, 175, 55, 0.4); border-radius: 6px; }
.own.over { border-color: rgba(240, 216, 120, 0.95); background: rgba(212, 175, 55, 0.07); }
.own-btn { font: inherit; font-weight: 600; color: var(--ink, #e8e2d0); background: transparent; border: 1px solid rgba(212, 175, 55, 0.7); border-radius: 4px; padding: 0.35rem 0.8rem; cursor: pointer; }
.own-btn:hover, .own-btn:focus-visible { border-color: rgba(240, 216, 120, 1); color: rgba(240, 216, 120, 1); }
.own-note { margin: 0.45rem 0 0; font-size: 0.82rem; line-height: 1.45; opacity: 0.85; }
.own-say { margin: 0.3rem 0 0; min-height: 1.3em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; }
