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

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

.card {
  --tint: 0.14;
  box-sizing: border-box;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  background: rgba(201, 48, 0, var(--tint));
  border: 1px solid rgba(201, 48, 0, 0.3);
  border-radius: 16px;
  padding: 20px;
  transition: background-color 220ms ease-out;
}

.title {
  margin: 0;
  color: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 700;
  font-size: 14px;
}

.track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.12);
  overflow: hidden;
}

.fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #c93000;
  transition: width 140ms linear;
}

.msg {
  margin: 0;
  color: rgba(23, 20, 26, 0.72);
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.retryBtn {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: #17141a;
  color: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 340px) {
  .card {
    width: 260px;
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card, .fill {
    transition: none;
  }
}
