@charset "utf-8";

/*---- common ----*/
@import url('https://ids.iwplay.com.tw/includ/footer/footer.css');


*,
a,
span {
    font-family: 'Noto Sans TC', Arial, Helvetica, 微軟正黑體, Microsoft JhengHei, sans-serif;
}

a {
    text-decoration: none !important;
}




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

::-webkit-scrollbar-thumb {
    background-color: #3553db;
    background-clip: padding-box;
    border: solid transparent;
    border-width: 0 0 0 0px;
    min-height: 28px;
    padding: 100px 0 0;
    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: #8048e9;
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0);
}

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

::-webkit-scrollbar-track {
    background-color: #000000;
}

/* 細捲軸結束 */





html,
body {
    padding: 0;
    margin: 0;
}

section {
    width: 100%;
    display: inline-block;
    margin: 0;
}

img {
    width: 100%;
    height: 100%;
}

.display_none {
    display: none;
}

/*禁止滑動*/
.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}



/*--大背景--*/
.wrapper {
    width: 100%;
    height: auto;
    padding-bottom: 0%;
    overflow: hidden;

    background-color: #19181e;
}



.btn-hover{
    transform: scale(1);
    transition: 0.3s;
    cursor: pointer;
}
.btn-hover:hover{
    transform: scale(1.2);
    transition: 0.3s;
}


.down_cover{
    position: absolute;
    width: 100%;
    left: 0;
    /* opacity: 0.5; */
    z-index: 68;
}






/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
            浮水印
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
.fixed_nav_pc {
    position: fixed;
    width: 14%;
    height: auto;
    padding-bottom: 28.88%;   /* 維持原比例：33% × (14/16) ≈ 28.88% */
    top: 35%;
    right: 0%;

    background-color: rgba(226, 21, 21, 0);
    /*顏色標記*/

    z-index: 80;
    display: block;


    background-image: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/flex/ezgif.com-webp-maker.webp);
    background-repeat: no-repeat;
    background-size: 100%;

}



/*--按鈕--*/
.fixed_nav_pc .btn_box {
    position: absolute;
    width: 58%;
    height: auto;
    padding-bottom: 78%;
    top: 40%;
    left: 21.5%;
    z-index: 80;

    background-color: rgba(226, 21, 21, 0);
    /*顏色標記*/
}


.fixed_nav_pc .btn_box .events_btn {
    position: absolute;
    width: 100%;
    height: auto;
    padding-bottom: 0%;
    top: 0%;
    left: 0%;
    z-index: 3;
    cursor: pointer;
}


.fixed_nav_pc .btn_box .home_btn {
    position: absolute;
    width: 100%;
    height: auto;
    padding-bottom: 0%;
    top: 10%;
    left: 0%;
    z-index: 3;
    cursor: pointer;
}

.fixed_nav_pc .btn_box .download_btn {
    position: absolute;
    width: 100%;
    height: auto;
    padding-bottom: 0%;
    top: 40%;
    left: 0%;
    z-index: 3;
    cursor: pointer;
}

.fixed_nav_pc .btn_box .go_fb_btn {
    position: absolute;
    width: 100%;
    height: auto;
    padding-bottom: 0%;
    top: 70%;
    left: 0%;
    z-index: 3;
    cursor: pointer;
}


@media (max-width:1100px) {
    .fixed_nav_pc {
        display: none;
    }
}

/* 繩結 */
.fixed_nav_pc .knot {
    position: absolute;
    width: 30%;
    height: auto;
    padding-bottom: 0%;
    top: 109%;
    left: 35.5%;
    background-color: rgba(221, 33, 158, 0);
    /*顏色標記*/
    z-index: 70;
} 
.fixed_nav_pc .knot img{
    width: 100%;
    height: auto;
}


@media (max-width:1100px) {
    .fixed_nav_pc {
        display: none;
    }
}







/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
            浮水印_tb_mob
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
.noke_flex_sp {
    display: none;
}


@media (max-width: 767px) {
    .noke_flex_sp {
        position: fixed;
        width: 100%;
        height: auto;
        padding-bottom: 17.5%;
        bottom: -26%;
        left: 0%;
        z-index: 99;
        /*overflow: hidden;*/
        background-image: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/flex/ezgif.com-webp-maker-m.webp);
        background-repeat: no-repeat;
        background-size: 100%;
        background-color: rgba(161, 127, 255, 0);
        /*顏色標記*/
        cursor: pointer;
        transition: all 0.5s ease;
        display: none;
        /*左邊*/
    }

    .noke_flex_sp.scroll {
        bottom: -2.6%;
    }



    /*寶箱*/
    .noke_flex_sp .gift_item {
        position: absolute;
        width: 40%;
        height: auto;
        padding-bottom: 0%;
        /* top: -81%; */
        bottom: 0%;
        right: -5%;
        z-index: 20;
        pointer-events: none;
    }

    /*按鈕*/
    .noke_flex_sp .btn_box {
        position: absolute;
        width: 60%;
        height: 40%;
        top: 61%;
        left: 33%;
        background-color: rgba(224, 75, 167, 0);
        /*顏色標記*/
        /* display: flex; */
        
        z-index: 22;
    }
    .noke_flex_sp .btn_box a{
        padding: 1%;
    }





    .noke_flex_sp {
        width: 100%;
        padding-bottom: 25.5%;
        background-image: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/flex/ezgif.com-webp-maker-m.webp);
        background-repeat: no-repeat;
        background-size: 100%;
        display: block;
    }

    .noke_flex_sp.scroll {
        bottom: 0%;
    }


    


    .noke_flex_sp .download_btn {
        position: absolute;
        width: 40%;
        padding-bottom: 0%;
        top: 10%;
        left: 3%;
    }

    .noke_flex_sp .go_fb_btn {
        position: absolute;
        width: 40%;
        padding-bottom: 0%;
        top: 10%;
        left: 50%;

        
    }
}


.big_title {
    position: absolute;
    width: 68%;
    height: auto;
    padding-bottom: 0%;
    top: 16%;
    left: 16%;

    z-index: 5;
}

.big_title2{
    position: absolute;
    width: 68%;
    height: auto;
    padding-bottom: 0%;
    top: 52%;
    left: 16%;

    z-index: 5;
}

.big_title2 .lv2_word_2_1{
    position: absolute;
    width: 88%;
    height: auto;
    padding-bottom: 33%;
    top: 10%;
    background-color: #44338300;
    right: 6%;
    z-index: 2;
}

