/* Generated by node resource/kkce/scripts/build-css.cjs. Edit the source files below. */

/* Source: css/mod_header.css */
.index-header{
    /* margin-top: -10px; */
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 10px -10px #acabab;
    font-size: 14px;
}

/* Shared navigation also renders on Zhuji without responsive.css. */
.index-header button.dropdown-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  text-align: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

/* 仅在悬停时显示下拉菜单 */
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #333 !important;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f5f7fa;
    color: #1b8efc !important;
}

/* 移除按钮的点击交互样式   移除按钮得点击交互样式  去掉bootstrap dropdown默认箭头*/
.dropdown-toggle {
    cursor: default;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

/* 去掉bootstrap dropdown默认箭头*/
.dropdown-toggle::after {
    display: none !important;
}

.dropdown-toggle:focus,
.dropdown-toggle:active {
    outline: none !important;
    box-shadow: none !important;
}

.active-header {
    color: #1b8efc;
    border-bottom: 1px solid #ccc;
}

/* 检查顶层容器是否有额外边距*/
.ads-container {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 1055px;
    box-sizing: border-box;
}

.ads-container .ad-item {
    display: flex !important;
    /* width: 100%!important; */
    flex: 1 1 0%;
    /* min-width: 190px; */
    margin-left: 3px;
    width: 200px;
}

.ads-container a img {
    width: 100% !important;
    height: 80px !important;
}

.image-container {
    position: relative;
}
/*头部广告*/

.logo_ad2 {margin: 10px auto 0;
    width: 1200px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;}
.logo_ad2 .a {
    display: block;
    width: 150px;
    position: relative;
    overflow: hidden;
    cursor: pointer;}
.logo_ad2 .a .logo-img {
    width: 100%;
    height: auto;
    display: block;}
.logo_ad2 .a #site_page_title {position: absolute;
    top: 0;
    left: 0;text-indent: -9999em;}

.logo_ad2 .ad_01 {
  z-index: 2;
  font-size: 12px;
  position: absolute;
  right: 0;
  top: 0;
  display: inline-block;
  padding: 3px 5px;
  line-height: 12px;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
}

/* 新增：bannerli 内SVG与文字对齐 */
.bannerli {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* 图标和文字间距，可按需调整 */
    vertical-align: middle;
}

/* 新增：SVG本身垂直对齐（兜底） */
.bannerli svg,
.dropdown-toggle svg {
    flex-shrink: 0;
    /* 防止SVG被压缩 */
    vertical-align: middle;
}

/* 新增：修复router-link内的对齐 */
.bannerli router-link,
.bannerli a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.bannerli svg{
    display: inline;
}

.bannerli img{
    display: inline;
}

/* 导航链接包装器 */
.nav-links-wrapper {
    display: flex;
    align-items: center;
    height: 50px;
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
    /* overflow: hidden; */
    padding-right: 8px;
}

/* 右侧按钮之间的竖线分隔符 */
.right-actions-divider {
    display: inline-block;
    width: 1px;
    height: 18px;
    background: #dcdfe6;
    flex-shrink: 0;
}

/* 右侧操作区域容器 */
.right-actions {
    display: inline-flex;
    align-items: center;
    height: 50px;
    /* gap: 4px; */
    flex-shrink: 0;
    padding-left: 0;
}

/* 用户操作区域 */
.user-actions {
    display: inline-flex;
    align-items: center;
    /* gap: 12px; */
    height: 50px;
    flex-shrink: 0;
}

/* 用户按钮样式 */
.user-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 5px;
    height: 32px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
    white-space: nowrap;
}

.user-btn:hover {
    color: #1b8efc;
    background: #f5f7fa;
}

.user-btn svg {
    flex-shrink: 0;
}

/* 分隔符 */
.user-divider {
    color: #ddd;
    font-size: 14px;
    padding: 0 4px;
}

/* 登录按钮样式 */
.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 0 14px;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #3b5bdb 0%, #4774f0 100%);
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    height: 34px;
    box-sizing: border-box;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(59, 91, 219, 0.25);
}

.login-btn:hover {
    background: linear-gradient(135deg, #2f4dc4 0%, #3b5bdb 100%);
    color: #fff;
    box-shadow: 0 3px 10px rgba(59, 91, 219, 0.35);
    transform: translateY(-1px);
}

.login-btn svg {
    flex-shrink: 0;
}

/* 控制台按钮样式（登录后） */
.console-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    font-size: 14px;
    color: #606266;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    height: 34px;
    box-sizing: border-box;
    line-height: 1;
    text-decoration: none;
}

