/* 全局样式 */
:root {
    --primary-color: #2196F3;
    --secondary-color: #1976D2;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --card-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
* {margin: 0;padding: 0;box-sizing: border-box;}
body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}
.hidden{display: none;}
/* 公共样式 */
.shuxian {width: 1px;background-color: #666;height: 13px;margin: 0 10px}
/* 设置复选框的宽度和高度 */
input[type="checkbox"] {width: 15px; height: 15px; padding: 0; border: 1px solid #999; border-radius: 0; }
input[type="checkbox"]:checked {background-color: #2196F3;}
/*字体*/
.ft1{font-size: 13px;color: #666}
/*分割线样式*/
.line{border-bottom: 1px solid rgba(204, 202, 202, 0.425);margin: 10px 10px;}
.line2{border-bottom: 2px solid #4682b4;margin: 10px 10px;}
.line3{border-bottom: 1px solid rgba(204, 202, 202, 0.425);margin: 0px 10px;}
/*按钮样式*/
.btn-blue {width: 100px;background-color:#2196F3;color:#fff;text-align:center;height: 40px;border-radius: 5px;border: 0px;font-size: 15px}
.btn-red {width: 100px;background-color:#ff4444;color:#fff;text-align:center;height: 40px;border-radius: 5px;border: 0px;font-size: 15px}
.btn-yellow {width: 100px;background-color:rgb(252, 126, 67);color:#fff;text-align:center;height: 40px;border-radius: 5px;border: 0px;font-size: 15px}
/*前缀*/
.fk1:before{content:'';display: inline-block;width: 6px;height: 6px;background-color: #666;margin-right: 5px;}
/*序号块*/
.xhk1::before{content: attr(data-number);color: white;background-color: #333;padding: 1px 5px;margin-right: 5px;border-radius: 5px;font-size: 8px}


/* 导航栏样式 */
.menubox{background: #fff;box-shadow: var(--card-shadow);position: fixed;width: 100%;top: 0;z-index: 1000;}
.menu{height: 70px;display: flex;flex-direction: row;justify-content: space-between;max-width: 1400px;margin: auto;}
.menubox2{width: 100%;background-color:rgb(255, 255, 255);position: fixed;top: 0px}
.menu-left{height: 70px;display: flex;padding-left: 10px;color: #666;align-items: center;width: 75%;}
.menu-left-logo h1{font-size: 24px;font-weight: bold;color: #2196F3;margin-right: 50px;}
.mobile-menu{display: flex;}
.menu-left-item a {text-decoration: none;color: #333;padding: 10px 20px;transition: color 0.3s;display: flex;align-items: center; /* 垂直居中 */height: 70px;}
.menu-left-item a:hover {color: #2196F3;}
.menu-left-item a.active {color: #2196F3;}
.menu-right{height: 70px;display: flex;color: #666;align-items: center;margin-left: 15px;width: calc(25% - 15px);justify-content: right;}
.menu-right-item{line-height: 70px;font-size:15px;display: flex;align-items: center;margin-right: 15px}
.menu-toggle {display: none;cursor: pointer;padding: 10px 0px 10px 10px;}
.menu-toggle span {display: block;width: 25px;height: 3px;background-color: var(--text-color);margin: 5px 0;transition: 0.4s;}
.menu-right-item a {text-decoration: none;color: #333;padding: 10px;transition: color 0.3s;display: flex;align-items: center;height: 70px;}
.menu-right-item a:hover {color: #2196F3;}
.menu-right-item i {color: var(--primary-color);margin-right: 20px;cursor: pointer;}


/* 顶部搜索框模块 */
.top-box{margin-top: 70px;background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));padding: 20px 0px;color: white;}
.top-container{display: flex;justify-content: space-between;max-width: 1400px;margin: 0 auto;padding: 0 30px;box-sizing: border-box;}
.top-left{width: 55%;}
.topleft-container{display: flex;}
.topleft-item{display: flex;flex-direction: column;align-items: center;padding: 30px;}
.item-number {font-size: 32px;font-weight: bold;}
.item-label {font-size: 14px;opacity: 0.8;}
.top-left p {font-size: 18px;margin-bottom: 30px;opacity: 0.9;}
.top-right{width: calc(45% - 15px);padding-top: 20px}
.search-section {width: 100%;max-width: 800px;margin: 0 auto;padding: 25px;background: rgba(255, 255, 255, 0.1);border-radius: 15px;}
.search-tabs {display: flex;margin-bottom: 20px;}
.search-tab {padding: 8px 25px;margin-right: 10px;border: none;border-radius: 20px;background: rgba(255, 255, 255, 0.1);color: white;cursor: pointer;transition: all 0.3s;position: relative;}
.search-tab:hover {background: rgba(255, 255, 255, 0.2);}
.search-tab.active {background: white;color: var(--primary-color);}
.search-tab.active:hover {background: white;}
.search-box-container {position: relative;}
.search-box {display: none;opacity: 0;transform: translateY(-10px);transition: opacity 0.3s, transform 0.3s;}
.search-box.active {display: flex;opacity: 1;transform: translateY(0);}
.search-box input {width: 100%;max-width: 100%;flex: 1;padding: 12px 20px;border: none;border-radius: 25px;font-size: 16px;background: rgba(255, 255, 255, 0.9);}
.search-box button {width: 46px;height: 46px;border: none;border-radius: 23px;background: white;color: var(--primary-color);cursor: pointer;transition: all 0.3s;display: flex;align-items: center;justify-content: center;}
.search-box button:hover {transform: scale(1.05);background: var(--primary-color);color: white;}
/*除首页外*/
.searchbox{display: none;width: 100%;box-shadow: var(--card-shadow);}
.searchmain{width: 70%;background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));padding: 15px;z-index: 999;position: absolute;top: 100px;left: 15%;border-radius: 10px}
.search-section2 {width: 100%;margin: 0 auto;padding: 25px;background: rgba(255, 255, 255, 0.1);border-radius: 15px;}
.search-tabs2 {display: flex;margin-bottom: 20px;}
.search-tab2 {padding: 8px 25px;margin-right: 10px;border: none;border-radius: 20px;background: rgba(255, 255, 255, 0.1);color: white;cursor: pointer;transition: all 0.3s;position: relative;}
.search-tab2:hover {background: rgba(255, 255, 255, 0.2);}
.search-tab2.active {background: white;color: var(--primary-color);}
.search-tab2.active:hover {background: white;}
.search-box-container2 {position: relative;}
.search-box2 {display: none;opacity: 0;transform: translateY(-10px);transition: opacity 0.3s, transform 0.3s;}
.search-box2.active {display: flex;opacity: 1;transform: translateY(0);}
.search-box2 input {width: 100%;max-width: 100%;flex: 1;padding: 12px 20px;border: none;border-radius: 25px;font-size: 16px;background: rgba(255, 255, 255, 0.9);}
.search-box2 button {width: 46px;height: 46px;border: none;border-radius: 23px;background: white;color: var(--primary-color);cursor: pointer;transition: all 0.3s;display: flex;align-items: center;justify-content: center;}
.search-box2 button:hover {transform: scale(1.05);background: var(--primary-color);color: white;}
.serach-closebtn{font-size: 30px;position: absolute;top: 5px;right: 20px;color: white;text-decoration: none;cursor: pointer;}
.searchzz{display: flex;position: fixed;top: 0;left: 0;width: 100vw;height: 100vh;background: rgba(0, 0, 0, 0.5);z-index: 998;}

/* 主体内容框架样式 */
.main-box{max-width: 1400px;display: flex;justify-content: space-between;margin:20px auto 10px auto;}
.main-left{width: 75%;}
.main-right{margin-left: 15px;width: calc(25% - 15px);}

/* 左侧主体内容公共样式 */
.section-box{background: white;border-radius: 5px;padding: 30px 30px 20px 30px;margin-bottom: 20px;box-shadow: var(--card-shadow);width: 100%;}
.section-header,.section-header2{display: flex;justify-content: space-between;}
.section-header,.section-header2 {margin-bottom: 25px;padding-bottom: 10px;border-bottom: 1px solid #eee;}
.section-header h2,.section-header2 h2 {font-size: 18px;color: var(--text-color);display: flex;align-items: center;}
.section-header h2 i,.section-header2 h2 i {font-size: 20px;color: var(--primary-color);margin-right: 15px}
.section-header2 a {text-decoration: none;background: var(--primary-color);color: white;border-radius: 20px;font-size: 15px;padding:0px 10px;transition: color 0.3s;}
.section-header2 a:hover {color: #2196F3;background-color: white;}

/* 推荐模块 */
.tuijian-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));gap: 25px;}
.tuijian-cardleft{}
.tuijian-cardleft:hover img {transform: scale(1.05);}
.tuijian-cardleft h3 a{text-decoration: none;font-size: 15px;line-height: 1.5;margin-bottom: 8px;color: var(--text-color);display: -webkit-box;-webkit-line-clamp: 1;-webkit-box-orient: vertical;overflow: hidden;}
.tuijian-cardleft p{font-size: 14px;line-height: 1.6;color: #666;margin-bottom: 12px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.tuijian-imgbox {width: 450px;height: 280px;}
.tuijian-imgbox img {width: 100%;height: 100%;object-fit: cover;border-radius: 5px;}
.author-info{display: flex;align-items: center;padding: 10px 10px 10px 0px}
.author-info img{margin-right: 10px}
.author-info span{font-size: 14px;line-height: 1.6;color: #666;}
.author-info span a{font-size: 14px;line-height: 1.6;color: #666;text-decoration: none;}
.tuijian-info {display: flex;align-items: center;gap: 8px;font-size: 13px;color: #666;}
.tuijian-info .divider {width: 3px;height: 3px;background: #666;border-radius: 50%;}
.tuijian-cardright{display: grid;grid-template-rows: repeat(auto-fit, minmax(100px, 1fr));gap: 5px;}
.tuijian-item{border-bottom: 1px solid #eee;display: grid;grid-template-columns:1fr 100px;gap: 25px;width: 100%}
.tuijian-item:last-child{border-bottom: 0px;}
.tuijian-item h3{font-size: 13px;line-height: 1.3;margin-bottom: 8px;color: var(--text-color);display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.tuijian-item h3 a{text-decoration: none;font-size: 13px;line-height: 1.3;margin-bottom: 8px;color: var(--text-color);display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.tuijian-itemright{display: flex;align-items: center;}
.tuijian-rightimg{width: 100px;height: 80px;border-radius: 5px}
.tuijian-item:hover img {transform: scale(1.05);}

/* 知识文库样式 */
.category-tabs {display: flex;overflow-x: auto;padding: 10px 0;}
.category-tabs button {padding: 8px 20px;border: none;border-radius: 20px;background: white;cursor: pointer;white-space: nowrap;margin:0px 10px}
.category-tabs button.active {background: var(--primary-color);color: white;}
.category-tabs button:hover {transform: scale(1.05);background: rgb(252, 126, 67);color: white;}
.category-box{display: none;}
.category-box.active {display: block;}
.blog-card {display: grid;grid-template-columns: 120px 1fr;gap: 20px;padding: 20px;border-bottom: 1px solid #eee;align-items: center;background: white;border-radius: 15px;overflow: hidden;margin-bottom: 3px}
.content-preview {width: 120px;height: 120px;border-radius: 10px;overflow: hidden;display: flex; align-items: center;justify-content: center;background: var(--light-bg);}
.content-preview img {width: 100%;height: 100%;object-fit: cover;transition: transform 0.3s;}
.blog-card-header {display: flex;align-items: center;gap: 10px;margin-bottom: 8px;}
.author-avatar {width: 24px;height: 24px;border-radius: 50%;}
.blog-info {display: flex;align-items: center;gap: 8px;font-size: 13px;color: #666;}
.blog-info .divider {width: 3px;height: 3px;background: #666;border-radius: 50%;}
.blog-info a{text-decoration: none;font-size: 13px;color: #666;}
.blog-card:hover {transform: translateY(-5px);box-shadow: var(--card-shadow);transition: transform 0.3s;}
.blog-card:hover .content-preview img {transform: scale(1.05);}
.blog-card-content h3 {}
.blog-card-content h3 a{text-decoration: none;font-size: 16px;line-height: 1.5;margin-bottom: 8px;color: var(--text-color);}
.blog-card-content p {font-size: 14px;line-height: 1.6;color: #666;margin-bottom: 12px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.blog-card-footer {margin-top: auto;display: flex;align-items: center;justify-content: space-between;}
.stats {display: flex;gap: 15px;color: #666;font-size: 13px;}
.stats span {display: flex;align-items: center;margin-right: 10px}
.stats i {font-size: 16px;margin-right: 3px}
.save-btn{cursor: pointer;}
.blog-more{background: white;border-radius: 5px;overflow: hidden;text-align: center;padding: 5px;display: none;color: #333;font-size: 14px;line-height: 1.6;padding: 10px;transition: color 0.3s;}


/* api列表 */
.api-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));gap: 25px;margin-top: 25px;cursor: pointer;}
.api-grid a{text-decoration: none;color: #333;}
.api-card {background: white;padding: 20px;border-radius: 15px;text-align: center;box-shadow: var(--card-shadow);transition: transform 0.3s, box-shadow 0.3s;position: relative;border: 1px solid rgba(0,0,0,0.05);min-height: 160px;}
.api-card:hover {transform: translateY(-5px);box-shadow: 0 5px 15px rgba(0,0,0,0.1);}
.api-card i {font-size: 28px;color: var(--primary-color);margin-bottom: 12px;}
.api-card h3 {font-size: 16px;margin-bottom: 8px;}
.api-card p {font-size: 14px;line-height: 1.4;}
.api-status {position: absolute;top: 15px;right: 15px;padding: 5px 10px;border-radius: 15px;font-size: 12px;background: #4CAF50;color: white;}

/* 工具列表 */
.tools-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));gap: 20px;margin-top: 30px;}
.tool-card {background: white;padding: 20px;border-radius: 15px;text-align: center;box-shadow: var(--card-shadow);transition: all 0.3s;display: flex;flex-direction: column;gap: 15px;border: 1px solid rgba(0,0,0,0.05);min-height: 160px;}
.tool-card:hover {transform: translateY(-5px);box-shadow: 0 5px 15px rgba(0,0,0,0.1);}
.tool-meta {display: flex;justify-content: center;gap: 20px;color: #666;}
.tool-meta span {display: flex;align-items: center;gap: 5px;}
.use-tool {background: var(--primary-color);color: white;text-decoration: none;padding: 10px 20px;border-radius: 20px;margin-top: 10px;transition: transform 0.3s;}
.use-tool:hover {transform: scale(1.05);}
.tool-card i {font-size: 28px;color: var(--primary-color);margin-bottom: 12px;}

/* SEO列表 */
.seo-grid {display: grid;grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));gap: 30px;margin: 0 auto;max-width: 1200px;}
.seo-card {padding: 20px;border-radius: 15px;background: var(--light-bg);transition: transform 0.3s, box-shadow 0.3s;min-height: 140px;}
.seo-card:hover {transform: translateY(-5px);box-shadow: var(--card-shadow);}
.seo-icon {width: 60px;height: 60px;background: var(--primary-color);border-radius: 50%;display: flex;align-items: center;justify-content: center;margin-bottom: 20px;}
.seo-icon i {font-size: 30px;color: white;}
.seo-card h3 {margin-bottom: 15px;color: var(--text-color);}
.seo-card p {color: #666;margin-bottom: 20px;}
.seo-tips {list-style: none;}
.seo-tips li {padding: 8px 0;color: #666;position: relative;padding-left: 20px;}
.seo-tips li::before {content: '';position: absolute;left: 0;top: 50%;width: 6px;height: 6px;background: var(--primary-color);border-radius: 50%;transform: translateY(-50%);}

/* 右侧卡片样式 */
.sidebar-section {background: white;border-radius: 5px;padding: 20px;margin-bottom: 20px;box-shadow: var(--card-shadow);}
.sidebar-section .section-header {display: flex;align-items: center;gap: 8px;margin-bottom: 15px;}
.sidebar-section .section-header h3 {font-size: 16px;color: var(--text-color);display: flex;align-items: center;gap: 8px;}
.sidebar-section .section-header h3 i {color: var(--primary-color);font-size: 20px;}

/* 日历样式 */
.sidebar-section .calendar-content {background: var(--light-bg);padding: 15px;border-radius: 10px;}
.sidebar-section .date {font-size: 20px;font-weight: bold;margin-bottom: 10px;}
.sidebar-section .lunar {color: #666;margin-bottom: 10px;}
.sidebar-section .divider {height: 1px;background: #ddd;margin: 10px 0;}
.sidebar-section .calendar-tips p {margin: 5px 0;}

/* SEO提示样式 */
.sidebar-section .tip-content {background: var(--light-bg);padding: 15px;border-radius: 10px;}
.tip-tags {margin-top: 15px;display: flex;gap: 10px;flex-wrap: wrap;}
.tip-tags span {background: var(--light-bg);padding: 5px 10px;border-radius: 15px;font-size: 14px;}

/* 笑话卡片样式 */
.sidebar-section .joke-content {background: var(--light-bg);padding: 15px;border-radius: 10px;}
.joke-content {display: flex;flex-direction: column;gap: 20px;}

/* 标签卡片样式 */
.tag-cloud {display: flex;flex-wrap: wrap;gap: 10px;}
.tag {margin-top: 10px;padding: 5px 12px;background: var(--light-bg);border-radius: 15px;font-size: 13px;color: var(--text-color);text-decoration: none;transition: all 0.3s;}
.tag:hover {background: var(--primary-color);color: white;}

/* 热门文章样式 */
.sidebar-section a{color: black;text-decoration: none;font-size: 15px;margin-bottom: 8px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.sidebar-section a:hover img {transform: scale(1.05);}
.sidebar-section .article-item {display: flex;gap: 15px;padding: 15px 0;border-bottom: 1px solid #eee;align-items: center;}
.sidebar-section .article-item:last-child {border-bottom: none;padding-bottom: 0;}
.article-thumb {width: 100px;height: 70px;border-radius: 8px;overflow: hidden;}
.article-thumb img {width: 100%;height: 100%;object-fit: cover;}
.article-info {flex: 1;}
.article-info h4 {font-size: 15px;margin-bottom: 8px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.article-meta {font-size: 13px;color: #666;display: flex;gap: 10px;}
.article-meta span {display: flex;align-items: center;margin-right: 10px}
.article-meta i{font-size: 15px;margin-right: 3px}

/* 猜你喜欢样式 */
.sidebar-section .rec-item {margin-bottom: 20px;background: var(--light-bg);border-radius: 12px;overflow: hidden;}
.rec-item:last-child {margin-bottom: 0;margin-top: 10px}
.rec-thumb {width: 100%;height: 160px;}
.rec-thumb img {width: 100%;height: 100%;object-fit: cover;}
.rec-info {padding: 15px;}
.rec-info h4 {font-size: 16px;margin-bottom: 10px;}
.rec-meta {display: flex;justify-content: space-between;color: #666;font-size: 13px;}
.rec-meta span {display: flex;align-items: center;margin-right: 10px}
.rec-meta i{font-size: 15px;margin-right: 3px}

/*页脚样式*/
footer {background: #2c3e50;color: #ecf0f1;padding: 60px 50px 30px 50px;}
.footer-content {display: grid;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));gap: 40px;margin-bottom: 40px;}
.footer-section h4 {color: white;font-size: 18px;margin-bottom: 20px;position: relative;padding-bottom: 10px;}
.footer-section h4::after {content: '';position: absolute;left: 0;bottom: 0;width: 50px;height: 2px;background: var(--primary-color);}
.footer-section p {color: #bdc3c7;line-height: 1.8;}
.footer-section ul {list-style: none;}
.footer-section ul li {margin-bottom: 12px;}
.footer-section ul li a {color: #bdc3c7;text-decoration: none;transition: color 0.3s;}
.footer-section ul li a:hover {color: var(--primary-color);}
.footer-bottom {padding-top: 20px;border-top: 1px solid rgba(255,255,255,0.1);text-align: center;color: #95a5a6;}
.footer-bottom a {color: #bdc3c7;text-decoration: none;transition: color 0.3s;}
.footer-bottom a:hover {color: var(--primary-color);}
.beianimg{width: 15px;height: 15px;line-height: 1.8;}

/*gotop*/
.gotop{width: 50px;height: 50px;background-image: url('/static/images/backtop.png');background-size: cover;position:fixed;right: 50px;bottom: 50px}
.gotop:hover{background-position: right bottom;}
.gotop:target {display: block;position: fixed;top: 0;left: 0;}


/*登录界面样式*/
.loginmain{display: flex;flex-direction: row;justify-content: space-between;margin: 200px auto 130px auto;max-width: 1400px;}
.loginbox{margin:auto;background-color:rgb(255, 255, 255);padding: 30px;border-radius: 10px;display: flex;justify-content:space-between;box-shadow: 0 0 20px rgba(204, 202, 202, 0.425);}
.loginleft{border-right: 1px solid #dcdcdc;margin-right: 50px;padding:30px;text-align: center;font-size: 17px}
.loginboxrow{display: flex;flex-direction: row;justify-content: space-between;margin: 30px 15px;text-align: center;}
.loginboxrow2{display: flex;flex-direction: row;justify-content: space-between;margin: -15px 15px;text-align: center;margin-bottom: 30px;}
.loginboxrow3{display: flex;flex-direction: row;margin: 40px 15px;text-align: center;}
.loginboxrow-2{display: flex;flex-direction: row;justify-content: space-between;margin: 30px 15px;text-align: center;}
.loginboxrow-3{margin: -15px 15px;text-align: center;margin-bottom: 30px;line-height: 20px;display: flex;align-items: center;}
.loginipt{border: none;outline: none;width: 300px;border-bottom: 1px solid #dcdcdc;height: 30px}
.loginipt:focus{border-bottom: 1px solid blue;}
.loginipt2{border: none;outline: none;width: 210px;border-bottom: 1px solid #dcdcdc;height: 30px}
.loginipt2:focus{border-bottom: 1px solid #2196F3;}
.login-btn {width: 300px;background-color:#2196F3;color:#fff;text-align:center;height: 40px;border-radius: 5px;border: 0px;font-size: 15px;margin-top: 50px}
.login-btn-reg{width: 300px;background-color:#ff4444;color:#fff;text-align:center;height: 40px;border-radius: 5px;border: 0px;font-size: 15px;}
.logintipy{font-size: 12px;color:#2196F3;margin-left: 15px}
.loginbox2{display: none;}
.logintab{margin: 0 50px 0px 0px;font-size: 17px;color: black;cursor: pointer;}
.loginboxrow3 h2 {text-decoration: none;transition: color 0.3s;}
.loginboxrow3 h2:hover {color: var(--primary-color);}
.logintabbg{border-bottom: 3px solid #2196F3;;color: #2196F3;}
/*登录弹出框*/
.textjz{text-align: center;}
.login-mask {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.5);justify-content: center;align-items: center;z-index: 1000;display: flex;}
.login-box {position: relative;background: white;padding: 30px;border-radius: 12px;width: 400px;box-shadow: 0 5px 20px rgba(0,0,0,0.2);text-align: center;}
.qr-container {width: 260px;height: 260px;margin: 20px auto;border: 2px solid #e4e7ed;border-radius: 8px;padding: 10px;}
.status-indicator {margin: 15px 0;color: #666;font-size: 14px;}
.close-btn {position: absolute;top: 6px;right: 15px;cursor: pointer;color: black;font-size: 25px;}
.close-btn:hover {color: #666;transform: scale(1.1);}
.xcximgts{display: flex;justify-content: center; align-items: center;padding-top: 90px}
.xcximg img{width: 240px;height: 240px;object-fit: cover;}

/*个人数据弹出框*/
.userbox{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(0,0,0,0.5);backdrop-filter: blur(4px);display: flex;justify-content: center;align-items: center;animation: fadeIn 0.3s;}
.profile-card {position: relative;background: rgba(255, 255, 255, 0.08);backdrop-filter: blur(16px);width: 400px;padding: 32px;border-radius: 16px;border: 1px solid rgba(255,255,255,0.3);box-shadow: 0 0 40px rgba(99,102,241,0.3);overflow: hidden;}
.profile-card::before {content: '';position: absolute;top: -50%;left: -50%;width: 200%;height: 200%;background: linear-gradient(45deg, rgba(99,102,241,0.8),rgba(165,180,252,0.6),rgba(99,102,241,0.8));animation: hologram 6s linear infinite;opacity: 0.3;pointer-events: none;}
.profile-card::after {content: '';position: absolute;inset: 1px;border-radius: 16px;background: rgba(99,102,241,0.05);z-index: -1;}
.profileclose-btn {position: absolute;right: 20px;top: 20px;color: rgba(255,255,255,0.8);font-size: 24px;cursor: pointer;padding: 4px 8px;border-radius: 50%;}
.profileclose-btn:hover {color: white;transform: scale(1.1);}
.avatar-container {position: relative;margin: 10px auto 24px;width: 100px;height: 100px;border-radius: 50%;transition: all 0.3s;}
.user-avatar {width: 100%;height: 100%;border-radius: 50%;object-fit: cover;border: 2px solid rgba(255,255,255,0.3);filter: drop-shadow(0 0 10px rgba(99,102,241,0.5));}
.camera-icon {position: absolute;bottom: -8px;right: -8px;background: rgba(255, 255, 255, 0.08);backdrop-filter: blur(8px);padding: 4px 6px 1px 6px;border-radius: 50%;cursor: pointer;transition: all 0.3s;}
.camera-icon:hover {transform: scale(1.1);background: rgba(99,102,241,0.3);}
.info-item {display: flex;justify-content: space-between;padding: 12px 0;border-bottom: 1px solid rgba(255,255,255,0.1);color: white;}
.info-item2 {font-size: 13px;color: white;text-align: center;}
.editable {cursor: pointer;transition: all 0.2s;}
.editable:hover {color: #e0e7ff;}
@keyframes fadeIn {from { opacity: 0; }to { opacity: 1; }}
@keyframes hologram {0% { transform: rotate(0deg) translate(0,0); }100% { transform: rotate(360deg) translate(50px,50px); }}
.upload-effect {animation: avatarScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);}
@keyframes avatarScale {0% { transform: scale(1); }50% { transform: scale(1.1); }100% { transform: scale(1); }}

/*多语言提示框*/
.modal-lang {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.5);display: flex;justify-content: center;align-items: center;z-index: 999;}
.modal-lang h2{font-size: 16px}
.modal-box {background: white;padding:40px 30px 10px 30px;border-radius: 8px;text-align: center;box-shadow: 0 5px 15px rgba(0,0,0,0.3);position: relative;}
.close-btn {position: absolute;right: 15px;top: 10px;font-size: 24px;cursor: pointer;transition: 0.3s;}
.close-btn:hover {color: #666;}
.lang-option {margin: 15px;padding: 10px 20px;background: #2196F3;color: white;border-radius: 4px;cursor: pointer;display: inline-block;transition: 0.3s;}
.lang-option2 {margin: 15px;padding: 10px 20px;background: #F1EFEF;color: black;border-radius: 4px;cursor: pointer;display: inline-block;transition: 0.3s;}
.lang-option:hover {background: #1976D2;}



/*用户下拉框*/   
.dropdown {position: relative;display: inline-block;}
.dropdown-content {top: 78px;line-height: 15px;display: none;position: absolute;background-color:white;width: 160px;left:-60px;box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);z-index: 1;border-radius: 5px}
.dropdown-content a {color:black;padding: 12px 16px;text-decoration: none;display: block;height: 40px;text-align: center;}
.dropdown-content a:hover {background-color: #f1f1f1;border-radius: 5px}
.dropdown:hover .dropdown-content {display: block;}
.dropdown-content::before{content: '';position: absolute;left: 50%;transform: translateX(-50%);bottom: 100%;width: 0;height: 0;border-left: 8px solid transparent;border-right: 8px solid transparent;border-bottom: 8px solid white;}


/*弹出框样式*/
.infobox-overlay {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.5);display: flex;justify-content: center;align-items: center;}
.infobox-titlebox{display: flex;justify-content: space-between;padding: 0px 10px}
.infobox-title{text-align: center;font-size: 13px}
.infobox-close{cursor: pointer;font-size: 20px;margin-top: 3px}
.infobox-msg{line-height: 25px;font-size: 13px;word-wrap: break-word;word-break: break-all;white-space: normal;padding: 10px 10px}
.infobox-content {color: #666;background-color: white;padding: 20px;border-radius: 5px;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);width: 300px;}
.infoboxbtn{text-align: center;margin-top: 25px;}
.close-infobox-btn {cursor: pointer;margin: auto;}

/*等待信息弹窗*/
.waitbox-overlay{position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.5);display: flex;justify-content: center;align-items: center;}
.waitbox-content{color: #666;background-color: white;border-radius: 5px;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);}
.waitpage{width: 195px;background: #fff;border-radius: 15rpx;box-sizing: border-box;height: 129px;border-radius: 10px}
.waiticon{margin: 50px 80px}
.waittext{font-size: 13px;text-align: center;color: #666;}

/*等待信息弹窗*/
.waitbox-overlay{position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.5);display: flex;justify-content: center;align-items: center;}
.waitbox-content{color: #666;background-color: white;border-radius: 5px;box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);padding-top: 50px}
.waitpage{width: 195px;background: #fff;border-radius: 15rpx;box-sizing: border-box;height: 129px;border-radius: 10px}
.waiticon{margin: 50px 80px}
.waittext{font-size: 13px;text-align: center;color: #666;}
.spinner {width: 50px;height: 50px;margin: 0 auto 1rem;border: 4px solid #f3f3f3;border-top: 4px solid #2196F3;border-radius: 50%;animation: spin 1s linear infinite;}
@keyframes spin {0% { transform: rotate(0deg); }100% { transform: rotate(360deg); }}

/*上传框样式*/
.uploadbox{border: 2px dashed rgb(125, 125, 126);width: 230px;height: 100px;border-radius: 15px;display: flex;align-items: center;justify-content: center;background-color:rgb(255,255,255);}
.uploadtext{color: rgb(82, 80, 80);line-height: 100px;font-size: 15px;display: flex;align-items: center;justify-content: center;}

/*服务协议样式*/
.noticemain{margin: 90px auto 30px auto;max-width: 1400px;}
.noticebox{background-color:rgb(255, 255, 255);width:100%;border-radius:5px;padding: 50px;font-size: 14px;color: rgb(109, 110, 112);line-height: 25px}

/*在线工具页面样式1*/
.main-t{display: grid;grid-template-columns: 240px 1fr;margin: 70px auto 20px auto;}
.t-left{background: #f8f9fa;padding: 1.5rem;border-right: 1px solid #eee;}
.tool-navbox{position: sticky;top: 80px;}
.tool-listcard{margin-bottom: 50px;border-radius: 6px}
.toolnav-item{display: block;padding: 0.8rem 1rem;margin: 0.25rem 0;color: #444;text-decoration: none;border-radius: 6px;transition: all 0.3s;}
.toolnav-item:hover,.toolnav-item.active {background: #e3f2fd;color: #2c7be5;}
.t-right{padding: 2rem;background: white;}
a.tool-active{color:rgb(252, 126, 67);font-weight: bold;}

.tools-grid2 {display: flex;margin-top: 30px;flex-wrap: wrap;}
.tool-card2 {margin: 5px;width: 260px;background: white;padding:20px 30px;border-radius: 15px;text-align: center;box-shadow: var(--card-shadow);transition: all 0.3s;display: flex;flex-direction: column;gap: 10px;border: 1px solid rgba(0,0,0,0.05);}
.tool-card2:hover {transform: translateY(-5px);box-shadow: 0 5px 15px rgba(0,0,0,0.1);}
.tool-meta2 {display: flex;justify-content: center;gap: 20px;color: #666;}
.tool-meta2 span {display: flex;align-items: center;gap: 5px;}
.use-tool2 {background: var(--primary-color);color: white;text-decoration: none;padding: 5px;border-radius: 20px;margin-top: 10px;transition: transform 0.3s;}
.use-tool2:hover {transform: scale(1.05);}
.tool-card2 i {font-size: 28px;color: var(--primary-color);}
.tool-card2 p {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}

.tools-grid3 {display: grid;grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 1.5rem;}
.tool-card3 {background: #fff;border-radius: 6px;padding: 1rem;box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);transition: all 0.3s ease;position: relative;overflow: hidden;}
.tool-card3:hover {cursor: pointer;transform: translateY(-5px);box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);}
.tool-card3::before {content: "";position: absolute;top: 0;left: 0;width: 100%;height: 4px;background: #2c7be5;transform: scaleX(0);transition: transform 0.3s ease;}
.tool-card3:hover::before {transform: scaleX(1);}
.tool-header3 {display: flex;align-items: center;margin-bottom: 1rem;}
.tool-icon3 {width: 48px;height: 48px;background: rgba(44, 123, 229, 0.1);border-radius: 8px;display: flex;align-items: center;justify-content: center;margin-right: 1rem;}
.tool-icon3 i {font-size: 1.5rem;color: 0.3s;}
.tool-title3 {font-size: 1.1rem;color: #2d3748;margin-bottom: 0.25rem;}
.tool-category3 {font-size: 0.8rem;color: #6c757d;}
.tool-description3 {color: #718096;line-height: 1.4; margin-bottom: 0.5rem;font-size: 14px}
.tool-footer3 {display: flex;justify-content: space-between;align-items: center; margin-top: auto;}
.tool-stats3 {display: flex;gap: 1rem;}
.stat-item3 {display: flex;align-items: center;gap: 0.25rem;color: #6c757d;font-size: 0.9rem;}
.tool-link3 {text-decoration: none;color:#2196F3;font-weight: 500;padding: 0.5rem 1rem;border-radius: 6px;transition: all 0.3s ease;}
.tool-link3:hover {background: rgba(44, 123, 229, 0.1);}


/* 工具内页样式 */
.tool-mainbox{max-width: 1400px;display: flex;justify-content: space-between;margin:90px auto 10px auto;}
.tool-mainleft{width: 75%;}
.tool-mainright{margin-left: 15px;width: calc(25% - 15px);}
.tool-sectionbox{background: white;border-radius: 15px;padding: 30px 30px 20px 30px;margin-bottom: 20px;box-shadow: var(--card-shadow);width: 100%;}
.tool-sectionheader{display: flex;justify-content: space-between;}
.tool-sectionheader {margin-bottom: 25px;padding-bottom: 10px;border-bottom: 1px solid #eee;}
.tool-sectionheader h3,.article-sectionheader h3 {font-size: 13px;color: var(--text-color);display: flex;align-items: center;font-weight: 500;}
.tool-sectionheader h3 i,.article-sectionheader h3 i{font-size: 17px;color: var(--primary-color);margin-right: 15px}
.tool-sectionheader a {text-decoration: none;color: black;padding: 10px}
.tool-sectionheader a:hover {color: #2196F3;background-color: white;}
.tool-mainleft h2{padding: 5px;font-size: 16px;text-align: center;}
.tooltishi{padding: 5px;margin: 5px;color: #666;font-size: 13px;display: flex;align-items: center;}
.tooltishi i{font-size: 17px;color: var(--primary-color);margin-right: 15px}
.btngroup{text-align: center;margin: 20px}
.toolbtn{margin: 10px 10px}
.codeinput{border: 1px solid #dcdcdc;border-radius: 5px;padding: 2px}
.codeinput:hover{box-shadow: 0 0 5px #3498db,0 0 10px #3498db;}
.codeoutput{border: 1px solid #dcdcdc;border-radius: 5px;padding: 2px;}
.codeoutput:hover{box-shadow: 0 0 5px #3498db,0 0 10px #3498db;}
.codeoutputdiv{height: 300px;width: 100%;border: 1px solid #dcdcdc;border-radius: 5px;padding: 2px;overflow-y: scroll;padding: 10px;font-size: 13px}
.codeoutputdiv:hover{box-shadow: 0 0 5px #3498db,0 0 10px #3498db;}
.tool-detail{margin-top: 20px;padding: 10px;line-height: 30px}
.tool-detail h4{font-size: 14px;color: #666}
.tool-detail p{font-size: 13px;color: #666}

.rightbox{margin-left: 15px;width: calc(25% - 15px);}
.rightitem{margin-bottom: 15px;padding: 10px;box-sizing: border-box;background-color:rgb(255, 255, 255);width:100%;border-radius:5px;border:1px solid rgba(204, 202, 202, 0.425);box-shadow: 0 0 10px rgba(204, 202, 202, 0.425);}
.rightitem-title{margin: 0px 10px;display: flex;flex-direction: row;justify-content: space-between;font-size: 14px;align-items: center;line-height: 20px}
.rightitem-box{padding:0px 10px;line-height: 25px;font-size: 13px;color: rgb(109, 110, 112);}
.rightitem-tyrow{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 13px;line-height: 40px}
.rightitem-tyimg{width: 100%;height: 100%}
.rightitem-box li a{text-decoration: none;line-height: 40px;display: inline;}


/* 知识文库样式 */
.article-mainbox{max-width: 1400px;display: flex;justify-content: space-between;margin:90px auto 10px auto;}
.article-mainleft{width: 75%;}
.article-mainright{margin-left: 15px;width: calc(25% - 15px);}
.article-sectionbox{background: white;border-radius: 5px;padding: 30px 30px 20px 30px;margin-bottom: 20px;box-shadow: var(--card-shadow);width: 100%;}
.article-sectionheader{display: flex;justify-content: space-between;}
.article-sectionheader {margin-bottom: 25px;padding-bottom: 10px;border-bottom: 1px solid #eee;}
.article-sectionheader h2 {font-size: 10px;color: var(--text-color);display: flex;align-items: center;}
.article-sectionheader h2 i{font-size: 30px;color: var(--primary-color);margin-right: 15px}
.article-sectionheader a {text-decoration: none;color: black;padding: 10px}
.article-sectionheader a:hover {color: #2196F3;background-color: white;}
.article_menuitem{display: flex;}
.article-tabs1,.article-tabs2 {display: flex;overflow-x: auto;padding: 10px 0;}
.article-tabs1 a,.article-tabs2 a {font-size: 14px;text-decoration: none;color: #666;padding: 8px 20px;border: none;border-radius: 20px;background: white;cursor: pointer;white-space: nowrap;margin:0px 10px}
.article-tabs1 a.active,.article-tabs2 a.active {background: var(--primary-color);color: white;}
.article-tabs1 a:hover,.article-tabs2 a:hover {transform: scale(1.05);background: rgb(252, 126, 67);color: white;}

/* 知识文库内页 */
.article-sectionbox h2{padding: 5px;font-size: 20px;text-align: center;}
.article_tip{display: flex;border: 1px dashed #333;border-radius: 5px;width: 80%;margin:20px auto;justify-content: center;}
.article_tip span{color: #333;font-size: 13px;padding: 10px 20px}
.article_content{font-size: 14px;color: rgb(109, 110, 112);line-height: 25px;padding: 20px}
.article_nextandpre{padding: 15px;border-radius: 10px;display: grid;gap: 20px;grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));}
.article_nextandpre span{color: #333;font-size: 13px;background: var(--light-bg);padding: 20px;border-radius: 10px;}
.article_nextandpre span:hover {transform: translateY(-5px);box-shadow: var(--card-shadow);transition: transform 0.3s;}
.article_nextandpre span a {text-decoration: none;color: #2196F3;padding: 10px;}
.article_nextandpre span a:hover {color: #2196F3;}


.page{margin-top: 20px;text-align: center;}
.page a{text-decoration: none;display: inline-block;background: #f5f5f5;color: #888;padding: 10px 13px;min-width: 15px;transition:background-color ease .5s;border-radius:3px;}
.page span{display: inline-block;padding: 10px 10px;min-width: 15px;}
.page span.current{display: inline-block;background: #2196F3 url() 0 0 no-repeat;color: #fff;padding: 10px 13px;min-width: 15px;border-radius:3px;}
.page .pagination li{display: inline-block;margin-right: 5px;text-align: center}
.page .pagination li.active span{background: #2196F3 url() 0 0 no-repeat;color: #fff;}

/* 响应式调整 */
@media (max-width: 1200px) {

}

@media (max-width: 992px) {
    .blog-stream{padding: 20px;margin-bottom: 20px;}
}

@media (max-width: 768px) {
    /* 导航栏 */
    .mobile-menu{display: none;position: absolute;top: 70px;left: 0;right: 0;background: white;flex-direction: column;padding: 20px 0;box-shadow: var(--card-shadow);}
    .mobile-menu.active {display: flex;animation: slideDown 0.3s ease-out;}
    @keyframes slideDown {from {opacity: 0;transform: translateY(-10px);}to {opacity: 1;transform: translateY(0);}}
    .menu-left{width: 50%;box-sizing: border-box;}
    .menu-left-logo h1{font-size: 20px}
    .menu-left-item {width: 100%;text-align: center;}
    .menu-left-item a {padding: 15px 20px;display: flex;align-items: center;justify-content: center; height: 60px;}
    .menu-right{width: 50%;justify-content: right;box-sizing: border-box;padding-right: 10px}
    .menu-toggle {display: block;}
    .menu-toggle.active span:nth-child(1) {transform: rotate(-45deg) translate(-5px, 6px);}
    .menu-toggle.active span:nth-child(2) {opacity: 0;}
    .menu-toggle.active span:nth-child(3) {transform: rotate(45deg) translate(-5px, -6px);}
    .menu-right-item i {margin-right: 5px;color: black;}
    /* 顶部搜索框模块 */
    .top-left{display: none;}
    .top-right{width: 100%;padding-top: 10px}
    .searchmain{width: 100%;left: 0px}

    /* 主体内容框架样式 */
    .main-box{display: flex;justify-content:start;flex-wrap: wrap;}
    .main-left{width: 96%;margin: auto;}
    .main-right{width: 96%;margin: auto;}


    /* 主体内容左侧公共样式 */
    .section-header {flex-direction: column;gap: 15px;}

    .blog-card {grid-template-columns: 1fr;gap: 10px;padding: 10px 20px;}
    .content-preview{width: 100%}

    /* 推荐模块 */
    .tuijian-grid{display: flex;flex-wrap: wrap;}
    .tuijian-cardleft{width: 100%}
    .tuijian-imgbox {width:100%;height: 150px;}
    .tuijian-cardright{width: 100%;display: flex;flex-wrap: wrap;}
    /* 知识文库样式 */
    .category-tabs {padding: 10px;background: white;border-radius: 10px;box-shadow: var(--card-shadow);}
    .category-tabs button {padding: 8px 15px;font-size: 14px;}

    /* 登录界面 */
    .loginmain{margin: 130px auto 60px auto;}
    .loginleft{display:none}
    .loginboxrow{margin: 30px 5px;}

    /* 用户下拉框 */
    .dropdown-content{width: 100px;left: -30px}

    /* 在线工具和API接口 */
    .main-t{display: block;width: 94%;margin-left:3%;margin-top: 75px}
    .t-right{margin: 0px;padding: 0px;width: 100%}
    .toolnav-item{text-align: center;margin: 0px 5px;font-size: 14px;width: 88px}
    .t-left {position: static;margin-bottom: 10px;width: 100%;padding: 10px;background: white;border-radius: 6px;box-shadow: var(--card-shadow);display: flex;overflow-x: auto;padding: 10px 0;}
    .t-left a {padding: 8px 15px;font-size: 14px;}
    .tool-card2{width: 100%}
    .tool-navbox{display: flex;}
    .tool-listcard{padding: 10px;}
    /* 在线工具内页 */
    .tool-mainbox{display: flex;justify-content:start;flex-wrap: wrap;}
    .tool-mainleft{width: 96%;margin: auto;}
    .tool-mainright{width: 96%;margin: auto;}
    .tools-grid3 {grid-template-columns: 1fr;}

    /* 知识文库首页 */
    .article-mainbox{display: flex;justify-content:start;flex-wrap: wrap;}
    .article-mainleft{width: 96%;margin: auto;}
    .article-mainright{width: 96%;margin: auto;}
    .article-tabs1 {padding: 10px;background: white;border-radius: 10px;box-shadow: var(--card-shadow);margin-bottom: 10px}
    .article-tabs1 button,.article-tabs2 button {padding: 8px 15px;font-size: 14px;}
    .article-tabs2 {padding: 10px;background: white;border-radius: 10px;box-shadow: var(--card-shadow);}
    .article_tip{width: 100%}
    .username{width: 50px;overflow: hidden;display: inline-block;vertical-align: middle;text-overflow: ellipsis;}
}

@media (max-width: 480px) {
    
}