/* PC 端样式 - 大屏幕设备 (≥992px) */

@media (min-width: 992px) {
  :root {
    --form-padding-top: 24px;
    --form-container-bottom: 10%;
    --form-estimated-height: 88px; /* form 的估算高度：padding(24*2) + 内容高度(约40px) */
    --result-container-gap: 20px; /* result-container 底部与 form-container 顶部之间的间距 */
  }

  /* 生成结果图片容器 - 底部与表单容器的顶部对齐 */
  /* result-container 底部 = form-container bottom + form 的估算高度 + 间距 */
  /* 注意：form 的实际高度约为 padding(24px*2) + 内容高度(约40px) = 88px */
  .result-container {
    bottom: calc(var(--form-container-bottom) + var(--form-estimated-height) + var(--result-container-gap));
  }

  .result-container.interacting {
    bottom: calc(5% + var(--form-estimated-height) + var(--result-container-gap));
  }

  /* 历史记录容器 - PC 端固定宽度 */
  .history-wrapper {
    width: 500px; /* PC 端固定宽度，显示 5 个元素 */
    padding-right: var(--bs-gutter-x, 1.5rem); /* Bootstrap 默认右边距 */
  }

  /* 表单容器 - PC 端最大宽度 */
  .form-container {
    bottom: var(--form-container-bottom);
    width: 90%;
    max-width: 800px;
  }

  .form-container-inner {
    max-width: 800px;
    padding: 0 20px;
    margin: 0 auto;
  }

  .form {
    width: 100%;
    max-width: 100%;
  }

  .form-container.interacting {
    bottom: 5%;
  }

  /* 表单布局 - PC 端纵向排列（所有内容都在 form__input-group 中） */
  .form {
    flex-direction: column;
    align-items: stretch;
  }

  /* Logo - PC 端较大尺寸 */
  .logo-container {
    top: 24px;
    left: 24px;
  }

  .logo-img {
    width: 120px; /* PC 端 logo 宽度 */
    height: auto;
  }
}

