.d-block{
    display: block;
}

.flex-center{
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox; 
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.flex-start{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
}

.flex-end{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex; 
    justify-content: flex-end;

}

.flex-column{
    -webkit-box-orient: vertical;
    flex-direction: column;
        -webkit-flex-direction: column; 
            -ms-flex-direction: column; 
                -moz-flex-direction: column; 
                    -o-flex-direction: column; 

}

.flex-row {
    -webkit-box-orient: vertical; 
    flex-direction: row;
        -webkit-flex-direction: row; 
            -ms-flex-direction: row; 
                -moz-flex-direction: row; 
                    -o-flex-direction: row; 
}


/* ----- FONTS ----- */
.fs-14{
    font-size: 0.87rem;
    font-weight: 400;
}

.fs-18{
    font-size: 1.125rem;
    font-weight: 600;
}

.fs-24{
    font-size: 24px;
    font-weight: 600;
}

.fs-28{
    font-size: 1.75rem;
    font-weight: 600;
}

.center_txt{
    text-align: center;
    margin: 0 auto;
}


/* ----- SLIDEBOX ----- */


.swiper {
    width: 100%;
    min-height:200px;
    margin-bottom: 0.87rem;
    filter: drop-shadow(0px 3px 4px rgb(150 150 150 / 16%));
}

.swiper-pagination{
    width: fit-content !important; 
    position: absolute;
    display: flex;
    justify-content: center;
    margin-top: 35px;
    top: inherit !important;
    background-color: rgb(0 0 0 / 25%);
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 4px;
    border-radius: 20px;
}

.swiper-pagination-bullet-active{
    background:var(--light)
}

.swiper-slide{
    min-height:200px;
    height:100%;
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
}

.swiper img{
    width: auto;
    height:100%;
    display: block;
    object-fit: cover;
    transition:all .3s
}

.swiper img:hover{
    transform:scale(1.02)
}

.swiper img.mobile{
    display:none
}

@media screen and (max-width:1200px){
    #banner{
        display:none
    }

    .index #banner{
        display:block
    }

    .swiper{
        width: 96dvw;
        min-height: inherit;
        border-radius: 6px;
        margin-bottom: 0;
        filter: inherit;
    }

    .swiper-slide{
        height:auto;
        min-height:inherit;
    }

    .swiper img{
        width:100%;
        height:auto
    }
}

@media screen and (max-width:767px){
    .swiper.pc{
        display:none;
    }

    .swiper.mobile{
        display:block
    }
    
}

.content_box{
    display: flex;
    flex-wrap: wrap;
}

