html,body{
    scroll-behavior: smooth;
}

#lineaBlock {
    background-image: url("../images/miniSanto/bg_page_m.jpg");
    background-position: center center;
    background-size: 751px 100%;
    min-height: 1300px;
    height: unset;
    position: relative;
}

.nft-shop-wrapper {
    flex-direction: column;
}

.nft-shop-elem {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

#activityTimeArea {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 5px auto;
}

#activityTimeArea > .activity-time {
    font-size: 28px;
    color: #feffad;
}

#activityTimeArea > .activity-countdown {
    margin: 10px 0 10px;
    color: #f29dfb;
    font-size: 20px;
}

.status-flag {
    background-color: #f29dfb;
    color: black;
    font-size: 16px;
    padding: 3px 7px;
    border-radius: 5px;
    line-height: 40px;
    vertical-align: middle;
    overflow: hidden;
    white-space: nowrap;
}

.list-area {
    text-align: center;
}

.list-area > a {
    color: white;
    text-decoration-color: white;
    text-decoration-line: underline;
    margin-right: 20px;
    cursor: pointer;
}

.nft-shop-elem > .nft-info {
    width: 300px;
}

#nftImage {
    width: 300px;
    height: 300px;
}

#nftImage > img{
    width: 290px;
    height: 290px;
    padding: 5px;
}

@keyframes moveDown-5 {
    from {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
    to {
        transform: translateY(0);
    }
}

#rightTip {
    color: #b3fc68;
    animation: moveDown-5 1s infinite;
}

#rightTip > p {
    text-shadow: 0 3px #2a942c, 3px 0 #2a942c, -3px 0 #2a942c, 0 -3px #2a942c;
    /*-webkit-text-stroke: 2px #2a942c;*/
    font-size: 25px;
}

#rightTip > a > img {
    width: 70px;
}

.nft-intro {
    width: 95%;
    color: white;
    margin: 10px 0 0 0;
}

.nft-intro > .title {
    font-size: 40px;
    margin-top: 35px;
}

.nft-intro > .sub-title {
    font-size: 13px;
    margin-top: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.nft-intro > .mint-tip-title {
    color: #f29dfb;
    margin-top: 5px;
}

.nft-intro > .chain-info {
    background-image: url("../images/miniSanto/bg_desc.png");
    background-size: 100% 100%;
    border-radius: 8px;
    display: flex;
    align-items: start;
    margin-top: 10px;
    padding: 10px 5px;
}

.nft-intro > .chain-info > img {
    width: 56px;
    margin: 0 10px;
}

#openButton {
    background-image: var(--img-btn-red2);
    background-repeat: no-repeat;
    background-size: 200px auto;
    margin: 40px 0 20px;
    width: 200px;
    height: 65px;
    line-height: 65px;
    text-align: center;
    cursor: pointer;
    color: #f4e7c1;
    font-size: 20px;
}

.button-area {
    display: flex;
    justify-content: center;
    position: relative;
}

.button-class {
    background-image: url("../images/common/nft_menu_focus.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin: 20px 0 20px;
    width: 220px;
    height: 65px;
    line-height: 65px;
    text-align: center;
    cursor: pointer;
    color: #f4e7c1;
    font-size: 20px;

    display: flex;
    justify-content: center;
}

#mintPrice {
    margin-right: 15px;
}

.button-area-2 {
    justify-content: flex-start;
}

.button-area-2 > .button-class {
    width: 200px;
    z-index: 1;
}

.button-area > .guarantee-area {
    position: absolute;
    left: 190px;
    top: 12px;
}

.button-area > .guarantee-area > .guarantee-tip {
    font-size: 9px;
    line-height: 14px;
    margin-left: 2px;
    text-shadow: 0 1px black, 1px 0 black, -1px 0 black, 0 -1px black;
    overflow: hidden;
    white-space: nowrap;
}

.button-area > .guarantee-area > .guarantee-status {
    background-image: url("../images/miniSanto/bg_guarantee.png");
    background-repeat: no-repeat;
    background-size: 100% 53px;
    display: flex;
    align-items: center;
    height: 53px;
}

.button-area > .guarantee-area > .guarantee-status > #guaranteeAmount {
    margin-left: 30px;
    margin-right: 10px;
}

