#watramoji-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366; /* overridden by JS */

  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);

  transition: transform .2s ease, box-shadow .2s ease;

  /* Reset any theme interference */
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
}

#watramoji-bubble:hover,
#watramoji-bubble:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .32);
  outline: 3px solid rgba(255, 255, 255, .6);
  outline-offset: 2px;
}

#watramoji-bubble:active {
  transform: scale(.95);
}

#watramoji-bubble svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
  display: block;
  flex-shrink: 0;
}

/* Entry animation */
@keyframes watramoji-pop {
  0%   { transform: scale(0); opacity: 0; }
  80%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

#watramoji-bubble {
  animation: watramoji-pop .35s cubic-bezier(.34, 1.56, .64, 1) both;
}

/* Pulse ring */
#watramoji-bubble::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: watramoji-pulse 2.4s ease-out infinite;
}

@keyframes watramoji-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 767px) {
  #watramoji-bubble {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  #watramoji-bubble svg {
    width: 30px;
    height: 30px;
  }
}

/* ── Shortcode button [watramoji_button] ────────────────────────────────── */

.watramoji-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1px 15px;
  height: 37px;
  min-height: 35px;

  border-radius: 99px;
  border: 1px solid rgba(0, 0, 0, .05);
  box-sizing: border-box;

  background-color: #25D366; /* overridden by inline style from shortcode */
  color: #ffffff !important;
  text-decoration: none !important;

  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.42px;
  line-height: 1;
  white-space: nowrap;

  cursor: pointer;
  touch-action: manipulation;
  transition: filter .2s ease, transform .2s ease;
}

.watramoji-cta:hover,
.watramoji-cta:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
  outline: 2px solid rgba(255, 255, 255, .5);
  outline-offset: 2px;
}

.watramoji-cta:active {
  transform: translateY(0);
  filter: brightness(.95);
}
