body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    color: #333333;
    background: url(./images/bg.png);
    background-repeat: repeat-y;
    background-position: top center;
    background-size: auto;
    font-family: "微软雅黑", sans-serif;
}
img{
    object-fit: contain;
}
/* pop */
.popBox {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1001;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .7);
}
.popBox-main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin: auto;
    z-index: 200;
    color: #4a352f;
}
.popBox-main .frame {
    position: relative;
    background: #fefefe;
    border: #d1a163;
    border-radius: 50px 20px 20px 20px;
    overflow: hidden;
    box-sizing: border-box;
    width: 8rem;
    max-width: 6.4rem;
    /* height: 7.5rem;
    max-height: 5.16rem; */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 .0rem .4rem;
}
.popBox-main .frame h3{
    background: url(./images/small-h3.webp) no-repeat center;
    background-size: contain;
    box-sizing: border-box;
    width: 100%;
    height: .91rem;
    color: #7a2812;    
    font-size: clamp(16px, .32rem, 32px);
    padding: 0rem 0 0 .8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.middle .popBox-main .frame{
    width: 8rem;
    max-width: 7.4rem;
}
.noend .popBox-main .frame{
    border: none;
    background: none;
}
.middle .popBox-main .frame h3{
    background-size: 100%;
    height: 1.07rem;
}
.popBox-main .frame h3 i{
    background: url(./images/small-i.png) no-repeat center;
    background-size: contain;
    display: block;
    width: .59rem;
    height: .15rem;
    margin-left: .1rem;
}

.close-btn {
    position: absolute;
    right: -0.5rem;
    top: 0.5rem;
    z-index: 100;
    width: .3rem;
    height: .3rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/pop-close.webp);
    cursor: pointer;
    transition: transform .5s ease;
}
.noend .close-btn{    
    right: 0rem;
    top: 0.56rem;
}
.small .close-btn,.middle .close-btn{
    border-radius: 50%;
    border: 3px solid #d2a164;
    background-color: #fff;
    background-image: url(./images/pop-close2.webp);
    background-size: 50%;
    width: .6rem;
    height: .6rem;
    right: 0rem;
    top: -0.1rem;
}

.close-btn:hover {
    transform: rotate(180deg);
}



.pop-advance .popBox-main{
}
.pop-advance .advance-box{
    position: relative;
    display: flex;
}

.advance{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 5.2rem;
    height: 6.57rem;
    padding: 1.4rem .2rem 0;
    box-sizing: border-box;
}
.advance.vanish{
    display: none;
}
.advance.a1{
    background-image: url(./images/advance1.webp);
    margin-right: .2rem;
}
.advance.a2{
    background-image: url(./images/advance2.webp);
}

.advance div{
    width: 100%;
    background: #ccd9ff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: .2rem;
}
.advance.a2 div{
    background: #ffe1a1;
}
.advance div h4{
    background: url(./images/lattice.png) repeat-x top center;
    color: #3d579b;
    font-size: clamp(10px, .2rem, 20px);
    text-align: center;
    padding: .12rem 0;
}
.advance.a2 div h4{
    background: url(./images/lattice.png) repeat-x top center ;
    color: #c02b1b;
}
.advance div h4 span{
    font-weight: bold;
    font-size: clamp(10px, .22rem, 22px);
}
.advance div.advance-list{    
    overflow-x: auto;
    width: 100%;
    margin-bottom: 0rem;
    padding: 0 .1rem;
    box-sizing: border-box;
    background: #eaefff;
}
.advance.a2 div.advance-list{ 
    background: #fff3d8;
}
.advance div ul{
    display: inline-flex;
    padding: .14rem 0;
}
.advance div ul li{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: .8rem;
}
.advance div ul li:not(:first-child){
    margin-left: .16rem;
}
.advance div ul li span{
    display: block;
    width: .6rem;
    height: .6rem;
    position: relative;
}
.advance div ul li span em {
    position: absolute;
    right: 3px;
    bottom: 2px;
    font-size: 10px;
    color: #fff;
}
.advance div ul li span img{
    width: 100%;
    height: 100%;
}
.advance div ul li p{
    max-width: .8rem;
    font-size: clamp(10px, .12rem, 12px);
    text-align: center;
}
.advance a{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 2rem;
    height: .5rem;
    display: flex;
    font-size: clamp(12px, .26rem, 26px);
    justify-content: center;
    font-weight: bold;
    letter-spacing: .0;
    margin: auto;
}
.advance a i{
    background: url(./images/dnf.webp) no-repeat center;
    background-size: contain;
    width: .49rem;
    height: .52rem;
    display: block;
    position: relative;
    top: -.06rem;
    margin-right: .08rem;
}
.advance.a1 a{
    background-image: url(./images/advance1-but.webp);
    color: #3d579b;
}
.advance.a2 a{
    background-image: url(./images/advance2-but.webp);
    color: #c02b1b;
}


/* 獎勵窗 */
.award-list{
    margin: .2rem 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 3.4rem;
    overflow-y: auto;
}
.award-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: .8rem;
    margin: 0 .16rem .1rem;
}
.award-list li:not(:first-child) {
    /* margin-left: .06rem; */
}
.award-list li span {
    width: .6rem;
    height: .6rem;
    position: relative;
}
.award-list li span img {
    width: 100%;
    height: 100%;
}
.award-list li span em {
    position: absolute;
    right: 3px;
    bottom: 2px;
    font-size: 10px;
    color: #fff;
}
.award-list li p {
    text-align: center;
    color: #333;
    font-size: clamp(10px, .12rem, 12px);
    line-height: 1.2;
}
.award-but{
    display: flex;

}
.award-but a:not(:first-child){
    margin-left: .2rem;
}

/* 操作記錄列表 */
.record-list{
    margin: .2rem 0;
    width: 100%;
    padding: 0 .3rem;
    box-sizing: border-box;
    font-size: clamp(12px, .14rem, 14px);
}
.record-list li{
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.2rem;
    width: 100%;
    padding: .1rem 0;
    border-bottom: 1px dashed #ccc;
}
.record-list li span{
    color: #666;
}
.record-list li p{
    color: #7a2812;
}
.record-list li p i.red{
    color: #ea2712;
}
.record-list li p i.blue{
    color: #15a0a9;
}
.record-list li p i.yellow{
    color: #ff9800;
}
.record-list li p i.green{
    color: #00953e;
}
.record-list li p i.purple{
    color: purple;
}
.record-list li p i.pitch{
    color: #889600;
}
.pagenum-blue{
    margin-top: 0;
}


/* 每日任務 */
.task-list{
    margin: .2rem 0;
    width: 98%;
    padding: 0 .2rem;
    box-sizing: border-box;
    font-size: clamp(14px, .16rem, 16px);    
    max-height: 3.4rem;
    overflow-y: auto;
}
.task-list li{
    display: grid;
    align-items: center;
    grid-template-columns: 1rem 1fr 1.2rem;
    gap: 0.2rem;
    width: 100%;
    padding: .1rem 0;
    border-bottom: 1px dashed #ccc;
}
.task-list li div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: .8rem;
    margin: auto;
}

.task-list li div span {
    width: .6rem;
    height: .6rem;
    position: relative;
}

.task-list li div span img {
    width: 100%;
    height: 100%;
}

.task-list li div span em {
    position: absolute;
    right: 3px;
    bottom: 2px;
    font-size: 10px;
    color: #fff;
}

.task-list li div h4 {
    text-align: center;
    color: #333;
    font-size: clamp(9px, .12rem, 12px);
    line-height: 1.2;
}
.task-list li p{}
.task-list li p i{
    color: #a82b15;
    /* font-weight: bold; */
    /* padding: 0 .06rem; */
}
.task-list li a{
    width: 1rem;
    height: .4rem;
    line-height: .4rem;
    margin: auto;
}

/* 總圈數獎勵 */
.turns-list{
    margin: .2rem 0;
    padding: 0 .2rem;
    width: 98%;
    box-sizing: border-box;
    font-size: clamp(12px, .14rem, 14px);    
    max-height: 3.4rem;
    overflow-y: auto;
}
.turns-list li{
    display: grid;
    align-items: center;
    grid-template-columns: .8rem .8rem 1fr 1rem;
    gap: 0.2rem;
    width: 100%;
    padding: .1rem 0;
    border-bottom: 1px dashed #ccc;
}
.turns-list li span{
    color: #a82b15;
}
.turns-list li img{
    width: .5rem;
    height: .5rem;
}
.turns-list li a{
    border: 1px solid #a82b15;
    color: #a82b15;
    border-radius: 10px;
    font-size: clamp(10px, .12rem, 12px);
    text-align: center;
    padding: .04rem 0;
}
.turns-list li a.no{
    border: 1px solid #999;
    color: #999;
}


