﻿@charset "utf-8";
/* ============================================================
   keai-3-4.css  ——  Discuz! X3.4 GB2312 可爱风格美化
   已梳理：重复块清理 + 分节注释 + 覆盖顺序确认
   保存编码：ANSI / GB2312
   ============================================================

   目录
   01 全局基础
   02 左侧边栏
   03 顶部导航
   04 底部菜单1（5项 + 分隔竖线）
   05 底部菜单2（含空壳遮挡修复）
   06 底部浮动按钮
   07 其他工具类 / 分隔线 / 顶部八色链接
   08 面包屑 #pt
   09 子菜单弹窗 .submenu
   10 底部信息区 #ft
   11 底部链接行 / 站点名 / 版权 / 友链 / 口号（footer-*）
   12 滚动条
   13 帖子正文 .t_f
   14 面包屑手机不换行
   15 热门帖子列表
   16 帖子标题 .ts + 呼吸动画
   17 帖子图片 .zoom
   18 顶部导航面包屑 #keaidaohang2023
   19 移动端整体适配
   20 电脑端 .submenu
   21 广告模块 .keai-ad-module
   22 keai 门户聚合（幻灯片 / 6模块 / 分页基础）
   23 子版块帖子列表 #threadlist（含两行标题、行高统一、电脑端放大）
   24 子版块头部 .bm.bml.pbn
   25 分区页主版块列表（单列 + 多列网格）
   26 keailianjie.php 兜底输出
   27 帖子列表“更多”弹出菜单
   28 “查看更新”按钮
   29 分页 .pg 完整美化（最终版）
   30 推荐主题 .bm.bmw:not(.fl)
   31 置顶帖按钮 absolute
   32 电脑端页面同宽 1180px
   ============================================================ */


/* ============================================================
   01 全局基础
   ============================================================ */
body {
    margin: 0;
    font-size: 16px;
    font-family: Verdana, "Microsoft YaHei", sans-serif;
    line-height: 146%;
    color: #333;
    background-image: url(/tupian/keaifengexian.gif);
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 0;
}
ul, dl, h1, h2, h3, h4, h5, h6, form, dd { padding: 0; margin: 0; }
h2 { font-size: 14px; font-weight: normal; }
h3 { font-size: 14px; font-weight: normal; }
h4 { font-size: 12px; }
h5 { font-size: 12px; font-weight: normal; }
ul { list-style: none; }
img { border: 0; }

#wp { padding: 0 8px; box-sizing: border-box; }


/* ============================================================
   02 左侧边栏
   ============================================================ */
