/* =========================================================
   全新现代化风格 CSS - 深蓝紫渐变主题
   ========================================================= */

/* ---------- 基础重置 ---------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, img, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, hgroup, menu, nav, summary, time, mark, audio, video, header, footer {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    background: transparent
}

html {
    font-size: 62.5%;
}

body {
    font-size: 13px;
    cursor: default;
    width: 100%;
    height: auto;
    font-family: "PingFang SC", "Microsoft YaHei", "WenQuanYi Micro Hei", -apple-system, BlinkMacSystemFont, Arial, Verdana, Tahoma, sans-serif;
    background: linear-gradient(180deg, #f0f4ff 0%, #eef2ff 30%, #f5f7fb 100%);
    color: #374151;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 15px;
    color: #1f2937;
    font-weight: 600
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

img, input {
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: middle
}

ol {
    list-style-type: decimal
}

input, textarea, button {
    outline: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

a, a:link, a:visited {
    color: #4338ca;
    text-decoration: none;
    transition: all 0.25s ease;
}

a:hover {
    color: #6366f1;
    text-decoration: none;
}

a img, input {
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -ms-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out
}

ul, li {
    list-style: none
}

.alignleft {
    float: left;
    text-align: left;
    margin-right: 10px
}

.aligncenter {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px
}

.alignright {
    float: right;
    text-align: right;
    margin-left: 10px
}

* {
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: none
}

.post video, .post object, .post embed, .post iframe {
    width: 100% !important;
}

.clear {
    clear: both
}

.mb15 {
    margin-bottom: 15px
}

.pdt15 {
    padding-top: 15px
}

.mt15 {
    margin-top: 15px
}

.mr10 {
    margin-right: 10px
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    user-select: none;
    transition: all 0.25s ease;
}

/* =========================================================
   顶部信息栏
   ========================================================= */
.top-info-bar {
    width: 100%;
    background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);
    color: #c7d2fe;
    font-size: 12px;
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-info-inner {
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.top-info-left {
    float: left;
}

.top-info-left i {
    color: #818cf8;
    margin-right: 6px;
}

.top-info-right {
    float: right;
}

.top-info-right i {
    color: #818cf8;
    margin-right: 6px;
}

/* =========================================================
   头部主导航区
   ========================================================= */
#header-vfilm {
    width: 100%;
    position: relative;
    clear: both;
    background: linear-gradient(135deg, #3730a3 0%, #4f46e5 50%, #6366f1 100%);
    height: 80px;
    margin-bottom: 0;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.2);
}

@media screen and (max-width:980px) {
    #header-vfilm {
        margin-bottom: 10px;
    }
    .top-info-inner { width: 100%; padding: 0 15px; }
}

#header {
    width: 1200px;
    margin: 0 auto;
    background: transparent;
}

.header {
    width: 100%;
    height: 80px;
    position: relative;
    margin: 0 auto;
    background: transparent;
}

#logo {
    width: 255px;
    position: relative;
    float: left;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 80px;
}

#logo img {
    max-height: 56px;
    max-width: 100%;
    border-radius: 6px;
}

#mainnav {
    float: left;
    line-height: 80px;
    height: 80px;
    font-size: 15px;
    margin-left: 10px;
}

#mainnav li {
    position: relative;
    list-style: none;
    display: block;
    float: left;
    min-height: 80px
}

#mainnav li a {
    text-transform: none;
    line-height: 80px;
    height: 80px;
    padding: 0 10px;
    color: #c4b5fd;
    display: block;
    font-weight: 500;
    position: relative;
    transition: all 0.25s ease;
}

#mainnav li a i {
    margin-right: 6px;
    font-size: 14px;
    opacity: 0.9;
}

#mainnav li a:focus, #mainnav li a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #312e81
}

#mainnav li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa, #c4b5fd);
    border-radius: 3px 3px 0 0;
}

#mainnav li .sub-menu {
    text-align: left;
    position: absolute;
    top: 80px;
    left: 0;
    min-width: 180px;
    z-index: 100;
    display: none;
    font-size: 14px;
    background: linear-gradient(180deg, #4338ca 0%, #3730a3 100%);
    padding: 8px 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(55, 48, 163, 0.3);
}

#mainnav li .sub-menu li {
    float: none;
    display: block;
    color: #e0e7ff;
    height: 40px;
    min-height: 40px
}

#mainnav li .sub-menu li a {
    line-height: 40px;
    height: 40px;
    background: transparent;
    padding: 0 20px;
}

#mainnav li .sub-menu li a:hover, #mainnav li .sub-menu li.current-menu-item a {
    background: rgba(255,255,255,0.1);
    color: #fff
}

#mainnav .active a, #mainnav .active a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

#mainnav .active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa, #c4b5fd);
    border-radius: 3px 3px 0 0;
}

