.top-promo[hidden],
.top-promo [hidden] {
  display: none !important;
}

.top-promo {
  color: #065f46;
  background: #ecfdf5;
  border-bottom: 1px solid #d1fae5;
}

.top-promo__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
}

.top-promo__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 8px;
}

.top-promo__icon {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #059669;
  background: #d1fae5;
}

.top-promo__text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.top-promo__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 9px;
  color: #064e3b;
  background: #a7f3d0;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.top-promo__link:hover .top-promo__action {
  background: #6ee7b7;
}

.top-promo__controls {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.top-promo__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.top-promo__dot,
.top-promo__pause {
  display: grid;
  place-items: center;
  width: 24px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  color: #047857;
  background: transparent;
  cursor: pointer;
}

.top-promo__dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #6ee7b7;
}

.top-promo__dot[aria-pressed="true"]::before {
  width: 16px;
  background: #34b987;
}

.top-promo__pause {
  margin-left: 4px;
}

.top-promo__pause:hover {
  background: #d1fae5;
}

.top-promo__link:focus-visible,
.top-promo__dot:focus-visible,
.top-promo__pause:focus-visible {
  outline: 2px solid #047857;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .top-promo__inner {
    justify-content: space-between;
    gap: 8px;
    min-height: 94px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .top-promo__link {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    justify-content: start;
    gap: 6px 8px;
    font-size: 12px;
  }

  .top-promo__action {
    grid-column: 2;
    justify-self: start;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 7px;
  }

  .top-promo__controls {
    flex-wrap: wrap;
    justify-content: center;
    width: 72px;
  }

  .top-promo__pause {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-promo__action {
    transition: none;
  }
}
