@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;700&display=swap");

:root {
  --ts-promo-bar-height: 40px;
  --ts-public-nav-height: 70px;
}

.ts-promo-bar {
  align-items: center;
  background: radial-gradient(ellipse at bottom right, #F65F00, #FF9A00);
  box-sizing: border-box;
  color: #676767;
  display: flex;
  font-family: "Geist Mono", monospace;
  height: var(--ts-promo-bar-height);
  justify-content: center;
  left: 0;
  padding: 0.3rem;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  user-select: none;
  width: 100%;
  z-index: 1001;
}

.ts-promo-bar__content {
  color: #fff;
  cursor: default;
  display: block;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.015rem;
  line-height: normal;
  margin: 0 !important;
  opacity: 0.9;
}

.ts-promo-bar__content strong {
  color: #fff;
  display: inline;
  font-weight: 700;
  vertical-align: baseline;
}

.ts-promo-bar__coupon {
  line-height: 1;
  margin: 0;
}

.ts-promo-bar__coupon-group {
  align-items: center;
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
  white-space: nowrap;
}

.ts-promo-bar__clock {
  color: #fff;
  display: inline-block;
  font-size: 1.5rem;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
  width: 20px;
}

.ts-promo-bar__copy {
  appearance: none;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer !important;
  display: inline-flex;
  font: inherit;
  height: 1em;
  line-height: 1;
  margin: 0;
  padding: 0;
  width: 1em;
}

.ts-promo-bar__copy:hover {
  color: #fff;
  transform: none;
}

.ts-promo-bar__copy:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 2px;
}

.ts-promo-bar__copy.is-copied {
  color: #fff;
}

.ts-promo-bar__copy.is-copying {
  animation: ts-promo-copy-confirm 280ms ease-out;
}

.ts-promo-bar__copy svg {
  display: block;
  height: 100%;
  width: 100%;
}

@keyframes ts-promo-copy-confirm {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.16);
  }

  72% {
    transform: scale(0.97);
  }
}

.ts-promo-bar__status {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The promotion and navigation live at the document top and leave on scroll. */
body:has(.ts-promo-bar),
body.ts-promo-bar-active {
  padding-top: var(--ts-promo-bar-height);
}

.ts-promo-bar ~ .ts-nav,
body:has(.ts-promo-bar) .ts-nav,
body.ts-promo-bar-active .ts-nav {
  left: 0;
  right: 0;
  top: var(--ts-promo-bar-height);
  width: 100%;
  z-index: 1000;
}

@media screen and (max-width: 768px) {
  .ts-promo-bar__content {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 430px) {
  :root {
    --ts-promo-bar-height: 50px;
  }

  .ts-promo-bar__content {
    display: inline-table;
    font-size: 12px;
    white-space: normal;
    width: 78%;
  }

  .ts-promo-bar__clock,
  .ts-promo-bar__copy {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts-promo-bar animateTransform {
    display: none;
  }

  .ts-promo-bar__copy.is-copying {
    animation: none;
  }
}