/* 行動次數 */
.num-buy{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .3rem 0;
    padding: 0 .2rem;
    width: 98%;
    box-sizing: border-box;
}
.num-buy img{
    height: 1.2rem;
    width: 1.2rem;
    margin-right: .2rem;
}
.num-buy .num-itm{
    font-size: clamp(12px, .18rem, 18px);
}
.num-buy .num-itm h4{   
    font-weight: bold; 
    font-size: clamp(12px, .24rem, 24px);
    color: #666;
    margin-bottom: .2rem;
    display: flex;
    align-items: center;
}
.num-buy .num-itm a{
    display: block;
    background: url(./images/num-itm-stored.png) no-repeat center;
    background-size: contain;
    width: .66rem;
    height: .3rem;
    line-height: .3rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 0 #cc782d, -1px -1px 0 #cc782d, 1px -1px 0 #cc782d, -1px 1px 0 #cc782d;
    font-size: clamp(12px, .16rem, 16px);
    margin-left: .2rem;
}
.num-buy .num-itm div{
    display: flex;
    align-items: center;
}
.num-buy .num-itm p{
    margin: .1rem 0;
}

.num-buy .num-itm span{
    color: #ea2712;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* 标准语法 */
}


/* 商品兌換 */
.commodity-buy{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: .3rem 0;
    padding: 0 .2rem;
    width: 98%;
    box-sizing: border-box;
}
.commodity-buy img{
    height: 1.2rem;
    width: 1.2rem;
    margin-right: .2rem;
}
.commodity-buy .num-itm{
    font-size: clamp(12px, .18rem, 18px);
}
.commodity-buy .num-itm h4{  
    font-weight: bold;  
    font-size: clamp(12px, .24rem, 24px);
    color: #7a2812;
    margin-bottom: .2rem;
}
.commodity-buy .num-itm a{
    display: block;
    background: url(./images/num-itm-stored.png) no-repeat center;
    background-size: contain;
    width: .66rem;
    height: .3rem;
    line-height: .3rem;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 0 #cc782d, -1px -1px 0 #cc782d, 1px -1px 0 #cc782d, -1px 1px 0 #cc782d;
    font-size: clamp(12px, .16rem, 16px);
    margin-left: .2rem;
}
.commodity-buy .num-itm div{
    display: flex;
    align-items: center;
}
.commodity-buy .num-itm p{
    margin: .1rem 0;
    min-height: .24rem;
}

.commodity-buy .num-itm span{
    color: #ea2712;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* 标准语法 */
}

/* 遊戲獎勵與規則 */
.rule-buy{
    margin: .3rem 0 0;
    padding: 0 .2rem 0;
    width: 98%;
    box-sizing: border-box;
    max-height: 6rem;
    overflow-y: auto;
}
.rule-buy h5{
    color: #7f251f;
    font-size: clamp(16px, .2rem, 20px);
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: .12rem;
}
.rule-buy h5 i{
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: .18rem;
    height: .22rem;
    background-image: url(./images/award-icon.png);
    margin-right: .1rem;
}
.rule-buy h5:only-child(1) i{
}
.rule-buy h5:only-child(2) i{
    background-image: url(./images/rule-icon.png);
}
.award-table{
    max-height: 3.6rem;
    overflow: hidden;
    position: relative;
}
.award-table.act{
    max-height: initial;
}
.award-table::after {
    display: block;
    content: '';
    width: 100%;
    height: .3rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0), #fff);
}
.award-table table{
    width: 100%;
    margin-bottom: .2rem;
    font-size: clamp(12px, .14rem, 14px);
}
.award-table table th{
    height: .4rem;
    line-height: .4rem;
    font-weight: bold;
    font-size: clamp(16px, .18rem, 18px);
    padding: .04rem 0;
}
.award-table table td{
    height: .3rem;
    line-height: .3rem;
    text-align: center;
    padding: .04rem 0;
}
.award-table table:nth-child(1){
    border: 1px solid #fff3d8;
}
.award-table table:nth-child(1) th{
    color: #7f251f;
    background: #ffd989;
}
.award-table table:nth-child(1) tr:nth-child(2){
    background: #fff3d8;
    color: #7f251f;
    border: 1px solid #fff3d8;
}

.award-table table:nth-child(2){
    border: 1px solid #eaefff;
}
.award-table table:nth-child(2) th{
    color: #3d579b;
    background: #ccd9ff;
}
.award-table table:nth-child(2) tr:nth-child(2){
    background: #eaefff;
    color: #3d579b;
    border: 1px solid #eaefff;
}

.award-table table:nth-child(3){
    border: 1px solid #bfecf0;
}
.award-table table:nth-child(3) th{
    color: #2c8991;
    background: #aae6eb;
}
.award-table table:nth-child(3) tr:nth-child(2){
    background: #bfecf0;
    color: #2c8991;
    border: 1px solid #bfecf0;
}
.table-more{
    text-align: center;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.table-more i{
    background: url(./images/direction.png) no-repeat center;
    background-size: contain;
    display: block;
    width: .11rem;
    height: .1rem;
    margin-left: .06rem;
    transition: transform .3s ease;
}
.table-more.act i{
    transform: rotate(180deg);
}
.award-com{
    color: #333;
    font-size: clamp(12px, .14rem, 14px);
    line-height: 1.5;
}


/* 恭喜獲得 */
.noend .popBox-main .frame h3{
    background: url(./images/pop-title.png) no-repeat center;
    background-size: contain;
    width: 3rem;
    height: 1.23rem;
    padding: 0;
}
.noend .award-list li p{
    color: #fffefe;
}



/* 沒中獎 */
.noprize{
    background: url(./images/noprize.png) no-repeat center;
    background-size: contain;
    width: 3.86rem;
    height: 2.11rem;
    margin: .6rem auto.3rem;
}


/* pop em */

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background-color: #e2e6eb;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
    
}

