/* ============================================================
   长兴财税圈 (ww1.yqyacc.cn) — UI 美化样式 v2
   设计语言：专业可信蓝（Professional Trustworthy Blue）
   叠加在 focus-start 主题与 bbPress 默认样式之上，可随时删除恢复。
   本次为视觉重做：保留全部布局结构与功能钩子，仅替换视觉 token。
   ============================================================ */
:root{
  /* ---- 品牌主色（统一蓝） ---- */
  --brand:#2563eb;            /* 主品牌蓝 */
  --brand-d:#1d4ed8;          /* 深蓝 hover */
  --brand-l:#60a5fa;          /* 浅蓝 */
  --brand-soft:#eff6ff;       /* 蓝底浅块 */
  --brand-ring:rgba(37,99,235,.12);

  /* ---- 文字 / 边框 / 背景 ---- */
  --ink:#0f172a;              /* 标题近黑 */
  --text:#334155;             /* 正文蓝灰 */
  --muted:#94a3b8;            /* 次要灰 */
  --line:#e6ecf3;             /* 冷调浅边框 */
  --bg:#f1f5f9;              /* 现代冷灰背景（slate-100） */
  --card:#ffffff;
  --card-2:#f8fafc;          /* 次级卡片底（作者卡） */

  /* ---- 圆角：柔和现代 ---- */
  --radius:10px;             /* 大卡片 */
  --radius-sm:7px;           /* 小元素/胶囊 */
  --radius-lg:14px;          /* 面板/悬浮 */

  /* ---- 阴影：轻量双层 ---- */
  --shadow-sm:0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow:0 4px 14px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.04);
  --shadow-md:0 8px 24px rgba(15,23,42,.08);
  --shadow-lg:0 12px 34px rgba(15,23,42,.12);

  /* ---- 行动色（唯一强调橙，仅用于主 CTA） ---- */
  --accent:#ff6a00;
  --accent-d:#e85f00;

  /* ---- 链接色：与主蓝统一 ---- */
  --nt-orange:#ff6a00;
  --nt-orange-d:#e85f00;
  --nt-blue:#2563eb;
  --nt-blue-d:#1d4ed8;
  --nt-green:#16a34a;

  --nt-border:#e6ecf3;
  --nt-bg-light:#f8fafc;
}

/* ---------- 基础排版 ---------- */
body{ background:var(--bg); color:var(--text); line-height:1.75; font-family:"Microsoft YaHei","PingFang SC","Hiragino Sans GB",sans-serif; -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4,h5,h6{ color:var(--ink); }
a{ color:var(--nt-blue); text-decoration:none; transition:color .15s; }
a:hover,a:focus{ color:var(--nt-blue-d); text-decoration:underline; }

/* ---------- 顶部导航（吸顶 + 柔和阴影） ---------- */
.focux-header #header.top-nav{
  position:sticky; top:0; z-index:999;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(8px);
  box-shadow:0 1px 0 var(--line), 0 2px 12px rgba(15,23,42,.05);
}
#logo img{ max-height:44px; width:auto; }
#mainnav .menu > li > a,
.mainnav .menu li a{
  color:var(--ink); font-weight:600; padding:10px 14px;
  transition:.15s; border-radius:6px;
}
#mainnav .menu > li > a:hover,
.mainnav .menu li a:hover{ color:var(--brand); background:var(--brand-soft); text-decoration:none; }
#mainnav .menu > li.current-menu-item > a,
.mainnav .menu li.current-menu-item a{ color:var(--brand); }
#mainnav .menu > li.current-menu-item > a{ position:relative; }

/* ---------- 跨站导流横幅 ---------- */
.yqy-banner{ border-radius:0 0 var(--radius) var(--radius); }
.yqy-banner a{
  background:rgba(255,255,255,.2) !important;
  padding:5px 14px !important;
  border-radius:6px;
  margin:0 4px;
  transition:.15s;
  color:#fff !important;
}
.yqy-banner a:hover{ background:rgba(255,255,255,.35) !important; text-decoration:none !important; }

/* ---------- 首页 Hero（仅前台首页） ---------- */
.yqy-hero{
  background:linear-gradient(180deg,#fff,#f8fafc);
  border-bottom:1px solid var(--line);
  padding:52px 0 44px;
  text-align:center;
}
.yqy-hero h1{
  color:var(--ink);
  font-size:34px; font-weight:800; letter-spacing:.5px;
  margin:0 0 12px;
}
.yqy-hero p{ color:var(--muted); font-size:15px; margin:0 0 22px; }
.yqy-hero-cta{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.yqy-btn{
  padding:11px 26px; border-radius:var(--radius-sm); font-weight:700; font-size:14px;
  display:inline-block; transition:.18s;
}
.yqy-btn-primary{ background:var(--brand); color:#fff; box-shadow:0 6px 16px var(--brand-ring); }
.yqy-btn-primary:hover{ background:var(--brand-d); color:#fff; transform:translateY(-1px); text-decoration:none; }
.yqy-btn-ghost{ border:1px solid var(--brand); color:var(--brand); }
.yqy-btn-ghost:hover{ background:var(--brand); color:#fff; text-decoration:none; }

/* ---------- bbPress 通用 ---------- */
#bbpress-forums{ font-size:14px; background:transparent; }
#bbpress-forums, #bbpress-forums p{ line-height:1.75; }
#bbpress-forums a{ color:var(--nt-blue); }
#bbpress-forums a:hover{ color:var(--nt-blue-d); }

/* 论坛 / 话题列表卡片化（柔和阴影 + hover 微抬升） */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  margin-bottom:18px;
}

/* 列表头行 */
#bbpress-forums li.bbp-header{
  background:var(--card-2);
  border:none;
  border-bottom:1px solid var(--line);
}
#bbpress-forums li.bbp-header ul.forum-titles{
  display:flex; align-items:center; padding:11px 18px;
}
#bbpress-forums li.bbp-header li{
  color:var(--muted); font-weight:600; font-size:12px;
  width:auto !important; float:none !important;
}

/* 列表数据行 */
#bbpress-forums li.bbp-body > ul{
  display:flex; align-items:center;
  padding:14px 18px;
  border-bottom:1px solid #eef2f7;
  transition:.15s;
}
#bbpress-forums li.bbp-body > ul:last-child{ border-bottom:none; }
#bbpress-forums li.bbp-body > ul:hover{ background:var(--brand-soft); }