.big_title2 .lv2_word_2_1 p {
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.9vw;
    line-height: 153%;
    margin-block-start: 0em;
    margin-block-end: 0em;
    color: #000000;
    font-weight: 500;
    margin-top: 0.5%;
    text-align: center;

    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.big_title2 .lv2_word_2_1 p span{
    color: #ff0000;
}








/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
            主視覺區域
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
/* KV --------------------------------------------------------------------*/
.kv_zone {
  width: 100%;
  height: 54.79vw;
  background: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/kv/KV_bg_2.webp) center bottom no-repeat;
  background-size: cover;
  position: relative;
  animation: kv_ani 1.1s forwards;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.kv_zone .down_cover{
    bottom: -2.8%;
}


.kv_zone .big_logo {
  position: absolute;
  right: 1.5vw;
  left: auto;
  top: 1vw;
  width: 24vw;
}
.kv_zone .big_logo img {
  width: 100%;
  height: auto;        /* 依 logo.webp 原比例，覆蓋全域 img{height:100%} 不壓縮 */
  display: block;
}
.kv_zone .big_title {
  position: absolute;
  width: 70%;
  top: 46%;
  left: 15%;
}
.kv_zone .big_title .kv_title {
  width: 100%;
  opacity: 0;
  animation: title 1s forwards 0.1s ease-in-out;
}
.kv_zone .big_title .kv_title_light {
  
  position: absolute;
  width: 100%;
  left: 0%;
  mix-blend-mode: screen;
}
.kv_zone .go_event1_btn {
  cursor: pointer;
  position: absolute;
  left: calc(50% - 9vw);   /* 置中：50% 再往左推自身寬度一半(18vw ÷ 2 = 9vw) */
  width: 18vw;
  bottom: 10vw;
  opacity: 0;
  animation: show_btn 1s forwards 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.3s;
  animation-delay: 1.2s;
  z-index: 10;
}
.kv_zone .go_event1_btn img {
  width: 100%;
}
.kv_zone .go_event1_btn:hover {
  filter: brightness(1.3);
  bottom: 9vw;
}
.kv_zone .video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.4;
  transform: rotate(0.5turn);
  filter: hue-rotate(90deg) brightness(1.2) contrast(1.5);
}
.kv_zone .video-bg video {
  width: 100vw;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* KV 人物（絕對定位，相對 .kv_zone；可自由調 top/left/width） */
.kv_zone .kv_chara {
  position: absolute;
  width: 34%;
  height: auto;        /* 維持比例，覆蓋全域 img{height:100%} */
  top: 4%;
  left: 30%;
  z-index: 3;
  opacity: 0;
  /* 進場(forwards) → 接無限浮動(延遲 1.3s = 進場 0.4+0.9 結束後啟動) */
  animation: kvCharaIn 0.9s 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
             kvFloat 3.2s 1.3s ease-in-out infinite;
}
.kv_zone .horse1 {
  position: absolute;
  width: 20%;
  height: auto;        /* 維持比例 */
  top: 6%;
  left: 28%;
  z-index: 2;
  opacity: 0;
  /* 進場 → 接浮動(延遲 1.55s = 0.65+0.9) */
  animation: kvHorseL 0.9s 0.65s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
             kvFloat 3.6s 1.55s ease-in-out infinite;
}
.kv_zone .horse2 {
  position: absolute;
  width: 22%;
  height: auto;        /* 維持比例 */
  top: 8%;
  right: 18%;
  z-index: 4;
  opacity: 0;
  /* 進場 → 接浮動(延遲 1.8s = 0.9+0.9) */
  animation: kvHorseR 0.9s 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
             kvFloat 3.4s 1.8s ease-in-out infinite;
}

/* KV 人物進場（配合 big_title 0.1s 起、go_event1_btn 1.2s 的節奏，中間錯開淡入）*/
@keyframes kvCharaIn {
  from { opacity: 0; transform: translateY(8%) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@keyframes kvHorseL {
  from { opacity: 0; transform: translateX(-14%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes kvHorseR {
  from { opacity: 0; transform: translateX(14%); }
  to   { opacity: 1; transform: translateX(0); }
}
/* KV 人物進場後的無限上下浮動（三人用不同 duration 錯開，感覺更自然）*/
@keyframes kvFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3%); }
}



/*--↑主視覺區域↑--*/







@media (max-width: 768px) {
    .kv_zone {
        height: 191vw;
        background: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/kv/kv_bg_m_1.webp) center top no-repeat;
        background-size: cover;
    }
    .kv_zone .big_logo{
        width: 60vw;
        top: 4vw;
        left: 20%;
    }
    .kv_zone .big_title {
        position: absolute;
        width: 90%;
        top: 53%;
        left: 5%;
    }
    .kv_zone .go_event1_btn{
        width: 50vw;
        bottom: 23vw;
        left: 25%;
    }
    .kv_zone .go_event1_btn:hover{
        bottom: 17vw;
    }
    .kv_zone .kv_chara {
        width: 100%;
        top: 12%;
        left: 0%;
    }
    .kv_zone .horse1 {
        width: 53%;
        top: 12%;
        left: 2%;
    }
    .kv_zone .horse2 {
        width: 50%;
        top: 22%;
        right: -16%;
    }
}



/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
            登入區塊_區域
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
.events_2 {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: -15%;   /* 壓在 kv_zone 上（往上拉，數值越大重疊越多） */
    z-index: 5;         /* 高於 kv_zone(auto)、低於 events_3(6)，維持 events_3 壓 events_2 */
    padding-bottom: 120%;
    background-color: rgba(1, 31, 49, 0);

    background-image: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event2/event2_bg_2.webp);
    background-repeat: no-repeat;
    background-size: 100%;
}

.events_2 .down_cover{
    bottom: -1.9%;
}

/*中央*/
.events_2 .main_center {
    position: absolute;
    width: 72vw;
    height: auto;
    padding-bottom: 0%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 60;
    background-color: rgba(226, 21, 21, 0);
    /*顏色標記*/
}










/*登入區*/
.events_2  .main_center .frame_out {
    position: absolute;
    width: 60vw;
    height: auto;
    padding-bottom: 46%;
    top: 26.5%;
    left: 8.33%;   /* 置中：(72-60)/2=6vw → 6/72 ≈ 8.33%（相對 main_center 72vw） */
    z-index: 63;

    background-image: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event2/out_frame_pc_1.webp);
    background-repeat: no-repeat;
    background-size: 100%;
}




