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

.ks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 260px);
  outline: none;
}

.ks__cap {
  margin: 0;
  font-weight: 700;
  font-size: 11px;
  color: rgba(23, 20, 26, 0.64);
}

.ks__hints {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ks__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #ffffff;
  transform: scale(1);
  transition: transform 220ms cubic-bezier(0.2, 1.4, 0.4, 1), background 220ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.ks__hint--hit {
  background: #4cd4a6;
  transform: scale(1.04);
}

.ks__hint kbd {
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.12);
  font-family: inherit;
  font-weight: 700;
  font-size: 10px;
  color: #17141a;
}

.ks__hint span {
  font-weight: 700;
  font-size: 12px;
  color: #17141a;
}

.ks__result {
  margin: 0;
  font-weight: 700;
  font-size: 12px;
  color: #17141a;
}

@media (max-width: 340px) {
  .ks__hints {
    gap: 4px;
  }
  .ks__hint {
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ks__hint {
    transition: none !important;
  }
}