.mini-santo-right {
    background-image: url("../images/miniSanto/bg_right_m.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 97%;
    margin: 0 auto 170px;
    scroll-margin-top: 175px;
}

.mini-santo-right > .title {
    color: #f2fe8d;
    padding-top: 18px;
    text-align: center;
    font-size: 15px;
}

.mini-santo-right > .list {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: repeat(8, 70px);
    justify-items: start;
    margin: 32px 20px 0 30px;
    font-size: 14px;
    padding-bottom: 50px;
}

.mini-santo-right > .list > .elem {
    display: flex;
    color: #c1fafc;
    margin-top: 5px;
    align-items: center;
}

.mini-santo-right > .list > .elem > img {
    width: 50px;
    height: 50px;
}

.mini-santo-right > .list > .elem > span {
    margin-left: 5px;
    line-height: 18px;
}

.mint-amount-area {
    display: flex;
    flex-wrap: nowrap;
    color: #fcfade;
    margin-top: 20px;
}

.mint-amount-button {
    width: 55px;
    height: 55px;
    border: 5px solid #82fbe2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mint-amount-button::selection {
    background-color: unset;
}

#minAmount::selection{
    background-color: unset;
}

.mint-amount-button-disable {
    border: 5px solid #6f8281;
}

.mint-minus, .mint-plus {
    font-size: 35px;
    cursor: pointer;
}

.mint-amount {
    font-size: 28px;
    font-weight: bold;
    width: 130px;
    margin: 0 15px;
}

.mint-amount > span {
    cursor: default;
}

.cost-area {
    display: flex;
}

.mint-cost, .mint-balance {
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
    color: #ffffea;
}

.mint-cost > span:first-child {
    margin-right: 5px;
    /*color: #81f6df;*/
}

.mint-cost > span:last-child {
    /*color: #dabb78;*/
    margin-right: 20px;
}

.mint-balance > span:first-child {
    color: #d798f1;
}

.mini-button {
    background-image: var(--img-btn-green2);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 100px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    color: #f4e7c1;
    font-size: 14px;
    margin-left: 5px;
}

.npc {
    position: absolute;
    height: 230px;
    left: calc(50% + 60px);
    bottom: 0;
}


.banner {
    margin: 0 auto;
    text-align: center;
    cursor: pointer;
}

.banner > a > img {
    width: 90%;
}

#rewardDialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 95%;
    min-height: 500px;
}

#rewardDialog > .dialog-wrapper {
    background-image: url("../images/miniSanto/reward_list_bg.png");
    background-size: 100% 100%;
    border-radius: 15px;
    padding: 40px 20px 40px 15px;
    min-height: 350px;
}

#rewardDialog > .dialog-wrapper > .reward-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    min-height: 200px;
}

#rewardDialog > .dialog-wrapper > .reward-area > .reward-elem {
    background-image: url("../images/miniSanto/reward_elem_bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

#rewardDialog > .dialog-wrapper > .reward-area > .reward-elem > img {
    width: 80%;
    height: 80%;
}

#rewardDialog > .dialog-wrapper > .reward-area > .reward-elem > span {
    position: absolute;
    right: 10px;
    top: 5px;
    color: darkred;
}

#rewardDialog > .dialog-wrapper > .reward-tip {
    color: darkred;
    text-align: center;
    margin-top: 5px;
}

#rewardDialog > .dialog-wrapper > .button-area {
    margin: 20px auto;
    justify-content: space-evenly;
}

#rewardDialog > .dialog-wrapper .reward-button {
    background-image: url("../images/common/btn_bg_red4.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 200px;
    height: 64px;
    line-height: 64px;
    color: #f4e7c1;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    position: relative;
}

#rewardDialog > .tip-close {
    margin-top: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    top: -40px;
}

#rewardDialog > .tip-close .tip-close-btn {
    width: 50px;
    height: 50px;
    background-image: url("../images/miniSanto/reward_close_btn.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    cursor: pointer;
}



#historyDialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 95%;
}

#historyDialog > .dialog-wrapper {
    background-image: url("../images/common/bg_dialog_1.png");
    background-size: 100% 100%;
    border-radius: 15px;
    min-height: 500px;
    padding-top: 10px;
}

#historyDialog > .dialog-wrapper > .title {
    text-align: center;
    color: #f4e7c1;
    height: 42px;
    line-height: 42px;
}

#historyDialog > .dialog-wrapper > .desc {
    text-align: center;
    color: #8e6138;
    padding-bottom: 20px;
    width: 85%;
    margin: 0 auto;
}

