/* 复刻站补充样式（主体来自原站 Discuz 模板 style_10_common.css / forum_index.css） */

/* 站点 Logo：没有 logo 图片时用文字标识，避免顶部出现破图 */
.site-logo-text {
    display: inline-block;
    padding: 8px 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #000000;
    letter-spacing: 1px;
    text-decoration: none;
}
.site-logo-text:hover { color: #000000; }

/* ===== 顶部区域美化（蓝白呼应，简洁大方） ===== */
#fix {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb;
}
#hd { border-bottom: 0; }
.hdc { padding: 16px 0 12px 0; }

/* 搜索框 */
#scbar {
    width: 440px !important;
    float: right;
    overflow: hidden;
    line-height: 36px;
    margin-top: 10px;
    border: 1px solid #bfdbfe !important;
    border-radius: 6px !important;
    background: #fff;
}
#scbar:hover { border-color: #2563eb !important; }
.scbar_txt_td { width: 290px !important; }
#scbar_txt {
    width: 280px !important;
    border: none !important;
    outline: none;
    font-size: 14px;
    padding: 0 14px;
    height: 36px;
    line-height: 36px;
    background: transparent;
}
.scbar_type_td {
    width: 60px !important;
    background: none !important;
    text-align: center;
    border-left: 1px solid #e0e7ff;
    border-right: 1px solid #e0e7ff;
}
#scbar_type {
    display: block;
    font-size: 13px;
    color: #60a5fa;
    line-height: 36px;
    cursor: pointer;
}
#scbar_type:hover { color: #2563eb; }
.scbar_btn_td { width: 80px; }
#scbar_btn {
    width: 100%;
    height: 36px;
    line-height: 36px;
    border: none !important;
    background: #3b82f6 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s;
}
#scbar_btn:hover { background: #2563eb !important; }
#scbar_btn strong { color: #fff !important; }

/* 导航栏：灰底 + 白字，菜单项居中 */
#nvv { height: 44px !important; }
#nv {
    overflow: hidden;
    height: 44px !important;
    background: linear-gradient(to right, #000000, #4b5563) !important;
    border-radius: 4px;
    padding: 0 6px;
    box-sizing: border-box;
    text-align: center;
}
#nv ul { background: transparent !important; margin: 0; padding: 0; list-style: none; }
#nv li {
    display: inline-block;
    float: none;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 14px;
    vertical-align: top;
    background: transparent !important;
}
#nv li a {
    display: inline-block;
    float: none;
    padding: 0 18px !important;
    height: 44px !important;
    line-height: 44px !important;
    color: #ffffff !important;
    font-weight: 600;
    background: transparent !important;
    transition: background .2s;
}
#nv li a:hover {
    background: #374151 !important;
    color: #fff !important;
}
#nv li.a, #nv li.a a {
    background: #2563eb !important;
    color: #fff !important;
}
#qmenu {
    color: #ffffff !important;
    padding: 0 14px;
    height: 44px;
    line-height: 44px;
    display: inline-block;
    font-weight: 600;
    background: transparent !important;
}
#qmenu:hover { color: #fff !important; background: #374151 !important; }

/* 顶部工具栏 */
#toptb { background: #f8fafc !important; border-bottom: 1px solid #e5e7eb; }

