.form-select {
  background-position: right 0.25rem center;
}

/* modal */
.display_none {
  display: none;
}

.alt_question_pop .modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.alt_question_pop .modal {
  /* background-color: #00000082;
      backdrop-filter: blur(1em); */
  font-size: 0.2rem;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

.alt_question_pop .modal-content {
  position: relative;
  margin: 0 auto;
  width: inherit;
  background-color: #f7fbff;
  border-radius: 0;
  outline: 0;
}

.alt_question_pop .modal-body {
  padding: 0.5rem;
}

.alt_question_pop.show .popClose {
  position: absolute;
  right: -0.22rem;
  top: -0.22rem;
  box-sizing: content-box;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  margin: 4%;
  color: #000;
  background: url(https://res1-nte.iwplay.com.tw/images/pop/popClose.png) no-repeat;
  background-size: cover;
  background-color: #c91b5b;
  border: 0;
  border-radius: 0;
  opacity: 1;
  z-index: 3;
}

.alt_question_pop .modal .popClose:focus,
.alt_question_pop .modal .popClose:hover {
  box-shadow: none;
  opacity: 1;
}

/* alt_question_pop */
.alt_question_pop.show {
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.alt_question_pop .modal-dialog {
  margin: 0;
  max-width: 100%;
  width: 8.5rem;
}

.alt_question_pop .modal-content {
  position: relative;
  margin: 0 auto;
  background-image: url(../images/popmodal/pop_question.png);
  background-position: center bottom;
  border: 2px solid #000;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  background-clip: padding-box;
  border-radius: 0rem;
  outline: 0;
  background-color: #000;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

/* .big_title_box */
.big_title_box {
  height: 1rem;
}

.modal-body .Change_account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  width: 86%;
  margin: 0 auto 0.2rem auto;
  background-color: #c8c8c8;
  border-radius: 0.5rem;
}

/* 單獨針對 tst_qualified 和 tst_unqualified 彈窗的 Change_account */
#tst_qualified .Change_account,
#tst_unqualified .Change_account {
  position: absolute;
  top: 0.17rem;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
}

.modal-body .Change_account p {
  font-size: 0.2rem;
  font-weight: normal;
  color: #000;
  padding-left: 0.2rem;
}

.modal-body .Change_account span {
  font-size: 0.2rem;
  font-weight: normal;
  color: #000;
}

.modal-body .Change_account button {
  background-color: #00000000;
  width: 1.5rem;
  height: auto;
  border-radius: 50%;
  padding: 0;
}

.modal-body .Change_account button img {
  width: 100%;
  height: 100%;
}

.big_title_box .title_line_1 img {
  display: block;
  width: 86%;
  margin: 0 auto;
  margin-bottom: 0.15rem;
}

.big_title_box .title_line_2 {
  text-align: center;
}

/* nakami */
.nakami {
  height: 4.5rem;
  overflow-y: auto;
  margin-bottom: 1.5rem;
}

.nakami .list_box a {
  color: #00a4be;
}

.question_opening .nakami .list_box {
  padding-right: 0.15rem;
}

.question_opening .agree_btn {
  position: relative;
  margin: 0 auto;
  display: block;
  width: 70%;
  height: 0;
  padding-top: 11%;
  background: url(../images/popmodal/QA_agree.png) no-repeat 0 0;
  background-size: 100%;
  cursor: pointer;
  margin-top: 0.7rem;
}

.question_opening .agree_btn:hover {
  background: url(../images/popmodal/QA_agree_on.png) no-repeat 0 0;
  background-size: 100%;
}

.nakami .list_box span {
  color: #c91b5b;
}

.btn_box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.7rem;
}

.btn_box>div {
  position: relative;
  margin: 0 auto;
  display: block;
  width: 40%;
  height: 0;
  padding-top: 11%;

  cursor: pointer;
}

.btn_box>div.back_btn {
  background: url(https://res1-nte.iwplay.com.tw/images/popmodal/QA_back_btn.png) no-repeat 0 0;
  background-size: 100%;
}

.btn_box>div.back_btn:hover {
  background: url(https://res1-nte.iwplay.com.tw/images/popmodal/QA_back_btn_on.png) no-repeat 0 0;
  background-size: 100%;
}

.btn_box>div.next_btn {
  background: url(https://res1-nte.iwplay.com.tw/images/popmodal/QA_next_btn.png) no-repeat 0 0;
  background-size: 100%;
}

.btn_box>div.next_btn:hover {
  background: url(https://res1-nte.iwplay.com.tw/images/popmodal/QA_next_btn_on.png) no-repeat 0 0;
  background-size: 100%;
}

.btn_box>div.next_btn2 {
  background: url(https://res1-nte.iwplay.com.tw/images/popmodal/QA_end_btn.png) no-repeat 0 0;
  background-size: 100%;
}

.btn_box>div.next_btn2:hover {
  background: url(https://res1-nte.iwplay.com.tw/images/popmodal/QA_end_btn_on.png) no-repeat 0 0;
  background-size: 100%;
}

.QA_s_title {
  font-size: 0.22rem;
  font-weight: 600;
  color: #141414;
  padding-top: 0.1rem;
  padding-right: 0.03rem;
}

.QA_s_title span {
  font-size: 0.17rem;
  font-weight: normal;
}

.ans_con,
.ans_con select,
.ans_con option,
.form-select {
  font-size: 0.18rem;
  margin: 0.1rem 0.05rem;
}

.form-select,
.form-control {
  width: 96%;
  margin: 0 auto;
  padding: 0.1rem 0.2rem;
  border: 2px solid #141414;
}

.form-select:focus,
.form-control:focus {
  outline: none;
  box-shadow: none;
}

.ans_con {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.word_box_1 {
  position: relative;
  margin: 0.04rem;
}

.word_box_1 input[type="radio"],
.word_box_1 input[type="checkbox"] {
  display: none;
}

.word_box_1 label {
  font-size: 0.18rem;
  display: block;
  padding: 0.06rem 0.2rem;
  border: 2px solid #141414;
  color: #141414;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  border-radius: 0.5rem;
  opacity: 0.7;
  margin-bottom: 0.2rem;
}

.word_box_1 label:hover {
  opacity: 1;
}

.question_17 .word_box_1 label {
  padding: 0.06rem 0.3rem;
}

.word_box_1 label b {
  font-weight: bolder;
  color: #000;
}

.word_box_1 input[type="radio"]:checked+label,
.word_box_1 input[type="checkbox"]:checked+label,
.word_box_1 input[type="checkbox"]:checked+label b {
  background-color: #141414;
  color: #fff;
  opacity: 1;
}

.error_box {
  width: 94%;
  text-align: center;
  background: #e66393;
  color: #fff;
  font-size: 0.17rem;
  margin: 0.05rem 0 0.05rem 2%;
  padding: 0.05rem;
  border-radius: 0.05rem;
}

.other_con {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.other_con .outer_left {
  flex: 0 0 auto;
}

.other_con .outer_right input {
  margin-bottom: 0.5rem;
}

.other_con .outer_right {
  margin-left: 0.05rem;
}

.ans_con input,
.form-control {
  font-size: 0.18rem;
  padding: 0.06rem 0.2rem;
  border-radius: 0.5rem;
  border: 2px solid #141414;
}

#Q27_email {
  height: 0.8rem;
}

.question_1 .word_box_1,
.question_7 .word_box_1,
.question_8 .word_box_1,
.question_13 .word_box_1,
.question_14 .word_box_1,
.question_19 .word_box_1,
.question_22 .word_box_1 {
  width: 100%;
}

.question_1 .word_box_1 label,
.question_7 .word_box_1 label,
.question_8 .word_box_1 label,
.question_13 .word_box_1 label,
.question_14 .word_box_1 label,
.question_19 .word_box_1 label,
.question_22 .word_box_1 label {
  text-align: left;
}

.question_8 .ans_con input,
.question_13 .ans_con input,
.Q19_11_box {
  width: 100%;
}

.Q18_11_box {
  width: 90.5%;
}

.slect_con,
.slect_con6 {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.slect_con p {
  font-size: 0.18rem;
  padding: 0.06rem 0.2rem;
}

.question_10 .slect_con p {
  width: 32%;
}

.question_12 .slect_con p,
.question_15 .slect_con p {
  width: 24%;
}

.slect_con .form-select {
  width: 50%;
}

.slect_con6 p {
  font-size: 0.18rem;
  padding: 0.06rem 0.2rem;
  width: 13%;
}

.slect_con6 .form-select {
  width: 60%;
}

.Q26_phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.Q26_phone .form-select {
  width: 35%;
  padding: 0.1rem 0.2rem;
  border: 2px solid #141414;
}

.Q26_phone .form-control {
  width: 60%;
  height: auto;
  padding: 0.1rem 0.2rem;
  border: 2px solid #141414;
}

/* successmodal*/
.qa_successmodal .modal-content {
  width: 7.6rem;
  position: relative;
  margin: 0 auto;
  /* 0104更新*/
  background-image: url(../images/popmodal/pop_yy_success_0114.webp);

  /* background-image: url(../images/popmodal/pop_yy_success.png); */
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #000;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  background-clip: padding-box;
  border-radius: 0rem;
  outline: 0;
  /*background-color: #8d09098c;*/
  background-color: #000;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background-position-x: center;
}

.qa_successmodal .modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 0.5rem;
}

.qa_successmodal .inner {
  width: 100%;
}

.qa_successmodal .res_poptt {
  margin: 4% auto;
  text-align: center;
}

.qa_successmodal .res_poptt img {
  width: 90%;
}

.qa_successmodal .go_QA {
  margin-top: 33%;
  text-align: center;
  width: 100%;
  background-color: rgba(165, 42, 42, 0);
  /*顏色標記*/
}

.qa_successmodal .go_QA .QA_btn {
  display: none;
  width: 87%;
  height: auto;
  padding-bottom: 17%;
  margin: 0 auto;
  background: url(../images/popmodal/QA_list_btn.webp) no-repeat 0 0;
  background-size: 100%;

  cursor: pointer;
}

.qa_successmodal .go_QA .QA_btn:hover {
  width: 87%;
  height: auto;
  padding-bottom: 17%;
  margin: 0 auto;
  background: url(../images/popmodal/QA_list_btn_2.png) no-repeat 0 0;
  background-size: 100%;
  cursor: pointer;
}

.qa_successmodal .go_QA .QA_tt {
  width: 87%;
  height: auto;
  padding-bottom: 0%;
  margin: 0 auto;
}

.qa_successmodal .go_QA .QA_tt img {
  width: 75%;
  opacity: 0;
}

/* 0114更新 FB+DC */
.qa_successmodal .focus {
  margin-top: 20%;
  margin-bottom: 20%;
  text-align: center;
  width: 100%;
}

.qa_successmodal .facebook_btn:hover,
.qa_successmodal .discord_btn:hover {
  transform: scale(1.1);
}

/* 讓按鈕並排的容器 */
.qa_successmodal .focus>div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.15rem;
  /* 控制按鈕之間的距離，數字越小越近 */
}

.qa_successmodal .facebook_btn:hover,
.qa_successmodal .discord_btn:hover {
  transform: scale(1.1);
}

.facebook_btn,
.discord_btn {
  display: block;
  width: 35%;
  /* 調整按鈕大小 */
  margin: 0;
  /* 由 gap 控制間距 */
  text-align: center;
  transition: transform 0.2s ease;
}

/* 強制這兩個按鈕內的圖片填滿，忽略 HTML 標籤上的 width */
.facebook_btn img,
.discord_btn img {
  width: 100% !important;
  display: block;
}

/* .qa_successmodal .focus {
  margin-top: 40%;
  text-align: center;
  width: 100%;
} */

.qa_successmodal .focus_btn {
  display: block;
  width: 70%;
  height: auto;
  padding-bottom: 12.2%;
  margin: 0 auto;
  background: url(../images/popmodal/focus_btn_2.png) no-repeat 0 0;
  background-size: 100%;
  cursor: pointer;
}

.qa_successmodal .focus_btn:hover {
  background: url(../images/popmodal/focus_btn_on_2.png) no-repeat 0 0;
  background-size: 100%;
}

.qa_successmodal .focus_head_tt {
  margin: 2% auto;
}

.qa_successmodal .focus_head_tt img {
  width: 75%;
}

.qa_successmodal .otherPlatform {
  margin: 3% auto 2%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qa_successmodal .otherPlatform a {
  transform: scale(0.9);
  margin: 0 0.05rem;
}