/* Budnaera share bar + header follow (replaces AddToAny) */
:root {
  --be-share-fg: #222122;
  --be-share-bg: #feeab7;
  --be-ad-offset: 0px;
  --be-share-bar-pad: 52px;
}

.be-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  background: var(--be-share-bg);
  color: var(--be-share-fg);
  cursor: pointer;
  text-decoration: none !important;
  padding: 0;
  transition: transform 0.12s ease, filter 0.12s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.be-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  color: var(--be-share-fg) !important;
  text-decoration: none !important;
}

.be-btn:visited {
  color: var(--be-share-fg) !important;
}

.be-btn:focus-visible {
  outline: 2px solid #feeab7;
  outline-offset: 2px;
}

.be-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

/* Kill sitewide external-link ↗ from be-fluid.css */
a.be-btn[target="_blank"]::after,
a.be-btn::after {
  content: none !important;
}

.be-btn--label {
  width: auto;
  height: 32px;
  padding: 0 10px;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
}

/* Header follow — tighter gold pad; keep icon glyphs at 22px */
.header-follow {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2px;
}

.header-follow .be-btn {
  width: 24px;
  height: 24px;
}

.header-follow .be-btn svg {
  width: 20px;
  height: 20px;
}

.header-actions {
  gap: 6px;
}

/* Bottom share bar */
.be-share-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--be-ad-offset);
  /* Match Google anchor z-index; still lift via --be-ad-offset when they cover the bar */
  z-index: 2147483647;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(34, 33, 34, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: bottom 0.2s ease;
}

body.be-share-ready #Footer,
body.be-share-ready footer#Footer {
  padding-bottom: calc(24px + var(--be-share-bar-pad) + var(--be-ad-offset));
}

.be-share-toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + var(--be-ad-offset) + var(--be-share-bar-pad));
  transform: translateX(-50%) translateY(12px);
  background: #222122;
  color: #feeab7;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 30000;
}

.be-share-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .be-btn--label span {
    /* keep label visible — primary action on mobile */
  }
}
