/* ============================================================
   fuwu 社区 PC 端 — 经典论坛风·现代版 (Discourse/NodeSeek 风)
   紧凑列表 + 头像行 + 分类色块 · 信息密度优先
   覆盖层，不改动老 layout.css。回退：删本文件+移除 bbs_layout.php 引用。
   ============================================================ */

/* ========== 设计令牌（论坛风：扁平白底，去渐变） ========== */
:root{
  --brand:#2563eb;
  --brand-2:#1d4ed8;
  --brand-soft:#eff4ff;
  --ink:#111827;
  --ink-2:#374151;
  --ink-3:#9ca3af;
  --line:#e5e7eb;
  --line-soft:#f3f4f6;
  --bg:#f8f9fb;
  --card:#ffffff;
  --radius:8px;
  --radius-sm:6px;
  --shadow-sm:0 1px 2px rgba(17,24,39,.05);
}

/* ========== 全局基底 ========== */
body{
  background:var(--bg);
  color:var(--ink-2);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Segoe UI",Roboto,sans-serif;
  font-size:14px;
  line-height:1.6;
}
a{ color:var(--brand); text-decoration:none; transition:color .15s ease; }
a:hover{ color:var(--brand-2); }
img{ display:block; }
.warp-all, .wrapper{ width:1200px; margin:0 auto; }

/* ========== 顶部通栏 ========== */
.wt-topbar{ background:#fff; border-bottom:1px solid var(--line); color:var(--ink-3); font-family:inherit; }
.wt-topbar .topbar{ height:38px; line-height:38px; }
.wt-topbar a{ color:var(--ink-3); }
.wt-topbar a:hover{ color:var(--brand); }
.wt-topbar .user-entry a.login{ color:var(--brand); font-weight:600; }

/* ========== 社区头部 #topHeader ========== */
#topHeader{ background:#fff; border-bottom:1px solid var(--line); }
#topHeader .warp-all{ height:84px; display:flex; align-items:center; gap:32px; }
#topHeader .bbs-logo img{ max-height:56px; width:auto; }
#topHeader .bbs-search{ flex:1; max-width:540px; }
#topHeader .bbs-search .input-box{
  display:flex; align-items:center; width:100%; height:42px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm);
  transition:border-color .18s, box-shadow .18s;
}
#topHeader .bbs-search .input-box:focus-within{
  border-color:var(--brand); box-shadow:0 0 0 3px rgba(37,99,235,.10);
}
#topHeader .bbs-search .input-box .icon{ width:20px; height:20px; margin:0 6px 0 12px; background:none; position:relative; }
#topHeader .bbs-search .input-box .icon::before{ content:"\1F50D"; font-size:14px; line-height:20px; position:absolute; inset:0; text-align:center; color:var(--ink-3); }
#topHeader .bbs-search .input-text{ flex:1; height:100%; border:none; outline:none; background:transparent; font-size:14px; color:var(--ink); padding:0; }
#topHeader .bbs-search .input-btn{
  height:32px; margin-right:4px; padding:0 20px;
  background:var(--brand); color:#fff; border:none; border-radius:var(--radius-sm);
  font-size:14px; font-weight:600; cursor:pointer; transition:background .15s;
}
#topHeader .bbs-search .input-btn:hover{ background:var(--brand-2); }
#topHeader .bbs-search .radio-box{ margin-top:8px; }
#topHeader .bbs-search .radio-box label{ cursor:pointer; margin-right:14px; }
#topHeader .bbs-search .radio-box h5{ display:inline; font-size:12px; font-weight:400; color:var(--ink-3); margin-left:3px; }
#topHeader .bbs-search .radio-box input{ accent-color:var(--brand); vertical-align:middle; }
#topHeader .bbs-user h2 a{ font-size:14px; color:var(--ink-2); font-weight:600; }
#topHeader .bbs-user .user-login a{ color:var(--brand); font-weight:600; }
#topHeader .head-portrait .thumb img{ border-radius:50%; border:2px solid var(--line); }

