/* ============================================================
   创一下 (cyxhome.com) 全站润色层
   ============================================================ */
:root {
  --dz-radius-s: 6px;
  --dz-radius-m: 10px;
  --dz-radius-b: 16px;
  --dz-shadow: 0 2px 12px rgba(0, 80, 200, .08);
}
body { background: #F3F7FD; }
a, .pn, input, button { transition: all .18s ease; }
.pn:hover { box-shadow: 0 3px 10px rgba(0, 102, 255, .22); }
img { max-width: 100%; }
::selection { background: rgba(0, 102, 255, .18); }

/* ============================================================
   顶部导航：未登录时显眼的「立即注册」描边按钮
   ============================================================ */
.header-user-login .cx-hd-reg {
  padding: 5px 16px;
  border: 1px solid var(--dz-nvbg, #0066ff);
  border-radius: 15px;
  color: var(--dz-nvbg, #0066ff) !important;
  margin-right: 10px;
  font-size: 14px;
  line-height: 1.5;
  background: #fff;
}
.header-user-login .cx-hd-reg:hover {
  background: rgba(0, 102, 255, .08);
  color: #0051cc !important;
  text-decoration: none;
}

/* 论坛首页隐藏 Discuz 官方推广链接（Discuz!官方论坛 / 应用中心） */
div.bm.lk, #category_lk { display: none !important; }

/* ============================================================
   认证页（注册/登录）· 参考站简洁卡片形态
   双 Tab 头 + 全宽无标签输入框 + 大按钮 + 第三方登录占位
   ============================================================ */

/* ---- 双 Tab 头 ---- */
.cx-auth-tabs { display: flex; background: #fff; border-bottom: 1px solid #eef2f8; }
.cx-ata { flex: 1; text-align: center; padding: 20px 0 15px; font-size: 17px; letter-spacing: 6px; text-indent: 6px; color: #8b95a5; text-decoration: none !important; position: relative; }
.cx-ata:first-child { border-radius: 18px 0 0 0; }
.cx-ata:last-child { border-radius: 0 18px 0 0; border-left: 1px solid #eef2f8; }
.cx-ata:hover { color: #2f7bff; }
.cx-ata-on { color: #1b2b4a; font-weight: 600; }
.cx-ata-on::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 9px; width: 34px; height: 3px; border-radius: 2px; background: #2f7bff; }
.cx-auth-slogan { text-align: center; font-size: 13px; color: #a6b0bf; padding: 14px 0 0; letter-spacing: .5px; }

/* ---- 卡片容器（注册页 / 登录页共用逻辑） ---- */
body.pg_register, body.pg_logging { background: #EEF3FB; }
body.pg_register #ct, body.pg_logging #ct { float: none; width: auto; max-width: 480px; margin: 30px auto; padding: 0 14px; }
body.pg_register .mn, body.pg_logging .mn { float: none; width: 100%; }
body.pg_register #main_message, body.pg_logging #main_message { background: #fff; border: 1px solid #e6ecf5; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 36px rgba(20, 60, 130, .12); }

/* ---- 注册页 ---- */
body.pg_register #main_hnav { display: none; }
body.pg_register #returnmessage4 { margin: 0; }
body.pg_register #registerform { padding: 4px 34px 4px; }
body.pg_register #registerform .rfm,
body.pg_register #registerform .rfm table,
body.pg_register #registerform .rfm tbody,
body.pg_register #registerform .rfm tr { display: block; width: 100%; border-collapse: collapse; }
body.pg_register #registerform .rfm th { display: none; }
body.pg_register #registerform .rfm td { display: block; width: auto; padding: 12px 0 2px; }
body.pg_register #registerform td.tipcol { padding: 0 0 8px; }
body.pg_register #registerform td.tipcol .p_tip { display: none; }
body.pg_register #registerform td.tipcol .p_chk { font-size: 12px; color: #e56b4e; font-style: normal; }
body.pg_register #registerform .px { box-sizing: border-box; width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d7e0ec; border-radius: 9px; font-size: 14px; color: #2b3240; background: #FBFCFE; }
body.pg_register #registerform .px:focus { border-color: #2f7bff; background: #fff; box-shadow: 0 0 0 3px rgba(47, 123, 255, .14); outline: none; }
body.pg_register #registerform td img { margin-top: 10px; border-radius: 6px; }
body.pg_register #layer_reginfo_b { padding: 10px 34px 4px; }
body.pg_register #layer_reginfo_b .rfm,
body.pg_register #layer_reginfo_b .rfm table,
body.pg_register #layer_reginfo_b .rfm tbody,
body.pg_register #layer_reginfo_b .rfm tr { display: block; width: 100%; }
body.pg_register #layer_reginfo_b .rfm th { display: none; }
body.pg_register #layer_reginfo_b .rfm td { display: block; width: auto; padding: 10px 0 0; }
body.pg_register #registerformsubmit, body.pg_register button#registerformsubmit { width: 100%; height: 46px; border: none; border-radius: 10px; margin-top: 12px; background: linear-gradient(120deg, #0353cc, #1f6bff) !important; color: #fff !important; font-size: 16px; font-weight: 600; letter-spacing: 8px; text-indent: 8px; cursor: pointer; box-shadow: 0 6px 16px rgba(15, 90, 230, .3); }
body.pg_register #registerformsubmit strong, body.pg_register button#registerformsubmit strong { color: #fff !important; font-weight: 600; font-size: 16px; }
body.pg_register #registerformsubmit:hover, body.pg_register button#registerformsubmit:hover { opacity: .93; transform: translateY(-1px); box-shadow: 0 9px 20px rgba(15, 90, 230, .32); }
body.pg_register #reginfo_a_btn em { display: none; }
body.pg_register #registerform input.pc { accent-color: #2f7bff; }
body.pg_register #registerform label[for="agreebbrule"] { font-size: 12.5px; color: #8b95a5; }
body.pg_register #registerform label[for="agreebbrule"] a { color: #2f7bff; text-decoration: none; }
body.pg_register #registerform label[for="agreebbrule"] a:hover { text-decoration: underline; }
/* ---- 注册页邮箱验证码 ---- */
.cx-coderfm .cx-code-input { width: 130px; vertical-align: middle; letter-spacing: 1px; }
.cx-code-btn { display: inline-block; vertical-align: middle; height: 32px; line-height: 32px; padding: 0 14px; margin-left: 8px; border: 1px solid #2f7bff; border-radius: 8px; background: #fff; color: #2f7bff !important; font-size: 13px; cursor: pointer; transition: all .18s; }
.cx-code-btn:hover { background: #2f7bff; color: #fff !important; }
.cx-code-btn:disabled { border-color: #d7dee9; background: #f4f7fc; color: #a8b2c1 !important; cursor: not-allowed; }
.cx-code-msg { display: inline-block; margin-left: 10px; font-size: 12px; vertical-align: middle; }
.cx-code-ok { color: #1e9e44; }
.cx-code-err { color: #e0453a; }

/* ---- 登录页 ---- */
body.pg_logging .bm { background: none; border: none; }
body.pg_logging .bm_h { display: none; }
body.pg_logging .c.cl { padding: 4px 34px 4px; }
body.pg_logging .rfm,
body.pg_logging .c.cl .rfm table,
body.pg_logging .c.cl .rfm tbody,
body.pg_logging .c.cl .rfm tr { display: block; width: 100%; border-collapse: collapse; }
body.pg_logging .c.cl .rfm th { display: none; }
body.pg_logging .c.cl .rfm td { display: block; width: auto; padding: 12px 0 2px; }
body.pg_logging .c.cl td.tipcol { text-align: right; padding: 2px 0 8px; }
body.pg_logging .c.cl td.tipcol a { font-size: 12.5px; color: #8b95a5; text-decoration: none; }
body.pg_logging .c.cl td.tipcol a:hover { color: #2f7bff; }
body.pg_logging .c.cl .px { box-sizing: border-box; width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d7e0ec; border-radius: 9px; font-size: 14px; color: #2b3240; background: #FBFCFE; }
body.pg_logging .c.cl .px:focus { border-color: #2f7bff; background: #fff; box-shadow: 0 0 0 3px rgba(47, 123, 255, .14); outline: none; }
body.pg_logging .c.cl button.pnc { width: 100%; height: 46px; border: none; border-radius: 10px; margin-top: 14px; background: linear-gradient(120deg, #0353cc, #1f6bff) !important; color: #fff !important; font-size: 16px; font-weight: 600; letter-spacing: 8px; text-indent: 8px; cursor: pointer; box-shadow: 0 6px 16px rgba(15, 90, 230, .3); }
body.pg_logging .c.cl button.pnc strong { color: #fff !important; font-weight: 600; font-size: 16px; }
body.pg_logging .c.cl button.pnc:hover { opacity: .93; transform: translateY(-1px); }
body.pg_logging .c.cl button.pn { border: 1px solid #d7e0ec; border-radius: 10px; padding: 10px 22px; background: #fff; color: #5a6578; cursor: pointer; }
body.pg_logging .c.cl td img { margin-top: 10px; border-radius: 6px; }

/* ---- 其他方式（手机号/微信占位） ---- */
.cx-altway { padding: 8px 34px 28px; }
.cx-altway-line { display: flex; align-items: center; gap: 12px; color: #a6b0bf; font-size: 12px; margin: 14px 0; }
.cx-altway-line i { flex: 1; height: 1px; background: #e8eef7; }
.cx-altway-btns { display: flex; gap: 12px; }
.cx-altitem { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 40px; border-radius: 9px; font-size: 13.5px; text-decoration: none !important; cursor: pointer; }
.cx-altitem .cx-ico { flex: none; display: block; }
.cx-altitem em { font-size: 10px; font-style: normal; border-radius: 8px; padding: 0 5px; line-height: 14px; border: 1px solid rgba(242, 108, 79, .45); color: #F26C4F; }
.cx-altitem-c-phone { background: #eef4ff; color: #2f7bff; }
.cx-altitem-c-phone:hover { background: #e0ecff; }
.cx-altitem-c-wx { background: #e9f8ee; color: #1e9e44; }
.cx-altitem-c-wx:hover { background: #dcf2e4; }
body.pg_register .cx-altway, body.pg_logging .cx-altway { padding: 8px 34px 28px; }

/* ============================================================
   提交按钮加载动画（注册/登录等 ajax 提交通用）
   ============================================================ */
@keyframes cx-spin { to { transform: rotate(360deg); } }
@keyframes cx-pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
button.cx-busy, .pn.cx-busy {
  opacity: .78 !important;
  pointer-events: none !important;
  cursor: wait !important;
  transform: none !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  animation: cx-pulse 1.6s ease-in-out infinite;
}
button.cx-busy .cx-spin, .pn.cx-busy .cx-spin {
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cx-spin .7s linear infinite;
}
body.pg_register button.cx-busy, body.pg_logging button.cx-busy {
  background: linear-gradient(120deg, #0a55d6, #1e6bf0);
}

/* ============================================================
   全站移动端适配层（≤860px 堆叠 / ≤480px 细化）
   依赖 header_common.php 的 viewport 标签
   ============================================================ */
@media (max-width: 860px) {
  html, body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  table { max-width: 100%; }

  /* ---- 通用固定宽度容器 ---- */
  .wp { width: auto !important; min-width: 0 !important; box-sizing: border-box; padding-left: 12px !important; padding-right: 12px !important; }
  #wp.wp { padding-left: 12px !important; padding-right: 12px !important; }
  #ct .mn, #ct .sd { float: none !important; width: auto !important; max-width: 100% !important; }
  .ct2_a .mn, .ct2_a .sd, .ct2 .mn, .ct2 .sd, .ct3_a .mn, .ct3_a .sd { float: none !important; width: auto !important; }

  /* ---- 顶部导航：紧凑两行（行1 logo+注册登录 / 行2 菜单横滑） ---- */
  #dz_btm_layer, #dz_btm_layer.topbox { position: static !important; }
  .dz_layer_top .dz_btm_layer, .dz_btm_layer.dz_nav {
    min-width: 0 !important; width: auto !important; height: auto !important; max-width: 100% !important;
    margin: 0 auto; padding: 8px 12px 4px !important;
    display: flex !important; flex-wrap: wrap !important; align-items: center !important;
  }
  .dz_nav_logo, .dz_nav_logo:after { float: none !important; clear: none !important; height: 40px !important; margin: 0 !important; }
  .dz_nav_logo { display: flex !important; align-items: center; }
  .dzlogo { display: inline-flex !important; height: auto !important; background: none !important; }
  .dz_nav_logo img, .dzlogo img { width: 96px !important; height: 26px !important; }
  .dz_layer_dl { float: none !important; margin: 0 0 0 auto !important; display: flex !important; align-items: center; }
  .header-right { display: flex !important; align-items: center; }
  .header-searcher { display: none !important; }
  .header-user-login { margin-left: 0 !important; height: 36px !important; }
  .header-user-login .cx-hd-reg { padding: 4px 12px; margin-right: 8px; font-size: 13px; }
  .login_btn { margin-right: 0 !important; padding: 5px 14px !important; }
  .dz_layer_nav {
    float: none !important; flex: 0 0 100%; width: 100% !important; height: auto !important; margin-top: 2px;
    overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .dz_layer_nav::-webkit-scrollbar { display: none; }
  .dz_layer_nav ul { white-space: nowrap; }
  .dz_layer_nav ul li { float: none !important; display: inline-block; }
  .dz_layer_nav ul li a { height: 38px !important; line-height: 38px !important; margin-right: 18px !important; font-size: 14.5px !important; letter-spacing: 1px !important; }
  .dz_layer_nav ul li a span { display: none !important; }
  /* 压掉头部与内容之间的空隙 */
  #hds { min-height: 0 !important; line-height: 0 !important; font-size: 0 !important; }
  #hds ul { display: none !important; }
  #ct.ptm { padding-top: 10px !important; }

  /* ---- 右侧悬浮工具条 & 二维码 ---- */
  .dz_rnav { display: none !important; }

  /* ---- 页脚 ---- */
  .dz_footc_bottom { padding: 16px 12px !important; }
  .dz_footc_dico { display: none !important; }
  .dz_footc_nav, .dz_footc_copy { text-align: center; float: none !important; width: auto !important; }
  .dz_footc_nav a { white-space: nowrap; }

  /* ---- Discuz 默认页面（搜索/空间/帮助等） ---- */
  .bm { min-width: 0 !important; }
  .bm_c { word-wrap: break-word; }
  .pgs { text-align: center; }
  .pgb { text-align: center; }
  .fl { min-width: 0 !important; }
  .sch_s .vm, #ct table.tdats, #ct .tf bf { max-width: 100%; }

  /* ---- 正文/帖子内容防溢出 ---- */
  .cx-a-body, div[id^="postmessage_"], .t_f { word-break: break-word; overflow-wrap: break-word; }
  div[id^="postmessage_"] table { table-layout: fixed; width: 100% !important; }
  #fastpostform textarea, #fastpostform .are, .tedt .area { width: 100% !important; box-sizing: border-box; }
}
@media (max-width: 480px) {
  .cx-welcome { flex-direction: column; gap: 10px; text-align: center; padding: 18px 16px; }
  .cx-activity { flex-direction: column; gap: 8px; text-align: center; padding: 12px 16px; }
  .cx-channel-head h1 { font-size: 21px; }
  .cx-a-title { font-size: 18px; }
  .cx-post { padding: 14px 14px 10px; }
  .cx-post-title { font-size: 16px; }
  #postlist table.posthead h1.ts { font-size: 17px !important; line-height: 24px !important; }
  .kmimg_onebox .kmimg img { max-width: 100% !important; height: auto !important; }
  .dz_footc_nav a { display: inline-block; margin: 2px 0; }
  body.pg_register #registerform, body.pg_register #layer_reginfo_b { padding-left: 20px; padding-right: 20px; }
  body.pg_register .cx-altway { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   关于我们 / 社区规范页
   ============================================================ */
.cx-about-hero { background: linear-gradient(120deg, #0047c4 0%, #0b63ef 55%, #3d8bff 100%); border-radius: 18px; padding: 38px 36px 32px; text-align: center; color: #fff; margin: 6px 0 20px; box-shadow: 0 12px 30px rgba(15, 90, 230, .22); }
.cx-about-hero h1 { font-size: 26px; font-weight: 700; letter-spacing: 2px; margin: 0 0 10px; }
.cx-about-hero p { margin: 0 auto; max-width: 640px; font-size: 14px; opacity: .9; line-height: 1.9; }
.cx-about-forums { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; padding: 4px 0 6px; }
.cx-about-forum { display: flex; align-items: center; gap: 12px; background: #fbfcfe; border: 1px solid #edf1f8; border-radius: 12px; padding: 13px 15px; text-decoration: none !important; transition: box-shadow .18s ease, transform .18s ease; }
.cx-about-forum:hover { box-shadow: 0 8px 20px rgba(20, 60, 130, .12); transform: translateY(-2px); }
.cx-about-forum i { flex: none; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #2f7bff, #6ea8ff); color: #fff; font-style: normal; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.cx-about-forum b { display: block; font-size: 14.5px; color: #1b2b4a; }
.cx-about-forum:hover b { color: #2f7bff; }
.cx-about-forum em { display: block; font-style: normal; font-size: 12px; color: #a6b0bf; margin-top: 2px; }
.cx-rule { margin: 0; padding: 0 0 0 20px; }
.cx-rule li { font-size: 14px; color: #3a4453; line-height: 1.9; margin-bottom: 8px; }
.cx-rule li b { color: #1b2b4a; }
.cx-contact { display: flex; gap: 14px; flex-wrap: wrap; padding: 4px 0 6px; }
.cx-contact-item { flex: 1; min-width: 200px; background: #f7faff; border: 1px solid #e6ecf5; border-radius: 12px; padding: 14px 18px; font-size: 13.5px; color: #4a5568; line-height: 1.8; }
.cx-contact-item b { display: block; color: #1b2b4a; font-size: 14px; margin-bottom: 4px; }
@media (max-width: 480px) {
  .cx-about-hero { padding: 26px 18px 22px; }
  .cx-about-hero h1 { font-size: 21px; }
}

/* ================= 搜索页卡片化 ================= */
#nv_search #ct { max-width: 920px; margin: 0 auto; padding-top: 16px; }
#nv_search .mw { width: 100%; }
#nv_search .searchform { background: #fff; border: 1px solid #edf1f8; border-radius: 16px; padding: 18px 20px 20px; margin-bottom: 18px; box-shadow: 0 6px 18px rgba(20, 60, 130, .06); }
#nv_search #scform { width: 100%; }
#nv_search #scform td { vertical-align: top; }
#nv_search .searchlogo { height: 32px; margin-right: 14px; }
#nv_search #scform_tb { margin-bottom: 10px; line-height: 30px; }
#nv_search #scform_tb > a { display: inline-block; padding: 4px 14px; border-radius: 20px; color: #5b6675; text-decoration: none !important; font-size: 13.5px; }
#nv_search #scform_tb > a.a { background: #eaf2ff; color: #2f7bff; font-weight: 600; }
#nv_search #scform_tb .y a { color: #a6b0bf; font-size: 12.5px; padding: 4px 6px; }
#nv_search #scform_form { width: 100%; }
#nv_search .td_srchtxt { width: 100%; }
#nv_search .td_srchtxt input { width: 100%; height: 46px; box-sizing: border-box; border: 1.5px solid #dde5f0; border-right: 0; border-radius: 10px 0 0 10px; padding: 0 16px; font-size: 15px; color: #1b2b4a; background: #fbfcfe; outline: none; }
#nv_search .td_srchtxt input:focus { border-color: #2f7bff; background: #fff; }
#nv_search .td_srchbtn { width: 92px; }
#nv_search .schbtn { width: 100%; height: 46px; border: 0; border-radius: 0 10px 10px 0; background: linear-gradient(120deg, #0353cc, #1f6bff); color: #fff !important; font-size: 15px; letter-spacing: 2px; cursor: pointer; }
#nv_search .schbtn:hover { opacity: .93; }
#nv_search .sttl { border: 0; padding: 0; margin-bottom: 14px; }
#nv_search .sttl h2 { font-size: 14.5px; color: #6b7684; font-weight: 400; }
#nv_search .sttl h2 em { font-style: normal; color: #1b2b4a; }
#nv_search .sttl .emfont { color: #2f7bff; font-weight: 600; }
#nv_search .slst { margin-top: 0 !important; }
#nv_search .slst li.pbw { list-style: none; background: #fff; border: 1px solid #edf1f8; border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; transition: box-shadow .18s ease, transform .18s ease; }
#nv_search .slst li.pbw:hover { box-shadow: 0 10px 24px rgba(20, 60, 130, .10); transform: translateY(-2px); }
#nv_search .slst h3.xs3 { font-size: 16.5px; font-weight: 600; margin: 0 0 8px; line-height: 1.6; }
#nv_search .slst h3.xs3 a { color: #1b2b4a; text-decoration: none !important; }
#nv_search .slst h3.xs3 a:hover { color: #2f7bff; }
#nv_search .slst h3.xs3 .emfont { color: #e8402a; }
#nv_search .slst p { margin: 0 0 8px; font-size: 13.5px; color: #5b6675; line-height: 1.85; }
#nv_search .slst p.xg1 { color: #98a3b3; font-size: 12.5px; margin-bottom: 6px; }
#nv_search .slst p:last-child { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: #a6b0bf; }
#nv_search .slst p:last-child a { color: #7d8ba0; text-decoration: none !important; }
#nv_search .slst p:last-child a:hover { color: #2f7bff; }
#nv_search .slst p:last-child a.xi1 { color: #2f7bff; background: #f0f6ff; padding: 1px 9px; border-radius: 20px; font-size: 12px; }
#nv_search .emp { background: #fff; border: 1px dashed #e3e9f2; border-radius: 14px; padding: 34px 20px; text-align: center; color: #98a3b3; font-size: 14px; }

/* ================= 个人空间 ================= */
.cx-space-hero { display: flex; align-items: center; gap: 20px; background: linear-gradient(120deg, #0047c4 0%, #0b63ef 55%, #3d8bff 100%); border-radius: 18px; padding: 26px 30px; color: #fff; margin: 6px 0 20px; box-shadow: 0 12px 30px rgba(15, 90, 230, .22); }
.cx-space-ava { flex: none; }
.cx-space-ava img { width: 74px; height: 74px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .85); background: #fff; display: block; }
.cx-space-info { flex: 1; min-width: 0; }
.cx-space-info h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cx-space-tag { font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .35); padding: 2px 10px; border-radius: 20px; }
.cx-space-meta { margin: 0; font-size: 13px; opacity: .88; }
.cx-dot-sep { margin: 0 7px; opacity: .6; }
.cx-space-edit { display: inline-block; margin-top: 10px; font-size: 12.5px; color: #fff; border: 1px solid rgba(255, 255, 255, .5); border-radius: 20px; padding: 4px 14px; text-decoration: none !important; }
.cx-space-edit:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.cx-space-stats { display: flex; gap: 22px; }
.cx-space-stat { text-align: center; }
.cx-space-stat b { display: block; font-size: 22px; font-weight: 700; line-height: 1.25; }
.cx-space-stat span { font-size: 12.5px; opacity: .82; }
.cx-space-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; padding: 4px 0 6px; }
.cx-space-item { display: block; background: #fbfcfe; border: 1px solid #edf1f8; border-radius: 12px; padding: 13px 16px; text-decoration: none !important; transition: box-shadow .18s ease, transform .18s ease; }
.cx-space-item:hover { box-shadow: 0 8px 20px rgba(20, 60, 130, .12); transform: translateY(-2px); }
.cx-space-item b { display: block; font-size: 14.5px; color: #1b2b4a; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-space-item:hover b { color: #2f7bff; }
.cx-space-item span { display: flex; gap: 12px; margin-top: 6px; }
.cx-space-item em { font-style: normal; font-size: 12px; color: #a6b0bf; }
.cx-space-empty { padding: 26px 0; text-align: center; color: #a6b0bf; font-size: 13.5px; }

/* ================= 移动端补充 ================= */
@media (max-width: 860px) {
  #nv_search .searchform { padding: 14px 14px 16px; border-radius: 14px; }
  #nv_search .searchlogo { display: none; }
  #nv_search .td_srchtxt input { height: 42px; font-size: 14px; }
  #nv_search .td_srchbtn { width: 74px; }
  #nv_search .schbtn { height: 42px; font-size: 14px; }
  #nv_search .slst li.pbw { padding: 14px; border-radius: 12px; }
  #nv_search .slst h3.xs3 { font-size: 15.5px; }
  #nv_search #ct { padding-left: 12px; padding-right: 12px; }
  .cx-space-hero { flex-wrap: wrap; padding: 20px; gap: 14px; }
  .cx-space-stats { width: 100%; justify-content: space-between; gap: 0; border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 12px; }
  .cx-space-stat b { font-size: 18px; }
}
@media (max-width: 480px) {
  .cx-space-info h1 { font-size: 19px; }
  .cx-space-ava img { width: 60px; height: 60px; }
  .cx-space-list { grid-template-columns: 1fr; }
}

/* ===== 品牌 logo 布置（2026-09-10 v9）===== */
img.boardlogo, #boardlogo { height: 38px; width: auto; max-width: 220px; }
.dzlogo { width: 150px; height: 38px; background: url(/template/discuzx5/static/logo.png) no-repeat 0 50%; background-size: auto 100%; }

/* ===== 全站主按钮统一修复（2026-09-10 v10）：修复蓝底蓝字 + 文字居中 ===== */
.pnc, a.pnc, button.pnc {
  background: linear-gradient(120deg, #0353cc, #1f6bff) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 90, 230, .22);
}
.pnc:hover { opacity: .92; box-shadow: 0 3px 10px rgba(15, 90, 230, .3); }
.pnc:focus { outline: none; }
.pnc span, .pnc strong, a.pnc span, a.pnc strong, .pnc em { color: #fff !important; }
/* 发帖页主提交按钮加大 */
#postsubmit { min-width: 140px; height: 38px; font-size: 15px; letter-spacing: 4px; text-indent: 4px; padding: 0 22px; }

/* 版块页发帖按钮：深蓝底配了蓝字，改白字 */
.dz_tbnvb .tb .o a { color:#fff !important; font-weight:600; }

/* 0 回复帖子：虚位以待标记（2026-09-11 v11）*/
.kmico.cx-couch { background: #FFF3E8; color: #E8622C; border: 1px solid #FFD9BD; border-radius: 999px; padding: 0 8px; margin-left: 6px; font-size: 11px; font-weight: 600; line-height: 17px; vertical-align: 2px; }

/* ---- 顶部导航：字体/间距优化 + 悬浮下拉小导航（2026-09-12 v12）---- */
.dz_btm_layer .dz_layer_nav { overflow: visible !important; }
.dz_layer_nav ul li { position: relative; }
.dz_layer_nav ul li a { font-size: 15px !important; letter-spacing: 1px !important; margin-right: 34px !important; font-weight: 500 !important; }
.dz_layer_nav ul li:last-child a { margin-right: 0 !important; }
.cx-navpop { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #E3EAF3; border-radius: 10px; box-shadow: 0 8px 24px rgba(16,42,84,.12); padding: 6px; min-width: 150px; z-index: 9999; }
.dz_layer_nav ul li:hover .cx-navpop { display: block; }
.cx-navpop a { display: block !important; margin: 0 !important; height: auto !important; line-height: 1.4 !important; padding: 8px 12px !important; font-size: 13px !important; letter-spacing: 0 !important; font-weight: 400 !important; color: #3D4A5C !important; text-align: left !important; white-space: nowrap; border-radius: 7px; }
.cx-navpop a:before, .cx-navpop a:after { display: none !important; }
.cx-navpop a:hover { background: #F0F6FF !important; color: #0A66FF !important; }