.events_2  .main_center .frame_out .log_befor,
.events_2  .main_center .frame_out .log_after
{
    position: absolute;
    width: 40%;
    height: auto;
    padding-bottom: 30.5%;
    top: 23%;
    left: 8%;
    z-index: 5;

    background-color: #7be20600;
}

.events_2  .main_center .frame_out .log_title{
    position: absolute;
    width: 90%;
    right: 5%;
    /* top: 2%; */
}

.events_2 .gift_box{
    position: absolute;
    width: 33%;
    height: auto;
    padding-bottom: 0%;
    top: 13.5%;
    left: 53%;
    z-index: 5;

    background-color: #0665e200;
}

.events_2 .chara{
    position: absolute;
    width: 40%;
    height: auto;
    padding-bottom: 0%;
    top: 16.5%;
    left: 0%;
    z-index: 65;

    background-color: #0665e200;
}

/* 浮動角色裝飾：以 .frame_out 為定位基準，置於右中下方，上下浮動 */
.events_2 .frame_out .frame_chara{
    position: absolute;
    width: 33%;
    height: auto;            /* 維持比例 */
    right: -17%;              /* 偏右（略超出框右側）*/
    top: 33%;               /* 中下位置 */
    z-index: 64;            /* 在登入按鈕(65)之下、框背景之上 */
    pointer-events: none;    /* 純裝飾，不擋點擊 */
    animation: charaFloat 3s ease-in-out infinite;
}
@keyframes charaFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6%); }
}
/* 手機隱藏浮動角色裝飾 */
@media (max-width: 767px) {
    .events_2 .frame_out .frame_chara{
        display: none;
    }
}

.events_2  .log_befor .lv2_word_2_1,
.events_2  .log_after .lv2_word_2_2
 {
    position: absolute;
    width: 90%;
    height: auto;
    padding-bottom: 40%;
    top: 20%;
    background-color: #44338300;
    right: 6%;
    z-index: 2;
}

.events_2  .log_befor .lv2_word_2_1 p ,
.events_2  .log_after .lv2_word_2_2 p
{
    font-family: 'Noto Sans TC', sans-serif;
    font-size: 0.9vw;
    line-height: 153%;
    margin-block-start: 0em;
    margin-block-end: 0em;
    color: #000000;
    font-weight: 500;
    margin-top: 0.5%;
    text-align: center;

    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.events_2  .log_befor .button_2_1,
.events_2  .log_after .button_2_2
 {
    position: absolute;
    width: 60%;
    height: auto;
    top: 75%;
    right: 20%;
    z-index: 65;
}

.events_2  .log_befor .button_2_1 img {
    transform: scale(1);
    transition: 0.3s;
}

.events_2  .log_befor .button_2_1 img:hover {
    transform: scale(1.1);
    transition: 0.3s;
}




.events_2  .main_center .frame_out .log_after {


    /* background-color: #ffc40069; */
}



.events_2  .log_after .button_2_2 img {
    transform: scale(1);
    transition: 0.3s;
}

.events_2  .log_after .button_2_2 img:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.events_2 .main_center .days{
    /* 以 % 定位與大小 */
    position: absolute;
    top: 64%;
    left: 10%;
    width: 60vw;
    height: auto;
    z-index: 2;

    /* 半透明背景（方便檢視範圍，透明度可改 0~1，或整行拿掉） */
    background-color: rgba(0, 0, 0, 0);

    /* grid：左側 day1~6 為「3 欄 × 2 列」，第 4 欄放 day7 跨兩列、垂直置中 */
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.3fr;  /* 第 4 欄(day7)略寬 */
    grid-template-rows: auto auto;
    column-gap: 2%;
    row-gap: 4%;
    align-items: center;     /* 每格垂直置中 */
    justify-items: center;   /* 每格水平置中 */
}

/* day1~6：3 欄 × 2 列（左側） */
.events_2 .main_center .days .day1{ grid-column: 1; grid-row: 1; }
.events_2 .main_center .days .day2{ grid-column: 2; grid-row: 1; }
.events_2 .main_center .days .day3{ grid-column: 3; grid-row: 1; }
.events_2 .main_center .days .day4{ grid-column: 1; grid-row: 2; }
.events_2 .main_center .days .day5{ grid-column: 2; grid-row: 2; }
.events_2 .main_center .days .day6{ grid-column: 3; grid-row: 2; }

/* day7：第 4 欄、跨兩列、上下置中（獨立排右側） */
.events_2 .main_center .days .day7{
    grid-column: 4;
    grid-row: 1 / span 2;
    align-self: center;
}

.events_2 .main_center .days .day1,
.events_2 .main_center .days .day2,
.events_2 .main_center .days .day3,
.events_2 .main_center .days .day4,
.events_2 .main_center .days .day5,
.events_2 .main_center .days .day6{
    position: static;
    width: 80%;
    height: auto;
}
.events_2 .main_center .days .day7{
    position: static;
    width: 80%;
    height: auto;
}

/* 按鈕圖片以原比例顯示（覆蓋全域 img{height:100%}） */
.events_2 .main_center .days img{
    width: 100%;
    height: auto;
    display: block;
}
.events_2 .notic_btn{
    position: absolute;
    width: 23%;
    height: auto;
    top: 89%;
    left: 38.5%;
    z-index: 2;   
}









@media (max-width:767px) {

    .events_2 {
        position: relative;
        width: 100%;
        height: auto;
        padding-bottom: 500%;
        margin-top: -26%;
        background: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event2/event2_bg_m_1.webp) center top no-repeat;
        background-size: 100%;
        background-color: #44338300;
    }

    .events_2 .down_cover{
        bottom: -1.4%;
    }

    .events_2 .big_title{
        width: 130%;
        left: -14%;
        top: calc(12vw + 7%);   /* 再下移 3% → 6%（%以 main_center 高計，與其他三者同量）*/
    }
    
    /*登入區*/
    .events_2  .main_center .frame_out {
        position: absolute;
        width: 86vw;
        height: auto;
        padding-bottom: 210%;
        top: 18.5%;   /* 12.5% +20% -14% 向上修正 */
        left: -9.5%;
        z-index: 63;

        background-image: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event2/out_frame_mo_1.webp);
        background-repeat: no-repeat;
        background-size: 100%;
    }

    .events_2  .main_center .frame_out .log_befor,
    .events_2  .main_center .frame_out .log_after {
        width: 86%;
        padding-bottom: 62%;
        top: 5%;
        left: 7%;
    }

    /* 手機版登入標題（height 不設，沿用基礎規則的 position:absolute、由 img 比例撐高）*/
    .events_2  .main_center .frame_out .log_title{
        width: 80%;
        right: 10%;
        top: 122%;
    }
    .events_2  .log_befor .lv2_word_2_1 p ,
    .events_2  .log_after .lv2_word_2_2 p{
        font-size: 3vw;
    }

    .events_2  .log_befor .button_2_1,
    .events_2  .log_after .button_2_2
    {
        position: absolute;
        width: 60%;
        height: auto;
        top: 195%;
        right: 20%;
        z-index: 65;
    }
    .events_2 .gift_box{
        width: 50%;
        top: 12%;
        left: 25%;
        /* 手機進場調快：縮短延遲與動畫時間（!important 蓋過 WOW 寫入的行內 data-wow-delay）*/
        animation-delay: 0.2s !important;
        animation-duration: 0.5s !important;
    }
    .events_2 .chara{
        width: 100%;
        top: 50%;
        left: -41%;
    }
    .events_2 .big_title2{
        position: absolute;
        width: 85vw;
        height: auto;
        padding-bottom: 0%;
        top: 47%;   /* 45% +20% -17% 向上修正 */
        left: -9%;

        z-index: 5;
    }
    .events_2  .log_befor .lv2_word_2_1,
    .events_2  .log_after .lv2_word_2_2{
      top: 135%;
    }

    .events_2 .big_title2 .lv2_word_2_1 p{
        font-size: 3vw;
    }

    /*紅包區：手機改 2 欄 grid（day1~6 → 3 列、每列兩天；day7 跨兩欄獨佔第 4 列、整行置中）*/
    .events_2 .main_center .days{
        top: 55%;                          /* 52% +20% -17% 向上修正（紅包區起始，可微調）*/
        left: 0;
        width: 100%;                       /* 撐滿 main_center，2 欄才夠寬 */
        grid-template-columns: repeat(2, 1fr);  /* 覆蓋 PC 的 3+1 欄 → 2 欄 */
        grid-template-rows: auto;          /* 自動列數（共 4 列）*/
        column-gap: 2%;
        row-gap: 3%;
    }
    /* day1~6：取消 PC 的欄列指定，改自動排入 2 欄 → 3 列 */
    .events_2 .main_center .days .day1,
    .events_2 .main_center .days .day2,
    .events_2 .main_center .days .day3,
    .events_2 .main_center .days .day4,
    .events_2 .main_center .days .day5,
    .events_2 .main_center .days .day6{
        position: static;
        grid-column: auto;
        grid-row: auto;
        width: 80%;
        padding-bottom: 0;
    }
    /* day7：跟 PC 一樣獨佔一行（跨兩欄）、整行置中 */
    .events_2 .main_center .days .day7{
        position: static;
        grid-column: 1 / span 2;
        grid-row: auto;
        justify-self: center;
        align-self: center;
        width: 40%;
    }
    .events_2 .notic_btn{
        position: absolute;
        width: 58%;
        height: auto;
        top: 94%;
        left: 21.5%;
        z-index: 2;   
}
}