/* ========== 分类导航 #navBar（扁平，当前项底部色条） ========== */
#navBar{ background:#fff; border-bottom:1px solid var(--line); }
#navBox .wt-nav-menu{ display:flex; align-items:center; gap:2px; overflow-x:auto; padding:0 8px; }
#navBox .wt-nav-menu::-webkit-scrollbar{ display:none; }
#navBox .wt-nav-menu li{ float:none; margin:0; }
#navBox .wt-nav-menu li a{
  display:block; padding:12px 16px; font-size:15px; color:var(--ink-2); font-weight:500;
  border-bottom:2px solid transparent; white-space:nowrap; transition:color .15s;
}
#navBox .wt-nav-menu li a:hover{ color:var(--brand); }
#navBox .wt-nav-menu li.current a{ color:#2563eb !important; font-weight:700; border-bottom-color:#2563eb; }

/* ========== 主导航 nav.wt-nav ========== */
nav.wt-nav{ background:#fff; border-bottom:1px solid var(--line); }
nav.wt-nav .nav li a{ color:var(--ink-2); }
nav.wt-nav .nav li a.current, nav.wt-nav .nav li a:hover{ color:var(--brand); }

/* ========== 首页 .homepage ========== */
.homepage{ padding:20px 0 40px; background:transparent; border:none; box-shadow:none; }
.home-head{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:14px 18px !important; margin-bottom:16px !important;
  display:flex; align-items:center; justify-content:space-between;
  box-shadow:var(--shadow-sm);
}
.home-head-title{ font-size:17px; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:9px; }
.home-head-title::before{ content:""; width:4px; height:18px; border-radius:2px; background:var(--brand); }

/* 区块标题统一：左侧色条 */
.recommend-group > .title,
.recommend-theme > .title{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.recommend-group h3, .recommend-theme h3{
  font-size:16px; font-weight:700; color:var(--ink); display:flex; align-items:center; gap:9px; margin:0;
}
.recommend-group h3 i, .recommend-theme h3 i{ width:4px; height:16px; border-radius:2px; background:var(--brand); display:inline-block; }

/* ---------- 推荐主题：紧凑列表行（论坛核心） ---------- */
.recommend-theme .content{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:0; overflow:hidden; box-shadow:var(--shadow-sm); }
.recommend-theme-list{ display:block; padding:0; margin:0; }
.recommend-theme-list li{
  width:100%; float:none; margin:0; padding:0;
  background:#fff; border:none; border-radius:0; box-shadow:none;
  border-bottom:1px solid var(--line-soft);
  transition:background .12s;
}
.recommend-theme-list li:last-child{ border-bottom:none; }
.recommend-theme-list li:hover{ background:#fafbfd; }
.recommend-theme-list li dl{ display:flex; align-items:center; gap:14px; margin:0; padding:13px 16px; }
.recommend-theme-list .thumb{
  width:72px; height:52px; flex-shrink:0; padding:0; margin:0;
  border-radius:var(--radius-sm); overflow:hidden; background:var(--line-soft);
}
.recommend-theme-list .thumb a{ display:block; width:100%; height:100%; }
.recommend-theme-list .thumb img{ width:100%; height:100%; object-fit:cover; }
.recommend-theme-list .theme-title{
  flex:1; min-width:0; padding:0; font-size:15px; font-weight:600; line-height:1.45;
}
.recommend-theme-list .theme-title a{ color:var(--ink); }
.recommend-theme-list .theme-title a:hover{ color:var(--brand); }
.recommend-theme-list .group-name{
  flex-shrink:0; padding:0; font-size:12px; color:var(--ink-3);
  max-width:160px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}

/* ---------- 好友晒单 ---------- */
.show-goods .title h3{ font-size:16px; font-weight:700; color:var(--ink); margin:0 0 12px; }
.show-goods dl{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:14px 16px; margin-bottom:12px; box-shadow:var(--shadow-sm);
  display:flex; flex-wrap:wrap; align-items:center; gap:12px;
}
.show-goods .member-avatar{ flex-shrink:0; }
.show-goods .theme-info{ flex:1; min-width:0; }
.show-goods .goods-list ul li.thumb img{ border-radius:var(--radius-sm); }

/* ---------- 右侧榜单 ---------- */
.layout-r .theme-top{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:14px 16px; box-shadow:var(--shadow-sm);
}
.layout-r .theme-top .tabs-nav{ display:flex; gap:2px; border-bottom:1px solid var(--line); margin-bottom:8px; }
.layout-r .theme-top .tabs-nav li{ float:none; margin:0; }
.layout-r .theme-top .tabs-nav li a{
  display:block; padding:8px 12px; font-size:14px; color:var(--ink-3); font-weight:500;
  border-bottom:2px solid transparent; margin-bottom:-1px;
}
.layout-r .theme-top .tabs-nav li a:hover{ color:var(--brand); }
.layout-r .theme-top .tabs-nav li.tabs-selected a{ color:#2563eb !important; font-weight:700; border-bottom-color:#2563eb; }
.layout-r .theme-top .tabs-panel{ counter-reset:rank; }
.layout-r .theme-top .tabs-panel li{
  display:flex; align-items:center; gap:9px; padding:9px 2px;
  border-bottom:1px dashed var(--line-soft); counter-increment:rank;
}
.layout-r .theme-top .tabs-panel li:last-child{ border-bottom:none; }
.layout-r .theme-top .tabs-panel li::before{
  content:counter(rank); flex-shrink:0; width:19px; height:19px; line-height:19px;
  text-align:center; border-radius:4px; font-size:12px; font-weight:700;
  background:var(--line-soft); color:var(--ink-3);
}
.layout-r .theme-top .tabs-panel li:nth-child(1)::before{ background:var(--brand); color:#fff; }
.layout-r .theme-top .tabs-panel li:nth-child(2)::before{ background:#6b8cd6; color:#fff; }
.layout-r .theme-top .tabs-panel li:nth-child(3)::before{ background:#9db4e3; color:#fff; }
.layout-r .theme-top .tabs-panel li .theme-title{
  flex:1; min-width:0; font-size:14px; color:var(--ink-2); font-weight:400;
  overflow:hidden; white-space:nowrap; text-align:left;
}
.layout-r .theme-top .tabs-panel li .theme-title:hover{ color:var(--brand); }
.layout-r .theme-top .tabs-panel li .group-name{
  flex-shrink:0; font-size:12px; color:var(--ink-3); max-width:80px;
  overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
}

/* ---------- 推荐社区横向卡片 ---------- */
.jcarousel-skin-tango li{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow-sm); transition:border-color .15s, box-shadow .15s;
}
.jcarousel-skin-tango li:hover{ border-color:var(--brand); box-shadow:0 2px 8px rgba(37,99,235,.10); }
.jcarousel-skin-tango li img{ border-bottom:1px solid var(--line); }
.jcarousel-skin-tango li p.extra{ padding:9px 10px; font-size:13px; font-weight:600; color:var(--ink); text-align:center; margin:0; }

/* ========== 按钮（扁平） ========== */
.wtbtn{ display:inline-block; padding:8px 20px !important; border:none; border-radius:var(--radius-sm) !important; font-size:14px !important; font-weight:600; cursor:pointer; text-decoration:none; transition:background .15s, box-shadow .15s; }
.wtbtn:hover{ text-decoration:none; }
.wtbtn-grapefruit{ background:var(--brand) !important; color:#fff !important; }
.wtbtn-grapefruit:hover{ background:var(--brand-2); color:#fff; box-shadow:0 2px 8px rgba(37,99,235,.25); }

/* ========== 分页 ========== */
.pagination li{ list-style:none; display:inline-block; margin:0 2px; }
.pagination li span{ font-size:14px; line-height:34px; min-width:34px; height:34px; padding:0 10px; display:inline-block; background:#fff; color:var(--ink-3); border:1px solid var(--line); border-radius:var(--radius-sm); }
.pagination li a span{ color:var(--ink-2); cursor:pointer; }
.pagination li a:hover span{ color:var(--brand); border-color:var(--brand); }
.pagination li span.currentpage{ color:#fff; background:var(--brand); border-color:var(--brand); font-weight:600; }

/* ========== 主题详情 ========== */
.group.warp-all{ padding:20px 0 40px; }
.theme-detail-header{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px 20px; margin-bottom:14px; box-shadow:var(--shadow-sm); }
.theme-detail-header .theme-title h3{ font-size:20px; font-weight:700; color:var(--ink); line-height:1.4; margin:8px 0; }
.theme-detail-header .member-avatar-m img{ border-radius:50%; }
.theme-detail-content{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow-sm); }
.theme-detail-content .main-text{ font-size:15px; color:var(--ink-2); line-height:1.85; }
.theme-detail-content .main-text img{ max-width:100%; border-radius:var(--radius-sm); }
.theme-reply-list{ list-style:none; padding:0; margin:14px 0; }
.theme-reply-list .reply-info{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:16px; margin-bottom:10px; box-shadow:var(--shadow-sm); }
.theme-reply-list .reply-content{ font-size:14px; color:var(--ink-2); line-height:1.75; }
.theme-reply-list .floor{ color:var(--brand); font-weight:600; font-size:13px; }
.quick-reply{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow-sm); }

/* ========== 表单 ========== */
input.text, input[type="text"], textarea, select{ font-family:inherit; font-size:14px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); transition:border-color .18s, box-shadow .18s; }
input[type="text"]:focus, textarea:focus, select:focus, input.text:focus{ border-color:var(--brand); box-shadow:0 0 0 3px rgba(37,99,235,.10); outline:none; }
input[type="password"]{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); box-shadow:none; font-family:inherit; }
input[type="password"]:focus{ border-color:var(--brand); box-shadow:0 0 0 3px rgba(37,99,235,.10); }

/* ========== 其他 ========== */
.base-box{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:18px; }
.mainbox{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.group-name a{ color:var(--ink-3); }
.member-name, .member-name a{ color:var(--brand); }
.tabmenu .tab{ display:inline-block; padding:7px 16px; border-radius:var(--radius-sm); }
.tabmenu .tab.on{ background:var(--brand); color:#fff; }
::-webkit-scrollbar{ width:8px; height:8px; }
::-webkit-scrollbar-thumb{ background:#d1d5db; border-radius:999px; }
::-webkit-scrollbar-thumb:hover{ background:#9ca3af; }
.clear{ clear:both; }

/* ========== 搜索结果页（论坛风紧凑列表） ========== */
.search-page{ padding:20px 0 40px; }
.search-page .search-title h3{ font-size:16px; font-weight:700; color:var(--ink); margin:0 0 12px; }
.search-page .search-title h3 em{ color:var(--brand); font-style:normal; }
.search-theme-list{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:0; overflow:hidden; box-shadow:var(--shadow-sm); list-style:none; margin:0; }
.search-theme-list li{ border-bottom:1px solid var(--line-soft); }
.search-theme-list li:last-child{ border-bottom:none; }
.search-theme-list li:hover{ background:#fafbfd; }
.search-theme-list li dl{ margin:0; padding:14px 16px; }
.search-theme-list .theme-title{ font-size:15px; font-weight:600; line-height:1.45; margin-bottom:6px; }
.search-theme-list .theme-title a{ color:var(--ink); }
.search-theme-list .theme-title a:hover{ color:var(--brand); }
.search-theme-list .member-avatar-m{ display:none; }
.search-theme-list .theme-sub, .search-theme-list .theme-date{ font-size:12px; color:var(--ink-3); margin:3px 0; }
.search-theme-list .theme-sub a, .search-theme-list .theme-date a{ color:var(--ink-3); }
.search-theme-list .theme-sub a:hover{ color:var(--brand); }
.search-theme-list .theme-preface{ font-size:13px; color:var(--ink-2); line-height:1.7; margin:6px 0 0; }
.search-theme-list .theme-preface a{ color:var(--brand); }
.search-page .no-theme{ text-align:center; padding:48px 20px; color:var(--ink-3); }
.search-page .pagination{ margin-top:16px; }

/* ============================================================
   手机端 · 论坛风重做（白底卡片 + 论坛蓝 + 紧凑列表）
   ============================================================ */
@media (max-width: 768px){
  /* —— 功能性纠偏（必须保留）—— */
  html, body{ max-width:100vw !important; min-width:0 !important; overflow-x:hidden !important; }
  body{ background:#eef0f4; }
  body > *{ max-width:100vw !important; }
  .warp-all, .wrapper, .homepage, .group, .base-box, .mainbox,
  .search-page, #navBox, #navBar, #topHeader, #topHeader .warp-all,
  #append_parent, #ajaxwaitid, #footer{
    width:100% !important; max-width:100vw !important; box-sizing:border-box;
  }
  *{ box-sizing:border-box; }
  img{ max-width:100%; height:auto; }
  .wt-topbar, #page, nav.wt-nav{ display:none; }

  /* —— 顶部社区头部（白底 sticky）—— */
  #topHeader{ background:#fff; border-bottom:1px solid #e5e7eb; position:sticky; top:0; z-index:100; box-shadow:0 1px 3px rgba(17,24,39,.04); }
  #topHeader .warp-all{ height:auto; flex-wrap:nowrap; align-items:center; gap:10px; padding:10px 12px; }
  #topHeader .bbs-logo{ flex-shrink:0; }
  #topHeader .bbs-logo img{ max-height:34px; width:auto; }
  #topHeader .bbs-search{ order:0; flex:1; max-width:none; }
  #topHeader .bbs-search .input-box{ height:36px; background:#f3f4f6; border:none; border-radius:18px; }
  #topHeader .bbs-search .input-box:focus-within{ background:#fff; border:1px solid #2563eb; }
  #topHeader .bbs-search .input-text{ font-size:14px; }
  #topHeader .bbs-search .input-btn{ height:28px; padding:0 14px; font-size:13px; }
  #topHeader .bbs-search .radio-box{ display:none; }
  #topHeader .bbs-user{ display:flex; flex-shrink:0; }
  #topHeader .bbs-user h2{ display:none; }
  #topHeader .head-portrait .thumb img{ width:32px; height:32px; border-radius:50%; }

  /* —— 社区分类导航（横向滚动 tab）—— */
  #navBar{ background:#fff; border-bottom:1px solid #e5e7eb; position:sticky; top:56px; z-index:99; }
  #navBox{ padding:0 !important; }
  #navBox .wt-nav-menu{ display:flex; flex-wrap:nowrap; overflow-x:auto; padding:0 6px; }
  #navBox .wt-nav-menu::-webkit-scrollbar{ display:none; }
  #navBox .wt-nav-menu li{ float:none; margin:0; flex-shrink:0; }
  #navBox .wt-nav-menu li a{
    display:block; padding:11px 14px; font-size:14px; color:#4b5563;
    font-weight:500; white-space:nowrap; border-bottom:2px solid transparent;
  }
  #navBox .wt-nav-menu li.current a{ color:#2563eb !important; font-weight:700; border-bottom-color:#2563eb; }

  /* —— 首页容器与标题栏 —— */
  .homepage{ padding:12px 0 24px; }
  .homepage .warp-all{ display:block; padding:0 12px !important; }
  .home-head{
    background:#fff; border:1px solid #e5e7eb; border-radius:10px;
    padding:12px 14px !important; margin-bottom:12px !important;
    display:flex; align-items:center; justify-content:space-between; box-shadow:0 1px 2px rgba(17,24,39,.04);
  }
  .home-head-title{ font-size:16px; font-weight:700; color:#111827; }
  .home-head-title::before{ content:""; display:inline-block; width:3px; height:15px; background:#2563eb; border-radius:2px; margin-right:8px; vertical-align:-2px; }
  .home-head .wtbtn{ padding:6px 14px !important; font-size:13px !important; }

  /* —— 内容两栏改单列 —— */
  .homepage .layout-l, .homepage .layout-r,
  .search-page .layout-l, .search-page .layout-r{ float:none !important; width:100% !important; }
  .layout-r{ margin-top:12px; }

  /* —— 区块标题 —— */
  .recommend-group > .title, .recommend-theme > .title{ margin-bottom:10px; }
  .recommend-group h3, .recommend-theme h3, .show-goods .title h3{ font-size:15px; font-weight:700; color:#111827; margin:0; }
  .recommend-group h3 i, .recommend-theme h3 i{ width:3px; height:14px; background:#2563eb; border-radius:2px; margin-right:8px; display:inline-block; }

  /* —— 推荐社区横向卡片 —— */
  .recommend-group{ margin-bottom:16px; }
  .jcarousel-container, .jcarousel-clip{ max-width:100% !important; width:100% !important; overflow:hidden !important; }
  .recommend-group .content{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:12px; box-shadow:0 1px 2px rgba(17,24,39,.04); }
  .jcarousel-skin-tango li{ background:#fff; border:1px solid #e5e7eb; border-radius:8px; overflow:hidden; }
  .jcarousel-skin-tango li img{ border-bottom:1px solid #eef0f4; }
  .jcarousel-skin-tango li p.extra{ padding:8px; font-size:13px; font-weight:600; color:#111827; text-align:center; margin:0; }

  /* —— 推荐主题：紧凑列表（论坛核心）—— */
  .recommend-theme{ margin-bottom:16px; }
  .recommend-theme .content{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:0; overflow:hidden; box-shadow:0 1px 2px rgba(17,24,39,.04); }
  .recommend-theme-list{ display:block; padding:0; margin:0; }
  .recommend-theme-list li{ width:100%; float:none; margin:0; padding:0; background:#fff; border:none; border-radius:0; box-shadow:none; border-bottom:1px solid #f0f1f4; }
  .recommend-theme-list li:last-child{ border-bottom:none; }
  .recommend-theme-list li dl{ display:flex; align-items:center; gap:11px; margin:0; padding:12px 13px; }
  .recommend-theme-list .thumb{ width:64px; height:46px; flex-shrink:0; padding:0; margin:0; border-radius:6px; overflow:hidden; background:#f3f4f6; }
  .recommend-theme-list .thumb img{ width:100%; height:100%; object-fit:cover; }
  .recommend-theme-list .theme-title{ flex:1; min-width:0; padding:0; font-size:14px; font-weight:600; line-height:1.45; color:#111827; }
  .recommend-theme-list .group-name{ flex-shrink:0; padding:0; font-size:11px; color:#9ca3af; max-width:70px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }

  /* —— 好友晒单 —— */
  .show-goods dl{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:12px; margin-bottom:10px; display:flex; flex-wrap:wrap; align-items:center; gap:10px; box-shadow:0 1px 2px rgba(17,24,39,.04); }
  .show-goods .member-avatar{ flex-shrink:0; }
  .show-goods .theme-info{ flex:1; min-width:0; }

  /* —— 右侧榜单 —— */
  .layout-r .theme-top{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:12px 13px; box-shadow:0 1px 2px rgba(17,24,39,.04); }
  .layout-r .theme-top .tabs-nav{ display:flex; gap:2px; border-bottom:1px solid #e5e7eb; margin-bottom:6px; }
  .layout-r .theme-top .tabs-nav li a{ padding:8px 10px; font-size:13px; color:#9ca3af; border-bottom:2px solid transparent; }
  .layout-r .theme-top .tabs-nav li.tabs-selected a{ color:#2563eb !important; font-weight:700; border-bottom-color:#2563eb; }
  .layout-r .theme-top .tabs-panel{ counter-reset:rank; }
  .layout-r .theme-top .tabs-panel li{ display:flex; align-items:center; gap:9px; padding:9px 2px; border-bottom:1px dashed #f0f1f4; counter-increment:rank; }
  .layout-r .theme-top .tabs-panel li:last-child{ border-bottom:none; }
  .layout-r .theme-top .tabs-panel li::before{ content:counter(rank); flex-shrink:0; width:18px; height:18px; line-height:18px; text-align:center; border-radius:4px; font-size:11px; font-weight:700; background:#f3f4f6; color:#9ca3af; }
  .layout-r .theme-top .tabs-panel li:nth-child(1)::before{ background:#2563eb; color:#fff; }
  .layout-r .theme-top .tabs-panel li:nth-child(2)::before{ background:#6b8cd6; color:#fff; }
  .layout-r .theme-top .tabs-panel li:nth-child(3)::before{ background:#9db4e3; color:#fff; }
  .layout-r .theme-top .tabs-panel li .theme-title{ flex:1; min-width:0; font-size:13px; color:#4b5563; font-weight:400; overflow:hidden; white-space:nowrap; text-align:left; }
  .layout-r .theme-top .tabs-panel li .group-name{ flex-shrink:0; font-size:11px; color:#9ca3af; max-width:64px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }

  /* —— 详情页 —— */
  .group.warp-all{ padding:12px 0 24px; }
  .group.warp-all > .warp-all, .group .base-box{ padding:0 12px !important; }
  .theme-detail-header{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:14px; margin-bottom:10px; }
  .theme-detail-header .theme-title h3{ font-size:17px; font-weight:700; color:#111827; margin:8px 0; }
  .theme-detail-header .buttons{ flex-wrap:wrap; gap:8px; }
  .theme-detail-content{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:14px; margin-bottom:10px; }
  .theme-detail-content .main-text{ font-size:14px; color:#374151; line-height:1.8; }
  .theme-reply-list .reply-info{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:13px; margin-bottom:8px; }
  .theme-reply-list .reply-content{ font-size:14px; color:#374151; line-height:1.7; }
  .quick-reply{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:14px; }
  .base-box, .mainbox{ padding:12px; }
  .clear{ width:auto !important; max-width:100% !important; float:none !important; }
}

/* 平板微调 */
@media (min-width:769px) and (max-width:1024px){
  .warp-all, .wrapper{ width:100% !important; padding:0 20px; box-sizing:border-box; }
}