.keaicnfoot {
    position: fixed;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 60px;
    height: 100%;
    overflow: hidden;
    z-index: 998;
    color: #8800EE;
    background: #EEEED1;
    border-right: 2px #D8BFD8 solid;
    box-shadow: 2px 0 12px rgba(136,0,238,0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: width 0.3s ease;
}
.keaicnfoot:hover { width: 120px; }
.keaicnfoot a {
    display: block;
    padding: 4px 8px;
    font-size: 13px;
    color: #8800EE;
    text-decoration: none;
    transition: color 0.3s;
}
.keaicnfoot a:hover {
    color: #FF6600;
    background: rgba(136,0,238,0.06);
}


/* ============================================================
   03 顶部导航
   ============================================================ */
.keaidaohang1999 { height: auto; }
.keaidaohang2023 {
    width: 100%;
    background: #8800EE;
    white-space: nowrap;
}
.keaidaohang2023 a {
    margin: 6px 1px 16px 6px;
    font-size: 16px;
    line-height: 23px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.keaidaohang2023_1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    white-space: nowrap;
    border-bottom: 1px solid rgba(136,0,238,0.08);
    box-shadow: 0 2px 12px rgba(136,0,238,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.keaidaohang2023_1 > a {
    margin: 6px 1px 16px 6px;
    font-size: 16px;
    line-height: 23px;
    color: #8800EE;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s;
}
.keaidaohang2023_1 > a:hover { color: #FF6600; }

#nv, #nv_ph { background: transparent; }
#nv a, #nv_ph a { color: #8800EE; transition: color 0.3s; }
#nv a:hover, #nv_ph a:hover { color: #FF6600; }

/* ============================================================
   04 底部菜单（6项：首页 | 频道 | 分享 | 后退 | 商业 | 导航）
   结构：图标在上、文字在下；分享块无图标、两行文字 + 三态渐变扫
   竖线：前5项右侧有，最后一项“导航”无
   移动端适配统一移至第 19 块
   ============================================================ */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    padding: 2px 0;
    background: #fff;
    border-top: 1px solid rgba(136, 0, 238, 0.06);
    box-shadow: 0 -2px 12px rgba(136, 0, 238, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 0 !important;
}

/* 全局去下划线：a 在 hover/focus/active 默认会出下划线 */
.bottom-menu a,
.bottom-menu div {
    text-decoration: none !important;
}
.bottom-menu a:hover,
.bottom-menu a:focus,
.bottom-menu a:active {
    text-decoration: none !important;
}

.bottom-menu-item01,
.bottom-menu-item02,
.bottom-menu-item-share,
.bottom-menu-item03,
.bottom-menu-item04,
.bottom-menu-item05 {
    flex: 1 0 auto !important;
    min-width: 0 !important;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    padding: 8px 2px !important;
    font-size: 18px !important;
    color: #8800EE;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
    box-sizing: border-box;
    white-space: nowrap !important;
    transition: color 0.3s, transform 0.2s;
    position: relative;
    gap: 1px !important;
}

.bottom-menu-item01:hover,
.bottom-menu-item02:hover,
.bottom-menu-item-share:hover,
.bottom-menu-item03:hover,
.bottom-menu-item04:hover,
.bottom-menu-item05:hover {
    color: #FF6600;
    transform: translateY(-2px);
    cursor: pointer;
}

/* 图标：内联 SVG，不依赖 Font Awesome */
.bm-icon {
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    fill: currentColor;
    color: inherit;
    vertical-align: middle;
    flex-shrink: 0;
}

/* 03 内部包裹层：竖向居中 */
.bottom-menu-item03 #wangxikeaicolor {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    width: 100%;
}

/* 普通单行文字：桌面 13px */
.bm-text {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ===== 分享块：无图标，两行文字 + 三态渐变扫 ===== */
.bottom-menu-item-share {
    gap: 0 !important;
    justify-content: center !important;
    text-decoration: none !important;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}
.bottom-menu-item-share:hover,
.bottom-menu-item-share:focus,
.bottom-menu-item-share:active {
    text-decoration: none !important;
}

/* 文字：渐变填充 + 缓慢来回扫（三态共用基类） */
.bottom-menu-item-share .bm-two-line {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    text-align: center;
    white-space: normal !important;
    word-break: keep-all;
    font-style: normal !important;
    font-weight: 600 !important;
    position: relative;
    z-index: 2;
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shareFlow 6s ease-in-out infinite;
    /* 默认：紫 → 橙 → 深绿 → 紫，三色扫 */
    background-image: linear-gradient(135deg,
        #8800EE 0%,
        #FF6600 30%,
        #008000 60%,
        #8800EE 100%);
}

/* 背景径向光晕：从字中间向外扩散 */
.bottom-menu-item-share::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
        rgba(136,0,238,0.18) 0%,
        rgba(136,0,238,0) 65%);
    border-radius: 50%;
    animation: sharePulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* 点击成功：深绿明暗交替扫 + 深绿光晕 */
.bottom-menu-item-share.ok .bm-two-line {
    background-image: linear-gradient(135deg,
        #006400 0%,
        #00A000 25%,
        #006400 50%,
        #00A000 75%,
        #006400 100%);
}
.bottom-menu-item-share.ok::before {
    background: radial-gradient(circle,
        rgba(0,128,0,0.25) 0%,
        rgba(0,128,0,0) 65%);
}

/* 最终态：FF6600 明暗交替扫 + 橙色光晕 */
.bottom-menu-item-share.final .bm-two-line {
    background-image: linear-gradient(135deg,
        #FF6600 0%,
        #FFB300 25%,
        #FF6600 50%,
        #FFB300 75%,
        #FF6600 100%);
}
.bottom-menu-item-share.final::before {
    background: radial-gradient(circle,
        rgba(255,102,0,0.22) 0%,
        rgba(255,102,0,0) 65%);
}

@keyframes sharePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(0.75); opacity: 0.7; }
    50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}
@keyframes shareFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* 前5项右侧分隔竖线：01 02 share 03 04 */
.bottom-menu-item01::after,
.bottom-menu-item02::after,
.bottom-menu-item-share::after,
.bottom-menu-item03::after,
.bottom-menu-item04::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    width: 1.5px;
    height: 80%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(136, 0, 238, 0.25) 20%,
        rgba(136, 0, 238, 0.45) 50%,
        rgba(136, 0, 238, 0.25) 80%,
        transparent 100%
    );
    border-radius: 1px;
}
.bottom-menu-item05::after { display: none !important; }

/* ok / final 态扫动比默认快一点 */
.bottom-menu-item-share.ok .bm-two-line,
.bottom-menu-item-share.final .bm-two-line {
    animation-duration: 4s;
}


/* ============================================================
   05 底部菜单2（含空壳遮挡修复）
   说明：以下三段是有意的渐进覆盖，顺序不可调换：
   ① 基础定位（bottom:50px / display:block / #container 撑满）
   ② 空壳去装饰
   ③ 8 个 section 全隐藏时整体 display:none
   ============================================================ */
.bottom-menu-2 {
    position: fixed;
    bottom: 62px;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: block;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bottom-menu-2 > #container,
.bottom-menu-2 #container {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.bottom-menu-2-item01,
.bottom-menu-2-item02,
.bottom-menu-2-item03,
.bottom-menu-2-item04,
.bottom-menu-2-item05 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.3s, transform 0.2s;
}
.bottom-menu-2-item01 { color: #E0FFFF; background: #006400; }
.bottom-menu-2-item02 { color: #E0FFFF; background: #CDC673; }
.bottom-menu-2-item03 { color: #E0FFFF; background: #101E08; }
.bottom-menu-2-item04 { color: #E0FFFF; background: #8B8B00; }
.bottom-menu-2-item05 { color: #E0FFFF; background: #E82F63; }
.bottom-menu-2-item01:hover,
.bottom-menu-2-item02:hover,
.bottom-menu-2-item03:hover,
.bottom-menu-2-item04:hover,
.bottom-menu-2-item05:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    cursor: pointer;
}
.bottom-menu-2-item i { margin-bottom: 2px; font-size: 16px; }

/* 空壳状态：去掉装饰，避免形成一条白色遮挡线 */
.bottom-menu-2 {
    border-top: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
}
/* 8 个 section 全部隐藏时整体不占视觉层（老浏览器由上一段兜底） */
.bottom-menu-2:not(:has(.keai_cn_keaitop_eight:not([style*="display: none"]):not([style*="display:none"]))) {
    display: none !important;
}


/* ============================================================
   06 底部浮动按钮
   ============================================================ */
.keaicnbutton {
    position: fixed;
    bottom: 0;
    left: 2%;
    z-index: 999;
    width: 96%;
    padding: 6px 0;
    color: #00FF00;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0,255,0,0.15);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(136,0,238,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.keaicnbutton a {
    font-size: 14px;
    color: #00CC88;
    text-decoration: none;
    transition: color 0.3s;
}
.keaicnbutton a:hover { color: #FF6600; }


/* ============================================================
   07 其他工具类 / 分隔线 / 顶部八色链接
   ============================================================ */
.www_keai_cn {
    width: 98.8%;
    text-align: center;
    background: #fff;
    border: 1px solid #000;
}
.www_keai_cn li { display: inline; list-style: none; }
.www_keai_cn a {
    position: relative;
    margin: 0 4px 0 0;
    font: 14px '微软雅黑';
    color: #000;
    text-decoration: none;
    border: 20px none #fff;
}
#keai_cn li:nth-of-type(odd) { background: #00ccff; }
#keai_cn li:nth-of-type(even) { background: #ffcc00; }
.keaifengexian {
    width: 900px;
    height: 90px;
    background: url(/tupian/keaifengexian.gif) no-repeat;
}
#wangxikeaicolor {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #8800EE;
}
.keai_cn_keaitop_eight {
    width: 100%;
    height: 26px;
    margin: 0 8px 0 0;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    word-break: keep-all;
    background: linear-gradient(to top, #f1eaf6, rgba(255,55,255,0));
    opacity: 1;
    transition: opacity 2s ease-in-out;
}
.keai_cn_keaitop_eight:hover { opacity: 0.5; }

#keai_cn_keaitop_up {
    width: auto;
    height: 26px;
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    border: #c0c0c0 0 dashed;
}
#keai_cn_keaitop_up a:link,
#keai_cn_keaitop_up a:visited,
#keai_cn_keaitop_up a:active {
    color: #fff !important;
    border: none !important;
}
#keai_cn_keaitop_up #keai_cn_keaitop_up_01 { background: #162B0A; }
#keai_cn_keaitop_up #keai_cn_keaitop_up_02 { background: #e33100; }
#keai_cn_keaitop_up #keai_cn_keaitop_up_03 { background: #C23290; }
#keai_cn_keaitop_up #keai_cn_keaitop_up_04 { background: #4eab57; }
#keai_cn_keaitop_up #keai_cn_keaitop_up_05 { background: #162B0A; }
#keai_cn_keaitop_up #keai_cn_keaitop_up_06 { background: #e33100; }
#keai_cn_keaitop_up #keai_cn_keaitop_up_07 { background: #C23290; }
#keai_cn_keaitop_up #keai_cn_keaitop_up_08 { background: #4eab57; }

#keai_cn_keaitop_up a {
    display: inline-block;
    padding: 3px 8px;
    margin-right: 10px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
    background: url(data:image/png;base64,/keaibg.png) repeat-x rgba(0,0,0,0);
    cursor: pointer;
    -moz-border-radius: 5px;
    -webkit-border-radius: 10px;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
}


/* ============================================================
   08 面包屑 #pt（DZX3.4）
   ============================================================ */
#pt,
#pt.bm {
    padding: 6px 12px !important;
    background: linear-gradient(135deg, rgba(136,0,238,0.04), rgba(255,102,0,0.04)) !important;
    border: none !important;
    border-bottom: none !important;
    border-radius: 6px !important;
    margin: 4px 8px !important;
    line-height: 26px !important;
    box-shadow: none !important;
}
#pt .z a,
#pt .z a:link,
#pt .z a:visited,
#pt .y a,
#pt .y a:link,
#pt .y a:visited {
    color: #8800EE !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
#pt .z a:hover,
#pt .y a:hover { color: #FF6600 !important; }

#pt em,
#pt .z em,
#pt cite,
#pt .z cite {
    color: rgba(136,0,238,0.30) !important;
    font-style: normal !important;
    font-weight: 300 !important;
    padding: 0 4px !important;
    font-size: 14px !important;
}
#pt .z a:last-child {
    color: rgba(136,0,238,0.55) !important;
    font-weight: 300 !important;
}
#pt .z a.nvhm { color: #8800EE !important; text-decoration: none !important; }
#pt .z a#fjump { color: #8800EE !important; text-decoration: none !important; }
#pt .z a#fjump:hover { color: #FF6600 !important; }


/* ============================================================
   09 子菜单弹窗 .submenu
   ============================================================ */
.submenu {
    display: none !important;
    position: fixed;
    bottom: 30px;
    left: 0;
    z-index: 9998;
    width: 100%;
    max-height: calc(100vh - 110px);
    padding: 12px 10px 8px 10px !important;
    overflow-y: auto;
    color: #FFFF00;
    text-align: center;
    background: #3a383c;
}
.submenu[style*="display: block"],
.submenu[style*="display:block"] { display: block !important; }

.submenu a img {
    display: inline-block !important;
    max-width: 72px !important;
    height: auto !important;
    margin: 6px 4px !important;
    border-radius: 6px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}
.submenu a img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(136,0,238,0.3);
}
.submenu a:has(img) {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
.submenu a:not(:has(img)) {
    display: inline-block !important;
    padding: 6px 14px !important;
    margin: 2px 4px !important;
    color: #dfd6ed;
    font-size: 14px !important;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap !important;
}
.submenu a:not(:has(img)):hover {
    background: rgba(136,0,238,0.3);
    color: #fff;
}
.submenu center {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 4px 0 !important;
}
.submenu center * { display: inline !important; }
.submenu center br { display: inline !important; }
.submenu center a {
    display: inline-block !important;
    padding: 2px 6px !important;
    margin: 0 !important;
    background: transparent !important;
    white-space: nowrap !important;
}
.submenu center a:hover {
    background: transparent !important;
    color: #FF6600 !important;
}
.submenu center font,
.submenu center strong {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}
.submenu center a[href*="forum.php?mod=forumdisplay"] {
    display: inline-block !important;
    padding: 5px 16px !important;
    margin: 4px 6px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,0.04) !important;
    color: #dfd6ed !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}
.submenu center a[href*="forum.php?mod=forumdisplay"]:hover {
    border-color: rgba(136,0,238,0.5) !important;
    background: rgba(136,0,238,0.15) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 12px rgba(136,0,238,0.15) !important;
}
.submenu center a[href*="forum.php?mod=forumdisplay"] font,
.submenu center a[href*="forum.php?mod=forumdisplay"] strong {
    display: inline !important;
    color: inherit !important;
}
.submenu font[color="#FFFFFF"] {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 10px 0 !important;
    margin: 12px 0 0 0 !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    background: transparent !important;
    color: #FF8844 !important;
    font-size: 14px !important;
    cursor: pointer;
}
.submenu font[color="#FFFFFF"]:hover {
    background: rgba(255,136,68,0.08) !important;
    color: #FFAA66 !important;
}


/* ============================================================
   10 底部信息区 #ft
   ============================================================ */
#ft {
    padding: 12px 8px 4px 8px !important;
    color: #888;
    background: transparent;
    border-top: 1px solid rgba(136,0,238,0.06);
}
#ft > a,
#ft > a:link,
#ft > a:visited {
    color: #8800EE;
    text-decoration: none;
    transition: color 0.3s;
}
#ft > a:hover { color: #FF6600; }
#flk, #frt { line-height: 22px; }

#scrolltop {
    bottom: 96px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(136,0,238,0.18);
}


/* ============================================================
   11 底部链接行 / 站点名 / 版权 / 友链 / 口号（footer-*）
   说明：原文件 footer 模块存在多份重复（.footer-friends 整段重复、
   480px 适配重复、.footer-nav-line 480px 重复），已合并为一份。
   ============================================================ */

/* 11.1 底部六链接 */
.footer-nav-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 4px;
    margin: 8px 0 8px;
    padding: 4px 0;
}
.footer-nav-line a {
    color: #8800EE;
    text-decoration: none;
    padding: 2px 6px 6px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    position: relative;
}
.footer-nav-line a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 1.5px;
    background: linear-gradient(to right, transparent, #FF6600, transparent);
    opacity: 0.35;
    transition: opacity 0.3s ease;
}
.footer-nav-line a:hover {
    background: #FF6600;
    color: #ffffff;
    transform: translateY(-1px);
}
.footer-nav-line a:hover::after { opacity: 0.8; }

/* 11.2 通用行 */
.footer-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 4px 0;
    margin: 0;
    font-size: 13px;
}

