/**
 * Dismall 主题 —— 仿 Discuz! 官方交流社区（dismall.com）
 * 配色取自 dismall.com comiis 模板：
 *   主蓝 #155BD5 / 悬停橙 #FF6951 / 背景 #F9F9FA / 边框 #EEEEEE / 文字 #333 #666 #999
 */

:root {
    --dz-blue: #155BD5;
    --dz-blue-dark: #1050BE;
    --dz-hot: #FF6951;
    --dz-bg: #F9F9FA;
    --dz-white: #FFFFFF;
    --dz-border: #EEEEEE;
    --dz-border-dark: #E3E3E3;
    --dz-text: #333;
    --dz-text-2: #666;
    --dz-text-3: #999;
    --dz-tint: #ECF3FB;
    --dz-radius: 6px;
    --dz-radius-s: 4px;
    --dz-shadow: 0 0 2px 0 rgba(88, 118, 138, .1);
}

/* ========== 全局 ========== */
html, body { margin: 0; padding: 0; }
body {
    background: #F9F9FA;
    color: #333;
    font: 14px/1.7 "Microsoft YaHei", "PingFang SC", Tahoma, Arial, sans-serif;
    min-width: 1200px;
}
body.dz-body { padding-top: 0 !important; margin-bottom: 0 !important; }
a, a:link, a:visited { color: #333; text-decoration: none; }
a:hover { color: #155BD5; }
a.dz-blue, .dz-blue a { color: #155BD5; }
img { border: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em, i { font-style: normal; }
table { border-collapse: collapse; border-spacing: 0; }
.cl::after { content: ""; display: block; clear: both; height: 0; visibility: hidden; }
.z { float: left; }
.y { float: right; }
.pipe { margin: 0 6px; color: #DDD; }

.wp { margin: 0 auto; width: 1200px; }

/* ========== 顶部蓝色装饰条 ========== */
#topline { height: 4px; background: #155BD5; }

/* ========== 头部 #hd（单行：Logo + 横排菜单 + 图标操作区） ========== */
#hd { background: #FFF; box-shadow: 0 1px 0 #EEE; position: relative; z-index: 100; }
#hd .dz-hd { display: flex; align-items: center; height: 64px; }
#hd h2.dz-logo { margin: 0 26px 0 0; }
#hd h2.dz-logo a {
    font-size: 28px; font-weight: 800; font-style: italic; letter-spacing: .5px;
    color: #155BD5; font-family: "Segoe UI", "Microsoft YaHei", Tahoma, sans-serif;
    white-space: nowrap;
}
#hd h2.dz-logo a:hover { color: #155BD5; opacity: .85; }

/* 横排菜单 */
#hd .dz-menu { display: flex; align-items: center; gap: 4px; }
#hd .dz-menu li { float: none; }
#hd .dz-menu li a {
    display: block; padding: 4px 16px; line-height: 26px; height: 34px; box-sizing: border-box;
    font-size: 16px; color: #333; border-radius: 17px; white-space: nowrap;
}
#hd .dz-menu li a:hover { color: #155BD5; background: #F2F6FD; }
#hd .dz-menu li.a a { background: #155BD5; color: #FFF !important; font-weight: 700; }
#hd .dz-menu li.a a:hover { background: #155BD5; }

/* 右侧图标操作区（margin-left:auto 推到最右，与菜单间自然留出大间距） */
#hd .dz-hacts { display: flex; align-items: center; gap: 10px; margin-left: auto; padding-left: 40px; }
#hd .dz-ico {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; color: #555;
}
#hd .dz-ico:hover { color: #155BD5; background: #F2F6FD; }

/* 搜索（点击图标展开输入框） */
#hd #scbar { display: flex; align-items: center; height: 34px; }
#hd #scbar input[type="text"] {
    width: 0; opacity: 0; padding: 0; height: 34px;
    border: 1px solid #DDD; border-right: 0; border-radius: 17px 0 0 17px;
    transition: all .25s ease; box-sizing: border-box; font-size: 13px; outline: none; background: #FFF;
}
#hd #scbar:focus-within input[type="text"] { width: 200px; opacity: 1; padding: 0 14px; }
#hd #scbar button {
    width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: #555; border-radius: 50%; cursor: pointer;
}
#hd #scbar:focus-within button { color: #155BD5; background: #F2F6FD; border-radius: 0 17px 17px 0; }

/* 快捷导航（田字格图标 + 下拉） */
#hd .dz-apps-wrap { position: relative; cursor: pointer; }
/* 透明桥接区：覆盖图标与下拉面板之间的空隙，避免鼠标移动时丢失 hover */
#hd .dz-apps-wrap::after {
    content: "";
    position: absolute; left: -6px; right: -6px; top: 100%; height: 16px;
}
#hd .dz-apps-menu {
    display: none; position: absolute; right: 0; top: 44px; z-index: 300;
    width: 150px; background: #FFF; border-radius: 8px; padding: 6px 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}
#hd .dz-apps-wrap:hover .dz-apps-menu { display: block; }
#hd .dz-apps-menu a { display: block; padding: 7px 18px; font-size: 13px; color: #444; }
#hd .dz-apps-menu a:hover { background: #F2F6FD; color: #155BD5; }

