
body,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
p,
form,
figure,
dl,
dd {
    margin: 0;
    font-family: "Helvetica";
    font-size: 12px;
}
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
main {
    display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}
a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
img {
    border: none;
    vertical-align: top;
}
input,
button,
select,
textarea {
    vertical-align: top;
    outline: none;
    padding: 0;
    margin: 0;
    -webkit-appearance: none;
    border-radius: 0;
}
body * {
    -webkit-text-size-adjust: 100%;
}
strong {
    font-weight: normal;
}
textarea {
    resize: none;
    overflow: auto;
}

/* chat-wraps */
html,body {
    height: 100%;
}
.chat-wraps {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
}
/* 导航 */
.top-nav {
    height: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #F9F9F9;
}
.top-nav h3 {
    font-size: .36rem;
    font-weight: bold;
    color: #181818;
}
.nav-peoples {
    display: flex;
    align-items: center;
    margin-top: .02rem;
}
.nav-peoples span {
    width: .14rem;
    height: .14rem;
    background: #05E07A;
    border-radius: 50%;
}
.nav-peoples p {
    font-size: .24rem;
    color: #808080;
    margin-left: .1rem;
}
/* 聊天区域 */
.chat-area {
    flex: 1;
    overflow-y: auto;
    background: #f5f5f5;
    box-sizing: border-box;
    padding: .2rem 0 .18rem .3rem;
    transition: .2s;
}
.chat-area::-webkit-scrollbar { 
    width: 0 !important;
}
.chat-tip {
    text-align: center;
    font-size: .24rem;
    color: #BBBBBB;
}
.chat-tip span {
    color: #335582;
}
.chat-item {
    margin-top: .4rem;
    display: flex;
    opacity: 0;
    transition: .15s;
    position: relative;
    bottom: -0.4rem;
}
.chat-item.mt {
    margin-top: .24rem;
}
.avatar {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    margin-right: .24rem;
}
.chat-desc h3 {
    color: #808080;
    font-size: .28rem;
}
.chat-desc p {
    background: #FFFFFF;
    border-radius: 0 .2rem .2rem .2rem;
    margin-top: .07rem;
    /* width: 5rem; */
    height: .96rem;
    display: flex;
    align-items: center;
    padding: 0 .28rem;
    box-sizing: border-box;
    font-size: .34rem;
    color: #181818;
    white-space: nowrap;
}
.chat-desc p.wth {
    width: 3.1rem;
}
.chat-desc .expression {
    margin-top: .07rem;
    width: 1.8rem;
    height: 1.8rem;
}
.chat-desc .red-packet {
    position: relative;
    margin-top: .07rem;
    width: 4.5rem;
    height: 1.8rem;
    background: #F25F4D;
    box-shadow: 0 .04rem .1rem 0 rgba(195, 62, 53, 0.3);
    border-radius: .2rem;
}
.red-line {
    position: absolute;
    left: 0;
    right: 0;
    top: .24rem;
    height: .4rem;
    width: 100%;
}
.red-open {
    position: absolute;
    left: 1.84rem;
    top: .16rem;
    width: .8rem;
    height: .8rem;
}
.red-packet h4 {
    position: absolute;
    left: .99rem;
    bottom: .3rem;
    color: #FFFED2;
    font-size: .28rem;
    font-weight: bold;
}
.red-finger {
    position: absolute;
    z-index: 2;
    right: -0.38rem;
    bottom: -1.06rem;
    width: 1.38rem;
    height: 1.5rem;
    animation: fingerHandle .5s ease-in-out infinite both;
}
@keyframes fingerHandle {
    0% {
        transform: none;
    }
    70% {
        transform: scale3d(.8, .8, .8);
    }
    100% {
        transform: none;
    }
}
.getred-wraps {
    margin-top: .4rem;
    height: 1.86rem;
    overflow: hidden;
    /* background-color: #f00; */
    box-sizing: border-box;
}
#reds1 {
    transition: .2s;
}
.get-tips {
    height: .62rem;
    margin-right: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}
