body {
    font-size: 14px;
    font-family: "Microsoft YaHei", sans-serif;
    background-color: rgb(247 248 250 / 51%);
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: #f9f9f9;
    display: none;
}

::-webkit-scrollbar-thumb {
    background: #f0f0f0;
    border-radius: 3px;
}

a {
    cursor: pointer;
}

em {
    font-style: normal;
}

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

.mask {
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 25%);
    display: none;
}

/*---------- header ---------*/
.site_header {
    height: 60px;
    padding: 0 15px;
    position: fixed;
    display: flex;
    align-items: center;
    gap: 10px;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10000;
    border-bottom: 1px solid rgb(0 0 0 / 7%);
    box-shadow: 0 5px 50px rgb(0 0 0 / 3%);
    background-color: white;
}

.site_header .header_left {
    display: flex;
    align-items: center;
}

.site_header .header_left .site_logo {
    display: block;
    max-height: 40px;
    max-width: 40px;
    margin-right: 10px;
}

.site_header .header_left .site_logo img {
    height: 40px;
    border-radius: 5px;
}

.site_header .header_left .site_title {
    font-size: 16px;
    font-weight: bold;
}

.site_header .header_left .site_subtitle {
    font-size: 12px;
}

.site_header .site_nav {
    flex: 1;
    text-align: right;
}

.site_header .site_nav .layui-nav {
    background-color: transparent !important;
    padding-right: 0;
}

.layui-nav .layui-nav-item a {
    padding: 0 15px;
}

.layui-nav .layui-nav-item img {
    margin-right: 0;
}

.layui-nav .layui-nav-more {
    display: none;
}

.site_header .header_right {
    display: flex;
    align-items: center;
}

.layui-nav .layui-this:after, .layui-nav-bar {
    display: none;
}

.site_header .header_right>div + div {
    margin-left: 8px;
}

.layui-form-switch {
    margin-top: 0px !important;
}

.toggle_list_btn {
    width: 30px;
    text-align: center;
    font-size: 20px;
    display: none;
    color: #4b4b4b;
    padding-right: 15px;
}

/*---------- main ---------*/
/*list*/
.main_list {
    width: 300px;
    background-color: #f8f8f8;
    border-right: 1px solid rgb(0 0 0 / 7%);
    font-size: 12px;
    position: fixed;
    left: 0;
    top: 61px;
    bottom: 0;
    z-index: 10000;
    overflow-y: auto;
    transition: all .2s;
}

.list_layer>ul {
    padding-bottom: 100px;
}

.main_list .ui-sortable-placeholder {
    transition: all .1s;
}

.main_list ul {
    padding-left: 10px;
}

.main_list:hover::-webkit-scrollbar {
    display: block;
}

.main_list ul.children {
    padding-left: 18px;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.15s ease;
    width: 100%;
}

.main_list ul.children.o {
    height: auto;
    opacity: 1;
}

.main_list ul li {
    display: flex;
    padding: 0 5px 0 0;
    align-items: center;
    flex-wrap: wrap;
}

.main_list ul li >a:hover {
    background-color: #eaf1ff;
}

.main_list ul li a {
    line-height: 22px;
    color: inherit;
    flex: 1;
    margin: 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    white-space: pre-wrap;
    font-family: "宋体","SimSun",serif;
}

.main_list ul li i {
    font-size: 8px;
    display: inline-block;
    background-color: #e7e7e7;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    text-align: center;
    line-height: 12px;
    font-weight: bold;
    color: #494949;
}

.yyitem.curr>i {
    background-color: #41c689;
    color: white;
}

.main_list ul user {
    padding: 3px 8px 3px 18px;
}

user {
    display: flex;
    align-items: center;
    line-height: 16px;
    width: 100%;
    box-sizing: border-box;
}

user span {
    display: block;
    flex: 1;
}

user i.vest {
    display: inline-block !important;
    !i;!;
    width: 15px !important;
    height: 15px !important;
    margin-right: 6px !important;
    background-color: transparent !important;
}

.vest.ow {
    background-image: var(--icon-ow-1);
}

.vest.ow2 {
    background-image: var(--icon-ow-2);
}

