.crosspost-support {
  position: fixed;
  z-index: 9998;
  right: 24px;
  bottom: 24px;
  display: grid;
  justify-items: end;
  gap: 9px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-support-root][hidden],
[data-support-email][hidden] {
  display: none !important;
}

.crosspost-support-button {
  min-height: 54px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #080808;
  background: #67c587;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease;
}

.crosspost-support-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.crosspost-support-button:focus-visible,
.crosspost-support-email:focus-visible {
  outline: 3px solid rgba(124, 60, 255, 0.48);
  outline-offset: 3px;
}

.crosspost-support-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.crosspost-support-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.crosspost-support-email {
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  color: #1a1a2e;
  background: #ffffff;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.16);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.crosspost-support-email:hover {
  text-decoration: underline;
}

.crosspost-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .crosspost-support {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .crosspost-support-button {
    min-height: 50px;
    padding: 0 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crosspost-support-button {
    transition: none;
  }
}
