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

.acs {
  width: 100%;
  max-width: 300px;
  display: grid;
  gap: 12px;
}

.acs__card {
  display: grid;
  gap: 12px;
}

.acs__row {
  display: grid;
  gap: 8px;
}

.acs__field {
  display: block;
}

.acs__input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border-radius: 8px;
  border: 0;
  background: rgba(23, 20, 26, 0.08);
  color: #17141a;
  font: 500 14px/1.3 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}
.acs__input::placeholder {
  color: rgba(23, 20, 26, 0.48);
}
.acs__input:focus {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

.acs__input--pw {
  -webkit-text-security: disc;
}

.acs__btn {
  border: 0;
  border-radius: 12px;
  padding: 8px 16px;
  background: #17141a;
  color: #fff7e6;
  font: 700 14px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  cursor: pointer;
  transition: transform 140ms ease-out;
}
.acs__btn:active {
  transform: scale(0.96);
}

.acs__readout {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.acs__label {
  font: 500 12px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: rgba(23, 20, 26, 0.64);
}

.acs__count {
  display: inline-block;
  font: 800 28px/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  color: #17141a;
  font-variant-numeric: tabular-nums;
}

.acs__count--low {
  color: #c2361a;
}

@media (max-width: 340px) {
  .acs {
    max-width: 220px;
  }
  .acs__count {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .acs__btn {
    transition: none;
  }
}
