/* pb3k-watermark.css
   Sticky, tiny footer watermark that stays out of the way and works on mobile.
   Tip: If your build has a bottom toolbar, set:
     :root { --pb3k-watermark-bottom-offset: 56px; }
*/
:root{
  --pb3k-watermark-bottom-offset: 8px;
}

.pb3k-watermark {
  position: fixed;
  right: 10px;
  bottom: calc(var(--pb3k-watermark-bottom-offset) + env(safe-area-inset-bottom));
  z-index: 99999;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 4px 10px;
  border-radius: 999px;

  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.2px;

  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);

  opacity: 0.78;
  user-select: none;

  /* Don’t block UI underneath, except the link itself */
  pointer-events: none;
}

.pb3k-watermark:hover { opacity: 0.95; }

.pb3k-watermark__brand {
  font-weight: 600;
  white-space: nowrap;
}

.pb3k-watermark__link {
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;

  pointer-events: auto; /* clickable */
  color: inherit;
}

.pb3k-watermark__link:focus {
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
  border-radius: 6px;
}

/* On small screens, center it so it doesn’t collide with scrollbars */
@media (max-width: 520px) {
  .pb3k-watermark {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}