/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
            135達成_區域
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/




/*中央*/


/*main_center_box flex設定*/




/*大標*/



/*文字*/











/*--SNS--*/























/* 達成狀態 */









/*1人*/


.pp_1_box:hover{
    transform: translateX(-12px);
    cursor: pointer;
}

/*3人*/

.pp_3_box:hover{
    transform: translateX(-12px);
    cursor: pointer;
}

/*5人*/

.pp_5_box:hover{
    transform: translateX(-12px);
    cursor: pointer;
}


/*10人*/

.pp_10_box:hover{
    transform: translateY(-12px);
    cursor: pointer;
}

/*雙按鈕*/

























/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
            商店圖_區域
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/



/*中央*/






/*商店圖*/


























/*雙按鈕*/







/*--------影片區--------*/






/*播放按鈕*/





/*影片背景*/














@media (max-width:767px) {

    



    /*--中央區--*/
    

    




    /*商店圖*/
    

    /*箭頭*/
    

    

    



    /*雙按鈕*/
    
    
    

    

    /* 影片 */
    



    

}















/*▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
            footer
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀*/
footer {
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

footer p,
footer ul {
    opacity: 1;
    padding-left: 0.2rem;
}

.footer .company>img {
    width: initial;
    height: auto;
}

footer img {
    width: initial;
    height: initial;
    margin: 8px 3px;
}

@media (max-width:1100px) {
    footer {
        /* padding-bottom: 16%; */
    }
}


@media (max-width:767px) {
    footer {
        padding-bottom: 25%;
    }
}



/* === 書本翻頁 events_3 (移植自 event3, .event3 -> .events_3, 路徑 https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event3) === */
.events_3 {
    position: relative;
    width: 100%;
    margin-top: -15%;
    height: auto;
    padding-top: 0%;
    padding-bottom: 65%;
    background-color: rgba(13, 182, 154, 0);

    background: url("https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event3/event3_bg.webp");
    background-size: 100% ;
    background-position:top center;
    background-repeat: no-repeat;
    z-index: 6;
    /* opacity: .5; */
}
.events_3 .main_center {
    position: absolute;
    width: 72vw;
    height: auto;
    padding-bottom: 0%;
    top: 18%;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 60;
    background-color: rgba(226, 21, 21, 0);
    /*透明背景*/
}
.events_3 .big_title {
    position: absolute;
    width: 68%;
    height: auto;
    padding-bottom: 0%;
    top: 1.5%;
    left: 16%;

    z-index: 5;
}
.events_3 .title_line {
    position: absolute;
    width: 42%;
    height: auto;
    padding-bottom: 0%;
    top: 18%;
    left: 29%;
    z-index: 5;
}
.events_3 .gn_btn_box {
    position: absolute;
    width: 50%;
    height: auto;
    padding-bottom: 9%;
    top: 83%;
    left: 25%;

    z-index: 5;

    background-color: rgba(122, 139, 46, 0);
    /*透明背景*/
}
.events_3 .gn_btn_box .gift_history_btn {
    position: absolute;
    width: 42%;
    height: auto;
    padding-bottom: 0%;
    top: 20%;
    left: 3%;
    cursor: pointer;

    z-index: 5;
}
.events_3 .gn_btn_box .notic_btn {
    position: absolute;
    width: 42%;
    height: auto;
    padding-bottom: 0%;
    top: 20%;
    left: 57%;
    cursor: pointer;

    z-index: 5;
}
.events_3 .gn_btn_box .gift_history_btn  img,
.events_3 .gn_btn_box .notic_btn  img {
    transform: scale(1);
    transition: 0.3s;
}
.events_3 .gn_btn_box .gift_history_btn  img:hover,
.events_3 .gn_btn_box .notic_btn  img:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

@media (max-width:767px) {
.events_3 {
        width: 100%;
        height: auto;
        padding-bottom: 205%;
        background-color: rgba(13, 182, 154, 0);
        background: url(https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event3/event3_bg_mo.webp);
        background-size: 100% ;
        background-position:top center;
        background-repeat: no-repeat;
    }
.events_3 .main_center {
        width: 90vw;
    }
.events_3 .big_title {
        width: 130%;        /* 對齊 events_2 大標的手機尺寸 */
        top: 10%;           /* top 維持區塊自身定位 */
        left: -14%;         /* 對齊 events_2 大標的水平位置 */
    }
.events_3 .title_line {
        width: 80%;
        top: 17%;
        left: 10%;
    }
.events_3 .gn_btn_box {
        width: 103%;
        padding-bottom: 19%;
        top: 90%;
        left: -0.5%;
    }

}
.events_3 .gn_btn_box {
    position: absolute;
    width: 50%;
    height: auto;
    padding-bottom: 9%;
    top: 79%;
    left: 25%;
    z-index: 100; /* 修改為高於書本區塊的值 */
    background-color: rgba(122, 139, 46, 0);
}
.events_3 .gn_btn_box .gift_history_btn {
    position: absolute;
    width: 42%;
    height: auto;
    padding-bottom: 0%;
    top: 20%;
    left: 3%;
    cursor: pointer;
    z-index: 5;
}
.events_3 .gn_btn_box .notic_btn {
    position: absolute;
    width: 42%;
    height: auto;
    padding-bottom: 0%;
    top: 20%;
    left: 57%;
    cursor: pointer;
    z-index: 5;
}
.events_3 .gn_btn_box .gift_history_btn img,
.events_3 .gn_btn_box .notic_btn img {
    transform: scale(1);
    transition: 0.3s;
}
.events_3 .gn_btn_box .gift_history_btn img:hover,
.events_3 .gn_btn_box .notic_btn img:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

@media (max-width:991.98px) {
.events_3 {
    padding-bottom: 69%;
    background-size: cover;
  }
.events_3 .big_title {
    top: 1.5%;
  }
.events_3 .gn_btn_box {
    width: 64%;
    top: 81%;
    left: 50%;                       /* 左右置中 */
    transform: translateX(-50%);
  }

}

@media (max-width:768px) {
.events_3 .gn_btn_box {
        width: 100%;
        padding-bottom: 19%;
        top: 90%;
    }
.events_3 {
        width: 100%;
        height: auto;
        margin-top: -35vw;
        /* padding-bottom: 205%; */
        padding-bottom: 405%;
        background-color: rgba(13, 182, 154, 0);
        background: url("https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/event3/event3_bg_m.webp");
        background-size: 100% ;
        background-position:top center;
        background-repeat: no-repeat;
    }
.events_3 .main_center {
        width: 90vw;
        top: 0;
    }
.events_3 .big_title {
        width: 104%;
        top: 12%;
        left: -1%;
    
    }
.events_3 .title_line {
        width: 80%;
        top: 17%;
        left: 10%;
    }
.events_3 .gn_btn_box {
        width: 103%;
        padding-bottom: 0;               /* 改用內容撐高（上下排列）*/
        height: auto;
        top: 88%;
        left: 50%;                       /* 左右置中 */
        transform: translateX(-50%);
        display: flex;                   /* 兩顆按鈕上下排列 */
        flex-direction: column;
        align-items: center;             /* 水平置中 */
        row-gap: 3vw;                    /* 上下間距 */
    }
    /* 手機版：兩顆按鈕改上下排列、寬度 60%、置中（取消 PC 的絕對定位）*/
.events_3 .gn_btn_box .gift_history_btn,
.events_3 .gn_btn_box .notic_btn {
        position: static;
        width: 60%;
        top: auto;
        left: auto;
    }

}

@media (max-width:575.98px) {
.events_3 {
    margin-top: -45vw;
  }

}


/* === 彈窗 popup 樣式（移植自 夢幻新誅仙 main.css，配合 pop.css；路徑 https://images1.iwplay.com.tw/image/mhxzx/events/20260615/image/） === */
.popup img {
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}
.popup .modal-dialog {
  margin: 0 auto;
  max-width: initial;
  width: 32.084%;
}
#reward_list .modal-dialog,
#inquire .modal-dialog,
#notice .modal-dialog {
  width: 46.3025%;
}
.popup .modal-dialog.modal-dialog-centered {
  min-height: 100%;
}
.popup .modal-dialog .modal-content {
  border-radius: initial; 
  border: none;
  height: 17vw;
  background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260615/image/popup/bg_1.webp") no-repeat center top;
  background-size: 100%;
}
#reward_list .modal-dialog .modal-content,
#inquire .modal-dialog .modal-content,
#notice .modal-dialog .modal-content {
  height: 31.3025vw;
  background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260615/image/popup/bg_1.webp") no-repeat center top;
  background-size: 100%;
}
.popup .modal-dialog .modal-content .modal-header {
  border: initial;
  margin: 22% auto 0;
  padding: 0;
  width: 100%;
}
#invite .modal-dialog .modal-content .modal-header {
  margin: 20% auto 0;
}
#reward_list .modal-dialog .modal-content .modal-header {
  margin: 8% auto 0;
}
#inquire .modal-dialog .modal-content .modal-header {
  margin: 10.5% auto 2%;
}
#notice .modal-dialog .modal-content .modal-header {
  margin: 10.5% auto 1.5%;
}
.popup .modal-dialog .modal-content .modal-header .title {
  width: 44.156%;
}
#reward_list .modal-dialog .modal-content .modal-header .title,
#inquire .modal-dialog .modal-content .modal-header .title,
#notice .modal-dialog .modal-content .modal-header .title {
  position: absolute;            /* 以 .modal-content 為基準（content 已 position:relative）*/
  top: 22%;                       /* 距頂：% of modal-content 高度(查詢框 31.3vw) */
  left: 13%;
  transform: translateX(-50%);  /* 水平置中 */
  width: 7%;                    /* % of modal-content 寬度 */
  z-index: 5;                    /* 蓋在 body 之上 */
}
.popup .modal-dialog .modal-content .modal-body {
  position: absolute;          /* 以 .modal-content 為基準定位（content 已是 position:relative） */
  top: 12%;                    /* 距頂：% of modal-content 高度(17vw) */
  left: 19%;                 /* 距左：% of modal-content 寬度 */
  width: 74%;                  /* 固定寬：% of modal-content 寬度（左18.5 + 寬75 + 右6.5 = 100）*/
  height: 60%;                 /* 固定高：% of modal-content 高度(17vw) */
  overflow-y: auto;            /* 內容超過固定高就內捲 */

  /* 內容上下左右置中 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;     
  align-items: center;         /* 水平置中 */
  text-align: center;          /* 多行文字本身置中 */

  background-color: rgba(72, 255, 0, 0);  /* 除錯標記，定位完拿掉 */
}
/* #inquire(獎勵查詢) / #notice(注意事項)：內容貼齊上方、左右仍置中（不要垂直置中） */
#inquire .modal-dialog .modal-content .modal-body,
#notice .modal-dialog .modal-content .modal-body {
  justify-content: flex-start;
}
/* 注意事項清單：文字靠左、由左至右（覆蓋 modal-body 的 text-align:center 與 flex 置中）*/
#notice .modal-dialog .modal-content .modal-body .notice_list {
  width: 100%;
  text-align: left;
}
#eventAlertModal .modal-dialog .modal-content .modal-body {
  margin-top: 1.5%;
  width: 70%;
  height: 76%;
  left: 21.5%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
