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

.liq {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  cursor: pointer;
  padding: 16px 32px;
  border-radius: 999px;
  background: #fff7e6;
  box-shadow: inset 0 0 0 2px #17141a;
  color: #17141a;
  font-family: inherit;
  font-size: clamp(15px, 4.5vw, 19px);
  font-weight: 800;
}

.liq__wave {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 260px;
  height: 260px;
  border-radius: 42%;
  background: #4cd4a6;
  transform: translate(-50%, 100%);
}

.liq__label {
  position: relative;
}

.liq.is-demo .liq__wave {
  animation: liq-rise 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes liq-rise {
  0% {
    transform: translate(-50%, 100%) rotate(0deg);
  }
  52% {
    transform: translate(-50%, 68%) rotate(180deg);
  }
  66% {
    transform: translate(-50%, 68%) rotate(230deg);
  }
  100% {
    transform: translate(-50%, 100%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .liq.is-demo .liq__wave {
    animation: none;
    transform: translate(-50%, 68%);
  }
}