/* 页面背景色 */
html, body { background: #ffffff !important; }
#wp, .wrap { background: transparent !important; }
/* ===== 首页 & 列表美化：圆角 + 卡片化（无边框） ===== */
.wp { border-radius: 0; }
/* Discuz 风格区块卡片化 */
.bm, .cl_frame_bm, .frame, .block {
    border-radius: 8px;
    overflow: hidden;
    border: none !important;
}
.bm_h, .frame-title-cl, .blocktitle {
    background: #eff6ff !important;
    border: none !important;
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
}
.bm_c, .dxb_bc, .blockbody {
    background: #ffffff;
    border: none !important;
    border-radius: 0 0 8px 8px;
}
/* 版块/帖子列表表格圆角卡片 */
.thread-list {
    border: none !important;
    border-radius: 8px;
    overflow: hidden;
}
.thread-list .tl-head td {
    background: #eff6ff !important;
    border: none !important;
    color: #1e40af;
    font-weight: 600;
}
.thread-list .tl-row td {
    border-bottom: 1px solid #f1f5f9;
}
.thread-list .tl-row:last-child td { border-bottom: 0; }
.thread-list .tl-row:hover td { background: #f0f7ff !important; }
/* 版块列表说明列 */
.forum-list .c-author { color: #64748b; }
/* 版块页标题区 */
.forum-hd {
    background: linear-gradient(90deg, #eff6ff, #fff);
    border: none !important;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 14px;
}
.forum-hd h1 { margin: 0; font-size: 20px; color: #1e40af; }
/* 全站通用表格圆角 */
table { border-radius: 8px; border: none !important; }
/* 门户页关键词列表字体放大加粗 */
.xl1 li a { font-size: 18px !important; font-weight: 700 !important; line-height: 1.8; }
.xl1 li { height: auto !important; line-height: 1.8; }
/* 分页美化 */
.pg a, .pg strong {
    border-radius: 4px !important;
}
/* 首页版块「最后发表」时间字体缩小 */
.lastpost-time { font-size: 11px !important; color: #64748b !important; white-space: nowrap; }
.lastpost-time:hover { color: #2563eb !important; }
/* 首页版块「主题/帖数」统计字体缩小 */
.forum-stats { font-size: 11px !important; color: #94a3b8 !important; line-height: 16px; }
.forum-stats em { font-style: normal; }
/* 首页版块列表对齐：统一行高，版块名不换行 */
.fl_g { vertical-align: top; }
.fl_g dl {
    display: flex;
    flex-direction: column;
    height: 64px;
    justify-content: space-between;
    line-height: 1.4;
}
.fl_g dt {
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fl_g dd {
    margin: 0;
    line-height: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}




.adtext { padding: 0 5px; text-align: center; overflow: hidden; }
.adtext a { display: block; height: 20px; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adbg img { display: block; }

#sllph ol { list-style: decimal; }
#sllph li { position: relative; }
#sllph li:before { content: none; }

.remen li a { display: inline-block; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

#focus_con .focus_item { padding: 8px 0; border-bottom: 1px dashed #CDCDCD; }
#focus_con .focus_item img { width: 100%; height: auto; }
#focus_con .focus_item p { margin-top: 5px; line-height: 20px; height: 40px; overflow: hidden; }

.oll .x li { width: 19.9%; }

/* 通用页面（会员中心 / 搜索 / VIP 等）沿用 Discuz 表格风格 */.dz_table { width: 100%; background: #FFF; }
.dz_table th { background: #e4e4e4; padding: 8px 10px; font-weight: 700; }
.dz_table td { padding: 8px 10px; border-top: 1px solid #e4e4e4; }
.dz_table tr:hover td { background: #F7FBFF; }
.dz_block { background: #FFF; margin-bottom: 10px; }
.dz_block .bm_h { padding: 0 10px; height: 43px; background: #e4e4e4; line-height: 42px; font-size: 16px; font-weight: 700; }
.dz_block .bm_c { padding: 10px; }
.dz_form input.px, .dz_form textarea { width: 300px; }
.dz_form .dz_row { margin-bottom: 10px; }
.dz_form label { display: inline-block; width: 80px; }

/* ===== 广告位 & 公告（默认隐藏，有数据时 .active 才显示）===== */
.ad-slot,
.announcement {
    display: none;
    width: 100%;
}
.ad-slot.active,
.announcement.active {
    display: block;
}
/* 广告：居中、限制最大宽度，不占满整行，避免喧宾夺主 */
.ad-slot {
    text-align: center;
    margin: 8px auto;
}
.ad-slot .ad-link {
    display: inline-block;
    text-decoration: none;
    position: relative;
    max-width: 1100px;
}
.ad-slot .ad-link img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    max-height: 320px;
    object-fit: contain;
}
/* 广告角标 */
.ad-slot .ad-tag {
    position: absolute;
    top: 2px;
    left: 2px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px;
    line-height: 1.4;
}
/* ===== 不同广告位的呈现方式 ===== */
/* 头部横幅 / 内容区广告：居中，稍微放大 */
.ad-slot[data-ad-position="header_banner"] .ad-link,
.ad-slot[data-ad-position="content_top"] .ad-link,
.ad-slot[data-ad-position="content_middle"] .ad-link,
.ad-slot[data-ad-position="content_bottom"] .ad-link,
.ad-slot[data-ad-position="footer"] .ad-link {
    max-width: 1200px;
}
.ad-slot[data-ad-position="header_banner"],
.ad-slot[data-ad-position="content_top"],
.ad-slot[data-ad-position="content_middle"],
.ad-slot[data-ad-position="content_bottom"] {
    max-width: 1240px;
    width: calc(100% - 32px);
    margin: 22px auto;
}
.ad-slot[data-ad-position="footer"] {
    max-width: 1240px;
    width: calc(100% - 32px);
    margin: 12px auto 0;
}
.ad-slot[data-ad-position="footer"] .ad-link img { max-height: 260px; }
/* 头部横幅：整行通栏，宽度撑满，高度按图片比例自适应 */
.ad-slot[data-ad-position="header_banner"] .ad-link {
    display: block;
    width: 100%;
    max-width: 1240px;
}
.ad-slot[data-ad-position="header_banner"] .ad-link img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
}
/* 侧边栏广告：宽屏时固定在页面左右两侧 */
.ad-slot[data-ad-position^="sidebar_"] {
    position: fixed;
    width: 220px;
    z-index: 40;
    margin: 0;
}
.ad-slot[data-ad-position^="sidebar_"].active {
    display: block;
}
.ad-slot[data-ad-position^="sidebar_"] .ad-link {
    max-width: 220px;
}
.ad-slot[data-ad-position^="sidebar_"] .ad-link img {
    max-height: 420px;
}
.ad-slot[data-ad-position="sidebar_1"].active { left: 16px; top: 180px; }
.ad-slot[data-ad-position="sidebar_2"].active { right: 16px; top: 180px; }
.ad-slot[data-ad-position="sidebar_3"].active { right: 16px; top: 580px; }
@media (max-width: 1500px) {
    .ad-slot[data-ad-position^="sidebar_"].active { display: none; }
}
/* 浮动广告：右下角固定 */
.ad-slot[data-ad-position="floating"].active {
    display: block;
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: auto;
    max-width: 320px;
    z-index: 900;
    margin: 0;
}
.ad-slot[data-ad-position="floating"] .ad-link { max-width: 320px; }
.ad-slot[data-ad-position="floating"] .ad-link img { max-height: 320px; }
/* 弹窗广告：居中遮罩层 */
.ad-slot[data-ad-position="popup"].active {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    width: 100%;
    margin: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
}
.ad-slot[data-ad-position="popup"] .ad-link { max-width: 760px; }
.ad-slot[data-ad-position="popup"] .ad-link img { max-height: 85vh; }
/* 移动端：避免广告图过高 */
@media (max-width: 768px) {
    .ad-slot .ad-link img { max-height: 200px; }
    .ad-slot[data-ad-position="popup"] .ad-link { max-width: 92vw; }
    .ad-slot[data-ad-position="floating"] { max-width: 180px; }
    .ad-slot[data-ad-position="floating"] .ad-link { max-width: 180px; }
}
/* 浮动 / 弹窗广告的关闭按钮 */
.ad-slot .ad-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    line-height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}
.ad-slot[data-ad-position="popup"] .ad-close {
    position: fixed;
    top: 24px;
    right: 28px;
    width: 36px;
    height: 36px;
    line-height: 34px;
    font-size: 22px;
}
.ad-slot .ad-close:hover { background: rgba(0, 0, 0, 0.85); }

/* 公告顶部条：紧凑 */
.announcement[data-announcement-type='top_bar'].active {
    background: #fff8e1;
    border-bottom: 1px solid #ffe082;
    padding: 3px 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #6d4c00;
}
.ann-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ann-item .ann-title {
    font-weight: bold;
    margin-right: 6px;
}
/* 公告弹窗：更小更紧凑 */
.ann-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.ann-modal {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    max-width: 320px;
    width: 88%;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.ann-modal h3 {
    margin: 0 0 8px;
    font-size: 15px;
}
.ann-modal .ann-content {
    font-size: 13px;
    line-height: 1.5;
    color: #444;
}
.ann-modal .ann-close {
    margin-top: 12px;
    padding: 5px 16px;
    border: none;
    background: #3f63b4;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}
/* 侧栏公告：紧凑 */
.announcement[data-announcement-type='sidebar'].active {
    padding: 6px 10px;
    font-size: 12px;
    background: #f5f5f5;
    border-radius: 4px;
    color: #555;
}

/* 版块主题列表分页条（复用原站 .pg 样式，这里只补容器间距） */
.pg-wrap {
    overflow: hidden;
    margin: 12px 0 16px;
    padding: 0 6px;
}
.pg-wrap .pg label {
    color: #888;
    border-color: #eee;
    background: #fafafa;
}
.pg-wrap.pg-top { margin: 10px 0 4px; padding: 0; }

/* ===== 版块页（forum-xxx-1.html）===== */.forum-page {
    background: #FFF;
    border: 1px solid #e4e4e4;
    margin-bottom: 12px;
}
.forum-hd {
    height: auto;
    padding: 0 12px;
    line-height: 1.5;
    background: #f2f2f2;
    border-bottom: 1px solid #e4e4e4;
}
.forum-hd h1 {
    float: left;
    margin: 0;
    padding: 12px 0;
    font-size: 17px;
    font-weight: 700;
    color: #333;
}
.forum-stat {
    float: right;
    margin: 0;
    padding: 15px 0 0;
    list-style: none;
    font-size: 12px;
    color: #777;
}
.forum-stat li { float: left; margin-left: 16px; }
.forum-stat b { color: #0093d8; font-size: 13px; }
.forum-bd { padding: 0 12px 8px; }
.forum-bd .fd {
    margin: 0;
    padding: 10px 0;
    color: #888;
    font-size: 12px;
    border-bottom: 1px dashed #e4e4e4;
}
.type-filter {
    padding: 10px 0 6px;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.type-filter .tf-label { color: #999; margin-right: 6px; }
.type-filter a {
    display: inline-block;
    margin: 0 6px 4px 0;
    padding: 2px 10px;
    border: 1px solid #e4e4e4;
    border-radius: 2px;
    background: #FFF;
    color: #555;
    text-decoration: none;
}
.type-filter a:hover { border-color: #0093d8; color: #0093d8; }
.type-filter a.on { background: #0093d8; border-color: #0093d8; color: #FFF; }

.thread-list {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #FFF;
}
.thread-list .tl-head td {
    height: 38px;
    padding: 0 10px;
    background: #f7f7f7;
    border-bottom: 1px solid #e4e4e4;
    color: #888;
    font-size: 12px;
}
.thread-list .tl-row td {
    padding: 11px 10px;
    border-bottom: 1px dashed #e6e6e6;
    vertical-align: top;
    font-size: 12px;
    color: #666;
}
.thread-list .tl-row:hover td { background: #f7fbff; }
.thread-list .c-icn { width: 34px; padding-right: 0; }
.thread-list .c-icn img {
    display: block;
    width: 26px;
    height: 26px;
    opacity: .85;
}
.thread-list .c-title { width: auto; word-break: break-all; }
.thread-list .c-title h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.thread-list .c-title h3 a { font-size: 16px; }
.thread-list .c-author { width: 105px; }
.thread-list .c-reply { width: 100px; text-align: center; }
.thread-list .c-time { width: 110px; }
.thread-list .c-author cite,
.thread-list .c-time cite {
    display: block;
    font-style: normal;
    font-size: 12px;
    line-height: 1.5;
}
.thread-list .c-author cite a,
.thread-list .c-time cite a { color: #666; text-decoration: none; }
.thread-list .c-author cite a:hover,
.thread-list .c-time cite a:hover { color: #0093d8; }
.thread-list .c-author em,
.thread-list .c-time em {
    display: block;
    margin-top: 2px;
    color: #aaa;
    font-size: 11px;
    font-style: normal;
    font-family: Arial, sans-serif;
}
.thread-list .c-time em a { color: #aaa; text-decoration: none; }
.thread-list .c-time em a:hover { color: #0093d8; text-decoration: underline; }
.thread-list .c-reply a {
    color: #0093d8;
    text-decoration: none;
    font-size: 12px;
}
.thread-list .c-reply a:hover { text-decoration: underline; }
.thread-list .c-reply em {
    display: block;
    margin-top: 2px;
    color: #aaa;
    font-size: 11px;
    font-style: normal;
}
.thread-list .c-title { text-align: left; }
.thread-list .xstt {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}
.thread-list .xstt:hover { color: #0093d8; text-decoration: underline; }
.thread-list tr.pinned .xstt { color: #c00; font-weight: 700; }
.thread-list .pin,
.thread-list .digest {
    display: inline-block;
    margin-right: 4px;
    padding: 0 4px;
    font-size: 11px;
    line-height: 16px;
    color: #FFF;
    border-radius: 2px;
    vertical-align: 1px;
}
.thread-list .pin { background: #e4393c; }
.thread-list .digest { background: #f60; }
.thread-list .ttag {
    margin-right: 4px;
    color: #0093d8;
    font-size: 12px;
    font-style: normal;
}
.thread-list .ttag a { color: #0093d8; text-decoration: none; }
.thread-list .ttag a:hover { text-decoration: underline; }
.thread-list .tps {
    margin-left: 2px;
    font-size: 12px;
    white-space: nowrap;
    letter-spacing: 1px;
}
.thread-list .tps a {
    padding: 0 3px;
    color: #444;
    text-decoration: none;
}
.thread-list .tps a:hover { background: #e4e4e4; color: #007CD5; }
.thread-list .tps .tps-dot {
    padding: 0 2px;
    color: #444;
    font-style: normal;
}
.thread-list .heatlevel {
    margin-left: 4px;
    vertical-align: middle;
    cursor: help;
}
.thread-list .u-hover { position: relative; display: inline-block; }
.thread-list .u-card {
    display: none;
    position: absolute;
    right: 0;
    top: 20px;
    z-index: 30;
    width: 196px;
    padding: 10px;
    background: #FFF;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    text-align: left;
    white-space: normal;
    font-size: 12px;
    line-height: 1.7;
    color: #888;
}
.thread-list .u-hover:hover .u-card { display: block; }
.thread-list .u-card .uc-hd {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}
.thread-list .u-card .uc-hd img {
    width: 36px;
    height: 36px;
    margin-right: 8px;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    background: #FFF;
}
.thread-list .u-card .uc-hd b {
    color: #0093d8;
    font-size: 13px;
    font-weight: 400;
}
.thread-list .u-card .uc-group {
    display: block;
    margin-bottom: 4px;
    color: #f26c4f;
}
.thread-list .u-card .uc-acts { display: block; color: #888; }
.thread-list .u-card .uc-acts a {
    margin-right: 6px;
    color: #666;
    text-decoration: none;
}
.thread-list .u-card .uc-acts a:hover { color: #0093d8; text-decoration: underline; }
.topic-tag {
    display: inline-block;
    margin-right: 5px;
    color: #0093d8;
    font-size: 12px;
}
.thread-page .tp-hd .topic-tag { font-size: 14px; }
.thread-list .thread-meta { margin-top: 4px; color: #999; font-size: 12px; }
.thread-list .thread-meta span { margin-right: 10px; }
.thread-list .empty { padding: 50px 0; text-align: center; color: #AAA; }

@media (max-width: 768px) {
    .forum-stat { display: none; }
    .thread-list .c-icn,
    .thread-list .c-author,
    .thread-list .c-reply { display: none; }
    .thread-list .c-time { width: 92px; }
}

/* ===== 帖子页（thread-xxx-1-1.html）===== */
.thread-page {
    background: #FFF;
    border: 1px solid #e4e4e4;
    margin-bottom: 12px;
}
.tp-hd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
    padding: 12px 14px 10px;
    background: #f2f2f2;
    border-bottom: 1px solid #e4e4e4;
}
.tp-hd h1 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    word-break: break-all;
}
/* 顶部页码：与标题同一行、靠右 */
.tp-hd .tp-pg { flex: 0 0 auto; }
.tp-hd .pg-wrap { margin: 0; padding: 0; overflow: visible; }
.tp-hd .pg { background: #FFF; }
.tp-hd .pg > label:first-of-type { display: none; }
.tp-tools {
    flex: 1 0 100%;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
}
.tp-tools a,
.tp-tools .lnk {
    margin-left: 8px;
    color: #0093d8;
    text-decoration: none;
}
.tp-tools a:hover,
.tp-tools .lnk:hover { text-decoration: underline; }
.tp-tools form { display: inline; }
.tp-tools .lnk {
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px;
    cursor: pointer;
}
.tp-meta {
    padding: 8px 14px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #888;
}
.tp-meta span { margin-right: 16px; }
.tp-meta b { color: #555; font-weight: 400; }
.tp-meta .vip-tag,
.tp-meta .price-tag {
    display: inline-block;
    padding: 0 6px;
    line-height: 18px;
    border-radius: 2px;
    color: #FFF;
    font-size: 11px;
}
.tp-meta .vip-tag { background: #f60; }
.tp-meta .price-tag { background: #e4393c; }

.post {
    display: flex;
    border-bottom: 1px solid #e8e8e8;
}
.post-first { border-top: 0; }
.post-author {
    width: 160px;
    flex: 0 0 160px;
    padding: 14px 10px 10px;
    background: #f8f8f8;
    border-right: 1px solid #eee;
    text-align: center;
    font-size: 12px;
    word-break: break-all;
}
.post-author .pa-avatar {
    display: block;
    width: 72px;
    height: 72px;
    margin: 0 auto 8px;
    border: 1px solid #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
    background: #FFF;
}
.post-author .pa-avatar img {
    display: block;
    width: 100%;
    height: 100%;
}
.post-author .pa-name {
    display: inline;
    color: #0093d8;
    text-decoration: none;
    line-height: 1.5;
    font-size: 13px;
}
.post-author .pa-name:hover { text-decoration: underline; }
.post-author .pa-role {
    display: inline-block;
    margin: 0 0 0 4px;
    padding: 0 5px;
    line-height: 16px;
    border-radius: 2px;
    background: #e4393c;
    color: #FFF;
    font-size: 11px;
    vertical-align: 1px;
}
.post-author .pil {
    margin: 6px -4px 0;
    padding: 5px 0 0;
    border-top: 1px dashed #e4e4e4;
    font-size: 11px;
    line-height: 1.8;
    color: #888;
    text-align: left;
}
.post-author .pil dt {
    float: left;
    width: 58px;
    clear: left;
    color: #999;
    font-weight: 400;
}
.post-author .pil dd {
    margin: 0 0 0 58px;
    color: #555;
}
.post-author .pa-acts {
    margin: 8px 0 0;
    padding: 6px 0 0;
    border-top: 1px dashed #e4e4e4;
    list-style: none;
    overflow: hidden;
}
.post-author .pa-acts li {
    float: left;
    width: 50%;
    font-size: 11px;
}
.post-author .pa-acts a {
    color: #0093d8;
    text-decoration: none;
}
.post-author .pa-acts a:hover { text-decoration: underline; }
.post-author .pil dd { white-space: nowrap; }
.post-main {
    flex: 1;
    min-width: 0;
    padding: 0 14px 10px;
}
.post-info {
    padding: 9px 0;
    border-bottom: 1px dashed #eee;
    font-size: 12px;
    color: #999;
}
.post-info span { margin-right: 12px; }
.post-info a {
    margin-left: 10px;
    color: #999;
    text-decoration: none;
}
.post-info a:hover { color: #0093d8; }
.post-info .pi-floor {
    display: inline-block;
    padding: 0 6px;
    line-height: 18px;
    border: 1px solid #d6ebf7;
    border-radius: 2px;
    background: #f2f9ff;
    color: #0093d8;
}
.post-content {
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.9;
    color: #333;
    word-break: break-word;
}
.post-content p { margin: 0 0 6px; }
.post-content p:last-child { margin-bottom: 0; }
.post-content .hidden-tip { color: #999; }
.post-content .hidden-note {
    margin-top: 10px;
    padding: 8px 10px;
    background: #fffdf0;
    border: 1px solid #f5e9b8;
    color: #8a6d3b;
    font-size: 13px;
}
/* 1 楼网盘链接：仅登录 + 会员可见 */
.post-content .locked {
    margin: 12px 0 2px;
    padding: 8px 12px;
    border: 1px dashed #f0b8b8;
    background: #fff8f8;
    color: #d9534f;
    font-size: 13px;
    line-height: 1.8;
}
.post-content .locked a { color: #0093d8; text-decoration: none; }
.post-content .locked a:hover { text-decoration: underline; }
.post-content .sell-text {
    padding: 8px 12px;
    background: #f6fbf6;
    border: 1px dashed #b7dcb7;
    color: #3a7a3a;
    word-break: break-all;
}
.post-foot {
    padding-top: 8px;
    border-top: 1px dashed #eee;
    text-align: right;
    font-size: 12px;
}
.post-foot a {
    margin-left: 10px;
    color: #999;
    text-decoration: none;
}
.post-foot a:hover { color: #0093d8; }
.post-empty { padding: 50px 0; text-align: center; color: #AAA; }

.attachments,
.related {
    margin: 0;
    padding: 12px 14px 14px;
    border-top: 1px solid #eee;
}
.attachments h3,
.related h3 {
    margin: 0 0 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.attachments .att {
    padding: 6px 0;
    font-size: 13px;
    color: #666;
    border-bottom: 1px dashed #f0f0f0;
}
.attachments .att a { color: #0093d8; text-decoration: none; }
.attachments .att a:hover { text-decoration: underline; }
.attachments .att span { margin-left: 10px; color: #999; font-size: 12px; }
.attachments .vip-tag {
    display: inline-block;
    padding: 0 5px;
    line-height: 16px;
    border-radius: 2px;
    background: #f60;
    color: #FFF;
    font-size: 11px;
}
.related ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.related li {
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.6;
    border-bottom: 1px dashed #f0f0f0;
}
.related li:last-child { border-bottom: 0; }
.related li a { color: #333; text-decoration: none; }
.related li a:hover { color: #0093d8; text-decoration: underline; }

@media (max-width: 768px) {
    .post { display: block; }
    .post-author {
        width: auto;
        flex: none;
        padding: 10px 12px;
        background: #f8f8f8;
        border-right: 0;
        border-bottom: 1px solid #eee;
        text-align: left;
    }
    .post-author .pa-avatar { display: none; }
    .post-author .pa-name { display: inline; margin-right: 6px; }
    .post-author .pa-role { margin-top: 0; }
    .post-author .pil,
    .post-author .pa-acts { display: none; }
    .tp-hd { padding: 10px 12px 8px; }
    .tp-hd h1 { font-size: 16px; }
    .post-main { padding: 0 12px 8px; }
}

/* ===== 顶部工具栏：切换宽版 ===== */
body.wida .wp { width: auto; max-width: none; margin: 0 12px; }

/* ===== 登录 / 注册 / 会员中心 ===== */
.page-wrap.narrow {
    max-width: 460px;
    margin: 20px auto;
    padding: 20px 24px;
    background: #FFF;
    border: 1px solid #e4e4e4;
}
.page-wrap.narrow h1 { margin: 0 0 16px; font-size: 18px; color: #333; }
.login-form label { display: block; margin-bottom: 12px; color: #666; font-size: 13px; }
.login-form input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 7px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}
.login-form button,
.card-form button {
    padding: 8px 22px;
    border: 0;
    border-radius: 3px;
    background: #0093d8;
    color: #FFF;
    font-size: 14px;
    cursor: pointer;
}
.login-form button:hover,
.card-form button:hover { background: #0077b3; }
.flash { margin: 0 0 12px; padding: 8px 12px; border-radius: 3px; font-size: 13px; }
.flash.error { background: #fff2f2; border: 1px solid #f5c2c2; color: #d9534f; }
.flash.success { background: #f2fbf2; border: 1px solid #c2e5c2; color: #3a7a3a; }
.member-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 12px 0;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #eee;
}
.member-box h3 { margin: 0 0 4px; font-size: 14px; color: #333; }
.mb-on { margin: 0; color: #f26c4f; font-size: 13px; }
.mb-off { margin: 0; color: #888; font-size: 13px; }
.card-form { display: flex; gap: 8px; align-items: center; }
.card-form label { font-size: 13px; color: #666; }
.card-form input {
    width: 180px;
    margin-left: 6px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
}

/* ===== 帖子页：作者栏操作（收听 / 发消息）===== */
.post-author .pa-acts form { display: inline; margin: 0; }
.post-author .pa-acts .lnk {
    padding: 0;
    border: 0;
    background: none;
    color: #0093d8;
    font-size: 11px;
    font-family: inherit;
    cursor: pointer;
}
.post-author .pa-acts .lnk:hover { text-decoration: underline; }

/* ===== 帖子页：快速回复 ===== */
.fastreply {
    margin: 12px 0;
    padding: 12px 14px 14px;
    background: #FFF;
    border: 1px solid #e4e4e4;
}
.fastreply h3 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.fastreply textarea {
    display: block;
    width: 100%;
    min-height: 96px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
    resize: vertical;
}
.fastreply textarea:focus { border-color: #0093d8; outline: none; }
.fastreply button {
    margin-top: 10px;
    padding: 8px 24px;
    border: 0;
    border-radius: 3px;
    background: #0093d8;
    color: #FFF;
    font-size: 14px;
    cursor: pointer;
}
.fastreply button:hover { background: #0077b3; }
.fastreply-login {
    margin: 12px 0;
    padding: 14px;
    background: #fafafa;
    border: 1px solid #eee;
    text-align: center;
    font-size: 13px;
    color: #777;
}
.fastreply-login a { color: #0093d8; text-decoration: none; }
.fastreply-login a:hover { text-decoration: underline; }

/* ===== 私信页 ===== */
.pm-list {
    margin: 14px 0;
    padding: 0;
    max-height: 460px;
    overflow-y: auto;
}
.pm-item {
    margin-bottom: 12px;
    text-align: left;
}
.pm-item.me { text-align: right; }
.pm-meta { margin-bottom: 4px; color: #999; font-size: 12px; }
.pm-text {
    display: inline-block;
    max-width: 76%;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f2f2f2;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    word-break: break-word;
    white-space: pre-wrap;
}
.pm-item.me .pm-text { background: #d6ecfb; }
.pm-empty { padding: 30px 0; text-align: center; color: #AAA; font-size: 13px; }
.pm-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
    resize: vertical;
}
.pm-form textarea:focus { border-color: #0093d8; outline: none; }
.pm-form button {
    margin-top: 10px;
    padding: 8px 22px;
    border: 0;
    border-radius: 3px;
    background: #0093d8;
    color: #FFF;
    font-size: 14px;
    cursor: pointer;
}
.pm-form button:hover { background: #0077b3; }

/* ===== 好友申请 ===== */
.my-friends { margin: 0 0 14px; font-size: 13px; }
.my-friends a { color: #0093d8; text-decoration: none; }
.my-friends a:hover { text-decoration: underline; }
.badge {
    display: inline-block;
    min-width: 16px;
    padding: 0 5px;
    border-radius: 9px;
    background: #f26c4f;
    color: #FFF;
    font-size: 11px;
    font-style: normal;
    line-height: 16px;
    text-align: center;
}
.req-block { padding: 0 12px 12px; }
.req-block h3 {
    margin: 14px 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}
.req-list { border: 1px solid #eee; }
.req-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px dashed #eee;
    font-size: 13px;
}
.req-item:last-child { border-bottom: 0; }
.req-name { min-width: 120px; color: #333; font-weight: 700; }
.req-time { flex: 1; color: #999; }
.req-status { color: #f0a020; }
.req-actions { display: flex; gap: 8px; }
.req-actions form { margin: 0; }
.req-actions button {
    padding: 5px 14px;
    border: 0;
    border-radius: 3px;
    color: #FFF;
    font-size: 12px;
    cursor: pointer;
}
.req-actions .btn-ok { background: #0093d8; }
.req-actions .btn-ok:hover { background: #0077b3; }
.req-actions .btn-no { background: #bbb; }
.req-actions .btn-no:hover { background: #999; }
.req-empty { margin: 0; padding: 22px 12px; text-align: center; color: #AAA; font-size: 13px; }

/* ===== 好友列表 ===== */
.friend-tip {
    margin: 0;
    padding: 8px 12px;
    background: #fff8e6;
    border-bottom: 1px solid #f7e6b8;
    color: #8a6d1d;
    font-size: 12px;
}
.friend-list .c-author { width: 170px; }
.friend-list .c-author cite a {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}
.friend-list .c-author cite a:hover { color: #0093d8; }
.friend-list .c-author .badge { margin-left: 4px; }
.friend-list .friend-last {
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.friend-list .chat-link {
    display: inline-block;
    padding: 3px 14px;
    border-radius: 3px;
    background: #0093d8;
    color: #FFF;
    text-decoration: none;
}
.friend-list .chat-link:hover { background: #0077b3; }
.friend-list .c-reply { width: 150px; }
.friend-list .del-form { display: inline-block; margin: 0 0 0 6px; vertical-align: middle; }
.friend-list .btn-del {
    padding: 3px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #FFF;
    color: #999;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}
.friend-list .btn-del:hover { border-color: #f26c4f; color: #f26c4f; }

/* 一对一聊天框 */
.chat-wrap h1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chat-back { font-size: 12px; font-weight: 400; color: #0093d8; text-decoration: none; }
.chat-back:hover { text-decoration: underline; }
.chat-wrap .pm-list { max-height: 480px; }

/* 页脚：去掉白色背景，与页面底色一致 */
#ft { background: transparent; }

/* #frameghKull 内每个方块去掉背景色 */
#frameghKull .adbg { background: transparent; }
#frameghKull .adbg td { border-color: transparent; }
#frameghKull .adho, #frameghKull .adlv, #frameghKull .adhu, #frameghKull .adla { background: transparent; }

/* 顶部横幅：图片铺满整行 */
#frame2r3Xdu .frame-1-1-1-l { width: 100%; }
#frame2r3Xdu .frame-1-1-1-c,
#frame2r3Xdu .frame-1-1-1-r { display: none; }
#frame2r3Xdu img { display: block; width: 100%; height: 60px; object-fit: cover; }

/* #frameghKull 入口方块：图标 + 按钮样式 */
#frameghKull .entry-sprite { position: absolute; }
#frameghKull a.entry-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 54px; padding: 0 10px;
    background: #fff; border: 1px solid #dfe6ee; border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
    color: #444; font-size: 14px; line-height: 1.2; text-decoration: none;
    transition: color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
#frameghKull a.entry-btn:hover {
    color: #0093d8; border-color: #0093d8;
    box-shadow: 0 6px 14px rgba(0, 147, 216, .18);
    transform: translateY(-2px);
}
#frameghKull a.entry-btn .entry-ic {
    width: 22px; height: 22px; flex: 0 0 22px;
    fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}
#frameghKull a.entry-btn span {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    animation: entryBreath 2.6s ease-in-out infinite;
}
@keyframes entryBreath {
    0%, 100% { text-shadow: 0 0 0 rgba(0, 147, 216, 0); }
    50% { text-shadow: 0 0 4px rgba(0, 147, 216, .28), 0 0 10px rgba(0, 147, 216, .14); }
}

/* ===== 版块分组页（forum.php?gid=xx）：版块图标 + 名称 ===== */
.forum-list .c-icn { width: 56px; padding-right: 0; }
.forum-list .c-icn img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    opacity: 1;
}
.forum-list .tl-row td { vertical-align: middle; }
.forum-list .c-title h3 { margin: 0; }
.forum-list .c-title h3 a { font-size: 14px; }
.forum-empty { margin: 0; padding: 30px 12px; text-align: center; color: #999; font-size: 13px; }

/* ===== 帖子楼层：招代理推广条 + 公众号二维码 ===== */
.post-promo { margin: 8px 0 10px; }
.post-promo a {
    color: #ff0000;
    font-family: "Microsoft Yahei", Tahoma, Helvetica, SimSun, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}
.post-promo a:hover { text-decoration: underline; }
.post-promo .promo-svip {
    display: inline-block;
    margin-right: 6px;
    vertical-align: -4px;
}
.post-qr { margin: 14px 0 4px; text-align: center; }
.post-qr img { display: inline-block; width: 200px; height: auto; }
.post-qr-tip { margin-top: 6px; color: #ff0000; font-size: 15px; }

/* ===== 楼层内「热门课程」小列表 ===== */
.suggestlog { padding: 5px 0; }
.suggestlog-title { height: 36px; line-height: 36px; padding: 0 15px; background: #E8EFF5; }
.suggestlog-title h2 { margin: 0; font-size: 15px; font-weight: 700; color: #666; }
.suggestlog-list {
    margin: 0;
    padding: 5px;
    list-style: none;
    background: #E5EDF2;
    overflow: hidden;
}
.suggestlog-list li {
    position: relative;
    float: left;
    width: 49%;
    height: 22px;
    margin-bottom: 1px;
    overflow: hidden;
}
.suggestlog-list li:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #7aa4c4;
}
.suggestlog-list li a {
    display: block;
    height: 18px;
    padding-left: 25px;
    line-height: 22px;
    color: #369;
    font-size: 12px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.suggestlog-list li a:hover { color: #0093d8; text-decoration: underline; }

/* ===== 电商培训目录（topic_7） ===== */
.topic-directory .frame-1-c { width: 100%; }
.topic-directory #frame6oq859 {
    border: 1px solid #dedede;
    background: #F5F5F5;
}
.topic-directory #portal_block_271_content { padding: 12px 16px; font-size: 22px; }
.topic-directory .portal_block_summary p {
    margin: 0 0 8px;
    color: #444;
    background: #F5F5F5;
    font-size: 18px;
    line-height: 1.6;
}
.topic-directory .portal_block_summary p:last-child { margin-bottom: 0; }
.topic-directory #frameC66Bc2 { padding: 0; }
.topic-directory #frameC66Bc2 .block {
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    background: #FFF;
}
.topic-directory #frameC66Bc2 .column > .block:last-child { margin-bottom: 0; }
.topic-directory .block .blocktitle {
    height: 36px;
    padding: 0 12px;
    overflow: hidden;
    border-bottom: 1px solid #dedede;
    background: #F5F5F5;
    line-height: 36px;
}
.topic-directory .block .titletext { color: #444; font-weight: 700; }
.topic-directory .block .dxb_bc { padding: 8px 10px 10px; font-size: 18px; }
.topic-directory .xl1 ul { margin: 0; padding: 0; list-style: none; }
.topic-directory .xl1 li {
    height: 1.5em;
    margin: 5px 0;
    overflow: hidden;
    line-height: 1.5;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.topic-directory .xl1 li a { color: #369; text-decoration: none; }
.topic-directory .xl1 li a:hover { color: #0093d8; text-decoration: underline; }



