/* 保定鹊桥 - 高端精致风格 */
:root {
  --primary: #c2185b;
  --primary-dark: #8e0e42;
  --gold: #b8963e;
  --gold-light: #f5ecd7;
  --rose: #fdf2f6;
  --text: #2b2228;
  --muted: #91838b;
  --card: #fff;
  --line: #f0dfe6;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(194, 24, 91, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; background: #faf7f8; color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
.hide { display: none !important; }

/* 顶栏 */
.topbar {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.topbar .inner { max-width: 1080px; margin: 0 auto; padding: 0 18px; height: 62px; display: flex; align-items: center; gap: 22px; }
.logo { font-size: 21px; font-weight: 800; color: var(--primary-dark); letter-spacing: 1px; }
.logo b { color: var(--gold); }
.nav { display: flex; gap: 20px; font-size: 15px; flex: 1; }
.nav a { color: #6d5d66; padding: 4px 2px; position: relative; }
.nav a.active, .nav a:hover { color: var(--primary); }
.nav a .badge { position: absolute; top: -6px; right: -14px; background: var(--primary); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 5px; }
.userbox { display: flex; align-items: center; gap: 10px; }
.avatar-sm { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: linear-gradient(135deg,#e8b4c8,#d76a94); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.vip-tag { font-size: 11px; color: #7a5c14; background: linear-gradient(135deg,#f7e8c3,#eecf85); border-radius: 4px; padding: 1px 6px; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 40px; padding: 10px 26px; font-size: 15px; font-weight: 600; transition: .2s; }
.btn-p { background: linear-gradient(135deg, var(--primary), #e35d8f); color: #fff; box-shadow: 0 6px 16px rgba(194,24,91,.25); }
.btn-p:hover { transform: translateY(-1px); }
.btn-o { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-g { background: #f2ecef; color: #6d5d66; }
.btn-sm { padding: 6px 16px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* 通用布局 */
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 18px 80px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.sec-title { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 16px; }
.sec-title h2 { font-size: 22px; font-weight: 800; }
.sec-title span { color: var(--muted); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }

/* 会员卡 */
.mcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .25s; cursor: pointer; position: relative; }
.mcard:hover { transform: translateY(-5px); }
.mcard .cover { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff; font-weight: 800; position: relative; }
.mcard .g-badge { position: absolute; top: 10px; right: 10px; font-size: 12px; background: rgba(255,255,255,.9); border-radius: 20px; padding: 2px 10px; font-weight: 700; }
.g-badge.f { color: var(--primary); } .g-badge.m { color: #2b7de9; }
.mcard .rec { position: absolute; top: 10px; left: 10px; font-size: 11px; color: #7a5c14; background: linear-gradient(135deg,#f7e8c3,#eecf85); border-radius: 20px; padding: 2px 10px; font-weight: 700; }
.mcard .info { padding: 14px 16px 16px; }
.mcard h3 { font-size: 17px; }
.mcard h3 small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 5px; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.tag { font-size: 12px; padding: 2px 9px; border-radius: 6px; background: var(--rose); color: var(--primary-dark); }
.mcard .wish { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard .wish b { color: var(--gold); }

/* 首页 */
.hero { background: linear-gradient(135deg, #fbe4ee 0%, #fdf3ec 62%, #f7ecd9 100%);
  border-radius: 22px; padding: 40px 44px 26px; box-shadow: 0 10px 30px rgba(194,24,91,.07); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 348px; gap: 26px 54px; align-items: center; text-align: left; }
.hero-main { min-width: 0; }
.hero h1 { font-size: 38px; line-height: 1.32; font-weight: 800; color: var(--primary-dark); letter-spacing: 2px; }
.hero p { color: #8a6b78; margin: 12px 0 24px; font-size: 16px; }
.hero-stats { grid-column: 1 / -1; display: flex; align-items: center; border-top: 1px solid rgba(194,24,91,.14); padding-top: 15px; margin-top: 2px; }
.hero-stats > div { flex: 1; display: flex; align-items: baseline; gap: 8px; }
.hero-stats > div + div { border-left: 1px solid rgba(194,24,91,.14); padding-left: 20px; }
.hero-stats b { font-size: 22px; color: var(--primary-dark); }
.hero-stats span { font-size: 13px; color: #a3868f; }
.hero-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hero-trust span { font-size: 12px; color: #8a5568; background: rgba(255,255,255,.72); border: 1px solid #f0cdda; border-radius: 20px; padding: 4px 10px; }
.hero-trust span::before { content: "✓ "; color: #2e9e6b; font-weight: 800; }
.hero-form { background: #fff; border-radius: 18px; padding: 22px 20px; box-shadow: 0 14px 36px rgba(160,60,100,.13); }
.hero-form h3 { font-size: 18px; margin: 0 0 6px; color: var(--primary-dark); }
.hero .hero-form p { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.hero-form select, .hero-form input { width: 100%; box-sizing: border-box; margin-bottom: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; background: #fff; outline: none; }
.hero-form select:focus, .hero-form input:focus { border-color: #e2a8bf; }
.hero-form .btn { width: 100%; margin-top: 2px; }
.hero-form small { display: block; margin-top: 10px; font-size: 11.5px; color: #a8919a; text-align: center; line-height: 1.5; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.filters select, .filters input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 14px; outline: none; }

/* 表单 */
.form { display: grid; gap: 14px; }
.form label { font-size: 13px; font-weight: 600; color: #6d5d66; display: block; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; outline: none; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--primary); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-box { max-width: 420px; margin: 50px auto; }
.auth-box h2 { text-align: center; margin-bottom: 20px; color: var(--primary-dark); }

/* 聊天 */
.chat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 16px; height: calc(100vh - 200px); min-height: 480px; }
.chat-list { overflow-y: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.chat-item { display: flex; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer; align-items: center; }
.chat-item:hover, .chat-item.on { background: var(--rose); }
.chat-item .meta { flex: 1; min-width: 0; }
.chat-item .meta p { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-item .unread { background: var(--primary); color: #fff; font-size: 11px; border-radius: 10px; padding: 0 6px; }
.chat-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.chat-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 72%; padding: 10px 14px; border-radius: 14px; font-size: 14px; word-break: break-all; }
.bubble.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.bubble.ta { align-self: flex-start; background: #f4eef1; border-bottom-left-radius: 4px; }
.chat-input { display: flex; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 24px; outline: none; font-size: 14px; }

/* 动态 */
.moment { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 14px; }
.moment .head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.moment .head b { font-size: 15px; }
.moment .head time { color: var(--muted); font-size: 12px; margin-left: auto; }
.moment .txt { font-size: 15px; margin-bottom: 10px; }
.moment img { max-width: 100%; border-radius: 10px; max-height: 320px; }
.moment .acts { display: flex; gap: 18px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.moment .acts span { cursor: pointer; }
.moment .acts span.on { color: var(--primary); }

/* 详情页 */
.detail { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .chat-layout { grid-template-columns: 1fr; } .chat-list { max-height: 180px; } }
.dl { font-size: 14px; }
.dl div { display: flex; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.dl dt { width: 90px; color: var(--muted); flex-shrink: 0; }
.contact-lock { background: var(--gold-light); border: 1px dashed var(--gold); border-radius: 10px; padding: 14px; text-align: center; font-size: 14px; color: #7a5c14; margin-top: 14px; }

/* 套餐 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; text-align: center; border: 2px solid transparent; }
.plan.hot { border-color: var(--gold); }
.plan .price { font-size: 34px; font-weight: 800; color: var(--primary); }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; margin: 16px 0 20px; font-size: 14px; color: #6d5d66; }
.plan li { padding: 5px 0; }
.vip-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; border-radius: 20px; padding: 2px 10px; }
.vip1 { color: #7a5c14; background: linear-gradient(135deg,#f7e8c3,#eecf85); }
.vip2 { color: #5b3a86; background: linear-gradient(135deg,#e6d7f7,#c9a7ee); }

/* 认证 */
.cert-item { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.st { font-size: 12px; border-radius: 20px; padding: 2px 10px; white-space: nowrap; display: inline-block; }
.cert-item > div:last-child { flex-wrap: wrap; justify-content: flex-end; }
.cert-item .btn { white-space: nowrap; }
@media (max-width: 600px) {
  .cert-item { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cert-item > div:last-child { width: 100%; justify-content: flex-start; }
}
.st.pending { color: #9a6b00; background: #fff3d6; }
.st.approved { color: #177245; background: #ddf3e5; }
.st.rejected { color: #b3261e; background: #fbe2e0; }
.st.none { color: var(--muted); background: #f2ecef; }
.vthumb { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; }
/* 认证提交弹层 */
.vmodal { position: fixed; inset: 0; background: rgba(45,25,35,.45); display: flex; align-items: flex-end; justify-content: center; z-index: 9000; }
.vmodal-box { background: #fff; width: 100%; max-width: 460px; border-radius: 18px 18px 0 0; padding: 20px 18px 22px; position: relative; max-height: 92vh; overflow: auto; box-shadow: 0 -8px 30px rgba(0,0,0,.16); }
.vmodal-box h3 { margin: 0 0 6px; font-size: 17px; }
.vm-close { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; font-size: 24px; line-height: 1; color: #a8929b; cursor: pointer; }
.vm-desc { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.vm-label { display: block; font-size: 13px; color: #5c4b53; margin: 14px 0 6px; font-weight: 700; }
.vm-label i { font-style: normal; font-weight: 400; font-size: 11px; color: var(--muted); margin-left: 4px; }
.vm-input { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 15px; background: #fffdfe; }
.vm-input:focus { outline: none; border-color: var(--primary); }
.vm-pick { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #e2cfd8; background: #fdf6f8; color: #a3758b; border-radius: 12px; padding: 16px; font-size: 13.5px; cursor: pointer; }
.vm-pick:active { background: #fbe9f0; }
.vm-plus { font-size: 18px; line-height: 1; }
.vm-preview { display: block; width: 100%; max-height: 260px; object-fit: contain; border-radius: 12px; margin-top: 10px; background: #faf4f7; }
.vm-tip { font-size: 11.5px; color: var(--muted); margin-top: 8px; word-break: break-all; }
.vm-acts { display: flex; gap: 10px; margin-top: 20px; }
.vm-acts .btn { flex: 1; }
@media (min-width: 600px) {
  .vmodal { align-items: center; }
  .vmodal-box { border-radius: 18px; }
}

/* 弹窗/提示 */
.mask { position: fixed; inset: 0; background: rgba(43,20,30,.5); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: 18px; padding: 28px; max-width: 420px; width: 100%; max-height: 85vh; overflow-y: auto; }
.toast { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); background: rgba(43,34,40,.92); color: #fff; padding: 10px 22px; border-radius: 30px; font-size: 14px; z-index: 400; }
.toast.err { background: rgba(179,38,30,.95); }
.empty { text-align: center; color: var(--muted); padding: 50px 0; font-size: 14px; }
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }

/* 后台 */
.admin-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-nav button { border: none; background: #fff; padding: 9px 18px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow); }
.admin-nav button.on { background: var(--primary); color: #fff; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 13px; }
th { background: var(--rose); color: var(--primary-dark); text-align: left; padding: 11px 12px; white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:hover td { background: #fdf8fa; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; text-align: center; }
.stat-card b { font-size: 26px; color: var(--primary-dark); display: block; }
.stat-card span { font-size: 12px; color: var(--muted); }
.thumb { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; cursor: zoom-in; }
.row-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12px; }
.mini-btn.warn { color: #b3261e; border-color: #eec4c0; }
.mini-btn.gold { color: #7a5c14; border-color: var(--gold); }
/* 后台：可点卡片 / 表格滚动 / 会员记录 */
.stat-card.go { cursor: pointer; position: relative; transition: transform .16s, box-shadow .16s; border: 1px solid transparent; }
.stat-card.go:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(199,84,124,.18); border-color: #f3d7e2; }
.stat-card.go:active { transform: scale(.98); }
.stat-card.go i { display: block; font-style: normal; font-size: 11px; color: var(--primary); margin-top: 7px; opacity: .8; }
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.filter-chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 12px; color: #6b5a62; box-shadow: var(--shadow); margin: 0 0 10px; }
.filter-chip a { color: var(--primary); cursor: pointer; text-decoration: underline; }
.m-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.m-head h2 { font-size: 19px; }
.m-head p { margin: 3px 0; font-size: 13px; color: #4d3f46; }
.m-head p.sub { font-size: 12px; color: var(--muted); }
.m-stat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 16px 0; }
.m-stat > div { background: #fdf6f8; border-radius: 10px; padding: 10px 6px; text-align: center; }
.m-stat b { display: block; font-size: 19px; color: var(--primary-dark); }
.m-stat span { font-size: 11px; color: var(--muted); }
.m-stat > div.go { cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, border-color .15s; }
.m-stat > div.go:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(194,24,91,.13); border-color: #f3d4e0; }
.m-stat > div.go.on { border-color: var(--primary); background: #fdeef3; }
.m-stat > div i { display: block; font-style: normal; font-size: 10px; color: var(--primary); margin-top: 3px; opacity: .8; }
.stat-hint { font-size: 12px; color: var(--muted); margin: 16px 0 -8px; }
.stat-list { background: #fffdfe; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 8px 0 4px; }
.stat-list h3 { font-size: 14px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.stat-list h3 small { font-weight: 400; font-size: 11.5px; color: var(--muted); }
.sl-row { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.sl-row:last-child { border-bottom: none; padding-bottom: 0; }
.sl-l { flex: 1; min-width: 0; }
.sl-l small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; word-break: break-all; }
.sl-row time { flex: 0 0 auto; color: var(--muted); font-size: 11.5px; }
.sl-img { flex: 0 0 auto; width: 42px; height: 42px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; align-self: center; }
.tl { list-style: none; padding: 0; margin: 0; }
.tl li { display: flex; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13px; color: #4d3f46; }
.tl li .tag { flex: 0 0 auto; font-size: 11px; padding: 2px 9px; border-radius: 999px; }
.tl li time { flex: 0 0 92px; color: var(--muted); font-size: 12px; }
.tl li span:last-child { flex: 1; word-break: break-all; }
.msg-row { background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; box-shadow: var(--shadow); }
.msg-h { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.link-name { cursor: pointer; color: var(--primary-dark); border-bottom: 1px dashed #ecc9d6; padding-bottom: 1px; }
.link-name:hover { color: var(--primary); border-bottom-color: var(--primary); }
.msg-h small { color: var(--muted); font-size: 11px; margin-left: auto; }
.msg-t { font-size: 13px; color: #4d3f46; margin-top: 4px; word-break: break-all; }
.convs { display: grid; gap: 10px; }
.conv { background: #fdf6f8; border-radius: 12px; padding: 10px 14px; }
.conv-h { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.conv-h small { margin-left: auto; color: var(--muted); font-size: 11.5px; }
.bub { background: #fff; border-radius: 10px; padding: 6px 10px; font-size: 12.5px; color: #4d3f46; margin-top: 4px; max-width: 84%; word-break: break-all; }
.bub.me { background: #fbe0ea; margin-left: auto; }
@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px 10px; }
  .stat-card b { font-size: 22px; }
  .m-head { gap: 12px; }
  .m-head h2 { font-size: 17px; }
  .m-stat { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tl li { flex-wrap: wrap; gap: 6px; }
  .tl li time { flex: 0 0 auto; }
  .tl li span:last-child { flex: 0 0 100%; }
  .conv-h { flex-wrap: wrap; gap: 4px 8px; }
  .conv-h small { margin-left: 0; }
  .bub { max-width: 92%; }
  td, th { padding: 8px 10px; }
  .filters input.admin-page-q { grid-column: 1 / -1; }
  .admin-page .filters input { grid-column: 1 / -1; }
  .admin-page .filters .btn { grid-column: auto; padding: 10px 14px; }
  /* 会员表在手机上转成卡片，避免整屏只有一行 */
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies { background: transparent; box-shadow: none; border-radius: 0; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies tr:first-child { display: none; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies { width: 100%; }
  .tbl-members tbody, .tbl-moments tbody, .tbl-reports tbody, .tbl-verifies tbody { display: block; width: 100%; }
  .tbl-members tr, .tbl-moments tr, .tbl-reports tr, .tbl-verifies tr { display: block; width: 100%; box-sizing: border-box; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies tr:hover td { background: transparent; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies td { display: flex; gap: 10px; border: none; padding: 4px 0; font-size: 13px; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies td::before { content: attr(data-label); flex: 0 0 62px; color: var(--muted); font-size: 12px; line-height: 1.7; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies td[data-label="操作"] { display: block; border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies td[data-label="操作"]::before { display: block; margin-bottom: 6px; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies td[data-label="内容"] { display: block; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies td[data-label="内容"]::before { display: block; margin-bottom: 4px; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies td[data-label="图片"] img.thumb { max-width: 100%; height: auto; }
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies { width: 100%; }
  .tbl-members table, .tbl-moments table, .tbl-reports table, .tbl-verifies table { width: 100%; }
  .tbl-members td[colspan], .tbl-moments td[colspan], .tbl-reports td[colspan], .tbl-verifies td[colspan] { justify-content: center; }
  .tbl-reports td[data-label="被举报对象"], .tbl-reports td[data-label="原因"] { display: block; overflow-wrap: anywhere; }
  .tbl-reports td[data-label="被举报对象"]::before,
  .tbl-reports td[data-label="原因"]::before { display: block; margin-bottom: 4px; }
  .tbl-reports td[data-label="原因"] { max-width: none; }
  .tbl-reports td[data-label="被举报对象"] small { display: inline-block; margin-top: 3px; }
}
footer { color: var(--muted); font-size: 13px; padding: 34px 18px 40px; background: #fdf7f9; border-top: 1px solid var(--line); margin-top: 24px; }
.foot-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr .9fr .9fr .9fr 1.15fr; gap: 26px; text-align: left; }
.foot-brand p { font-size: 12.5px; line-height: 1.85; color: #8d7079; margin: 8px 0 0; }
.fb-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: #4a3238; letter-spacing: .5px; }
.fb-icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #d9b9c6; color: #b0668a; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.foot-col h4 { font-size: 13px; color: #4a3238; margin: 0 0 12px; font-weight: 800; }
.foot-col a { display: block; font-size: 12.5px; color: #8d7079; padding: 5px 0; }
.foot-col a:hover { color: var(--primary); }
.foot-beian { max-width: 1120px; margin: 10px auto 0; font-size: 12px; color: #a08d94; }
.foot-beian a { color: #a08d94; display: inline-flex; align-items: center; }
.foot-beian a:hover { color: var(--primary); }
.foot-beian .fb-sep { margin: 0 8px; color: #cbb7bd; }
.foot-bottom { max-width: 1120px; margin: 26px auto 0; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #a08d94; flex-wrap: wrap; }
@media (max-width: 860px) {
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 6px; }
}

/* ===== 生活相册 ===== */
.album-chip { position: absolute; right: 8px; bottom: 8px; background: rgba(255,255,255,.94); color: #8a5f76; font-size: 10.5px; font-weight: 700; border-radius: 20px; padding: 2px 8px; }
.h-sub { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 6px; }
.h-tip { font-size: 12px; color: var(--muted); margin: 0 0 12px; }
.album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.album-item { position: relative; padding-top: 100%; border-radius: 10px; overflow: hidden; background: #f6eef1; cursor: zoom-in; }
.album-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album-note { position: absolute; left: 0; right: 0; bottom: 0; font-size: 10.5px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); padding: 12px 6px 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.album-del:hover { background: #b3261e; }
.album-up .up-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.album-up .up-head b { font-size: 15px; }
.album-up .up-head span { font-size: 12px; color: var(--muted); }
.up-row { display: flex; gap: 10px; align-items: center; }
.up-note { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14px; background: #fffdfe; }
.up-tip { font-size: 11.5px; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 600px) {
  .album-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .up-row { flex-direction: column; align-items: stretch; }
  .up-row .btn { width: 100%; }
}

/* 看图灯箱 */
.photo-view { position: fixed; inset: 0; background: #160d12; z-index: 1000; display: flex; flex-direction: column; }
.pv-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: #f3e4ea; font-size: 13.5px; }
.pv-num { margin-left: auto; color: #b9a2ac; font-size: 12px; }
.pv-x { border: 0; background: transparent; color: #f3e4ea; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.pv-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 6px; min-height: 0; }
.pv-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pv-nav.prev { left: 10px; } .pv-nav.next { right: 10px; }
.pv-nav:hover { background: rgba(255,255,255,.3); }
.pv-foot { text-align: center; color: #c8b3bc; font-size: 12.5px; padding: 12px 16px 22px; }

/* 后台相册管理 */
.a-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.a-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.a-item img { width: 100%; height: 150px; object-fit: cover; cursor: zoom-in; display: block; }
.a-info { padding: 8px 10px 4px; font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.a-info small { display: block; width: 100%; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.a-item .mini-btn { margin: 4px 10px 10px; }
@media (max-width: 600px) { .a-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .a-item img { height: 120px; } }

/* 说明类页面 */
.doc-layout { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: start; }
.doc-nav { position: sticky; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.doc-nav a { display: block; font-size: 13px; color: #6d5560; padding: 9px 12px; border-radius: 9px; }
.doc-nav a:hover { background: var(--rose); }
.doc-nav a.on { background: var(--rose); color: var(--primary); font-weight: 700; }
.doc section { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--line); }
.doc section:last-of-type { border-bottom: 0; margin-bottom: 6px; }
.doc h3 { font-size: 16px; margin: 0 0 10px; color: #3f2c33; }
.doc p { font-size: 13.5px; line-height: 1.95; color: #5c4b53; margin: 0 0 10px; }
.doc-ul, .doc-ol { margin: 0 0 10px; padding-left: 20px; }
.doc-ul li, .doc-ol li { font-size: 13.5px; line-height: 1.95; color: #5c4b53; margin-bottom: 4px; }
.doc-warn { background: #fdf1f0; border-left: 3px solid #d98b83; border-radius: 0 8px 8px 0; padding: 10px 12px; font-size: 12.5px !important; color: #8a4a44 !important; }
.doc-foot { font-size: 12px; color: #a08d94; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-nav { position: static; display: flex; gap: 6px; overflow-x: auto; padding: 8px; }
  .doc-nav a { white-space: nowrap; font-size: 12.5px; padding: 7px 10px; }
}

/* ================= 首页 / 缘分卡 / 盲盒 / 测试 ================= */
.m-only { display: none; }
.hero-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 2px; color: #a3758b; border: 1px solid #ecc9d6; border-radius: 20px; padding: 3px 12px; margin-bottom: 14px; background: rgba(255,255,255,.6); }
.hero-btns { display: flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }
.more { margin-left: auto; font-size: 13px; color: var(--muted); }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 4px; background: #fff; border-radius: 16px; padding: 18px 8px 14px; box-shadow: var(--shadow); margin-top: 14px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; color: #5c4b53; }
.quick i { width: 44px; height: 44px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 21px; font-style: normal; background: var(--rose); transition: transform .2s; }
.quick a:active i { transform: scale(.92); }
.quick a:nth-child(2) i { background: #fdeef3; }
.quick a:nth-child(3) i { background: #eef4fb; }
.quick a:nth-child(4) i { background: #f2f7ee; }
.quick a:nth-child(5) i { background: #fdf1ea; }
.quick a:nth-child(6) i { background: #f0f0fb; }
.quick a:nth-child(7) i { background: #fdf7e6; }
.quick a:nth-child(8) i { background: #eef7f5; }

/* 契合度角标 */
.mcard-score { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.94); color: var(--primary); font-size: 10.5px; font-weight: 800; border-radius: 20px; padding: 2px 8px; }
.match-chip { display: inline-flex; align-items: baseline; gap: 2px; font-size: 12px; font-weight: 800; color: var(--primary); background: var(--rose); border-radius: 20px; padding: 3px 10px; }
.match-chip b { font-size: 15px; }
.match-chip em { font-style: normal; font-weight: 400; font-size: 11px; color: #a3758b; }

/* 今日缘分大卡 */
.daily-wrap { position: relative; }
.daily-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(194,24,91,.13); }
.daily-cover { height: 330px; position: relative; display: flex; align-items: center; justify-content: center; }
.daily-cover .initial { font-size: 100px; font-weight: 800; color: #fff; text-shadow: 0 8px 24px rgba(0,0,0,.14); }
.daily-cover::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(to top, rgba(0,0,0,.22), transparent); }
.score-badge { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255,255,255,.95); border-radius: 18px; padding: 5px 12px; font-weight: 800; color: var(--primary); font-size: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.score-badge i { font-style: normal; font-size: 11px; font-weight: 500; color: #a3758b; margin-left: 2px; }
.daily-cover .g-badge { position: absolute; top: 16px; left: 14px; right: auto; z-index: 2; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.92); border-radius: 20px; padding: 2px 10px; color: var(--primary); }
.daily-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.daily-body { padding: 16px 18px 18px; position: relative; }
.daily-name { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.daily-sub { color: var(--muted); font-size: 13px; margin-top: 5px; }
.why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.why span { font-size: 11.5px; color: #7a5c14; background: var(--gold-light); border-radius: 6px; padding: 2px 8px; }
.daily-wish { font-size: 13px; color: #6d5d66; margin-top: 10px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.daily-wish b { color: var(--gold); }
.daily-acts { display: flex; gap: 12px; justify-content: center; margin-top: 14px; }
.daily-acts button { flex: 1; max-width: 190px; border: none; border-radius: 40px; padding: 13px 0; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; }
.daily-acts .skip { background: #fff; color: #8b7a82; border: 1px solid var(--line); }
.daily-acts .like { background: linear-gradient(135deg, var(--primary), #e35d8f); color: #fff; box-shadow: 0 8px 20px rgba(194,24,91,.28); }
.daily-acts .like.done { background: #f2ecef; color: #a3758b; box-shadow: none; }
.daily-skel { height: 480px; border-radius: 20px; background: linear-gradient(100deg, #f6edf1 25%, #fbf5f7 37%, #f6edf1 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.daily-empty { background: #fff; border-radius: 20px; padding: 34px 20px; text-align: center; box-shadow: var(--shadow); }

/* 盲盒 / 测试入口 */
.fun-card { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg, #fff7e9 0%, #fdeaf1 100%); border: 1px dashed #ecc9a8; border-radius: 16px; padding: 16px; margin-top: 14px; }
.fun-card .ico { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.8); display: flex; align-items: center; justify-content: center; font-size: 26px; flex-shrink: 0; }
.fun-card .txt { flex: 1; min-width: 0; }
.fun-card b { font-size: 15px; display: block; }
.fun-card p { font-size: 12px; color: #9a7d84; margin-top: 3px; }
.fun-card .btn { flex-shrink: 0; }
.fun-card.quiz { background: linear-gradient(135deg, #eef4fb 0%, #f3eefb 100%); border-color: #c9d7ec; }

/* 盲盒结果 */
.blind-reveal { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #ecc9a8; }
.blind-reveal .av { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 22px; flex-shrink: 0; }
.blind-reveal b { font-size: 15px; }

/* 三观测试 */
.quiz-box { max-width: 640px; margin: 0 auto; }
.quiz-q { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--shadow); margin-bottom: 12px; }
.quiz-q h3 { font-size: 15.5px; margin-bottom: 12px; display: flex; gap: 8px; }
.quiz-q h3 span { color: var(--primary); font-weight: 800; }
.quiz-opt { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-size: 14px; cursor: pointer; transition: .15s; }
.quiz-opt:last-child { margin-bottom: 0; }
.quiz-opt.on { border-color: var(--primary); background: var(--rose); color: var(--primary-dark); font-weight: 600; }
.quiz-opt i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #dcc9d0; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; color: #fff; }
.quiz-opt.on i { background: var(--primary); border-color: var(--primary); }
.quiz-result { text-align: center; background: #fff; border-radius: 18px; padding: 30px 22px; box-shadow: var(--shadow); }
.quiz-result .emoji { font-size: 46px; }
.quiz-result h2 { font-size: 22px; margin: 10px 0 6px; color: var(--primary-dark); }

/* 动态话题 */
.topics { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.topics::-webkit-scrollbar { display: none; }
.topics button { flex: 0 0 auto; border: none; background: #fff; border-radius: 20px; padding: 7px 15px; font-size: 13px; color: #6d5d66; box-shadow: var(--shadow); }
.topics button.on { background: var(--primary); color: #fff; }
.topic-tag { display: inline-block; font-size: 11.5px; color: var(--primary); background: var(--rose); border-radius: 6px; padding: 1px 7px; margin-bottom: 6px; }

/* 底部导航（仅手机） */
.tabbar { display: none; }
.tabbar a { position: relative; }
.tabbar .dot { position: absolute; top: 4px; left: 50%; margin-left: 4px; min-width: 15px; height: 15px; line-height: 15px; text-align: center; background: var(--primary); color: #fff; font-size: 10px; border-radius: 8px; padding: 0 4px; }

/* 会员详情契合度条 */
.match-bar { display: flex; align-items: center; gap: 10px; background: var(--rose); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.match-bar b { font-size: 22px; color: var(--primary); }
.match-bar span { font-size: 12px; color: #8a6b78; }
.detail-back { display: none; }

/* ===== 卡片资料行（资料密度向本地婚恋站看齐）===== */
.mcard .mno { float: right; font-size: 11px; color: #bda8b1; font-weight: 500; letter-spacing: .4px; line-height: 1.9; }
.m-sum { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: #6d5560; margin: 6px 0 0; }
.m-sum i { font-style: normal; color: #dcc7d0; }
.m-sum .sx { color: var(--gold); font-weight: 700; }
.m-extra { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0 2px; }
.m-extra .tag { font-size: 11.5px; }
.d-no { display: inline-block; font-size: 12px; color: #a3758b; background: var(--rose); border-radius: 20px; padding: 2px 12px; margin: 0 0 8px; letter-spacing: .5px; }
.dl-hint { font-size: 11.5px; color: #bda8b1; margin-left: 8px; }

/* ===== 会员列表筛选 ===== */
.mem-tabs { display: flex; gap: 8px; margin: 16px 0 0; overflow-x: auto; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.mem-tabs::-webkit-scrollbar { display: none; }
.mem-tabs button { border: 1px solid var(--line); background: #fff; color: #7a5c68; font-size: 14px; padding: 8px 18px; border-radius: 24px; cursor: pointer; white-space: nowrap; font-family: inherit; transition: .2s; }
.mem-tabs button.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(194,24,91,.25); }
.filters .chk { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #6d5560; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; cursor: pointer; user-select: none; }
.filters .chk input { padding: 0; margin: 0; width: 15px; height: 15px; accent-color: var(--primary); }
.foot-contact { font-size: 12.5px; color: #8d7079; margin: 0 0 8px; line-height: 1.65; }

@media (min-width: 901px) {
  .hero { margin: 0; }
  #dailyArea, #blindArea, #quizArea { max-width: 520px; margin-left: auto; margin-right: auto; }
  #app:has(#dailyArea) > .sec-title { max-width: 520px; margin-left: auto; margin-right: auto; }
  #dailyArea .daily-cover { height: 360px; }
}

/* ================= 手机端 ================= */
@media (max-width: 900px) {
  .m-only { display: block; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .topbar .inner { height: 54px; padding: 0 14px; gap: 8px; }
  .logo { font-size: 18px; white-space: nowrap; flex-shrink: 0; letter-spacing: .5px; }
  .nav { display: none; }
  .userbox { margin-left: auto; gap: 6px; }
  .userbox > a > span { display: none; }
  .userbox .btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 30px; }
  .wrap { padding: 14px 14px 30px; }
  .card { padding: 16px; border-radius: 14px; }
  .hero { margin: 0; padding: 22px 16px 20px; border-radius: 16px; }
  .hero-inner { grid-template-columns: 1fr; gap: 18px; }
  .hero-stats { display: none; }
  .hero-form { padding: 18px 16px; border-radius: 16px; }
  .hero-form h3 { font-size: 16px; }
  .hero-trust { margin-top: 14px; gap: 6px; }
  .hero-trust span { font-size: 11px; padding: 3px 9px; }
  .hero-eyebrow { margin-bottom: 12px; font-size: 11px; }
  .hero h1 { font-size: 27px; line-height: 1.35; letter-spacing: 1px; }
  .hero p { font-size: 13px; margin: 8px 0 18px; }
  .hero-btns { justify-content: flex-start; }
  .hero .btn { padding: 10px 22px; font-size: 14px; }
  .hero .stats { gap: 0; margin-top: 24px; }
  .hero .stats > div { flex: 1; text-align: left; }
  .hero .stats b { font-size: 19px; }
  .hero .stats span { font-size: 11px; }
  .sec-title { margin: 22px 0 12px; gap: 8px; }
  .sec-title h2 { font-size: 18px; }
  .sec-title span { font-size: 11.5px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mcard .cover { height: 106px; font-size: 34px; }
  .mcard .info { padding: 9px 10px 11px; }
  .mcard h3 { font-size: 14px; }
  .mcard h3 small { font-size: 11px; margin-left: 3px; }
  .tags { gap: 4px; margin: 6px 0; max-height: 40px; overflow: hidden; }
  .tag { font-size: 10.5px; padding: 1px 6px; }
  .mcard .wish { font-size: 11.5px; }
  .mcard .tags .tag:nth-child(4) { display: none; }
  .mcard .rec, .mcard .g-badge { font-size: 10px; padding: 1px 7px; top: 7px; }
  .mcard .rec { left: 7px; }
  .mcard .g-badge { right: 7px; }
  .mcard-score { left: 7px; bottom: 7px; font-size: 10px; }
  .quick { grid-template-columns: repeat(4, 1fr); padding: 15px 4px 12px; gap: 13px 2px; }
  .quick i { width: 40px; height: 40px; font-size: 19px; }
  .quick a { font-size: 11.5px; }
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .filters select, .filters input { width: 100% !important; font-size: 13px; padding: 9px 10px; }
  .filters .btn { grid-column: 1 / -1; padding: 10px 0; }
  .daily-cover { height: 300px; }
  .daily-cover .initial { font-size: 88px; }
  .daily-body { padding: 14px 16px 16px; }
  .daily-name { font-size: 19px; }
  .daily-acts { gap: 10px; }
  .daily-acts button { padding: 12px 0; font-size: 15px; }
  .fun-card { padding: 14px; gap: 12px; }
  .fun-card .ico { width: 46px; height: 46px; font-size: 22px; border-radius: 14px; }
  .fun-card b { font-size: 14px; }
  .quiz-q { padding: 15px; }
  .quiz-q h3 { font-size: 14.5px; }
  .quiz-opt { font-size: 13.5px; padding: 10px 12px; }
  .detail { gap: 12px; }
  .detail .card:first-child { text-align: center; }
  .detail .card:first-child > div:first-child { width: 120px !important; height: 120px !important; font-size: 42px !important; margin: 0 auto 6px !important; }
  .dl div { padding: 8px 0; }
  .dl dt { width: 76px; }
  .chat-layout { grid-template-columns: 1fr; height: calc(100dvh - 54px - 58px - 28px); min-height: 420px; }
  .chat-list { max-height: none; }
  .chat-layout.open .chat-list { display: none; }
  .chat-layout:not(.open) .chat-box { display: none; }
  .chat-back { display: inline-flex !important; margin-right: 8px; }
  .chat-item { padding: 12px 14px; }
  .bubble { max-width: 80%; }
  .modal { padding: 22px; border-radius: 16px; }
  table { display: block; width: 100%; overflow-x: auto; white-space: nowrap; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; font-size: 10.5px; color: #9a8b92; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--primary); }
  .detail-back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
  footer { padding: 20px 16px 24px; font-size: 12px; }
}


/* 盲盒结果 */
.blind-res { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 10px; box-shadow: var(--shadow); }
.blind-res .av { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.blind-res .txt { flex: 1; min-width: 0; }
.blind-res .txt b { font-size: 15.5px; }
.blind-res .txt p { font-size: 12px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blind-go { text-align: center; text-decoration: none; flex-shrink: 0; }
.blind-go b { display: block; color: var(--primary); font-size: 17px; }
.blind-go span { font-size: 11px; color: var(--muted); }

/* 聊天空态与快捷开场 */
.chat-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 20px 10px; }
.chat-tips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.chat-tips button { border: 1px solid var(--line); background: #fff; color: var(--primary); border-radius: 20px; padding: 8px 14px; font-size: 12.5px; }
.chat-tips button:active { background: var(--rose); }

/* 手机端筛选折叠 */
.f-filters-btn { display: none; }
@media (max-width: 900px) {
  .f-filters-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 10px 0 0;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 14px; color: #6d5560; font-family: inherit; }
  .f-filters-btn i { font-style: normal; font-size: 12px; color: #bda8b1; }
  #memFilters { display: none; margin: 10px 0 0; }
  #memFilters.open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  #memFilters select, #memFilters input { width: 100%; box-sizing: border-box; padding: 9px 10px; font-size: 13px; }
  #memFilters .chk { justify-content: center; padding: 9px 10px; font-size: 13px; }
  #memFilters .btn { grid-column: 1 / -1; padding: 11px; }
}

/* 手机端细节收紧 */
@media (max-width: 900px) {
  #memFilters .chk { white-space: nowrap; gap: 5px; }
  #memFilters .chk input { flex-shrink: 0; }
  .m-sum { font-size: 11.5px; gap: 4px; }
  .m-sum i { margin: 0 1px; }
  .m-extra .tag { font-size: 10.5px; padding: 1px 6px; }
  .mcard .mno { font-size: 10px; }
}

/* ===== 相亲活动 ===== */
.act-hero { display: flex; align-items: center; gap: 24px; justify-content: space-between;
  background: linear-gradient(135deg,#fff6f9,#fdf6ec); border: 1px solid var(--line); }
.act-hero h3 { font-size: 19px; margin-bottom: 6px; color: var(--primary-dark); }
.act-hero p { font-size: 13.5px; color: #7c6a73; max-width: 560px; }
.act-hero-btns { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.act-hero-btns .btn { white-space: nowrap; }

.act-list { display: flex; flex-direction: column; gap: 12px; }
.act-card { display: flex; gap: 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; cursor: pointer; transition: .18s; border: 1px solid transparent; }
.act-card:hover { transform: translateY(-2px); border-color: #f2c9da; }
.act-list.past .act-card { opacity: .72; }
.act-date { flex-shrink: 0; width: 66px; height: 72px; border-radius: 12px; background: linear-gradient(160deg,#c2185b,#e35d8f);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.act-date b { font-size: 24px; font-weight: 800; }
.act-date span { font-size: 11px; opacity: .9; }
.act-date i { font-style: normal; font-size: 10px; opacity: .8; margin-top: 2px; }
.act-date.big { width: 84px; height: 90px; }
.act-date.big b { font-size: 32px; }
.act-body { flex: 1; min-width: 0; }
.act-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.act-kind { font-size: 11.5px; background: var(--gold-light); color: #7a5c14; border-radius: 6px; padding: 1px 8px; white-space: nowrap; }
.act-kind.sm { align-self: center; }
.act-badge { font-size: 11px; border-radius: 6px; padding: 1px 7px; margin-left: auto; white-space: nowrap; }
.act-badge.open { background: #eef8ef; color: #2e7d43; }
.act-badge.full { background: #f3eef0; color: #8a7c84; }
.act-badge.done { background: #f2ecef; color: #91838b; }
.act-card h3 { font-size: 16px; font-weight: 700; margin: 2px 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-meta { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-bar { height: 5px; border-radius: 4px; background: #f4e8ee; overflow: hidden; margin: 9px 0 6px; }
.act-bar > div { height: 100%; background: linear-gradient(90deg,#c2185b,#e88aae); border-radius: 4px; }
.act-bar.big { height: 7px; margin: 14px 0 8px; }
.act-foot { display: flex; justify-content: space-between; font-size: 12px; color: #7c6a73; gap: 10px; }
.act-fee { color: var(--gold); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.act-note { margin-top: 22px; }
.act-note h4 { font-size: 15px; margin-bottom: 8px; }

.back-link { display: inline-block; font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.act-detail { padding: 24px; }
.act-detail-head { display: flex; gap: 16px; align-items: center; }
.act-detail-head h1 { font-size: 21px; margin: 4px 0 4px; }
.act-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin: 18px 0 4px;
  background: #fdf7f9; border-radius: 12px; padding: 14px 16px; }
.act-info dt { font-size: 11.5px; color: var(--muted); margin-bottom: 2px; }
.act-info dd { font-size: 13.5px; }
.act-left { font-size: 12.5px; color: #8a7c84; }
.act-h4 { font-size: 14.5px; margin: 18px 0 6px; }
.act-intro { font-size: 14px; color: #55474f; line-height: 1.75; }
.act-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* 首页活动条 */
.act-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(194,24,91,.06); padding: 10px 14px; margin-bottom: 9px; }
.act-row:hover { background: #fffafc; }
.ar-date { width: 42px; height: 46px; flex-shrink: 0; border-radius: 9px; background: var(--rose);
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; color: var(--primary); }
.ar-date b { font-size: 18px; font-weight: 800; }
.ar-date span { font-size: 10px; }
.ar-main { flex: 1; min-width: 0; }
.ar-main b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-main span { font-size: 11.5px; color: var(--muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-left { font-size: 12px; color: #2e7d43; white-space: nowrap; }

/* ===== 红娘团队 ===== */
.hn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hn-card { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.hn-photo { position: relative; flex-shrink: 0; width: 132px; height: 176px; border-radius: 12px; overflow: hidden; background: #f6eef1; }
.hn-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.hn-years { position: absolute; left: 0; bottom: 0; right: 0; background: rgba(22,13,18,.55); color: #fff;
  font-size: 10.5px; text-align: center; padding: 3px 0; letter-spacing: .5px; }
.hn-info { flex: 1; min-width: 0; }
.hn-info h3 { font-size: 18px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hn-title { font-size: 11.5px; color: var(--gold); font-weight: 500; }
.hn-line { font-size: 13.5px; color: #5c4b53; line-height: 1.7; margin: 8px 0 6px; }
.hn-good { font-size: 12px; color: var(--muted); margin: 4px 0 12px; }

.hn-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hn-steps > div { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 4px 14px rgba(194,24,91,.06); }
.hn-steps b { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; background: var(--rose);
  color: var(--primary); align-items: center; justify-content: center; font-size: 12px; margin-bottom: 8px; }
.hn-steps h4 { font-size: 14px; margin-bottom: 5px; }
.hn-steps p { font-size: 12.5px; color: #7c6a73; line-height: 1.65; }
.hn-free { margin-top: 18px; }
.hn-free h4 { font-size: 15px; margin-bottom: 6px; }
.hn-free p { font-size: 13.5px; color: #5c4b53; line-height: 1.75; }
.hn-addr { margin-top: 8px; font-size: 12.5px !important; color: var(--muted) !important; }

.hn-mini { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(194,24,91,.06); padding: 12px 14px; margin-bottom: 9px; }
.hn-mini img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex-shrink: 0; }
.hn-mini-txt { flex: 1; min-width: 0; }
.hn-mini-txt b { font-size: 14.5px; }
.hn-mini-txt span { font-size: 11.5px; color: var(--gold); margin-left: 8px; }
.hn-mini-txt p { font-size: 12.5px; color: #7c6a73; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hn-mini .btn { flex-shrink: 0; }

/* 活动/红娘 手机端 */
@media (max-width: 900px) {
  .act-hero { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .act-hero-btns { flex-direction: row; }
  .act-hero-btns .btn { flex: 1; padding: 10px 8px; font-size: 13.5px; }
  .act-card { padding: 13px; gap: 12px; }
  .act-date { width: 54px; height: 62px; }
  .act-date b { font-size: 20px; }
  .act-card h3 { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .act-fee { font-size: 11.5px; }
  .act-info { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
  .act-detail { padding: 16px; }
  .act-detail-head { align-items: flex-start; gap: 10px; }
  .act-detail-head h1 { font-size: 17px; }
  .act-date.big { width: 60px; height: 68px; }
  .act-date.big b { font-size: 24px; }
  .act-actions .btn { flex: 1; }
  .hn-grid { grid-template-columns: 1fr; }
  .hn-card { padding: 14px; gap: 12px; }
  .hn-photo { width: 104px; height: 140px; }
  .hn-info h3 { font-size: 16px; }
  .hn-line { font-size: 12.5px; }
  .hn-steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hn-steps > div { padding: 13px; }
  .hn-mini { padding: 10px 12px; gap: 10px; }
  .hn-mini img { width: 46px; height: 46px; }
  .hn-mini-txt p { display: none; }
  .act-row { padding: 9px 11px; gap: 9px; }
  .act-row .act-kind { display: none; }
  .nav { gap: 14px; font-size: 14px; }
}

/* ===== 后台：活动报名 / 牵线委托 ===== */
.sign-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 12px 4px; border-bottom: 1px dashed var(--line); }
.sign-row:last-child { border-bottom: none; }
.sign-row b { font-size: 14.5px; }
.sign-row small { color: var(--muted); font-size: 12px; }
.sign-row p { font-size: 12.5px; color: #5c4b53; margin-top: 3px; line-height: 1.6; }
.sign-row .link-name { margin-left: 6px; font-size: 13px; }
.sign-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.st.ok { color: #177245; background: #ddf3e5; }
@media (max-width: 900px) {
  .sign-row { flex-direction: column; gap: 8px; }
  .sign-acts { justify-content: flex-start; }
}

/* 红娘卡等高对齐 */
.hn-card { align-items: stretch; }
.hn-info { display: flex; flex-direction: column; }
.hn-photo { height: auto; min-height: 176px; }
.hn-info .btn { margin-top: auto; align-self: flex-start; }
.hn-info .tags { margin-bottom: 4px; }
@media (max-width: 900px) {
  .hn-photo { height: auto; min-height: 140px; }
  .hn-info .btn { align-self: stretch; }
}

/* 首页 hero 活动入口 */
.hero-act-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: rgba(255,255,255,.75); border: 1px dashed #e8b9cd; border-radius: 10px;
  padding: 8px 14px; font-size: 13px; color: #8a5568; }
.hero-act-link b { color: var(--primary); font-weight: 700; }
.hero-act-link:hover { background: #fff; border-color: #d98cad; }
@media (max-width: 900px) {
  .hero-act-link { display: flex; justify-content: space-between; width: 100%; box-sizing: border-box;
    font-size: 12.5px; padding: 9px 12px; margin-top: 12px; }
  .hero { padding: 22px 16px 20px; }
}

/* 修正：后台表格手机卡片化（原规则选择器漏了 td，只对最后一张表生效） */
@media (max-width: 900px) {
  .tbl-members, .tbl-moments, .tbl-reports, .tbl-verifies { width: 100%; background: transparent; box-shadow: none; }
  .tbl-members tr:first-child, .tbl-moments tr:first-child, .tbl-reports tr:first-child, .tbl-verifies tr:first-child { display: none; }
  .tbl-members tbody, .tbl-moments tbody, .tbl-reports tbody, .tbl-verifies tbody { display: block; width: 100%; }
  .tbl-members tr, .tbl-moments tr, .tbl-reports tr, .tbl-verifies tr {
    display: block; width: 100%; box-sizing: border-box; background: #fff; border-radius: 12px;
    padding: 12px 14px; margin-bottom: 10px; box-shadow: var(--shadow); }
  .tbl-members td, .tbl-moments td, .tbl-reports td, .tbl-verifies td {
    display: flex; align-items: flex-start; gap: 10px; width: auto;
    border: none; padding: 3px 0; font-size: 13px; line-height: 1.6; word-break: break-word; }
  .tbl-members td::before, .tbl-moments td::before, .tbl-reports td::before, .tbl-verifies td::before {
    content: attr(data-label); flex: 0 0 66px; color: var(--muted); font-size: 12px; line-height: 1.75; }
  .tbl-members td[data-label="操作"], .tbl-moments td[data-label="操作"], .tbl-reports td[data-label="操作"], .tbl-verifies td[data-label="操作"] {
    display: block; border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 8px; }
  .tbl-members td[data-label="操作"]::before, .tbl-moments td[data-label="操作"]::before,
  .tbl-reports td[data-label="操作"]::before, .tbl-verifies td[data-label="操作"]::before { display: block; margin-bottom: 6px; }
  .tbl-members td[data-label="操作"] .mini-btn, .tbl-members td[data-label="操作"] button { margin-right: 6px; }
  .tbl-members td[data-label="内容"], .tbl-moments td[data-label="内容"], .tbl-reports td[data-label="内容"] { display: block; }
  .tbl-members td[data-label="内容"]::before, .tbl-moments td[data-label="内容"]::before,
  .tbl-reports td[data-label="内容"]::before { display: block; margin-bottom: 4px; }
}

@media (max-width: 900px) {
  .tbl-members td[data-label="活动"], .tbl-members td[data-label="会员号"] { display: block; }
  .tbl-members td[data-label="活动"]::before, .tbl-members td[data-label="会员号"]::before { display: block; margin-bottom: 2px; }
  .tbl-members td[data-label="活动"] b { font-size: 15px; }
}

/* ===== 平板 601-900：hero 保持左右两栏，收窄表单 ===== */
@media (min-width: 601px) and (max-width: 900px) {
  .hero { padding: 28px 26px 22px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px 26px; }
  .hero-eyebrow { font-size: 11px; padding: 2px 10px; margin-bottom: 10px; }
  .hero h1 { font-size: 31px; letter-spacing: 1px; }
  .hero p { font-size: 13.5px; margin: 8px 0 16px; }
  .hero .btn { padding: 9px 18px; font-size: 14px; }
  .hero-trust { margin-top: 14px; }
  .hero-trust span { font-size: 11px; padding: 3px 8px; }
  .hero-act-link { font-size: 12px; padding: 8px 11px; margin-top: 12px; }
  .hero-stats { display: flex; flex-wrap: wrap; padding-top: 12px; gap: 6px 0; }
  .hero-stats b { font-size: 19px; }
  .hero-stats span { font-size: 11.5px; }
  .hero-stats > div { flex: 1 1 40%; }
  .hero-stats > div + div { padding-left: 14px; }
  .hero-form { padding: 16px; }
  .hero-form h3 { font-size: 16px; }
  .hero-form select, .hero-form input { padding: 9px 11px; font-size: 13px; margin-bottom: 8px; }
  .hero-form .btn { padding: 10px; font-size: 14px; }
}

/* ===== 红娘管理（后台）===== */
.mm-row { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); padding: 14px; margin-bottom: 10px; }
.mm-row.off { opacity: .62; }
.mm-row-photo { width: 78px; height: 100px; object-fit: cover; object-position: 50% 20%;
  border-radius: 9px; background: #f4e8ee; flex-shrink: 0; }
.mm-row-main { flex: 1; min-width: 0; }
.mm-row-main b { font-size: 15.5px; margin-right: 8px; }
.mm-row-main > small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.mm-row-main p { font-size: 12.5px; color: #5c4b53; margin-top: 5px; line-height: 1.6; }
.mm-row-main .mm-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.mm-row-main .mm-tags .tag { font-size: 11px; }

/* 弹层表单 */
.mm-modal { max-width: 560px; }
.act-modal { max-width: 620px; }
.modal-tip { font-size: 12px; color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.modal-btns { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.modal-btns .btn { flex: 1; min-width: 110px; }
.fld { margin-bottom: 10px; }
.fld label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.fld input, .fld select, .fld textarea { width: 100%; box-sizing: border-box; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 9px; font-size: 14px; font-family: inherit;
  background: #fff; outline: none; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { border-color: #e2a8bf; }
.fld2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.mm-pick, .act-cover-pick { display: flex; gap: 12px; align-items: center; margin-bottom: 12px;
  background: #fdf7f9; border-radius: 10px; padding: 10px; }
.mm-pick img { width: 72px; height: 92px; object-fit: cover; object-position: 50% 20%;
  border-radius: 8px; background: #efdfe6; flex-shrink: 0; }
.act-cover-pick img { width: 120px; height: 78px; object-fit: cover; border-radius: 8px;
  background: #efdfe6; flex-shrink: 0; display: none; }
.mm-pick-tip { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.mm-pick input[type=file], .act-cover-pick input[type=file] { font-size: 12px; max-width: 100%; }

/* 活动封面 & 提示 */
.act-cover { margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.act-cover img { width: 100%; max-height: 300px; object-fit: cover; display: block; }
.act-join-note { font-size: 12.5px; color: #8a5568; background: #fdf2f6; border-radius: 8px;
  padding: 8px 12px; margin-top: 12px; }
.hn-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.hn-phone { font-size: 13px; color: var(--primary); background: #fdf2f6; border: 1px solid #f0cdda;
  border-radius: 30px; padding: 6px 14px; white-space: nowrap; }
.hn-phone:hover { background: #fbe4ee; }

@media (max-width: 900px) {
  .mm-row { padding: 12px; gap: 10px; }
  .mm-row-photo { width: 62px; height: 80px; }
  .mm-row .sign-acts { width: 100%; justify-content: flex-start; }
  .mm-row { flex-wrap: wrap; }
  .fld2 { grid-template-columns: 1fr; }
  .mm-modal, .act-modal { max-width: 100%; }
  .act-cover { margin: -16px -16px 14px; }
  .act-cover img { max-height: 190px; }
}

/* 弹层表单：保存按钮吸底，长表单不用滚到底 */
.modal { --pad: 28px; }
.modal-btns { position: sticky; bottom: calc(-1 * var(--pad)); z-index: 2;
  background: #fff; padding: 10px 0 var(--pad); margin: 6px 0 calc(-1 * var(--pad)); }
@media (max-width: 900px) { .modal { --pad: 22px; } }

.btn-del { background: #fff; color: #b3261e; border: 1.5px solid #e8b4b0; }
.btn-del:hover { background: #fdf2f2; }

@media (max-width: 900px) {
  .filters > span { flex: 1 1 100%; }
  .filters > .btn { flex: 0 0 auto; }
}

/* 后台手机端：筛选区按钮与说明各占一行 */
@media (max-width: 900px) {
  .admin-page .filters .btn { grid-column: 1 / -1; }
  .admin-page .filters > span { grid-column: 1 / -1; }
}

/* ============ 资讯文章：后台 ============ */
.post-stat { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.post-stat b { color: var(--primary); font-size: 15px; }
.post-stat .ps-link { margin-left: auto; }
.post-stat .ps-link a { color: var(--primary); }
.post-row { display: flex; gap: 14px; background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); }
.post-row.off { opacity: .62; }
.post-cover { width: 128px; height: 82px; flex: 0 0 auto; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #fdf2f6, #f6e4ec); display: flex; align-items: center; justify-content: center; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .pc-ph { font-size: 15px; font-weight: 700; color: #d0a8ba; letter-spacing: 1px; }
.post-main { flex: 1; min-width: 0; }
.post-t { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.post-t b { font-size: 15.5px; line-height: 1.5; }
.top-flag { font-style: normal; font-size: 11px; background: var(--primary); color: #fff; border-radius: 4px; padding: 1px 6px; flex: 0 0 auto; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin-top: 5px; align-items: center; }
.post-meta .pcat { color: var(--primary-dark); background: var(--rose); border-radius: 5px; padding: 1px 8px; }
.pst { border-radius: 20px; padding: 1px 9px; font-size: 11.5px; }
.pst.on { color: #177245; background: #ddf3e5; }
.pst.draft { color: #9a6b00; background: #fff3d6; }
.pst.hide { color: var(--muted); background: #f2ecef; }
.post-snippet { font-size: 12.5px; color: #6d5b64; line-height: 1.6; margin: 6px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-main .row-acts a.mini-btn { color: var(--text); display: inline-block; }
.mini-btn.go { color: #177245; border-color: #b7ddc7; }
.post-modal { max-width: 760px; }
.post-modal h3 { margin-bottom: 6px; }
.post-modal code { background: #f6eef2; color: var(--primary-dark); padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
.post-cover-pick { display: flex; gap: 12px; align-items: flex-start; }
.post-cover-pick img { width: 150px; height: 94px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.po-body { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13px; line-height: 1.8; }
.po-seo { margin: 4px 0 12px; padding: 10px 12px; background: #fbf7f9; border: 1px solid var(--line); border-radius: 10px; }
.po-seo summary { font-size: 13px; color: var(--primary-dark); cursor: pointer; }
.po-seo[open] summary { margin-bottom: 10px; }
.po-seo .btn { margin-top: 2px; }
.po-top { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #5c4b53; }

/* ============ 资讯文章：前台 ============ */
.art-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.art-tabs a { padding: 7px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: #5c4b53; }
.art-tabs a.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.art-featured { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 14px; }
.art-featured .af-txt { padding: 22px 24px; }
.art-featured .af-cat { font-size: 12px; color: var(--primary); font-weight: 600; letter-spacing: .5px; }
.art-featured h3 { font-size: 22px; line-height: 1.45; margin: 8px 0 10px; }
.art-featured p { font-size: 14px; color: #6d5b64; line-height: 1.75; }
.art-featured .af-meta { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.art-list { display: grid; gap: 12px; }
.art-item { display: flex; gap: 16px; background: #fff; border-radius: 12px; padding: 16px; border: 1px solid var(--line); }
.art-item:hover { box-shadow: var(--shadow); }
.art-item .ai-thumb { width: 150px; height: 96px; flex: 0 0 auto; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, #fdf2f6, #f6e4ec); display: flex; align-items: center; justify-content: center; }
.art-item .ai-thumb img { width: 100%; height: 100%; object-fit: cover; }
.art-item .ai-thumb span { font-size: 14px; font-weight: 700; color: #d0a8ba; }
.art-item .ai-main { min-width: 0; flex: 1; }
.art-item h3 { font-size: 16.5px; line-height: 1.55; }
.art-item .ai-sum { font-size: 13px; color: #6d5b64; line-height: 1.7; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-item .ai-meta { font-size: 12px; color: var(--muted); margin-top: 8px; display: flex; gap: 10px; flex-wrap: wrap; }
.art-item .ai-cat { color: var(--primary-dark); background: var(--rose); border-radius: 5px; padding: 0 7px; }

.post-detail { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.post-detail .pd-cat { font-size: 12px; color: var(--primary); font-weight: 600; }
.post-detail h1 { font-size: 26px; line-height: 1.45; margin: 10px 0 12px; }
.post-detail .pd-meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #f6eef2; }
.post-detail .pd-cover { margin: 18px 0 0; border-radius: 10px; overflow: hidden; }
.post-detail .pd-lead { margin: 18px 0 0; padding: 14px 16px; background: #fbf7f9; border-left: 3px solid #e7b9cb; border-radius: 0 8px 8px 0; font-size: 14.5px; color: #5c4b53; line-height: 1.8; }
.post-body { font-size: 15.5px; line-height: 1.95; color: #3a3038; margin-top: 20px; }
.post-body p { margin: 0 0 1.05em; }
.post-body h2 { font-size: 18.5px; margin: 1.8em 0 .6em; padding-left: 10px; border-left: 4px solid var(--primary); line-height: 1.5; }
.post-body h3 { font-size: 16px; margin: 1.4em 0 .5em; }
.post-body ul, .post-body ol { margin: 0 0 1.1em; padding-left: 1.35em; }
.post-body li { margin: .3em 0; }
.post-body blockquote { margin: 1.2em 0; padding: 12px 16px; background: #faf7f8; border-left: 3px solid #e2d3da; color: #6d5b64; }
.post-body img { border-radius: 10px; margin: .5em 0; }
.post-body hr { border: 0; border-top: 1px solid #f2e9ee; margin: 1.8em 0; }
.post-body code { background: #f6eef2; color: var(--primary-dark); padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.post-body table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 4px 0 1.1em; }
.post-body th, .post-body td { border: 1px solid #f0e2e8; padding: 8px 10px; text-align: left; }
.post-body th { background: #fbf7f9; white-space: nowrap; }
.post-body .tb { overflow-x: auto; margin: 0 0 1.1em; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.pd-tags a { font-size: 12px; color: #6d5b64; background: #f6f4f5; border-radius: 999px; padding: 4px 11px; }
.pd-nav { display: grid; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #f6eef2; }
.pd-nav a { display: block; padding: 11px 14px; background: #fbfafb; border-radius: 9px; font-size: 13.5px; }
.pd-nav span { display: block; font-size: 11.5px; color: var(--muted); }
.pd-cta { margin-top: 22px; padding: 20px; border-radius: 12px; background: linear-gradient(135deg, #fdf2f6, #f8eef3); border: 1px solid #f3dde6; }
.pd-cta b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.pd-cta p { font-size: 13px; color: #6d5b64; line-height: 1.7; margin-bottom: 12px; }
.art-more { text-align: center; padding: 18px 0 0; }

@media (max-width: 900px) {
  .post-row { flex-wrap: wrap; }
  .post-cover { width: 84px; height: 60px; }
  .post-modal { max-width: 100%; }
  .art-item .ai-thumb { width: 104px; height: 76px; }
  .art-featured h3 { font-size: 18px; }
  .post-detail { padding: 20px 16px; }
  .post-detail h1 { font-size: 21px; }
  .post-body { font-size: 15px; }
}

/* 资讯页标题 / 面包屑 */
.page-head { padding: 22px 0 18px; }
.page-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.3px; }
.page-head p { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.75; }
.pd-bread { font-size: 12.5px; color: var(--muted); padding: 16px 0 12px; }
.pd-bread a { color: var(--muted); }
.pd-bread a:hover { color: var(--primary); }
@media (max-width: 900px) {
  .page-head h1 { font-size: 21px; }
  .art-item { padding: 12px; gap: 11px; }
  .art-item h3 { font-size: 15px; }
  .art-item .ai-sum { -webkit-line-clamp: 2; font-size: 12.5px; }
}

/* 置顶大卡封面 + 后台导航紧凑排布 */
.art-featured .af-cover { display: block; overflow: hidden; background: #f7f4f6; }
.art-featured .af-cover img { width: 100%; height: 320px; object-fit: cover; display: block; transition: transform .5s; }
.art-featured:hover .af-cover img { transform: scale(1.03); }
.admin-nav button { padding: 8px 14px; font-size: 13.5px; }
@media (max-width: 900px) {
  .art-featured .af-cover img { height: 170px; }
  .art-featured .af-txt { padding: 16px 18px; }
}

/* 封面高度收敛，避免长图占满整屏 */
.post-detail .pd-cover img { width: 100%; max-height: 340px; object-fit: cover; display: block; }
@media (max-width: 900px) { .post-detail .pd-cover img { max-height: 200px; } }

/* 资讯页底部入口卡片 */
.art-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 8px; }
.art-foot a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.art-foot a:hover { border-color: #ecc6d5; box-shadow: var(--shadow); }
.art-foot b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.art-foot span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .art-foot { grid-template-columns: 1fr; gap: 9px; } }