#eventAlertModal .modal-dialog .modal-content .modal-body,
#eventAlertModal .modal-dialog .modal-content .modal-body p {
  font-size: 1.4vw;
  font-weight: 700;
}
#reward .modal-dialog .modal-content .modal-body {
  margin-top: 3%;
  font-size: .93vw;
  font-weight: 600;
  letter-spacing: .03vw;
}
#reward_list .modal-dialog .modal-content .modal-body {
  width: 80%;
}
#reward .modal-dialog .modal-content .modal-body .info {
  width: 94%;
}
.popup .modal-dialog .modal-content .modal-body::-webkit-scrollbar {
  height: 4px;
  overflow: visible;
  width: 4px;
}
.popup .modal-dialog .modal-content .modal-body::-webkit-scrollbar-thumb {
  background-color: #8a8784;
  background-clip: padding-box;
  border: solid transparent;
  border-width: 0 0 0 0px;
  min-height: 28px;
  padding: 100px 0 0;
  box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0), inset 0 -1px 0 rgba(0, 0, 0, 0);
  cursor: pointer;
}
.popup .modal-dialog .modal-content .modal-body::-webkit-scrollbar-thumb:hover {
  background-color: #8a8784;
  box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0);
}
.popup .modal-dialog .modal-content .modal-body::-webkit-scrollbar-track {
  background: none;
}
.popup .modal-dialog .modal-content .modal-body ol {
  padding-left: 1vw;
  font-size: .83vw;
  font-weight: 400;
  line-height: 1.6vw;
}
.popup .modal-dialog .modal-content .modal-body p {
  margin-bottom: 0;
  font-family: 'Noto Sans TC', Microsoft JhengHei, Arial, Helvetica, sans-serif;
  font-size: .94vw;
  font-weight: 400;
}
.popup .modal-dialog .modal-content .modal-body p span {
  font-family: 'Noto Sans TC', Microsoft JhengHei, Arial, Helvetica, sans-serif;
}
#invite .modal-dialog .modal-content .modal-body p {
  font-size: 1.25vw;
  font-weight: 700; 
}
#invite .modal-dialog .modal-content .modal-body p span {
  margin: 0 .8%;
  color: #cb4734;
  font-size: 1.56vw;
  font-weight: 800;
}
#reward .modal-dialog .modal-content .modal-body p span {
  display: block;
  margin-top: 1%;
  color: #cb402f;
  font-size: 1.14vw;
  font-weight: 900;
}
#invite .modal-dialog .modal-content .modal-body .copy_link {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  margin-top: 2.5%;
  width: 47.29%;
}
#invite .modal-dialog .modal-content .modal-body .copy_link .btn {
  padding: 3.5%;
  width: 33.3%;
}
#reward_list .modal-dialog .modal-content .modal-body .reward_item {
  position: relative;
  display: inline-block;
  margin-top: 3.5%;
  width: 33.3%;
  vertical-align: top;
}
#reward_list .modal-dialog .modal-content .modal-body .reward_item p {
  padding-bottom: 0;
  font-size: .78vw;
  letter-spacing: 0;
  line-height: 1.1vw;
}
#reward_list .modal-dialog .modal-content .modal-body .reward_item span {
  display: block;
  margin-bottom: .5%;
  color: #3a5998;
  font-size: .93vw;
  font-weight: 500;
}
#reward_list .modal-dialog .modal-content .modal-body .reward_item span.tt {
  padding: 1% 3% 0;
  color: initial;
  font-size: .83vw;
  font-weight: 400;
}
#reward_list .modal-dialog .modal-content .modal-body .reward_item p.support {
  margin-top: 0;
  color: #cb402f;
  font-weight: 700;
}
#reward_list .modal-dialog .modal-content .modal-body .reward_item .icon {
  position: relative;
  display: inline-block;
  margin: 1% auto;
  padding: 1.3%;
  width: 33.3%;
}
.popup .modal-dialog .modal-content .modal-body table {
  width: 100%;
  font-size: .83vw;
  text-align: center;
}
.popup .modal-dialog .modal-content .modal-body table thead {
  border-bottom: 1px solid #e6634b;
  color: #ffffff;
  background: #e6634b;
}
.popup .modal-dialog .modal-content .modal-body table thead tr th,
.popup .modal-dialog .modal-content .modal-body table tbody tr td {
  padding: .3vw;
  width: 22.5%;
}
.popup .modal-dialog .modal-content .modal-body table tbody tr td:last-child {
  width: 10%;
}
.popup .modal-dialog .modal-content .modal-body table thead tr th {
  font-weight: 600;
  letter-spacing: .05vw;
}
.popup .modal-dialog .modal-content .modal-body table tbody tr {
  border-bottom: 1px solid #e6634b;
}
.popup .modal-dialog .modal-content .modal-body table tbody tr:nth-child(odd) {
  background: #ffb95d57;
}
.popup .modal-dialog .modal-content .modal-body table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .6);
}
.popup .modal-dialog .modal-content .modal-body table tbody tr td p {
  font-size: .83vw;
  font-weight: 400;
}
.popup .modal-dialog .modal-content .modal-body table tbody tr td .btn_copy {
  padding: .1vw;
  color: #ffffff;
  font-size: .83vw;
  font-weight: 300;
  background: #e6634b;
  cursor: pointer;
  transition: .3s;
}
.popup .modal-dialog .modal-content .modal-body table tbody tr td .btn_copy:hover {
  background: #2b4b8b;
}
.popup .modal-dialog .modal-content .popup_close {
  position: absolute;
  display: block;
  padding-top: 8.654%;
  width: 8.654%;
  top: 3%;
  right: 1.5%;
  background: url("https://images3.iwplay.com.tw/image/mhxzx/events/20260615/image/event2/event2_close_btn.webp") no-repeat center top;
  background-size: 100%;
  cursor: pointer;
  transition: .5s;
}
#reward_list .modal-dialog .modal-content .popup_close,
#inquire .modal-dialog .modal-content .popup_close,
#notice .modal-dialog .modal-content .popup_close {
  padding-top: 7.971%;
  width: 7.971%;
  top: 3%;
  right: 2.5%;
}
.popup .modal-dialog .modal-content .popup_close:hover {
  transform: rotate(180deg);
}

