/*调整全局字体大小*/
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:#2c3e50;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:#2c3e50;}
.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:#2c3e50;}
.big-header-banner:not(.header-bg) .header-mini-btn label:hover path{stroke:#2c3e50;}

/*滚动后头部导航栏背景（推荐淡蓝色）*/
.big-header-banner.header-bg .page-header{background:rgba(224,237,253,.9);backdrop-filter:blur(10px)}

/*搜索栏字体+背景*/
.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:#2c3e50 transparent transparent;position:absolute;left:50%;top:0;margin-left:-8px}

/*主页搜索搜索框(头+底部)字体颜色*/
.header-big:not(.no-bg) .s-type-list{color:#0ea5e9}
.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:#2c3e50!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';}

/*搜索部分背景样式：淡蓝色渐变替换白色 banner*/
.header-big.css-color{background-color:#e0edfd!important;background-image:linear-gradient(135deg,#d4e6ff 0%,#eef5ff 100%)!important;background-size:unset!important;background-position:unset!important;animation:unset!important;}
.io-black-mode .header-big.css-color{background-color:#1b1d1f!important;background-image:none!important;}

/*搜索热词样式调整（智能推荐联想下拉）*/
.search-hot-text{
    position: absolute;
    z-index: 100;
    width: 100%;
    border-radius: 0 0 12px 12px;
    background: #FFF;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    overflow: hidden;
    animation: smart-tips-in .2s ease;
    border: 1px solid rgba(0,0,0,.04);
    border-top: none;
}
@keyframes smart-tips-in{
    from{opacity:0;transform:translateY(-4px)}
    to{opacity:1;transform:translateY(0)}
}
.search-hot-text ul{
    margin: 0;
    padding: 6px 0;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}
.search-hot-text ul::-webkit-scrollbar{width:5px}
.search-hot-text ul::-webkit-scrollbar-thumb{background:#d0d0d0;border-radius:3px}
.search-hot-text ul li{
    line-height: 32px;
    font-size: 14px;
    padding: 0px 20px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .15s ease, color .15s ease;
}
.io-black-mode .search-hot-text ul li{
    color: #ddd;
}
.search-hot-text ul li.current{
    background: #f1f5f9;
    color: #2196f3;
}
.search-hot-text ul li:hover{
    background: #f1f5f9;
    color: #2196f3;
    cursor: pointer;
}
/*联想序号徽章：前 3 名彩色渐变，其余灰色圆角方块*/
.search-hot-text ul li span{
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    background: #e5e5e5;
    margin-right: 2px;
    border-radius: 5px;
    color: #999;
    font-weight: 600;
}
.search-hot-text ul li:nth-child(1) span{
    background: linear-gradient(135deg,#f54545,#ff8547);
    color: #fff;
}
.search-hot-text ul li:nth-child(2) span{
    background: linear-gradient(135deg,#ff8547,#ffac38);
    color: #fff;
}
.search-hot-text ul li:nth-child(3) span{
    background: linear-gradient(135deg,#ffac38,#ffd14d);
    color: #fff;
}
.io-black-mode .search-hot-text{
    background: #222428;
    border-color: rgba(255,255,255,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.io-black-mode .search-hot-text ul li:hover,
.io-black-mode .search-hot-text ul li.current{
    background: #303236;
}

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;}

/*网页背景：纯色金属灰（低调简约）*/
body, .io-grey-mode body {
    background: #9aa0a6;
}
.io-grey-mode .page-container .grid-bg {
    background-image: none;
    background-color: #9aa0a6;
}
/*头部底部与金属灰背景平滑过渡*/
.header-big.bg-gradual:before {
    background-image: linear-gradient(to top, #9aa0a6 0%, transparent 80%);
}

/*收藏卡片图标：互动圆角（方形→圆形 hover 过渡）*/
.url-card .url-img {
    border-radius: 25%;
    background: rgba(255,255,255,.9);
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    transition: border-radius .35s ease, transform .35s ease, box-shadow .35s ease;
}
.url-card .url-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.url-card .url-body:hover .url-img {
    border-radius: 50%;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,.16);
}
.url-card .url-body:hover .url-img > img {
    transform: scale(1.12);
}
.io-black-mode .url-card .url-img {
    background: #363738;
}

/*心知天气 widgetv3（适配淡蓝头部背景）*/
.big-header-banner:not(.header-bg) .page-header span.sw-typography.sw-bar-slim-location{
    color: #2c3e50;
}  
.big-header-banner:not(.header-bg) .page-header span.sw-typography.sw-bar-slim-temperature{
    color: #2c3e50;
}    

/*底部导航右间距*/
ul.navbar-nav.site-menu{
    margin-right: 30px;
}

/*热点资讯区域*/
.hotnews-section {
    margin-bottom: 20px;
}
.hotnews-heading .iconfont.icon-hot:before {
    content: "🔥";
    font-size: 14px;
}

/* 平台卡片容器 */
.hot-platform-row {
    margin-left: -8px;
    margin-right: -8px;
}
.hot-platform-col {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 16px;
}

/* 平台卡片 */
.hot-platform-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    height: 210px;
}
.hot-platform-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.io-black-mode .hot-platform-card {
    background: #2a2a2a;
    border-color: #3a3a3a;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.io-black-mode .hot-platform-card:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

/* 平台卡片头部 */
.hot-platform-header {
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 6px;
}
.hot-platform-header .platform-name {
    flex: 1;
}
.io-black-mode .hot-platform-header {
    color: #ddd;
    border-bottom-color: #3a3a3a;
}
.hot-platform-header .platform-icon {
    font-size: 16px;
}

/* 刷新按钮 */
.hot-refresh-btn {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: color 0.2s, background 0.2s;
    margin-left: auto;
}
.hot-refresh-btn:hover {
    color: #007bff;
    background: #f0f0f0;
}
.io-black-mode .hot-refresh-btn {
    color: #777;
}
.io-black-mode .hot-refresh-btn:hover {
    color: #4da3ff;
    background: #444;
}
.hot-refresh-btn.spinning i {
    display: inline-block;
    animation: hot-spin 0.6s linear infinite;
}

/* 更新时间文字 */
.hot-platform-header .hot-update-time {
    font-size: 0.75rem;
    color: #6a7282;
    font-weight: normal;
    margin-right: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}
.io-black-mode .hot-platform-header .hot-update-time {
    color: #8b949e;
}

@keyframes hot-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* 平台热榜列表 */
.hot-platform-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 160px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c1c1c1 #f1f1f1;
}
.hot-platform-list::-webkit-scrollbar {
    width: 6px;
}
.hot-platform-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}
.hot-platform-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
.hot-platform-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
.hot-platform-item {
    padding: 0;
}
.hot-platform-link {
    display: flex;
    align-items: flex-start;
    padding: 6px 14px;
    text-decoration: none;
    color: inherit;
    gap: 8px;
    transition: background 0.15s ease;
}
.hot-platform-link:hover {
    text-decoration: none;
    color: inherit;
    background: #f8f9fa;
}
.io-black-mode .hot-platform-link:hover {
    background: #333;
}

/* 排名序号 */
.hot-platform-rank {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    color: #fff;
    background: #ccc;
    margin-top: 1px;
}
.hot-platform-item:nth-child(1) .hot-platform-rank { background: #ea444d; }
.hot-platform-item:nth-child(2) .hot-platform-rank { background: #ed702d; }
.hot-platform-item:nth-child(3) .hot-platform-rank { background: #eead3f; }

/* 标题 */
.hot-platform-title {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    min-width: 0;
}
.io-black-mode .hot-platform-title {
    color: #ccc;
}
.hot-platform-link:hover .hot-platform-title {
    color: #007bff;
}
.io-black-mode .hot-platform-link:hover .hot-platform-title {
    color: #4da3ff;
}

/* 热度值 */
.hot-platform-hot {
    flex-shrink: 0;
    font-size: 10px;
    color: #bbb;
    white-space: nowrap;
    margin-top: 1px;
}
.io-black-mode .hot-platform-hot {
    color: #777;
}

/* 标签徽章 */
.hot-platform-label {
    display: inline-block;
    padding: 0 3px;
    font-size: 10px;
    line-height: 16px;
    border-radius: 3px;
    color: #fff;
    margin-left: 4px;
    flex-shrink: 0;
}

/*=========================================================
  模块圆角优化（低调简约，与金属灰背景协调）
=========================================================*/
/*卡片/面板基类：柔和圆角*/
.card, .block, .panel{
    border-radius: 12px;
}
/*收藏网址卡片：略大圆角（图标仍有互动圆角过渡）*/
.url-card .url-body .card{
    border-radius: 14px;
}
/*侧边栏悬浮菜单圆角统一*/
.sidebar-popup{
    border-radius: 12px;
}
.sidebar-popup .sidebar-menu-inner > div{
    border-radius: 12px;
}
/*搜索框圆角优化（与头部风格一致）*/
#search-text, #m_search-text{
    border-radius: 10px;
}
#search button{
    border-radius: 8px;
}
.s-type-list{
    border-radius: 10px;
}
/*卡片标签圆角微调*/
.url-card .url-body .tga a{
    border-radius: 8px;
}
/*按钮圆角微调*/
.btn:not(.go-up){
    border-radius: 8px;
}

/* 移动端适配 */
@media (max-width: 767px) {
    .hot-platform-row {
        margin-left: -4px;
        margin-right: -4px;
    }
    .hot-platform-col {
        padding-left: 4px;
        padding-right: 4px;
    }
    .hot-platform-card {
        height: 240px;
    }
    .hot-platform-header {
        padding: 8px 10px;
        font-size: 13px;
        gap: 4px;
    }
    .hot-platform-header .platform-icon {
        font-size: 14px;
    }
    .hot-platform-header .platform-name {
        font-size: 13px;
    }
    .hot-platform-header .hot-update-time {
        font-size: 0.7rem;
    }
    .hot-refresh-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    .hot-platform-list {
        max-height: 250px;
        padding: 4px 0;
    }
    .hot-platform-link {
        padding: 8px 10px;
    }
    .hot-platform-rank {
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 12px;
        flex-shrink: 0;
    }
    .hot-platform-title {
        font-size: 14px;
        line-height: 1.5;
    }
    .hot-platform-label {
        font-size: 11px;
        line-height: 14px;
        padding: 0 4px;
    }
}