.content{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.box-1440{
    width: clamp(1160px, 90dvw, 1440px);
    margin: 0 auto;
}

@media screen and (max-width:1200px){
    .box-1440{
        width:100%
    }
}


/* ----- GPTOP ----- */

.goTop{
    width: 55px;
    position: fixed;
    right: 10px;
    bottom: 80px;
    display: none;
    opacity: 1;
    cursor: pointer;
    background-color: rgb(255 255 255 / 70%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 90px;
    border:1px solid #E94755;
    transition:all .2s
}

.goTop::before{
    content:'';
    background-image: url("../images/icon/goTop-h.svg");
    display:block;
    width: 53px;
    height: 53px;
    position:absolute;
    z-index:1;
    border:1px solid #E94755;
    border-radius: 90px;
    left: -1px;
    top: -1px;
    background-color:rgb(202 42 38 / 70%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity:0;
    transition:all .2s
}

.goTop:hover::before{
    opacity:1;
    
}

.goTop:hover{
    transform:translateY(-3px);
    background-color: rgb(255 255 255 / 0%);
}

@media screen and (max-width:1200px){
    .goTop{
        right:6px
    }
}


.btn01{
    padding: 7px 15px;
    background-color: #646464;
    color: #fff;
    cursor: pointer;
}

.btn01:hover{
    background-color: #373737;
}


/* ----- lightbox ----- */

.lightBox_bac{
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgb(26 21 21 / 90%);
    top: 0;
    z-index: 1111111;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.lightBox{
    width: 500px;
    max-height: 80vh;
    height: 600px;
    background-color: #fff;
    position: relative
}

.closeBtn01{
    width: 30px;
    height: 30px;
    text-align: center;
    position:absolute;
    top: -35px;
    right:0;
    color: rgb(26 21 21 / 90%);
    background-color: rgb(255 255 255 / 100%);
    line-height: 30px;
    border-radius: 90px;
    cursor:pointer
}

.light_content{
    padding:15px 20px
}


/* ----- TAB ----- */
#tab-box{
    width: 100%;
}

.tab-btn{
    width: 100%;
    display:flex;
    margin-bottom: 1.125rem;
    z-index: 1;
    transition: all .3s;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

@media screen and (max-width:1200px){

    #tab-box{
        padding: 0;
    }
    
    .tab-btn{
        font-size: 14px;
        border-bottom: 1px dotted #E2E2E2;
        padding: 6px 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .index .tab-btn{
        margin-bottom:0
    }

    .tab-btn::-webkit-scrollbar {
      display: none;
    }
}

.tab-btn.fixed{
    background-color: rgb(255 255 255 / 78%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding:10px;
    filter: drop-shadow(0px 15px 10px rgb(187 187 187 / 28%));
    border-radius: 6px;
    border:1px solid #ffffff;
    left: 0;
    position: sticky;
    top: 165px;
}

@media screen and (max-width:1200px){
    .tab-btn.fixed{
        width:100dvw;
        top: 176px;
        left: 0;
        padding: 8px 10px;
        filter: none;
    }
}

.tab-btn li{
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--dark);
    transition:all .2s;
    margin-right: 24px;
    cursor: pointer;
}

@media screen and (max-width:1420px){
    .tab-btn li{
        margin-right:10px;
    }
}

@media screen and (max-width:1200px){
    .tab-btn li{
        margin-right: 10px;
    }
}

.tab-btn a{
    width:100%;
    height: 100%;
    color: var(--dark);
    display:flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    transition:all .2s
}

.tab-btn li.active,
.tab-btn li:hover{
    background-color: var(--mainRed);
}

.tab-btn.fixed li{
    margin-right: 12px;
}

.tab-btn li.active a,
.tab-btn li:hover a{
    color: var(--light);
}

.tab-txt {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    /* position: absolute; */
    left: 0;
    width: 100%;
}

.tab-txt.show {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.tab-btn .icon img{
    width:24px;
    margin-right: 4px;
}

.tab-btn .icon::after{
    content:"";
    width: 24px;
    height: 24px;
    position: absolute;
    margin: 0 auto;
    top: 0; 
    left: 0;
    background-size: contain;
    opacity: 0;
    transition:all .3s
}

.tab-btn li:hover .icon::after,
.tab-btn li.active .icon::after{
    opacity:1
}

.home::after,
.home:hover.icon::after{
    background-image: url("../images/icon/home-h.svg");
    z-index: 1;
}

.gift::after,
.gift:hover.icon::after{
    background-image: url("../images/icon/gift-h.svg");
    z-index: 1;
}

.bonus::after,
.bonus:hover.icon::after{
    background-image: url("../images/icon/bonus-h.svg");
    z-index: 1;
}

.diamond::after,
.diamond:hover.icon::after{
    background-image: url("../images/icon/diamond-h.svg");
    z-index: 1;
}

.cardgift::after,
.cardgift:hover.icon::after{
    background-image: url("../images/icon/cardgift-h.svg");
    z-index: 1;
}

.gift-3C::after,
.gift-3C:hover.icon::after{
    background-image: url("../images/icon/3C-h.svg");
    z-index: 1;
}


/* ----- BODY ----- */

.left-area{
    width: 25%;
    /* position: static; */
}

.right-area{
    width: 75%;
    padding-left: 0.87rem;
}

@media screen and (max-width:1200px){
    .right-area{
        width: 100dvw;
        padding: 80px 0 0 0;
    }

    .left-area,
    .left-area.sticky{
        width:100%;
        top: 100px;
        /* height: calc( 100dvh - 100px ); */
        position: fixed;
        z-index: 10;
        position: sticky;
    }
}

.right-area .content_box,
.right-area .product-box{
    padding:1.25rem 2.25rem;
    background-color: var(--light);
    border-radius: 6px;
    filter: drop-shadow(0px 3px 4px rgb(150 150 150 / 16%));
    padding-bottom: 2rem;
}

.marquee-box{
    background-color: var(--body);
    padding: 6px 0;
}

.marquee{
    background-color: var(--light); 
}

.marquee-area{
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #B7BCC7;
    background-color: var(--light);
    border-radius: 20px;
    margin: 0 auto;
}

.marquee-area .icon{
    width: 30px;
    margin: 0 4px 0 2px;
}

.marquee {
    width: calc( 100% - 48px );
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}
.marquee .m-slide {
    width: auto;
    display: inline-block;
    padding: 0 1rem;
    color:#757575 ;
}

.marquee span{
    color: var(--marqueeRed);
}

.marquee, .marquee .m-slide {
    font-size: 14px;
    -webkit-text-size-adjust: none;
}

.wallet-inf{
    width: 100%;
    min-height: 200px;
    border-radius: 6px;
    background: linear-gradient(to bottom, rgb(254,246,248) 0%,rgb(242,158,163) 100%);
    position: relative;
    padding: 18px 0.87rem;
    margin-bottom: 0.87rem;
    filter: drop-shadow(0px 3px 4px rgb(150 150 150 / 16%));
    overflow: hidden;
}



@media screen and (max-width:1200px){
    .wallet-inf-box.lightbox{
        height: calc(100dvh - 65px);
    }
    
    .wallet-inf-box.mobile-inf{
        position:fixed;
        bottom: 65px;
        margin: 0;
        align-items: flex-end;
    }

    .pc .wallet-inf{
        display:none
    }
    
    .wallet-inf{
        margin-bottom:0;
        border-radius:0;
        position: relative;
        padding-bottom: 35px;
        opacity:0
    }

     .wallet-inf.active{
        -webkit-animation: swing-in-bottom-fwd 0.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
	        animation: swing-in-bottom-fwd 0.5s cubic-bezier(0.175, 0.885, 0.320, 1.275) both;
    }

}

@-webkit-keyframes swing-in-bottom-fwd {
  0% {
    -webkit-transform: rotateX(150deg);
            transform: rotateX(150deg);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
    opacity: 1;
  }
}
@keyframes swing-in-bottom-fwd {
  0% {
    -webkit-transform: rotateX(150deg);
            transform: rotateX(150deg);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
    opacity: 1;
  }
}

.lightbox .wallet-inf-box{
    width:100%;
    display: flex;
}

#lightbox05.lightbox{
    height: calc( 100dvh - 65px );
    align-items: flex-end;
    top: 0;
    z-index: 0;
}

.wallet-title{
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0;
    z-index: -1;
}

@media screen and (max-width:1200px){
    .wallet-title{
        top: 0;
    }
}

.member-icon{
    width: 70px;
    margin-left: 8px;
}

.wallet-inf ul{
    display: flex;
    margin-bottom: 6px;
    text-align: left;
}

.wallet-inf ul li:nth-child(2){
    padding-top: 8px;
    padding-left: 10px;
}

.member-inf{
    font-size: 14px;
    color: var(--mainRed);
}

.wallet-state{
    justify-content:center
}

.my-state,
.my-state-before{
    width: 100%;
    height: 52px;
    color: var(--mainRed);
    background-color: var(--light);
    border: 1px solid var(--light);
    border-radius: 90px;
    box-shadow: inset 0px 3px 6px #F3E7E8;
    margin-bottom: 10px;
    transition: all .2s;
    justify-content: space-between;
    padding: 0 20px;
    line-height: 51px;
}

.my-state span{
    margin:0 8px
}

@media screen and (max-width:1200px){
    .my-state,
    .my-state-before{
        min-width: 280px;
        width:auto;
    }

    .wallet-inf ul{
        justify-content:center;
        align-items: center;
    }
}

.my-state-before{
    justify-content:center
}

a.my-state-before:hover{
    background-color: var(--dark);
    color: var(--light);
    transform:translateY(2px) scale(0.96);
}

.wallet-state .fs-14{
    color:var(--darkGray);
}

.wallet-state >.fs-14{
    width:100%
}

.wallet-state a.fs-14{
    text-decoration: underline;
    transition: all .3s;
}

.wallet-state a.fs-14:hover{
    color: var(--dark);
}

.wallet-state .wallet-icon{
    width:35px ;
}

.member-wrap{
    padding:8px;
    background-color: var(--light);
    border-radius: 6px;
    filter: drop-shadow(0px 3px 4px rgb(150 150 150 / 16%));
}

.wrap-btn{
    display: flex;
    flex-wrap: wrap;
}

.wrap-btn > div{
    width:100%
}

.scroll-area{
    width: 100%;
    display:flex;
    flex-wrap:wrap
}

@media screen and (max-width:1200px){
     .wrap-btn > div{
        width:100%;
        height: 65px;
        background-color: var(--light);
        justify-content: center;
        flex-wrap: nowrap;
        filter: none;
     }
    
    .wrap-btn > div:nth-child(1){
        order:2;
        bottom: 0;
        z-index: 14;
        position: fixed;
        left: 0;
    }

    .wrap-btn > div:nth-child(2){
        height: 80px;
        order:1;
        position: fixed;
        z-index: 13;
        top: 100px;
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        flex-direction: column;
    }

    .wrap-btn > div:nth-child(2)::-webkit-scrollbar {
          display: none;
    }

    .member-wrap{
        background-color:inherit;
        padding:inherit;
        filter: none;
    }
}



@media (max-width: 767px) {

    .scroll-area{
        width: 100dvw;
        flex: 0 0 80%;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        flex-wrap: nowrap;
    }
    
    .scrollbar {
        /* flex: 0 0 20%; */
        position: relative;
        background: #E2E2E2;
        width: 30px;
        height: 3px;
        display: none;
        margin: 6px auto 7px auto;
        border-radius: 10px;
    }
    
    .thumb {
        position: absolute;
        top: -2px;
        height: 7px;
        background: var(--mainRed);
        border-radius: 10px;
        cursor: pointer;
        display: none;
        border:2px solid var(--light)
    }
    
    .scrollbar {
        display: block;
    }

    .scroll-area{
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .scroll-area::-webkit-scrollbar {
        display: none;
    }
}

.wrap-btn p{
    width: 100%;
    line-height:0.85rem;
}

.wrap-btn #lightbox05 p{
    width:auto
}

.wrap-btn img{
    width: 60px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    transform: perspective(800px) rotateY(0deg) scale(.9) rotateX(0deg);
    opacity: 1;
    transition: all.3s;
}

.wrap-btn .icon{
    width: 33.333%;
    color:var(--darkGray);
    font-size: 0.87rem;
    text-align: center;
    transition: all.3s;
    cursor: pointer;
    margin: 0.85rem 0;
}

#lightbox05 .member-icon{
    width:90px;
    transform: inherit;
    margin-bottom: 0;
}

.wrap-btn .member-icon,
.wrap-btn .service{
    display:none;
    z-index: 1;
}

.wrap-btn .member-icon{
    transform: translateY(-20px);
    filter: drop-shadow(0px 1px 2px rgb(152 151 151 / 14%));
}

.wrap-btn .d-flex > .member-icon::before{
    content:'';
    width: 75px;
    height: 75px;
    background-color:#ffffff;
    display:block;
    position:absolute;
    left:0;
    right:0;
    top: -10px;
    margin: 0 auto;
    z-index:-1;
    border-radius:90px
}

.fixed .wrap-btn .icon{
    margin: 0 0 12px 0;
}

.wrap-btn .icon:hover,
.wrap-btn .icon.active{
    color: var(--orange);
}

.wrap-btn .icon::after{
    content:"";
    width: 60px;
    height: 60px;
    position: absolute;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    background-size: contain;
    opacity: 0;
    transition: all.3s;
    background-repeat:no-repeat
}

@media screen and (max-width:1200px){
    .fixed .wrap-btn .icon,
    .wrap-btn .icon{
        margin: inherit;
    }

    .fixed .wrap-btn img,
    .fixed .wrap-btn .icon::after,
    .wrap-btn img{
        width:40px;
        height:40px;
        margin-bottom: 2px;
    }

    #lightbox05 .member-icon img{
        width:90px;
        height:auto;
        opacity: 1;
    }

    .wrap-btn > div:nth-child(2) .icon {
        width: 85px;
        min-width: calc( 100% / 7 );
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex: none;
        scroll-snap-align: center;
    }

    .wrap-btn > div:nth-child(1) .icon{
        width: 25%;
    }

    .wrap-btn .d-flex .member-icon,
    .wrap-btn .service{
        display: block;
    }

    .wallet-title img{
        width: 100%;
        height: auto;
        transform: none;
    }

}

@media screen and (max-width:610px){
    .wrap-btn > div:nth-child(2) .icon {
        min-width:inherit
    }
}

@media screen and (max-width:340px){
    .wrap-btn .d-flex > .member-icon::before{
        width: 70px;
        height: 70px;
        top: -6px;
        left: -2px;
    }
}

.wrap-btn .icon:hover.icon::after,
.wrap-btn .icon.active::after{
    opacity: 1;
    transform:  perspective(800px) rotateY(-20deg) translateY(-5px) rotateX(20deg) rotateZ(10deg) scale(1);
}

.wrap-btn .icon:hover img,
.wrap-btn .icon.active img{
    opacity:0;
}

.ebank.icon::after,
.ebank:hover.icon::after{
    background-image: url("../images/icon/ebank-h.webp");
}

.wallet.icon::after,
.wallet:hover.icon::after{
    background-image: url("../images/icon/wallet-h.webp");
}

.signup.icon::after,
.signup:hover.icon::after{
    background-image: url("../images/icon/signup-h.webp");
}

.code.icon::after,
.code:hover.icon::after{
    background-image: url("../images/icon/code-h.webp");
}

.rule.icon::after,
.rule:hover.icon::after{
    background-image: url("../images/icon/rule-h.webp");
}

.question.icon::after,
.question:hover.icon::after{
    background-image: url("../images/icon/question-h.webp");
}

.hover-remark .question.icon::after,
.hover-remark .question:hover.icon::after{
    background-image: url("../images/icon/explain-h.webp");
}

.vippage.icon::after,
.vippage:hover.icon::after{
    background-image: url("../images/icon/vippage-h.webp");
}

.monopoly.icon:after,
.monopoly:hover.icon::after{
    background-image: url("../images/icon/monopoly-h.webp");
}

.sportpage.icon:after,
.sportpage:hover.icon::after{
    background-image: url("../images/icon/sportpage-h.webp");
}

.duogold.icon:after,
.duogold:hover.icon::after{
    background-image: url("../images/icon/duogold-h.webp");
}

.member-wrap .d-flex > .member-icon:after{
    background-image: url("../images/icon/member-m-h.webp");
}

.wrap-btn .icon:hover img{
    opacity: 0;
}

.left-banner{
    margin-top:1rem
}

.left-banner a{
    max-width: 320px;
    display:flex;
    margin: 0 auto 10px auto;
    border-radius: 6px;
    overflow: hidden;
}

.sticky{
    position: sticky;
    top: 154px;
    /* height: fit-content; */
    align-self: self-start;
}

.left-banner a img{
    transition:all .3s
}

.left-banner a:hover img{
    filter: brightness(60%);
}

.breadcrumb-wrap{
    width:100%;
    color:var(--dark);
    margin-bottom: 1rem;
}

@media screen and (max-width:1200px){
    .product-box .breadcrumb-wrap{
        padding-left:16px
    }
    
    .wrap-btn .icon::after,
    .wrap-btn .icon:hover::after{
        width:40px;
        height: 40px;
    }

    .wrap-btn .icon:hover img{
        opacity:0
    }

    .wrap-btn #lightbox05 .icon::after,
    .wrap-btn #lightbox05 .icon:hover::after{
        display:none
    }

    .wrap-btn #lightbox05 .icon:hover img{
        opacity:1;
        visibility:inherit
    }

    .wrap-btn .scroll-area .icon::after,
    .wrap-btn .scroll-area .icon:hover.icon::after{
         transform:  perspective(800px) rotateY(-20deg) translateY(3px) rotateX(20deg) rotateZ(10deg) scale(1);
    }

    .breadcrumb-wrap.index{
        display:none
    }

    .member-wrap .d-flex > .member-icon:after{
        background-image: url("../images/icon/member-m-h.webp");
    }

    .wrap-btn .member-icon:hover.member-icon::after,
    .wrap-btn .member-icon.active::after{
        opacity: 1;
        transform:  perspective(800px) rotateY(0deg) translateY(0px) rotateX(0deg) rotateZ(0deg) scale(1);
    }
}