/* 用户头像 + 下拉面板 */
#hd .dz-me { position: relative; margin-left: 6px; display: flex; align-items: center; }
/* 透明桥接区：覆盖头像与下拉面板之间的空隙，避免鼠标移动时丢失 hover */
#hd .dz-me::after {
    content: "";
    position: absolute; left: -6px; right: -6px; top: 100%; height: 16px;
}
#hd .dz-me-ava { display: inline-flex; align-items: center; }
#hd .dz-me-ava img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #E3EAF5; display: block; box-sizing: border-box; }
#hd .dz-me-menu {
    display: none; position: absolute; right: 0; top: 44px; z-index: 300;
    width: 280px; background: #FFF; border-radius: 12px; overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .14); padding: 0 0 6px;
}
#hd .dz-me:hover .dz-me-menu { display: block; }
#hd .dz-me-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(135deg, #EAF1FD 0%, #F5F8FE 100%); }
#hd .dz-me-head-ava { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #FFF; }
#hd .dz-me-head-info b { display: block; font-size: 15px; color: #333; }
#hd .dz-me-head-info span { font-size: 12px; color: #999; }
#hd .dz-me-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 6px; }
#hd .dz-me-grid a {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px;
    background: #F7F8FA; border-radius: 8px; font-size: 13px; color: #444;
}
#hd .dz-me-grid a svg { flex: 0 0 auto; color: #8A97A8; }
#hd .dz-me-grid a:hover { background: #ECF3FB; color: #155BD5; }
#hd .dz-me-grid a:hover svg { color: #155BD5; }
#hd .dz-me-logout { padding: 8px 16px 4px; text-align: right; border-top: 1px solid #F0F2F5; margin: 6px 0 0; }
#hd .dz-me-logout button {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: 0; color: #E6735C; cursor: pointer; font-size: 13px; font-family: inherit; padding: 4px 6px;
}
#hd .dz-me-logout button:hover { color: #D4553B; }
#hd .dz-authlinks { display: inline-flex; align-items: center; gap: 10px; margin-left: 8px; }
#hd .dz-loginlink { font-size: 14px; color: #555; padding: 5px 10px; }
#hd .dz-loginlink:hover { color: #155BD5; }
#hd .dz-reglink {
    display: inline-flex; align-items: center; height: 34px; padding: 0 18px; background: #155BD5; color: #FFF !important;
    border-radius: 17px; font-size: 14px;
}
#hd .dz-reglink:hover { background: #1050BE; }

/* ========== 内容区 ========== */
#ct { margin: 12px auto 10px; min-height: 300px; }

/* 面包屑 #pt */
#pt {
    height: 40px; line-height: 40px; margin-bottom: 10px;
    background: #FFF; border-radius: var(--dz-radius);
    box-shadow: var(--dz-shadow);
    padding: 0 15px; font-size: 13px; color: #999;
}
#pt a { color: #666; padding: 0 2px; }
#pt a:hover { color: #155BD5; }
#pt .nvhm { color: #155BD5; font-weight: 700; }
#pt em { margin: 0 4px; color: #CCC; font-family: Tahoma; }

