/* Vote button - solid green, white label + outline thumbs-up (conan-exiles style) */
.vote-support {
  --vote-green: #2db84c;
  --vote-green-hover: #26a343;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 2rem;
  padding: 0.4rem 0.85rem;
  border: none;
  border-radius: 0.45rem;
  background: var(--vote-green);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: none;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
  transform-origin: left center;
}

.vote-support--motion-squeeze {
  animation: vote-squeeze-pulse 1.15s cubic-bezier(0.55, 0.03, 0.85, 0.22);
}

.vote-support--motion-stretch {
  animation: vote-stretch-pulse 1.25s cubic-bezier(0.22, 1.28, 0.36, 1);
}

@keyframes vote-squeeze-pulse {
  0% {
    transform: scale(1, 1);
  }
  35% {
    transform: scale(0.96, 1.07);
  }
  100% {
    transform: scale(1, 1);
  }
}

@keyframes vote-stretch-pulse {
  0% {
    transform: scale(0.9, 1.1);
  }
  60% {
    transform: scale(1.04, 0.97);
  }
  100% {
    transform: scale(1, 1);
  }
}

.vote-support:hover,
.vote-support:focus-visible {
  color: #fff;
  background: var(--vote-green-hover);
  text-decoration: none;
}

.vote-support:focus-visible {
  outline: 2px solid rgba(45, 184, 76, 0.55);
  outline-offset: 2px;
}

.vote-support__track {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.vote-support__label {
  display: inline-block;
  color: #fff;
}

.vote-support__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  color: #fff;
}

.vote-support--compact {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  min-width: 2rem;
}

.vote-support--compact .vote-support__track {
  gap: 0;
}

.vote-support--compact .vote-support__label-slot,
.vote-support--compact .vote-support__label {
  display: none;
}

.vote-support__label-slot {
  display: inline-block;
  overflow: hidden;
}

/* Dashboard tile: same look, no compact animation */
.welcome-vote-btn.vote-support {
  border-radius: 0.45rem;
}

@media (prefers-reduced-motion: reduce) {
  .vote-support--motion-squeeze,
  .vote-support--motion-stretch {
    animation: none;
  }
}
