/* Keeps the existing CTA dimensions while making the wait state readable. */
[data-home-countdown] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 58px;
  padding-block: 7px;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

[data-home-countdown][aria-disabled="true"] {
  color: #fff;
  background-color: #350b26;
  background-image: none;
}

[data-home-countdown] [data-countdown-fill] {
  position: absolute;
  z-index: 0;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ec4899, #db2777);
  pointer-events: none;
}

[data-home-countdown] [data-countdown-content] {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  pointer-events: none;
}

[data-home-countdown] [data-countdown-hint] {
  order: -1;
  min-height: 1em;
  margin-bottom: 2px;
  color: rgb(255 255 255 / 88%);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

[data-home-countdown] [data-countdown-hint]:empty {
  display: none;
}

[data-home-countdown] [data-countdown-label] {
  font-size: inherit;
  line-height: inherit;
}

[data-home-countdown][aria-disabled="false"] {
  cursor: pointer;
}

[data-home-countdown][aria-disabled="false"] [data-countdown-fill] {
  width: 100% !important;
  transition: width 180ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  [data-home-countdown] [data-countdown-fill] {
    transition: none;
  }
}
