/*调整全局字体大小*/
body,html{font-size:14px;}
/*滚动条*/
@media only screen and (min-device-width: 768px) {
    ::-webkit-scrollbar-thumb {
        background-color:rgba(130,130,130,.5);
        -webkit-border-radius: 4px;
        border-radius: 4px
    }
    ::-webkit-scrollbar-thumb:hover {
        background-color: #6bcf82;
        -webkit-border-radius: 4px;
        border-radius: 4px
    }
    ::-webkit-scrollbar {
        width: 5px;
        height: 5px
    }
    ::-webkit-scrollbar-thumb:active {
        background-color: #6bcf82;
        -webkit-border-radius: 4px;
        border-radius: 4px
    }
    ::-webkit-scrollbar-corner {
        background: rgba(0,0,0,0);
        border-radius: 0 0 8px 0
    }
    ::-webkit-scrollbar-button {
        background-color: rgba(0,0,0,0);
        height: 2px;
        width: 2px
    }
}

@media (max-width: 767.98px) {
    .tab-auto-scrollbar::-webkit-scrollbar {
        display:none
    }
}
/*背景图铺满*/
#search-bg {
    background-size: cover;
}
/*加载动画*/
.loader {
    width: 250px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: helvetica, arial, sans-serif;
    font-weight: 900;
    color: #82c749;
    letter-spacing: 0.2em
}
.loader::before,
.loader::after {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: #82c749;
    position: absolute;
    animation: load .5s infinite alternate ease-in-out
}
.loader::before {top: 0}
.loader::after {bottom: 0}
@keyframes load {
    0% {left: 0;height: 30px;width: 15px}
    50% {height: 8px;width: 40px}
    100% {left: 235px;height: 30px;width: 15px}
}
/*左导航相关样式已随侧边栏移除而清理*/

/*搜索框搜索图标颜色*/
#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;}

