body {
      margin: 5px;
      min-height: 100vh;
      display: flex;
    flex-direction: column;

    }

    #main {
      width: 100%;
      margin: 0 auto;
      max-width: 960px;
      flex-grow: 1;
    }

    #card-length {
      min-width: 36px;
      padding: 6px 6px;
      text-align: center;
      display: inline-block;
    }

    /* CSS for card result */
    .card-green {
      color: green;
    }

    .card-blue {
      color: blue;
    }

    .card-red {
      color: red;
    }

    /* 添加一个名为 result-div 的 CSS 类，用于修改结果 div 的样式 */
    .result-div {
      color: #fff;
      /* 设置文本颜色为白色 */
      background-color: #007bff;
      /* 设置背景颜色为蓝色 */
      padding: 10px;
      /* 添加内边距 */
      border-radius: 5px;
      /* 添加圆角边框 */
      margin-top: 10px;
      /* 添加顶部外边距 */
    }
    .test-div {
      color: #fff;
      /* 设置文本颜色为白色 */
      background-color: #fff;
      /* 设置背景颜色为蓝色 */
      padding: 10px;
      /* 添加内边距 */
      border-radius: 5px;
      /* 添加圆角边框 */
      margin-top: 10px;
      /* 添加顶部外边距 */
    }

    /* CSS for clear button */
    #clear-btn {
      margin-left: 10px;
      background-color: #87ceeb;
      /* 将按钮背景色设置为天蓝色 */
      border-color: #87ceeb;
      /* 边框颜色也设置为天蓝色 */
    }

    #clear-btn:hover {
      background-color: #7acfea;
      /* 悬停时的背景色 */
      border-color: #7acfea;
      /* 悬停时的边框颜色 */
    }

    #usageButton:hover {
      background-color: #7acfea;
      /* 悬停时的背景色 */
      border-color: #7acfea;
      /* 悬停时的边框颜色 */
    }

    #usageButton {
      margin-left: 10px;
      background-color: #87ceeb;
      /* 将按钮背景色设置为天蓝色 */
      border-color: #87ceeb;
      /* 边框颜色也设置为天蓝色 */
    }

    #usageButton:focus {
      outline: none;
      /* 移除按钮的默认聚焦样式 */
      box-shadow: none;
    }

footer {
    text-align: center;
    margin: 0 auto;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 600px
}