#mainnav li:hover a, #mainnav li.current-menu-item a, #mainnav li.current-menu-parent a, #mainnav li.current_page_item a, #mainnav li.current-post-ancestor a, #mainnav .active a:hover {
    color: #fff;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
}

#mainnav .sign {
    border-top: 5px solid rgba(255,255,255,0.5);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    position: absolute;
    top: 38px;
    right: 8px;
}

.sign {
    display: inline-block;
    width: 0;
    height: 0;
    content: "";
    vertical-align: top
}

#mainnav li .icons {
    margin-right: 5px;
    font-size: 17px;
    top: 1px;
    position: relative;
}

#menu-icon {
    display: none;
}

/* ---------- 搜索框 ---------- */
.sear {
    position: absolute;
    right: 140px;
    top: 50%;
    transform: translateY(-50%);
}

.sear form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 2px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.sear form:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.sear .text {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 13px;
    padding: 6px 14px;
    width: 180px;
    outline: none;
}

.sear .text::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.sear .submit {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.sear .submit:hover {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    transform: scale(1.05);
}

/* ---------- 登录区 ---------- */
#logged {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#logged .top-avatar {
    margin: 0 15px;
    z-index: 100;
    color: #e0e7ff;
    font-size: 14px;
    position: relative;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
    float: left;
    padding: 0 18px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    transition: all 0.25s ease;
    font-weight: 500;
}

#logged .top-avatar:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

#logged .top-avatar i {
    margin-right: 5px;
}

#logged .top-avatar img {
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    -ms-border-radius: 35px;
    -o-border-radius: 35px;
    border-radius: 35px;
    width: 35px
}

#logged .logged-active:hover .logged-menu {
    display: block
}

#logged .logged-active .logged-menu {
    background: linear-gradient(180deg, #4338ca 0%, #3730a3 100%);
    position: absolute;
    width: 150px;
    display: none;
    top: 48px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(55, 48, 163, 0.3);
}

#logged .logged-active .logged-menu li {
    list-style: none;
}

#logged .logged-active .logged-menu a {
    color: #e0e7ff;
    display: block;
    padding: 12px 16px;
    text-align: left;
    line-height: 20px;
    font-size: 13px;
    transition: all 0.2s ease;
}

#logged .logged-active .logged-menu a:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

#logged .logged-active .logged-menu a i {
    margin-right: 6px;
}

/* =========================================================
   首页 Banner 区
   ========================================================= */
.hero-banner {
    width: 100%;
    background: linear-gradient(135deg, #312e81 0%, #4338ca 30%, #6366f1 70%, #8b5cf6 100%);
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 60px 20px 55px;
}

.hero-content {
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-subtitle {
    font-size: 17px;
    color: #c7d2fe;
    margin-bottom: 35px;
    letter-spacing: 3px;
}

.hero-search {
    max-width: 640px;
    margin: 0 auto 24px;
}

.hero-search form {
    display: flex;
    background: #fff;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-search input {
    flex: 1;
    border: none;
    padding: 12px 26px;
    font-size: 15px;
    background: transparent;
    color: #374151;
    outline: none;
}

.hero-search input::placeholder {
    color: #9ca3af;
}

.hero-search button {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-search button:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.hero-search button i {
    margin-right: 6px;
}

.hero-tags {
    font-size: 13px;
    color: #c7d2fe;
}

.hero-tags span {
    margin-right: 8px;
}

.hero-tags a {
    display: inline-block;
    padding: 4px 14px;
    margin: 0 5px 6px 0;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    color: #e0e7ff;
    font-size: 12px;
    transition: all 0.25s ease;
}

.hero-tags a:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
    transform: translateY(-1px);
}

/* =========================================================
   分类快捷入口
   ========================================================= */
.category-quick {
    width: 100%;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.category-inner {
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    padding: 0 20px;
}

.cat-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 14px;
    padding: 22px 10px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.8);
}

.cat-quick-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.18);
    border-color: #c7d2fe;
}

.cat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 14px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.cat-icon i {
    font-size: 24px;
    color: #6366f1;
}

.cat-quick-item:hover .cat-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: rotate(-6deg) scale(1.08);
}

.cat-quick-item:hover .cat-icon i {
    color: #fff;
}

.cat-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

@media screen and (max-width: 980px) {
    .category-inner {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    .hero-inner { width: 100%; padding: 40px 20px; }
    .hero-title { font-size: 28px; }
}

/* =========================================================
   主体内容区
   ========================================================= */
#wrapper {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#wrap {
    width: 895px;
    margin: 0 auto;
    float: right;
    margin-bottom: 30px;
    overflow: hidden;
}

#main {
    width: 100%;
    margin: 0 auto;
    position: relative;
    clear: both
}

