* {
    font: inherit;
    color: inherit;
    user-select: inherit;
    -ms-user-select: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    word-break: break-all;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    position: absolute;
    background: none;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(200, 200, 200, 0.8);
}

::-webkit-scrollbar-corner {
    display: none;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-track-piece {
    display: none;
}

.fittk-input-box,
.fittk-input-box .fittk-textarea {
    width: 100% !important;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    color: #444444;
    font-size: 0;
    user-select: none;
    -ms-user-select: none;
    font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", sans-serif;
    background: #333338;
}

.fittk-background {
    z-index: 1000000;
}

.fittk-load-ai {
    background: url("../lib/fittk/img/loading-2.png") no-repeat 50% 50%;
    background-size: cover;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    width: 120px;
    animation: fittk-rotate-2 1.2s linear infinite;
}

.m-toast-area {
    width: 300px;
    max-height: 300px;
    overflow: hidden;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 19930615;
    margin: 0 auto;
}

.m-error-toast {
    width: 300px;
    font-size: 15px;
    line-height: 30px;
    padding: 13px 10px 13px 45px;
    background: url("../img/warn.png") no-repeat 15px 15px #bd362f;
    background-size: auto 20px;
    border-radius: 3px;
    box-sizing: border-box;
    color: #ffffff;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
    float: left;
    margin-bottom: 10px;
    position: relative;
    top: 10px;
}

.m-success-toast {
    width: 300px;
    font-size: 15px;
    line-height: 30px;
    padding: 13px 10px 13px 45px;
    background: url("../img/yes.png") no-repeat 15px 15px #51a351;
    background-size: auto 20px;
    border-radius: 3px;
    box-sizing: border-box;
    color: #ffffff;
    box-shadow: 0 0 5px 5px rgba(0, 0, 0, 0.1);
    float: left;
    margin-bottom: 10px;
    position: relative;
    top: 10px;
}

.m-body {
    width: 1920px;
    position: absolute;
    user-select: none;
    -ms-user-select: none;
    display: none;
}

.m-mobile .m-body {
    width: 450px;
}

.m-login-text {
    width: 600px;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 700px;
    margin: auto;
    color: #ffffff;
    text-align: center;
}

.m-login-qrcode {
    width: 400px;
    height: 460px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 180px;
    margin: auto;
}

.m-login-qrcode img {
    width: 400px;
    height: 460px;
    object-fit: contain;
}

.m-record-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 20px;
    background: url("../img/menu.png") no-repeat 50% 50% / 20px auto #888888;
    display: none;
    cursor: pointer;
    z-index: 100;
}

.m-mobile .m-record-btn {
    display: block;
}

.m-record-box {
    width: 420px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #222;
}

.m-mobile .m-record-box {
    width: 340px;
    left: -340px;
    transition: left 150ms linear;
    z-index: 200;
}

.m-mobile .m-record-box.show {
    left: 0;
}

.m-logo {
    width: 100%;
    height: 60px;
    margin: 20px 0;
    float: left;
    text-align: center;
}

.m-logo img {
    height: 36px;
    vertical-align: middle;
}

.m-mobile .m-logo img{
    height: 30px;
}

.m-logo span {
    height: 36px;
    font-size: 36px;
    color: #ffffff;
    vertical-align: middle;
    margin: 0 20px;
}

.m-resume-btn,
.m-clear-btn {
    width: 180px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    border-radius: 3px;
    outline: 1px solid #ffffff;
    color: #ffffff;
    float: left;
    margin-left: 20px;
    padding-left: 50px;
    box-sizing: border-box;
    background: no-repeat 13px 50% / auto 24px #444444;
    transition: filter 100ms linear;
    cursor: pointer;
    filter: brightness(0.8);
}

.m-mobile .m-resume-btn,
.m-mobile .m-clear-btn {
    width: 140px;
    margin-left: 20px;
    padding-left: 40px;
    background-position-x: 8px;
}

.m-resume-btn:hover,
.m-clear-btn:hover {
    filter: none;
}

.m-resume-btn {
    background-image: url("../img/resume.png");
}

.m-clear-btn {
    background-image: url("../img/clear.png");
}

.m-record-list {
    width: 100%;
    height: calc(100% - 160px);
    margin: 20px 0 0;
    float: left;
    overflow: auto;
}