#bbpress-forums li.bbp-forum-info,
#bbpress-forums li.bbp-topic-title{
  flex:1 1 52%; width:auto !important; float:none !important;
}
#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count,
#bbpress-forums li.bbp-topic-voice-count,
#bbpress-forums li.bbp-topic-reply-count{
  flex:0 0 12%; width:auto !important; float:none !important;
  text-align:center; color:var(--muted); font-size:13px;
}
#bbpress-forums li.bbp-forum-freshness,
#bbpress-forums li.bbp-topic-freshness{
  flex:0 0 24%; width:auto !important; float:none !important;
  color:var(--muted); font-size:13px;
}
#bbpress-forums .bbp-forum-title{
  font-size:15px; font-weight:700; color:var(--ink);
}
#bbpress-forums .bbp-forum-title:hover{ color:var(--nt-blue); }
#bbpress-forums .bbp-forum-content{
  color:var(--muted); font-size:12px; margin-top:4px; line-height:1.5;
}

/* 子论坛胶囊 */
#bbpress-forums ul.bbp-forums-list{
  margin-top:8px; display:flex; flex-wrap:wrap; gap:6px;
}
#bbpress-forums ul.bbp-forums-list li.bbp-forum{ display:inline-block; margin:0 !important; }
#bbpress-forums ul.bbp-forums-list a.bbp-forum-link{
  display:inline-block; padding:4px 12px; border-radius:999px;
  background:var(--brand-soft); color:var(--brand); font-size:12px; font-weight:600; transition:.15s;
}
#bbpress-forums ul.bbp-forums-list a.bbp-forum-link:hover{
  background:var(--brand); color:#fff;
}

/* 面包屑 */
.bbp-breadcrumb{ font-size:12px; color:var(--muted); margin:0 0 12px; }
.bbp-breadcrumb a{ color:var(--nt-blue); }
.bbp-breadcrumb-current{ color:var(--ink); font-weight:600; }

/* 话题元信息 */
#bbpress-forums .bbp-topic-description,
#bbpress-forums .bbp-reply-post-date{ color:var(--muted); font-size:12px; }

/* 回复卡片 */
#bbpress-forums .bbp-replies{ margin-top:6px; }
#bbpress-forums .bbp-reply-header{
  background:transparent; border:none; padding:2px 2px; margin-top:8px;
}
#bbpress-forums .bbp-reply-header .bbp-meta{ font-size:12px; color:var(--muted); }
#bbpress-forums .bbp-reply-header + div{
  display:flex; align-items:stretch;
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  margin-bottom:10px; overflow:hidden;
}
#bbpress-forums .bbp-reply-author{
  flex:0 0 160px; padding:16px 12px; text-align:center;
  border-right:1px solid var(--line); background:var(--card-2);
}
#bbpress-forums .bbp-author-avatar img{
  border-radius:var(--radius-sm); width:100px; height:100px; object-fit:cover;
}
#bbpress-forums .bbp-author-name{ color:var(--ink); font-weight:700; display:block; margin-top:6px; font-size:13px; }
#bbpress-forums .bbp-author-role{ color:var(--muted); font-size:11px; }
#bbpress-forums .bbp-reply-content{ flex:1; padding:18px 20px 18px 3px; }

/* 提示条 */
#bbpress-forums div.bbp-template-notice,
#bbpress-forums div.bbp-template-notice.info{
  background:#fffbeb; border:1px solid #fde68a; color:#92400e;
  border-radius:var(--radius-sm); padding:10px 14px; margin:0 0 12px; font-size:12px;
}

/* 分页 */
#bbpress-forums .bbp-pagination{ margin:6px 0 14px; }
#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span.current{
  display:inline-block; min-width:32px; padding:6px 9px; margin:0 3px;
  border:1px solid var(--line); border-radius:var(--radius-sm); color:var(--ink);
  background:#fff; text-align:center; font-size:12px; transition:.15s;
}
#bbpress-forums .bbp-pagination-links a:hover{ border-color:var(--brand); color:var(--brand); background:var(--brand-soft); text-decoration:none; }
#bbpress-forums .bbp-pagination-links span.current{
  background:var(--brand); border-color:var(--brand); color:#fff;
}

/* 发帖 / 回复表单与按钮 */
#bbpress-forums fieldset.bbp-form{
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--card); padding:20px; box-shadow:var(--shadow-sm);
}
#bbpress-forums fieldset.bbp-form legend{ padding:0 8px; color:var(--ink); font-weight:700; font-size:14px; }
#bbpress-forums .bbp-submit-wrapper button,
#bbpress-forums button.submit,
#bbpress-forums input[type=submit]{
  background:var(--accent); border:1px solid var(--accent); color:#fff;
  border-radius:var(--radius-sm); font-weight:700;
  padding:8px 22px; height:auto; line-height:1.4; transition:.15s; font-size:13px;
  cursor:pointer;
}
#bbpress-forums .bbp-submit-wrapper button:hover,
#bbpress-forums button.submit:hover,
#bbpress-forums input[type=submit]:hover{
  background:var(--accent-d); border-color:var(--accent-d); color:#fff;
}

/* 论坛内搜索框 */
#bbpress-forums #bbp-search-form{ margin:0 0 14px; }
#bbpress-forums #bbp-search-form input[type=text]{ display:inline-block; width:auto; margin:0; }

