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);
}

.ct {
  width: 100%;
  max-width: 320px;
  display: grid;
  gap: 12px;
}

.ct__field {
  display: block;
}

.ct__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  background: rgba(23, 20, 26, 0.08);
  color: #17141a;
  font: 500 16px/1.3 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  letter-spacing: 0.04em;
  -webkit-text-security: disc;
}
.ct__input:focus {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.ct__readout {
  display: flex;
  justify-content: center;
}

.ct__time {
  font: 800 26px/1.1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
  font-variant-numeric: tabular-nums;
}

.ct__track {
  position: relative;
  height: 12px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.1);
  overflow: hidden;
}

.ct__fill {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: #17141a;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms ease-out;
}

.ct__meta {
  font: 600 13px/1.2 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: rgba(23, 20, 26, 0.72);
  text-align: center;
}
.ct__meta b {
  color: #17141a;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .ct {
    max-width: 260px;
  }
  .ct__input {
    padding: 8px 12px;
    font-size: 14px;
  }
  .ct__time {
    font-size: 21px;
  }
  .ct__meta {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct__fill {
    transition: none;
  }
}
