body {
    margin:0;
    font-size:16px;
    font-family:Verdana;
    line-height:146%;
    color:#333;
    background-image:url(/tupian/keaifengexian.gif);
    background-repeat:no-repeat;
    background-position:center;
    padding-top:50px;
    padding-bottom:90px;
}
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; }

/* ===== 左侧边栏 ===== */
.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);
}

/* ===== 顶部导航 ===== */
.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; }

/* ============================================================
   底部菜单1（来自 keaifoot.css，18px 版）
   ============================================================ */
.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;
}
.bottom-menu-item01,
.bottom-menu-item02,
.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;
    background:#fff;
    box-sizing:border-box;
    white-space:nowrap !important;
    transition:color 0.3s, transform 0.2s;
    position:relative;
}
.bottom-menu-item01:hover,
.bottom-menu-item02:hover,
.bottom-menu-item03:hover,
.bottom-menu-item04:hover,
.bottom-menu-item05:hover {
    color:#FF6600;
    transform:translateY(-2px);
    cursor:pointer;
}
/* 文字样式（适配 <i> 标签内直接写文字） */
.bottom-menu-item01 i,
.bottom-menu-item02 i,
.bottom-menu-item03 i,
.bottom-menu-item04 i,
.bottom-menu-item05 i {
    font-style:normal !important;
    font-size:18px !important;
    line-height:1.6;
    display:flex;
    flex-direction:column;
    align-items:center;
}
/* 分隔竖线（前4个元素右侧） */
.bottom-menu-item01::after,
.bottom-menu-item02::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; }

/* ===== 底部菜单2 ===== */
/* 说明：内部结构为 <div class="bottom-menu-2"><div id="container">
         8 个 .keai_cn_keaitop_eight section</div></div>
   若用 flex 布局，flex 会把 #container 按内容宽度居中，导致整块只占
   300 多 px 无法铺满。这里改为 block，让 #container 撑满 100%。 */
.bottom-menu-2 {
    position:fixed;
    bottom:50px;              /* 原 30px → 50px，避免被下方 .bottom-menu 盖住 */
    left:0;
    width:100%;
    z-index:9999;
    display:block;            /* 关键：原 flex → block，让内部 #container 自然撑满 */
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}
/* 让 #container 撑满 .bottom-menu-2 的宽度（关键） */
.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 空壳遮挡修复
   背景：.bottom-menu-2 内部结构为
       <div class="bottom-menu-2"><div id="container">
           <div class="keai_cn_keaitop_eight" style="display:none;">...8个section
       </div></div>
   8个 section 默认全部 display:none 时，若保留 border-top / box-shadow /
   padding / background，会在 .bottom-menu 顶边上方形成一条白色装饰线，
   视觉上像"中间一条线挡着"，并遮住 .bottom-menu-item 的分隔竖线上端。
   修复：空壳状态下把装饰全部去掉。
   ============================================================ */
.bottom-menu-2 {
    border-top:none !important;
    box-shadow:none !important;
    background:transparent !important;
    padding:0 !important;
}

/* 补充：8个 section 全部隐藏时，让整个 .bottom-menu-2 不占据视觉层
   :has() 兼容 Chrome 105+ / Edge 105+ / Safari 15.4+ / Firefox 121+
   老浏览器不支持时，上一条去装饰规则已能兜底，不会产生遮挡 */
.bottom-menu-2:not(:has(.keai_cn_keaitop_eight:not([style*="display: none"]):not([style*="display:none"]))) {
    display:none !important;
}

/* ===== 底部浮动按钮 ===== */
.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; }

/* ===== 其他 ===== */
.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);
}

/* ============================================================
   面包屑导航文字美化
   ============================================================ */
#pt {
    padding:6px 12px !important;
    background:linear-gradient(135deg,rgba(136,0,238,0.04),rgba(255,102,0,0.04)) !important;
    border-radius:6px !important;
    margin:4px 8px !important;
}
#pt a,
#pt .z a {
    color:#8800EE !important;
    font-weight:400 !important;
    letter-spacing:0.3px !important;
    text-decoration:none !important;
    transition:color 0.3s ease !important;
}
#pt a:hover,
#pt .z a:hover { color:#FF6600 !important; }
#pt em,
#pt .z em {
    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;
}

/* ============================================================
   子菜单弹窗
   ============================================================ */
.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;
}

/* center 内保留原有换行 */
.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;
}

/* ============================================================
   以下为原 keaifoot.css 归并内容
   ============================================================ */

/* 17:50 2026.08.28 底部六链接升级样式 start */

