:root {
  /* ---- 品牌色：主题只改这一段 ---- */
  --brand: #C41E3A;
  --brand-deep: #8B0000;
  --brand-soft: #FFF0F3;
  --brand-rgb: 196, 30, 58;

  /* ---- 辅助色 ---- */
  --accent: #FF6B8A;
  --accent-soft: #FFF5F7;
  --accent-rgb: 255, 107, 138;

  /* ---- 渐变 ---- */
  --grad: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);

  /* ---- 中性 ---- */
  --bg: #FAF5F6;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #FFFFFF;
  --text: #1C1C1E;
  --text-2: #6E6E73;
  --text-3: #8E8E93;
  --border: rgba(0, 0, 0, 0.06);
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(var(--brand-rgb), 0.12);
  --radius: 16px;
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* ---- 功能色：不随主题变 ---- */
  --green: #34C759;
  --green-soft: #F0FFF4;
  --red: #FF3B30;
  --gold: #FFD700;

  /* ---- 兼容别名：老样式里的 --blue / --orange 落到品牌 token ---- */
  --blue: var(--brand);
  --blue-deep: var(--brand-deep);
  --blue-soft: var(--brand-soft);
  --orange: var(--accent);
  --orange-soft: var(--accent-soft);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; overflow: hidden; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: #FFFFFF;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ 顶部品牌栏 ============ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
}
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex: 1; }
.brand .logo {
  width: 40px; height: 40px; border-radius: 12px;
  display: block; flex: none;
  background-image: url(../assets/logo/mark.svg);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.32);
}
.brand .name { font-size: 19px; font-weight: 600; letter-spacing: .5px; color: var(--text); }
.brand .logo-img {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: block;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.22);
}
.brand .years {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 5px;
  background: #FFF0F3; border: 1px solid rgba(196,30,58,.16);
  font-size: 10.5px; font-weight: 600; color: #C41E3A;
  vertical-align: 3px; letter-spacing: .3px;
}
.brand .safe {
  font-size: 11px; font-weight: 600;
  background: rgba(var(--brand-rgb), 0.08); color: var(--blue); border-radius: 20px;
  padding: 2px 8px; margin-left: 4px;
}
.brand .slogan { display: block; font-size: 11px; color: var(--text-2); margin-top: -2px; }

.searchbox {
  flex: none; width: 260px; display: flex; align-items: center; gap: 8px;
  background: rgba(118,118,128,.12); border-radius: 10px; padding: 9px 14px;
  color: var(--text-3);
  margin-left: auto; /* 推到最右边 */
}
.searchbox input { flex: 1; border: none; outline: none; font-size: 14px; color: var(--text); background: transparent; }
.searchbox .icon { font-size: 16px; display: flex; align-items: center; }
.searchbox .icon svg { width: 16px; height: 16px; }

/* 顶部右侧操作区 */
.topbar-actions {
  display: flex; align-items: center; gap: 12px;
}
.btn-download-app {
  white-space: nowrap; background: var(--blue-soft); color: var(--blue);
  font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 10px;
  border: 1px solid rgba(var(--brand-rgb),0.15);
  transition: all 0.2s ease; cursor: pointer;
}
.btn-download-app:hover {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb),0.3);
}

.btn-publish {
  white-space: nowrap; background: var(--grad); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(var(--brand-rgb),.25);
  transition: transform .15s ease;
}
.btn-publish:hover { transform: translateY(-1px); }
.btn-publish .plus { font-size: 16px; margin-right: 3px; }

/* ============ 四Tab导航 ============ */
.tabs {
  position: sticky; top: 64px; z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.tabs-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; gap: 4px; padding: 0 16px;
  overflow-x: auto;
}
.tab {
  flex: none; position: relative;
  padding: 13px 18px; font-size: 15px; font-weight: 600;
  color: var(--text-2); transition: color .2s;
}
.tab.active { color: var(--blue); }
.tab.active::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 24px; height: 3px; border-radius: 3px;
  background: var(--blue);
}
.tab .hot { color: var(--orange); font-size: 12px; margin-left: 2px; }

/* ============ 主容器 ============ */
/* width:100% 是必须的：body 是 flex 列容器，margin:0 auto 会顶掉 stretch，
   宽度会退成内容宽度（1085 左右）。max-width 跟顶栏/选项卡保持一致（1280），
   不然导航和内容两边对不齐，看着像多出一截。 */
.page { width: 100%; box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 16px; overflow: hidden; height: calc(100vh - 176px); display: flex; flex-direction: column; }

/* 左右分栏布局 */
.split-layout {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 18px;
  align-items: start;
  height: calc(100vh - 176px);
  overflow: hidden;
}

/* PC端：flex填充布局，头部占多少内容区就自动填满剩余空间，不再有底部空白 */
@media (min-width: 769px) {
  body { height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
  .topbar, .tabs, .cat-bar { flex-shrink: 0; }
  .page { flex: 1 1 auto; min-height: 0; height: auto; }
  .split-layout { height: 100%; }
}

.list-panel { 
  height: 100%;
  overflow-y: auto; 
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.list-panel::-webkit-scrollbar { width: 6px; }
.list-panel::-webkit-scrollbar-track { background: transparent; }
.list-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.list-panel::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

.detail-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 0;
}

#detailContent {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: visible;
}

/* 固定标题栏 */
.detail-sticky-header {
  flex-shrink: 0;
  padding: 20px 24px 16px;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.sticky-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sticky-header-top .detail-title-main {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.sticky-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-3);
  cursor: pointer;
}
.btn-action:hover {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(var(--brand-rgb),.3);
}
.btn-action-icon {
  font-size: 14px;
}
.btn-report:hover {
  background: #FFF5F5;
  color: var(--red);
  border-color: rgba(255,59,48,.3);
}

.btn-contact-big {
  flex-shrink: 0;
  background: var(--grad);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn-contact-big:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), 0.4);
}
.btn-contact-big.free {
  background: var(--grad);
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.3);
}
.btn-contact-big.free:hover {
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), 0.4);
}

/* 详情页长按钮 - 获取联系方式 */
.detail-contact-section {
  margin: 16px 0;
}
.detail-contact-row {
  display: flex; gap: 10px; align-items: stretch;
}
.btn-contact-long {
  flex: 1;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-contact-long:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), 0.4);
}
.btn-contact-small {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.btn-contact-small:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}
.btn-contact-small svg {
  width: 20px; height: 20px;
}

.sticky-header-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-info {
  font-size: 12px;
  color: var(--text-3);
}

/* 可滚动内容区 */
.detail-scroll-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  min-height: 0;
}

.detail-scroll-content::-webkit-scrollbar { width: 6px; }
.detail-scroll-content::-webkit-scrollbar-track { background: transparent; }
.detail-scroll-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.detail-scroll-content::-webkit-scrollbar-thumb:hover { background: var(--text-3); }
/* ============ 空状态（引导+预览+底部信息） ============ */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  height: 100%; padding: 40px 32px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.empty-state::-webkit-scrollbar { width: 6px; }
.empty-state::-webkit-scrollbar-track { background: transparent; }
.empty-state::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }

/* 平台数据卡片 */
.detail-stats-card {
  width: 100%; background: #fff; border-radius: 16px;
  border: 1px solid var(--border); padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
.stats-title {
  font-size: 15px; font-weight: 600; color: var(--text);
  margin-bottom: 16px; text-align: center;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.stats-item {
  text-align: center; padding: 16px;
  background: var(--bg); border-radius: 12px;
}
.stats-num {
  font-size: 22px; font-weight: 600; color: var(--blue);
  margin-bottom: 4px;
}
.stats-label {
  font-size: 13px; color: var(--text-3);
}

/* APP下载卡片 */
.empty-app-card {
  width: 100%; background: #fff; border-radius: 16px;
  border: 1px solid var(--border); padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.app-download-inner {
  display: flex; align-items: center; gap: 14px;
}
.app-download-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.app-download-icon svg { width: 24px; height: 24px; }
.app-download-icon {
  border-radius: 10px;
}
.app-download-info { flex: 1; min-width: 0; }
.app-download-title {
  font-size: 15px; font-weight: 600; color: var(--text);
  margin-bottom: 4px;
}
.app-download-desc {
  font-size: 13px; color: var(--text-3); line-height: 1.4;
}
.app-download-btn {
  flex-shrink: 0; background: var(--grad); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb),0.3);
  transition: all 0.2s ease; border: none; cursor: pointer;
}
.app-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--brand-rgb),0.4);
}

/* 引导文字 */
.empty-guide {
  font-size: 16px; color: var(--blue); font-weight: 600;
  margin-bottom: 32px; text-align: center;
  padding: 12px 24px;
  background: var(--blue-soft);
  border-radius: 12px;
  border: 1px dashed rgba(var(--brand-rgb),0.25);
}

/* ============ 分类宫格按钮 + 功能卡片（手机头部 & PC空状态共用） ============ */
.mhh-cats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  margin-bottom: 12px; position: relative; z-index: 1;
}
.mhh-cat-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; padding: 10px 2px;
  background: #fff; font-family: inherit;
  border: none; border-radius: 12px; cursor: pointer; transition: all .18s;
  font-size: 11px; font-weight: 600; color: var(--text-2);
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}
.mhh-cat-btn .mhh-cat-icon { display: flex; }
[data-cat="地推网推"] .mhh-cat-icon { color: var(--brand); }
[data-cat="流量渠道"] .mhh-cat-icon { color: #EA580C; }
[data-cat="电商带货"] .mhh-cat-icon { color: #D97706; }
[data-cat="本地生活"] .mhh-cat-icon { color: #16A34A; }
[data-cat="短剧小说"] .mhh-cat-icon { color: #2563EB; }
[data-cat="知识付费"] .mhh-cat-icon { color: #7C3AED; }
[data-cat="招商加盟"] .mhh-cat-icon { color: #0891B2; }
[data-cat="软件工具"] .mhh-cat-icon { color: #DB2777; }
[data-cat="拉新悬赏"] .mhh-cat-icon { color: #E11D48; }
[data-cat="其他项目"] .mhh-cat-icon { color: #64748B; }
.mhh-cat-btn.active { background: #1a1a1a; color: #FFD700; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.mhh-cat-btn.active .mhh-cat-icon { color: #FFD700 !important; }
.mhh-cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  position: relative; z-index: 1;
}
.mhh-card {
  border: 1px solid rgba(var(--brand-rgb),.08); border-radius: 12px; padding: 12px 8px; cursor: pointer;
  transition: all .18s; background: rgba(255,255,255,.82);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(var(--brand-rgb),.08);
}
.mhh-card:active { transform: scale(.97); }
.mhh-card-title { font-size: 12px; font-weight: 600; color: var(--blue); }
.mhh-card-desc { font-size: 10px; color: var(--text-3); margin-top: 2px; }

/* PC端空状态里的分类导航卡片 */
.empty-nav {
  width: 100%; background: #fff; border-radius: 16px;
  border: 1px solid var(--border); padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  margin-bottom: 32px;
}
.empty-nav .mhh-cats { grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: 10px; }
.empty-nav .mhh-cat-btn { background: var(--bg); box-shadow: none; border: 1px solid var(--border); padding: 8px 2px; gap: 4px; font-size: 10px; border-radius: 10px; }
.empty-nav .mhh-cat-btn svg { width: 16px; height: 16px; }
.empty-nav .mhh-cat-btn:hover { border-color: var(--blue); color: var(--blue); }
.empty-nav .mhh-card { background: linear-gradient(135deg, var(--brand-soft) 0%, #FFE9EE 100%); border: none; box-shadow: none; }
.empty-nav .mhh-card:hover { box-shadow: 0 4px 12px rgba(var(--brand-rgb),.15); }

/* 朦胧预览卡片 */
.preview-card {
  width: 100%; background: #fff; border-radius: 16px;
  border: 1px solid var(--border); padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  margin-bottom: 32px;
}

.preview-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}

.preview-avatar {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}

.preview-meta { flex: 1; min-width: 0; }

.preview-nick {
  font-size: 14px; font-weight: 600; color: var(--text);
}

.preview-cat-time {
  display: flex; align-items: center; gap: 8px; margin-top: 3px;
}

.preview-time {
  font-size: 12px; color: var(--text-3);
}

.preview-cat-time .tag-cat {
  background: var(--blue-soft); color: var(--blue); font-size: 11px; padding: 2px 8px;
}

.preview-title {
  font-size: 17px; font-weight: 600; color: var(--text);
  line-height: 1.5; margin-bottom: 12px;
}

/* 朦胧区域 */
.preview-blur-wrap {
  position: relative; max-height: 120px; overflow: hidden;
  margin-bottom: 20px;
}

.preview-desc {
  font-size: 14px; line-height: 1.7; color: var(--text-2);
  white-space: pre-line;
}

.preview-blur-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(transparent, #fff 85%);
  pointer-events: none;
}

/* 点击查看按钮 */
.preview-btn-row {
  display: flex; gap: 10px;
}
.preview-cta-btn {
  flex: 1; text-align: center;
  background: var(--grad); color: #fff;
  font-size: 15px; font-weight: 600;
  padding: 15px; border-radius: 12px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb),0.25);
  transition: all 0.2s;
}
.preview-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--brand-rgb),0.35);
}
.preview-swap-btn {
  flex: none; white-space: nowrap;
  background: #fff; color: var(--text-2);
  font-size: 14px; font-weight: 600;
  padding: 13px 18px; border-radius: 12px;
  border: 1px solid var(--border); cursor: pointer;
  transition: all 0.2s;
}
.preview-swap-btn:hover {
  border-color: var(--blue); color: var(--blue);
  background: var(--blue-soft);
}

/* 底部信息区 */
.empty-footer-info {
  width: 100%; text-align: center;
}

.empty-stats {
  display: flex; justify-content: center; gap: 20px;
  font-size: 13px; color: var(--text-2); margin-bottom: 14px;
}
.empty-stats b { color: var(--blue); }

.empty-hot-cats {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}

.empty-hot-cats .hot-cat-tag {
  font-size: 12px; padding: 5px 12px; border-radius: 20px;
  background: var(--blue-soft); color: var(--blue);
  cursor: pointer; transition: all 0.2s;
  border: 1px solid transparent;
}
.empty-hot-cats .hot-cat-tag:hover {
  border-color: var(--blue); background: #fff;
}

.empty-safety-tip {
  font-size: 12px; color: var(--text-3); line-height: 1.6;
  padding: 12px 16px; background: #f8f9fa;
  border-radius: 10px; border: 1px solid var(--border);
  margin-bottom: 16px;
}

/* APP下载区 */
.empty-app-download {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  border-radius: 12px;
  color: #fff;
}

.app-download-text {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.app-download-btn {
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.app-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ============ 左侧分类面板 ============ */
.side-panel { position: sticky; top: 120px; }
.panel {
  background: var(--card); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow);
}
.panel-title {
  font-size: 15px; font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.panel-title::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--blue); }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px; border-radius: 12px; cursor: pointer;
  background: var(--bg); transition: all .18s;
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.cat-item:hover, .cat-item.active { background: var(--blue-soft); color: var(--blue); }
.cat-item .emoji { font-size: 18px; }

/* ============ Banner ============ */
.banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--grad); color: #fff;
  padding: 22px 24px; margin-bottom: 16px;
  box-shadow: var(--shadow-hover);
}
.banner .tag {
  display: inline-block; background: rgba(255,255,255,.2);
  font-size: 12px; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.banner h2 { font-size: 22px; font-weight: 600; letter-spacing: .5px; }
.banner p { font-size: 13px; color: rgba(255,255,255,.9); margin: 6px 0 14px; }
.banner .btn-banner {
  display: inline-block; background: #fff; color: var(--blue);
  font-size: 13px; font-weight: 600; padding: 8px 18px; border-radius: 50px;
}
.banner .mascot {
  position: absolute; right: 24px; bottom: 0; font-size: 84px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.2));
}

/* ============ 筛选标签栏 ============ */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.filter-chip {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  padding: 7px 14px; border-radius: 50px; background: var(--card);
  border: 1px solid var(--border); transition: all .18s;
  white-space: nowrap; flex-shrink: 0;
}
.filter-chip.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ============ PC网格首页模式（默认）→ 点卡片后切换为主从详情 ============ */
.grid-home-top { display: none; }

/* Tab行右侧功能入口（PC端） */
.tabs-side-actions { display: none; }
@media (min-width: 769px) {
  .tabs-side-actions {
    display: flex; align-items: center; gap: 8px;
    margin-left: auto; flex-shrink: 0;
    padding: 6px 0 6px 12px;
  }
  .tabs-action-btn {
    padding: 5px 12px; font-size: 12px; font-weight: 600;
    color: var(--text-2); background: var(--bg);
    border: 1px solid var(--border); border-radius: 999px;
    cursor: pointer; transition: all .18s; font-family: inherit;
    white-space: nowrap;
  }
  .tabs-action-btn:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }
}

/* 分类入口独立一行（PC端，Tab栏下方） */
.cat-bar { display: none; }
@media (min-width: 769px) {
  .cat-bar {
    display: block; background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 106px; z-index: 98;
    max-height: 60px; overflow: hidden;
    transition: max-height .28s ease, opacity .2s ease;
  }
  /* 列表下滑时隐藏分类行，回到顶部再显示（flex自动回收空间） */
  body.catbar-hidden .cat-bar { max-height: 0; opacity: 0; border-bottom-width: 0; }
  .cat-bar-inner {
    max-width: 1280px; margin: 0 auto; padding: 8px 16px;
    display: flex; align-items: center; gap: 7px;
    overflow-x: auto; scrollbar-width: none;
  }
  .cat-bar-inner::-webkit-scrollbar { display: none; }
  .tabs-cat-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px;
    flex: 0 0 auto; min-width: fit-content;
    padding: 7px 10px; font-size: 12.5px; font-weight: 600;
    color: var(--text-2); background: var(--bg);
    border: 1px solid var(--border); border-radius: 999px;
    cursor: pointer; transition: all .18s; font-family: inherit;
    white-space: nowrap;
  }
  .tabs-cat-pill.more { color: #9AA0AA; }
  .tabs-cat-pill.more .mhh-cat-icon { opacity: .6; }
  .tabs-cat-pill .mhh-cat-icon { display: flex; }
  .tabs-cat-pill svg { width: 14px; height: 14px; }
  .tabs-cat-pill:hover { color: var(--blue); border-color: var(--blue); }
  .tabs-cat-pill.active { background: var(--blue); border-color: var(--blue); color: #fff; }
  .tabs-cat-pill.active .mhh-cat-icon { color: #fff !important; }
}
.detail-back-all {
  display: none; align-items: center; gap: 2px;
  background: none; border: none; cursor: pointer;
  color: var(--text-3); font-size: 13px; font-family: inherit;
  padding: 0; margin-bottom: 6px;
}
.detail-back-all:hover { color: var(--blue); }
@media (min-width: 769px) {
  .split-layout.grid-mode { grid-template-columns: 1fr; }
  .split-layout.grid-mode .detail-panel { display: none; }
  .split-layout.grid-mode .list-panel { border-right: none; }
  .split-layout.grid-mode .grid-home-top { display: block; }
  .split-layout.grid-mode .feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
    align-content: start;
  }
  .split-layout.grid-mode .feed .scroll-hint { grid-column: 1 / -1; }
  .split-layout.grid-mode .feed .login-card { grid-column: 1 / -1; }
  .detail-back-all { display: inline-flex; }
}

/* 手机端：筛选标签一行横滑，不折行 */
@media (max-width: 768px) {
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { scroll-snap-align: start; }
}

/* ============ 帖子列表 ============ */
.feed { display: flex; flex-direction: column; gap: 10px; }

.post-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.post-card:hover { box-shadow: 0 4px 16px rgba(var(--brand-rgb), 0.12); }
.post-card.active { background: rgba(var(--brand-rgb), 0.04); border-color: rgba(var(--brand-rgb), 0.3); }
.post-card.viewed { background: #F5F5F5; border-color: #E0E0E0; opacity: 0.7; }

/* 登录提示卡片 */
.login-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.login-card-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.login-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.login-card-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 20px;
}
.login-card-btn {
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.login-card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.3);
}

/* 第一行：标题 …… 置顶标 */
.post-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.post-title { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--text); flex: 1; }

