/* Connection glow: page-level hint for OBS connection status */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 160ms ease, box-shadow 160ms ease;
}

/* Not connected: subtle black/dark inset */
body.obs-disconnected::before {
  opacity: 1;
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.55),
    inset 0 0 24px rgba(0, 0, 0, 0.45);
}

/* Connected: tighter green inset */
body.obs-connected::before {
  opacity: 1;
  box-shadow:
    /* 3px edge */
    inset 0 0 0 3px rgba(88, 255, 140, 0.34),
    /* glow (slightly wider but still contained) */
    inset 0 0 26px rgba(88, 255, 140, 0.18);
}