/* 区块标题头 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e7ff;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #6366f1;
    margin-right: 8px;
    font-size: 18px;
}

.section-more {
    font-size: 13px;
    color: #6366f1;
    font-weight: 500;
}

.section-more:hover {
    color: #4f46e5;
}

.section-more i {
    font-size: 12px;
    margin-left: 2px;
}

/* =========================================================
   左侧菜单
   ========================================================= */
#left-menu {
    font-size: 16px;
    width: 180px;
    float: left;
    position: relative;
    background: #fff;
    z-index: 2;
    margin: 0 0 25px 0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    overflow: hidden;
}

#left-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative
}

#left-menu ul li {
    list-style: none;
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    height: 46px
}

#left-menu ul li:last-child {
    border-bottom: none;
}

#left-menu ul li a {
    font-size: 14px;
    line-height: 46px;
    display: block;
    height: 46px;
    text-transform: none;
    color: #4b5563;
    padding-left: 20px;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

#left-menu ul li a:focus, #left-menu ul li a:hover, #left-menu ul li:hover a {
    background: linear-gradient(90deg, #eef2ff, #fafbff);
    color: #4f46e5;
    border-left-color: #6366f1;
}

#left-menu .sign {
    border-top: 5px solid transparent;
    border-left: 6px solid #9ca3af;
    border-bottom: 5px solid transparent;
    position: absolute;
    top: 18px;
    right: 20px;
}

#left-menu ul li .sub-menu {
    position: absolute;
    left: 180px;
    top: 0;
    padding: 8px 0;
    width: 180px;
    display: none;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 8px 4px 20px rgba(0, 0, 0, 0.1);
}

ul.sub-menu {}

#left-menu ul li .sub-menu li {
    float: none;
    display: block;
    color: #4b5563;
    border-bottom: none;
    height: 40px;
}

#left-menu ul li .sub-menu li a {
    padding-left: 24px;
    line-height: 40px;
    height: 40px;
    color: #4b5563;
    background: #fff;
    border-left: none;
}

#left-menu ul li .sub-menu li a:hover, #left-menu ul li .sub-menu li.current-menu-item a {
    background: #eef2ff;
    color: #4f46e5;
    background-image: none;
    border-left: none;
}

#left-menu ul li:hover .sub-menu {
    display: block
}

#left-menu ul .active a, #left-menu ul .active a:hover, #left-menu ul .active a:focus {
    color: #4f46e5;
    text-decoration: none;
    background: linear-gradient(90deg, #eef2ff, #fafbff);
    border-left-color: #6366f1;
}

#left-menu ul li.current-menu-item a, #left-menu ul li.current-menu-parent a, #left-menu ul li.current_page_item a, #left-menu ul li.current-post-ancestor a {
    color: #4f46e5;
    text-decoration: none;
    background: linear-gradient(90deg, #eef2ff, #fafbff);
    border-left-color: #6366f1;
}

#left-menu ul li .icons {
    margin-right: 5px;
    font-size: 15px;
    top: 1px;
    position: relative;
}

/* 面包屑 */
#category_mbx {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

#category_mbx ul {
    color: #e0e7ff;
    background: #fff;
    padding: 8px 18px;
    margin-bottom: 0;
    text-transform: none;
    clear: both;
    font-size: 13px;
    border-radius: 8px;
}

#category_mbx ul li {
    text-transform: none;
    clear: both
}

#category_mbx a, #category_mbx a:visited {
    color: #6366f1;
}

.breadcrumb {
    background: #fff;
    position: relative;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(79, 70, 229, 0.06);
    margin-bottom: 20px;
    font-size: 13px;
    color: #6b7280;
}

.breadcrumb a {
    color: #6366f1;
}

.breadcrumb a:hover {
    color: #4f46e5;
}

.breadcrumb i {
    margin: 0 6px;
    color: #9ca3af;
}

.breadcrumb h2 {
    font-size: 18px;
    line-height: 24px;
}

.breadcrumb p {
    font-size: 14px;
    line-height: 24px;
}

/* =========================================================
   文章列表
   ========================================================= */
#article {
    width: 620px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    float: left;
    padding: 0 0 15px 0
}

#article .article-title, .related_about, #comment-title {
    padding: 12px 20px;
    margin-bottom: 16px;
    text-transform: none;
    clear: both;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
    border-radius: 12px 12px 0 0;
    color: #1f2937;
    border-bottom: 2px solid #eef2ff;
}

#article .loop {
    width: 620px;
    margin: 0 0 22px 0;
    float: left;
    background: #FFF;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.9);
}

#article .loop:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(79, 70, 229, 0.15);
    border-color: #e0e7ff;
}

/* one style */
#article .loop .content {
    overflow: hidden;
    float: left;
    margin: 18px 0 18px 18px;
    width: 260px;
    height: 170px;
    border-radius: 10px;
}

#article .loop .content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#article .loop .content:hover img {
    opacity: 0.88;
    filter: alpha(opacity=88)
}