@media (max-width: 991.98px) {
.popup .modal-dialog .modal-content .modal-body p,
.popup .modal-dialog .modal-content .modal-body ol,
.popup .modal-dialog .modal-content .modal-body table,
.popup .modal-dialog .modal-content .modal-body table tbody tr td p,
#reward_list .modal-dialog .modal-content .modal-body .reward_item span,
.popup .modal-dialog .modal-content .modal-body table tbody tr td .btn_copy {
    font-size: 2vw;
  }
.popup .modal-dialog {
    width: 50%;
  }
#reward_list .modal-dialog,
#inquire .modal-dialog,
#notice .modal-dialog {
    width: 80%;
  }
.popup .modal-dialog .modal-content {
    height: 34vw;
  }
#reward_list .modal-dialog .modal-content,
#inquire .modal-dialog .modal-content,
#notice .modal-dialog .modal-content {
    height: 55vw;
  }
/* 維持與 PC 相同框比例(寬×0.53)，文字與背景圖才會像 PC 一樣對齊：50vw×0.53≈26.5vw */
#eventAlertModal .modal-dialog .modal-content {
    height: 26.5vw;
  }
#eventAlertModal .modal-dialog .modal-content .modal-body,
#eventAlertModal .modal-dialog .modal-content .modal-body p {
    font-size: 2.2vw;
  }
