/* WATCHED POT'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 coil's red into yellow */

/* 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; }

/* when nobody's looking the panel's at the side of your eye: out of focus and a little aside, so you can read the coil's glow and not the dial. You never see it move */
.panel2d { isolation: isolate; transition: filter 0.14s ease-out, transform 0.14s ease-out; }
.panel2d.aside { filter: blur(calc(var(--aside, 9px))); transform: translateX(-1.4%) scale(1.012); transition: filter 0.5s ease-in, transform 0.7s ease-in-out; }
@media (prefers-reduced-motion: reduce) { .panel2d, .panel2d.aside { transition: none; transform: none; } }

/* the hob's cells: each window's light (a piece of assets/lights.png, light as alpha) over the face's bare FR4, at the engine's level by opacity */
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 1; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.p2-spill { position: absolute; pointer-events: none; opacity: 0; z-index: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 96, 24, 0) 56%, rgba(255, 96, 24, 0.36) 74%, rgba(255, 96, 24, 0.12) 90%, rgba(255, 96, 24, 0)); }
.p2 { z-index: 2; }

/* the tally: a small window under the eye */
.p2-tally { position: absolute; pointer-events: none; opacity: 0; z-index: 2; transform: translate(-50%, -50%); border-radius: 50%; background: #fffcf0; box-shadow: 0 0 0.45em 0.1em rgba(255, 252, 240, 0.6); }
.eye-pic { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* the dial: a hand takes hold anywhere over it; the page mustn't scroll under a thumb that's turning it */
.p2-dial { border-radius: 50%; touch-action: none; cursor: grab; }
.p2-dial.held { cursor: grabbing; }
.p2-dial:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: -2px; }
.dial-pic { position: absolute; max-width: none; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.dial-pic:first-child { filter: drop-shadow(0.2em 0.35em 0.45em rgba(0, 0, 0, 0.75)); }

/* the plain way to look away */
.away-row { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; margin: 0 0 0.9rem; }
.look-away { font: inherit; color: var(--gold, #d4af37); background: none; border: 1px solid rgba(212, 175, 55, 0.55); border-radius: 2px; padding: 0.45em 0.9em; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; }
.look-away:hover, .look-away.held { background: rgba(212, 175, 55, 0.12); }
.away-note { flex: 1 1 12rem; font-size: 0.74rem; line-height: 1.4; opacity: 0.8; margin: 0; }

/* beside the panel: the heat over time */
#scope { display: block; width: 100%; height: 190px; }
.status { min-height: 2.8em; }
.readout { min-height: 2.8em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 8.6em; }