#article .loop .content img, #article .loop .content-two img {
    transform: scale(1);
    transition: all 0.5s ease 0s;
    -webkit-transform: scale(1);
}

#article .loop .content:hover img, #article .loop .content-two:hover img {
    transform: scale(1.08);
    transition: all 0.5s ease 0s;
    -webkit-transform: scale(1.08);
}

/* two style */
#article .loop .content-two {
    width: 620px;
    height: 230px;
    margin: 0;
    overflow: hidden;
}

#article .loop .content-two img {
    width: 620px;
    height: auto;
    margin: 0;
}

#article .loop .content-two:hover img {
    opacity: 0.88;
}

#article .loop .content-two a {
    height: 230px;
    display: block;
}

#article .loop .content_body {
    margin: 18px 18px 0 300px;
    display: block;
    overflow: hidden;
}

#article .loop .content_body h2 {
    font-size: 18px;
    line-height: 1.5;
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 8px;
}

#article .loop .content_body h2 a, #article .loop .content_body h2 a:visited {
    color: #1f2937;
}

#article .loop .content_body:hover h2 a {
    color: #6366f1;
}

#article .loop .content_body p {
    font-size: 13.5px;
    color: #6b7280;
    margin: 8px 0;
    line-height: 1.7;
}

#article .loop .content_infor {
    color: #9ca3af;
    font-size: 12.5px;
    padding: 12px 20px;
    border-top: 1px solid #f3f4f6;
    line-height: 27px;
    overflow: hidden;
    margin-top: 14px;
    display: block;
    clear: both;
    background: #fafbff;
}

#article .loop .content_infor a {
    color: #9ca3af;
}

#article .loop .content_infor span, #article .loop .content_infor .auther {
    margin-right: 14px;
}

#article .loop .content_infor a:hover {
    color: #6366f1
}

#article .loop .content_infor .avatar {
    width: 30px;
    border-radius: 15px;
    height: auto;
    margin-right: 10px
}

#article .loop .more {
    float: right;
}

#article .loop .more a {
    color: #6366f1;
    font-weight: 500;
}

#article .loop .more a:hover {
    color: #4f46e5;
}

#article .loop .more i {
    margin-left: 3px;
}

/* three style */
#article-three {
    width: 930px;
}

#article-three .posts {
    position: relative;
}

#article-three .loop-pic {
    float: left;
    width: 303px;
    margin-bottom: 25px;
}

.content-two .category-color {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 6px;
    padding: 2px 10px;
}

.content-two .category-color a {
    line-height: 22px;
    font-size: 12px;
    color: #FFF;
}

#article-three .loop-pic .loop-three {
    background: #FFF;
    margin: 0 15px 0 0;
    border: 2px solid #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.content-two {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 12px 12px 0 0;
}

#article-three .loop-pic img {
    width: 100%;
    height: 168px;
    object-fit: cover;
}

.loop-three h2 {
    font-size: 15px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 15px 8px 15px;
    font-weight: 600;
}

#article-three .loop-pic .loop-three:hover .category-color {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

#article-three .loop-pic .loop-three:hover {
    border-color: #c7d2fe;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
}

.loop-three .content_infor {
    padding: 0 15px 12px 15px;
    font-size: 12px;
    color: #9ca3af;
}

.loop-three .content_infor span, .loop-three .content_infor a {
    color: #9ca3af;
}

.article-three-title {
    padding: 12px 20px;
    margin-bottom: 20px;
    text-transform: none;
    clear: both;
    font-size: 16px;
    font-weight: 600;
    background: #FFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(79, 70, 229, 0.06);
}

/* 广告位 */
.index-6ad, .index-3ad {
    width: 895px;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
    background: #FFF;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    padding: 10px;
}

.index-6ad ul, .index-3ad ul {
    overflow: hidden;
}

.index-6ad li {
    float: left;
    overflow: hidden;
    width: 16.6%;
}

.index-6ad li .box {
    margin-left: 10px;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.index-6ad li img {
    width: 132px;
    height: 77px;
    margin-bottom: 10px;
    border-radius: 6px;
    object-fit: cover;
}

.index-6ad li h2 {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 10px;
    font-size: 13px;
    font-weight: 500;
}

.index-3ad li {
    float: left;
    width: 33%;
    box-shadow: none;
}

.index-3ad li .box {
    margin: 10px 0 10px 10px;
    border: 2px solid #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.index-3ad li .box:hover {
    border: 2px solid #c7d2fe;
    transform: translateY(-2px);
}

.index-3ad li img {
    width: 100%;
    max-height: 168px;
    margin-bottom: 10px;
    object-fit: cover;
}

.index-3ad li h2 {
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

/* =========================================================
   页码
   ========================================================= */
#page {
    margin-bottom: 0px;
    margin-top: 20px;
    clear: both;
    overflow: hidden;
}

#page li, #page span {
    float: left;
}