#historyDialog > .dialog-wrapper > .reward-area {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;

    margin: 15px 10px 10px;
    height: 400px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-right: 10px;
    background-color: #e1cfa6;
    border-radius: 10px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-img {
    background-image: url("../images/miniSanto/reward_elem_bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    margin: 5px 0 5px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-img > img {
    width: 70px;
    height: 70px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-info {
    width: calc(100% - 200px);
    margin-left: 20px;
    color: #8e6138;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-info > .history-reward-name {
    font-size: 13px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-info > .history-reward-time{
    color: #b58e6a;
    font-size: 10px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-status {
    width: 130px;
    text-align: center;
    color: #39911e;
    font-size: 22px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-status > .history-reward-claimed {
    margin-top: 20px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-status > .history-reward-claimed > img {
    width: 35px;
}

#historyDialog > .dialog-wrapper > .reward-area > .history-elem > .history-reward-status > .history-reward-btn {
    background-image: url("../images/common/btn_bg_red4.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100px;
    height: 50px;
    line-height: 50px;
    color: #f4e7c1;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    position: relative;
    font-size: 16px;
}

#historyDialog > .tip-close {
    margin-top: 20px;
    text-align: center;
    position: absolute;
    right: 50px;
    top: -9px;
}

#historyDialog > .tip-close .tip-close-btn {
    width: 40px;
    height: 40px;
    background-image: url("../images/miniSanto/reward_close_btn.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    cursor: pointer;
}


#specDialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 90%;
    max-width: 350px;
    min-height: 500px;
}

#specDialog > .dialog-wrapper {
    background-image: url("../images/miniSanto/reward_list_bg.png");
    background-size: 100% 100%;
    border-radius: 15px;
    padding: 25px 30px 40px 15px;
    min-height: 150px;
}

#specDialog > .dialog-wrapper > .title {
    color: #8e6138;;
    text-align: center;
    font-size: 18px;
}

#specDialog > .dialog-wrapper > .spec-detail {
    width: 100%;
    margin: 20px auto 0;
}

#specDialog > .dialog-wrapper > .spec-detail > img {
    width: 99%;
}


#specDialog > .tip-close {
    margin-top: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    top: -40px;
}

#specDialog > .tip-close .tip-close-btn {
    width: 45px;
    height: 45px;
    background-image: url("../images/miniSanto/reward_close_btn.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    cursor: pointer;
}



#accountTipDialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 95%;
    max-width: 350px;
}

#accountTipDialog > .dialog-wrapper {
    background-image: url("../images/common/bg_dialog_2.png");
    background-size: 100% 100%;
    padding: 30px 20px;
    min-height: 250px;
}

#accountTipDialog > .dialog-wrapper > .desc {
    color: #8e6138;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#accountTipDialog > .dialog-wrapper > .button-area {
    margin: 20px auto;
    justify-content: space-evenly;
}

#accountTipDialog > .dialog-wrapper .dialog-btn {
    width: 150px;
    height: 55px;
    line-height: 55px;
    color: #f4e7c1;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    position: relative;
}

#accountTipDialog > .dialog-wrapper .button-green {
    background-image: url("../images/common/btn_bg_red4.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#accountTipDialog > .dialog-wrapper .button-orange {
    background-image: url("../images/common/btn_bg_green.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#accountTipDialog > .close-btn {
    position: absolute;
    right: -15px;
    top: -15px;

    width: 45px;
    height: 45px;
    background-image: url("../images/common/btn_close_2.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    cursor: pointer;
}


#accountListDialog {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    width: 95%;
}

#accountListDialog > .dialog-wrapper {
    background-image: url("../images/event202406/list_bg_dialog.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding-bottom: 30px;
    height: 340px;
}

#accountListDialog > .dialog-wrapper > .title {
    font-size: 13px;
    text-align: center;
    height: 45px;
    line-height: 45px;
    color: #f5e6c0;
}

#accountListDialog > .dialog-wrapper > .list {
    background-image: url("../images/event202406/list_bg_shadow.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 96%;
    height: 240px;
    display: flex;
    flex-wrap: wrap;
    overflow-y: scroll;
    overflow-x: hidden;
    margin: 15px auto 0;
    justify-content: center;
}

#accountListDialog > .dialog-wrapper > .list > .list-elem {
    background-image: url("../images/event202406/list_elem_bg.png");
    background-repeat: no-repeat;
    background-size: 75px 75px;
    background-position: center top;
    height: 110px;
    width: 80px;
    margin-top: 15px;
    text-align: center;
    color: #9b7c3f;
    font-size: 10px;
    position: relative;
}

#accountListDialog > .dialog-wrapper > .list > .list-elem > .account-name {
    margin-top: 5px;
    line-height: 15px;
}

#accountListDialog > .dialog-wrapper > .list > .list-elem > img {
    width: 64px;
    margin: 4px auto 0;
}

#accountListDialog > .dialog-wrapper > .list > .list-elem > img.list-elem-sel {
    position: absolute;
    top: 1px;
    left: 4px;
    width: 70px;
    margin: 0 auto;
}

#accountListDialog > .dialog-wrapper > .list > .list-elem > .list-elem-name {
    color: #9b7c3f;
}

#accountListDialog > .dialog-wrapper > .button-area {
    margin-top: 10px;
    color: #f5e6c0;
}

#accountListDialog > .dialog-wrapper > .button-area > .step-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

#accountListDialog > .dialog-wrapper > .button-area > .step-button > img {
    width: 120px;
}

#accountListDialog > .dialog-wrapper > .button-area > .step-button > span {
    position: absolute;
    font-size: 12px;
}