/* 港湾社区 · 首页视觉层（数值取自对目标站的实测：54px 头、1140 容器、75/25 双栏、卡片圆角 5、行高 66…） */
:root {
  --bg: #eff2f6;
  --white: #fff;
  --primary: #007bff;
  --primary-grad: linear-gradient(135deg, #59c3fb 10%, #268df7 100%);
  --purple: #6f50e7;
  --dark-grad: linear-gradient(to right, #29323c, #485563);
  --hook-grad: linear-gradient(90deg, #900c3f 0, #004ec5 100%);
  --text: #212529;
  --text-2: #343a40;
  --text-3: #495057;
  --muted: #6c757d;
  --grey: rgba(134, 142, 150, .8);
  --light: #f8f9fa;
  --line: #dee2e6;
  --danger: #d6064c;
  --warn: #ff6f06;
  --pink: #ff5e7f;
  --hot-label: #e85252;
  --hot-label-bg: #fef3f3;
  --shadow-nav: 0 6px 15px rgba(142, 142, 142, .07);
  --font: "HarmonyOS Sans SC", "HarmonyOS_Regular", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 14px/21px var(--font); display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; border: 0; }
svg { vertical-align: -.15em; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 15px; width: 100%; }
.text-muted { color: var(--muted) !important; }
.text-grey { color: var(--grey); }
.small { font-size: 12.25px; }
.break-all { word-break: break-all; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.px-3 { padding-left: 15px; padding-right: 15px; }
.only-mobile { display: none; }
.navbar.only-mobile { display: none; }

/* ---------------- 头部 ---------------- */
#header { position: relative; z-index: 20; }
.navbar {
  background: var(--white); height: 54px; box-shadow: var(--shadow-nav);
  display: flex; align-items: center;
}
#pc_nav { display: flex; align-items: center; height: 54px; }
.navbar-brand { display: flex; align-items: center; margin-right: 8px; flex: none; }
.navbar-brand .logo-2 { height: 25px; width: auto; }
.navbar-brand .logo-mark { height: 34px; width: auto; display: block; }
#mobile_nav .logo-mark { height: 30px; }
.navbar-brand .logo-word { font-size: 15px; font-weight: 700; color: #1f2d3d; margin-left: 8px; white-space: nowrap; }
.nav { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
.nav .nav-item { flex: none; }
.nav .nav-link {
  display: block; color: var(--primary); font-size: 14px; line-height: 21px;
  padding: 14px; margin-top: 5px; white-space: nowrap; transition: color .15s;
}
.nav .nav-link:hover { color: #0056b3; }
.nav .nav-link .ico-home { margin-right: 4px; }
.header-right { margin-left: auto; flex: none; }
#mobile_nav { display: none; align-items: center; justify-content: space-between; }
#mobile_nav .menu-btn { color: var(--muted); font-size: 20px; padding: 6px 10px 6px 0; }
#mobile_nav .navbar-brand { margin: 0; }
#mobile_nav .user-btn { color: var(--muted); font-size: 22px; padding: 6px 0 6px 10px; }

/* ---------------- 主体双栏 ---------------- */
#body { flex: 1 0 auto; padding-top: 21px; }
.row { display: flex; align-items: flex-start; }
.main { width: 75%; max-width: 75%; padding: 0 15px; }
.aside { width: 25%; max-width: 25%; padding: 0 15px 0 0; }

.card {
  background: var(--white); border-radius: 5px; margin-bottom: 14px; overflow: hidden;
}
.card-header { padding: 10.5px 17.5px; color: var(--text-3); }
.card-body { padding: 17.5px; }

/* 轮播 */
.carousel { position: relative; border-radius: 3.5px; overflow: hidden; margin-bottom: 14px; }
.carousel-inner { position: relative; height: 190px; }
.carousel-item {
  position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
}
.carousel-item.active { opacity: 1; }
.carousel-item .banner {
  height: 190px; width: 100%; display: flex; flex-direction: column;
  justify-content: center; padding: 0 28px;
}
.banner .bn-title { color: #fff; font-size: 22px; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
.banner .bn-sub { color: rgba(255, 255, 255, .85); font-size: 13px; margin-top: 8px; }
.carousel-caption { display: none; }
.carousel-indicators {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.carousel-indicators li {
  display: block; width: 26px; height: 3px; background: rgba(255, 255, 255, .5); border-radius: 2px; cursor: pointer;
}
.carousel-indicators li.active { background: #fff; }
.carousel-control {
  position: absolute; top: 0; bottom: 0; width: 42px; display: flex; align-items: center;
  justify-content: center; color: rgba(255, 255, 255, .85); font-size: 22px; opacity: 0;
  transition: opacity .2s; background: linear-gradient(to right, rgba(0, 0, 0, .25), transparent);
}
.carousel-control.right { right: 0; background: linear-gradient(to left, rgba(0, 0, 0, .25), transparent); }
.carousel:hover .carousel-control { opacity: 1; }

/* 紫色大按钮入口 */
.card.fontlist { background: transparent; display: flex; flex-wrap: wrap; margin-bottom: 14px; }
.fontlistson { width: 25%; max-width: 25%; text-align: center; }
.button-purple {
  display: inline-block; width: 97%; margin: 5px 0; height: 33px; line-height: 33px;
  background: var(--purple); color: #fff; font-size: 15px; font-weight: 550;
  border-radius: 3px; transition: filter .15s, transform .15s;
}
.button-purple:hover { filter: brightness(1.08); }

/* 热门区（后台「热门区」控制，一个格子都没有就不渲染） */
.icolist {
  display: flex; flex-wrap: wrap; position: relative; padding-left: 34px;
  border-radius: 5px; margin-bottom: 14px; background: var(--white); padding-top: 4px; padding-bottom: 4px;
}
.qc_ren {
  position: absolute; left: 0; top: 0; bottom: 0; width: 34px; border-radius: 6px;
  background: var(--hot-label-bg); color: var(--hot-label); font-size: 14px;
  display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl;
  letter-spacing: 2px;
}
.xzico_list { flex: 1 0 20%; max-width: 20%; }
.xzico_list .inner { margin: 5px 10px; text-align: center; }
.xzico_list .tile {
  width: 40px; height: 40px; border-radius: 10px; margin: 0 auto; display: block;
  color: #fff; font-size: 13px; font-weight: 700; line-height: 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .12); transition: transform .18s;
}
.xzico_list:hover .tile { transform: translateY(-2px) scale(1.06); }
.xzico_list .tile-img { overflow: hidden; line-height: 0; }
.xzico_list .tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xz_h5 { padding-top: 10px; margin: 0 0 7px; font-size: 12px; font-weight: 100; color: #666; text-align: center; line-height: 14px; }
.xz_h5 a { display: block; overflow-wrap: break-word; }

/* 主栏搜索条 */
.search-main { margin-bottom: 16px; }
.search-main .input-group { flex-wrap: nowrap; }
.search-main .form-control { background: var(--white); border: 1px solid var(--line); border-radius: 3.5px 0 0 3.5px; height: 38px; }
.btn-dark {
  background: #000; color: #fff; border: 1px solid #a040ff; border-radius: 3.5px;
  margin-left: 5px; cursor: pointer; padding: 6px 14px; font-size: 14px; font-weight: 400;
}
.btn-dark:hover { filter: brightness(1.2); color: #fff; }

/* 跑马灯 */
.marquee-bar {
  background: #333; border-radius: 25px; padding: 5px; margin-bottom: 14px;
  box-shadow: 0 0 5px #f200ff;
}
.marquee-bar .track { overflow: hidden; white-space: nowrap; }
.marquee-bar .track b {
  display: inline-block; padding-left: 100%; font-size: 16px; font-weight: 700;
  background-image: linear-gradient(90deg, #900c3f 0, #004ec5 50%, #900c3f 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: hook-slide 16s linear infinite, hook-color 2s linear infinite;
}
@keyframes hook-slide { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes hook-color { from { background-position: 0 0; } to { background-position: -100% 0; } }

/* 提示条 */
.alert {
  border-radius: 5px; padding: 10.5px 17.5px; margin-bottom: 14px; position: relative;
  display: flex; align-items: center; gap: 8px;
}
.alert-warn { color: var(--warn); background: rgba(255, 111, 6, .1); border: 1px solid var(--warn); }
.alert .close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 20px; line-height: 1; color: inherit; opacity: .55; cursor: pointer; background: none; border: 0;
}
.alert .close:hover { opacity: 1; }

/* 广告投放：横条位（原 APP 推广条版式） */
.ad-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 7px; padding: 6px 10.5px;
  background: #fefefe; border: 1px solid var(--line); border-radius: 5px;
}
.ad-bar:hover { border-color: #cfd6df; }
.ad-bar .ab-mark {
  flex: none; width: 43px; height: 43px; border-radius: 10px; color: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, #ff7a4d, #e0336f);
}
.ad-bar .ab-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-bar .ab-txt { flex: 1; min-width: 0; }
.ad-bar .line-1 {
  display: block; font-size: 14px; font-weight: 700; background-image: var(--hook-grad);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ad-bar .line-2 { display: block; font-size: 12px; color: var(--muted); }
.ad-bar .ab-btn {
  flex: none; font-size: 12px; color: #fff; background: var(--primary-grad);
  border-radius: 14px; padding: 5px 12px;
}
.ad-bar.rent { background: #fbfcfe; border-style: dashed; }
.ad-bar.rent .ab-mark { background: linear-gradient(135deg, #9aa7b8, #6d7c92); }
.ad-bar.rent .line-1 { background-image: none; -webkit-text-fill-color: #5b6773; color: #5b6773; }

/* 公告行 */
.xzgg {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  padding: 10.5px 14px; border-radius: 3.5px; margin-bottom: 14px; background: var(--white);
  font-size: 14px; gap: 10px;
}
.xzgg .item {
  display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700;
  background-image: var(--hook-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; padding-right: 10px; border-right: 1px solid var(--line);
}
.xzgg .item:last-child { border-right: 0; }
.xzgg .item .plain { -webkit-text-fill-color: currentColor; color: var(--muted); font-weight: 400; font-size: 12.25px; }
.xzgg .item .name { color: var(--primary); -webkit-text-fill-color: var(--primary); }

/* ---------------- 帖子列表 ---------------- */
.card-threadlist { margin-bottom: 14px; }
.card-threadlist .card-header { position: relative; padding: 10.5px 17.5px; }
.nav-tabs { display: flex; align-items: flex-end; gap: 2px; }
.nav-tabs .nav-link {
  font-size: 14px; font-weight: 700; color: var(--text-3); padding: 7px 14px;
  border-radius: 3.5px 3.5px 0 0; transition: background .15s, color .15s;
}
.nav-tabs .nav-link:hover { background: var(--light); }
.nav-tabs .nav-link.active { color: var(--primary); background: rgba(0, 123, 255, .08); }
.xz_qd {
  position: absolute; right: 17.5px; top: 50%; transform: translateY(-50%);
  background: var(--primary-grad); border-radius: 8px; color: #fff;
}
.xz_qd + .xz_qd, .xz_qd.second { right: 82px; }
.xz_qd a {
  display: block; color: #fff; font-size: 12.25px; font-weight: 300;
  padding: 5px 8px; border-radius: 8px; white-space: nowrap;
}
.xz_qd:hover { filter: brightness(1.06); }

.threadlist .media.thread {
  display: flex; gap: 14px; padding: 6px 0; margin: 0 14px;
  border-bottom: 1px solid #f2f3f5; cursor: pointer; transition: background .15s;
}
.threadlist .media.thread:last-child { border-bottom: 0; }
.threadlist .media.thread:hover { background: var(--white); box-shadow: 0 0 0 1px #eef0f3; }
.avatar-3 {
  width: 34px; height: 34px; border-radius: 50%; flex: none; color: #fff; font-size: 14px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-top: 2px;
}
.avatar-5 {
  width: 26px; height: 26px; border-radius: 50%; flex: none; color: #fff; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
  margin-right: 7px; vertical-align: middle;
}
.avatar-6 {
  width: 72px; height: 72px; border-radius: 50%; flex: none; color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden;
}
/* 上传过头像的账号：圆形里放图片，铺满 */
.av-img { padding: 0; background: none !important; }
.av-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
#mobile_nav .user-btn { display: inline-flex; align-items: center; }
.media-body { flex: 1 1 auto; min-width: 0; }
.style3_subject { font-size: 14px; line-height: 21px; }
.style3_subject a { color: #a51616; font-weight: 700; }
.style3_subject a:hover { color: #7d0f0f; }
.icon-top { color: var(--pink); font-size: 12px; margin-right: 3px; }
.badge-hot {
  display: inline-block; font-size: 9px; line-height: 9px; color: var(--danger);
  background: rgba(194, 41, 46, .1); border-radius: 140px; padding: 2.25px 5.4px; margin-left: 4px;
  vertical-align: 1px;
}
.thread-meta {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12.25px; line-height: 18.375px; margin-top: 3px; min-width: 0;
}
.thread-meta .left { display: flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; }
.forum-pill {
  color: var(--grey); background: var(--light); border-radius: 2px; padding: 1px 4px; flex: none;
}
.forum-pill:hover { background: #bebebe; }
.verified { color: var(--primary); flex: none; }
.username { color: var(--muted); flex: none; }
.username:hover { color: var(--primary); }
.date { color: var(--grey); flex: none; }
.reply-to { display: flex; align-items: center; gap: 4px; color: var(--grey); min-width: 0; }
.reply-to .who { color: var(--muted); }
.thread-count { color: var(--muted); white-space: nowrap; flex: none; display: flex; align-items: center; gap: 4px; }
.thread-count:hover { color: var(--primary); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: -1px; margin: 21px 0 7px; }
.page-item a {
  display: block; padding: 7px 10.5px; font-size: 14px; line-height: 17.5px;
  color: var(--primary); background: var(--white); border: 1px solid var(--line);
}
.page-item:first-child a { border-radius: 3.5px 0 0 3.5px; }
.page-item:last-child a { border-radius: 0 3.5px 3.5px 0; }
.page-item a:hover { background: #e9ecef; }
.page-item.active a { color: #fff; background: var(--primary); border-color: var(--primary); }
.page-item.disabled a { color: #6c757d; pointer-events: none; opacity: .6; }

/* ---------------- 右侧栏 ---------------- */
.card-site-info { border-radius: 5px; }
.index-siteInfo-bg { height: 80px; background: var(--dark-grad); }
.site-info-logo {
  width: 49px; height: 49px; border-radius: 3.5px; background: var(--white); border: 3px solid var(--white);
  box-shadow: 0 1.75px 3.5px rgba(0, 0, 0, .075); margin: -25px 0 0 14px; display: flex;
  align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px;
}
.site-info-body { margin: 12px 14px 14px; }
.site-info-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.site-info-head .name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-info-head .toggle { color: var(--muted); cursor: pointer; transition: transform .2s; }
.site-info-head .toggle.up { transform: rotate(180deg); }
.site-brief { font-size: 12px; line-height: 21px; color: rgba(0, 0, 0, .5); overflow: hidden; }

.login-card .card-body { display: flex; gap: 12px; padding: 17.5px; }
.login-card .big-ico { font-size: 34px; color: var(--secondary, #5a6169); flex: none; line-height: 1; }
.login-card h6 { margin: 2px 0 7px; font-size: 14px; font-weight: 700; }
.login-card p { margin: 0; font-size: 12.25px; color: var(--muted); }
.user-on .uc-name { min-width: 0; }
.user-on h6 { display: flex; align-items: center; gap: 4px; }
.uc-stats { display: flex; border-top: 1px solid #eef0f3; }
.uc-stats span { flex: 1; min-width: 0; text-align: center; padding: 11px 4px 12px; }
.uc-stats span + span { border-left: 1px solid #eef0f3; }
.uc-stats b { display: block; font-size: 15px; font-weight: 700; line-height: 20px; }
.uc-stats i { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.card-footer { display: flex; gap: 8px; padding: 10.5px 17.5px; border-top: 1px solid #eef0f3; }
.btn {
  display: inline-block; text-align: center; font-size: 12.25px; font-weight: 300;
  padding: 5.25px 10.5px; border-radius: 5.25px; border: 1px solid transparent;
  transition: filter .15s, background .15s, color .15s; white-space: nowrap;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-outline { background: var(--white); border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: rgba(0, 123, 255, .08); }
.half { width: 48%; }

.search-card .card-body { padding: 9px; }
.input-group { display: flex; }
.input-group .form-control {
  flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 21px; padding: 5.25px 10.5px;
  border: 1px solid #ced4da; border-right: 0; border-radius: 3.5px 0 0 3.5px; outline: none;
  font-family: var(--font); background: var(--white); color: var(--text-3);
}
.input-group .form-control:focus { border-color: #80bdff; box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .15); }
.input-group .btn { border-radius: 0 3.5px 3.5px 0; cursor: pointer; }

/* ---------------- 悬浮用户卡（头像 hover） ---------------- */
.pop-card {
  position: fixed; z-index: 60; width: 300px; background: var(--white); border-radius: 5px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .16); padding: 14px; display: none; gap: 12px;
}
.pop-card.show { display: flex; }
.pop-card .avatar-4 {
  width: 44px; height: 44px; border-radius: 50%; flex: none; color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pop-card h5 { margin: 0 0 6px; font-size: 15px; }
.pop-card .badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.badge { font-size: 11px; border-radius: 3px; padding: 2px 6px; color: #fff; }
.badge.uid { background: var(--primary); }
.badge.grp { background: #17a2b8; }
.badge.when { background: var(--secondary, #5a6169); }
.pop-card .stats { font-size: 12px; color: var(--muted); }
.pop-card .stats span + span { margin-left: 16px; }

/* ---------------- 移动端抽屉 / 分类弹层 / 底栏 ---------------- */
.js-sidebar { position: fixed; inset: 0; z-index: 80; visibility: hidden; }
.js-sidebar.open { visibility: visible; }
.js-sidebar--background {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .25s;
}
.js-sidebar.open .js-sidebar--background { opacity: 1; }
.js-sidebar--container {
  position: absolute; left: 0; top: 0; bottom: 0; width: 282px; max-width: 82%;
  background: var(--bg); overflow-y: auto; transform: translateX(-100%); transition: transform .28s ease;
}
.js-sidebar.open .js-sidebar--container { transform: translateX(0); }
.drawer-head { height: 96px; background: var(--dark-grad); }
.drawer-title { margin: -50px 14px 14px; }
.drawer-title .avatar-4 {
  width: 60px; height: 60px; border-radius: 50%; border: 2px solid #fff; background: var(--primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.drawer-title h4 { margin: 12px 0 8px; font-size: 16px; font-weight: 700; }
.drawer-title .sub { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.drawer-title .btns { display: flex; gap: 8px; }
.drawer-title .btn { font-size: 13px; padding: 6px 14px; }
.sidebar_menu .card, .sidebar_forumList.card { border-radius: 0; margin-bottom: 10px; }
.sidebar_menu .card-body { padding: 10px 12px; }
.sidebar--nav .nav-link {
  display: flex; align-items: center; gap: 8px; color: var(--text-3); padding: 8px 10px;
  border-radius: 5px; font-size: 14px;
}
.sidebar--nav .nav-link:hover { background: #f6f6f6; color: var(--primary); }
.sidebar_forumList .card-body { padding: 8px 12px; }
.sidebar_forumList .forum-link {
  display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-radius: 5px; font-size: 14px;
  color: var(--text-3);
}
.sidebar_forumList .forum-link:hover { background: var(--light); color: var(--primary); }
.forum-dot { width: 20px; height: 20px; border-radius: 5px; flex: none; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }

.modal-mask {
  position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-mask.open { display: flex; }
.modal-content { background: var(--white); border-radius: 8px; width: 100%; max-width: 420px; overflow: hidden; }
.modal-head { padding: 26px 16px; text-align: center; background: linear-gradient(135deg, #3ec6d8, #268df7); color: #fff; position: relative; }
.modal-head .h3 { font-size: 20px; font-weight: 700; }
.modal-head .h5 { margin-top: 10px; font-size: 13px; opacity: .95; }
.badge-pink { background: #ff5e7f; color: #fff; border-radius: 3px; padding: 1px 7px; margin: 0 6px; }
.modal-head .close { position: absolute; right: 12px; top: 8px; color: #fff; font-size: 22px; background: none; border: 0; cursor: pointer; }
.modal-body { padding: 8px 12px 14px; max-height: 56vh; overflow-y: auto; }
.modal-body .grid { display: flex; flex-wrap: wrap; }
.modal-body .cell { width: 33.33%; text-align: center; padding: 10px 4px; border-radius: 5px; }
.modal-body .cell:hover { background: var(--light); }
.modal-body .forum-dot { width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 9px; font-size: 14px; }
.modal-body .cell .n { font-size: 12.5px; color: var(--text-3); }

.bottom-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 55px;
  background: var(--white); box-shadow: 0 -1px 8px rgba(0, 0, 0, .06); align-items: center;
}
.bottom-nav a { flex: 1; text-align: center; color: var(--text-3); font-size: 11px; padding-top: 6px; }
.bottom-nav a .ico { font-size: 19px; display: block; margin-bottom: 2px; }
.bottom-nav a.active { color: var(--primary); }
.bottom-nav a.bn-fab { padding-top: 0; }
.fab-circle {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin: -22px auto 0; border-radius: 50%;
  background: var(--primary-grad); color: #fff; border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(38, 141, 247, .45);
}
.fab-circle .ico { font-size: 18px; margin-bottom: 0; line-height: 1; }
.fab-circle b { font-size: 10px; font-weight: 400; line-height: 13px; }
.float-login { display: none; position: fixed; left: 0; right: 0; bottom: calc(88px + env(safe-area-inset-bottom, 0px)); text-align: center; z-index: 69; }
.float-login .btn {
  background: var(--primary-grad); color: #fff; border-radius: 999px; padding: 8px 26px;
  box-shadow: 0 1px 3px rgba(26, 26, 26, .1); font-size: 13px;
}

/* ---------- 热门区介绍页 ---------- */
.hot-page { padding: 22px; }
.hot-title { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 29px; color: #1f2d3d; }
.hot-badge {
  display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; color: #fff;
  background: var(--danger); border-radius: 4px; padding: 4px 7px; margin-bottom: 10px;
}
.hot-author { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.hot-av {
  width: 26px; height: 26px; border-radius: 50%; flex: none; color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.hot-v { color: var(--primary); display: inline-flex; align-items: center; }
.hot-an { font-size: 13.5px; font-weight: 600; color: #1f2d3d; }
.hot-official {
  font-size: 10.5px; color: var(--primary); background: rgba(0, 123, 255, .09);
  border-radius: 3px; padding: 2px 5px; font-weight: 600;
}
.hot-meta { font-size: 12px; color: var(--grey); margin-bottom: 14px; }
.hot-notice {
  display: flex; align-items: center; gap: 7px; font-size: 13px; color: #c2292e;
  background: #fdeef0; border-radius: 5px; padding: 11px 14px; margin-bottom: 16px;
}
.hot-notice .ico { color: #c2292e; display: inline-flex; }
.hot-intro { font-size: 14.5px; line-height: 26px; color: #333; }
.hot-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.hot-go, .hot-copy {
  display: block; width: 100%; text-align: center; padding: 12px 20px;
  font-size: 14.5px; font-weight: 600; color: #fff; background: var(--primary-grad); border-radius: 5px;
}
.hot-go:hover, .hot-copy:hover { filter: brightness(1.08); }
.hot-imgs { margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.hot-imgs img { width: 100%; border-radius: 5px; display: block; background: #f2f4f7; }
/* 热门页右栏频道卡：封面 + 压边头像 + 认证蓝框 + 编号 + 三格统计 */
.hot-cover { height: 92px; background-size: cover; background-position: center; }
.hot-card-body { padding: 0 16px 16px; text-align: center; }
.hot-card-av {
  width: 62px; height: 62px; border-radius: 50%; border: 3px solid #fff; color: #fff;
  font-size: 19px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
  margin-top: -31px; position: relative; overflow: hidden;
}
.hot-card-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hot-card-name { font-size: 16px; font-weight: 700; color: #1f2d3d; margin: 8px 0 12px; }
.hot-cert { background: #eaf4ff; border-radius: 6px; padding: 10px 12px; }
.hot-cert-t {
  color: var(--primary); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid rgba(0, 123, 255, .18);
}
.hot-cert-line { color: var(--primary); font-size: 12.5px; font-weight: 600; word-break: break-all; }
.hot-uid { display: flex; justify-content: center; gap: 12px; font-size: 12px; color: var(--primary); font-weight: 600; margin: 12px 0; }
.hot-stats { display: flex; border-top: 1px solid #eceff2; padding-top: 12px; }
.hot-stats span { flex: 1; }
.hot-stats b { display: block; font-size: 15px; color: #1f2d3d; }
.hot-stats i { font-style: normal; font-size: 11.5px; color: var(--grey); }

/* ---------- 在线客服页 ---------- */
.kf-page { padding: 0; }
.kf-head { padding: 16px 20px 12px; border-bottom: 1px solid #f1f3f5; }
.kf-head h3 { margin: 0; font-size: 17px; font-weight: 700; color: #1f2d3d; }
.kf-head p { margin: 5px 0 0; font-size: 12.5px; color: var(--muted); }
.kf-msgs { height: 340px; overflow-y: auto; padding: 16px 20px; background: #f6f8fb; }
.kf-empty { text-align: center; color: #9aa1a9; font-size: 12.5px; padding: 60px 0; }
.kf-msg { margin-bottom: 14px; display: flex; flex-direction: column; }
.kf-msg.me { align-items: flex-end; }
.kf-msg.admin { align-items: flex-start; }
.kf-bubble {
  max-width: 78%; padding: 9px 13px; font-size: 13.5px; line-height: 21px; border-radius: 10px;
  word-break: break-word; white-space: pre-wrap;
}
.kf-msg.me .kf-bubble { background: var(--primary-grad); color: #fff; border-bottom-right-radius: 3px; }
.kf-msg.admin .kf-bubble { background: #fff; color: #1f2d3d; border: 1px solid #e8ecf1; border-bottom-left-radius: 3px; }
.kf-time { margin-top: 4px; font-size: 10.5px; color: #9aa1a9; }
.kf-compose { display: flex; gap: 10px; padding: 12px 20px 16px; border-top: 1px solid #f1f3f5; background: #fff; }
.kf-compose textarea {
  flex: 1 1 auto; min-width: 0; resize: none; border: 1px solid #dde3ea; border-radius: 6px;
  padding: 8px 11px; font-size: 13.5px; line-height: 20px; font-family: inherit; outline: none;
}
.kf-compose textarea:focus { border-color: var(--primary); }
.kf-send {
  flex: none; align-self: flex-end; padding: 9px 22px; font-size: 13.5px; font-weight: 600;
  color: #fff; background: var(--primary-grad); border: 0; border-radius: 6px; cursor: pointer;
}
.kf-send:hover { filter: brightness(1.08); }
.sv-card .aside-h { margin-bottom: 6px; }
.sv-row { display: flex; align-items: center; gap: 10px; padding: 11px 4px; border-bottom: 1px solid #f1f3f5; font-size: 13.5px; }
.sv-row:last-of-type { border-bottom: 0; }
.sv-k { flex: none; width: 52px; color: var(--muted); font-size: 12.5px; }
.sv-v { flex: 1 1 auto; min-width: 0; font-weight: 600; color: #1f2d3d; word-break: break-all; }
.sv-copy { flex: none; padding: 3px 12px; font-size: 12px; color: var(--primary); background: rgba(0, 123, 255, .08); border-radius: 10px; }
.sv-copy:hover { background: rgba(0, 123, 255, .15); }
.sv-hours { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }
.sv-note { margin-top: 6px; padding: 8px 10px; font-size: 11.5px; line-height: 17px; color: #8d949d; background: var(--light); border-radius: 4px; }

/* ---------- VIP 介绍页 ---------- */
.vip-page { padding: 26px 22px 24px; text-align: center; }
.vip-head .vip-crown { display: inline-flex; width: 58px; height: 58px; border-radius: 50%; align-items: center; justify-content: center; font-size: 28px; color: #b8860b; background: linear-gradient(135deg, #fdf3d7, #fbe6ad); }
.vip-head h3 { margin: 12px 0 6px; font-size: 20px; font-weight: 700; color: #1f2d3d; }
.vip-head p { margin: 0; font-size: 12.5px; color: var(--muted); }
.vip-list { margin: 18px auto 0; max-width: 380px; text-align: left; }
.vip-list li { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; font-size: 13.5px; line-height: 20px; color: var(--text-2); border-bottom: 1px dashed #eef0f3; }
.vip-list li:last-child { border-bottom: 0; }
.vip-list .ico { flex: none; margin-top: 3px; color: #12a45c; }
.vip-note { margin: 16px auto 0; max-width: 380px; padding: 10px 13px; font-size: 12px; line-height: 19px; color: #7a5b12; background: #fff8e6; border: 1px solid #ffe9b3; border-radius: 5px; }
.vip-price { margin: 16px 0 0; }
.vip-price b { display: block; font-size: 44px; font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, #f7b733, #e8871a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vip-price span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.vip-btn { display: block; max-width: 380px; margin: 18px auto 0; padding: 13px 34px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #f7b733, #e8871a); border-radius: 8px; box-shadow: 0 6px 16px rgba(232, 135, 26, .28); }
.vip-btn:hover { filter: brightness(1.06); }
.vip-btn.done { background: #fff8e6; border: 1px solid #ffe9b3; color: #7a5b12; box-shadow: none; cursor: default; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 991.98px) {
  #pc_nav { display: none; }
  .navbar:not(.only-mobile) { display: none; }
  #mobile_nav { display: flex; }
  .aside { display: none; }
  .container { padding-left: 10px; padding-right: 10px; }
  .alert-warn { padding: 9px 34px 9px 12px; align-items: flex-start; line-height: 20px; }
  .alert-warn .close { right: 10px; top: 8px; transform: none; }
  .main { width: 100%; max-width: 100%; padding: 0; }
  .fontlistson { width: 33.33%; max-width: 33.33%; }
  .ad-bar { display: flex; }
  .bottom-nav, .float-login { display: flex; }
  .float-login { display: block; }
  /* body 是 flex 列且 height:100%，撑不满时 padding-bottom 不生效，页脚会被底栏压住 */
  html, body { height: auto; min-height: 100%; }
  body { padding-bottom: 112px; }
  .bottom-nav { padding-bottom: env(safe-area-inset-bottom); }
  #body { padding-top: 10px; }
  .carousel { margin-left: -10px; margin-right: -10px; }
  .carousel-inner, .carousel-item .banner { height: 170px; }
  .icolist { margin-left: -10px; margin-right: -10px; border-radius: 0; }
  .thread-meta .reply-to .lbl, .date.hide-sm { display: none; }
  .card-threadlist { margin-left: -10px; margin-right: -10px; border-radius: 0; border-left: 0; border-right: 0; }
  .card-threadlist .card-header { padding-left: 14px; padding-right: 14px; }
  .threadlist .media.thread { gap: 10px; margin: 0; padding: 9px 14px; }
  .style3_subject { font-size: 17px; line-height: 25px; }
  .thread-meta { margin-top: 4px; }
  .thread-meta .left { flex-wrap: nowrap; overflow: hidden; gap: 0 8px; }
  .thread-meta .left > * { flex: none; }
  .thread-meta .tag-pill, .thread-meta .views, .thread-meta .reply-to { display: none; }
  .media.thread .forum-pill { display: none; }
  .forum-pill, .tag-pill, .views, .reply-to, .date, .thread-count { white-space: nowrap; }
  .username { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .xzgg { padding: 9px 10px; }
  .xzgg .item { font-size: 13px; border-right: 0; padding-right: 0; flex: 1 1 auto; min-width: 0; line-height: 20px; }
  .bottom-nav .row { flex: 1; display: flex; }
  .marquee-bar { border-radius: 16px; }
  .only-mobile { display: block; }
  .navbar.only-mobile { display: flex; }
  .no-mobile { display: none; }
}
@media (max-width: 575.98px) {
  .fontlistson { width: 33.33%; }
  .xzico_list { flex: 1 0 25%; max-width: 25%; }
  .thread-count .views { display: none; }
}

/* ================= 服务帖版新增 ================= */
/* 详情页：大标题 → 浏览量 → 温馨提示 → 卖家卡 → 正文 → 图片 → 信息块 → 动态 → 底部操作条 */
.pd-card { padding: 18px 22px 0; }
.pd-title { margin: 0; font-size: 20px; font-weight: 700; line-height: 29px; color: #1f2d3d; }
.pd-views { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.pd-tip {
  display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; padding: 9px 12px;
  font-size: 12.5px; line-height: 19px; color: #1a7f37; background: #f0faf3;
  border: 1px solid #cdeed6; border-radius: 5px;
}
.pd-tip .ico { flex: none; margin-top: 2px; }
.pd-tip .ico svg { width: 14px; height: 14px; }
.pd-seller { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 13px; background: var(--light); border-radius: 6px; }
.pd-seller:hover { background: #f1f3f6; }
.pd-seller .avatar-3 { margin-top: 0; width: 38px; height: 38px; font-size: 15px; }
.pd-seller-b { flex: 1 1 auto; min-width: 0; }
.pd-seller-b b { display: block; font-size: 14.5px; color: #1f2d3d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-badge { display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; padding: 1px 7px; font-size: 11px; color: #1a7f37; background: #e3f5e9; border-radius: 9px; }
.pd-badge .ico svg { width: 11px; height: 11px; }
.pd-arrow { flex: none; color: #b3bac2; transform: rotate(180deg); }
.pd-arrow .ico svg { width: 15px; height: 15px; }
.pd-sec { margin: 18px 0 10px; font-size: 15.5px; font-weight: 700; color: #20232a; }
.pd-body p { margin: 0 0 10px; font-size: 14.5px; line-height: 26px; color: #333; }
.pd-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.pd-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; background: #f2f4f7; display: block; }
.pd-info { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 16px; padding: 11px 14px; font-size: 12.5px; color: var(--text-3); background: #f5f6f8; border-radius: 5px; }
.pd-acts { border-top: 1px solid #f1f3f5; }
.pd-act { display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #f4f6f8; }
.pd-act:last-child { border-bottom: 0; }
.pd-act .avatar-3 { margin-top: 0; width: 30px; height: 30px; font-size: 12px; }
.pd-act-b { flex: 1 1 auto; min-width: 0; }
.pd-act-b b { display: block; font-size: 13px; font-weight: 600; color: #35404d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-act-b i { display: block; font-style: normal; font-size: 11.5px; color: #98a1ab; margin-top: 2px; }
.pd-act-done { flex: none; font-size: 11.5px; color: #12a45c; background: #eaf8ef; border-radius: 10px; padding: 2px 9px; }
.pd-acts-empty { padding: 16px 0 6px; font-size: 12.5px; color: #98a1ab; text-align: center; }
.pd-bar { display: flex; align-items: center; gap: 16px; margin: 16px -22px 0; padding: 12px 22px; border-top: 1px solid #eef0f3; }
.pd-actbtn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--text-3); }
.pd-actbtn .ico svg { width: 17px; height: 17px; }
.pd-unlock { flex: 1 1 auto; margin-left: 6px; text-align: center; padding: 10px 0; font-size: 15px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #2fbf71, #12a45c); border-radius: 6px; }
.pd-unlock:hover { filter: brightness(1.06); }
.pd-unlock.done { background: #eaf8ef; color: #12a45c; border: 1px solid #bce8cc; }
.badge-show { display: inline-block; margin-left: 6px; padding: 2px 6px; font-size: 9px; border-radius: 140px; color: #0f9d8f; background: rgba(15,157,143,.1); }

/* 侧栏：解锁流程 + 我的解锁记录 */
.aside-h { margin: 0 0 11px; font-size: 14px; font-weight: 700; }
.steps li { display: flex; gap: 9px; margin-bottom: 9px; font-size: 12.5px; line-height: 19px; color: var(--text-3); }
.steps .sn { flex: none; width: 19px; height: 19px; border-radius: 50%; background: var(--primary-grad); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.steps-note { margin-top: 11px; padding: 8px 10px; font-size: 11.5px; line-height: 17px; color: #8d949d; background: var(--light); border-radius: 4px; }
.unlock-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.unlock-table th { padding: 4px 0; text-align: left; font-weight: 400; color: var(--muted); border-bottom: 1px solid #eef0f3; }
.unlock-table td { padding: 7px 0; border-bottom: 1px solid #f4f6f8; color: var(--text-2); }
.unlock-table td.ttl { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unlock-table td.ok { color: #12a45c; }
.unlock-table .uc-empty { padding: 12px 0; text-align: center; color: #b3bac2; }

/* 解锁付款弹层 */
.pay-mask { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(15,20,25,.45); }
.pay-mask.open { display: flex; }
.pay-box { width: 392px; max-width: 92vw; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.pay-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--dark-grad); color: #fff; }
.pay-head .ph-t { font-size: 16px; font-weight: 700; }
.pay-head .close { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pay-body { padding: 16px 18px 18px; }
.pb-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12.5px; color: var(--muted); }
.pb-row b { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; color: var(--text-2); }
.pb-amt { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 12px; padding: 10px 13px; background: var(--light); border-radius: 5px; font-size: 12.5px; color: var(--muted); }
.pb-amt b { font-size: 22px; color: var(--danger); }
.pb-ch { font-size: 12.5px; color: var(--muted); }
.ch-list { display: flex; gap: 8px; margin-top: 7px; }
.ch-list .ch { padding: 5px 13px; font-size: 12.5px; color: var(--text-3); border: 1px solid var(--line); border-radius: 4px; }
.ch-list .ch.active { color: var(--primary); border-color: var(--primary); background: rgba(0,123,255,.06); }
.pb-qr { padding: 12px 0 4px; text-align: center; }
.pb-qr .qr { display: inline-block; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.pb-qr .qr-tip { margin-top: 8px; font-size: 11.5px; color: #8d949d; }
.qr-live { margin: 4px auto; padding: 14px 16px; max-width: 330px; font-size: 12.5px; line-height: 20px; color: #41505f; background: #f4f7fb; border: 1px solid #e0e7f1; border-radius: 8px; }
.pb-actions { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.btn.wide { flex: 1 1 auto; padding: 9px 0; font-size: 14px; font-weight: 400; }
.btn.wide.loading { opacity: .7; }
.pb-cancel { font-size: 12.5px; color: var(--muted); }
.pb-tip { margin-top: 12px; font-size: 11px; line-height: 17px; color: #b3bac2; }
.ps-ok { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; font-weight: 700; color: #12a45c; }
.ps-ico svg { width: 16px; height: 16px; }
.ps-contact { margin-bottom: 4px; padding: 12px 14px; font-size: 15px; font-weight: 700; letter-spacing: .2px; color: #12a45c; background: #f2fbf5; border: 1px dashed #bce8cc; border-radius: 5px; }

/* ---------- 列表新增元素（标签 / 浏览量 / 有图） ---------- */
.tag-pill { display: inline-block; margin-left: 5px; padding: 1px 7px; font-size: 11.5px; color: #6b7280; background: #f2f4f7; border-radius: 3px; }
.views { display: inline-flex; align-items: center; gap: 3px; margin-left: 10px; font-size: 12.25px; color: var(--muted); }
.views svg { width: 14px; height: 14px; }
.has-img { display: inline-flex; margin-left: 5px; color: #12a45c; vertical-align: -2px; }
.has-img svg { width: 14px; height: 14px; }
.badge-new { display: inline-block; margin-left: 5px; padding: 1px 7px; font-size: 11.5px; color: #fff; background: #12a45c; border-radius: 3px; }

/* ---------- 详情页 ---------- */
.post-crumb { margin-bottom: 12px; }
.post-crumb a { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; color: var(--text-3); }
.post-crumb svg { width: 15px; height: 15px; }
.rc-gross { display: block; font-size: 11px; font-weight: 400; color: var(--muted); margin-top: 2px; }

/* ---------- 发帖表单 / 后台审核 ---------- */
.form-card .form-head { padding: 15px 22px 13px; border-bottom: 1px solid var(--line); }
.form-head h3 { margin: 0; font-size: 18px; font-weight: 700; color: #1f2d3d; }
.form-head p { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.form-body { padding: 16px 22px 20px; }
.fr { margin-bottom: 14px; }
.fr > label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #35404d; }
.fr .form-control { width: 100%; padding: 8px 11px; font-size: 13.5px; color: #1f2d3d; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.fr textarea.form-control { resize: vertical; line-height: 21px; }
.fr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.file-hint { margin-top: 6px; font-size: 11.5px; color: #98a1ab; }
.form-body .btn.wide { min-width: 150px; width: auto; padding: 9px 24px; }
.form-notice { margin: 4px 0 14px; padding: 10px 13px; font-size: 12px; line-height: 19px; color: #7a5b12; background: #fff8e6; border: 1px solid #ffe9b3; border-radius: 5px; }
.admin-table { width: 100%; margin-bottom: 18px; font-size: 13px; border-collapse: collapse; }
.admin-table th { padding: 8px 10px; text-align: left; font-weight: 400; font-size: 12px; color: var(--muted); background: #f7f9fb; border-bottom: 1px solid var(--line); }
.admin-table td { padding: 10px; border-bottom: 1px solid #f1f3f5; color: var(--text-2); }
.admin-table td.ttl { max-width: 320px; }
.admin-table td.ttl a { color: #1f2d3d; }
.admin-empty { margin-bottom: 16px; padding: 16px; font-size: 13px; color: var(--muted); text-align: center; background: #f7f9fb; border-radius: 5px; }
.mini-btn { display: inline-block; margin-right: 6px; padding: 3px 11px; font-size: 12px; border-radius: 3px; }
.mini-btn.ok { color: #fff; background: #12a45c; }
.mini-btn.no { color: var(--text-3); background: #eef0f3; }
.mini-state { font-size: 11.5px; padding: 2px 8px; border-radius: 10px; }
.mini-state.wait { color: #b8860b; background: rgba(245,197,66,.16); }
.mini-state.ok { color: #12a45c; background: rgba(18,164,92,.1); }
.mini-state.no { color: #98a1ab; background: #f2f4f7; }

/* ---------- 板块页头 / 空列表 ---------- */
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 14px 16px; background: var(--white); border-radius: 5px; box-shadow: var(--shadow-nav); }
.cat-head > div { flex: 1; min-width: 0; }
.cat-head h3 { margin: 0; font-size: 17px; font-weight: 700; }
.cat-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.cat-all { flex: none; font-size: 12.5px; color: var(--primary); }
.threadlist .tl-empty { display: block; padding: 26px 16px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- 我的收入 / 提现 ---------- */
.wc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.wc-card { padding: 12px 13px; background: #f7f9fb; border: 1px solid var(--line); border-radius: 5px; }
.wc-card span { display: block; font-size: 12px; color: var(--muted); }
.wc-card b { display: block; margin-top: 5px; font-size: 19px; font-weight: 700; color: #1f2d3d; }
.wc-card b em { margin-left: 2px; font-size: 12px; font-style: normal; color: var(--muted); }
.wc-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.wd-amt { display: flex; align-items: center; gap: 10px; }
.wd-amt .form-control { flex: 1; }
.wd-amt a { flex: none; font-size: 12.5px; color: var(--primary); white-space: nowrap; }
.wd-chs { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-ch { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: 13px; color: var(--text-3); background: #f7f9fb; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; }
.wd-ch.on { color: var(--primary); background: rgba(0, 123, 255, .06); border-color: var(--primary); }
.wd-ch input { margin: 0; }
.wd-calc { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 2px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.wd-calc b { margin-left: 6px; font-size: 13.5px; color: #1f2d3d; }

/* ---------- 提现收款码 ---------- */
.wd-qr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wd-qr-hint { font-size: 11.5px; line-height: 17px; color: var(--muted); }
.wd-qr-prev { margin-top: 8px; }
.wd-qr-prev img { width: 96px; height: 96px; object-fit: cover; background: #fff; border: 1px solid var(--line); border-radius: 5px; }
.rc-qr { display: block; margin-top: 3px; font-size: 11px; color: #1a7f37; }

/* ---------- 用户中心 · 解锁记录 ---------- */
.ul-count { margin-left: 8px; font-size: 12px; font-weight: 400; color: var(--muted); }
.ul-item { display: flex; align-items: center; gap: 16px; padding: 13px 2px; border-bottom: 1px solid #eef0f3; }
.ul-item:last-child { border-bottom: 0; padding-bottom: 2px; }
.ul-main { flex: 1 1 auto; min-width: 0; }
.ul-ttl { display: block; font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ul-ttl:hover { color: var(--primary); }
.ul-meta { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; font-size: 12px; color: var(--muted); }
.ul-meta i { font-style: normal; color: #cbd3da; }
.ul-right { flex: none; text-align: right; }
.ul-right b { font-size: 15px; font-weight: 700; color: #1f2d3d; }
.ul-ops { display: flex; justify-content: flex-end; gap: 12px; margin-top: 6px; }
.ul-ops a { font-size: 12px; color: var(--primary); }
.ul-ops a + a { color: var(--muted); }
.ul-ops a:hover { text-decoration: underline; }
.ul-empty { padding: 22px 0; text-align: center; font-size: 12.5px; color: var(--muted); background: #f7f9fb; border-radius: 5px; }

/* ---------- 发帖到手预估 ---------- */
.pf-net { margin-top: 12px; padding: 9px 12px; font-size: 12.5px; line-height: 19px; color: #1f2d3d; background: rgba(0, 123, 255, .05); border: 1px solid rgba(0, 123, 255, .16); border-radius: 5px; }
.pf-net.off { color: var(--muted); background: #f7f9fb; border-color: var(--line); }

/* ---------- 用户中心：账号资料 ---------- */
.pf-card-body { display: flex; gap: 18px; align-items: flex-start; }
.pf-av { flex: none; width: 128px; text-align: center; }
.pf-av .avatar-6 { margin: 0 auto; }
.pf-av-ops { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.pf-av-ops a { font-size: 12px; color: var(--muted); }
.pf-av-ops a:hover { color: var(--primary); }
.btn.sm { padding: 5px 12px; font-size: 12.5px; }
.pf-fields { flex: 1 1 auto; min-width: 0; }
.pf-hint { margin: 2px 0 12px; font-size: 11.5px; line-height: 17px; color: var(--muted); }
@media (max-width: 991.98px) {
  .pf-card-body { flex-direction: column; align-items: center; }
  .pf-av { width: 100%; }
  .pf-fields { width: 100%; }
}

/* ---------- 发帖传图（介绍图 / 二维码，最多 6 张） ---------- */
.pf-imgs { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-img { position: relative; width: 84px; height: 84px; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); background: #f7f9fb; }
.pf-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-img b {
  position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 400; line-height: 17px;
  text-align: center; cursor: pointer;
}
.pf-add {
  width: 84px; height: 84px; border: 1px dashed #c3ccd8; border-radius: 5px; background: #fbfcfe;
  display: flex; align-items: center; justify-content: center; color: #98a1ab; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.pf-add:hover { border-color: var(--primary); color: var(--primary); }
.pf-add .ico svg { width: 22px; height: 22px; }

/* ---------- 签到弹层 ---------- */
.sign-box { width: 340px; }
.tk-box { width: 470px; }
.cp-sub { font-size: 12.5px; line-height: 19px; color: var(--muted); margin: -2px 0 14px; }
.sg-coin { padding-bottom: 12px; text-align: center; }
.sg-coin b { display: block; font-size: 22px; font-weight: 700; }
.sg-coin span { display: block; margin-top: 6px; font-size: 12px; line-height: 18px; color: var(--muted); }
.sg-week { display: flex; gap: 5px; margin: 4px 0 10px; }
.sg-week .wd { flex: 1; padding: 9px 0; text-align: center; font-size: 11.5px; color: var(--muted); background: #f1f3f5; border-radius: 4px; }
.sg-week .wd.on { color: #fff; background: var(--primary-grad); }
.sg-streak { margin-bottom: 12px; font-size: 12.5px; color: var(--text-3); text-align: center; }

/* ---------- 付款弹层演示提示 ---------- */
.pb-off { margin: 4px 0 6px; padding: 14px 16px; font-size: 13px; line-height: 22px; color: #41505f; background: #f6f8fb; border: 1px solid #e8ebf0; border-radius: 8px; }

/* ---------- 接单榜 ---------- */
.rank-list { display: flex; flex-direction: column; }
.rk-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 4px;
  border-bottom: 1px solid #f1f3f5; font-size: 13.5px; color: var(--text-2);
}
.rk-row:last-child { border-bottom: 0; }
.rk-row.me { background: rgba(0, 123, 255, .045); box-shadow: inset 3px 0 0 var(--primary); }
.rk-row .sp { flex: 1 1 auto; min-width: 8px; }
.rk-no {
  width: 22px; flex: none; text-align: center; font-size: 13px; font-weight: 700;
  color: var(--text-3); font-family: var(--font);
}
.rk-no.k1, .rk-no.k2, .rk-no.k3 { color: #fff; border-radius: 6px; padding: 3px 0; }
.rk-no.k1 { background: linear-gradient(135deg, #f7b733, #e8871a); }
.rk-no.k2 { background: linear-gradient(135deg, #b3bdc9, #8b98a8); }
.rk-no.k3 { background: linear-gradient(135deg, #d8a06a, #b06a34); }
.rk-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.rk-me {
  margin-left: 6px; padding: 1px 7px; font-size: 11px; font-style: normal; font-weight: 400;
  color: var(--primary); background: rgba(0, 123, 255, .1); border-radius: 10px;
}
.rk-n { flex: none; min-width: 62px; text-align: right; }
.rk-n b { font-size: 14px; font-weight: 700; }
.rk-n i { margin-left: 2px; font-size: 11.5px; font-style: normal; color: var(--muted); }
.rk-n.money b { color: var(--hot-label); }
@media (max-width: 575.98px) {
  .rk-row { gap: 8px; font-size: 13px; }
  .rk-post { display: none; }
  .rk-n { min-width: 54px; }
}

@media (max-width: 991.98px) {
  .pd-card { padding: 15px 16px 0; }
  .pd-title { font-size: 17px; line-height: 25px; }
  .pd-imgs { grid-template-columns: repeat(3, 1fr); }
  .pd-bar { margin: 14px -16px 0; padding: 10px 16px; gap: 12px; }
  .pd-unlock { font-size: 14px; padding: 9px 0; }
  .hot-page { padding: 16px; }
  .hot-title { font-size: 17px; line-height: 25px; }
  .ul-item { flex-wrap: wrap; gap: 8px 14px; }
  .ul-right { width: 100%; display: flex; align-items: baseline; justify-content: space-between; text-align: left; }
  .ul-ops { margin-top: 0; }
  .form-head, .form-body { padding-left: 16px; padding-right: 16px; }
  .fr-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-table { font-size: 12px; }
  .admin-table th:nth-child(4), .admin-table td:nth-child(4) { display: none; }
  .wc-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-head { padding: 12px 14px; gap: 10px; }
  .cat-head h3 { font-size: 16px; }
  .wd-calc { gap: 8px 16px; }
  .sign-box { width: 100%; }
  .tk-box { width: 100%; }
}

/* ================= 我的页（仿参考用户中心） ================= */
.my-top { border-radius: 5px; overflow: hidden; margin-bottom: 14px; background: var(--white); }
.my-head { background: linear-gradient(135deg, #35c48d 0%, #1faa74 100%); padding: 24px 18px 20px; }
.my-user { display: flex; align-items: center; gap: 13px; }
.my-user .avatar-6 { width: 58px; height: 58px; font-size: 23px; border: 2px solid rgba(255, 255, 255, .55); }
.my-user-b { flex: 1 1 auto; min-width: 0; }
.my-user-b > b, .my-user-b > b > a { font-size: 18px; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.my-user-b > a { font-size: 18px; font-weight: 700; color: #fff; display: block; }
.my-id, .my-sub { display: block; margin-top: 5px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.my-sign { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; font-size: 12.5px; color: #189a68; background: #fff; border-radius: 15px; }
.my-sign.done { color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .22); }
.my-stats { display: flex; padding: 13px 0 15px; }
.my-stat { flex: 1; min-width: 0; text-align: center; }
.my-stat b { display: block; font-size: 17px; font-weight: 700; color: #1f2d3d; }
.my-stat span { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }
.my-stat + .my-stat { border-left: 1px solid #f0f2f5; }
.my-vip { display: flex; align-items: center; gap: 11px; padding: 14px 16px; margin-bottom: 14px; border-radius: 5px; background: linear-gradient(135deg, #2e3d58 0%, #1e2a40 100%); }
.my-vip-ico { font-size: 26px; color: #f3cf8f; flex: none; }
.my-vip-b { flex: 1 1 auto; min-width: 0; }
.my-vip-b b { display: block; font-size: 15px; color: #f3cf8f; }
.my-vip-b i { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: rgba(243, 207, 143, .75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-vip-btn { flex: none; padding: 6px 14px; font-size: 12.5px; font-weight: 600; color: #4a3618; background: linear-gradient(135deg, #f7dfa8, #eec676); border-radius: 14px; }
.my-vip-btn.done { background: none; border: 1px solid rgba(243, 207, 143, .6); color: #f3cf8f; }
.my-wallet { display: flex; background: var(--white); border-radius: 5px; margin-bottom: 14px; }
.my-wcell { flex: 1; display: flex; align-items: center; gap: 10px; padding: 15px 14px; min-width: 0; }
.my-wcell + .my-wcell { border-left: 1px solid #f0f2f5; }
.my-wico { font-size: 24px; color: #1faa74; flex: none; }
.my-wb { flex: 1 1 auto; min-width: 0; }
.my-wb b { display: block; font-size: 13.5px; color: #1f2d3d; }
.my-wb i { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--muted); }
.my-wgo { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: var(--muted); }
.my-arrow { transform: rotate(180deg); }
.my-card { padding-bottom: 6px; }
.my-card-t { padding: 13px 16px 8px; font-size: 14px; font-weight: 600; color: #1f2d3d; }
.my-grid { display: flex; padding: 6px 0 12px; }
.my-grid a { flex: 1; min-width: 0; text-align: center; font-size: 12.5px; color: var(--text-3); }
.my-grid .ico { display: block; font-size: 25px; margin-bottom: 6px; }
.my-grid a:nth-child(1) .ico { color: #f0a020; }
.my-grid a:nth-child(2) .ico { color: #ff5e7f; }
.my-grid a:nth-child(3) .ico { color: #268df7; }
.my-grid a:nth-child(4) .ico { color: #f7b500; }
.my-row { display: flex; align-items: center; gap: 11px; padding: 13px 16px; font-size: 14px; color: var(--text-2); border-top: 1px solid #f4f6f9; }
.my-row .ico { font-size: 18px; color: var(--muted); }
.my-row span { flex: 1 1 auto; }
.my-row .my-arrow { font-size: 14px; color: #c3c9d0; }
.my-logout { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 13px; background: var(--white); border-radius: 5px; font-size: 14px; color: var(--danger); margin-bottom: 14px; }
.my-list-t { margin: 0; font-size: 15px; font-weight: 600; color: #1f2d3d; }

/* ---------- 用户中心子页共用的一套壳 ---------- */
.pg-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: #fff;
  background: linear-gradient(135deg, #35c48d 0%, #1faa74 100%);
}
.pg-back { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .92); }
.pg-back .ico { font-size: 14px; }
.pg-name { flex: 1 1 auto; min-width: 0; text-align: center; font-size: 15.5px; font-weight: 700; }
.pg-slot { flex: none; display: inline-flex; align-items: baseline; gap: 5px; font-size: 12px; color: rgba(255, 255, 255, .85); }
.pg-slot b { font-size: 15px; font-weight: 700; color: #fff; }
.pg-list .card-body { padding: 4px 16px; }
.my-face { position: relative; flex: none; cursor: pointer; }
.my-face-cam {
  position: absolute; right: -3px; top: -3px; width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px;
  color: #fff; background: rgba(31, 45, 61, .55); border: 1.5px solid rgba(255, 255, 255, .85);
}
.my-face:hover .my-face-cam { background: rgba(31, 45, 61, .8); }
.pd-actbtn.on { color: #f7b500; }
.pd-actbtn.on .ico svg { fill: currentColor; }
@media (max-width: 991.98px) {
  .my-top { margin-left: -10px; margin-right: -10px; border-radius: 0; }
  .my-head { padding: 26px 16px 22px; }
}

/* ================= VIP 头像徽标 ================= */
.av-vipwrap { position: relative; display: inline-flex; flex: none; }
.av-vip {
  position: absolute; left: 50%; bottom: -5px; transform: translateX(-50%);
  font-style: normal; font-size: 8.5px; font-weight: 800; letter-spacing: .4px; line-height: 1;
  padding: 2.5px 5px; color: #fff; background: linear-gradient(135deg, #ff9a3d, #ff5e3a);
  border: 1.5px solid #fff; border-radius: 8px; white-space: nowrap;
}
.my-user .av-vipwrap .av-vip { bottom: -3px; font-size: 9.5px; }

/* ================= 登录 / 注册弹窗 ================= */
.auth-box { border-radius: 14px; }
.auth-hero {
  position: relative; padding: 26px 24px 22px; text-align: center; color: #fff;
  background: linear-gradient(135deg, #59c3fb 0%, #2f7cf6 60%, #6f50e7 130%);
}
.auth-hero .close {
  position: absolute; right: 12px; top: 8px; background: none; border: 0;
  color: rgba(255, 255, 255, .9); font-size: 24px; line-height: 1; cursor: pointer;
}
.auth-ico {
  width: 46px; height: 46px; margin: 0 auto 9px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
}
.auth-hero .ph-t { font-size: 19px; font-weight: 700; }
.auth-sub { margin: 6px auto 0; max-width: 280px; font-size: 12.5px; line-height: 19px; color: rgba(255, 255, 255, .86); }
.auth-body { padding: 20px 24px 22px; }
.auth-body .fr { margin-bottom: 14px; }
.auth-body .fr label { font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.auth-body .form-control {
  height: 42px; border-radius: 9px; background: #f6f8fb; border: 1px solid #e6ebf2;
  font-size: 14px; transition: border-color .15s, background .15s, box-shadow .15s;
}
.auth-body .form-control:focus {
  background: #fff; border-color: #6ba7f8; outline: 0; box-shadow: 0 0 0 3px rgba(89, 195, 251, .18);
}
.auth-go {
  display: block; width: 100%; height: 44px; margin-top: 4px; border: 0; border-radius: 9px;
  font-size: 15px; font-weight: 600; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #59c3fb, #2f7cf6); box-shadow: 0 6px 16px rgba(47, 124, 246, .28);
}
.auth-go:disabled { opacity: .7; cursor: default; }
.auth-switch { display: block; margin-top: 13px; text-align: center; font-size: 13px; color: var(--primary); }
.auth-tip { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f2f5; text-align: center; font-size: 11.5px; line-height: 18px; color: var(--grey); }