/* ---------- 侧边栏小工具 ---------- */
.widget{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:16px 18px; margin-bottom:16px; box-shadow:var(--shadow-sm);
}
.widget-title{
  font-size:14px; font-weight:700; color:var(--ink);
  padding-left:11px; border-left:3px solid var(--brand); margin-bottom:12px;
}
.widget ul li a{ color:var(--text); font-size:13px; }
.widget ul li a:hover{ color:var(--nt-blue); }

/* ---------- 正文内容区 ---------- */
.focux-content{ color:var(--text); line-height:1.8; }
.focux-content p{ margin-bottom:12px; }

/* ---------- 响应式 ---------- */
@media (max-width:768px){
  #bbpress-forums li.bbp-body > ul{ flex-wrap:wrap; }
  #bbpress-forums li.bbp-forum-info,
  #bbpress-forums li.bbp-topic-title{ flex:1 1 100%; }
  #bbpress-forums li.bbp-forum-topic-count,
  #bbpress-forums li.bbp-forum-reply-count,
  #bbpress-forums li.bbp-topic-voice-count,
  #bbpress-forums li.bbp-topic-reply-count,
  #bbpress-forums li.bbp-forum-freshness,
  #bbpress-forums li.bbp-topic-freshness{ flex:1 1 33%; text-align:left; }
  #bbpress-forums .bbp-reply-header + div{ flex-direction:column; }
  #bbpress-forums .bbp-reply-author{
    border-right:none; border-bottom:1px solid var(--line); flex:none;
  }
  .yqy-hero h1{ font-size:28px; }
}

/* ============================================================
   话题(文章)阅读页 — Banner 替换标题区 + 隐藏冗余（功能保留）
   ============================================================ */

/* 话题页 .page-title 改为品牌 banner 图 */
body.single-topic .page-title{
  background:url('../images/forum-banner.png') center/cover no-repeat !important;
  padding:70px 0 !important;
  border-bottom:none !important;
  position:relative;
  border-radius:0 0 var(--radius) var(--radius);
}
body.single-topic .page-title::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(37,99,235,.42),rgba(147,197,253,.18));
}
body.single-topic .page-title .title,
body.single-topic .page-title h1,
body.single-topic .page-title h2{ display:none !important; }
body.single-topic .bbp-breadcrumb{ display:none !important; }
body.single-topic #bbpress-forums .bbp-topic-description{ display:none !important; }
body.single-topic #bbpress-forums .bbp-topic-header{ display:none !important; }
body.single-topic #bbpress-forums .bbp-topic-pagination{ display:none !important; }
body.single-topic #bbpress-forums ul.bbp-replies > li.bbp-header{ display:none !important; }
body.single-topic #bbpress-forums .bbp-template-notice.info{ display:none !important; }

/* ============================================================
   论坛版块页 — Banner 图 + 隐藏面包屑（功能保留）
   ============================================================ */
body.single-forum .page-title,
body.tax-bbp-forum .page-title{
  background:url('../images/forum-banner.png') center/cover no-repeat !important;
  padding:80px 0 !important;
  border-bottom:none !important;
  position:relative;
  border-radius:0 0 var(--radius) var(--radius);
}
body.single-forum .page-title::before,
body.tax-bbp-forum .page-title::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(37,99,235,.45),rgba(147,197,253,.22));
}
body.single-forum .bbp-breadcrumb,
body.tax-bbp-forum .bbp-breadcrumb{ display:none !important; }

/* ---- 1) 顶部信息条（阅读数 | 回复数 || 标题 || 操作） ---- */
.nt-topic-bar{
  display:flex; align-items:center; justify-content:space-between;
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:12px 18px; margin:0 0 10px; font-size:12px;
}
.nt-topic-bar__left{ display:flex; gap:16px; color:var(--muted); white-space:nowrap; }
.nt-topic-bar__left b{ color:var(--ink); font-weight:700; }
.nt-topic-bar__center{
  flex:1; text-align:center; font-size:16px; font-weight:700;
  color:var(--ink); padding:0 16px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.nt-topic-bar__right{ display:flex; align-items:center; gap:10px; white-space:nowrap; flex-shrink:0; }
.nt-topic-bar__right a{ color:var(--muted); font-size:12px; padding:4px 8px; border-radius:6px; transition:.15s; }
.nt-topic-bar__right a:hover{ color:var(--brand); background:var(--brand-soft); text-decoration:none; }

/* ---- 2) 作者工具栏（👤名字 + 楼主 || 操作按钮） ---- */
.nt-author-bar{
  display:flex; align-items:center; justify-content:space-between;
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  padding:10px 18px; font-size:13px; margin-top:10px;
}
.nt-author-bar__left{ display:flex; align-items:center; gap:8px; }
.nt-author-bar__name{ font-weight:700; color:var(--brand); }
.nt-author-bar__name:hover{ color:var(--brand-d); text-decoration:underline; }
.nt-badge-lz{
  display:inline-block; font-size:11px; font-weight:700; color:#fff;
  background:var(--accent); border-radius:999px; padding:1px 8px; line-height:1.7;
}
.nt-author-bar__right{ display:flex; align-items:center; gap:12px; }
.nt-author-bar__right a{ color:var(--muted); font-size:12px; padding:4px 8px; border-radius:6px; transition:.15s; }
.nt-author-bar__right a:hover{ color:var(--brand); background:var(--brand-soft); text-decoration:none; }

/* ---- 3) 帖子两栏布局（左侧丰富作者卡 + 右侧内容） ---- */
#bbpress-forums .bbp-reply-header{
  background:var(--card-2);
  border:1px solid var(--line);
  border-bottom:none;
  border-radius:var(--radius) var(--radius) 0 0;
  padding:8px 16px;
  display:flex; align-items:center; justify-content:space-between;
  font-size:12px; color:var(--muted);
}
#bbpress-forums .bbp-reply-header .bbp-reply-post-date{ color:var(--muted); }
#bbpress-forums .bbp-reply-header .bbp-reply-permalink{
  font-weight:700; color:var(--ink); font-size:12px;
}
#bbpress-forums .bbp-reply-header .bbp-reply-permalink:hover{ color:var(--brand); text-decoration:none; }

