.common_pop {
  color: #333;
}

/*============文字 樣式============*/

.common_pop .txt2 {
  font-size: 1.1rem;
  line-height: 1.6rem;
}

.common_pop .txt3 {
  font-size: 1rem;
  line-height: 1.6rem;
}

/*============顏色 樣式============*/
.common_pop .red {
  color: red;
}

.common_pop .purple {
  color: #9300d7;
}

/*============間距 樣式============*/
.blank {
  height: 10px;
}

/*============pop============*/
/* .PC .common_pop {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  z-index: 999;
} */

/* .MOBILE .common_pop {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  z-index: 999;
} */

.PC .common_pop .popup {
  position: fixed;
  z-index: 20;
  max-width: 85%;
  width: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0px 0px 20px rgb(0 0 0 / 50%);
  border-radius: 5px;
  padding-bottom: 20px;
}

.MOBILE .common_pop .popup {
  position: fixed;
  z-index: 20;
  max-width: 95%;
  max-height: 85%;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
  background: #ffffff;
  box-shadow: 0px 0px 20px rgb(0 0 0 / 50%);
  border-radius: 5px;
  padding-bottom: 15px;
  overflow: hidden;
}

/*============pop標題============*/
.PC .common_pop .popup_header {
  width: 100%;
}

.PC .common_pop .popup_header::after {
  content: '';
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #9300d7;
}

.MOBILE .common_pop .popup_header {
  width: 100%;
}

.MOBILE .common_pop .popup_header::after {
  content: '';
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #9300d7;
}

/*標題群組*/
.PC .common_pop .title_group {
  width: 90%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 10px 0;
}

.MOBILE .common_pop .title_group {
  width: 90%;
  height: auto;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 10px 0;
}

/*標題*/
.PC .common_pop .popup .title_bar {
  font-size: 24px;
  font-weight: bold;
  color: #9300d7;
  position: relative;
}

.MOBILE .common_pop .popup .title_bar {
  font-size: 22px;
  font-weight: bold;
  color: #9300d7;
  position: relative;
}

/*關閉按鈕容器*/
.PC .common_pop .popup .close {
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.PC .common_pop .popup .close a {
  display: block;
  width: 24px;
  height: 24px;
  font-size: 24px;
  position: relative;
}

.PC .common_pop .popup .close a::before {
  content: "";
  position: absolute;
  height: 24px;
  width: 3px;
  top: 0;
  right: 50%;
  background-color: #bcb9b9;
  color: #fff;
  transform: translate(50%) rotate(45deg);
}

.PC .common_pop .popup .close a::after {
  content: "";
  position: absolute;
  height: 24px;
  width: 3px;
  top: 0;
  right: 50%;
  background-color: #bcb9b9;
  color: #fff;
  transform: translate(50%) rotate(315deg);
}

.MOBILE .common_pop .popup .close {
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.MOBILE .common_pop .popup .close a {
  display: block;
  width: 24px;
  height: 24px;
  font-size: 22px;
  position: relative;
}

.MOBILE .common_pop .popup .close a::before {
  content: "";
  position: absolute;
  height: 24px;
  width: 3px;
  top: 0;
  right: 50%;
  background-color: #bcb9b9;
  color: #fff;
  transform: translate(50%) rotate(45deg);
}

.MOBILE .common_pop .popup .close a::after {
  content: "";
  position: absolute;
  height: 24px;
  width: 3px;
  top: 0;
  right: 50%;
  background-color: #bcb9b9;
  color: #fff;
  transform: translate(50%) rotate(315deg);
}

/*============pop內容區塊============*/
.common_pop .model_content {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  height: auto;
  overflow-y: scroll;
  padding-bottom: 0;
  max-height: 75vh;
}



/*============pop表尾區塊============*/
.PC .common_pop .model_footer {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  padding-bottom: 10px;
}

.PC .common_pop .model_footer .bt_group,
.PC #float_icon .bt_group {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.PC .common_pop .model_footer .bt_group ul,
.PC #float_icon .bt_group ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 15px 0 0 0;
}

.PC #float_icon .bt_group ul {
  padding: 10px 0 5px 0;
}

