/* Labels and separators share one spacing system, including the loop seam. */
.text-marquee {
  --marquee-gap: clamp(1.5rem, 3vw, 3rem);
  container-type: inline-size;
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  block-size: auto;
  overflow: hidden;
}
.text-marquee .text-marquee__track {
  display: flex;
  inline-size: max-content;
  white-space: nowrap;
  animation: b93-text-marquee 60s linear infinite;
}
.text-marquee .text-marquee__group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 0 0 auto;
  inline-size: max-content;
  min-inline-size: 100cqw;
  gap: var(--marquee-gap);
  padding-inline: calc(var(--marquee-gap) / 2);
  animation: none;
}
.text-marquee .text-marquee__item {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font: inherit;
  white-space: nowrap;
}
.text-marquee .text-marquee__symbol {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 1.35em;
  font-weight: 400;
  line-height: 1;
}
@keyframes b93-text-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@supports not (width: 1cqw) {
  .text-marquee .text-marquee__group { min-inline-size: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  .text-marquee .text-marquee__track {
    inline-size: 100%;
    animation: none;
    transform: none;
  }
  .text-marquee .text-marquee__group {
    inline-size: 100%;
    min-inline-size: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 1.5rem;
  }
  .text-marquee .text-marquee__group[aria-hidden="true"],
  .text-marquee [data-marquee-repeat],
  .text-marquee .text-marquee__symbol { display: none; }
  .text-marquee .text-marquee__item {
    flex: 0 1 auto;
    max-inline-size: 100%;
    min-inline-size: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
