@use '../../../../../styles/variate.scss' as *;

* {
  box-sizing: border-box;
}
.page__content {
  box-sizing: border-box;
  height: calc(100% - 54px);
  display: flex;
  position: relative;
  user-select: none;
  margin: 2.5vh 0 0;

  ::-webkit-scrollbar {
    display: none;
    width: 0 !important;
    height: 0 !important;
    -webkit-appearance: none;
    background: transparent;
    color: transparent;
  }

  .page__content__left {
    flex: 1;
    padding: 0 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    .left_content {
      // height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .word {
      display: flex;
      align-items: center;
      position: relative;
      margin: 2.83vh 0;
      .horn {
        position: absolute;
        left: 100%;
        cursor: pointer;
      }
    }
    .spell {
      max-width: 480px;
      padding: 0 32px;
      background-image: url('https://xxl-1313840333.cos.ap-guangzhou.myqcloud.com/xuexiaole_clinet/normalMode/line_word.png');
      background-size: auto 100px;

      color: var(--grey-1, rgba(0, 0, 0, 0.85));
      font-family: Arial;
      // font-size: 64px;
      font-size: 2.83vh;
      font-style: normal;
      font-weight: 500;
      line-height: 8.33vh; /* 150% */
    }
    .horn {
      margin-left: 14px;
      margin-right: 14px;
      width: 72px;
      height: 6vh;
      flex-shrink: 0;
      cursor: pointer;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        width: 100%;
        max-height: 100%;
        object-fit: contain;
      }
    }
    .round-3 {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .chinese {
      width: 100%;
      color: var(--grey-3, rgba(0, 0, 0, 0.65));
      font-size: 2.67vh;
    }
    .explain_form_box {
      width: 100%;
      // height: 78px;
      margin-top: 4vh;
      .explain_form {
        padding: 1vh 28px;
        border-radius: 1.33vh;
        border: 0.33vh solid #ffa51f;
        background: #fffef2;
        color: vrgba(0, 0, 0, 0.65);
        font-family: $font-special;
        font-size: 2.67vh;
        .form {
          color: #8409d6;
        }
        .prototype {
          color: #99d609;
        }
        .form_name {
          color: #09c2d6;
        }
      }
    }
    .sentence {
      color: var(--grey-1, rgba(0, 0, 0, 0.85));
      font-family: $font-text;
      font-size: 2.83vh;
      font-style: normal;
      font-weight: 500;
    }

    .phoneticSymbol {
      color: var(--grey-3, rgba(0, 0, 0, 0.65));
      font-family: $font-text;
      font-size: 2.67vh;
      font-style: normal;
      font-weight: 400;
      line-height: 4.5vh; /* 150% */
    }
    .illustration {
      margin: 2.67vh 0 0;
      width: 480px;
      flex: 1;
      // min-height: 0;
      // height: 480px;
      // background-color: #fff01f;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      img {
        width: 100%;
        max-height: 100%;
        object-fit: contain;
      }
    }
  }
  .page__content__right {
    width: 880px;
    padding: 0 80px 2.67vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 110px;
    .game-props__list {
      display: flex;
      justify-content: space-around;
      margin-bottom: 3.5vh;
      // margin-bottom: 84px;
      // 8.24 默认显示 单词释义、词性
      .game-props__item {
        width: 124px;
        height: 7.17vh;
        position: relative;
        cursor: pointer;
        .game-props__item__icon {
          width: 8.33vh;
          height: 8.33vh;
        }
        .game-props__item__num {
          position: absolute;
          left: 76px;
          top: 4.33vh;
          width: 4vh;
          height: 4vh;
          border-radius: 50%;
          background-color: #fffef5;
          color: #736d20;
          font-size: 2.67vh;
          font-weight: 500;
        }
      }
      .game-props__item--gray {
        margin: 0.58vh 0;
        width: 124px;
        height: 7.17vh;
        img {
          width: 100%;
          max-height: 100%;
          object-fit: contain;
        }
      }
    }
    .btn__detail__box {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 5.33vh;
      // margin-bottom: 32px;
      // 8.24 默认显示 单词释义、词性
      .btn__detail {
        display: flex;
        align-items: center;
        margin-bottom: 1vh;
        .btn__detail__icon {
          width: 6vh;
          height: 6vh;
          margin-right: 14px;
        }
      }
      .btn__detail__text {
        color: rgba(0, 0, 0, 0.65);
        font-family: $font-text;
        font-size: 2.33vh;
      }
      .yinbiao {
        margin-top: 1.83vh;
        display: flex;
        align-items: center;
        justify-content: center;
        .icon {
          margin-right: 18px;
        }
      }
    }
    .input__list__box {
      // padding: 0 68px;
      margin-bottom: 4.67vh;
      display: flex;
      justify-content: center;
      .closeBtn {
        cursor: pointer;
        position: absolute;
        right: -96px;
        top: -0.67vh;
        width: 6.67vh;
        img {
          width: 100%;
          max-height: 100%;
          object-fit: contain;
        }
      }
    }
    .input__list {
      position: relative;
      display: flex;

      .input__item {
        width: 5.33vh;
        height: 5.33vh;
        border-radius: 0.83vh;
        border: 0.17vh solid var(--1, #d9d163);
        background: var(--unnamed, #fffef5);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--grey-2, rgba(0, 0, 0, 0.75));
        font-size: 4vh;
        font-weight: 500;
        &.right {
          border: 0.17vh solid var(--3, #8fcc00);
          background: var(--3, #c1f052);
        }
        &.error {
          border: 0.17vh solid #d9574e;
          background: #d9574e;
        }
      }
    }
    .char__list {
      display: flex;
      flex-wrap: wrap;
      gap: 18px;

      .char__item__box {
        width: 5.83vh;
        height: 5.83vh;
        // margin-bottom: 1vh;
        // &:not(:nth-child(8n)) {
        // margin-right: 18px;
        // }
      }
      .char__item {
        width: 100%;
        height: 100%;
        text-align: center;
        border-radius: 0.83vh;
        background-color: #faeb1e;
        text-align: center;
        line-height: 5.83vh;
        color: #403c08;
        font-weight: 500;
        font-size: 4vh;
        cursor: pointer;
      }
    }
  }
  .page__content__line {
    border-left: 0.08vh dashed #d9d163;
  }
}
@keyframes flicker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  51% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