#bbpress-forums .bbp-reply-header + div{
  display:flex; align-items:stretch;
  background:#fff; border:1px solid var(--line);
  border-top:none; border-radius:0 0 var(--radius) var(--radius);
  box-shadow:var(--shadow-sm);
  margin-bottom:10px;
  overflow:hidden;
}

/* ===== 左侧作者卡（丰富版） ===== */
#bbpress-forums .bbp-reply-author{
  flex:0 0 160px; width:160px; min-width:160px;
  padding:16px 12px; text-align:center;
  background:var(--card-2); border-right:1px solid var(--line);
  display:block;
}
#bbpress-forums .bbp-reply-author .bbp-author-avatar img{
  width:100px; height:100px; border-radius:var(--radius-sm);
  object-fit:cover; padding:3px; background:#fff; border:1px solid #e6ecf3;
  box-shadow:var(--shadow-sm);
}
#bbpress-forums .bbp-author-name{
  display:block; margin-top:6px; font-weight:700; font-size:12px;
  color:var(--brand); line-height:1.3;
}
#bbpress-forums .bbp-author-name:hover{ color:var(--brand-d); text-decoration:underline; }
#bbpress-forums .bbp-author-role{
  display:block; color:var(--muted); font-size:11px; margin-top:2px;
}

/* 作者信息表 */
#bbpress-forums .ah-author-info{
  margin-top:10px; text-align:left; font-size:11px; line-height:1.9;
}
#bbpress-forums .ah-author-info-row{
  display:flex; justify-content:space-between; padding:0 4px;
  color:var(--muted);
  border-bottom:1px dashed #eef2f7;
}
#bbpress-forums .ah-author-info-row:last-child{ border-bottom:none; }
#bbpress-forums .ah-author-info-row .label{ color:#aab4c0; }
#bbpress-forums .ah-author-info-row .value{ color:var(--text); font-weight:500; }

/* 等级胶囊 */
#bbpress-forums .ah-author-level{
  display:inline-block; font-size:10px; font-weight:700; color:#fff;
  border-radius:999px; padding:1px 7px; line-height:1.7; margin-top:5px;
}
#bbpress-forums .ah-author-level.lv1{ background:#94a3b8; }
#bbpress-forums .ah-author-level.lv2{ background:#4a90d9; }
#bbpress-forums .ah-author-level.lv3{ background:#16a34a; }
#bbpress-forums .ah-author-level.lv4{ background:#7c3aed; }
#bbpress-forums .ah-author-level.lv5{ background:var(--accent); }

/* 楼主徽标（仅首帖） */
#bbpress-forums .loop-item-0.topic .bbp-author-name::before{
  content:"楼主"; display:inline-block; font-size:10px; font-weight:700; color:#fff;
  background:var(--accent); border-radius:999px; padding:1px 7px; margin-right:5px;
  vertical-align:1px; line-height:1.7;
}

/* ===== 右侧内容区 ===== */
#bbpress-forums .bbp-reply-content{
  flex:1; min-width:0; margin:0; padding:18px 20px 18px 3px;
  font-size:14px; color:var(--text); line-height:1.85;
  overflow-wrap:break-word; word-break:break-word;
}
#bbpress-forums .bbp-reply-content p{ margin:0 0 12px; }
#bbpress-forums .bbp-reply-content img{
  max-width:100%; height:auto; border-radius:var(--radius-sm); margin:8px 0;
  box-shadow:var(--shadow-sm);
}
#bbpress-forums .bbp-reply-content a{ color:var(--brand); text-decoration:underline; }
#bbpress-forums .bbp-reply-content a:hover{ color:var(--brand-d); }
#bbpress-forums .bbp-reply-content blockquote{
  border-left:3px solid var(--brand); background:var(--brand-soft);
  margin:12px 0; padding:10px 14px; color:var(--text); font-size:13px; border-radius:0 var(--radius-sm) var(--radius-sm) 0;
}
#bbpress-forums .bbp-reply-content pre,
#bbpress-forums .bbp-reply-content code{
  background:#f1f5f9; color:#0f172a; padding:2px 6px; border-radius:5px; font-size:12px;
}
#bbpress-forums .bbp-reply-content pre{ padding:12px; overflow:auto; display:block; border:1px solid var(--line); }
#bbpress-forums .bbp-reply-content ul,
#bbpress-forums .bbp-reply-content ol{ margin:0 0 12px 20px; }
#bbpress-forums .bbp-reply-content li{ margin:3px 0; }

/* ---- 4) 话题标签 / 收藏 / 订阅 —— 简洁胶囊 ---- */
#bbpress-forums div.bbp-topic-tags{ font-size:12px; margin:8px 0 12px; }
#bbpress-forums div.bbp-topic-tags a{ color:var(--brand); }
#bbpress-forums .bbp-reply-to-link,
#bbpress-forums .bbp-topic-favorite-link,
#bbpress-forums .bbp-topic-subscription-link{
  display:inline-block; margin:0 6px 6px 0; padding:4px 12px; border:1px solid var(--line);
  border-radius:999px; color:var(--text); font-size:12px; transition:.15s; background:#fff;
  text-decoration:none;
}
#bbpress-forums .bbp-reply-to-link:hover,
#bbpress-forums .bbp-topic-favorite-link:hover,
#bbpress-forums .bbp-topic-subscription-link:hover{
  border-color:var(--brand); color:var(--brand); background:var(--brand-soft);
}