#page li a {
    font-size: 13px;
    color: #6366f1;
    min-width: 40px;
    line-height: 40px;
    background: #fff;
    text-align: center;
    display: block;
    margin: 0 5px 10px 0;
    padding: 0 12px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.06);
    font-weight: 500;
    transition: all 0.25s ease;
}

#page li a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

#page .active a {
    color: #FFF !important;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

#page_title {
    overflow: hidden;
    padding: 5px 0 15px 0;
    border-bottom: 1px solid #e5e7eb
}

#page_title h2 {
    line-height: 30px;
    font-size: 22px;
    color: #1f2937;
    font-weight: 700;
}

/* =========================================================
   文章详情页
   ========================================================= */
.author-head {
    float: left;
    border: 1px solid #e5e7eb;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.author-head img {
    width: 46px;
    height: 46px;
}

#title .date, #title .post_icon {
    color: #9ca3af;
    margin-top: 6px;
    font-size: 13px;
}

.post_icon span {
    margin-right: 14px;
}

.post_icon i {
    color: #6366f1;
    margin-right: 4px;
}

#title .date a, #title .post_icon a, #title .date a:visited {
    color: #9ca3af
}

#title .date, #title .post_icon a:hover {
    text-decoration: underline
}

#post {
    background: #fff;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    position: relative;
    padding: 0 30px 30px 30px;
    margin-bottom: 24px;
    border-radius: 14px;
}

#post #title {
    overflow: hidden;
    padding: 20px 0 18px;
    border-bottom: 1px solid #f3f4f6
}

#post #title .post-title h1 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
    color: #1f2937;
}

#post .img {
    float: left;
    margin-right: 10px
}

.post {
    overflow: hidden;
    font-size: 15px;
    line-height: 1.9;
    color: #374151;
}

.post p {
    margin: 14px 0;
}

.post p img {
    max-width: 100%;
    margin: 18px auto;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.post blockquote {
    line-height: 1.8;
    padding: 16px 20px;
    margin: 16px 0;
    border: none;
    border-left: 4px solid #6366f1;
    background: linear-gradient(90deg, #eef2ff, #fafbff);
    border-radius: 0 10px 10px 0;
    color: #4b5563;
}

.post h3, .post h2 {
    text-align: left;
    border-left: 4px solid #6366f1;
    padding-left: 15px;
    font-size: 18px;
    margin: 20px 0 14px;
    line-height: 1.5;
    color: #1f2937;
    font-weight: 600;
}

.post h4 {
    text-align: left;
    border-left: 4px solid #a5b4fc;
    padding-left: 13px;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
    font-weight: 600;
}

.post strong {
    font-weight: 600;
    color: #1f2937;
}

.post em {
    font-style: italic
}

.post a, .post a:visited {
    color: #6366f1;
    text-decoration: none
}

.post a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* 作者信息区 */
#authorarea {
    background-color: #fff;
    padding: 24px;
    position: relative;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    border-radius: 14px;
    min-height: 180px;
    margin-bottom: 20px;
    overflow: hidden;
}

#authorarea::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa);
}

#authorarea img {
    border: 3px solid #eef2ff;
    float: left;
    position: relative;
    margin: 0 20px 0 0;
    width: 150px;
    height: 150px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.12);
}

.authorinfo {
    min-height: 150px;
    margin-left: 175px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.post-author-name {
    font-size: 18px;
    font-weight: 700;
    margin-right: 10px;
    color: #1f2937;
    margin-bottom: 10px;
}

.post-author-description {
    color: #6b7280;
    margin-top: 10px
}

.post-author-url, .post-author-weibo {
    font-size: 13px;
    text-decoration: none;
    padding: 4px 12px;
    white-space: nowrap;
    margin: 4px 10px 4px 0;
    border-radius: 6px;
    display: inline-block;
    font-weight: 500;
}

.post-author-url {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.post-author-weibo {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
}

.post-author-url a, .post-author-weibo a {
    color: #fff
}

.authorinfo p {
    margin-top: 12px;
    color: #4b5563;
    font-size: 14px;
    background: #fafbff;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid #a5b4fc;
}

.authorinfo .phone {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

/* 上/下一篇导航 */
.post-nav {
    overflow: hidden;
    padding: 18px 20px;
    font-size: 14px;
    background: #fff;
    color: #9ca3af;
    margin: 20px 0 0 0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
}

.post-nav span {
    float: left;
    position: relative;
    width: 50%;
    padding: 8px 12px;
}

.post-nav .post-nav-next {
    float: right;
    text-align: right;
}

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

.post-nav a {
    color: #4b5563;
    font-weight: 500;
}

.post-nav a:hover {
    color: #6366f1;
}

.post-nav i {
    color: #6366f1;
    margin: 0 4px;
}

.post-statement, .post-tags {
    font-size: 15px;
    color: #9ca3af;
}

.post-tags .tags a {
    color: #6366f1;
    margin: 0 6px 12px 6px;
    background-clip: border-box;
    background-color: #eef2ff;
    border-radius: 8px;
    box-shadow: none;
    line-height: 1.6;
    padding: 6px 14px;
    display: inline-block;
    font-size: 13px;
    transition: all 0.25s ease;
}

.post-tags .tags a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    transform: translateY(-1px);
}

#post .zxk {
    width: auto;
    min-width: 120px;
    height: auto;
    color: #fff;
    margin: 20px 20px 10px 0;
    padding: 8px 20px 8px 20px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25);
}

