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

/*网站提交页面*/
.submit-page {
    min-height: calc(100vh - 190px);
    padding: 46px 18px 64px;
}

.submit-wrap {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.submit-heading {
    margin-bottom: 20px;
}

.submit-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    background: rgba(241, 64, 75, 0.1);
    color: #f1404b;
    font-size: 12px;
    font-weight: 700;
}

.submit-heading h1 {
    margin: 0 0 8px;
    color: #1f2933;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
}

.submit-heading p {
    margin: 0;
    color: #6c757d;
    font-size: 15px;
    line-height: 1.7;
}

.submit-form {
    padding: 26px;
    border: 1px solid rgba(21, 22, 24, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(31, 41, 51, 0.08);
}

.submit-form .form-row {
    display: block;
    margin: 0 0 18px;
}

.submit-form label {
    display: block;
    margin: 0 0 8px;
    color: #2c2e2f;
    font-weight: 700;
}

.submit-form input,
.submit-form textarea {
    width: 100%;
    border: 1px solid #d9dee4;
    border-radius: 6px;
    background: #fff;
    color: #2c2e2f;
    transition: border-color .2s, box-shadow .2s;
}

.submit-form input {
    height: 44px;
    padding: 0 13px;
}

.submit-form textarea {
    min-height: 136px;
    padding: 12px 13px;
    resize: vertical;
}

.submit-form input:focus,
.submit-form textarea:focus {
    border-color: #f1404b;
    box-shadow: 0 0 0 3px rgba(241, 64, 75, 0.12);
    outline: none;
}

.submit-actions {
    display: flex;
    justify-content: flex-end;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #f1404b;
    border-radius: 6px;
    background: #f1404b;
    color: #fff;
    font-weight: 700;
    transition: background .2s, border-color .2s, opacity .2s;
}

.submit-button:hover {
    border-color: #14171b;
    background: #14171b;
}

.submit-button:disabled {
    opacity: .7;
    cursor: not-allowed;
}

.submit-message {
    min-height: 22px;
    margin: -2px 0 16px;
    color: #6c757d;
    font-size: 13px;
}

.submit-message.success {
    color: #198754;
}

.submit-message.error {
    color: #dc3545;
}

.submit-message.loading {
    color: #0d6efd;
}

.io-black-mode .submit-heading h1,
.io-black-mode .submit-form label {
    color: #f1f3f6;
}

.io-black-mode .submit-form {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(44, 46, 47, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.io-black-mode .submit-form input,
.io-black-mode .submit-form textarea {
    border-color: #44484d;
    background: #363738;
    color: #f1f3f6;
}

@media (max-width: 767.98px) {
    .submit-page {
        padding: 28px 0 46px;
        overflow-x: hidden;
    }

    .submit-wrap {
        padding: 0 14px;
    }

    .submit-heading h1 {
        font-size: 26px;
    }

    .submit-form {
        padding: 20px;
    }

    .submit-actions {
        justify-content: stretch;
    }

    .submit-button {
        justify-content: center;
        width: 100%;
    }
}

/*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;
}

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

/*首页首屏搜索 Banner*/
.header-big.ai-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.75rem !important;
    padding: 118px 20px 82px;
    background-color: #111827;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
}

.header-big.ai-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 10, 18, 0.78) 0%, rgba(10, 16, 24, 0.52) 42%, rgba(249, 249, 249, 0.96) 100%),
        radial-gradient(circle at 16% 20%, rgba(32, 201, 151, 0.24), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(245, 158, 11, 0.18), transparent 24%);
    pointer-events: none;
}

.header-big.ai-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(to top, #f9f9f9 0%, rgba(249, 249, 249, 0) 100%);
    pointer-events: none;
}

.ai-hero-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
}

.ai-hero-copy {
    max-width: 780px;
    margin: 0 auto 24px;
    text-align: center;
    color: #fff;
}

.ai-hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
}

.ai-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.ai-hero-copy h1 span:first-child {
    display: inline-block;
    position: relative;
    padding: 0 0.12em 0.04em;
    font-family: "Inter", "SF Pro Display", "Segoe UI", Arial, sans-serif;
    font-style: normal;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
    color: transparent;
    background: linear-gradient(100deg, #ffffff 0%, #d8f7ff 34%, #7dd3fc 52%, #c4b5fd 72%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 0;
    text-shadow: 0 0 24px rgba(125, 211, 252, 0.34), 0 10px 32px rgba(15, 23, 42, 0.38);
}

.ai-hero-copy h1 span:first-child::after {
    content: "";
    position: absolute;
    left: 0.13em;
    right: 0.13em;
    bottom: -0.02em;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0), rgba(20, 184, 166, 0.9), rgba(139, 92, 246, 0.9), rgba(139, 92, 246, 0));
    box-shadow: 0 0 18px rgba(20, 184, 166, 0.45);
}

.ai-hero-copy h1 span + span {
    margin-left: 0.35em;
}