#invite .modal-dialog .modal-content .modal-body p {
    font-size: 2vw;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item p {
    line-height: 2vw;
  }
#invite .modal-dialog .modal-content .modal-body p span {
    font-size: 2.5vw;
  }
.popup .modal-dialog .modal-content .modal-body ol {
    padding-left: 2vw;
    line-height: 2.5vw;
    font-size: 1.6vw;
  }
#reward .modal-dialog .modal-content .modal-body p span {
    font-size: 1.8vw;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item span.tt {
    font-size: 1.4vw;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item p.support {
    font-size: 1.5vw;
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr td p {
    /* font-size: 1.6vw; */
  }

}

@media (max-width: 575.98px) {
.popup .modal-dialog .modal-content .modal-body p,
.popup .modal-dialog .modal-content .modal-body ol,
.popup .modal-dialog .modal-content .modal-body table,
.popup .modal-dialog .modal-content .modal-body table tbody tr td p,
#reward_list .modal-dialog .modal-content .modal-body .reward_item span {
    font-size: 3.4vw;
  }

}

@media (max-width: 768.98px) {
.popup .modal-dialog {
    width: 90%;
  }
#reward_list .modal-dialog,
#inquire .modal-dialog,
#notice .modal-dialog {
    width: 94%;
    margin: 0 4% 0 2%;   /* 左邊維持 2%（同原置中），多拿掉的 2% 加到右邊 → 右 4% */
  }
.popup .modal-dialog .modal-content {
    height: 60vw;
  }
#reward_list .modal-dialog .modal-content,
#inquire .modal-dialog .modal-content,
#notice .modal-dialog .modal-content {
    height: 140.2vw;   /* 配合 bg_1_m.webp 945×1409：寬94vw × (1409/945≈1.491) → 圖完整顯示不裁切 */
    background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260615/image/popup/bg_1_m.webp") no-repeat center top;
    background-size: 100%;
  }
/* 手機版內容區（% of modal-content）*/
.popup .modal-dialog .modal-content .modal-body {
    top: 19%;
    left: 10%;
    width: 86%;
    height: 75%;
  }
/* 維持與 PC 相同框比例(寬×0.53)：90vw×0.53≈47.7vw */
#eventAlertModal .modal-dialog .modal-content {
    height: 47.7vw;
  }
#eventAlertModal .modal-dialog .modal-content .modal-body,
#eventAlertModal .modal-dialog .modal-content .modal-body p {
    font-size: 4.5vw;
  }
.popup .modal-dialog .modal-content .modal-header {
    margin: 20% auto 0;
  }
#invite .modal-dialog .modal-content .modal-header {
    margin: 14.5% auto 0;
  }
#reward_list .modal-dialog .modal-content .modal-header {
    margin: 12% auto 0;
  }
#inquire .modal-dialog .modal-content .modal-header {
    margin: 14% auto 2%;
  }
#notice .modal-dialog .modal-content .modal-header {
    margin: 14% auto 2.5%;
  }
.popup .modal-dialog .modal-content .modal-header .title {
    width: 55.56%;
  }
#reward_list .modal-dialog .modal-content .modal-header .title,
#inquire .modal-dialog .modal-content .modal-header .title,
#notice .modal-dialog .modal-content .modal-header .title {
    width: 50%;
  }
#invite .modal-dialog .modal-content .modal-body p {
    font-size: 4.2vw;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item p {
    line-height: 4vw;
  }
#invite .modal-dialog .modal-content .modal-body p span {
    font-size: 5.2vw;
  }
#reward .modal-dialog .modal-content .modal-body p span {
    font-size: 4vw;
  }
#notice .modal-dialog .modal-content .modal-body {
    margin-bottom: 7%;
  }
#inquire .modal-dialog .modal-content .modal-body {
    top: 19%;
    left: 10%;
    width: 86%;
    height: 75%;
  }