.console-btn:hover {
    border-color: #3b5bdb;
    color: #3b5bdb;
    background: #ecf5ff;
}

.console-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* 退出按钮样式（登录后） */
.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px;
    font-size: 14px;
    color: #606266;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    height: 34px;
    box-sizing: border-box;
    line-height: 1;
    text-decoration: none;
}

.logout-btn:hover {
    border-color: #3b5bdb;
    color: #3b5bdb;
    background: #ecf5ff;
}

.logout-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* 用户头像圆形按钮（登录后右侧） */
.user-avatar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b5bdb 0%, #4774f0 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(59, 91, 219, 0.25);
    flex-shrink: 0;
    text-decoration: none;
}

.user-avatar-btn:hover {
    background: linear-gradient(135deg, #2f4dc4 0%, #3b5bdb 100%);
    box-shadow: 0 3px 10px rgba(59, 91, 219, 0.35);
    transform: translateY(-1px);
}

.user-avatar-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 14px;
    color: #333 !important;
    padding: 0 4px !important;
    margin: 0;
    height: 50px;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
    text-decoration: none;
}

/* 前四个菜单项边距更小 */
.nav-link.compact {
    padding: 0 4px !important;
}

/* 统一顶部导航文字字号与色号：bannerli 原为 #000，dropdown-toggle 原为 16px/#374151 */
.nav-links-wrapper .bannerli {
    color: #333;
}
.nav-links-wrapper .dropdown-toggle {
    font-size: 14px !important;
    color: #333;
}

/* 导航项撑满导航条高度，悬浮面板紧贴导航栏底边 */
.nav-links-wrapper .nav-item-hover {
    height: 100%;
}

/* 图标和文字大小一致 */
.bannerli svg,
.bannerli img,
.nav-link svg,
.nav-link img {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
    vertical-align: middle !important;
}

.dropdown-toggle svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0;
    vertical-align: middle !important;
}

.banner {
    display: flex;
    align-items: center;
    height: 50px;
    gap: 12px;
    width: 1200px;
    margin: 0 auto;
    margin-bottom: 5px;
    justify-content: flex-start;
    /* padding: 0 4px; */
    box-sizing: border-box;
}

