.ScreenShot-container {
  padding: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.screenshot-frame {
  width: min(100%, calc(80vh * 1280 / 2400));
  height: auto;
  max-height: 80vh;
  margin: auto 0;
  aspect-ratio: 1280 / 2400;
  border: 2px dashed #999;
  background-color: #f5f5f5;
  box-sizing: border-box;
  flex-shrink: 0;
  /* 保持 1280x2400 比例，限制在容器内 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.screenshot-frame.filled {
  border: none;
  background: transparent;
}

.screenshot-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.screenshot-placeholder {
  color: #666;
  font-size: 14px;
}