.footer-nav-line {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:2px 4px;
    margin:8px 0 4px;
    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;
}

/* 手机端进一步压缩 */
@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%;
    }
}

/* 19:22 2026.08.28 end */



/* ===== 第二、三、四行共用基础 ===== */
.footer-line {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    gap:0;
/* =====     gap: 2px 4px; ===== */
    padding:4px 0;
    margin:0;
    font-size:13px;
}

/* ===== 第二行：站点名（底部虚线装饰） ===== */
.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;
/* =====    margin: 0 1px; ===== */
}
.footer-company {
    color:#5a4a6a;
}
.footer-sep {
    color:#d0c8dc;
    font-weight:200;
    margin:0 1px;
}

/* 备案号标签（圆角背景） */
.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;
}

/* ===== 第三行：版权（左右装饰线） ===== */
.footer-copyright {
    color:#8a7a9a;
    font-size:13px;
    display:flex;
    align-items:center;
/*     gap: 6px; 会产生间距 */
    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;
}

/* ===== 第四行：友情链接（波浪虚线 + 菱形分隔） ===== */
.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;
}

/* ===== 移动端适配 ===== */
@media (max-width: 480px) {
    .footer-line { gap:1px 2px; }
    .footer-icp { font-size:11px; padding:1px 8px; }
    .footer-copyright .line-deco { width:15px; }
}

/* 20:33 2026.08.28 结束  */

/* 13:10 2026.08.29 补充友链+站名与版权样式文字大小统一  开始 */

/* 确保友情链接行显式设置字体大小（继承版权行规则） */
.footer-friends {
    font-size:13px;
}

/* 移动端统一将三行字体缩小到 11px */
@media (max-width: 480px) {
    .footer-copyright,
    .footer-friends,
    .footer-line {          /* 因为站点名行用了 .footer-line */
        font-size:11px;
    }
}

/* 13:10 2026.08.29 补充友链+站名与版权样式文字大小统一  结束 */

/* 18:32 2026.08.29 口号开始 */

/* ===== 口号行 ===== */
.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;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .footer-slogan {
        font-size:11px;
        gap:4px;
    }
    .footer-slogan .line-deco {
        width:15px;
    }
    .footer-slogan .diamond {
        font-size:6px;
    }
}

/* 18:32 2026.08.29 口号结束 */





/* ============================================================
   从 DZ2.0 复制的 bottom-menu 底部菜单样式（含分隔竖线）
   适配纯文字显示（无图标）
   ============================================================ */

/* ===== 底部菜单1（5个链接 + 分隔竖线） ===== */
.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;
}

.bottom-menu-item01,
.bottom-menu-item02,
.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;
    background: #fff;
    box-sizing: border-box;
    white-space: nowrap !important;
    transition: color 0.3s, transform 0.2s;
    position: relative;
}

.bottom-menu-item01:hover,
.bottom-menu-item02:hover,
.bottom-menu-item03:hover,
.bottom-menu-item04:hover,
.bottom-menu-item05:hover {
    color: #FF6600;
    transform: translateY(-2px);
    cursor: pointer;
}

/* 文字样式（适配 <i> 标签内直接写文字） */
.bottom-menu-item01 i,
.bottom-menu-item02 i,
.bottom-menu-item03 i,
.bottom-menu-item04 i,
.bottom-menu-item05 i {
    font-style: normal !important;
    font-size: 18px !important;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== 分隔竖线（前4个元素右侧） ===== */
.bottom-menu-item01::after,
.bottom-menu-item02::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;
}

/* 第5个元素不显示分隔线 */
.bottom-menu-item05::after {
    display: none !important;
}

/* ===== 移动端适配 ===== */
@media screen and (max-width: 768px) {
    .bottom-menu {
        flex-wrap: nowrap !important;
        padding: 2px 0 !important;
        justify-content: space-around !important;
    }

    .bottom-menu-item01,
    .bottom-menu-item02,
    .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;     /* 手机端 12px */
    }

    .bottom-menu-item01 i,
    .bottom-menu-item02 i,
    .bottom-menu-item03 i,
    .bottom-menu-item04 i,
    .bottom-menu-item05 i {
        font-size: 12px !important;     /* 手机端 12px */
    }

    /* 移动端分隔线更细，并强制显示 */
    .bottom-menu-item01::after,
    .bottom-menu-item02::after,
    .bottom-menu-item03::after,
    .bottom-menu-item04::after {
        display: block !important;
        width: 1px !important;
        top: 15% !important;
        height: 70% !important;
    }
}

/* ============================================================
   底部菜单1复制结束
   ============================================================ */






: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);
}