.get-tips1 {
    height: .62rem;
    margin-right: .3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.get-tips.mt {
    margin-top: .4rem;
}
.get-tips.nomt {
    margin-top: 0;
}
.tips-inner {
    display: flex;
    align-items: center;
    height: .42rem;
    border-radius: .08rem;
    background: #fff;
    box-sizing: border-box;
    padding: 0 .12rem 0 .06rem;
}
.tips-inner img {
    width: .26rem;
    height: .3rem;
    margin-right: .12rem;
}
.tips-inner p {
    font-size: .28rem;
    color: #181818;
}
.tips-inner .who {
    color: #335582;
}
.tips-inner .txts {
    color: #FF8800;
}

/* 底部区域 */
.btm-footer {
    height: 1.12rem;
    background: #F9F9F9;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: .16rem .24rem;
}
.btm-footer img {
    width: .54rem;
    height: .54rem;
}
.btm-inputs {
    height: 100%;
    flex: 1;
    margin: 0 .24rem;
    background: #fff;
    border-radius: .1rem;
}
.btm-right-ic {
    display: flex;
    align-items: center;
}
.btm-emoji {
    margin-right: .24rem;
}

/* 红包弹窗 */
.modal-redpacket {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: rgba(255, 255, 255, .8);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-inners {
    position: relative;
    /* animation: modalScale .7s ease-in-out infinite both; */
}
@keyframes modalScale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes modalScale2 {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}
.modal-top {
    width: 5.1rem;
    height: 6.29rem;
    background: url('imgs/popup_redpacket_top.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 0;
    transition: .7s;
}
.modal-top img {
    margin-top: 1.1rem;
    width: .8rem;
    height: .8rem;
    border-radius: .1rem;
}
.modal-top h3 {
    margin-top: .24rem;
    font-size: .32rem;
    color: #FFFED2;
}
.modal-top h4 {
    margin-top: .24rem;
    font-size: .48rem;
    font-weight: bold;
    color: #FFFED2;
}
.modal-btm {
    width: 5.1rem;
    height: 2.47rem;
    background: url('imgs/popup_redpacket_bottom.png') no-repeat;
    background-size: 100% 100%;
    margin-top: -0.58rem;
    position: relative;
    bottom: 0;
    transition: 1s;
}
.modal-btm h3 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .2rem;
    font-size: .28rem;
    color: #FFFED2;
    text-align: center;
}
.btn-open {
    position: absolute;
    left: 1.8rem;
    top: 5.54rem;
    width: 1.5rem;
    height: 1.5rem;
    animation: modalScale2 .5s ease-in-out infinite both;
    /* animation: rotateOpen 1s ease-in-out; */
}
@keyframes rotateOpen {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}
.modal-inners .close {
    margin-top: .8rem;
    display: flex;
    justify-content: center;
}
.modal-inners .close img {
    width: .48rem;
    height: .48rem;
}

/* 提现部分 */
.draw-areas {
    height: 100%;
    overflow: hidden;
    position: relative;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}
.mask-white {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.12rem;
    height: 5.47rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}
.draw-moneys {
    height: 6.64rem;
    background: url('imgs/bg_top.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.draw-moneys .back {
    width: .2rem;
    height: .36rem;
    position: absolute;
    left: .34rem;
    top: .32rem;
}
.draw-person-red {
    margin: .92rem auto 0;
    display: flex;
    align-items: center;
}
.draw-person-red img {
    width: .48rem;
    height: .48rem;
    border-radius: .1rem;
}
.draw-person-red h3 {
    font-size: .4rem;
    color: #FDFED2;
    margin-left: .17rem;
    font-weight: bold;
}
.draw-moneys .moneys {
    margin-top: .52rem;
    color: #FFFED2;
    font-weight: bold;
    display: flex;
    margin-left: .12rem;
}
.draw-moneys .moneys h5 {
    font-size: 1.4rem;
    line-height: 1.63rem;
    font-family: DINAlternate-Bold, DINAlternate;
}
.draw-moneys .moneys span {
    font-size: .4rem;
    margin-left: .08rem;
    margin-top: 0.84rem;
    font-family: PingFangSC-Semibold, PingFang SC;
}
.draw-tip {
    font-size: .32rem;
    color: #FFFDD2;
    font-weight: normal;
}
.to-draw-txt {
    margin-top: .6rem;
    width: 3.5rem;
    height: .9rem;
    background: linear-gradient(180deg, #FEFDDF 0%, #FFFF78 100%);
    box-shadow: 0 -0.05rem 0.05rem 0 rgba(255, 253, 224, 0.3);
    border-radius: .45rem;
    /* border: .04rem solid #FFDD77; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .4rem;
    color: #FF3F3D;
    font-weight: bold;
    position: relative;
}
.to-draw-txt .arrow {
    margin-left: .1rem;
    width: .23rem;
    height: .40rem;
}
.hand-tip {
    position: absolute;
    right: -0.35rem;
    bottom: -1.03rem;
    width: 1.38rem;
    height: 1.5rem;
    animation: fingerHandle .5s ease-in-out infinite both;
}
/* 红包列表 */
.member-list {
    margin: .4rem .32rem 0;
}
.member-item {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: .2rem 0;
    position: relative;
}
.gap-line {
    position: absolute;
    right: -0.32rem;
    bottom: 0;
    height: 1px;
    left: 1.28rem;
    background: #eee;
}
.member-avatar {
    width: .96rem;
    height: .96rem;
    margin-right: .32rem;
    border-radius: 50%;
}
.member-desc {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.member-name-time {

}
.member-name-time h3 {
    font-size: .32rem;
    color: #181818;
}
.member-name-time p {
    margin-top: .04rem;
    font-size: .24rem;
    color: #AFAFAF;
}
.member-moneys {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.member-moneys h3 {
    font-size: .32rem;
    color: #181818;
}
.member-no1 {
    margin-top: .04rem;
    display: flex;
    align-items: center;
}
.member-no1 img {
    width: .36rem;
    height: .26rem;
}
.member-no1 span {
    margin-left: .04rem;
    font-size: .24rem;
    color: #FFAF00;
}

/* 中奖区域 */
.reward-scroll {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.12rem;
    background: #F9F9F9;
    border-top: 1px solid #E9E9E9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    padding: 0 .32rem;
}
.reward-left {
    display: flex;
    align-items: center;
}
.reward-left img {
    width: .96rem;
    height: .96rem;
    margin-right: .32rem;
}
.reward-wraps {
    height: 1.12rem;
    overflow: hidden;
}
.reward-desc {
    padding: .16rem 0;
}
.reward-desc p {
    font-size: .28rem;
    color: #181818;
    line-height: .4rem;
}
.reward-desc p .whoname {
    color: #335582;
}
.reward-desc p .whored {
    color: #FF8800;
}
.reward-close {
    font-size: .32rem;
    color: #ddd;
}