/* ==================== CSS Variables ==================== */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease;
}

/* ==================== Reset ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ==================== Header ==================== */
.header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1540px;
  margin: 0 auto;
  padding: 0 24px;
  height: 108px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 0;
  flex-shrink: 0;
}
.logo-banner-img {
  height: 88px;
  width: auto;
  display: block;
}
.nav { display: flex; gap: 4px; flex: 1; }
.nav-item {
  text-decoration: none;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-item:hover { background: var(--primary-light); color: var(--primary); }
.nav-item.active { background: var(--primary); color: white; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
}

/* ==================== Buttons ==================== */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }
.btn-search {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white;
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 50px;
}
.btn-block { width: 100%; justify-content: center; padding: 14px; font-size: 16px; }

/* ==================== Main Content ==================== */
.main-content { max-width: 1540px; margin: 0 auto; padding: 24px 24px 60px; display: flex; gap: 24px; align-items: flex-start; }
/* V34：让所有版块（含侧栏、首页 hero）距菜单栏都有 24px 呼吸感，与个人中心账户概览对齐 */
.page { display: none; flex: 1 1 auto; min-width: 0; }
.page.active { display: block; }

/* ==================== 全局右侧栏（280px） ==================== */
.global-sidebar { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
.sb-card { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.sb-card-title { font-size: 14px; font-weight: 700; color: #1f2937; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.sb-ai-cta { background: linear-gradient(135deg,#7c3aed,#d946ef); border: none; color: #fff; }
.sb-ai-cta .sb-card-title { color: #fff; }
.sb-ai-desc { font-size: 12px; color: rgba(255,255,255,.85); margin: 0 0 10px; line-height: 1.5; }
.sb-btn { display: block; width: 100%; margin-top: 8px; padding: 8px 10px; border-radius: 9px; border: none; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; background: rgba(255,255,255,.18); color: #fff; transition: background .2s; }
.sb-btn:hover { background: rgba(255,255,255,.3); }
.sb-btn-primary { background: #fff; color: #7c3aed; }
.sb-btn-primary:hover { background: #f3e8ff; }
.sb-hot { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-hot-chip { padding: 5px 11px; border-radius: 999px; background: #f5f3ff; color: #6d28d9; border: 1px solid #ede9fe; font-size: 12px; cursor: pointer; transition: all .2s; }
.sb-hot-chip:hover { background: #ede9fe; }
.sb-list { display: flex; flex-direction: column; }
.sb-item { padding: 8px 0; border-bottom: 1px dashed #f0f0f0; cursor: pointer; }
.sb-item:last-child { border-bottom: none; }
.sb-item-title { font-size: 13px; color: #374151; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sb-item-title:hover { color: #7c3aed; }
.sb-item-meta { font-size: 11px; color: #9ca3af; margin-top: 3px; }
/* V33：成交快讯限 5 条 + 卡内滚动 + 底部查看更多 */
.sb-list-wrap { max-height: 280px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #d1d5db transparent; }
.sb-list-wrap::-webkit-scrollbar { width: 4px; }
.sb-list-wrap::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 2px; }
.sb-list-wrap::-webkit-scrollbar-track { background: transparent; }
.sb-item-more { display: block; text-align: center; font-size: 12px; font-weight: 600; color: #7c3aed; padding: 8px 0 2px; margin-top: 4px; border-top: 1px dashed #e5e7eb; cursor: pointer; transition: color .2s; }
.sb-item-more:hover { color: #5b21b6; text-decoration: underline; }
.sb-prov { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #f0f0f0; cursor: pointer; }
.sb-prov:last-child { border-bottom: none; }
.sb-prov-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#f5f3ff,#fce7f3); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.sb-prov-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sb-prov-name { font-size: 13px; font-weight: 600; color: #1f2937; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sb-prov-meta { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.sb-empty { font-size: 12px; color: #b0b7c3; text-align: center; padding: 10px 0; }
/* 平板/移动端：单列布局，隐藏侧栏 */
@media (max-width: 1080px) {
  .main-content { display: block; }
  .global-sidebar { display: none; }
}
.page-header {
  text-align: left;
  padding: 36px 0 22px;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.2;
}
.page-header h1 .highlight {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header .page-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.5;
}
.page-header .page-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
}
.page-header .page-desc-line { display: block; }

/* ==================== Hero ==================== */
.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}
.hero-content { flex: 1; }
.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 企业家对接 Hero 多 chip 标签（参照首页 hero 风格） */
.ent-hero .hero-title { font-size: 38px; }
.ent-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.ent-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #5b21b6;
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ent-hero-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.18);
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}
/* 首页 Hero 双 CTA：发布技能 / 发布需求 */
.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}
.hero-cta-btn.primary {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 70, 229, .30);
}
.hero-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(79, 70, 229, .42);
}
.hero-cta-btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.hero-cta-btn.secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}
.search-box {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.search-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}
.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.hero-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--text-secondary); }
.tag-loading { color: var(--text-secondary); opacity: 0.6; animation: textPulse 1.5s ease-in-out infinite; }
.tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
}
.tag:hover { background: var(--primary); color: white; }

.hero-visual { position: relative; width: 350px; height: 350px; flex-shrink: 0; }
.hero-circle {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.05); }
}
@keyframes textPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}
.circle-inner { text-align: center; color: white; }
.circle-icon { font-size: 48px; display: block; }
.circle-text { font-size: 18px; font-weight: 600; }
.floating-card {
  position: absolute;
  background: var(--bg-card);
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
}
.fc-1 { top: 10px; right: 20px; animation-delay: 0s; }
.fc-2 { bottom: 40px; right: 10px; animation-delay: 0.7s; }
.fc-3 { top: 60px; left: 0; animation-delay: 1.4s; }
.fc-4 { bottom: 60px; left: 20px; animation-delay: 2.1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ==================== Stats Bar ==================== */
.stats-bar {
  display: flex;
  gap: 24px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 40px;
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}
.stat-item { flex: 1; text-align: center; }
.stat-number { font-size: 32px; font-weight: 800; color: var(--primary); display: block; }
.stat-number.stat-loading { color: var(--text-secondary); opacity: 0.5; animation: textPulse 1.5s ease-in-out infinite; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* 首页实时数据看板：紧凑卡片，数字在上，图标+标签在下，桌面一行 6~7 个 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(236,72,153,0.04));
  border-radius: 16px;
  border: 1px solid rgba(124,58,237,0.08);
}
.stats-bar .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eef0f4;
  transition: all 0.2s ease;
  position: relative;
  min-width: 0;
}
.stats-bar .stat-item .stat-number {
  order: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #7c3aed;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-bar .stat-item .stat-icon {
  order: 1;
  font-size: 15px;
  line-height: 1;
  margin: 0;
}
.stats-bar .stat-item .stat-label {
  order: 2;
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.stats-bar .stat-item.stat-clickable {
  cursor: pointer;
}
.stats-bar .stat-item.stat-clickable:hover {
  background: rgba(124,58,237,0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124,58,237,0.12);
}
.stats-footnote {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
  opacity: 0.7;
}
@media (max-width: 1200px) {
  .stats-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
  .stats-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 8px; }
  .stats-bar .stat-item .stat-number { font-size: 18px; }
  .stats-bar .stat-item .stat-icon { font-size: 14px; }
  .stats-bar .stat-item .stat-label { font-size: 10px; }
}

/* ==================== Section ==================== */
.section { margin-bottom: 48px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.section-title { font-size: 22px; font-weight: 700; }
.section-more { color: var(--primary); text-decoration: none; font-size: 14px; font-weight: 500; }
.section-more:hover { text-decoration: underline; }

/* ==================== Skill Card ==================== */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}
.skill-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.skill-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.skill-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.skill-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.skill-user-info { flex: 1; }
.skill-user-name { font-size: 15px; font-weight: 600; }
.skill-user-meta { font-size: 12px; color: var(--text-muted); }
.skill-rating { color: var(--secondary); font-size: 13px; font-weight: 600; }
.skill-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.skill-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.skill-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.skill-tag {
  background: var(--bg);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
}
.skill-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.skill-price { font-size: 22px; font-weight: 800; color: var(--danger); }
.skill-unit { font-size: 13px; color: var(--text-muted); }
.skill-distance {
  font-size: 12px; color: var(--success); font-weight: 500;
  background: #ecfdf5; padding: 3px 10px; border-radius: 20px;
}

/* ==================== Demand Card ==================== */
.demand-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.demand-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  display: flex; align-items: center; gap: 20px;
}
.demand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.demand-list .demand-card { flex-direction: column; align-items: stretch; gap: 12px; }
.demand-list .demand-avatar { width: 40px; height: 40px; font-size: 18px; }
.demand-list .demand-info { width: 100%; }
.demand-list .demand-meta { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
.demand-list .demand-meta .demand-budget { font-size: 18px; }
.demand-list .card-actions { width: 100%; justify-content: flex-end; }
.demand-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fef3c7;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.demand-info { flex: 1; }
.demand-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.demand-desc { font-size: 13px; color: var(--text-secondary); }
.demand-tags { display: flex; gap: 6px; margin-top: 6px; }
.demand-tag {
  background: #fef3c7; color: #92400e;
  padding: 2px 8px; border-radius: 12px; font-size: 11px;
}
.demand-meta { text-align: right; flex-shrink: 0; }
.demand-budget { font-size: 20px; font-weight: 800; color: var(--primary); }
.demand-unit { font-size: 12px; color: var(--text-muted); }
.demand-urgency {
  display: inline-block; padding: 2px 10px; border-radius: 12px;
  font-size: 11px; font-weight: 600; margin-top: 4px;
}
.urgency-high { background: #fef2f2; color: var(--danger); }
.urgency-medium { background: #fffbeb; color: #d97706; }
.urgency-low { background: #f0fdf4; color: #16a34a; }

/* ==================== Filter Bar ==================== */
.filter-bar {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-tab {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); color: white; border-color: var(--primary); }
.filter-search {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  min-width: 200px;
  transition: var(--transition);
}
.filter-search:focus { border-color: var(--primary); }

/* ==================== Match Page ==================== */
.match-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  min-height: 500px;
}
.match-panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.match-panel h3 { font-size: 16px; margin-bottom: 16px; }
.match-demand-list { display: flex; flex-direction: column; gap: 10px; }
.match-demand-item {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}
.match-demand-item:hover { border-color: var(--primary); background: var(--primary-light); }
.match-demand-item.active { border-color: var(--primary); background: var(--primary-light); }
.match-demand-item .title { font-weight: 600; font-size: 14px; }
.match-demand-item .meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.match-results {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  overflow-y: auto;
}
.match-placeholder {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; min-height: 300px;
  text-align: center; color: var(--text-muted);
}
.placeholder-icon { font-size: 64px; margin-bottom: 16px; }
.placeholder-hint { font-size: 13px; margin-top: 8px; line-height: 1.6; }

.match-result-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
}
.match-result-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.match-result-card.best-match {
  border-color: var(--success);
  background: #f0fdf4;
  position: relative;
}
.match-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  align-items: center;
}
.best-badge {
  background: linear-gradient(135deg, var(--success), #059669);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}
.ai-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.25);
}
.match-score {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.match-score-bar {
  flex: 1; height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.match-score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success), var(--primary));
  border-radius: 4px;
  transition: width 0.5s ease;
}
.match-score-num { font-size: 24px; font-weight: 800; color: var(--primary); }
.match-reasons { margin-top: 8px; }
.match-reason {
  font-size: 13px; color: var(--success);
  padding: 4px 0;
  display: flex; align-items: center; gap: 6px;
}
.match-reason::before { content: '✓'; font-weight: 700; }

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.breakdown-item { text-align: center; }
.breakdown-label { font-size: 11px; color: var(--text-muted); }
.breakdown-value { font-size: 16px; font-weight: 700; color: var(--primary); }

/* ==================== Orders ==================== */
/* V32：我的订单聚合视图 Tab 切换 */
.orders-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.orders-tab { padding: 8px 16px; border: 1px solid var(--border); border-radius: 999px; background: #f9fafb; color: var(--text-secondary); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; white-space: nowrap; }
.orders-tab:hover { border-color: var(--primary); color: var(--primary); }
.orders-tab.active { background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(124, 58, 237, .25); }
.orders-sec-title { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--text); margin: 6px 0 4px; padding-bottom: 6px; border-bottom: 2px solid var(--primary-light); }
.orders-sec-title::after { content: ''; flex: 1; }
@media (max-width: 640px) {
  .orders-tabs { gap: 6px; padding: 8px; }
  .orders-tab { padding: 7px 12px; font-size: 13px; }
}
.orders-list { display: flex; flex-direction: column; gap: 16px; }
.order-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 20px;
}
.order-status {
  padding: 4px 14px; border-radius: 20px;
  font-size: 12px; font-weight: 600;
}
.status-pending { background: #fffbeb; color: #d97706; }
.status-confirmed { background: #eff6ff; color: #2563eb; }
.status-completed { background: #f0fdf4; color: #16a34a; }
.status-cancelled { background: #fef2f2; color: #dc2626; }

.empty-state { text-align: center; padding: 60px; color: var(--text-muted); }
.empty-icon { font-size: 56px; display: block; margin-bottom: 12px; }
.empty-hint { font-size: 13px; margin-top: 4px; }

/* ==================== Publish ==================== */
.publish-container {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.publish-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.publish-tab {
  flex: 1; padding: 12px;
  text-align: center; border: 2px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer;
  font-weight: 600; font-size: 15px; transition: var(--transition);
}
.publish-tab.active { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.publish-form { }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px;
  outline: none; transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }

/* ==================== 标签推荐（根据分类自动填） ==================== */
.tag-suggest {
  margin-top: 8px; padding: 10px 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 100%);
  border: 1px dashed #93c5fd; border-radius: 8px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 13px;
}
.tag-suggest-tip { color: #1e40af; font-size: 12px; margin-right: 4px; }
.tag-suggest-list { display: contents; }
.tag-chip {
  display: inline-block; padding: 4px 10px; margin: 2px;
  background: #fff; color: #475569; border: 1px solid #cbd5e1;
  border-radius: 14px; cursor: pointer; font-size: 12px;
  transition: all .15s; user-select: none;
}
.tag-chip:hover { border-color: #3b82f6; color: #1e40af; }
.tag-chip.active {
  background: #3b82f6; color: #fff; border-color: #3b82f6;
  font-weight: 500;
}
.tag-suggest-fill {
  margin-left: auto; padding: 4px 12px; font-size: 12px;
  background: #3b82f6; color: #fff; border: none; border-radius: 14px;
  cursor: pointer;
}
.tag-suggest-fill:hover { background: #2563eb; }

/* ==================== AI 智能分类推荐 ==================== */
.ai-classify-box {
  margin-top: 8px; padding: 10px 14px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d; border-radius: 8px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 13px;
}
.ai-classify-box.is-loading {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-color: #d1d5db;
}
.ai-classify-icon { font-size: 18px; }
.ai-classify-text { flex: 1; color: #78350f; min-width: 200px; }
.ai-classify-text strong { color: #92400e; }
.ai-classify-apply, .ai-classify-refresh, .ai-classify-auto {
  padding: 4px 14px; font-size: 12px; border-radius: 14px; cursor: pointer;
  border: none; transition: all .15s;
}
.ai-classify-auto {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #fff; font-weight: 600;
  padding: 6px 18px; font-size: 13px;
  box-shadow: 0 2px 6px rgba(139,92,246,.35);
}
.ai-classify-auto:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(139,92,246,.45); }
.ai-classify-auto:active { transform: translateY(0); }
.ai-classify-auto:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* 常驻 AI 一键按钮（标题输入框旁边，永远可见） */
.ai-classify-auto-persistent {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  color: #fff; font-weight: 600;
  padding: 10px 20px; font-size: 14px; white-space: nowrap;
  border: none; border-radius: 10px; cursor: pointer;
  box-shadow: 0 3px 10px rgba(139,92,246,.4);
  transition: all .2s;
  animation: aiAutoPulse 2.5s ease-in-out infinite;
}
.ai-classify-auto-persistent:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139,92,246,.55);
}
.ai-classify-auto-persistent:not(:disabled):active { transform: translateY(0); }
.ai-classify-auto-persistent:disabled {
  background: #e5e7eb; color: #9ca3af;
  box-shadow: none; cursor: not-allowed;
  animation: none;
}
.ai-classify-auto-persistent:not(:disabled) {
  position: relative;
  overflow: hidden;
}
.ai-classify-auto-persistent:not(:disabled)::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: aiAutoShine 3s linear infinite;
}
@keyframes aiAutoPulse {
  0%, 100% { box-shadow: 0 3px 10px rgba(139,92,246,.4); }
  50% { box-shadow: 0 5px 18px rgba(139,92,246,.65); }
}
@keyframes aiAutoShine {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}
.ai-classify-apply {
  background: #f59e0b; color: #fff;
}
.ai-classify-apply:hover { background: #d97706; }
.ai-classify-refresh {
  background: #fff; color: #92400e; border: 1px solid #fbbf24;
}
.ai-classify-refresh:hover { background: #fef3c7; }

/* ==================== How It Works ==================== */
.how-it-works {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-card); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.step { flex: 1; text-align: center; }
.step-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.step-arrow {
  font-size: 28px; color: var(--text-muted);
  padding-top: 16px;
}

/* ==================== Modal ==================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
}
.modal {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px; width: 90%;
  box-shadow: var(--shadow-lg);
  /* 弹窗内容过多时整体高度受限于可视区，内部可滚动，避免顶出窗口看不到标题 */
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-shrink: 0; }
.modal-header h2 { font-size: 22px; }
.modal-close {
  background: none; border: none;
  font-size: 22px; cursor: pointer; color: var(--text-muted);
}
.modal-body { margin-bottom: 24px; overflow-y: auto; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; }
.modal-footer { display: flex; gap: 12px; justify-content: flex-end; flex-shrink: 0; }

/* ==================== Auth Tabs ==================== */
.auth-tabs { display: flex; gap: 8px; }
.auth-tab {
  padding: 8px 24px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.auth-tab:hover { color: var(--primary); }
.avatar-text { font-size: 18px; }

/* ==================== 顶栏发布下拉 ==================== */
.publish-wrap { position: relative; display: inline-flex; }
.publish-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 168px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 200;
}
.publish-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease;
}
.publish-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ==================== Toast ==================== */
.toast {
  position: fixed; top: 24px; right: 24px;
  background: var(--text); color: white;
  padding: 14px 24px; border-radius: var(--radius-sm);
  font-weight: 500; z-index: 300;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ==================== Search Results Page ==================== */
.search-results-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.search-results-header h2 { font-size: 20px; }
.search-results-header p { color: var(--text-secondary); font-size: 14px; }

/* ==================== User Dropdown Menu ==================== */
.user-menu { position: relative; display: flex; align-items: center; }
.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  z-index: 150;
  overflow: hidden;
}
.user-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}
.user-dropdown a:hover { background: var(--primary-light); color: var(--primary); }

/* ==================== Star Rating ==================== */
.star-rating { display: flex; gap: 4px; }
.star-rating .star {
  font-size: 32px;
  cursor: pointer;
  color: #d1d5db;
  transition: var(--transition);
}
.star-rating .star:hover,
.star-rating .star.active { color: #f59e0b; transform: scale(1.15); }

/* V12-C 评价多维标签 */
.review-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.review-tag-chip {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid #e5e7eb; background: #f9fafb;
  font-size: 13px; color: var(--text-secondary);
  cursor: pointer; user-select: none;
  transition: all .2s;
}
.review-tag-chip:hover { border-color: #7c3aed; color: #7c3aed; }
.review-tag-chip.selected {
  border-color: #7c3aed; background: linear-gradient(135deg, #ede9fe, #f3e8ff);
  color: #5b21b6; font-weight: 600;
}
.review-tags-display { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.review-tag-badge {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: 999px;
  background: #ede9fe; color: #6d28d9;
  font-size: 12px; border: 1px solid #ddd6fe;
}

/* ==================== Form Section Title ==================== */
.form-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border);
}

/* ==================== Order Detail ==================== */
.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
}
.order-detail-main { display: flex; flex-direction: column; gap: 20px; }
.order-detail-chat { }
.detail-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.detail-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.detail-info-row {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.detail-message {
  margin-top: 12px;
  padding: 12px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--primary-dark);
}
.skill-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.skill-detail-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 8px 0;
}
.skill-extra {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  padding: 6px 10px;
  background: var(--bg);
  border-radius: 6px;
}
.skill-extra a { color: var(--primary); text-decoration: underline; }

/* ==================== Review Item ==================== */
.review-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.review-item:last-child { border-bottom: none; }
.review-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* ==================== Chat Panel ==================== */
.chat-panel {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 200px);
  min-height: 500px;
  position: sticky;
  top: 80px;
}
.chat-header {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}
.chat-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 40px 0;
}
.chat-msg { display: flex; gap: 8px; max-width: 85%; }
.chat-msg-me { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-other { align-self: flex-start; }
.chat-msg-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.chat-msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}
.chat-msg-me .chat-msg-bubble {
  background: var(--primary);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-msg-other .chat-msg-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg-name {
  font-size: 11px;
  margin-bottom: 2px;
  opacity: 0.7;
}
.chat-msg-text { white-space: pre-wrap; }
.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-input-area textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  resize: none;
  font-family: inherit;
}
.chat-input-area textarea:focus { border-color: var(--primary); }
.chat-disabled {
  padding: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

/* ==================== My List (Skills/Demands Management) ==================== */
.my-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.my-list-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  border: 1px solid transparent;
}
.my-list-item:hover { border-color: var(--primary-light); }
.my-list-info { flex: 1; }
.my-list-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ==================== Small Button ==================== */
.btn-sm { padding: 6px 14px; font-size: 13px; border-radius: 6px; }

/* ==================== Price Reference ==================== */
.price-ref-card {
  margin-top: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border-left: 3px solid #10b981;
  border-radius: 6px;
  font-size: 12px;
  color: #065f46;
  line-height: 1.5;
}
.price-ref-card strong { color: #047857; font-weight: 700; }
.price-ref-card .ref-loading { color: #6b7280; font-style: italic; }
.price-ref-card .ref-error { color: #dc2626; }

/* ==================== Description Table ==================== */
.desc-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-card);
}
.desc-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.desc-row:last-child { border-bottom: none; }
.desc-row:hover { background: #f8fafc; }
.desc-num {
  width: 26px; height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.desc-title {
  width: 110px; min-width: 110px; flex-shrink: 0;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.desc-title:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.desc-detail {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.desc-detail:focus { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-light); }
.desc-remove {
  width: 26px; height: 26px; min-width: 26px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  line-height: 1;
}
.desc-remove:hover { background: #fef2f2; color: var(--danger); }
.add-desc-row-btn { font-size: 12px; padding: 5px 14px; }

/* ==================== Description Display (in Cards) ==================== */
.desc-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  list-style: decimal;
}
.desc-list li { margin-bottom: 3px; }
.desc-list li strong { color: var(--text); }

/* ==================== Changelog Timeline ==================== */
.changelog-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}
.changelog-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 50%, var(--border) 100%);
  transform: translateX(-50%);
}
.changelog-month {
  text-align: center;
  margin: 36px 0 20px;
  position: relative;
  z-index: 1;
}
.changelog-month:first-child { margin-top: 0; }
.changelog-month-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.changelog-entry {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
  position: relative;
}
.changelog-entry:nth-child(odd) { flex-direction: row; }
.changelog-entry:nth-child(even) { flex-direction: row-reverse; }
.changelog-date-col {
  width: 46%;
  text-align: right;
  padding-right: 30px;
}
.changelog-entry:nth-child(even) .changelog-date-col {
  text-align: left;
  padding-right: 0;
  padding-left: 30px;
}
.changelog-date {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.changelog-time {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 6px;
}
.changelog-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary-light);
  z-index: 2;
  margin-top: 4px;
}
.changelog-card-col {
  width: 46%;
  padding-left: 30px;
}
.changelog-entry:nth-child(even) .changelog-card-col {
  padding-left: 0;
  padding-right: 30px;
}
.changelog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--transition);
}
.changelog-entry:nth-child(even) .changelog-card {
  border-left: none;
  border-right: 4px solid var(--primary);
}
.changelog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.changelog-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.changelog-card-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
.tag-feature { background: #dbeafe; color: #1d4ed8; }
.tag-fix { background: #fef2f2; color: #dc2626; }
.tag-improve { background: #f0fdf4; color: #16a34a; }
.tag-deploy { background: #fef3c7; color: #b45309; }
.changelog-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.changelog-loading {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
  font-size: 14px;
}

/* ==================== Detail Page (技能/需求详情页) ==================== */
.detail-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px 20px 40px;
  position: relative;
}
.btn-back-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  font-family: inherit;
}
.btn-back-detail:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
  transform: translateX(-2px);
}
.detail-loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 15px;
}