/* 竖向滚动条滑块：180deg，六色从上到下沿长度铺开 */
::-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;
}

/* 横向滚动条滑块：90deg，六色从左到右沿长度铺开 */
::-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;
}

/* ============================================================
   ============================================================
   以下为原 extend_common.css（DZ2.0 精简版）归并内容
   仅保留帖子内容相关 + 特效
   ============================================================
   ============================================================ */

/* ============================================================
   extend_common.css - DZ2.0 精简版
   仅保留帖子内容相关 + 特效（不与 keai2.0.css 重复）
   ============================================================ */

/* ===== 帖子内容左右边距加宽 ===== */
.t_f {
    padding: 1px 1px !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;
    /* 让细体在 iOS/macOS 上真正变细 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* 禁止移动端字体自动放大（font boosting） */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 关键：内层标签一律继承外层字重，防止被 UA 样式重置为 400 */
.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;
}

/* 关键：显式 700 + !important，绕开 strong/b 的 UA 样式 bolder
   （bolder 在父级 300 时计算结果为 400，等于没加粗） */
.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 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;
}

/* ===== 帖子图片基础样式 ===== */
.t_f img,
#postmessage 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;
}

/* ===== 移动端适配（重新声明字重，防止被触屏模板覆盖） ===== */
@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,
    #postmessage img {
        border-radius: 4px;
        margin: 8px 0;
    }
}

/* ============================================================
   特效部分
   ============================================================ */

/* ===== 热门帖子列表 ===== */
.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;
}

/* ===== 覆盖标题字重 ===== */
.ts {
    font-weight: 100 !important;
}

/* ===== H1 标题紫橙呼吸特效 ===== */
h1.ts,
h1#thread_subject {
    color: inherit !important;
}

#thread_subject a,
h1.ts a {
    display: inline-block !important;
    text-decoration: none !important;
    color: inherit !important;
    animation: breathePurpleOrange 4s ease-in-out infinite !important;
}

@keyframes breathePurpleOrange {
    0%, 100% {
        opacity: 0.7;
        color: #8800EE !important;
        text-shadow: 0 0 0px rgba(136, 0, 238, 0);
    }
    50% {
        opacity: 1;
        color: #FF6600 !important;
        text-shadow: 0 0 24px rgba(255, 102, 0, 0.25);
    }
}

/* ===== 帖子图片居中 + 上下浮动特效 ===== */
.t_f img,
#postmessage img {
    display: block !important;
    margin: 12px 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 img:hover,
#postmessage img: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 img,
    #postmessage img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 4px;
        margin: 8px auto !important;
    }
}

/* ===== 面包屑手机不换行 ===== */
@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;
    }
}

/* ============================================================
   顶部固定导航面包屑美化
   只作用 #keaidaohang2023 内部，不影响内容区 #pt
   hover: 背景 #8800EE，文字白色
   ============================================================ */
#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);
}

/* ============================================================
   移动端整体
   ============================================================ */
@media screen and (max-width:768px) {
    body { padding-top:44px; padding-bottom:80px; }
    .keaicnfoot { display:none; }
    .keaidaohang2023_1 { padding:0; }
    .keaidaohang2023_1 > a { margin:4px; font-size:14px; }
    .bottom-menu {
        flex-wrap:nowrap !important;
        padding:2px 0 !important;
        justify-content:space-around !important;
    }
    .bottom-menu-item01,
    .bottom-menu-item02,
    .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;
    }
    .bottom-menu-item01 i,
    .bottom-menu-item02 i,
    .bottom-menu-item03 i,
    .bottom-menu-item04 i,
    .bottom-menu-item05 i {
        font-size:12px !important;
    }
    .bottom-menu-item01::after,
    .bottom-menu-item02::after,
    .bottom-menu-item03::after,
    .bottom-menu-item04::after {
        display:block !important;
        width:1px !important;
        top:15% !important;
        height:70% !important;
    }
    .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:50px，与桌面端一致 */
    .bottom-menu-2 {
        bottom:50px !important;
        left:0 !important;
        width:100% !important;
    }
    .keaicnbutton {
        left:1%;
        width:98%;
        border-radius:8px 8px 0 0;
    }
    .keaicnbutton a { font-size:13px; }
    #pt {
        padding:4px 8px !important;
        margin:2px 4px !important;
    }
    #pt a,
    #pt .z a { font-size:13px !important; }
    #pt em,
    #pt .z em {
        font-size:12px !important;
        padding:0 2px !important;
    }
    .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;
    }
}

/* ============================================================
   电脑端
   ============================================================ */
@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;
    }
}