*::-webkit-scrollbar-thumb {
    background-color: #cbb872;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}


.roll::-webkit-scrollbar {
    width: .08rem;
}

.roll::-webkit-scrollbar-track {
    background-color: #e2e6eb;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

.roll::-webkit-scrollbar-thumb {
    background-color: #cbb872;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.rNav .roll::-webkit-scrollbar-track {
    background-color: #e2e6eb;
}

.rNav .roll::-webkit-scrollbar-thumb {
    background-color: #cbb872;
}




.footer {
    position: initial;
    margin-top: 0;
}

.wrap-body {
    overflow: hidden;
    /* margin-top: 1rem; */
}

.evt-head {
    width: 100%;
    height: 10.80rem;
    position: relative;
    background: url(./images/KV.webp) center top no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    align-content: center;
}

.pic-words {
    width: 6.15rem;
    height: 1.93rem;
    background: url(./images/slogen.webp) center center no-repeat;
    background-size: contain;
}
.pic-itm{
    display: flex;
}
.pic-time{
    width: 5.27rem;
    height: .65rem;
    line-height: .65rem;
    background: url(./images/pic-time.webp) center center no-repeat;
    background-size: contain;
    text-align: center;
    font-size: clamp(12px, .22rem, 22px);
    color: #fff;
    margin-bottom: 3rem;
}
.pic-time span{
    color: #fff47f;
}
.pic-rule{
    background: url(./images/pic-rule.png) center center no-repeat;
    background-size: contain;
    width: .6rem;
    height: .6rem;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 1px 0px .1rem #fff, 1px 0px .16rem #fff;
    transition: transform 0.3s ease;
    animation: loading-scale 1.5s ease-in-out infinite;
}
/* 載入動畫 */
@keyframes loading-scale {
    0%, 100% { transform: scale(0.9); opacity: 0.9; }
    50% { transform: scale(1); opacity: 1; }
  }

.header {
    display: flex;
    align-items: flex-end;
    width: 11rem;
    margin: auto;
}

.header.r {
    justify-content: flex-end;
}

.header .title {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: .88rem;
    width: 2.95rem;
}

.header .title.t1 {
    background-image: url(./images/t1.webp);
}

.header .title.t2 {
    background-image: url(./images/t2.webp);
}

.header .title.t3 {
    background-image: url(./images/t3.webp);
}
.header .title.t3-2 {
    background-image: url(./images/t3-2.webp);
}

.header .title.t4 {
    background-image: url(./images/t4.webp);
}

.header .time {
    display: flex;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/time-l.webp);
    width: 3.5rem;
    height: .4rem;
    line-height: .4rem;
    padding-left: .3rem;
    box-sizing: border-box;
    color: #7d1f1b;
    font-size: clamp(12px, .18rem, 18px);
    align-items: center;
}

.header.r .time {
    background-image: url(./images/time-r.webp);
    padding-left: .1rem;
}

.header .time i {
    background: url(./images/time.webp) no-repeat center;
    background-size: contain;
    width: .26rem;
    height: .25rem;
    margin-right: .06rem;
}

.header .time span {
    font-weight: bold;
    color: #f51c0c;
    text-shadow: 1px 1px 5px #fff1d8, -1px -1px 2px #fff1d8;
}


.but {
    display: block;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    color: #fff;
    font-size: clamp(14px, .18rem, 18px);
    width: 1.3rem;
    height: .5rem;
    line-height: .5rem;
    text-align: center;
    letter-spacing: 2px;

}

.but.already {
    background-image: url(./images/already.webp);
    text-shadow: 1px 1px 0 #cac5b6, -1px -1px 0 #cac5b6, 1px -1px 0 #cac5b6, -1px 1px 0 #cac5b6;
}

.but.receive {
    background-image: url(./images/receive.webp);
    text-shadow: 1px 1px 0 #b33e2f, -1px -1px 0 #b33e2f, 1px -1px 0 #b33e2f, -1px 1px 0 #b33e2f;
}

.but.not {
    background-image: url(./images/not.webp);
    text-shadow: 1px 1px 0 #727272, -1px -1px 0 #727272, 1px -1px 0 #727272, -1px 1px 0 #727272;
    
}

.but.maxRec {
    background-image: url(./images/maxRec.webp);
    text-shadow: 1px 1px 0 #b33e2f, -1px -1px 0 #b33e2f, 1px -1px 0 #b33e2f, -1px 1px 0 #b33e2f;
    width: 2rem;
    height: .6rem;
    line-height: .6rem;
    font-size: clamp(12px, .26rem, 26px);
}
.but.aisle{
    background-image: url(./images/aisle-but.webp);
    text-shadow: 1px 1px 0 #781309, -1px -1px 0 #781309, 1px -1px 0 #781309, -1px 1px 0 #781309;
    width: 2.2rem;
    height: .65rem;
    line-height: .65rem;
    font-size: clamp(12px, .26rem, 26px);
}
.but.square{
    background-image: url(./images/square-but.webp);
    text-shadow: 1px 1px 0 #922111, -1px -1px 0 #922111, 1px -1px 0 #922111, -1px 1px 0 #922111;
    width: 1.8rem;
    height: .65rem;
    line-height: .65rem;
    font-size: clamp(12px, .26rem, 26px);
}

.but.maxAlr {
    background-image: url(./images/maxAlr.webp);
    text-shadow: 1px 1px 0 #cc782d, -1px -1px 0 #cc782d, 1px -1px 0 #cc782d, -1px 1px 0 #cc782d;
    width: 2rem;
    height: .6rem;
    line-height: .6rem;
    font-size: clamp(12px, .26rem, 26px);
}
.but.maxNot {
    background-image: url(./images/maxNot.webp);
    text-shadow: 1px 1px 0 #727272, -1px -1px 0 #727272, 1px -1px 0 #727272, -1px 1px 0 #727272;
    width: 2rem;
    height: .6rem;
    line-height: .6rem;
    font-size: clamp(12px, .26rem, 26px);
}


.but.minRec {
    background-image: url(./images/minRec.webp);
    text-shadow: 1px 1px 0 #b33e2f, -1px -1px 0 #b33e2f, 1px -1px 0 #b33e2f, -1px 1px 0 #b33e2f;
    width: 2rem;
    height: .5rem;
    line-height: .5rem;
    font-size: clamp(12px, .22rem, 22px);
}

.but.minAlr {
    background-image: url(./images/minAlr.webp);
    text-shadow: 1px 1px 0 #cc782d, -1px -1px 0 #cc782d, 1px -1px 0 #cc782d, -1px 1px 0 #cc782d;
    width: 2rem;
    height: .5rem;
    line-height: .5rem;
    font-size: clamp(12px, .22rem, 22px);
}



.role {
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.tips {
    text-align: center;
    color: #982e2d;
    margin-top: .1rem;
}

.section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
}

.sec1 {
    background-image: url(./images/sec1.webp);
    padding-top: 2rem;
    margin-top: -1.2rem;
    height: 11.55rem;
}

.main {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
}

.sec1 .main {
    width: 12.5rem;
    height: 6.8rem;
    margin: auto;
    background-image: url(./images/main1.webp);
    padding: .8rem 0 1rem 1.6rem;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
}

.binding{
    color: #fcf3d5;
    font-size: clamp(16px, .3rem, 30px);
    text-align: center;
    margin: 0 0 1rem;
}
.binding a{
    color: #f51c0c;
    text-decoration: underline;
}

.sec1 .main .s1-list {
    display: flex;
    flex-direction: column;
}
.s1-list-itm{   
    height: 5rem; 
    position: relative;
}
.s1-list-itm::after{
    display: block;
    content: '';
    width: 100%;
    height: .12rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(#fbf4e800, #fbf4e9);
}
.sec1 .main .s1-list ul {
    padding: 0 .1rem 0 0;
    max-height: 5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}


.sec1 .main .s1-list ul li {
    position: relative;
    display: flex;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(./images/s1-list.png);
    width: 6.6rem;
    max-height: 1.2rem;
    border: 2px solid #982e2d;
    border-radius: 10px;
    box-sizing: border-box;
}

.sec1 .main .s1-list ul li:not(:first-child) {
    margin-top: .12rem;
}

.sec1 .main .s1-list ul li h4 {
    background: #982e2d;
    color: #fff;
    font-size: clamp(10px, .16rem, 16px);
    display: flex;
    writing-mode: vertical-rl;
    justify-content: center;
    padding: 0 .04rem;
    border-radius: 6px 0 0 6px;
    height: 100%;
    margin-right: .2rem;
}
.sec1 .main .s1-list ul li h4 i{
    writing-mode: initial;
    text-align: center;
}

.sec1 .main .s1-list ul li div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: .9rem;
    margin: .1rem 0 0;
}

.sec1 .main .s1-list ul li div:not(:first-child) {
    margin-right: .1rem;
}

.sec1 .main .s1-list ul li div span {
    width: .6rem;
    height: .6rem;
    position: relative;
}

.sec1 .main .s1-list ul li div span img {
    width: 100%;
    height: 100%;
}

.sec1 .main .s1-list ul li div span em {
    position: absolute;
    right: 3px;
    bottom: 2px;
    font-size: 10px;
    color: #fff;
}

.sec1 .main .s1-list ul li div p {
    text-align: center;
    color: #333;
    font-size: clamp(9px, .12rem, 12px);
    line-height: 1.2;
}

.sec1 .main .s1-list ul li a {
    position: absolute;
    right: 0.4rem;
    bottom: 0;
    top: 0;
    margin: auto;
}

.sec1 .main .s1-all-data {
    display: flex;
    color: #fff;
    background: #982e2d;
    border: 2px solid #631e11;
    border-radius: 20px;
    font-size: clamp(12px, .16rem, 16px);
    padding: .06rem .3rem;
    align-items: center;
    letter-spacing: 1px;
    line-height: 1;
    margin: .3rem;
}

.sec1 .main .s1-all-data i {
    background: url(./images/data.webp) no-repeat center;
    background-size: contain;
    width: .22rem;
    height: .22rem;
    margin-right: .06rem;
}

.sec1 .main .s1-all-data span {
    font-size: clamp(14px, .26rem, 26px);
    color: #fff47f;
    font-weight: bold;
}

.sec1 .main .r1 {
    bottom: -.5rem;
    right: -.3rem;
    background-image: url(./images/role1.webp);
    width: 4.11rem;
    height: 5.57rem;
}





/* sec2 */
.sec2 {
    background-image: url(./images/sec2.webp);
    height: 10.59rem;
}
.sec2 .main {
    width: 11.04rem;
    height: 7.97rem;
    margin: auto;
    background-image: url(./images/main2.webp);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sec2 .main .stored-itm {
    width: 100%;
    height: 1.4rem;
    display: flex;
    justify-content: space-between;
    padding: 0.2rem .6rem 0 3rem;
    box-sizing: border-box;
    align-items: center;
}

.sec2 .main .stored-itm div {
    color: #666;
    font-size: clamp(16px, .3rem, 30px);
}

.sec2 .main .stored-itm div span {
    color: #a82b15;
    font-size: clamp(20px, .4rem, 40px);
    font-weight: bold;
}

.s2-itm {
    /* width: 7.95rem; */
    margin: .4rem .3rem 0 0;
}

.s2-list {
    position: relative;
}

.s2-list-itm {
    width: 7rem;
    padding-bottom: .1rem;
    overflow-x: auto;
    margin: auto;
    position: relative;
}

.s2-list-itm ul {
    display: inline-flex;
    height: 1.3rem;
    padding-top: .16rem;
    box-sizing: border-box;
    padding-left: .12rem;
}

.s2-list-itm ul:nth-child(1) {
    font-size: clamp(12px, .16rem, 16px);
    font-weight: bold;
    color: #a82b15;
    background: #ffe9b2;
    height: .5rem;
    align-items: center;
    padding-top: 0rem;
}

.s2-list-itm ul:nth-child(2) {
    background-image: linear-gradient(#cae7ee, #e8f3f6);
}

.s2-list-itm ul:nth-child(3) {
    background-image: linear-gradient(#f2d7ba, #fdf4ea);
}

.s2-list-itm ul:nth-child(4) {
    background-image: linear-gradient(#f7bc9c, #ffe3d4);
}

.s2-list-itm ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: .8rem;
    flex-shrink: 0;
}

.s2-list-itm ul li:not(:first-child) {
    margin-left: .06rem;
}

.s2-list-itm ul li span {
    width: .6rem;
    height: .6rem;
    position: relative;
}
.s2-list-itm ul:not(.act) li.alr span::after{
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/alr.webp) no-repeat center rgba(0, 0, 0, 0.447);
    background-size: 80%;
}
.s2-list-itm ul:not(.act) li.not span::after{
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/not2.webp) no-repeat center rgba(0, 0, 0, 0.447);
    background-size: 80%;
}
.s2-list-itm ul:not(.act) li.rec span::after{
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/rec.png) no-repeat center;
    background-size: 116% 120%;
}
.s2-list-itm ul.act li span::after{
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./images/lock.png) no-repeat center rgba(0, 0, 0, 0.447);
    background-size: 30%;
}