.vest.vp {
    background-image: var(--icon-vp-1);
}

.vest.vp2 {
    background-image: var(--icon-vp-2);
}

.vest.ma {
    background-image: var(--icon-ma-1);
}

.vest.ma2 {
    background-image: var(--icon-ma-2);
}

.vest.ca {
    background-image: var(--icon-ca-1);
}

.vest.ca2 {
    background-image: var(--icon-ca-2);
}

.vest.vip {
    background-image: var(--icon-vip-1);
}

.vest.vip2 {
    background-image: var(--icon-vip-2);
}

.vest.member {
    background-image: var(--icon-member-1);
}

.vest.member2 {
    background-image: var(--icon-member-2);
}

/*content*/
.main_content {
    position: relative;
    box-sizing: border-box;
    padding-top: 61px;
    height: 100%;
    margin-left: 301px;
    transition: all .3s;
    display: block;
}

.main_content .toggle_list_bar {
    position: fixed;
    height: 100%;
    width: 25px;
    overflow: hidden;
    opacity: 0;
    z-index: 5;
}

.main_content .toggle_list_bar:hover {
    opacity: 1;
}

.main_content .toggle_list_bar span {
    width: 8px;
    display: inline-block;
    height: 100%;
    position: absolute;
    top: 0;
    background: linear-gradient(to bottom, transparent 0%, rgb(0 134 251 / 40%) 50%, transparent 100%);
}

.main_content .toggle_list_bar span i {
    width: 16px;
    color: #ffffff;
    font-weight: bold;
    top: 50%;
    position: absolute;
    left: -4px;
    height: 22px;
    line-height: 22px;
    margin-top: -11px;
}

.main_content .page_content {
    min-height: calc(100vh - 61px);
}

.page_content .layui-tabs-header {
    text-align: center;
    display: flex;
}

.page_content .layui-tabs-header li {
    flex: 1;
}

.page_content .layui-tabs-body {
    padding: 0;
}

.page_content .layui-tabs-item {
}

.page_content video {
    width: 100%;
    height: calc(100vh - 101px);
    display: block;
    background-color: rgb(0 0 0 / 80%);
}

.page_content .web_page {
    width: 100%;
    border: 0;
    height: calc(100vh - 61px);
}

.log_detail {
    padding: 15px 20px;
    margin: auto;
    min-height: calc(100vh - 200px);
}

.log_detail .log_header {
    /* text-align: left; */
}

.log_detail .log_header h1 {
    font-size: 22px;
    margin-bottom: 20px;
    padding: 10px 15px 20px;
    border-bottom: 1px solid rgb(125 125 125 / 20%);
}

.log_detail .log_content {
    line-height: 2;
}

.log_comment_post {
    position: sticky;
    bottom: 0;
    padding: 15px;
    z-index: 99;
}

.commentform {
    position: relative;
    bottom: 0;
    padding: 15px;
    background-color: white;
    box-shadow: 2px 2px 10px rgb(0 0 0 / 20%);
    border: 0;
    border-radius: 7px;
    padding-bottom: 42px;
}

.commentform textarea,.comment-post-tip {
    width: 100%;
    border: 0;
    box-sizing: border-box;
    line-height: 22px;
    resize: none;
    background-color: transparent;
    height: 22px;
    transition: all .3s;
    display: block;
}
.commentform textarea:focus{
    height: 100px;
}

.commentform #comment_submit {
    position: absolute;
    right: 10px;
    bottom: 10px;
    transform: translateY(0px);
}

.comment-post-tip {
    text-align: center;
    line-height: 50px;
    opacity: .6;
}
.yych_comment{
    margin-top: 25px;
}
.yych_comment>hr{
    margin-bottom: 15px;
}
.comment{
    font-family: "宋体", "SimSun", serif;
    margin: 0 8px;
}
.comment+.comment{
    margin-top: 25px;
}
.comment .comment-infos{
    display: block;
    line-height: 16px;
}
.comment .comment-infos user{
    float: left;
    width: auto;
}
.comment .comment-infos user span{
    font-size: 12px;
    display: inline-block;
    opacity: .6;
}
.comment .comment-infos .comment-time{
    display: inline-block;
    font-size: 12px;
    margin-left: 10px;
    opacity: .6;
}
.comment .comment-content{
    display: block;
    margin-top: 5px;
    font-size: 16px;
    line-height: 1.2;
}