.PC .common_pop .model_footer .bt_group li::marker {
  font-family: Arial, Helvetica, sans-serif;
}

.PC .common_pop .model_footer .bt_group li a,
.PC #float_icon .bt_group li a {
  display: block;
  width: auto;
  min-width: 160px;
  font-size: 1.3rem;
  border-radius: 5px;
  box-sizing: border-box;
  line-height: 45px;
  text-align: center;
  padding: 0 10px;
}

.common_pop .confirm {
  color: #ffffff;
  background-color: #ef4848;
}

.common_pop .confirm:hover {
  background-color: #be1515;
}

.MOBILE .common_pop .model_footer {
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
  padding-bottom: 10px;
}

.MOBILE .common_pop .model_footer .bt_group {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.MOBILE .common_pop .model_footer .bt_group ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 15px 0 0 0;
}

.MOBILE .common_pop .model_footer .bt_group li::marker {
  font-family: Arial, Helvetica, sans-serif;
}

.MOBILE .common_pop .model_footer .bt_group li a {
  display: block;
  width: auto;
  min-width: 160px;
  line-height: 45px;
  text-align: center;
  font-size: 1.2rem;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 0 10px;
}


/*說明頁面====================================*/
.common_pop .RULES {
  width: 100%;
  height: auto;
  /* overflow: hidden; */
  margin: 0px auto;
  box-sizing: border-box;
}

.common_pop .RULES li.TITLE {
  font-size: 1.2rem;
  line-height: 1.6rem;
  color: #9300d7;
  font-weight: bold;
  list-style: none;
  margin: 20px 0px 5px 0;
  border-left: 6px solid #9300d7;
  padding-left: 10px;
}

.common_pop .RULES li {
  list-style: disc;
  margin-left: 33px;
  margin-bottom: 10px;
}

.common_pop .RULES li.ONE {
  list-style: none;
  margin-left: 16px;
  margin-bottom: 10px;
}

.common_pop .RULES li p {
  font-size: 1.1rem;
  line-height: 1.6em;
  text-align: left;
  color: #333;
}

.common_pop .RULES li a {
  color: #1a8dd4;
  text-decoration: underline;
}


/*表格*====================================*/
.common_pop .BOARD_RULE {
  width: 100%;
  height: auto;
  /* overflow: hidden; */
  border: 1px solid #774c84;
  margin: 15px auto;
}

.common_pop .BOARD_RULE ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;

}

.common_pop .BOARD_RULE li.BAR1 {
  height: 40px;
  width: 75%;
  border-right: 1px solid #eee;
  font-size: 1.1rem;
  line-height: 40px;
  color: #FFF;
  background-color: #b56dca;
  box-sizing: border-box;
  text-align: center;
  text-indent: 0px;
}

.common_pop .BOARD_RULE li.BAR1:nth-child(2) {
  border-right: none;
  width: 25%;
  text-align: center;
  text-indent: 0px;
}

.common_pop .BOARD_RULE ul>li:nth-child(2) {
  border-right: none;
  width: 25%;
  text-align: center;
  text-indent: 0px;
}

.common_pop .BOARD_RULE ul>li:nth-child(3) {
  border-right: none;
}

.common_pop .BOARD_RULE li {
  width: 75%;
  border-right: 1px solid #774c84;
  border-bottom: 1px solid #774c84;
  font-size: 1.1rem;
  line-height: 1.6em;
  color: #3e3e3e;
  box-sizing: border-box;
  text-indent: 10px;

}

.common_pop .BOARD_RULE ul:last-child>li {
  border-bottom: none;
}

