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

.prsp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.prsp__panel {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.07);
}

.prsp__track {
  position: relative;
  width: 20px;
  height: 110px;
  border-radius: 4px;
  background: rgba(255, 247, 230, 0.1);
}

.prsp__rest {
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 50px;
  height: 2px;
  background: #4cd4a6;
}

.prsp__marker {
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 44px;
  height: 12px;
  border-radius: 4px;
  background: #5b8cf8;
}

.prsp__phone {
  position: relative;
  width: 156px;
  height: 108px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 247, 230, 0.07);
  touch-action: none;
  cursor: grab;
}

.prsp__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.prsp__row {
  height: 18px;
  border-radius: 4px;
  background: rgba(255, 247, 230, 0.12);
}

.prsp__hint {
  color: #fff7e6;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 340px) {
  .prsp__panel {
    padding: 12px;
    gap: 8px;
  }
  .prsp__track {
    height: 88px;
  }
  .prsp__rest {
    bottom: 40px;
  }
  .prsp__marker {
    bottom: 34px;
  }
  .prsp__phone {
    width: 128px;
    height: 88px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .prsp__marker, .prsp__list {
    transition: none !important;
  }
}