/* 统一图标和文字的对齐 */
.bannerli {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.bannerli svg,
.bannerli img {
    width: 17px;
    height: 20px;
    flex-shrink: 0;
}

/* 伪元素下划线 */
.nav-item-hover::after {
    content: '';
    position: absolute;
    bottom: 8px;  /* 从 -8px 改成 -2px，让下划线更靠近文字 */
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1b8efc;
    border-radius: 1px;
    transition: width .18s ease;
}

.nav-item-hover:hover::after,
.nav-item-hover.nav-active::after {
    width: 100%;
}

/* 悬浮和激活颜色（提升特指性以覆盖 .nav-link 的 color: #333 !important） */
.nav-links-wrapper a.nav-item-hover:hover,
.nav-links-wrapper a.nav-item-hover.nav-active {
    color: #1b8efc !important;
}

/* 文字位于 .bannerli 内，直接命中文本元素确保变色 */
.nav-links-wrapper a.nav-item-hover:hover .bannerli,
.nav-links-wrapper a.nav-item-hover.nav-active .bannerli {
    color: #1b8efc !important;
}

.nav-item-hover:hover .bannerli svg path,
.nav-item-hover.nav-active .bannerli svg path {
    fill: #1b8efc;
}

/* 「习惯设置」沿用 nav-link 结构但位于 .nav-links-wrapper 之外，
   需补齐同款悬浮/当前页样式，并与右侧竖线分隔符保持间距 */
.right-actions a.nav-item-hover {
    margin-right: 12px;
}

.right-actions a.nav-item-hover:hover,
.right-actions a.nav-item-hover.nav-active {
    color: #1b8efc !important;
}

/* index.css 的全局 .bannerli{color:#000} 会命中习惯设置（不在 wrapper 作用域内），
   元素自身 color 会阻断从 <a> 继承蓝色，故需显式覆盖常态与悬浮/当前页文字色 */
.right-actions a.nav-item-hover .bannerli {
    color: #333;
}

.right-actions a.nav-item-hover:hover .bannerli,
.right-actions a.nav-item-hover.nav-active .bannerli {
    color: #1b8efc !important;
}

/* checkbox 和 radio 交互样式 */
.oper_ators nav label,
 input[type="radio"] + label {
    cursor: pointer;
}

.oper_ators input[type="checkbox"]:hover + label, input[type="radio"]:hover + label {
    color: #1b8efc;
}
/* checkbox 和 radio 交互样式 */
.operator nav,
.operator nav label,
.operator nav input,
 input[type="radio"] + label {
    cursor: pointer;
}

.network-group{
    cursor: pointer;
}

.operator input[type="checkbox"]:hover + label, input[type="radio"]:hover + label {
    color: #1b8efc;
}

/* ============ Mega Panel（升级原简单下拉） ============ */
/* 给 dropdown 增加缓冲区，让鼠标能平滑滑向面板 */
.nav-item-hover.dropdown {
    padding-bottom: 16px;
    height: 50px;
}

/* 下拉触发器 hover 效果 — 和普通 nav-item-hover 保持一致 */
.nav-item-hover.dropdown:hover > .dropdown-toggle,
.nav-item-hover.dropdown > .dropdown-toggle:hover {
    color: #1b8efc;
}
.nav-item-hover.dropdown:hover > .dropdown-toggle svg,
.nav-item-hover.dropdown > .dropdown-toggle:hover svg {
    stroke: #1b8efc !important;
}
.nav-item-hover.dropdown:hover > .dropdown-toggle svg path,
.nav-item-hover.dropdown:hover > .dropdown-toggle svg rect,
.nav-item-hover.dropdown:hover > .dropdown-toggle svg line,
.nav-item-hover.dropdown:hover > .dropdown-toggle svg circle,
.nav-item-hover.dropdown:hover > .dropdown-toggle svg polyline {
    stroke: #1b8efc !important;
    fill: #1b8efc !important;
}
.nav-item-hover.dropdown::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1b8efc;
    border-radius: 1px;
    transition: width .18s ease;
}
.nav-item-hover.dropdown:hover::after {
    width: 100%;
}

/* 下拉触发器当前页激活态 — 与 hover 视觉一致 */
.nav-item-hover.dropdown.nav-active > .dropdown-toggle {
    color: #1b8efc;
}
.nav-item-hover.dropdown.nav-active > .dropdown-toggle svg {
    stroke: #1b8efc !important;
}
.nav-item-hover.dropdown.nav-active > .dropdown-toggle svg path,
.nav-item-hover.dropdown.nav-active > .dropdown-toggle svg rect,
.nav-item-hover.dropdown.nav-active > .dropdown-toggle svg line,
.nav-item-hover.dropdown.nav-active > .dropdown-toggle svg circle,
.nav-item-hover.dropdown.nav-active > .dropdown-toggle svg polyline {
    stroke: #1b8efc !important;
    fill: #1b8efc !important;
}
.nav-item-hover.dropdown.nav-active::after {
    width: 100%;
}

/* 悬浮导航栏时，隐藏「当前页」激活态，仅保留当前悬浮项的高亮，
   避免浏览 A 页时悬浮 B，出现 A、B 同时高亮的歧义。
   用 :not(:hover) 排除正被悬浮的那一项，使其仍走 :hover 蓝色样式；
   鼠标离开导航栏后，.banner:hover 不再匹配，激活态自动恢复。 */
.banner:hover a.nav-item-hover.nav-active:not(:hover) {
    color: #333 !important;
}
.banner:hover a.nav-item-hover.nav-active:not(:hover) .bannerli {
    color: #333 !important;
}
.banner:hover a.nav-item-hover.nav-active:not(:hover) .bannerli svg path {
    fill: #333;
}
.banner:hover a.nav-item-hover.nav-active:not(:hover)::after {
    width: 0;
}
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover) > .dropdown-toggle {
    color: #333 !important;
}
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover) > .dropdown-toggle svg,
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover) > .dropdown-toggle svg path,
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover) > .dropdown-toggle svg rect,
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover) > .dropdown-toggle svg line,
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover) > .dropdown-toggle svg circle,
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover) > .dropdown-toggle svg polyline {
    stroke: #333 !important;
    fill: #333 !important;
}
.banner:hover .nav-item-hover.dropdown.nav-active:not(:hover)::after {
    width: 0;
}

.mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    /* 隐藏态向下偏移，动画从下往上滑入；不能用负值，否则面板会顶进导航条底部、遮住登录按钮底边 */
    transform: translateY(6px);
    width: 1000px; /* JS 兜底，实际由 JS 设为视口全宽 */
    height: 480px; /* 固定高度，网站检测与 IT 工具面板统一等高，左侧介绍卡等高撑开 */
    background: #fff;
    border-radius: 0;
    border: 1px solid rgba(31, 42, 68, .08);
    border-top: none;
    box-shadow: 0 28px 56px -24px rgba(31, 42, 68, .22),
                0 10px 26px -16px rgba(31, 42, 68, .12);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, transform .28s cubic-bezier(.23,1,.32,1), visibility .28s;
    /* 常驻 flex：面板关闭时若回落到默认 block，淡出过程中布局会重排成竖排并被高度裁切，形成错乱残影 */
    display: flex;
    z-index: 9999; /* 面板层级最高，不被页面元素遮挡 */
    box-sizing: border-box;
    overflow: hidden;
}

/* 宽度由 JS 动态设置：面板铺满视口，内部左 30% / 右 70% 分区，无居中留白 */
.mega-panel-tools,
.mega-panel-detect {
    width: 1000px;
    --panel-split-left: 35%; /* 左侧区宽度比例，改这一处即可切换三七/四六分 */
}

.mega-panel-intro {
    flex: 0 0 var(--panel-split-left); /* 左侧区 */
    align-self: stretch; /* 与面板同高，撑满左侧卡片 */
    padding-top: 18px; /* 顶部上提，大标题更靠上 */
    padding-right: 40px; /* 与分区线保持间距 */
    padding-bottom: 28px;
    /* 左内边距 = banner 左边缘偏移，使大标题与导航「首页」左对齐 */
    padding-left: max(24px, calc((100% - 1200px) / 2));
    /* 整块左侧区横向渐变：#FFF → 当前底色 #F1F5FA（左白右蓝灰） */
    background: linear-gradient(90deg, #ffffff 0%, #f1f5fa 100%);
    border-right: 1px solid #eef2f7;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 内容左对齐，大标题与「首页」同列 */
    gap: 0;
    position: relative;
}

/* 左侧区三块内容等宽，左边缘与「首页」对齐 */
.mega-panel-intro > .intro-title,
.mega-panel-intro > .intro-desc,
.mega-panel-intro > .intro-hint {
    width: 100%;
    max-width: 460px;
}

.intro-title {
    white-space: nowrap;
    font-size: 22px; font-weight: 700; color: #1a2233; margin: 0;
    line-height: 1.4;
    transition: opacity .14s ease;
}

.intro-desc {
    word-break: break-all;
    font-size: 14px; color: #6b7790; margin: 12px 0 0;
    line-height: 1.85;
    transition: opacity .14s ease;
}

/* 底部操作提示（与右侧「查看全部工具」同高对齐） */
.intro-hint {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 20px;
    color: #96a1b2;
    border-top: 1px solid #ebf0f6;
    white-space: nowrap; /* 文案不换行 */
}
.intro-hint svg { flex-shrink: 0; }

.mega-panel .mega-panel-cols {
    padding: 22px 40px 28px; /* 左内边距与左侧区右内边距一致，分区线两侧对称 */
    flex: 1 1 auto; /* 右侧区，占剩余宽度，内容靠左起排 */
     /* 右内边距 = banner 右边缘偏移，使大标题与导航右对齐 */
    padding-right: max(24px, calc((100% - 1200px) / 2));
}

.nav-item-hover.dropdown:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* 快速在各下拉之间切换时，用 JS 给「上一个」下拉加此类，令其面板瞬时隐藏，
   避免两块全宽面板交叉淡入淡出产生重影 */
.nav-item-hover.dropdown.panel-switch-out .mega-panel {
    transition: none;
}

.mega-panel-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px 28px;
}
.mega-panel-cols.cols-2 { grid-template-columns: 1fr 1fr; }
.mega-panel-cols.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.mega-panel-cols.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* 检测面板：工具组占满上方，查看全部工具沉底 */
.mega-panel-detect .mega-panel-cols {
    grid-template-rows: 1fr auto;
}

