/*font*/
@font-face {
    font-family: 'vebochat';
    src: url('https://chat.vebotv.me//font/vebochat.eot');
    src: url('https://chat.vebotv.me//font/vebochat.eot#iefix') format('embedded-opentype'),
    url('https://chat.vebotv.me//font/vebochat.woff') format('woff'),
    url('https://chat.vebotv.me//font/vebochat.ttf') format('truetype'),
    url('https://chat.vebotv.me//font/vebochat.svg#vebochat') format('svg');
    font-weight: normal;
    font-style: normal;
}
.fa {
    font-family: "vebochat";
    font-style: normal;
    font-weight: normal;
    speak: never;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fa-pin:before { content: '\e800'; }
.fa-pin-1:before { content: '\e801'; }
.fa-emoji:before { content: '\e802'; }
.fa-block:before { content: '\e803'; }
.fa-cog:before { content: '\e804'; }
.fa-comment:before { content: '\e805'; }
.fa-bookmark:before { content: '\e806'; }
.fa-clock:before { content: '\e807'; }
.fa-bell-alt:before { content: '\f0f3'; }
.fa-angle-down:before { content: '\f107'; }
.fa-paper-plane:before { content: '\f1d8'; }
.fa-soccer-ball:before { content: '\f1e3'; }
.fa-trash:before { content: '\f1f8'; }
.fa-hourglass-3:before { content: '\f253'; }
.fa-commenting:before { content: '\f27a'; }
.fa-user-circle-o:before { content: '\f2be'; }

/*reset*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

a, .nav-link {
    color: white;
    text-decoration: none;
}

a:hover,
a:focus,
.nav-link:hover,
.nav-link:focus {
    text-decoration: underline;
    color: #fff308;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.color {
    color: #0FC298;
}
::-webkit-input-placeholder {
    color: #6c756e;
}
:-ms-input-placeholder {
    color: #6c756e;
}
::placeholder {
    color: #6c756e;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background-color: var(--scroll-track, transparent);
    border-radius: var(--scroll-radius);
}
::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color, grey);
    background-image: var(--scroll-thumb, none);
    border-radius: var(--scroll-radius);
}
/*::-webkit-scrollbar-thumb:hover {*/
/*    --scroll-thumb-color: #0042dc;*/
/*}*/

html,body {
    position: relative;
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
    background: #000;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: -apple-system,"Helvetica Neue",BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
}
body {}
.main {}
.chat {}
.chat .chat-body{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100% - 38px);

    background-image: url(./../images/bg-chat-min.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}
.chat .chat-footer {
    position: fixed;
    bottom: -2px;
    left: 0;
    width: 100%;
}

.messages {
    height: 100%;
    overflow: auto;
    overflow-x: hidden;
    /*scrollbar-color: #dfdfdf transparent;
    scrollbar-width: thin;*/
    --scroll-size: 5px;
    --scroll-radius: 3px;
    --scroll-track: #f3f3f3;
    --scroll-thumb: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 20%, transparent 20%, transparent 40%, rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0.25) 60%, transparent 60%, transparent 80%, rgba(255, 255, 255, 0.25) 80%);
    --scroll-thumb-color: #003cc7;
}
.messages.smooth{
    scroll-behavior: smooth;
}
.notmsg{
    height:40px;
}

