@keyframes scaleAnimation {
    0% {
        transform: scale(0.9); /* 初始大小 */
    }
    100% {
        transform: scale(1); /* 最终大小 */
    }
}

body {
    background: #FFA730;
    color: white;
}

#main {
    position: relative;
}

#main > * {
    position: absolute;
    transform: translateX(-50%);
    left: 50%
}

#main > .background,
.background {
    position: relative;
    width: 100%
}

#total-price-area{
    display: flex;
    z-index: 10;
    top: 16.5%;
    font-size: 13vw;
    color: #FF00C9;
    height: 6%;
    width: 52vw;
    font-weight: 700;
    justify-content: center;
    align-items: center;
}

#total-price-area span.str{
   font-size: 6vw;
}


.number-area-column{
    position: absolute;
    top: 30%;
    z-index: 10;
    font-size: 15vw;
    color: #8648FF;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4%;
}

.number-area-column > .number-area-row {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.number-area-column .number-area-row > div{
    width: 19%;
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: center;
}

#number-1 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/1.png);
}

#number-2 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/2.png);
}

#number-3 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/3.png);
}

#number-4 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/4.png);
}

#number-5 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/5.png);
}

#number-6 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/6.png);
}

#number-7 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/7.png);
}

#number-8 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/8.png);
}

#number-9 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/9.png);
}

#number-10 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/10.png);
}

#number-11 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/11.png);
}

#number-12 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/12.png);
}

#number-13 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/13.png);
}

#number-14 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/14.png);
}

#number-15 {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/15.png);
}

#number-1.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/1_active.png);
}

#number-2.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/2_active.png);
}

#number-3.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/3_active.png);
}

#number-4.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/4_active.png);
}

#number-5.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/5_active.png);
}

#number-6.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/6_active.png);
}

#number-7.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/7_active.png);
}

#number-8.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/8_active.png);
}

#number-9.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/9_active.png);
}

#number-10.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/10_active.png);
}

#number-11.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/11_active.png);
}

#number-12.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/12_active.png);
}

#number-13.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/13_active.png);
}

#number-14.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/14_active.png);
}

#number-15.active {
    background-image: url(/UPCampaign/upCampaignStorage/lotto/springlotto/number/15_active.png);
}

#winning-area{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100px;
    width: 100%;
    background: linear-gradient(to bottom, #953319, #891d00);
    padding-top: 15px;
}

#winning-area  span{
	font-size: 5vw;
}

#winning-area div{
     width: 95%
}

#winning-area div button{
    position: relative;
    display: flex;
    height: 18vw;
    justify-items: center;
    width: 100%;
    border: none;
    background: none;
}

#winning-area div button img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

#winning-area > div:nth-child(n+2){
    padding-top: 25px;
}

#winning-area div button div{
    position: relative;
    z-index: 12;
    display: flex;
    color: black;
    height: 100%;
    font-size: 8vw;
    align-items: center;
    justify-content: space-between;
}

#winning-area div button div.date-area{
    font-weight: bold;
    width: 29%;
    justify-content: center;
    margin-left: 2%;
    font-size: 6vw;
    color: #33994B;
}

#winning-area div button div.winning-number-area{
    font-weight: bold;
    width: 37.8%;
    margin-left: 1.5%;
    color: #FC4B2D;
}

#winning-area div button div.winning-number-area > span{
    min-width: 7vw;
}




#bet-count-area{
    z-index: 10;
    top: 27.8%;
    left: 57%;
    color: #FFFF51;
    font-size: 6vw;
}

#number-btn-area{
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    top: 40.2%;
    height: 13%;
    width: 85%;
}

#selected-numbers > span {
    width: 30%;
    align-self: center;
    text-align: center;
}

.popup_box {
    width: 50%
}

.send-btn{
    top: 37%;
    width: 50%;
    border: none;
    background: none;
}

.send-btn > img{

    width: 100%;
}

.reselect_btn{
    top: 53.2%;
    left: 27% !important;
    width: 40%;
    border: none;
    background: none;
}

.reselect_btn > img{

    width: 100%;
}