.mega-panel-group .mega-group-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: .3px;
    color: #1a2233;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(31, 42, 68, .08);
}
.mega-panel-group .mega-group-title .group-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #1b8efc;
}
.mega-panel-group .mega-group-title + .mega-panel-links + .mega-group-title {
    margin-top: 16px;
}

.mega-panel-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
}
.mega-panel-links.single-col {
    grid-template-columns: 1fr;
}

.mega-panel-links a {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .3px;
    color: #3a4456;
    padding: 8px 12px 8px 18px;
    display: block;
    position: relative;
    border-radius: 8px;
    transition: color .15s, background .15s, padding-left .15s, box-shadow .15s;
}
.mega-panel-links a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c2cad6;
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    transition: background .15s, box-shadow .15s;
}
.mega-panel-links a:hover {
    color: #1b8efc;
    background: linear-gradient(90deg, rgba(27, 142, 252, .11) 0%, rgba(27, 142, 252, .03) 100%);
    padding-left: 20px;
    box-shadow: inset 0 0 0 1px rgba(27, 142, 252, .16);
}
.mega-panel-links a:hover::before {
    background: #1b8efc;
    box-shadow: 0 0 6px rgba(27, 142, 252, .55);
}

.mega-panel-quick {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e3e8ef;
    display: flex;
    gap: 12px;
}
.mega-panel-quick a {
    font-size: 13px;
    color: #1b8efc;
    padding: 5px 14px;
    border: 1px solid #cfe3fb;
    border-radius: 16px;
    transition: all .15s;
}
.mega-panel-quick a:hover {
    background: #eaf4ff;
}

/* 面板底部「查看全部工具」入口（横跨列宽，与左侧提示同高对齐） */
.mega-panel-all {
    grid-column: 1 / -1;
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px dashed #e3e8ef;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #1b8efc;
    transition: gap .15s ease, color .15s ease;
}
.mega-panel-all:hover {
    gap: 8px;
    color: #0f7ae0;
}

/* 隐藏旧 dropdown-menu（仅针对导航内的 dropdown，不影响页面其他位置） */
.nav-links-wrapper .dropdown .dropdown-menu {
    display: none !important;
}

/* Extracted from mod_header.html; keep shared template styles in CSS. */
.cookie-warning-bar {
        display: none;
        margin: 12px auto 0;
        max-width: 1200px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }

    .cookie-warning-bar.show {
        display: block;
    }

    .cookie-alert {
        background: #fff7e6;
        border: 1px solid #ffe58f;
        border-radius: 8px;
        padding: 16px 20px;
        position: relative;
    }

    .cookie-alert-body {
        display: flex;
        align-items: flex-start;
        gap: 14px;
    }

    .cookie-icon-wrap {
        flex-shrink: 0;
        width: 32px;
        height: 32px;
        background: #fff1b8;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 2px;
    }

    .cookie-icon-wrap svg {
        color: #d48806;
    }

    .cookie-text {
        flex: 1;
        line-height: 1.6;
    }

    .cookie-title {
        font-size: 15px;
        color: #333;
        font-weight: 500;
        margin-bottom: 4px;
    }

    .cookie-desc {
        font-size: 13px;
        color: #666;
    }

    .cookie-actions {
        flex-shrink: 0;
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .cookie-btn-outline {
        padding: 5px 16px;
        border: 1px solid #d9d9d9;
        border-radius: 6px;
        background: #fff;
        color: #555;
        cursor: pointer;
        font-size: 13px;
        transition: all 0.2s;
    }

    .cookie-btn-outline:hover {
        border-color: #1890ff;
        color: #1890ff;
    }

    .cookie-btn-primary {
        padding: 5px 16px;
        border: none;
        border-radius: 6px;
        background: #1890ff;
        color: #fff;
        cursor: pointer;
        font-size: 13px;
        transition: background 0.2s;
    }

    .cookie-btn-primary:hover {
        background: #40a9ff;
    }

    .cookie-close {
        position: absolute;
        top: 12px;
        right: 14px;
        width: 20px;
        height: 20px;
        border: none;
        background: none;
        color: #999;
        cursor: pointer;
        font-size: 18px;
        line-height: 1;
        transition: color 0.2s;
    }

    .cookie-close:hover {
        color: #333;
    }

    /* 展开详情区 */
    .cookie-detail {
        display: none;
        margin-top: 14px;
        background: #fafafa;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
        padding: 18px 22px;
    }

    .cookie-detail.show {
        display: block;
    }

    .cookie-detail .cookie-detail-title {
        margin: 0 0 12px;
        font-size: 14px;
        color: #333;
    }

    .cookie-detail ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .cookie-detail li {
        padding: 6px 0;
        font-size: 13px;
        color: #555;
        line-height: 1.6;
    }

    .cookie-detail li strong {
        color: #333;
    }

    .cookie-detail-collapse {
        margin-top: 12px;
        padding: 5px 18px;
        border: 1px solid #d9d9d9;
        border-radius: 6px;
        background: #fff;
        color: #555;
        cursor: pointer;
        font-size: 13px;
        transition: all 0.2s;
    }

    .cookie-detail-collapse:hover {
        border-color: #1890ff;
        color: #1890ff;
    }

/* Source: css/mod_bread.css */
/* Extracted from mod_bread.html; keep shared template styles in CSS. */
#breadcrumb.kkce-breadcrumb {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #666;
        gap: 4px;
        width: 1200px;
        margin: 0 auto;
        /*height: 60px;*/
        margin-top: 10px;
    }

    #breadcrumb.kkce-breadcrumb a{
        color: #4e91a7;
        text-decoration: none;
        cursor: pointer;
    }

    .kkce-breadcrumb .breadcrumb-item {
        color: #4e91a7;
        text-decoration: none;
        cursor: pointer;
    }
    .kkce-breadcrumb .breadcrumb-item a {
        color: #4e91a7;
        text-decoration: none;
        cursor: pointer;
    }
    .kkce-breadcrumb .breadcrumb-item:hover {
        color: #007bff;
    }

    .kkce-breadcrumb .breadcrumb-separator {
        color: #6c757d;
        margin: 0 4px;
    }

    .kkce-breadcrumb .home-icon {
        width: 14px;
        height: 14px;
        margin-right: 4px;
        vertical-align: middle;
        color: #4e91a7;
    }

