#shareFab{
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  border: 2px solid rgba(26,115,232,0.85);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#shareFab:hover{
  background: rgba(26,115,232,0.08);
}

#shareFab svg{
  width: 22px;
  height: 22px;
  display: block;
}

#shareFab:active{
  transform: scale(0.98);
}

/* чтобы не перекрывало переключатель языка */
.header .language-switcher{
  margin-right: 56px;
}

/* простое меню fallback для desktop */
#shareMenu{
  position: fixed;
  top: 60px;
  right: 12px;
  min-width: 220px;
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 8px;
  z-index: 9999;
  display: none;
  backdrop-filter: blur(8px);
}

#shareMenu.open{ display: block; }

#shareMenu a, #shareMenu button{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}

#shareMenu a:hover, #shareMenu button:hover{
  background: rgba(255,255,255,0.10);
}

/* Share icon only (no square container visible) */
#shareFab{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#shareFab:hover{
  background: transparent !important;
}
