/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, system-ui, sans-serif;
}

body {
    line-height: normal !important; /* 或设置你想要的值，比如 1.2、1 */
}

a {
    color: #282a2d !important;
    outline: 0 !important;
    text-decoration: none;
}

a:active,
a:hover,
a:link,
a:visited {
    text-decoration: none !important;
}

img {
    vertical-align: middle;
    border-style: none;
}

dl,
ol,
ul {
    margin-top: 0;
    margin-bottom: 1rem;
}

li {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
}

ul.nav-pills>li.active>a,
ul.nav-pills>li.active>a:focus,
ul.nav-pills>li.active>a:hover {
    color: #333;
    background-color: transparent;
}

.nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
    color: inherit;
    background-color: transparent !important;
    border: none;
    box-shadow: none;
}

/* 布局 & 通用类 */
.flex,
.navbar,
/*.resources-grid:first-child,*/
.s-current,
.search-group.s-current {
    display: flex;
}

.flexs,
.hot-item,
.hot-item-icon {
    display: flex;
    align-items: center;
}

.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}

.flex-column {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}




.justify-content-center {
    justify-content: center !important;
}

.logo-icon{
    display: flex;
    align-items: center;
    gap: 12px;
    /*min-width: 240px;*/
}
.iiice-brand-text h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.iiice-brand-text p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #b4bcc8;
}

.justify-content-end {
    justify-content: flex-end;
}

.text-center {
    text-align: center !important;
}