.badge-top {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 6px; flex: none; margin-left: 12px;
}
.badge-top.sticky { background: rgba(var(--brand-rgb), 0.1); color: var(--blue); }
.badge-top.expose { background: rgba(255, 152, 0, 0.12); color: #FF9800; }
.badge-top.super { background: rgba(255, 149, 0, 0.15); color: var(--orange); }
.badge-top.headline { background: rgba(255, 59, 48, 0.12); color: var(--red); }

/* 第二行：标签 */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag-cat { font-size: 12px; color: var(--text-2); background: #F3F4F6; padding: 4px 12px; border-radius: 6px; font-weight: 500; }

/* 第三行：头像+名字 …… 浏览量 */
.post-user-bar { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  padding: 8px 12px;
  margin: -4px -12px -12px -12px;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
}
.post-user-bar .avatar { width: 22px; height: 22px; font-size: 10px; border-radius: 4px; }
.post-user-bar .avatar-img { width: 22px; height: 22px; border-radius: 4px; object-fit: cover; }
.post-user-bar .nick { font-size: 13px; color: var(--text-2); font-weight: 600; }
.post-user-bar .nick .tag-real { font-size: 10px; margin-left: 4px; }
.post-date { margin-left: auto; font-size: 12px; color: var(--text-3); }
.post-expose { margin-left: auto; font-size: 12px; color: var(--text-3); font-weight: 600; }

/* 立即合作按钮 */
.card-view-btn {
  flex: none; font-size: 12px; font-weight: 600;
  color: #fff; background: var(--grad);
  border: none;
  padding: 4px 12px; border-radius: 6px;
  cursor: pointer; transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(var(--brand-rgb),0.2);
}
.card-view-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(var(--brand-rgb),0.3);
}

/* 可点击的用户信息 */
.clickable-user {
  cursor: pointer;
  transition: all 0.2s ease;
}
.clickable-user:hover {
  opacity: 0.8;
}
.post-user-bar .clickable-user:hover .nick {
  color: var(--primary);
}

/* 详情页头部（保留） */
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head .meta { flex: 1; min-width: 0; }
.post-head .nick { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.post-head .time { font-size: 12px; color: var(--text-3); }
.tag-real {
  font-size: 10px; color: var(--green); background: var(--green-soft);
  padding: 1px 6px; border-radius: 4px; font-weight: 600;
}
.tag-vip { 
  font-size: 10px; 
  color: #B45309; 
  background: #FEF3C7; 
  padding: 1px 6px; 
  border-radius: 4px; 
  font-weight: 600; 
}
.tag-svip {
  font-size: 10px; 
  color: #FFD700; 
  background: #1a1a1a;
  border: 1px solid #FFD700;
  padding: 1px 6px; 
  border-radius: 4px; 
  font-weight: 600;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
}
.post-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.tag-cat { font-size: 11px; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 6px; font-weight: 600; }
.tag-keyword { font-size: 11px; color: var(--text-3); background: var(--bg); padding: 3px 8px; border-radius: 6px; font-weight: 500; border: 1px solid var(--border); }

/* ============ 动态墙 ============ */
.wall { margin-top: 6px; }
.wall-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.wall-title .live {
  font-size: 11px; color: #fff; background: var(--red);
  padding: 2px 8px; border-radius: 20px; animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.wall-list { display: flex; flex-direction: column; }
.wall-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 4px; border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.wall-item:last-child { border-bottom: none; }
.wall-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.wall-item .who { color: var(--blue); font-weight: 600; }
.wall-item .act { color: var(--text-2); }
.wall-item .when { margin-left: auto; color: var(--text-3); font-size: 12px; white-space: nowrap; }

/* ============ 下滑提示 ============ */
.scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  margin: 10px 0;
}
.scroll-hint-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.scroll-hint-text {
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
}

/* ============ 详情页新样式 ============ */
.detail-title-main {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin: 0 0 16px 0;
}

.detail-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.detail-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.detail-user-meta {
  flex: 1;
}

.detail-user-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.detail-user-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.cert-tag.real {
  color: var(--green);
  background: var(--green-soft);
}

.cert-tag.unverified {
  color: var(--text-3);
  background: var(--bg);
}

.cert-tag.vip {
  color: #B45309;
  background: #FEF3C7;
}

.detail-badge-wrap {
  flex-shrink: 0;
}

.detail-section {
  margin-bottom: 20px;
}

/* 项目介绍标题行 */
.detail-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-actions {
  display: flex;
  gap: 12px;
}

.btn-link {
  font-size: 12px;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-link:hover {
  background: var(--bg);
  color: var(--text-2);
}

.btn-link-report:hover {
  color: var(--red);
}

/* 项目介绍标题 */
.detail-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--blue);
}

.detail-desc-full {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  white-space: pre-line;
}

.detail-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.detail-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg);
}

/* 安全提醒 */
.safety-notice {
  display: flex;
  gap: 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  margin: 0;
  box-shadow: none;
  position: static;
  overflow: visible;
}

.safety-notice::before {
  display: none;
}

.safety-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.safety-text {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  flex: 1;
}

.safety-text b {
  color: var(--text);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.detail-disclaimer {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #FFF7ED;
  border-radius: 10px;
  margin: 20px 0;
  border: 1px solid #FED7AA;
}

.disclaimer-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 13px;
  line-height: 1.7;
  color: #9A3412;
}

.disclaimer-text b {
  color: #C2410C;
}

/* 动态墙新样式 */
.detail-wall-new {
  margin: 20px 0;
}

.wall-title-new {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wall-count {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.wall-list-new {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wall-item-new {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.wall-item-new:last-child {
  border-bottom: none;
}

.wall-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.wall-info {
  flex: 1;
}

.wall-avatar-txt {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F4F2F4;
  color: #8A8F98;
  font-size: 14px;
  font-weight: 600;
}

.wall-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.wall-time {
  font-size: 12px;
  color: var(--text-3);
}

.wall-action {
  font-size: 13px;
  color: var(--text-2);
}

/* 获取联系方式按钮 */
.detail-action-bar {
  margin-top: 24px;
  text-align: center;
}

.btn-contact {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb),.35);
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-contact:hover {
  transform: translateY(-2px);
}

.btn-contact.free {
  background: linear-gradient(135deg, #F97316, #FB923C);
  box-shadow: 0 8px 20px rgba(249,115,22,.4);
}

.contact-tip {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: 10px;
}

/* 未登录提示新样式 */
.login-prompt-new {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: 14px;
  margin-top: 20px;
}

.login-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.login-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.login-desc {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.btn-login {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

/* 响应式 */
@media (max-width: 768px) {
  .detail-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .detail-img {
    height: 90px;
    border-radius: 8px;
  }
}

@media (max-width: 640px) {
  .detail-title-main {
    font-size: 20px;
  }

  .detail-avatar {
    width: 44px;
    height: 44px;
  }

  .detail-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .detail-img {
    height: 72px;
    border-radius: 6px;
  }
}

/* ============ 底部 TabBar（移动端） ============ */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: #fff; border-top: 1px solid var(--border);
  display: none;
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 12px rgba(0,0,0,.05);
}
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--text-3); }
.tabbar a .ic { display: flex; align-items: center; justify-content: center; line-height: 1; }
.tabbar a .ic svg { width: 22px; height: 22px; }
.tabbar a.active { color: var(--blue); }
.tabbar a .badge-dot { position: relative; }
.tabbar .publish-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 24px;
  margin-top: -18px; box-shadow: 0 6px 14px rgba(var(--brand-rgb),.4);
}

/* ============ 轻提示 ============ */
.toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(17, 24, 39, .92); color: #fff;
  padding: 12px 22px; border-radius: 12px; font-size: 14px;
  z-index: 999; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.toast.show { opacity: 1; }

/* ============ 加载 / 空态 ============ */
.loading { text-align: center; padding: 24px; color: var(--text-3); font-size: 13px; }
.footer-note { text-align: center; font-size: 12px; color: var(--text-3); padding: 24px 16px 60px; line-height: 1.8; }
.footer-note a { color: var(--blue); }

/* 详情页底部免责声明 */
.detail-footer-note {
  text-align: center; font-size: 12px; color: var(--text-3);
  padding: 16px 0; line-height: 1.8;
}
.detail-footer-note a { color: var(--blue); }
.fab-mobile { display: none; }

/* ============ 联系方式弹窗 ============ */
.contact-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
}
.contact-modal.show { display: flex; align-items: center; justify-content: center; }
.contact-modal-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.contact-modal-content {
  position: relative; z-index: 1;
  width: 90%; max-width: 420px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}
.contact-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.contact-modal-header h3 {
  font-size: 18px; font-weight: 600; color: var(--text);
}
.contact-modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg); color: var(--text-3);
  font-size: 18px; display: grid; place-items: center;
  transition: all 0.2s;
}
.contact-modal-close:hover {
  background: var(--blue-soft); color: var(--blue);
}
.contact-modal-body {
  padding: 24px;
}
.contact-remind {
  display: flex; align-items: center; gap: 10px;
  background: var(--orange-soft); border: 1px solid rgba(var(--accent-rgb),0.2);
  border-radius: 12px; padding: 14px 16px;
  margin-bottom: 20px;
}
.contact-remind-icon { font-size: 20px; }
.contact-remind-text {
  font-size: 14px; color: var(--text);
}
.contact-remind-text b { color: var(--blue); font-weight: 600; }
.contact-info-list {
  margin-bottom: 20px;
}
.contact-info-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-label {
  width: 60px; font-size: 14px; color: var(--text-3); font-weight: 600;
}
.contact-info-value {
  flex: 1; font-size: 15px; color: var(--text); font-weight: 600;
}
.contact-copy-btn {
  padding: 6px 14px; border-radius: 8px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 12px; font-weight: 600;
  transition: all 0.2s;
}
.contact-copy-btn:hover {
  background: var(--blue); color: #fff;
}
.contact-qr {
  text-align: center; padding: 20px 0;
  border-top: 1px solid var(--border);
}
.contact-qr img {
  width: 160px; height: 160px; border-radius: 12px;
  margin: 0 auto 12px;
  border: 1px solid var(--border);
}
.contact-qr-text {
  font-size: 13px; color: var(--text-3);
}
.contact-modal-safety {
  display: flex; gap: 12px;
  background: var(--bg); border-radius: 12px;
  padding: 16px; margin-top: 8px;
}
.contact-safety-icon {
  width: 24px; height: 24px; color: var(--blue);
  flex-shrink: 0;
}
.contact-safety-icon svg { width: 100%; height: 100%; }
.contact-safety-text {
  flex: 1; font-size: 12px; line-height: 1.6;
}
.contact-safety-text b {
  display: block; color: var(--text); font-size: 13px; margin-bottom: 2px;
}
.contact-safety-text span {
  color: var(--text-3);
}

/* ============ 子页面（详情 / 发布 / 我的） ============ */
.subpage { max-width: 760px; margin: 0 auto; padding: 16px; }
.back-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.back-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--card);
  display: grid; place-items: center; box-shadow: var(--shadow); font-size: 18px;
}
.back-bar h1 { font-size: 18px; font-weight: 600; }

.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.detail-head { margin-bottom: 20px; }
.detail-title { font-size: 22px; font-weight: 600; line-height: 1.5; margin-bottom: 14px; }
.detail-desc { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; white-space: pre-line; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--text-3); padding-top: 14px; border-top: 1px dashed var(--border); }
.detail-meta .kv b { color: var(--text); }