.msg{
    position: relative;
    clear: both;
    word-wrap: break-word;
    background: transparent;
    overflow: hidden;
    right: 0;
    line-height: 1.4em;
    transition: background 300ms ease-in, opacity 300ms ease-in, filter 300ms ease-in;
    margin: 0;
    padding: 2px 0px 5px 46px;
    min-height: 32px;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
.msg:first-of-type{
    padding-top: 12px;
}
.msg:last-of-type{
    margin-bottom: 12px;
}
.msg .name {
    color: #dcdcdc;
    padding-right: 5em;
    font-weight: 400;
    display: inline-block;
    font-size: 12px;

}
.msg .name i{
    color: #f17777;
}
.msg .name span{
    cursor: pointer;
}
.msg.app .name:before {
    content: '📱';
    margin-right: 1px;
}
.msg.ua .name {color: #ed4aff;}
.msg.um .name {color: #08ff00;}
.msg.uv .name {color: #ffb700;}
.msg.ub .name {color: #969696;}
.msg.ua .name:after {content: '👑'; margin-left: 2px;}
.msg.um .name:after {content: '🍀'; margin-left: 2px;}
.msg.uv .name:after {content: '⭐'; margin-left: 2px;}
.msg.ub .name:after {content: '💀'; margin-left: 2px;}

.msg .pic {
    margin: 0;
    vertical-align: bottom;
    border-radius: 60%;
    width: 32px;
    height: 32px;
    position: absolute;
    left: 5px;
    top: 10px;
    border: 2px solid #3e3e3e;
    object-fit: cover;
    cursor: pointer;
}
.msg .time {
    color: #aaa;
    font-size: 60%;
    line-height: 1.5em;
    display: block;
    text-align: right;
    user-select: none;
}

.msg .gbody {
    padding-bottom: 1px;
    display: flex;
    align-items: flex-start;
}
.msg .body {
    background-color: #333333;
    border-radius: 3px 12px 12px 3px;
    padding: 4px 8px 2px 6px;
    max-width: 85%;
    word-wrap: break-word;
}
.msg > div.gbody:first-of-type .body {
    border-top-left-radius: 3px;
}
.msg > .gbody:last-child .body {
    border-bottom-left-radius: 12px;
}
.msg .body .t{
    color: #16e553;
}

.msg .body .e{
    font-size: 26px;
    line-height: 30px;
}

.msg .body a{
    text-decoration: underline;
    color: #fff900;
}

.msg .tool {
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 2px 8px 10px;
    margin-left: 2px;
    color: #fff;
    transform: rotate(-90deg);
    font-weight: bold;
}
.msg .tool:hover, .msg .tool:active, .msg .tool.active {
    background: #6d6d6d;
}
.msg .tool .burger {
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    display: inline-block;
    width: 2px;
    height: 2px;
    background-color: #ccc;
    transition: width .25s ease;
}
.msg .tool .burger:after,
.msg .tool .burger:before {
    display: inline-block;
    width: 2px;
    height: 2px;
    background-color: #ccc;
    transition: width .25s ease;
    content: "";
    position: absolute;
    left: 0;
}
.msg .tool .burger:before {top: -5px;}
.msg .tool .burger:after {top: 5px;}


.chat .chat-footer form .smile-col {
    cursor: pointer;
    display: flex;
    justify-content: flex-start;
    background: #333232;
}

.chat .chat-footer form .smile-col .fa{
    font-size: 28px;
    height: 40px;
    line-height: 40px;
    width: 40px;
}

.chat-area .form-buttons {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    display: flex;
    justify-content: flex-end;
}

.chat-area .form-buttons .send-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff !important;
    background-color: #0099ee;
    border-color: transparent;
    cursor: pointer;
    font-size: 18px;
}
.chat-area .form-buttons .send-btn .fa{
    margin: 0 2px 4px 0;
}
.chat .chat-footer #input-chat {
    width: 100%;
    background-color: #292929;
    border: 0;
    outline: none;
    color: #fff;
    margin-right: 0px;
    padding: 10px 6px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 0;
}

.chat-area {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    position: relative;
}

.sos {
    background: #383938;
    height: 32px;
    line-height: 32px;
    color: #ffb300;
    padding: 2px 10px 6px;
    text-align: center;
}
#btn-end {
    display: none;
    position: sticky;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    background: rgba(11,80,0,0.9);
    padding: 8px 10px;
    color: #BACABB;
    border: 0;
    top: calc(100vh - 75px);
    cursor: pointer;
}
#btn-end.active {
    display: inline-block;
}
#btn-end:hover,#btn-end:active{
    background: rgba(68, 68, 68, 0.9);
}
#btn-end i {
    font-size:15px;
}
#msg_new_num {
    color: #d29300;
    font-weight: bold;
}

.admin .role {
    background-color: #32BC45;
}
.vip .role {
    background-color: #FFCD08;
}
.mod .role {
    background-color: #8957E5;
}


#pin{
    display: none;
    position: absolute;
    width: calc(100% - 8px);
    background: rgba(2,116,199,0.9);
    color: #fff;
    opacity: .95;
    padding: 2px 4px 2px 4px;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    z-index: 10;
}
#pin.active {
    display: block;
}

#loading{
    display: none;
    position: absolute;
    color: #fff;
    left: 0;
    background: #916600;
    padding: 0 4px;
    z-index: 1000;
    font-size: 9px;
    letter-spacing: 2px;
}
#loading.show{
    display: inline-block;
}


#noti{
    display: none;
    position: absolute;
    color: #fff;
    left: 0;
    bottom: 38px;
    background: #910000;
    padding: 0 4px;
    z-index: 1000;
    font-size: 9px;
    letter-spacing: 2px;
    width: 100% ;
}

