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

.stage {
  position: relative;
  overflow: hidden;
}

.sheet {
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  padding: 12px 16px;
  border-radius: 16px 16px 0 0;
  background: #fff7e6;
  color: #17141a;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform: translateY(clamp(0px, var(--drag, 0px), 130px));
  touch-action: none;
}

.sheet:not(.is-demo):not(.is-dragging) {
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sheet__handle {
  display: block;
  width: 36px;
  height: 4px;
  margin: 0 auto 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.28);
  padding: 0;
  cursor: grab;
}

.sheet__title {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
}

.sheet__row {
  padding: 8px 0;
  border-top: 1px solid rgba(23, 20, 26, 0.12);
  color: rgba(23, 20, 26, 0.8);
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 340px) {
  .sheet {
    height: 130px;
    padding: 8px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet {
    transform: none;
  }
  .sheet:not(.is-demo):not(.is-dragging) {
    transition: none;
  }
}
