html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.rh {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 440px);
  height: min(252px, 100vh - 2 * clamp(8px, 4vw, 24px));
  color: #fff7e6;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  user-select: none;
}

.rh b {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rh__tag {
  color: #9a93a6;
  letter-spacing: 0.5px;
}

.rh__cursor {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff7e6;
  box-shadow: 0 0 0 3px rgba(23, 20, 26, 0.55), 0 6px 12px rgba(23, 20, 26, 0.32);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

.rh[data-demo] .rh__cursor {
  opacity: 1;
}

.rh button:focus-visible {
  outline: 3px solid #ff9ebb;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .rh__cursor {
    display: none;
  }
}
.rh__side {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  height: calc(100% - 32px);
  width: 56px;
  overflow: hidden;
  padding: 12px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #6ec8ff, #4cd4a6);
  color: #17141a;
  z-index: 2;
}

.rh__item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 30px;
  margin: 0;
  white-space: nowrap;
  font-weight: 700;
}

.rh__ico {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.78);
}

.rh__lab {
  opacity: 0;
}

.rh__grip {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.7);
  transform: translateY(-50%);
  cursor: col-resize;
  touch-action: none;
}

.rh__main {
  position: absolute;
  inset: 0 0 32px 0;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 12px;
}

.rh__main i {
  width: 40%;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.16);
}

.rh__tick {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 4px;
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 247, 230, 0.35);
  z-index: 3;
}

.rh__tick[data-on="1"] {
  background: #ff9ebb;
}

.rh__meta {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
}