.position-absolute {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.overflow-x-auto {
    overflow-x: auto;
    overflow-y: unset;
}

.ios-steps {
    text-align: left;
    font-size: 13px;
    color: #555;
    margin: 10px 0;
    /*padding-left: 20px;*/
    /* 初始化计数器，名称和 before 里保持一致 */
    counter-reset: item;
    list-style: none; /* 隐藏原生数字 */
}
.ios-steps li {
    margin-bottom: 6px;
    list-style: none; /* 兜底去除原生序号 */
}
/* 你原来的序号样式，直接保留 */
.ios-steps li::before {
    content: counter(item) ".";
    counter-increment: item;
    display: inline-block;
    width: 20px;
    color: #283593;
    font-weight: 700;
    text-align: right;
    margin-right: 10px;
}

.hidden {
    display: none !important;
}

.active {
    display: block;
}

.d-none,
#footer-tools .btn span,
.search-type input {
    display: none;
}

/* 颜色 & 背景 */
.bg-white,
header {
    background-color: #fff;
}

.bg-primary {
    background-color: #165dff;
}

.bg-primary-light {
    background-color: rgba(22, 93, 255, .1);
}

.bg-purple-light {
    background-color: #f3e8ff;
}

.bg-yellow-light {
    background-color: #fef3c7;
}

.bg-green-light {
    background-color: #ecfdf5;
}

.color-primary,
.header-icon:hover,
.search-tab:not(.active):hover,
.sidebar-module-title span:last-child:hover {
    color: #165dff;
}

.color-secondary,
.category-tag:not(.active),
.search-tab:not(.active),
.search-tag:not(.active) {
    color: #6b7280;
}

.color-red,
.logo i {
    color: #dc2626;
}

.color-green,
.call-hardcore {
    color: #10b981;
}

.color-yellow {
    color: #d97706;
}

.color-purple {
    color: #7e22ce;
}

/* 圆角 & 阴影 */
.rounded-lg {
    border-radius: 8px;
}

.rounded-md {
    border-radius: 6px;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-sm {
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.shadow-lg {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
}

.search-section,
header {
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, .05);*/
}

/* 交互 & 过渡 */
.transition {
    transition: .3s;
}

.category-tag,
.search-tab,
.search-tag,
button {
    cursor: pointer;
}

/* 文本溢出 */
.resource-desc,
.resource-title {
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 主体容器 */
body {
    background-color: #f3f4f6 !important;
    color: #1f2937;
    min-height: 100vh;
    flex-direction: column;
}

.logo,
body {
    display: flex;
    line-height: none !important;
}

/* 头部 header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    height: 60px;
}

.logo i {
    margin-right: 4px;
}

.header-middle {
    display: none;
    align-items: center;
    gap: 24px;
}

.header-middle-text {
    font-size: 14px;
    color: #6b7280;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon {
    color: #6b7280;
    transition: color .2s;
}

.follow-btn {
    font-size: 14px;
    color: #fff;
    background-color: #165dff;
    padding: 4px 12px;
    border-radius: 6px;
    transition: background-color .2s;
}

.follow-btn:hover,
.search-btn:hover {
    background-color: rgba(22, 93, 255, .9);
}

/* 主容器 */
.main-container {
    flex: 1;
    overflow: hidden;
}

.content {
    flex: 1;
    overflow-y: auto;
}

.content-wrap {
    width: 100% !important;
}

.content-layout {
    min-height: 100vh;
    /*margin-right: 20px;*/
    /*margin-bottom: 40px;*/
    border-radius: 14px;
    /*padding: 30px 15px 15px;*/
    background: #fff;
}

.content-layout-detail {
    min-height: auto !important;
    border-radius: 14px !important;
}

.customize-width-main {
    /*max-width: 1900px;*/
}

.container-fluid-main {
    /*padding-right: 60px;*/
    /*padding-left: 60px;*/
}

/* 侧边栏 - 左侧 */
.sidebar-left {
    width: 110px;
    position: fixed;
    display: table-cell;
    height: 100vh;
    z-index: 1081;
    background: #fff;
    opacity: 1 !important;
}

.sidebar-nav {
    padding: 16px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-nav-header {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 100px;
    text-align: center;
}

.sidebar-nav-header .logo-light {
    max-height: 60px;
}

.sidebar-nav-title {
    text-transform: uppercase;
    font-weight: 600;
    display: none;
    font-size: 12px;
    color: #6b7280;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px 12px;
    margin: 0 12px;
    flex-direction: column;
    font-size: 15px;
}

.sidebar-nav-item i {
    width: 32px;
    text-align: center;
}

.sidebar-nav-item span {
    display: inherit;
    margin-top: 0px;
}

.sidebar-nav-item:hover {
    background-color: #f1f2f3;
    border-radius: 11px;
}

.sidebar-nav-item.nav-active {
    background-color: rgba(22, 93, 255, .1);
    color: #165dff;
    border-left: 4px solid #165dff;
}

.sidebar-nav-bottom {
    margin-top: auto;
}

.sidebar-copyright {
    padding: 8px 12px;
    display: none;
    font-size: 12px;
    color: #6b7280;
}

/* 侧边栏 - 右侧 */
.sidebar-right {
    width: 236px;
    flex-shrink: 0;
    overflow-y: auto;
    display: none;
}

.sidebar-right-detail {
    width: 280px;
    flex-shrink: 0;
    overflow-y: auto;
    display: none;
}

.sidebar-module {
    margin-bottom: 15px;
    padding: 16px;
    border-radius: 14px;
    background-color: #fff;
}

.sidebar-module-title {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
}

.sidebar-module-title span:last-child {
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
}

/* 搜索区域 */
.search-section {
    /*margin-bottom: 32px;*/
    /*background-color: #fff;*/
    /*border-radius: 8px;*/
    /*padding: 16px;*/
}

.search-tabs,
.search-box,
.search-tags {
    /*margin-bottom: 16px;*/
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
}

.search-tab {
    font-size: 20px;
    font-weight: 600;
    margin-right: 16px;
    padding-bottom: 4px;
    transition: color .2s;
}

.search-tab.active {
    color: #165dff;
    border-bottom: 2px solid #165dff;
}

.search-box {
    /*position: relative;*/
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    outline: 0;
}

.search-input:focus {
    border-color: #165dff;
    box-shadow: 0 0 0 2px rgba(22, 93, 255, .5);
}

.search-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    background-color: #165dff;
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    transition: background-color .2s;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.search-tag {
    font-size: 14px;
}

.search-tag.active,
.search-tag:not(.active):hover {
    color: #165dff;
    text-decoration: underline;
}

#search-text:focus {
    outline: 0;
    box-shadow: none;
    border-color: inherit;
    background-color: transparent;
}

#search-text {
    display: block;
    width: 100%;
    padding: 9px 20px;
    background: #fff !important;
    border: 2px solid #000 !important;
    color: initial;
    backdrop-filter: blur(5px);
    border-radius: 14px;
    height: 50px;
    font-size: 1pc;
    transition: .3s;
    font-weight: 400;
    line-height: 1.5;
}

#btn_search {
    position: absolute;
    top: 0;
    right: 0;
    border: 0 !important;
    width: unset;
    height: unset;
    margin: 4px;
    line-height: 42px;
    border-radius: 11px;
    padding: 0 12px;
    background: #000;
}

.search-notice {
    background-color: #f3e8ff;
    color: #7e22ce;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-notice i {
    margin-right: 8px;
}

.search-group {
    display: none;
    gap: 10px;
    flex-wrap: wrap;
}

.search-type {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.search-type li {
    list-style: none;
    display: inline-block;
}

.search-type label {
    display: inline-block;
    padding: 0 11px;
    font-size: 14px;
    line-height: 31px;
    border-radius: 3px 3px 0 0;
    cursor: pointer;
    color: #666;
    transition: .3s;
}

.s-current .search-type {
    padding-left: 5px;
    display: initial;
}

.hide-type-list {
    padding: 10px;
}

/* 分类 & 推荐区 */
.category-section,
.recommend-header {
    align-items: center;
    display: flex;
    margin-bottom: 10px;
}

.category-section {
    margin-left: 8px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 9999px;
    transition: background-color .2s, color .2s;
}

.category-tag.active {
    background-color: rgba(22, 93, 255, .1);
    color: #165dff;
}

.category-tag:not(.active):hover {
    background-color: #f3f4f6;
}

.category-more {
    margin-left: auto;
    font-size: 14px;
    color: #165dff;
    cursor: pointer;
}

.category-more:hover {
    text-decoration: underline;
}

.recommend-section,
.resources-section {
    margin-bottom: 10px;
}

.recommend-header {
    justify-content: start;
    margin-left: 8px;
}

.recommend-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.recommend-title i {
    color: #dc2626;
    margin-right: 8px;
}

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

.recommend-card {
    padding: 12px;
    background-color: #fff;
    border-radius: 8px;
    transition: .3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    cursor: pointer;
}

.recommend-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
    transform: translateY(-4px);
}

.recommend-card-title,
.welfare-item-title {
    font-size: 14px;
    font-weight: 500;
}

.recommend-card-desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.category-name {
    margin-left: 5px;
    font-size: 15px;
    font-weight: 700;
}

/* 资源卡片列表 */
.resources-grid {
    /*display: flex;*/
    /*flex-wrap: wrap;*/
    
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

.list-item-box {
    /*display: contents;*/
    
    position: relative;
    /*background-color: #fff;*/
    /*border-radius: 8px;*/
    /*transition: .3s;*/
    /*box-shadow: 0 1px 2px rgba(0, 0, 0, .05);*/
    /*cursor: pointer;*/
    /*border: 1px solid #dee2e6;*/
}

.iiice-card {
        height: 40px;
    border-radius: 8px;
    background: var(--iiice-white);
    border: 1px solid #f0f0f0;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.iiice-card img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.iiice-card span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #313a45;
    font-size: 13px;
}

.list-item-box:hover {
    /*background: #f1f2f3;*/
    transform: none;
    box-shadow: none;
}

.site-togoicon {
    top: 0;
    right: 0;
    padding: 2px 6px 0 0;
    position: absolute;
    opacity: .55;
    z-index: 1;
    display: flex;
    color: #837adc;
}

.site-togoicon span {
    font-size: 0;
    height: 24px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-togoicon span i {
    font-size: 13px;
}

.resource-card-content {
    /*padding: 8px 5px;*/
    /*display: flex;*/
    /*flex: 1 1 auto;*/
    /*min-height: 1px;*/
    /*align-items: center !important;*/
    
    height: 40px;
    border-radius: 8px;
    background: var(--iiice-white);
    border: 1px solid #f0f0f0;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.resource-card-inner {
    display: flex;
    align-items: flex-start;
}

.iiice-footer-title {
    margin: 0 0 8px;
    font-size: 12px;
}

.iiice-friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(12, 16, 23, 0.35);
}
.iiice-friend-links a {
    font-size: 12px;
    color: #dde3ed!important;
}

.resource-icon {
    height: 20px;
    width: 20px;
    margin: 0 6px 0 0px;
    border-radius: 3px;
    background: 0 0;
}

.resource-info {
    padding-right: 0;
    flex: 1 1 auto !important;
    overflow: hidden;
}

.resource-title {
    font-size: 13px;
    /*font-weight: 500;*/
    overflow: hidden;
}

.resource-desc {
    margin: 0 !important;
    font-size: 12px;
    color: #6b7280;
    transition: opacity .1s;
    opacity: 1;
    overflow: hidden;
    display: block;
}

.resource-icon>img,
.hot-item-icon>img {
    /*max-height: 100%;*/
    vertical-align: unset;
    
        width: 100%;
        height: 100%;
        border-radius: 4px;
        object-fit: cover;
        flex-shrink: 0;
}

/* 热门 & 福利模块 */
.hot-list,
.welfare-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-item-icon {
    width: 16px;
    height: 16px;
    border-radius: 6px;
    justify-content: center;
    margin-right: 8px;
}

.hot-item-name {
    font-size: 14px;
}

.hot-tabs-box {
    background: #fff;
    border-radius: 14px;
}

.hot-tab a,
.site-tags a {
    display: inline-block;
    font-size: 12px;
    padding: 6px 15px;
    margin: 3px;
    background: #f1f2f3;
    border-radius: 8px;
    color: rgba(0, 0, 0, .6);
}

.hot-tab a {
    background-color: rgba(132, 122, 220, .15) !important;
}

.welfare-module {
    background-color: #fef3c7;
    border-bottom: none;
}

.welfare-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: #92400e;
}

.welfare-item {
    background-color: #fff;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.welfare-item-desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

/* 二维码 & 反馈 */
.qrcode-module {
    text-align: center;
    padding: 16px;
}

.qrcode-title {
    font-size: 14px;
    font-weight: 500;
    color: #059669;
    margin-bottom: 8px;
}

.qrcode-desc {
    font-size: 12px;
    color: #6b7280;
}

.feedback-btn {
    background-color: #059669;
    color: #fff;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: 100%;
    transition: background-color .2s;
}

.feedback-btn:hover {
    background-color: #047857;
}

.qrcode-container {
    background-color: #fff;
    display: inline-block;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.qrcode-placeholder {
    width: 128px;
    height: 128px;
    background-color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 底部 & 悬浮工具 */
footer {
    background-color: #3d4557!important;
    /*border-top: 1px solid #e5e7eb;*/
    padding: 16px 0;
    color: #fff!important;
}

.footer-content {
    /*padding: 0 20px;*/
    font-size: 12px;
    /*color: #282a2d;*/
}

.footer-content p:last-child {
    margin-top: 4px;
}

footer a{
    color: #fff!important;
}

footer a:hover {
    color: #fff !important;
}

#footer-tools {
    position: fixed;
    bottom: 80px;
    right: 10px;
    display: flex;
    z-index: 5;
}

#footer-tools .btn {
    color: #555;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    text-align: center;
    line-height: 40px;
    padding: unset;
    display: block;
    border: unset;
    background: rgba(210, 210, 210, .58);
    backdrop-filter: saturate(180%) blur(20px);
    border-radius: 10px;
}

/* 收藏提示区域 */
.ctrld {
    text-align: center;
    /*padding: 45px 0;*/
    /*height: 130px;*/
    font-size: 20px;
    /*font-weight: 700;*/
    position: relative;
}

.ctrld-main {
    position: relative;
    z-index: 2;
}

.ctrld-pc {
    display: inline-block;
}

.ctrld-pc span:first-child {
    margin-left: 15px;
}

#footer-tools .iconfont {
    font-size: 24px;
    vertical-align: -3px;
    /*color: #837adc;*/
}

.ctrld-pc span:last-child {
    margin-right: 15px;
}

.ctrld-pc span {
    position: relative;
    color: #030405;
    border: 1px solid silver;
    border-radius: 3px;
    height: 3em;
    width: 3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background-image: linear-gradient(#f5f5f5, #fff);
    margin: auto;
}

.ctrld-pc span::before {
    content: '';
    box-sizing: content-box;
    position: absolute;
    border: 2px solid rgba(240, 240, 240, 0.9);
    border-top: 1px solid rgba(240, 240, 240, 0.9);
    border-bottom: 7px solid rgba(240, 240, 240, 0.9);
    border-radius: 3px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.1);
}

.ctrld-main>span a {
    color: #4CAF50 !important;
    margin: 0 5px;
}

.navcat-badge {
    position: absolute;
    top: -3px;
    left: -3px;
    background-color: #ff4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 4px;
    transform: rotate(-15deg);
    z-index: 10;
    border-radius: 4px;
    pointer-events: none;
    line-height: 1.4;
}
.badge-full {
    display: inline;
}

.ctrld-pc em {
    padding: 0 5px;
}

/* 按钮通用 */
button {
    border: none;
    background: 0 0;
}

/* 图标、小字辅助类 */
.sheng-icon {
    width: 16px;
    vertical-align: -2px;
    margin-right: 7px;
}

.text-lg {
    font-size: 1.125rem !important;
}

/* 弹窗、复制提示 */
.copy-tooltip {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s;
}

.copy-tooltip.success {
    background-color: #28a745;
}

.copy-tooltip.error {
    background-color: #dc3545;
}

.copy-tooltip.show {
    opacity: 1;
}

/* 侧边滑栏 */
.adb,
.adf {
    position: fixed;
    height: 100%;
    transform: translateX(-100%);
    transition: transform .3s;
    top: 0;
    left: 0;
}

.adf {
    width: 100%;
    z-index: 1000;
}

.adb {
    width: 200px;
    z-index: 11111;
}

/* 导航滑块菜单 */
.nav-pills.menu,
.super-search-fm {
    position: relative;
}

.nav-pills .anchor {
    transition: left .2s;
    background: #007bff;
    border-radius: 3px;
    z-index: 1;
}

.nav-pills .nav-link {
    padding: 6px 15px;
    position: relative;
    z-index: 2;
    border-radius: .25rem;
}

.slider_menu[sliderTab]>.menu {
    position: relative;
    white-space: nowrap;
    flex-wrap: initial;
}

.slider_menu.mini_tab[sliderTab]>.menu>li {
    margin: 0 3px;
    padding: 0 4px;
}

.slider_menu[sliderTab]>.menu>li {
    border-radius: 3px;
    cursor: pointer;
    width: auto;
    height: auto;
}

.slider_menu.mini_tab[sliderTab]>.menu>li>a {
    padding: 0;
    color: #666;
    height: 28px;
    line-height: 28px;
}

.slider_menu[sliderTab]>.menu>li>a {
    display: block;
    text-decoration: none;
    position: relative;
    color: #888;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    padding: 0 16px;
    -webkit-transition: .25s;
    transition: .25s;
}

.slider_menu[sliderTab] .anchor {
    bottom: 5px;
    height: 13px !important;
    background: #4CAF50;
    transform: skewX(-15deg);
    background: linear-gradient(to right, transparent 0, #4CAF50 100%);
}

/* 顶部搜索大模块 */
.head-search-box {
    position: relative;
    margin: 85px auto 60px;
    max-width: 800px;
}

.head-search-title {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.head-search-title label {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 18px;
}

.head-search-title label.active {
    color: #837adc;
}

#search-list {
    position: relative;
    text-align: center;
}

.header-big .search-group {
    padding: 0;
    margin: 0 auto;
}

/* 页面标题、表单、按钮 */
.single-title-line {
    border-left: unset !important;
    margin-left: unset !important;
    margin-top: 40px !important;
    margin-bottom: 10px !important;
    font-weight: 700;
    padding: 5px 0 !important;
    font-size: 18px !important;
    position: relative;
}

h2.single-title-line::after,
h2.single-title-line::before {
    content: '';
    height: 20px;
    width: 8px;
    background: #f6dc3e;
    position: absolute;
    left: -40px;
    bottom: 7px;
}

h2.single-title-line::after {
    left: -38px;
    transform: skewX(-10deg);
}

h2.single-title {
    font-size: 16px;
    font-weight: 700;
    margin-top: 0 !important;
}

.tag-title-header {
    text-align: center;
}

.tag-title-header h1 {
    color: #837adc;
    font-weight: 700;
    font-size: 24px;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
    display: inline-block;
    padding-top: 15px;
}

.tag-title-header .iconfont {
    font-size: 28px;
    color: #837adc;
}

.not-comment {
    min-height: 100px;
    line-height: 100px;
    background: 0 0 !important;
}

.nothing {
    flex: 1 1 auto;
    min-height: 1px;
    background: rgba(136, 136, 136, .03);
    color: #888;
    padding: 20px 0;
    border-radius: 5px;
    text-align: center !important;
}

.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: .875rem;
    color: #6d6e74;
    height: 135px;
    border: 1px solid #f1f2f3 !important;
    background-color: #f1f2f3 !important;
    font-weight: 400;
    line-height: 1.5;
    border-radius: .25rem;
    resize: vertical !important;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    border-color: none !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.btn-dark {
    cursor: pointer;
    border-radius: 10px;
    white-space: normal;
    font-size: .875rem;
    background-color: #837adc;
    border-color: #837adc;
    color: #fff;
}

.pagenumber a:hover {
    background: 0 0 !important;
}

/* 导航栏 */
.page-header {
    padding: 0 !important;
    margin: 0 !important;
    position: fixed;
    right: 0;
    left: 0;
    background: #fff;
    transition: background-color .3s;
    z-index: 1000;
    box-shadow: none;
}

.navbar {
    margin-bottom: 0 !important;
    position: relative;
    align-items: center;
    padding: .51rem 1rem;
}

.navbar-bran {
    padding: 0 !important;
}

.navbar-brand-main {
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}

/* 图标字号统一 */
.sidebar-nav .iconfont {
    font-size: 25px !important;
}

.header-nav .iconfont {
    font-size: 22px !important;
}

.content-wrap .iconfont {
    font-size: 24px;
}

.site-togoicon .iconfont {
    font-size: 16px !important;
}

/* 站点信息、跳转按钮 */
.site-header {
    align-items: flex-start;
    justify-content: space-between;
}

.site-header-icon {
    margin-right: 15px;
    display: inline-block;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 45px;
    border-radius: 3px;
}

.site-header-icon img {
    max-width: 100%;
}

.site-name {
    font-size: 24px;
    margin: 0 0 5px;
    font-weight: 600;
}

.site-header-information {
    font-size: 14px;
    color: #6c757d !important;
}

.site-header-information-list {
    position: relative;
    z-index: 1;
    display: inline-block;
    font-size: 14px;
    padding: 3px 14px 4px 12px;
    margin-right: 8px;
}

.site-header-information-list::after {
    transform: skewX(-5deg);
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    border-radius: 5px;
    background: #f1f2f3;
    border: 1px solid #f1f2f3;
    width: 100%;
    content: "";
    transform-origin: 0 0;
    pointer-events: none;
}

.site-header-information-list i {
    font-size: 16px !important;
    color: rgba(68, 58, 58, .8);
    vertical-align: -1px;
}

.site-des {
    line-height: 1.875;
    color: #444;
    font-size: 15px;
}

.site-data {
    margin-top: 10px;
}

.site-data strong {
    font-size: 12px;
}

.site-go-btn,
.site-go-btn2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 40px;
    line-height: 40px;
    padding: 0 15px 0 20px;
    border: 1px solid #837adc;
    border-radius: 10px;
    color: #fff !important;
    background: #837adc;
    margin-left: 10px;
    font-size: 16px;
}

.site-go-btn strong+i {
    font-size: 14px;
    vertical-align: 0;
    font-weight: 600;
}

/* 标签、下载区 */
.site-tags {
    padding-top: 20px;
    margin: 0 -6px;
}

.app-downlist {
    margin: -5px;
    font-size: 0;
}

.app-downlist a {
    margin: 5px;
    border-width: 3px;
    position: relative;
    line-height: 34px;
    padding: 0 12px 0 52px !important;
    z-index: 1;
    overflow: hidden;
}

.app-downlist img {
    height: 34px;
    width: 34px;
    border-radius: 9px 0 0 9px;
    padding: 7px 4px 7px 10px;
    position: absolute;
    left: 0;
    top: 0;
}

.app-downlist a::after {
    content: '';
    width: 50px;
    display: inline-block;
    position: absolute;
    height: 160%;
    left: -9px;
    top: -30%;
    z-index: -1;
    border-radius: 100%;
    background: #fff;
}

.app-downlist a strong {
    font-size: 15px;
}

.postbtn {
    border-radius: 10px;
    height: 40px;
    line-height: 38px;
    padding: 0 15px !important;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid #837adc;
    background: #837adc;
    color: #fff !important;
}

/* 优惠、券类模块 */
.juan-item {
    margin-top: 10px;
    padding: 8px;
    justify-content: space-between;
    background: #fff;
    border-radius: 11px;
}

.juan-title {
    font-weight: 500;
    font-size: 14px;
}

.juan-tip-text {
    margin-right: 8px;
    color: rgba(0, 0, 0, .85);
    font-size: 12px;
}

.juan-item-ban {
    width: 50%;
}

/* 渐变卡片 */
.shengqian-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-left: -8px !important;
    margin-right: -8px !important;
}