/* ---- 5) 登录 / 注册提示区 ---- */
#bbpress-forums #bbp-user-login,
#bbpress-forums .bbp-login-form{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:20px; max-width:420px; margin:12px 0; box-shadow:var(--shadow-sm);
}
#bbpress-forums .bbp-login-form label{ display:block; font-weight:600; color:var(--ink); margin:6px 0 3px; font-size:13px; }
#bbpress-forums .bbp-login-form input[type=text],
#bbpress-forums .bbp-login-form input[type=password]{
  width:100%; padding:9px 12px; border:1px solid var(--line); border-radius:var(--radius-sm); font-size:13px; transition:.15s;
}
#bbpress-forums .bbp-login-form input[type=text]:focus,
#bbpress-forums .bbp-login-form input[type=password]:focus{ border-color:var(--brand); outline:none; box-shadow:0 0 0 3px var(--brand-ring); }
#bbpress-forums .bbp-login-form .button{
  background:var(--accent); color:#fff; border:none; border-radius:var(--radius-sm);
  padding:9px 22px; font-weight:700; margin-top:10px; cursor:pointer; font-size:13px; transition:.15s;
}
#bbpress-forums .bbp-login-form .button:hover{ background:var(--accent-d); }

/* ---- 6) 论坛顶部工具栏（标题 + 橙色按钮） ---- */
.ah-forum-bar{
  display:flex; align-items:center; justify-content:space-between;
  background:#fff; border:1px solid var(--line); border-left:3px solid var(--brand);
  border-radius:var(--radius); padding:14px 18px; margin:0 0 16px;
  box-shadow:var(--shadow-sm);
}
.ah-forum-bar__name{
  font-size:17px; font-weight:800; color:var(--ink); line-height:1.3;
}
.ah-forum-bar__btn{
  display:inline-block; flex:0 0 auto; margin-left:12px;
  background:var(--accent); color:#fff; font-weight:700; font-size:13px;
  padding:8px 22px; border-radius:var(--radius-sm); text-decoration:none; transition:.15s;
  box-shadow:0 4px 12px rgba(255,106,0,.22);
}
.ah-forum-bar__btn:hover{
  background:var(--accent-d); color:#fff; text-decoration:none; transform:translateY(-1px);
}
html{ scroll-behavior:smooth; }

/* ---- 7) 列表行增强（头像 + 最后发表列） ---- */
#bbpress-forums li.bbp-topic-title,
#bbpress-forums li.bbp-forum-info{
  flex:1 1 52%; width:auto !important;
  min-width:0; overflow:hidden;
  display:flex !important; align-items:center; gap:12px;
}
#bbpress-forums li.bbp-topic-title .ah-row-avatar,
#bbpress-forums li.bbp-forum-info .ah-row-avatar{
  flex:0 0 auto; line-height:0;
}
#bbpress-forums li.bbp-topic-title .ah-row-avatar img,
#bbpress-forums li.bbp-forum-info .ah-row-avatar img{
  width:44px; height:44px; border-radius:var(--radius-sm); object-fit:cover;
}
#bbpress-forums li.bbp-topic-title > *,
#bbpress-forums li.bbp-forum-info > *{
  flex:1; min-width:0;
}
#bbpress-forums li.bbp-topic-title .bbp-topic-permalink{
  display:block; font-size:15px; font-weight:700; line-height:1.4;
  color:var(--ink); margin-bottom:3px;
}
#bbpress-forums li.bbp-topic-title .bbp-topic-permalink:hover{ color:var(--brand); }

#bbpress-forums .bbp-topic-started-by .bbp-author-avatar{ display:none; }
#bbpress-forums .bbp-topic-started-by{ color:var(--muted); font-size:12px; }
#bbpress-forums .bbp-topic-started-by .bbp-author-name{ color:var(--brand); font-weight:600; }
#bbpress-forums .bbp-topic-started-by .bbp-author-name:hover{ color:var(--brand-d); text-decoration:underline; }

/* 数字列竖线分隔 */
#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count,
#bbpress-forums li.bbp-topic-voice-count,
#bbpress-forums li.bbp-topic-reply-count{
  border-left:1px solid #eef2f7; font-size:13px;
}
#bbpress-forums li.bbp-topic-voice-count b,
#bbpress-forums li.bbp-topic-reply-count b{ color:var(--ink); font-size:14px; }

/* 最后发表列 */
#bbpress-forums li.bbp-forum-freshness,
#bbpress-forums li.bbp-topic-freshness{
  display:flex; align-items:center; gap:8px;
  border-left:1px solid #eef2f7; padding-left:14px;
}
#bbpress-forums li.bbp-topic-freshness .bbp-topic-meta{ order:-1; margin:0; }
#bbpress-forums li.bbp-topic-freshness .bbp-author-avatar img{
  width:34px; height:34px; border-radius:var(--radius-sm); object-fit:cover;
}
#bbpress-forums li.bbp-topic-freshness .bbp-author-name{ color:var(--brand); font-weight:600; font-size:12px; }
#bbpress-forums li.bbp-topic-freshness .bbp-author-name:hover{ color:var(--brand-d); text-decoration:underline; }
#bbpress-forums li.bbp-topic-freshness > a{
  display:block; color:var(--muted); font-size:11px; white-space:nowrap;
}
#bbpress-forums li.bbp-topic-freshness > a:hover{ color:var(--brand); }

/* 斑马纹 */
#bbpress-forums li.bbp-body > ul:nth-child(even){ background:#fcfdfe; }
#bbpress-forums li.bbp-body > ul:hover{ background:var(--brand-soft); }

/* ---- 8) 首帖高亮左边框 ---- */
#bbpress-forums .loop-item-0.topic .bbp-reply-header{
  border-left:3px solid var(--accent);
}

