.holiday-ticker {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  display: flex;
  min-height: 42px;
  overflow: hidden;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: #6f151d;
  color: #fff;
}

html.holiday-ticker-active body {
  padding-top: 42px;
}

html.holiday-ticker-active #root header {
  top: 42px;
}

.holiday-ticker__track {
  display: flex;
  width: max-content;
  flex: none;
  align-items: center;
  animation: holiday-ticker-scroll 26s linear infinite;
  will-change: transform;
}

.holiday-ticker:hover .holiday-ticker__track,
.holiday-ticker:focus-within .holiday-ticker__track {
  animation-play-state: paused;
}

.holiday-ticker__group {
  display: flex;
  min-width: max-content;
  flex: none;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.holiday-ticker__message {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.35;
  white-space: nowrap;
}

.holiday-ticker__separator {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

.holiday-ticker__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes holiday-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .holiday-ticker {
    min-height: 40px;
  }

  .holiday-ticker__message {
    font-size: 0.8rem;
  }

  .holiday-ticker__group {
    gap: 1.5rem;
    padding-right: 1.5rem;
  }

  html.holiday-ticker-active #root header {
    top: 40px;
  }

  html.holiday-ticker-active body {
    padding-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .holiday-ticker__track {
    width: 100%;
    animation: none;
    will-change: auto;
  }

  .holiday-ticker__group {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 0 1rem;
  }

  .holiday-ticker__group:nth-child(2),
  .holiday-ticker__message--repeat,
  .holiday-ticker__separator {
    display: none;
  }
}