.breadcrumb-wrap.index{
    visibility:hidden
}

.breadcrumb-wrap a{
    color:var(--dark); 
}

.breadcrumb-wrap a::after{
    content:"›";
    margin:0 5px 0 8px 
}

.breadcrumb-wrap a:hover{
    color:var(--mainRed)
}

.form-box{
    width:100%
}

.exchange-box .form-box{
    order:5
}

.form-title,
.record{
    display:grid;
    border: 1px solid var(--formGray);
    border-radius: 6px;
    padding: 0 0.75rem;
    margin-bottom: 8px;
}

.record-box .form-title,
.record-box .record{
    grid-template-columns:1.2fr 1.5fr 3fr 1fr 2fr;
}

.exchange-top{
    width: 100%;
    display:flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: -60px;
}

.exchange-box .form-title,
.exchange-box .record{
    grid-template-columns: 1.2fr 1.4fr 2.8fr 1.3fr 1.3fr 1.3fr 2.2fr;
}

.marquee-content .form-title,
.marquee-content .record{
    grid-template-columns: 1.5fr 10.5fr;
}

@media screen and (max-width:1420px){
    .exchange-top{
        margin:auto;
        justify-content: flex-start;
    }
}

@media screen and (max-width:1300px){
    .exchange-box .form-title,
    .exchange-box .record{
        grid-template-columns: 1.4fr 1.4fr 2.8fr 1.3fr 1.3fr 1.3fr 2.2fr;
    }
}

@media screen and (max-width:1200px){
    .record-box .form-title, 
    .record-box .record,
    .exchange-box .form-title,
    .exchange-box .record,
    .marquee-content .form-title, 
    .marquee-content .record{
        grid-template-columns: 1fr;
    }

    .exchange-box .hover-remark{
        margin-top:inherit
    }

    .exchange-box .exchange-top{
        order:3;
        margin-bottom: -20px;
    }

}

.form-title{
    background-color: var(--dark);
    color: var(--light);
    padding: 0 0.75rem;
    line-height: 40px;
}

.form-box .form-title{
    top: 165px;
    z-index: 1;
    position: sticky;
}

@media screen and (max-width:1200px){
    .form-title{
        display:none
    }
}

.record{
    background-color: var(--light);
    color: var(--dark);
    padding: 7px 0.75rem;
    display: none;
    transition: max-height 0.5s ease, opacity 0.5s ease;
}

.record.show{
    display:grid;
    animation: fadeSlideIn 0.5s forwards;
}

