body {
  background: #ffffff;
}

.challenge-app {
  position: relative;
  width: 23.4375rem;
  height: 65.75rem;
  overflow: hidden;
  background: linear-gradient(180deg, #d5f0f1 0rem, #e4f6f6 38.75rem, #ffffff 67.75rem);
}

.page-header {
  --app-header-background: rgba(213, 240, 241, 0.88);
}

.page-header h1 {
  color: #111111;
}

.back-button {
  left: 1.25rem;
}

.back-button img {
  width: 1.1250625rem;
  height: 0.9375625rem;
}

.guide-link {
  position: absolute;
  z-index: 5;
  top: 4.5rem;
  gap: 0.85rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  color: #111111;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: -0.021875rem;
  text-decoration: none;
}

.guide-link img {
  width: 0.4688125rem;
  height: 0.8594375rem;
  flex: 0 0 auto;
}

.guide-link span {
  padding-right: 0.125rem;
}

.points-card {
  position: absolute;
  z-index: 2;
  top: 6.75rem;
  left: 1.25rem;
  display: flex;
  width: 20.9375rem;
  height: 10.4375rem;
  padding: 1.25rem;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 0.625rem;
  background: linear-gradient(100deg, #29aaa1 0%, #29a2be 100%);
}

.points-card__top {
  display: flex;
  height: 3.4375rem;
  align-items: flex-start;
  justify-content: space-between;
  color: #ffffff;
}

.points-card__label {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.125rem;
  letter-spacing: -0.0203125rem;
}

.points-card__value {
  display: block;
  margin-top: -0.0625rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 2.375rem;
  letter-spacing: -0.05625rem;
}

.coin-window {
  position: relative;
  width: 5.75rem;
  height: 3.5rem;
  overflow: hidden;
}

.coin-window img {
  position: absolute;
  top: -1.25rem;
  left: -0.25rem;
  width: 6.375rem;
  height: 6.375rem;
  object-fit: contain;
}

.convert-button {
  display: flex;
  width: 18.4375rem;
  height: 3rem;
  padding: 0.375rem 0.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  border-radius: 3.125rem;
  background: #ffffff;
  color: #10787c;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: -0.025rem;
}

.convert-button img {
  width: 0.96875rem;
  height: 1.2930625rem;
  margin: 0 0.265625rem;
  transform: rotate(90deg);
}

.steps-hero {
  position: absolute;
  top: -2.75rem;
  left: 0;
  width: 23.4375rem;
  height: 35.125rem;
}

.steps-copy {
  position: absolute;
  top: 21.25rem;
  left: 1.25rem;
  z-index: 4;
}

.steps-copy > p {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.125rem;
  letter-spacing: -0.0203125rem;
}

.steps-value {
  display: flex;
  margin-top: 0.125rem;
  align-items: flex-end;
  gap: 0.25rem;
}

.steps-value strong {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2rem;
  letter-spacing: -0.0375rem;
}

.steps-value span {
  padding-bottom: 0.3125rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.375rem;
  letter-spacing: -0.0203125rem;
}

.character-scene {
  position: absolute;
  top: 23.5rem;
  left: 0;
  width: 23.4375rem;
  height: 11.5rem;
}

.character-shadow {
  position: absolute;
  top: 9.125rem;
  left: 4.6875rem;
  width: 14.125rem;
  height: 1.9375rem;
  border-radius: 50%;
  background: rgba(63, 167, 171, 0.13);
  filter: blur(0.125rem);
  transform: rotate(-12deg);
}

.character-back {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 8.53125rem;
  width: 7.620625rem;
  height: 11.430625rem;
  object-fit: cover;
}

.gauge-ring {
  position: absolute;
  z-index: 2;
  top: 5.75rem;
  left: 4.65625rem;
  width: 14.125rem;
  height: 4.8839375rem;
  overflow: visible;
}

.gauge-ring__track,
.gauge-ring__progress {
  fill: none;
  stroke-width: 10;
}

.gauge-ring__track {
  stroke: #ceebec;
}

.gauge-ring__progress {
  stroke: url(#gauge-progress-gradient);
  stroke-linecap: round;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 600ms ease;
}

.character-front {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 8.5625rem;
  width: 7.5625rem;
  height: 8.25rem;
  object-position: bottom;
}

.star-balance {
  position: absolute;
  z-index: 6;
  top: 28.25rem;
  left: 2.5rem;
  display: flex;
  min-width: 5.75rem;
  height: 2rem;
  padding: 0.375rem 0.75rem 0.375rem 0.625rem;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  border: 0.0625rem solid #aae0e2;
  border-radius: 4.125rem;
  background: #ffffff;
  color: #3fa7ab;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: -0.021875rem;
  white-space: nowrap;
}

.star-balance img {
  width: 0.75rem;
  height: 0.7083125rem;
}

.reward-hint {
  position: absolute;
  z-index: 7;
  top: 30.5rem;
  left: 2.5rem;
  width: 5.75rem;
  height: 1.4375rem;
}

.reward-hint img,
.rate-hint img {
  display: block;
  width: 100%;
  height: 100%;
}

.reward-hint img {
  image-rendering: -webkit-optimize-contrast;
}

.reward-hint span {
  position: absolute;
  top: 0.25rem;
  left: 0;
  display: flex;
  width: 5.75rem;
  height: 1.125rem;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 0.625rem;
  letter-spacing: -0.015625rem;
  text-align: center;
}

.rate-hint {
  position: absolute;
  z-index: 7;
  top: 25.5rem;
  left: 16.5625rem;
  width: 5.125rem;
  height: 2.9375rem;
}

.rate-hint span {
  position: absolute;
  top: 0.4375rem;
  left: 0;
  width: 5.125rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 0.875rem;
  letter-spacing: -0.01875rem;
  text-align: center;
}

.summary-card {
  position: absolute;
  z-index: 5;
  top: 33.125rem;
  left: 1.25rem;
  display: flex;
  width: 20.9375rem;
  height: 4.75rem;
  padding: 0.5rem 0;
  align-items: stretch;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 0 0.25rem rgba(60, 160, 164, 0.2);
}

.summary-item {
  display: flex;
  width: 6.979375rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
}

.summary-item + .summary-item {
  border-left: 0.0625rem solid #f2f2f7;
}

.summary-item img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.summary-item p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: -0.021875rem;
}

.summary-item strong {
  color: #3ca0a4;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: -0.025rem;
}

.reward-strip {
  position: absolute;
  z-index: 5;
  top: 38.75rem;
  left: 0;
  display: flex;
  width: 23.4375rem;
  height: 5.1875rem;
  padding: 0.375rem 1.25rem;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.reward-strip::-webkit-scrollbar {
  display: none;
}

.reward-card {
  display: flex;
  width: 5.25rem;
  height: 4.4375rem;
  padding: 0.375rem 0.5rem 0.5rem;
  flex: 0 0 5.25rem;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 0 0.1875rem rgba(60, 160, 164, 0.3);
}

.reward-card p {
  display: flex;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: -0.021875rem;
  white-space: nowrap;
}

.reward-card button {
  display: flex;
  width: 4.25rem;
  height: 1.75rem;
  padding: 0 0.625rem 0 0.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  border-radius: 0.3125rem;
  background: #3fa7ab;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.125rem;
  letter-spacing: -0.01875rem;
  white-space: nowrap;
}

.reward-card button img {
  width: 0.65625rem;
  height: 0.6198125rem;
}

.reward-card--disabled button {
  padding: 0;
  background: rgba(60, 60, 67, 0.18);
  color: rgba(60, 60, 67, 0.3);
  cursor: default;
}

.weekly-record {
  position: absolute;
  top: 45rem;
  left: 0;
  width: 23.4375rem;
  height: 18.75rem;
}

.weekly-record h2 {
  position: absolute;
  top: 0;
  left: 1.25rem;
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5rem;
  letter-spacing: -0.03rem;
}

.chart-wrap {
  position: absolute;
  top: 2.1875rem;
  left: 1.25rem;
  width: 20.9375rem;
  height: 16.375rem;
}

.chart-wrap canvas {
  width: 20.9375rem !important;
  height: 16.375rem !important;
}

@media (prefers-reduced-motion: no-preference) {
  .reward-hint {
    animation: reward-hint-bounce 2000ms ease-in-out infinite;
  }

  button:active,
  a:active {
    transform: scale(0.98);
  }
}

@keyframes reward-hint-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(0.75rem);
  }
}