#ro{
    position: absolute;
    bottom: 38px;
    right: 5px;
    padding: 1px 5px;
    z-index: 9;
    font-size: 11px;
    display: inline;
    text-align: right;
    background: #000;
}
#ro a {
    text-decoration: underline;
    color: #ffb300;
}

#noti.show{
    display: inline-block;
}

#acts  {
    display: none;
    position: absolute;
    min-width: max-content;
    top: 0;
    left: 0;
    z-index: 99;
    padding: 0 4px;
    background: #6d6d6d;
}
#acts.show {
    display: block;
}
#acts .acti {
    font-size: 12px;
    line-height: 34px;
    display: block;
    width: 100%;
    padding: 0;
    color: #fff;
    background: #6d6d6d;
    border: none;
    text-align: left;
}
#acts .acti.hev {
    padding: 0;
}
#acts .acti button {
    min-width: 30px;
    min-height: 30px;
    padding: 0;
}
#acts .acti .fa{
    font-size: 14px;
    margin-right: 3px;
}
#acts .act{
    cursor: pointer;
}
#acts .act:hover{
    color:#ffb300;
    background: #515151;
}
#acts img{
    width: 16px;
}

div.emoji-drop-down {
    height: 210px;
    width: 100%;
    max-width: 212px;
    overflow-x: hidden;
    overflow-y: scroll;
    position: absolute;
    white-space: normal;
    text-align: center;
    border: 1px solid #282828;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    color: #282828;
    display: none;
    padding: 5px 0;

    opacity: 0.9;
    background: #1B1B1B;
    z-index: 999;
}
div.emoji-drop-down div.emoji {
    height: 30px;
    width: 34px;
    margin: 3px;
    display: inline-block;
    font-size: 24px;
    padding: 0;
    color: #fff;
}
div.emoji-drop-down div.emoji:hover {
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    background-color: #282828;
    color: #f5f5f5;
}
div.emoji-drop-down div.emoji:active {
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0.7;
}
div.emoji-drop-down div.emoji:last-child {
    margin-bottom: 0;
}

@keyframes slideInLeft {
    from {
        right: -50%;
    }
    to {
        right: 0;
    }
}
#minigame {
    position: absolute;
    color: #fff;
    left: 0;
    bottom: 38px;
    z-index: 300;
    font-size: 14px;
    width: 100%;
    transition: all 0.2s ease-in-out;
    /*transition: all .2s ease-in-out;
    animation-duration: 0.2s;
    animation-name: slideInLeft;
    animation-iteration-count: 1;*/
}

#minigame .wrapper {
    display: none;
    margin: 0 5px 5px;
    background: #fff;
    color: #232323;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
    position: relative;
}

#minigame.active .wrapper {
    display: block;

}
#minigame .wrapper .timer {
    background: #3f3f3f;
    padding: 0px 4px;
    position: absolute;
    right: 0;
    top: 0;
    margin: 5px;
    font-size: 11px;
    border-radius: 4px;
}

#minigame .wrapper .timer {
    background: #c37600;
    color: #fff;
}
#minigame .wrapper.play_y .timer {
    background: #3f3f3f;
}

#minigame .wrapper .mq {
    font-weight: 500;
    user-select: none;
    margin-right: 50px;
    /*margin-bottom: 5px;*/
}
#minigame .wrapper .mq a {
    color: #e40b0b;
    text-decoration: underline;
}


#minigame .wrapper .mq .tit {
    text-decoration: underline;
    font-weight: normal;
    font-size: 12px;
}

#minigame .mng_close {
    position: absolute;
    right: 10px;
    top: -100px;
    height: 32px;
    width: 32px;
    line-height: 32px;
    text-align: center;
    padding: 0;
    background-color: #fff;
    border-radius: 50%;
}
#minigame.active .mng_close {
    top: -34px;
}
/*#minigame .mng_close:before{
    content: "";
    font-size: 10px;
    line-height: 13px;
    color: #fff;
    margin-top: -46px;
    margin-left: -24px;
    position: absolute;
    padding: 2px 4px;
    background: url(/images/chat-gameboy-spd.gif) no-repeat center center;
    background-size: contain;
    width: 40px;
    height: 40px;
}*/
/*#minigame .mng_close:before{
    cursor: pointer;
    content: "";
    font-size: 10px;
    line-height: 13px;
    color: #fff;
    margin-top: -27px;
    margin-left: -35px;
    position: absolute;
    padding: 2px 4px;
    background: url(/images/mng-btn.png) no-repeat center center;
    background-size: contain;
    width: 60px;
    height: 60px;
}*/

