/* BoosMall PC：forum 页面样式（自模板内联样式抽取） */
html,body{height:100%;}
body{display:flex;flex-direction:column;}
.bm-wrapper{flex:1 0 auto;display:flex;flex-direction:column;}
.bm-main{flex:1 0 auto;}
.bm-footer{flex-shrink:0;}

/* ================= 书评论坛 ================= */
.bm-f-crumb{font-size:13px;color:#999;padding:14px 2px 10px;}
.bm-f-crumb a{color:#999;text-decoration:none;}
.bm-f-crumb a:hover{color:var(--bm-primary);}
.bm-f-crumb .bm-fc-cur{color:var(--bm-dark);}
/* 论坛头图（书名号频道/板块名） */
.bm-f-head{background:linear-gradient(135deg,#fff5f4,#ffe9e6);border:1px solid #ffe0dc;border-radius:8px;padding:22px 26px;margin-bottom:18px;display:flex;align-items:center;gap:18px;}
.bm-f-head h1{font-size:22px;color:var(--bm-dark);font-weight:bold;margin:0;}
.bm-f-head .bm-fh-sub{color:#a97;font-size:13px;margin-top:6px;}
.bm-f-head .bm-fh-cover{width:64px;height:86px;object-fit:cover;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);}
.bm-f-head .bm-fh-btn{margin-left:auto;display:flex;flex-direction:column;gap:8px;align-items:stretch;}
/* 统计 */
.bm-f-stat{display:flex;gap:0;background:#fff;border:1px solid var(--bm-border);border-radius:8px;margin-bottom:18px;overflow:hidden;}
.bm-f-stat .bm-fs-item{flex:1;text-align:center;padding:16px 4px;border-right:1px solid var(--bm-border);}
.bm-f-stat .bm-fs-item:last-child{border-right:0;}
.bm-f-stat b{display:block;font-size:22px;color:var(--bm-primary);font-weight:bold;}
.bm-f-stat span{font-size:12px;color:#999;}
/* 板块树 */
.bm-f-plate-item{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:6px;text-decoration:none;color:#444;font-size:14px;}
.bm-f-plate-item:hover{background:#fff5f4;color:var(--bm-primary);}
.bm-f-plate-item.bm-active{background:#fff5f4;color:var(--bm-primary);font-weight:bold;}
.bm-f-plate-item .bm-fpi-ico{flex:0 0 auto;}
.bm-f-plate-item .bm-fpi-num{margin-left:auto;font-size:11px;color:#999;background:#f2f3f5;border-radius:9px;padding:1px 7px;}
.bm-f-plate-item.bm-active .bm-fpi-num{background:rgba(229,77,66,.12);color:var(--bm-primary);}
.bm-f-plate-lv1{padding-left:26px;}
.bm-f-plate-sub{margin:2px 0 4px;padding-left:0;border-left:2px solid #fbe9e7;margin-left:16px;padding-left:4px;}
/* 帖子行 */
.bm-f-thread{display:flex;gap:14px;padding:16px 20px;border-bottom:1px solid #f2f3f5;transition:background .2s;}
.bm-f-thread:hover{background:#fafbfc;}
.bm-f-thread:last-child{border-bottom:0;}
.bm-f-thread .bm-ft-avatar{flex:0 0 auto;width:42px;height:42px;border-radius:50%;overflow:hidden;background:#f2f3f5;}
.bm-f-thread .bm-ft-avatar img{width:100%;height:100%;object-fit:cover;}
.bm-f-thread .bm-ft-body{flex:1;min-width:0;}
.bm-f-thread .bm-ft-title{font-size:15px;color:var(--bm-dark);font-weight:bold;text-decoration:none;line-height:1.5;word-break:break-all;}
.bm-f-thread:hover .bm-ft-title{color:var(--bm-primary);}
.bm-ft-flag{display:inline-block;vertical-align:1px;font-size:11px;line-height:16px;padding:0 5px;border-radius:3px;margin-left:6px;}
.bm-ft-flag.red{background:var(--bm-primary);color:#fff;}
.bm-ft-flag.gold{background:#f7b500;color:#fff;}
.bm-ft-flag.gray{background:#f2f3f5;color:#999;}
.bm-ft-flag.lock{background:#eef;color:#66f;margin-left:0;}
.bm-f-thread .bm-ft-meta{display:flex;align-items:center;gap:14px;font-size:12px;color:#999;margin-top:8px;flex-wrap:wrap;}
.bm-f-thread .bm-ft-meta a{color:#999;text-decoration:none;}
.bm-f-thread .bm-ft-meta a:hover{color:var(--bm-primary);}
.bm-f-thread .bm-ft-meta .bm-ft-book{display:inline-flex;align-items:center;gap:5px;color:#a46;background:#fdf3f5;border-radius:3px;padding:1px 8px;}
.bm-f-thread .bm-ft-meta .bm-ft-book img{width:20px;height:26px;object-fit:cover;border-radius:2px;}
.bm-f-thread .bm-ft-meta .bm-ft-book:hover{color:var(--bm-primary);}
.bm-f-thread .bm-ft-counts{flex:0 0 auto;text-align:center;align-self:center;}
.bm-f-thread .bm-ft-counts b{display:block;font-size:20px;color:var(--bm-primary);font-weight:bold;}
.bm-f-thread .bm-ft-counts span{font-size:11px;color:#aaa;}
.bm-f-thread .bm-ft-last{flex:0 0 auto;width:120px;text-align:right;align-self:center;font-size:11px;color:#aaa;line-height:1.8;}
/* 版主卡 */
.bm-f-mods{display:flex;align-items:center;gap:10px;padding:8px 2px;}
.bm-f-mods img{width:30px;height:30px;border-radius:50%;}
.bm-f-mods .bm-fm-name{font-size:13px;color:#444;}
.bm-f-mods .bm-fm-tag{font-size:11px;color:var(--bm-primary);background:#fff5f4;border-radius:3px;padding:0 6px;}
/* 公告行 */
.bm-f-notice{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px dashed #f2f3f5;text-decoration:none;}
.bm-f-notice:last-child{border-bottom:0;}
.bm-f-notice:hover{background:#fafbfc;}
.bm-f-notice .bm-fn-tag{flex:0 0 auto;color:#fff;background:#f7b500;font-size:11px;padding:1px 7px;border-radius:3px;}
.bm-f-notice .bm-fn-title{color:#555;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bm-f-notice .bm-fn-time{margin-left:auto;color:#bbb;font-size:11px;flex:0 0 auto;}
.bm-f-notice:hover .bm-fn-title{color:var(--bm-primary);}
/* 搜索框 */
.bm-f-search{display:flex;gap:10px;margin-bottom:18px;}
.bm-f-search input{flex:1;height:38px;border:1px solid var(--bm-border);border-radius:6px;padding:0 14px;font-size:13px;outline:none;}
.bm-f-search input:focus{border-color:var(--bm-primary);}
.bm-f-search button{height:38px;padding:0 22px;border:0;border-radius:6px;background:var(--bm-primary);color:#fff;cursor:pointer;font-size:14px;}
.bm-f-search button:hover{background:var(--bm-primary-dark);}
.bm-f-panel-title-link{font-size:13px;color:var(--bm-primary);text-decoration:none;}
.bm-f-panel-title-link:hover{text-decoration:underline;}
