/* Pill marquee: creator-platform wordmarks in rounded chips, alternating filled and outlined
   cherry, in a light grey band. Typographic names only, not partnership or integration badges.
   Static and wrapped without JavaScript or with reduced motion; chips.js makes the chips hop
   one chip at a time (a short ease, then a rest) instead of a continuous roll. */

.chips {
  --chip-h: 42px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  background: #EAEAED;
  border-block: 1px solid #DDDDE2;
}
.chips__window { flex: 1 1 auto; min-width: 0; }
.chips__track { display: flex; }
.chips__set {
  flex: 1 1 100%;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 0; padding: 0 var(--gutter); list-style: none;
}
.chip {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  height: var(--chip-h); padding: 0 20px;
  border-radius: 999px;
  font: 700 1rem/1 var(--body); letter-spacing: -.01em; white-space: nowrap;
}
.chip--fill { background: var(--accent); color: #fff; }
.chip--line { color: var(--accent-ink); box-shadow: inset 0 0 0 2px var(--accent); }
.chip.chip--mark { width: var(--chip-h); padding: 0; }
.chip--mark svg { flex: none; width: 22px; height: 22px; margin-top: -3px; color: var(--accent-ink); }

.chips__toggle {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 6.5rem; min-height: 44px; margin-right: var(--gutter); padding: 0 18px 0 15px;
  border: 0; border-radius: 999px;
  background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px #CFCFD6;
  font: 700 .875rem/1 var(--body);
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 140ms var(--ease-out), background-color 140ms ease;
}
.chips__toggle:active { transform: scale(.97); }
.chips__toggle svg { width: 11px; height: 11px; fill: currentColor; }

/* Hopping (set by chips.js when motion is allowed; it moves the track with transforms) */
.chips[data-motion="on"] .chips__window { overflow: hidden; }
.chips[data-motion="on"] .chips__track { width: max-content; will-change: transform; }
.chips[data-motion="on"] .chips__set { flex: none; flex-wrap: nowrap; justify-content: flex-start; padding: 0 10px 0 0; }

@media (hover: hover) and (pointer: fine) {
  .chips__toggle:hover { background: var(--tint); }
}
@media (min-width: 1024px) {
  .chips { --chip-h: 46px; padding: 18px 0; }
  .chip { padding: 0 24px; font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  .chips__track { transition: none !important; transform: none !important; }
  .chips__toggle { display: none !important; }
}
