.node-preview.tf-calculating::after,
.tf-main-calculating .preview-panel-header::after,
.tf-world-calculating::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #526473;
  border-top-color: #a6d6ef;
  border-radius: 50%;
  animation: tf-busy-spin .8s linear infinite;
  vertical-align: middle;
  margin: 6px;
}

@keyframes tf-busy-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .node-preview.tf-calculating::after,
  .tf-main-calculating .preview-panel-header::after,
  .tf-world-calculating::before {
    animation: none;
  }
}

.tf-local-busy:not([hidden])::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid #526473;
  border-top-color: #a6d6ef;
  border-radius: 50%;
  animation: tf-busy-spin .8s linear infinite;
  vertical-align: middle;
  margin-right: 7px;
}

@media (prefers-reduced-motion: reduce) {
  .tf-local-busy::before {
    animation: none;
  }
}
