.fx-torus {
  position: relative;
  width: min(100%, clamp(468px, 47.5vw, 801px));
}
.fx-torus-stage {
  position: relative;
  aspect-ratio: 2048 / 1509;
}
.fx-hero-art .fx-torus-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  pointer-events: none;
}
.fx-torus-wire {
  opacity: .96;
}
.fx-hero[data-fx-surface="black"] .fx-torus-wire {
  opacity: .55;
}
.fx-hero[data-fx-surface="yellow"] .fx-torus-wire {
  filter: brightness(0);
  opacity: .44;
}
.fx-hero:is([data-fx-surface="white"], [data-fx-surface="yellow"]) :is(.fx-torus-we, .fx-torus-verbs) {
  filter: brightness(0);
}
.fx-torus-toggle {
  position: absolute;
  inset: auto auto 0 0;
  display: grid;
  place-items: center;
  padding: 0;
  width: 44px;
  height: 44px;
  color: var(--fx-text);
  background: var(--fx-surface);
  border: 1px solid var(--fx-line);
  border-radius: 50%;
  cursor: pointer;
}
.fx-torus-toggle:hover { border-color: currentColor; }
.fx-torus-toggle[hidden] { display: none; }
.fx-torus-toggle span {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: solid transparent;
  border-width: 6px 0 6px 10px;
  border-left-color: currentColor;
}
.fx-torus-toggle[data-playing] span {
  width: 10px;
  height: 10px;
  margin: 0;
  border: 0;
  background: currentColor;
}
@media (max-width: 640px) {
  .fx-torus { width: min(100%, clamp(256px, 76vw, 401px)); }
}
@media print {
  .fx-torus-toggle { display: none; }
  .fx-hero .fx-torus :is(.fx-torus-wire, .fx-torus-we, .fx-torus-verbs) { filter: brightness(0); }
}
