.congrats-card--streak {
  padding: 104px 20px 24px;
  background-color: var(--secondary);
  background-position: center top;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.congrats-card--streak [data-subtitle] {
  max-width: 349px;
  color: var(--gray-50);
  font-family: var(--primary-font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 19px;
}

.congrats-card--streak [data-congrats-visual] {
  align-self: center;
  flex: 0 0 346px;
  width: 100%;
  padding: 0;
  margin-top: 30px;
  justify-items: center;
}

.congrats-card--streak [data-ellipsis] {
  width: 246px;
  height: 246px;
  align-self: center;
  justify-self: center;
}

.congrats-card--streak [data-mascot] {
  max-width: 253px;
  max-height: 253px;
  align-self: center;
  justify-self: center;
  filter: none;
  transform: translate(-7px, -9px);
}

.congrats-card--streak [data-reward-badge] {
  width: 84px;
  height: 43px;
  padding: 0 8px;
  border-radius: 40px;
  background: var(--green-dark);
  color: var(--gray-50);
  box-shadow: 3px 7px 0 var(--green-darker);
  font-size: 24px;
  justify-content: center;
  line-height: 26px;
  transform: translate(108px, 70px);
}

.congrats-card--streak [data-reward-icon] {
  width: 30px;
  height: 30px;
}

.congrats-card--streak [data-streak-caption] {
  position: relative;
  z-index: 20;
  margin-top: -68px;
  margin-bottom: 4px;
}

.congrats-card--streak [data-streak-caption] span {
  min-width: 281px;
  height: 35px;
  padding: 4px 16px 5px;
  border-radius: 80px;
  background: var(--green);
  color: var(--secondary);
  box-shadow: 4px 12px 0 var(--green-darker);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 26px;
  white-space: nowrap;
}

.congrats-card--streak [data-progress-bar] {
  z-index: 30;
  align-self: center;
  width: max-content;
  max-width: 100%;
  min-height: 78px;
  margin-top: 0;
  margin-bottom: 90px;
  gap: 5px;
  justify-content: center;
  padding: 8px;
  overflow: visible;
  border-radius: 4px;
  background: var(--gray-white);
  box-shadow: 4px 5px 0 var(--gray-normal);
}

.congrats-card--streak [data-progress-icon] {
  width: 36px;
  height: 36px;
}

/* fogo.svg is taller than it is wide (41x57 vs check.svg's 36x36) — the extra height is the
   intended "flame flicker" effect, not a bug. Needs (0,3,0) specificity to win over the base
   36x36 rule above and over progressBar.css's identically-valued rule (loaded before this file). */
.congrats-card--streak .congrats-progress-day--current [data-progress-icon] {
  width: 36px;
  height: 50px;
  margin-top: -14px;
}

.congrats-card--streak [data-progress-label] {
  color: var(--secondary-light);
  font-family: var(--primary-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 17px;
  white-space: nowrap;
}

.congrats-card--streak [data-streak-actions] {
  gap: 19px;
  margin-top: 60px;
}

.congrats-card--streak [data-action="proceed"] {
  height: 48px;
  border-radius: 100px;
  background: var(--primary);
  color: var(--gray-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

@media (max-height: 760px) {
  .congrats-card--streak {
    padding-top: 92px;
  }

  .congrats-card--streak [data-congrats-visual] {
    flex-basis: 308px;
    margin-top: 20px;
  }

  .congrats-card--streak [data-progress-bar] {
    margin-bottom: 42px;
  }
}