@keyframes fadeSlideIn {
    0% {
        pacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.record li{
    word-break: break-word; 
    overflow-wrap: break-word;
    min-width: 0; 
    line-height: 26px;
}

.record .state{
    display:flex;
    align-items: center;
    font-size: 12px;
    color:var(--light)
}

.record .state img{
    width:1rem;
    margin-right: 4px;
}

.record .state div{
    display:flex;
    align-items: center;
    border-radius: 6px;
    line-height: 26px;
    padding: 0 6px;
}

.record-list{
    min-height: 400px;
}

.record-box .record .item{
    padding-right: 30px;
}

.processed{
    background-color:var(--processed);
}

.done{
    background-color:var(--done)
}

.cancel{
    background-color: var(--cancel);
}

.record .remark{
    border-left:1px dotted var(--formdotted);
    padding-left: 0.75rem;
    font-size: 14px;
    line-height: 14px;
    color: var(--remark);
}

@media screen and (max-width:1200px){
    .record .remark{
        border-left:0px dotted var(--formdotted);
        border-top:1px dotted var(--formdotted);
        line-height: 18px;
        margin-top: 10px;
        padding: 8px 0 8px 0;
        align-items: flex-start;
        font-size: 1rem;
    }
}

@media screen and (max-width:480px){
   .record .item{
        min-height:36px;
        line-height:inherit;
        margin: 5px 0 4px 0;
    }
}

.record a{color:var(--recordLink);
    text-decoration: underline
}

.record li::before{
    display: none;
    color:var(--dark);
}

@media screen and (max-width:1200px){
    .record li::before{
        min-width: 96px;
        display:block;
        color: var(--mobileForm);
        font-size: 14px;
        font-weight: normal;
    }

    .record li > p{
        width:calc( 100% - 96px )
    }

}

.record li.date::before{
    content:'日期';
}

.record-box .record li.date::before{
    content:'申请日期';
}

.record li.trade::before{
    content:'交易类别';
}

.record li.item::before{
    content:'交易项目';
}

.record-box .record li.item::before{
    content:'兑换项目';
}

.record li.deposit::before{
    content:'存入额度';
}

.record li.extract::before{
    content:'提出额度';
}

.record li.balance::before{
    content:'e金币余额';
}

.record li.remark::before{
    content:'备注';
}

.record li.number::before{
    content:'订单编号 ';
}

.record li.state::before{
    content:'状态 ';
}

.record li.maq-txt::before{
    content:'内容';
}

.select-wrap{
    margin-bottom:10px;
}

.exchange-box .select-wrap{
    justify-content: space-between;
}

.select-box{
    width: 260px;
    height: 40px;
    border-radius: 6px;
    transition: all .3s;
    background-color: var(--select);
    cursor: pointer;
    position: relative;
    border: 0px solid var(--select);
    margin: 0px 10px 0px 0;
    font-size: 18px;
    line-height: 38px;
    justify-content: center;
}

.time-limit{
    width: calc( 100% - 490px );
    text-align: right;
    align-content: flex-end;
    margin-bottom: 8px;
}

.time-limit span{
    color:var(--mainRed)
}

@media screen and (max-width:1420px){
    .exchange-box .select-wrap{
        margin-bottom:0;
        justify-content: flex-start;
    }

    .time-limit{
        height: auto;
        text-align: left;
        margin: 0px 10px;
        line-height: 40px;
    }
} 

@media screen and (max-width:1200px){
    .select-box{
        order:2;
        margin: 5px 0 16px 0;
    }

    .exchange-box .select-box{
        margin: 5px 0 8px 0;
    }

    .select-wrap{
        width:100%;
        justify-content: flex-start;
        margin: auto;
    }

    .exchange-box .select-wrap{
        width: 100%;
        order:4
    }

    .select-wrap.fixed{
        position: sticky;
        top: 157px;
        z-index: 1;
    }
    
    .select-wrap div{
        width:100%;
    }

    .select-wrap p {
        font-size:12px
    }

    .time-limit{
        width: 100%;
        margin: 0 0 8px 0;
        order: 4;
        line-height: inherit;
    }
}

.select-toggle{
    width:100%;
    text-align: center;
}

.select-box p{
    margin-bottom: 8px;
}

.select-toggle::after {
    content: '\25BC';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
}

.select-menu {
    display: none;
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    background: var(--light);
    margin-top: 1px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-radius: 6px;
    overflow: hidden;
    top: 40px;
}

.select-item {
    cursor: pointer;
    text-align: center;
}

.select-item:hover,
.select-item.selected {
    background-color: var(--mainRed);
    color: var(--light);
}

.exchange-box .trade .icon{
    width:20px;
    margin-right:4px
}

.exchange-box .trade,
.exchange-box .deposit,
.exchange-box .extract,
.exchange-box .balance{
    display:flex;
    justify-content:center;
    align-items: baseline;
}

.exchange-box .trade > div{
    align-items: center;
}

@media screen and (max-width:1200px){
    .record li,
    .exchange-box .trade,
    .exchange-box .deposit,
    .exchange-box .extract,
    .exchange-box .balance{
        display:flex;
        align-items:center;
        justify-content: flex-start;
        line-height: 36px;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .record li.item,
    .exchange-box .trade,
    .exchange-box .deposit,
    .exchange-box .extract{
        font-size:1.14rem;
    }

    .record li.maq-txt{
        line-height: 24px;
        margin-bottom: 6px;
    }

    .record-box .record .item{
        padding-right:0
    }
}

.exchange-box .record-list .deposit{
    color:var(--deposit);
}

.exchange-box .record-list .extract{
    color:var(--extract);
}

.exchange-box .record-list .balance{
    font-size:1.125rem;
    font-weight: 600;
    color: var(--mainRed);
    line-height: 24px;
}

@media screen and (max-width:1200px){
    .exchange-box .record-list .balance{
        font-size:1.28rem;
    }
}

.exchange-area{
    width:100%;
    position: relative;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.exchange-area::after{
    content:'';
    display:block;
    background: linear-gradient(0deg, rgba(242, 158, 163, 1) 0%, rgba(255, 255, 255, 1) 100%);
    background-size: 100%;
    width: calc( 100% - 65px );
    height: 70%;
    position: absolute;
    z-index: -1;
    border-radius: 6px;
    right: 0;
}

.exchange-area .icon{
    width: 130px;
}

@media screen and (max-width:1200px){
    .exchange-area .icon{
        width:45px
    }

    .exchange-area::after{
        display:none
    }

    .exchange-area{
        margin-bottom: 1rem;
        order: 2;
    }
}

.exchange-area form label{
    font-size:1.5rem;
    font-weight:600;
    position:relative;
    display: flex;
    justify-content: center;
}

.exchange-area form label p{
    z-index:1;
}

@media screen and (max-width:1200px){
    .exchange-area form label p{
        display:flex;
        flex-direction:column
    }

    .exchange-area form label p{
        font-size:10px;
        color: var(--mainRed);
    }

    .exchange-area form label p span{
        font-size:18px
    }
}

.exchange-area form label::after{
    content:'coupon';
    width: fit-content;
    position:absolute;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 600;
    top: 50%;
    color: rgb(255 255 255 / 20%);
    font-family: arial;
}

.exchange-area form{
    width: calc( 100% - 130px );
    padding-left:2rem;
    display: flex;
    align-items: center;
    gap: 24px;
}

@media screen and (max-width:1200px){
    .exchange-area form{
        width: calc( 100% - 45px );
        padding: 0 0 0 6px;
        gap: 2px;
    }

    .exchange-area form label::after{
        display:none
    }
}

.exchange-area form input{
    width: 200px;
    line-height: 28px;
    border-radius:6px;
    padding:10px;
}

.exchange-btn,
input[type=submit]{
    background: var(--redlinear);
    border:0px solid var(--select);
    color: var(--light);
    box-shadow: inset 0px 1px 3px color(srgb 0 0 0 / 0.16);
    cursor: pointer;
    font-size: 1.25rem;
    border-radius: 6px;
    position:relative;
    overflow: hidden;
    transition:all .2s;
}

button.coming-soon-btn{
    background: #8D8D8D;
    cursor: auto;
}

.exchange-btn span{
    position: relative;
    z-index: 1;
}

.exchange-btn::after{
    content:'';
    width: 100%;
    height: 100%;
    display:block;
    background: var(--dark);
    position:absolute;
    top:0;
    left:0;
    transition:all .2s;
    z-index:0;
    opacity:0
}

.exchange-btn:hover::after{
     opacity:1
}

button.coming-soon-btn:hover::after{
    opacity:.2
}

.exchange-area form input[type=text],
.exchange-area form input:disabled{
    width: 38%;
    background:#FBFBFB;
    border:1px solid var(--select);
}

.exchange-area form input:disabled{
    color: #d2d2d2;
}

.exchange-area .exchange-btn{
    width: 25%;
}

@media screen and (max-width:1200px){
    .exchange-area .exchange-btn{
        width:70px;
        font-size:12px;
        line-height: 36px;
    }

    .exchange-area form input[type=text]{
        width: calc( 100% - 128px );
        line-height: 36px;
        height: 36px;
        margin-left: 4px;
        font-size: 12px;
        padding: 5px;
    }
}

::placeholder { /* CSS 3 標準 */
  color: #C8C8C8;
}
::-webkit-input-placeholder { /* Chrome, Safari */
  color: #C8C8C8;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #C8C8C8;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #C8C8C8;
}

.hover-remark img{
    width:30px
}

.hover-remark{
    position:relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 4px;
}

@media screen and (max-width:1200px){
    .hover-remark{
        width:100%
    }

     .hover-remark{
        font-size:12px
    }

    .hover-remark img{
        width:20px
    }
}

.hover-remark > div{
    cursor:pointer;
}

.hover-remark p.text{
    width:230px;
    padding:10px;
    background-color:var(--hover-remark);
    position: absolute;
    z-index: 2;
    color:var(--light);
    border-radius:6px;
    top: 30px;
    opacity: 0;
    right:0;
    visibility: hidden;
    transition:all .2s;
    font-size: 0.87rem;
    text-align: left;
}

.hover-remark .icon::after{
    content:"";
    width: 30px;
    height: 30px;
    position: absolute;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    background-size: contain;
    opacity: 0;
}

.hover-remark > div:hover .d-flex p,
.hover-remark.active .d-flex p{
    color:var(--orange)
}

.hover-remark > div:hover .icon::after{
    opacity:1
}

.hover-remark > div:hover p.text{
    opacity: 1;
    visibility:visible;
}

.right-area .product-box{
    padding: 0.8rem 1.6rem 2rem 1.6rem;
}


@media screen and (max-width:1420px){
    .right-area .content_box{
        padding:16px
    }

    .hover-remark p.text{
        left:0
    }
}

@media screen and (max-width:1200px){
    .right-area .product-box{
         padding:0px;
    }
    
    .hover-remark p.text{
        left:unset
    }

    .hover-remark .icon::after{
        width:20px;
        background-repeat:no-repeat
    }
}

@media screen and (max-width:768px){
    .hover-remark > div:hover .icon::after{
        width:20px;
        background-repeat:no-repeat
    }

    .hover-remark.active .icon::after{
        opacity: 1;
        width:20px;
        background-repeat:no-repeat
    }

    .hover-remark.active p.text{
        opacity:1;
        visibility:visible
    }

    .hover-remark > div:hover p.text{
        opacity:none;
        visibility:none;
    }
    
    .right-area .content_box{
        padding:10px;
    }

    .right-area .product-box{
        padding: 0 0 10px 0;
    }
}

.product-tab{
    margin-bottom: 24px;
}

.product-list{
    justify-content:flex-start;
    gap: 5px;
    align-items: flex-start !important;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #555;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 1rem auto;
    display: none;
}

button[data-btn="more"]{
    margin: 16px auto 0 auto;
    display: flex;
    border:0px;
    background-color:inherit;
    color:#989898;
    align-items: center;
    line-height: normal;
}

.product-tab button[data-btn="more"]{
    margin:0 auto;
}

button[data-btn="more"]::after{
    content:'';
    display:block;
    width: 14px;
    height: 14px;
    background-image: url("../images/icon/more-arrow.svg");
    background-size:contain;
    margin: 0 0 0 4px;
    background-repeat: no-repeat;
    transition:all .3s
}

button[data-btn="more"]:hover::after{
    transform:translateY(1px)
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.product-item{
    display:none;
    text-align: left;
}

.product-list .product-item{
    width: calc( 25% - 4px );
    min-height: 362px;
    border-radius:6px;
    border:1px solid var(--select);
    padding:8px;
    margin-bottom: 20px;
    transition:all .3s
}

@media screen and (max-width:1200px){
    .product-list{
        padding: 16px 16px 0 16px;
    }

    button[data-btn="more"]{
        margin-bottom: 16px;
    }
}

@media screen and (max-width:768px){
    .product-list .product-item{
        min-height: fit-content;
        width:calc( 50% - 4px );
    }

    .product-list{
        justify-content:space-between;
        padding: 10px;
    }
}

@media screen and (max-width:350px){
    .product-list .product-item{
        width:100%
    }
}

.product{
    transition:all .3s;
    overflow:hidden;
    border-radius:6px;
    margin-bottom: 10px;
}

.product-inpag .product{
    display: flex;
    width: 460px;
    margin-bottom: auto;
}

@media screen and (max-width:1200px){
    .product-inpag .product{
        display: flex;
        width: 45%;
        margin-bottom: auto;
    }
}

@media screen and (max-width:768px){
    .product-inpag .product{
        width: 100%;
    }
}

.product img{
    transition:all .3s;
    border-radius: 6px;
}

.product-tab a:hover .product{
    filter: brightness(60%);
}

.product-item:hover {
    border:1px solid var(--mainRed);
}

.product-tab a:hover .product img{
    transform:scale(1.1)
}

.information{
    width:100%;
    padding: 0 0 0px 4px;
    display: flex;
    flex-direction: column;
}

.calendar-area .information{
    width:auto
}

.product-inpag .information{
    width: calc( 100% - 460px );
    padding: 0 0 0px 48px;
}

@media screen and (max-width:1420px){
    .product-inpag .information{
        padding: 0 0 0px 20px;
    }
}

@media screen and (max-width:1200px){
   .product-inpag .information{
        width:55%
    }
}

@media screen and (max-width:768px){
    .product-inpag .information{
        width:100%;
        padding: 1rem 0 0 0;
    }
}

.empty-inf{
    width:100%;
    height: 45dvh;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.empty-inf img{
    width:100px;
    margin: 0 auto;
    opacity: .5;
}

.empty-inf p{
    font-size:24px;
    color:#D4D4D4;
    font-weight: 300;
    text-align: center;
}

.product-name{
    color:var(--dark);
}

.product-inpag .product-name{
    color:var(--formdotted);
    font-weight:600;
    font-size: 24px;
}

.product-cost{
    width: 100%;
    color:var(--mainRed);
    display:flex;
    align-items: baseline;
    margin: 20px 0 32px 0px;
    line-height: 26px;
}

.vip-tag{
    font-size:18px
}

.prize{
    font-family: arial;
    font-weight:600;
    font-size:1.6rem;
    margin: 0 4px;
}

@media screen and (max-width:450px){

    .product-cost{
        margin:14px 0 26px 0
    }
    
    .product-name{
        font-size:14px
    }

    .product-cost .e-tage{
        font-size:10px
    }

    .prize,
    .empty-inf p{
        font-size: 18px;
    }

    .special{
        font-size:12px
    }
}

.tag-wrap,
.tag-wrap span{
    display:flex;
    align-items:center;
    color: var(--formGray);
    font-size:0.87rem;
    flex-wrap: wrap;
}

.tag-wrap span{
    background-color:var(--select);
    border-radius:6px;
    padding: 2px 6px;
    margin: 0 6px 4px 0;
    position: relative;
}

span.orange-tag{
    background-color:var(--orange-tag);
    color: var(--light);
}

.tag-wrap img{
    width:14px;
    margin-right: 4px;
    position: relative;
}

.with-icon::before{
    content: "";
    width: 14px;
    height: 14px;
    background-size: contain;
    margin-right:4px
}

.vip-tag::before{
    background-image: url(../images/icon/vip-white.svg);
}

.vip-tag.with-icon img{
    display:none
}

.product-inpage{
    display: grid;
    justify-content: space-between;
    grid-template-columns: 6fr 5fr;
    gap: 50px;
}

.product-inpag{
    display: flex;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media screen and (max-width:1200px){
    .product-inpag{
        padding: 0 16px;
    }
}

.information .text{
    font-size: 14px;
    color:var(--formGray);
    margin:20px 0;
    line-height: 1.5rem;
}

.product-exchange{
    width: 100%;
    display:flex;
    justify-content: space-between;
    align-items: flex-end;
}

.product-exchange .select-box{
    width: 120px;
    margin: inherit;
}

.exchange-left{
    width:calc(100% - 200px)
}

@media screen and (max-width:1200px){
    .product-exchange .select-box{
        order: 1;
    }
}

    
@media screen and (max-width:768px){
    .product-exchange{
        display:block;
    }

    .product-exchange .select-box{
        width: 100%;
        order:1;
        margin: 5px 0 16px 0;
        
    }

    .product-exchange .exchange-btn,
    .exchange-left{
        width:100%
    }
}

.product-exchange .select-item {
    line-height: normal;
}

.exchange-btn{
    width: 200px;
    font-size:1.25rem;
    line-height: 50px;
    order: 1;
    display: flex;
    justify-content: center;
    font-weight: 300;
}

@media screen and (max-width:1420px){
    .exchange-btn{
        width:50%
    }
}

.exchange-btn.prohibited{
    background: linear-gradient(270deg, rgba(106, 106, 106, 1) 0%, rgba(143, 143, 143, 1) 100%);
    color: #C2C2C2;
}

.exchange-btn.prohibited:hover{
    cursor:not-allowed 
}

.exchange-btn.prohibited:hover::after{
     opacity:0
}

.cart-item {
    width: max-content;
    display: flex;
    align-items: center;
    border: 1px solid var(--select);
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    font-size: 12px;
    cursor: pointer;
    border: 0px;
    background-color: var(--select);
    transition:all .1s;
    font-weight:900
}

.qty-input {
    width: 90px;
    text-align: center;
    border: 0px;
    line-height: 40px;
    font-size: 18px;
    padding: 0 8px;
}

.qty-btn:hover,
.qty-btn:active{
    background-color: #373737;
    color:white
}

@media screen and (max-width:768px){
    .cart-item{
        width:100%;
        margin-bottom:10px
    }

    .qty-input{
        width: calc( 100% - 80px );
    }
}


/* ----- 打卡 ----- */

.calendar-box .ui-widget{
    font-family: 'Noto Sans SC', sans-serif;
}

.calendar-area ,
.calendar-area .ui-datepicker{
    width:100%;
}

.calendar-box .ui-datepicker td.signed-in-day a::after {
    content: "";
    position:absolute;
    top:0;
    margin:0 auto;
    display: block;
    background-image: url('../images/icon/circle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}

.calendar-box .ui-widget.ui-widget-content{
    border:inherit;
    padding: inherit;
    background: linear-gradient(to bottom, rgb(254,246,248) 0%,rgb(242,158,163) 100%);
    border-radius: 6px;
    padding: 8px 2.6rem;
}

@media screen and (max-width:1200px){
    .calendar-box .ui-widget.ui-widget-content{
        padding:10px
    }
}

.calendar-box .ui-datepicker .ui-datepicker-header{
    background: none;
    border:inherit;
}

.calendar-box .ui-datepicker td a,
.calendar-box .ui-datepicker td a:visited,
.calendar-box .ui-datepicker td a:active,
.calendar-box .ui-datepicker td a:focus,
.calendar-box .ui-datepicker td a:hover {
    pointer-events: none ;
    cursor: default;
    outline: none;
    border: none;
    box-shadow: none;
    background: none;
    color: inherit;
    text-decoration: none;
    position:relative;
    text-align:center;
}

.calendar-box .ui-datepicker td span {
    cursor: default;
}

.calendar-box .ui-datepicker .ui-datepicker-prev,
.calendar-box .ui-datepicker .ui-datepicker-next,
.calendar-box .ui-datepicker select.calendar-box .ui-datepicker-month,
.calendar-box .ui-datepicker select.calendar-box .ui-datepicker-year {
    display: none;
}

.calendar-box .ui-datepicker .ui-datepicker-title > span:not(.custom-month-select),
.calendar-box .ui-datepicker .ui-datepicker-title > span:not(select) {
    display: none;
}

.calendar-box .custom-month-select {
    font-size: 1em;
    padding: 2px 5px;
    margin-left: 5px;
}

.calendar-box .ui-datepicker .ui-datepicker-title{
    margin:0
}

.calendar-box .select-box{
    margin:inherit;
    font-weight: 400;
    background-color: var(--light);
}

@media screen and (max-width:1200px){
    .calendar-box .select-box{
        width:100%
    }
}

.calendar-box .ui-state-disabled, 
.calendar-box .ui-widget-content .ui-state-disabled, 
.calendar-box .ui-widget-header .ui-state-disabled,
.calendar-box .ui-state-default, 
.calendar-box .ui-widget-content .ui-state-default, 
.calendar-box .ui-widget-header .ui-state-default, 
.calendar-box .ui-button, 
html .calendar-box .ui-button.ui-state-disabled:hover, 
html .calendar-box .ui-button.ui-state-disabled:active{
    opacity:1;
    border:0px;
    text-align:center;
    border-radius: 6px;
}

.calendar-box .ui-widget-content .ui-state-default, 
.calendar-box .ui-widget-header .ui-state-default,
.ui-datepicker-calendar tbody td a{
    background-color:var(--light);
    border-radius: 6px;
    color:var(--calendar);
    font-size:3rem;
    font-weight:600;
    line-height: 80px;
    padding: inherit;
}

.ui-datepicker-calendar thead tr th{
    padding: 0px 0 2px 0;
}

.ui-datepicker-calendar thead tr th span{
    width:100%;
    background-color:var(--light);
    display: block;
    line-height:60px;
    color:var(--mainRed);
    font-weight:400;
    font-size:1.5rem
}

.ui-datepicker-calendar thead tr th:nth-child(1) span{
    border-radius:6px 0 0 0
}

.ui-datepicker-calendar thead tr th:last-child span{
    border-radius:0 6px 0 0
}

.calendar-wrap{
    justify-content:flex-start;
}

.calendar-wrap ul{
    display:flex;
    align-items:center;
    margin-right:1.5rem;
    font-size:1.5rem
}

@media screen and (max-width:1420px){
    .calendar-wrap ul{
        width: 50%;
        margin:10px 0 0 0;
    }

    .calendar-wrap ul:nth-child(2){
        justify-content:flex-end
    }

    .calendar-wrap .wrap-information{
        width:100%;
        justify-content: space-between;
    }

    .calendar-wrap .hover-remark{
        width:100%
    }

    .calendar-area .information{
        width:100%
    }

    .calendar-wrap ul{
        width: calc( 50% - 4px );
        flex-direction: column;
        margin: inherit;
        align-items: flex-start;
    }
}

@media screen and (max-width:1200px){
    
    .calendar-wrap ul li:nth-child(1){
        font-size:1rem
    }
    
    .ui-datepicker-calendar thead tr th span{
        font-size:14px;
        line-height: 30px;
    }

    .calendar-box .ui-widget-content .ui-state-default, .calendar-box .ui-widget-header .ui-state-default, .ui-datepicker-calendar tbody td a{
        font-size:30px
    }
}

@media screen and (max-width:450px){
    .calendar-wrap ul{
        width:100%;
        margin: 2px 0;
    }
}

.calendar-wrap span{
    color:var(--mainRed);
    height: 40px;
    line-height: 35px;
    border-radius:6px;
    border:1px solid var(--lightBorder);
    display:inline-flex;
    min-width:100px;
    justify-content: flex-end;
    position: relative;
    padding-left: 24px;
    font-size: 1.75rem;
    font-weight: 600;
}

@media screen and (max-width:1420px){
    .calendar-wrap span{
        width:100%;
        padding: inherit;
        justify-content: center;
    }
}

.calendar-wrap span::after{
    content:"天";
    font-size:0.875rem;
    color:var(--lightGray);
    margin: 0 10px 0 16px;
    line-height: 38px;
    font-weight: 400;
}

.calendar-wrap span.bonus::after{
     content:"e金币";
}

.calendar-wrap{
    font-size: 1.5rem;
    font-weight: 600;
    color:var(--lightGray);
    margin-bottom: 6px;
    justify-content: space-between;
    align-items: flex-end;
}

.wrap-information img{
    width:60px;
}

.calendar-wrap .hover-remark{
    margin-bottom:8px
}

@media screen and (max-width:1440px){
    .calendar-wrap{
        width: 95%;
    }
    
    .hover-remark{
        justify-content: flex-start;
    }
}

@media screen and (max-width:1420px){
    .calendar-wrap span::after{
        position:absolute;
        right:0;
    }

    .hover-remark{
        margin: 5px 0;
    }
}

@media screen and (max-width:1200px){

    .calendar-wrap{
        width: 100%;
    }

    .wrap-information img{
        width:30px
    }

    .hover-remark{
        justify-content: flex-end;
    }
}


/* ----- lightbox ----- */

.closeBtn01{
    width: 30px;
    height: 30px;
    text-align: center;
    position:absolute;
    top: 13px;
    right: 15px;
    color: rgb(26 21 21 / 90%);
    background-color: rgb(255 255 255 / 100%);
    line-height: 30px;
    border-radius: 90px;
    cursor:pointer;
    z-index: 2;
    display:flex;
    justify-content:center;
    transition:all .3s
}

.closeBtn01:hover{
    transform:scale(0.9,0.9);
}

.closeBtn01 img{
    width: 16px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(100%) saturate(3579%) hue-rotate(346deg) brightness(93%) contrast(85%);
}

.light_content{
    height: 100%;
    position: relative;
}

body.lightbox-open,
body.active{
    height: 100dvh;
    overflow: hidden;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: rgb(0 0 0 / 75%);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 11;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.modal{
    max-width: 850px;
    height: auto;
    border-radius: 10px;
    text-align: center;
    position: relative;
    flex-wrap: wrap;
}

.lightbox-content{
    width: clamp(300px, 90dvw, 800px);
    padding: 0 4px 0 0;
    margin-left: 15px;
    border-radius: 6px;
}

.lightbox-content.rule{
    height: 80vh;
    overflow-y: auto;
}

@media screen and (max-width:1200px){
    .lightbox-content{
        margin-left: 0;
        padding: 0;
    }
}

/* lightbox - Track */
.lightbox-content::-webkit-scrollbar-track {
    background:  color(srgb 0 0 0 / 0);
    border-radius: 10px;
}

/* Handle */
.lightbox-content::-webkit-scrollbar-thumb {
    background:  color(srgb 0 0 0 / 0.1);
    border-radius: 10px;
}

/* Handle on hover */
.lightbox-content::-webkit-scrollbar-thumb:hover {
    background:  color(srgb 0 0 0 / 0.2);
    cursor: pointer;
}

.lightbox-content .content{
    padding: 2rem;
    height: fit-content;
}

.lightbox-content .content.article{
    width: 100%;
    background-color:var(--light);
    border-radius:6px;
}

.lightbox-content.rule{
    text-align:left;
    display: block;
    font-size: 16px;
    line-height: 27px;
}

.lightbox-content .article > div,
.qa-area > div{
    width: 100%;
    margin: 0 0 20px 0;
    border-bottom: 1px dotted;
    padding: 0 0 20px 0;
}

.lightbox-content .article > div:last-child,
.qa-area > div:last-child{
    border:0px;
    padding-bottom:0;
    margin-bottom:0
}

.lightbox-content .form ul{
    display:flex;
    padding: inherit;
    border: 1px solid var(--formGray);
    border-radius: 6px;
    margin-bottom: 6px;
    line-height: 35px;
    color: var(--mainRed);
}

.lightbox-content .form ul.form-title{
    color:var(--light)
}

.lightbox-content .form ul li{
    width:33.333%;
    text-align:center;
    min-height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: initial;
}

.lightbox-content .form li:nth-child(1){
    justify-content:flex-start;
    padding-left:3rem;
}

.lightbox-content .form .inf li:nth-child(2),
.lightbox-content .form .inf li:nth-child(3){
    font-size:18px;
    font-weight:600;
}

.lightbox-content .form .inf li:nth-child(2) p:last-child,
.lightbox-content .form .inf li:nth-child(3) p:last-child{
    color:var(--lightGray);
    font-size: 12px;
    margin: 0 2px;
    font-weight:400
}

.lightbox-content .form .inf li:nth-child(2) p:last-child{
    font-size: 9px;
    margin-top: 6px;
}

.lightbox-content .form > div{
    margin-bottom:20px
} 

.lightbox-content .form-title li:nth-child(1){
    padding-left:4rem
}

.lightbox-content .form .form-title li:last-child{
    color:var(--light);
    font-size:14px
}

.modal .closeBtn img{
    width: 30px;
    height: 30px;
    margin:inherit;
}

.modal .rule img{
    width:24px;
    height:24px;
    margin: 0 8px 0 0;
}

.btn-close.closeBtn {
    position: absolute;
    top: -34px;
    right: -36px;
    cursor: pointer;
    padding: 0;
    margin: 0;
    background-color: #cccccc00;
    transition:all .2s;
    z-index: 1;
}

.wallet-inf-box .btn-close.closeBtn{
    top: auto;
    bottom: 230px;
    border: 0px;
}

#lightbox04 .btn-close.closeBtn{
    top: -60px;
}

.btn-close.closeBtn:hover{
    transform:scale(0.95);
    opacity:.8
}

@media screen and (max-width:1200px){

    
    .btn-close.closeBtn{
        top: -40px;
        right: 4px;
    }

    .modal-fail .btn-close.closeBtn{
        top: -80px;
    }

    .lightbox-content .form li:nth-child(1){
        width: 45%;
        padding:0
    }

    .lightbox-content .form .form-title li:nth-child(1){
        padding-left:2rem
    }

    .lightbox-content .form li:nth-child(2){
        width:30%;
    }

    .lightbox-content .form li:nth-child(3){
        width:25%
    }
    
    .lightbox-content .form ul{
        padding:0 6px;
    }

    .modal .rule img{
        margin-right:2px
    }

    .lightbox-content.rule{
        height: 75dvh;
        line-height:24px;
        font-size:14px
    }

    .qa-area{
        font-size:14px
    }
}

@media screen and (max-width:768px){
    .lightbox-content .article > div,
    .qa-area > div{
        padding: 0 0 16px 0;
        margin: 0 0 16px 0;
    }

    .lightbox-content .content{
        padding:16px
    }
}

@media screen and (max-width:450px){
    .lightbox-content .content{
        padding: 16px 12px;
    }

    .modal .rule img{
        width:18px
    }

    lightbox-content .article > div,
    .qa-area > div{
        padding: 0 0 10px 0;
        margin: 0 0 10px 0;
    }
}

@media screen and (max-width:350px){
    .modal .rule img{
       display:none
    }

    .lightbox-content .form .form-title li:nth-child(1){
        padding:0;
        width:38%
    }

    .lightbox-content .form li:nth-child(2){
        width: 39%;
    }

    #lightbox04 .btn-close.closeBtn{
        right: 25px;
        top: -30px;
    }
}
 
.modal button {
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

.state-content{
    -webkit-animation: slide-top 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-top 0.3s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}
@keyframes slide-top {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
  }
}

ul.number-style{
    list-style-type:decimal;
    padding-left: 20px;
}

ul.dot-style{
    list-style-type: disc;
    padding-left: 20px;
}

.red-tag{
    background-color:var(--mainRed);
    color:var(--light);
    border-radius:6px;
    line-height:34px;
    padding:0 8px;
    display: inline-block;
    margin-bottom: 16px;
}

@media screen and (max-width:1200px){
    .red-tag{
        margin-bottom:8px
    }
}

.btn-success { 
    background: linear-gradient(to right, rgb(251,159,40) 0%,rgb(252,36,66) 100%);
}

.btn-fail    { 
    background: linear-gradient(270deg, rgba(106, 106, 106, 1) 0%, rgba(143, 143, 143, 1) 100%);
}

.btn-other{
    background: linear-gradient(90deg,rgba(11, 193, 150, 1) 0%, rgba(28, 232, 133, 1) 100%);
}

.btn-warn    { background: #fbc02d; color: #000; }
.btn-info    { background: #1976d2; }
.btn-gray    { background: #444; }

.demoControl,
.demoControl02{
    width: 149px;
    position: absolute;
    bottom: 10%;
    left: 10px;
    flex-direction: column;
}

.demoControl button ,
.demoControl02 button{
    width:100%;
    margin: 3px;
    padding: 16px 10px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 90px;
    background-color: #ffffff;
    border: 0px;
    opacity: .4;
    color: #9d9d9d;
}

.demoControl button:hover,
.demoControl02 button:hover{
    opacity: 1;
}

.qa-area .question{
    color:var(--mainRed);
    font-weight:600;
}

.qa-area .question::before{
     content:'Q：';
}

.answer::before{
    content:'A：';
}

.answer{
    display:flex;
    align-items: flex-start;
}

.modal-fail,
.effect-lightbox{
    background-color: var(--light);
}

#lightbox03 .lightbox-content,
#lightbox04 .lightbox-content,
.effect-lightbox .lightbox-content{
    max-width: 340px;
    margin: auto;
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    z-index: 0;
}

.modal-fail .lightbox-content,
.effect-lightbox .lightbox-content{
    min-height: 360px;
    padding: 20px;
    align-content: space-between;
}

.effect-lightbox .lightbox-content{
    justify-content:center;
}

.effect-lightbox .lightbox-content .inf{
    width:100%;
    z-index: 1;
}

#lightbox03 .modal,
#lightbox04 .modal{
    animation-name:shadow;
    animation-duration: 1s;
    animation-iteration-count:infinite;
    animation-direction:alternate;
    animation-timing-function: ease-in-out;
}

@keyframes shadow {
    0% {
      filter: drop-shadow(0px 0px 4px color(srgb 1 1 1 / 0.62));
    }

    100%{
      filter: drop-shadow(0px 0px 0px color(srgb 1 1 1 / 0));
    }
  }

#lightbox03 #lightbox-loading.modal{
     animation-name:inherit;
     max-width: 300px;
     justify-content: center;
}

#lightbox03 .inf{
    z-index:1;
    position:relative;
    top: 0;
    justify-content: space-between;
}

#lightbox03-main .inf,
.modal-fail .inf{
    display: contents;
}

.modal-success .lightbox-content::before,
.modal-success02 .lightbox-content::before,
.modal-fail .lightbox-content::before,
.effect-lightbox .lightbox-content::before{
    content:'';
    max-width: 340px;
    /* width: 95%; */
    height:100%;
    position: absolute;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    z-index:0;
    border-radius: 6px;
}

.effect-lightbox .lightbox-content::before{
    background-image: url("../images/lightbox/main-lightbox.png");
}

.modal-fail .lightbox-content::before{
    background-image: url("../images/lightbox/fail-lightbox.png");
}

.modal-success .lightbox-content::before{
    background-image: url("../images/lightbox/success.png")
}

.modal-success02 .lightbox-content::before{
    background-image: url("../images/lightbox/success02.png")
}

#lightbox03-main .txt,
.modal-fail .txt{
    width:100%;
    z-index:1
}

#lightbox03 .inf .txt p,
#lightboxLogin-main .inf .txt p{
    font-size:24px;
    width: 100%;
    font-weight: 600;
}

#lightbox03 .inf .txt p.fs-16{
    font-size:16px;
    font-weight: inherit;
}

#lightbox03 .awards{
    width:100%;
    display:flex;
    justify-content: center;
    color:var(--lightbox-link)
}

#lightbox03 .inf .remark,
.modal-fail span{
    font-size:16px;
    
}

#lightbox03 .inf .remark{
    color:var(--mainRed)
}

.btn-wrap{
    display:flex;
    width:100%;
    justify-content:space-between;
    z-index: 1;
    position: relative;
    height: auto;
    margin-top: 16px;
}

.btn-wrap.centerBtn{
    justify-content:center
}

.btn-wrap button,
.btn-wrap a{
    width: 140px;
    height: 46px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all .2s;
    border-radius:6px;
    color: #fff;
    line-height: 46px;
}

.btn-wrap button span,
.btn-wrap p{
    height: 100%;
    z-index:1;
    position:relative;
    display: inline-flex;
    align-items: center;
    line-height: 20px;
}

.effect-lightbox .state{
    width:145px;
    height:145px;
    display:flex;
    margin: 0 auto 6px auto;
    position: relative;
}

#lightboxLogin-main .state{
    width:160px;
    height:160px;
}

#lightbox03 .state img.effect,
#lightboxLogin-main .state img.effect{
    position:absolute;
    animation-delay: 1s;
}

.btn-wrap button::after,
.btn-wrap a::after{
    content:'';
    width: 100%;
    height: 100%;
    display:block;
    background: var(--dark);
    position:absolute;
    top:0;
    left:0;
    transition:all .2s;
    z-index:0;
    opacity: 0;
}

.btn-wrap button:hover::after,
.btn-wrap a:hover::after{
    opacity:1;
    
}

.btn-wrap button:hover,
.btn-wrap a:hover{
    transform:scale(0.95);
}

.final-state{
    height:444px
}

.final-state .inf{
    width: 100%;
    height: calc( 100% - 100px );
    background-color:var(--light);
    display: flex;
    flex-direction: column;
    padding: 0 10px 10px 10px;
    border-radius: 6px;
}

.final-state .lightbox-content{
    height: 100%;
    padding: 16px;
    align-content: flex-end;
}

.final-state .txt{
    height: calc( 100% - 46px );
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.final-state .state{
    width: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.modal-fail .state{
    width:200px;
    margin: -80px 0 50px 35%;
}

#lightbox03 .inf p.fail-title{
    font-size:30px;
    color:#00A571;
    margin-bottom: 5px;
}

#lightbox03-insufficient .txt span{
    line-height: 32px;
}

.crown{
    width:250px;
    position: absolute;
    top: -118px;
}

.crown img{
    position:absolute
}


#lightbox04 .state{
    width:130px;
    position:absolute;
    display: flex;
    align-items: center;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 36px;
    bottom: 0;
} 

#lightbox04 .state img{
    position:absolute;
    
}