#post .zxk a, #post .zxk a:visited {
    color: #fff;
    line-height: 1.6;
    font-size: 15px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

#post .zxk a:hover, #post .download a:hover {
    color: #fff;
}

#post .download a, #post .download a:visited {
    color: #fff;
    line-height: 1.6;
    font-size: 15px;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

#post .download {
    width: auto;
    min-width: 120px;
    height: auto;
    color: #fff;
    padding: 8px 20px 8px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.cbtns {
    margin: 0 15px 0 0
}

.c_zxk {
    color: #6366f1 !important;
    background-color: #eef2ff;
    border: 1px solid #c7d2fe;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.c_zxk:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
}

#article-index {
    border-radius: 10px;
    border: 1px solid #e0e7ff;
    float: right;
    position: relative;
    margin: 15px 0 15px 15px;
    padding: 8px 10px;
    max-width: 20%;
    line-height: 1.7;
    font-size: 12px;
    z-index: 900;
    background: #fafbff;
}

#article-index strong {
    border-bottom: 1px dashed #c7d2fe;
    display: block;
    line-height: 30px;
    padding: 0 6px;
    color: #4f46e5;
    font-weight: 600;
}

#index-ul {
    margin: 0;
    padding-bottom: 10px
}

#index-ul li {
    background: none repeat scroll 0 0 transparent;
    list-style-type: none;
    padding: 0;
    text-align: center
}

#show-index {
    cursor: pointer;
    margin-left: 8px;
    margin-right: 8px
}

/* =========================================================
   侧边栏
   ========================================================= */
#sidebar-left {
    float: left;
    width: 180px
}

#sidebar-right {
    width: 260px;
    float: right;
    position: relative
}

.sidebox ul.sidebar-social {
    margin: 0 auto;
    width: 100%;
    text-align: -moz-center;
    text-align: center;
    margin-top: 10px;
    padding: 0;
}

.sidebar-social-icon {
    margin-bottom: 25px;
    position: relative;
    clear: both;
}

.sidebar-social-icons {
    display: inline-block;
    padding-right: 1%;
    padding-left: 1%;
}

.sidebar-social-icon .weixin {
    height: auto;
    width: 100%;
    border-radius: 10px;
}

.sidebar-social-icons a {
    display: inline-block;
    width: 38px;
    height: 39px;
}

.sidebar-social-icons .weibo, .sidebar-social-icons .qq, .sidebar-social-icons .rss, .sidebar-social-icons .email {
    background: url(../images/social.png) no-repeat
}

.sidebar-social-icons .weibo {
    background-position: 0 0
}

.sidebar-social-icons .qq {
    background-position: -44px 0
}

.sidebar-social-icons .rss {
    background-position: -88px 0
}

.sidebar-social-icons .email {
    background-position: -132px 0
}

.widget-container {
    padding: 10px;
    overflow: hidden
}

.widget-container li {
    border-bottom: 1px dashed #e5e7eb;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.7;
    overflow: hidden;
    padding-bottom: 6px;
}

.widget-container li:last-child {
    border-bottom: none;
}

.widget-container li p {
    margin-left: 20px
}

.widget-container span {
    width: 20px;
    height: 20px;
    float: left;
    color: #6366f1;
}

.widget-container li a {
    color: #6366f1
}

.widget-title, .sidebox h2 {
    padding: 6px 20px;
    line-height: 42px;
    text-transform: none;
    clear: both;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #fafbff 0%, #eef2ff 100%);
    color: #1f2937;
    border-bottom: 2px solid #e0e7ff;
    position: relative;
}

.widget-title::after, .sidebox h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.widget-title i, .sidebox h2 i {
    color: #6366f1;
    margin-right: 6px;
}

.sidebox, .widget {
    margin-bottom: 22px;
    background: #FFF;
    float: left;
    clear: both;
    font-size: 12px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.8);
}

.sidebox ul, .textwidget {
    padding: 10px 14px
}

.w_comment li a.comment_r p {
    line-height: 1.6;
}

.w_comment li a.comment_r {
    color: #4b5563;
    border-radius: 10px;
    padding: 10px 14px;
    background: #f3f4f6;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
    margin-top: -2px;
    margin-left: 43px;
    transition: all 0.25s ease;
}

