/*通用类*/
html {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    box-sizing: border-box;
}

body {
    margin: 0 auto;
    font-size: 14px;
    font-family: 'Microsoft Yahei', Adobe Heiti Std, Arial, sans-serif;
    color: #333;
    background: #fff;
    height: auto;
    overflow-x: hidden;
    cursor: pointer;
}

body.h100 {
    height: 100%;
}

img {
    border: none;
}

a {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

ul {
    list-style-type: none;
}

em {
    font-style: normal;
}

input {
    outline: none;
    -webkit-appearance: none;
}

input[type='text'] {
    text-indent: 0.5em;
}

input.sub,
label {
    border: none;
    cursor: pointer;
}

input,
button,
select,
textarea {
    outline: none;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
}

button {
    cursor: pointer;
}

textarea {
    resize: none;
}

div.clear {
    font: 0px Arial;
    line-height: 0;
    height: 0;
    clear: both;
}

.font-gray {
    color: #6a6a6a;
}

.font-light-gray {
    color: #9a9b96;
}

.font-grey {
    color: #666;
}

.font-light-grey {
    color: #999 !important;
}

.font-red {
    color: #993300 !important;
}

.font-l-red {
    color: #e74c3a;
}

.font-white {
    color: #fff;
}

.font-yellow {
    color: #ffff00;
}

.text-center {
    text-align: center;
}

.ta_r {
    text-align: right !important;
}

.justify {
    overflow: hidden;
    text-align: justify;
}

.bold {
    font-weight: 700;
}

.shadow-btn:hover {
    box-shadow: 2px 2px 3px #ccc, -2px -2px 3px #ccc;
}

.m-b10 {
    margin-bottom: 10px;
}

.m-b30 {
    margin-bottom: 30px;
}

.m-t10 {
    margin-top: 10px;
}

.m-t20 {
    margin-top: 20px;
}

.m-r5 {
    margin-right: 5px;
}

.m-r10 {
    margin-right: 10px;
}

.m-r20 {
    margin-right: 20px;
}

.m-r60 {
    margin-right: 60px;
}

.hide {
    display: none;
}

.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.d-static {
    position: static !important;
}

.d-fixed {
    position: fixed !important;
}

.d-relative {
    position: relative !important;
}

.d-absolute {
    position: absolute !important;
}

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.width-auto {
    width: auto !important;
}

.margin-no {
    margin: 0 !important;
}

.margin-auto {
    margin: 0 auto;
}

.padding-no {
    padding: 0 !important;
}

.border-no {
    border: 0 !important;
}

.border-radius-no {
    border-radius: 0 !important;
}

.hide {
    display: none !important;
}

.full-cover-link {
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 100;
    top: 0;
    left: 0;
}

.bg-white {
    background: #fff;
}

body.bg-white,
body.bg-brown {
    min-height: 100%;
}

.bg-brown {
    background: rgb(180, 153, 126);
}

.bg-pink {
    background: #ff5c7f;
}

.bg-grey {
    background: #f2f2f2;
}

.bg-red {
    background: #e84d3b;
}

.bg-green {
    background: #9ac937;
}

.bg-dark-grey {
    background: #9e9e9e !important;
}

.bg-dark {
    background: rgb(73, 89, 105);
}

.bg-blue {
    background: #007feb;
}

.bg-purple {
    background: #d15291;
}

.bg-orange {
    background: #ff9a23;
}

.bg-light-blue {
    background: #eef2fb;
}

.cursor {
    cursor: pointer;
}

.grey-bottom {
    border-bottom: 10px solid #f2f2f2;
}

.w100 {
    width: 100% !important;
    float: left;
    overflow: hidden;
}

.line {
    width: auto;
    height: 1px;
    background: #ccc;
    float: left;
}

.o-visible {
    overflow: visible !important;
}

.o-hidden {
    overflow: hidden !important;
}

.s-container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.container {
    width: 94%;
    margin: 0 auto;
    overflow: hidden;
}

/* tab */
.tab-content {
    display: none;
}

.tab-content.on {
    display: block;
}

.b-padding {
    padding-top: 44px;
}

.b-padding70 {
    padding-top: 70px;
}

.page-padding {
    padding: 10px 16px 16px;
}

.page-top-padding {
    padding: 70px 0 0;
}

/* 提示层 */
.layer {
    min-width: 150px;
    position: fixed;
    height: 45px;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 0 20px;
    text-align: center;

    line-height: 45px;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    border-radius: 4px;
    z-index: 100000000000;
    /*display: none;*/
}

.dialog-box {
    position: fixed;
    background: #fff;
    z-index: 10000;
    width: 300px;
    height: 140px;
    bottom: 50%;
    left: 50%;
    margin-top: -70px;
    margin-left: -150px;
    color: #696969;
    text-align: center;
    display: none;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.shrink {
    flex-shrink: 1;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-start {
    justify-content: flex-start;
}
.justify-end {
    justify-content: flex-end;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.justify-around {
    justify-content: space-around;
}
.justify-evenly {
    justify-content: space-evenly;
}
.justify-stretch {
    justify-content: stretch;
}

.justify-items-start {
    justify-items: start;
}
.justify-items-end {
    justify-items: end;
}
.justify-items-center {
    justify-items: center;
}
.justify-items-stretch {
    justify-items: stretch;
}

.items-start {
    align-items: flex-start;
}
.items-end {
    align-items: flex-end;
}
.items-center {
    align-items: center;
}
.items-baseline {
    align-items: baseline;
}
.items-stretch {
    align-items: stretch;
}

.page-header {
    height: 60px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 102;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.07);
}

.page-header .menu-icon {
    width: 56px;
    height: 60px;
}

.page-header .menu-icon img {
    width: auto;
    height: 20px;
}

.page-header .logo {
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

.page-header .logo img {
    /* width: 100px; */
    width: auto;
    height: 30px;
}

.page-header .create {
    width: 56px;
    height: 60px;
}

.page-header .create img {
    width: 24px;
    height: 24px;
}

.full-screen {
    min-height: 100vh;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.menu-drawer {
    position: fixed;
    top: 60px;
    left: 0;
    height: calc(100% - 60px);
    width: 100%;
    z-index: -101;
    transition-delay: 1s;
}

.menu-drawer .mask {
    width: 100%;
    height: 100%;
    /* display: ; */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.5s;
}

.menus {
    padding: 0 24px;
}

.menu-container {
    width: 280px;
    background: #fff;
    height: 100%;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    transition: all 0.5s;
    transform: translateX(-280px);
}

.menu-drawer.active {
    display: block;
    z-index: 101;
    transition-delay: 0s;
}

.menu-drawer.active .mask {
    opacity: 1;
    display: block;
}

.menu-drawer.active .menu-container {
    transform: translateX(0);
}
.menu-drawer.active {
    transform: translateX(0);
}

.menu {
    height: 56px;
    font-size: 15px;
}

.menu .menu-img {
    height: auto;
    width: 18px;
    margin: 0 10px 0 0;
}

.logout {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #f2f2f2;
}

.menu-bottom .vip {
    padding: 0 24px;
}

.menu-bottom .vip-btn {
    /* background: linear-gradient(to right, #A071FC, #4E39FF); */
    background: rgba(66, 98, 215, 1);
    color: #fff;
    border-radius: 23px;
    font-size: 15px;
    letter-spacing: 2px;
    height: 46px;
}

.menu-bottom .vip-btn img {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
}

.menu-bottom .left-token {
    font-size: 12px;
    color: #aaa;
    margin: 10px 0;
}

.menu-user {
    padding: 10px 24px;
    border-top: 1px solid #f2f2f2;
}

.menu-user img.avatar {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.menu-user img.arrow {
    width: 16px;
    height: 16px;
    margin-left: 10px;
}

.menu-user .user-name {
    font-size: 15px;
    margin: 0 0 6px;
}
.menu-user img.vip-icon {
    height: 14px;
    width: 28px;
}

.menu-user .vip-tip {
    font-size: 12px;
    color: #aaa;
}

.search-input {
    height: 40px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    font-size: 14px;
    color: #999999;
}

.search-input img {
    width: 14px;
    height: 14px;
    margin: 0 8px 0;
    position: absolute;
    left: 8px;
    top: 12px;
}

.search-input input {
    border: 0;
    outline: none;
    height: 100%;
    width: 100%;
    padding: 0 16px 0 32px;
}

.search-cancel {
    flex-shrink: 0;
    margin-left: 16px;
    color: #666;
    display: none;
}

.search-list {
    margin-top: 10px;
    height: calc(100% - 70px);
    overflow: auto;
    display: none;
}

.search-list-item {
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
    padding: 12px 16px;
    flex-shrink: 0;
}

.search-list-item .item-img {
    width: 30px;
    height: 30px;
    margin: 0 10px 0 0;
}

.search-box {
    align-items: center;
}

.search-box.active {
    position: fixed;
    width: 100%;
    height: 100svh;
    left: 0;
    top: 0;
    z-index: 120;
    background: #f2f2f2;
    align-items: flex-start;
}

.search-box.active .search-input-wrapper {
    width: 100%;
    height: 60px;
    padding: 0 16px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-input input.bg,
.search-box.active .search-input input {
    background: #f2f2f2;
}

.search-box.active .search-cancel {
    display: block;
}

.search-box.active .search-list.active {
    display: flex;
}

.form {
    margin-top: 15px;
}

.form-item {
    margin: 0 0 15px;
}

.form-item .error-msg {
    display: none;
    font-size: 12px;
    color: #da0f0f;
}

.form-item.error .error-msg {
    display: block;
}

.form-item-label {
    color: #606266;
    margin: 0 0 7px;
}

.form-item-label span.required {
    color: red;
    display: inline-block;
    margin-left: 2px;
}
.mn-form-item-label span.required {
    color: red;
    display: inline-block;
    margin-left: 2px;
}

.form-item-label span.required {
    color: red;
    display: inline-block;
    margin-left: 2px;
}


.textarea {
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    height: 80px;
    padding: 10px;
    width: 100%;
    transition: all 0.3s;
}

.input {
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    height: 40px;
    padding: 0 10px;
    width: 100%;
    transition: all 0.3s;
    line-height: 40px;
}

.input-box .limit,
.textarea-box .limit {
    font-size: 12px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #999;
}

.input-box .limit {
    bottom: auto;
    top: 12px;
}

.select {
    width: 100%;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
    height: 40px;
    padding: 0 40px 0 10px;
    appearance: none;
}

.select-box .arrow {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 14px;
    right: 14px;
    transform: rotate(90deg);
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: rgba(66, 98, 215, 1);
}

.form-item.error .input,
.form-item.error .select,
.form-item.error .textarea {
    display: block;
    border-color: #da0f0f;
}

.popup {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    transition: all 0.3s;
}

.popup.active {
    display: block;
}

.popup .layer-mask {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.popup .layer-mask-generateText {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.popup-box {
    height: 80vh;
    width: 100%;
    bottom:0;
    left:0;
    position: absolute;
    z-index: 100;
    background: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}

.popup-title-box {
    height: 46px;
    background: rgba(243, 242, 245, 1);
    padding: 0 20px;
}

.popup-title-box img {
    width: 18px;
    height: 18px;
}

.popup-title {
    font-size: 16px;
    margin-right: 4px;
    font-weight: 700;
}

.popup-sub-title {
    font-size: 12px;
    color:#666;
}

.popup-content {
    height: calc(100% - 46px);
}

.ai-btn {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #606266;
    color:#333;
}

.ai-btn img.icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.ai-btn.primary {
    background: rgba(66, 98, 215, 1);
    color:#fff;
    border-color: rgba(66, 98, 215, 1);
}

.ai-btn.secondy {
    background: #FFD37C;
    color:#69360C;
    border-color: #FFD37C;
}

.buy-success-popup .popup-box {
    height: 300px;
padding: 20px 30px;
}

.buy-success-popup .success-icon {
    width: 40px;
    height: 40px;
    margin-top: 10px;
}

.buy-success-popup .success-title {
    font-size: 17px;
    font-weight: 700;
    margin-top: 10px;
}

.buy-success-popup .success-desc {
    font-size: 12px;
    margin-top: 25px;
    color:#999;
}

.buy-success-popup .ai-btn {
    margin-top: 25px;
    width: 100%;
    padding: 0 30px;
}

#loading{
    width: 100%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 12px;
    display: none;
}

.w-full {
    width: 100%;
}

.flex-column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}