emoji_btn {
    position: absolute;
    display: inline-block;
    cursor: pointer;
    width: 25px;
    height: 25px
}

.emoji_container * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.emoji_container {
    display: none;
    width: 60%;
    position: absolute;
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #bfbfbf;
    box-shadow: 0 1px 3px rgba(0,0,0,.176)
}

.emoji_container_prize {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
    z-index: 1001;
    background: #fff;
    border: 1px solid #bfbfbf;
    box-shadow: 0 1px 3px rgba(0,0,0,.176)
}

.emoji_com_prize {
    display: none;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10000
}

.emoji_prize_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4)
}

.emoji_container ul {
    list-style: none;
    padding-left: 0;
    margin: 0
}

.emoji_content,.emoji_content_prize {
    height: 277px;
    overflow-y: auto;
    padding: 5px
}

.emoji_prize_submit {
    background: #e54a4b;
    color: #fff;
    cursor: pointer;
    height: 32px;
    line-height: 32px;
    float: right;
    display: inline-block;
    margin-top: 5px;
    margin-right: 50px;
    font-size: 14px;
    border-radius: 3px;
    text-align: center;
    width: 85px
}

.emoji_content ul,.emoji_content_prize ul {
    padding-top: 1px;
    padding-left: 1px
}

.emoji_content_prize ul {
    margin: 0 auto
}

.emoji_content ul li {
    width: 54px;
    height: 54px;
    float: left;
    border: 1px solid #e3e3e3;
    margin-top: -1px;
    margin-left: -1px
}

.emoji_prize_top {
    position: relative;
    height: 40px;
    background: #fff
}

.emoji_prize_top h3 {
    text-align: center;
    width: 100%;
    line-height: 45px;
    font-size: 16px;
    font-weight: 700
}

.emoji_prize_close {
    position: absolute;
    line-height: 38px;
    font-size: 38px;
    right: 5px;
    top: 5px;
    text-align: center
}

#emoji_prize_ul {
    display: flex;
    flex-wrap: wrap
}

.emoji_content_prize ul li {
    width: calc(100% / 4);
    height: 80px;
    margin-bottom: 10px;
    box-sizing: border-box;
    flex-shrink: 0
}

.emoji_content_prize ul li a.active {
    background-color: #fff3e7;
    border-radius: 8px;
    border: 2px solid #e54a4b;
    box-shadow: 0 2px 4px 0 rgba(229,74,75,.3)
}

.emoji_icons_prize {
    width: 100%
}

.emoji_content ul li a,.emoji_content_prize ul li a {
    display: block;
    line-height: 54px;
    text-align: center;
    cursor: pointer
}

.emoji_content_prize ul li a {
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75px;
    border: 1px solid #e3e3e3;
    justify-content: center;
    margin: 0 auto
}

.emoji_content_prize ul li a span {
    line-height: 20px
}

.emoji_content ul li a img,.emoji_icon {
    vertical-align: middle;
    max-width: 26px;
    max-height: 26px
}

.emoji_content_prize ul li a img {
    vertical-align: middle;
    max-width: 54px;
    max-height: 54px
}

.emoji_content .mCSB_scrollTools {
    width: 10px
}

.emoji_content .mCSB_outside+.mCS-minimal-dark.mCSB_scrollTools_vertical,.emoji_content .mCSB_outside+.mCS-minimal.mCSB_scrollTools_vertical {
    margin: 5px 0
}

.emoji_tab,.emoji_tab_prize {
    background-color: #f7f7f7;
    border-top: 1px solid #e3e3e3;
    color: #666;
    height: 32px;
    position: relative
}

.emoji_tab_prize {
    height: 40px
}

.emoji_tab_prev {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px dashed;
    cursor: pointer;
    left: 8px;
    top: 12px;
    position: absolute;
    display: inline-block;
    height: 0;
    vertical-align: middle;
    width: 0
}

.emoji_tab_next {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px dashed;
    cursor: pointer;
    right: 7px;
    top: 12px;
    position: absolute;
    display: inline-block;
    height: 0;
    vertical-align: middle;
    width: 0
}

.emoji_tab_list {
    left: 22px;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%
}

.emoji_tab_list ul {
    width: 100%;
    transition: all .8s ease 0s
}

.emoji_tab_list ul li {
    border-top: 0 none;
    cursor: pointer;
    float: left;
    height: 22px;
    line-height: 22px;
    margin: 5px 4px 0 0;
    font-size: 12px;
    border-radius: 3px;
    text-align: center;
    width: 68px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}

.emoji_tab_list ul li:hover {
    background: #e5e5e5
}

.emoji_tab_list ul li.selected {
    color: #fff;
    background: #4682b4
}

.emoji_preview {
    position: absolute;
    top: 0;
    border: 1px solid #c8c8c8;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    background: #fff;
    text-align: center;
    line-height: 65px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.176);
    z-index: 2;
    display: none
}

.emoji_preview img {
    vertical-align: middle;
    max-width: 42px;
    max-height: 42px
}

.gift_container {
    height: 50px;
    background: linear-gradient(to right,rgba(204,0,0,.8),rgba(204,0,0,.4));
    border-radius: 0 50px 50px 0;
    position: fixed;
    left: 0;
    top: 300px;
    transition: all .4s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 7px;
    box-sizing: border-box;
    transform: translateX(-150px);
    z-index: 9999
}

.gift_container__show {
    transform: translateX(0);
    transition: all .4s
}

.gift_container .gift_container__left {
    display: flex;
    align-items: center
}

.gift_container .gift_container__left img {
    width: 20px;
    height: 20px
}

.gift_container .gift_container__left .text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    margin: 0 8px
}

.gift_container .gift_container__left .text>span:first-of-type {
    color: #fff
}

.gift_container .gift_container__left .text>span:last-of-type {
    color: rgba(255,255,255,.8)
}

.gift_container__emoji {
    width: 40px;
    height: 40px
}