.ai-hero-copy p {
    max-width: 660px;
    margin: 14px auto 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.7;
}

.ai-hero-search-panel {
    max-width: 860px;
    margin: 0 auto;
    padding: 14px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.24);
    backdrop-filter: blur(18px);
}

.ai-hero #search.s-search {
    position: relative;
    margin: 0 auto;
}

.ai-hero #search-list-menu {
    margin-bottom: 10px;
}

.ai-hero .s-type {
    width: 100%;
}

.ai-hero .s-type-list.big {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100%;
    padding: 3px !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px !important;
    background: #f3f6f8 !important;
    box-shadow: none !important;
    overflow-x: auto;
}

.ai-hero .s-type-list .anchor {
    display: none;
}

.ai-hero .s-type-list label {
    flex: 0 0 auto;
    display: inline-flex !important;
    margin: 0;
    border-radius: 6px;
}

.ai-hero .s-type-list label span {
    padding: 8px 16px !important;
    color: #526071;
    font-weight: 700;
    line-height: 1.2;
}

.ai-hero .s-type-list label.active {
    background: #111827;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.18);
}

.ai-hero .s-type-list label.active span {
    color: #fff;
}

.ai-hero .super-search-fm {
    position: relative;
}

.ai-hero #search-text {
    height: 58px;
    padding: 0 64px 0 22px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: #fff !important;
    color: #111827 !important;
    font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: none;
}

.ai-hero #search-text::placeholder {
    color: #7b8794;
}

.ai-hero #search button {
    top: 7px;
    right: 7px;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 8px;
    background: #14b8a6 !important;
    line-height: 44px;
    transition: background-color .2s, transform .2s;
}

.ai-hero #search button:hover {
    background: #0f766e !important;
    transform: translateY(-1px);
}

.ai-hero #search button i {
    color: #fff;
}

.ai-hero #search-list {
    margin-top: 10px;
    text-align: center;
}

.ai-hero .search-type {
    display: block;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.ai-hero .search-type li label {
    padding: 5px 12px !important;
    border-radius: 6px;
    color: #64748b;
    font-size: 13px;
}

.header-big.ai-hero:not(.no-bg) .search-type label,
.header-big.ai-hero:not(.no-bg) .text-muted {
    color: #64748b !important;
    opacity: 1;
}

.ai-hero .search-type input:checked + label,
.ai-hero .search-type input:hover + label {
    background: rgba(20, 184, 166, 0.12) !important;
}

.ai-hero .search-type input:checked + label span,
.ai-hero .search-type input:hover + label span {
    color: #0f766e !important;
}

.ai-hero .search-type input:checked + label::before {
    display: none;
}

.ai-hero .search-hot-text {
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    width: auto;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.ai-hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin-top: 18px;
}

.ai-hero-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
}

.io-black-mode .header-big.ai-hero::after {
    background: linear-gradient(to top, #1b1d1f 0%, rgba(27, 29, 31, 0) 100%);
}

.io-black-mode .ai-hero-search-panel {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(31, 41, 55, 0.92);
}

.io-black-mode .ai-hero .s-type-list.big {
    border-color: rgba(255, 255, 255, 0.08);
    background: #111827 !important;
}

.io-black-mode .ai-hero #search-text {
    border-color: rgba(255, 255, 255, 0.1);
    background: #0f172a !important;
    color: #fff !important;
}

.io-black-mode .header-big.ai-hero:not(.no-bg) .search-type label,
.io-black-mode .header-big.ai-hero:not(.no-bg) .text-muted {
    color: #cbd5e1 !important;
}

@media (max-width: 767.98px) {
    .header-big.ai-hero {
        padding: 96px 14px 58px;
        margin-bottom: 1.25rem !important;
    }

    .ai-hero-copy {
        margin-bottom: 18px;
    }

    .ai-hero-copy h1 {
        font-size: 28px;
        line-height: 1.24;
    }

    .ai-hero-copy h1 span {
        display: block;
    }

    .ai-hero-copy h1 span:first-child {
        padding-left: 0;
        padding-right: 0;
    }

    .ai-hero-copy h1 span + span {
        margin-left: 0;
    }

    .ai-hero-copy p {
        max-width: 330px;
        font-size: 14px;
        line-height: 1.6;
    }

    .ai-hero-search-panel {
        padding: 12px;
    }

    .ai-hero .s-type-list.big {
        display: flex !important;
        width: 100%;
        justify-content: flex-start;
    }

    .ai-hero .s-type-list label span {
        padding: 8px 13px !important;
    }

    .ai-hero #search-text {
        height: 52px;
        padding-left: 16px;
        padding-right: 58px;
        font-size: 15px;
    }

    .ai-hero #search button {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }

    .ai-hero-pills {
        display: none;
    }
}

/*首页广告位*/
.home-ad-slots {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.home-ad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-ad-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.home-ad-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-ad-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
    .home-ad-slots {
        margin-top: -0.25rem;
        margin-bottom: 1.25rem;
    }

    .home-ad-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