/* 11.3 站点名行 */
.footer-site-name {
    font-weight: 600;
    color: #3a2c4a;
}
.footer-site-name a {
    color: #3a2c4a;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}
.footer-site-name a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    width: 60%;
    height: 0;
    border-bottom: 1.5px dashed #b392d0;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.footer-site-name a:hover::after {
    border-bottom-style: solid;
    border-color: #FF6600;
    opacity: 1;
    width: 80%;
    left: 10%;
}
.footer-at { color: #bbb; margin: 0; }
.footer-company { color: #5a4a6a; }
.footer-sep { color: #d0c8dc; font-weight: 200; margin: 0 1px; }

/* 11.4 备案号胶囊 */
.footer-icp {
    background: #f0ebf7;
    padding: 2px 12px;
    border-radius: 30px;
    border: 1px solid #d5c6e6;
    color: #6a4a8a;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}
.footer-icp:hover {
    background: #d5c6e6;
    border-color: #9a7ab0;
    color: #2c1a3a;
}

/* 11.5 版权行 */
.footer-copyright {
    color: #8a7a9a;
    font-size: 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-copyright .line-deco {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, transparent, #b392d0, transparent);
}
.footer-copyright span.year {
    font-weight: 600;
    color: #6a4a8a;
}

/* 11.6 友情链接行（唯一一份，原重复段已删） */
.footer-friends {
    font-size: 13px;
}
.footer-friends-label {
    color: #5a4a6a;
    font-weight: 500;
    margin-right: 2px;
}
.footer-friends a {
    color: #6a5a7a;
    text-decoration: none;
    position: relative;
    padding-bottom: 1px;
    border-bottom: 1px dotted #c8b8d8;
    transition: border-color 0.3s, color 0.3s;
}
.footer-friends a:hover {
    color: #FF6600;
    border-bottom-color: #FF6600;
}
.footer-friends .diamond {
    color: #c8b8d8;
    font-size: 8px;
    margin: 0 1px;
}

/* 11.7 口号行 */
.footer-slogan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #8800EE;
    font-size: 13px;
    padding: 4px 0;
    flex-wrap: wrap;
}
.footer-slogan .line-deco {
    display: inline-block;
    width: 30px;
    height: 1px;
    background: linear-gradient(to right, transparent, #8800EE, transparent);
}
.footer-slogan .diamond {
    color: #d0c8dc;
    font-size: 8px;
    margin: 0 2px;
}

/* 11.8 移动端统一适配（合并原 3 处 480px 重复） */
@media (max-width: 480px) {
    .footer-nav-line {
        gap: 1px 3px;
    }
    .footer-nav-line a {
        padding: 1px 5px 5px 5px;
        font-size: 11px;
        border-radius: 10px;
    }
    .footer-nav-line a::after {
        height: 1px;
        left: 20%;
        width: 60%;
    }
    .footer-line {
        gap: 1px 2px;
        font-size: 11px;
    }
    .footer-icp {
        font-size: 11px;
        padding: 1px 8px;
    }
    .footer-copyright .line-deco {
        width: 15px;
    }
    .footer-copyright,
    .footer-friends {
        font-size: 11px;
    }
    .footer-slogan {
        font-size: 11px;
        gap: 4px;
    }
    .footer-slogan .line-deco {
        width: 15px;
    }
    .footer-slogan .diamond {
        font-size: 6px;
    }
}


/* ============================================================
   12 滚动条
   ============================================================ */
:root {
  --sb-size: 20px;
  --sb-track: #f6f6f6;
  --sb-shadow: rgba(0,0,0,.2);

  --c1: #8800EE;
  --c2: #FF6600;
  --c3: #008000;
  --c4: #FF5D8F;
  --c5: #32CD32;
  --c6: #FF4D4D;
}
::-webkit-scrollbar {
  width: var(--sb-size);
  height: var(--sb-size);
}
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px var(--sb-shadow);
  background: var(--sb-track);
}
::-webkit-scrollbar-thumb:vertical {
  background-image:
    linear-gradient(180deg,
      var(--c1) 0%, var(--c2) 20%, var(--c3) 40%,
      var(--c4) 60%, var(--c5) 80%, var(--c6) 100%),
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.25) 0 3px,
      transparent 3px 8px) !important;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:horizontal {
  background-image:
    linear-gradient(90deg,
      var(--c1) 0%, var(--c2) 20%, var(--c3) 40%,
      var(--c4) 60%, var(--c5) 80%, var(--c6) 100%),
    repeating-linear-gradient(45deg,
      rgba(255,255,255,0.25) 0 3px,
      transparent 3px 8px) !important;
  border-radius: 6px;
}


/* ============================================================
   13 帖子正文 .t_f
   ============================================================ */
.t_f {
    padding: 10px 8px !important;
}
.t_f,
.t_f td {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
                 "Source Han Sans CN", "Noto Sans CJK SC",
                 "WenQuanYi Micro Hei", -apple-system,
                 "Helvetica Neue", Arial, sans-serif;
    font-weight: 300 !important;
    font-size: 16px;
    line-height: 1.8 !important;
    letter-spacing: 0.5px;
    color: #2c3e50;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
.t_f p,
.t_f div,
.t_f span,
.t_f font,
.t_f li,
.t_f blockquote {
    font-weight: inherit;
}
.t_f p { margin-bottom: 0.8em; }
.t_f strong,
.t_f b,
.t_f .strong,
.postmessage strong,
.postmessage b {
    font-weight: 700 !important;
    color: #1a1a2e;
    letter-spacing: 0.3px;
}
.t_f i,
.t_f em {
    color: #5a6a7a;
    font-style: italic;
}
.t_f img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: block;
}
.t_f hr.l {
    border: none;
    height: 1px;
    background: linear-gradient(to right, #e0e5ec, #b0b8c4, #e0e5ec);
    margin: 24px 0;
}
.t_f a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}
.t_f a:hover {
    color: #1a5276;
    border-bottom-color: #2980b9;
}
.t_f .small,
.t_f small {
    font-size: 14px;
    color: #7f8c8d;
}
@media screen and (max-width: 768px) {
    html, body {
        -webkit-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
    .t_f,
    .t_f td {
        font-size: 15px;
        line-height: 1.75 !important;
        letter-spacing: 0.3px;
        font-weight: 300 !important;
    }
    .t_f p,
    .t_f div,
    .t_f span,
    .t_f font,
    .t_f li {
        font-weight: inherit;
    }
    .t_f strong,
    .t_f b,
    .postmessage strong,
    .postmessage b {
        font-weight: 700 !important;
    }
    .t_f img {
        border-radius: 4px;
        margin: 8px 0;
    }
}


/* ============================================================
   14 面包屑手机不换行
   ============================================================ */
@media screen and (max-width: 768px) {
    #pt {
        overflow: hidden !important;
    }
    #pt .z {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        overflow: hidden !important;
        max-width: 92vw;
        float: none !important;
    }
    #pt .z a,
    #pt .z em {
        flex-shrink: 0;
        white-space: nowrap !important;
    }
    #pt .z a:last-child {
        flex-shrink: 1;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        min-width: 0;
    }
}


/* ============================================================
   15 热门帖子列表
   ============================================================ */
.wwwkeaicnthread-wrap {
    line-height: 1.8;
}
.wwwkeaicnthread-item {
    display: inline-block;
    white-space: nowrap;
    max-width: 100%;
    vertical-align: middle;
}
.wwwkeaicnthread-title {
    display: inline-block;
    max-width: calc(100% - 24px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    color: #333;
    text-decoration: none;
}
.wwwkeaicnthread-title:hover {
    color: #e74c3c;
    text-decoration: underline;
}


/* ============================================================
   16 帖子标题 .ts + 呼吸动画
   ============================================================ */
.ts {
    font-weight: 100 !important;
}
.ts #thread_subject a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    animation: breathePurpleOrange 4s ease-in-out infinite;
}
@keyframes breathePurpleOrange {
    0%, 100% {
        opacity: 0.7;
        color: #8800EE;
        text-shadow: 0 0 0px rgba(136, 0, 238, 0);
    }
    50% {
        opacity: 1;
        color: #FF6600;
        text-shadow: 0 0 24px rgba(255, 102, 0, 0.25);
    }
}


/* ============================================================
   17 帖子图片 .zoom（居中 + 上下浮动）
   ============================================================ */
.t_f .zoom,
.postmessage .zoom {
    display: block !important;
    margin: 10px auto !important;
    animation: dzFloatTilt 3s ease-in-out infinite alternate !important;
    transform-origin: center bottom !important;
    will-change: transform !important;
    border: 2px solid transparent !important;
    border-image: linear-gradient(135deg, rgba(136,0,238,0.25), rgba(255,102,0,0.25), rgba(255,184,0,0.25)) 2 !important;
}
@keyframes dzFloatTilt {
    0%   { transform: translateY(-8px) rotate(-0.8deg) scale(1); }
    100% { transform: translateY(14px) rotate(0.8deg) scale(1.02); }
}
.t_f .zoom:hover,
.postmessage .zoom:hover {
    animation-play-state: paused !important;
    transform: translateY(-2px) scale(1.05) rotate(0deg) !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (max-width: 768px) {
    .t_f .zoom,
    .postmessage .zoom {
        max-width: 100% !important;
        height: auto !important;
    }
}


/* ============================================================
   18 顶部导航面包屑 #keaidaohang2023
   ============================================================ */
#keaidaohang2023 > a {
    display: inline-block;
    padding: 2px 6px;
    margin: 2px 2px;
    color: #8800EE;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s;
}
#keaidaohang2023 > a:hover {
    color: #fff;
    background: #8800EE;
}
#keaidaohang2023 > em {
    color: rgba(136,0,238,0.35);
    font-style: normal;
    padding: 0 2px;
}
#keaidaohang2023 > a:last-of-type {
    color: rgba(136,0,238,0.55);
}


/* ============================================================
   19 移动端整体适配
   （已合并原第 4 块底部菜单的移动端规则）
   ============================================================ */
