:root {
    --hideBGC:255, 156, 151;
    --mainRed: #d72333;
    --darkRed: #7d0000;
    --pink:#f9d3e3;
    --priceRed: #e60012;
    --symbolColor:#ff5362;
    --borderColor: #ba7878;
    --annBGC:#fff;
    --lightGray: #e5e5e5;
    --activeNav:rgb(120 120 120 / 90%);
    --inactiveNav:rgb(26 21 21 / 90%);
    --scrollbar:rgb(174 198 241);
    --scrollbarHover:rgb(122 152 206);
    --lightYellow:#ffffd9;
    --yellow:#fff100;
    --orange:#eb6100;
    --mainBlue:#0068b7;
    --annYellow:254,213,87;
    --middleBlue:#0993fc;
    --lightBlue:#c7e6f6;
    --lightBlueBGC:#eaf5fc;
    --middleBlueBGC:#7ecef4;
    --blueLine:#77aed9;
    --middleYellow:#fed557;
    --brown:#6a3906;
    --yearLightPurple:#e8deed;
    --yearDarkPurple:#501eb5


}

/* -----SCROLL_BAR----- */

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--scrollbar);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbarHover);
    cursor: pointer;
}



/* ----- float_menu ----- */

.floatBtnBox{
    z-index: 4;
    position: fixed;
    font-family: Noto Sans TC;
}

.floatBtnBox span{
    width:100%;
    text-align:center;
}

#float_linkArea{
    position: fixed;
    right: 15px;
    z-index: 5;
    top: 195px;
    font-size: 14px;
}

.floatBtn,
.rankBtn,
.rankLink{
    width: 74px;
    height: 74px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 6px;
    transition:all .2s;
    color: #fff;
    box-sizing: border-box;
    box-shadow: rgb(255 255 255 / 27%) 2px 0px 5px 2px inset;
    line-height: 13px;
}

.floatBtn{
    background-color: #d72333;
    border: 3px solid #facd89;
    cursor: pointer;
}

.gameLink,
.rankBtn,
.rankLink .floatBtn{
    border: 3px solid #ffffff;
    color: var(--yellow);
}

.gameLink{
    background-color:var(--brown);
}

.float_mobile{
    display:none
}

.floatArea{
    position:relative;
    display: flex;
    justify-content: flex-end;
    box-shadow: rgb(255 255 255 / 0%) 2px 0px 5px 2px inset;
}

.floatArea .icon{
    width:26px;
    height:26px;
    margin-bottom: 6px;
}

.floatBtn img,
.float_link img{
    width:auto
}

.float_link{
    width: 180px;
    position:absolute;
    top:0;
    right: 80px;
    background-color: #fff;
    border-radius: 10px;
    border: 3px solid var(--mainRed);
    padding: 0px 12px;
    opacity:0;
    visibility: hidden;
    transition: all .3s;
}

.floatArea:hover .float_link{
    opacity:1;
    visibility:visible;
    display:block
}

.floatArea:hover .floatBtn,
.rankBtn:hover{
    border: 3px solid #f3a734;
}

.rankLink a.floatBtn{
    animation:scale linear infinite;
    animation-duration:1.5s;
    position:fixed;
    right: 15px;
    top: 115px;
}

.bk_font{
    color:#000
}

.blue_font{
    color:#00a0e9
}

.float_link ul:hover .bk_font,
.float_link.app a:hover .bk_font{
    font-weight:600
}

.float_link a{
    display:flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    padding: 12px 0;
    flex-wrap: wrap;
}

.float_link.app a{
    align-items:flex-start;
    padding: 16px 0 10px 0;
}

.float_link a:last-child{
    border-bottom: 0px;
}

.float_link ul{
    width: calc( 100% - 30px );
    line-height: 22px;
}

.float_link ul span{
    font-size: 10px;
}

.rankLink a{
    background-color: var(--brown);
}

.QRCode{
    display:flex;
    width:77px;
    height: 0;
    transition: all .3s;
    opacity: 0;
    overflow:hidden
}

.float_link.app a:hover .QRCode{
    width:77px;
    height:77px;
    opacity:1
}

.QRCode img{
    width:77px;
    height:77px
}

.QR_before span{
    position:absolute;
    margin:0 auto
}

