@charset "UTF-8";

*,
*:after,
*:before {
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
}

.modal-open {
  padding-right: 0px !important;
  overflow: hidden !important;
}


/*BS談窗黑幕*/
.modal-backdrop.show {
  opacity: 0.8 !important;
}



/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
     彈窗 自訂意拉霸顏色
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
.scroll_box_cost::-webkit-scrollbar {
  border-radius: 0rem;
  width: 5px;
  height: 5px;
  background: #8e8e8e00;
}

.scroll_box_cost::-webkit-scrollbar-track {
  border-radius: 0rem;
  -webkit-box-shadow: inset 0 0 0.1rem rgba(0, 0, 0, 0.1);
  background: #d8d8d8;
}

.scroll_box_cost::-webkit-scrollbar-thumb {
  border-radius: 0rem;
  -webkit-box-shadow: inset 0 0 0.1rem rgba(0, 0, 0, 0.1);
  background: var(--theme-color);
}

.scroll_box_cost::-webkit-scrollbar-thumb:hover,
.scroll_box_cost::-webkit-scrollbar-thumb:active {
  background: #20b3c0;
}
/* scroll_box_cost的class */

/* 細捲軸開始 */
/* ::-webkit-scrollbar {
  height: 5px;
  overflow: visible;
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: #bfaa7c;
  background-clip: padding-box;
  border: solid transparent;
  border-width: 0 0 0 0px;
  min-height: 28px;
  padding: 100px 0 0;
  border-radius: 5px;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0), inset 0 -1px 0 rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb:hover {
  background-color: #bfaa7c;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-thumb:active {
  background-color: #bfaa7c;
  box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0);
}

::-webkit-scrollbar-track {
  background-color: #19181e;
} */

/* 細捲軸結束 */



















/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
       通用訊息_彈窗
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
.modal-alert .modal-dialog {
  max-width: 800px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: rgba(255, 0, 255, 0);
  /*顏色標記*/
}

.modal-alert .modal-dialog .modal-content {
  background-color: transparent !important;
  border: none;
}

.modal-alert .modal-dialog .modal-content .modal-body {
  position: relative;
  height: auto;
  padding-bottom: 64.55%;   /* notic_bg_pc.webp 新資源 629x406 */
  background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260921/images/pop/notic_bg_pc.webp")center;
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: rgba(2, 168, 168, 0);
  /*顏色標記*/
}

.modal-alert .modal-dialog .modal-content .modal-body p {
  position: absolute;
  width: 80%;
  height: auto;
  padding-bottom: 0%;

  /*垂直至中*/
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%);

  z-index: 63;

  background-color: rgba(42, 148, 51, 0);
  /*顏色標記*/
  font-family: "Noto Sans TC", sans-serif;
  font-size: 26px;
  margin-block-start: 0em;
  margin-block-end: 0em;
  color: var(--theme-color);
  font-weight: 600;
  text-align: center;
}

/*--X按鈕--*/
.modal .modal-dialog .modal-content .modal-body .btn_close {
  position: absolute;
  width: 7%;
  right: 3%;
  top: 2%;
  opacity: 1;
  overflow: visible;
  z-index: 73;
  display: block;
  background-color: rgba(0, 255, 255, 0);
  /*顏色標記*/
  -moz-transform-origin: center center;
  -webkit-transform-origin: center center;
  -o-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  cursor: pointer;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform: translate(50%, -50%) rotate(0deg);
  transform: translate(50%, -50%) rotate(0deg);
}
.modal .modal-dialog .modal-content .modal-body .btn_close img {
  width: 100%;
}

.modal .modal-dialog .modal-content .modal-body .btn_close:hover {
  -webkit-transform: translate(50%, -50%) rotate(180deg);
  transform: translate(50%, -50%) rotate(180deg);
}







@media (max-width: 1470px) {
  .modal-alert .modal-dialog {
    max-width: 600px;
  }

  .modal-alert .modal-dialog .modal-content .modal-body p {
    font-size: 20px;
  }

}


@media (max-width: 1100px) {
  .modal-alert .modal-dialog {
    max-width: 550px;
  }

  .modal-alert .modal-dialog .modal-content .modal-body p {
    font-size: 20px;
  }

}