@media screen and (max-width: 768px) {

    /* ===== 底部菜单（原第 4 块移动端，已移入本块） ===== */
    .bottom-menu {
        flex-wrap: nowrap !important;
        padding: 2px 0 !important;
        justify-content: space-around !important;
    }
    .bottom-menu-item01,
    .bottom-menu-item02,
    .bottom-menu-item-share,
    .bottom-menu-item03,
    .bottom-menu-item04,
    .bottom-menu-item05 {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        padding: 4px 1px !important;
        font-size: 12px !important;
    }
    .bm-icon {
        width: 16px !important;
        height: 16px !important;
        margin-bottom: 1px !important;
    }
    .bm-text {
        font-size: 11px !important;
    }
    .bottom-menu-item-share .bm-two-line {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }
    .bottom-menu-item01::after,
    .bottom-menu-item02::after,
    .bottom-menu-item-share::after,
    .bottom-menu-item03::after,
    .bottom-menu-item04::after {
        display: block !important;
        width: 1px !important;
        top: 15% !important;
        height: 70% !important;
    }
    .bottom-menu-item05::after {
        display: none !important;
    }
    /* ===== 底部菜单移动端结束 ===== */

    #wp { padding: 0 4px; }
    .keaicnfoot { display: none; }
    .keaidaohang2023_1 { padding: 0; }
    .keaidaohang2023_1 > a { margin: 4px; font-size: 14px; }
    .bottom-menu-2-item01,
    .bottom-menu-2-item02,
    .bottom-menu-2-item03,
    .bottom-menu-2-item04,
    .bottom-menu-2-item05 {
        padding: 4px 0;
        font-size: 12px;
    }
    .bottom-menu-2 {
        bottom: 45px !important;
        left: 0 !important;
        width: 100% !important;
    }
    .keaicnbutton {
        left: 1%;
        width: 98%;
        border-radius: 8px 8px 0 0;
    }
    .keaicnbutton a { font-size: 13px; }

    #pt,
    #pt.bm {
        padding: 4px 8px !important;
        margin: 2px 4px !important;
        line-height: 22px !important;
    }
    #pt .z a,
    #pt .y a { font-size: 13px !important; }
    #pt em,
    #pt .z em,
    #pt cite,
    #pt .z cite {
        font-size: 12px !important;
        padding: 0 2px !important;
    }
    #pt .z a.nvhm { padding-left: 14px; }

    .submenu { padding: 10px 6px 8px 6px !important; }
    .submenu a img { max-width: 56px !important; margin: 4px 2px !important; }
    .submenu a:not(:has(img)) {
        padding: 5px 10px !important;
        font-size: 13px !important;
    }
    .submenu center a[href*="forum.php?mod=forumdisplay"] {
        padding: 3px 8px !important;
        margin: 2px 3px !important;
        font-size: 12px !important;
        border-radius: 4px !important;
    }
    .submenu font[color="#FFFFFF"] {
        padding: 8px 0 !important;
        font-size: 13px !important;
    }
    #scrolltop { bottom: 86px; }
}


/* ============================================================
   20 电脑端 .submenu
   ============================================================ */
@media screen and (min-width: 769px) {
    .submenu { padding: 16px 20px 10px 20px !important; }
    .submenu a img { max-width: 80px !important; margin: 8px 6px !important; }
    .submenu a:not(:has(img)) {
        padding: 6px 20px !important;
        font-size: 15px !important;
    }
    .submenu center a[href*="forum.php?mod=forumdisplay"] {
        padding: 5px 16px !important;
        margin: 4px 6px !important;
        font-size: 14px !important;
    }
    .submenu font[color="#FFFFFF"] {
        padding: 12px 0 !important;
        font-size: 15px !important;
    }
}


/* ============================================================
   21 广告模块 .keai-ad-module
   ============================================================ */
.keai-ad-module {
    position: relative;
    width: 288px;
    height: 340px;
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.keai-ad-module .ad-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px 12px 12px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}
.keai-ad-module .ad-image-wrapper {
    width: 256px;
    height: 256px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
    border: 2px solid #e8e8e8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
.keai-ad-module .ad-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.keai-ad-module .ad-image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}
.keai-ad-module .ad-image-wrapper::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.0), rgba(255, 87, 34, 0.0));
    transition: none;
}
.keai-ad-module .ad-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}
.keai-ad-module .ad-text a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
.keai-ad-module .ad-text a:hover {
    text-decoration: underline;
}
.keai-ad-module .ad-text a {
    background: linear-gradient(90deg, #8800EE, #FF6600);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textGradientFlow 4s linear infinite;
}
@keyframes textGradientFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes keai_ad_anim {
    0%, 3.125%   { opacity:0; transform:scaleX(0.6) scaleY(1.4); pointer-events:none; z-index:1; }
    3.125%       { opacity:0; transform:scaleX(0.6) scaleY(1.4); pointer-events:none; z-index:2; }
    5.208%       { opacity:1; transform:scaleX(1.15) scaleY(0.82); pointer-events:auto; z-index:2; }
    7.292%       { opacity:1; transform:scaleX(0.92) scaleY(1.08); pointer-events:auto; z-index:2; }
    9.375%       { opacity:1; transform:scaleX(1) scaleY(1); pointer-events:auto; z-index:2; }
    84.375%      { opacity:1; transform:scaleX(1) scaleY(1); pointer-events:auto; z-index:2; }
    87.500%      { opacity:0.8; transform:scaleX(1.45) scaleY(0.55); pointer-events:none; z-index:2; }
    90.625%      { opacity:0; transform:scaleX(1.8) scaleY(0.2); pointer-events:none; z-index:1; }
    90.625%, 100%{ opacity:0; transform:scaleX(0.6) scaleY(1.4); pointer-events:none; z-index:0; }
}
@keyframes keai_ad_img_effect {
    0%, 3.125%   { border-color:#e8e8e8; box-shadow:0 2px 12px rgba(0,0,0,0.10); border-radius:12px; }
    5.208%       { border-color:#ff8a65; box-shadow:0 8px 30px rgba(255,138,101,0.35); border-radius:16px; }
    9.375%       { border-color:#e8e8e8; box-shadow:0 2px 12px rgba(0,0,0,0.10); border-radius:12px; }
    84.375%      { border-color:#e8e8e8; box-shadow:0 2px 12px rgba(0,0,0,0.10); border-radius:12px; }
    87.500%      { border-color:#ef5350; box-shadow:0 12px 40px rgba(239,83,80,0.40); border-radius:8px; }
    90.625%      { border-color:#e8e8e8; box-shadow:0 2px 12px rgba(0,0,0,0.10); border-radius:12px; }
    100%         { border-color:#e8e8e8; box-shadow:0 2px 12px rgba(0,0,0,0.10); border-radius:12px; }
}
@keyframes keai_ad_text_effect {
    0%, 3.125%   { opacity:0; transform:translateX(40px) scale(0.92); color:#999; }
    5.208%       { opacity:1; transform:translateX(-6px) scale(1.06); color:#e64a19; }
    9.375%       { opacity:1; transform:translateX(0) scale(1); color:#333; }
    84.375%      { opacity:1; transform:translateX(0) scale(1); color:#333; }
    87.500%      { opacity:0.6; transform:translateX(-30px) scale(0.90); color:#c62828; }
    90.625%      { opacity:0; transform:translateX(-60px) scale(0.80); color:#999; }
    100%         { opacity:0; transform:translateX(40px) scale(0.92); color:#999; }
}
@keyframes keai_ad_glow {
    0%, 3.125%   { opacity:0; background:linear-gradient(135deg, rgba(255,193,7,0.0), rgba(255,87,34,0.0)); }
    5.208%       { opacity:0.5; background:linear-gradient(135deg, rgba(255,193,7,0.25), rgba(255,87,34,0.25)); }
    9.375%       { opacity:0; background:linear-gradient(135deg, rgba(255,193,7,0.0), rgba(255,87,34,0.0)); }
    84.375%      { opacity:0; background:linear-gradient(135deg, rgba(255,193,7,0.0), rgba(255,87,34,0.0)); }
    87.500%      { opacity:0.6; background:linear-gradient(135deg, rgba(255,193,7,0.35), rgba(255,87,34,0.35)); }
    90.625%      { opacity:0; background:linear-gradient(135deg, rgba(255,193,7,0.0), rgba(255,87,34,0.0)); }
    100%         { opacity:0; background:linear-gradient(135deg, rgba(255,193,7,0.0), rgba(255,87,34,0.0)); }
}

.keai-ad-module .ad-item-0 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: 0s; }
.keai-ad-module .ad-item-1 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: -4s; }
.keai-ad-module .ad-item-2 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: -8s; }
.keai-ad-module .ad-item-3 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: -12s; }
.keai-ad-module .ad-item-4 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: -16s; }
.keai-ad-module .ad-item-5 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: -20s; }
.keai-ad-module .ad-item-6 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: -24s; }
.keai-ad-module .ad-item-7 { animation: keai_ad_anim 32s ease-in-out infinite; animation-delay: -28s; }

.keai-ad-module .ad-item-0 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: 0s; }
.keai-ad-module .ad-item-1 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: -4s; }
.keai-ad-module .ad-item-2 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: -8s; }
.keai-ad-module .ad-item-3 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: -12s; }
.keai-ad-module .ad-item-4 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: -16s; }
.keai-ad-module .ad-item-5 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: -20s; }
.keai-ad-module .ad-item-6 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: -24s; }
.keai-ad-module .ad-item-7 .ad-image-wrapper { animation: keai_ad_img_effect 32s ease-in-out infinite; animation-delay: -28s; }

.keai-ad-module .ad-item-0 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: 0s; }
.keai-ad-module .ad-item-1 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: -4s; }
.keai-ad-module .ad-item-2 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: -8s; }
.keai-ad-module .ad-item-3 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: -12s; }
.keai-ad-module .ad-item-4 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: -16s; }
.keai-ad-module .ad-item-5 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: -20s; }
.keai-ad-module .ad-item-6 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: -24s; }
.keai-ad-module .ad-item-7 .ad-text { animation: keai_ad_text_effect 32s ease-in-out infinite; animation-delay: -28s; }

.keai-ad-module .ad-item-0 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: 0s; }
.keai-ad-module .ad-item-1 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: -4s; }
.keai-ad-module .ad-item-2 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: -8s; }
.keai-ad-module .ad-item-3 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: -12s; }
.keai-ad-module .ad-item-4 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: -16s; }
.keai-ad-module .ad-item-5 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: -20s; }
.keai-ad-module .ad-item-6 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: -24s; }
.keai-ad-module .ad-item-7 .ad-image-wrapper::after { animation: keai_ad_glow 32s ease-in-out infinite; animation-delay: -28s; }


/* ============================================================
   22 keai 门户聚合（幻灯片 / 6模块 / 分页基础）
   ============================================================ */
.keai-portal-wrap {
    margin: 20px auto 24px !important;
    max-width: 1180px;
    padding: 0 8px;
    box-sizing: border-box;
}
.keai-portal-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #eef0f3;
    margin-bottom: 18px;
    min-width: 0;
    box-sizing: border-box;
}
.keai-portal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef1f7;
    line-height: 1.4;
}
.keai-portal-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #8800EE, #FF6600);
    border-radius: 2px;
    flex-shrink: 0;
}

/* 幻灯片 */
.keai-slider-card {
    padding: 0 !important;
    overflow: hidden;
}
.keai-slider {
    position: relative;
    width: 100%;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef1f7 0%, #e6e9f2 100%);
}
.keai-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    animation-name: keaiSlideFade;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}
.keai-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.keai-slide-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 26px 16px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0) 100%);
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.keai-slide:hover .keai-slide-title {
    color: #FFE0B2;
}