.detail-wall { margin: 20px 0; }
.detail-action { margin-top: 20px; }
.detail-action .btn-big { display: block; width: 100%; text-align: center; font-size: 16px; font-weight: 600; color: #fff; background: var(--grad); padding: 16px; border-radius: 14px; box-shadow: 0 8px 20px rgba(var(--brand-rgb),.35); }
.detail-action .btn-big.free { background: linear-gradient(135deg, #F97316, #FB923C); box-shadow: 0 8px 20px rgba(249,115,22,.4); }

/* 未登录模糊遮罩 */
.blur-mask { position: relative; max-height: 80px; overflow: hidden; }
.blur-mask::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, var(--card));
}
.login-prompt {
  text-align: center; padding: 40px 20px;
  background: var(--bg); border-radius: 14px; margin-top: 16px;
}

.contact-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; gap: 10px; align-items: center;
}
.contact-dock .inner { max-width: 760px; margin: 0 auto; display: flex; gap: 10px; flex: 1; }
.contact-dock .report {
  flex: none; width: 60px; display: flex; flex-direction: column; align-items: center;
  font-size: 11px; color: var(--text-3);
}
.btn-big {
  flex: 1; text-align: center; font-size: 16px; font-weight: 600; color: #fff;
  background: var(--grad); padding: 15px; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb),.35);
}
.btn-big.free { background: linear-gradient(135deg, #F97316, #FB923C); box-shadow: 0 8px 20px rgba(249,115,22,.4); }
.contact-tip { font-size: 11px; color: var(--text-3); text-align: center; margin-top: 6px; }

.form-card { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-field label .req { color: var(--red); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; outline: none; transition: border .2s;
  font-family: inherit;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); }
.form-field textarea { resize: vertical; min-height: 120px; }
.btn-block {
  display: block; width: 100%; text-align: center; font-size: 15px; font-weight: 600;
  color: #fff; background: var(--grad); padding: 14px; border-radius: 14px;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb),.3);
}

.user-card {
  background: var(--grad); border-radius: var(--radius); color: #fff;
  padding: 24px 20px; display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.user-card .avatar { width: 60px; height: 60px; font-size: 24px; background: rgba(255,255,255,.25); }
.user-card .u-name { font-size: 18px; font-weight: 600; }
.user-card .u-tip { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 2px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.stat-box { background: var(--card); border-radius: 14px; padding: 14px; text-align: center; box-shadow: var(--shadow); }
.stat-box .num { font-size: 20px; font-weight: 600; color: var(--blue); }
.stat-box .lab { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.menu-list { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.menu-item { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.menu-item:last-child { border-bottom: none; }
.menu-item .ic { display: flex; align-items: center; color: var(--text-2); }
.menu-item .ic svg { width: 18px; height: 18px; }
.menu-item .arrow { margin-left: auto; color: var(--text-3); }

/* 手机端隐藏详情页顶部右侧获取联系方式按钮 */
@media (max-width: 768px) {
  .sticky-header-top .btn-contact-big { display: none; }
}

/* 手机端详情页隐藏顶部"安全无忧"标签 */
@media (max-width: 768px) {
  .detail-page-wrap .brand .safe { display: none; }
}

/* 手机端详情页底部操作栏 */
.detail-action-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center;
  gap: 10px;
}
@media (max-width: 768px) {
  .detail-action-bar { display: flex; }
}
.detail-action-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 56px;
  height: 48px;
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
}
.detail-action-bar-btn svg { width: 22px; height: 22px; }
.detail-action-bar-btn:active { color: var(--blue); }
.detail-action-bar-main {
  flex: 1;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  border: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(var(--brand-rgb), 0.3);
}
/* 手机端详情页隐藏中间的长按钮（底部栏已有） */
@media (max-width: 768px) {
  .detail-contact-section { display: none; }
}

/* 手机端详情页顶部样式 */
.detail-topbar-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  position: relative;
}
@media (max-width: 768px) {
  .detail-topbar-pc { display: none; }
  .detail-topbar-mobile { display: flex; }
  .detail-topbar-inner .searchbox { display: none; }
  .detail-topbar-inner .topbar-actions { display: none; }
}
.detail-back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 20px;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.detail-topbar-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}
.detail-topbar-title .safe {
  font-size: 11px;
  font-weight: 600;
  background: rgba(var(--brand-rgb),.1);
  color: var(--blue);
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 6px;
}

/* ============ 手机端详情页 ============ */
.detail-page-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
  height: calc(100vh - 130px);
  overflow-y: auto;
}
.detail-page-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 768px) {
  .detail-page-wrap { padding: 12px; height: calc(100vh - 120px); }
  .detail-sticky-header { padding: 16px 16px 12px; }
  .detail-scroll-content { padding: 16px; }
  .detail-title-main { font-size: 18px; }
  .btn-contact-big { font-size: 13px; padding: 8px 16px; }
  .detail-card { padding: 16px; }
  .detail-user-info { gap: 10px; }
  .detail-avatar { width: 44px; height: 44px; }
  .detail-user-name { font-size: 15px; }
  .detail-desc-full { font-size: 14px; }
  .detail-images { gap: 8px; }
  .detail-img { border-radius: 10px; }
  .safety-notice { padding: 14px; }
  .safety-text { font-size: 13px; }
  .wall-item-new { padding: 10px 0; }
  .wall-avatar { width: 36px; height: 36px; }
  .wall-name { font-size: 13px; }
  .wall-time { font-size: 11px; }
  .wall-action { font-size: 12px; }
  .detail-footer-note { font-size: 11px; padding: 12px; }
  .btn-contact-long { font-size: 15px; padding: 14px; }
  .btn-contact-small { width: 44px; height: 44px; }
  .detail-contact-row { gap: 8px; }
}

/* ============ 响应式：≤1024 平板 ============ */
@media (max-width: 1024px) {
  .split-layout { grid-template-columns: 320px 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 手机端首页头部默认隐藏（须放在媒体查询之前） */
.mobile-home-head { display: none; }
.mobile-tabs { display: none; }

/* ============ 响应式：≤768 手机 ============ */
@media (max-width: 768px) {
  .split-layout { grid-template-columns: 1fr; display: block; height: 100%; }
  .list-panel { position: static; max-height: none; height: 100%; overflow-y: auto; padding-bottom: 76px; }
  .detail-panel { display: none; } /* 手机端隐藏详情面板 */

  /* 首页手机版隐藏PC元素 */
  .home-topbar { display: none; }
  .tabs:not(.mobile-tabs) { display: none; }
  .filter-bar { display: none; }
  .fab-mobile { display: none; }

  /* 首页手机版头部 */
  .mobile-home-head {
    display: block;
    padding: calc(14px + env(safe-area-inset-top, 20px)) 16px 16px;
    margin: 0 0 14px;
    background:
      radial-gradient(ellipse 200% 160% at 15% 15%, var(--brand) 0%, rgba(var(--brand-rgb),0.55) 35%, rgba(var(--accent-rgb),0.12) 68%, transparent 90%),
      linear-gradient(160deg, #FFF0F5 0%, var(--bg) 55%, var(--bg) 100%);
    border-radius: 0 0 24px 24px;
    position: relative; overflow: hidden;
  }
  .mhh-row1 {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px; position: relative; z-index: 1;
  }
  .mhh-name { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
  .mhh-safe {
    font-size: 10px; font-weight: 600; color: #FFD700;
    background: rgba(0,0,0,.25); padding: 3px 8px; border-radius: 50px;
    letter-spacing: 0;
  }
  .mhh-slogan { font-size: 12px; color: rgba(255,255,255,.8); margin-top: 3px; }
  .mhh-search-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: #fff; border: none;
    color: var(--blue); display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(var(--brand-rgb),.18);
  }
  /* 手机端Tab */
  .mobile-tabs {
    display: flex; background: var(--card-solid);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
    margin: 0 0 12px; padding: 0 12px;
  }
  .mobile-tabs .tab {
    flex: 1; text-align: center; padding: 12px 4px;
    font-size: 14px; font-weight: 600; color: var(--text-2);
    position: relative; transition: color .2s;
  }
  .mobile-tabs .tab.active { color: var(--blue); }
  .mobile-tabs .tab.active::after {
    content: ""; position: absolute; left: 50%; bottom: 0;
    transform: translateX(-50%);
    width: 24px; height: 3px; border-radius: 3px;
    background: var(--blue);
  }

  .page { height: 100vh; padding: 0; }
  .split-layout { height: 100%; }
  .feed { padding: 0 12px; }
  .tabbar { display: flex; }
}

/* ============ 响应式：≤640 手机单列 ============ */
@media (max-width: 640px) {
  .brand .slogan { display: none; }
  .brand .name { font-size: 16px; }
  .brand .logo { width: 34px; height: 34px; font-size: 17px; }
  .btn-publish { display: none; }
  .tabs { top: 58px; }
  .tabs-inner { padding: 0 8px; }
  .tab { padding: 12px 13px; font-size: 14px; }
  .page { padding: 0; }
  .feed { padding: 0 12px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-item { flex-direction: column; gap: 4px; font-size: 12px; padding: 8px 4px; }
  .cat-item .emoji { font-size: 20px; }
  .banner { padding: 16px; }
  .banner h2 { font-size: 18px; }
  .banner .mascot { font-size: 60px; right: 12px; }
  .post-head .time { font-size: 11px; }

  /* 底部TabBar */
  .tabbar { display: flex; }
  body { padding-bottom: 0; }
}
/* ============ 主题：html 上加 data-theme 即切换 ============ */
/* 用法：<html data-theme="navy">  或  访问 xxx.html?theme=navy */

html[data-theme="navy"] {
  --brand: #1E48C8; --brand-deep: #0A1E63; --brand-soft: #EEF2FF; --brand-rgb: 30, 72, 200;
  --accent: #4A8CFF; --accent-soft: #F0F5FF; --accent-rgb: 74, 140, 255;
  --bg: #F4F7FD;
}

html[data-theme="emerald"] {
  --brand: #0F8A5F; --brand-deep: #065036; --brand-soft: #EAF8F1; --brand-rgb: 15, 138, 95;
  --accent: #33C98A; --accent-soft: #F0FBF6; --accent-rgb: 51, 201, 138;
  --bg: #F4FAF7;
}

html[data-theme="obsidian"] {
  --brand: #1A1614; --brand-deep: #000000; --brand-soft: #F6F1E9; --brand-rgb: 26, 22, 20;
  --accent: #C9A227; --accent-soft: #FBF4E2; --accent-rgb: 201, 162, 39;
  --bg: #FAF7F2;
}

html[data-theme="violet"] {
  --brand: #6B45E8; --brand-deep: #2E1080; --brand-soft: #F2EEFF; --brand-rgb: 107, 69, 232;
  --accent: #A183FF; --accent-soft: #F8F5FF; --accent-rgb: 161, 131, 255;
  --bg: #F6F4FF;
}

html[data-theme="amber"] {
  --brand: #E85A00; --brand-deep: #8A3200; --brand-soft: #FFF3EA; --brand-rgb: 232, 90, 0;
  --accent: #FFA53D; --accent-soft: #FFF8F1; --accent-rgb: 255, 165, 61;
  --bg: #FFF9F4;
}

html[data-theme="teal"] {
  --brand: #0E9E96; --brand-deep: #045650; --brand-soft: #E9F9F7; --brand-rgb: 14, 158, 150;
  --accent: #2AD0C0; --accent-soft: #F0FCFB; --accent-rgb: 42, 208, 192;
  --bg: #F2FBFA;
}
/* ============ 主题：顶栏标随主题换文件 ============ */
html[data-theme="navy"]     .brand .logo { background-image: url(../assets/logo/variants/mark-navy.svg); }
html[data-theme="emerald"]  .brand .logo { background-image: url(../assets/logo/variants/mark-emerald.svg); }
html[data-theme="obsidian"] .brand .logo { background-image: url(../assets/logo/variants/mark-obsidian.svg); }
html[data-theme="violet"]   .brand .logo { background-image: url(../assets/logo/variants/mark-violet.svg); }
html[data-theme="amber"]    .brand .logo { background-image: url(../assets/logo/variants/mark-amber.svg); }
html[data-theme="teal"]     .brand .logo { background-image: url(../assets/logo/variants/mark-teal.svg); }
/* ============ 主题：粉白扁平（取自移动端截图，纯白画布 + 单一强调色） ============ */
html[data-theme="flat"] {
  --brand: #F5385F; --brand-deep: #C81E46; --brand-soft: #FFF0F4; --brand-rgb: 245, 56, 95;
  --accent: #FF6F92; --accent-soft: #FFF5F8; --accent-rgb: 255, 111, 146;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --card-solid: #FFFFFF;
  --border: rgba(15, 18, 25, 0.10);
  --shadow: 0 1px 2px rgba(15, 18, 25, 0.05);
  --shadow-hover: 0 6px 20px rgba(245, 56, 95, 0.14);
  --grad: linear-gradient(135deg, #FF5A7E 0%, #F5385F 100%);
}
/* 纯白画布上右侧详情面板会跟背景粘在一起，补一条发丝线 */
html[data-theme="flat"] .detail-panel { border: 1px solid rgba(15, 18, 25, 0.08); }
/* 小字按钮压到深端：亮粉对白字只有 3.74:1，12px 上不过 */
html[data-theme="flat"] .card-view-btn { background: var(--brand-deep); box-shadow: none; }
html[data-theme="flat"] .post-card { box-shadow: none; }
html[data-theme="flat"] .detail-card { box-shadow: none; }
/* ============ 主题：黑白 + 红点缀 ============ */
html[data-theme="mono"] {
  --brand: #0F1219; --brand-deep: #000000; --brand-soft: #F4F4F5; --brand-rgb: 15, 18, 25;
  --accent: #E02B3C; --accent-soft: #FFF1F2; --accent-rgb: 224, 43, 60;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --card-solid: #FFFFFF;
  --border: rgba(15, 18, 25, 0.10);
  --shadow: 0 1px 2px rgba(15, 18, 25, 0.05);
  --shadow-hover: 0 8px 24px rgba(15, 18, 25, 0.10);
  --grad: linear-gradient(135deg, #22262E 0%, #0A0C10 100%);
}
html[data-theme="mono"] .brand .logo {
  background-image: url(../assets/logo/variants/mark-ink.svg);
  box-shadow: 0 4px 12px rgba(15, 18, 25, 0.28);
}

/* 红只出现在这五处 */
html[data-theme="mono"] .tab.active { color: var(--accent); }
html[data-theme="mono"] .tab.active::after { background: var(--accent); }
html[data-theme="mono"] .brand .safe { background: var(--accent-soft); color: var(--accent); }
html[data-theme="mono"] .badge-top.sticky { background: var(--accent-soft); color: var(--accent); }
html[data-theme="mono"] .btn-contact-long,
html[data-theme="mono"] .btn-contact-big {
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.28);
}
html[data-theme="mono"] .btn-contact-long:hover,
html[data-theme="mono"] .btn-contact-big:hover {
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.36);
}

/* 其余全部去色 */
html[data-theme="mono"] .badge-top.expose { background: #F4F4F5; color: var(--text-2); }
html[data-theme="mono"] .post-card,
html[data-theme="mono"] .detail-card { box-shadow: none; }
html[data-theme="mono"] .detail-panel { border: 1px solid rgba(15, 18, 25, 0.08); }
html[data-theme="mono"] .tag-vip { color: #FFFFFF; background: #0F1219; }
html[data-theme="mono"] .tag-svip { color: #FFFFFF; background: #0F1219; border-color: var(--accent); box-shadow: none; }
html[data-theme="mono"] .tag-real { color: var(--text-2); background: #F1F2F3; }
html[data-theme="mono"] .tag-cat { color: var(--text-2); background: #F4F4F5; }
html[data-theme="mono"] .contact-modal-content { box-shadow: 0 24px 70px rgba(15, 18, 25, 0.28); }
/* mono：类目图标去彩虹，只留灰 / 红 */
html[data-theme="mono"] [data-cat] .mhh-cat-icon { color: var(--text-2) !important; }
html[data-theme="mono"] .mhh-cat-btn.active .mhh-cat-icon { color: var(--accent) !important; }
html[data-theme="mono"] .tabs-cat-pill.active .mhh-cat-icon { color: #FFFFFF !important; }

/* mono：认证与会员标去绿去金 */
html[data-theme="mono"] .cert-tag.real { color: var(--text-2); background: #F1F2F3; }
html[data-theme="mono"] .cert-tag.vip { color: #FFFFFF; background: #0F1219; }
html[data-theme="mono"] .cert-tag.unverified { color: var(--text-3); background: #F4F4F5; }
/* =================================================================
   设计主张变体（不只是换色，是排音量）
   ink 墨白 / press 报刊 / anchor 深锚 / softred 克制红
   ================================================================= */

/* ---------- 1. ink 墨白：冷底 + 白卡无阴影 + 墨黑交互 + 红只给数字 ---------- */
html[data-theme="ink"] {
  --brand: #12151A; --brand-deep: #000000; --brand-soft: #F3F4F6; --brand-rgb: 18, 21, 26;
  --accent: #E02B3C; --accent-soft: #FFF1F2; --accent-rgb: 224, 43, 60;
  --bg: #F5F7FA; --card: #FFFFFF; --card-solid: #FFFFFF;
  --border: rgba(18, 21, 26, 0.07);
  --shadow: none;
  --shadow-hover: 0 8px 20px rgba(18, 21, 26, 0.07);
  --grad: linear-gradient(135deg, #1C2128 0%, #0B0E12 100%);
}

/* ---------- 2. press 报刊：纯白 + 零圆角 + 发丝线分隔 + 红做标记 ---------- */
html[data-theme="press"] {
  --brand: #111318; --brand-deep: #000000; --brand-soft: #F3F4F6; --brand-rgb: 17, 19, 24;
  --accent: #C41E3A; --accent-soft: #FFF0F3; --accent-rgb: 196, 30, 58;
  --bg: #FFFFFF; --card: #FFFFFF; --card-solid: #FFFFFF;
  --border: rgba(17, 19, 24, 0.16);
  --radius: 0px;
  --shadow: none;
  --shadow-hover: none;
  --grad: linear-gradient(135deg, #111318 0%, #111318 100%);
}

/* ---------- 3. anchor 深锚：在墨白基础上，详情区顶部压一块墨黑 ---------- */
html[data-theme="anchor"] {
  --brand: #12151A; --brand-deep: #000000; --brand-soft: #F3F4F6; --brand-rgb: 18, 21, 26;
  --accent: #E02B3C; --accent-soft: #FFF1F2; --accent-rgb: 224, 43, 60;
  --bg: #F5F7FA; --card: #FFFFFF; --card-solid: #FFFFFF;
  --border: rgba(18, 21, 26, 0.07);
  --shadow: none;
  --shadow-hover: 0 8px 20px rgba(18, 21, 26, 0.07);
  --grad: linear-gradient(135deg, #1C2128 0%, #0B0E12 100%);
}

/* ---------- 4. softred 克制红：保留品牌红做交互，但只准出现在按钮和选中态 ---------- */
html[data-theme="softred"] {
  --brand: #C41E3A; --brand-deep: #8B0000; --brand-soft: #FFF0F3; --brand-rgb: 196, 30, 58;
  --accent: #C41E3A; --accent-soft: #FFF0F3; --accent-rgb: 196, 30, 58;
  --bg: #FAFAF8; --card: #FFFFFF; --card-solid: #FFFFFF;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: none;
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.06);
}


/* ===== 四个变体共同的三刀：去卡片按钮 / 类目去色 / 头像转灰 ===== */
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .card-view-btn { display: none; }

html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) [data-cat] .mhh-cat-icon { color: var(--text-2) !important; }
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .tabs-cat-pill.active .mhh-cat-icon,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .mhh-cat-btn.active .mhh-cat-icon { color: #FFFFFF !important; }

html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .avatar-img,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .detail-avatar,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .wall-avatar,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .preview-avatar,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .post-user-bar .avatar { filter: saturate(0.6) contrast(0.95) brightness(1.02); }

html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .post-card,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .detail-card,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .preview-card,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .empty-nav,
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .login-card { box-shadow: none; }

html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .detail-panel { border: 1px solid var(--border); }

/* ink / anchor：墨黑交互，红只给曝光数字，金只给会员字 */
html:is([data-theme="ink"],[data-theme="anchor"]) .brand .logo { background-image: url(../assets/logo/variants/mark-ink.svg); box-shadow: none; }
html:is([data-theme="ink"],[data-theme="anchor"]) .post-expose { color: var(--accent); font-weight: 600; }
html:is([data-theme="ink"],[data-theme="anchor"]) .badge-top.sticky { background: #12151A; color: #FFFFFF; }
html:is([data-theme="ink"],[data-theme="anchor"]) .badge-top.expose,
html:is([data-theme="ink"],[data-theme="anchor"]) .badge-top.super,
html:is([data-theme="ink"],[data-theme="anchor"]) .badge-top.headline { background: #F3F4F6; color: var(--text-2); }
html:is([data-theme="ink"],[data-theme="anchor"]) .tag-cat { background: #F3F4F6; color: var(--text-2); }
html:is([data-theme="ink"],[data-theme="anchor"]) .cert-tag.real { color: var(--text-2); background: #F3F4F6; }
html:is([data-theme="ink"],[data-theme="anchor"]) .cert-tag.vip,
html:is([data-theme="ink"],[data-theme="anchor"]) .tag-vip,
html:is([data-theme="ink"],[data-theme="anchor"]) .tag-svip {
  color: #C9A227; background: transparent; border: none; box-shadow: none; padding: 0 1px;
}
html:is([data-theme="ink"],[data-theme="anchor"]) .mhh-cat-btn { background: #FFFFFF; border: 1px solid var(--border); }
html:is([data-theme="ink"],[data-theme="anchor"]) .mhh-cat-btn.active { background: #12151A; color: #FFFFFF; border-color: #12151A; }
html:is([data-theme="ink"],[data-theme="anchor"]) .post-card.active { background: #FAFBFC; border-color: #12151A; }
html:is([data-theme="ink"],[data-theme="anchor"]) .tabs-cat-pill.active { background: #12151A; border-color: #12151A; color: #FFFFFF; }

/* press：零圆角、只留底边线、红做左侧标记 */
html[data-theme="press"] .brand .logo { background-image: url(../assets/logo/variants/mark-ink.svg); box-shadow: none; border-radius: 0; }
html[data-theme="press"] .topbar { border-bottom: 2px solid #111318; }
html[data-theme="press"] .post-card { border-radius: 0; border-width: 0 0 1px 0; padding: 18px 6px; }
html[data-theme="press"] .post-card.active { background: #FFFFFF; border-left: 2px solid var(--accent); padding-left: 12px; }
html[data-theme="press"] .post-title { font-size: 18px; letter-spacing: -0.2px; }
html[data-theme="press"] .post-expose { color: var(--text); }
html[data-theme="press"] .detail-card { border-radius: 0; border-width: 0 0 1px 0; padding: 22px 4px; margin-bottom: 0; }
html[data-theme="press"] .detail-panel { border: none; border-left: 1px solid var(--border); border-radius: 0; }
html[data-theme="press"] .detail-sticky-header { border-radius: 0; }
html[data-theme="press"] .detail-section-title { border-left: 3px solid var(--accent); }
html[data-theme="press"] .tab.active::after { width: 100%; height: 2px; border-radius: 0; }
html[data-theme="press"] .badge-top { border-radius: 0; }
html[data-theme="press"] .badge-top.sticky { background: #111318; color: #FFFFFF; }
html[data-theme="press"] .badge-top.expose,
html[data-theme="press"] .badge-top.super,
html[data-theme="press"] .badge-top.headline { background: transparent; color: var(--text-3); padding-left: 0; }
html[data-theme="press"] .tag-cat { background: transparent; color: var(--accent); padding: 0; font-weight: 600; }
html[data-theme="press"] .tag-keyword { background: transparent; border: none; padding: 0 12px 0 0; color: var(--text-3); }
html[data-theme="press"] .cert-tag { background: transparent; padding: 0; color: var(--text-2); }
html[data-theme="press"] .tag-vip,
html[data-theme="press"] .tag-svip { background: transparent; border: none; box-shadow: none; color: #C9A227; padding: 0; }
html[data-theme="press"] .mhh-cat-icon { display: none !important; }
html[data-theme="press"] .mhh-cat-btn { background: #FFFFFF; border: 1px solid var(--border); border-radius: 0; }
html[data-theme="press"] .mhh-cat-btn.active { background: #111318; color: #FFFFFF; border-color: #111318; }
html[data-theme="press"] .tabs-cat-pill { border-radius: 0; }
html[data-theme="press"] .tabs-cat-pill.active { background: #111318; border-color: #111318; color: #FFFFFF; }
html[data-theme="press"] .btn-contact-long,
html[data-theme="press"] .btn-contact-big,
html[data-theme="press"] .preview-cta-btn,
html[data-theme="press"] .btn-publish { border-radius: 0; box-shadow: none; }

/* anchor：详情区顶部一块墨黑，成为整页唯一的大色块 */
html[data-theme="anchor"] .detail-sticky-header {
  background: #0F1219;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 26px 26px 20px;
}
html[data-theme="anchor"] .detail-sticky-header .detail-title-main { color: #FFFFFF; }
html[data-theme="anchor"] .detail-sticky-header .tag-cat { background: rgba(255,255,255,0.12); color: #FFFFFF; }
html[data-theme="anchor"] .detail-sticky-header .tag-info { color: rgba(255,255,255,0.62); }
html[data-theme="anchor"] .detail-sticky-header .btn-contact-big { background: #FFFFFF; color: #0F1219; box-shadow: none; }
html[data-theme="anchor"] .detail-sticky-header .btn-contact-big:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.35); }

/* softred：红只准在按钮和选中态，数字和标签全部去色 */
html[data-theme="softred"] .post-expose { color: var(--text); font-weight: 600; }
html[data-theme="softred"] .badge-top.sticky { background: #FFF0F3; color: var(--brand); }
html[data-theme="softred"] .badge-top.expose,
html[data-theme="softred"] .badge-top.super,
html[data-theme="softred"] .badge-top.headline { background: #F3F4F6; color: var(--text-2); }
html[data-theme="softred"] .tag-cat { background: #F3F4F6; color: var(--text-2); }
html[data-theme="softred"] .cert-tag.real { color: var(--text-2); background: #F3F4F6; }
html[data-theme="softred"] .cert-tag.vip,
html[data-theme="softred"] .tag-vip,
html[data-theme="softred"] .tag-svip { color: #C9A227; background: transparent; border: none; box-shadow: none; padding: 0 1px; }
html[data-theme="softred"] .btn-contact-long,
html[data-theme="softred"] .btn-contact-big,
html[data-theme="softred"] .preview-cta-btn { box-shadow: 0 4px 14px rgba(196, 30, 58, 0.18); }
html[data-theme="softred"] .post-card.active { background: #FFFBFB; border-color: rgba(196, 30, 58, 0.45); }
/* ink / anchor：置顶改成静音描边，把音量让给红色数字 */
html:is([data-theme="ink"],[data-theme="anchor"]) .badge-top.sticky {
  background: transparent; color: var(--text-2);
  border: 1px solid rgba(18, 21, 26, 0.16); font-weight: 600;
}
/* 首字母头像：底色由 JS 按昵称生成的渐变决定，这里只管文字和形状 */
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .post-user-bar .avatar {
  color: #FFFFFF !important; filter: none;
}
/* =================================================================
   tone 有色的墨白：同一条纪律，但把"大面积淡彩"和"色彩节奏"补回来
   单调的根源不是饱和色少，是缺一块淡彩面积 + 一屏只有一种明度
   ================================================================= */
html[data-theme="tone"] {
  --brand: #12151A; --brand-deep: #000000; --brand-soft: #F3F4F6; --brand-rgb: 18, 21, 26;
  --accent: #C41E3A; --accent-soft: #FFF0F3; --accent-rgb: 196, 30, 58;
  --bg: #FBF7F7;
  --card: #FFFFFF; --card-solid: #FFFFFF;
  --border: rgba(18, 21, 26, 0.07);
  --shadow: none;
  --shadow-hover: 0 8px 20px rgba(18, 21, 26, 0.07);
  --grad: linear-gradient(135deg, #1C2128 0%, #0B0E12 100%);
}

/* 类目：10 个色相收成 4 个色系，同一明度，靠形状继续区分 */
html[data-theme="tone"] [data-cat="地推网推"] .mhh-cat-icon,
html[data-theme="tone"] [data-cat="电商带货"] .mhh-cat-icon,
html[data-theme="tone"] [data-cat="本地生活"] .mhh-cat-icon { color: #B25E22 !important; }
html[data-theme="tone"] [data-cat="流量渠道"] .mhh-cat-icon,
html[data-theme="tone"] [data-cat="短剧小说"] .mhh-cat-icon,
html[data-theme="tone"] [data-cat="软件工具"] .mhh-cat-icon { color: #2C5FA8 !important; }
html[data-theme="tone"] [data-cat="招商加盟"] .mhh-cat-icon,
html[data-theme="tone"] [data-cat="拉新悬赏"] .mhh-cat-icon { color: #2C7A55 !important; }
html[data-theme="tone"] [data-cat="知识付费"] .mhh-cat-icon { color: #6A4B9E !important; }
html[data-theme="tone"] [data-cat="其他项目"] .mhh-cat-icon { color: #6E7378 !important; }
html[data-theme="tone"] .mhh-cat-btn.active .mhh-cat-icon,
html[data-theme="tone"] .tabs-cat-pill.active .mhh-cat-icon { color: #FFFFFF !important; }

/* 三刀同 ink */
html[data-theme="tone"] .card-view-btn { display: none; }
html[data-theme="tone"] .avatar-img,
html[data-theme="tone"] .detail-avatar,
html[data-theme="tone"] .wall-avatar,
html[data-theme="tone"] .preview-avatar { filter: saturate(0.85); }
html[data-theme="tone"] .post-card,
html[data-theme="tone"] .detail-card,
html[data-theme="tone"] .preview-card,
html[data-theme="tone"] .empty-nav,
html[data-theme="tone"] .login-card { box-shadow: none; }
html[data-theme="tone"] .detail-panel { border: 1px solid var(--border); }

/* 红只给钱，金只给身份，墨黑管交互 */
html[data-theme="tone"] .brand .logo { background-image: url(../assets/logo/mark.svg); box-shadow: none; }
html[data-theme="tone"] .post-expose { color: var(--accent); font-weight: 600; }
html[data-theme="tone"] .badge-top.sticky { background: transparent; color: var(--text-2);
  border: 1px solid rgba(18, 21, 26, 0.16); }
html[data-theme="tone"] .badge-top.expose,
html[data-theme="tone"] .badge-top.super,
html[data-theme="tone"] .badge-top.headline { background: #F3F4F6; color: var(--text-2); }
html[data-theme="tone"] .tag-cat { background: #F5F3F2; color: var(--text-2); }
html[data-theme="tone"] .cert-tag.vip,
html[data-theme="tone"] .tag-vip,
html[data-theme="tone"] .tag-svip { color: #B8860B; background: transparent; border: none; box-shadow: none; padding: 0 1px; }
html[data-theme="tone"] .mhh-cat-btn { background: #FFFFFF; border: 1px solid var(--border); }
html[data-theme="tone"] .mhh-cat-btn.active { background: #12151A; color: #FFFFFF; border-color: #12151A; }
html[data-theme="tone"] .post-card.active { background: #FFFCFC; border-color: rgba(196, 30, 58, 0.5); }
html[data-theme="tone"] .tabs-cat-pill.active { background: #12151A; border-color: #12151A; color: #FFFFFF; }

/* 大面积淡彩：详情区顶部铺一层极淡品牌色，替代 ink 的纯白 */
html[data-theme="tone"] .detail-sticky-header {
  background: linear-gradient(180deg, #FFF6F7 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
}
/* 修正：列表卡里的「✓实名」是 .tag-real，之前只覆盖了详情页的 .cert-tag.real，
   导致四个变体里列表是绿、详情是灰。统一掉。 */
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .tag-real {
  color: var(--text-2); background: #F1F2F3;
}
/* tone 里两处都用语义绿，保持一致 */
html[data-theme="tone"] .tag-real { color: var(--green); background: var(--green-soft); }
html[data-theme="tone"] .cert-tag.real { color: var(--green); background: var(--green-soft); }
/* ===== 调色：红给「置顶」，灰给「曝光」 ===== */
/* tone */
html[data-theme="tone"] .post-expose { color: var(--text-2); font-weight: 600; }
html[data-theme="tone"] .badge-top.sticky {
  background: var(--accent-soft); color: var(--accent);
  border: none; font-weight: 600;
}
html[data-theme="tone"] .badge-top.expose { background: #F3F4F6; color: var(--text-3); }

/* ink / anchor 同步，别让几套变体各说各话 */
html:is([data-theme="ink"],[data-theme="anchor"]) .post-expose { color: var(--text-2); font-weight: 600; }
html:is([data-theme="ink"],[data-theme="anchor"]) .badge-top.sticky {
  background: var(--accent-soft); color: var(--accent);
  border: none; font-weight: 600;
}
html:is([data-theme="ink"],[data-theme="anchor"]) .badge-top.expose { background: #F3F4F6; color: var(--text-3); }
/* 曝光徽章给一点冷色：红=置顶(推广)，蓝=曝光(数据)，两个标签在同一列也能一眼分开 */
html[data-theme="tone"] .badge-top.expose { background: #EAF1FB; color: #3560A8; font-weight: 600; }
/* 转化动作给实心红：和置顶同一色系、不同重量（徽章轻、按钮重） */
html[data-theme="tone"] .btn-contact-big,
html[data-theme="tone"] .btn-contact-big.free,
html[data-theme="tone"] .btn-contact-long,
html[data-theme="tone"] .btn-contact,
html[data-theme="tone"] .detail-action-bar-main,
html[data-theme="tone"] .detail-action .btn-big {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.26);
}
html[data-theme="tone"] .btn-contact-big:hover,
html[data-theme="tone"] .btn-contact-big.free:hover,
html[data-theme="tone"] .btn-contact-long:hover,
html[data-theme="tone"] .detail-action-bar-main:hover,
html[data-theme="tone"] .detail-action .btn-big:hover {
  background: #A81A32;
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.34);
}
/* softred：详情头带上 tone 那道渐变（用品牌软色，不写死粉色） */
html[data-theme="softred"] .detail-sticky-header {
  background: linear-gradient(180deg, var(--brand-soft) 0%, #FFFFFF 62%);
  border-bottom: 1px solid var(--border);
}
html[data-theme="softred"] .detail-panel { background: #FFFFFF; }
/* 实名徽章两处对齐：press 全灰（报刊主张），softred 语义绿（克制红保留一点生气） */
html[data-theme="press"] .cert-tag.real { color: var(--text-2); background: #F1F2F3; }
html[data-theme="softred"] .tag-real { color: var(--green); background: var(--green-soft); }/* ============ 会员 / 实名 图标标记 ============ */
.badge-icon {
  width: 15px; height: 15px; display: inline-block;
  vertical-align: -3px; margin-left: 2px;
}
.post-user-bar .badge-icon { width: 15px; height: 15px; vertical-align: -3px; }
.nick .badge-icon { margin-left: 2px; margin-right: 1px; }
.cert-tag { display: inline-flex; align-items: center; gap: 4px; }
.cert-tag .badge-icon { width: 14px; height: 14px; vertical-align: baseline; margin: 0; }
.detail-user-certs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }/* ============ 会员 / 认证 徽章：形状 + 图形 + 文字 ============ */
.mk {
  display: inline-flex; align-items: center; gap: 3px;
  height: 17px; padding: 0 5px; border-radius: 5px;
  font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .2px;
  border: 1px solid transparent; white-space: nowrap; vertical-align: middle;
}
.mk-ico { width: 10px; height: 10px; display: block; flex: none; }
.mk-txt { font-size: 10px; font-weight: 600; }
.mk-per { font-size: 9px; font-weight: 600; font-style: normal; opacity: .92; margin-left: 1px; }

.mk-vip  { color: #8A6100; background: #FFF7E0; border-color: #EFD79B; }
.mk-svip { color: #4A3000; background: linear-gradient(180deg, #FFE9A8 0%, #F3C34A 100%); border-color: #D9A720; }
.mk-real { color: #0E7A46; background: #E9F8EF; border-color: #B4E3C7; }
.mk-org  { color: #1A46C0; background: #EBF1FF; border-color: #B7CCFF; }

.post-user-bar .mk { margin-left: 1px; }
.detail-user-certs .mk { height: 19px; padding: 0 7px; font-size: 11px; }
.detail-user-certs .mk-ico { width: 11px; height: 11px; }
.detail-user-certs .mk-txt { font-size: 11px; }/* ============ SVIP：金属质感（顶高光 + 内衬线 + 外发光 + 压印字） ============ */
.mk-svip {
  height: 18px; padding: 0 6px;
  color: #3D2600;
  background: linear-gradient(180deg, #FFFBE6 0%, #FBE07A 24%, #E5B32A 58%, #B37C08 100%);
  border-color: #9C6C06;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.90),
    inset 0 -1px 0 rgba(255, 255, 255, 0.28),
    0 1px 5px rgba(156, 108, 6, 0.42);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4px;
}
.mk-svip .mk-ico { color: #5A3A00; }
.mk-svip .mk-per { opacity: 1; }/* ============ SVIP：黑金（纯平面，去立体） ============ */
.mk-svip {
  height: 18px; padding: 0 7px;
  color: #E9C46A;
  background: #1A1D23;
  border-color: rgba(233, 196, 106, 0.45);
  box-shadow: none;
  text-shadow: none;
  letter-spacing: 0.4px;
}
.mk-svip .mk-ico { color: #E9C46A; }
.mk-svip .mk-per { color: #E9C46A; opacity: 1; }/* ============ 曝光徽章：紫（跟置顶红 / 实名利 / 企业蓝 / VIP 金都分开） ============ */
html[data-theme="softred"] .badge-top.expose {
  background: #F4EEFC; color: #6B3FA0; border: 1px solid #DCCBF3;
}
/* ============ 登录弹窗（前端注入） ============ */
.jj-login{position:fixed;inset:0;z-index:9999;display:none}
.jj-login.show{display:block}
.jj-login-mask{position:absolute;inset:0;background:rgba(12,12,14,.5);backdrop-filter:blur(2px)}
.jj-login-box{position:relative;width:340px;max-width:calc(100vw - 40px);margin:14vh auto 0;
  background:#fff;border-radius:18px;padding:26px 24px 22px;box-shadow:0 24px 70px rgba(0,0,0,.24)}
.jj-login-x{position:absolute;right:12px;top:10px;border:none;background:none;font-size:22px;
  line-height:1;color:#A1A1A6;cursor:pointer}
.jj-login-title{font-size:19px;font-weight:600;letter-spacing:.5px}
.jj-login-sub{font-size:12px;color:#8E8E93;margin-top:6px}
.jj-login-row{margin-top:14px}
.jj-login-coderow{display:flex;gap:8px}
.jj-login input{width:100%;height:44px;border:1px solid rgba(0,0,0,.12);border-radius:10px;
  padding:0 12px;font-size:15px;font-family:inherit;outline:none;background:#FAFAF8}
.jj-login input:focus{border-color:var(--brand);background:#fff}
.jj-login-coderow input{flex:1}
.jj-login-send{flex:none;white-space:nowrap;padding:0 14px;height:44px;border-radius:10px;
  border:1px solid rgba(196,30,58,.3);background:#FFF0F3;color:var(--brand);
  font-size:13px;font-weight:600;font-family:inherit;cursor:pointer}
.jj-login-send:disabled{opacity:.55;cursor:default}
.jj-login-tip{min-height:18px;font-size:12px;color:#8E8E93;margin-top:10px}
.jj-login-tip.bad{color:#D93025}
.jj-login-submit{width:100%;height:46px;margin-top:8px;border:none;border-radius:10px;
  background:var(--brand);color:#fff;font-size:16px;font-weight:600;font-family:inherit;cursor:pointer}
.jj-login-submit:disabled{opacity:.6;cursor:default}
/* ============ 顶栏登录入口 ============ */
.btn-login-top {
  padding: 9px 16px; border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12); background: #fff;
  color: var(--text-2); font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; white-space: nowrap;
  max-width: 130px; overflow: hidden; text-overflow: ellipsis;
  transition: all .15s ease;
}
.btn-login-top:hover { border-color: var(--brand); color: var(--brand); }
.btn-login-top.logged { color: var(--brand); border-color: rgba(196,30,58,.28); background: #FFF0F3; }
/* 小屏顶栏放不下额外入口，登录走底部 TabBar 的「我的」 */
@media (max-width: 880px) {
  .topbar-actions .btn-login-top { display: none; }
}

/* ============ 详情面板底部固定操作条 ============ */
.detail-action-fixed {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.04);
}
.detail-action-fixed .daf-side {
  flex: none;
  width: 56px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--text-3);
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: all .15s;
}
.detail-action-fixed .daf-side:hover { color: var(--brand); border-color: rgba(var(--brand-rgb),.35); background: var(--brand-soft); }
.detail-action-fixed .daf-side.on { color: var(--brand); border-color: rgba(var(--brand-rgb),.35); background: var(--brand-soft); }
.detail-action-fixed .daf-main {
  flex: 1;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--grad);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(var(--brand-rgb),.28);
}
.detail-action-fixed .daf-main:hover { filter: brightness(1.05); }
/* ============ 底部 tabbar 未读红点 ============ */
.tabbar a .ic { position: relative; }
.tab-dot {
  position: absolute;
  top: -5px;
  right: -11px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
  border-radius: 9px;
  background: #FF4D5E;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0;
  box-shadow: 0 0 0 2px #FFFFFF;
  pointer-events: none;
}
/* ============================================================
   手机端首页头部对齐 App 样式（softred 主题）
   白底圆角卡 + 彩色图标 + 选中态白底红描边
   ============================================================ */
html[data-theme="softred"] .mhh-cats,
html:not([data-theme]) .mhh-cats {
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 9px;
}
html[data-theme="softred"] .mhh-cat-btn,
html:not([data-theme]) .mhh-cat-btn {
  background: rgba(255,255,255,.82);
  border: 1.6px solid transparent;
  border-radius: 12px;
  padding: 8px 2px;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-2);
  box-shadow: 0 3px 8px rgba(0,0,0,.10);
  transition: all .16s ease;
}
html[data-theme="softred"] .mhh-cat-btn .mhh-cat-icon svg,
html:not([data-theme]) .mhh-cat-btn .mhh-cat-icon svg {
  width: 17px;
  height: 17px;
}

/* 分类图标配色，跟 App 里 kCatStyle 一致 */
html[data-theme="softred"] [data-cat="地推网推"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="地推网推"] .mhh-cat-icon { color: #C41E3A !important; }
html[data-theme="softred"] [data-cat="流量渠道"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="流量渠道"] .mhh-cat-icon { color: #EA580C !important; }
html[data-theme="softred"] [data-cat="电商带货"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="电商带货"] .mhh-cat-icon { color: #D97706 !important; }
html[data-theme="softred"] [data-cat="本地生活"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="本地生活"] .mhh-cat-icon { color: #16A34A !important; }
html[data-theme="softred"] [data-cat="短剧小说"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="短剧小说"] .mhh-cat-icon { color: #2563EB !important; }
html[data-theme="softred"] [data-cat="知识付费"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="知识付费"] .mhh-cat-icon { color: #7C3AED !important; }
html[data-theme="softred"] [data-cat="招商加盟"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="招商加盟"] .mhh-cat-icon { color: #0891B2 !important; }
html[data-theme="softred"] [data-cat="软件工具"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="软件工具"] .mhh-cat-icon { color: #DB2777 !important; }
html[data-theme="softred"] [data-cat="拉新悬赏"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="拉新悬赏"] .mhh-cat-icon { color: #0D9488 !important; }
html[data-theme="softred"] [data-cat="其他项目"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="其他项目"] .mhh-cat-icon { color: #64748B !important; }
html[data-theme="softred"] [data-cat="全部"] .mhh-cat-icon,
html:not([data-theme]) [data-cat="全部"] .mhh-cat-icon { color: var(--brand) !important; }

/* 选中：纯白卡 + 红描边 + 红字红图标 */
html[data-theme="softred"] .mhh-cat-btn.active,
html:not([data-theme]) .mhh-cat-btn.active {
  background: #FFFFFF;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
html[data-theme="softred"] .mhh-cat-btn.active .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn.active .mhh-cat-icon { color: var(--brand) !important; }

/* 四张功能卡也对齐 App */
html[data-theme="softred"] .mhh-cards,
html:not([data-theme]) .mhh-cards { gap: 6px; }
html[data-theme="softred"] .mhh-card,
html:not([data-theme]) .mhh-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 12px;
  padding: 8px 5px;
  box-shadow: none;
}
html[data-theme="softred"] .mhh-card-title,
html:not([data-theme]) .mhh-card-title { font-size: 11.5px; font-weight: 600; color: var(--brand); }
html[data-theme="softred"] .mhh-card-desc,
html:not([data-theme]) .mhh-card-desc { font-size: 9px; color: var(--text-3); margin-top: 2px; }

/* PC 端空状态里的十宫格也跟着走 */
html[data-theme="softred"] .empty-nav [data-cat="地推网推"] .mhh-cat-icon { color: #C41E3A !important; }
html[data-theme="softred"] .empty-nav [data-cat="流量渠道"] .mhh-cat-icon { color: #EA580C !important; }
html[data-theme="softred"] .empty-nav [data-cat="电商带货"] .mhh-cat-icon { color: #D97706 !important; }
html[data-theme="softred"] .empty-nav [data-cat="本地生活"] .mhh-cat-icon { color: #16A34A !important; }
html[data-theme="softred"] .empty-nav [data-cat="短剧小说"] .mhh-cat-icon { color: #2563EB !important; }
html[data-theme="softred"] .empty-nav [data-cat="知识付费"] .mhh-cat-icon { color: #7C3AED !important; }
html[data-theme="softred"] .empty-nav [data-cat="招商加盟"] .mhh-cat-icon { color: #0891B2 !important; }
html[data-theme="softred"] .empty-nav [data-cat="软件工具"] .mhh-cat-icon { color: #DB2777 !important; }
html[data-theme="softred"] .empty-nav [data-cat="拉新悬赏"] .mhh-cat-icon { color: #0D9488 !important; }
html[data-theme="softred"] .empty-nav [data-cat="其他项目"] .mhh-cat-icon { color: #64748B !important; }
/* ---------- Tab 条对齐 App：左对齐紧凑排列 ---------- */
html[data-theme="softred"] .mobile-tabs,
html:not([data-theme]) .mobile-tabs {
  padding: 0 14px;
  margin-bottom: 0;
}
html[data-theme="softred"] .mobile-tabs .tab,
html:not([data-theme]) .mobile-tabs .tab {
  flex: none;
  text-align: left;
  padding: 12px 0 10px;
  margin-right: 22px;
  font-size: 14.5px;
  font-weight: 600;
}
html[data-theme="softred"] .mobile-tabs .tab.active,
html:not([data-theme]) .mobile-tabs .tab.active { color: var(--brand); }
html[data-theme="softred"] .mobile-tabs .tab.active::after,
html:not([data-theme]) .mobile-tabs .tab.active::after {
  left: 0;
  transform: none;
  width: 18px;
  height: 3px;
  background: var(--brand);
}

/* ---------- 格子高度锁定，别再随内容撑高 ---------- */
html[data-theme="softred"] .mhh-cats,
html:not([data-theme]) .mhh-cats {
  grid-auto-rows: 58px;
}
html[data-theme="softred"] .mhh-card,
html:not([data-theme]) .mhh-card {
  min-height: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* ---------- 头部底色和安全无忧标签，跟 App 完全一致 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background: linear-gradient(135deg, #E8425F 0%, #C41E3A 52%, #A0142E 100%) !important;
  border-radius: 0 0 20px 20px;
  padding: calc(12px + env(safe-area-inset-top, 20px)) 14px 12px;
  margin-bottom: 0;
}
html[data-theme="softred"] .mhh-safe,
html:not([data-theme]) .mhh-safe {
  font-size: 10px;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255,255,255,.22);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0;
}
html[data-theme="softred"] .mhh-name,
html:not([data-theme]) .mhh-name { font-size: 21px; font-weight: 700; letter-spacing: 0; }
html[data-theme="softred"] .mhh-slogan,
html:not([data-theme]) .mhh-slogan { font-size: 11.5px; color: #FFD5DC; margin-top: 4px; }
html[data-theme="softred"] .mhh-row1,
html:not([data-theme]) .mhh-row1 { margin-bottom: 12px; }
html[data-theme="softred"] .mhh-search-btn,
html:not([data-theme]) .mhh-search-btn { color: var(--brand); width: 38px; height: 38px; }
/* ---------- 头部渐变调浅 + 6 列 12 格 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background: linear-gradient(135deg, #FF8095 0%, #F0536C 52%, #DE3A56 100%) !important;
}
html[data-theme="softred"] .mhh-cats,
html:not([data-theme]) .mhh-cats {
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  grid-auto-rows: 56px;
}
html[data-theme="softred"] .mhh-cat-btn,
html:not([data-theme]) .mhh-cat-btn {
  padding: 7px 1px;
  font-size: 9.5px;
  border-radius: 11px;
}
html[data-theme="softred"] .mhh-cat-btn .mhh-cat-icon svg,
html:not([data-theme]) .mhh-cat-btn .mhh-cat-icon svg { width: 16px; height: 16px; }

/* 「更多项目」弹出的分类面板 */
.cat-sheet-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.42);
  z-index: 300; display: flex; align-items: flex-end;
}
.cat-sheet {
  width: 100%; background: #fff; border-radius: 20px 20px 0 0;
  padding: 16px 0 max(16px, env(safe-area-inset-bottom));
  max-height: 70vh; overflow-y: auto;
  animation: sheetUp .22s ease;
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cat-sheet-title {
  font-size: 16px; font-weight: 600; padding: 0 18px 10px; color: var(--text);
}
.cat-sheet-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; font-size: 15px; color: var(--text); cursor: pointer;
}
.cat-sheet-row:active { background: var(--bg); }
.cat-sheet-row .cat-sheet-ico { display: flex; }
.cat-sheet-row.on { color: var(--brand); font-weight: 600; }
.cat-sheet-row .cat-sheet-check { margin-left: auto; color: var(--brand); }
/* ---------- 头部渐变：左上深、往右下越来越浅 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background: linear-gradient(135deg, #D1324D 0%, #EE6079 52%, #FFA3B2 100%) !important;
}
/* ---------- 头部改成打光式光晕：红底 + 左上主光 + 右下暖光 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background:
    radial-gradient(ellipse 130% 105% at 6% -12%, rgba(255,255,255,.55) 0%, rgba(255,255,255,.20) 30%, rgba(255,255,255,0) 66%),
    radial-gradient(ellipse 100% 85% at 104% 114%, rgba(255,168,184,.45) 0%, rgba(255,168,184,0) 62%),
    linear-gradient(150deg, #E4455F 0%, #D02F4A 55%, #BE2540 100%) !important;
}
/* ---------- 金刚区：图标套同色浅底圆角块（支付宝/美团同款） ---------- */
html[data-theme="softred"] .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-icon {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 11%, transparent);
  transition: background .16s ease;
}
html[data-theme="softred"] .mhh-cat-icon svg,
html:not([data-theme]) .mhh-cat-icon svg { width: 15px; height: 15px; }
html[data-theme="softred"] .mhh-cat-btn,
html:not([data-theme]) .mhh-cat-btn {
  background: rgba(255,255,255,.88);
  border-radius: 13px;
  padding: 6px 1px;
  gap: 4px;
  color: #4A4F55;
}
html[data-theme="softred"] .mhh-cat-btn.active .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn.active .mhh-cat-icon {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}
html[data-theme="softred"] .mhh-cats,
html:not([data-theme]) .mhh-cats { grid-auto-rows: 60px; }
/* ---------- 功能卡：图标 + 标题 + 副标题 ---------- */
html[data-theme="softred"] .mhh-card-icon,
html:not([data-theme]) .mhh-card-icon {
  display: flex; justify-content: center;
  color: var(--brand); margin-bottom: 4px;
}
html[data-theme="softred"] .mhh-card,
html:not([data-theme]) .mhh-card {
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 13px;
  padding: 10px 5px;
  box-shadow: 0 3px 6px rgba(0,0,0,.06);
}
html[data-theme="softred"] .mhh-card-title,
html:not([data-theme]) .mhh-card-title { font-size: 11.5px; font-weight: 600; }
/* ---------- 头部：左上深（托住白字）+ 右下亮 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background:
    radial-gradient(ellipse 120% 100% at -4% -8%, rgba(90,0,22,.55) 0%, rgba(90,0,22,.28) 38%, rgba(90,0,22,0) 78%),
    radial-gradient(ellipse 95% 85% at 105% 115%, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(150deg, #C1263F 0%, #DD4B66 55%, #FF97A9 100%) !important;
}
/* ---------- 头部：左上略深（够托白字，但不发黑）+ 右下提亮 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background:
    radial-gradient(ellipse 95% 90% at -2% -6%, rgba(112,0,28,.22) 0%, rgba(112,0,28,.08) 42%, rgba(112,0,28,0) 82%),
    radial-gradient(ellipse 95% 85% at 105% 115%, rgba(255,255,255,.26) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(150deg, #CE3450 0%, #E2576F 55%, #FF9BAD 100%) !important;
}
/* ---------- 头部光晕：纯红底 + 右上主光 + 左上辅光 + 右下暖光回晕 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background:
    radial-gradient(ellipse 62% 58% at 68% -10%, rgba(255,255,255,.54) 0%, rgba(255,255,255,.24) 42%, rgba(255,255,255,0) 100%),
    radial-gradient(ellipse 42% 40% at 22% -18%, rgba(255,255,255,.20) 0%, rgba(255,255,255,0) 100%),
    radial-gradient(ellipse 78% 66% at 112% 118%, rgba(255,179,192,.40) 0%, rgba(255,179,192,0) 72%),
    linear-gradient(180deg, #D53A55 0%, #C92E49 100%) !important;
}
/* ---------- 光晕定稿：左上保持纯色托白字，光晕放右侧 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background:
    radial-gradient(ellipse 58% 62% at 92% -14%, rgba(255,255,255,.52) 0%, rgba(255,255,255,.22) 44%, rgba(255,255,255,0) 100%),
    radial-gradient(ellipse 74% 62% at 112% 116%, rgba(255,179,192,.42) 0%, rgba(255,179,192,0) 72%),
    radial-gradient(ellipse 46% 42% at -12% 118%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, #D0364F 0%, #C62C46 100%) !important;
}
/* ---------- 光晕反过来：浅红底 + 深红光晕 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background:
    radial-gradient(ellipse 72% 68% at 22% -12%, rgba(97,0,22,.60) 0%, rgba(97,0,22,.30) 44%, rgba(97,0,22,0) 100%),
    radial-gradient(ellipse 66% 58% at 112% 116%, rgba(97,0,22,.30) 0%, rgba(97,0,22,0) 78%),
    radial-gradient(ellipse 46% 42% at 96% -22%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, #EE5D77 0%, #D93C57 100%) !important;
}
/* ---------- 回到上一版：纯红底 + 白光晕（右侧） ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background:
    radial-gradient(ellipse 58% 62% at 92% -14%, rgba(255,255,255,.52) 0%, rgba(255,255,255,.22) 44%, rgba(255,255,255,0) 100%),
    radial-gradient(ellipse 74% 62% at 112% 116%, rgba(255,179,192,.42) 0%, rgba(255,179,192,0) 72%),
    radial-gradient(ellipse 46% 42% at -12% 118%, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, #D0364F 0%, #C62C46 100%) !important;
}
/* ---------- 功能卡修版：纯白、留足底部余量、别被圆角切 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  padding-bottom: 18px !important;
}
html[data-theme="softred"] .mhh-cards,
html:not([data-theme]) .mhh-cards {
  gap: 7px;
  margin-bottom: 0;
}
html[data-theme="softred"] .mhh-card,
html:not([data-theme]) .mhh-card {
  background: #FFFFFF !important;
  border: none !important;
  border-radius: 13px;
  padding: 11px 5px 10px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.07) !important;
}
html[data-theme="softred"] .mhh-card-icon,
html:not([data-theme]) .mhh-card-icon {
  margin-bottom: 5px;
  line-height: 0;
}
html[data-theme="softred"] .mhh-card-title,
html:not([data-theme]) .mhh-card-title {
  font-size: 11.5px !important;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
html[data-theme="softred"] .mhh-card-desc,
html:not([data-theme]) .mhh-card-desc {
  font-size: 9px !important;
  color: #9A9FA5 !important;
  line-height: 1.3;
  margin-top: 2px;
  white-space: nowrap;
}
/* ---------- 功能卡定稿：固定高度 78px，内容绝对居中 ---------- */
html[data-theme="softred"] .mhh-cards,
html:not([data-theme]) .mhh-cards { align-items: stretch; }
html[data-theme="softred"] .mhh-card,
html:not([data-theme]) .mhh-card {
  height: 78px;
  padding: 0 4px !important;
  background: #FFFFFF !important;
  border-radius: 13px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,.07) !important;
}
html[data-theme="softred"] .mhh-card-icon,
html:not([data-theme]) .mhh-card-icon {
  margin: 0 0 5px !important;
  line-height: 0;
  display: flex;
  justify-content: center;
}
html[data-theme="softred"] .mhh-card-title,
html:not([data-theme]) .mhh-card-title {
  font-size: 11.5px !important;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  width: 100%;
}
html[data-theme="softred"] .mhh-card-desc,
html:not([data-theme]) .mhh-card-desc {
  font-size: 9px !important;
  color: #9A9FA5 !important;
  line-height: 1.3;
  margin-top: 2px !important;
  text-align: center;
  width: 100%;
}
/* ============================================================
   字体体系
   - 中文：系统栈优先，各平台用自家最好的中文字体（不打包，零侵权）
   - 数字：独立字体栈 + 等宽数字，曝光/价格对齐更整齐
   ============================================================ */
:root {
  --font-sans:
    -apple-system, BlinkMacSystemFont,
    "PingFang SC",            /* 苹果 */
    "HarmonyOS Sans SC",      /* 华为 */
    "MiSans",                 /* 小米 */
    "Source Han Sans SC",     /* 思源黑体 */
    "Noto Sans CJK SC",       /* 安卓自带 */
    "Microsoft YaHei",        /* Windows */
    system-ui, sans-serif;

  --font-num:
    "SF Pro Display", -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Inter, Arial, sans-serif;

  /* 字重档位 */
  /* 只有三档在正文里出现：400 正文 / 500 强调 / 600 标题；700 只给数字 */
  --w-thin: 300;
  --w-normal: 400;
  --w-medium: 500;
  --w-semi: 500;
  --w-bold: 600;
  --w-heavy: 600;
  --w-num: 700;
}

body {
  font-family: var(--font-sans);
  /* 苹果设备上让细体更锐利，这是 iOS 观感的关键 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
}

/* 数字等宽：曝光、价格、订单号不会跳动 */
.post-expose, .price, .order-no, .stat-num, .detail-stat {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* 品牌名和页面主标题：最重 */
.mhh-name, .detail-title-main, .post-title { font-weight: var(--w-heavy); }

/* 分区标题、Tab 选中：次重 */
.mhh-card-title, .wall-title, .tab.active, .mobile-tabs .tab.active { font-weight: var(--w-bold); }

/* 正文、标签、辅助信息：正常 */
.tag-cat, .tag-keyword, .post-expose, .mhh-card-desc, .mhh-slogan {
  font-weight: var(--w-normal);
}

/* 小标题类 */
.nick, .mhh-cat-btn { font-weight: var(--w-semi); }
/* ============================================================
   排版层级 —— 不打包字体，靠字号/字重/行高做质感
   原则：
     · 字号只允许这 7 档，禁止随手写 13.5 / 14.5 这种
     · 字重只用 4 档：700 标题 / 600 小标题 / 400 正文 / 300 弱化
   ============================================================ */
:root {
  --fs-display: 22px;   /* 页面主标题 */
  --fs-title:   17px;   /* 卡片标题 */
  --fs-subtitle:15px;   /* 分区标题 */
  --fs-body:    14px;   /* 正文 */
  --fs-label:   13px;   /* 标签、昵称 */
  --fs-aux:     12px;   /* 曝光、时间、说明 */
  --fs-mini:    11px;   /* 徽章、角标 */

  --lh-tight: 1.28;     /* 大标题 */
  --lh-snug:  1.45;     /* 小标题 */
  --lh-body:  1.6;      /* 正文 */

  --ls-tight: -0.2px;   /* 大字号收紧 */
  --ls-wide:   0.4px;   /* 小字号放开 */
}

/* ---------- 品牌区 ---------- */
.mhh-name {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.mhh-slogan {
  font-size: 11.5px;
  font-weight: 300;              /* 弱化：细体 */
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-wide);
  color: rgba(255,255,255,.82);
}
.mhh-safe {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

/* ---------- 金刚区 ---------- */
.mhh-cat-btn { font-size: 9.5px; font-weight: 500; letter-spacing: 0; }
.mhh-cat-btn.active { font-weight: 600; }

/* ---------- 功能卡 ---------- */
.mhh-card-title { font-size: 12px; font-weight: 600; line-height: var(--lh-tight); }
.mhh-card-desc  { font-size: 9.5px; font-weight: 300; line-height: 1.3; }

/* ---------- Tab ---------- */
.mobile-tabs .tab { font-size: 14.5px; font-weight: 500; }
.mobile-tabs .tab.active { font-weight: 600; }

/* ---------- 项目卡片 ---------- */
.post-title {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: var(--ls-tight);
}
.tag-cat {
  font-size: var(--fs-aux);
  font-weight: 400;
  letter-spacing: 0;
}
.tag-keyword {
  font-size: var(--fs-mini);
  font-weight: 400;
  letter-spacing: 0;
}
.nick { font-size: var(--fs-label); font-weight: 500; }
.post-expose {
  font-size: var(--fs-aux);
  font-weight: 300;              /* 弱化：细体，不抢标题 */
  letter-spacing: var(--ls-wide);
}

/* ---------- 详情页 ---------- */
.detail-title-main {
  font-size: 19px;
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.detail-desc-full {
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
}
.detail-section-title { font-size: var(--fs-subtitle); font-weight: 600; }

/* ---------- 会员价格：数字要突出 ---------- */
.price, .vip-price {
  font-family: var(--font-num);
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  font-variant-numeric: tabular-nums;
}
/* ---------- 卡片用户栏：昵称和曝光都不该是粗体 ---------- */
.post-user-bar .nick {
  font-size: 13px;
  font-weight: 400 !important;
  letter-spacing: 0;
}
.post-expose {
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
/* 详情页作者名同理 */
.post-head .nick { font-weight: 500 !important; }
/* ============================================================
   项目卡片 v2 —— 照着消费级 App 的克制感重做
   · 去掉灰底条，改细分割线
   · 标签彩色化，关键词最多 2 个
   · 标题放大放松，字重降到 600
   ============================================================ */
.post-card {
  background: #FFFFFF;
  border: none;
  border-radius: 18px;
  padding: 16px 16px 0;
  box-shadow: 0 2px 12px rgba(17, 24, 39, .05);
  transition: box-shadow .2s ease, transform .2s ease;
}
.post-card:hover { box-shadow: 0 6px 20px rgba(17, 24, 39, .09); }

.post-top { margin-bottom: 12px; align-items: flex-start; }
.post-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.3px;
  color: #16181B;
}

/* 角标：粉底红字，圆角方一点 */
.badge-top {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 7px;
}

/* 标签行：类目彩色，关键词淡化 */
.post-tags { gap: 7px; margin-bottom: 0; }
.post-tags .tag-cat {
  background: rgba(var(--brand-rgb), .09);
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 11px;
  border-radius: 8px;
  border: none;
}
.post-tags .tag-keyword {
  background: #F4F5F7;
  color: #6B7178;
  font-size: 11.5px;
  font-weight: 400;
  padding: 4px 9px;
  border-radius: 8px;
  border: none;
}

/* 作者行：白底 + 细分割线，不再是灰条 */
.post-user-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  margin: 14px 0 0;
  background: transparent;
  border-top: 1px solid #F1F2F4;
  border-radius: 0;
}
.post-user-bar .avatar,
.post-user-bar .avatar-img {
  width: 26px; height: 26px; border-radius: 50%;
  flex: none; object-fit: cover;
}
.post-user-bar .nick {
  font-size: 13px;
  font-weight: 400;
  color: #3A3F45;
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-user-bar .post-expose {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: #A0A5AB;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}
.post-user-bar .post-expose svg { opacity: .75; }

/* 卡片里的立即合作按钮，做成低调的描边按钮 */
.post-user-bar .card-view-btn {
  flex: none;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  background: rgba(var(--brand-rgb), .07);
  border: none;
  padding: 5px 11px;
  border-radius: 8px;
  box-shadow: none;
}
.post-user-bar .card-view-btn:hover { background: rgba(var(--brand-rgb), .12); }
/* ---------- 卡片标签：用主题前缀压过 html[data-theme] 那条 ---------- */
html[data-theme="softred"] .post-tags .tag-cat,
html:not([data-theme]) .post-tags .tag-cat {
  background: rgba(var(--brand-rgb), .09) !important;
  color: var(--brand) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 4px 11px !important;
  border-radius: 8px !important;
  border: none !important;
}
html[data-theme="softred"] .post-tags .tag-keyword,
html:not([data-theme]) .post-tags .tag-keyword {
  background: #F4F5F7 !important;
  color: #6B7178 !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
  padding: 4px 9px !important;
  border-radius: 8px !important;
  border: none !important;
}

/* ---------- 头像：彩色渐变圆底 ---------- */
.post-user-bar .avatar,
.post-user-bar .avatar-img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  object-fit: cover;
}
/* ---------- 头像：彩色渐变圆底（压过 softred 主题那条 #E9EAEC） ---------- */
html:is([data-theme="ink"],[data-theme="press"],[data-theme="anchor"],[data-theme="softred"]) .post-user-bar .avatar,
html:not([data-theme]) .post-user-bar .avatar {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #FFFFFF !important;
  filter: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ============================================================
   卡片可辨识度：加深页面底色对比 + 双层阴影
   色差小的显示器上，纯阴影靠不住，得靠底色的明度差
   ============================================================ */
html[data-theme="softred"] {
  --bg: #F0EEF0;          /* 原来 #FAFAF8，跟白卡只差 2% */
}
html[data-theme="softred"] .post-card,
html:not([data-theme]) .post-card {
  box-shadow:
    0 1px 2px rgba(17, 24, 39, .06),   /* 接触阴影：勾边 */
    0 4px 14px rgba(17, 24, 39, .08) !important;  /* 环境阴影：拉开层次 */
}
html[data-theme="softred"] .post-card:hover,
html:not([data-theme]) .post-card:hover {
  box-shadow:
    0 1px 3px rgba(17, 24, 39, .08),
    0 8px 24px rgba(17, 24, 39, .12) !important;
}
/* ---------- 淡一档 ---------- */
html[data-theme="softred"] { --bg: #F4F2F4; }
html[data-theme="softred"] .post-card,
html:not([data-theme]) .post-card {
  box-shadow:
    0 1px 2px rgba(17, 24, 39, .04),
    0 3px 10px rgba(17, 24, 39, .05) !important;
}
html[data-theme="softred"] .post-card:hover,
html:not([data-theme]) .post-card:hover {
  box-shadow:
    0 1px 3px rgba(17, 24, 39, .05),
    0 6px 18px rgba(17, 24, 39, .08) !important;
}
/* ============================================================
   手机端吸顶条：一行「项目加加 + Tab」，滚过头部后浮出
   ============================================================ */
.m-sticky-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 120;
  height: 50px;
  display: flex; align-items: center; gap: 12px;
  padding: 0 12px;
  background: linear-gradient(180deg, #D53A55 0%, #C92E49 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,.14);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
  pointer-events: none;
}
.m-sticky-bar.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.m-sticky-bar .msb-brand {
  font-size: 15px; font-weight: 600; color: #fff;
  letter-spacing: -0.2px; flex: none; white-space: nowrap;
}
.m-sticky-bar .msb-tabs { display: flex; align-items: center; gap: 14px; flex: 1; overflow: hidden; }
.m-sticky-bar .msb-tab {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.78);
  position: relative; padding: 14px 0 12px; white-space: nowrap;
  cursor: pointer; background: none; border: none; font-family: inherit;
}
.m-sticky-bar .msb-tab.active { color: #fff; font-weight: 600; }
.m-sticky-bar .msb-tab.active::after {
  content: ""; position: absolute; left: 0; bottom: 8px;
  width: 14px; height: 2px; border-radius: 2px; background: #fff;
}
.m-sticky-bar .msb-search {
  width: 28px; height: 28px; border-radius: 50%; background: #fff;
  border: none; display: flex; align-items: center; justify-content: center;
  color: var(--brand); flex: none; cursor: pointer;
}
/* ---------- 吸顶条改白底 ---------- */
.m-sticky-bar {
  background: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(17,24,39,.08) !important;
  border-bottom: 1px solid #EFEDEF;
}
.m-sticky-bar .msb-brand { color: #16181B !important; }
.m-sticky-bar .msb-tab { color: #5A5F66 !important; }
.m-sticky-bar .msb-tab.active { color: var(--brand) !important; }
.m-sticky-bar .msb-tab.active::after { background: var(--brand) !important; }
.m-sticky-bar .msb-search {
  background: #F4F2F4 !important;
  color: #5A5F66 !important;
}
/* ============================================================
   首页浮层：左上金币泡 + 右下防骗指南
   ============================================================ */
.mhh-coin {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 11px 0 8px;
  border-radius: 15px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.32);
  color: #FFFFFF;
  font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
  transition: background .18s ease;
}
.mhh-coin:active { background: rgba(255,255,255,.32); }
.mhh-coin svg { opacity: .95; }
.mhh-coin .cp-plus {
  width: 15px; height: 15px; margin-left: 2px;
  border-radius: 50%; background: #fff; color: var(--brand);
  font-size: 12px; font-weight: 600; line-height: 15px; text-align: center;
}

/* 右下角防骗指南 */
.fab-guide {
  position: fixed; right: 14px;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  z-index: 110;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  width: 52px; height: 52px;
  border-radius: 26px;
  background: rgba(26, 29, 35, .82);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  backdrop-filter: blur(6px);
  transition: transform .18s ease;
}
.fab-guide:active { transform: scale(.94); }
.fab-guide span { font-size: 10px; font-weight: 600; letter-spacing: .2px; }

/* PC 不显示 */
@media (min-width: 769px) {
  .fab-guide { display: none; }
}
/* ---------- 吸顶条只在手机端显示（PC 端 .mobile-tabs 不渲染会误判） ---------- */
.m-sticky-bar { display: none !important; }
@media (max-width: 768px) {
  .m-sticky-bar { display: flex !important; }
}
/* ============================================================
   悬浮金币（参考短视频 App 的左上角金币泡）
   · 固定定位，脱离页面流
   · 浏览得币时数字跳动 + 飘 +N
   ============================================================ */
.coin-fab {
  position: fixed;
  left: 12px;
  top: calc(env(safe-area-inset-top, 0px) + 10px);
  z-index: 130;
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 12px 0 6px;
  border-radius: 18px;
  background: rgba(24, 27, 33, .62);
  border: 1px solid rgba(255,255,255,.16);
  color: #FFD75E;
  font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  transition: top .2s ease, transform .18s ease;
}
.coin-fab:active { transform: scale(.95); }
.coin-fab.hidden { display: none; }

/* 吸顶条出现时，金币泡下移让位 */
body.sticky-on .coin-fab { top: calc(env(safe-area-inset-top, 0px) + 58px); }

.coin-fab .cf-ic {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFE9A8 0%, #FFC93C 45%, #E8A011 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: #8A5A00;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,.18);
}
.coin-fab .cf-num { color: #FFD75E; letter-spacing: .2px; }
.coin-fab .cf-plus {
  margin-left: 1px; font-size: 11px; font-weight: 600;
  color: #fff; background: var(--brand);
  border-radius: 8px; padding: 1px 5px; line-height: 1.4;
}

/* 数字跳动 */
.coin-fab.bump .cf-num { animation: cfBump .42s ease; }
@keyframes cfBump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.28); color: #FFF3B0; }
  100% { transform: scale(1); }
}
.coin-fab.bump .cf-ic { animation: cfSpin .5s ease; }
@keyframes cfSpin {
  0%   { transform: rotate(0) scale(1); }
  50%  { transform: rotate(-18deg) scale(1.12); }
  100% { transform: rotate(0) scale(1); }
}

/* 飘字 +2 */
.coin-fly {
  position: fixed; z-index: 131; pointer-events: none;
  font-size: 15px; font-weight: 600; color: #FFC93C;
  text-shadow: 0 1px 4px rgba(0,0,0,.35);
  animation: cfFly 1.05s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes cfFly {
  0%   { opacity: 0; transform: translateY(6px) scale(.8); }
  22%  { opacity: 1; transform: translateY(-4px) scale(1.05); }
  100% { opacity: 0; transform: translateY(-42px) scale(1); }
}

/* 手机端才显示 */
@media (min-width: 769px) {
  .coin-fab { display: none; }
}
/* ---------- 金币：静止时头部内一行，滚动后变悬浮 ---------- */
.mhh-coin {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px 0 4px;
  border-radius: 16px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; text-decoration: none;
  font-size: 13.5px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.mhh-coin .cf-ic {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFE9A8 0%, #FFC93C 45%, #E8A011 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: #8A5A00;
}
.mhh-coin .cf-num { color: #fff; }
.mhh-coin .cf-plus {
  font-size: 11px; font-weight: 600; color: var(--brand);
  background: #fff; border-radius: 8px; padding: 1px 5px;
}

/* 悬浮版：默认隐藏，滚动后（body.sticky-on）贴在吸顶栏下面 */
.coin-fab { display: none; }
@media (max-width: 768px) {
  body.sticky-on .coin-fab { display: flex; }
}
/* 头部内金币也能跳动 */
.mhh-coin.bump .cf-num { animation: cfBump .42s ease; }
.mhh-coin.bump .cf-ic  { animation: cfSpin .5s ease; }
/* ============================================================
   右下角防骗指南：右边缘竖排
   ============================================================ */
.fab-guide {
  position: fixed;
  right: 0;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  z-index: 110;

  /* 竖排 */
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 3px;

  padding: 14px 7px 14px 6px;
  border-radius: 12px 0 0 12px;
  background: rgba(26, 29, 35, .84);
  border: 1px solid rgba(255,255,255,.10);
  border-right: none;

  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: -2px 3px 14px rgba(0,0,0,.20);
  backdrop-filter: blur(6px);
  transition: transform .18s ease, background .18s ease;
}
.fab-guide:active { transform: scale(.95); background: rgba(26,29,35,.95); }

@media (min-width: 769px) { .fab-guide { display: none; } }
/* ---------- 防骗指南竖排：清掉旧的方块样式 ---------- */
.fab-guide {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  gap: 0 !important;
  flex-direction: row !important;
  align-items: initial !important;
  justify-content: initial !important;
  border-radius: 12px 0 0 12px !important;
  padding: 15px 8px 15px 7px !important;
  background: rgba(26, 29, 35, .84) !important;
  writing-mode: vertical-rl !important;
  text-orientation: upright !important;
  text-align: center;
  letter-spacing: 3px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  color: #fff !important;
}
/* ============================================================
   顶部悬浮：下载 APP
   ============================================================ */
.dl-float {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 18px;
  z-index: 105;
  display: flex; align-items: center; gap: 9px;
  padding: 8px 15px 8px 9px;
  border: none; border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 16px rgba(17,24,39,.13);
  backdrop-filter: blur(8px);
  cursor: pointer; font-family: inherit;
  transition: transform .16s ease, box-shadow .16s ease;
}
.dl-float:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(17,24,39,.18); }
.dl-float:active { transform: scale(.97); }
.dl-float .dl-ic {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #E2385A, #C41E3A); color: #fff;
}
.dl-float .dl-tx { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.dl-float .dl-tx b { font-size: 13px; font-weight: 600; color: var(--text); }
.dl-float .dl-tx i { font-size: 10.5px; font-style: normal; color: var(--text-3); }

/* 移动端不显示（本身就在手机上） */
@media (max-width: 880px) { .dl-float { display: none; } }

/* 弹窗 */
.dl-mask {
  position: fixed; inset: 0; z-index: 400;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.45); padding: 20px;
}
.dl-mask.on { display: flex; }
.dl-modal {
  position: relative; width: 100%; max-width: 330px;
  background: #fff; border-radius: 20px; padding: 22px 20px 20px;
  text-align: center;
}
.dl-close {
  position: absolute; right: 12px; top: 10px;
  width: 28px; height: 28px; border: none; border-radius: 50%;
  background: #F4F2F4; color: #6B7178; font-size: 18px; line-height: 1;
  cursor: pointer; font-family: inherit;
}
.dl-hd { display: flex; align-items: center; gap: 10px; text-align: left; }
.dl-logo {
  width: 40px; height: 40px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, #FF3D5E, #C41E3A);
  position: relative;
}
.dl-logo::before, .dl-logo::after {
  content: ""; position: absolute; width: 15px; height: 15px; border-radius: 5px; background: #fff;
}
.dl-logo::before { left: 7px; top: 7px; opacity: .55; }
.dl-logo::after { right: 7px; bottom: 7px; }
.dl-name { font-size: 16px; font-weight: 600; }
.dl-sub { font-size: 11.5px; color: var(--text-3); margin-top: 2px; }

.dl-qr {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0 14px; padding: 14px;
  background: #FAFAF8; border-radius: 14px;
}
.dl-qr img { border-radius: 8px; display: block; }
.dl-qr-tx { font-size: 12px; color: var(--text-2); line-height: 1.8; text-align: left; }

.dl-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff;
  font-size: 14.5px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 14px rgba(196,30,58,.24);
}
.dl-note { font-size: 11.5px; color: var(--text-3); margin-top: 12px; line-height: 1.7; }
/* ---------- 下载悬浮：滚过顶部才浮出，避免跟顶栏撞 ---------- */
.dl-float {
  top: calc(env(safe-area-inset-top, 0px) + 14px) !important;
  right: 18px !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .2s ease, transform .2s ease, box-shadow .16s ease;
}
.dl-float.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dl-float.show:hover { transform: translateY(-1px); }
/* ---------- 品牌字：渐变 + 紧字距 ---------- */
.mhh-name {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF2F5 55%, #FFD8E1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: .6px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(255,255,255,.25);
}
/* ---------- 顶部品牌 logo ---------- */
.mhh-name { display: flex; align-items: center; gap: 9px; }
.mhh-name .mhh-logo {
  display: block;
  height: 30px;
  width: auto;
  /* 取消之前的渐变字样式，改由 SVG 承载 */
  background: none !important;
  -webkit-text-fill-color: currentColor;
  filter: drop-shadow(0 1px 6px rgba(120,0,20,.18));
}
/* ---------- 顶部品牌字（矢量图） ---------- */
.mhh-name .mhh-wordimg {
  display: block;
  height: 30px;
  width: auto;
  margin-right: 2px;
}
/* ---------- 顶部品牌：左 logo + 右两行字 ---------- */
.mhh-brand { display: flex; align-items: center; gap: 11px; }
.mhh-brand .mhh-mark {
  display: block; height: 40px; width: auto; flex: none;
  filter: drop-shadow(0 2px 8px rgba(110,0,20,.22));
}
.mhh-brand .mhh-text { display: flex; flex-direction: column; gap: 3px; }
.mhh-brand .mhh-name {
  display: flex; align-items: center; gap: 7px;
  font-size: 21px; font-weight: 600; line-height: 1.15;
  letter-spacing: .5px; color: #fff;
  background: none !important; -webkit-text-fill-color: #fff;
  text-shadow: 0 1px 6px rgba(255,255,255,.18);
}
.mhh-brand .mhh-years {
  font-size: 10.5px; font-weight: 600; line-height: 1;
  padding: 4px 7px; border-radius: 5px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.32);
  color: #fff; letter-spacing: .3px;
  white-space: nowrap;
}
.mhh-brand .mhh-slogan {
  font-size: 11.5px; font-weight: 300; letter-spacing: .4px;
  color: rgba(255,255,255,.86);
}
/* ============================================================
   首页头部重构：顶上一点红 → 白，宫格 5×2 彩色
   ============================================================ */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background: #FFFFFF !important;
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
  padding: calc(12px + env(safe-area-inset-top, 20px)) 14px 14px;
}
/* 顶上那一丢丢红 */
html[data-theme="softred"] .mobile-home-head::before,
html:not([data-theme]) .mobile-home-head::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: calc(128px + env(safe-area-inset-top, 20px));
  background: linear-gradient(180deg, #C41E3A 0%, #D5516B 52%, #FFFFFF 100%);
  pointer-events: none;
  z-index: 0;
}
html[data-theme="softred"] .mobile-home-head > *,
html:not([data-theme]) .mobile-home-head > * { position: relative; z-index: 1; }

/* 搜索框 */
html[data-theme="softred"] .mhh-searchbar,
html:not([data-theme]) .mhh-searchbar {
  display: flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 4px 0 14px; margin: 13px 0 0;
  background: #fff; border-radius: 19px;
  box-shadow: 0 3px 10px rgba(122,0,22,.12);
  color: #A0A5AB; font-size: 13.5px;
}
html[data-theme="softred"] .mhh-searchbar .sb-go,
html:not([data-theme]) .mhh-searchbar .sb-go {
  margin-left: auto; width: 30px; height: 30px; border-radius: 15px;
  background: var(--brand); color: #fff; display: flex;
  align-items: center; justify-content: center; flex: none;
}

/* 宫格：无卡片底 */
html[data-theme="softred"] .mhh-cats,
html:not([data-theme]) .mhh-cats {
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 6px;
  margin: 18px 0 14px;
}
html[data-theme="softred"] .mhh-cat-btn,
html:not([data-theme]) .mhh-cat-btn {
  background: none !important; border: none !important;
  box-shadow: none !important; padding: 0 !important;
  gap: 6px !important; border-radius: 0 !important;
  font-size: 11px !important; font-weight: 500 !important;
  color: #3A3F45 !important;
}
html[data-theme="softred"] .mhh-cat-btn .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn .mhh-cat-icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--catc, #8E8E93) 10%, transparent);
  color: var(--catc, #8E8E93) !important;
  border: 1.4px solid transparent;
  transition: all .16s;
}
html[data-theme="softred"] .mhh-cat-btn .mhh-cat-icon svg,
html:not([data-theme]) .mhh-cat-btn .mhh-cat-icon svg {
  width: 22px; height: 22px; color: inherit !important;
}
html[data-theme="softred"] .mhh-cat-btn.active .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn.active .mhh-cat-icon {
  background: color-mix(in srgb, var(--catc, #C41E3A) 18%, transparent);
  border-color: var(--catc, #C41E3A);
}
html[data-theme="softred"] .mhh-cat-btn.active,
html:not([data-theme]) .mhh-cat-btn.active { color: var(--catc, #C41E3A) !important; font-weight: 600 !important; }

/* 功能卡保持白底，跟宫格拉层级 */
html[data-theme="softred"] .mhh-card,
html:not([data-theme]) .mhh-card { border-radius: 13px; }
/* ---------- 渐变收窄 + 搜索改回小按钮 ---------- */
html[data-theme="softred"] .mobile-home-head::before,
html:not([data-theme]) .mobile-home-head::before {
  height: calc(62px + env(safe-area-inset-top, 20px)) !important;
  background: linear-gradient(180deg, #C41E3A 0%, #CD3653 62%, #FFFFFF 100%) !important;
}
html[data-theme="softred"] .mhh-searchbar,
html:not([data-theme]) .mhh-searchbar { display: none !important; }
.mhh-row1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mhh-search-btn {
  flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: none; background: #FFFFFF; color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 2px 8px rgba(122,0,22,.18);
}
.mhh-search-btn svg { width: 17px; height: 17px; }
/* ---------- 渐变高度对齐品牌行 ---------- */
html[data-theme="softred"] .mobile-home-head::before,
html:not([data-theme]) .mobile-home-head::before {
  height: calc(70px + env(safe-area-inset-top, 20px)) !important;
  background: linear-gradient(180deg, #C41E3A 0%, #C41E3A 74%, #D5516B 100%) !important;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 82%, transparent 100%);
}
html[data-theme="softred"] .mobile-home-head::after,
html:not([data-theme]) .mobile-home-head::after {
  content: "";
  position: absolute; left: 0; right: 0;
  top: calc(70px + env(safe-area-inset-top, 20px));
  height: 26px;
  background: linear-gradient(180deg, #D5516B 0%, #FFFFFF 100%);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
/* ---------- 纯白头部：去掉红色渐变 ---------- */
html[data-theme="softred"] .mobile-home-head::before,
html:not([data-theme]) .mobile-home-head::before,
html[data-theme="softred"] .mobile-home-head::after,
html:not([data-theme]) .mobile-home-head::after {
  display: none !important;
  content: none !important;
}
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background: #FFFFFF !important;
  border-bottom: 1px solid #F1EFF1;
  box-shadow: none !important;
}
html[data-theme="softred"] .mhh-name,
html:not([data-theme]) .mhh-name {
  color: #1A1A1A !important;
  -webkit-text-fill-color: #1A1A1A !important;
  background: none !important;
  text-shadow: none !important;
  font-weight: 600 !important;
}
html[data-theme="softred"] .mhh-years,
html:not([data-theme]) .mhh-years {
  background: #FFF0F3 !important;
  border: 1px solid rgba(196,30,58,.16) !important;
  color: #C41E3A !important;
}
html[data-theme="softred"] .mhh-slogan,
html:not([data-theme]) .mhh-slogan { color: #8E8E93 !important; }
html[data-theme="softred"] .mhh-mark,
html:not([data-theme]) .mhh-mark {
  filter: drop-shadow(0 2px 6px rgba(196,30,58,.14)) !important;
}
html[data-theme="softred"] .mhh-search-btn,
html:not([data-theme]) .mhh-search-btn {
  background: #F4F2F4 !important;
  color: #1A1A1A !important;
  box-shadow: none !important;
}
/* ---------- 图标块：实心渐变 + 白图标 ---------- */
html[data-theme="softred"] .mhh-cat-btn .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn .mhh-cat-icon {
  background: linear-gradient(135deg,
      var(--catc, #8E8E93),
      color-mix(in srgb, var(--catc, #8E8E93) 86%, #000)) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 15px !important;
  box-shadow: 0 3px 8px color-mix(in srgb, var(--catc, #8E8E93) 30%, transparent);
}
html[data-theme="softred"] .mhh-cat-btn .mhh-cat-icon svg,
html:not([data-theme]) .mhh-cat-btn .mhh-cat-icon svg {
  color: #fff !important; stroke: #fff !important;
}
html[data-theme="softred"] .mhh-cat-btn.active .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn.active .mhh-cat-icon {
  outline: 2px solid #1A1A1A; outline-offset: 1px;
}
html[data-theme="softred"] .mhh-cat-btn.active,
html:not([data-theme]) .mhh-cat-btn.active { color: #1A1A1A !important; }

/* 顶部极淡的品牌色 */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  background: linear-gradient(180deg,
      rgba(196,30,58,.08) 0%,
      rgba(196,30,58,.025) 55%,
      #FFFFFF 100%) !important;
}
/* ---------- 顶部淡色只铺一小块 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head { background: #FFFFFF !important; }
html[data-theme="softred"] .mobile-home-head::before,
html:not([data-theme]) .mobile-home-head::before {
  display: block !important;
  content: "" !important;
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(78px + env(safe-area-inset-top, 20px));
  background: linear-gradient(180deg,
      rgba(196,30,58,.10) 0%,
      rgba(196,30,58,.035) 58%,
      rgba(255,255,255,0) 100%) !important;
  pointer-events: none; z-index: 0;
}
/* ---------- 白块圆角收尾，消除生硬接缝 ---------- */
html[data-theme="softred"] .mobile-home-head,
html:not([data-theme]) .mobile-home-head {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
html[data-theme="softred"] .mobile-tabs,
html:not([data-theme]) .mobile-tabs {
  background: #FFFFFF !important;
  border-radius: 0 0 18px 18px !important;
  margin-bottom: 0 !important;
  padding-bottom: 10px !important;
  box-shadow: none !important;
}
/* feed 顶部留一点灰，露出圆角 */
html[data-theme="softred"] #feedList,
html:not([data-theme]) #feedList {
  padding-top: 10px !important;
}
/* ---------- 宫格行距收紧 ---------- */
html[data-theme="softred"] .mhh-cats,
html:not([data-theme]) .mhh-cats {
  gap: 10px 6px !important;
  margin: 14px 0 12px !important;
}
/* ---------- 宫格选中态：白边 + 同色外环 ---------- */
html[data-theme="softred"] .mhh-cat-btn.active .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn.active .mhh-cat-icon {
  outline: none !important;
  border: 2.4px solid #FFFFFF !important;
  box-shadow:
    0 0 0 2.2px var(--catc, #C41E3A),
    0 6px 14px color-mix(in srgb, var(--catc, #C41E3A) 42%, transparent) !important;
  transform: scale(1.07);
}
html[data-theme="softred"] .mhh-cat-btn.active,
html:not([data-theme]) .mhh-cat-btn.active {
  color: var(--catc, #C41E3A) !important;
  font-weight: 600 !important;
}
.mhh-cat-btn .mhh-cat-icon { transition: all .16s ease; }
/* ---------- 手机端轮播横幅 ---------- */
.mhh-banner { display: none; }
@media (max-width: 768px) {
  .mhh-banner {
    display: block;
    margin: 12px 14px 2px;
  }
  .mhh-banner-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mhh-banner-track::-webkit-scrollbar { display: none; }
  .mhh-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 74px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }
  .mhh-slide::after {
    content: "›";
    position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: #fff; font-size: 15px; line-height: 26px; text-align: center;
  }
  .mhh-slide .s-tag {
    align-self: flex-start;
    font-size: 9.5px; font-weight: 600; line-height: 1;
    color: #fff; background: rgba(255,255,255,.18);
    padding: 3px 6px; border-radius: 4px; margin-bottom: 7px;
  }
  .mhh-slide .s-title {
    font-size: 14px; font-weight: 600; color: #fff;
    line-height: 1.3; padding-right: 40px;
  }
  .mhh-slide .s-sub {
    font-size: 11px; color: rgba(255,255,255,.72); margin-top: 4px;
  }
  .mhh-banner-dots {
    display: flex; justify-content: center; gap: 5px; margin-top: 8px;
  }
  .mhh-banner-dots i {
    width: 5px; height: 5px; border-radius: 3px;
    background: #D8D4D6; transition: all .2s;
  }
  .mhh-banner-dots i.on { width: 14px; background: var(--brand); }
}
/* ---------- 头部 logo：用徽章版 ---------- */
html[data-theme="softred"] .mhh-mark,
html:not([data-theme]) .mhh-mark {
  height: 38px !important;
  border-radius: 10px;
  filter: drop-shadow(0 3px 8px rgba(196,30,58,.18)) !important;
}
/* ---------- 宫格图标：强制正方形（flex 布局会把它压扁） ---------- */
html[data-theme="softred"] .mhh-cat-btn .mhh-cat-icon,
html:not([data-theme]) .mhh-cat-btn .mhh-cat-icon {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  max-height: none !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 46px !important;
  align-self: center !important;
  box-sizing: border-box !important;
}
/* 对外职位小标签 */
.tt-tag{display:inline-block;margin:0 4px;padding:1px 6px;border-radius:5px;
  background:#FFF0F3;color:#C41E3A;font-size:10.5px;font-weight:500;font-style:normal;
  vertical-align:1px}


/* ==== PC 适配：宽屏下把窄单列撑开，卡片按栅格铺 ==== */
@media (min-width: 1024px) {
  /* 子页面（详情/福利/会员这类单列页）放宽到 1080 */
  .subpage { max-width: 1080px; padding: 20px 24px 80px; }
  /* 列表页两列，屏幕更宽时三列 */
  .page .list, .page .cards, .page .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  /* 表单页给个合适的行宽，别一条线拉到 1280 */
  .subpage .form-row, .subpage .field { max-width: 720px; }
}
@media (min-width: 1440px) {
  .page .list, .page .cards, .page .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .subpage { max-width: 1160px; }
}

/* ============================================================
   排版收口（PC 与手机共用）
   规矩：正文字重 400，强调 500，标题/按钮 600，数字 700；
        层级靠字号 + 颜色，不靠加粗；中文不加字距。
   ============================================================ */

/* 品牌字：名字重一点，但别再加字距 */
.brand .name { font-weight: 700; letter-spacing: 0; }

/* 标题：字号拉开一档，字重回到 600 */
.post-title     { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.panel-title    { font-size: 16px; font-weight: 600; }
.detail-title   { font-weight: 600; letter-spacing: 0; }
.mhh-name       { font-weight: 600; }

/* 数字：等宽 + 700，跳动时不抖 */
.stats-num,
.preview-cat-time .tag-cat,
.coin-balance,
.detail-meta .kv b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* 小字号一律 500，别再 600 */
.badge-top,
.brand .years,
.brand .safe,
.post-tags .tag-cat,
.post-tags .tag-keyword,
.mhh-cat-btn,
.wall-action {
  font-weight: 500;
}

/* 选项卡：未选 500，选中 600（再靠颜色和下划线区分） */
.tab        { font-weight: 500; }
.tab.active { font-weight: 600; }

/* 分类 chip、列表昵称：500 就够 */
.cat-item      { font-weight: 500; }
.post-head .nick { font-weight: 500; }

/* 按钮统一 600 */
.btn-publish,
.btn-download-app,
.btn-login,
.login-card-btn,
.preview-cta-btn {
  font-weight: 600;
}

/* Windows 上让笔画薄一点，接近 Mac 观感 */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ============================================================
   首页对齐 App：PC 也用「分类格子 + 快捷卡」这套版式
   （原本这套只在 ≤768px 出现，PC 走的是分类 chip 横排）
   ============================================================ */
@media (min-width: 769px) {

  /* 分类 chip 那一条撤掉，改造格子 */
  .cat-bar { display: none; }

  /* 手机端头部整体启用，但品牌行留顶栏那份，别重复 */
  .mobile-home-head {
    display: block;
    padding: 4px 0 10px;
  }
  .mobile-home-head .mhh-row1 { display: none; }

  /* 分类：5 列 × 2 行，跟 App 一样 */
  .mobile-home-head .mhh-cats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
  }
  .mobile-home-head .mhh-cat-btn {
    padding: 12px 4px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    gap: 6px;
  }
  .mobile-home-head .mhh-cat-btn:hover {
    border-color: rgba(var(--brand-rgb), .35);
    color: var(--blue);
  }
  .mobile-home-head .mhh-cat-btn.active {
    background: #FFF0F3;
    color: var(--brand);
    border-color: var(--brand);
    box-shadow: none;
  }
  .mobile-home-head .mhh-cat-btn.active .mhh-cat-icon { color: var(--brand) !important; }

  /* 快捷卡：4 列，白底细边，跟 App 一张卡一个动作 */
  .mobile-home-head .mhh-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  .mobile-home-head .mhh-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: none;
    padding: 12px 10px;
  }
  .mobile-home-head .mhh-card:hover { border-color: rgba(var(--brand-rgb), .35); }
  .mobile-home-head .mhh-card-title { font-size: 12.5px; font-weight: 600; color: var(--text); }
  .mobile-home-head .mhh-card-desc { font-size: 11px; color: var(--text-3); margin-top: 3px; }

  /* 轮播：App 首页有，PC 也补上（分类格子下面、列表上面）。
     手机那套样式写在 ≤768 的媒体查询里，这里补桌面版，否则三条会平铺成文字。 */
  .mhh-banner { display: block; margin: 2px 0 12px; }
  .mhh-banner-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .mhh-banner-track::-webkit-scrollbar { display: none; }
  .mhh-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }
  .mhh-slide .s-tag {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,.18);
    border-radius: 4px;
    padding: 2px 6px;
    margin-bottom: 6px;
  }
  .mhh-slide .s-title { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; }
  .mhh-slide .s-sub { font-size: 11px; color: rgba(255,255,255,.72); margin-top: 3px; }
  /* PC 的 tab 行放在这两块下面，跟 App 顺序一致 */
  .tabs { margin-top: 2px; }
}

/* ============================================================
   列表卡片：照 App 的 PostCard 一比一
   标题 18/600（已读降 500+灰）· 类目tag红底 · 关键词灰tag
   作者行上一条细线，右侧眼睛 + 曝光数
   ============================================================ */
.post-card {
  background: #fff;
  border: 1px solid #ECEAEB;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px rgba(16, 24, 40, .04);
  padding: 0;
  margin-bottom: 12px;
  overflow: hidden;
}
.post-card:hover { border-color: #E2DFE2; }

.pc-body { padding: 16px 16px 0; }
.pc-top { display: flex; align-items: flex-start; gap: 10px; }
.pc-top .post-title {
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.3px;
  color: #16181B;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* 看过的帖子：颜色变浅 + 字重降一档，别再靠加粗 */
.pc-top .post-title.viewed { color: #9AA0AA; font-weight: 500; }

.pc-top-badge {
  flex: none;
  margin-top: 2px;
  padding: 3px 9px;
  border-radius: 7px;
  background: #FFF0F3;
  color: #E03A4E;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.pc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.pc-tags .tag-cat {
  padding: 4px 11px;
  border-radius: 8px;
  background: rgba(196, 30, 58, .09);
  color: var(--brand);
  font-size: 12px;
  font-weight: 500;
  border: none;
}
.pc-tags .tag-keyword {
  padding: 4px 9px;
  border-radius: 8px;
  background: #F4F5F7;
  color: #6B7178;
  font-size: 11.5px;
  font-weight: 400;
  border: none;
}

.pc-foot {
  margin: 14px 16px 0;
  padding: 12px 0 12px;
  border-top: 1px solid #F1F2F4;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pc-author { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pc-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  object-fit: cover;
}
.pc-avatar-txt {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 600;
}
.pc-nick {
  max-width: 120px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 13px; font-weight: 400; color: #3A3F45;
  cursor: pointer;
}
.pc-foot .post-expose {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 400; color: #A0A5AB;
  font-variant-numeric: tabular-nums;
}
/* 卡片里那个「立即合作」按钮去掉，App 的卡片上只有一个整体点击 */
.pc-foot .card-view-btn { display: none; }

/* ??????html[data-theme=...]?? .pc-tags .tag-cat ?????
   ??????????????????????? */
html[data-theme="softred"] .pc-tags .tag-cat,
html:not([data-theme]) .pc-tags .tag-cat {
  background: rgba(196, 30, 58, .09);
  color: var(--brand);
}
html[data-theme="softred"] .pc-tags .tag-keyword,
html:not([data-theme]) .pc-tags .tag-keyword {
  background: #F4F5F7;
  color: #6B7178;
}

/* ============================================================
   详情页：照 App 的 detail_page 版式
   标题卡（20/700 + meta）· 作者卡 · 项目详情 · 安全提示 · 最近查看
   ============================================================ */
.dt-top-banner {
  margin: 0 0 10px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #FFF0F3;
  color: #E03A4E;
  font-size: 12px;
  font-weight: 600;
}

.dt-card { padding: 16px 16px 16px; }

.dt-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.3px;
  color: #16181B;
}

.dt-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-3);
}

/* 作者卡 */
.dt-author { display: flex; align-items: center; gap: 10px; }
.dt-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; flex: none;
}
.dt-avatar-txt {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 600;
}
.dt-author-meta { min-width: 0; flex: 1; }
.dt-author-name {
  font-size: 14.5px; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; align-items: center; gap: 5px;
}
.dt-author-sub {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-top: 5px; font-size: 12px; color: var(--text-3);
}
.dt-time { color: var(--text-3); }

/* 项目详情 */
.dt-sec-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.dt-sec-title { font-size: 16px; font-weight: 600; color: var(--text); }
.dt-desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-2);
  white-space: pre-line;
  word-break: break-word;
}
.detail-card + .dt-card { margin-top: 10px; }

/* ============ 底部 TabBar：照 App（中间发布浮起、选中品牌红） ============ */
/* 桌面端不显示（原来 .tabbar{display:none}，这条不能盖掉它） */
.tabbar { display: none; }
@media (max-width: 768px) {
  .tabbar { display: flex; height: 58px; padding: 0; align-items: stretch; }
}
.tabbar a { justify-content: center; gap: 3px; font-size: 10.5px; color: #9AA0AA; padding-top: 6px; }
.tabbar a .ic svg { width: 22px; height: 22px; }
.tabbar a.active { color: var(--brand); }
.tabbar a.active .ic svg { color: var(--brand); }

/* 中间那颗浮起来的发布按钮 */
.tabbar .pub-tab { position: relative; justify-content: flex-end; padding-bottom: 6px; color: #9AA0AA; }
.tabbar .pub-tab .pub-fab {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(var(--brand-rgb), .35);
}
.tabbar .pub-tab .pub-fab svg { width: 24px; height: 24px; }
.tabbar .pub-tab .pub-lb { font-size: 10.5px; margin-top: 28px; }

/* ============================================================
   与 App theme.dart 一一对应的 token
   颜色/阴影/圆角/字号只走这组变量，别再在组件里写死
   ============================================================ */
:root {
  /* 颜色（theme.dart 第 5~11 行） */
  --brand:      #C41E3A;
  --brand-rgb:  196, 30, 58;
  --brand-soft: #FFF0F3;
  --bg:         #F4F2F4;
  --text:       #1A1A1A;
  --text-2:     #5A5F66;
  --text-3:     #8E8E93;
  --border:     #ECEAEB;

  /* 卡片阴影：全站唯一一档（kCardShadow） */
  --card-shadow: 0 1px 3px rgba(17, 24, 39, .06), 0 5px 14px rgba(17, 24, 39, .08);

  /* 圆角 */
  --r-card: 18px;
  --r-tile: 14px;
  --r-chip: 8px;
}

/* ---------- 卡片：白底 + 大圆角 + 柔和阴影，去掉 1px 描边 ---------- */
.post-card,
.detail-card,
.m-stat,
.m-vip,
.m-quick a,
.wc-card,
.conv,
.opt,
.d-card {
  border: none !important;
  border-radius: var(--r-card) !important;
  box-shadow: var(--card-shadow) !important;
  background: #fff;
}

/* 分组列表（我的/设置那种「大卡包小行」）：整块白卡 + 行间细线，不画外框 */
.m-group {
  background: #fff;
  border: none !important;
  border-radius: var(--r-card) !important;
  box-shadow: var(--card-shadow) !important;
  overflow: hidden;
}
.m-group .m-row + .m-row { border-top: 1px solid var(--border); }
.m-row { border-bottom: none !important; }

/* 页面底色统一到 App 的 kBg */
body.m-body,
body.v-body,
body.d-body { background: var(--bg); }

/* 圆角统一：分类格/快捷卡/标签 */
.mhh-cat-btn,
.mhh-card,
.mu-quick a { border-radius: var(--r-tile); }

/* 标签类统一 8px */
.tag-cat,
.tag-keyword,
.pc-tags .tag-cat,
.pc-tags .tag-keyword { border-radius: var(--r-chip); }

/* ============ 空态：对齐 App EmptyBox（图标 40 #C9CDD4 / 标题 15-700 / 说明 13） ============ */
.jb-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 46px 24px;
}
.jb-empty-ic { width: 40px; height: 40px; color: #C9CDD4; margin-bottom: 12px; }
.jb-empty-ic svg { width: 40px; height: 40px; }
.jb-empty b { font-size: 15px; font-weight: 700; color: var(--text-2); }
.jb-empty span {
  display: block; margin-top: 8px;
  font-size: 13px; line-height: 1.6; color: var(--text-3);
}

/* ============================================================
   手机首页：照 App 的 _heroGrid / _heroBody 一比一
   —— 红底 + 光晕、白搜索胶囊、46 分类方块（渐变+选中白边环）、4 张 78 高功能卡
   ============================================================ */
.mhh-search { display: none; }

@media (max-width: 768px) {

  /* 红底 hero：纯红打底 + 三个光晕，底边圆角 20 */
  .mobile-home-head {
    padding: calc(14px + env(safe-area-inset-top, 20px)) 14px 14px;
    margin: 0 0 12px;
    border-radius: 0 0 20px 20px;
    background:
      radial-gradient(ellipse 90% 80% at 92% -42%, rgba(255,255,255,.54) 0%, rgba(255,255,255,.24) 44%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 72% 70% at -25% 125%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 90% 90% at 115% 120%, rgba(255,179,192,.40) 0%, rgba(255,179,192,0) 72%),
      linear-gradient(180deg, #D53A55 0%, #C92E49 100%);
    box-shadow: none;
  }

  /* 品牌行：白字 + 金色小标 */
  .mhh-row1 { margin-bottom: 14px; }
  .mhh-name { font-size: 21px; font-weight: 700; color: #fff; letter-spacing: 0; }
  .mhh-slogan { font-size: 11.5px; color: rgba(255,255,255,.82); }
  .mhh-search-btn { display: none; }  /* 换成下面的搜索条 */

  /* 搜索胶囊：白底、高 38、圆角 19、红色圆箭头 */
  .mhh-search {
    display: flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 4px 0 14px;
    background: #fff; border-radius: 19px;
    box-shadow: 0 3px 10px rgba(122, 0, 22, .12);
    margin-bottom: 24px;
  }
  .mhh-search .ms-ico { width: 17px; height: 17px; color: #B0B5BD; flex: none; }
  .mhh-search .ms-ph { flex: 1; font-size: 13.5px; color: #A0A5AB; }
  .mhh-search .ms-go {
    width: 30px; height: 30px; border-radius: 15px; flex: none;
    background: var(--brand); color: #fff;
    display: grid; place-items: center;
  }
  .mhh-search .ms-go svg { width: 12px; height: 12px; }

  /* 分类宫格：5 列，行距 10 / 列距 6 */
  .mobile-home-head .mhh-cats {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 6px; row-gap: 10px;
    margin-bottom: 9px;
  }
  .mobile-home-head .mhh-cat-btn {
    background: transparent; border: none; box-shadow: none;
    padding: 0; gap: 6px;
    color: #fff;
  }
  /* 图标方块：46×46、圆角 15、颜色渐变（本色 → 压暗 16%） */
  .mobile-home-head .mhh-cat-btn .mhh-cat-icon {
    width: 46px !important; height: 46px !important;
    border-radius: 15px;
    background: linear-gradient(135deg,
      var(--catc, #C41E3A) 0%,
      color-mix(in srgb, var(--catc, #C41E3A) 84%, #000) 100%);
    color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    transition: transform .16s ease, box-shadow .16s ease;
  }
  .mobile-home-head .mhh-cat-btn .mhh-cat-icon svg { width: 22px; height: 22px; }
  /* 选中：白边 2.4 + 外圈同色环 + 放大 7%（App 的做法，不换颜色） */
  .mobile-home-head .mhh-cat-btn.active .mhh-cat-icon {
    border: 2.4px solid #fff;
    box-shadow: 0 0 0 2.2px var(--catc, #C41E3A);
    transform: scale(1.07);
  }
  .mobile-home-head .mhh-cat-btn > span:last-child {
    font-size: 11px; font-weight: 500; color: #fff; line-height: 1.2;
  }

  /* 四张功能卡：高 78、白底、圆角 13、阴影，图标 18 + 标题 11.5/700 本色 + 副标 10 灰 */
  .mobile-home-head .mhh-cards { column-gap: 6px; }
  .mobile-home-head .mhh-card {
    height: 78px;
    padding: 9px 4px;
    border: none; border-radius: 13px;
    background: #fff;
    box-shadow: var(--card-shadow);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    backdrop-filter: none;
  }
  .mobile-home-head .mhh-card-icon { color: inherit; }
  .mobile-home-head .mhh-card-icon svg { width: 18px; height: 18px; }
  .mobile-home-head .mhh-card-title {
    font-size: 11.5px; font-weight: 700; line-height: 1.25;
    margin-top: 5px; color: inherit;
  }
  .mobile-home-head .mhh-card-desc {
    font-size: 10px; line-height: 1.2; color: #A0A5AB; margin-top: 2px;
  }
}

/* ============================================================
   手机首页 hero —— 最终态覆盖
   文件里历史上给 .mobile-home-head 叠了 30 多条主题补丁（其中一条
   直接 background:#fff !important），这里用同样高的选择器 + !important
   把它压回 App 的「红底 + 光晕」形态，并关掉 ::before/::after 装饰层。
   ============================================================ */
@media (max-width: 768px) {

  html[data-theme="softred"] .mobile-home-head,
  html:not([data-theme]) .mobile-home-head {
    padding: calc(14px + env(safe-area-inset-top, 20px)) 14px 14px !important;
    margin: 0 0 12px !important;
    border-radius: 0 0 20px 20px !important;
    background:
      radial-gradient(ellipse 90% 80% at 92% -42%, rgba(255,255,255,.54) 0%, rgba(255,255,255,.24) 44%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 72% 70% at -25% 125%, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 100%),
      radial-gradient(ellipse 90% 90% at 115% 120%, rgba(255,179,192,.40) 0%, rgba(255,179,192,0) 72%),
      linear-gradient(180deg, #D53A55 0%, #C92E49 100%) !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }
  /* 老补丁画在头部上下的装饰层，全部关掉 */
  html[data-theme="softred"] .mobile-home-head::before,
  html[data-theme="softred"] .mobile-home-head::after,
  html:not([data-theme]) .mobile-home-head::before,
  html:not([data-theme]) .mobile-home-head::after {
    content: none !important;
    display: none !important;
    background: none !important;
  }

  /* 品牌字与标语：白 */
  html[data-theme="softred"] .mobile-home-head .mhh-name,
  html:not([data-theme]) .mobile-home-head .mhh-name { color: #fff !important; letter-spacing: 0 !important; }
  html[data-theme="softred"] .mobile-home-head .mhh-slogan,
  html:not([data-theme]) .mobile-home-head .mhh-slogan { color: rgba(255,255,255,.82) !important; }

  /* 搜索胶囊 */
  html[data-theme="softred"] .mobile-home-head .mhh-search,
  html:not([data-theme]) .mobile-home-head .mhh-search {
    display: flex !important;
    align-items: center; gap: 7px;
    height: 38px; padding: 0 4px 0 14px;
    background: #fff !important; border-radius: 19px !important;
    box-shadow: 0 3px 10px rgba(122,0,22,.12) !important;
    margin-bottom: 20px !important;
  }

  /* 分类方块：透明按钮 + 46 渐变圆角块 */
  html[data-theme="softred"] .mobile-home-head .mhh-cat-btn,
  html:not([data-theme]) .mobile-home-head .mhh-cat-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    padding: 0 !important;
  }
  html[data-theme="softred"] .mobile-home-head .mhh-cat-btn .mhh-cat-icon,
  html:not([data-theme]) .mobile-home-head .mhh-cat-btn .mhh-cat-icon {
    width: 46px !important; height: 46px !important;
    min-width: 46px !important; min-height: 46px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg,
      var(--catc, #C41E3A) 0%,
      color-mix(in srgb, var(--catc, #C41E3A) 84%, #000) 100%) !important;
    color: #fff !important;
    display: flex !important; align-items: center; justify-content: center;
  }
  html[data-theme="softred"] .mobile-home-head .mhh-cat-btn.active .mhh-cat-icon,
  html:not([data-theme]) .mobile-home-head .mhh-cat-btn.active .mhh-cat-icon {
    border: 2.4px solid #fff !important;
    box-shadow: 0 0 0 2.2px var(--catc, #C41E3A) !important;
    transform: scale(1.07);
  }
  html[data-theme="softred"] .mobile-home-head .mhh-cat-btn > span:last-child,
  html:not([data-theme]) .mobile-home-head .mhh-cat-btn > span:last-child {
    color: #fff !important; font-size: 11px !important; font-weight: 500 !important;
  }

  /* 功能卡：白底 78 高，标题用卡片本色 */
  html[data-theme="softred"] .mobile-home-head .mhh-card,
  html:not([data-theme]) .mobile-home-head .mhh-card {
    height: 78px !important;
    padding: 9px 4px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 13px !important;
    box-shadow: var(--card-shadow) !important;
    display: flex !important; flex-direction: column;
    align-items: center !important; justify-content: center !important;
    backdrop-filter: none !important;
  }
  html[data-theme="softred"] .mobile-home-head .mhh-card-title,
  html:not([data-theme]) .mobile-home-head .mhh-card-title {
    font-size: 11.5px !important; font-weight: 700 !important;
    margin-top: 5px !important; color: inherit !important;
  }
  html[data-theme="softred"] .mobile-home-head .mhh-card-desc,
  html:not([data-theme]) .mobile-home-head .mhh-card-desc {
    font-size: 10px !important; color: #A0A5AB !important; margin-top: 2px !important;
  }
}

/* ===== 统一返回键：40×40 热区、贴左、按下有反馈 =====
   全站所有页面的返回按钮都走这一套，别再各写一份。 */
body a.back, body a.wc-back, body a.dt-back, body a.at-back,
body a.us-back, body a.gh-back, body a.dr-back, body a.page-back,
body button.back, body button.page-back, body .page-back {
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:40px !important;
  height:40px !important;
  flex:none;
  margin-left:-8px;
  padding:0 !important;
  border:0 !important;
  border-radius:12px !important;
  background:transparent !important;
  color:var(--text, #16181B) !important;
  font-size:24px !important;
  line-height:1 !important;
  font-weight:400 !important;
  text-decoration:none !important;
  -webkit-tap-highlight-color:transparent;
  transition:background .12s;
}
body a.back:active, body a.wc-back:active, body a.dt-back:active, body a.at-back:active,
body a.us-back:active, body a.gh-back:active, body a.dr-back:active, body a.page-back:active,
body button.back:active, body .page-back:active {
  background:#F0F1F3 !important;
}

/* 看过的项目：标题降一档、变灰（首页列表卡片用） */
.card-title.viewed { color: #9AA0AA !important; font-weight: 500 !important; }
.card-title { transition: color .15s ease; }

/* PC 左栏（iframe）：让页面自己整体滚动，别让 body 变成滚动容器
   —— 否则 .tabs 的 position:sticky 会失效，下滑就跟着跑了 */
html.in-frame { overflow: hidden auto; height: 100%; }
html.in-frame body { overflow: visible !important; height: auto !important; min-height: 100%; }
