.update-wrapper{
    display: none;
    width: 400px;
    /* height: 500px; */
    padding: 20px;
    position: fixed;
    box-sizing: border-box;
    background-color: #fff;
    left: 50%;
    top: 50%;
    margin: -240px auto auto -200px;
    z-index: 900;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
}
.update-wrapper.active{
    display: block;
}
.update-wrapper h5{
    font-size: 20px;
    color: #222;
    height: 78px;
    line-height: 78px;
    text-align: center;
    margin-top: -20px;
}

.update-wrapper form p{
    color: rgba(34,34,34,.65);
    font-size: 14px;
    margin: 16px 0 8px;
}
.update-wrapper form input{
    font-size: 14px;
    height: 40px;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e2e2;
}
.update-wrapper form #update-submit{
    display: block;
    width: 120px;
    height: 40px;
    margin: 30px auto 20px;
    border: none;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(11,191,121,.3);
    background: linear-gradient(90deg,#4dc075 0,#1faf85);
}
.update-wrapper .update-closeImg {
    position: absolute;
    top: 19px;
    right: 19px;
    cursor: pointer;
}


.update-tip{
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 300px;
    /* height: 500px; */
    padding: 20px;
    position: fixed;
    box-sizing: border-box;
    background-color: #fff;
    left: 53.5%;
    top: 68%;
    margin: -240px auto auto -200px;
    z-index: 900;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    border-radius: 5px;
}
.update-tip.active{
    display: flex;
}
.update-tip p{
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}
.update-tip div{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.update-tip div button{
    width: 90px;
    height: 30px;
    margin: 30px auto 20px;
    border: none;
    line-height: 30px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(11,191,121,.3);
    background: linear-gradient(90deg,#4dc075 0,#1faf85);
    transition: all .7s linear;
}
.update-tip div button:hover{
    background: linear-gradient(90deg,#4dc075 0,#09634a);
}
.update-info {
    position: fixed;
    top: 38%;
    left: 46%;
    width: 120px;
    height: 40px;
    margin: 30px auto 20px;
    border: none;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(11,191,121,.5);
    background: linear-gradient(90deg,#4dc075 0,#1faf85);

    /* 初始状态：完全透明 + 缩小 */
    opacity: 0;
    transform: scale(0.8); /* 弹出动画的关键 */
    transition: none; /* 默认无过渡 */
    z-index: 900;
}

/* 显示状态：直接弹出（无动画） */
.update-info.active {
    opacity: 1;
    transform: scale(1); /* 直接变为正常大小 */
    transition: transform .1s ease-in;
}

/* 隐藏状态：淡出动画 */
.update-info.hide {
    opacity: 0;
    transition: opacity 0.9s linear; /* 仅淡出时有动画 */
}
