.community-core-follow-intent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: #f7f9fc;
}

.community-core-follow-intent__body {
  min-width: 0;
}

.community-core-follow-intent__title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
}

.community-core-follow-intent__message {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.community-core-follow-intent__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

.community-core-follow-intent__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.community-core-follow-intent__action:hover,
.community-core-follow-intent__action:focus-visible {
  opacity: 0.92;
}

.community-core-follow-intent__action--link {
  background: #111827;
}

.community-core-follow-intent--already_following,
.community-core-follow-intent--follow_back {
  background: #f3faf6;
  border-color: rgba(16, 185, 129, 0.24);
}

.community-core-follow-intent--unavailable,
.community-core-follow-intent--self {
  background: #fff8f1;
  border-color: rgba(245, 158, 11, 0.24);
}

.community-core-follow-intent--login_required {
  background: #f5f8ff;
  border-color: rgba(59, 130, 246, 0.24);
}

.community-core-follow-intent.is-complete .community-core-follow-intent__action {
  background: #047857;
}

@media (max-width: 767px) {
  .community-core-follow-intent {
    flex-direction: column;
    align-items: stretch;
  }

  .community-core-follow-intent__actions {
    width: 100%;
  }

  .community-core-follow-intent__action {
    width: 100%;
  }
}