#lightbox04 .state img.main-icon{
    filter: drop-shadow(0px 5px 5px rgb(125 18 18 / 30%));
}

#lightbox04 .lightbox-content::after{
    content:'';
    max-width:340px;
    min-height:343px;
    background-image: url("../images/lightbox/red-envelope.png");
    height: 100%;
    position: absolute;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 0;
    border-radius: 6px;
}

.exchange-lightbox .lightbox-content::before{
    content:'';
    width:85px;
    height:85px;
    background-image: url("../images/lightbox/cry.webp");
    position: absolute;
    z-index: 11;
    background-size: 100%;
    background-repeat: no-repeat;
    transform: rotate(18deg);
    right: -15px;
    top: -30px;
}

#lightbox04-main .lightbox-content::before{
    width:100px;
    height:100px;
    background-image: url("../images/lightbox/smile.webp");
}

#lightbox04 .lightbox-content{
    width: 340px;
    height: 343px;
    padding: 10px 18px 18px 18px;
   -webkit-animation: bounce-top 0.9s both;
	        animation: bounce-top 0.9s both;
}

@-webkit-keyframes bounce-top {
  0% {
    -webkit-transform: translateY(-45px);
            transform: translateY(-45px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(-24px);
            transform: translateY(-24px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  82% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  93% {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
}
@keyframes bounce-top {
  0% {
    -webkit-transform: translateY(-45px);
            transform: translateY(-45px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  40% {
    -webkit-transform: translateY(-24px);
            transform: translateY(-24px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  65% {
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  82% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  93% {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  25%,
  55%,
  75%,
  87% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
}

#lightbox04-main .lightbox-content{
    -webkit-animation: wobble-hor-bottom 0.8s both;
	        animation: wobble-hor-bottom 0.8s both;
}

@-webkit-keyframes wobble-hor-bottom {
  0%,
  100% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform: translateX(-30px) rotate(-6deg);
            transform: translateX(-30px) rotate(-6deg);
  }
  30% {
    -webkit-transform: translateX(15px) rotate(6deg);
            transform: translateX(15px) rotate(6deg);
  }
  45% {
    -webkit-transform: translateX(-15px) rotate(-3.6deg);
            transform: translateX(-15px) rotate(-3.6deg);
  }
  60% {
    -webkit-transform: translateX(9px) rotate(2.4deg);
            transform: translateX(9px) rotate(2.4deg);
  }
  75% {
    -webkit-transform: translateX(-6px) rotate(-1.2deg);
            transform: translateX(-6px) rotate(-1.2deg);
  }
}
@keyframes wobble-hor-bottom {
  0%,
  100% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform: translateX(-30px) rotate(-6deg);
            transform: translateX(-30px) rotate(-6deg);
  }
  30% {
    -webkit-transform: translateX(15px) rotate(6deg);
            transform: translateX(15px) rotate(6deg);
  }
  45% {
    -webkit-transform: translateX(-15px) rotate(-3.6deg);
            transform: translateX(-15px) rotate(-3.6deg);
  }
  60% {
    -webkit-transform: translateX(9px) rotate(2.4deg);
            transform: translateX(9px) rotate(2.4deg);
  }
  75% {
    -webkit-transform: translateX(-6px) rotate(-1.2deg);
            transform: translateX(-6px) rotate(-1.2deg);
  }
}

#lightbox04 .inf{
    width:100%;
    z-index: 1;
}

#lightbox04 .inf .txt{
    height: calc(100% - 56px);
}

#lightbox04 .btn-wrap button{
    width:276px;
    margin:0 auto;
    background:#FFF88F;
    color:var(--dark);
    box-shadow: 0 3px 6px rgb(0 0 0 / 20%);
}

#lightbox04 .btn-wrap button:hover span{
    color:#fff
}

#lightbox04 .title,
#lightbox04 .detail{
    z-index:1;
    position: relative;
}

#lightbox04 .detail{
    min-height: 80px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox04 .title{
    margin-bottom:5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox04 .title::before,
#lightbox04 .title::after{
    content:'';
    background-image: url("../images/lightbox/title-icon.png");
    width: 11px;
    height: 11px;
    display: block;
    margin: 0 10px;
}

#lightbox04 .detail .fs-30{
    font-size:30px;
    color:#D02720;
    line-height: 40px;
    font-weight: 600;
}

#lightbox04 .detail .fs-20{
    font-size: 19px;
    line-height: 30px;
}

