html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.card {
  position: relative;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.eyebrow {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 79, 232, 0.12);
  color: #0a4fe8;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.recipient {
  margin: 0;
  color: #17141a;
  font-weight: 400;
  font-size: 13px;
  opacity: 0.78;
}

.ringWrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
}

.ringSvg {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.ringTrack {
  fill: none;
  stroke: rgba(23, 20, 26, 0.12);
  stroke-width: 8px;
}

.ringProgress {
  fill: none;
  stroke: #0a4fe8;
  stroke-width: 8px;
  stroke-linecap: round;
}

.time {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #17141a;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
}

.hint {
  margin: 0;
  color: #17141a;
  opacity: 0.72;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 340px) {
  .card {
    max-width: 240px;
    padding: 12px;
    gap: 4px;
  }
  .eyebrow {
    font-size: 10px;
    padding: 4px 8px;
  }
  .recipient {
    font-size: 11px;
  }
  .ringWrap, .ringSvg {
    width: 64px;
    height: 64px;
  }
  .ringTrack, .ringProgress {
    stroke-width: 6px;
  }
  .time {
    font-size: 12px;
  }
  .hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ringProgress {
    transition: none;
  }
}
