#toastHost {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 99999;
  display: grid;
  gap: 10px;
  pointer-events: none;
  width: min(380px, calc(100vw - 32px));
}

.follow-toast {
  pointer-events: auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px 12px 12px;
  border-radius: 18px;
  background: rgba(18, 18, 20, 0.95);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(24px) translateY(-4px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.follow-toast.show {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

.follow-toast.hide {
  opacity: 0;
  transform: translateX(24px) translateY(-4px) scale(0.98);
}

.follow-toast-avatar-wrap {
  flex: 0 0 auto;
}

.follow-toast-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: #202025;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.follow-toast-avatar.fallback {
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.follow-toast-copy {
  min-width: 0;
  flex: 1;
}

.follow-toast-name {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.follow-toast-message {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
}

.follow-toast-close {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms ease, transform 160ms ease;
}

.follow-toast-close:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.04);
}

.follow-toast-close:active {
  transform: scale(0.96);
}

@media (max-width: 520px) {
  #toastHost {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .follow-toast {
    padding: 11px;
    border-radius: 16px;
  }

  .follow-toast-avatar {
    width: 40px;
    height: 40px;
  }
}