
.wk-emojitoolbar {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}


.wk-emojitoolbar img {
    width: 20px;
    height: 20px;
}

.wk-emojitoolbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-emojitoolbar .wk-toolbar-icon {
    transition: color 0.15s;
}
.wk-emojitoolbar:hover .wk-toolbar-icon {
    color: var(--wk-brand-primary) !important;
}

.wk-emojitoolbar-emojipanel {
    max-width: 460px;
    height: 372px;
    background-color: var(--wk-color-item);
    position: absolute;
    left: 20px;
    top: calc(-372px - 15px);
    box-shadow: 0 0.25rem 0.5rem 0.125rem rgba(114,114,114,0.25098);
    border-radius: 0.75rem;
   
    transition: opacity .2s cubic-bezier(0.2, 0, 0.2, 1),transform .2s cubic-bezier(0.2, 0, 0.2, 1) !important;
    transform-origin: left bottom;
    visibility: hidden;
    z-index: 999;
}

body[theme-mode=dark] .wk-emojitoolbar-emojipanel {
    box-shadow: 0 0.25rem 0.5rem 0.125rem rgba(0,0,0,0.85098);
}

.wk-emojitoolbar-emojipanel-show {
    animation: emojiPanelAnimationShow 0.25s;
    -webkit-animation: emojiPanelAnimationShow 0.25s; /* Safari 与 Chrome */
    visibility: visible;
}

.wk-emojitoolbar-emojipanel-hide {
    animation: emojiPanelAnimationHide 0.25s;
    -webkit-animation: emojiPanelAnimationHide 0.25s; /* Safari 与 Chrome */
    visibility: visible;
}

@keyframes emojiPanelAnimationShow {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

@keyframes emojiPanelAnimationHide {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0);
    }
}

.wk-emojipanel {
    width: 100%;
    height: 100%;
    
}

.wk-emojipanel-tab {
    width: 100%;
    height: 40px;
    background-color: var(--wk-color-secondary);
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;

    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

.wk-emojipanel-content {
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
    overflow-y: auto;
}

.wk-emojipanel-content ul {
    user-select: none;
    padding: 13px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    margin-left: 8px;
}

.wk-emojipanel-content ul li {
    cursor: pointer;
    padding: 6px 4px;
}

.wk-emojipanel-content ul li img {
    height: 28px;
    width: 28px;
    margin: auto;
    display: block;

    transition:transform .3s;
	-moz-transition:transform .3s;
	-webkit-transition:transform .3s;
	-o-transition:transform .3s;
}

.wk-emojipanel-tab-item {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wk-emojipanel-tab-item-selected {
    background-color: white;
}

body[theme-mode=dark] .wk-emojipanel-tab-item-selected {
    background-color: var(--wk-color-secondary-2);
}

.wk-emojitoolbar-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top:0px;
    left: 0px;
    z-index: 998;
    cursor: default;
}