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

.gr {
  --g0: #17141a;
  --g1: rgb(76.1176470588%, 90.9411764706%, 100%);
  --g2: rgb(70.5176470588%, 92.9176470588%, 85.3411764706%);
  --g3: rgb(93.6470588235%, 75.6470588235%, 70%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.gr__hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.35;
  color: #17141a;
}

.gr__ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: rgb(93.6470588235%, 75.6470588235%, 70%);
}

.gr__field {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.12);
  cursor: none;
  touch-action: none;
}

.gr__field:focus-visible {
  outline: 2px solid rgb(76.1176470588%, 90.9411764706%, 100%);
  outline-offset: 2px;
}

.gr__cv {
  display: block;
  width: 100%;
  height: 100%;
}

.gr__badge {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.78);
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
}

.gr__bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.gr__dial {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 700;
  font-size: 11px;
  color: #17141a;
}

.gr__dial input {
  width: 120px;
  margin: 0;
  padding: 4px 8px;
  border: 1px solid rgba(23, 20, 26, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #17141a;
  font-weight: 700;
  font-size: 12px;
}

.gr__dial input[type=number] {
  width: 72px;
}

.gr__dial input:focus-visible {
  outline: 2px solid rgb(76.1176470588%, 90.9411764706%, 100%);
  outline-offset: 1px;
}

@media (max-width: 340px) {
  .gr {
    gap: 4px;
  }
  .gr__field {
    height: 100px;
  }
  .gr__badge {
    font-size: 10px;
    padding: 0 4px;
  }
  .gr__dial input {
    width: 88px;
  }
  .gr__dial input[type=number] {
    width: 56px;
  }
  .gr__hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gr.is-still .gr__field {
    cursor: default !important;
  }
}
