/* Privacy blur (public/privacy.js): while Treehouse is in the background, one veil (::after) blurs everything behind
   it and ::before shows only the Treehouse mark on top. A backdrop blur on pseudo-elements, so nothing on the page
   moves or reflows and clearing it is instant. No transition either way: a fade in would leave readable frames.
   Above toasts (90) and the update bar (95), under the lock screen (100). The alarm and review edges are lifted
   above the veil so their glow still shows, while their cards stay underneath, blurred. */
html.privacy-blur::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 96;
  pointer-events: auto;
  cursor: default;
  -webkit-backdrop-filter: blur(32px) saturate(.7);
  backdrop-filter: blur(32px) saturate(.7);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
}
html.privacy-blur::before {
  content: '';
  position: fixed;
  z-index: 97;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 20px;
  pointer-events: none;
  background: url('/assets/icon-192.png') center / cover no-repeat;
  box-shadow: 0 18px 40px -18px rgba(29, 26, 22, .45);
}
html.privacy-blur .alarm-glow,
html.privacy-blur .ralert-glow { z-index: 97; }
