.coffee-support {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: #ff7a1a;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 150ms ease;
}

.coffee-support img {
  display: block;
  width: 24px;
  height: 28px;
}

.coffee-support-label {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: max-content;
  max-width: calc(100vw - 60px - env(safe-area-inset-right, 0px));
  padding: 8px 12px;
  border: 1px solid #253044;
  border-radius: 8px;
  background: #111823;
  color: #f3f4f6;
  font: 500 12px/1.5 "Plus Jakarta Sans", sans-serif;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.coffee-support:focus-visible {
  outline: 2px solid #2dd4bf;
  outline-offset: 4px;
}

.coffee-support:focus-visible .coffee-support-label {
  opacity: 1;
}

@media (hover: hover) {
  .coffee-support:hover {
    transform: translateY(-2px);
  }

  .coffee-support:hover .coffee-support-label {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .coffee-support {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coffee-support,
  .coffee-support-label {
    transition: none;
  }
}