/* TAG 胶囊 */
.keai-portal-card .keai-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.keai-portal-card .keai-tag-pills a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 14px;
    background: linear-gradient(135deg, #f5ebff, #ffe9d6);
    color: #8800EE;
    border: 1px solid #e9d8ff;
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
    transition: all .2s ease;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.keai-portal-card .keai-tag-pills a:hover {
    background: linear-gradient(135deg, #8800EE, #FF6600);
    color: #fff;
    border-color: #8800EE;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(136,0,238,0.25);
}
.keai-portal-card .keai-tag-pills .tag-count {
    font-size: 11px;
    background: rgba(255,255,255,0.65);
    color: #8800EE;
    padding: 0 6px;
    border-radius: 8px;
    line-height: 1.6;
}
.keai-portal-card .keai-tag-pills a:hover .tag-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* 6 模块列表（最终值：两行截断、垂直居中、去高度、去加粗） */
.keai-portal-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.keai-portal-list li {
    display: flex;
    align-items: center !important;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f2f7;
    min-width: 0;
    font-size: 14px;
    line-height: 1.5 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
}
.keai-portal-list li:last-child {
    border-bottom: none;
}
.keai-portal-list .rank {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #c7ccd8;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    margin-top: 0 !important;
    align-self: center !important;
    line-height: 1.5 !important;
}
.keai-portal-list li:nth-child(1) .rank { background: #FF4D4D; }
.keai-portal-list li:nth-child(2) .rank { background: #FF6600; }
.keai-portal-list li:nth-child(3) .rank { background: #FFB300; }
.keai-portal-list .title {
    flex: 1;
    min-width: 0;
    color: #333;
    text-decoration: none;
    transition: color .2s ease;
    font-weight: 400 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-all !important;
    line-height: 1.5 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
}
.keai-portal-list .title:hover {
    color: #8800EE;
}
.keai-portal-list .meta {
    flex-shrink: 0;
    font-size: 12px;
    color: #FF6600;
    white-space: nowrap;
    margin-top: 0 !important;
    align-self: center !important;
    line-height: 1.5 !important;
}

/* 两列布局 */
.keai-portal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 0;
}
.keai-portal-grid .keai-portal-card {
    margin-bottom: 0;
}

/* 友情链接 */
.keai-portal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.keai-portal-links a {
    display: inline-block;
    padding: 6px 14px;
    background: #faf7ff;
    color: #4a5568;
    border: 1px solid #ecdcff;
    border-radius: 16px;
    font-size: 13px;
    text-decoration: none;
    transition: all .2s ease;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.keai-portal-links a:hover {
    background: #8800EE;
    color: #fff;
    border-color: #8800EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136,0,238,0.25);
}

/* 分页基础（最终版见第 29 节） */
.pg {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0;
    padding: 0;
    line-height: 24px;
    font-size: 13px;
    vertical-align: middle;
}
.pg a, .pg strong, .pg label {
    display: inline-block;
    min-width: 28px;
    padding: 2px 8px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all .2s ease;
    font-size: 13px;
    line-height: 20px;
    box-sizing: border-box;
}
.pg a {
    color: #8800EE;
    border: 1px solid #ecdcff;
    background: #fff;
}
.pg a:hover {
    color: #fff;
    background: #8800EE;
    border-color: #8800EE;
}
.pg strong {
    color: #fff;
    background: linear-gradient(135deg, #8800EE, #FF6600);
    border: 1px solid #8800EE;
    font-weight: 700;
}
.pg label {
    color: #999;
    border: 1px solid transparent;
    background: transparent;
    padding: 2px 4px;
    min-width: auto;
}
.pg a.nxt, .pg a.prev {
    padding: 2px 12px;
}
.pgs {
    padding: 8px 0;
    overflow: hidden;
}
.pgs #fd_page_top,
.pgs #fd_page_bottom {
    display: inline-block;
    float: left;
    line-height: 28px;
}
.pgb, .pgb a {
    font-size: 13px;
    color: #8800EE;
    text-decoration: none;
}
.pgb a:hover {
    color: #FF6600;
}

/* 22 响应式 */
@media (max-width: 860px) {
    .keai-portal-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .keai-portal-grid .keai-portal-card {
        margin-bottom: 14px;
    }
    .keai-portal-card {
        padding: 14px 14px;
        border-radius: 10px;
    }
    .keai-portal-title {
        font-size: 15px;
    }
    .keai-slider {
        height: 240px;
    }
}
@media (max-width: 480px) {
    .keai-portal-wrap {
        margin: 12px auto 16px !important;
        padding: 0 4px;
    }
    .keai-portal-card {
        padding: 12px 10px;
    }
    .keai-portal-list li {
        padding: 8px 0;
        font-size: 13px;
        gap: 8px;
    }
    .keai-portal-list .meta {
        font-size: 11px;
    }
    .keai-portal-card .keai-tag-pills a {
        font-size: 12px;
        padding: 3px 10px;
    }
    .keai-portal-links a {
        font-size: 12px;
        padding: 5px 10px;
    }
    .pg a, .pg strong {
        min-width: 24px;
        padding: 2px 6px;
        font-size: 12px;
    }
    .keai-slider {
        height: 190px;
    }
    .keai-slide-title {
        font-size: 13px;
        padding: 20px 10px 8px;
    }
}


/* ============================================================
   23 子版块帖子列表 #threadlist
   说明：原文件此处有 5 段渐进覆盖（基础→两行→去高度→居中→统一行高→电脑端放大），
   已将 .s.xst / th / td.icn / td.o / 日期 / 回复 合并为最终值，
   删除 3 份完全相同的 .s.xst 重复块。最终效果与原文件一致。
   ============================================================ */

/* 23.1 外层卡片 */
#threadlist {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f3;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 16px;
}

/* 23.2 筛选条 */
#threadlist .th {
    background: linear-gradient(135deg, #faf7ff 0%, #fff4ea 100%);
    border-bottom: 1px solid #f0e6ff;
}
#threadlist .th table {
    width: 100%;
    border-collapse: collapse;
}
#threadlist .th th {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    color: #666;
}
#threadlist .th .tf a {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 4px 0 0;
    border-radius: 14px;
    border: 1px solid #8800EE;
    background: #f8f5ff;
    box-shadow: inset 0 1px 2px rgba(136, 0, 238, 0.15);
    font-size: 13px;
    color: #8800EE;
    text-decoration: none;
    transition: all .2s ease;
    vertical-align: middle;
    white-space: nowrap;
}
#threadlist .th .tf a:hover {
    background: #8800EE;
    color: #fff;
    box-shadow: inset 0 0 0 rgba(0,0,0,0);
}
#threadlist .th .tf a.xw1 {
    background: linear-gradient(135deg, #8800EE, #FF6600);
    color: #fff;
    font-weight: 700;
    border-color: #8800EE;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}
#threadlist .th .tf .forumrefresh {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

/* 23.3 列表容器 */
#threadlist .bm_c {
    padding: 0;
    background: #fff;
}
#threadlisttableid {
    display: block;
    width: 100%;
    border-collapse: collapse;
}
#threadlisttableid tbody {
    display: block;
    border-bottom: 1px dashed #f0e6ff;
    background: #fff;
    transition: background .2s ease;
}
#threadlisttableid tbody:last-child {
    border-bottom: none;
}
#threadlisttableid tbody:hover {
    background: #fdf9ff;
}
#threadlisttableid tr {
    display: flex !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
}
#threadlisttableid tbody td,
#threadlisttableid tbody th {
    border: none !important;
}

/* 23.4 图标列 */
#threadlisttableid td.icn {
    flex: 0 0 44px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    padding: 0 0 0 16px !important;
    text-align: center;
    box-sizing: border-box;
}
#threadlisttableid td.icn a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}
#threadlisttableid td.icn img {
    display: block !important;
    max-width: 20px;
    height: auto;
    margin: 0 !important;
    vertical-align: middle !important;
}

/* 23.5 checkbox 列 */
#threadlisttableid td.o {
    flex: 0 0 28px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: auto !important;
    padding: 0 !important;
    text-align: center;
    box-sizing: border-box;
}
#threadlisttableid td.o input {
    margin: 0 !important;
    vertical-align: middle !important;
}

/* 23.6 标题列（最终值） */
#threadlisttableid th {
    flex: 1 1 auto;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    gap: 14px;
    flex-wrap: nowrap;
    padding: 10px 16px 10px 4px !important;
    text-align: left;
    font-weight: normal;
    box-sizing: border-box;
    position: relative !important;
    height: auto !important;
    line-height: 1.5 !important;
}

/* 标题链接（最终值：16px 桌面 / 14px 移动，两行截断） */
#threadlisttableid th .s.xst {
    flex: 1 1 auto;
    min-width: 0;
    color: #333;
    text-decoration: none;
    transition: color .2s ease;
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    height: auto !important;
    max-height: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-all !important;
}
#threadlisttableid th .s.xst:hover {
    color: #8800EE;
}

/* 分类标签 [xxx] */
#threadlisttableid th > em {
    flex: 0 0 auto;
    font-style: normal;
    font-size: 12px;
    color: #8800EE;
    white-space: nowrap;
    align-self: center !important;
    margin-top: 0 !important;
    line-height: 1.5 !important;
}
#threadlisttableid th > em a {
    color: #8800EE;
    text-decoration: none;
    padding: 1px 8px;
    border-radius: 10px;
    background: #f5ebff;
    border: 1px solid #e9d8ff;
    font-size: 11px;
}

/* 日期、浏览（最终值：92px / 13px，移动端隐藏） */
#threadlisttableid th > a.s.xst ~ em {
    flex: 0 0 92px !important;
    width: 92px !important;
    text-align: right;
    font-style: normal;
    font-size: 13px !important;
    color: #999;
    white-space: nowrap;
    margin: 0 !important;
    align-self: center !important;
    line-height: 1.5 !important;
}
#threadlisttableid th > a.s.xst ~ em span {
    color: #999;
}

/* 回复数（最终值：64px / 13px，移动端 11px） */
#threadlisttableid th > a.s.xst ~ a.xi2 {
    flex: 0 0 64px !important;
    width: 64px !important;
    text-align: right;
    font-size: 13px !important;
    color: #FF6600;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    align-self: center !important;
    margin-top: 0 !important;
    line-height: 1.5 !important;
}
#threadlisttableid th > a.s.xst ~ a.xi2:hover {
    color: #8800EE;
}

