/* The "featured on" strip: one line of badges from the sites that list us, sliding left to right.
   Used on the home page (under the footer) and on /featured. Markup comes from shared/featured-badges.mjs. */
.badge-strip { display: flex; align-items: center; gap: 18px; padding: 14px 24px 16px; background: #1b1033; color: #fff4d6; border-top: 1px solid #4a3f66; font-family: "Manrope", system-ui, sans-serif; }
.badge-strip-label { flex: none; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #b8f03a; text-decoration: none; white-space: nowrap; }
.badge-strip-label:hover { text-decoration: underline; }
.badge-strip-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.badge-strip-track { display: flex; align-items: center; gap: 22px; width: max-content; margin: 0; padding: 0; list-style: none; animation: badge-strip-slide 48s linear infinite; }
.badge-strip-track li { flex: none; display: flex; }
.badge-strip-track a { display: block; border-radius: 10px; }
.badge-strip-track a:focus-visible { outline: 3px solid #b8f03a; outline-offset: 3px; }
.badge-strip-track img { display: block; width: auto; height: 40px; }
/* The track holds the list twice, so moving it by half its width and starting over looks endless. */
@keyframes badge-strip-slide { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.badge-strip:hover .badge-strip-track, .badge-strip:focus-within .badge-strip-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .badge-strip-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .badge-strip-track { animation: none; }
}
@media (max-width: 640px) {
  .badge-strip { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 0 14px; }
  .badge-strip-label { padding: 0 16px; }
  .badge-strip-track img { height: 34px; }
}
/* The home page's HTML is the app's too: other app pages hide the strip once the app is running. */
html.off-home .badge-strip { display: none; }
