.yl-floating-share-wrap {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 22px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction: rtl;
  font-family: Cairo, Tahoma, Arial, sans-serif;
}
.yl-floating-share-btn {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}
.yl-floating-share-facebook {
  background: #1877f2;
  box-shadow: 0 12px 30px rgba(24, 119, 242, 0.32);
}
.yl-floating-share-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.44);
  filter: brightness(1.05);
}
.yl-floating-share-btn:active {
  transform: translateY(0) scale(0.98);
}
.yl-floating-share-btn:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}
.yl-floating-share-btn svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}
.yl-floating-share-toast {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 160px;
  z-index: 99999;
  max-width: min(310px, calc(100vw - 36px));
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  color: #fff;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.yl-floating-share-toast.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 700px) {
  .yl-floating-share-wrap {
    inset-inline-end: 14px;
    bottom: 82px;
  }
  .yl-floating-share-btn {
    width: 54px;
    height: 54px;
  }
  .yl-floating-share-toast {
    inset-inline-end: 14px;
    bottom: 206px;
  }
}
@media screen and (max-width: 760px), screen and (hover: none) and (pointer: coarse) {
  .yl-floating-share-wrap {
    bottom: 78px !important;
  }
  .yl-floating-share-toast {
    bottom: 202px !important;
  }
}
@media screen and (max-width: 380px) {
  .yl-floating-share-wrap {
    bottom: 70px !important;
  }
  .yl-floating-share-toast {
    bottom: 190px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .yl-floating-share-btn,
  .yl-floating-share-toast {
    transition: none;
  }
}
@media print {
  .yl-floating-share-wrap,
  .yl-floating-share-toast {
    display: none !important;
  }
}