/* ========== 论坛首页：快捷标签行 ========== */
.dz-tabsrow {
    display: flex; align-items: center; justify-content: space-between;
    background: #FFF; border-radius: var(--dz-radius); box-shadow: var(--dz-shadow);
    padding: 10px 15px; margin-bottom: 10px; flex-wrap: wrap; gap: 8px;
}
.dz-tabsrow .dz-qtabs a {
    display: inline-block; height: 30px; line-height: 30px; padding: 0 14px;
    margin-right: 8px; border-radius: 4px; font-size: 13px;
    color: #155BD5; background: #ECF3FB;
}
.dz-tabsrow .dz-qtabs a:hover { background: #E1E9F8; color: #155BD5; }
.dz-tabsrow .dz-qtabs a.a { background: #155BD5; color: #FFF; font-weight: 700; }
.dz-tabsrow .dz-qstats { font-size: 13px; color: #666; }
.dz-tabsrow .dz-qstats em { color: #FF6951; font-weight: 700; font-family: Tahoma; font-style: normal; }
.dz-tabsrow .dz-qstats .pipe { margin: 0 8px; color: #DDD; }

/* ========== 论坛首页：公告行 + 我要发帖 ========== */
.dz-annrow {
    display: flex; align-items: center; gap: 10px;
    background: #FFF; border-radius: var(--dz-radius); box-shadow: var(--dz-shadow);
    padding: 8px 8px 8px 15px; margin-bottom: 12px;
}
.dz-annrow .dz-ann-ico { color: #FF6951; flex: 0 0 auto; }
.dz-annrow .dz-ann-text {
    flex: 1; min-width: 0; font-size: 13px; color: #666;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dz-annrow .dz-ann-text b { color: #C0392B; margin: 0 2px; }
.dz-postbig {
    display: inline-flex; align-items: center; gap: 6px; height: 44px; flex: 0 0 auto;
    padding: 0 28px; background: #155BD5; color: #FFF !important;
    border-radius: 6px; font-size: 15px; font-weight: 700;
    box-shadow: 0 2px 8px rgba(21, 91, 213, .25);
}
.dz-postbig:hover { background: #1050BE; color: #FFF !important; }

/* ========== 卡片 .bm ========== */
.bm {
    background: #FFF;
    border-radius: var(--dz-radius);
    box-shadow: var(--dz-shadow);
    margin-bottom: 12px;
    overflow: hidden;
}
.bm_h {
    padding: 0 15px; height: 44px; line-height: 44px;
    border-bottom: 1px solid #ECF3FB;
    font-size: 16px; font-weight: 700; color: #333;
    white-space: nowrap; overflow: hidden;
}
.bm_h a, .bm_h h2, .bm_h h3 { color: #333; font-size: 16px; font-weight: 700; display: inline-block; }
.bm_h a:hover { color: #155BD5; }
.bm_h .o { float: right; font-weight: 400; font-size: 13px; color: #999; }
.bm_h .o a { font-size: 13px; color: #999; font-weight: 400; }
.bm_h .o a:hover { color: #155BD5; }
.bm_c { padding: 12px 15px; }

/* ========== 论坛首页板块表格 ========== */
.fl_tb { width: 100%; table-layout: fixed; }
.fl_tb tr.fl_row td { border-bottom: 1px solid #F3F4F6; padding: 14px 6px; vertical-align: top; }
.fl_tb tr.fl_row:last-child td { border-bottom: 0; }
.fl_tb .fl_icn { width: 64px; text-align: center; }
.dz-forum-icon {
    display: inline-block; width: 44px; height: 44px; line-height: 44px;
    border-radius: 10px; color: #FFF; font-size: 18px; font-weight: 700;
    text-align: center; overflow: hidden; background: #155BD5;
}
.fl_tb .fl_g { padding-left: 4px; }
.fl_tb .fl_g h3 { font-size: 15px; font-weight: 700; }
.fl_tb .fl_g h3 a { color: #155BD5; }
.fl_tb .fl_g h3 a:hover { color: #FF6951; }
.fl_tb .fl_g .dz-today { color: #999; font-size: 12px; font-weight: 400; margin-left: 6px; }
.fl_tb .fl_g .dz-today em { color: #FF6951; font-weight: 700; }
.fl_tb .fl_g p.dz-fdesc { color: #999; font-size: 12px; margin-top: 2px; max-width: 560px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl_tb .fl_g .dz-fsub { margin-top: 4px; font-size: 12px; color: #999; }
.fl_tb .fl_g .dz-fsub a { color: #999; }
.fl_tb .fl_g .dz-fsub a:hover { color: #155BD5; }
.fl_tb .fl_g .dz-fsub em { color: #CCC; margin: 0 2px; }
.fl_tb .fl_i { width: 130px; text-align: center; color: #999; font-size: 12px; line-height: 1.9; padding-top: 4px; }
.fl_tb .fl_i em { color: #FF6951; font-weight: 700; font-family: Tahoma; }
.fl_tb .fl_by { width: 230px; color: #999; font-size: 12px; line-height: 1.9; padding-top: 4px; }
.fl_tb .fl_by cite { color: #999; }
.fl_tb .fl_by a.dz-lasttitle { display: block; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.fl_tb .fl_by a.dz-lasttitle:hover { color: #155BD5; }

/* ========== 统计条 & 在线 ========== */
.dz-chart { font-size: 13px; color: #666; }
.dz-chart em { color: #FF6951; font-weight: 700; font-family: Tahoma; }
.dz-chart .pipe { margin: 0 10px; }
.dz-online strong { color: #FF6951; }
.dz-online p { font-size: 13px; color: #666; line-height: 2; }

/* ========== 帖子列表页 ========== */
.dz-fheader { display: flex; align-items: flex-end; justify-content: space-between; padding: 4px 0 12px; }
.dz-fheader h1 { font-size: 22px; color: #333; font-weight: 700; }
.dz-fheader h1 a { color: #333; }
.dz-fheader h1 a:hover { color: #155BD5; }
.dz-fheader .dz-fdesc { color: #999; font-size: 12px; margin-top: 2px; }

.dz-fnav { display: flex; align-items: center; justify-content: space-between; padding: 8px 15px; background: #FFF; border-radius: var(--dz-radius); box-shadow: var(--dz-shadow); margin-bottom: 10px; }
.dz-fnav .dz-ntabs a {
    display: inline-block; height: 28px; line-height: 28px; padding: 0 14px;
    border-radius: 3px; font-size: 13px; color: #666; margin-right: 6px;
    background: transparent; border: 1px solid transparent;
}
.dz-fnav .dz-ntabs a:hover { color: #155BD5; background: #ECF3FB; }
.dz-fnav .dz-ntabs a.a { background: #155BD5; color: #FFF; }
.dz-tpbtn {
    display: inline-block; height: 32px; line-height: 32px; padding: 0 18px;
    background: #155BD5; color: #FFF !important; border-radius: 3px;
    font-size: 14px; font-weight: 700;
}
.dz-tpbtn:hover { background: #1050BE; color: #FFF !important; }

/* 板块规则 */
.dz-rules { font-size: 13px; color: #666; line-height: 1.9; }
.dz-rules a { color: #155BD5; }

/* 帖子列表表格 */
.tl { width: 100%; table-layout: fixed; }
.tl th, .tl td { padding: 12px 8px; border-bottom: 1px solid #F3F4F6; }
.tl thead th {
    height: 34px; padding: 0 8px; font-size: 12px; font-weight: 400;
    color: #999; text-align: left; background: #FCFCFD;
    border-bottom: 1px solid #EEE;
}
.tl .icn { width: 56px; text-align: center; }
.tl .common { font-weight: 400; }
.tl .new .xst { color: #155BD5; font-weight: 700; }
.tl .xst { font-size: 14px; color: #333; }
.tl .xst:hover { color: #FF6951; }
.tl .dz-tbadge {
    display: inline-block; font-size: 11px; line-height: 16px; height: 16px;
    padding: 0 5px; border-radius: 2px; margin-right: 4px; vertical-align: 2px;
    color: #FFF; background: #999;
}
.tl .dz-tbadge.b-pin { background: #FF6951; }
.tl .dz-tbadge.b-essence { background: #F5A623; }
.tl .dz-tbadge.b-lock { background: #999; }
.tl .dz-tbadge.b-pending { background: #36B37E; }
.tl .dz-tbadge.b-hl { color: #333; }
.tl .dz-tclass { color: #999; font-size: 12px; margin-left: 6px; }
.tl .by { width: 130px; font-size: 12px; color: #999; }
.tl .by cite, .tl .by em { display: block; line-height: 1.8; }
.tl .by a { color: #666; }
.tl .by a:hover { color: #155BD5; }
.tl .num { width: 110px; text-align: center; font-size: 12px; color: #999; line-height: 1.7; }
.tl .num em { display: block; color: #FF6951; font-size: 16px; font-weight: 700; font-family: Tahoma; }
.tl .num em.xi2 { color: #999; font-size: 12px; font-weight: 400; }
.tl .by.lastpost { width: 150px; }
.tl tr:hover td { background: #FAFBFC; }
.tl thead tr:hover th { background: #FCFCFD; }

/* 子版块横排 */
.dz-subf { padding: 4px 0; }
.dz-subf .dz-subf-item {
    float: left; width: 50%; box-sizing: border-box; padding: 10px 15px;
    border-bottom: 1px solid #F3F4F6;
}
.dz-subf .dz-subf-item .zi-icn {
    display: inline-block; width: 34px; height: 34px; line-height: 34px; float: left;
    border-radius: 8px; color: #FFF; text-align: center; font-size: 14px; font-weight: 700;
    margin-right: 10px;
}
.dz-subf .dz-subf-item h4 { font-size: 14px; }
.dz-subf .dz-subf-item h4 a { color: #155BD5; font-weight: 700; }
.dz-subf .dz-subf-item h4 a:hover { color: #FF6951; }
.dz-subf .dz-subf-item p { color: #999; font-size: 12px; }
.dz-subf .dz-subf-item p em { color: #FF6951; font-family: Tahoma; }

/* ========== 分页 ========== */
.pgs { padding: 14px 15px; text-align: right; font-size: 13px; }
.pgs .pg a, .pgs .pg strong, .pgs .pg label {
    display: inline-block; min-width: 20px; margin-left: 4px;
    padding: 0 7px; height: 26px; line-height: 26px; text-align: center;
    border: 1px solid #EEE; background: #FFF; color: #666;
    border-radius: 3px; cursor: pointer;
}
.pgs .pg a:hover { border-color: #155BD5; color: #155BD5; }
.pgs .pg strong { background: #155BD5; border-color: #155BD5; color: #FFF; font-weight: 700; }
.pgs .pg label { color: #999; cursor: default; }

/* ========== 帖子详情页 ========== */
.dz-tmh { padding: 14px 15px 12px; border-bottom: 1px solid #ECF3FB; }
.dz-tmh h1.tc-h { font-size: 20px; line-height: 1.5; color: #333; font-weight: 700; }
.dz-tmh .dz-tmeta { margin-top: 8px; font-size: 13px; color: #999; }
.dz-tmh .dz-tmeta .dz-tsep { margin: 0 10px; color: #E3E3E3; }
.dz-tmh .dz-tmeta a { color: #155BD5; }
.dz-tmh .dz-tmeta span.dz-tcell { display: inline-block; }
.dz-tmh .dz-tmeta b { color: #FF6951; font-family: Tahoma; font-size: 15px; }
.dz-tmh .dz-tmeta .dz-rop a { color: #666; margin-left: 10px; }
.dz-tmh .dz-tmeta .dz-rop a:hover { color: #155BD5; }

/* 帖内顶部/底部通用分页 */
.dz-pgbar { padding: 10px 15px; border-bottom: 1px solid #F3F4F6; font-size: 13px; }
.dz-pgbar .pg a, .dz-pgbar .pg strong, .dz-pgbar .pg label {
    display: inline-block; min-width: 20px; margin-right: 4px;
    padding: 0 7px; height: 24px; line-height: 24px; text-align: center;
    border: 1px solid #EEE; background: #FFF; color: #666;
    border-radius: 3px; cursor: pointer;
}
.dz-pgbar .pg a:hover { border-color: #155BD5; color: #155BD5; }
.dz-pgbar .pg strong { background: #155BD5; border-color: #155BD5; color: #FFF; font-weight: 700; }
.dz-pgbar select { height: 26px; border: 1px solid #EEE; border-radius: 3px; font-size: 12px; color: #666; }

.pl { display: flex; align-items: stretch; background: #FFF; border-bottom: 1px solid #F3F4F6; }
.pl:last-of-type { border-bottom: 0; }
.pls {
    width: 200px; flex: 0 0 200px; box-sizing: border-box;
    padding: 18px 12px 14px; text-align: center;
    background: #FBFCFD; border-right: 1px solid #F0F2F5;
}
.pls .dz-pava img {
    width: 76px; height: 76px; border-radius: 8px;
    border: 1px solid #E3E3E3; background: #FFF; padding: 2px;
}
.pls .dz-pname { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; color: #333; }
.pls .dz-pname:hover { color: #155BD5; }
.pls .dz-pgroup { display: inline-block; margin-top: 2px; font-size: 12px; }
.pls .dz-ptns { margin: 8px auto 0; width: 170px; border-top: 1px solid #F0F2F5; border-bottom: 1px solid #F0F2F5; padding: 6px 0; }
.pls .dz-ptns td { text-align: center; width: 50%; }
.pls .dz-ptns b { display: block; font-size: 16px; color: #FF6951; font-family: Tahoma; line-height: 1.3; }
.pls .dz-ptns p { margin: 0; font-size: 12px; color: #999; }
.pls dl { margin: 6px auto 0; width: 170px; font-size: 12px; color: #999; text-align: left; }
.pls dt { float: left; clear: left; width: 58px; color: #AAA; }
.pls dd { margin-left: 60px; color: #666; font-family: Tahoma; }

.plc { flex: 1; min-width: 0; box-sizing: border-box; padding: 0; display: flex; flex-direction: column; }
.dz-plinfo { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; font-size: 12px; color: #999; border-bottom: 1px dotted #F0F2F5; }
.dz-plinfo .dz-ptime a { color: #999; }
.dz-plinfo .dz-ptime a:hover { color: #155BD5; }
.dz-plinfo .dz-floor { font-size: 12px; color: #999; }
.dz-plinfo .dz-floor .dz-floornum { color: #155BD5; font-weight: 700; font-size: 14px; font-family: Tahoma; margin-left: 4px; }
.dz-plinfo .dz-floor a.dz-floornum:hover { color: #FF6951; }
.dz-floortag {
    display: inline-block; padding: 0 6px; height: 18px; line-height: 18px;
    background: #F0F4F8; border: 1px solid #C2D5E3; color: #3D7FC2;
    border-radius: 3px; font-size: 12px; font-weight: 700; margin-left: 6px;
}
.dz-floortag.author { background: #E6F0FF; border-color: #B3D4FF; color: #2B65B7; }

/* 电梯（输入楼层直达） */
.dz-ele { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; vertical-align: middle; }
.dz-ele-input {
    width: 56px; height: 22px; padding: 0 6px; box-sizing: border-box;
    border: 1px solid #DDD; border-radius: 3px; font-size: 12px; color: #333;
    outline: none; font-family: Tahoma, inherit; text-align: center; background: #FFF;
}
.dz-ele-input:focus { border-color: #155BD5; }
.dz-ele-input::-webkit-outer-spin-button, .dz-ele-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dz-ele button {
    height: 22px; padding: 0 8px; background: #155BD5; color: #FFF !important;
    border: 0; border-radius: 3px; font-size: 12px; cursor: pointer; font-family: inherit;
}
.dz-ele button:hover { background: #1050BE; }
.t_f { padding: 10px 15px 14px; font-size: 15px; line-height: 1.9; color: #333; overflow-wrap: break-word; flex: 1 0 auto; }
.t_f img { max-width: 100%; }
.t_f blockquote { margin: 10px 0; padding: 8px 12px; background: #F7F9FB; border-left: 3px solid #C2D5E3; color: #666; }
.pcb { padding: 6px 15px 0; }
.dz-plfoot { display: flex; align-items: center; gap: 14px; padding: 8px 15px 12px; font-size: 12px; border-top: 1px dotted #F0F2F5; }
.dz-plfoot a, .dz-plfoot button { color: #999; background: none; border: 0; cursor: pointer; font-size: 12px; padding: 0; font-family: inherit; }
.dz-plfoot a:hover, .dz-plfoot button:hover { color: #155BD5; }
.dz-plfoot .dz-like.liked { color: #FF6951; }
.dz-sign { margin: 0 15px; padding: 8px 0; border-top: 1px dashed #EEE; font-size: 12px; color: #AAA; }

/* 快捷回复框（左侧当前用户头像） */
.dz-qrwrap { display: flex; gap: 12px; padding: 0; }
.dz-qrwrap .dz-qava { flex: 0 0 60px; padding-top: 4px; text-align: center; }
.dz-qrwrap .dz-qava img { width: 52px; height: 52px; border-radius: 6px; border: 1px solid #E3E3E3; }
.dz-qrwrap .dz-qmain { flex: 1; min-width: 0; }

/* 回复框 / 编辑器 */
.dz-replybox { padding: 6px 15px 16px; }
.dz-replybox h3 { font-size: 15px; padding: 8px 0; }
.dz-replyform-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.dz-replyform-foot label { font-size: 13px; color: #666; }
.dz-loginhint { padding: 14px 15px; font-size: 13px; color: #666; }
.dz-loginhint a { color: #155BD5; }

/* 通用按钮 */
.dz-btn {
    display: inline-block; height: 34px; line-height: 34px; padding: 0 20px;
    background: #155BD5; color: #FFF !important; border: 0; border-radius: 4px;
    font-size: 14px; cursor: pointer; font-family: inherit;
}
.dz-btn:hover { background: #1050BE; }
.dz-btn-outline {
    display: inline-block; height: 32px; line-height: 30px; padding: 0 16px;
    background: #FFF; color: #666 !important; border: 1px solid #DDD; border-radius: 4px;
    font-size: 13px; cursor: pointer;
}
.dz-btn-outline:hover { border-color: #155BD5; color: #155BD5 !important; }

/* 评论/楼中楼等弹层沿用默认结构，补充外观 */
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 9998; justify-content: center; align-items: center; }
.modal-dialog { background: #FFF; border-radius: 8px; width: 520px; max-width: 92vw; max-height: 80vh; display: flex; flex-direction: column; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #EEE; }
.modal-title { font-size: 15px; }
.modal-close { background: none; border: 0; font-size: 22px; line-height: 1; color: #999; cursor: pointer; }
.modal-body { padding: 12px 16px; overflow-y: auto; }
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 16px; border-top: 1px solid #EEE; }
.sub-reply-item, .comment-item { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px dashed #F0F0F0; }
.sub-reply-avatar, .comment-avatar { width: 28px; height: 28px; border-radius: 50%; }
.sub-reply-username, .comment-username { color: #155BD5; margin-right: 6px; font-size: 13px; }
.sub-reply-text, .comment-text { color: #333; font-size: 13px; }
.sub-reply-time, .comment-time { color: #999; font-size: 12px; margin-left: 6px; }
.sub-reply-textarea, .comment-form textarea {
    width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #DDD;
    border-radius: 4px; font-size: 13px; font-family: inherit; resize: vertical;
}
.sub-reply-empty, .comment-empty { padding: 18px 0; text-align: center; color: #999; font-size: 13px; }
.comments-section { margin: 0 15px; padding: 10px 0; border-top: 1px solid #F0F2F5; }
.comments-title { font-size: 14px; margin-bottom: 6px; }

/* 版主操作栏 */
.mod-toolbar { margin: 0 0 10px; background: #FFF8E6; border: 1px solid #FFD591; border-radius: 4px; padding: 6px 12px; font-size: 12.5px; line-height: 1.8; }
.mod-toolbar-title { color: #D48806; font-weight: bold; margin-right: 8px; }
.mod-btn { color: #155BD5; text-decoration: none; margin: 0 2px; padding: 1px 4px; border-radius: 2px; }
.mod-btn:hover { background: #155BD5; color: #FFF; }
.mod-btn-danger { color: #C00; }
.mod-btn-danger:hover { background: #C00; color: #FFF; }
.mod-sep { color: #CCC; margin: 0 2px; }

/* ========== 个人空间 ========== */
.dz-space-head { position: relative; background: #FFF; border-radius: var(--dz-radius); box-shadow: var(--dz-shadow); margin-bottom: 12px; overflow: hidden; }
.dz-space-banner { height: 120px; background: linear-gradient(120deg, #155BD5 0%, #3D7FC2 60%, #5B9BD5 100%); }
.dz-space-main { display: flex; align-items: flex-end; padding: 0 20px 16px; margin-top: -42px; }

/* flex 容器禁用 clearfix 伪元素：避免 ::after 成为多余 flex 项挤占 space-between 布局
   （注意：.dz-me / .dz-apps-wrap 的 ::after 是下拉悬停桥接区，不在禁用之列） */
.dz-tabsrow::after, .dz-annrow::after, .dz-hd::after,
.dz-hacts::after, .dz-space-main::after, .dz-plinfo::after,
.dz-qrwrap::after, .dz-replyform-foot::after { display: none; }
.dz-space-ava img { width: 96px; height: 96px; border-radius: 50%; border: 3px solid #FFF; background: #FFF; }
.dz-space-id { margin-left: 14px; padding-bottom: 4px; }
.dz-space-id h2 { font-size: 20px; color: #333; }
.dz-space-id .dz-sgroup { margin-left: 8px; font-size: 12px; }
.dz-space-id .dz-ssig { color: #999; font-size: 12px; margin-top: 2px; max-width: 600px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dz-space-act { margin-left: auto; padding-bottom: 6px; }
.dz-space-act .dz-btn-outline { margin-left: 8px; }
.dz-space-act .follow-btn.following { border-color: #B3D4FF; color: #155BD5 !important; }
.dz-space-stats { display: flex; border-top: 1px solid #F0F2F5; }
.dz-space-stats a { flex: 1; text-align: center; padding: 12px 0; border-right: 1px solid #F0F2F5; }
.dz-space-stats a:last-child { border-right: 0; }
.dz-space-stats strong { display: block; font-size: 20px; color: #FF6951; font-family: Tahoma; }
.dz-space-stats span { font-size: 12px; color: #999; }
.dz-space-stats a:hover { background: #FAFBFC; }

.dz-space-body { display: flex; gap: 12px; align-items: flex-start; }
.dz-space-mn { flex: 1; min-width: 0; }
.dz-space-sd { width: 280px; flex: 0 0 280px; }

.dz-thlist li { padding: 11px 15px; border-bottom: 1px solid #F3F4F6; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dz-thlist li:last-child { border-bottom: 0; }
.dz-thlist .t a { color: #333; font-size: 14px; }
.dz-thlist .t a:hover { color: #155BD5; }
.dz-thlist .m { color: #999; font-size: 12px; white-space: nowrap; }
.dz-thlist .m em { font-family: Tahoma; }

.dz-medals { display: flex; flex-wrap: wrap; gap: 12px; }
.dz-medal { width: 76px; text-align: center; }
.dz-medal img, .dz-medal .mi { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; }
.dz-medal p { font-size: 12px; color: #666; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.dz-pdl li { display: flex; justify-content: space-between; padding: 8px 15px; font-size: 13px; border-bottom: 1px dashed #F3F4F6; }
.dz-pdl li:last-child { border-bottom: 0; }
.dz-pdl .l { color: #999; }
.dz-pdl .v { color: #333; font-family: Tahoma; }

/* ========== 登录 / 注册 ========== */
.auth-page { display: flex; justify-content: center; padding: 30px 0 50px; }
.auth-card {
    width: 400px; background: #FFF; border-radius: var(--dz-radius);
    box-shadow: var(--dz-shadow); padding: 30px 34px 24px;
}
.auth-card .auth-logo { text-align: center; margin-bottom: 18px; }
.auth-card .auth-logo a { font-size: 24px; font-weight: 700; color: #155BD5; }
.auth-title { font-size: 20px; text-align: center; color: #333; margin-bottom: 6px; }
.auth-subtitle { text-align: center; color: #999; font-size: 13px; margin-bottom: 20px; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.auth-form input[type="text"], .auth-form input[type="password"], .auth-form input[type="email"] {
    width: 100%; height: 40px; box-sizing: border-box; padding: 0 12px;
    border: 1px solid #DDD; border-radius: 4px; outline: none; font-size: 14px;
    color: #333; background: #FFF; font-family: inherit;
}
.auth-form input:focus { border-color: #155BD5; }
.auth-form .check-label { display: flex; align-items: center; gap: 6px; }
.auth-form .btn-block, .auth-form button[type="submit"] {
    width: 100%; height: 42px; background: #155BD5; color: #FFF; border: 0;
    border-radius: 4px; font-size: 15px; cursor: pointer; font-family: inherit;
}
.auth-form button[type="submit"]:hover { background: #1050BE; }
.auth-footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid #F0F0F0; font-size: 13px; color: #666; text-align: center; }
.auth-footer a { color: #155BD5; }
.auth-footer p { margin: 4px 0; }
.captcha-wrap { display: flex; gap: 10px; align-items: center; }
.captcha-wrap input { flex: 1; }

/* 表单告警 */
.alert { padding: 10px 14px; border-radius: 4px; font-size: 13px; margin-bottom: 14px; }
.alert-success { background: #E8F6EF; border: 1px solid #B7E4CD; color: #1E7E52; }
.alert-error { background: #FDECEE; border: 1px solid #F5B8C1; color: #C0392B; }
.alert-warning { background: #FFF8E6; border: 1px solid #FFD591; color: #D48806; }

/* ========== 空状态 ========== */
.dz-empty { padding: 50px 20px; text-align: center; color: #999; font-size: 13px; }

/* ========== 友情链接 ========== */
.dz-links { font-size: 13px; }
.dz-links a { margin-right: 14px; color: #666; }
.dz-links a:hover { color: #155BD5; }
.dz-links img { height: 31px; vertical-align: middle; margin-right: 4px; }

/* ========== 页脚 ========== */
#ft { padding: 16px 0 30px; text-align: center; color: #999; font-size: 12px; line-height: 2; }
#ft a { color: #666; margin: 0 6px; }
#ft a:hover { color: #155BD5; }
#ft .dz-friendlinks { margin-bottom: 4px; }
#ft .dz-friendlinks span { color: #999; }

/* ========== 回退页兼容：覆盖基础样式表变量，统一 dismall 配色 ========== */
body.dz-body {
    --primary: #155BD5;
    --primary-hover: #1050BE;
    --primary-light: #ECF3FB;
}
body.dz-body .container { max-width: 1200px; }
body.dz-body .btn-primary { border-radius: 4px; }
body.dz-body .card, body.dz-body .section-card {
    border: 0; border-radius: var(--dz-radius); box-shadow: var(--dz-shadow);
}

/* ========== 响应式（简单降级） ========== */
@media (max-width: 1240px) {
    .wp { width: 1000px; }
    #hd .dz-menu li a { padding: 5px 12px; font-size: 15px; }
}
@media (max-width: 1040px) {
    body { min-width: 0; }
    .wp { width: auto; padding: 0 10px; }
    #hd .dz-hd { height: auto; flex-wrap: wrap; padding: 8px 0; }
    #hd .dz-menu { order: 3; width: 100%; overflow-x: auto; }
    .pl { flex-direction: column; }
    .pls { width: auto; flex: none; border-right: 0; border-bottom: 1px solid #F0F2F5; }
    .tl th.by, .tl td.by { display: none; }
    .dz-space-body { flex-direction: column; }
    .dz-space-sd { width: auto; flex: none; }
    .dz-space-main { flex-wrap: wrap; }
    .dz-space-act { margin-left: 0; }
}
/* ========== 板块横排（首页子板块 N 列卡片） ========== */
.dz-hgrid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); }
.dz-hgrid .dz-hcell {
    display: flex; gap: 12px; padding: 16px 15px;
    border-right: 1px solid #F3F4F6; border-bottom: 1px solid #F3F4F6;
    min-width: 0;
}
.dz-hgrid .dz-hico {
    flex: 0 0 44px; width: 44px; height: 44px; line-height: 44px; text-align: center;
    border-radius: 10px; color: #FFF; font-size: 16px; font-weight: 700; overflow: hidden;
}
.dz-hgrid .dz-hinfo { flex: 1; min-width: 0; }
.dz-hgrid .dz-hinfo h3 { font-size: 15px; font-weight: 700; }
.dz-hgrid .dz-hinfo h3 a { color: #155BD5; }
.dz-hgrid .dz-hinfo h3 a:hover { color: #FF6951; }
.dz-hgrid .dz-hdesc {
    color: #999; font-size: 12px; margin-top: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dz-hgrid .dz-hnums { color: #999; font-size: 12px; margin-top: 6px; }
.dz-hgrid .dz-hnums em { color: #FF6951; font-family: Tahoma; font-weight: 700; font-style: normal; }
@media (max-width: 1040px) {
    .dz-hgrid { grid-template-columns: 1fr 1fr; }
    .dz-hgrid .dz-hcell { border-right: 0; }
}

/* ========== 点评弹窗增强：快捷短语 / 字数统计 / 积分赠送 / 行内提示 ========== */
#comment-modal .comment-modal-editor {
    flex-shrink: 0;
    padding: 10px 16px;
    border-top: 1px solid #EEEEEE;
    background: #F9F9FA;
}
.comment-quick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.comment-quick-chip {
    border: 1px solid #D5E3F8; background: #ECF3FB; color: #155BD5;
    font-size: 12px; padding: 3px 12px; border-radius: 999px;
    cursor: pointer; transition: all .2s; font-family: inherit;
}
.comment-quick-chip:hover { background: #155BD5; border-color: #155BD5; color: #FFF; }
.comment-input-wrap { position: relative; }
#comment-modal .comment-input-wrap textarea {
    width: 100%; box-sizing: border-box; padding: 8px 10px 26px;
    border: 1px solid #DDD; border-radius: 4px; font-size: 13px; line-height: 1.6;
    resize: vertical; font-family: inherit; background: #FFF;
    transition: border-color .2s, box-shadow .2s;
}
#comment-modal .comment-input-wrap textarea:focus {
    outline: none; border-color: #155BD5; box-shadow: 0 0 0 3px rgba(21, 91, 213, .12);
}
.comment-counter {
    position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: #999;
    pointer-events: none; background: rgba(255, 255, 255, .85); padding: 0 2px; border-radius: 4px;
}
#comment-modal .comment-counter span { color: #155BD5; font-weight: 600; }
.comment-gift-row {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    margin-top: 10px; padding: 8px 10px; background: #FFF;
    border: 1px dashed #D5E3F8; border-radius: 4px;
}
.comment-gift-label { font-size: 13px; color: #FF6951; font-weight: 600; white-space: nowrap; }
.comment-gift-select {
    height: 28px; padding: 0 6px; border: 1px solid #DDD; border-radius: 4px;
    font-size: 13px; color: #333; background: #FFF; font-family: inherit;
}
.comment-gift-select:focus { outline: none; border-color: #155BD5; }
.comment-gift-input {
    width: 90px; height: 28px; padding: 0 8px; border: 1px solid #DDD; border-radius: 4px;
    font-size: 13px; color: #333; font-family: inherit; box-sizing: border-box;
}
.comment-gift-input:focus { outline: none; border-color: #155BD5; }
.comment-gift-balance { font-size: 12px; color: #999; }
.comment-gift-balance b { color: #FF6951; }
#comment-modal .modal-footer { align-items: center; }
.comment-modal-msg { display: none; font-size: 12.5px; color: #D48806; margin-right: auto; }
.comment-modal-msg.ok { color: #1AAD19; }
.comment-modal-msg.err { color: #E64340; }
@media (max-width: 600px) {
    .comment-quick-row { gap: 6px; }
    .comment-quick-chip { padding: 2px 10px; }
}
.comment-gift-tag {
    display: inline-block; margin-left: 6px; padding: 1px 8px;
    background: #FFF7E8; border: 1px solid #F5D9A8; border-radius: 999px;
    color: #D48806; font-size: 11px; font-weight: 600; line-height: 18px;
    vertical-align: 1px; white-space: nowrap;
}

/* 板块名后的今日新帖数量（纯文本） */
.dz-newcount {
    margin-left: 6px;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    vertical-align: 1px;
}
