/* Nervous-lines-specific chrome only; the shared shell (#stage/#canvas-host/#tools/#sidebar/
   fullscreen/fill/idle-fade) lives in src/assets/visual-shell.css. */

/* Darkens the visible frame toward the page background with an inset shadow, so the darkness is a
   band that follows the frame's rectangle. sketch.js sets its opacity (strength) and
   --vignette-size (0 to 1: how far inward it reaches, as a share of half the frame's short side).
   The shadow is fully dark at the edge (spread = half the blur) and fades to clear at --band.
   Anchored by #canvas-host's own position: relative (visual-shell.css). Ported from honeycomb's
   own #vignette (visuals/honeycomb/controls.css). */
#vignette {
  --band: calc(var(--vignette-size, 0.35) * min(var(--w), var(--h)) / 2);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 var(--band) calc(var(--band) / 2) var(--color-bg);
}