.popup .modal-dialog .modal-content .modal-body ol {
    padding-left: 4vw;
    line-height: 4vw;
    font-size: 2vw;
  }
.popup .modal-dialog .modal-content .modal-body table {
    font-size: 2.5vw;
  }
#invite .modal-dialog .modal-content .modal-body .copy_link {
    width: 66%;
  }
.popup .modal-dialog .modal-content .modal-body table thead {
    border: none;
  }
.popup .modal-dialog .modal-content .modal-body table thead tr th {
    display: none;
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, .05);
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0);
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr td,
.popup .modal-dialog .modal-content .modal-body table tbody tr td:last-child {
    display: block;
    padding: 1% 2%;
    width: 100%;
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr td:before {
    content: attr(data-th) " ";
    display: block;
    width: 30%;
    text-align: left;
    float: left;
    font-weight: bold;
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr td .btn_copy {
    display: inline-block;
    margin-bottom: 1.5%;
    padding: 1% 10%;
    font-size: 2.4vw;
  }
.popup .modal-dialog .modal-content .popup_close {
    padding-top: 11.1%;
    width: 11.1%;
  }
#reward_list .modal-dialog .modal-content .popup_close,
#inquire .modal-dialog .modal-content .popup_close,
#notice .modal-dialog .modal-content .popup_close {
    padding-top: 10%;
    width: 10%;
    top: 7%;
    right: 11%;
  }
#reward_list .modal-dialog .modal-content .modal-body {
    margin-bottom: 18%;
    width: 70%;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item {
    margin-top: 5%;
    width: 50%;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item .icon {
    width: 50%;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item span.tt {
    font-size: 3.4vw;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item p.support {
    margin-top: 4%;
    font-size: 3.2vw;
  }

}

@media (max-width: 575.98px) {
.popup .modal-dialog {
    width: 90%;
  }
#reward_list .modal-dialog,
#inquire .modal-dialog,
#notice .modal-dialog {
    width: 94%;
    margin: 0 4% 0 2%;   /* 左邊維持 2%（同原置中），多拿掉的 2% 加到右邊 → 右 4% */
  }
.popup .modal-dialog .modal-content {
    height: 60vw;
  }
#reward_list .modal-dialog .modal-content,
#inquire .modal-dialog .modal-content,
#notice .modal-dialog .modal-content {
    height: 140.2vw;   /* 配合 bg_1_m.webp 945×1409：寬94vw × (1409/945≈1.491) → 圖完整顯示不裁切 */
    background: url("https://images4.iwplay.com.tw/image/mhxzx/events/20260615/image/popup/bg_1_m.webp") no-repeat center top;
    background-size: 100%;
  }
/* 手機版內容區（% of modal-content）*/
.popup .modal-dialog .modal-content .modal-body {
    top: 19%;
    left: 10%;
    width: 86%;
    height: 75%;
  }
/* 維持與 PC 相同框比例(寬×0.53)：90vw×0.53≈47.7vw */
#eventAlertModal .modal-dialog .modal-content {
    height: 47.7vw;
  }
#eventAlertModal .modal-dialog .modal-content .modal-body,
#eventAlertModal .modal-dialog .modal-content .modal-body p {
    font-size: 4.5vw;
    margin-top: -2%;
  }
.popup .modal-dialog .modal-content .modal-header {
    margin: 20% auto 0;
  }
#invite .modal-dialog .modal-content .modal-header {
    margin: 14.5% auto 0;
  }
#reward_list .modal-dialog .modal-content .modal-header {
    margin: 12% auto 0;
  }
#inquire .modal-dialog .modal-content .modal-header {
    margin: 14% auto 2%;
  }
#notice .modal-dialog .modal-content .modal-header {
    margin: 14% auto 2.5%;
  }
.popup .modal-dialog .modal-content .modal-header .title {
    width: 55.56%;
  }
#reward_list .modal-dialog .modal-content .modal-header .title,
#inquire .modal-dialog .modal-content .modal-header .title,
#notice .modal-dialog .modal-content .modal-header .title {
    width: 46%;
    top: 10%;
    left: 53%;
  }
#invite .modal-dialog .modal-content .modal-body p {
    font-size: 4.2vw;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item p {
    line-height: 4vw;
  }
#invite .modal-dialog .modal-content .modal-body p span {
    font-size: 5.2vw;
  }
#reward .modal-dialog .modal-content .modal-body p span {
    font-size: 4vw;
  }
#notice .modal-dialog .modal-content .modal-body {
    margin-bottom: 7%;
  }
#inquire .modal-dialog .modal-content .modal-body {
    top: 19%;
    left: 10%;
    width: 86%;
    height: 75%;
  }
.popup .modal-dialog .modal-content .modal-body ol {
    padding-left: 4vw;
    line-height: 6vw;
    font-size: 2.5vw;
  }
#invite .modal-dialog .modal-content .modal-body .copy_link {
    width: 66%;
  }
.popup .modal-dialog .modal-content .modal-body table thead {
    border: none;
  }
.popup .modal-dialog .modal-content .modal-body table thead tr th {
    display: none;
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, .0);
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0);
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr td,
.popup .modal-dialog .modal-content .modal-body table tbody tr td:last-child {
    display: block;
    padding: 1% 2%;
    width: 100%;
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr td:before {
    content: attr(data-th) " ";
    display: block;
    width: 30%;
    text-align: left;
    float: left;
    font-weight: bold;
  }
.popup .modal-dialog .modal-content .modal-body table tbody tr td .btn_copy {
    display: inline-block;
    margin-bottom: 1.5%;
    padding: 1% 10%;
    font-size: 3.4vw;
  }
.popup .modal-dialog .modal-content .popup_close {
    padding-top: 11.1%;
    width: 11.1%;
  }
#reward_list .modal-dialog .modal-content .popup_close,
#inquire .modal-dialog .modal-content .popup_close,
#notice .modal-dialog .modal-content .popup_close {
    padding-top: 10%;
    width: 10%;
    top: 5.5%;
    right: 5%;
  }
#reward_list .modal-dialog .modal-content .modal-body {
    margin-bottom: 18%;
    width: 70%;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item {
    margin-top: 5%;
    width: 50%;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item .icon {
    width: 50%;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item span.tt {
    font-size: 3.4vw;
  }
#reward_list .modal-dialog .modal-content .modal-body .reward_item p.support {
    margin-top: 4%;
    font-size: 3.2vw;
  }

}
[data-bs-target="#invite"] {
  pointer-events: none;
  filter: grayscale(100);
}