/* 多页分页标记 */
#threadlisttableid th .tps {
    flex: 0 0 auto;
    font-size: 11px;
    color: #999;
    align-self: center !important;
    margin-top: 0 !important;
    line-height: 1.5 !important;
}
#threadlisttableid th .tps a {
    color: #8800EE;
    text-decoration: none;
    padding: 0 2px;
}

/* 置顶 / 锁定 */
#threadlisttableid tbody[id^="stickthread_"] {
    background: #faf3ff;
}
#threadlisttableid tbody[id^="stickthread_"] th .s.xst {
    color: #8800EE;
    font-weight: 600;
}
#threadlisttableid tbody .lock .s.xst {
    color: #999;
}

/* 分隔行 */
#threadlisttableid #separatorline {
    border: none;
    height: 8px;
    background: transparent;
}
#threadlisttableid #separatorline tr {
    display: block;
    height: 8px;
}
#threadlisttableid #separatorline td,
#threadlisttableid #separatorline th {
    display: none;
}

/* 空状态 */
#threadlisttableid .emp {
    padding: 40px 16px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* 版主操作按钮（桌面端 hover 显示；移动端见 23.8） */
#threadlisttableid th .tdpre,
#threadlisttableid th .showcontent,
#threadlisttableid th .closeprev {
    flex: 0 0 auto;
    font-size: 11px;
    color: #bbb;
    margin-left: 4px;
    opacity: 0;
    transition: opacity .2s ease;
    white-space: nowrap;
}
#threadlisttableid tbody:hover th .tdpre,
#threadlisttableid tbody:hover th .showcontent,
#threadlisttableid tbody:hover th .closeprev {
    opacity: 1;
}

/* 23.7 移动端 */
@media (max-width: 768px) {
    #threadlist {
        border-radius: 10px;
    }
    #threadlist .th th {
        padding: 10px 12px;
    }
    #threadlist .th .tf a {
        padding: 3px 10px;
        font-size: 12px;
        margin-right: 2px;
    }
    #threadlisttableid td.icn {
        flex: 0 0 36px;
        padding: 0 0 0 10px !important;
    }
    #threadlisttableid td.o {
        flex: 0 0 24px;
        padding: 0 !important;
    }
    #threadlisttableid th {
        padding: 10px 12px 10px 2px !important;
        gap: 8px !important;
    }
    #threadlisttableid th .s.xst {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    #threadlisttableid th > a.s.xst ~ em {
        display: none;
    }
    #threadlisttableid th > a.s.xst ~ a.xi2 {
        flex: 0 0 auto !important;
        width: auto !important;
        font-size: 11px !important;
    }
    #threadlisttableid th .tdpre,
    #threadlisttableid th .showcontent,
    #threadlisttableid th .closeprev {
        display: none !important;
    }
}
@media (max-width: 480px) {
    #threadlist .th .tf a {
        padding: 2px 8px;
        font-size: 11px;
    }
}

/* 23.8 帖子列表上下两块聚合：与 #threadlist 左右对齐 */
.mn .keai-portal-wrap {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
}
.mn .keai-portal-wrap .keai-portal-grid {
    margin-bottom: 0;
}


/* ============================================================
   24 子版块头部 .bm.bml.pbn
   ============================================================ */
