/* Global fixed navigation: blend the white artwork against the page itself. */
#site-navbar {
  position: fixed;
  inset: 0 0 auto;
  height: 0;
  z-index: 9;
  visibility: hidden;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
  --nav-top: clamp(16px, 2.1vw, 40px);
  --nav-left: clamp(12px, 1.1vw, 24px);
  --nav-right: clamp(20px, 2.6vw, 52px);
}
#site-navbar img { display: block; filter: brightness(0) invert(1); }
#nav-brand {
  position: absolute;
  top: var(--nav-top);
  left: var(--nav-left);
  width: clamp(48px, 4vw, 88px);
  pointer-events: auto;
}
#nav-brand img { width: 100%; height: auto; }
#site-navbar .tools {
  top: var(--nav-top);
  right: var(--nav-right);
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}
#site-navbar .tools button { pointer-events: auto; }
#site-navbar .tools button:disabled { cursor: default; }
#site-navbar #close-detail {
  top: var(--nav-top);
  right: var(--nav-right);
  color: white;
  border-color: white;
  pointer-events: auto;
}
#site-navbar #close-detail:hover { background: white; color: black; }
#site-navbar [hidden] { display: none !important; }
#site-navbar a:focus-visible, #site-navbar button:focus-visible { outline: 2px solid white; outline-offset: 5px; }
