/*调整全局字体大小*/
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:#6C757D;font-size:18px}

/*顶部导航栏字体+图标颜色*/
.big-header-banner .page-header{color:#ffffff;background:rgba(255,255,255,0);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;}
.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:#dc3545;}
.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:#6C757D;}
.io-black-mode .header-big #search-text{color:#fff;}

/*搜索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:#20c997}
.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: #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-image: linear-gradient(rgba(50, 0, 0, 0.05) 1px, transparent 0), linear-gradient(90deg, rgba(50, 0, 0, 0.05) 1px, transparent 0); 
    background-size: 15px 15px;
    background-color: #d8d8d8;
}

/*优化卡片布局和间距*/
.url-card {
    margin-bottom: 20px;
}

.url-card .url-body {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.url-card .url-body:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

/*优化导航栏样式*/
.sidebar-nav-inner {
    background: #2c2e2f;
    border-radius: 0 10px 10px 0;
}

.sidebar-logo {
    background: #2c2e2f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu-inner a {
    transition: all 0.3s ease;
}

.sidebar-menu-inner a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/*优化搜索框样式*/
.header-big #search-text {
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    font-size: 16px;
}

.header-big #search button {
    background: #f1404b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 5px 15px;
}

.header-big #search button i {
    color: #fff;
}

/*优化响应式设计*/
@media (max-width: 768px) {
    .sidebar-nav {
        width: 100% !important;
        height: 100% !important;
    }
    
    .sidebar-nav-inner {
        border-radius: 0;
        max-width: 250px;
    }
    
    .url-card {
        margin-bottom: 15px;
    }
    
    .header-big #search-text {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .header-big #search button {
        width: 36px;
        height: 36px;
        line-height: 36px;
        margin: 7px 10px;
    }
}

/*优化加载动画*/
#loading {
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    transition: ease-in-out 0.5s;
}

#loading.close {
    opacity: 0;
    visibility: hidden;
}

/*优化滚动条样式*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/*优化标签样式*/
.tags a {
    margin: 0 8px 10px 0;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tags a:hover {
    background: #f1404b !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/*优化按钮样式*/
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*优化标题样式*/
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #282a2d;
}

/*优化链接样式*/
a {
    transition: all 0.3s ease;
}

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

/*优化卡片阴影*/
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/*优化天气插件样式*/
.weather {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*优化一言样式*/
#hitokoto {
    font-size: 14px;
    color: #666;
    margin-right: 15px;
}

#hitokoto a {
    color: #666;
}

#hitokoto a:hover {
    color: #f1404b;
}