/*搜索栏字体+背景*/
.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底部宽度*/
@media screen and (min-width:768px){.post-top{padding-bottom:50px}}
/*头部导航二级导航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: 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;
}

/*灰格子*/
.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;
}
/*白格子*/
.io-grey-mode .page-container .white-bg {
    background-image: linear-gradient(90deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%), linear-gradient(360deg, rgba(50, 0, 0, 0.05) 3%, rgba(0, 0, 0, 0) 3%);
    background-size: 20px 20px;
    background-position: center center;
}
/*波尔卡圆点*/
.io-grey-mode .page-container .polkadot-bg {
    background-color: #d8d8d8;
    background-image: radial-gradient(tan 32%, transparent 0), radial-gradient(tan 30%, transparent 0);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
}
/*马赛克*/
.io-grey-mode .page-container .mosaic-bg {
    background: #eee url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" fill-opacity=".25" ><rect x="50" width="50" height="50" /><rect y="50" width="50" height="50" />            </svg>');
    background-size: 30px 30px;
}
/*砖墙*/
.io-grey-mode .page-container .brickwall-bg {
    background-color: silver;
    background-image: linear-gradient(335deg, #979393  23px, transparent 23px),
    linear-gradient(155deg, #9f9999 23px, transparent 23px),
    linear-gradient(335deg, #9b8f8f 23px, transparent 23px),
    linear-gradient(155deg, #9f9999 23px, transparent 23px);
    background-size: 58px 58px; 
    background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px;
}

.hide{
    display: none!important;
}
img.icon{width:15px;height:15px;margin:0 5px 0 8px;vertical-align:-0.15em;fill:currentColor;overflow:hidden}

/*==============================================================
过渡页（transit.php）— 手机 / 平板 / PC 三端自适应
==============================================================*/

/*主体容器：限宽 + 水平居中（修复PC端内容贴左、右侧大面积留白）*/
.transit-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 12px 10px 0;
}

/*过渡卡片：圆角 + 柔和阴影，立体感但不花哨*/
.transit-card {
    border: 1px solid rgba(136,136,136,.14);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,36,100,.06);
    overflow: hidden;
}
.io-black-mode .transit-card {
    border-color: rgba(255,255,255,.08);
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

/*站点标题*/
.transit-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    word-break: break-word;
    border-bottom: 1px solid #eee;
}
.transit-title a {color: #333;}
.transit-title a:hover {color: #f1404b;text-decoration: none;}
.io-black-mode .transit-title {border-color: rgba(255,255,255,.08);}
.io-black-mode .transit-title a {color: #e6e6e6;}

/*站点简介*/
.card .site-introduce .site-desc {
    font-size: 15px;
    line-height: 1.5;
    text-align: left;
    color: #555;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    margin: 0 0 14px;
}
.io-black-mode .card .site-introduce .site-desc {color: #bbb;}

/*详情信息：表格式行排版（标签左、值右，底边线分隔）*/
.card .site-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 0 16px;
}
.card .site-form span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: auto;
    float: none;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    white-space: normal;
    overflow: hidden;
}
.card .site-form span em {font-style: normal;font-weight: 400;color: #666;flex: none;white-space: nowrap;}
.card .site-form span b {font-weight: 700;color: #333;word-break: break-all;text-align: right;margin-left: auto;min-width: 0;}
.io-black-mode .card .site-form span {border-color: rgba(255,255,255,.08);background: transparent;}
.io-black-mode .card .site-form span em {color: #9aa0a6;}
.io-black-mode .card .site-form span b {color: #e6e6e6;}

/*备用线路：一行一个按钮，垂直排列（易点大热区）*/
.standby-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin: 0 0 22px;
}
.standby-list a.standby-pill {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.standby-list a.standby-pill:hover {background: #f1f3f5;border-color: #dee2e6;color: #222;text-decoration: none;}
.standby-list a.standby-pill:active {background: #e9ecef;transform: scale(.98);}
.io-black-mode .standby-list a.standby-pill {background: rgba(255,255,255,.06);border-color: rgba(255,255,255,.12);color: #d7dae0;}
.io-black-mode .standby-list a.standby-pill:hover {background: rgba(255,255,255,.1);color: #fff;}
.io-black-mode .standby-list a.standby-pill:active {background: rgba(255,255,255,.16);}

/*操作按钮：进入网站 + 返回首页 双键并排居中、大小一致*/
.card .site-road {width: 100%;margin-top: 6px;}
.card .site-road-start {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0 auto;
}
.card .site-road-start a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
    line-height: 42px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 22px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.card .site-road-start a.btn-go {background: linear-gradient(135deg,#ff7a18,#ff5722);}
.card .site-road-start a.btn-home {background: linear-gradient(135deg,#2fa23d,#4fc55e);}
.card .site-road-start a:hover {color: #fff;text-decoration: none;transform: translateY(-2px);box-shadow: 0 8px 20px rgba(0,0,0,.18);}
.card .site-road-start a:active {transform: translateY(0);box-shadow: 0 2px 8px rgba(0,0,0,.12);}

/*扩展字段富文本图片自适应*/
.card .link_content img {max-width: 100%;height: auto;}

/*--------------------------------------------------------------
平板 / PC 端（≥768px）：字号放大、信息双列、按钮并排
--------------------------------------------------------------*/
@media (min-width: 768px) {
    .transit-container {padding: 24px 20px 0;}
    .transit-card .card-body {padding: 30px;}
    .transit-title {font-size: 22px;}
    .card .site-introduce .site-desc {font-size: 15px;line-height: 1.5;}
    .card .site-form {grid-template-columns: 1fr 1fr;column-gap: 40px;}
    .card .site-form span {font-size: 15px;padding: 12px 0;}
    .standby-list a.standby-pill {font-size: 15px;padding: 13px 0;}
    .card .site-road-start a {min-width: 170px;font-size: 16px;}
}

/*--------------------------------------------------------------
手机端（<768px）：单列紧凑、双按钮并排各半行
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
    .transit-container {padding: 10px 8px 0;}
    .transit-card .card-body {padding: 18px 14px;}
    .transit-title {font-size: 18px;}
    .card .site-form {gap: 0;}
    .card .site-form span {padding: 10px 0;font-size: 14px;}
    .standby-list {gap: 8px;}
    .standby-list a.standby-pill {padding: 12px 0;font-size: 14px;}
    .card .site-road-start {gap: 10px;}
    .card .site-road-start a {flex: 1 1 calc(50% - 5px);width: 100%;min-width: 0;height: 42px;line-height: 42px;font-size: 15px;padding: 0 10px;}
}