@media screen and (max-width:450px){
    

    #lightbox03 .inf .txt p,
    #lightboxLogin-main .inf .txt p{
        font-size:20px
    }

    #lightboxLogin-main .inf .txt p{
        margin-bottom: 16px;
    }
    
     #lightbox03 .inf .txt p.fail-title{
        font-size: 24px;
    }

    #lightbox03 .inf .txt p.fs-16,
    #lightbox03 .inf .remark, 
    .modal-fail span{
        font-size:14px;
        line-height: 22px;
    }

     #lightbox03 .inf .txt p.fs-16{
         margin:5px 0 0 0
     }

    .btn-wrap button, .btn-wrap a{
        width:130px
    }

    .btn-wrap{
        font-size:14px;
        margin-top: 10px;
    }
}

@media screen and (max-width:370px){
    .final-state .inf{
        margin-bottom:20px;
    }
}

@media screen and (max-width:350px){
    .modal-fail .lightbox-content,
    .effect-lightbox .lightbox-content{
        padding:14px
    }

    .modal-fail .state{
        width: 165px;
        margin: -50px 0 50px 35%;
    }

    .modal-fail .btn-close.closeBtn{
        top: -37px;
    }

    #lightbox03 .modal{
        top: 20px;
    }

    #lightbox03 .final-state{
         top: 30px;
    }

    .final-state .inf{
        height: 290px;
        padding: 8px;
        margin-bottom: 11dvh;
    }

    .final-state .lightbox-content{
        padding: 12px;
    }

    .crown{
        width: 206px;
        top: -102px;
    }

    .btn-wrap button, .btn-wrap a{
        width:128px
    }

    .final-state .btn-close.closeBtn{
        top: -18px;
    }

    #lightbox04 .lightbox-content{
        scale:0.85
    }
    
}