@media (max-width: 767px) {
  .modal-alert .modal-dialog .modal-content .modal-body
  {
    width: 87%;
    padding-bottom: 56.09%;   /* notic_bg_mo.webp 895x577 比例 × 自身寬度87% */
    left: 8%;   /* 基礎5%對稱留白，左側再多留3%平衡圖案左右位置 */
    background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260921/images/pop/notic_bg_mo.webp");
    background-size: 100%;
    background-repeat: no-repeat;
  }
  /*--X按鈕--*/
  .modal .modal-dialog .modal-content .modal-body .btn_close {
    width: 11%;
    right: 5%;
    top: 0%;
  }

  .modal-alert .modal-dialog .modal-content .modal-body p {
    width: 80%;
    font-size: 4vw;
    font-weight: 700;
  }

}











/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
       獎勵查詢_彈窗
       （版式複製自 https://pwmtest.iwplay.com.tw/events/20250925/，
        素材暫用該站藍色水墨風 ref_ 系列圖，之後換成本案金色風格美術即可）
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
.history_list_pop .modal-dialog {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: rgba(182, 85, 182, 0);
  /*顏色標記*/
}

.history_list_pop .modal-dialog .modal-content.popup {
  background-color: transparent !important;
  border: none;
}

.history_list_pop .modal-dialog .modal-content.popup .modal-body {
  position: relative;
  height: auto;
  padding-bottom: 58.64%;   /* ref_gift_his_bg_pc.webp 新資源 1151x675 */
  background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260921/images/pop/ref_gift_his_bg_pc.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: rgba(0, 255, 255, 0);
  /*顏色標記*/
}


/*--資訊區域（純內容定位框，本身不帶背景，背景已在 modal-body 上）--*/
.history_list_pop .pop_main_content_1 {
  position: absolute;
  width: 80%;
  height: 75%;
  top: 11%;
  left: 15%;
  z-index: 70;
  background: url("");
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: rgba(103, 150, 238, 0);
  /*顏色標記*/
}


/*--X按鈕--*/
.history_list_pop .dw_btn_close {
  background-color: rgba(103, 238, 209, 0);
  width: 60px;
  height: 60px;
  position: absolute;
  z-index: 73;
  cursor: pointer;
  top: 1%;
  right: 4%;
}

.history_list_pop .dw_btn_close img {
  width: 100%;
  transition: all 0.3s;
}

.history_list_pop .dw_btn_close img:hover {
  transform: rotate(180deg);
}



@media (max-width: 1920px) {
  .history_list_pop .modal-dialog {
    max-width: 1200px;
  }
}

@media (max-width: 1470px) {
  .history_list_pop .modal-dialog {
    max-width: 1000px;
  }
}