.padding8,
.resource-card-detail {
    padding-left: 8px !important;
    padding-right: 8px !important;
    margin-bottom: 12px;
}

.shiguang {
    display: flex;
    flex: 1;
    border: none !important;
}

.shengqian-card-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 1rem !important;
    min-width: 0;
    word-wrap: break-word;
    border-radius: 14px;
    background: linear-gradient(to right bottom, #fff4d1 0, #d7ca8a 100%) !important;
}

.quan-bg-1 {
    background: linear-gradient(to right bottom, #efece7 0, #ebcaa9 100%) !important;
}

.quan-bg-2 {
    background: linear-gradient(to right bottom, #f0f7f3 0, #83c9ac 100%) !important;
}

.quan-bg-3 {
    background: linear-gradient(to right bottom, #e4eff1 0, #a3dee7 100%) !important;
}

.quan-bg-4 {
    background: linear-gradient(to right bottom, #e7eef3 0, #acc4e3 100%) !important;
}

.shengqian-card-body {
    height: 310px;
    padding: .986rem;
}

.shengqian-title {
    font-size: 1.125rem !important;
    font-weight: 500;
}

/* 特殊文字角标 */
.shiguang_into {
    font-size: 13px;
    color: #fff2a2;
    line-height: 25px;
    position: relative;
    padding: 0 10px;
    z-index: 1;
}

.shiguang_into::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 3px;
    height: 15px;
    width: 15px;
    display: inline-block;
    background: #837adc;
    border-radius: 2px;
    transform: rotate(45deg) skewX(-5deg);
    z-index: -1;
}

.shiguang_into::after {
    content: '';
    border-radius: 5px;
    background: #837adc;
    width: 100%;
    transform: skewX(-5deg);
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

/* 通用hover颜色统一 */
.card-a:hover,
.hot-list a:hover,
.juan-tip-text:hover,
.search-type li input:checked+label span.text-muted,
.sidebar-nav-item:hover {
    color: #837adc !important;
}


.iiice-topbar-inner {
    /*max-width: 1300px;*/
    margin: 0 auto;
    height: 36px;
    padding: 0 10px;
    margin-bottom: 0px!important;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-between;*/
    /*gap: 10px;*/
    
        background: #3d4557!important;
        color: #fff !important;
        font-size: 12px;
        
        
        border-radius: 0px!important;
}

/* 媒体查询 - 响应式 */
@media (min-width: 768px) {
    .sidebar-nav-title,
    .sidebar-nav-item span,
    .sidebar-copyright {
        display: block;
    }

    .header-middle {
        display: flex;
    }

    .content {
        /*margin-left: 110px;*/
    }

    .search-section {
        /*padding: 24px;*/
    }

    .recommend-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .recommend-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}