.w_comment li a.comment_r:hover {
    background: #eef2ff;
    color: #4f46e5;
}

.w_comment li a.comment_r:before {
    content: " ";
    height: 0;
    width: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 7px;
    border-right-color: #f3f4f6;
    position: absolute;
    left: -13px;
    top: 14px;
}

.w_comment li a {
    display: block;
}

#tab-title {
    width: 100%;
    overflow: hidden;
    margin-bottom: 5px;
    color: #6366f1;
    background: linear-gradient(135deg, #fafbff 0%, #eef2ff 100%);
}

#tab-title span {
    font-size: 14px;
    width: 50%;
    line-height: 42px;
    float: left;
    border-top: 3px solid #c7d2fe;
    text-align: center;
    color: #6366f1;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

#tab-title span.selected {
    color: #4f46e5;
    border-top: 3px solid #6366f1;
    background: #fff;
}

#tab-content {}

#tab-content ul li, .w_comment li {
    overflow: hidden;
}

#tab-content ul li {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #f3f4f6;
}

#tab-content ul li:last-child {
    border-bottom: none;
}

#tab-content ul li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

#tab-content ul li a {
    float: left
}

#tab-content ul li a:hover, .w_comment li a:hover {
    color: #6366f1
}

#tab-content ul li .post_i {
    color: #6366f1;
    font-family: "Georgia";
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    left: 10px;
    bottom: 2px
}

#tab-content ul li .tab_post_title {
    display: block;
    padding: 0 0 0 30px;
    position: relative;
    font-size: 12px;
    width: 150px;
    font-family: inherit;
    color: #4b5563;
    line-height: 1.7;
}

#tab-content ul li .post_num {
    color: #9ca3af;
    float: right;
    font-size: 12px;
}

#tab-content ul li .time {
    float: right;
    color: #9ca3af
}

#tab-content .hide {
    display: none
}

/* 热门文章列表 */
.hotpost {
    padding: 8px 14px 14px
}

.hotpost li {
    margin: 0 0 12px 0;
    border-bottom: 1px dashed #f3f4f6;
    padding-bottom: 12px;
    list-style: none;
}

.hotpost li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hotpost li a {
    overflow: hidden;
    position: relative;
    display: block
}

