.support-bubble-wrap {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9999;
  width: 50px;
  height: 50px;
}

.support-bubble {
  position: relative;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 221, 0, 0.18);
  color: #1d1d1d;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.support-bubble:hover,
.support-bubble:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

.support-bubble-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.support-bubble-close {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  padding: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.support-bubble-close:hover,
.support-bubble-close:focus-visible {
  opacity: 1;
  transform: scale(1.05);
}

.support-bubble-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.support-bubble-close {
  background: rgba(31, 41, 55, 0.7);
}

#bmc-wbtn {
  display: none !important;
}

#bmc-iframe.support-widget-dark {
  color-scheme: dark;
  background-color: #0f1117 !important;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.9) contrast(0.95);
}

@media (max-width: 720px) {
  .support-bubble-wrap {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }

  .support-bubble {
    width: 44px;
    height: 44px;
  }

  .support-bubble-icon {
    width: 24px;
    height: 24px;
  }
}