/*表格-前短後長＋按鈕 *====================================*/
.common_pop .BOARD_RULE2 li {
  width: 20%;
  border-right: 1px solid #774c84;
  border-bottom: 1px solid #774c84;
  font-size: 1.1rem;
  color: #3e3e3e;
  box-sizing: border-box;
  min-height: 36px;
  height: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.common_pop .BOARD_RULE2 ul:last-child>li {
  border-bottom: none;
}

.common_pop .BOARD_RULE2 {
  /*POP表格*/
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid #774c84;
  margin: 15px auto;
}

.common_pop .BOARD_RULE2 ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
}

.common_pop .BOARD_RULE2 li.BAR2 {
  height: 40px;
  width: 20%;
  border-right: 1px solid #eee;
  font-size: 1.1rem;
  line-height: 40px;
  color: #FFF;
  background-color: #b56dca;
  box-sizing: border-box;
  text-align: center;
}

.common_pop .BOARD_RULE2 ul>li:nth-child(2) {
  border-right: none;
  width: 58%;
  text-align: center;
}

.common_pop .BOARD_RULE2 ul>li:nth-child(3) {
  border-right: none;
  width: 22%;
}

.common_pop .BOARD_RULE2 ul>li a.BOARD_CHANGE {
  background-color: #ff881d;
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 1rem;
}

.common_pop .BOARD_RULE2 ul>li a.BOARD_DONE {
  background-color: #d6d6d6;
  color: #6b6b6b;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 1rem;
}

/*獎品 *====================================*/

.common_pop .ONLY_close {
  display: block;
  position: absolute;
  top: 20px;
  right: 20px;
}

.common_pop .AWARD_NAME {
  font-size: 1.5rem;
  text-align: center;
  font-family: "微軟正黑體", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.common_pop .AWARD_NAME span {
  display: block;
}

.common_pop .AWARD_IMG {
  display: block;
  width: 50%;
  margin: 0 auto 4px auto;
}

.common_pop .AWARD_IMG img {
  width: 100%;
}

.common_pop .AWARD_TXT {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
  font-family: "微軟正黑體", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
  margin-top: 8px;
}

.common_pop .AWARD_TXT span {
  color: #9055cb;
  font-weight: bold;
  font-family: "微軟正黑體", "Microsoft JhengHei", Helvetica, Arial, sans-serif;
}

.common_pop .AWARDBOX {
  width: 96%;
  height: auto;
  padding: 10px 15px 10px 15px;
  background-color: #fff7c7;
  border-radius: 15px;
  border: 1px solid #ffea6a;
  color: #562500;
  margin: 0 auto;
  margin-top: 15px;
}

.common_pop .AWARDPOP {
  width: 90%;
  margin: 0 auto;
  margin-top: 15px;
}

.common_pop .AWARDPOP ul li {
  list-style: disc;
  margin-left: 20px;
}

.common_pop .AWARDPOP li a {
  color: #1a8dd4;
  text-decoration: underline;
}

/*說明頁面 尾=========================================*/




/*========================== 選擇生肖圖示區塊 =======================*/
.common_pop .rec_content {
  clear: both;
  width: 100%;
  margin: 0 auto;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
}


.common_pop .animal_wrapper {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.common_pop a.animal_bt {
  display: block;
  width: 28%;
}


.common_pop .animal_wrapper+.animal_wrapper {
  margin-top: 15px;
}

.common_pop .animal_bt img {
  width: 100%;
}

.MOBILE .common_pop .animal_wrapper {
  width: 100%;
}

/*========================== 選擇星座圖示 ==========================*/
.common_pop .star_wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.common_pop a.star_bt {
  display: block;
  width: 28%;
}

.MOBILE .common_pop a.star_bt {
  display: block;
  width: 30%;
}

.common_pop .star_wrapper+.star_wrapper {
  margin-top: 0px;
}

.common_pop .star_bt img {
  width: 100%;
}