.m-record-one {
    width: calc(100% - 30px);
    margin: 15px;
    border-radius: 10px;
    padding: 5px 12px;
    font-size: 14px;
    line-height: 24px;
    color: #ffffff;
    box-sizing: border-box;
    background: #444444;
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.m-record-one.active {
    color: #4C6AFD;
    background: #ffffff;
}

.m-message-box {
    width: 1500px;
    height: calc(100% - 210px);
    position: absolute;
    right: 0;
    top: 60px;
    overflow: auto;
}

.m-mobile .m-message-box {
    width: 450px;
}

.m-message-one {
    width: 1300px;
    margin: 20px;
    clear: both;
}

.m-mobile .m-message-one {
    width: 400px;
}

.m-message-one.user {
    float: right;
}

.m-message-one.bot {
    float: left;
}

.m-message-avatar {
    width: 44px;
    height: 44px;
    margin: 0 10px;
    border-radius: 50%;
    float: inherit;
    background: no-repeat 50% 50% / contain #444449;
}

.m-message-one.user .m-message-avatar {
    background-image: url("../img/user.png");
}

.m-message-one.bot .m-message-avatar {
    background-image: url("../img/bot.png");
}

.m-message-text {
    max-width: 1200px;
    min-width: 40px;
    min-height: 54px;
    border-radius: 10px;
    box-sizing: border-box;
    background: #444444;
    float: inherit;
    user-select: text;
}

.m-mobile .m-message-text {
    max-width: 320px;
}

.m-message-think {
    margin: 15px;
    background: #666666;
    font-size: 14px;
    line-height: 24px;
    padding: 15px;
    color: #ffffff;
    border-left: 4px solid #4C6AFD;
}

.m-message-content {
    font-size: 14px;
    line-height: 24px;
    padding: 15px;
    color: #ffffff;
    vertical-align: middle;
}

.m-message-text img {
    width: 20px;
    height: 20px;
    margin: 17px;
}

.m-message-text hr {
    margin-top: 48px;
}

.m-message-text h1 {
    font-size: 20px !important;
    line-height: 34px !important;
    font-weight: bold;
}

.m-message-text h2 {
    font-size: 19px !important;
    line-height: 32px !important;
    font-weight: bold;
}

.m-message-text h3 {
    font-size: 18px !important;
    line-height: 30px !important;
    font-weight: bold;
}

.m-message-text h4 {
    font-size: 17px !important;
    line-height: 28px !important;
    font-weight: bold;
}

.m-message-text h5 {
    font-size: 16px !important;
    line-height: 26px !important;
    font-weight: bold;
}

.m-message-text strong {
    font-weight: bold;
}

.m-message-text em {
    font-style: italic;
}

.m-message-text del {
    text-decoration: line-through;
}

.m-message-text code {
    color: #74d4fd;
}

.m-message-text pre {
    padding: 15px;
    background: #555555;
    white-space: normal;
}

.m-input-box {
    width: 1500px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.m-mobile .m-input-box {
    width: 450px;
}

.m-online-btn {
    font-size: 15px;
    height: 30px;
    line-height: 30px;
    padding: 0 20px 0 8px;
    color: #ffffff;
    background: #888888;
    border-radius: 10px;
    margin-left: 50px;
    float: left;
    cursor: pointer;
}

.m-mobile .m-online-btn {
    margin-left: 20px;
}

.m-online-btn:before {
    content: '';
    width: 30px;
    height: 30px;
    float: left;
    background: url("../img/online.png") no-repeat 50% 50% / 20px 20px;
    filter: grayscale(0) brightness(5);
}

.m-online-btn.active {
    background: #ffffff;
    color: #4C6AFD;
}

.m-online-btn.active:before {
    background: url("../img/online-active.png") no-repeat 50% 50% / 18px 18px;
    filter: none;
}

.m-tip {
    font-size: 15px;
    height: 30px;
    line-height: 30px;
    color: #aaaaaa;
    float: right;
    margin-right: 50px;
}

.m-mobile .m-tip {
    display: none;
}

.m-input-area {
    width: 1400px;
    margin: 10px 50px 20px;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 10px;
    background: #ffffff;
    float: left;
    position: relative;
}

.m-mobile .m-input-area {
    width: 410px;
    margin: 10px 20px 20px;
}

.m-input-area:after {
    content: '';
    width: 1px;
    height: calc(100% - 20px);
    position: absolute;
    top: 10px;
    right: 80px;
    background: #d4d4d4;
}

.m-input {
    width: 1300px;
}

.m-mobile .m-input {
    width: 310px;
}

.m-submit {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 12px;
    right: 20px;
    background: url("../img/submit.png") no-repeat 50% 50% / contain;
    cursor: pointer;
}

.m-count {
    width: 60px;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: #999999;
    position: absolute;
    right: 5px;
    bottom: 10px;
}

.m-logout {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 20px;
    right: 20px;
    background: url("../img/logout.png") no-repeat 50% 50%;
    background-size: contain;
    cursor: pointer;
    z-index: 1000;
}

.m-mobile .m-logout{
    display: none;
}