/* MAW's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's its own: the panel's
   size, the rings' light over its face (js/panel2d.js), the readout and "Try your own". The rings are amber, the field's own light,
   and redden with its temper; the page is gold, as every page is. */

/* ---------- the stage: the panel (20 HP, 101.3 mm), its rings lit by the engine, the knobs playable ---------- */
.stage { --panel-ratio: 101.3 / 128.5; --panel-max: 560px; --panel-max-narrow: 520px; overflow-x: clip; }
.stage:focus { outline: none; }
.panel2d { isolation: isolate; }        /* the rings' light screens over the face, and nothing else */
.field-light, .field-bloom {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen;
}
.field-bloom { filter: blur(9px); opacity: 0.7; }
.p2 { z-index: 1; }                     /* the parts over the light */
.p2-button:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; border-radius: 50%; }

/* what it's doing, in plain words, and the knob being turned */
.status { min-height: 2.8em; }
.readout {
  min-height: 2.8em;
  font: italic 700 0.78rem/1.35 "Space Mono", ui-monospace, monospace; color: var(--ink);
}
#patch-note { min-height: 6.5em; }
@media (max-width: 720px) { #patch-note { min-height: 9em; } }

/* "Try your own" and "Talk to it": two buttons, where the file goes, 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-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.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, .own-btn[aria-pressed="true"] { border-color: rgba(240, 216, 120, 1); color: rgba(240, 216, 120, 1); }
.own-where { margin: 0.55rem 0 0; padding: 0; border: 0; font-size: 0.82rem; line-height: 1.5; }
.own-where legend { padding: 0; margin-bottom: 0.15rem; opacity: 0.85; }
.own-where label { display: block; cursor: pointer; }
.own-where input { accent-color: #d4af37; margin: 0 0.35rem 0 0; vertical-align: -1px; }
.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; }
