/* Floating "download PDF" button + its speech-bubble menu (Work and About pages; setupPdfButton in work.js) */
#pdf-wrap {
  position: fixed;
  bottom: 4%;
  left: 2%;
  z-index: 5;
}
#download-btn { display: block; cursor: pointer; }
#download-btn img { width: 25vh; height: auto; display: block; }
/* PDF menu as a comic speech bubble, tail pointing down at the button. The bubble itself
   (black inside, a rough, distressed white line, the tail part of the same line) is an SVG
   drawn behind the links by work.js (drawBubble), so the box here has no border of its own. */
#pdf-menu {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 12vh;
  margin-bottom: 4px;    /* (the tail reaches down over the button, as before) */
  padding: 10px;
  color: #fff;
  white-space: nowrap;
  isolation: isolate;    /* the bubble (z-index -1) stays behind the links but above the page */
}
#pdf-menu.open { display: block; }
#pdf-menu svg.bubble {
  position: absolute;
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}
#pdf-menu a {
  display: block;
  padding: 5px 12px;
  font-size: 0.95rem;
  color: #fff;
}
#pdf-menu a:hover { text-decoration: underline dotted; text-underline-offset: 3px; }