.site_footer {
    padding: 20px 10px 15px;
    line-height: 25px;
    text-align: center;
    margin-top: 15px;
}

/*---------------------------------- article ---------------------------------*/
.article_container {
    /* padding-bottom: 120px; */
}

/*----------------------------------- index --------------------------------------*/
.channel_box {
    margin-top: 80px;
    min-height: 80vh;
}

.channel_item {
    padding: 18px;
    background-color: #ffffff;
    border-radius: 7px;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.05);
}

.channel_item +.channel_item {
    margin-top: 20px;
}

.channel_item h3 {
    margin-bottom: 15px;
    /* padding: 10px; */
    padding-left: 20px;
    position: relative;
    line-height: 28px;
}

.channel_item h3 em {
    margin-left: 12px;
}

.channel_item h3:after {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    width: 3px;
    height: 24px;
    border-radius: 2px;
    background-color: #6fcaff;
    display: block;
}

.channel-cover {
    margin: auto;
}

.channel-cover .cover {
    width: 66px;
    padding-bottom: 60px;
    background-color: rgb(0 0 0 / 2%);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: all .2s;
    background-image: url(../images/no_pic.svg);
    margin-right: 15px;
}

.channel_info:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 20px rgb(20 96 163 / 20%);
}

.channel_info {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    /* margin-bottom: 20px; */
    /* box-shadow: 0 1px 4px rgba(0,0,0,0.05); */
    border: 1px solid transparent;
    display: flex;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.flex {
    flex: 1 !important;
}

.channel_info:hover {
    border-color: #1e88e5;
}

.channel-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    height: 25px;
    line-height: 25px;
    font-weight: bold;
}

.channel-desc,.channel-author {
    color: rgb(133 133 133 / 70%);
    font-size: 14px;
    width: 100%;
    height: 22px;
    line-height: 22px;
}

.channel_info .channel-author i {
    font-size: inherit;
}

.data_null {
}

/*---------------------------------- hide ---------------------------------*/
.yychannel-log-hide {
    padding: 30px 20px;
    background-color: rgb(255 212 90 / 20%);
    text-align: center;
    border-radius: 11px;
}

.yychannel-log-hide .hide-text {
    text-align: center;
    font-size: 18px;
}

.yychannel-log-hide .hide-text i {
    font-size: 50px;
    display: block;
    line-height: 1.5;
    color: #d1b25a;
}

.yychannel-log-hide .hide-tip {
    margin-top: 30px;
}

.yychannel-log-hide .hide-tip span {
    opacity: .5;
}

.yychannel-log-hide .hide-btns {
    margin-top: 10px;
}

.yychannel-log-hide .hide-btns .y_btn {
    text-decoration: none;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    background-color: rgb(255 212 90 / 40%);
}

/*----------------------------------- dark -----------------------------------*/
.dark .site_header {
    background-color: var(--lay-color-bg-2)!important;
}

.dark .toggle_list_btn {
    color: var(--color-white);
}

.dark .main_list {
    background-color: var(--lay-color-bg-3)!important;
}

.dark .main_list ul li >a:hover {
    background-color: var(--lay-color-fill-1)!important;
    color: var(--lay-color-layuigreen-1);
}

.dark .layui-form-onswitch {
    border-color: var(--lay-color-border-1);
    background: 0 0
}

.dark ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background: var(--lay-color-border-1);
}

.dark ::-webkit-scrollbar-thumb {
    background: var(--lay-color-border-2);
    border-radius: 3px;
}

.dark .channel_info {
    background-color: var(--lay-color-bg-3);
}

.dark .channel_item {
    background-color: var(--lay-color-bg-2);
}

.dark .commentform {
    background-color: var(--lay-color-bg-2);
}

@media screen and (max-width: 767.98px) {
    .main_list {
        left: -500px;
    }

    .toggle_list_btn {
        display: block;
    }

    .main_content {
        margin-left: 0;
    }
}

@media screen and (max-width: 550px) {
    .site_info {
        display: none;
    }
}