.QR_before{
    position:relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.float_mobile a{
    width: 33.333%;
    color:#fff;
    transition:all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float_mobile a img{
    width: 17px;
    margin: 0 2px;
}





/* ----- HEADER ----- */

.header{
    max-width: 1372px;
    width: 95%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position:relative;
    justify-content:space-between;
    font-family: Noto Sans TC;
}

.link_esb{
    z-index:1
}

nav{
    width: calc( 100% - 122px );
    height: 100%;
    position: relative;
    text-align: right;
    line-height: 55px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav a{
    width: auto;
    color: #fadce9;
    margin: 0 0 0 40px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.pc_nav,
.pc_nav a{
    height:100%;
    position: relative;
}

.pc_nav a img{
    width:24px;
    height: 24px;
    margin: 0 4px 0 0;
}

.pc_nav a:after{
    content:'';
    width: 0px;
    height: 4px;
    display:block;
    position:absolute;
    background-color: #fff;
    bottom: 0;
    opacity: 0;
    transition: all .3s;
}

.pc_nav a.active,
.pc_nav a:hover{
    color:#fff;
    font-weight:600
}

.pc_nav a.active:after,
.pc_nav a:hover:after{
    width:100%;
    opacity:1;
}

.nav_btn{
    width: 100%;
    display: flex;
}




/* ----- STICKYNAV -----  */

.stickyAnn{
    height: 60px;
    background-color: rgba(var(--annYellow),1);
}




/* ----- MAIN ----- */

.mobile{
    display:none
}

.d-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.annArea{
    width: 100%;
    height: 86px;
    margin:0;
    position: fixed;
    left: 0;
    right: 0;
    top: 80px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--annYellow),1);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-family: Noto Sans TC;
}

.annArea.stickyAnn{
    height: 70px;
}

.annBox{
    width: 1125px;
    height: 40px;
}

.ann{
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ann_show{
    max-width: 1125px;
    height: 40px;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.ann_txt{
    width: 100%;
    height: 100%;
    background-color: var(--annBGC);
    border-radius: 90px;
    padding: 0 50px;
    line-height:36px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
    color: #595959;
    border:1px solid #ffe4e4
}

.ann_txt span{
    color:var(--mainRed);
    margin:0 2px
}

.ann_txt span.time{
    color:#595959
}

.ann_show .arrow{
    position:absolute;
    right: 12px;
}

.annIcon{
    width:32px;
    position:absolute;
    left: 8px;
}

.ann_show .arrow img{
    filter: invert(25%) sepia(43%) saturate(6561%) hue-rotate(342deg) brightness(86%) contrast(95%);
}

.announcement .title{
    width:100%;
    line-height:54px;
    text-align:center;
    color:#fff;
    background-color:var(--mainRed)
}

.ann_list{
    max-width: 950px;
    width: 90%;
    height: calc( 100% - 50px );
    margin: 0 auto;
    display:block;
    flex-wrap:wrap;
    position: relative;
    padding-top: 45px;
}

.ann_list a{
    color:#666666;
    padding:10px 30px;
    text-align: left;
    display: block;

}

.ann_list a span{
    color: #000;
}

.ann_list a:nth-child(odd){
    background:#fdeff5
}

.ann_list .slick-dots .slick-active{
    font-weight:600
}

.swiper-pagination{
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 35px;
    top: inherit !important;
}

.lightBox .swiper-wrapper{
    height: calc( 100% - 70px );
}

.ann_list .swiper-slide{
    height:600px;
    height:100%;
    overflow-y: scroll;
}

.swiper-pagination span{
    width: 25px;
    height: 25px;
    line-height: 25px;
}

.swiper-pagination-bullet{
    color:#000;
    background: #fff;
    opacity: 1;
}

.swiper-pagination-bullet-active{
    background-color:#ff5362;
    color:#fff;
    border-radius:0px
}





/* ----- 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{
    max-width: 1125px;
    width: 95%;
    max-height: 80vh;
    height: 700px;
    background-color: #fff;
    position: relative;
    animation:scale-in-center .5s;
    border-radius: 20px;
    overflow: hidden;
}

.system .lightBox{
    width:395px;
    height:auto
}

.system .light_content img{
    width:248px;
    margin:20px 0
}

.system .title{
    width:100%;
    color:#fff;
    background-color:var(--mainRed);
    font-size:24px;
    text-align:center;
    padding:10px 0
}

.system p{
    width:100%;
    font-size:24px;
}

.system p span{
    font-weight:600
}

.systemBtn{
    width:140px;
    background-color:var(--mainRed);
    color:#fff;
    margin:10px 0 20px 0;
    border-radius:90px;
    border:0px;
    padding:2px 0;
    transition:all .3s;
    cursor: pointer;
}

.systemBtn:hover{
    transform:scale(0.95,0.95)
}

.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;
}





/* -----mobile----- */

.mobile_buger{
    width: 50px;
    height: 50px;
    position: absolute;
    right: 10px;
    top: 6px;
    cursor: pointer;
}

.mobile_buger li{
    width: 80%;
    height:2px;
    background-color:#fff;
    margin: 13px auto 0 auto;
    transition:all .5s;
    position: absolute;
    right: 0;
    left: 0;
}

.mobile_buger li:nth-child(2){
    top: 10px;
}

.mobile_buger li:nth-child(3){
    top: 20px;
}

.mobile_buger.active li:nth-child(1){
    transform:rotate(45deg);
    top:12px
}

.mobile_buger.active li:nth-child(2){
    opacity:0;
    display:none
}

.mobile_buger.active li:nth-child(3){
   transform:rotate(-45deg);
   top:12px
}

.mobile_btn{
    position:
    absolute;
    width:100%;
    height: calc( 100dvh - 60px );
    left:0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    align-items: center;
    top: 60px;
    z-index: 111111;
    background-color: var(--mainRed);
    padding: 5px 10% 30px 10%;
    overflow-y: scroll;
}

.mobile_btn::-webkit-scrollbar{
    width:0
}

.mobile_nav{
    display:none;
}

.mobile_btn img{
    width:20px;
    margin: 0 5px;
}

.mobile_btn a{
    color:#fff
}

.mobile_btn a{
    width: 100%;
    display: flex;
    justify-content: center;
    height: 50px;
    align-content: center;
    align-items: center;
    border-bottom: 1px solid #ffffff29;
}





/* ----- media query  ----- */

@media screen and (max-height:1530px) and (max-width:2900px) {
    .history_list{
        height: calc( 100% - 180px );
    }

}

@media screen and (max-width:1330px){
     nav a{
        margin: 0 0 0 25px;
    }
}

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



    .floatBtn,
    .rankBtn,
    .rankLink{
        /* width: 85px; */
        /* height: 85px; */
        margin-bottom: 5px;
        /* font-size: 16px; */
    }

    .swiper-button-next:after,
    .swiper-button-prev:after{
        font-size: 16px !important;
    }

    #float_linkArea{
        top: 222px;
        /* right: 5px; */
    }

    .swiper-button-next.achBtn:after,
    .swiper-button-prev.achBtn:after{
        font-size: 16px;
    }

    .swiper-button-next.achBtn,
    .swiper-button-prev.achBtn,
    .rankLink a.floatBtn{
        /* right: 5px; */
        top: 145px;
    }
}


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

    .ann_show{
        width:95%
    }

    header{
        height: 60px;
    }

    .pc_nav{
        display: none;
    }

    .mobile_nav{
        width: 100vw;
        height: 60px;
        position: fixed;
        right: 0;
        font-size: 17px;
        display: flex;
        top: 0;
    }

    .link_esb{
        width:87px
    }

    .annArea{
        top: 55px;
        height: 70px;
    }

    .stickyAnn{
        height: 56px;
    }

    .annArea.stickyAnn{
        height: 62px;
    }


    footer{
        height:42px;
        line-height:42px
    }

    .floatPC{
        display:none
    }

    .float_mobile{
        width: 100%;
        height: 42px;
        display:flex;
        background-color: var(--mainRed);
        font-size: 14px;
        line-height: 42px;
        text-align: center;
    }

    #float_linkArea{
        width: 100%;
        bottom: 0;
        top: inherit;
        right: 0;
    }

    .floatBtnBox span{
        width:auto;
        margin-top:2px;
        letter-spacing: 3px;
    }

    .rankBtn,.rankLink a.floatBtn{
        width: 47px;
        height: 130px;
        right: 0;
        border-radius: 10px 0 0 10px;
        text-align: center;
        padding: 0 5px;
        line-height: 23px;
    }

    .swiper-button-next,
    .swiper-button-prev,
    .rankLink a.floatBtn{
        animation: scale linear infinite;
        animation-duration: 1.5s;
        right: -4px !important;
        -webkit-writing-mode: vertical-lr;
        writing-mode: vertical-lr;
        top: 230px;
    }

    .gameLink{
        display:none
    }

    .gameLink, .rankBtn, .rankLink .floatBtn{
        color:#fff
    }

    .swiper-button-next:before, .swiper-button-prev:before{
        filter: brightness(0) saturate(100%) invert(99%) sepia(1%) saturate(2%) hue-rotate(183deg) brightness(109%) contrast(100%);
    }

    .floatArea:hover .floatBtn,
    .rankBtn:hover{
        border: 3px solid #ffffff;
    }

}


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

     /* .history_list{
        height: calc( 100% - 180px );
    } */

    .swiper-pagination{
        margin-top:40px
    }

    .ann_list a{
        padding:10px
    }

    .ann_txt{
        font-size:16px;
        line-height: 40px;
    }

    .ann_list a{
        font-size:16px;
    }


}