/* ---- 9) 空状态 ---- */
#bbpress-forums .bbp-no-reply{ color:var(--muted); font-style:normal; padding:20px; text-align:center; }

/* ---- 10) 签名档 ---- */
.ah-signature{
  margin-top:14px; padding:8px 12px 4px;
  border-top:1px dashed var(--line); font-size:12px; color:var(--muted);
}
.ah-signature__label{
  font-weight:700; color:#aab4c0; margin-right:4px; font-size:11px;
}

/* ---- 11) 上一篇 / 下一篇 导航 ---- */
.ah-prevnext{
  display:flex; gap:12px; margin-top:16px; padding:16px 0;
  border-top:1px solid var(--line);
}
.ah-pn__card{
  flex:1; display:block; padding:14px 18px;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  text-decoration:none; transition:.15s; box-shadow:var(--shadow-sm);
}
.ah-pn__card:hover{ border-color:var(--brand); background:var(--brand-soft); box-shadow:var(--shadow); }
.ah-pn__label{ display:block; font-size:11px; color:var(--muted); margin-bottom:4px; }
.ah-pn__title{ display:block; font-size:13px; font-weight:600; color:var(--ink); line-height:1.4; }
.ah-pn__card:hover .ah-pn__title{ color:var(--brand); }
.ah-pn__placeholder{ visibility:hidden; }

/* ---- 12) 注册入口链接 ---- */
.ah-register-link{ text-align:center; padding:8px 0 0; font-size:13px; }
.ah-register-link a{ color:var(--accent); font-weight:700; }
.ah-register-link a:hover{ text-decoration:underline; }


/* ============================================================
   首页落地页样式（专业可信蓝）
   ============================================================ */
.ww1-home{ max-width:1200px; margin:0 auto; padding:22px 16px; }

/* ---- 统计条 ---- */
.ww1-stats{
  display:flex; gap:1px; background:var(--line);
  border-radius:var(--radius); overflow:hidden; margin:0 0 20px;
  box-shadow:var(--shadow-sm);
}
.ww1-stat{
  flex:1; background:#fff; text-align:center;
  padding:20px 12px;
}
.ww1-stat__num{
  display:block; font-size:28px; font-weight:800; color:var(--brand);
  line-height:1.2;
}
.ww1-stat__label{
  display:block; font-size:12px; color:var(--muted); margin-top:4px;
}

/* ---- 搜索框 ---- */
.ww1-search{ margin:0 0 20px; }
.ww1-search form{
  display:flex; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm);
}
.ww1-search input[type=search]{
  flex:1; border:none; padding:12px 16px; font-size:14px;
  outline:none; background:transparent;
}
.ww1-search button{
  background:var(--brand); color:#fff; border:none;
  padding:12px 26px; font-weight:700; font-size:14px;
  cursor:pointer; transition:.15s;
}
.ww1-search button:hover{ background:var(--brand-d); }

/* ---- 两栏布局 ---- */
.ww1-cols{ display:flex; gap:18px; align-items:flex-start; }
.ww1-main{ flex:1; min-width:0; }
.ww1-side{ flex:0 0 300px; width:300px; }

/* ---- 面板卡片 ---- */
.ww1-panel{
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); margin-bottom:18px; overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.ww1-panel__head{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px; border-bottom:1px solid var(--line);
  background:var(--card-2);
}
.ww1-panel__title{
  font-size:15px; font-weight:700; color:var(--ink);
  padding-left:11px; border-left:3px solid var(--brand);
}
.ww1-panel__more{
  font-size:12px; color:var(--brand); white-space:nowrap;
}
.ww1-panel__more:hover{ text-decoration:underline; }
.ww1-panel__body{ padding:14px 18px; }

