/*调整全局字体大小*/
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}

/*搜索框搜索图标颜色*/
.io-grey-mode #search button i{color:#6C757D;font-size:18px}
.io-black-mode #search button i{color:#aab0b8;font-size:18px}

/*顶部导航栏：默认（位于 Hero 上方）透明背景；文字颜色随模式变化*/
.big-header-banner .page-header{background:rgba(255,255,255,0);box-shadow:none;transition:color .3s,background-color .3s}
/*浅色模式：Hero 为浅色，导航文字用深灰*/
.io-grey-mode .big-header-banner:not(.header-bg) .page-header{color:#1f2329;}
.io-grey-mode .big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a,
.io-grey-mode .big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item){color:#1f2329;}
.io-grey-mode .big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a:hover,
.io-grey-mode .big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item):hover{color:#f1404b;}
.io-grey-mode .big-header-banner:not(.header-bg) .header-mini-btn path{stroke:#1f2329;}
.io-grey-mode .big-header-banner:not(.header-bg) .header-mini-btn label:hover path{stroke:#f1404b;}
/*深色模式：Hero 为深色，导航文字用浅色*/
.io-black-mode .big-header-banner:not(.header-bg) .page-header{color:#e8eaed;}
.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:#e8eaed;}
.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:#f1404b;}
.io-black-mode .big-header-banner:not(.header-bg) .header-mini-btn path{stroke:#e8eaed;}
.io-black-mode .big-header-banner:not(.header-bg) .header-mini-btn label:hover path{stroke:#e8eaed;}

/*搜索框：浅色白底深字；深色柔和大底浅字（去掉纯黑）*/
.io-grey-mode .header-big #search-text{color:#1f2329;background-color:#ffffff!important;border:1px solid #eef0f3;}
.io-black-mode .header-big #search-text{color:#e8eaed;background-color:#2c2e2f!important;border:1px solid #34383d;}

/*搜索activate图标颜色（随模式变化）*/
.io-grey-mode .header-big .search-type input:checked+label:before{content:'';border-width:8px 8px 0px 8px;border-style:solid;border-color:#1f2329 transparent transparent;position:absolute;left:50%;top:0;margin-left:-8px}
.io-black-mode .header-big .search-type input:checked+label:before{content:'';border-width:8px 8px 0px 8px;border-style:solid;border-color:#e8eaed transparent transparent;position:absolute;left:50%;top:0;margin-left:-8px}

/*主页搜索搜索框(头+底部)字体颜色*/
.header-big:not(.no-bg) .s-type-list{color:#20c997}
.io-grey-mode .header-big:not(.no-bg) .text-muted,
.io-grey-mode .header-big:not(.no-bg) .search-type .menu-item a,
.io-grey-mode .header-big:not(.no-bg) .big-title .h1{color:#1f2329!important}
.io-black-mode .header-big:not(.no-bg) .text-muted,
.io-black-mode .header-big:not(.no-bg) .search-type .menu-item a,
.io-black-mode .header-big:not(.no-bg) .big-title .h1{color:#e8eaed!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: #FFF;
    box-shadow: 0px 4px 5px 0px #cccccc94;
    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: #777;
    cursor: pointer;
}
.io-black-mode .search-hot-text ul li{
    color: #fff;
}    
.search-hot-text ul li.current{
    background: #f1f1f1;
    color: #2196f3;
}
.search-hot-text ul li:hover{
    background: #f1f1f1;
    color: #2196f3;
    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: #e5e5e5;
    margin-right: 10px;
    border-radius: 10px;
    color: #999;
}

footer.main-footer .footer-text {
    text-align: center;
}
footer.main-footer .footer-text a {
    color: #007bff;
}
footer.main-footer .footer-text a:hover {
    color: red;
}

/*About页面*/
.panel .panel-body a {color: #007bff;}
.panel .panel-body a:hover {color: #979898;}

/*背景：柔和极光渐变 + 精致点阵，替代生硬网格线条*/
.io-grey-mode .page-container .grid-bg {
    background-color: #f5f6fa;
    background-image:
        radial-gradient(1100px 560px at 8% -12%, rgba(241, 64, 75, .10), transparent 60%),
        radial-gradient(1000px 600px at 92% -8%, rgba(64, 120, 255, .10), transparent 58%),
        radial-gradient(820px 520px at 50% 120%, rgba(130, 90, 255, .07), transparent 60%),
        radial-gradient(rgba(33, 37, 41, .05) 1px, transparent 1.6px);
    background-size: auto, auto, auto, 22px 22px;
}
.io-black-mode .page-container .grid-bg {
    background-color: #0f1115;
    background-image:
        radial-gradient(1100px 560px at 8% -12%, rgba(241, 64, 75, .14), transparent 60%),
        radial-gradient(1000px 600px at 92% -8%, rgba(64, 120, 255, .14), transparent 58%),
        radial-gradient(820px 520px at 50% 120%, rgba(130, 90, 255, .10), transparent 60%),
        radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.6px);
    background-size: auto, auto, auto, 22px 22px;
}

/* 工具图标统一样式见下方“工具卡片”区块 */

/* ============ 搜索区 Hero ============ */
.header-big.css-color {
    background: linear-gradient(135deg, rgba(241, 64, 75, .10) 0%, rgba(64, 120, 255, .12) 55%, rgba(130, 90, 255, .10) 100%) !important;
    background-size: cover !important;
    animation: none !important;
    margin-top: -75px;
    padding-top: 92px;
    padding-bottom: 84px;
    box-shadow: inset 0 -1px 0 rgba(31, 35, 41, .06);
}
/* 搜索区底部渐隐，与浅色内容区自然过渡 */
.header-big.css-color::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 72px;
    background: linear-gradient(to bottom, rgba(245, 246, 250, 0) 0%, #f5f6fa 100%);
    pointer-events: none;
}
.io-black-mode .header-big.css-color { background: linear-gradient(135deg, rgba(241, 64, 75, .16) 0%, rgba(64, 120, 255, .16) 55%, rgba(130, 90, 255, .12) 100%) !important; }
.io-black-mode .header-big.css-color::after { background: linear-gradient(to bottom, rgba(15, 17, 21, 0) 0%, #0f1115 100%); }
/* 搜索框质感 */
.io-grey-mode .header-big .super-search-fm { box-shadow: 0 14px 34px -16px rgba(31, 35, 41, .35); border-radius: 12px; overflow: hidden; }
.io-black-mode .header-big .super-search-fm { box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .6); border-radius: 12px; overflow: hidden; }
.header-big #search-text { border-radius: 8px; }

/* ============ 分类标题层级 ============ */
#content h4.text-gray.text-lg {
    position: relative;
    font-weight: 700;
    letter-spacing: .5px;
    color: #1f2329 !important;
    padding-left: 14px;
    margin: 6px 0 18px;
}
#content h4.text-gray.text-lg::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 20px;
    border-radius: 3px;
    background: linear-gradient(180deg, #f1404b, #ff8a93);
}
#content h5.text-gray.text-sm {
    font-weight: 600;
    letter-spacing: .3px;
    color: #5b626b !important;
    margin: 4px 0 14px;
}
.io-black-mode #content h4.text-gray.text-lg { color: #e8eaed !important; }
.io-black-mode #content h5.text-gray.text-sm { color: #aab0b8 !important; }
/* 分类之间的呼吸感 */
.category-anchor { scroll-margin-top: 92px; padding-top: 34px; }

/* ============ 工具卡片 ============ */
.url-card .url-body.default {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.url-card .url-body.default .card { border-radius: 14px; }
.url-card .url-body.default:hover {
    border-color: rgba(241, 64, 75, .4);
    box-shadow: 0 18px 42px -22px rgba(241, 64, 75, .4);
}
/* 工具图标统一容器：白色圆角 chip，品牌色图标 contain 居中，深浅模式一致 */
.url-card .url-img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    background: #ffffff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}
.url-card .url-img > img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 0;
}
.io-black-mode .url-card .url-body.default { background: #2c2e2f; border-color: #34383d; }
.io-black-mode .url-card .url-body.default:hover { border-color: rgba(241, 64, 75, .55); box-shadow: 0 18px 42px -22px rgba(0, 0, 0, .6); }
.io-black-mode .url-card .url-img { background: #ffffff; border-color: #3a3f45; }

/* ============ 响应式微调 ============ */
@media (max-width: 767.98px) {
    .header-big.css-color { padding-top: 64px; padding-bottom: 64px; }
    #content h4.text-gray.text-lg { font-size: 1.05rem; }
    .url-card .url-body.default { border-radius: 12px; }
}
@media (min-width: 1600px) {
    .content-site { max-width: 1680px; }
}















