    /*调整全局字体大小*/
body,html{font-size:14px;}

/*左导航悬浮sidebar-menu-inner宽度调整为90px*/
.sidebar-popup.sidebar-menu-inner > div > ul > li.sidebar-item>ul{position:absolute;top:0px;left:10px;width:90px;z-index:99}
.sidebar-popup.sidebar-menu-inner ul{width:90px}
.sidebar-popup.sidebar-menu-inner ul li{width:90px}

/*隐藏左导航scrollbar*/
.sidebar-menu.flex-fill::-webkit-scrollbar{display:none}

/*搜索框搜索图标颜色【浅灰】*/
#search button i{color:#8c8f94;font-size:18px}

/*顶部导航栏字体+图标颜色【纯白+浅灰背景虚化】*/
.big-header-banner .page-header{color:#ffffff;background:rgba(255, 255, 255, 0.15);box-shadow:none;transition:color .3s,background-color .3s}
.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item){color:#ffffff;}
/* hover 改为浅白 */
.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a:hover,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item):hover{color:#f5f5f5;}
.big-header-banner:not(.header-bg) .header-mini-btn path{stroke:#ffffff;}
.big-header-banner:not(.header-bg) .header-mini-btn label:hover path{stroke:#ffffff;}

/*搜索栏字体+背景【浅灰】*/
.header-big #search-text{color:#8c8f94;}
.io-black-mode .header-big #search-text{color:#ffffff;}

/*搜索activate图标颜色【纯白】*/
.header-big .search-type input:checked+label:before{content:'';border-width:8px 8px 0px 8px;border-style:solid;border-color:#ffffff transparent transparent;position:absolute;left:50%;top:0;margin-left:-8px}

/*主页搜索搜索框(头+底部)字体颜色【浅灰+纯白】*/
.header-big:not(.no-bg) .s-type-list{color:#6c757d}
.header-big:not(.no-bg) .text-muted,.header-big:not(.no-bg) .search-type .menu-item a,.header-big:not(.no-bg) .big-title .h1{color:#ffffff!important}

/*主页header-banner底部宽度*/
.post-top{padding-bottom:50px}

/*左导航二级导航标题左侧距离*/
.sidebar-menu-inner ul li ul li a{margin-left:30px;}

/*头部导航二级导航iconfont图标*/
.navbar-collapse ul li.menu-item-has-children:after{content:'\e612';}

/*搜索部分背景样式*/
.header-big.css-color{background-size:unset;background-position:unset;animation:unset;}

/*搜索热词样式调整【白底+浅灰文字+虚化边框】*/
.search-hot-text{
    position: absolute;
    z-index: 100;
    width: 100%;
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.search-hot-text ul{
    margin: 0;
    padding: 5px 0;
}
.search-hot-text ul li{
    line-height: 30px;
    font-size: 14px;
    padding: 0px 25px;
    color: #8c8f94;
    cursor: pointer;
}
.io-black-mode .search-hot-text ul li{
    color: #ffffff;
}    
.search-hot-text ul li.current{
    background: rgba(245, 245, 245, 0.8);
    color: #6c757d;
}
.search-hot-text ul li:hover{
    background: rgba(245, 245, 245, 0.8);
    color: #6c757d;
    cursor: pointer;
}
.search-hot-text ul li span{
    display: inline-block;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    background: rgba(245, 245, 245, 0.8);
    margin-right: 10px;
    border-radius: 10px;
    color: #8c8f94;
}

/* 页脚样式【浅灰链接+hover深灰 + 强制居中】 */
footer.main-footer {
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important; /* 清除可能的浮动影响 */
}
footer.main-footer .footer-text {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    padding: 15px 0 !important; /* 保证上下间距，居中更明显 */
}
footer.main-footer .footer-text a {
    color: #8c8f94;
}
footer.main-footer .footer-text a:hover {
    color: #6c757d;
}

/* About页面链接【浅灰+hover深灰】 */
.panel .panel-body a {color: #8c8f94;}
.panel .panel-body a:hover {color: #6c757d;}

/* 背景【纯白简约+浅灰底色】 */
.io-grey-mode .page-container .grid-bg {
    background-size: 15px 15px;
    background-color:#fafafa;
}

/* 导航 Logo 图标裁剪边角 */
.url-card .url-img > img {
    border-radius: 20%;
}

/* ========== 深色模式 纯白简约风格适配 ========== */
.io-black-mode body {
    background-color: #1a1a1a !important;
    color: #f5f5f5 !important;
}

/* 深色模式-顶部导航栏 虚化浅白背景 */
.io-black-mode .big-header-banner .page-header {
    background: rgba(30, 30, 30, 0.85) !important;
    color: #f5f5f5 !important;
}

.io-black-mode .big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a,
.io-black-mode .big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item) {
    color: #f5f5f5 !important;
}

.io-black-mode .big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a:hover,
.io-black-mode .big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item):hover {
    color: #ffffff !important;
}

/* 深色模式-搜索热词 深灰虚化背景 */
.io-black-mode .search-hot-text {
    background: rgba(30, 30, 30, 0.9) !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.io-black-mode .search-hot-text ul li {
    color: #cccccc !important;
}

.io-black-mode .search-hot-text ul li.current,
.io-black-mode .search-hot-text ul li:hover {
    background: rgba(50, 50, 50, 0.8) !important;
    color: #ffffff !important;
}

.io-black-mode .search-hot-text ul li span {
    background: rgba(50, 50, 50, 0.8) !important;
    color: #cccccc !important;
}

/* 深色模式 深灰底色 */
.io-black-mode .io-grey-mode .page-container .grid-bg {
    background-color: #1a1a1a !important;
}

/* 深色模式-About页+页脚链接颜色 + 页脚强制居中 */
.io-black-mode .panel .panel-body a {
    color: #cccccc !important;
}

.io-black-mode .panel .panel-body a:hover {
    color: #ffffff !important;
}

.io-black-mode footer.main-footer {
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
}
.io-black-mode footer.main-footer .footer-text {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}
.io-black-mode footer.main-footer .footer-text a {
    color: #cccccc !important;
}
.io-black-mode footer.main-footer .footer-text a:hover {
    color: #ffffff !important;
}

.tool-action-buttons .action-btn.primary:hover {
    background: #e5e6eb;
    color: #165DFF;
}
.tool-action-buttons .action-btn.secondary:hover {
    background: #e5e6eb;
    color: #165DFF;
}
.tool-action-buttons .action-btn.info:hover {
    background: #ff7875;
}
.tool-action-buttons .action-btn.primary:hover,
.tool-action-buttons .action-btn.secondary:hover {
    background-color: #ff0000 !important; /* 背景变红 */
    color: white !important; /* 文字变白 */
}

/* ========== 详情页改造样式 ========== */

/* 详情页头部卡片 */
.ai-product-content .product-header {
    background: linear-gradient(60deg, #f1404b, #f1417c);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px -10px rgba(241, 64, 76, 0.2);
}

.ai-product-content .product-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 元数据标签 */
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.product-meta span {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.product-meta span strong {
    margin-left: 5px;
    color: #ffeb3b;
}

.product-meta span i {
    margin-right: 8px;
    font-size: 1rem;
}

/* 操作按钮 */
.tool-action-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.tool-action-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #f1404b;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(241, 64, 76, 0.15);
}

.tool-action-buttons a:hover {
    background: #f1404b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 64, 76, 0.25);
}

.tool-action-buttons a i {
    margin-right: 8px;
    font-size: 1.1rem;
}

/* 内容区域 */
.content-body {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

/* 页脚信息 */
.content-footer {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-meta span {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #666;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.footer-meta span i {
    margin-right: 8px;
    color: #f1404b;
}

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-tags .tag {
    display: inline-block;
    background: linear-gradient(60deg, #f1404b, #f1417c);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-tags .tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(241, 64, 76, 0.25);
}

/* ========== 页脚改造样式 ========== */

/* 新的页脚容器 */
.footer-container {
    background: #f8f9fa;
    color: #333;
    padding: 50px 0 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.io-black-mode .footer-container {
    background: #2c2e2f;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 三栏布局 */
.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(60deg, #f1404b, #f1417c);
    border-radius: 2px;
}

.io-black-mode .footer-column h4 {
    color: white;
}

/* 左栏：网站介绍声明 */
.footer-about {
    line-height: 1.7;
}

.footer-about p {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95rem;
}

.io-black-mode .footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-about .site-name {
    font-weight: 600;
    color: #f1404b;
    font-size: 1.1rem;
}

.io-black-mode .footer-about .site-name {
    color: #f1404b;
}

/* 中栏：免责声明 */
.disclaimer-content {
    line-height: 1.6;
}

.disclaimer-content p {
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
    padding-left: 0;
    position: relative;
}

.disclaimer-content p:before {
    content: '';
    position: absolute;
    left: -12px;
    top: 8px;
    width: 4px;
    height: 4px;
    background: #f1404b;
    border-radius: 50%;
}

.io-black-mode .disclaimer-content p {
    color: rgba(255, 255, 255, 0.7);
}

/* 右栏：二维码区域 */
.qr-section {
    text-align: center;
}

.qr-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.qr-item {
    text-align: center;
    max-width: 160px;
}

.qr-item h5 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.io-black-mode .qr-item h5 {
    color: white;
}

.qr-image {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    padding: 8px;
}

.io-black-mode .qr-image {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.qr-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(241, 64, 76, 0.15);
}

.io-black-mode .qr-image:hover {
    box-shadow: 0 10px 25px rgba(241, 64, 76, 0.3);
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.qr-desc {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
}

.io-black-mode .qr-desc {
    color: rgba(255, 255, 255, 0.6);
}

/* 页脚底部 */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.io-black-mode .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.6;
}

.io-black-mode .copyright {
    color: rgba(255, 255, 255, 0.6);
}

.copyright a {
    color: #f1404b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #d32f2f;
    text-decoration: underline;
}

.io-black-mode .copyright a:hover {
    color: #ff6b6b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        min-width: 100%;
    }
    
    .qr-container {
        gap: 20px;
    }
    
    .qr-item {
        max-width: 140px;
    }
    
    .qr-image {
        width: 120px;
        height: 120px;
    }
    
    .ai-product-content .product-header {
        padding: 20px;
    }
    
    .ai-product-content .product-header h1 {
        font-size: 1.8rem;
    }
    
    .product-meta {
        gap: 10px;
    }
    
    .tool-action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .tool-action-buttons a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .qr-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .qr-item {
        max-width: 100%;
    }
    
    .qr-image {
        width: 150px;
        height: 150px;
    }
    
    .ai-product-content .product-header h1 {
        font-size: 1.5rem;
    }
    
    .product-meta span {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ========== 正文暗黑模式适配 ========== */
.io-black-mode .content-body {
    background: #2c2e2f;
    color: #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.io-black-mode .content-body h1,
.io-black-mode .content-body h2,
.io-black-mode .content-body h3,
.io-black-mode .content-body h4,
.io-black-mode .content-body h5,
.io-black-mode .content-body h6 {
    color: #ffffff;
}

.io-black-mode .content-body a {
    color: #f1404b;
}

.io-black-mode .content-body a:hover {
    color: #ff6b6b;
}

.io-black-mode .content-body code {
    background: #3a3d3f;
    color: #e0e0e0;
    border-color: #4a4d4f;
}

.io-black-mode .content-body pre {
    background: #2a2d2f;
    border-color: #3a3d3f;
    color: #e0e0e0;
}

.io-black-mode .content-body blockquote {
    border-left-color: #f1404b;
    background: #3a3d3f;
    color: #cccccc;
}

.io-black-mode .content-body table {
    border-color: #4a4d4f;
}

.io-black-mode .content-body th,
.io-black-mode .content-body td {
    border-color: #4a4d4f;
}

.io-black-mode .content-body th {
    background: #3a3d3f;
    color: #ffffff;
}

.io-black-mode .content-body tr:nth-child(even) {
    background: #3a3d3f;
}

/* ========== 标题模块暗黑模式适配 ========== */
/* 标题模块背景已经是渐变，暗黑模式下保持原样，文字颜色不需要改变 */
.io-black-mode .ai-product-content .product-header {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.io-black-mode .product-meta span {
    background: rgba(255, 255, 255, 0.1);
}

.io-black-mode .product-meta span strong {
    color: #ffeb3b;
}

.io-black-mode .tool-action-buttons a {
    background: white;
    color: #f1404b;
}

.io-black-mode .tool-action-buttons a:hover {
    background: #f1404b;
    color: white;
}

/* ========== 右边栏暗黑模式适配 ========== */
.io-black-mode .sidebar-section {
    background: #2c2e2f;
    border: 1px solid #3a3d3f;
}

.io-black-mode .sidebar-section h3 {
    color: #ffffff;
}

.io-black-mode .tool-item,
.io-black-mode .related-item,
.io-black-mode .category-item,
.io-black-mode .quick-link {
    background: #3a3d3f;
    border: 1px solid #4a4d4f;
    color: #e0e0e0;
}

.io-black-mode .tool-item:hover {
    background: #424545;
    border-color: #f1404b;
}

.io-black-mode .tool-category {
    background: #2c2e2f;
    color: #cccccc;
}

.io-black-mode .related-item:hover {
    background: #424545;
    border-color: #666;
}

.io-black-mode .related-meta {
    color: #999;
}

.io-black-mode .category-item:hover {
    background: #424545;
    border-color: #9c27b0;
}

.io-black-mode .category-count {
    background: #2c2e2f;
    color: #999;
}

.io-black-mode .quick-link:hover {
    background: #424545;
    border-color: #4caf50;
}

/* ========== 页脚信息暗黑模式适配 ========== */
.io-black-mode .content-footer {
    background: #2c2e2f;
}

.io-black-mode .footer-meta span {
    background: #3a3d3f;
    color: #cccccc;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.io-black-mode .footer-meta span i {
    color: #f1404b;
}

.io-black-mode .footer-tags .tag {
    background: linear-gradient(60deg, #f1404b, #f1417c);
    box-shadow: 0 4px 12px rgba(241, 64, 76, 0.3);
}

.io-black-mode .footer-tags .tag:hover {
    box-shadow: 0 6px 16px rgba(241, 64, 76, 0.4);
}