@media (max-width: 767px) {

  .history_list_pop .modal-dialog .modal-content.popup .modal-body {
    width: 92%;
    left: 6%;   /* 底圖不貼邊：基礎2%對稱留白，左側再多留4%平衡圖案左右位置 */
     padding-bottom: 131.92%;   /* ref_gift_his_bg_sp.webp 968x1388 比例 × 自身寬度92% */
    background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260921/images/pop/ref_gift_his_bg_sp.webp");
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .history_list_pop .pop_main_content_1 {
    width: 92%;
    height: 75%;
    top: 8%;
    left: 3%;
  }

  /*close_btn*/
  .history_list_pop .dw_btn_close {
    width: 12%;
    height: auto;
    top: 3%;
    right: -1%;
  }

}




/*--pop_main_content_1_內容區--*/
.history_list_pop .pop_main_content_1 {
  display: block;
}

.history_list_pop .pop_main_content_1 .main_box {
  width: 100%;
  height: 100%;
  padding: 2%;
  z-index: 63;
  background-color: rgba(23, 199, 175, 0);
  /*顏色標記*/
}


/*--獎勵list框--*/
.history_list_pop .pop_main_content_1 .list_box {
  position: absolute;
  width: 98%;
  height: 98%;
  padding-bottom: 0%;
  padding-right: 3%;   /* 跟拉桿留出間距，表格不會貼著拉桿 */
  box-sizing: border-box;
  top: 2%;
  left: 1%;
  z-index: 65;
  overflow-x: hidden;
  overflow-y: scroll;
  background-color: rgba(126, 29, 29, 0);
}




@media (max-width: 1920px) {}


@media (max-width: 1470px) {}


@media (max-width: 1100px) {}


@media (max-width: 767px) {
  .history_list_pop .pop_main_content_1 .main_box {
    width: 100%;
  }

  /*--獎勵list框--*/
  .history_list_pop .pop_main_content_1 .list_box {
    width: 98%;
    height: 100%;
    top: 3%;
    left: 0%;
    overflow-x: hidden;
    overflow-y: scroll;
  }
}







/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
       獎勵查詢內表格樣式
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/

.luckybag_checking_table {
  width: 100%;
  border: 1px solid #000000;
  border-collapse: collapse;
  background-color: rgba(0, 255, 255, 0);
}

.luckybag_checking_table thead {
  width: 100%;
  background-color: rgba(184, 135, 11, 0);
}


.luckybag_checking_table p {
  margin-top: 0;
  margin-bottom: 0rem !important;
}

.luckybag_checking_table thead tr th {
  height: 52px;
  background-color: #7bb2b7;
  border: #00000000 2px solid;
  text-align: center;
  color: #ffffff;
  line-height: 47px;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 0.2vw;
}

.luckybag_checking_line_1 td {
  height: 52px;
  background-color: #ffffff00;
  border: #00000000 2px solid;
  border-bottom: #57c2ca6b 2px solid;
  text-align: center;
  color: var(--theme-color);
  line-height: 47px;
  text-decoration: none;
  font-size: 17px;
}

.luckybag_checking_line_2 td {
  height: 52px;
  background-color: #fde4c300;
  border: #00000000 2px solid;
  border-bottom: #57c2ca6b 2px solid;
  text-align: center;
  color: var(--theme-color);
  line-height: 47px;
  text-decoration: none;
  font-size: 17px;
}

.luckybag_checking_table th,
td {
  border: 1px solid #000000;
  padding: 5px 4px;
  text-align: center;
  text-decoration: none;
}

/*獎勵格擴張*/
.history_list_pop .list_nbr {
  padding: 0px 15px;
  font-weight: 700;
  white-space: nowrap;
  /*死不換行*/
}

/*複製按鈕*/
.history_list_pop .btn_copy {
  border-radius: 5px;
  padding: 4px;
  color: #fff;
  background: var(--theme-color);
  cursor: pointer;
  transition: 0.5s;
  text-align: center;
  word-break: keep-all;
}

.history_list_pop .btn_copy:hover {
  background: #363da7;
}


@media (max-width: 1450px) {
  .luckybag_checking_line_1 td {
    font-size: 15px;
  }

  .luckybag_checking_line_2 td {
    font-size: 15px;
  }
}


@media (max-width: 1100px) {


  /*表格*/
  .luckybag_checking_table {
    width: 100%;
    margin: 0 auto;
    border: none;   /* 手機版改用逐行 border-bottom 分隔，拿掉外框，避免第一項上方多一條線 */
  }

  .luckybag_checking_table tr {
    border: #00000000 2px solid;
    border-bottom: #57c2ca6b 2px solid;
  }

  .luckybag_checking_table tbody tr:last-child {
    border-bottom: none;
  }

  .luckybag_checking_table thead {
    display: none;   /* th 都隱藏了，連同 thead tr 一起藏起來，避免它的 border-bottom 浮在第一項上方 */
  }

  .luckybag_checking_table th {
    display: none;
  }

  .luckybag_checking_table td {
    display: block;
    border: none;
  }

  .luckybag_checking_table td:before {
    content: attr(data-th) " ";
    float: left;
    font-weight: bold;
    color: var(--theme-color);
  }

  .luckybag_checking_line_1 td {
    height: 37px;
    color: var(--theme-color);
    line-height: 190%;
  }

  .luckybag_checking_line_1 td .list_day {
    margin-left: 16%;
  }

  .luckybag_checking_line_2 td {
    height: 37px;
    color: var(--theme-color);
    line-height: 190%;
  }

  .luckybag_checking_line_2 td .list_day {
    margin-left: 16%;
  }

  /*獎勵格擴張*/
  .history_list_pop .list_nbr {
    padding: 0px 0px;
    font-weight: unset;
  }

  /*複製按鈕*/
  .history_list_pop .btn_copy {
    width: 47%;
    height: 90%;
    margin-left: 38%;
    margin-top: 0.5%;
    padding: 0px;
  }

}


@media (max-width: 767px) {


  .luckybag_checking_line_1 td {
    font-size: 2.3vw;
  }

  .luckybag_checking_line_2 td {
    font-size: 2.3vw;
  }

  .luckybag_checking_line_1 td .list_day {
    margin-left: 18%;
  }

  .luckybag_checking_line_2 td .list_day {
    margin-left: 18%;
  }

  /*複製按鈕：row 加高，按鈕用固定高度 + margin-top 置中，避免撐破格子、壓到下方分隔線，
    維持跟其他 row 一樣的 block/float 排版，不用 flex 或絕對定位以免跑版*/
  .history_list_pop td[data-th="複製"] {
    height: 56px;
  }

  .history_list_pop .btn_copy {
    width: 47%;
    height: 34px;
    margin-left: 38%;
    margin-top: 0%;
    padding: 0px;
  }

}


@media (max-width: 556px) {
  .luckybag_checking_line_1 td {
    font-size: 3.5vw;
  }

  .luckybag_checking_line_2 td {
    font-size: 3.5vw;
  }
}

@media (max-width: 414px) {

}











/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
       注意事項_彈窗
       （版式複製自 https://pwmtest.iwplay.com.tw/events/20250925/，
        素材暫用該站藍色水墨風 ref_ 系列圖，之後換成本案金色風格美術即可）
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
.event4_notice_pop .modal-dialog {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background-color: rgba(161, 37, 161, 0);
  /*顏色標記*/
}

.event4_notice_pop .modal-dialog .modal-content.popup {
  background-color: transparent !important;
  border: none;
}

.event4_notice_pop .modal-dialog .modal-content.popup .modal-body {
  position: relative;
  height: auto;
  padding-bottom: 58.64%;   /* ref_notic_bg_pc.webp 新資源 1151x675 */
  background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260921/images/pop/ref_notic_bg_pc.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: rgba(0, 255, 255, 0);
  /*顏色標記*/
}


/*--資訊區域--*/
.event4_notice_pop .popup_con {
  position: absolute;
  width: 77.8%;
  height: 77%;
  top: 7%;
  left: 15%;
  background-color: rgba(103, 150, 238, 0);
  /*顏色標記*/
}

.event4_notice_pop .notice_list {
  background-color: rgba(103, 238, 209, 0);
  height: 100%;
  position: absolute;
  top: 2%;
  left: 2%;
  width: 96%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

.event4_notice_pop .notice_list li {
  font-size: 18px;
  line-height: 109%;
  color: #2f2f2f;
  font-weight: 400;
  margin-top: 2%;
}

.event4_notice_pop .notice_list li:first-child {
  margin-top: 0;
}

.event4_notice_pop .notice_list .title_mark {
  color: #ff0000;
}


/*--X按鈕--*/
.event4_notice_pop .dw_btn_close {
  background-color: rgba(103, 238, 209, 0);
  width: 60px;
  height: 60px;
  position: absolute;
  z-index: 73;
  cursor: pointer;
  top: 1%;
  right: 4%;
}

.event4_notice_pop .dw_btn_close img {
  width: 100%;
  transition: all 0.3s;
}

.event4_notice_pop .dw_btn_close img:hover {
  transform: rotate(180deg);
}



@media (max-width: 1470px) {

  .event4_notice_pop .notice_list li {
    font-size: 14px;
  }

}



@media (max-width: 1100px) {
  .event4_notice_pop .modal-dialog {
    max-width: 800px;
  }

  /* 拿掉：≤1100px 和 ≤1470px 區間重疊，這條寫在後面反而把字級蓋回比 1470px 更大的 16px，
     手機看起來字明顯偏大。拿掉後 ≤1100px（含所有手機）正確繼承上面 1470px 那條的 14px。 */
}
@media (max-width: 767px) {

  /*close_btn*/
  .event4_notice_pop .dw_btn_close {
    width: 12%;
    height: auto;
    top: 3%;
    right: -1%;
  }

  .event4_notice_pop .modal-dialog .modal-content.popup .modal-body {
    width: 92%;
    left: 6%;   /* 底圖不貼邊：基礎2%對稱留白，左側再多留4%平衡圖案左右位置 */
    padding-bottom: 131.92%;   /* ref_notic_bg_sp.webp 968x1388 比例 × 自身寬度92% */
    background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260921/images/pop/ref_notic_bg_sp.webp");
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .event4_notice_pop .popup_con {
    width: 90%;
    height: 75%;
    top: 8%;
    left: 3%;
  }
}