.hotpost li img {
    width: 80px;
    height: 65px;
    float: right;
    margin: 0 0 0 12px;
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.hotpost li a:hover img {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.hotpost li .hotpost-left {
    overflow: hidden;
    min-height: 65px;
}

.hotpost .hot-post-title {
    display: block;
    line-height: 1.5;
    word-wrap: break-word;
    overflow: hidden;
    font-size: 13px;
    color: #1f2937;
    font-weight: 500;
    margin-bottom: 6px;
    transition: all 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hotpost li a:hover .hot-post-title {
    color: #6366f1;
}

.hotpost .hot-post-info {
    color: #9ca3af;
    font-size: 11.5px;
    line-height: 1.8;
    margin-right: 10px
}

.hotpost .hot-post-info i {
    color: #a5b4fc;
    margin-right: 3px;
}

.w-readers {
    overflow: hidden;
    padding: 10px
}

.w-readers li {
    float: left;
    margin: 0 10px 10px 0;
}

.w-readers li a {
    display: inline
}

#sidebar-left .w-readers ul li {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

#sidebar-left .w-readers img.avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.w-readers img.avatar {
    width: 47px;
    height: auto;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.w-readers img.avatar:hover {
    opacity: 0.75;
    transform: scale(1.1);
}

.w_comment img {
    float: left;
    margin: 0 8px 0 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.widge_tags {
    margin: 10px 14px 14px;
}

.widge_tags a {
    color: #6b7280;
    padding: 5px 12px;
    font-family: inherit;
    display: inline-block !important;
    margin: 0 5px 7px 0;
    list-style: none;
    background-color: #f3f4f6;
    border-radius: 8px;
    font-size: 12.5px;
    transition: all 0.25s ease;
}

.widge_tags a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/*左侧栏书签*/
.list_bookmarks {
    padding: 8px;
    display: block;
    overflow: hidden;
    color: #9ca3af;
}

.list_bookmarks li {
    line-height: 1.8;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    margin: 5px 2px;
    float: left;
}

.list_bookmarks li a {
    background-color: #f3f4f6;
    padding: 5px 10px;
    color: #6b7280;
    border-radius: 6px;
    font-size: 12.5px;
    transition: all 0.25s ease;
}

.list_bookmarks li a:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
}

.tuijian {
    position: relative;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.tuijian a {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    color: #fff;
    border-radius: 10px;
}

.tuijian a span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.5;
    overflow: hidden;
    color: #FFF;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.9));
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 500;
}

.tuijian img {
    height: auto;
    width: 100%;
    transition: all 0.4s ease;
}

.tuijian a:hover img {
    transform: scale(1.06);
}

/* =========================================================
   底部 Footer
   ========================================================= */
#footer {
    width: 100%;
    clear: both;
    margin-top: 40px;
}

/* 回到顶部 */
#totop {
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

#totop:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

#totop i {
    font-size: 18px;
}

/* 底部主内容 */
.footer-main {
    width: 100%;
    background: linear-gradient(180deg, #1e1b4b 0%, #312e81 100%);
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a78bfa, #c4b5fd, #a78bfa, #8b5cf6, #6366f1);
    background-size: 200% 100%;
    animation: footerLine 6s linear infinite;
}

@keyframes footerLine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.footer-inner {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #c4b5fd);
    border-radius: 2px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo img {
    background: rgba(255,255,255,0.08);
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-desc {
    color: #a5b4fc;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.footer-contact p {
    color: #c7d2fe;
    font-size: 13px;
    line-height: 2.2;
}

.footer-contact p i {
    color: #8b5cf6;
    margin-right: 8px;
    width: 16px;
    display: inline-block;
}

.footer-links ul, .footer-service ul {
    padding: 0;
}

.footer-links li, .footer-service li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-links li a, .footer-service li a {
    color: #a5b4fc;
    font-size: 13px;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-links li a:hover, .footer-service li a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-links li a i, .footer-service li a i {
    color: #8b5cf6;
    margin-right: 5px;
    font-size: 10px;
}

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

.footer-qrcode .footer-title {
    text-align: left;
}

.qrcode-box {
    width: 130px;
    height: 130px;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    margin: 0 auto 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.qrcode-box img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: block;
}

.qrcode-tip {
    color: #a5b4fc;
    font-size: 12px;
    line-height: 1.7;
}

/* 底部版权区 */
#footer-bottom {
    width: 100%;
    background: #1a1745;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

#footer-box {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    overflow: hidden;
}

.nav-foot {
    overflow: hidden;
}

.footernav {
    overflow: hidden;
    float: right;
    margin-bottom: 10px;
}

.footernav li {
    float: left;
    position: relative;
    list-style: none;
    display: block
}

.footernav li a {
    margin: 0 0 0 20px;
    color: #a5b4fc;
    font-size: 13px;
    transition: all 0.25s ease;
}

.footernav li a:hover {
    color: #fff;
}

.footernav li a i {
    color: #8b5cf6;
    margin-right: 4px;
}

.credit {
    clear: both;
    text-align: center;
    color: #818cf8;
    font-size: 12.5px;
    line-height: 1.9;
    padding-top: 8px;
    border-top: 1px solid rgba(139, 92, 246, 0.12);
}

.credit a {
    color: #a5b4fc;
    margin-left: 10px;
    transition: all 0.25s ease;
}

.credit a:hover {
    color: #fff;
}

@media screen and (max-width: 980px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 30px;
    }
    #footer-box { width: 100%; }
}

/* =========================================================
   文章操作区
   ========================================================= */
.post-do {
    overflow: hidden;
    padding: 20px 0 10px 0;
    border-top: 1px solid #f3f4f6;
    margin: 25px 0 0 0;
    color: #9ca3af;
}

.post-share {
    line-height: 28px;
    overflow: hidden;
    padding-top: 5px;
    text-align: center;
}

.post-share p {
    float: left;
    position: relative;
    margin-top: 3px;
    font-size: 15px;
}

#related {
    overflow: hidden;
    position: relative;
    background: #FFF;
    margin-bottom: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    padding-bottom: 10px;
}

#post .post-like {
    display: inline-block;
    float: right;
}

.post-do .btn-like {
    color: #ffffff;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: transparent;
    margin-right: 10px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
    transition: all 0.3s ease;
}

.post-do .btn-like:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
}

.related_img li {
    float: left;
    overflow: hidden;
    width: 25%;
}

.related_img li a {
    display: block;
    position: relative;
    margin: 10px;
    float: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related_img li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(79, 70, 229, 0.18);
}

.related_img li a img {
    width: 100%;
    background: #fff;
    height: auto;
    max-height: 120px;
    overflow: hidden;
    padding: 0;
    border: none;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: all 0.4s ease;
}

.related_img li a:hover img {
    transform: scale(1.06);
}

.related_img li a h2 {
    font-weight: 500;
    overflow: hidden;
    height: 42px;
    font-size: 13.5px;
    line-height: 1.5;
    margin-top: 6px;
    padding: 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    color: #374151;
}

.related_img li a:hover h2 {
    color: #6366f1;
}

#comments, #respond_box {
    clear: both;
    overflow: auto;
    background: #FFF;
    position: relative;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08);
    padding: 10px 0;
}

#respond {
    padding: 10px 20px;
}

#ds-thread {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

.comment-list, .commentlist {
    padding: 0 20px;
}

.comment-list-more {
    padding-left: 20px;
}

.comment-list li {
    margin-top: 20px;
}