@media screen and (orientation: landscape) and (min-width: 768px) {
    /* .history_list{
        height: 53vh;
    } */

    .ann_list .swiper-slide{
        margin-bottom:5px
    }

}

@media screen and (max-width:768px){
    .ann_list .swiper-slide{
        height: 100%;
    }
}

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



    .swiper-button-next:before, .swiper-button-prev:before{
        width: 28px !important;
        height: 28px !important;
    }

    .floatArea .icon{
        width: 24px !important;
        height: 24px !important;
    }

    .ann_list{
        padding-top:20px;
    }
}



@media screen and (max-width:330px){
    header{
        height:50px
    }

    .mobile_btn{
        top:50px
    }

    .mobile_buger{
        width:40px;
        height: 40px;
        top: 10px;
    }

    .mobile_buger li{
        margin: 4px;
    }

    .annArea{
        top:50px;
        height: 60px;
    }

    .stickyAnn{
        height:50px
    }

    .annArea.stickyAnn{
        height: 50px;
    }


    .mobile_nav{
        height:50px
    }

    .float_mobile a img{
        width:15px;
        margin:0;
        margin-right:2px
    }

    .float_mobile{
        font-size:13px
    }

    .mobile_btn a{
        font-size:16px;
    }

    .history_list,
    .ann_list .swiper-slide{
        height: calc( 100vh - 220px);
        padding-bottom: 20px !important;
    }

    .rankLink a.floatBtn{
        top: 190px;
    }
}