.add-btn{
    top: 27.9%;
    left: 72% !important;
    height: 1.6%;
    aspect-ratio: 1 / 1;
}

.add-btn > img{
    width: 100%
}


.random_btn{
    top: 53.2%;
    left: 73% !important;
    width: 40%;
    border: none;
    background: none;
}

.random_btn > img{

    width: 100%;
}


.check_btn{
    top: 59.5%;
    width: 42%;
    border: none;
    background: none;
}

.check_btn > img{

    width: 100%;
}



#selected-numbers {
    width: 60%;
    top: 31.3%;
    left: 50%;
    height: 6%;
    font-size: 15vw;
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
}



.modal-body {
    color:  #595757;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    padding: 0 !important;
    margin-bottom: 10px;
    font-size: 24px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.modal-footer {
    display: flex;
    flex-flow: column;
    width: 30% !important;
    
}


.modal-footer .cancel {
    background-color: #ffffff00 !important;
    border: none !important;
    text-decoration: underline;
    color: black !important;
}

.modal-footer .modal-popup-text{
   background-color: #ffffff00 !important;
    border: none !important;
    text-decoration: underline;
    color: black !important;
    font-size: 70%;
}

#accountList{
    width: 95% !important;
    border-radius: 10px;
    
}

#accountList li:nth-child(n+2){
   border-top: 1px solid #ddd !important;
}


.account-item{
    display: flex;
    background-color: unset;
    justify-content: space-between;
    border: unset;
}

.account-item .accountImg{
    align-self: center;
    width: 20%;
}
.account-item .accountImg img{

    width: 90%;
}


.upInfo{
    padding: 4%;
    font-size: 80%;
    align-self: center;
    text-align: left;
    width: 60%;
}

.upInfo p{
    margin: 0px !important;
    display: block !important;
}

.upInfo p:nth-child(1){
    color: #7e37fb;
    font-weight: 700;
}

.upInfo p:nth-child(2){
    color: #0000008c;
    font-size: 78%;
}



.account-select{
    align-self: center;
    width: 20%;

}

.account-select button{
    background-color: #33994b;
    width: 100%;
    display: inline;
    font-size: 75%;
    border-radius: 15px;
    border: 1px solid #80808042;
    color: white;
    padding: 3px 0px 3px 0px;
}


#bindingAccountList {

}

.other-account{
    width: 100%
}

.other-account label p{
    margin: 0px;
    font-size: 80%;
}

.other-account input{
    padding: 7% 0% 7% 0%;
    font-size: 70%;
    height: 50px;
}




.popup-modal {
    width: 90% !important;
    max-width: 90vw !important;
    font-size: 4vw !important;
    margin-bottom: 10%;
}

.popup-modal .modal-main-content{
    padding-top: 37%;
    padding-bottom: 9%;
}
.popup-modal .modal-main-content .modal-fotter{
    padding-top: 9%;
    padding-bottom: 9%;
}




.popup-modal .modal-button {

    font-size: 14px !important;
    line-height: unset !important;
    padding: 10% !important;
    background-color: #33994B !important;
    white-space: nowrap;
    border-color: #33994B !important;
}

.modal-body > input {
    border: none;
    border-radius: 40px;
    padding-left: 30px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 30px;
}

.popup-winning-area > span{
    font-size: 5vw;
}

.popup-winning-area > table{
    width: 100%;

}


#share-btn{
	position: absolute;
    z-index: 10;
    top: 79.3%;
    left: 77% !important;
    width: 35%;
    background: none;
    border: none;
}

#share-btn img{
  width: 100%;
}

.notice{
    background: none;
    color: #FFFFFF;
    width: 95%;
    position: absolute;
    font-size: 3.1vw;
    font-weight: 500;
    top: 82%;
}


.popup-winning-area td{
    font-size: 4vw;
    border: solid 1px;

}


.popup-recorde-area {
    margin-top: 20px;
    max-height: 150px;
    overflow-y: auto;
}


.popup-recorde-area > span{
    font-size: 5vw;
}

.popup-recorde-area > table{
    width: 100%;

}

.popup-recorde-area td{
    font-size: 4vw;
border: solid 1px;

}