.s2-list-itm ul li span img {
    width: 100%;
    height: 100%;
}

.s2-list-itm ul li span em {
    position: absolute;
    right: 3px;
    bottom: 2px;
    font-size: 10px;
    color: #fff;
}

.s2-list-itm ul li p {
    text-align: center;
    color: #333;
    font-size: clamp(9px, .12rem, 12px);
    line-height: 1.2;
}

.s2-list-itm-header {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: -.5rem;
    width: .5rem;
    box-shadow: 2px 0px 2px 0px #888;
    font-size: clamp(12px, .20rem, 20px);
    letter-spacing: 2px;
    color: #fff;
    border-radius: 10px 0 0 10px;
    overflow: hidden;
}

.s2-list-itm-header span {
    writing-mode: vertical-rl;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.3rem;
}

.s2-list-itm-header span:nth-child(1) {
    height: .5rem;
    background: #ffe9b2;
}

.s2-list-itm-header span:nth-child(2) {
    background: url(./images/lattice.png) #97d0dd top center;
    text-shadow:
        1px 1px 0 #4a96a6,
        /* 白色阴影，向右下方移动1px */
        -1px -1px 0 #4a96a6,
        /* 白色阴影，向左上方移动1px */
        1px -1px 0 #4a96a6,
        /* 白色阴影，向右上方移动1px */
        -1px 1px 0 #4a96a6;
    /* 白色阴影，向左下方移动1px */
}

.s2-list-itm-header span:nth-child(3) {
    background: url(./images/lattice.png) #e5b857 top center;
    text-shadow:
        1px 1px 0 #c95932,
        /* 白色阴影，向右下方移动1px */
        -1px -1px 0 #c95932,
        /* 白色阴影，向左上方移动1px */
        1px -1px 0 #c95932,
        /* 白色阴影，向右上方移动1px */
        -1px 1px 0 #c95932;
    /* 白色阴影，向左下方移动1px */
}

.s2-list-itm-header span:nth-child(4) {
    background: url(./images/lattice.png) #ea7d42 top center;
    text-shadow:
        1px 1px 0 #933711,
        /* 白色阴影，向右下方移动1px */
        -1px -1px 0 #933711,
        /* 白色阴影，向左上方移动1px */
        1px -1px 0 #933711,
        /* 白色阴影，向右上方移动1px */
        -1px 1px 0 #933711;
    /* 白色阴影，向左下方移动1px */
}

.s2-but {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: .3rem;
}

.s2-but a:not(:first-child) {
    margin-left: .3rem;
}

.sec2 .main .r2 {
    bottom: -.5rem;
    left: -1.7rem;
    background-image: url(./images/role2.webp);
    width: 4.6rem;
    height: 6.69rem;
}