.boardnav .mn > .bm.bml.pbn {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eef0f3;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    overflow: hidden;
}
.boardnav .mn > .bm.bml.pbn .bm_h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #faf7ff 0%, #fff4ea 100%);
    border-bottom: 1px solid #f0e6ff;
}
.boardnav .mn > .bm.bml.pbn .bm_h > .y {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    float: none;
    order: 2;
    margin-left: auto;
}
.boardnav .mn > .bm.bml.pbn .bm_h > .y > a,
.boardnav .mn > .bm.bml.pbn .bm_h > .y > strong > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ecdcff;
    color: #8800EE;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
    transition: all .2s ease;
    white-space: nowrap;
}
.boardnav .mn > .bm.bml.pbn .bm_h > .y > a:hover,
.boardnav .mn > .bm.bml.pbn .bm_h > .y > strong > a:hover {
    background: #8800EE;
    border-color: #8800EE;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(136,0,238,0.25);
}
.boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_fav strong {
    font-weight: 600;
    font-size: 11px;
    color: #FF6600;
}
.boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_fav:hover strong {
    color: #FFE0B2;
}
.boardnav .mn > .bm.bml.pbn .bm_h > .y > .pipe {
    display: none;
}
.boardnav .mn > .bm.bml.pbn .bm_h > .y > strong {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    order: 1;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > a {
    color: #222;
    text-decoration: none;
    transition: color .2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > a:hover {
    color: #8800EE;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #8800EE, #FF6600);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: -2px;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #888;
    line-height: 1.6;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > strong.xi1 {
    color: #FF6600;
    font-weight: 700;
    font-size: 12px;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > .pipe {
    color: #e0d8ee;
    margin: 0 2px;
}
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > b.ico_increase,
.boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > b.ico_fall {
    display: inline-block;
    vertical-align: middle;
}
.boardnav .mn > .bm.bml.pbn .bm_c {
    padding: 10px 18px;
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}
.boardnav .mn > .bm.bml.pbn .bm_c a {
    color: #8800EE;
    text-decoration: none;
}
.boardnav .mn > .bm.bml.pbn .bm_c a:hover {
    color: #FF6600;
}

/* 24.1 移动端 */
@media (max-width: 768px) {
    .boardnav .mn > .bm.bml.pbn .bm_h {
        padding: 10px 12px;
        gap: 8px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 {
        font-size: 16px;
        gap: 6px;
        flex: 1 1 100%;
        order: 1;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y {
        flex: 1 1 100%;
        order: 2;
        margin-left: 0;
        gap: 4px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a,
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > strong > a {
        padding: 2px 10px;
        font-size: 11px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i {
        font-size: 11px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > strong.xi1 {
        font-size: 11px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_c {
        padding: 8px 12px;
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a,
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > strong > a {
        padding: 2px 8px;
        font-size: 11px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > a::before {
        height: 14px;
        margin-right: 6px;
    }
}

/* 24.2 手机端按钮文字简化：收藏本版→收藏，回收站→回收，管理面板→管理 */
@media (max-width: 768px) {
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_fav {
        font-size: 0 !important;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_fav::before {
        content: "收藏";
        font-size: 11px;
        line-height: 1.6;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_fav > strong {
        font-size: 11px !important;
        line-height: 1.6;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_bin {
        font-size: 0 !important;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_bin::before {
        content: "回收";
        font-size: 11px;
        line-height: 1.6;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > strong > a {
        font-size: 0 !important;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > strong > a::before {
        content: "管理";
        font-size: 11px;
        line-height: 1.6;
    }
}
@media (max-width: 480px) {
    .boardnav .mn > .bm.bml.pbn .bm_h > .y {
        gap: 2px !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        max-width: 100%;
        scrollbar-width: none;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y::-webkit-scrollbar {
        display: none;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a,
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > strong {
        flex: 0 0 auto !important;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a,
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > strong > a {
        padding: 2px 6px !important;
        font-size: 10px !important;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > .y > a.fa_fav > strong {
        font-size: 10px !important;
    }
}

/* 24.3 手机端统计一行显示，去掉冒号 */
@media (max-width: 480px) {
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i {
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 2px !important;
        font-size: 0 !important;
        line-height: 1.4;
        white-space: nowrap;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > strong.xi1 {
        font-size: 10px !important;
        font-weight: 600;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > .pipe {
        font-size: 10px !important;
        margin: 0 1px !important;
        color: #e0d8ee;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > strong.xi1:nth-of-type(1)::before {
        content: "今日";
        font-size: 10px;
        font-weight: 400;
        color: #888;
        margin-right: 1px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > strong.xi1:nth-of-type(2)::before {
        content: "主题";
        font-size: 10px;
        font-weight: 400;
        color: #888;
        margin-right: 1px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > strong.xi1:nth-of-type(3)::before {
        content: "排名";
        font-size: 10px;
        font-weight: 400;
        color: #888;
        margin-right: 1px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > .xs1.xw0.i > b {
        font-size: 10px;
    }
    .boardnav .mn > .bm.bml.pbn .bm_h > h1.xs2 > a {
        max-width: 55% !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}


/* ============================================================
   25 分区页主版块列表
   25.1 单列模式（forumcolumns=0）
   25.2 多列模式（:has(td.fl_g)）转响应式网格
   ============================================================ */

/* 25.1 单列模式 */
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #faf7ff 0%, #fff4ea 100%);
    border: 1px solid #eef0f3;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    margin: 0;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h .o {
    flex: 0 0 auto;
    float: none;
    margin: 0;
    padding: 0;
    width: auto;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h .o img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity .2s ease;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h .o img:hover {
    opacity: 1;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    border: none;
    background: none;
    color: #222;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h h2 a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #222;
    text-decoration: none;
    transition: color .2s ease;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h h2 a:hover {
    color: #8800EE;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h h2 a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #8800EE, #FF6600);
    border-radius: 2px;
    flex-shrink: 0;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_h + .bm_c {
    background: #fff;
    border: 1px solid #eef0f3;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 0;
    margin-bottom: 18px;
    overflow: hidden;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb tr {
    border-bottom: 1px dashed #f0e6ff;
    transition: background .2s ease;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb tr:last-child {
    border-bottom: none;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb tr:hover {
    background: #fdf9ff;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td {
    padding: 12px 10px;
    vertical-align: middle;
    border: none;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_icn {
    width: 48px;
    padding-left: 18px;
    padding-right: 0;
    text-align: center;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_icn img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    border-radius: 6px;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td h2 {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    border: none;
    background: none;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td h2 a {
    color: #2b3a55;
    text-decoration: none;
    transition: color .2s ease;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td h2 a:hover {
    color: #8800EE;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td p.xg2 {
    margin: 2px 0 0;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_i {
    width: 84px;
    text-align: right;
    white-space: nowrap;
    font-size: 12px;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_i .xi2 {
    color: #FF6600;
    font-weight: 700;
    font-size: 13px;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_i .xg1 {
    color: #bbb;
    font-weight: 400;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by {
    width: 38%;
    text-align: right;
    font-size: 12px;
    color: #999;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by a.xi2 {
    display: inline-block;
    max-width: 100%;
    color: #4a5568;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    transition: color .2s ease;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by a.xi2:hover {
    color: #8800EE;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by cite {
    font-style: normal;
    color: #bbb;
    font-size: 11px;
    margin-left: 6px;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by cite a {
    color: #999;
    text-decoration: none;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by cite a:hover {
    color: #8800EE;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_g {
    padding: 12px;
    vertical-align: top;
    border-bottom: 1px dashed #f0e6ff;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_g dl {
    margin: 6px 0 0;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_g dt a {
    color: #2b3a55;
    font-weight: 600;
    text-decoration: none;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_g dt a:hover {
    color: #8800EE;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_g dd {
    margin: 2px 0 0;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb tr.fl_row:empty {
    display: none;
}

/* 25.2 多列模式：表格转网格 */
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) {
    display: block;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) > tbody {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 14px;
    box-sizing: border-box;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) > tbody > tr {
    display: contents;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) > tbody > tr > td.fl_g {
    display: block;
    width: auto !important;
    padding: 14px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
    transition: all .2s ease;
    vertical-align: top;
    box-sizing: border-box;
    min-width: 0;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) > tbody > tr > td.fl_g:hover {
    background: #fdf9ff;
    border-color: #e9d8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(136,0,238,0.10);
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g .fl_icn_g {
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    width: auto;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g .fl_icn_g img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    vertical-align: middle;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dl {
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 44px);
    margin: 0;
    box-sizing: border-box;
    min-width: 0;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dt {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dt a {
    color: #2b3a55;
    text-decoration: none;
    transition: color .2s ease;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dt a:hover {
    color: #8800EE;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dt em {
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    color: #FF6600;
    margin-left: 4px;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dd {
    margin: 2px 0 0;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dd em {
    font-style: normal;
    color: #FF6600;
    font-weight: 600;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dd a.xi2 {
    display: block;
    margin-top: 4px;
    color: #4a5568;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    font-size: 12px;
    transition: color .2s ease;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dd a.xi2:hover {
    color: #8800EE;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dd cite {
    display: block;
    margin-top: 2px;
    font-style: normal;
    color: #bbb;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dd cite a {
    color: #999;
    text-decoration: none;
}
#ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dd cite a:hover {
    color: #8800EE;
}

/* 25.3 移动端 */
@media (max-width: 768px) {
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_h {
        padding: 10px 12px;
        gap: 6px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_h h2 {
        font-size: 15px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td {
        padding: 10px 6px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_icn {
        width: 36px;
        padding-left: 10px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_icn img {
        width: 20px;
        height: 20px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td h2 {
        font-size: 13px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_i {
        width: auto;
        font-size: 11px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_i .xi2 {
        font-size: 12px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb td.fl_by {
        display: none;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) > tbody {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) > tbody > tr > td.fl_g {
        padding: 12px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g .fl_icn_g img {
        width: 24px;
        height: 24px;
    }
    #ct .mn .fl.bm > .bm.bmw.cl > .bm_c > table.fl_tb:has(td.fl_g) td.fl_g dl {
        width: calc(100% - 38px);
    }
}


/* ============================================================
   26 keailianjie.php 兜底输出
   ============================================================ */
.keai-portal-links li {
    display: inline-block;
    list-style: none;
    margin: 0;
    padding: 0;
}
.keai-portal-links br {
    display: none;
}
.keai-portal-links img {
    max-height: 32px;
    vertical-align: middle;
}
.keai-portal-links > a,
.keai-portal-links li > a,
.keai-portal-links div > a {
    display: inline-block;
    padding: 6px 14px;
    background: #faf7ff;
    color: #4a5568;
    border: 1px solid #ecdcff;
    border-radius: 16px;
    font-size: 13px;
    text-decoration: none;
    transition: all .2s ease;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.keai-portal-links > a:hover,
.keai-portal-links li > a:hover,
.keai-portal-links div > a:hover {
    background: #8800EE;
    color: #fff;
    border-color: #8800EE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136,0,238,0.25);
}


/* ============================================================
   27 帖子列表“更多”弹出菜单
   ============================================================ */
#filter_dateline_menu,
#filter_special_menu,
#filter_reward_menu,
#filter_orderby_menu {
    padding: 10px 12px !important;
    background: #fff !important;
    border: 1px solid #ecdcff !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 24px rgba(136,0,238,0.15) !important;
    min-width: 260px !important;
    max-width: 90vw !important;
    box-sizing: border-box;
    font-size: 13px;
    color: #444;
}
#filter_dateline_menu ul,
#filter_special_menu ul,
#filter_reward_menu ul,
#filter_orderby_menu ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
#filter_dateline_menu li,
#filter_special_menu li,
#filter_reward_menu li,
#filter_orderby_menu li {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px !important;
    padding: 0 !important;
    line-height: 1.6;
    border: none !important;
    color: #666;
    font-size: 13px;
}
#filter_dateline_menu li:last-child,
#filter_special_menu li:last-child,
#filter_reward_menu li:last-child,
#filter_orderby_menu li:last-child {
    margin-bottom: 0 !important;
}
#filter_dateline_menu li > :first-child,
#filter_orderby_menu li > :first-child {
    color: #8800EE;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 2px;
}
#filter_dateline_menu li > a,
#filter_special_menu li > a,
#filter_reward_menu li > a,
#filter_orderby_menu li > a {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid #ecdcff;
    background: #faf7ff;
    color: #8800EE;
    font-size: 12px;
    line-height: 1.7;
    text-decoration: none !important;
    transition: all .2s ease;
    white-space: nowrap;
}
#filter_dateline_menu li > a:hover,
#filter_special_menu li > a:hover,
#filter_reward_menu li > a:hover,
#filter_orderby_menu li > a:hover {
    background: #8800EE;
    border-color: #8800EE;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(136,0,238,0.25);
}
#filter_dateline_menu li > a.xw1,
#filter_special_menu li > a.xw1,
#filter_reward_menu li > a.xw1,
#filter_orderby_menu li > a.xw1 {
    background: linear-gradient(135deg, #8800EE, #FF6600);
    border-color: #8800EE;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(136,0,238,0.3);
}
#filter_dateline_menu li > .pipe,
#filter_special_menu li > .pipe,
#filter_reward_menu li > .pipe,
#filter_orderby_menu li > .pipe {
    display: none !important;
}
@media (max-width: 768px) {
    #filter_dateline_menu,
    #filter_special_menu,
    #filter_reward_menu,
    #filter_orderby_menu {
        min-width: 220px !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
    }
    #filter_dateline_menu li > a,
    #filter_special_menu li > a,
    #filter_reward_menu li > a,
    #filter_orderby_menu li > a {
        padding: 1px 8px;
        font-size: 11px;
        border-radius: 10px;
    }
}


/* ============================================================
   28 “查看更新”按钮
   ============================================================ */
#threadlist .th .tf a.forumrefresh {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 3px 10px !important;
    border: 1px solid #8800EE !important;
    background: #f8f5ff !important;
    box-shadow: inset 0 1px 2px rgba(136, 0, 238, 0.15) !important;
    border-radius: 14px !important;
    color: #8800EE !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    min-width: 26px;
    height: auto;
    text-decoration: none !important;
    vertical-align: middle;
    margin-left: 4px;
    background-image: none !important;
}
#threadlist .th .tf a.forumrefresh::before {
    content: "\21BB";
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}
#threadlist .th .tf a.forumrefresh:hover {
    background: #8800EE !important;
    border-color: #8800EE !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 rgba(0,0,0,0) !important;
}


/* ============================================================
   29 分页 .pg 完整美化（最终版）
   说明：原文件有“基础 → 完整美化 → 上一页/下一页最终版”三轮渐进覆盖，
   已合并为最终值。prev/nxt 用 \9875（页），不是 \4E61（乡）。
   ============================================================ */

/* 29.1 所有分页元素：清雪碧图、统一尺寸 */
.pg a.first,
.pg a.prev,
.pg a.last,
.pg a.nxt,
.pg strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    margin: 0 2px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    background-image: none !important;
    text-indent: 0 !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
    font-family: "Microsoft YaHei", Arial, sans-serif !important;
}

/* 29.2 数字按钮 */
.pg a:not(.first):not(.prev):not(.last):not(.nxt) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 28px !important;
    min-height: 28px !important;
    padding: 0 8px !important;
    margin: 0 2px !important;
    border: 1px solid #ecdcff !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #8800EE !important;
    font-size: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

/* 29.3 first / last */
.pg a.first,
.pg a.last {
    border: 1px solid #ecdcff !important;
    background: #fff !important;
    color: #8800EE !important;
    white-space: nowrap !important;
}

/* 29.4 prev / nxt：font-size:0 隐藏原文字，::before 显示“上一页/下一页” */
.pg a.prev,
.pg a.nxt {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 60px !important;
    height: 28px !important;
    padding: 0 10px !important;
    margin: 0 2px !important;
    border: 1px solid #ecdcff !important;
    border-radius: 6px !important;
    background: #fff !important;
    background-image: none !important;
    color: #8800EE !important;
    font-size: 0 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
    float: none !important;
}
.pg a.prev::before,
.pg a.nxt::before {
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    color: inherit !important;
    display: inline-block !important;
    font-family: "Microsoft YaHei", Arial, sans-serif !important;
}
.pg a.prev::before { content: "\4E0A\4E00\9875"; }
.pg a.nxt::before  { content: "\4E0B\4E00\9875"; }

/* 29.5 当前页 strong */
.pg strong {
    background: linear-gradient(135deg, #8800EE, #FF6600) !important;
    color: #fff !important;
    border: 1px solid #8800EE !important;
    font-weight: 700 !important;
    padding: 0 10px !important;
}

/* 29.6 悬停 */
.pg a.first:hover,
.pg a.prev:hover,
.pg a.last:hover,
.pg a.nxt:hover,
.pg a:not(.first):not(.prev):not(.last):not(.nxt):hover {
    background: #8800EE !important;
    color: #fff !important;
    border-color: #8800EE !important;
    text-decoration: none !important;
}

/* 29.7 label */
.pg label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: 6px !important;
    font-size: 12px !important;
    color: #999 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}
.pg label input.px {
    width: 38px !important;
    height: 28px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    border: 1px solid #ecdcff !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #8800EE !important;
    font-size: 12px !important;
    line-height: 1 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
}
.pg label input.px:focus {
    outline: none !important;
    border-color: #8800EE !important;
    box-shadow: 0 0 0 2px rgba(136,0,238,0.15) !important;
}
.pg label span {
    color: #999 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

/* 29.8 移动端 */
@media (max-width: 768px) {
    .pg a.first,
    .pg a.prev,
    .pg a.last,
    .pg a.nxt,
    .pg strong,
    .pg a:not(.first):not(.prev):not(.last):not(.nxt) {
        min-width: 24px !important;
        min-height: 24px !important;
        padding: 0 6px !important;
        font-size: 12px !important;
        margin: 0 1px !important;
    }
    .pg a.prev,
    .pg a.nxt {
        min-width: 48px !important;
        height: 24px !important;
        padding: 0 6px !important;
    }
    .pg a.prev::before,
    .pg a.nxt::before {
        font-size: 12px !important;
    }
    .pg label {
        margin-left: 3px !important;
        font-size: 11px !important;
    }
    .pg label input.px {
        width: 32px !important;
        height: 24px !important;
        font-size: 11px !important;
    }
    .pg label span {
        font-size: 11px !important;
    }
}


/* ============================================================
   30 推荐主题 .bm.bmw:not(.fl)
   ============================================================ */
.mn > .bm.bmw:not(.fl) {
    background: #fff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    float: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.mn > .bm.bmw:not(.fl) > .bm_h {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    background: linear-gradient(135deg, #faf7ff 0%, #fff4ea 100%) !important;
    border-bottom: 1px solid #f0e6ff !important;
    margin: 0 !important;
}
.mn > .bm.bmw:not(.fl) > .bm_h h2 {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    border: none !important;
    background: none !important;
}
.mn > .bm.bmw:not(.fl) > .bm_h h2::before {
    content: '' !important;
    display: inline-block !important;
    width: 4px !important;
    height: 16px !important;
    background: linear-gradient(180deg, #8800EE, #FF6600) !important;
    border-radius: 2px !important;
    flex-shrink: 0 !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c {
    padding: 14px 18px 16px !important;
    background: #fff !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    overflow: visible !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 6px 10px 6px 20px !important;
    position: relative !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    border-radius: 6px !important;
    transition: background .2s ease !important;
    min-width: 0 !important;
    overflow: hidden !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li::before {
    content: '' !important;
    position: absolute !important;
    left: 8px !important;
    top: 13px !important;
    width: 5px !important;
    height: 5px !important;
    background: #8800EE !important;
    border-radius: 50% !important;
    opacity: 0.6 !important;
    transition: opacity .2s ease !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li:hover {
    background: #fdf9ff !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li:hover::before {
    opacity: 1 !important;
    background: #FF6600 !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li > a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    word-break: break-all !important;
    text-decoration: none !important;
    line-height: 1.55 !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li > a:hover {
    text-decoration: underline !important;
}
.mn > .bm.bmw:not(.fl) > .bm_c > .cl > div[style*="float:left"] {
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}
@media (max-width: 768px) {
    .mn > .bm.bmw:not(.fl) > .bm_h {
        padding: 10px 12px !important;
        gap: 6px !important;
    }
    .mn > .bm.bmw:not(.fl) > .bm_h h2 {
        font-size: 15px !important;
    }
    .mn > .bm.bmw:not(.fl) > .bm_c {
        padding: 10px 12px 12px !important;
    }
    .mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 {
        grid-template-columns: 1fr !important;
        gap: 2px !important;
    }
    .mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li {
        padding: 6px 8px 6px 18px !important;
        font-size: 13px !important;
    }
    .mn > .bm.bmw:not(.fl) > .bm_c > .cl > ul.xl.xl2 > li::before {
        left: 6px !important;
        top: 12px !important;
    }
}


/* ============================================================
   31 置顶帖按钮 absolute（最终覆盖，放在最后）
   ============================================================ */
#threadlisttableid th {
    position: relative !important;
}
#threadlisttableid th > .showcontent,
#threadlisttableid th > .closeprev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    float: none !important;
    margin: 0 !important;
    z-index: 3 !important;
    opacity: 0 !important;
    transition: opacity .2s ease !important;
    flex: none !important;
    width: auto !important;
    height: auto !important;
    white-space: nowrap !important;
}
#threadlisttableid tbody:hover th > .showcontent,
#threadlisttableid tbody:hover th > .closeprev {
    opacity: 1 !important;
}
#threadlisttableid th > .closeprev {
    right: 308px !important;
    font-size: 11px !important;
    color: #bbb !important;
    padding: 1px 6px !important;
    border: 1px solid #eee !important;
    border-radius: 10px !important;
    background: #fafafa !important;
    line-height: 1.4 !important;
}
#threadlisttableid th > .closeprev:hover {
    color: #8800EE !important;
    border-color: #ecdcff !important;
    background: #f8f5ff !important;
}
#threadlisttableid th > .showcontent {
    right: 384px !important;
}
@media (max-width: 768px) {
    #threadlisttableid th > .showcontent,
    #threadlisttableid th > .closeprev {
        display: none !important;
    }
}


/* ============================================================
   32 电脑端页面同宽 1180px
   ============================================================ */
@media (min-width: 861px) {
    #wp:has(.keai-portal-wrap),
    #wp:has(.boardnav) {
        width: 1180px !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    #wp:has(.keai-portal-wrap) .wp,
    #wp:has(.boardnav) .wp,
    #wp:has(.keai-portal-wrap) #ct.wp,
    #wp:has(.boardnav) #ct.wp {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    #wp:has(.keai-portal-wrap) .keai-portal-wrap,
    #wp:has(.boardnav) .keai-portal-wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }
}


/* ============================================================
   33 分区页顶部统计条 #chart（forum.php）
   实际结构：
   <div id="chart" class="bm bw0 cl">
     <p class="chart z">今日: <em>0</em><span class="pipe">|</span>...
        欢迎新会员: <em><a class="xi2">keai</a></em></p>
     <div class="y"><a class="xi2">最新回复</a></div>
   </div>
   兼容：登录后 .y 有 2 个链接，退出后只有 1 个
   ============================================================ */

/* 33.1 外层卡片：左右分列 */
#chart.bm.bw0 {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px 14px !important;
    margin: 0 0 14px !important;
    padding: 10px 16px !important;
    background: #fff !important;
    border: 1px solid #eef0f3 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
    line-height: 1.7 !important;
    font-size: 13px !important;
    color: #666 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 33.2 左侧统计 .chart.z：取消 float，改 flex；左侧留出小图标位置 */
#chart .chart.z {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0 2px !important;
    margin: 0 !important;
    padding: 0 0 0 24px !important;          /* 给最前面小图标留空间，文字右移 */
    font-size: 13px !important;
    color: #888 !important;
    min-width: 0 !important;
    line-height: 1.7 !important;
    background-position: 0 50% !important;  /* 若图标是背景图，贴左垂直居中 */
    background-repeat: no-repeat !important;
    box-sizing: border-box !important;
}

/* 数字强调：橙色 */
#chart .chart.z em {
    font-style: normal !important;
    font-weight: 700 !important;
    color: #FF6600 !important;
    padding: 0 2px !important;
}

/* 欢迎新会员的用户名：紫色链接 */
#chart .chart.z em a,
#chart .chart.z em a.xi2 {
    color: #8800EE !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color .2s ease !important;
}
#chart .chart.z em a:hover {
    color: #FF6600 !important;
}

/* 33.3 分隔竖线：淡化 */
#chart .pipe {
    color: #e0d8ee !important;
    margin: 0 4px !important;
    font-size: 11px !important;
}

/* 33.4 右侧 .y：取消 float，靠右，flex + gap 兼容 1 个或多个链接 */
#chart > .y {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-left: auto !important;
}
#chart > .y > a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 12px !important;
    border-radius: 12px !important;
    border: 1px solid #ecdcff !important;
    background: #faf7ff !important;
    color: #8800EE !important;
    font-size: 12px !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all .2s ease !important;
}
#chart > .y > a:hover {
    background: #8800EE !important;
    border-color: #8800EE !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 8px rgba(136,0,238,0.22) !important;
}
#chart > .y > .pipe {
    display: none !important;
}

/* 33.5 移动端：去冒号 + 胶囊不强制换行 */
@media (max-width: 768px) {
    #chart.bm.bw0 {
        padding: 8px 10px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        gap: 6px 8px !important;
        margin-bottom: 10px !important;
    }

    /* 隐藏文本节点（“今日:”“昨日:”……含冒号），用 em::before 重写标签 */
    #chart .chart.z {
        padding-left: 20px !important;
        font-size: 0 !important;
        gap: 0 4px !important;
    }
    #chart .chart.z em {
        font-size: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 2px !important;
        padding: 0 1px !important;
    }
    #chart .chart.z em::before {
        font-size: 11px !important;
        color: #888 !important;
        font-weight: 400 !important;
    }
    #chart .chart.z em:nth-of-type(1)::before { content: "今日"; }
    #chart .chart.z em:nth-of-type(2)::before { content: "昨日"; }
    #chart .chart.z em:nth-of-type(3)::before { content: "帖子"; }
    #chart .chart.z em:nth-of-type(4)::before { content: "会员"; }
    #chart .chart.z em:nth-of-type(5)::before { content: "新会员"; }

    /* 竖线一并隐藏，靠 gap 分隔 */
    #chart .pipe {
        font-size: 0 !important;
        margin: 0 2px !important;
    }

    /* 关键：不强制 width:100%，让胶囊能跟统计文字挤在同一行 */
    #chart > .y {
        margin-left: auto !important;
        width: auto !important;
        gap: 4px !important;
    }
    #chart > .y > a {
        padding: 1px 8px !important;
        font-size: 11px !important;
        border-radius: 10px !important;
    }
}

/* 33.6 480 以下：进一步压缩 */
@media (max-width: 480px) {
    #chart.bm.bw0 {
        padding: 6px 8px !important;
    }
    #chart .chart.z {
        padding-left: 18px !important;
        line-height: 1.8 !important;
    }
    #chart .chart.z em::before {
        font-size: 10px !important;
    }
}