/* ---- 版块导航卡片 ---- */
.ww1-cats{
  display:grid; grid-template-columns:repeat(2,1fr); gap:12px;
}
.ww1-cat{
  display:flex; align-items:center; gap:12px;
  padding:14px 16px; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); text-decoration:none; transition:.18s; box-shadow:var(--shadow-sm);
}
.ww1-cat:hover{
  border-color:var(--brand); box-shadow:var(--shadow);
  text-decoration:none; transform:translateY(-1px);
}
.ww1-cat__icon{
  flex:0 0 42px; width:42px; height:42px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:18px; font-weight:700;
}
.ww1-cat__body{ flex:1; min-width:0; }
.ww1-cat__name{
  display:block; font-size:14px; font-weight:700; color:var(--ink);
  line-height:1.3;
}
.ww1-cat__desc{
  display:block; font-size:11px; color:var(--muted);
  margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.ww1-cat__meta{
  display:block; font-size:11px; color:var(--brand); margin-top:4px;
}

/* ---- 话题列表项 ---- */
.ww1-topic{
  display:flex; align-items:center; gap:12px;
  padding:12px 0; border-bottom:1px solid #eef2f7;
}
.ww1-topic:last-child{ border-bottom:none; }
.ww1-topic__avatar{ flex:0 0 auto; }
.ww1-topic__avatar img{
  width:44px; height:44px; border-radius:var(--radius-sm); object-fit:cover;
}
.ww1-topic__main{ flex:1; min-width:0; }
.ww1-topic__title{
  display:block; font-size:14px; font-weight:600; color:var(--ink);
  line-height:1.4; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.ww1-topic__title:hover{ color:var(--brand); text-decoration:none; }
.ww1-topic__meta{
  display:block; font-size:12px; color:var(--muted); margin-top:3px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ww1-topic__meta a{ color:var(--muted); }
.ww1-topic__meta a:hover{ color:var(--brand); }
.ww1-topic__stat{ flex:0 0 auto; text-align:center; }
.ww1-topic__replies{
  font-size:13px; color:var(--ink); font-weight:600;
}
.ww1-topic__replies small{
  display:block; font-size:11px; color:var(--muted); font-weight:400;
}

/* ---- 注册引导卡 ---- */
.ww1-join{
  background:linear-gradient(135deg,#eff6ff,#f8fafc);
  border:1px solid var(--brand-ring); border-radius:var(--radius);
  padding:22px 18px; text-align:center; margin-bottom:18px;
  box-shadow:var(--shadow-sm);
}
.ww1-join__title{
  font-size:17px; font-weight:800; color:var(--ink); margin-bottom:6px;
}
.ww1-join__desc{
  font-size:13px; color:var(--muted); margin-bottom:14px;
}
.ww1-join__btns{ display:flex; gap:10px; justify-content:center; }
.ww1-join__btn{
  display:inline-block; padding:9px 26px; border-radius:var(--radius-sm);
  font-weight:700; font-size:14px; text-decoration:none; transition:.15s;
}
.ww1-join__btn--solid{
  background:var(--accent); color:#fff; box-shadow:0 4px 12px rgba(255,106,0,.22);
}
.ww1-join__btn--solid:hover{ background:var(--accent-d); color:#fff; text-decoration:none; transform:translateY(-1px); }
.ww1-join__btn--ghost{
  background:#fff; color:var(--brand); border:1px solid var(--brand);
}
.ww1-join__btn--ghost:hover{ background:var(--brand); color:#fff; text-decoration:none; }

/* ---- 热门话题 ---- */
.ww1-hot__item{
  display:flex; align-items:center; gap:10px;
  padding:10px 0; border-bottom:1px solid #eef2f7;
}
.ww1-hot__item:last-child{ border-bottom:none; }
.ww1-hot__rank{
  flex:0 0 24px; width:24px; height:24px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700; color:#fff;
  background:#cbd5e1;
}
.ww1-hot__rank--1{ background:var(--accent); }
.ww1-hot__rank--2{ background:var(--brand); }
.ww1-hot__rank--3{ background:#16a34a; }
.ww1-hot__title{
  font-size:13px; color:var(--ink); line-height:1.4;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  flex:1; min-width:0;
}
.ww1-hot__title:hover{ color:var(--brand); text-decoration:none; }

/* ---- 服务直达 ---- */
.ww1-svc__list{ list-style:none; padding:0; margin:0; }
.ww1-svc__list li{
  padding:8px 0; border-bottom:1px solid #eef2f7; font-size:13px;
}
.ww1-svc__list li:last-child{ border-bottom:none; }
.ww1-svc__dot{
  display:inline-block; width:6px; height:6px; border-radius:50%;
  background:var(--accent); margin-right:8px; vertical-align:middle;
}
.ww1-svc__list a{ color:var(--text); }
.ww1-svc__list a:hover{ color:var(--brand); }

/* ---- 浮动注册 CTA ---- */
.ww1-float-cta{
  position:fixed; bottom:24px; right:24px; z-index:998;
  background:#fff; border:1px solid var(--line);
  border-radius:var(--radius-lg); box-shadow:var(--shadow-lg);
  padding:20px 24px; max-width:280px;
  opacity:0; transform:translateY(20px); transition:.35s ease;
  pointer-events:none;
}
.ww1-float-cta.is-in{
  opacity:1; transform:translateY(0); pointer-events:auto;
}
.ww1-float-cta__close{
  position:absolute; top:6px; right:10px;
  background:none; border:none; font-size:20px; color:#cbd5e1; cursor:pointer;
  line-height:1; padding:4px;
}
.ww1-float-cta__close:hover{ color:#94a3b8; }
.ww1-float-cta__title{
  font-size:15px; font-weight:800; color:var(--ink); margin-bottom:4px;
}
.ww1-float-cta__desc{
  font-size:12px; color:var(--muted); margin-bottom:12px;
}
.ww1-float-cta__btn{
  display:inline-block; background:var(--accent); color:#fff;
  padding:9px 28px; border-radius:var(--radius-sm); font-weight:700; font-size:14px;
  text-decoration:none; transition:.15s;
}
.ww1-float-cta__btn:hover{ background:var(--accent-d); color:#fff; text-decoration:none; }
.ww1-float-cta__login{
  display:block; margin-top:8px; font-size:12px; color:var(--muted);
  text-decoration:none;
}
.ww1-float-cta__login:hover{ color:var(--brand); text-decoration:underline; }


/* ============================================================
   用户中心（/user-center/）样式说明
   用户中心的 HTML 与样式由 mu-plugins/ww1-user-center.php 以
   内联 <style> 输出（类名为 .ww1-uc__who/.ww1-uc__row 等），
   并已同步到本设计系统的专业可信蓝 token。此文件不再重复定义，
   避免覆盖冲突。
   ============================================================ */


/* ============================================================
   响应式（移动端适配）
   ============================================================ */
@media (max-width:768px){
  .yqy-hero{ padding:36px 0 30px; }
  .yqy-hero h1{ font-size:26px; }
  #bbpress-forums li.bbp-body > ul{ flex-wrap:wrap; }
  #bbpress-forums li.bbp-forum-info,
  #bbpress-forums li.bbp-topic-title{ flex:1 1 100%; }
  #bbpress-forums li.bbp-forum-topic-count,
  #bbpress-forums li.bbp-forum-reply-count,
  #bbpress-forums li.bbp-topic-voice-count,
  #bbpress-forums li.bbp-topic-reply-count,
  #bbpress-forums li.bbp-forum-freshness,
  #bbpress-forums li.bbp-topic-freshness{ flex:1 1 33%; text-align:left; border-left:none; padding-left:0; }

  body.single-forum .page-title,
  body.tax-bbp-forum .page-title{ padding:50px 0 !important; }
  body.single-topic .page-title{ padding:45px 0 !important; }

  #bbpress-forums .bbp-reply-header + div{ flex-direction:column; }
  #bbpress-forums .bbp-reply-author{
    border-right:none; border-bottom:1px solid var(--line);
    display:flex; align-items:center; gap:10px; text-align:left;
    padding:12px 16px; flex:0 0 auto; width:auto; min-width:0;
  }
  #bbpress-forums .bbp-reply-author .bbp-author-avatar img{ width:48px; height:48px; }
  #bbpress-forums .bbp-author-name{ margin-top:0; }
  #bbpress-forums .ah-author-info{ display:none; }
  #bbpress-forums .bbp-reply-content{ padding:14px 16px; font-size:13px; }

  .nt-topic-bar{ flex-wrap:wrap; gap:6px; }
  .nt-topic-bar__center{ order:-1; flex:1 1 100%; text-align:center; padding:4px 0 0; }
  .nt-author-bar{ flex-wrap:wrap; gap:6px; }

  .ww1-cats{ grid-template-columns:1fr; }
  #mainnav .menu{ flex-wrap:wrap; justify-content:center; }

  .ww1-uc__head{ flex-wrap:wrap; }
  .ww1-uc__actions{ flex:1 1 100%; }

  /* ===== 手机端首页 UI 优化（2026-09-05） ===== */
  /* 1) 两栏塌单栏：解决正文被挤成一条缝 */
  .ww1-cols{ flex-direction:column; gap:14px; }
  .ww1-main{ width:100%; }
  .ww1-side{ flex:none; width:auto; max-width:none; margin-top:16px; }

  /* 2) 统计条 2×2：解决4列太挤 */
  .ww1-stats{ flex-wrap:wrap; }
  .ww1-stat{ flex:1 1 50%; }

  /* 3) 顶部导航：横向滑动胶囊（隐藏无抽屉逻辑的汉堡键） */
  .mobile-button{ display:none; }
  .nav-wrap{ width:100%; }
  #mainnav .menu{
    display:flex; flex-wrap:nowrap; justify-content:flex-start;
    gap:8px; overflow-x:auto; -webkit-overflow-scrolling:touch;
    padding:6px 0; margin:0;
  }
  #mainnav .menu > li{ flex:0 0 auto; white-space:nowrap; }
  #mainnav .menu > li > a{
    padding:8px 14px; border-radius:999px;
    background:var(--brand-soft); color:var(--brand);
  }
  #mainnav .menu > li.current-menu-item > a{ background:var(--brand); color:#fff; }
  #mainnav .menu .sub-menu{ display:none; }

  /* 4) 右下浮动按钮 → 手机端底部固定横条（不遮挡内容） */
  .ww1-float-cta{
    left:0; right:0; bottom:0; top:auto;
    max-width:none; width:100%;
    border-radius:0; box-shadow:0 -4px 16px rgba(15,23,42,.12);
    display:flex; align-items:center; justify-content:space-between; gap:10px;
    padding:10px 16px; opacity:1; transform:none; pointer-events:auto;
  }
  .ww1-float-cta__close{ display:none; }
  .ww1-float-cta__title{ font-size:14px; margin:0; }
  .ww1-float-cta__desc{ display:none; }
  .ww1-float-cta__btn{ padding:9px 22px; }

  /* 5) 导流红条 + 整体间距紧凑化 */
  .yqy-banner{ font-size:13px; padding:8px 12px; line-height:1.5; }
  .yqy-banner a{ margin:0 4px; }
  .ww1-home{ padding:16px 12px; }
  .ww1-panel__body{ padding:12px 14px; }
  .ww1-search{ margin:0 0 14px; }
}

/* ===== 超小屏（≤480px）精修 ===== */
@media (max-width:480px){
  .ww1-stat__num{ font-size:22px; }
  .ww1-join__btns{ flex-direction:column; }
  .ww1-join__btn{ width:100%; text-align:center; }
  .yqy-hero{ padding:26px 0 22px; }
  .yqy-hero h1{ font-size:23px; }
  .yqy-hero p{ font-size:13px; }
}

/* SEO：话题标题语义化为 H1（由 ww1-seo-fixes.php 注入），保持南太湖信息条视觉 */
h1.nt-topic-bar__center{ margin:0; }

/* ===== GEO 增强：话题页「相关问题解答」与「参考来源」框（南太湖风格） ===== */
.nt-faq, .nt-refs{
  margin:18px 0 0;
  padding:16px 18px;
  background:#fff;
  border:1px solid #e8edf5;
  border-radius:4px;
  border-left:3px solid #2563eb;
}
.nt-faq__title, .nt-refs__title{
  margin:0 0 12px;
  font-size:17px;
  font-weight:600;
  color:#1f3a5f;
}
.nt-faq__list{ display:block; }
.nt-faq__item{ padding:10px 0; border-bottom:1px dashed #eef2f8; }
.nt-faq__item:last-child{ border-bottom:0; }
.nt-faq__q{ margin:0 0 6px; font-size:15px; font-weight:600; color:#0066cc; }
.nt-faq__a{ margin:0; font-size:14px; line-height:1.7; color:#334; }
.nt-refs__list{ margin:0 0 10px; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:8px 14px; }
.nt-refs__list li{ position:relative; padding-left:14px; }
.nt-refs__list li::before{ content:""; position:absolute; left:0; top:9px; width:5px; height:5px; border-radius:50%; background:#ff6600; }
.nt-refs__list a{ color:#0066cc; text-decoration:none; font-size:14px; }
.nt-refs__list a:hover{ color:#ff6600; text-decoration:underline; }
.nt-refs__note{ margin:0; font-size:13px; line-height:1.7; color:#778; }
.nt-refs__note a{ color:#0066cc; }
/* 隐藏统计条 2026-09-07 by user request */

/* hide .ww1-stats 2026-09-07 by user request */
.ww1-stats{display:none !important;}