#minigame .mng_close:after{
    display: block;
    content: "‹";/*‹›*/
    font-size: 30px;
    line-height: 26px;
    height: 32px;
    width: 30px;
    color: #333;
    cursor: pointer;
}
#minigame.active .mng_close:after {
    content: "›";/*‹›*/
    width: 32px;
}
#minigame .wrapper .ma {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));*/
}
#minigame .wrapper .ma > div{
    margin: 2px 0;
}

#minigame .input_radio {
    display: flex;
    position: relative;

    cursor: default;
    font-size: 12px;
    line-height: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    min-width: 100px;

    padding: 3px;
    padding-left: 32px;
    box-sizing: border-box;
    margin-left: 0;
    border-radius: 5px;
    align-items: center;
    min-height: 30px;
    background: #ebecf1;
    transition: all 0.2s ease-in-out;
    /*border: 1px solid transparent;*/
}
#minigame .input_radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    display: none;
}
#minigame .input_radio .qty {
    position: absolute;
    top: 0;
    right: 0;
    margin: 3px 5px;
    font-size: 11px;
}
#minigame .play_y .input_radio {
    cursor: pointer;
}

#minigame .play_y .input_radio:hover, #minigame .input_radio.active {
    background: #b3d7f9;
}

#minigame .input_radio .checkmark {
    position: absolute;
    left: 5px;
    height: 22px;
    width: 22px;
    background-color: #dfdfdf;
    border-radius: 50%;
}
#minigame .input_radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
#minigame .input_radio input:checked ~ .checkmark {
    background-color: #2181f3;
}
#minigame .input_radio input:checked ~ .checkmark:after {
    display: block;
}

#minigame .input_radio.gray {
    height:100%;
    background-image:url('/images/gray.svg');
    background-repeat:repeat-y;
    background-size: 0;
}

#minigame .input_radio.green {
    height:100%;
    background-image:url('/images/green.svg');
    background-repeat:repeat-y;
    background-size: 0;
    background-color:#a8ffd6;
    /*color: #8c8c8c;*/
}
#minigame .input_radio.green .checkmark {
    background-color: #0ba100 !important;
}
#minigame .input_radio.green .checkmark:after {
    content: " ";
    position: absolute;
    display: block;
    left: 8px;
    top: 4px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#minigame .input_radio.blue {
    height:100%;
    background-image:url('/images/blue.svg');
    background-repeat:repeat-y;
    background-size: 0;
    background-color:#cde6fe;
}
#minigame .input_radio.blue .checkmark {
    background-color: #4a9dff !important;
}
#minigame .input_radio.blue input:checked ~ .checkmark:after {
    content: " ";
    position: absolute;
    display: block;
    left: 8px;
    top: 4px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#minigame .input_radio.red {
    height:100%;
    background-image:url('/images/red.svg');
    background-repeat:repeat-y;
    background-size: 0;
    background-color:#ffc8da;
    /*color: #838383;*/
}
#minigame .input_radio.red .checkmark {
    background-color: #c70000 !important;
}
#minigame .input_radio.red .checkmark:before, #minigame .input_radio.red .checkmark:after{
    display: block;
    position: absolute;
    left: 10px;
    top: 3px;
    content: ' ';
    height: 15px;
    width: 2px;
    background-color: #fff;
    border: none;
}
#minigame .input_radio.red .checkmark:before {
    transform: rotate(45deg);
}
#minigame .input_radio.red .checkmark:after {
    transform: rotate(-45deg);
}

#minigame .wrapper .mb {
    margin: 6px auto 0;
    padding-bottom: 6px;
    text-align: center;
}

#minigame .wrapper .mb .btn{
    min-width: 120px;
    font-size: 16px;
    line-height: 34px;
    height: 34px;
    background: #fa6400;
    background-image: radial-gradient(100% 100% at 100% 0, #ff975a 0, #f35703 100%);
    color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}
#minigame .wrapper .mb .btn:hover {
    background: #cb5300;
}

/* Smooth fade-in animation for messages (Desktop only) */
/* @media (min-width: 768px) { */
    /* .msg.fade-in {
        animation: msgFadeIn 0.07s ease-out;
    }
    
    @keyframes msgFadeIn {
        from {
            opacity: 0;
            transform: translateY(4px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    } */
/* } */