/*
 * @Theme Name: AcgNav
 * @Theme URI: http://www.acgfans.me/
 * @Author: AcgNav
 * @Author URI: http://www.acgfans.me/
 */
 html,body,div,ol,ul,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,input,button,textarea,p,span,form {
    margin: 0;
    padding: 0
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body,input,button,select,textarea {
    font: 14px/1.5 "Microsoft Yahei",'PingFang SC',"Yuanti SC","Source Han Sans CN";
    color: #3E4252;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: "liga","kern";
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

img,a img {
    border: 0
}

img {
    margin: 0;
    padding: 0
}

a {
    color: inherit;
    outline: medium none;
    text-decoration: none;
    transition: color .2s linear,background-color .2s linear;
}

a:hover {
    text-decoration: none;
    color: #364CC6;
}

label {
    cursor: pointer
}

ul li,.ol li {
    list-style: none
}

em,cite,i {
    font-style: normal
}

input:focus,textarea:focus {
    outline: none;
}

input::-ms-clear {
    display: none;
}

textarea {
    resize: none;
}

html {
    height: auto;
    width: 100%;
}

body {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #EAEFFE;
}

.box {
    display: flex;
    margin-top: 25px;
    background-color: #fff;
    border-radius: 46px;
    height: auto;
    width: calc(100% - 40px);
    max-width: 1280px;
}

.nav {
    width: 128px;
    background: #1890ff;
    margin: 25px 0 25px 25px;
    border-radius: 30px;
    padding: 0 25px;
    box-sizing: border-box;
    flex-shrink: 0;
    height: 791px;
    position: sticky;
    position: -webkit-sticky;
    top: 25px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.nav-logo {
    margin-top: 25px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.nav-logo img {
    border-radius: 20px;
    width: 100%;
}

.nav-logo:hover {
    color: #ffffff;
}

.nav-menu-btn {
    display: none;
}

.nav-menu {
    margin-top: 50px;
}

.menu-wrap {
    text-align: center;
}

.menu-item {
    display: flex;
    background: rgba(255,255,255,.09);
    border-radius: 22px;
    justify-content: center;
    flex-direction: column;
    margin: 15px 0;
    font-size: 14px;
}

.menu-item a {
    border-radius: 22px;
    padding: 5px 0;
}

.menu-item>a:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.wx-code {
    display: none;
}

.main {
    flex-grow: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

.search-form {
    display: flex;
    width: 50%;
    height: 52px;
    align-items: center;
    background-color: #F6F8FF;
    border-radius: 52px;
    overflow: hidden;
}

.search-form>.icon-search {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    font-size: 18px;
    margin-left: 10px;
    margin-right: 3px;
    color: #9DA0B3;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.search-input {
    flex-grow: 1;
    border: none;
    height: 52px;
    background-color: transparent;
}

.search-input::placeholder {
    color: #9DA0B3;
}

.list-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0;
}

.list-title>li>a {
    display: flex;
    align-items: center;
    margin-right: 25px;
    font-size: 16px;
}

.list-title>li.list-title-item>a,.list-title>h2 {
    font-size: 20px;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.list-title>h2::after,.list-title>li.list-title-item>a::after {
    display: block;
    content: "";
    width: 60%;
    height: 10px;
    background-color: #FFD55D;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.list-box {
    display: flex;
    /* justify-content:space-between; */
    flex-wrap: wrap;
    margin-top: 23px;
}

.box-card {
    background-color: #EAEFFE;
    display: flex;
    border-radius: 15px;
    width: 16.5%;
    margin-bottom: calc(6.5% / 3);
    align-items: center;
    transition: transform 0.3s;
}

.box-card:hover {
    transform: translate(0,-5px);
}

.box-card:last-child:nth-child(4n - 1) {
    margin-right: calc(23.5% + 6% / 3);
}

.box-card:last-child:nth-child(4n - 2) {
    margin-right: calc(47% + 12% / 3);
}

.box-card img {
    width: 40px;
    margin-right: 5px;
    border-radius: 50%;
}

.card-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 0;
    justify-content: center;
}

.box-card a:hover span.card-title {
    color: #364CC6;
}

.card-info {
    display: flex;
    flex-direction: column;
    width: 135px;
}

.card-title {
    color: #000000;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-desc {
    color: #6c757d;
    font-size: 12px;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-body {
}

.post-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.post-title {
    font-size: 20px;
}

.post-vl {
    display: flex;
}

.post-view {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 10px;
}

.post-like {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.post-vl i {
    margin-right: 5px;
}

.post-btn {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    height: 45px;
    font-weight: bold;
    background-color: #FFD55D;
    border-radius: 16px;
    overflow: hidden;
}

.post-btn .iconfont {
    width: 48px;
    display: flex;
    align-items: center;
    align-self: stretch;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: bold;
    background-color: rgba(0,0,0,0.06);
}

.post-btn-text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2em;
    flex-grow: 1;
    font-size: 16px;
    padding: 0 20px;
    line-height: 1;
    word-break: break-all;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #9DA0B3;
    margin: 5px 0 25px 0;
}

.post-meta .post-categories {
    display: flex;
    margin-right: 10px;
}

.post-time {
}

.post-author {
    margin: 0 10px;
}

.post-tags {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.post-tags a {
    display: inline-flex;
    align-items: center;
    height: 22px;
    color: #C6A549;
    font-size: 12px;
    padding: 0 6px;
    margin-left: 5px;
    background-color: rgba(255,213,93,0.18);
    border-radius: 22px;
}

.post-article {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 25px;
}

.post-page {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.post-page p {
    margin: 10px 0;
}

.post-page img {
    width: 100%;
    border-radius: 15px;
}

.post-logo {
    height: 150px;
    width: 150px;
    background: #f6f6f6;
    border-radius: 15px;
    position: relative;
    margin-bottom: 15px;
}

.post-logo:before {
    position: absolute;
    content: "";
    width: 150px;
    height: 150px;
    z-index: 2;
    background: rgb(140 139 139 / 86%);
    border-radius: 15px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.post-logo .post-logo-bg {
    display: block;
    width: 140px;
    height: 140px;
    z-index: 1;
    position: absolute;
    padding: 5px;
}

.post-logo .post-logo-ico {
    display: block;
    margin: 50px auto 0;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    padding: 5px;
    z-index: 3;
    position: relative;
    background: #fff;
}

.logo-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.post-desc {
    width: calc(100% - 207px);
    line-height: 30px;
    background: #f2f5f9;
    overflow: hidden;
    padding: 15px;
    border-radius: 15px;
}

.post-more {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.tuijian {
    margin-bottom: 10px;
}

.post-comment {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.comment-form {
    width: 100%;
}

.comment-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.comment-user {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.comment-input {
    border: none;
    height: 45px;
    border-radius: 15px;
    background-color: #F6F8FF;
    padding: 0 15px;
    width: 28%;
    margin-bottom: 25px;
}

.comment-input::placeholder {
    color: #9DA0B3;
}

.comment-textarea {
    border: none;
    border-radius: 15px;
    width: calc(100% - 30px);
    min-height: 88px;
    height: auto;
    line-height: 24px;
    background-color: #F6F8FF;
    margin: 0 0 25px 0;
    padding: 15px;
    max-width: 100%;
}

.comment-textarea::placeholder {
    color: #9DA0B3;
}

.comment-textarea::-webkit-scrollbar-track {
    background-color: #ffffff;
}

.comment-textarea::-webkit-scrollbar {
    width: 0;
}

.comment-btn-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.comment-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 35px;
    font-weight: bold;
    background-color: #FFD55D;
    border-radius: 15px;
    border: 0;
    cursor: pointer;
}

.comment-btn-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 35px;
    font-weight: bold;
    background-color: #909090;
    border-radius: 15px;
    color: #ffffff;
    margin-left: 15px;
}

.comment-list-item {
    display: flex;
    flex-wrap: wrap;
    margin-top: 15px;
}

.comment-list-item:first-child {
    margin-top: 0;
}

.comment-avatar {
    margin-right: 10px;
}

.comment-avatar img {
    width: 48px;
    border-radius: 50px;
}

.comment-text {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: calc(100% - 58px);
}

.comment-name {
    color: #000;
    margin-bottom: 5px;
    font-weight: 700;
}

.comment-body {
    margin-bottom: 5px;
    background: #F6F8FF;
    padding: 15px;
    border-radius: 15px;
}

.comment-reply {
    display: flex;
    flex-wrap: wrap;
    color: #9fa0a7;
    font-size: 12px;
}

.comment-time {
    margin-right: 15px;
}

.comment-child {
    margin-top: 15px;
}

.page-navigator {
    display: flex;
    align-items: center;
}

.page-navigator li {
    display: inline-block;
}

.page-navigator li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #F6F8FF;
    border-radius: 100%;
    font-size: 16px;
    font-weight: 900;
    margin-right: 12px;
    color: #9DA0B3;
}

.page-navigator li a:hover {
    color: #364CC6;
}

.page-navigator li.current a {
    background-color: #364CC6;
    color: #fff;
}

.page-navigator li.current a {
    color: #fff;
}

.sidebar {
    width: 216px;
    padding: 0 25px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 0 50px 0 rgba(0,0,0,.1);
    flex-shrink: 0;
    border-radius: 46px;
    height: 816px;
    position: sticky;
    position: -webkit-sticky;
    top: 25px;
}

.sidebar-box {
    margin-top: 25px;
}

.sidebar-box:last-child {
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 20px;
    margin-bottom: 25px;
}

.sidebar-title .icon-arrow-right {
    display: inline-block;
    color: #FFD55D;
    font-size: 20px;
    font-weight: normal;
    transition: transform .25s ease;
    margin-left: 5px;
}

.sidebar-title a:hover .icon-arrow-right {
    transform: translateX(6px);
}

.sidebar-body img {
    border-radius: 15px;
    width: 100%;
}

.sidebar-body-item {
    display: flex;
    flex-direction: column;
}

.sidebar-body-item a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.sidebar-body-item img {
    width: 36px;
    margin-right: 10px;
}

.friendlink {
    display: flex;
    background: #EAEFFE;
    padding: 15px;
    border-radius: 15px;
    margin-top: 23px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.friendlink a {
    margin-right: 15px;
}

.friendlink a:before {
    content: '\2022';
    display: inline-block;
    position: relative;
    margin-right: 5px;
}

.footer {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin: 15px;
    font-size: 13px;
    color: #9DA0B3;
    flex-direction: column;
    justify-content: center;
}

.wxCode-img {
    display: flex;
    padding: 25px;
    flex-direction: column;
    align-items: center;
}

.wxCode-img span {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 25px 25px;
}

.wxCode-img img {
    width: 200px;
    margin-bottom: 25px;
}

.error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50%;
    margin-bottom: 50px;
}

.error img {
    margin: 0;
    width: 240px;
}

.error h2 {
    margin: 20px 0;
}

.error p {
    margin-bottom: 5px;
}

.d-block {
    display: block!important;
}

.d-none {
    display: none!important;
}

.o-y-h {
    overflow-y: hidden!important;
}

.layui-layer {
    border-radius: 15px!important;
}

.layui-layer-setwin .layui-layer-close2 {
    right: -5px!important;
    top: -5px!important;
}

.layui-layer-btn0,.layui-layer-btn1 {
    border-radius: 15px!important;
}

.AD {
    margin-bottom: 20px;
}

.AD img {
    width: 100%;
    border-radius: 15px;
}

.AD-a {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.AD-a a {
    width: 49.5%;
}

.AD-a a img {
    width: 100%;
    border-radius: 15px;
}

.topbe-wrapper {
    position: relative;
    width: 100%;
}

.topbe-wrapper .topbe-content .topbe-link {
    display: block;
    position: relative;
    width: 1190px;
    margin: 0 auto;
    background-position: center top;
    background-repeat: no-repeat;
}

.topbe-wrapper .topbe-content .topbe-adimg {
    position: absolute;
    top: 0;
    right: 0;
}

.topbe-wrapper .topbe-content img {
    vertical-align: middle;
}

.topbe-wrapper .topbe-content .topbe-close {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 500;
}

.acg-notice {
    display: flex;
    background: #fff6bf;
    height: 35px;
    width: 100%;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 99;
    font-weight: bold;
}

#acg-msg {
    position: fixed;
    top: 0;
    display: flex;
    color: #8a6d3b;
    background: #fff6bf;
    width: 100%;
    height: 35px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    z-index: 99;
}

@media screen and (min-width: 1024px) and (max-width:1280px) {
    .nav {
        margin:20px 0 20px 20px;
    }

    .main {
        padding: 20px;
    }

    .sidebar {
        width: 200px;
        padding: 0 20px;
    }

    .box-card {
        width: 32%;
    }

    .card-item {
        display: flex;
        align-items: center;
    }

    .box-card:last-child:nth-child(3n - 1) {
        margin-right: calc(32% + 6% / 3);
    }

    .box-card:last-child:nth-child(3n - 3) {
        margin-right: 0
    }

    .card-info {
        display: flex;
        flex-direction: column;
        width: calc(100% - 70px);
    }
}

@media screen and (min-width: 768px) and (max-width:1024px) {
    .main {
        padding:20px;
    }

    .sidebar {
        display: none;
    }

    .box-card {
        width: 32%;
    }

    .box-card:last-child:nth-child(3n - 1) {
        margin-right: calc(32% + 6% / 3);
    }

    .box-card:last-child:nth-child(3n - 3) {
        margin-right: 0
    }

    .card-info {
        display: flex;
        flex-direction: column;
        width: calc(100% - 70px);
    }
}

@media screen and (max-width: 768px) {
    .box {
        margin-top:0;
        flex-direction: column;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        height: auto;
        margin: 10px;
        padding: 10px;
        border-radius: 16px;
        width: calc(100% - 40px);
        position: fixed;
        top: 0;
        z-index: 99;
    }

    .nav-logo {
        text-align: left;
        display: flex;
        margin-top: 0;
        align-items: center;
        z-index: 99;
    }

    .nav-logo img {
        width: 42px;
        border-radius: 8px;
        margin-right: 10px;
    }

    .nav-logo h1 {
        margin-bottom: 0;
    }

    .nav-menu-btn {
        display: flex;
        z-index: 99;
        height: 42px;
        width: 30px;
        justify-content: flex-end;
        align-items: center;
    }

    .nav-menu-btn i {
        font-size: 20px;
        font-weight: 900;
    }

    .box {
        width: calc(100% - 20px);
        border-radius: 20px;
    }

    .main {
        padding: 10px;
    }

    .search-form {
        width: 100%;
    }

    .search-bar {
        margin: 80px 0 10px 0;
    }

    .sidebar {
        display: none;
    }

    .list-box {
        margin-top: 15px;
    }

    .box-card {
        width: 49%;
    }

    .card-info {
        display: flex;
        flex-direction: column;
        width: calc(100% - 55px);
    }

    .box-card:last-child:nth-child(n - 1) {
        margin-right: 0;
    }

    .nav-menu {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background: #1890ff;
        margin-top: 0;
        z-index: 9;
        padding-top: 80px;
        display: none;
        transition: width 1s;
        -moz-transition: width 1s;
        -webkit-transition: width .1s 0.5s;
        -o-transition: width 1s;
    }

    .menu-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-y: auto;
        overflow-x: hidden;
        margin: 0;
        height: calc(100% - 40%);
    }

    .menu-item {
        width: 240px;
        margin: 10px 0;
    }

    .menu-item a {
        padding: 8px 0;
        font-weight: bold;
    }

    .p-top {
        position: relative;
        top: -80px;
    }

    .wx-code {
        display: flex;
        justify-content: center;
        margin-top: 25px;
    }

    .wx-code img {
        height: 120px;
        border-radius: 15px;
    }

    .friendlink {
        margin-top: 15px;
    }

    .post-article {
        flex-direction: column;
    }

    .post-tags {
        display: none;
    }

    .post-desc {
        width: auto;
        margin-top: 15px;
    }

    .comment-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .tuijian {
        margin-bottom: 20px;
    }

    .topbe-wrapper {
        display: none!important;
    }

    .AD-a {
        display: flex;
        flex-direction: column;
    }

    .AD-a a {
        width: 100%;
    }
}
