.longwang-float-actions {
  position: fixed;
  right: 20px;
  bottom: 60px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 48px;
  padding: 12px 0;
  border: 1px solid rgba(218, 179, 91, 0.42);
  border-radius: 9999px;
  background: linear-gradient(180deg, #007153 0%, #004b39 100%);
  box-shadow: 0 14px 28px rgba(0, 60, 45, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  isolation: isolate;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.longwang-float-actions.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.longwang-float-action-btn {
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.longwang-float-action-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.longwang-float-action-btn img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
  border: 0;
  border-radius: 0;
  filter: brightness(0) invert(1);
  transition: transform 180ms ease, filter 180ms ease;
}

.longwang-float-action-btn i {
  width: 22px;
  height: 22px;
  color: #fff;
}

.longwang-float-action-btn svg {
  width: 22px;
  height: 22px;
  color: #fff;
  stroke: currentColor;
}

.longwang-float-action-btn--social,
.longwang-float-action-btn--hotline {
  background: transparent;
}

.longwang-float-action-btn--hotline {
  position: relative;
  overflow: visible;
}

.longwang-float-action-phone {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 238, 214, 0.4);
  border-radius: 9999px;
  background: rgba(0, 75, 57, 0.98);
  color: #ffeee2;
  font-family: "Long Wang SVN-Gilroy", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translate(10px, -50%);
  max-width: 0;
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 8px 18px rgba(0, 60, 45, 0.24);
  transition: opacity 180ms ease, transform 180ms ease, max-width 180ms ease, padding 180ms ease;
  z-index: 2;
}

.longwang-float-action-btn--social:hover img,
.longwang-float-action-btn--hotline:hover img,
.longwang-float-action-btn--social:focus-visible img,
.longwang-float-action-btn--hotline:focus-visible img {
  filter: brightness(0) invert(1) drop-shadow(0 5px 10px rgba(0, 0, 0, 0.28));
  transform: translateY(-1px);
}

@media (hover: hover) and (min-width: 768px) {
  .longwang-float-action-btn--hotline:hover .longwang-float-action-phone,
  .longwang-float-action-btn--hotline:focus-visible .longwang-float-action-phone {
    opacity: 1;
    max-width: 180px;
    padding: 0 14px;
    transform: translate(0, -50%);
  }
}

.longwang-float-action-btn:focus-visible {
  outline: 2px solid #dab35b;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .longwang-float-actions {
    right: 10px;
    bottom: 80px;
    transform: none;
  }

  .longwang-float-action-phone {
    display: none;
  }
}