.head {
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: head-bounce 1s infinite ease-in-out;
}

.head:nth-child(1) {
    background-image: url('../images/icon/loading_1.png');
    animation-delay: 0s;
}

.head:nth-child(2) {
    background-image: url('../images/icon/loading_2.png');
    animation-delay: 0.1s;
}

.head:nth-child(3) {
    background-image: url('../images/icon/loading_1.png');
    animation-delay: 0.2s;
}

.head:nth-child(4) {
    background-image: url('../images/icon/loading_2.png');
    animation-delay: 0.3s;
}

.head:nth-child(5) {
    background-image: url('../images/icon/loading_1.png');
    animation-delay: 0.4s;
}

@keyframes head-bounce {
    0%, 100% {
    transform: translateY(0);
    }
    50% {
    transform: translateY(-15px);
    }
}

.loading-text {
    width: 140px;
    height: 30px;
    background-image: url('../images/icon/loading_3.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.loading-container{
    margin-bottom: 10px;
}

@media screen and (max-width:767px){
    .head{
        width:45px;
        height:45px;
        margin:0 2px;
    } 
}

.coming-soon{
    position:relative;
    border-radius:10px;
    overflow:hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coming-soon p{
    position:absolute;
    color:white;
    z-index:1;
    font-size: 32px;
    top: 50%;
}

.coming-soon::before{
    content:'';
    width: 133px;
    height: 133px;
    background-image: url('../images/icon/coming-soon-e.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 1;
    top: calc( 50% - 133px );
    left: calc( 50% - 54px );
}

.coming-soon::after{
    content:"";
    width: 100%;
    height:100%;
    position: absolute;
    left: 0;
    background: rgb(0 0 0 / 75%);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.w-1200,
.w-768,
.w-450{
    display: none;
}

@media screen and (max-width:1200px){
    .w-995{
        display:none
    }
    
    .w-1200{
        display:block
    } 

    .coming-soon p{
        font-size:24px;
    }

    .coming-soon::before{
        width:100px;
        height:100px;
        top: calc( 50% - 105px );
        left: calc( 50% - 40px );
    }
}

@media screen and (max-width:768px){
    .w-1200{
        display:none
    }
    
    .w-768{
        display:block
    }
}

@media screen and (max-width:450px){
    .w-768{
        display:none
    }
    
    .w-450{
        display:block
    }

    .coming-soon p{
        font-size:18px;
    }
}



/* ----- 動態 ----- */

.animate__animated.animate__zoomIn {
    animation-duration: 0.5s;
}

.animate__pulse {
    animation-duration: 1s;
    animation-iteration-count: infinite;
    -webkit-animation-name: pulse;
    animation-name: pulse;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.animate__flash {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    -webkit-animation-name: flash;
    animation-name: flash;
}

@-webkit-keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

@keyframes flash {
  from,
  50%,
  to {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.bounce-in-fwd {
	-webkit-animation: bounce-in-fwd .8s both;
	        animation: bounce-in-fwd .8s both;
}

@-webkit-keyframes bounce-in-fwd {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: scale(0.84);
            transform: scale(0.84);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  89% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-fwd {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: scale(0.7);
            transform: scale(0.7);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: scale(0.84);
            transform: scale(0.84);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  89% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: scale(0.95);
            transform: scale(0.95);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}


.rubberband {
    animation: rubberband 1500ms alternate ease-out; /* 將持續時間改為2000毫秒 */
    animation-iteration-count: infinite;
}


@keyframes rubberband {
      0% {
        transform: scaleY(1);
      }
      40% {
        transform: scaleY(1.02) scaleX(0.97); /* 減小幅度 */
      }
      55% {
        transform: scaleY(0.98) scaleX(1); /* 減小幅度 */
      }
      65% {
        transform: scaleY(1.01) scaleX(0.98); /* 減小幅度 */
      }
      75% {
        transform: scaleY(0.99) scaleX(1); /* 減小幅度 */
      }
      90% {
        transform: scaleY(1.01) scaleX(0.98); /* 減小幅度 */
      }
      100% {
        transform: scaleY(1) scaleX(1);
      }
    }


.bounce-in-top {
	-webkit-animation: bounce-in-top 1.1s both;
	        animation: bounce-in-top 1.1s both;
}

@-webkit-keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}
@keyframes bounce-in-top {
  0% {
    -webkit-transform: translateY(-500px);
            transform: translateY(-500px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    -webkit-transform: translateY(-65px);
            transform: translateY(-65px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  72% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  81% {
    -webkit-transform: translateY(-28px);
            transform: translateY(-28px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  90% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
  95% {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
  }
}