/* sec3 */
.s3-list {
    margin: .6rem auto .4rem;
    width: 11.09rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.s3-list .s3-but {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.s3-list .s3-but a{
    position: relative;
    text-align: right;
    padding-right: .2rem;
    box-sizing: border-box;
}
.s3-list .s3-but a:not(:first-child) {
    margin-left: .2rem;
}
.s3-list .s3-but a.aisle::after{
    display: block;
    content: '';
    background: url(./images/aisle1.webp) no-repeat center;
    background-size: contain;
    width: .82rem;
    height: .78rem;
    position: absolute;
    left: 0rem;
    bottom: .04rem;
}
.sec3.curl .s3-list .s3-but a.aisle::after{
    display: block;
    content: '';
    background: url(./images/aisle2.webp) no-repeat center;
    background-size: contain;
    width: 1.33rem;
    height: 1.17rem;
    position: absolute;
    left: -0.16rem;
    bottom: 0;
}


.s3-list .s3-display {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.s3-list .s3-display .turns {
    color: #fff;
    text-shadow: 1px 1px 0 #c5331e, -1px -1px 0 #c5331e, 1px -1px 0 #c5331e, -1px 1px 0 #c5331e;
    background: url(./images/turns-itm.webp) no-repeat center;
    background-size: contain;
    width: 2rem;
    height: .5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.s3-list .s3-display .turns i {
    display: block;
    background: url(./images/turns.webp) no-repeat center;
    background-size: contain;
    width: .49rem;
    height: .6rem;
}

.s3-list .s3-display .turns em {
    color: #fff497;
    font-size: clamp(12px, .22rem, 22px);
    margin: 0 .06rem;
    font-weight: bold;
}

.s3-list .s3-display .gold {
    color: #fff;
    font-size: clamp(12px, .16rem, 16px);
    border: 1px solid #bd403d;
    background: #572625;
    border-radius: 6px;
    display: flex;
    align-items: center;
    margin-left: .2rem;
    padding: .06rem .2rem;
}

.s3-list .s3-display .gold i {
    display: block;
    background: url(./images/gold.webp) no-repeat center;
    background-size: contain;
    width: .26rem;
    height: .26rem;
    margin-right: .06rem;
}

.s3-list .s3-display .gold em {
    color: #fff497;
    font-size: clamp(12px, .22rem, 22px);
    font-weight: bold;
}

.sec3 {
    background-image: url(./images/sec3.webp);
    height: 12.77rem;
    padding-top: 2rem;
}
.sec3.curl {
    background-image: url(./images/sec3-curl.webp);
    height: 12.77rem;
}
.sec3 .main {}

.lattice {
    width: 11.09rem;
    height: 5.27rem;
    margin: auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(./images/main3.webp);
    box-sizing: border-box;
    position: relative;
}

.lattice ul {}

.lattice ul li {
    color: #a82b15;
    font-size: clamp(10px, .12rem, 12px);
    width: .8rem;
    height: .8rem;
    position: absolute;
    cursor: pointer;
}

.lattice ul li span {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    background-image: url(./images/latticebg.webp);
}

.lattice ul li:nth-child(1) span a {
    font-size: clamp(12px, .18rem, 18px);
    color: #a82b15;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
}

.lattice ul li:nth-child(1) span {
    background-image: url(./images/latticebg-start.webp);
}

.lattice ul li:nth-child(4),
.lattice ul li:nth-child(12),
.lattice ul li:nth-child(20),
.lattice ul li:nth-child(28) {
    width: 1.6rem;
}

.lattice ul li:nth-child(4) span,
.lattice ul li:nth-child(12) span,
.lattice ul li:nth-child(20) span,
.lattice ul li:nth-child(28) span {
    background-image: url(./images/latticebg-long.webp);
}

.lattice ul li img {
    width: .3rem;
    height: .3rem;
    object-fit: contain;
}
.lattice ul li em{
    width: 90%;
}

.lattice ul li:nth-child(1) {
    right: .1rem;
    top: 3.5rem;
}

.lattice ul li:nth-child(2) {
    right: .1rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(3) {
    right: .1rem;
    top: 1.8rem;
}

.lattice ul li:nth-child(4) {
    right: .1rem;
    top: .95rem;
}

.lattice ul li:nth-child(5) {
    right: 1.75rem;
    top: .95rem;
}

.lattice ul li:nth-child(6) {
    right: 2.6rem;
    top: .95rem;
}

.lattice ul li:nth-child(7) {
    right: 3.45rem;
    top: .95rem;
}

.lattice ul li:nth-child(8) {
    right: 4.3rem;
    top: .95rem;
}

.lattice ul li:nth-child(9) {
    right: 5.15rem;
    top: .95rem;
}

.lattice ul li:nth-child(10) {
    right: 6rem;
    top: .95rem;
}

.lattice ul li:nth-child(11) {
    right: 6rem;
    top: .1rem;
}

.lattice ul li:nth-child(12) {
    right: 6.85rem;
    top: .1rem;
}

.lattice ul li:nth-child(13) {
    left: 2.65rem;
    top: .95rem;
}

.lattice ul li:nth-child(14) {
    left: 1.8rem;
    top: .95rem;
}

.lattice ul li:nth-child(15) {
    left: .95rem;
    top: .95rem;
}

.lattice ul li:nth-child(16) {
    left: .1rem;
    top: .95rem;
}

.lattice ul li:nth-child(17) {
    left: .1rem;
    top: 1.8rem;
}

.lattice ul li:nth-child(18) {
    left: .1rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(19) {
    left: .1rem;
    top: 3.5rem;
}

.lattice ul li:nth-child(20) {
    left: .1rem;
    top: 4.35rem;
}

.lattice ul li:nth-child(21) {
    left: 1.75rem;
    top: 4.35rem;
}

.lattice ul li:nth-child(22) {
    left: 1.75rem;
    top: 3.5rem;
}

.lattice ul li:nth-child(23) {
    left: 1.75rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(24) {
    left: 2.6rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(25) {
    left: 3.45rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(26) {
    left: 3.45rem;
    top: 3.5rem;
}

.lattice ul li:nth-child(27) {
    left: 4.3rem;
    top: 3.5rem;
}

.lattice ul li:nth-child(28) {
    left: 5.15rem;
    top: 3.5rem;
}

.lattice ul li:nth-child(29) {
    right: 4.3rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(30) {
    right: 3.45rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(31) {
    right: 2.6rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(32) {
    right: 1.75rem;
    top: 2.65rem;
}

.lattice ul li:nth-child(33) {
    right: 1.75rem;
    top: 3.5rem;
}

.lattice ul li:nth-child(34) {
    right: .95rem;
    top: 3.5rem;
}


.lattice ul li .portrait {
    position: absolute;
    background: url(./images/portrait.webp) no-repeat center;
    background-size: contain;
    width: .52rem;
    height: .69rem;
    left: 50%;
    top: 12%;
    z-index: 100;
    transform: translateX(-50%) translateY(-50%);
}

.lattice ul li:nth-child(1) .portrait {
    display: block;
}

.lattice ul li .portrait img {
    width: .42rem;
    height: .42rem;
    margin: 0.06rem auto;
    border: 1px solid #000;
    border-radius: 50%;
}

.lattice ul li .int {
    display: none;
}
.lattice ul li:hover .int{
    display: block;
}

.lattice ul li .int {
    position: absolute;
    background: #8e302e;
    width: 2.4rem;
    height: 1.18rem;
    left: 50%;
    top: -.6rem;
    z-index: 101;
    transform: translateX(-50%) translateY(-50%);
    color: #fcf3df;
    padding: .1rem;
    box-sizing: border-box;
    border-radius: 10px;
}
.lattice ul li .int::after{
    display: block;
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #8e302e;
}

.lattice ul li .int h4 {
    padding-bottom: .04rem;
    margin-bottom: .04rem;
    border-bottom: 1px solid #bd403d;
    display: inline-block;
    width: 100%;
}

.draw-itm {
    background: url(./images/draw-itm.png) no-repeat center top;
    background-size: contain;
    width: 3.2rem;
    height: 1rem;
    position: absolute;
    bottom: -.5rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    font-size: clamp(12px, .16rem, 16px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .12rem;
    box-sizing: border-box;
}
.draw-itm .gold{
    display: none;
}

.draw-itm p {
    color: #fff;
    display: flex;
    align-items: center;
    margin-bottom: .1rem;
}

.draw-itm p em {
    font-size: clamp(12px, .22rem, 22px);
    color: #fff497;
    margin: 0 .1rem;
    font-weight: bold;
}

.draw-itm p i {
    cursor: pointer;
    display: block;
    background: url(./images/add.webp) no-repeat center;
    background-size: contain;
    width: .22rem;
    height: .22rem;
}

.draw-itm .d-num-list {
    display: flex;
}

.draw-itm .d-num-list span {
    display: block;
    background: url(./images/d-num-list.webp) no-repeat center;
    background-size: contain;
    width: .72rem;
    height: .32rem;
    line-height: .32rem;
    text-align: center;
    color: #7f2321;
    cursor: pointer;
}

.draw-itm .d-num-list span:not(:first-child) {
    margin-left: .06rem;
}

.draw-itm .d-num-list span.act {
    background: url(./images/d-num-list-act.webp) no-repeat center;
    background-size: contain;
}

.draw-itm .d-but {
    cursor: pointer;
    background: url(./images/d-but.webp) no-repeat center;
    background-size: contain;
    width: 1.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    text-align: center;
    position: absolute;
    right: -1rem;
    top: 0;
    bottom: 0;
    margin: auto;
    font-size: clamp(26px, .5rem, 50px);
    color: #fff;
    text-shadow: 1px 1px 0 #cc782d, -1px -1px 0 #cc782d, 1px -1px 0 #cc782d, -1px 1px 0 #cc782d;
}
.draw-itm .d-but.act{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray; 
}

.operate {
    position: absolute;
    right: .12rem;
    top: .2rem;
    width: 3.34rem;
    height: .5rem;
    line-height: .5rem;
    text-align: center;
    background: #bd403d;
    border-radius: 24px;
    color: #fff;
    display: flex;
    overflow: hidden;
}

.operate span {
    flex: 1;
    cursor: pointer;
}

.operate span:not(:first-child) {
    background: url(./images/operate-wire.png) no-repeat left center;
    background-size: contain;
}

.operate span.act {
    color: #fff497;
    background: #8e302e;
}

.operate span:hover {
    color: #fff497;
}

.animation {
    position: absolute;
    right: .5rem;
    bottom: .34rem;
    color: #7f2321;
    font-size: clamp(12px, .14rem, 14px);
    display: flex;
    align-items: center;
}

.animation span {
    display: block;
    width: .6rem;
    height: .26rem;
    background: url(./images/animation-no.webp) no-repeat center;
    background-size: contain;
    margin-left: .06rem;
    cursor: pointer;
}

.animation span.act {
    background: url(./images/animation-off.webp) no-repeat center;
    background-size: contain;
}

.treasure{
    background: url(./images/treasure-bg.webp) no-repeat center;
    background-size: contain;
    width: 7.45rem;
    height: 4.29rem;
    margin: 1rem auto;
    position: relative;
}
.treasure.act::after{
    content: '';
    display: block;
    background: url(./images/finger.webp) no-repeat center;
    background-size: contain;
    width: .81rem;
    height: .8rem;
    z-index: 100;
    position: absolute;
    left: 3.6rem;
    top: 1.1rem;
    
    animation: press .5s linear infinite;
    /* animation-name: press;
  animation-duration: 4s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;  */
   /* 动画只执行一次 */
  /* 保持最后一帧的状态 */
}
@keyframes press {
    0% {
        transform: scale(1);
    }
    50%{transform: scale(0.9) translateY(10px);}

    100% {
        transform: scale(1);
    }
}
.treasure div{
    position: absolute;
    cursor: pointer;
}
.treasure div span{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    z-index: 9;
    position: relative;
}
.treasure div.goldbox{
    top: 0;
    left: 2.08rem;
}
.treasure div.goldbox span{
    width: 3.23rem;
    height: 2.29rem;
    background-image: url(./images/goldbox.webp);
}
.treasure div.goldbox.act span,.treasure div.goldbox:hover span{
    background-image: url(./images/goldbox-act.webp);
}
.treasure div.act::after,.treasure div:hover::after{
    display: block;
    content: '';
    background: url(./images/on-light.webp) no-repeat center;
    background-size: contain;
    width: 4.91rem;
    height: 4.91rem;
    position: absolute;
    z-index: 8;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}
.treasure div.silver{
    bottom: .24rem;
    left: .3rem;    
}
.treasure div.silver span{
    width: 2.39rem;
    height: 1.72rem;
    background-image: url(./images/silver.webp);
}
.treasure div.silver.act span,.treasure div.silver:hover span{
    background-image: url(./images/silver-act.webp);
}
.treasure div.copper{    
    bottom: .24rem;
    right: .37rem;
}
.treasure div.copper span{
    width: 2.3rem;
    height: 1.74rem;
    background-image: url(./images/copper.webp);
}
.treasure div.copper.act span,.treasure div.copper:hover span{
    background-image: url(./images/copper-act.webp);
}
.treasure-but{
    background: #301e0e;
    border: 2px solid #921300;
    color: #fcf3df;
    border-radius: 25px;
    display: flex;
    width: 5.6rem;
    height: .5rem;
    line-height: .5rem;
    position: relative;
    margin: 0 auto;
    z-index: 20;
}
.treasure-but span{
    flex: 1;
    text-align: center;
    cursor: pointer;
}
.treasure-but span:nth-child(1){
    border-radius: 25px 0 0 25px;
}
.treasure-but span:last-child{
    border-radius: 0 25px 25px 0;
}
.treasure-but .act,.treasure-but span:hover{
    background: #b43a37;
    color: #fff497;
}
.treasure-but a{
    width: 1.42rem;
    height: 1.42rem;
    background: url(./images/all-but.webp) no-repeat center;
    background-size: contain;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 1px 1px 0 #c5331e, -1px -1px 0 #c5331e, 1px -1px 0 #c5331e, -1px 1px 0 #c5331e;
    color: #fff;
    font-size: clamp(20px, .3rem, 30px);
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 2px;

}
.s3-2-display{
    display: flex;
    align-items: center;
    color: #fff;
}
.s3-2-display div{
    font-size: clamp(12px, .16rem, 16px);
    padding: .06rem .3rem .06rem .5rem;
    background: rgba(0, 0, 0, 0.555);
    border-radius: 6px;
    display: flex;
    align-items: center;
    position: relative;
}
.s3-2-display div:not(:first-child){
    margin-left: .12rem;
}
.s3-2-display div i{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: .3rem;
    height: .47rem;
    display: block;
    position: absolute;
    top: -.04rem;
    left: .04rem;
}
.s3-2-display .key.g i{
    background-image: url(./images/gold-key.webp);
}
.s3-2-display .key.s i{
    background-image: url(./images/silver-key.webp);
}
.s3-2-display .key.c i{
    background-image: url(./images/copper-key.webp);
}
.s3-2-display .gold{
    padding-left: .4rem;
}
.s3-2-display .gold i {
    display: block;
    background: url(./images/gold.webp) no-repeat center;
    background-size: contain;
    width: .26rem;
    height: .26rem;
    top: 0;
    bottom: 0;
    margin: auto;
}
.s3-2-display .gold em {
    color: #fff497;
    font-size: clamp(12px, .22rem, 22px);
    font-weight: bold;
}
.treasure div ul{
    position: absolute;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px 1px;
    left: .73rem;
    bottom: .54rem;
    height: .45rem;
}
.treasure div.goldbox ul{
    gap: 1px 2px;
    left: 1.08rem;
    bottom: .76rem;
    height: .55rem;
}
.treasure div ul li.act{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: .21rem;
    height: .23rem;
}
.treasure div.goldbox ul li.act{
    width: .24rem;
    height: .27rem;
    background-image: url(./images/gold-hole.webp);
}
.treasure div.silver ul li.act{
    background-image: url(./images/silver-hole.webp);
}
.treasure div.copper ul li.act{
    background-image: url(./images/copper-hole.webp);
}





/* sec4 */
.sec4 {
    background-image: url(./images/sec4.webp);
    height: 11.33rem;
}

.sec4 .main{
    width: 11.36rem;
    height: 7.31rem;
    margin: auto;
    background-image: url(./images/main4.webp);
    padding: 1.3rem 0 0 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: .6rem;
}

.s4-display{
    background: #7f251f;
    border: 1px solid #000;
    border-radius: 20px;
    display: flex;
    justify-content: center;
}
.s4-display .gold {
    color: #fff;
    font-size: clamp(12px, .16rem, 16px);
    display: flex;
    align-items: center;
    padding: .06rem .3rem .06rem .2rem;
}

.s4-display .gold i {
    display: block;
    background: url(./images/gold.webp) no-repeat center;
    background-size: contain;
    width: .26rem;
    height: .26rem;
    margin-right: .06rem;
}

.s4-display .gold em {
    color: #fff497;
    font-size: clamp(12px, .22rem, 22px);
    font-weight: bold;
}
.s4-display .rule {
    cursor: pointer;
    color: #fff;
    font-size: clamp(12px, .16rem, 16px);
    display: flex;
    align-items: center;
    padding: .06rem .2rem .06rem .3rem;
    background: url(./images/little.webp) no-repeat left center;
    background-size: 2%;
}

.s4-display .rule i {
    display: block;
    background: url(./images/rule.webp) no-repeat center;
    background-size: contain;
    width: .26rem;
    height: .26rem;
    margin-right: .06rem;
}

.s4-display .rule em {
    color: #fff497;
    font-size: clamp(12px, .22rem, 22px);
    font-weight: bold;
}

.s4-list-itm{
    margin-top: .2rem;
    height: 5rem;
    position: relative;
}
.s4-list-itm::after{
    display: block;
    content: '';
    width: 100%;
    height: .12rem;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(#fbeed200, #faedcf);
}

.sec4 .main ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .16rem;
    height: 5rem;
    overflow-y: auto;
    grid-auto-rows: max-content;
}
.sec4 .main ul li{
    background: url(./images/store-list.webp) no-repeat center;
    background-size: contain;
    width: 3.2rem;
    height: 1rem;
    align-items: center;
    color: #fff;
    font-size: clamp(12px, .14rem, 14px);
    padding: 0 .1rem;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: .9rem 1fr;
    gap: 0.12rem;
}
.sec4 .main ul li img{
    width: .8rem;
    height: .8rem;
}
.sec4 .main ul li div{
    /* margin-left: .26rem; */
}
.sec4 .main ul li div h4{
    color: #7f251f;
    font-size: clamp(12px, .18rem, 18px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 2rem;
}
.sec4 .main ul li div span{
    padding: .04rem 0;
    display: block;
}
.sec4 .main ul li div p{
    border-top: 1px solid #82613a;
    padding: .04rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sec4 .main ul li div i{
    color: #fff497;
}
.sec4 .main ul li div a{
    background: url(./images/exchange.webp) no-repeat center;
    background-size: contain;
    width: .56rem;
    height: .26rem;
    line-height: .26rem;
    text-align: center;
    font-size: 10px;
    color: #fff;
    text-shadow: 1px 1px 0 #c5331e, -1px -1px 0 #c5331e, 1px -1px 0 #c5331e, -1px 1px 0 #c5331e;
    margin-left: .06rem;
}




.rNav{
    left: auto;
    right: .4rem;
    background: #f8edd9;
    border-radius: 10px;
    padding: .6rem 0 .2rem;
    z-index: 200;
}
.rNav::after{
    width: 93%;
    height: 96%;
    display: block;
    content: '';
    border: 2px dashed #dccbad;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    border-radius: 10px;
}
.rNav .rNav-title{
    font-size: 0;
    width: 2.33rem;
    height: 1.84rem;
    background: url(./images/rNav-pet.webp) no-repeat center bottom;
    background-size: contain;
    position: absolute;
    top: -1.3rem;
    left: -.15rem;
    right: 0;
    margin: auto;
}
.rNav .rNav-sec{
    padding: 0 .1rem;
}
.rNav .rNav-sec ul{
    box-sizing: border-box;
    padding: 0;
}
.rNav .rNav-sec ul li {
    background: url(./images/rNav-li.png) no-repeat center bottom;
    background-size: contain;
    line-height: .5rem;
}
.rNav .rNav-sec ul li a{
    color: #a59371;
}
.rNav .rNav-sec ul li:hover a {
    color: #982e2d;
}

.lNav{
    position: fixed;
    top: 50%;
    left: 0rem;
    transform: translateY(-50%);
    margin: auto;
    z-index: 1100;
}
.lNav ul{}
.lNav ul li{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 1.84rem;
    height: 1.54rem;
}
.lNav ul li:nth-child(1){ background-image: url(./images/lNav1.png); }
.lNav ul li:nth-child(2){ background-image: url(./images/lNav2.png); }
.lNav ul li:nth-child(3){ background-image: url(./images/lNav3.png); }
.lNav ul li:nth-child(4){ background-image: url(./images/lNav4.png); }
.lNav ul li:not(:first-child){
    margin-top: .1rem;
}
.lNav ul li a{
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.lNav .cut{
    display: none;
}


@media (max-width: 450px) {
    html {
        font-size: calc(100 * 100vw / 750);
    }

    body {
        font-size: .20rem;
    }
    .but{
        font-size: clamp(12px, .18rem, 18px);
    }


    .footer {
        padding-bottom: 1.3rem;
    }
    .popBox-main .frame{
        border-radius: 10px;
    }
    .task-list{
        font-size: clamp(12px, .16rem, 16px);
    }


    .commodity-buy .num-itm p{
        min-height: .4rem;
    }

    .pop-advance .popBox-main{
        width: 80%;
        left: 56%;
    }
    .advance-box{
        width: 100%;        
        overflow-x: auto;
    }
    .pop-advance .advance-box::-webkit-scrollbar{
        display: none;
    }
    .pop-advance .close-btn {
        left: 0;
        right: 0.5rem;
        top: auto;
        bottom: calc(50% - 4rem);
        margin: auto;
        transform: translateX(-50%) translateY(-50%);
    }

    .lNav{
        left: 0.04rem;
        background: #000000c2;
        padding: .1rem .1rem .2rem;
        border-radius: 10px;
    }
    .lNav.act{
        background: initial;
    }
    .lNav ul li{
        width: .69rem;
        height: .73rem;
    }
    .lNav ul li:nth-child(1){ background-image: url(./images/mobile/lNav1.webp); }
    .lNav ul li:nth-child(2){ background-image: url(./images/mobile/lNav2.webp); }
    .lNav ul li:nth-child(3){ background-image: url(./images/mobile/lNav3.webp); }
    .lNav ul li:nth-child(4){ background-image: url(./images/mobile/lNav4.webp); }
    
    .lNav .cut{
        color: #fff;
        text-align: center;
        margin-top: .2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .2rem;
    }
    .lNav .cut i{
        background: url(./images/packup.png) no-repeat center;
        background-size: contain;
        display: block;
        width: .18rem;
        height: .14rem;
        margin-right: .04rem;
    }
    .lNav .penguin{
        background: url(./images/unfold.png) no-repeat center;
        background-size: contain;
        width: .8rem;
        height: .8rem; 
        position: absolute;
        bottom: -1.6rem;
        left: 0;
    }
    
    .header{
        width: 100%;
        align-items: center;
        flex-direction: column;
    }
    .header .title{
        width: 100%;
    }
    .header .title.t1 {
        background-image: url(./images/mobile/t1.webp);
    }    
    .header .title.t2 {
        background-image: url(./images/mobile/t2.webp);
    }    
    .header .title.t3 {
        background-image: url(./images/mobile/t3.webp);
    }
    .header .title.t3-2 {
        background-image: url(./images/mobile/t3-2.webp);
    }    
    .header .title.t4 {
        background-image: url(./images/mobile/t4.webp);
    }
    .header .time{
        align-items: center;
        justify-content: center;
        background: #ffefd9;
        height: .5rem;
        line-height: .5rem;
        width: auto;
        padding: 0 .4rem;
        border-radius: 20px;
        border: 2px solid #7f2321;
        margin: .1rem auto 0;
    }
    .header.r .time{
        order: 1;
        background-image: initial;
    }
    .rNav{
        right: 0;
        border-radius: 0;
        padding: .22rem 0;
        border-top: 2px solid #982e2d;
    }
    .rNav::after{
        display: none;
    }

    .evt-head{
        background: url(./images/mobile/KV.webp) center top no-repeat;
        background-size: cover;
    }
    .sec1 {
        height: 14.2rem;
        background-image: url(./images/mobile/sec1.webp);
        padding-top: 1.2rem;
    }
    .sec1 .main{
        width: 100%;
        max-width: 7rem;
        height: 8.65rem;
        padding: 0;
        display: flex;
        align-items: center;
        flex-direction: column;
        background-image: url(./images/mobile/main1.webp);
        margin-top: .4rem;
    }
    .binding{
        font-size: clamp(18px, .3rem, 30px);
        margin: 0 0 .6rem;
    }
    .binding span{
        display: block;
        letter-spacing: 1px;
    }
    .sec1 .main .s1-all-data{
        order: -1;
        background: initial;
        border: initial;
        border-radius: initial;
        font-size: clamp(16px, .18rem, 18px);
        margin: 0.2rem 0 .5rem;
    }
    .sec1 .main .r1{
        display: none;
    }
    .sec1 .main .s1-list ul li{
        flex-wrap: wrap;
        height: auto;
        flex-wrap: wrap;
        max-height:initial;
    }
    .sec1 .main .s1-list ul li h4{
        writing-mode: initial;
        height: auto;
        width: 100%;
        padding: .1rem 0;
        justify-content: flex-start;
        font-size: clamp(12px, .16rem, 16px);
        padding: .15rem 0rem .15rem .1rem;
        border-radius: 6px 6px 0 0;
        margin-right: 0rem;
    }
    .sec1 .main .s1-list ul li a {
        right: 0.2rem;
        bottom: auto;
        top: 0.04rem;
    }
    .sec1 .main .s1-list ul li div{
        margin: .1rem 0;
    }
    .s1-list-itm{
        height: 7rem;
    }
    .sec1 .main .s1-list ul{
        max-height: 7rem;
        display: block;
    }
    .sec2 {
        height: 14.36rem;
        background-image: url(./images/mobile/sec2.webp);
    }
    .sec2 .main{
        width: 100%;
        max-width: 6.94rem;
        height: 10.34rem;
        align-items: center;
        background-image: url(./images/mobile/main2.webp);
        
    }
    .s2-itm{
        margin: .56rem 0 0 .5rem;
    }
    .sec2 .main .r2{
        display: none;
    }
    .sec2 .main .stored-itm{
        padding: 0.2rem .2rem 0 1rem;
    }
    .s2-list-itm-header span{
        height: 1.8rem;
    }
    .s2-list-itm{
        width: 6rem;
    }
    .s2-list-itm ul{
        height: 1.8rem;
        padding-top: .28rem;
    }
    .s2-list-itm ul li{
        width: 1rem;
    }


    .sec3 {
        height: 18.6rem;
        background-image: url(./images/mobile/sec3.webp);
    }
    .s3-list{
        width: 96%;
    }
    .sec3.curl .s3-list{
        display: flex;
        flex-direction: column;
    }
    .s3-2-display{
        margin-top: .3rem;
    }
    .s3-list .s3-display .gold{
        display: none;
    }
    .sec3.curl {
        background-image: url(./images/mobile/sec3-curl.webp);
        height: 18.6rem;
    }
    .lattice{
        width: 100%;
        max-width: 6.9rem;
        height: 9.61rem;
        background-image: url(./images/mobile/main3.webp);
    }
    .lattice ul li{
        width: .9rem;
        height: .9rem;
        font-size: clamp(8px, .12rem, 12px);
    }
    .lattice ul li:nth-child(4), .lattice ul li:nth-child(12), .lattice ul li:nth-child(20), .lattice ul li:nth-child(28){
        width: .9rem;
    }
    .lattice ul li:nth-child(1) span {
        background-image: url(./images/mobile/latticebg-start.webp);
    }
    .lattice ul li:nth-child(4) span, .lattice ul li:nth-child(12) span, .lattice ul li:nth-child(20) span, .lattice ul li:nth-child(28) span{
        background-image: url(./images/mobile/latticebg-long.webp);
    }
    .lattice ul li span{
        background-image: url(./images/mobile/latticebg.webp);
    }
    .lattice ul li:nth-child(1) {
        right: .1rem;
        top: initial;
        bottom: .1rem;
    }

    .lattice ul li:nth-child(2) {
        right: .1rem;
        top: inherit;
        bottom: 1.05rem;
    }

    .lattice ul li:nth-child(3) {
        right: .1rem;
        top: inherit;
        bottom: 2rem;
    }

    .lattice ul li:nth-child(4) {
        right: .1rem;
        top: inherit;
        bottom: 2.95rem;
    }
    
    .lattice ul li:nth-child(5) {
        right: .1rem;
        top: 4.8rem;
    }
    
    .lattice ul li:nth-child(6) {
        right: .1rem;
        top: 3.85rem;
    }
    
    .lattice ul li:nth-child(7) {
        right: .1rem;
        top: 2.9rem;
    }
    
    .lattice ul li:nth-child(8) {
        right: .1rem;
        top: 1.95rem;
    }
    
    .lattice ul li:nth-child(9) {
        right: .1rem;
        top: .95rem;
    }
    .lattice ul li:nth-child(10) {
        right: 1.05rem;
        top: .95rem;
    }
    
    .lattice ul li:nth-child(11) {
        right: 2.05rem;
        top: .95rem;
    }
    
    .lattice ul li:nth-child(12) {
        right: 2.05rem;
        top: 1.95rem;
    }
    
    .lattice ul li:nth-child(13) {
        left: initial;
        top: 2.9rem;
        right: 2.05rem;
    }
    
    .lattice ul li:nth-child(14) {
        left: 3rem;
        top: 2.9rem;
    }
    
    .lattice ul li:nth-child(15) {
        left: 2.05rem;
        top: 2.9rem;
    }
    
    .lattice ul li:nth-child(16) {
        left: 2.05rem;
        top: 1.95rem;
    }
    
    .lattice ul li:nth-child(17) {
        left: 2.05rem;
        top: 0.95rem;
    }
    
    .lattice ul li:nth-child(18) {
        left: 1.1rem;
        top: 0.95rem;
    }
    
    .lattice ul li:nth-child(19) {
        left: .1rem;
        top: 0.95rem;
    }
    
    .lattice ul li:nth-child(20) {
        left: .1rem;
        top: 1.95rem;
    }
    
    .lattice ul li:nth-child(21) {
        left: 0.1rem;
        top: 2.9rem;
    }
    
    .lattice ul li:nth-child(22) {
        left: .1rem;
        top: 3.85rem;
    }
    
    .lattice ul li:nth-child(23) {
        left: .1rem;
        top: 4.8rem;
    }
    
    .lattice ul li:nth-child(24) {
        left: .1rem;
        top: inherit;
        bottom: 2.95rem;
    }
    
    .lattice ul li:nth-child(25) {
        left: .1rem;
        top: inherit;
        bottom: 2rem;
    }
    
    .lattice ul li:nth-child(26) {
        left: .1rem;
        top: inherit;
        bottom: 1.05rem;
    }
    
    .lattice ul li:nth-child(27) {
        left: .1rem;
        top: inherit;
        bottom: .1rem;
    }
    
    .lattice ul li:nth-child(28) {
        left: 1.1rem;
        top: inherit;
        bottom: .1rem;
    }
    
    .lattice ul li:nth-child(29) {
        right: inherit;
        top: inherit;
        bottom: .1rem;
        left: 2.05rem;
    }
    
    .lattice ul li:nth-child(30) {
        right: inherit;
        top: inherit;
        bottom: 1.05rem;
        left: 2.05rem;
    }
    
    .lattice ul li:nth-child(31) {
        right: inherit;
        left: 3rem;
        top: inherit;
        bottom: 1.05rem;
    }
    
    .lattice ul li:nth-child(32) {
        right: 2.05rem;
        top: inherit;
        bottom: 1.05rem;
    }
    
    .lattice ul li:nth-child(33) {
        right: 2.05rem;
        top: inherit;
        bottom: .1rem;
    }
    
    .lattice ul li:nth-child(34) {
        right: 1.05rem;
        top: inherit;
        bottom: .1rem;
    }
    .lattice ul li:nth-child(2) .int,.lattice ul li:nth-child(3) .int,
    .lattice ul li:nth-child(4) .int,.lattice ul li:nth-child(5) .int,
    .lattice ul li:nth-child(6) .int,.lattice ul li:nth-child(7) .int,
    .lattice ul li:nth-child(8) .int,.lattice ul li:nth-child(9) .int{
        left: 0;
    }
    .lattice ul li:nth-child(19) .int,.lattice ul li:nth-child(20) .int,
    .lattice ul li:nth-child(21) .int,.lattice ul li:nth-child(22) .int,
    .lattice ul li:nth-child(23) .int,.lattice ul li:nth-child(24) .int,
    .lattice ul li:nth-child(25) .int,.lattice ul li:nth-child(26) .int,
    .lattice ul li:nth-child(27) .int{
        left: 100%;
    }

    .draw-itm{
        bottom: 2rem;
        background: none;
        height: auto;
    }
    .draw-itm p{
        background: #572625;
        padding: .1rem;
        border-radius: 4px;
        border: 1px solid #bd403d;
        line-height: 1;
    }
    .draw-itm .gold{
        display: block;
        color: #fff;
        display: flex;
        align-items: center;
        margin-bottom: .1rem;
        background: #572625;
        padding: .1rem;
        border-radius: 4px;
        border: 1px solid #bd403d;
        line-height: 1;
    }
    .draw-itm .gold em{
        font-size: clamp(12px, .22rem, 22px);
        color: #fff497;
        margin: 0 .1rem;
        font-weight: bold;
    }
    .draw-itm .d-num-list{
        order: 1;
        margin-top: .1rem;
        justify-content: space-around;
    }
    .draw-itm .d-num-list span{
        width: .9rem;
        height: .4rem;
        line-height: .4rem;
    }
    .draw-itm .d-but{
        position: initial;
    }
    .operate {
        right: 0;
        left: 0;
        margin: auto;
        top: 0.05rem;
        width: 3.77rem;
    }
    .animation{
        display: none;
    }
    .sec4 {
        height: 13.53rem;
        background-image: url(./images/mobile/sec4.webp);
    }
    .sec4 .main{
        width: 100%;
        max-width: 7.37rem;
        height: 9.19rem;
        background-image: url(./images/mobile/main4.webp);
        
    }
    .s4-list-itm{
        height: 6.8rem;
    }
    .sec4 .main ul{
        grid-template-columns: repeat(2, 1fr);
        height: 6.8rem;
    }
    .sec4 .main ul li{
        font-size: clamp(10px, .14rem, 14px);
        grid-template-columns: .6rem 1fr;
        padding: 0 .1rem 0 .14rem;
        gap: 0rem 0.34rem;
    }
    .sec4 .main ul li img{
        width: .6rem;
        height: .6rem;
    }

}