/* Source: css/footer.css */
/* ============ 深色底部 ============ */
.site-footer {
    background: #1F2535;
    color: #9aa3b2;
    padding: 56px 0 0;
    margin-top: 20px;
    clear: both;
    width: 100%;
    overflow: hidden;
    display: block;
}

.site-footer .w1200 {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 上区：4 列 */
.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* 链接列*/
.footer-col .footer-heading {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 18px;
    padding-bottom: 10px;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    font-size: 13px;
    color: #9aa3b2;
    transition: color .15s;
    text-decoration: none;
    line-height: 1.6;
}
.footer-col ul li a:hover {
    color: #41A6FF;
}

/* 联系我们 */
.footer-contact .contact-item {
    font-size: 13px;
    color: #9aa3b2;
    line-height: 1.8;
    margin-bottom: 8px;
}
.footer-contact .contact-item b {
    color: #d7dbe4;
    font-weight: 500;
}

/* 二维码 */
.footer-qrcodes {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}
.footer-qrcodes .footer-qr {
    text-align: center;
}
.footer-qr-box {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image:
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0;
}
.footer-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footer-qrcodes .footer-qr span {
    font-size: 12px;
    color: #8a93a6;
}

/* 友情链接 */
.footer-friend-links {
    padding: 16px 0;
    font-size: 12px;
    color: #8a93a6;
    border-bottom: 1px solid rgba(255,255,255,.08);
    line-height: 28px;
}
.footer-friend-links .friend-label {
    color: #c9cfdb;
    font-weight: 500;
    margin-right: 10px;
}
.footer-friend-links a {
    font-size: 12px;
    color: #9aa3b2;
    position: relative;
    margin-right: 14px;
    transition: color .15s;
    text-decoration: none;
}
.footer-friend-links a:hover {
    color: #41A6FF;
}

/* 顶部友情链接变体（挪到 footer-top 上方后） */
.footer-friend-links-top {
    border-bottom: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin-bottom: 14px;
}

/* 底部协议栏 */
.footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #8a93a6;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-protocols a {
    color: #8a93a6;
    margin-right: 16px;
    transition: color .15s;
    text-decoration: none;
}
.footer-protocols a:hover {
    color: #41A6FF;
}
.footer-copyright {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px 28px;
    width: 100%;
}
.footer-copyright span {
    font-size: 12px;
    display: inline;
    margin: 0;
    line-height: 1.6;
}
.footer-copyright a {
    font-size: 12px;
    color: #8a93a6;
    transition: color .15s;
    text-decoration: none;
}
.footer-copyright a:hover {
    color: #41A6FF;
}

