/* PARRY's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's PARRY's own.
   The page is gold like every module's; only the panel's own lights keep their colour: the HUD's amber life, red
   damage, dim white damage, the blue of a parry and the super meters. */

/* 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 HUD: each window's sprite (assets/hud-<kind>.png, light as alpha) masks the colour the engine gives it, over the
   face's bare FR4, at the engine's level by opacity; 2P's are mirrored by panel2d.js */
.p2-hud {
  position: absolute; pointer-events: none; opacity: 0; z-index: 1;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.p2 { z-index: 2; }

/* RULES and FIGHT, PARRY's own parts: the same hover as the knobs; FIGHT's cap sinks while held */
.p2[role="switch"] { cursor: pointer; touch-action: manipulation; border-radius: 50%; }
.p2[role="switch"]:hover svg { filter: drop-shadow(0 0 0.35em rgba(212, 175, 55, 0.75)); }
.p2-button .pr-cap { transition: transform 60ms; }
.p2-button.held .pr-cap { transform: scale(0.9); }

/* beside the panel: the two gates' strip, the fight's moment, the round, the rules, the lives and the last thing */
#scope { display: block; width: 100%; height: 92px; }
.status { min-height: 1.4em; }
.readout { min-height: 2.8em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 7.4em; }