.detail-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Hero 区域 */
.detail-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.detail-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, rgba(99,102,241,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.detail-hero-type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.detail-hero-type.demand {
  background: #fef3c7;
  color: #b45309;
}
.detail-hero-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
  word-break: break-word;
}
.detail-hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}
.detail-hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid #fecaca;
}
.detail-hero-price .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--danger);
}
.detail-hero-price .unit {
  font-size: 14px;
  color: var(--text-secondary);
}
.detail-hero-budget {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid #fcd34d;
}
.detail-hero-budget .num {
  font-size: 28px;
  font-weight: 800;
  color: #b45309;
}
.detail-hero-budget .unit {
  font-size: 14px;
  color: var(--text-secondary);
}

/* 用户/发布者卡 */
.detail-poster {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.detail-poster-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  flex-shrink: 0;
}
.detail-poster-info { flex: 1; min-width: 0; }
.detail-poster-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.detail-poster-name .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #ecfdf5;
  color: var(--success);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.detail-poster-meta {
  font-size: 13px;
  color: var(--text-muted);
}
.detail-poster-rating {
  text-align: right;
  flex-shrink: 0;
}
.detail-poster-rating .stars {
  color: var(--secondary);
  font-size: 16px;
  font-weight: 700;
}
.detail-poster-rating .label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 元信息网格 */
.detail-meta {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.detail-meta-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.detail-meta-label {
  font-size: 12px;
  color: var(--text-muted);
}
.detail-meta-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}
.detail-meta-value.urgency-high { color: var(--danger); }
.detail-meta-value.urgency-medium { color: #d97706; }
.detail-meta-value.urgency-low { color: var(--success); }

/* 描述卡 */
.detail-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.detail-section-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.detail-section-body {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}
.detail-section-body p { margin-bottom: 8px; }

/* 标签 */
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.detail-tag.demand {
  background: #fef3c7;
  color: #92400e;
}

/* 证书图片网格 */
.detail-cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.detail-cert-item {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-cert-item:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.detail-cert-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 资质列表 */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}
.detail-list-item .bullet {
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* 操作按钮区 */
.detail-actions {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  bottom: 16px;
  z-index: 50;
}
.detail-actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
}
.detail-owner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* 描述项表格 (技能描述) */
.detail-desc-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-desc-row {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}
.detail-desc-num {
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  align-self: center;
}
.detail-desc-content { flex: 1; }
.detail-desc-name { font-weight: 700; margin-bottom: 4px; color: var(--text); }
.detail-desc-detail { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 8px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .hero { flex-direction: column; padding: 30px 0; gap: 30px; }
  .hero-title { font-size: 30px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta-btn { padding: 12px 18px; font-size: 15px; }
  .hero-visual { width: 250px; height: 250px; }
  .hero-circle { width: 140px; height: 140px; }
  .stats-bar { gap: 8px; padding: 10px 8px; }
  .skill-grid { grid-template-columns: 1fr; }
  .demand-list, .activities-list, .showcase-list { grid-template-columns: 1fr; }
  .match-container { grid-template-columns: 1fr; }
  .how-it-works { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .breakdown-grid { grid-template-columns: repeat(5, 1fr); }
  .order-detail-grid { grid-template-columns: 1fr; }
  .chat-panel { height: 400px; min-height: 400px; position: static; }
}

/* ==================== V3 新增样式 ==================== */

/* --- Header Icons & Badges --- */
.icon-badge-wrapper { position: relative; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 8px; transition: var(--transition); }
.icon-badge-wrapper:hover { background: var(--bg); }
.icon-badge-icon { font-size: 20px; }
.icon-badge-num { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px; line-height: 1; }
/* nav-item 内的红点 - 行内紧凑显示 */
.nav-item .icon-badge-num { position: relative; top: auto; right: auto; min-width: 18px; height: 18px; font-size: 11px; padding: 0 5px; }

/* --- V31: 我的消息面板（对话 + 通知 二合一） --- */
.my-messages-panel { position: fixed; top: 64px; right: 16px; width: 400px; max-height: 620px; background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 1000; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); }
.my-messages-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--bg-card); flex-shrink: 0; }
.my-messages-header h3 { font-size: 16px; margin: 0; }
.my-messages-actions { display: flex; gap: 8px; }
.my-messages-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.my-messages-section { display: flex; flex-direction: column; border-bottom: 1px solid var(--border); }
.my-messages-section:last-child { border-bottom: none; flex: 1; min-height: 0; }
.my-messages-section-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--bg); border-bottom: 1px solid var(--border); flex-shrink: 0; }
.my-messages-section-title { font-size: 13px; font-weight: 600; color: var(--text); }
.my-messages-viewall { font-size: 12px; color: var(--primary); text-decoration: none; cursor: pointer; }
.my-messages-viewall:hover { text-decoration: underline; }
.my-messages-list { max-height: 220px; overflow-y: auto; padding: 4px 0; }
.my-messages-section:last-child .my-messages-list { max-height: 320px; flex: 1; }
.my-messages-empty { padding: 18px 16px; text-align: center; color: var(--text-muted, #999); font-size: 13px; }

/* 对话项 */
.my-messages-conv-item { display: flex; gap: 10px; padding: 10px 14px; cursor: pointer; transition: var(--transition); border-bottom: 1px solid var(--border); }
.my-messages-conv-item:last-child { border-bottom: none; }
.my-messages-conv-item:hover { background: var(--bg); }
.my-messages-conv-item.unread { background: var(--primary-light, rgba(124,58,237,0.06)); }
.my-messages-conv-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 20px; overflow: hidden; }
.my-messages-conv-avatar img { width: 100%; height: 100%; object-fit: cover; }
.my-messages-conv-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.my-messages-conv-row1 { display: flex; align-items: center; gap: 6px; }
.my-messages-conv-name { font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.my-messages-conv-badge { min-width: 18px; height: 18px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; line-height: 1; }
.my-messages-conv-preview { font-size: 12px; color: var(--text-muted, #666); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-messages-conv-time { font-size: 11px; color: var(--text-muted, #999); }

/* --- Notification Panel --- */
.notification-panel { position: fixed; top: 64px; right: 16px; width: 360px; max-height: 480px; background: var(--bg-card); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 1000; display: flex; flex-direction: column; overflow: hidden; }
.notification-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notification-panel-header h3 { font-size: 16px; margin: 0; }
.notification-panel-list { flex: 1; overflow-y: auto; padding: 8px; }
.notif-item { padding: 12px; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); border-bottom: 1px solid var(--border); }
.notif-item:hover { background: var(--bg); }
.notif-item.unread { background: var(--primary-light); }
.notif-item:last-child { border-bottom: none; }
.notif-title { font-weight: 600; font-size: 14px; }
.notif-msg { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }
.notif-time { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.notif-dot { display: inline-block; width: 6px; height: 6px; background: var(--primary); border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.notification-empty { text-align: center; padding: 30px; color: var(--text-muted); font-size: 14px; }

.btn-text { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 13px; padding: 4px 8px; }
.btn-text:hover { text-decoration: underline; }

/* --- Message Center / Conversation List --- */
.conversation-list { max-width: 720px; margin: 0 auto; }
.conv-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); cursor: pointer; transition: var(--transition); border-bottom: 1px solid var(--border); }
.conv-item:hover { background: var(--bg); }
.conv-item.unread { background: var(--primary-light); }
.conv-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.conv-info { flex: 1; min-width: 0; }
.conv-name { font-weight: 600; font-size: 15px; }
.conv-title { font-size: 13px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-preview { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.conv-meta { text-align: right; flex-shrink: 0; }
.conv-time { font-size: 12px; color: var(--text-muted); }
.conv-badge { display: inline-block; margin-top: 4px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 2px 8px; min-width: 22px; text-align: center; }
.conv-status { font-size: 12px; padding: 2px 8px; border-radius: 10px; margin-top: 4px; }
.conv-status.active { background: #d1fae5; color: #065f46; }
.conv-status.completed { background: #e0e7ff; color: #3730a3; }
.conv-status.cancelled { background: #fee2e2; color: #991b1b; }

/* --- Advanced Search --- */
.search-filters { background: var(--bg-card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; max-width: 800px; margin-left: auto; margin-right: auto; }
.filter-row { display: flex; gap: 16px; margin-bottom: 12px; }
.filter-row:last-of-type { margin-bottom: 0; }
.filter-group { flex: 1; }
.filter-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.filter-input, .filter-select { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; background: #fff; transition: var(--transition); }
.filter-input:focus, .filter-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { flex: 1; }
.price-range span { color: var(--text-muted); flex-shrink: 0; }
.search-results { max-width: 800px; margin: 0 auto; }
.search-result-card { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--bg-card); box-shadow: var(--shadow); margin-bottom: 12px; cursor: pointer; transition: var(--transition); }
.search-result-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.search-result-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.search-result-info { flex: 1; min-width: 0; }
.search-result-title { font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.search-result-meta { font-size: 13px; color: var(--text-secondary); }
.search-result-desc { font-size: 13px; color: var(--text-muted); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-result-price { font-weight: 700; font-size: 18px; color: var(--danger); flex-shrink: 0; text-align: right; }
.search-result-rating { color: var(--secondary); font-size: 13px; }

/* --- Pagination --- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; padding: 16px; }
.pagination button { padding: 6px 14px; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; font-size: 14px; transition: var(--transition); }
.pagination button:hover:not(:disabled) { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }
.pagination .page-current { font-weight: 600; color: var(--primary); }

/* --- Wallet --- */
/* V17：服务方激活收款（收款账户状态卡） */
.wallet-payee-card { max-width: 900px; margin: 0 auto 16px; }
.payee-card { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.05); }
.payee-icon { font-size: 30px; line-height: 1; }
.payee-info { flex: 1; }
.payee-title { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.payee-sub { font-size: 13px; color: var(--text-secondary, #6b7280); line-height: 1.5; }
.payee-reject { color: #dc2626; }
.payee-card .btn-sm { margin-top: 8px; }
.payee-ok { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border-color: #bbf7d0; }
.payee-ok .payee-title { color: #15803d; }
.payee-wait { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: #fde68a; }
.payee-wait .payee-title { color: #b45309; }
.payee-none { background: linear-gradient(135deg, #eef2ff, #e0e7ff); border-color: #c7d2fe; }
.payee-none .payee-title { color: #4338ca; }

/* V17：激活收款弹窗 */
.merchant-modal .modal-body { overflow-y: auto; max-height: 62vh; }
.merchant-tip { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.6; margin-bottom: 14px; }
.merchant-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.merchant-form .form-group { display: flex; flex-direction: column; gap: 5px; }
.merchant-form .form-group:nth-child(7),
.merchant-form .form-group:nth-child(8) { grid-column: 1 / -1; }
.merchant-form label { font-size: 12px; font-weight: 600; color: var(--text-secondary, #6b7280); }
.merchant-form input,
.merchant-form select { width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; background: #fff; box-sizing: border-box; }
.merchant-form input:focus,
.merchant-form select:focus { border-color: #7c3aed; outline: none; box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.merchant-img-preview { margin-top: 4px; }
.merchant-img-preview img { width: 100%; max-height: 110px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.merchant-legal { margin-top: 12px; font-size: 11px; color: #9ca3af; text-align: center; }
@media (max-width: 640px) {
  .merchant-form { grid-template-columns: 1fr; }
  .merchant-form .form-group:nth-child(7),
  .merchant-form .form-group:nth-child(8) { grid-column: auto; }
}

.wallet-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto 24px; }
.wallet-card { background: var(--bg-card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-align: center; }
.wallet-card .amount { font-size: 28px; font-weight: 700; margin: 8px 0; }
.wallet-card .amount.income { color: var(--success); }
.wallet-card .amount.expense { color: var(--danger); }
.wallet-card .amount.balance { color: var(--primary); }
.wallet-card .label { font-size: 13px; color: var(--text-muted); }
.wallet-card .sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.wallet-transactions { max-width: 900px; margin: 0 auto; }
.wallet-transactions h3 { margin-bottom: 12px; }
.txn-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); border-bottom: 1px solid var(--border); }
.txn-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.txn-icon.income { background: #d1fae5; }
.txn-icon.expense { background: #fee2e2; }

/* --- P0: 信用分体系 --- */
.credit-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.credit-badge.gold { background: #fef3c7; color: #b45309; border: 1px solid #f59e0b; }
.credit-badge.silver { background: #f1f5f9; color: #475569; border: 1px solid #94a3b8; }
.credit-badge.bronze { background: #fff7ed; color: #c2410c; border: 1px solid #d97706; }
.credit-badge.low { background: #ecfdf5; color: #047857; border: 1px solid #10b981; }

/* --- Day5: 服务者等级 --- */
.level-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 20px; margin-left: 6px; vertical-align: middle; white-space: nowrap; background: #f1f5f9; background: color-mix(in srgb, var(--lv-color, #b45309) 12%, #fff); color: var(--lv-color, #b45309); border: 1px solid #e2e8f0; border-color: color-mix(in srgb, var(--lv-color, #b45309) 45%, #fff); }
.ov-level-score { margin-left: 8px; font-size: 12px; color: #94a3b8; font-weight: 500; }
.level-hero { display: flex; align-items: center; gap: 18px; background: #f8fafc; background: linear-gradient(135deg, color-mix(in srgb, var(--lv-color, #7c3aed) 16%, #fff) 0%, #fff 70%); border: 1px solid #e2e8f0; border-color: color-mix(in srgb, var(--lv-color, #7c3aed) 30%, #fff); border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.level-hero-icon { font-size: 56px; line-height: 1; }
.level-hero-title { font-size: 22px; font-weight: 800; color: var(--lv-color, #7c3aed); }
.level-hero-score { margin: 4px 0 10px; color: #64748b; font-size: 13px; }
.level-progress { height: 10px; background: #e2e8f0; border-radius: 20px; overflow: hidden; }
.level-progress-bar { height: 100%; border-radius: 20px; transition: width .5s ease; }
.level-progress-text { margin-top: 6px; font-size: 12px; color: #94a3b8; }
.level-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.level-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 18px; margin-bottom: 14px; }
.level-card h3 { margin: 0 0 10px; font-size: 15px; }
.level-perk-list { list-style: none; margin: 0; padding: 0; }
.level-perk-list li { padding: 6px 0; font-size: 13px; color: #334155; border-bottom: 1px dashed #f1f5f9; }
.level-perk-list li:last-child { border-bottom: none; }
.level-perk-list li.is-locked { color: #94a3b8; }
.level-ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.level-ladder-item { text-align: center; padding: 12px 6px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; opacity: .55; transition: all .2s ease; }
.level-ladder-item.is-reached { opacity: 1; border-color: #f59e0b; border-color: color-mix(in srgb, var(--lv-color, #b45309) 50%, #fff); background: #fffbeb; background: color-mix(in srgb, var(--lv-color, #b45309) 6%, #fff); }
.level-ladder-item.is-current { outline: 2px solid var(--lv-color, #7c3aed); opacity: 1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.level-ladder-icon { font-size: 30px; }
.level-ladder-name { font-weight: 700; margin-top: 4px; font-size: 13px; color: #334155; }
.level-ladder-min { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.level-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.level-guide-item { display: flex; gap: 10px; align-items: flex-start; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; }
.level-guide-icon { font-size: 22px; }
.level-guide-text { font-size: 13px; color: #334155; font-weight: 600; }
.level-guide-val { color: #16a34a; font-weight: 700; margin-left: 2px; }
.level-guide-cur { font-size: 12px; color: #94a3b8; margin-top: 3px; }
@media (max-width: 768px) {
  .level-grid { grid-template-columns: 1fr; }
  .level-guide-grid { grid-template-columns: repeat(2, 1fr); }
  .level-ladder { grid-template-columns: repeat(3, 1fr); }
}
/* V12-A 信用分面板 */
.credit-hero { display: flex; align-items: center; gap: 18px; background: #f8fafc; background: linear-gradient(135deg, color-mix(in srgb, var(--c-color, #10b981) 14%, #fff) 0%, #fff 70%); border: 1px solid #e2e8f0; border-color: color-mix(in srgb, var(--c-color, #10b981) 30%, #fff); border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.credit-hero-icon { font-size: 56px; line-height: 1; }
.credit-hero-body { flex: 1; min-width: 0; }
.credit-hero-title { font-size: 22px; font-weight: 800; color: var(--c-color, #10b981); }
.credit-hero-score { margin: 4px 0 10px; font-size: 30px; font-weight: 800; color: #0f172a; }
.credit-hero-score span { font-size: 13px; font-weight: 500; color: #64748b; }
.credit-progress { height: 10px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.credit-progress-bar { height: 100%; border-radius: 999px; transition: width .4s; }
.credit-hero-dim { margin-top: 10px; font-size: 12px; color: #64748b; }
.credit-sec-title { font-size: 16px; margin: 20px 0 10px; color: #0f172a; }
.credit-rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.credit-rule-item { display: flex; gap: 10px; align-items: flex-start; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; }
.credit-rule-icon { font-size: 20px; }
.credit-rule-name { font-size: 13px; color: #334155; font-weight: 600; }
.credit-rule-name em { color: #10b981; font-style: normal; font-weight: 700; }
.credit-rule-desc { font-size: 12px; color: #94a3b8; margin-top: 3px; }
.credit-events { display: flex; flex-direction: column; gap: 8px; }
.credit-event-item { display: flex; align-items: center; gap: 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; }
.credit-event-icon { font-size: 20px; }
.credit-event-info { flex: 1; min-width: 0; }
.credit-event-title { font-size: 13px; color: #334155; font-weight: 600; }
.credit-event-date { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.credit-event-delta { font-size: 16px; font-weight: 800; }
.credit-event-delta.up { color: #16a34a; }
.credit-event-delta.down { color: #dc2626; }
@media (max-width: 768px) {
  .credit-rules { grid-template-columns: 1fr; }
}
/* V12-B 优惠券 */
.coupon-tabs { display: flex; gap: 10px; margin-bottom: 14px; }
.coupon-tab { flex: 1; padding: 10px; border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: #475569; }
.coupon-tab.active { background: linear-gradient(135deg, #ec4899, #f97316); color: #fff; border-color: transparent; }
.coupon-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(15,23,42,.05); overflow: hidden; position: relative; }
.coupon-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #ec4899, #f97316); }
.coupon-card.used { opacity: .6; }
.coupon-card.used::before { background: #94a3b8; }
.coupon-card.expired { opacity: .5; }
.coupon-card.expired::before { background: #94a3b8; }
.coupon-card-left { min-width: 92px; text-align: center; border-right: 1px dashed #e2e8f0; padding-right: 14px; }
.coupon-val { font-size: 24px; font-weight: 800; color: #e11d48; }
.coupon-cond { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.coupon-card-mid { flex: 1; min-width: 0; }
.coupon-title { font-size: 15px; font-weight: 700; color: #0f172a; }
.coupon-desc { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.coupon-card-right { flex-shrink: 0; }
.coupon-btn { display: inline-block; padding: 8px 18px; border: none; border-radius: 999px; background: linear-gradient(135deg, #ec4899, #f97316); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.coupon-btn.claimed { background: #f1f5f9; color: #94a3b8; cursor: default; }
.coupon-mine-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.coupon-mtab { padding: 6px 14px; border: 1px solid #e2e8f0; background: #f8fafc; border-radius: 999px; font-size: 13px; cursor: pointer; color: #475569; }
.coupon-mtab.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.coupon-pick-box { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.coupon-pick-box .cp-title { font-size: 13px; font-weight: 700; color: #166534; margin-bottom: 8px; }
.cp-select { width: 100%; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13px; background: #fff; }
.admin-toolbar .btn-sm { padding: 6px 14px; font-size: 13px; }
.wallet-credit { max-width: 900px; margin: 24px auto; }
.wallet-credit h3 { margin-bottom: 12px; }
.credit-box { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); border-radius: 16px; padding: 24px; color: #f8fafc; }
.credit-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.credit-score-num { font-size: 40px; font-weight: 800; background: linear-gradient(90deg, #fbbf24, #f59e0b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.credit-level { font-size: 16px; font-weight: 600; color: #fbbf24; }
.credit-bar { height: 8px; background: #334155; border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.credit-bar-fill { height: 100%; background: linear-gradient(90deg, #fbbf24, #f59e0b); border-radius: 4px; transition: width .5s ease; }
.credit-dim { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #cbd5e1; margin-bottom: 14px; }
.credit-tips { border-top: 1px solid #334155; padding-top: 12px; }
.credit-tip { font-size: 13px; color: #94a3b8; line-height: 2; }
.txn-info { flex: 1; }
.txn-title { font-size: 14px; font-weight: 600; }
.txn-date { font-size: 12px; color: var(--text-muted); }
.txn-amount { font-weight: 700; font-size: 16px; }
.txn-amount.income { color: var(--success); }
.txn-amount.expense { color: var(--danger); }

/* --- Settings --- */
.settings-container { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.settings-card { background: var(--bg-card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.settings-card h3 { margin-bottom: 16px; font-size: 16px; }
.settings-card-danger { border: 1px solid #fecaca; background: linear-gradient(180deg, #fff5f5 0%, #ffffff 60%); }
.settings-card-danger h3 { color: #b91c1c; }
.btn.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; border: none; padding: 10px 22px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: 0 2px 6px rgba(239,68,68,0.25); transition: transform .15s ease, box-shadow .15s ease; }
.btn.btn-danger:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(239,68,68,0.35); }
.btn.btn-danger:active { transform: translateY(0); }
.avatar-picker { display: flex; align-items: center; gap: 14px; }
.avatar-preview { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 28px; }
.sms-input-row { display: flex; gap: 8px; }
.sms-input-row input { flex: 1; }
.verify-status { padding: 10px 14px; background: var(--bg); border-radius: var(--radius-sm); margin-bottom: 12px; font-size: 14px; }

/* --- Face Verification --- */
.face-capture-area { padding: 40px; border: 2px dashed var(--border); border-radius: var(--radius); margin: 12px 0; background: var(--bg); }
.face-result { padding: 20px; }
.face-result .success-icon { font-size: 48px; }
.face-result .fail-text { color: var(--danger); }

/* --- Loading Spinner --- */
.loading-spinner { text-align: center; padding: 40px; color: var(--text-muted); font-size: 14px; }

/* --- Quick action buttons in order cards --- */
.order-card-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }

/* --- V7: 个人中心（左菜单 + 右内容） --- */
.profile-layout { display: flex; gap: 20px; align-items: flex-start; max-width: 1280px; margin: 0 auto; padding: 24px 16px; }
.profile-sidebar { width: 240px; flex-shrink: 0; position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; }
.profile-user-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.profile-name { font-size: 16px; font-weight: 700; color: var(--text-primary); word-break: break-all; }
.profile-phone { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.profile-badge { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 20px; font-size: 12px; background: #f3f4f6; color: #6b7280; }
.profile-badge.admin { background: #eef2ff; color: #4f46e5; font-weight: 600; }
.profile-menu { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.profile-menu-title { font-size: 12px; color: var(--text-muted); padding: 10px 12px 4px; font-weight: 600; letter-spacing: .5px; }
.profile-menu-item { display: block; padding: 9px 12px; border-radius: 8px; color: var(--text-primary); font-size: 14px; cursor: pointer; transition: all .15s; border-left: 3px solid transparent; }
.profile-menu-item:hover { background: var(--bg); }
.profile-menu-item.active { background: var(--primary-light); color: var(--primary); font-weight: 600; border-left-color: var(--primary); }

/* 管理员专属：默认隐藏，body.user-admin 下显示。
   用显式 display 而非 revert，避免被其它样式（如 mobile .profile-menu-item）
   错误覆盖。配合 !important 防止 inline style 干扰。 */
.admin-only { display: none !important; }
body.user-admin .admin-only { display: block !important; }
body.user-admin .admin-only.profile-menu-title { display: block !important; }
.topbar-user-menu a.admin-only[href] { display: none !important; }
body.user-admin .topbar-user-menu a.admin-only[href] { display: block !important; }
@media (max-width: 768px) {
  body.user-admin .admin-only.profile-menu-item { display: inline-block !important; }
  body.user-admin .admin-only.profile-menu-title { display: none !important; }
}
.profile-main { flex: 1; min-width: 0; }
.profile-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.profile-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.profile-panel-header h2 { font-size: 18px; margin: 0; }
.overview-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.overview-stat { background: var(--bg); border-radius: var(--radius-sm); padding: 16px 10px; text-align: center; }
.overview-stat .os-value { font-size: 24px; font-weight: 700; color: var(--primary); }
.overview-stat .os-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.overview-profile { background: var(--bg); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 18px; }
.overview-profile .ov-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.overview-profile .ov-row:last-child { border-bottom: none; }
.overview-profile .ov-row span { color: var(--text-muted); }
.overview-profile .ov-row b { font-weight: 600; text-align: right; word-break: break-all; }
.overview-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* --- V7: 平台管理 --- */
.admin-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 16px; overflow-x: auto; flex-wrap: wrap; padding-bottom: 2px; }
.admin-tabs::after { content: ''; display: block; flex: 1 0 100%; min-width: 0; }
.admin-tabs::-webkit-scrollbar { height: 6px; }
.admin-tabs::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; }
.admin-tab { padding: 10px 16px; font-size: 14px; color: var(--text-muted); background: transparent; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; margin-bottom: -2px; }
.admin-tab:hover { color: var(--primary); }
.admin-tab.active { color: var(--primary); font-weight: 600; border-bottom-color: var(--primary); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.admin-stat-card { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; text-align: center; border: 1px solid var(--border); }
.admin-stat-card .as-icon { font-size: 22px; }
.admin-stat-card .as-value { font-size: 22px; font-weight: 700; color: var(--text-primary); margin: 4px 0 2px; }
.admin-stat-card .as-label { font-size: 12px; color: var(--text-muted); }
.admin-stat-card.highlight { background: linear-gradient(135deg, #eef2ff, #faf5ff); border-color: #c7d2fe; }
.admin-hint { padding: 12px 16px; background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius-sm); color: #92400e; font-size: 13px; }
/* 资金总览（V46 微信流水并入） */
.fin-section-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin: 18px 0 10px; display: flex; align-items: center; gap: 8px; }
.fin-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.fin-daily-chart { display: flex; align-items: flex-end; gap: 6px; padding: 16px 8px 8px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow-x: auto; min-height: 130px; }
.fin-day { flex: 1 0 34px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 34px; }
.fin-bar-wrap { height: 64px; display: flex; align-items: flex-end; width: 100%; }
.fin-bar { width: 70%; max-width: 22px; margin: 0 auto; background: linear-gradient(180deg, #7c3aed, #a78bfa); border-radius: 4px 4px 0 0; min-height: 2px; }
.fin-day-label { font-size: 10px; color: var(--text-muted); margin-top: 6px; white-space: nowrap; transform: rotate(-30deg); transform-origin: top center; }
.fin-day-val { font-size: 10px; color: var(--text-primary); font-weight: 600; margin-top: 2px; white-space: nowrap; }
.admin-toolbar { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
.admin-search { width: 300px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { background: var(--bg); color: var(--text-muted); font-weight: 600; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; word-break: break-all; }
.admin-table tr:hover td { background: #fafafa; }
.admin-cell-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.admin-tag { display: inline-block; padding: 2px 10px; border-radius: 12px; background: #f3f4f6; color: #6b7280; font-size: 12px; white-space: nowrap; }
.admin-tag-admin { background: #eef2ff; color: #4f46e5; font-weight: 600; }
.admin-empty { text-align: center; color: var(--text-muted); padding: 30px 0 !important; }
.admin-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.admin-pager-info { font-size: 13px; color: var(--text-muted); }
.admin-table .btn-sm { padding: 4px 10px; font-size: 12px; }

/* --- Responsive for V3 --- */
@media (max-width: 768px) {
  .notification-panel { width: calc(100vw - 32px); right: 16px; left: 16px; max-height: 360px; }
  .my-messages-panel { width: calc(100vw - 24px); right: 12px; left: 12px; max-height: 560px; }
  .my-messages-section-title { font-size: 12px; }
  .my-messages-conv-avatar { width: 32px; height: 32px; font-size: 16px; }
  .filter-row { flex-direction: column; gap: 8px; }
  .wallet-overview { grid-template-columns: 1fr 1fr; }
  .search-result-card { flex-direction: column; align-items: center; text-align: center; }
  .search-result-price { text-align: center; }
  .conv-item { flex-wrap: wrap; }
  .conv-meta { width: 100%; text-align: left; display: flex; gap: 8px; align-items: center; }
  .sms-input-row { flex-direction: column; }

  /* 个人中心移动端：左菜单改顶部横向滚动 */
  .profile-layout { flex-direction: column; padding: 16px 12px; }
  .profile-sidebar { width: 100%; position: static; flex-direction: row; }
  .profile-user-card { flex: 1; min-width: 0; }
  .profile-menu { flex: 2; min-width: 0; overflow-x: auto; white-space: nowrap; }
  .profile-menu-title { display: none; }
  .profile-menu-item { display: inline-block; border-left: none; border-bottom: 3px solid transparent; }
  .profile-menu-item.active { border-left-color: transparent; border-bottom-color: var(--primary); }
  .overview-stats { grid-template-columns: repeat(3, 1fr); }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-search { width: 100%; }

  /* 个人中心嵌入容器移动端 */
  .profile-embed-slot .page.profile-embedded { padding: 0 !important; }

  /* 详情页移动端 */
  .detail-page { padding: 12px; }
  .detail-hero { padding: 20px 16px; }
  .detail-hero-title { font-size: 22px; }
  .detail-actions { flex-direction: column; }
  .detail-actions .btn { width: 100%; }
  .detail-meta-grid { grid-template-columns: 1fr; }
}

/* ==================== V4 新增样式 ==================== */

/* --- Tab Bar (通用) --- */
.tab-bar {
  display: flex;
  gap: 8px;
  margin: 16px 0 20px;
  background: var(--bg-secondary, #fff);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.tab-bar .tab-btn {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #666);
  cursor: pointer;
  transition: all .2s;
}
.tab-bar .tab-btn:hover { background: var(--bg-hover, rgba(99,102,241,.08)); }
.tab-bar .tab-btn.active {
  background: var(--primary-color, #6366f1);
  color: #fff;
  box-shadow: 0 2px 6px rgba(99,102,241,.3);
}

/* --- 卡片底部点赞/收藏按钮组 --- */
.card-actions {
  display: flex;
  gap: 10px;
  padding: 8px 12px;
  border-top: 1px solid var(--border-color, #eee);
  margin-top: 8px;
}
.action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 18px;
  font-size: 13px;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  transition: all .2s;
}
.action-btn:hover { background: var(--bg-hover, rgba(0,0,0,.04)); }
.action-btn.active { color: var(--primary-color, #6366f1); border-color: var(--primary-color, #6366f1); background: rgba(99,102,241,.08); }
.action-btn.active.like { color: #ef4444; border-color: #ef4444; background: rgba(239,68,68,.08); }
.action-btn.active.favorite { color: #f59e0b; border-color: #f59e0b; background: rgba(245,158,11,.08); }
.action-btn .count { font-size: 12px; font-weight: 600; }

/* --- 备份管理 --- */
.backup-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 16px 0;
}
.backup-tip {
  flex: 1;
  min-width: 240px;
  padding: 8px 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  color: #92400e;
  font-size: 13px;
}

.backup-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.backup-stat {
  padding: 14px 18px;
  background: linear-gradient(135deg, #f0f9ff, #e0e7ff);
  border: 1px solid #c7d2fe;
  border-radius: 12px;
}
.backup-stat-label { font-size: 12px; color: #64748b; }
.backup-stat-value { font-size: 24px; font-weight: 700; color: #1e40af; margin-top: 4px; }

.backup-list { display: flex; flex-direction: column; gap: 12px; }
.backup-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: all .2s;
}
.backup-item:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08); transform: translateY(-1px); }
.backup-item-info { flex: 1; }
.backup-item-version { font-size: 16px; font-weight: 600; color: #1f2937; }
.backup-item-label { font-size: 13px; color: #6b7280; margin-top: 4px; }
.backup-item-meta { font-size: 12px; color: #9ca3af; margin-top: 6px; display: flex; gap: 12px; flex-wrap: wrap; }
.backup-item-meta span { display: inline-flex; align-items: center; gap: 4px; }
.backup-item-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.backup-item-actions .btn { padding: 6px 12px; font-size: 13px; }

/* 自动备份徽章 + 代码包徽章 */
.backup-item.auto { border-left: 4px solid #6366f1; background: linear-gradient(to right, #eef2ff 0%, transparent 80%); }
.backup-item.manual { border-left: 4px solid #e5e7eb; }
.backup-auto-tag { display: inline-block; padding: 2px 8px; margin-left: 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #4338ca; background: #eef2ff; border: 1px solid #c7d2fe; vertical-align: middle; }
.backup-code-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; border: 1px solid; }
.backup-code-badge.cached { color: #047857; background: #d1fae5; border-color: #6ee7b7; }
.backup-code-badge.expired { color: #92400e; background: #fef3c7; border-color: #fde68a; }

/* 自动备份状态卡 */
.auto-backup-status { background: linear-gradient(135deg, #eef2ff, #faf5ff); border: 1px solid #c7d2fe; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; }
.auto-backup-status .abs-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; }
.auto-backup-status .abs-label { color: #4338ca; font-weight: 600; min-width: 180px; }
.auto-backup-status .abs-value { color: var(--text-primary); flex: 1; }
.auto-backup-status .abs-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }

.empty-tip {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
  font-size: 14px;
}

/* --- 详情页点赞/收藏按钮 --- */
.detail-lf-actions {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.detail-action-btn {
  flex: 1;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary, #64748b);
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.detail-action-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.detail-action-btn.active.like { background: #fff1f2; border-color: #ef4444; color: #ef4444; }
.detail-action-btn.active.favorite { background: #fffbeb; border-color: #f59e0b; color: #f59e0b; }
.detail-action-btn .count {
  font-size: 13px;
  padding: 2px 8px;
  background: rgba(0,0,0,.06);
  border-radius: 10px;
  min-width: 28px;
  text-align: center;
}
.detail-action-btn.active.like .count { background: rgba(239,68,68,.15); }
.detail-action-btn.active.favorite .count { background: rgba(245,158,11,.15); }

/* --- V4 响应式 --- */
@media (max-width: 768px) {
  .tab-bar { padding: 4px; }
  .tab-bar .tab-btn { padding: 8px 10px; font-size: 13px; }
  .card-actions { padding: 6px 8px; gap: 6px; }
  .action-btn { padding: 5px 8px; font-size: 12px; }
  .backup-item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .backup-item-actions { width: 100%; justify-content: stretch; }
  .backup-item-actions .btn { flex: 1; }
  .detail-lf-actions { flex-direction: column; }
}

/* ==================== P1 先聊聊：意向会话弹窗 ==================== */
/* 先聊聊要盖在所有弹窗之上（含企业家供求详情等内层弹窗），保持对照体验 */
#chatModal { z-index: 2100; background: transparent; pointer-events: none; }
#chatModal > .modal { pointer-events: auto; box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 0 0 1px rgba(124,58,237,0.15); animation: chatFloatIn 0.18s ease-out; }
@keyframes chatFloatIn { from { transform: translateY(8px) scale(0.98); opacity: 0.6; } to { transform: none; opacity: 1; } }
.chat-modal { max-width: 460px; }
.chat-modal-body {
  display: flex;
  flex-direction: column;
  padding: 0;
  height: 480px;
  max-height: 70vh;
}
.chat-thread-info {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-loading, .chat-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 40px 0;
}
.chat-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.chat-input-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  font-family: inherit;
  font-size: 14px;
}
.chat-input-row input:focus { border-color: var(--primary); }
.chat-msg-time { font-size: 11px; color: var(--text-muted); opacity: 0.7; }

/* 消息中心：先聊聊 状态标签 */
.conv-status.chat {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

/* ==================== 团购（Group Buy）样式 ==================== */
.group-buy-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.group-buy-tab {
  padding: 8px 18px; border-radius: 20px; border: 1px solid var(--border-color);
  background: #fff; color: var(--text-secondary); cursor: pointer; font-size: 14px; font-weight: 600;
  transition: all .15s;
}
.group-buy-tab.active {
  background: linear-gradient(135deg, #8b5cf6, #ec4899); color: #fff; border-color: transparent;
}
.gb-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .15s;
}
.gb-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.gb-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gb-card-title { font-size: 16px; font-weight: 700; color: var(--text); flex: 1; }
.gb-card-status { font-size: 12px; font-weight: 600; white-space: nowrap; }
.gb-card-meta { display: flex; gap: 14px; color: var(--text-secondary); font-size: 13px; margin-top: 6px; flex-wrap: wrap; }
.gb-price { color: var(--primary); font-weight: 700; font-size: 15px; }
.gb-discount { color: #ef4444; text-decoration: line-through; font-size: 12px; }
.gb-role-badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-top: 6px; }
.gb-role-badge.provider { background: #ede9fe; color: #7c3aed; }
.gb-role-badge.participant { background: #dcfce7; color: #16a34a; }
.gb-progress { height: 6px; background: #f3f4f6; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.gb-progress-bar { height: 100%; background: linear-gradient(90deg, #8b5cf6, #ec4899); border-radius: 3px; transition: width .3s; }
.gb-card-actions { display: flex; gap: 8px; margin-top: 10px; justify-content: flex-end; }
.gb-list { margin-top: 10px; }
.gb-empty { color: var(--text-muted); font-size: 13px; text-align: center; padding: 20px 0; }
.gb-section { background: linear-gradient(135deg, #faf5ff 0%, #fff 60%); }
.gb-section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gb-section-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.gb-form-tip { font-size: 13px; color: #7c3aed; background: #f5f3ff; border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; }
.form-tip { font-size: 12px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.gb-deposit-badge { display: inline-block; margin-left: 8px; font-size: 12px; color: #d97706; background: #fef3c7; border-radius: 10px; padding: 2px 8px; font-weight: 600; }
.gb-deposit-tip { font-size: 13px; color: #b45309; background: #fffbeb; border: 1px dashed #f59e0b; border-radius: 8px; padding: 8px 12px; margin: 10px 0; }
.gb-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.gb-detail-title { font-size: 18px; font-weight: 700; flex: 1; }
.gb-detail-status { font-size: 13px; font-weight: 600; }
.gb-provider-tip { font-size: 12px; color: #7c3aed; background: #f5f3ff; border-radius: 6px; padding: 6px 10px; margin-bottom: 10px; }
.gb-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.gb-detail-item { background: var(--gray-50); border-radius: 8px; padding: 10px; }
.gb-detail-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.gb-detail-value { font-size: 14px; color: var(--text); }
.gb-detail-desc { background: var(--gray-50); border-radius: 8px; padding: 10px 12px; margin-top: 10px; }
.gb-detail-desc p { margin: 6px 0 0; font-size: 13px; color: var(--text-secondary); white-space: pre-wrap; }
.gb-users { margin-top: 12px; }
.gb-users-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.gb-users-list { display: flex; flex-wrap: wrap; gap: 8px; }
.gb-user { display: flex; align-items: center; gap: 8px; background: var(--gray-50); border-radius: 20px; padding: 4px 12px 4px 4px; }
.gb-user-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, #ec4899); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.gb-user-name { font-size: 13px; }
.gb-user-status { font-size: 11px; color: #16a34a; }
.gb-joined-tip { font-size: 13px; color: #16a34a; align-self: center; }
.group-buy-modal .modal { max-width: 560px; }

/* ==================== 活动系统 ==================== */
.activities-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; margin-top: 14px; }
.activity-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.activity-tabs { display: flex; gap: 10px; margin-top: 14px; }
.activity-tab {
  padding: 8px 20px; border-radius: 20px; border: 1px solid var(--border-color);
  background: #fff; font-size: 14px; cursor: pointer; color: var(--text-secondary); transition: all .15s;
}
.activity-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.act-card {
  background: #fff; border: 1px solid var(--border-color); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .15s; cursor: pointer;
}
.act-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.act-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.act-card-title { font-size: 16px; font-weight: 700; color: var(--text); flex: 1; }
.act-card-status { font-size: 12px; font-weight: 600; white-space: nowrap; }
.act-card-meta { display: flex; gap: 14px; color: var(--text-secondary); font-size: 13px; margin-top: 6px; flex-wrap: wrap; align-items: center; }
.act-fee { color: #e8590c; font-weight: 700; }
.act-free { color: #16a34a; font-weight: 700; }
.act-online-badge { background: #e0f2fe; color: #0369a1; font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.act-city-badge { font-size: 12px; color: var(--text-secondary); }
.act-tag-badge { background: #f3f4f6; color: var(--text-secondary); font-size: 11px; padding: 2px 8px; border-radius: 10px; }
.act-progress { height: 6px; background: #f3f4f6; border-radius: 3px; margin-top: 10px; overflow: hidden; }
.act-progress-bar { height: 100%; background: linear-gradient(90deg, #10b981, #06b6d4); border-radius: 3px; transition: width .3s; }
.act-card-org { font-size: 12px; color: var(--text-muted); margin-top: 8px; }
.act-online-tip { font-size: 13px; color: #0369a1; background: #f0f9ff; border-radius: 8px; padding: 8px 12px; margin: 10px 0; }
.act-online-link { font-size: 13px; color: #0369a1; background: #f0f9ff; border-radius: 8px; padding: 8px 12px; margin: 10px 0; }
.act-online-link a { color: #0369a1; font-weight: 600; }
.empty-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* --- 个人中心：右侧面板嵌入独立 page --- */
.profile-embed-slot { width: 100%; min-height: 120px; }
.profile-embed-slot .page-header { display: none !important; }
.profile-embed-slot .page.profile-embedded {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: 100% !important;
  animation: profileEmbedFade .18s ease-out;
}
@keyframes profileEmbedFade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- 邀请有礼（V8 推荐奖励） --- */
.referral-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; background: linear-gradient(135deg, #7c3aed, #a855f7, #ec4899);
  border-radius: 16px; padding: 24px; color: #fff; margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, .25);
}
.referral-hero-left { flex: 1 1 260px; min-width: 0; }
.referral-hero-title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.referral-hero-sub { font-size: 13px; opacity: .94; line-height: 1.7; }
.referral-hero-sub b { color: #ffe27a; }
.referral-code-box {
  text-align: center; background: rgba(255,255,255,.16);
  border: 1px dashed rgba(255,255,255,.6); border-radius: 12px; padding: 14px 24px;
}
.referral-code-label { font-size: 12px; opacity: .9; margin-bottom: 6px; }
.referral-code {
  font-size: 34px; font-weight: 800; letter-spacing: 6px;
  font-family: Consolas, Menlo, monospace; margin-bottom: 8px;
}
.referral-rules {
  background: #f5f3ff; border: 1px solid #e9d5ff; border-radius: 10px;
  padding: 12px 16px; font-size: 12.5px; color: #5b21b6; line-height: 1.7; margin-bottom: 20px;
}
.referral-list-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.referral-event-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: #fff; border: 1px solid #f1f0f5; border-radius: 12px; margin-bottom: 10px;
}
.referral-event-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: #f3e8ff;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.referral-event-info { flex: 1; min-width: 0; font-size: 14px; }
.referral-event-time { font-size: 12px; color: #999; margin-top: 2px; }
.referral-event-right {
  text-align: right; flex-shrink: 0; display: flex;
  flex-direction: column; align-items: flex-end; gap: 4px;
}
.referral-event-points { font-weight: 800; color: #7c3aed; font-size: 16px; }
.referral-event-item .tag { font-size: 11px; padding: 2px 8px; border-radius: 20px; }
.referral-event-item .tag-warn { background: #fef3c7; color: #92400e; }
.referral-event-item .tag-ok { background: #d1fae5; color: #065f46; }

/* ==================== 撮合页：需求摘要卡 + 紧急/距离徽章 ==================== */
.demand-summary-card {
  border-radius: 12px;
  padding: 12px 16px;
  margin-top: 8px;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.demand-summary-card.urgency-high {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fca5a5;
}
.demand-summary-card.urgency-medium {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}
.demand-summary-card.urgency-low {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #86efac;
}
.dsc-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px; gap: 8px; flex-wrap: wrap;
}
.dsc-urgency {
  font-weight: 700; font-size: 14px;
  padding: 4px 10px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 4px;
}
.urgency-high   .dsc-urgency { background: #dc2626; color: #fff; }
.urgency-medium .dsc-urgency { background: #d97706; color: #fff; }
.urgency-low    .dsc-urgency { background: #059669; color: #fff; }
.dsc-time {
  font-size: 12px; color: #6b7280;
}
.dsc-body {
  display: flex; flex-direction: column; gap: 4px;
}
.dsc-location {
  font-size: 14px; color: #1f2937;
}
.dsc-meta {
  font-size: 13px; color: #4b5563;
}
/* 匹配卡片右上角徽章组 */
.match-urgency-pill,
.match-distance-pill {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
}
.match-urgency-pill.urgency-high {
  background: #dc2626; color: #fff;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15);
  animation: urgencyPulse 1.6s ease-in-out infinite;
}
.match-urgency-pill.urgency-medium {
  background: #fbbf24; color: #78350f;
}
.match-urgency-pill.urgency-low {
  background: #d1fae5; color: #065f46;
}
.match-distance-pill {
  background: #ede9fe; color: #5b21b6;
}
.match-distance-pill.muted {
  background: #f3f4f6; color: #9ca3af;
}
@keyframes urgencyPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15); }
  50%      { box-shadow: 0 0 0 5px rgba(220, 38, 38, 0.05); }
}
@media (max-width: 768px) {
  .dsc-head { flex-direction: column; align-items: flex-start; }
  .match-urgency-pill, .match-distance-pill { font-size: 10px; padding: 2px 6px; }
}

/* ==================== AI 一键生成个人简介 ==================== */
.ai-bio-helper {
  background: linear-gradient(135deg, #f5f3ff 0%, #ecfeff 50%, #fef3c7 100%);
  border: 1px solid #ddd6fe;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(124, 58, 237, 0.06);
}
.bio-helper-head {
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 8px;
}
.bio-helper-title {
  font-weight: 600; color: #5b21b6; font-size: 14px;
}
.bio-helper-sub {
  font-size: 12px; color: #6b7280;
}
.chip-input-wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 6px 8px;
  min-height: 42px;
  transition: border-color .15s, box-shadow .15s;
}
.chip-input-wrap:focus-within {
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.bio-chips { display: contents; }
.bio-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  color: #5b21b6;
  padding: 4px 4px 4px 10px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  animation: bioChipIn .18s ease-out;
}
@keyframes bioChipIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.bio-chip .chip-x {
  cursor: pointer; font-weight: bold; padding: 0 5px;
  border-radius: 50%;
  color: #5b21b6; opacity: 0.55;
  line-height: 1; font-size: 14px;
}
.bio-chip .chip-x:hover { background: #5b21b6; color: #fff; opacity: 1; }
#bioChipInput {
  flex: 1; min-width: 140px;
  border: none !important;
  outline: none !important;
  padding: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.bio-tone-row {
  display: flex; gap: 6px; margin: 10px 0 8px;
  font-size: 13px; color: #374151;
  align-items: stretch;
}
.bio-tone-label { color: #6b7280; margin-right: 4px; align-self: center; flex-shrink: 0; white-space: nowrap; font-size: 13px; }
.bio-tone-row label {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer; user-select: none;
  padding: 8px 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
  transition: all .15s ease;
}
.bio-tone-row label:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
}
.bio-tone-row input[type="radio"] {
  accent-color: #7c3aed;
  margin: 0;
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.bio-tone-row label:has(input[type="radio"]:checked),
.bio-tone-row label.is-active {
  /* :has 兼容性：现代浏览器 OK；退化到 .is-active（JS 端兜底） */
  border-color: #7c3aed;
  background: linear-gradient(135deg, #f5f3ff 0%, #ecfeff 100%);
  color: #5b21b6;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(124,58,237,.15);
}
.bio-ai-btn {
  width: 100%;
  margin-top: 4px;
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #0ea5e9 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  cursor: pointer;
}
.bio-ai-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.28);
}
.bio-ai-btn:disabled {
  opacity: 0.7; cursor: wait;
  background: linear-gradient(135deg, #9ca3af, #6b7280) !important;
}
.bio-ai-icon {
  display: inline-block;
  animation: bioSparkle 2.4s ease-in-out infinite;
}
@keyframes bioSparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.18) rotate(8deg); }
}
.bio-helper-hint {
  color: #6b7280; font-size: 12px; margin: 8px 0 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .ai-bio-helper { padding: 10px 12px; }
  .bio-tone-row { gap: 6px; }
  .bio-tone-row label { padding: 6px 4px; font-size: 12px; }
}

/* ==================== V9：每日签到 + 积分商城 ==================== */
.tag-warn {
  color: #d97706; font-size: 11px; background: #fef3c7;
  border-radius: 4px; padding: 1px 6px; display: inline-block;
}
.tag-ok {
  color: #16a34a; font-size: 11px; background: #dcfce7;
  border-radius: 4px; padding: 1px 6px; display: inline-block;
}
/* 每日签到 */
.checkin-top { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.checkin-stat-card {
  flex: 1 1 120px; min-width: 110px; background: #fff;
  border: 1px solid #eee; border-radius: 12px; padding: 14px 10px; text-align: center;
}
.checkin-stat-card.main { background: linear-gradient(135deg, #7c3aed, #4f46e5); border: none; }
.checkin-stat-card.main .checkin-stat-num,
.checkin-stat-card.main .checkin-stat-label { color: #fff; }
.checkin-stat-num { font-size: 22px; font-weight: 700; color: #7c3aed; }
.checkin-stat-label { font-size: 12px; color: #888; margin-top: 4px; }
.checkin-cal {
  background: #fff; border: 1px solid #eee; border-radius: 12px;
  padding: 16px; margin-bottom: 14px;
}
.checkin-cal-title { font-weight: 600; margin-bottom: 10px; color: #333; }
.checkin-cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.checkin-cal-week span { text-align: center; font-size: 12px; color: #999; }
.checkin-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.checkin-cell {
  aspect-ratio: 1; border-radius: 8px; background: #f5f5f7;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #666;
}
.checkin-cell.empty { background: transparent; }
.checkin-cell.done {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff; font-weight: 700;
}
.checkin-cell.today { box-shadow: 0 0 0 2px #f59e0b; color: #b45309; font-weight: 700; }
.checkin-cell.done.today { color: #fff; }
.checkin-actions { text-align: center; margin: 14px 0; }
.checkin-btn { min-width: 220px; padding: 10px 20px; }
.checkin-btn:disabled { opacity: .7; cursor: default; }
.checkin-rules {
  background: #faf5ff; border: 1px dashed #c4b5fd; border-radius: 10px;
  padding: 10px 12px; font-size: 12px; color: #6d28d9;
  margin-bottom: 14px; line-height: 1.7;
}
.checkin-ledger-title { font-weight: 600; color: #333; margin: 10px 0 8px; }
.checkin-ledger { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 4px 14px; }
.ledger-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #f5f5f7; font-size: 13px;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-reason { color: #333; }
.ledger-amount { font-weight: 700; }
.ledger-amount.plus { color: #16a34a; }
.ledger-amount.minus { color: #dc2626; }
/* 积分商城 */
.shop-top { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.shop-balance, .shop-level {
  flex: 1 1 140px; min-width: 130px; background: #fff;
  border: 1px solid #eee; border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column;
}
.shop-balance span, .shop-level span { font-size: 12px; color: #888; }
.shop-balance b { font-size: 26px; color: #7c3aed; margin-top: 4px; }
.shop-level b { font-size: 18px; margin-top: 4px; color: #333; }
.shop-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.shop-card {
  background: #fff; border: 1px solid #eee; border-radius: 14px;
  padding: 18px 16px; display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.shop-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.shop-card.locked { opacity: .55; filter: grayscale(.4); }
.shop-card-icon { font-size: 32px; margin-bottom: 8px; }
.shop-card-name { font-weight: 600; color: #333; margin-bottom: 6px; }
.shop-card-desc { font-size: 12px; color: #888; line-height: 1.6; flex: 1; margin-bottom: 10px; }
.shop-card-foot { display: flex; justify-content: space-between; align-items: center; }
.shop-card-points { font-weight: 700; color: #7c3aed; }
.shop-tip { margin-top: 14px; font-size: 12px; color: #999; line-height: 1.7; }
/* 置顶徽章 */
.skill-boost-badge {
  display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600;
  background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff;
  border-radius: 4px; padding: 1px 6px; vertical-align: middle;
}
/* 兑换弹窗 */
.redeem-confirm { text-align: center; padding: 6px 0 14px; }
.redeem-confirm-icon { font-size: 42px; }
.redeem-confirm-name { font-size: 16px; font-weight: 700; color: #333; margin-top: 8px; }
.redeem-confirm-desc { font-size: 13px; color: #888; margin-top: 6px; line-height: 1.6; }
.redeem-confirm-cost { margin-top: 12px; font-size: 14px; color: #7c3aed; }
.redeem-confirm-cost b { font-size: 18px; }
#redeemModal .form-group { text-align: left; margin-top: 4px; }

/* ==================== V10：成交秀场 ==================== */
.showcase-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0;
}
.showcase-stat {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 1px solid #fde68a; border-radius: 12px;
  padding: 14px 10px; text-align: center;
}
.showcase-stat .num {
  display: block; font-size: 22px; font-weight: 800; color: #7c3aed; line-height: 1.3;
}
.showcase-stat .lbl { display: block; font-size: 12px; color: #a16207; margin-top: 2px; }

.showcase-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  flex-wrap: wrap; margin: 12px 0 16px;
}
.showcase-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.showcase-tab {
  border: 1px solid #e2e8f0; background: #fff; color: #64748b;
  border-radius: 20px; padding: 7px 16px; font-size: 13px; cursor: pointer;
  transition: all .2s;
}
.showcase-tab:hover { border-color: #7c3aed; color: #7c3aed; }
.showcase-tab.active {
  background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; border-color: transparent;
  font-weight: 600; box-shadow: 0 2px 8px rgba(124,58,237,.25);
}
.showcase-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.showcase-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.showcase-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04); transition: box-shadow .2s, transform .2s;
  cursor: pointer;
}
.showcase-card:hover { box-shadow: 0 6px 18px rgba(124,58,237,.10); transform: translateY(-2px); }
.showcase-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.showcase-user { display: flex; gap: 10px; align-items: center; min-width: 0; }
.showcase-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #ede9fe, #f3e8ff);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  flex-shrink: 0; border: 2px solid #ddd6fe;
}
.showcase-avatar.lg { width: 56px; height: 56px; font-size: 28px; }
.showcase-user-name { font-weight: 700; color: #1e293b; font-size: 14px; }
.showcase-user-meta { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.showcase-price {
  font-size: 18px; font-weight: 800; color: #7c3aed; flex-shrink: 0;
}
.showcase-title { margin-top: 12px; font-size: 16px; font-weight: 700; color: #1e293b; }
.showcase-content {
  margin-top: 6px; font-size: 13px; color: #64748b; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.showcase-meta { margin-top: 10px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; color: #94a3b8; }
.showcase-stars { color: #f59e0b; letter-spacing: 1px; }
.showcase-extra { display: inline-flex; align-items: center; gap: 2px; }
.showcase-card-bottom {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed #eef0f4;
  display: flex; justify-content: space-between; align-items: center;
}
.showcase-like {
  border: 1px solid #e2e8f0; background: #fff; border-radius: 20px;
  padding: 5px 14px; font-size: 13px; cursor: pointer; color: #64748b; transition: all .2s;
}
.showcase-like:hover { border-color: #f43f5e; color: #f43f5e; }
.showcase-like.liked { background: #fff1f2; border-color: #fda4af; color: #e11d48; font-weight: 600; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 20px 0 8px; }
.pagination-info { font-size: 13px; color: #94a3b8; }

/* 晒单弹窗 */
#showcaseModal .form-group { text-align: left; margin-top: 2px; }

/* 我的晒单 */
.showcase-mine-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 14px 16px;
  margin-bottom: 10px; flex-wrap: wrap;
}

/* 晒单详情弹窗 */
.showcase-detail-user { display: flex; gap: 12px; align-items: center; }
.showcase-detail-title { margin-top: 14px; font-size: 18px; font-weight: 800; color: #1e293b; }
.showcase-detail-price { margin-top: 8px; font-size: 16px; font-weight: 700; color: #7c3aed; }
.showcase-detail-content {
  margin-top: 10px; background: #f8fafc; border-radius: 10px; padding: 12px 14px;
  font-size: 14px; color: #475569; line-height: 1.8;
}
.showcase-detail-meta { margin-top: 12px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #64748b; }
.showcase-detail-msg { margin-top: 12px; font-size: 13px; color: #64748b; background: #fefce8; border-radius: 8px; padding: 10px 12px; }
.showcase-detail-reviews { margin-top: 16px; }
.showcase-detail-reviews h4 { font-size: 14px; margin-bottom: 8px; color: #334155; }

/* ==================== Day6 担保交易 ==================== */
/* 担保状态徽章 */
.escrow-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; line-height: 1.4;
  padding: 3px 10px; border-radius: 20px; white-space: nowrap;
}
.escrow-badge.escrow-holding { background: #eef2ff; color: #4338ca; border: 1px solid #c7d2fe; }
.escrow-badge.escrow-released { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.escrow-badge.escrow-disputed { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
.escrow-badge.escrow-refunded { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }
/* 订单详情：担保状态框 */
.escrow-status-box {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: #f8fafc; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; margin-top: 8px;
}
.escrow-status-box.escrow-holding { background: #eef2ff; border-color: #c7d2fe; }
.escrow-status-box.escrow-released { background: #ecfdf5; border-color: #a7f3d0; }
.escrow-status-box.escrow-disputed { background: #fff7ed; border-color: #fed7aa; }
.escrow-status-box.escrow-refunded { background: #f1f5f9; border-color: #e2e8f0; }
/* 订单详情：担保时间线 */
.escrow-timeline {
  margin-top: 12px; padding-left: 4px;
  border-left: 2px solid var(--border);
}
.escrow-log-item {
  position: relative; padding: 0 0 14px 16px; font-size: 13px;
}
.escrow-log-item::before {
  content: ''; position: absolute; left: -6px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--primary); border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--primary-light);
}
.escrow-log-item:last-child { padding-bottom: 0; }
/* 个人中心：担保交易统计卡 */
.escrow-stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 4px 0 14px;
}
.escrow-stat {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border: 1px solid #c7d2fe; border-radius: 12px; padding: 12px 8px; text-align: center;
}
.escrow-stat .es-value { display: block; font-size: 20px; font-weight: 800; color: #4338ca; line-height: 1.3; }
.escrow-stat .es-label { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
/* 保障金提示 */
.escrow-deposit-tip {
  font-size: 13px; color: #065f46; background: #ecfdf5;
  border: 1px solid #a7f3d0; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px;
}
/* 担保交易列表 */
.escrow-list { display: flex; flex-direction: column; gap: 10px; }
.escrow-card {
  background: #fff; border: 1px solid #eef0f4; border-radius: 12px;
  padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .2s, transform .2s;
}
.escrow-card:hover { box-shadow: 0 6px 18px rgba(99,102,241,.12); transform: translateY(-1px); }
.escrow-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
@media (max-width: 768px) {
  .escrow-stats-grid { grid-template-columns: repeat(3, 1fr); }
}
/* 网站页脚（ICP 备案） */
.site-footer {
  border-top: 1px solid #eef0f4;
  background: #fff;
  padding: 16px 20px;
  margin-top: 24px;
}
.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
}
.site-footer-inner a {
  color: #4f46e5;
  text-decoration: none;
}
.site-footer-inner a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .site-footer-inner { gap: 8px; font-size: 12px; }
}

/* ==================== V13：社群频道 ==================== */
.btn-danger-link {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: 12px;
  padding: 2px 6px;
  text-decoration: none;
}
.btn-danger-link:hover { text-decoration: underline; }

/* 广场 */
.community-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.community-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.community-cat {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  font-size: 13px;
  padding: 6px 14px;
  transition: all .15s;
}
.community-cat:hover { border-color: #7c3aed; color: #7c3aed; }
.community-cat.active {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  border-color: transparent;
  color: #fff;
}
.community-filters { display: flex; gap: 8px; align-items: center; }
.community-filters .search-input { width: 220px; }

.community-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.community-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all .18s;
}
.community-card:hover { box-shadow: 0 8px 22px rgba(99,102,241,.14); transform: translateY(-2px); border-color: #c7d2fe; }
.community-card.compact { cursor: pointer; margin-bottom: 10px; }
.community-card-head { display: flex; gap: 12px; align-items: center; }
.community-avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ede9fe, #e0e7ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
}
.community-avatar img { width: 100%; height: 100%; object-fit: cover; }
.community-avatar.big { width: 60px; height: 60px; font-size: 30px; border-radius: 16px; }
.community-avatar.sm { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
.community-card-main { flex: 1; min-width: 0; }
.community-card-name { font-weight: 600; font-size: 15px; color: #1e293b; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.community-cat-tag {
  background: #eef2ff;
  color: #4f46e5;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  white-space: nowrap;
}
.community-card-meta { display: flex; gap: 12px; font-size: 12px; color: #64748b; margin-top: 4px; flex-wrap: wrap; }
.community-card-desc {
  margin-top: 10px;
  font-size: 13px;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.community-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.community-card-tags span { background: #f1f5f9; color: #64748b; border-radius: 6px; font-size: 11px; padding: 2px 8px; }
.community-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 8px; flex-wrap: wrap; }
.join-mode-tag { font-size: 12px; font-weight: 500; }
.join-mode-tag.open { color: #059669; }
.join-mode-tag.approval { color: #d97706; }
.join-mode-tag.invite { color: #64748b; }
.community-card-time { font-size: 12px; color: #94a3b8; }

/* 详情 */
.community-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.community-detail-title { display: flex; align-items: center; gap: 14px; }
.community-detail-title h2 { margin: 0; font-size: 20px; color: #1e293b; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.community-detail-meta { display: flex; gap: 14px; font-size: 13px; color: #64748b; margin-top: 6px; flex-wrap: wrap; }
.community-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.community-notice {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  color: #92400e;
  font-size: 13px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.community-detail-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #eef0f4;
  margin-bottom: 14px;
  overflow-x: auto;
}
.cd-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
  padding: 10px 16px;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all .15s;
}
.cd-tab.active { color: #7c3aed; border-bottom-color: #7c3aed; font-weight: 600; }
.cd-tab-count { background: #f1f5f9; border-radius: 999px; font-size: 11px; padding: 1px 8px; margin-left: 4px; }

/* 动态墙 */
.community-post-editor { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.community-post-editor textarea { width: 100%; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; font-size: 14px; resize: vertical; min-height: 60px; font-family: inherit; }
.community-post-editor-tools { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.community-posts-list { display: flex; flex-direction: column; gap: 12px; }
.community-post { background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 14px; }
.community-post-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.community-post-type { font-size: 11px; font-weight: 600; border-radius: 6px; padding: 2px 8px; }
.community-post-type.post { background: #e0f2fe; color: #0369a1; }
.community-post-type.training { background: #dcfce7; color: #15803d; }
.community-post-author { font-weight: 600; font-size: 13px; color: #334155; }
.community-post-time { font-size: 12px; color: #94a3b8; margin-left: auto; }
.community-post-content { font-size: 14px; color: #1e293b; line-height: 1.6; white-space: pre-wrap; }
.community-post-images { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.community-post-images img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.community-post-actions { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.empty-tip { color: #94a3b8; font-size: 13px; text-align: center; padding: 30px 0; }

/* 成员 */
.community-member-list { display: flex; flex-direction: column; gap: 8px; }
.community-member { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #eef0f4; border-radius: 12px; padding: 10px 14px; }
.community-member-info { flex: 1; min-width: 0; }
.community-member-name { font-weight: 600; font-size: 14px; color: #334155; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.community-member-meta { font-size: 12px; color: #64748b; margin-top: 3px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.community-member-ops { display: flex; gap: 6px; flex-wrap: wrap; }

/* 群聊 */
.community-chat-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; height: 360px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.community-chat-msg { background: #fff; border: 1px solid #eef0f4; border-radius: 10px; padding: 8px 12px; max-width: 80%; align-self: flex-start; }
.community-chat-msg.mine { background: #eef2ff; border-color: #c7d2fe; align-self: flex-end; }
.community-chat-sender { font-size: 12px; font-weight: 600; color: #4f46e5; }
.community-chat-content { font-size: 14px; color: #1e293b; margin-top: 2px; white-space: pre-wrap; word-break: break-word; }
.community-chat-time { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.community-chat-input { display: flex; gap: 8px; margin-top: 10px; }
.community-chat-input input { flex: 1; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px; font-size: 14px; }

/* 我的社群 */
.my-comm-group-title { font-size: 14px; font-weight: 700; color: #334155; margin: 18px 0 10px; }
.my-comm-group-title:first-child { margin-top: 0; }

@media (max-width: 768px) {
  .community-toolbar { flex-direction: column; align-items: stretch; }
  .community-filters .search-input { width: 100%; }
  .community-list { grid-template-columns: 1fr; }
  .community-detail-head { flex-direction: column; align-items: flex-start; }
  .community-chat-msg { max-width: 92%; }
}

/* ===== V10 增长进阶：消费返积分 / 分享红包 / 邀请阶梯 / 拼团升级 / 限时特惠 ===== */
/* 秒杀 */
.sale-badge {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #ef4444);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  margin-right: 6px;
  vertical-align: middle;
  animation: sale-pulse 1.6s infinite;
}
@keyframes sale-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }
.skill-price.sale { color: #ef4444; }
.skill-price-old { color: #94a3b8; text-decoration: line-through; font-size: 12px; margin-left: 4px; }
.detail-hero-price .num.old { text-decoration: line-through; color: #94a3b8; }
.sale-stock-hint { margin-top: 6px; font-size: 13px; color: #ef4444; font-weight: 600; }

/* ==================== P2-1 AI 智能助手 ==================== */
.ai-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 8px 24px rgba(124, 58, 237, .42);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}
.ai-fab:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(124, 58, 237, .55); }
.ai-fab-icon { font-size: 26px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }
.ai-fab::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
}
.ai-assistant {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  width: 380px;
  max-width: calc(100vw - 24px);
  height: min(620px, calc(100vh - 60px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ai-pop .22s ease;
}
@keyframes ai-pop { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ai-assistant-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
}
.ai-title { display: flex; align-items: center; gap: 10px; }
.ai-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.ai-title-text { display: flex; flex-direction: column; line-height: 1.25; }
.ai-title-text strong { font-size: 15px; }
.ai-subtitle { font-size: 11px; opacity: .85; }
.ai-close {
  background: rgba(255,255,255,.18);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}
.ai-close:hover { background: rgba(255,255,255,.3); }
.ai-chat {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  background: #f8fafc;
}
.ai-welcome { text-align: center; padding: 10px 6px 6px; font-size: 13px; color: #475569; line-height: 1.7; }
.ai-welcome p { margin: 2px 0; }
.ai-quick-questions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.ai-quick-chip {
  border: 1px solid #ddd6fe;
  background: #fff;
  color: #5b21b6;
  border-radius: 10px;
  padding: 9px 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all .15s ease;
}
.ai-quick-chip:hover { background: #f5f3ff; border-color: #a78bfa; transform: translateY(-1px); }
.ai-msg { display: flex; margin: 10px 0; }
.ai-msg-user { justify-content: flex-end; }
.ai-msg-assistant { justify-content: flex-start; }
.ai-bubble {
  max-width: 84%;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.65;
  word-break: break-word;
}
.ai-bubble-user {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-bubble-assistant {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  border-bottom-left-radius: 4px;
}
.ai-bubble-assistant .ai-h { font-weight: 700; margin: 6px 0 2px; }
.ai-bubble-assistant .ai-li { margin: 2px 0; }
.ai-msg[data-loading] .ai-text { color: #94a3b8; font-style: italic; }
.ai-input-bar {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.ai-input-bar textarea {
  flex: 1 1 auto;
  min-height: 38px;
  max-height: 100px;
  resize: none;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  line-height: 1.5;
  outline: none;
}
.ai-input-bar textarea:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(167, 139, 250, .18); }
.ai-send-btn {
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ai-send-btn:hover { opacity: .9; }
@media (max-width: 480px) {
  .ai-assistant { right: 8px; bottom: 8px; width: calc(100vw - 16px); height: calc(100vh - 60px); }
  .ai-fab { right: 14px; bottom: 14px; }
}

/* ==================== P2-2 会员中心 ==================== */
.member-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  color: #1e293b;
  margin-bottom: 14px;
}
.member-hero-active {
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 8px 24px rgba(245, 158, 11, .35);
}
.member-hero-icon { font-size: 34px; }
.member-hero-info { flex: 1 1 auto; min-width: 0; }
.member-hero-title { font-size: 18px; font-weight: 700; }
.member-hero-desc { font-size: 13px; opacity: .9; margin-top: 3px; }
.member-hero-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .25);
}
.member-banner {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 13px;
  margin-bottom: 14px;
}
.member-sec-title { font-size: 15px; font-weight: 700; margin: 18px 0 10px; color: var(--text, #1e293b); }
.member-perks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.member-perk {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
}
.member-perk-icon { font-size: 22px; flex-shrink: 0; }
.member-perk-name { font-weight: 600; font-size: 14px; }
.member-perk-desc { font-size: 12px; color: var(--text-muted, #64748b); margin-top: 2px; }
.member-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.member-plan {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: all .18s ease;
}
.member-plan:hover { transform: translateY(-3px); border-color: #fbbf24; box-shadow: 0 10px 24px rgba(245, 158, 11, .18); }
.member-plan-name { font-size: 15px; font-weight: 700; }
.member-plan-price {
  font-size: 28px;
  font-weight: 800;
  color: #d97706;
  margin: 8px 0 2px;
}
.member-plan-price .member-plan-period { font-size: 12px; font-weight: 400; color: var(--text-muted, #64748b); }
.member-plan-original { font-size: 12px; color: #94a3b8; text-decoration: line-through; }
.member-plan-perks { flex: 1 1 auto; text-align: left; margin: 10px 0 12px; font-size: 12px; color: var(--text-muted, #64748b); }
.member-plan-perk-line { padding: 2px 0; }
.member-plan-btn { background: linear-gradient(135deg, #f59e0b, #d97706); border: none; }
.member-note { margin-top: 14px; font-size: 12px; color: var(--text-muted, #64748b); line-height: 1.7; }
.member-recheck-hint { margin-top: 6px; padding: 8px 10px; background: #fffbeb; border: 1px dashed #f59e0b; border-radius: 8px; font-size: 12px; color: #92400e; line-height: 1.6; }
.member-recheck-hint b { color: #b45309; }
.member-recheck-hint a { color: #d97706; font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ==================== P2-3 数据看板 ==================== */
.stats-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  margin-bottom: 12px;
}
.stats-profile-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.stats-profile-info { flex: 1 1 auto; min-width: 0; }
.stats-profile-name { font-size: 16px; font-weight: 700; }
.stats-profile-meta { font-size: 12px; opacity: .92; margin-top: 3px; }
.stats-profile-level { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.stats-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.stats-kpi {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.stats-kpi-icon { font-size: 20px; }
.stats-kpi-val { font-size: 22px; font-weight: 800; color: var(--text, #1e293b); margin: 4px 0 2px; }
.stats-kpi-label { font-size: 12px; color: var(--text-muted, #64748b); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-bottom: 12px; }
.stats-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  padding: 14px;
}
.stats-card-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.stats-money-row { display: flex; gap: 16px; flex-wrap: wrap; }
.stats-money { flex: 1 1 0; min-width: 90px; }
.stats-money-label { font-size: 12px; color: var(--text-muted, #64748b); }
.stats-money-val { font-size: 18px; font-weight: 700; margin-top: 2px; }
.stats-money-val.green { color: #059669; }
.stats-status-wrap { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.stats-status-chip { font-size: 11px; padding: 3px 8px; border-radius: 12px; background: #f1f5f9; color: #475569; }
.stats-rating-row { display: flex; align-items: center; gap: 12px; }
.stats-rating-num { font-size: 34px; font-weight: 800; color: #f59e0b; }
.stats-stars { color: #f59e0b; font-size: 16px; letter-spacing: 2px; }
.stats-rating-sub { font-size: 12px; color: var(--text-muted, #64748b); margin-top: 2px; }
.stats-trend {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 130px;
  padding: 8px 4px 0;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}
.stats-trend-col { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.stats-trend-bar {
  width: 70%;
  max-width: 16px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #818cf8, #6366f1);
  min-height: 2px;
  transition: height .3s ease;
}
.stats-trend-col:hover .stats-trend-bar { background: linear-gradient(180deg, #a5b4fc, #4f46e5); }
.stats-trend-label { font-size: 9px; color: #94a3b8; margin-top: 4px; transform: rotate(-35deg); white-space: nowrap; }
.stats-reason-title { font-size: 12px; font-weight: 600; margin: 12px 0 6px; color: var(--text-muted, #64748b); }
.stats-reason-row { display: flex; align-items: center; gap: 8px; margin: 5px 0; font-size: 12px; }
.stats-reason-name { width: 74px; flex-shrink: 0; color: #475569; }
.stats-reason-bar { flex: 1 1 auto; height: 8px; background: #f1f5f9; border-radius: 6px; overflow: hidden; }
.stats-reason-bar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #34d399, #10b981); }
.stats-reason-pts { width: 64px; text-align: right; font-weight: 700; flex-shrink: 0; }
.stats-reason-pts.green { color: #059669; }
.stats-card-tip { font-size: 12px; color: var(--text-muted, #64748b); margin-top: 10px; line-height: 1.6; }

/* V39：用户收支统计 + 月度对账单 */
.stats-stmt-btn {
  margin-left: 8px;
  padding: 4px 12px;
  border: 1px solid #c4b5fd;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef2ff, #faf5ff);
  color: #5b21b6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  vertical-align: middle;
}
.stats-stmt-btn:hover { box-shadow: 0 2px 10px rgba(124, 58, 237, .25); transform: translateY(-1px); }
.stats-stmt-trend { display: flex; align-items: flex-end; gap: 4px; height: 90px; margin-top: 12px; padding: 8px 4px 0; border-bottom: 1px solid var(--border-color, #e2e8f0); }
.stats-stmt-col { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.stats-stmt-bar { width: 62%; max-width: 14px; border-radius: 4px 4px 0 0; background: #e2e8f0; min-height: 2px; transition: height .3s ease; }
.stats-stmt-bar.green { background: linear-gradient(180deg, #34d399, #059669); }
.stats-stmt-col:hover .stats-stmt-bar.green { background: linear-gradient(180deg, #6ee7b7, #059669); }
.stats-stmt-label { font-size: 9px; color: #94a3b8; margin-top: 4px; white-space: nowrap; }
.stats-stmt-tip { font-size: 11px; color: var(--text-muted, #94a3b8); margin-top: 8px; }
.stats-stmt-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stats-stmt-select { padding: 7px 10px; border: 1px solid var(--border-color, #e2e8f0); border-radius: 8px; font-size: 13px; color: #334155; background: #fff; outline: none; }
.stats-stmt-select:focus { border-color: #a78bfa; box-shadow: 0 0 0 3px rgba(139, 92, 246, .12); }
.stats-stmt-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 8px; }
.stats-stmt-sum-item { text-align: center; padding: 12px 6px; border-radius: 12px; background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 1px solid var(--border-color, #e2e8f0); }
.stats-stmt-sum-val { font-size: 17px; font-weight: 800; color: #334155; }
.stats-stmt-sum-val.green { color: #059669; }
.stats-stmt-sum-label { font-size: 11px; color: var(--text-muted, #64748b); margin-top: 3px; }
.stats-stmt-count { font-size: 12px; color: var(--text-muted, #64748b); margin: 6px 0 10px; }
.stats-stmt-items { border: 1px solid var(--border-color, #e2e8f0); border-radius: 12px; overflow: hidden; }
.stats-stmt-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border-color, #e2e8f0); font-size: 13px; }
.stats-stmt-item:last-child { border-bottom: none; }
.stats-stmt-tag { flex-shrink: 0; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #f1f5f9; color: #475569; }
.stats-stmt-tag.ok { background: #d1fae5; color: #065f46; }
.stats-stmt-tag.warn { background: #fef3c7; color: #92400e; }
.stats-stmt-item-main { flex: 1 1 auto; min-width: 0; }
.stats-stmt-item-title { color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-stmt-kind { font-size: 11px; color: var(--text-muted, #64748b); margin-left: 4px; }
.stats-stmt-item-date { font-size: 11px; color: #94a3b8; margin-top: 2px; }
.stats-stmt-item-amt { flex-shrink: 0; font-weight: 700; color: #475569; }
.stats-stmt-item-amt.green { color: #059669; }

/* 积分抵扣（撮合弹窗） */
.points-deduct-box {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed #c4b5fd;
  border-radius: 10px;
  background: linear-gradient(135deg, #faf5ff, #f5f3ff);
}
.pd-title { font-size: 13px; font-weight: 700; color: #6d28d9; margin-bottom: 6px; }
.pd-row { display: flex; justify-content: space-between; font-size: 12px; color: #64748b; margin-bottom: 6px; }
.pd-row b { color: #7c3aed; }
.pd-input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d8d4f0;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  box-sizing: border-box;
}
.pd-input:focus { outline: none; border-color: #7c3aed; }
.pd-preview { margin-top: 6px; font-size: 12px; font-weight: 600; min-height: 16px; }

/* 订单详情：抵扣/返分提示 */
.pd-inline-hint {
  margin-top: 4px;
  font-size: 12px;
  color: #7c3aed;
  background: #f5f3ff;
  border-radius: 6px;
  padding: 3px 8px;
  display: inline-block;
}

/* ==================== V18：生态优选商城 ==================== */
/* 工具栏 */
.eco-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.eco-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.eco-cat {
  padding: 7px 16px; border-radius: 999px; border: 1px solid #e5e0f5;
  background: #fff; color: #555; font-size: 13px; cursor: pointer; transition: all .2s;
}
.eco-cat:hover { border-color: #c4b5fd; color: #7c3aed; }
.eco-cat.active { background: linear-gradient(135deg, #7c3aed, #c026d3); color: #fff; border-color: transparent; font-weight: 600; box-shadow: 0 2px 8px rgba(124,58,237,.25); }
.eco-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.eco-filters .search-input { flex: 1; min-width: 200px; }
.eco-sort { padding: 7px 10px; border-radius: 8px; border: 1px solid #e5e0f5; font-size: 13px; background: #fff; color: #444; }
.eco-select { padding: 8px 10px; border-radius: 8px; border: 1px solid #e5e0f5; font-size: 13px; background: #fff; color: #444; width: 100%; box-sizing: border-box; }
.eco-input {
  width: 100%; padding: 9px 12px; border: 1px solid #e5e0f5; border-radius: 8px;
  font-size: 13px; background: #fff; color: #333; box-sizing: border-box; margin-bottom: 8px; font-family: inherit;
}
.eco-input:focus { outline: none; border-color: #7c3aed; }
textarea.eco-input { resize: vertical; min-height: 60px; }

/* 商品网格 */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eco-card {
  background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #f0ecfb;
  cursor: pointer; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.eco-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(124,58,237,.12); }
.eco-card-img { position: relative; aspect-ratio: 1; background: #f8f6ff; overflow: hidden; }
.eco-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eco-card-cat {
  position: absolute; top: 8px; left: 8px; background: rgba(124,58,237,.9); color: #fff;
  font-size: 11px; padding: 3px 8px; border-radius: 999px;
}
.eco-card-tag {
  position: absolute; top: 8px; right: 8px; background: linear-gradient(135deg,#f59e0b,#ef4444);
  color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 600;
}
.eco-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.eco-card-name { font-size: 14px; font-weight: 600; color: #222; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.eco-card-spec { font-size: 12px; color: #999; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.eco-card-shop { font-size: 12px; color: #7c3aed; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.eco-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.eco-price { color: #ef4444; font-weight: 700; font-size: 16px; }
.eco-price-old { color: #bbb; font-size: 12px; text-decoration: line-through; margin-left: 6px; }
.eco-card-sales { font-size: 11px; color: #aaa; }
.eco-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }

/* 购物车浮标 */
.eco-cart-fab {
  position: fixed; right: 24px; bottom: 90px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #c026d3); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  box-shadow: 0 6px 18px rgba(124,58,237,.4); cursor: pointer; transition: transform .2s;
}
.eco-cart-fab:hover { transform: scale(1.08); }
.eco-cart-fab-badge {
  position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  background: #ef4444; color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}

/* 商品详情 */
.eco-detail { display: flex; gap: 18px; }
.eco-detail-img { flex: 1; max-width: 300px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #f8f6ff; }
.eco-detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eco-detail-info { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.eco-detail-cat { font-size: 12px; color: #7c3aed; }
.eco-detail-name { font-size: 18px; font-weight: 700; color: #222; line-height: 1.4; }
.eco-detail-spec { font-size: 13px; color: #888; }
.eco-detail-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.eco-detail-sales { font-size: 12px; color: #999; margin-left: auto; }
.eco-detail-row { display: flex; gap: 8px; font-size: 13px; color: #555; }
.eco-detail-label { color: #999; flex-shrink: 0; }
.eco-detail-desc { font-size: 13px; color: #666; line-height: 1.7; background: #faf8ff; border-radius: 8px; padding: 10px; max-height: 140px; overflow-y: auto; }
.eco-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.eco-tag { font-size: 12px; color: #7c3aed; background: #f5f3ff; padding: 3px 10px; border-radius: 999px; border: 1px solid #e9e2ff; }
.eco-tag-active { background: linear-gradient(135deg,#7c3aed,#c026d3); color: #fff; border-color: transparent; }
.eco-detail-qty { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.eco-qty-ctl { display: inline-flex; align-items: center; border: 1px solid #e5e0f5; border-radius: 8px; overflow: hidden; }
.eco-qty-ctl button { width: 30px; height: 30px; border: none; background: #f7f5ff; font-size: 16px; cursor: pointer; color: #7c3aed; }
.eco-qty-ctl button:hover { background: #efeaff; }
.eco-qty-ctl span { min-width: 40px; text-align: center; font-weight: 600; font-size: 14px; }

/* 购物车 */
.eco-cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3effc; }
.eco-cart-img { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #f8f6ff; flex-shrink: 0; }
.eco-cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eco-cart-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.eco-cart-name { font-size: 14px; font-weight: 600; color: #222; }
.eco-cart-shop { font-size: 12px; color: #7c3aed; }
.eco-cart-price { font-size: 14px; font-weight: 700; color: #ef4444; }
.eco-cart-stock { font-size: 11px; color: #aaa; font-weight: 400; margin-left: 8px; }
.eco-cart-ops { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.eco-cart-invalid { opacity: .55; }
.eco-cart-footer { display: flex; gap: 10px; margin-top: 14px; justify-content: flex-end; }

/* 结算 */
.eco-checkout { display: flex; flex-direction: column; gap: 14px; }
.eco-checkout-addr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.eco-checkout-addr .eco-select { flex: 1; min-width: 220px; }
.eco-section-title { font-size: 13px; font-weight: 700; color: #444; }
.eco-checkout-item { display: flex; gap: 12px; background: #faf8ff; border-radius: 10px; padding: 10px; }
.eco-checkout-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.eco-checkout-remark { display: flex; flex-direction: column; gap: 6px; }
.eco-checkout-summary { background: #faf8ff; border-radius: 10px; padding: 10px 12px; }
.eco-sum-row { display: flex; justify-content: space-between; font-size: 13px; color: #555; padding: 3px 0; }
.eco-sum-total { font-size: 15px; font-weight: 700; color: #ef4444; border-top: 1px dashed #e5e0f5; margin-top: 4px; padding-top: 8px; }
/* V19 优惠券 + 积分抵扣 */
.eco-checkout-coupon, .eco-checkout-points { display: flex; flex-direction: column; gap: 6px; background: #faf8ff; border-radius: 10px; padding: 10px 12px; }
.eco-checkout-coupon .eco-select, .eco-checkout-points .eco-input { width: 100%; }
.eco-pd-row { display: flex; justify-content: space-between; font-size: 12px; color: #888; }
.eco-pd-row b { color: #7c3aed; }
.eco-cp-preview { font-size: 12px; color: #999; min-height: 16px; }
.eco-sum-save { font-size: 13px; }
.eco-order-save { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.eco-tag-points { color: #7c3aed; background: #f5f3ff; border-color: #e9e2ff; }

/* 地址 */
.eco-addr-item { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f3effc; }
.eco-addr-default { background: #faf8ff; border-radius: 8px; padding: 10px; }
.eco-addr-line { font-size: 14px; color: #333; }
.eco-addr-line2 { font-size: 12px; color: #888; margin-top: 2px; }
.eco-addr-ops { display: flex; gap: 6px; flex-shrink: 0; }
.eco-addr-form { margin-top: 14px; border-top: 1px dashed #e5e0f5; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.eco-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.eco-checkbox { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; margin: 2px 0 8px; cursor: pointer; }

/* tabs */
.eco-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.eco-tab {
  padding: 7px 14px; border-radius: 999px; border: 1px solid #e5e0f5; background: #fff;
  font-size: 13px; color: #555; cursor: pointer; transition: all .2s;
}
.eco-tab.active { background: linear-gradient(135deg, #7c3aed, #c026d3); color: #fff; border-color: transparent; font-weight: 600; }

/* 订单 */
.eco-order-item { border: 1px solid #f0ecfb; border-radius: 12px; padding: 12px; margin-bottom: 10px; background: #fff; }
.eco-order-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.eco-order-no { font-size: 12px; color: #999; }
.eco-order-status { font-size: 13px; font-weight: 700; }
.eco-order-body { display: flex; gap: 12px; }
.eco-order-img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #f8f6ff; flex-shrink: 0; }
.eco-order-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eco-order-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.eco-order-name { font-size: 14px; font-weight: 600; color: #222; }
.eco-order-spec { font-size: 12px; color: #999; }
.eco-order-fee { font-size: 14px; font-weight: 700; color: #ef4444; }
.eco-order-shipfee { font-size: 11px; color: #bbb; font-weight: 400; margin-left: 6px; }
.eco-order-receiver { font-size: 12px; color: #777; }
.eco-order-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 8px; border-top: 1px dashed #f0ecfb; }
.eco-order-time { font-size: 11px; color: #bbb; }
.eco-order-btns { display: flex; gap: 6px; }
.eco-status-wait { font-size: 12px; color: #ef4444; }

/* 商家中心 */
.eco-merchant-hero { display: flex; gap: 12px; align-items: center; background: linear-gradient(135deg,#7c3aed,#c026d3); color: #fff; border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.eco-merchant-hero h3 { margin: 0 0 4px; font-size: 16px; color: #fff; }
.eco-merchant-hero p { margin: 0; font-size: 13px; opacity: .9; line-height: 1.6; }
.eco-merchant-logo { width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.2); flex-shrink: 0; }
/* V37 商家货款分账状态条 */
.eco-ps-bar { display: flex; align-items: center; gap: 8px; background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; font-size: 13px; color: #5b21b6; }
.eco-ps-icon { font-size: 16px; }
.eco-ps-text { flex: 1; min-width: 0; }
.eco-ps-text b { color: #7c3aed; }
/* V38 商家货款打款记录 */
.eco-payout-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.eco-payout-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.eco-payout-amt { font-size: 16px; font-weight: 700; color: #7c3aed; }
.eco-payout-meta { font-size: 12px; color: #6b7280; line-height: 1.7; }
.eco-payout-remark { font-size: 12px; color: #374151; margin-top: 4px; }
.eco-payout-proof { margin-top: 8px; }
.eco-merchant-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eco-merchant-prod { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f3effc; }
.eco-merchant-prod-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.eco-merchant-prod-ops { display: flex; gap: 6px; flex-shrink: 0; }

/* 管理端统计 */
.eco-admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.eco-admin-stat { background: #faf8ff; border: 1px solid #f0ecfb; border-radius: 12px; padding: 14px 10px; text-align: center; }
.eco-admin-stat-icon { font-size: 22px; }
.eco-admin-stat-val { font-size: 18px; font-weight: 700; color: #7c3aed; margin-top: 4px; }
.eco-admin-stat-label { font-size: 12px; color: #888; margin-top: 2px; }
.eco-img-fallback { display: flex; align-items: center; justify-content: center; font-size: 30px; background: #f3e8ff; width: 100%; height: 100%; }

/* V20 商家入驻完善（个人/个体/企业三类主体） */
.eco-form-section { margin: 14px 0 4px; padding: 14px; background: #faf8ff; border: 1px solid #f0ecfb; border-radius: 12px; }
.eco-form-section h4 { margin: 0 0 10px; font-size: 14px; color: #4c1d95; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.eco-required-mark { font-size: 11px; color: #ef4444; font-weight: 400; margin-left: auto; }
.eco-subject-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.eco-subject-card {
  border: 2px solid #e5e0f5; background: #fff; border-radius: 10px; padding: 12px 10px;
  text-align: center; cursor: pointer; transition: all .2s; user-select: none;
}
.eco-subject-card:hover { border-color: #c4b5fd; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(124,58,237,.1); }
.eco-subject-card.selected { border-color: #7c3aed; background: linear-gradient(135deg,#f5f3ff,#ede9fe); }
.eco-subject-card .icon { font-size: 28px; margin-bottom: 6px; }
.eco-subject-card .title { font-size: 14px; font-weight: 700; color: #4c1d95; margin-bottom: 4px; }
.eco-subject-card .desc { font-size: 11px; color: #6b7280; line-height: 1.5; min-height: 30px; }
.eco-subject-card .meta { font-size: 10px; color: #7c3aed; margin-top: 6px; padding: 2px 6px; background: rgba(124,58,237,.1); border-radius: 999px; display: inline-block; }
.eco-special-cat-hint { background: #fef3c7; color: #92400e; border-radius: 8px; padding: 8px 12px; font-size: 12px; margin: 8px 0; border-left: 3px solid #f59e0b; }
.eco-form-tip { font-size: 12px; color: #888; text-align: center; margin: 8px 0 0; }
.eco-subject-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.eco-subject-badge.personal { background: #dbeafe; color: #1e40af; }
.eco-subject-badge.individual { background: #d1fae5; color: #065f46; }
.eco-subject-badge.enterprise { background: #ede9fe; color: #5b21b6; }
.eco-subject-badge.normal { background: #f3f4f6; color: #4b5563; }
.eco-subject-badge.flagship { background: #fee2e2; color: #991b1b; }
.eco-subject-badge.authorized { background: #fef3c7; color: #92400e; }
.eco-subject-badge.specialized { background: #ddd6fe; color: #5b21b6; }
.eco-merchant-docs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.eco-doc-chip { font-size: 10px; padding: 2px 6px; border-radius: 4px; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* V20-A 商家入驻：图片上传组件（与技能发布资质证书一致） */
.eco-em-file-field {
  margin: 4px 0;
  padding: 8px 0;
  border-radius: 8px;
  transition: background .15s, border-color .15s;
}
.eco-em-file-field.eco-em-required {
  background: linear-gradient(135deg, rgba(254,226,226,.25), rgba(254,243,199,.18));
  border: 1px dashed #ef4444;
  padding: 8px 10px;
  margin: 6px 0;
}
.eco-em-file-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.eco-em-file-label {
  font-size: 12px;
  color: #4c1d95;
  font-weight: 500;
  min-width: 130px;
  flex-shrink: 0;
}
.eco-em-file-row .btn-sm {
  font-size: 12px;
  padding: 4px 10px;
  white-space: nowrap;
}
.eco-em-preview {
  margin-top: 6px;
  min-height: 0;
}
.eco-em-thumb {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #d4c5a9;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.eco-em-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eco-em-thumb-pdf {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #6b7280;
  font-weight: 600;
}
.eco-em-thumb-pdf span { font-size: 11px; margin-top: 2px; }
.eco-em-thumb-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.75);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  font-weight: 600;
  transition: background .15s, transform .15s;
  user-select: none;
}
.eco-em-thumb-remove:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* V20 入驻 modal 在窄屏下：主体卡单列、网格单列 */
@media (max-width: 600px) {
  .eco-subject-cards { grid-template-columns: 1fr; }
  .eco-form-section { padding: 12px; }
}

/* 移动端响应式 */
@media (max-width: 900px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .eco-admin-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .eco-detail { flex-direction: column; }
  .eco-detail-img { max-width: 100%; }
  .eco-form-grid { grid-template-columns: 1fr; }
  .eco-cart-fab { right: 16px; bottom: 84px; width: 50px; height: 50px; font-size: 22px; }
  .eco-subject-cards { grid-template-columns: 1fr; }
  .eco-form-section { padding: 10px; }
  .eco-em-file-row { flex-direction: column; align-items: stretch; }
  .eco-em-file-label { min-width: 0; }
}

/* 邀请阶梯 */
.referral-tier-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}
.rt-title { font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.rt-progress { height: 8px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.rt-progress-bar { height: 100%; background: linear-gradient(90deg, #7c3aed, #f59e0b); border-radius: 999px; transition: width .4s; }
.rt-progress-text { font-size: 12px; color: #64748b; margin-top: 6px; }
.rt-progress-text b { color: #7c3aed; }
.rt-list { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.rt-item {
  flex: 1 1 120px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}
.rt-item.rt-reached { border-color: #6ee7b7; background: #f0fdf4; }
.rt-icon { font-size: 22px; }
.rt-name { font-size: 13px; font-weight: 600; color: #334155; margin-top: 4px; }
.rt-reward { font-size: 12px; color: #7c3aed; font-weight: 700; }
.rt-status { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.rt-item.rt-reached .rt-status { color: #16a34a; }
.rt-share-tip { margin-top: 12px; font-size: 12px; color: #475569; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 8px 10px; }
.rt-share-tip b { color: #ea580c; }

/* ===== V12-D：统一积分规则 ===== */
.rules-hero {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.rules-stat {
  background: linear-gradient(135deg, #f5f3ff, #fff);
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  padding: 14px 12px;
  text-align: center;
}
.rules-stat-icon { font-size: 26px; line-height: 1; }
.rules-stat-val { font-size: 20px; font-weight: 800; color: #1e293b; margin-top: 6px; }
.rules-stat-label { font-size: 12px; color: #64748b; margin-top: 4px; }
.rules-group {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  padding: 16px;
}
.rules-group-title { font-size: 15px; font-weight: 800; color: #334155; margin: 0 0 12px; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rules-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: #f8fafc;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 10px 12px;
}
.rules-item-icon { font-size: 20px; line-height: 1.2; }
.rules-item-info { flex: 1; min-width: 0; }
.rules-item-name { font-size: 13px; font-weight: 700; color: #334155; }
.rules-item-name em {
  font-style: normal; font-weight: 700;
  color: #7c3aed; background: #f3e8ff;
  border-radius: 6px; padding: 1px 7px;
  font-size: 12px; margin-left: 4px;
  white-space: nowrap;
}
.rules-item-desc { font-size: 12px; color: #64748b; margin-top: 3px; line-height: 1.5; }
.rules-footnote {
  font-size: 12px; color: #94a3b8;
  background: #fff7ed; border: 1px solid #fed7aa;
  border-radius: 8px; padding: 10px 12px;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .rules-hero { grid-template-columns: repeat(2, 1fr); }
  .rules-grid { grid-template-columns: 1fr; }
}

/* ===== AI 领域趋势洞察（V16） ===== */
.news-badge { font-size: 12px; color: #64748b; font-weight: normal; margin-left: auto; margin-right: 12px; white-space: nowrap; }
.news-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.news-top-tab {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 8px 16px; border-radius: 12px; border: 1px solid #e2e8f0;
  background: #fff; cursor: pointer; transition: all .2s;
  font-family: inherit; min-width: 140px;
}
.news-top-tab:hover { border-color: #7c3aed; background: #faf5ff; }
.news-top-tab.active {
  background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff;
  border-color: transparent; box-shadow: 0 4px 14px rgba(124, 58, 237, .3);
}
.news-top-name { font-size: 14px; font-weight: 700; }
.news-top-meta { font-size: 11.5px; opacity: .8; }
.news-main { background: #faf8ff; border: 1px solid #ede9fe; border-radius: 14px; padding: 18px; margin-bottom: 12px; }
.news-main:last-of-type { margin-bottom: 0; }
.news-overview { background: linear-gradient(135deg, #faf5ff, #ede9fe); border-color: #c4b5fd; }
.news-overview-head { margin-bottom: 10px; }
.news-title { font-size: 17px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.news-summary { font-size: 13.5px; color: #475569; line-height: 1.7; margin-bottom: 12px; }
.news-mid-card { background: #fff; }
/* V26.4：中类卡片 grid 并排展示 */
.news-mid-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 14px; }
.news-mid-cards-grid .news-mid-card { margin-bottom: 0; }
.news-mid-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.news-mid-tag { font-size: 12px; font-weight: 700; color: #7c3aed; background: #f3e8ff; padding: 3px 10px; border-radius: 10px; }
.news-mid-orders { font-size: 12px; color: #94a3b8; font-weight: 600; }
.news-points { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: 12px; }
.news-point { display: flex; gap: 10px; background: #fff; border: 1px solid #ede9fe; border-radius: 10px; padding: 12px; }
.news-point-icon { font-size: 20px; line-height: 1.3; }
.news-point-title { font-weight: 600; font-size: 13.5px; color: #312e81; margin-bottom: 3px; }
.news-point-desc { font-size: 12.5px; color: #64748b; line-height: 1.6; }
.news-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
.news-stat { background: #fff; border: 1px solid #ede9fe; border-radius: 10px; padding: 10px; text-align: center; }
.news-stat-v { display: block; font-size: 18px; font-weight: 700; color: #7c3aed; }
.news-stat-k { font-size: 12px; color: #64748b; }
.news-advice { display: grid; gap: 8px; margin-bottom: 10px; }
.news-advice-item { font-size: 13px; padding: 10px 12px; border-radius: 10px; line-height: 1.6; }
.news-advice-provider { background: #ecfdf5; border: 1px solid #d1fae5; color: #065f46; }
.news-advice-seeker { background: #eff6ff; border: 1px solid #dbeafe; color: #1e40af; }
.news-advice-item b { margin-right: 6px; }
.news-meta { font-size: 12px; color: #94a3b8; margin-top: 8px; }
@media (max-width: 640px) {
  .news-points { grid-template-columns: 1fr; }
  .news-badge { display: none; }
  .news-top-tab { min-width: 0; flex: 1; }
  .news-mid-cards-grid { grid-template-columns: 1fr; }
  .news-mid-cards-grid .news-stats { grid-template-columns: repeat(3, 1fr); }
}

/* V21 生态优选管理后台：商品表格 + 财务统计 */
.eco-admin-table-wrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; -webkit-overflow-scrolling: touch; }
.eco-admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 1200px; }
.eco-admin-table thead th { background: linear-gradient(180deg, #faf5ff, #f3e8ff); color: #5b21b6; font-weight: 600; padding: 10px 8px; text-align: left; border-bottom: 2px solid #ddd6fe; position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.eco-admin-table tbody td { padding: 8px; border-bottom: 1px solid #f3f4f6; vertical-align: top; }
.eco-admin-table tbody tr:hover { background: #faf5ff; }
.eco-admin-table tbody tr:last-child td { border-bottom: none; }
.eco-td-img { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: #f3f4f6; display: flex; align-items: center; justify-content: center; }
.eco-td-img img { width: 100%; height: 100%; object-fit: cover; }
.eco-td-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.eco-td-actions .btn-xs { padding: 2px 6px; font-size: 12px; line-height: 1.2; min-width: 24px; }
.eco-tag { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 11px; background: #f3f4f6; color: #4b5563; font-weight: 500; margin: 0 2px 2px 0; }
.eco-tag.eco-tag-ok { background: #dcfce7; color: #166534; }
.eco-tag.eco-tag-warn { background: #fef3c7; color: #92400e; }
.eco-tag.eco-tag-danger { background: #fee2e2; color: #991b1b; }
.eco-prod-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 18px; }
.eco-prod-badge.prod-on { background: #dcfce7; color: #166534; }
.eco-prod-badge.prod-pending { background: #fef3c7; color: #92400e; }
.eco-prod-badge.prod-off { background: #f3f4f6; color: #6b7280; }
.eco-prod-badge.prod-total { background: #ede9fe; color: #6d28d9; }
.eco-tag.eco-tag-info { background: #dbeafe; color: #1e40af; }
.eco-tag.eco-tag-muted { background: #e5e7eb; color: #6b7280; }

.eco-detail-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.eco-detail-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px; text-align: center; }
.eco-detail-stat-val { font-size: 20px; font-weight: 700; color: #4c1d95; }
.eco-detail-stat-label { font-size: 12px; color: #6b7280; margin-top: 4px; }

.eco-form-label { display: block; font-size: 12px; color: #4b5563; font-weight: 500; margin-bottom: 4px; }
.eco-form-input { width: 100%; padding: 7px 10px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 13px; box-sizing: border-box; background: #fff; }
.eco-form-input:focus { border-color: #7c3aed; outline: none; box-shadow: 0 0 0 2px rgba(124,58,237,.15); }
.eco-form-hint { display: block; font-size: 11px; color: #9ca3af; margin-top: 3px; }

.eco-trend-chart { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding: 6px 0; overflow-x: auto; }
.eco-trend-bar-wrap { display: flex; flex-direction: column; align-items: center; min-width: 22px; flex: 0 0 auto; }
.eco-trend-bar { width: 16px; background: linear-gradient(180deg, #a78bfa, #7c3aed); border-radius: 3px 3px 0 0; transition: opacity .2s; }
.eco-trend-bar:hover { opacity: 0.7; }
.eco-trend-label { font-size: 10px; color: #9ca3af; margin-top: 3px; writing-mode: vertical-rl; text-orientation: mixed; height: 32px; overflow: hidden; }

.eco-finance-row { display: flex; align-items: center; gap: 8px; padding: 8px 4px; border-bottom: 1px solid #f3f4f6; }
.eco-finance-row:last-child { border-bottom: none; }
.eco-finance-rank { width: 22px; height: 22px; border-radius: 50%; background: #e5e7eb; color: #6b7280; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.eco-finance-rank.top { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.eco-finance-main { flex: 1; min-width: 0; }
.eco-finance-name { font-size: 12.5px; font-weight: 600; color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco-finance-spec { font-size: 11px; color: #6b7280; margin-top: 2px; }
.eco-finance-amt { font-size: 13px; font-weight: 700; color: #7c3aed; white-space: nowrap; }
.eco-finance-actions { display: flex; gap: 4px; }

@media (max-width: 768px) {
  .eco-detail-stats { grid-template-columns: repeat(2, 1fr); }
  .eco-admin-table { min-width: 1100px; font-size: 11.5px; }
  .eco-admin-table thead th, .eco-admin-table tbody td { padding: 6px 4px; }
}
/* V21-B 订单管理升级：8 Tab + 表格 + 核销码弹窗 */
.eco-order-tabs { display: flex; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 6px; }
.eco-order-tab { background: transparent; border: none; padding: 8px 14px; border-radius: 8px; font-size: 13px; color: #4b5563; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 6px; }
.eco-order-tab:hover { background: #f3f4f6; color: #7c3aed; }
.eco-order-tab.active { background: linear-gradient(135deg,#7c3aed,#a855f7); color: #fff; box-shadow: 0 2px 6px rgba(124,58,237,.25); }
.eco-order-tab-badge { background: #f3f4f6; color: #6b7280; border-radius: 10px; padding: 1px 7px; font-size: 11px; font-weight: 600; }
.eco-order-tab.active .eco-order-tab-badge { background: rgba(255,255,255,0.25); color: #fff; }
.eco-order-tab-badge.active { background: #fbbf24; color: #fff; }

.eco-order-bulk-bar { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; padding: 10px 14px; background: linear-gradient(180deg,#fffbeb,#fef3c7); border: 1px solid #fde68a; border-radius: 10px; flex-wrap: wrap; }
.eco-order-check-count { color: #92400e; font-size: 12px; font-weight: 600; }

.eco-order-table thead th { background: linear-gradient(180deg,#faf5ff,#f3e8ff); }
.eco-order-table .eco-td-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .eco-order-table { min-width: 1400px; }
}
/* V21-C 生态管理嵌入模式：与平台管理统一 */
.eco-admin-embed { padding: 4px 0 0; min-height: 200px; }
.admin-content { padding: 12px 4px; }
.admin-tabs .admin-tab[data-atab='eco'] { background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(236,72,153,0.06)); }
.admin-tabs .admin-tab[data-atab='eco'].active { background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; }

/* ==================== V24 企业家供求信息实名对接 ==================== */
/* V26.2 企业家对接 AI 趋势洞察徽章 */
.ent-news-badge {
  padding: 3px 10px;
  border-radius: 12px;
  background: #f3e8ff;
  color: #6d28d9;
  font-size: 12px;
}
.ent-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.ent-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ent-tab {
  padding: 7px 14px; border-radius: 20px; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-secondary); cursor: pointer; font-size: 13px; transition: var(--transition);
}
.ent-tab.active { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border-color: transparent; }
.ent-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.ent-filters .search-input { width: 190px; }

.ent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.ent-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; transition: var(--transition); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.ent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.ent-card-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ent-card-company { font-weight: 700; font-size: 15px; color: var(--text); }
.ent-card-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); }
.ent-card-res { background: var(--bg); border-radius: var(--radius-sm); padding: 8px 10px; }
.ent-card-label {
  display: inline-block; font-size: 11px; font-weight: 600; color: #059669;
  background: rgba(16,185,129,0.12); padding: 2px 8px; border-radius: 10px; margin-bottom: 4px;
}
.ent-card-res p { font-size: 13px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.ent-card-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); }
.ent-card-cta { color: var(--primary); font-weight: 600; }

.badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; line-height: 1.6; }
.badge-provide { background: rgba(16,185,129,0.14); color: #059669; }
.badge-need { background: rgba(217,119,6,0.14); color: #d97706; }
.badge-mine { background: rgba(99,102,241,0.14); color: var(--primary); }
.badge-pending { background: rgba(245,158,11,0.15); color: #d97706; }
.badge-approved { background: rgba(16,185,129,0.15); color: #059669; }
.badge-rejected { background: rgba(239,68,68,0.13); color: #ef4444; }
.ent-reason { display: block; margin-top: 4px; font-size: 12px; color: #ef4444; }

.ent-detail-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.ent-detail-company { font-size: 18px; font-weight: 700; }
.ent-detail-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.ent-detail-site { font-size: 13px; color: var(--primary); margin-bottom: 8px; }
.ent-detail-block { margin: 10px 0; padding: 10px 12px; background: var(--bg); border-radius: var(--radius-sm); }
.ent-detail-label { font-size: 12px; font-weight: 700; color: var(--text-secondary); margin-bottom: 4px; }
.ent-detail-text { font-size: 14px; color: var(--text); white-space: pre-wrap; }
.ent-block-provide { border-left: 3px solid #059669; }
.ent-block-need { border-left: 3px solid #d97706; }
.ent-detail-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ent-detail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.btn-ai {
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; border: none;
  padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: var(--transition);
}
.btn-ai:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-ai.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-danger { background: #fee2e2; color: #dc2626; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: var(--transition); }
.btn-danger:hover { background: #fecaca; }
.btn-success { background: #dcfce7; color: #16a34a; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; transition: var(--transition); }
.btn-success:hover { background: #bbf7d0; }

.ent-contact-box {
  border: 1px dashed #7c3aed; background: rgba(124,58,237,0.05); border-radius: var(--radius-sm);
  padding: 8px 12px; margin-top: 6px;
}
.ent-contact-title { font-size: 12px; font-weight: 700; color: #7c3aed; margin-bottom: 4px; }
.ent-contact-row { display: flex; gap: 8px; font-size: 13px; align-items: center; }
.ent-contact-row span { color: var(--text-muted); width: 52px; }
.ent-contact-lock { font-size: 12px; color: var(--text-muted); background: var(--bg); border-radius: var(--radius-sm); padding: 6px 10px; }

.ent-match-title { font-size: 14px; font-weight: 700; margin: 16px 0 10px; color: var(--primary); }
.ent-match-list { display: flex; flex-direction: column; gap: 12px; }
.ent-match-card { display: flex; gap: 12px; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; background: var(--bg-card); }
.ent-match-score { flex: 0 0 64px; text-align: center; }
.ent-match-score-val { font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.ent-match-score-val small { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.ent-match-ai { display: inline-block; font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #6366f1, #8b5cf6); border-radius: 8px; padding: 1px 6px; margin-top: 2px; }
.ent-match-body { flex: 1; min-width: 0; }
.ent-match-head { font-size: 14px; margin-bottom: 4px; }
.ent-match-res { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.ent-match-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 6px 0; }
.ent-match-bar { text-align: center; }
.ent-match-bar span { font-size: 10px; color: var(--text-muted); display: block; }
.ent-match-bar-track { height: 5px; background: #eef2ff; border-radius: 3px; overflow: hidden; margin: 2px 0; }
.ent-match-bar-track div { height: 100%; background: linear-gradient(90deg, #6366f1, #8b5cf6); border-radius: 3px; }
.ent-match-bar b { font-size: 10px; color: var(--text-secondary); }
.ent-match-reasons { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; color: var(--text-secondary); }
.ent-match-reasons li::before { content: '✨ '; }
.ent-match-error { color: #ef4444; background: #fee2e2; border-radius: var(--radius-sm); padding: 10px; margin-top: 12px; font-size: 13px; }
.ent-match-empty { color: var(--text-muted); background: var(--bg); border-radius: var(--radius-sm); padding: 12px; margin-top: 12px; font-size: 13px; }

.ent-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* V24-A 通用表单字段（企业家对接 / 生态管理等弹窗使用） */
.form-field { margin-bottom: 12px; }
.form-field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--text-secondary, #475569);
}
.form-field input:not([type="checkbox"]):not([type="radio"]),
.form-field select,
.form-field textarea {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: var(--radius-sm, 8px);
  font-size: 14px; line-height: 1.55;
  outline: none; transition: var(--transition, all .2s);
  font-family: inherit; color: var(--text, #1e293b);
  background: #fff; box-sizing: border-box;
}
.form-field input[type="checkbox"],
.form-field input[type="radio"] {
  width: auto; padding: 0; border: none;
  background: transparent; box-sizing: border-box;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field select { cursor: pointer; appearance: auto; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #94a3b8; font-size: 13px; }

/* V25-C1 企业认证徽章 / 同城优先 / 撮合记录 */
.badge-verified {
  display: inline-block; background: #ecfdf5; color: #047857;
  border: 1px solid #6ee7b7; border-radius: 20px;
  font-size: 11px; line-height: 1; padding: 3px 8px; margin-left: 4px; vertical-align: middle;
  white-space: nowrap; flex-shrink: 0;
}
.ent-samecity-toggle {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px;
  color: var(--text-secondary, #475569); cursor: pointer; user-select: none;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 6px 10px;
}
.ent-samecity-toggle input { accent-color: var(--primary, #7c3aed); cursor: pointer; }
.ent-match-badge {
  display: inline-block; background: #f3e8ff; color: #7c3aed;
  border-radius: 20px; font-size: 11px; line-height: 1; padding: 3px 8px;
  margin-right: 4px; white-space: nowrap;
}
.ent-match-score-val {
  color: var(--primary, #7c3aed); font-weight: 800; font-size: 16px;
}
.ent-match-score-val small { font-size: 11px; color: #999; font-weight: 400; margin-left: 2px; }
.ent-checkbox-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.ent-checkbox { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-secondary); cursor: pointer; }
.ent-checkbox input { accent-color: var(--primary); }

.ent-my-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; background: var(--bg-card); }
.ent-my-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ent-my-sub { font-size: 12px; color: var(--text-muted); margin: 6px 0; }
.ent-my-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ent-admin-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; background: var(--bg-card); }
.ent-admin-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ent-admin-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin: 6px 0; }

/* ========== V26 线下活动闭环 ========== */
.ent-act-card-title { font-weight: 700; font-size: 16px; color: var(--text); line-height: 1.4; }
.ent-act-tabs { margin-bottom: 4px; }
.badge-act { background: linear-gradient(135deg, #06b6d4, #3b82f6); color: #fff; }
.badge-theme { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; }
.badge-mine { background: #e0e7ff; color: #4f46e5; }
.btn-xs { padding: 3px 8px; font-size: 12px; }
.ent-roster-list { display: flex; flex-direction: column; gap: 6px; }
.ent-roster-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--bg); border-radius: var(--radius-sm); font-size: 13px; flex-wrap: wrap; }
.ent-roster-no { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.ent-roster-name { font-weight: 600; color: var(--text); }
.ent-roster-co { color: var(--text-muted); font-size: 12px; }
.ent-roster-phone { color: var(--text-muted); font-size: 12px; }
.ent-roster-empty { color: var(--text-muted); font-size: 13px; padding: 10px; text-align: center; }
.ent-checkin-code-box { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1px solid #6ee7b7; border-radius: var(--radius); padding: 12px; text-align: center; }
.ent-checkin-code-label { font-size: 12px; color: #065f46; margin-bottom: 6px; }
.ent-checkin-code { font-family: 'Courier New', monospace; font-size: 30px; font-weight: 800; letter-spacing: 10px; color: #059669; }
.ent-reviews { display: flex; flex-direction: column; gap: 8px; }
.ent-review-item { background: var(--bg); border-radius: var(--radius-sm); padding: 8px 10px; font-size: 13px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ent-review-txt { color: var(--text-secondary); flex: 1; min-width: 120px; }
.ent-detail-block { margin-top: 12px; }
.ent-detail-label { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ent-detail-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; white-space: pre-wrap; }
.ent-detail-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); margin: 8px 0 4px; }
.ent-detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }
/* ===== V49 二期 F1：嘉宾 / 议程（论坛·沙龙·培训路演板块详情区块） ===== */
.ent-f1-detail-block { border-left: 3px solid #7c3aed; }
.ent-f1-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.ent-f1-head-title { font-size: 14px; font-weight: 800; color: #5b21b6; letter-spacing: 0.2px; }
.ent-f1-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 2px; }
.ent-f1-card { display: flex; gap: 10px; background: #fff; border: 1px solid var(--border); border-left: 3px solid #8b5cf6; border-radius: 10px; padding: 10px 12px; transition: box-shadow .18s, transform .18s; }
.ent-f1-card:hover { box-shadow: 0 4px 14px rgba(124, 58, 237, .12); transform: translateY(-1px); }
.ent-f1-ava { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #8b5cf6); color: #fff; font-weight: 800; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; object-fit: cover; }
.ent-f1-card-main { min-width: 0; flex: 1; }
.ent-f1-card-name { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ent-f1-card-title { font-size: 11px; color: #6d28d9; background: #f3e8ff; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.ent-f1-card-org, .ent-f1-card-topic, .ent-f1-card-slot { font-size: 12.5px; color: #6b7280; margin-top: 3px; line-height: 1.5; }
.ent-f1-card-topic { color: #374151; font-weight: 500; }
.ent-f1-empty { font-size: 13px; color: #9ca3af; background: #faf7ff; border: 1px dashed #e0d5fa; border-radius: 8px; padding: 12px; text-align: center; }
.ent-f1-timeline { position: relative; margin: 4px 0 2px 6px; padding-left: 22px; border-left: 2px solid #ede9fe; }
.ent-f1-tl-item { position: relative; margin-bottom: 12px; }
.ent-f1-tl-item:last-child { margin-bottom: 2px; }
.ent-f1-tl-dot { position: absolute; left: -27px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #a78bfa); border: 2px solid #fff; box-shadow: 0 0 0 2px #ede9fe; }
.ent-f1-tl-body { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.ent-f1-tl-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ent-f1-tl-time { font-size: 12px; font-weight: 700; color: #7c3aed; background: #f3e8ff; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.ent-f1-tl-title { font-size: 14px; font-weight: 700; color: var(--text); }
.ent-f1-tl-meta { font-size: 12.5px; color: #6b7280; margin-top: 3px; }
.ent-f1-tl-desc { font-size: 12.5px; color: #8b8b98; margin-top: 5px; line-height: 1.6; }
/* F1 编辑器（发起表单 + 维护弹窗） */
.ent-f1-box { border: 1px dashed #c4b5fd; border-radius: 12px; padding: 12px 12px 10px; margin: 0 0 12px; background: #fcfbff; }
.ent-f1-box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.ent-f1-box-title { font-size: 13px; font-weight: 800; color: #5b21b6; }
.ent-f1-box-tip { font-size: 11.5px; color: #9ca3af; }
.ent-f1-sec-title { font-size: 13px; font-weight: 700; color: var(--text-secondary); margin: 8px 0 6px; }
.ent-f1-add-btn { margin: 2px 0 2px; }
.ent-f1-row { position: relative; background: #fff; border: 1px solid #ede9fe; border-radius: 10px; padding: 9px 30px 9px 9px; margin-bottom: 8px; }
.ent-f1-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.ent-f1-grid2:last-child { margin-bottom: 0; }
.ent-f1-in { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; font-size: 13px; outline: none; background: #fff; }
.ent-f1-in:focus { border-color: #8b5cf6; box-shadow: 0 0 0 2px rgba(139, 92, 246, .15); }
.ent-f1-del { position: absolute; top: 7px; right: 9px; width: 20px; height: 20px; line-height: 18px; text-align: center; border-radius: 50%; color: #f87171; background: #fef2f2; cursor: pointer; font-size: 12px; }
.ent-f1-del:hover { background: #fee2e2; color: #dc2626; }
@media (max-width: 480px) {
  .ent-f1-grid2 { grid-template-columns: 1fr; }
  .ent-f1-cards { grid-template-columns: 1fr; }
}
/* ===== V49 二期 F2：项目路演评审打分（培训·项目路演板块 排名看板 / 打分 / 管理） ===== */
.ent-f2-block { border-left-color: #4f46e5; }
.ent-f2-dims-hint { font-size: 11.5px; color: #6b7280; background: #eef2ff; border: 1px solid #c7d2fe; padding: 1px 9px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.ent-f2-body { margin-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.ent-f2-note { font-size: 12.5px; color: #6d28d9; background: #f5f3ff; border: 1px dashed #c4b5fd; border-radius: 8px; padding: 7px 10px; }
.ent-f2-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; transition: box-shadow .18s, transform .18s; }
.ent-f2-row:hover { box-shadow: 0 4px 14px rgba(79, 70, 229, .1); transform: translateY(-1px); }
.ent-f2-rank { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: #f3f4f6; color: #6b7280; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.ent-f2-rank.top { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; box-shadow: 0 3px 10px rgba(124, 58, 237, .3); }
.ent-f2-main { flex: 1; min-width: 0; }
.ent-f2-name { font-size: 14px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ent-f2-mic { font-size: 11px; color: #6d28d9; background: #f3e8ff; padding: 1px 7px; border-radius: 999px; font-weight: 600; }
.ent-f2-org { font-size: 12px; color: #6b7280; margin-top: 2px; }
.ent-f2-sum { font-size: 12.5px; color: #8b8b98; margin-top: 3px; line-height: 1.55; }
.ent-f2-score { flex-shrink: 0; width: 76px; text-align: center; }
.ent-f2-avg { font-size: 24px; font-weight: 800; line-height: 1.1; background: linear-gradient(135deg, #4f46e5, #7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ent-f2-avg.na { background: none; -webkit-text-fill-color: #c6cbd4; color: #c6cbd4; }
.ent-f2-cnt { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.ent-f2-op { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; flex-shrink: 0; max-width: 40%; }
.ent-f2-tpl-preview { font-size: 12px; color: #5b21b6; background: #eef2ff; border-radius: 8px; padding: 6px 9px; line-height: 1.5; }
.ent-f2-empty-note { font-size: 12.5px; color: #9ca3af; background: #faf7ff; border: 1px dashed #e0d5fa; border-radius: 8px; padding: 10px; text-align: center; margin-top: 8px; }
.ent-f2-item-line { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ede9fe; border-left: 3px solid #a78bfa; border-radius: 8px; padding: 7px 10px; margin-top: 8px; }
.f2-item-main { flex: 1; min-width: 0; font-size: 13px; }
.ent-f2-dim-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 10px; margin: 8px 0 0; }
.ent-f2-dim-row label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.ent-f2-dim-in { width: 96px; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; font-size: 13px; outline: none; background: #fff; }
.ent-f2-dim-in:focus { border-color: #8b5cf6; box-shadow: 0 0 0 2px rgba(139, 92, 246, .15); }
@media (max-width: 640px) {
  .ent-f2-row { flex-wrap: wrap; }
  .ent-f2-score { width: auto; min-width: 60px; }
  .ent-f2-op { max-width: 100%; justify-content: flex-start; }
  .ent-f2-dim-row { grid-template-columns: 96px 1fr; }
}
/* ==================== 二期 V49 F3：私董小组化 + 案例拆解 ==================== */
.ent-f3-block { border-left: 3px solid #a78bfa; }
.ent-f3-hint { font-size: 11.5px; color: #7c3aed; background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.ent-f3-locked { font-size: 12.5px; color: #6b7280; background: #fafafa; border: 1px dashed #e5e7eb; border-radius: 10px; padding: 12px; line-height: 1.7; text-align: center; }
.ent-f3-locked b { color: #7c3aed; }
.ent-f3-locked-tip { display: inline-block; margin-top: 4px; font-size: 12px; color: #9ca3af; }
.ent-f3-body { margin-top: 8px; }
.ent-f3-empty { font-size: 12.5px; color: #9ca3af; background: #faf7ff; border: 1px dashed #e0d5fa; border-radius: 8px; padding: 10px; text-align: center; }
.ent-f3-form-tip { font-size: 12px; color: #6b7280; line-height: 1.6; align-self: center; }
.ent-f3-groups, .ent-f3-cases { display: flex; flex-direction: column; gap: 8px; }
.ent-f3-group { background: #fff; border: 1px solid #ede9fe; border-radius: 10px; padding: 9px 12px; transition: box-shadow .18s, transform .18s; }
.ent-f3-group:hover { box-shadow: 0 4px 14px rgba(124, 58, 237, .1); transform: translateY(-1px); }
.ent-f3-group-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ent-f3-group-name { font-size: 14px; font-weight: 700; color: var(--text); }
.ent-f3-group-cnt { font-size: 12px; color: #7c3aed; background: #f3e8ff; border-radius: 999px; padding: 1px 9px; font-weight: 600; flex-shrink: 0; }
.ent-f3-bar { height: 5px; background: #f3f4f6; border-radius: 999px; margin: 7px 0 6px; overflow: hidden; }
.ent-f3-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #4f46e5, #a78bfa); }
.ent-f3-members { display: flex; flex-wrap: wrap; gap: 6px; }
.ent-f3-member { font-size: 12px; color: #374151; background: #f9fafb; border: 1px solid #eef2f7; border-radius: 8px; padding: 3px 9px; }
.ent-f3-member em { font-style: normal; color: #9ca3af; }
.ent-f3-member.none { color: #c6cbd4; }
.ent-f3-lead { font-size: 10.5px; color: #b45309; background: #fef3c7; border-radius: 4px; padding: 0 5px; margin-right: 5px; font-weight: 700; }
.ent-f3-case { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; transition: box-shadow .18s, transform .18s; }
.ent-f3-case:hover { box-shadow: 0 4px 14px rgba(79, 70, 229, .1); transform: translateY(-1px); }
.ent-f3-case-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ent-f3-case-title { font-size: 14px; font-weight: 700; color: var(--text); min-width: 0; }
.ent-f3-case-q { font-size: 12.5px; color: #5b21b6; background: #eef2ff; border-radius: 8px; padding: 6px 9px; margin-top: 6px; line-height: 1.55; }
.ent-f3-case-c { font-size: 12.5px; color: #8b8b98; margin-top: 6px; line-height: 1.6; }
.ent-f3-detail-c { font-size: 13px; color: #4b5563; background: #fafafa; border: 1px solid #f0f0f3; border-radius: 8px; padding: 10px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.ent-f3-case-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.ent-f3-case-meta { font-size: 12px; color: #9ca3af; }
.ent-f3-case-ops { display: flex; gap: 6px; flex-wrap: wrap; }
.ent-f3-cmt { background: #fff; border: 1px solid #eef2f7; border-left: 3px solid #c4b5fd; border-radius: 8px; padding: 8px 11px; margin-top: 8px; }
.ent-f3-cmt-head { display: flex; align-items: center; gap: 8px; }
.ent-f3-cmt-user { font-size: 12.5px; font-weight: 700; color: #4b5563; }
.ent-f3-cmt-text { font-size: 13px; color: #374151; line-height: 1.7; margin-top: 5px; white-space: pre-wrap; word-break: break-word; }
.ent-f3-vote { font-size: 11px; border-radius: 999px; padding: 1px 8px; font-weight: 600; }
.ent-f3-vote-yes { color: #047857; background: #d1fae5; }
.ent-f3-vote-mid { color: #6b7280; background: #f3f4f6; }
.ent-f3-vote-no { color: #b91c1c; background: #fee2e2; }
.ent-f3-cmt-form { margin-top: 12px; border-top: 1px dashed #ede9fe; padding-top: 10px; }
.ent-f3-cmt-form textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px; font-size: 13px; font-family: inherit; line-height: 1.6; outline: none; resize: vertical; }
.ent-f3-cmt-form textarea:focus { border-color: #8b5cf6; box-shadow: 0 0 0 2px rgba(139, 92, 246, .15); }
.ent-f3-vote-row { display: flex; align-items: center; gap: 14px; margin-top: 9px; flex-wrap: wrap; }
.ent-f3-vote-opt { font-size: 13px; color: #4b5563; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.ent-f3-vote-row .btn { margin-left: auto; }
.ent-f3-closed-note { margin-top: 12px; font-size: 12.5px; color: #6b7280; background: #f9fafb; border: 1px dashed #e5e7eb; border-radius: 8px; padding: 10px; text-align: center; }
.ent-f3-roster-tip { font-size: 12.5px; color: #6b7280; align-self: center; }
.ent-f3-roster-tip b { color: #7c3aed; font-size: 14px; }
.ent-f3-item-line { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #ede9fe; border-left: 3px solid #a78bfa; border-radius: 8px; padding: 8px 11px; margin-top: 8px; }
.ent-f3-item-members { font-size: 12px; color: #9ca3af; margin-top: 3px; line-height: 1.6; }
@media (max-width: 640px) {
  .ent-f3-case-foot { flex-direction: column; align-items: flex-start; }
  .ent-f3-vote-row .btn { margin-left: 0; width: 100%; }
  .ent-f3-hint { display: none; }
}
.ent-star-row { display: flex; gap: 4px; font-size: 26px; }
.ent-star { color: #d1d5db; cursor: pointer; transition: var(--transition); }
.ent-star.on { color: #f59e0b; text-shadow: 0 0 8px rgba(245, 158, 11, .4); }
.ent-review-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ent-tag-btn { padding: 4px 10px; border-radius: 16px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-secondary); font-size: 12px; cursor: pointer; transition: var(--transition); }
.ent-tag-btn.on { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; border-color: transparent; }
@media (max-width: 768px) {
  .ent-detail-meta { font-size: 12px; }
  .ent-checkin-code { font-size: 24px; letter-spacing: 6px; }
}
.ent-admin-res { font-size: 13px; color: var(--text-secondary); margin: 4px 0; }
.ent-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.btn-secondary.liked, .btn.liked { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }

/* ==================== V25 生态深化：内容增强 / 会员特权 / 风控 / 数据洞察 ==================== */
/* 置顶标识 */
.badge-boost { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; box-shadow: 0 2px 8px rgba(249, 115, 22, .35); }
.btn-boost { background: linear-gradient(135deg, #f97316, #ef4444); color: #fff; border: none; }
.btn-boost:hover { opacity: .9; }
/* 附件（BP/手册） */
.ent-file-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ent-file-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 4px 8px; font-size: 12px; color: var(--text-secondary); }
.ent-att-list { display: flex; flex-direction: column; gap: 6px; }
.ent-att-item { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 13px; width: fit-content; }
/* 举报 */
.ent-report-btn { color: #dc2626; border-color: #fca5a5; }
.ent-report-btn:hover { background: #fef2f2; }
/* 数据看板（首页 + 管理端） */
.ent-insight-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.ent-insight-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.ent-insight-title { font-size: 13px; color: var(--text); display: block; margin-bottom: 10px; }
.ent-insight-list { display: flex; flex-direction: column; gap: 8px; }
.ent-insight-row { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ent-insight-name { width: 72px; font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 0; }
.ent-insight-bar { flex: 1; height: 8px; background: var(--bg); border-radius: 6px; overflow: hidden; }
.ent-insight-bar div { height: 100%; background: linear-gradient(90deg, #4f46e5, #7c3aed); border-radius: 6px; min-width: 4px; }
.ent-insight-num { width: 28px; text-align: right; font-size: 12px; color: var(--text); }
.ent-insight-tag { font-size: 11px; color: var(--text-muted); }
.ent-insight-match { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.ent-insight-rate-wrap { display: flex; flex-direction: column; align-items: center; }
.ent-insight-rate { font-size: 44px; font-weight: 800; background: linear-gradient(135deg, #4f46e5, #7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; }
.ent-insight-rate-sub { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
/* 管理端统计卡 */
.ent-stats-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 14px; }
.ent-stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; text-align: center; }
.ent-stat-num { font-size: 28px; font-weight: 800; color: var(--primary); }
.ent-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.ent-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ent-stats-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.ent-stats-title { font-size: 13px; color: var(--text); display: block; margin-bottom: 10px; }
.ent-stats-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ent-stats-bar-name { width: 90px; font-size: 12px; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex-shrink: 0; }
.ent-stats-bar { flex: 1; height: 8px; background: var(--bg); border-radius: 6px; overflow: hidden; }
.ent-stats-bar div { height: 100%; background: linear-gradient(90deg, #f59e0b, #ef4444); border-radius: 6px; min-width: 4px; }
.ent-stats-empty { font-size: 12px; color: var(--text-muted); text-align: center; padding: 12px; }
.ent-trend-bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; overflow-x: auto; padding-bottom: 2px; }
.ent-trend-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1; min-width: 26px; }
.ent-trend-bar { width: 100%; background: linear-gradient(180deg, #4f46e5, #7c3aed); border-radius: 4px 4px 0 0; min-height: 2px; }
.ent-trend-col span { font-size: 9px; color: var(--text-muted); margin-top: 4px; white-space: nowrap; }
/* 举报处理 */
.ent-report-group { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.ent-report-item { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin-top: 10px; background: var(--bg-card); }
.ent-report-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ent-report-detail { font-size: 12px; color: var(--text-secondary); margin-top: 6px; line-height: 1.5; }
.ent-report-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge-pending { background: #fef3c7; color: #b45309; border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
.badge-approved { background: #d1fae5; color: #047857; border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
.badge-rejected { background: #fee2e2; color: #b91c1c; border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 700; }
@media (max-width: 768px) {
  .ent-insight-grid { grid-template-columns: 1fr; }
  .ent-stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ent-detail-grid2 { grid-template-columns: 1fr; }
  .ent-form-grid { grid-template-columns: 1fr; }
  .ent-filters { margin-left: 0; }
  .ent-match-card { flex-direction: column; }
}

/* ==================== 收款方式管理（H5 与小程序对齐） ==================== */
.payout-quick { background:#fff; border:1px solid #eef0f4; border-radius:12px; padding:12px 14px; margin:10px 0 14px; }
.payout-quick-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.payout-quick-title { font-weight:600; font-size:14px; color:#1e293b; }
.payout-quick-manage { border:1px solid #c7d2fe; background:#eef2ff; color:#5b21b6; border-radius:8px; padding:3px 12px; font-size:12px; cursor:pointer; }
.payout-quick-manage:hover { background:#e0e7ff; }
.payout-chips { display:flex; flex-wrap:wrap; gap:8px; }
.payout-chip { display:inline-flex; align-items:center; gap:4px; border:1px solid #e2e8f0; background:#f8fafc; border-radius:999px; padding:4px 12px; font-size:12px; color:#334155; cursor:pointer; transition:all .15s; }
.payout-chip:hover { border-color:#a78bfa; color:#5b21b6; background:#f5f3ff; }
.payout-chip.is-default { border-color:#a78bfa; background:#f5f3ff; color:#5b21b6; font-weight:600; }
.payout-chip-empty { font-size:12px; color:#94a3b8; }

.payout-modal { max-width: 520px; width: 100%; }
.pm-list { display:flex; flex-direction:column; gap:8px; }
.pm-item { display:flex; align-items:center; gap:10px; border:1px solid #e2e8f0; border-radius:10px; padding:10px 12px; background:#fbfdff; }
.pm-item.is-default { border-color:#c7d2fe; background:#f5f3ff; }
.pm-item-icon { font-size:22px; }
.pm-item-info { flex:1; min-width:0; }
.pm-item-line1 { font-size:14px; font-weight:600; color:#1e293b; }
.pm-default-badge { background:linear-gradient(135deg,#8b5cf6,#ec4899); color:#fff; font-size:10px; padding:1px 8px; border-radius:999px; margin-left:4px; }
.pm-item-account { font-size:13px; color:#64748b; margin-top:2px; word-break:break-all; }
.pm-item-ops { display:flex; gap:4px; flex-shrink:0; }
.pm-op { border:1px solid #e2e8f0; background:#fff; color:#5b21b6; border-radius:6px; padding:2px 8px; font-size:12px; cursor:pointer; }
.pm-op:hover { border-color:#a78bfa; }
.pm-op-danger { color:#e11d48; }
.pm-empty { text-align:center; color:#94a3b8; padding:22px 0; font-size:13px; line-height:1.8; }
.pm-form { border:1px dashed #c7d2fe; background:#fafaff; border-radius:10px; padding:12px 14px; margin-top:10px; }
.pm-form-title { font-weight:700; font-size:14px; color:#5b21b6; margin-bottom:8px; }
.pm-default-toggle { display:flex; align-items:center; gap:6px; font-size:13px; color:#475569; margin:4px 0 10px; cursor:pointer; }
.pm-form-actions { display:flex; justify-content:flex-end; gap:8px; }
.pm-add-btn { margin-top:12px; width:100%; }
@media (max-width:640px) {
  .payout-chip { font-size:11px; padding:3px 9px; }
  .pm-item { flex-wrap:wrap; }
  .pm-item-ops { width:100%; justify-content:flex-end; }
}
/* ================================================================
   v29-enhance 重彩增强（v20260904 · 已确认启用）
   —— 强化首页 Hero/统计/热门标签 + 全局按钮/标题/价格/步骤，保留白底 header
   回退：删除本段即还原（备份见 style.css.v29.bak）
   ================================================================ */
:root {
  --pink: #db2777; --pink-light: #f472b6; --pink-soft: #fce7f3;
  --green: #059669; --green-light: #10b981; --green-soft: #d1fae5;
  --orange: #f59e0b; --orange-deep: #ea580c; --orange-soft: #fef3c7;
  --gold: #fcd34d; --gold-deep: #fbbf24;
  --accent-purple: #7c3aed; --primary-soft: #818cf8;
  --ai-purple: #667eea; --ai-purple-dark: #764ba2;
}
/* ---------- 首页 Hero：紫→紫→粉 三段渐变大色块 ---------- */
#page-home .hero {
  background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #db2777 100%) !important;
  color: #fff !important;
  border-radius: 24px !important;
  padding: 56px 48px !important;
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3) !important;
}
#page-home .hero-content,
#page-home .hero-title,
#page-home .hero-subtitle,
#page-home .hero p,
#page-home .hero span { color: #fff !important; }
#page-home .hero-title .highlight {
  background: linear-gradient(90deg, #ffffff, #fcd34d) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
#page-home .hero-subtitle { opacity: .92; }
#page-home .hero-subtitle b { color: #fff !important; }
/* 浮动卡片：白底必须深字（V29 白色承染曾导致卡片文字隐形） */
#page-home .hero .floating-card,
#page-home .hero .floating-card span { color: #1e293b !important; }
/* 搜索框白底 */
#page-home .search-box { background: rgba(255,255,255,.16) !important; border: 1px solid rgba(255,255,255,.35) !important; }
#page-home .search-input { background: #fff !important; color: #1e293b !important; }
#page-home .btn-search { background: linear-gradient(135deg, #db2777, #f472b6) !important; box-shadow: 0 6px 18px rgba(219,39,119,.35) !important; }
/* CTA 按钮 */
#page-home .hero-cta-btn.primary { background: linear-gradient(135deg, #db2777, #7c3aed) !important; color: #fff !important; box-shadow: 0 8px 22px rgba(219,39,119,.3) !important; }
#page-home .hero-cta-btn.secondary { background: rgba(255,255,255,.18) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.55) !important; }
/* 热门标签：实心渐变胶囊 */
#page-home .hero-tags .tag {
  color: #fff !important;
  background: linear-gradient(135deg, #6366f1, #7c3aed) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 6px 14px !important;
  box-shadow: 0 4px 12px rgba(99,102,241,.25) !important;
}
#page-home .hero-tags .tag:nth-of-type(3) { background: linear-gradient(135deg, #db2777, #f472b6) !important; }
#page-home .hero-tags .tag:nth-of-type(4) { background: linear-gradient(135deg, #059669, #10b981) !important; }
#page-home .hero-tags .tag:nth-of-type(5) { background: linear-gradient(135deg, #f59e0b, #ea580c) !important; }
#page-home .hero-tags .tag:nth-of-type(6) { background: linear-gradient(135deg, #6366f1, #7c3aed) !important; }
#page-home .hero-tags .tag:nth-of-type(7) { background: linear-gradient(135deg, #db2777, #f472b6) !important; }
#page-home .hero-tags .tag:nth-of-type(8) { background: linear-gradient(135deg, #059669, #10b981) !important; }
#page-home .hero-tags .tag:nth-of-type(9) { background: linear-gradient(135deg, #f59e0b, #ea580c) !important; }
/* ---------- 首页统计栏：紧凑 7 列 + 数字上/图标文字下 ---------- */
#page-home .stats-bar {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 12px !important;
}
#page-home .stats-bar .stat-item {
  padding: 8px 4px !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  gap: 1px !important;
}
#page-home .stats-bar .stat-item .stat-number {
  font-size: 20px !important;
  line-height: 1.2 !important;
}
#page-home .stats-bar .stat-item .stat-icon {
  font-size: 15px !important;
  margin: 0 !important;
}
#page-home .stats-bar .stat-item .stat-label {
  font-size: 11px !important;
  margin: 0 !important;
}
@media (max-width: 760px) {
  #page-home .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* ---------- Section 标题：浅渐变 + 左侧彩条 ---------- */
.section-header, .panel-header {
  background: linear-gradient(135deg, rgba(99,102,241,.05), rgba(219,39,119,.05)) !important;
  border-left: 4px solid #6366f1 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
}
/* ---------- 按钮：紫渐变 / 搜索渐变 ---------- */
.btn-primary { background: linear-gradient(135deg, #6366f1, #7c3aed) !important; color: #fff !important; border: none !important; }
.btn-primary:hover { background: linear-gradient(135deg, #4f46e5, #6d28d9) !important; }
.btn-search { background: linear-gradient(135deg, #6366f1, #7c3aed) !important; color: #fff !important; }
.btn-search:hover { background: linear-gradient(135deg, #4f46e5, #6d28d9) !important; }
/* ---------- 价格：紫粉渐变文字 ---------- */
.skill-price, .price, [class*="price"], [class*="Price"] {
  background: linear-gradient(135deg, #db2777, #6366f1) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
/* ---------- 卡片左边条：技能紫 / 需求玫红 ---------- */
.skill-card, [class*="skill-card"] { border-left: 4px solid #6366f1 !important; }
.demand-card, [class*="demand-card"] { border-left: 4px solid #db2777 !important; }
/* ---------- 如何运作：步骤图标多色 ---------- */
.step-icon, [class*="step-icon"] { color: #fff !important; }
.step:nth-child(1) .step-icon { background: linear-gradient(135deg, #6366f1, #7c3aed) !important; }
.step:nth-child(3) .step-icon { background: linear-gradient(135deg, #db2777, #f472b6) !important; }
.step:nth-child(5) .step-icon { background: linear-gradient(135deg, #059669, #10b981) !important; }
.step:nth-child(7) .step-icon { background: linear-gradient(135deg, #f59e0b, #ea580c) !important; }
/* ---------- 防截断修复 ---------- */
.quick-actions button, .action-buttons button, .overview-actions button,
[class*="quick-action"] button, [class*="action-btn"],
button, .btn { white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; }
/* 移动端适配 */
@media (max-width: 760px) {
  #page-home .hero { padding: 32px 20px !important; border-radius: 18px !important; }
  #page-home .stats-bar { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ========== V48 六大板块执行中心（企业家对接子模块 · 一期） ========== */

.ent-act-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }

.ent-act-tools .ent-tabs { flex: 1 1 auto; }

.ent-act-tools .ent-act-create { flex: 0 0 auto; margin-left: auto; }

.ent-board-tab { min-width: 0; padding: 8px 12px !important; }

.ent-board-tab.active { background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 2px 8px rgba(124, 58, 237, .25) !important; }

.badge-board { display: inline-flex; align-items: center; gap: 3px; background: #eef2ff !important; color: #5b21b6 !important; border: 1px solid #c7d2fe; font-weight: 600; }

.ent-detail-head .badge-board { font-size: 12px; padding: 3px 10px; border-radius: 999px; }

.ent-form-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }

.ent-type-chip { border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; transition: all .15s ease; white-space: nowrap; }

.ent-type-chip:hover { border-color: #c7d2fe; }

.ent-type-chip.ent-checked { border-color: #7c3aed; background: linear-gradient(135deg, #eef2ff, #faf5ff); color: #5b21b6; font-weight: 600; box-shadow: 0 2px 8px rgba(124, 58, 237, .12); }

.ent-type-chip input { display: none; }

@media (max-width: 760px) {

  .ent-act-tools { flex-direction: column; align-items: stretch; }

  .ent-act-tools .ent-act-create { margin-left: 0; }

  .ent-form-type-grid { grid-template-columns: repeat(2, 1fr); }

}

/* ==================== V50 全民能视界（H5 MVP） ==================== */
.sj-topbar {
  position: sticky; top: 64px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px);
  border: 1px solid #f0e7ff; border-radius: 14px;
  padding: 10px 14px; margin-bottom: 16px; flex-wrap: wrap;
}
.sj-channels { display: flex; gap: 6px; overflow-x: auto; flex: 1 1 auto; min-width: 0; scrollbar-width: thin; }
.sj-channel {
  white-space: nowrap; border: 1px solid #e5e0f5; background: #fff; color: #555;
  border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer;
  transition: all 0.15s;
}
.sj-channel:hover { border-color: #7c3aed; color: #7c3aed; }
.sj-channel.active {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6); color: #fff;
  border-color: transparent; font-weight: 600; box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}
.sj-actions { flex-shrink: 0; }
.sj-tool-btn {
  background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; border: none;
  border-radius: 999px; padding: 8px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer; box-shadow: 0 2px 10px rgba(236, 72, 153, 0.3); transition: transform 0.15s;
}
.sj-tool-btn:hover { transform: translateY(-1px); }
.sj-tool-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.sj-feed-wrap { min-height: 400px; }
.sj-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sj-card {
  background: #fff; border: 1px solid #f0e7f7; border-radius: 14px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column;
}
.sj-card:hover { box-shadow: 0 8px 24px rgba(124, 58, 237, 0.12); transform: translateY(-2px); }
.sj-card-media { position: relative; aspect-ratio: 16 / 10; background: #0d0b14; cursor: pointer; overflow: hidden; }
.sj-card-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sj-card-novideo {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #6b6480; font-size: 13px; background: linear-gradient(160deg, #1a1626, #0d0b14);
}
.sj-duration {
  position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, 0.7); color: #fff;
  border-radius: 6px; padding: 2px 7px; font-size: 12px; font-variant-numeric: tabular-nums;
}
.sj-play-hint {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0; color: rgba(255, 255, 255, 0.9); pointer-events: none;
  transition: background 0.2s;
}
.sj-play-hint::before { content: '▶'; font-size: 34px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.sj-card-media:hover .sj-play-hint { background: rgba(13, 11, 20, 0.25); }
.sj-card-info { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sj-card-title {
  font-size: 15px; font-weight: 600; color: #241b3a; line-height: 1.45; cursor: pointer;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sj-card-title:hover { color: #7c3aed; }
.sj-card-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.sj-avatar {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1px solid #ece5f7; display: inline-flex; align-items: center; justify-content: center;
}
.sj-avatar.lg { width: 40px; height: 40px; }
.sj-avatar-ph { background: linear-gradient(135deg, #f3effb, #faf5ff); font-size: 13px; }
.sj-avatar.lg.sj-avatar-ph { font-size: 18px; }
.sj-author-name { font-size: 13px; color: #4b4360; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sj-board-tag {
  font-size: 11px; color: #7c3aed; background: #f5f0fd; border: 1px solid #e6dbfa;
  border-radius: 999px; padding: 1px 8px; flex-shrink: 0;
}
.sj-loc, .sj-time { font-size: 12px; color: #9b93b0; }
.sj-stat { font-size: 12px; color: #9b93b0; font-variant-numeric: tabular-nums; }
.sj-act {
  border: none; background: #f6f2fc; color: #555; border-radius: 999px; padding: 4px 10px;
  font-size: 12px; cursor: pointer; transition: all 0.15s; margin-left: auto;
}
.sj-act + .sj-act { margin-left: 0; }
.sj-act:hover { background: #ece4fa; }
.sj-act.liked { background: #ffe9ef; color: #e0245e; }
.sj-act.faved { background: #fff6dd; color: #c77d00; }
.sj-act.lg { padding: 8px 16px; font-size: 14px; }

.sj-more-wrap { grid-column: 1 / -1; display: flex; justify-content: center; padding: 8px 0; }
.sj-empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #9b93b0;
  background: #fff; border: 1px dashed #e5dcf5; border-radius: 14px;
}
.sj-empty-icon { font-size: 42px; display: block; margin-bottom: 10px; }

/* 沉浸式播放层 */
.sj-player-overlay {
  position: fixed; inset: 0; z-index: 2100; background: #08060d;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.sj-player-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.sj-player-video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.sj-player-novideo {
  color: #6b6480; font-size: 15px; padding: 40px; background: #16121f;
  border-radius: 14px; border: 1px solid #2a2340;
}
.sj-player-close {
  position: fixed; top: 16px; right: 16px; z-index: 2101; width: 38px; height: 38px;
  border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 17px; cursor: pointer; backdrop-filter: blur(4px); transition: background 0.15s;
}
.sj-player-close:hover { background: rgba(255, 255, 255, 0.25); }
.sj-player-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2101;
  background: linear-gradient(to top, rgba(8, 6, 13, 0.96), rgba(8, 6, 13, 0.78), transparent);
  padding: 40px 22px 22px; color: #fff; max-height: 46vh; overflow-y: auto;
}
.sj-player-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sj-player-author { flex: 1 1 auto; min-width: 0; }
.sj-player-name { font-size: 15px; font-weight: 600; color: #fff; }
.sj-player-sub { font-size: 12px; color: #a89fc2; margin-top: 2px; }
.sj-follow-btn {
  border: 1px solid #a78bfa; background: transparent; color: #c4b5fd; border-radius: 999px;
  padding: 5px 16px; font-size: 13px; cursor: pointer; flex-shrink: 0; transition: all 0.15s;
}
.sj-follow-btn.on { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); color: #cfc8e0; }
.sj-player-title { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 6px; }
.sj-player-desc { font-size: 13px; color: #cfc8e0; line-height: 1.7; margin-bottom: 6px; white-space: pre-wrap; }
.sj-topics { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.sj-topic { font-size: 12px; color: #c4b5fd; background: rgba(124, 58, 237, 0.2); padding: 2px 10px; border-radius: 999px; }
.sj-player-actions { display: flex; gap: 10px; }
.sj-player-actions .sj-act { background: rgba(255, 255, 255, 0.12); color: #e7e2f5; }
.sj-player-actions .sj-act:hover { background: rgba(255, 255, 255, 0.22); }
.sj-player-actions .sj-act.liked { background: rgba(224, 36, 94, 0.3); color: #ffb3ca; }
.sj-player-actions .sj-act.faved { background: rgba(199, 125, 0, 0.3); color: #ffe1a3; }
.sj-player-loading { color: #a89fc2; font-size: 15px; }

/* ---------- 播放页转化组件（服务挂载 / 咨询入口） ---------- */
.sj-player-services { margin-top: 14px; }
.sj-services-title { font-size: 13px; color: #c4b5fd; margin-bottom: 8px; font-weight: 600; }
.sj-services-list { display: flex; flex-direction: column; gap: 10px; }
.sj-service-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.sj-service-info { flex: 1; min-width: 0; }
.sj-service-title { color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sj-service-price { color: #fbbf24; font-size: 13px; margin-top: 3px; }
.sj-service-btns { display: flex; gap: 8px; flex-shrink: 0; }
.sj-service-btn { border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.1); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.sj-service-btn.primary { background: linear-gradient(135deg, #7c3aed, #ec4899); border-color: transparent; }
.sj-player-lead { margin-top: 14px; display: flex; gap: 10px; }
.sj-lead-btn { flex: 1; border: none; border-radius: 999px; padding: 10px; font-size: 14px; font-weight: 600; cursor: pointer; color: #fff; transition: transform .15s, box-shadow .15s; }
.sj-lead-btn.chat { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: #fff; }
.sj-lead-btn.chat:hover { background: rgba(255,255,255,0.2); }
.sj-lead-btn.contact { background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; }
.sj-lead-btn.contact:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(236,72,153,0.35); }
.sj-cr-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.sj-cr-actions .sj-lead-btn { flex: 0 1 auto; min-width: 120px; padding: 9px 20px; }

/* 移动端 */
@media (max-width: 640px) {
  .sj-service-card { padding: 10px; }
  .sj-service-btn { padding: 5px 10px; font-size: 12px; }
}
@media (max-width: 640px) and (max-aspect-ratio: 9/16) {
  .sj-lead-btn { padding: 8px; font-size: 13px; }
}
@media (max-width: 640px) {
  .sj-topbar { top: 56px; padding: 8px 10px; border-radius: 12px; }
  .sj-tool-btn { padding: 6px 14px; font-size: 13px; }
  .sj-feed { grid-template-columns: 1fr; gap: 12px; }
  .sj-card-media { aspect-ratio: 16 / 10; }
  .sj-player-bar { padding: 32px 14px 16px; }
  .sj-player-title { font-size: 15px; }
  .sj-act.lg { padding: 7px 13px; font-size: 13px; }
  .sj-player-action-row { justify-content: center; }
  .sj-player-action-row .sj-lead-btn { min-width: 100px; padding: 9px 14px; font-size: 13px; }
  .sj-admin-actions-inline { justify-content: center; }
}

/* ==================== V51 视界二期：评论区 / 视界号主页 / 我的视界 / 搜索 ==================== */
.sj-author-link { cursor: pointer; }
.sj-author-link:hover { color: var(--primary, #7c3aed); text-decoration: underline; }
.sj-search-input { width: 190px; padding: 7px 12px; border-radius: 999px; border: 1px solid #ddd; font-size: 13px; outline: none; background: #fff; }
.sj-search-input:focus { border-color: var(--primary, #7c3aed); box-shadow: 0 0 0 2px rgba(124,58,237,.12); }
.sj-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- 评论区（播放层右侧抽屉 / 移动端底部弹层） ---------- */
.sj-cmt-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: #16101f; display: flex; flex-direction: column; z-index: 60; border-left: 1px solid rgba(255,255,255,.12); animation: sjSlideIn .22s ease; }
@keyframes sjSlideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sj-cmt-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 15px; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0; }
.sj-cmt-close { background: none; border: none; color: #c4b5fd; font-size: 16px; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.sj-cmt-close:hover { background: rgba(255,255,255,.12); }
.sj-cmt-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 14px; }
.sj-cmt-loading { text-align: center; color: #a78bfa; font-size: 13px; padding: 22px 0; }
.sj-cmt-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.sj-cmt-item.reply { border-bottom: none; padding: 8px 0 2px; }
.sj-cmt-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #2d1b4e; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.sj-cmt-main { flex: 1; min-width: 0; }
.sj-cmt-head .sj-cmt-name { font-size: 13px; font-weight: 600; color: #e9d5ff; }
.sj-cmt-head .sj-cmt-time { font-size: 11px; color: rgba(255,255,255,.45); }
.sj-cmt-text { font-size: 13px; color: rgba(255,255,255,.92); line-height: 1.6; margin-top: 3px; word-break: break-word; }
.sj-cmt-replyto { color: #a78bfa; }
.sj-cmt-ops { display: flex; gap: 12px; margin-top: 4px; }
.sj-cmt-op { background: none; border: none; color: rgba(255,255,255,.5); font-size: 12px; cursor: pointer; padding: 0; }
.sj-cmt-op:hover { color: #c4b5fd; }
.sj-cmt-op.danger:hover { color: #fca5a5; }
.sj-cmt-replies { margin-top: 6px; padding-left: 10px; border-left: 2px solid rgba(167,139,250,.35); }
.sj-cmt-more { display: block; width: 100%; margin: 10px 0 4px; padding: 8px; border-radius: 8px; border: 1px solid rgba(167,139,250,.4); background: rgba(167,139,250,.12); color: #c4b5fd; font-size: 13px; cursor: pointer; }
.sj-cmt-inputbar { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.1); flex-shrink: 0; }
.sj-cmt-inputbar input { flex: 1; padding: 9px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font-size: 13px; outline: none; min-width: 0; }
.sj-cmt-inputbar input:focus { border-color: #a78bfa; }
.sj-cmt-send { padding: 8px 18px; border-radius: 999px; border: none; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0; }

/* ---------- 视界号主页弹窗 ---------- */
.sj-cr-modal { max-width: 940px; width: 92vw; max-height: 88vh; overflow-y: auto; padding: 22px; }
.sj-cr-loading { text-align: center; color: var(--primary, #7c3aed); font-size: 14px; padding: 26px 0; }
.sj-cr-header { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sj-cr-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; background: #f1ecfb; display: inline-flex; align-items: center; justify-content: center; font-size: 34px; flex-shrink: 0; }
.sj-cr-info { flex: 1; min-width: 220px; }
.sj-cr-name { font-size: 20px; font-weight: 800; color: #1f2937; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sj-cr-verify { font-size: 12px; font-weight: 600; color: #2563eb; background: #eff6ff; padding: 2px 8px; border-radius: 999px; }
.sj-cr-me { font-size: 12px; font-weight: 600; color: #7c3aed; background: #f5f0ff; padding: 2px 8px; border-radius: 999px; }
.sj-cr-stats { display: flex; gap: 18px; margin-top: 6px; font-size: 13px; color: #6b7280; }
.sj-cr-stats b { color: #111827; font-size: 16px; margin-right: 4px; }
.sj-cr-handle { font-size: 12px; color: #9ca3af; margin-top: 4px; }
.sj-cr-area { font-size: 12px; color: #6b7280; margin-top: 2px; }
.sj-cr-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.sj-cr-tag { font-size: 11px; color: #7c3aed; background: #f5f0ff; border: 1px solid #e2d9fb; padding: 2px 9px; border-radius: 999px; }
.sj-cr-bio { margin-top: 12px; font-size: 13px; color: #4b5563; line-height: 1.7; background: #faf7ff; border: 1px solid #f0e9fd; border-radius: 10px; padding: 10px 14px; }
.sj-cr-sec { margin-top: 14px; }
.sj-cr-sec-title { font-size: 14px; font-weight: 700; color: #374151; margin-bottom: 8px; }
.sj-cr-skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sj-cr-skill { border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; cursor: pointer; transition: all .15s; }
.sj-cr-skill:hover { border-color: #c4b5fd; box-shadow: 0 2px 10px rgba(124,58,237,.1); }
.sj-cr-skill-title { font-size: 13px; font-weight: 600; color: #1f2937; }
.sj-cr-skill-price { font-size: 12px; color: #f59e0b; margin-top: 4px; font-weight: 700; }
.sj-cr-tabs { display: flex; gap: 6px; margin-top: 16px; border-bottom: 2px solid #f1ecfb; }
.sj-cr-tab { border: none; background: none; padding: 9px 18px; font-size: 14px; color: #6b7280; cursor: pointer; border-radius: 10px 10px 0 0; font-weight: 600; }
.sj-cr-tab.active { color: #7c3aed; background: linear-gradient(180deg, #f5f0ff, #fff); box-shadow: inset 0 -2px 0 #7c3aed; }
.sj-cr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 14px; }
.sj-cr-grid.rows2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sj-mini-card { border: 1px solid #eee; border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; transition: all .15s; }
.sj-mini-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(124,58,237,.13); border-color: #ddd0fa; }
.sj-mini-cover { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #0b0614; }
.sj-mini-novideo { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; font-size: 26px; color: #6b21a8; background: linear-gradient(135deg, #171029, #2d1b4e); }
.sj-mini-title { font-size: 13px; font-weight: 600; color: #1f2937; padding: 8px 10px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sj-mini-meta { font-size: 11px; color: #9ca3af; padding: 0 10px 10px; }

/* ---------- 我的视界面板 ---------- */
.sj-mine-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.sj-mine-stat { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 12px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.sj-mine-stat-icon { font-size: 18px; }
.sj-mine-stat-val { font-size: 20px; font-weight: 800; background: linear-gradient(135deg, #7c3aed, #ec4899); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sj-mine-stat-label { font-size: 11px; color: #6b7280; }
.sj-mine-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sj-mine-tab { border: 1px solid #ddd; background: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13px; color: #4b5563; cursor: pointer; font-weight: 600; }
.sj-mine-tab.active { border-color: #7c3aed; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; box-shadow: 0 3px 10px rgba(124,58,237,.28); }
.sj-mine-card { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 10px; margin-bottom: 10px; }
.sj-mine-cover { width: 150px; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; flex-shrink: 0; cursor: pointer; background: #0b0614; display: flex; align-items: center; justify-content: center; }
.sj-mine-cover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sj-mine-info { flex: 1; min-width: 0; }
.sj-mine-title { font-size: 14px; font-weight: 700; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sj-mine-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 12px; color: #6b7280; margin-top: 6px; }
.sj-status-badge { font-size: 11px; font-weight: 700; padding: 1px 9px; border-radius: 999px; }
.sj-status-badge.ok { color: #059669; background: #ecfdf5; }
.sj-status-badge.warn { color: #d97706; background: #fffbeb; }
.sj-status-badge.danger { color: #dc2626; background: #fef2f2; }
.sj-status-badge.muted { color: #6b7280; background: #f3f4f6; }
.sj-mine-ops { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; }
.sj-tool-btn.danger { background: linear-gradient(135deg, #ef4444, #b91c1c); color: #fff; border: none; box-shadow: 0 2px 10px rgba(239,68,68,0.3); }
.sj-tool-btn.danger:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(239,68,68,0.4); }
.sj-mine-ops .sj-tool-btn { color: #fff; }
.sj-mine-ops .sj-tool-btn.danger { color: #fff; border: none; }
.sj-empty { text-align: center; padding: 30px 0; color: #9ca3af; font-size: 13px; }
.sj-empty-icon { font-size: 30px; display: block; margin-bottom: 6px; }

/* ---------- 搜索结果 ---------- */
.sj-sr-sec { margin-bottom: 18px; }
.sj-sr-sec-title { font-size: 14px; font-weight: 700; color: #374151; margin-bottom: 8px; padding-left: 2px; }
.sj-sr-video { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; transition: all .15s; }
.sj-sr-video:hover { border-color: #c4b5fd; box-shadow: 0 2px 10px rgba(124,58,237,.1); }
.sj-sr-play { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #a855f7); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.sj-sr-info { flex: 1; min-width: 0; }
.sj-sr-title { font-size: 14px; font-weight: 600; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sj-sr-meta { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.sj-sr-user { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.sj-sr-user:hover { border-color: #c4b5fd; }
.sj-sr-topic { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.sj-sr-hot { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 11px 14px; margin-bottom: 8px; cursor: pointer; }
.sj-sr-hot:hover { border-color: #c4b5fd; box-shadow: 0 2px 10px rgba(124,58,237,.1); }
.sj-sr-rank { width: 22px; height: 22px; border-radius: 6px; background: #f3f4f6; color: #6b7280; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sj-sr-rank.top { background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; }
.sj-sr-kw { flex: 1; font-size: 14px; font-weight: 600; color: #1f2937; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 768px) {
  .sj-search-input { width: 120px; }
  .sj-cmt-panel { top: auto; bottom: 0; left: 0; right: 0; width: 100%; height: 66vh; border-left: none; border-top: 1px solid rgba(255,255,255,.15); border-radius: 14px 14px 0 0; animation: sjSlideUp .22s ease; }
  @keyframes sjSlideUp { from { transform: translateY(50px); opacity: 0; } to { transform: none; opacity: 1; } }
  .sj-mine-stats { grid-template-columns: repeat(2, 1fr); }
  .sj-mine-card { flex-wrap: wrap; }
  .sj-mine-cover { width: 100%; }
  .sj-cr-grid, .sj-cr-grid.rows2 { grid-template-columns: repeat(2, 1fr); }
  .sj-cr-stats { gap: 12px; }
  .sj-cr-skills { grid-template-columns: 1fr; }
}

/* ==================== V52 视界遗留收尾：本地上传 + 视界管理中心 ==================== */
.sj-up-zone { display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:10px 12px; background:#faf5ff; border:1px dashed #c7d2fe; border-radius:10px; margin-bottom:8px; }
.sj-up-hint { font-size:12px; color:#8b5cf6; }
.sj-up-hint.err { color:#dc2626; }

/* ---------- 发布页挂载服务 ---------- */
.sj-pub-skills { margin-top:14px; }
.sj-pub-skills > label { display:block; font-weight:600; margin-bottom:8px; color:var(--text-primary,#1f2937); }
.sj-pub-skill-list { display:flex; flex-direction:column; gap:8px; max-height:150px; overflow-y:auto; padding-right:4px; }
.sj-pub-actions { position:sticky; bottom:0; display:flex; justify-content:flex-end; gap:10px; margin-top:14px; padding:10px 0 2px; background:linear-gradient(to top, #fff 70%, rgba(255,255,255,0)); z-index:2; }
.sj-pub-skill-item { display:flex; align-items:center; gap:8px; padding:8px 10px; background:#f8f7fc; border-radius:8px; cursor:pointer; }
.sj-pub-skill-item input { flex-shrink:0; }
.sj-pub-skill-title { flex:1; font-size:14px; color:var(--text-primary,#1f2937); }
.sj-pub-skill-price { font-size:13px; color:var(--text-secondary,#6b7280); }

.sj-adm-card { background:#fff; border:1px solid #eef0f6; border-radius:12px; padding:12px 14px; margin-bottom:10px; }
.sj-adm-card-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.sj-adm-title { font-weight:700; font-size:14px; color:#1f2937; }
.sj-adm-meta { font-size:12px; color:#9ca3af; margin-left:auto; }
.sj-adm-card-ops { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; padding-top:10px; border-top:1px solid #f3f4f6; }
.sj-adm-note { font-size:13px; color:#4b5563; background:#f9fafb; border-radius:8px; padding:8px 10px; margin:8px 0; line-height:1.7; word-break:break-all; }
.sj-tool-btn.danger { background: linear-gradient(135deg, #ef4444, #f43f5e); color: #fff; border: none; box-shadow: 0 2px 10px rgba(239, 68, 68, 0.35); }
.sj-tool-btn.success { background: linear-gradient(135deg, #10b981, #34d399); color: #fff; border: none; box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35); }
@media (max-width:768px) { .sj-adm-meta { margin-left:0; width:100%; } }

/* ====== V55-D：管理中心播放器样式 + 沉浸播放器富化 ====== */
.sj-player-meta-rich { gap: 12px; align-items: center; padding: 12px; background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; margin-bottom: 12px; color: #111827; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.sj-avatar.xl { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #f3f4f6; box-shadow: 0 2px 10px rgba(0,0,0,0.10); }
.sj-avatar.xl.sj-avatar-ph { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #ede9fe, #fce7f3); font-size: 28px; }
.sj-player-author { flex: 1; min-width: 0; }
.sj-player-name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.sj-player-name { font-weight: 700; font-size: 16px; color: #111827; }
.sj-verify-badge { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 999px; font-weight: 600; }
.sj-level-badge { background: rgba(124,58,237,0.1); color: #5b21b6; font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.sj-player-stats { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; font-size: 12px; color: #4b5563; line-height: 1.5; }
.sj-dot { color: #9ca3af; }
.sj-stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; }
.sj-player-meta-rich .sj-follow-btn { border: 1px solid #7c3aed; background: #fff; color: #7c3aed; }
.sj-player-meta-rich .sj-follow-btn:hover { background: #7c3aed; color: #fff; }
.sj-player-meta-rich .sj-follow-btn.on { background: #f3f4f6; border-color: #d1d5db; color: #6b7280; }

/* 管理预览操作区（从播放器顶部移到播放器底部动作区下方） */
.sj-admin-actions {
  margin-top: 14px; padding: 12px;
  background: linear-gradient(135deg, rgba(245,158,11,0.14), rgba(236,72,153,0.10));
  border: 1px solid rgba(245,158,11,0.4);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.sj-admin-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #4b5563; }
.sj-admin-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.sj-admin-tag { background: #f59e0b; color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.sj-admin-status { background: rgba(17,24,39,0.08); color: #374151; padding: 2px 8px; border-radius: 999px; font-size: 11px; }
.sj-admin-id { color: #9ca3af; font-size: 12px; font-family: ui-monospace, monospace; }
.sj-admin-top { background: #ef4444; color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.sj-admin-weight { background: rgba(17,24,39,0.08); color: #374151; padding: 2px 8px; border-radius: 999px; font-size: 11px; }
.sj-admin-btns .sj-tool-btn { padding: 6px 14px; font-size: 13px; color: #fff; }

/* V55-F：视频详情底部重塑为类技能详情卡片 */
.sj-player-content-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
}
.sj-player-content-card .sj-player-title { margin-bottom: 8px; }
.sj-player-content-card .sj-player-desc { margin-bottom: 10px; color: #e7e2f5; }
.sj-player-content-card .sj-topics { margin-bottom: 0; }
.sj-admin-info-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px; font-size: 12px; color: #d1d5db;
}
.sj-player-action-row {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.sj-player-action-row .sj-player-lead {
  flex: 0 1 auto;
  margin: 0; padding: 0;
  background: transparent; border-radius: 0;
}
.sj-player-action-row .sj-lead-btn {
  flex: 0 1 auto; min-width: 120px;
  padding: 10px 20px; font-size: 14px;
}
.sj-player-action-row .sj-player-actions { flex: 0 0 auto; }
.sj-admin-actions-inline {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  flex: 0 1 auto;
}
.sj-admin-actions-inline .sj-tool-btn { padding: 6px 14px; font-size: 13px; color: #fff; }

/* 沉浸播放器：底部动作按钮区移到 leadHtml 下方 */
.sj-player-lead {
  display: flex; gap: 10px; margin: 12px 0;
  padding: 12px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(236,72,153,0.06));
  border-radius: 12px;
}
.sj-lead-btn {
  flex: 1;
  padding: 12px 16px;
  font-size: 15px; font-weight: 700;
  border: none; border-radius: 999px;
  cursor: pointer; transition: transform 0.15s;
  color: #fff;
}
.sj-lead-btn:hover { transform: translateY(-1px); }
.sj-lead-btn.chat { background: linear-gradient(135deg, #7c3aed, #ec4899); box-shadow: 0 4px 12px rgba(124,58,237,0.35); }
.sj-lead-btn.contact { background: linear-gradient(135deg, #f43f5e, #fb7185); box-shadow: 0 4px 12px rgba(244,63,94,0.35); }