/* ============ 浮动按钮 ============ */
.float-btns {
    position: fixed;
    right: 24px;
    bottom: 40px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s;
    color: #666;
    border: none;
    font-size: 11px;
    font-weight: 500;
    font-family: inherit;
    padding: 0;
    line-height: 1;
}
.float-btn svg {
    margin-bottom: 2px;
    flex-shrink: 0;
}
.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    color: #1b8efc;
}
.float-btn.top-btn {
    display: none;
}
.float-btn.top-btn.show {
    display: flex;
}

/* ============ 旧样式保留（兼容兜底） ============ */
.footer {
    background: #f8f9fb;
    color: #555;
    line-height: 27px;
    clear: both;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    display: block;
}

/* ============ 旧 footer.css 完整类样式（兼容 19 个含旧 footer 的模板） ============ */

.footer > .functionMenu > .info {
    overflow: hidden;
    text-align: left;
}
.footer > .functionMenu > .info > .quickJumpList {
    float: none;
    margin: 48px auto 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: fit-content;
}
.footer > .functionMenu > .info > .quickJumpList > ul {
    float: none;
    display: inline-block;
    vertical-align: top;
    text-align: center;
    list-style: none;
}
.footer > .functionMenu > .info > .quickJumpList > ul.help {
    width: 300px;
    margin-right: 40px;
}
.footer > .functionMenu > .info > .quickJumpList > ul.isDns {
    width: 240px;
}
.footer > .functionMenu > .info > .quickJumpList > ul > li:first-child {
    margin-bottom: 18px;
    font-size: 16px;
    color: #000;
}
.footer > .functionMenu > .info > .quickJumpList > ul > li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 19px;
}
.footer > .functionMenu > .info > .quickJumpList > ul > li > a,
.footer > .functionMenu > .info > .quickJumpList > ul > li > span {
    color: #8f8f8f;
}
.footer > .functionMenu > .info > .quickJumpList > ul.help li {
    float: left;
    width: 50%;
}
.footer > .dns_links {
    width: 1200px;
    border-top: 1px solid #e0e4e9;
    border-bottom: 1px solid #e0e4e9;
    margin: 0 auto;
    color: #888;
    font-size: 12px;
    overflow: hidden;
    padding: 18px 0;
    line-height: 26px;
    display: flex;
    text-align: center;
}
.footer > .dns_links > span {
    width: 80px;
    color: #333;
}
.footer > .dns_links .dns_links_row {
    width: 1214px;
}
.footer > .dns_links > .dns_links_row a {
    font-size: 12px;
    color: #8f8f8f;
    position: relative;
}
.footer li {
    list-style: none;
}
.footer01 {
    width: 100%;
    font-size: 12px;
    margin: 20px 0 30px;
    padding: 10px;
    text-align: center;
}
.footer01 span {
    display: inline-block;
    width: auto;
    text-align: center;
}
.footer01 span[style*="display: inline-block"] {
    width: auto;
    position: static;
    top: auto;
    margin: 0 10px;
}
.footer01 a {
    color: #888;
}
.footer01 span a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.footer01 .split {
    font-size: 12px;
    padding: 0 10px;
    color: #dfdfdf;
}

/* Source: css/loading.css */
/* Extracted from loading.html. */
/* 遮罩层，覆盖整个页面 */
    #loading-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(255, 255, 255, 0.8);
        /* 白色半透明 */
        z-index: 9999;
        pointer-events: all;
        /* 禁止点击页面其他元素 */
    }

    /* 加载内容区域 */
    #loading {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 18px;
        color: #333;
        text-align: center;
    }

    /* 简单的加载动画 */
    #loading-overlay .spinner {
        margin: 0 auto 10px;
        width: 40px;
        height: 40px;
        border: 4px solid #ccc;
        border-top-color: #007bff;
        border-radius: 50%;
        animation: kkce-loading-spin 1s linear infinite;
    }

    @keyframes kkce-loading-spin {
        to {
            transform: rotate(360deg);
        }
    }

.kkce-float-container { position: fixed; visibility: hidden; }
